Smooth testing method and device, electronic equipment, storage medium and program product

By capturing and analyzing screen videos during interface sliding operations, the method accurately assesses screen smoothness in terminal devices, addressing the inaccuracy of existing methods and providing a user-centric evaluation.

CN119127671APending Publication Date: 2024-12-13CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411116321.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing fluency testing methods in terminal devices lack accuracy as they only evaluate screen fluency from the software layer, leading to systematic errors and insufficient accuracy from the user's perspective.

Method used

A method and device that capture a video of the device's screen during an interface sliding operation, determine the number of lost frames, and calculate screen smoothness based on frame rate and display parameters to evaluate fluency from the user's perspective.

Benefits of technology

Improves the accuracy of fluency testing by evaluating screen smoothness from the user's perspective, reducing system errors and providing a simple, usable testing scheme.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127671A_ABST
    Figure CN119127671A_ABST
Patent Text Reader

Abstract

The invention provides a fluency testing method and device, electronic equipment, a storage medium and a program product, and relates to the field of terminals. The method comprises the steps of shooting a first video when a to-be-tested device executes an interface sliding operation through a shooting device, determining a frame loss number of the to-be-tested device in an interface sliding process according to the first video, and determining the screen fluency of the to-be-tested device according to the frame loss number and a frame rate of the shooting device. The video shot by the shooting equipment is consistent with the visual observation effect of the user, and the screen fluency of the to-be-tested equipment can be evaluated from the perspective of the user according to the frame loss number of the video, so that system errors are reduced, and the accuracy of fluency data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminals, and in particular to a fluency testing method, device, electronic equipment, storage medium and program product. Background Art

[0002] With the development of computer technology, terminal devices with display screens are becoming more and more popular in people's daily lives. For such devices, when users slide the interface, if the frame spacing is too large, they will feel a sense of jumping, and the visual change is too large, resulting in poor visual continuity, making users feel stuck and having a poor experience. It can be seen that the smoothness of the screen affects the user experience, and it is very necessary to test and analyze the screen smoothness of terminal devices.

[0003] At present, the fluency test in related technologies mainly obtains the frame spacing of each frame of the terminal device from the software layer to evaluate the screen fluency. However, this method can only reflect the switching of images from the software level. The performance of the application layer may be different from that of the software layer. The fluency obtained in this way has a systematic error with the fluency from the user's visual perspective, and the accuracy is insufficient. Summary of the invention

[0004] One of the purposes of the present invention is to provide a fluency testing method, device, electronic device, storage medium and program product to solve the problem of insufficient accuracy of fluency testing.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A fluency testing method, comprising:

[0007] Acquire a first video captured by a capturing device and a frame rate of the capturing device, wherein the first video is captured by capturing a screen of the device under test when the device under test performs an interface sliding operation;

[0008] Determine the number of lost frames corresponding to the device under test according to the first video;

[0009] The screen smoothness of the device under test is determined according to the number of lost frames and the frame rate.

[0010] Further, the obtaining of the first video shot by the shooting device includes:

[0011] Obtaining a sliding instruction, wherein the sliding instruction is used to control the screen interface to slide at a constant speed;

[0012] Controlling the device under test to execute the sliding instruction;

[0013] The screen image of the device under test when executing the sliding instruction is captured by a shooting device to obtain a first video.

[0014] Further, the obtaining of the sliding instruction includes:

[0015] Get the display parameters of the device under test;

[0016] Determining a sliding distance of the screen interface according to the display parameters;

[0017] Determine the sliding start coordinate and the sliding end coordinate of the screen interface according to the sliding distance and the display parameter;

[0018] A sliding instruction is determined according to the sliding start coordinates and the sliding end coordinates.

[0019] Further, the display parameters include a display size and a projection screen size of the device under test, and determining a sliding distance of the screen interface according to the display parameters includes:

[0020] Setting the sliding speed and sliding time of the screen interface;

[0021] determining an initial distance according to the sliding speed and the sliding time;

[0022] The initial distance is corrected according to the display size and the projection screen size to obtain a sliding distance.

[0023] Furthermore, before controlling the device under test to execute the sliding instruction, the method further includes:

[0024] Control the device under test to start screen feedback.

