Display method, system and equipment of APP gesture operation test interface and medium

By separating gesture recognition and functional testing in the APP gesture operation test interface and using controls to process gestures and functional results, the complexity and cost of gesture operation testing are solved, and accurate problem positioning and testing efficiency are achieved.

CN119200945APending Publication Date: 2024-12-27SHENZHEN YISHIHUOLALA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411402118.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Gesture operation in the APP increases the complexity and cost of testing due to identification errors and function execution problems, making it difficult to accurately locate the source of the problem.

Method used

By separating gesture recognition and functional testing in the APP gesture operation test interface, the gesture test control and functional test control are used to process gesture operation and function execution results respectively, providing the target area to display unmatched information and matching results, reducing the complexity and cost of testing.

Benefits of technology

Accurately locate the source of gesture recognition and function execution problems, reducing test complexity and cost, and improving test efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200945A_ABST
    Figure CN119200945A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information, in particular to an APP gesture operation test interface display method, system and device and a medium, and the method comprises the steps: responding to an interface generation request, and obtaining a top layer interface from the interface generation request; determining a target area in the top layer interface according to a gesture test task set in the interface generation request; in the target area, creating a gesture test control and a function test control for each gesture type; in response to a control operation for the gesture test control, displaying an execution result of a gesture test task corresponding to the gesture test control in the target area; or in response to the control operation for the function test control, displaying the execution result of at least one function test task corresponding to the function test control in the target area. According to the method and the device, gesture recognition and application function execution are separated, so that the problem is accurately positioned, the complexity of positioning test problems of gesture-related functions is reduced, and the test cost is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a display method, system, device and medium for an APP gesture operation test interface. Background Art

[0002] APP (Application), an application (Application, APP) refers to a software program running on mobile devices (such as smartphones, tablets) and various computing devices, including desktop applications, mobile applications, etc. In the increasingly intelligent mobile application world, gesture operation has become an important way for users to interact. It has greatly enriched the interactive experience between users and APPs and improved the convenience and efficiency of operations. Through a series of touch, slide, pinch and other gestures, users can intuitively and flexibly control the functions of the APP, such as turning pages, zooming in, zooming out, playing videos, etc. This interactive method not only simplifies the operation process, but also makes the user experience closer to human natural behavior, and even breaks the limitations of traditional buttons or menu interfaces, bringing unlimited possibilities to the design and development of APPs.

[0003] However, gesture recognition relies on complex algorithms and a large amount of real-time data, and any tiny error may cause the gesture to not be correctly recognized. On the other hand, gesture operations are closely related to the functions of the application. If there is a problem with the execution of the function, the results of the gesture operation may not meet expectations. For example, the function corresponding to the gesture of an APP is to play a video, but when the user makes this gesture, the video does not play. This problem may be caused by an error in gesture recognition or a problem in the video playback process. This makes it difficult to locate the problem and increases the complexity and cost of testing. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a method, system, device and medium for displaying an APP gesture operation test interface.

[0005] The first aspect of the present invention discloses a method for displaying an APP gesture operation test interface, comprising:

[0006] In response to an interface generation request indicating generation of a test interface of a gesture test task set, obtaining a top-level interface from the interface generation request, wherein the gesture test task set includes at least one gesture type and a plurality of test tasks, wherein the test tasks include gesture test tasks and function test tasks, wherein each gesture type corresponds to one gesture test task and at least one function test task;

[0007] Determining a target area in the top-level interface according to the gesture test task set;

[0008] In the target area, a gesture test control and a function test control are created for each gesture type, the gesture test control corresponds to the gesture test task corresponding to the gesture type, and the function test control corresponds to all the function test tasks corresponding to the gesture type;

[0009] In response to a control operation on the gesture test control, the execution result of the gesture test task corresponding to the gesture test control is displayed in the target area; or, in response to a control operation on the functional test control, the execution result of at least one functional test task corresponding to the functional test control is displayed in the target area.

[0010] Furthermore, the step of determining the target area in the top-level interface includes:

[0011] Calculating the minimum required area of ​​the target area according to the number of the gesture types and the number of the test tasks;

[0012] The UI layout of the top-level interface is parsed, and a blank area in the top-level interface whose area is larger than the minimum required area is determined as the target area.

[0013] Further, in response to the control operation on the gesture test control, the step of displaying the execution result of the gesture test task corresponding to the gesture test control in the target area includes:

[0014] In response to a click operation on the gesture test control;

[0015] Collect gesture operations;

[0016] Converting the gesture operation into gesture trajectory data to be matched;