[0025] Further, determining the screen smoothness of the device under test according to the number of lost frames and the frame rate includes:

[0026] Obtaining a sliding speed when the device under test performs an interface sliding operation;

[0027] Determine a frame spacing according to the number of lost frames, the frame rate and the sliding speed;

[0028] The screen smoothness of the device under test is determined according to the frame spacing.

[0029] Furthermore, it also includes:

[0030] Acquire a second video captured by the capturing device, where the second video is captured by capturing a screen of the device under test during a process in which the device under test plays a motion effect;

[0031] Determine the maximum frame spacing of the device under test according to the second video;

[0032] The screen smoothness of the device under test is determined according to the maximum frame spacing.

[0033] Furthermore, the frame rate of the shooting device is greater than or equal to the frame rate of the device under test.

[0034] A fluency testing device, comprising:

[0035] An acquisition module, used to acquire a first video captured by a shooting device and a frame rate of the shooting device, wherein the first video is obtained by shooting a screen of the device under test when the device under test performs an interface sliding operation;

[0036] A frame loss determination module, used to determine the number of frame losses corresponding to the device under test according to the first video;

[0037] The fluency determination module is used to determine the screen fluency of the device under test according to the number of lost frames and the frame rate.

[0038] An electronic device comprises: a processor, and a memory communicatively connected to the processor;

[0039] The memory stores computer-executable instructions;

[0040] The processor executes the computer-executable instructions stored in the memory to implement any of the fluency testing methods described above.

[0041] A computer-readable storage medium comprises: the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement any of the fluency testing methods described above when executed by a processor.

[0042] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the fluency testing method as described in any one of the above items is implemented.

[0043] Beneficial effects of the present invention:

[0044] (1) The present invention obtains a first video captured when the device under test performs an interface sliding operation. Based on the first video, the screen fluency of the device under test can be evaluated from the user's perspective, thereby reducing system errors and improving the accuracy of fluency data.

[0045] (2) The present invention only needs to use a shooting device to shoot the device to be tested to test the screen fluency. The test scheme is simple and easy to implement, and has strong usability. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic diagram of an interface of a terminal device provided for an exemplary embodiment of the present invention;

[0047] Figure 2 A flow chart of a fluency testing method provided by an exemplary embodiment of the present invention;

[0048] Figure 3 A schematic diagram of a process of obtaining a first video provided by an exemplary embodiment of the present invention;

[0049] Figure 4 A schematic diagram of a flow chart of obtaining a sliding instruction provided by an exemplary embodiment of the present invention;

[0050] Figure 5 A schematic diagram of a music playing interface provided by an exemplary embodiment of the present invention;

[0051] Figure 6 A flow chart of another fluency testing method provided by an exemplary embodiment of the present invention;

[0052] Figure 7 A schematic structural diagram of a fluency testing device provided by an exemplary embodiment of the present invention;

[0053] Figure 8 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present invention.

[0054] Through the above drawings, clear embodiments of the present invention have been shown, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0055] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0056] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same 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. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0058] The terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, product or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of further restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For example, if the words first, second, etc. are used to indicate names, they do not indicate any particular order.

[0059] Figure 1 The following is a schematic diagram of an interface of a terminal device provided by an exemplary embodiment of the present invention. The terminal device can provide the user with the following information on the screen: Figure 1 The interface shown can be slid in any direction by touching or inputting commands. The terminal device can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices. The IoT device can be a smart speaker, a smart TV, a smart air conditioner, a smart car device, etc. The present invention can be used to test the smoothness of the interface changes on the terminal device screen from the user level.

[0060] The application scenarios mentioned above are only some examples. Those skilled in the art can expand the application to specific business scenarios, and the embodiments of this application do not impose specific limitations on this. Figure 1 For application scenarios, refer to Figures 2 to 6 A fluency testing method according to an exemplary embodiment of the present invention is described.

[0061] Figure 2 FIG. 1 is a flow chart of a fluency testing method provided by an exemplary embodiment of the present invention. Figure 2 As shown, the method may include:

[0062] Step S201, obtaining a first video shot by a shooting device and a frame rate of the shooting device.

[0063] The first video is obtained by shooting the screen of the device under test when the device under test performs an interface sliding operation, and the frame rate of the shooting device is greater than or equal to the frame rate of the device under test.

[0064] Specifically, the shooting device can be adjusted to an angle suitable for shooting the screen of the device under test in advance, the interface of the device under test can be slid, and the whole sliding process of the interface of the device under test can be recorded by the shooting device. The shooting device includes but is not limited to any device with video shooting function such as a camera, a video recorder and a smart phone.

[0065] In some possible implementations, there are multiple ways to make the interface of the device under test slide. For example, the device under test can be made to execute a preset adb instruction, which can make the device under test perform an interface sliding operation; for another example, the screen of the device under test can be touched by a tool such as a manipulator to make the interface of the device under test slide. When the screen interface of the device under test performs a sliding operation, the video shooting function of the shooting device is turned on at the same time to shoot the screen interface of the device under test in real time. When the screen interface of the device under test completes the sliding operation, the video shooting function of the shooting device is stopped at the same time. Among them, the adb (Android Debug Bridge) instruction can control the device to execute the operation corresponding to the instruction.

[0066] Step S202: determining the number of lost frames corresponding to the device under test according to the first video.

[0067] Specifically, the first video can be imported into a preset video analysis software, and the maximum number of lost frames of the device under test during the interface sliding process can be obtained through the software. The video analysis software can be a video frame counting software with a frame number recording function.

[0068] In some possible implementations, the interface feedback can be turned on before the device under test performs interface sliding. The trajectory of the instruction sliding process can be observed through the interface feedback, and the maximum number of lost frames in the screen feedback trajectory can be recorded using video analysis software.

[0069] Step S203: determining the screen smoothness of the device under test according to the number of lost frames and the frame rate.

[0070] Specifically, the frame loss time of the device under test during the interface sliding process can be calculated according to the frame loss number of the device under test and the frame rate of the shooting device, and the screen smoothness can be evaluated according to the proportion of the frame loss time in the total interface sliding time.

[0071] In some possible implementations, the sliding speed of the device under test when performing an interface sliding operation may also be obtained; the frame spacing may be determined according to the number of dropped frames, the frame rate, and the sliding speed; and the screen smoothness of the device under test may be determined according to the frame spacing.

[0072] For example, the sliding speed of the interface can be calculated based on the interface sliding time and sliding distance. If the sliding speed is V, the maximum number of lost frames is B, and the frame rate of the shooting device is F, then the maximum frame spacing S of the device under test during the interface sliding process is S=V×B×1 / F.

[0073] In the above embodiment, a first video of the device under test performing an interface sliding operation can be captured by a shooting device, and the number of frame drops of the device under test during the interface sliding process can be determined based on the first video, and the screen smoothness of the device under test can be determined based on the number of frame drops and the frame rate of the shooting device. The video captured by the shooting device is consistent with the visual observation effect of the user, and the screen smoothness of the device under test can be evaluated from the user's perspective based on the number of frame drops in the video, thereby reducing system errors and improving the accuracy of the smoothness data.

[0074] In one embodiment, Figure 3 As shown, obtaining a first video shot by a shooting device includes:

[0075] Step S301, obtaining a sliding instruction.

[0076] Among them, the sliding instruction is used to control the screen interface to slide at a constant speed.

[0077] In some possible implementations, the sliding instruction may be an adb instruction pre-set for the device under test. The sliding instruction may include parameters such as sliding start coordinates, sliding end coordinates, and sliding time, which may affect the sliding distance, sliding mode, and sliding speed of the screen interface.

[0078] Step S302: Control the device under test to execute a sliding instruction.

[0079] In some possible implementations, an adb command may be directly input to the device under test, so that the device under test performs an interface sliding operation under the action of the adb command. The sliding direction of the sliding operation may be arbitrary, for example, the screen interface of the device under test may slide from top to bottom by setting the coordinates in the adb command.

[0080] In some possible implementations, before controlling the device under test to execute the sliding command, the method further includes: controlling the device under test to start screen feedback. In this way, by turning on the screen feedback in advance, the sliding distance of the command can be clearly displayed to prevent errors caused by the inertia of the interface sliding.