[0017] Matching the gesture trajectory data to be matched with gesture data corresponding to the gesture type in a pre-stored gesture database, each piece of the gesture data includes a gesture type and its corresponding gesture trajectory data, and the gesture trajectory data refers to data describing the path of the gesture operation;

[0018] When there is no match, displaying a non-matching message in the target area;

[0019] When a match is found, the image converted from the gesture trajectory data to be matched and the gesture type that matches it are displayed.

[0020] Furthermore, when there is no match, the step of displaying the unmatched information in the target area includes:

[0021] When there is no match, converting the to-be-matched gesture trajectory data into a first image, and converting the gesture trajectory data corresponding to the gesture type in the gesture database into a second image;

[0022] comparing the first image and the second image to obtain a difference between the first image and the second image;

[0023] In the target area, unmatched information, the first image and the second image are displayed; wherein the main body colors displayed by the first image and the second image are the same, and the difference is displayed differentially by color.

[0024] Furthermore, the display method further includes:

[0025] In the target area, creating a gesture entry control for each gesture type;

[0026] In response to a click operation on the gesture entry control, collecting a gesture operation;

[0027] Converting the gesture operation into gesture trajectory data to be recorded;

[0028] Constructing gesture data according to the gesture trajectory data to be recorded and the gesture type, and storing the gesture data in a gesture database;

[0029] An image converted from the gesture trajectory data to be recorded is displayed in the target area.

[0030] Further, in response to the control operation on the functional test control, the step of displaying in the target area the execution result of at least one functional test task corresponding to the functional test control includes:

[0031] In response to a click operation on the functional test control, a functional test display window is displayed, and all the functional test tasks of the gesture type corresponding to the functional test control are displayed in the functional test display window;

[0032] In response to a selection operation on one of the functional test tasks in the functional test display window, closing the displayed functional test display window and executing the functional test task;

[0033] The execution result of the functional test task is displayed in the target area.

[0034] Further, in response to the control operation on the functional test control, the step of displaying in the target area the execution result of at least one functional test task corresponding to the functional test control includes:

[0035] In response to a click operation on the functional test control, determining and executing one of the functional test tasks corresponding to the gesture type according to the total number of times the functional test control is clicked;

[0036] The execution result of the functional test task is displayed in the target area.

[0037] The second aspect of the present invention discloses a display system for an APP gesture operation test interface, comprising:

[0038] an acquisition module, configured to acquire a top-level interface from the interface generation request in response to an interface generation request indicating generation of a test interface of a gesture test task set, wherein the gesture test task set includes at least one gesture type and a plurality of test tasks, wherein the test tasks include gesture test tasks and functional test tasks, wherein each gesture type corresponds to one gesture test task and at least one functional test task;

[0039] A determination module, used to determine a target area in the top-level interface according to the gesture test task set;

[0040] A creation module, used to create a gesture test control and a function test control for each gesture type in the target area, wherein the gesture test control corresponds to the gesture test task corresponding to the gesture type, and the function test control corresponds to all the function test tasks corresponding to the gesture type;

[0041] A display module is used to display the execution result of the gesture test task corresponding to the gesture test control in the target area in response to a control operation on the gesture test control; or, to display the execution result of at least one functional test task corresponding to the functional test control in the target area in response to a control operation on the functional test control.

[0042] The third aspect of the present invention discloses an electronic device, comprising 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 method for displaying an APP gesture operation test interface as described in any one of the items disclosed in the first aspect of the present invention when executing the computer program.

[0043] The fourth aspect of the present invention discloses a medium storing a computer program, characterized in that when the computer program is executed by a processor, the steps of the method for displaying an APP gesture operation test interface as disclosed in any one of the first aspect of the present invention are implemented.

[0044] The present invention separates the recognition of gestures from the execution of application functions, thereby accurately locating the source of the problem, which not only reduces the complexity of locating test problems of gesture-related functions, but also reduces the cost of testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 It is a flow chart of a method for displaying an APP gesture operation test interface disclosed in an embodiment of the present invention;

[0047] Figure 2 It is a structural diagram of a display system of an APP gesture operation test interface disclosed in an embodiment of the present invention;

[0048] Figure 3 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, or product end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.

[0051] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0052] The APP referred to in the present invention can be an APP of a mobile device, which can be a mobile phone, a tablet, a smart wearable device, etc.; it can also be a software program running on a computing device, etc. The system running the APP can be an Android system, an IOS system, a Linux system, a Windows system, etc., and the present invention does not limit it.

[0053] In order to ensure the quality of the APP, the functions of the APP need to be fully and comprehensively tested during the development of the APP and before the official release. For some APPs that support gesture operations, when errors occur in gesture-related function tests, testers cannot locate whether the error is introduced in the gesture recognition module or in a specific function module. For example, when a gesture operation is performed on the APP, the expected behavior is to open the screenshot function, but when a gesture operation is performed on the APP, the APP does not respond. At this time, the tester is not sure whether the gesture operation is not correctly recognized or the screenshot function fails to execute. On the other hand, the development of the APP is divided into stages. When the screenshot function has been developed but the gesture recognition function has not been completed, the screenshot function cannot be tested, which reduces the test efficiency.

[0054] The display method of the APP gesture operation test interface disclosed in the present invention controls gesture testing and functional testing through different test controls, separates gesture recognition and application function execution, and thus accurately locates the source of the problem, which not only reduces the complexity of locating test problems of gesture-related functions, but also reduces the cost of testing and improves testing efficiency.

[0055] The method for displaying the APP gesture operation test interface disclosed in the present invention is explained in detail below in conjunction with specific embodiments.

[0056] See also Figure 1 As shown, Figure 1 1 is a flow chart of a method for displaying an APP gesture operation test interface disclosed in an embodiment of the present invention. Figure 1 As shown, the display method of the APP gesture operation test interface may include the following operations:

[0057] S101. In response to an interface generation request indicating generation of a test interface for a gesture test task set, a top-level interface is obtained from the interface generation request, wherein the gesture test task set includes at least one gesture type and multiple test tasks, and the test tasks include gesture test tasks and functional test tasks, wherein each gesture type corresponds to one gesture test task and at least one functional test task.

[0058] The interface generation request may come from a function call, such as an API call from a test framework, or a request sent via a network data packet.

[0059] The top-level interface may be the main interface of the APP, any other user interface, or a blank interface, etc.

[0060] The gesture type may be sliding, clicking, pressing, etc. A gesture test task is a task for testing a gesture function, and a function test task is a test task for a function in an APP, such as screenshot, volume adjustment, recording, etc.

[0061] In the actual release version of the APP, whether a gesture type is actually associated with its corresponding functional test task is not limited by the present invention. For example, in the gesture test task set, a functional test task corresponding to gesture type 2 is volume adjustment, but in the actual release version of the APP, gesture type 2 may not be supported, or gesture type 2 may be supported, but the function associated with gesture type 2 is recording. Testers can bind the function to be tested to any supported gesture type for testing, thereby improving test efficiency.

[0062] In another supported application scenario, the gesture type is only a pre-set serial number, and the corresponding gesture test task is empty or prints a log, and the corresponding functional test task is the pre-set function to be tested. Even an APP that does not support gesture functions can use this setting to directly bind the functions to be tested with the pre-set gesture types and assemble them into a gesture test task set, which is especially suitable for test cases with complex test conditions, such as network jitter, server unresponsiveness, and disordered data packets.

[0063] S102: Determine a target area in the top-level interface according to the gesture test task set.

[0064] In an optional embodiment, the step of determining the target area in the top-level interface includes:

[0065] Calculating the minimum required area of ​​the target area according to the number of the gesture types and the number of the test tasks;

[0066] The UI layout of the top-level interface is parsed, and a blank area in the top-level interface whose area is larger than the minimum required area is determined as the target area.

[0067] It can be seen that this optional embodiment performs precise calculation and selection for determining the target area, ensuring that the test controls have sufficient space on the top-level interface for display and operation, thereby improving the accuracy and effectiveness of the test.

[0068] S103. In the target area, create a gesture test control and a function test control for each gesture type, wherein the gesture test control corresponds to the gesture test task corresponding to the gesture type, and the function test control corresponds to all the function test tasks corresponding to the gesture type.

[0069] The gesture test controls and the functional test controls may be graphical elements operable on the interface, such as buttons or sliders.

[0070] S104. In response to a control operation on the gesture test control, the execution result of the gesture test task corresponding to the gesture test control is displayed in the target area; or, in response to a control operation on the functional test control, the execution result of at least one functional test task corresponding to the functional test control is displayed in the target area.

[0071] In an optional embodiment, in response to the control operation on the gesture test control, the step of displaying the execution result of the gesture test task corresponding to the gesture test control in the target area includes:

[0072] In response to a click operation on the gesture test control;

[0073] Collect gesture operations;

[0074] Converting the gesture operation into gesture trajectory data to be matched;