[0081] Step S303: Using a shooting device, capture the screen image of the device under test when executing the sliding instruction to obtain a first video.

[0082] Exemplarily, the photographing device can be installed in a preset fixture, which can be placed above the device to be tested and can form a preset angle with the center point of the device to be tested. Optionally, the fixture can be fixedly placed directly above the device to be tested, that is, the angle formed with the center point of the device to be tested is 0 degrees. When the screen interface of the device to be tested performs a sliding operation, the video shooting function of the photographing device is turned on at the same time to shoot the screen interface of the device to be tested in real time. When the screen interface of the device to be tested completes the sliding operation, the video shooting function of the photographing device is stopped at the same time.

[0083] In one embodiment, Figure 4 As shown, the sliding instruction is obtained, including:

[0084] Step S401, obtaining display parameters of the device under test.

[0085] Among them, the display parameters may include the display size and projection size of the device under test.

[0086] Specifically, the relevant size parameters of the device under test can be obtained according to the type of sliding operation to be performed. For example, if the sliding instruction requires the interface of the device under test to slide vertically, the display height and projection screen height of the device under test can be obtained; if the sliding instruction requires the interface of the device under test to slide horizontally, the display width and projection screen width of the device under test can be obtained. The display height can be the actual length of the display screen of the device under test in the vertical direction.

[0087] Step S402: determining a sliding distance of the screen interface according to display parameters.

[0088] The sliding distance may refer to the moving distance of the interface of the device under test at the software level.

[0089] Specifically, the actual display distance of the sliding track of the interface of the device under test in the physical world can be determined according to the expected sliding speed and sliding time, and then the moving distance mapped from the actual display distance to the software level can be calculated based on the mapping relationship between the actual screen size of the device under test and the projection size of the interface at the software level.

[0090] In some possible implementations, the sliding speed and sliding time of the screen interface can be set; the initial distance can be determined according to the sliding speed and sliding time; the initial distance can be corrected according to the display size and the projection size to obtain the sliding distance.

[0091] For example, if the sliding speed and sliding time are recorded as V and T, the initial distance S1 = V × T. The sliding distance can be obtained by the formula S1 ÷ H1 = S2 ÷ H2, where S1 and S2 represent the initial distance and sliding distance, respectively, and H1 and H2 represent the display height and projection height of the device under test, respectively.

[0092] Step S403: determining the sliding start coordinates and the sliding end coordinates of the screen interface according to the sliding distance and the display parameters.

[0093] Specifically, the sliding start coordinates can be determined on the screen interface according to the size and sliding distance of the device under test, and then the sliding end coordinates can be determined on the screen interface according to the sliding direction and sliding distance. Similarly, the sliding end coordinates can be determined first, and then the sliding start coordinates can be determined according to the sliding direction and sliding distance.

[0094] by Figure 5 For example, Figure 5 A schematic diagram of a music playback interface provided as an example. Figure 5 101 is the sliding start coordinate of the instruction, 102 is the sliding end coordinate of the instruction, and 103 is the sliding track of the instruction. Figure 5 In the figure, the sliding start coordinate and the sliding end coordinate of the instruction are both in the music list display area, the sliding direction of the instruction is vertical sliding, the sliding start coordinate and the sliding end coordinate have the same horizontal coordinates, and the absolute value of the vertical coordinate difference between the sliding start coordinate and the sliding end coordinate is the sliding distance of the instruction.

[0095] If the sliding start coordinate of the instruction is recorded as A1 (x1, y1), and the sliding end coordinate is A2 (x1, y2), then S2 = |y2-y1|. Among them, S2 can represent the sliding distance of the instruction, that is, the length of the sliding track 102 of the instruction at the software level. Substituting S1 and S2 into the above formula S1÷H1=S2÷H2, we can get: V×T÷H1=|y2-y1|÷H2. Among them, V and T represent the sliding speed and sliding time of the instruction respectively. H1 and H2 represent the display height and projection height of the device under test respectively.

[0096] It should be noted that Figure 5 Only the case of vertical sliding of the interface is shown. For the case of horizontal sliding, it is only necessary to replace the vertical parameters with horizontal parameters, which will not be repeated here.