[0075] Matching the gesture trajectory data to be matched with gesture data corresponding to the gesture type in a pre-stored gesture database, each piece of the gesture data includes a gesture type and its corresponding gesture trajectory data, and the gesture trajectory data refers to data describing the path of the gesture operation;

[0076] When there is no match, displaying a non-matching message in the target area;

[0077] When a match is found, the image converted from the gesture trajectory data to be matched and the gesture type that matches it are displayed.

[0078] The collecting of gesture operations, converting the gesture operations into gesture trajectory data to be matched, and matching the gesture trajectory data to be matched with gesture data corresponding to the gesture type in a pre-stored gesture database can all be achieved through an open source gesture library, such as Google's Gesture Builder library, etc., and the present invention does not impose any limitation thereto.

[0079] The unmatched information may be text information, image information, audio information, etc.

[0080] It can be seen that this optional embodiment can intuitively display the recognition and matching results of gesture operations by collecting and converting gesture operation paths and matching them with a pre-stored gesture database, which helps testers to more accurately locate and solve problems related to gesture recognition.

[0081] In a further optional embodiment, when there is no match, the step of displaying the non-matching information in the target area includes:

[0082] When there is no match, converting the to-be-matched gesture trajectory data into a first image, and converting the gesture trajectory data corresponding to the gesture type in the gesture database into a second image;

[0083] comparing the first image and the second image to obtain a difference between the first image and the second image;

[0084] In the target area, unmatched information, the first image and the second image are displayed; wherein the main body colors displayed by the first image and the second image are the same, and the difference is displayed differentially by color.

[0085] Obtaining the difference between the first image and the second image may use an image processing method, such as image comparison or difference, to find the difference between the two images.

[0086] To display through color differentiation, you can use colors that are visually easy to distinguish, such as red and green; you can also choose a contrasting color of the main color.

[0087] It can be seen that this optional embodiment can intuitively display and analyze gesture recognition problems by converting the gesture to be matched and the gesture trajectory data corresponding to the gesture type in the gesture database into images and comparing them. The difference between the two images is displayed by color differentiation, so that the tester can find the problem more intuitively and quickly, thereby improving the efficiency and quality of the test.

[0088] In an optional embodiment, in response to the control operation on the functional test control, the step of displaying in the target area the execution result of at least one functional test task corresponding to the functional test control includes:

[0089] In response to a click operation on the functional test control, a functional test display window is displayed, and all the functional test tasks of the gesture type corresponding to the functional test control are displayed in the functional test display window;

[0090] In response to a selection operation on one of the functional test tasks in the functional test display window, closing the displayed functional test display window and executing the functional test task;

[0091] The execution result of the functional test task is displayed in the target area.

[0092] Those skilled in the art will appreciate that the same gesture type of an APP may correspond to different functions in different states and under different conditions. For example, on the main page of a video playback APP, the function corresponding to a swiping gesture is to display a list of videos on the next page. After the user selects a video to play, the function corresponding to a swiping gesture made by the user in a certain area of ​​the screen is to lower the screen brightness, and the function corresponding to a swiping gesture made in another area is to lower the audio volume.

[0093] In this optional embodiment, all the functional test tasks of the gesture type corresponding to the functional test control are displayed in the functional test display window, and the functional test tasks can be displayed in the functional test display window through different buttons and corresponding text descriptions. When the functional test tasks exceed the set number, all functional test tasks can be displayed in a multi-page display mode.

[0094] It can be seen that this optional embodiment allows the tester to select and execute a specific functional test task, and directly display the execution result in the target area. This design makes the functional test more flexible and efficient, and can perform individual or batch tests according to actual needs.

[0095] In an optional embodiment, in response to the control operation on the functional test control, the step of displaying in the target area the execution result of at least one functional test task corresponding to the functional test control includes:

[0096] In response to a click operation on the functional test control, determining and executing one of the functional test tasks corresponding to the gesture type according to the total number of times the functional test control is clicked;

[0097] The execution result of the functional test task is displayed in the target area.

[0098] In this optional embodiment, according to the total number of times the function test control is clicked, one of the function test tasks corresponding to the gesture type is determined and executed. For example, when the gesture type corresponds to three function test tasks, when the function test control is clicked for the first time, the first function test task is executed; when the function test control is clicked for the second time, the second function test task is executed; when the function test control is clicked for the third time, the third function test task is executed; when the function test control is clicked for the fourth time, the first function test task is executed; and the cycle is repeated according to this rule. This method simplifies the selection process of the test task and makes the test process more efficient.

[0099] It can be seen that this optional embodiment determines and executes the corresponding functional test task by counting the number of clicks on the functional test control. This design makes the test process more concise and efficient, and different test tasks can be rotated and executed through simple repeated clicks.

[0100] In an optional embodiment, the method for displaying the APP gesture operation test interface further includes:

[0101] In the target area, creating a gesture entry control for each gesture type;

[0102] In response to a click operation on the gesture entry control, collecting a gesture operation;

[0103] Converting the gesture operation into gesture trajectory data to be recorded;

[0104] Constructing gesture data according to the gesture trajectory data to be recorded and the gesture type, and storing the gesture data in a gesture database;

[0105] An image converted from the gesture trajectory data to be recorded is displayed in the target area.

[0106] It can be seen that this optional embodiment allows the tester to create and enter new gesture data directly in the test interface, which enhances the flexibility and scalability of the system. By displaying the image of the entered gesture, the tester can intuitively verify the accuracy of the gesture data, thereby improving the accuracy and efficiency of the test.

[0107] The present invention provides a display system for an APP gesture operation test interface, comprising:

[0108] An acquisition module 201 is used to obtain a top-level interface from the interface generation request in response to an interface generation request indicating generation of a test interface of a gesture test task set, wherein the gesture test task set includes at least one gesture type and a plurality of test tasks, wherein the test tasks include gesture test tasks and function test tasks, wherein each gesture type corresponds to one gesture test task and at least one function test task;

[0109] A determination module 202, configured to determine a target area in the top-level interface according to the gesture test task set;

[0110] A creation module 203 is used to create a gesture test control and a function test control for each gesture type in the target area, wherein the gesture test control corresponds to the gesture test task corresponding to the gesture type, and the function test control corresponds to all the function test tasks corresponding to the gesture type;

[0111] The display module 204 is used to display the execution result of the gesture test task corresponding to the gesture test control in the target area in response to the control operation on the gesture test control; or, to display the execution result of at least one functional test task corresponding to the functional test control in the target area in response to the control operation on the functional test control.

[0112] For the specific limitations on the display system of the APP gesture operation test interface, please refer to the limitations on the display method of the APP gesture operation test interface above, which will not be repeated here. Each module in the display system of the above-mentioned APP gesture operation test interface can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in hardware format, or can be stored in the memory of the electronic device in software format, so that the processor can call the operations corresponding to the above modules.

[0113] It should be noted that, in order to highlight the innovative part of the present invention, the present embodiment does not introduce modules that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other modules in the present embodiment.

[0114] like Figure 3 The electronic device 1 provided by the present invention may include a memory 12, a processor 13 and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a display program for an APP gesture operation test interface.

[0115] Among them, the memory 12 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 12 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 12 can also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 12 can not only be used to store application software and various types of data installed in the electronic device 1, such as the display code of the APP gesture operation test interface, etc., but also can be used to temporarily store data that has been output or is to be output.

[0116] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 13 is the control core (Control Unit) of the electronic device 1, and uses various interfaces and lines to connect the various components of the entire electronic device 1, and executes or executes the programs or modules stored in the memory 12 (such as the display program of the APP gesture operation test interface, etc.), and calls the data stored in the memory 12 to execute various functions of the electronic device 1 and process data.

[0117] The processor 13 executes the operating system and various installed applications of the electronic device 1. The processor 13 executes the applications to implement the steps in the display method of the APP gesture operation test interface.

[0118] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 12 and executed by the processor 13 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into an acquisition module 201, a determination module 202, a creation module 203, and a display module 204.

[0119] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium, which can be non-volatile or volatile. The above-mentioned software function module is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the display method of the APP gesture operation test interface described in each embodiment of the present application.

[0120] In one embodiment, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps implemented when the processor executes the computer program can also be implemented.

[0121] In summary, the present invention discloses a display method, system, device and medium for an APP gesture operation test interface, which reduces the complexity of positioning test problems related to gesture functions and reduces the cost of testing. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0122] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for displaying an APP gesture operation test interface, characterized in that: include: In response to an interface generation request indicating generation of a test interface of a gesture test task set, obtaining a top-level interface from the interface generation request, wherein the gesture test task set includes at least one gesture type and a plurality of test tasks, wherein the test tasks include gesture test tasks and function test tasks, wherein each gesture type corresponds to one gesture test task and at least one function test task; Determining a target area in the top-level interface according to the gesture test task set; In the target area, a gesture test control and a function test control are created for each gesture type, the gesture test control corresponds to the gesture test task corresponding to the gesture type, and the function test control corresponds to all the function test tasks corresponding to the gesture type; In response to a control operation on the gesture test control, the execution result of the gesture test task corresponding to the gesture test control is displayed in the target area; or, in response to a control operation on the functional test control, the execution result of at least one functional test task corresponding to the functional test control is displayed in the target area.