[0097] Step S404: determining a sliding instruction according to the sliding start coordinates and the sliding end coordinates.

[0098] Specifically, according to the sliding start coordinates, sliding end coordinates, sliding speed, sliding time and other parameters of the instruction, an adb sliding instruction with a constant sliding speed of V can be formulated. For example, the instruction "adb shell input swipex1 y1 x1y2 T" can be used, where x1 and y1 represent the horizontal coordinate value and the vertical coordinate value of the sliding start coordinate, x1 and y2 represent the horizontal coordinate value and the vertical coordinate value of the sliding end coordinate, and T represents the sliding time.

[0099] In one embodiment, Figure 6 As shown, the fluency testing method may further include:

[0100] Step S601, obtaining a second video captured by a capturing device.

[0101] Step S602: determine the maximum frame spacing of the device under test according to the second video.

[0102] Step S603: determining the screen smoothness of the device under test according to the maximum frame spacing.

[0103] The second video is obtained by shooting the screen of the device under test during the device under test playing the motion effect.

[0104] Optionally, the motion effect may be an animation effect of constant speed movement or constant speed rotation, such as a windmill rotating at a constant speed, etc. The process of determining the screen smoothness according to the second video may refer to the process of determining the screen smoothness according to the first video in the above embodiment, and will not be repeated here.

[0105] Figure 7 The following is a schematic diagram of a fluency testing device provided by an exemplary embodiment of the present invention. Figure 7 As shown, the fluency testing device 700 may include:

[0106] The acquisition module 701 is used to acquire a first video shot by a shooting device and a frame rate of the shooting device, wherein the first video is obtained by shooting a screen of the device under test when the device under test performs an interface sliding operation.

[0107] The frame loss determination module 702 is used to determine the number of frame losses corresponding to the device under test according to the first video.

[0108] The fluency determination module 703 is used to determine the screen fluency of the device under test according to the number of lost frames and the frame rate.

[0109] In one embodiment, the acquisition module 701 may include:

[0110] The instruction acquisition unit is used to acquire a sliding instruction, where the sliding instruction is used to control the screen interface to slide at a constant speed.

[0111] The instruction execution unit is used to control the device under test to execute the sliding instruction.

[0112] The screen shooting unit is used to shoot a screen image of the device under test when executing the sliding instruction through a shooting device to obtain a first video.

[0113] In one embodiment, the instruction acquisition unit is also used to: acquire display parameters of the device under test; determine the sliding distance of the screen interface according to the display parameters; determine the sliding start coordinates and the sliding end coordinates of the screen interface according to the sliding distance and the display parameters; determine the sliding instruction according to the sliding start coordinates and the sliding end coordinates.

[0114] In one embodiment, the display parameters include the display size and projection size of the device under test, and the instruction acquisition unit is also used to: set the sliding speed and sliding time of the screen interface; determine the initial distance according to the sliding speed and the sliding time; correct the initial distance according to the display size and the projection size to obtain the sliding distance.

[0115] In one embodiment, the acquisition module 701 is further used to: before controlling the device under test to execute the sliding instruction, control the device under test to start screen feedback.

[0116] In one embodiment, the fluency determination module 703 includes:

[0117] The speed acquisition unit is used to acquire the sliding speed of the device under test when performing an interface sliding operation.

[0118] The frame spacing determination unit is used to determine the frame spacing according to the number of lost frames, the frame rate and the sliding speed.

[0119] A fluency determination unit is used to determine the screen fluency of the device under test according to the frame spacing.

[0120] In one embodiment, the fluency testing device 700 may further include:

[0121] The second acquisition module is used to acquire a second video shot by the shooting device, where the second video is obtained by shooting a screen of the device under test when the device under test is playing a motion effect.

[0122] The second determination module is used to determine the maximum frame spacing of the device under test according to the second video.

[0123] The second testing module is used to determine the screen fluency of the device under test according to the maximum frame spacing.

[0124] In one embodiment, the frame rate of the shooting device is greater than or equal to the frame rate of the device under test.

[0125] The fluency testing device provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0126] It should be understood that the above device embodiments are only illustrative, and the device of the present invention can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0127] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present invention may be integrated into one unit / module, or each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0128] Figure 8 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present invention. Figure 8 As shown, the electronic device 80 includes:

[0129] Processor 81, memory 82, and communication interface 83;

[0130] The memory 82 is used to store executable instructions of the processor 81; the executable instructions may be computer-executable instructions;

[0131] The processor 81 is configured to execute the technical solution in any of the aforementioned method embodiments by executing the executable instructions.

[0132] Optionally, the memory 82 can be independent or integrated with the processor 81.

[0133] Optionally, when the memory 82 is a device independent of the processor 81, the electronic device 80 may further include:

[0134] The bus 84 , the memory 82 and the communication interface 83 are connected to the processor 81 via the bus 84 and communicate with each other. The communication interface 83 is used to communicate with other devices.

[0135] Optionally, the communication interface 83 may be implemented by a transceiver. The communication interface is used to implement communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.

[0136] The bus 84 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0137] The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0138] The electronic device is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principle and technical effect are similar and will not be repeated here.

[0139] An embodiment of the present invention further provides a readable storage medium, which may be a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the technical solution provided by any of the aforementioned method embodiments is implemented.

[0140] An embodiment of the present invention further provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when executed by a processor.

[0141] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0142] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0143] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention is indicated by the following claims.

[0144] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.

Claims

1. A fluency testing method, characterized in that: include: Acquire a first video captured by a capturing device and a frame rate of the capturing device, wherein the first video is captured by capturing a screen of the device under test when the device under test performs an interface sliding operation; Determine the number of lost frames corresponding to the device under test according to the first video; The screen smoothness of the device under test is determined according to the number of lost frames and the frame rate.

2. The fluency testing method according to claim 1, characterized in that: The step of obtaining a first video captured by a capturing device includes: Obtaining a sliding instruction, wherein the sliding instruction is used to control the screen interface to slide at a constant speed; Controlling the device under test to execute the sliding instruction; The screen image of the device under test when executing the sliding instruction is captured by a shooting device to obtain a first video.

3. The fluency testing method according to claim 2, characterized in that: The obtaining of the sliding instruction comprises: Get the display parameters of the device under test; Determining a sliding distance of the screen interface according to the display parameters; Determine the sliding start coordinate and the sliding end coordinate of the screen interface according to the sliding distance and the display parameter; A sliding instruction is determined according to the sliding start coordinates and the sliding end coordinates.

4. The fluency testing method according to claim 3, characterized in that: The display parameters include a display size and a projection size of the device under test, and determining a sliding distance of the screen interface according to the display parameters includes: Setting the sliding speed and sliding time of the screen interface; determining an initial distance according to the sliding speed and the sliding time; The initial distance is corrected according to the display size and the projection screen size to obtain a sliding distance.

5. The fluency testing method according to claim 2, characterized in that: Before controlling the device under test to execute the sliding instruction, the method further includes: Control the device under test to start screen feedback.

6. The fluency testing method according to any one of claims 1 to 5, characterized in that: The determining the screen smoothness of the device under test according to the number of lost frames and the frame rate includes: Obtaining a sliding speed when the device under test performs an interface sliding operation; Determine a frame spacing according to the number of lost frames, the frame rate and the sliding speed; The screen smoothness of the device under test is determined according to the frame spacing.

7. The fluency testing method according to any one of claims 1 to 5, characterized in that: Also includes: Acquire a second video captured by the capturing device, where the second video is captured by capturing a screen of the device under test during a process in which the device under test plays a motion effect; Determine the maximum frame spacing of the device under test according to the second video; The screen smoothness of the device under test is determined according to the maximum frame spacing.

8. The fluency testing method according to any one of claims 1 to 5, characterized in that: The frame rate of the shooting device is greater than or equal to the frame rate of the device under test.

9. A fluency testing device, characterized in that: include: An acquisition module, used to acquire a first video captured by a shooting device and a frame rate of the shooting device, wherein the first video is obtained by shooting a screen of the device under test when the device under test performs an interface sliding operation; A frame loss determination module, used to determine the number of frame losses corresponding to the device under test according to the first video; The fluency determination module is used to determine the screen fluency of the device under test according to the number of lost frames and the frame rate.

10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.

12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.