2. The method for displaying the APP gesture operation test interface according to claim 1, characterized in that: The step of determining the target area in the top-level interface includes: Calculating the minimum required area of ​​the target area according to the number of the gesture types and the number of the test tasks; The UI layout of the top-level interface is parsed, and a blank area in the top-level interface whose area is larger than the minimum required area is determined as the target area.

3. The method for displaying the APP gesture operation test interface according to claim 1, characterized in that: The step of displaying the execution result of the gesture test task corresponding to the gesture test control in the target area in response to the control operation on the gesture test control comprises: In response to a click operation on the gesture test control; Collect gesture operations; Converting the gesture operation into gesture trajectory data to be matched; Matching the gesture trajectory data to be matched with gesture data corresponding to the gesture type in a pre-stored gesture database, each piece of the gesture data includes a gesture type and its corresponding gesture trajectory data, and the gesture trajectory data refers to data describing the path of the gesture operation; When there is no match, displaying a non-matching message in the target area; When a match is found, the image converted from the gesture trajectory data to be matched and the gesture type that matches it are displayed.

4. The method for displaying the APP gesture operation test interface according to claim 3 is characterized in that: When there is no match, the step of displaying the unmatched information in the target area comprises: When there is no match, converting the to-be-matched gesture trajectory data into a first image, and converting the gesture trajectory data corresponding to the gesture type in the gesture database into a second image; comparing the first image and the second image to obtain a difference between the first image and the second image; In the target area, unmatched information, the first image and the second image are displayed; wherein the main body colors displayed by the first image and the second image are the same, and the difference is displayed differentially by color.

5. The method for displaying the APP gesture operation test interface according to claim 1, characterized in that: The display method further includes: In the target area, creating a gesture entry control for each gesture type; In response to a click operation on the gesture entry control, collecting a gesture operation; Converting the gesture operation into gesture trajectory data to be recorded; Constructing gesture data according to the gesture trajectory data to be recorded and the gesture type, and storing the gesture data in a gesture database; An image converted from the gesture trajectory data to be recorded is displayed in the target area.

6. The method for displaying the APP gesture operation test interface according to claim 1, characterized in that: The step of displaying, in the target area, the execution result of at least one functional test task corresponding to the functional test control in response to the control operation on the functional test control comprises: In response to a click operation on the functional test control, a functional test display window is displayed, and all the functional test tasks of the gesture type corresponding to the functional test control are displayed in the functional test display window; In response to a selection operation on one of the functional test tasks in the functional test display window, closing the displayed functional test display window and executing the functional test task; The execution result of the functional test task is displayed in the target area.

7. The method for displaying the APP gesture operation test interface according to claim 1, characterized in that: The step of displaying, in the target area, the execution result of at least one functional test task corresponding to the functional test control in response to the control operation on the functional test control comprises: In response to a click operation on the functional test control, determining and executing one of the functional test tasks corresponding to the gesture type according to the total number of times the functional test control is clicked; The execution result of the functional test task is displayed in the target area.

8. A display system for an APP gesture operation test interface, characterized in that: include: an acquisition module, configured to acquire a top-level interface from the interface generation request in response to an interface generation request indicating generation of a test interface of a gesture test task set, wherein the gesture test task set includes at least one gesture type and a plurality of test tasks, wherein the test tasks include gesture test tasks and functional test tasks, wherein each gesture type corresponds to one gesture test task and at least one functional test task; A determination module, used to determine a target area in the top-level interface according to the gesture test task set; A creation module, used to create a gesture test control and a function test control for each gesture type in the target area, wherein the gesture test control corresponds to the gesture test task corresponding to the gesture type, and the function test control corresponds to all the function test tasks corresponding to the gesture type; A display module is used to display the execution result of the gesture test task corresponding to the gesture test control in the target area in response to a control operation on the gesture test control; or, to display the execution result of at least one functional test task corresponding to the functional test control in the target area in response to a control operation on the functional test control.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for displaying the APP gesture operation test interface as described in any one of claims 1 to 7 are implemented.

10. A medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps of the method for displaying the APP gesture operation test interface as described in any one of claims 1 to 7 are implemented.