Application test device and method

The application testing device enhances object detection accuracy and efficiency by using deep learning and image matching techniques to resize and match screens of virtual terminals with different specifications, addressing the challenges of conventional methods.

JP7550485B2Active Publication Date: 2024-09-13オニーソフトインコーポレイテッド
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023099831
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-06-17
Filing Date
2023-06-19
Publication Date
2024-09-13
Estimated Expiration
2043-06-19

Smart Images

  • Figure 0007550485000006
    Figure 0007550485000006
  • Figure 0007550485000005
    Figure 0007550485000005
  • Figure 0007550485000002
    Figure 0007550485000002
Patent Text Reader

Abstract

To provide an application test device and a method for accurately detecting an object of an application and a specific object selected by a user.SOLUTION: An application test device includes: a storage section in which a program for an application test is incorporated; and a control section that executes the program and applies a preliminarily learned deep learning technique to an application execution image provided through a screen of a virtual terminal to detect an object on the screen. When a user selects a specific object on a screen of a first virtual terminal, the control section resizes screen sizes of the first virtual terminal on which the specific object is selected and a second virtual terminal for detecting an object corresponding the specific object, and matches the respective resized screens of the virtual terminals to detect, on the second virtual terminal, an object corresponding to the specific object on the first virtual terminal selected by the user.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments disclosed in this specification relate to an application testing device and method, and more particularly, to an application testing device and method that can detect specific objects more accurately and quickly by combining deep learning technology and application execution image matching technology to perform application testing. [Background technology]

[0002] Recently, smartphones having various operating systems and specifications have been sold, and various applications that can be run on such smartphones have been developed.

[0003] Once an application is developed, only the application that has been verified through separate testing is distributed. However, there is a problem in that testing each of the application's functions and operations on a variety of different smartphones requires a lot of time and cost.

[0004] Therefore, a test device capable of testing an application by connecting to a number of virtual terminals having different specifications has been developed. However, since the test device according to the conventional technology uses a pre-trained deep learning technique, it has a certain degree of performance in object detection, but when the same object is detected, it is difficult to find a specific object selected by a user. In addition, when some objects included in an application are not displayed on the screen due to the specifications of the virtual terminal, the screens are recognized as different from each other, and the accuracy of the application test is reduced. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Korean Patent Publication No. 10-2012-0121950 Summary of the Invention [Problem to be solved by the invention]

[0006] The embodiments disclosed in this specification aim to provide an application testing apparatus and method that can accurately detect application objects using deep learning technology, and can search for a specific object selected by a user even in a situation where multiple objects are detected by using application execution image matching technology together with the above-mentioned deep learning technology, thereby detecting objects more accurately and quickly.

[0007] Other objects and advantages of the present invention can be understood from the following description and will become more apparent from the following embodiments. Also, it will be easily understood that the objects and advantages of the present invention can be realized by the means and combinations thereof as claimed in the claims. [Means for solving the problem]

[0008] As a technical means for achieving the above technical object, an application testing device is connected to one or more virtual terminals having different specifications and tests an application executed on the virtual terminal. The application testing device includes a storage unit having a program for application testing embedded therein, and a control unit that executes the program and detects an object on the screen by applying a pre-trained deep learning technique to an application execution image provided through a screen of the virtual terminal. When a specific object is selected on the screen of a first virtual terminal by a user, the control unit resizes the screen size of the first virtual terminal on which the specific object was selected and a second virtual terminal for detecting an object corresponding to the specific object, and detects an object corresponding to the specific object on the first virtual terminal selected by the user in the second virtual terminal by matching the screens of the resized virtual terminals.

[0009] According to another embodiment, a method performed by an application testing device includes a step of incorporating a program for application testing, and a step of executing the program and detecting an object on the screen by applying a pre-trained deep learning technique to an application execution image provided through a screen of a virtual terminal, wherein the step of detecting an object on the screen includes a step of, when a specific object is selected on a screen of a first virtual terminal by a user, resizing the size of the first virtual terminal in which the specific object was selected and a second virtual terminal to detect an object corresponding to the specific object, and detecting an object corresponding to the specific object on the first virtual terminal selected by the user in the second virtual terminal by matching the screens of the resized virtual terminals.

[0010] According to yet another embodiment, the recording medium is a computer-readable recording medium having a program for executing an application test method recorded thereon. The method executed by the application test device includes: incorporating a program for application testing; executing the program and detecting an object on the screen by applying a pre-trained deep learning technique to an application execution image provided through a screen of a virtual terminal; and detecting the object on the screen includes, when a specific object is selected on a screen of a first virtual terminal by a user, resizing a size of the first virtual terminal in which the specific object is selected and a second virtual terminal for detecting an object corresponding to the specific object; and detecting an object corresponding to the specific object on the first virtual terminal selected by the user in the second virtual terminal by matching the screens of the resized virtual terminals.

[0011] According to yet another embodiment, the computer program is a computer program stored on a recording medium for executing an application test method by an application test device. The method executed by the application test device includes: incorporating a program for application testing; executing the program and detecting an object on the screen by applying a pre-trained deep learning technique to an application execution image provided through a screen of a virtual terminal; and detecting the object on the screen includes, when a specific object is selected on a screen of a first virtual terminal by a user, resizing a size of the first virtual terminal in which the specific object is selected and a second virtual terminal for detecting an object corresponding to the specific object; and detecting an object corresponding to the specific object on the first virtual terminal selected by the user in the second virtual terminal by matching the screens of the resized virtual terminals. Effect of the Invention

[0012] According to any one of the above-mentioned solutions, it is possible to accurately detect application objects using deep learning technology. In addition, by using any one of the above-mentioned problem-solving methods, it is possible to accurately detect a specific object selected by a user using an application execution image match technology even in a situation where a large number of objects are detected.

[0013] In addition, according to any one of the above-mentioned problem-solving means, when detecting an object by combining deep learning technology and application execution image matching technology, it is possible to reduce the detection time and detect objects more accurately.

[0014] In addition, by using any one of the above-mentioned solutions, it is possible to test applications online without time and space constraints without having to have separate terminals with various specifications.

[0015] The effects obtained by the disclosed embodiments are not limited to those mentioned above, and other effects not mentioned will be clearly understood by those having ordinary skill in the art to which the disclosed embodiments pertain in the following description. [Brief description of the drawings]

[0016] The following attached drawings illustrate preferred embodiments disclosed in this specification, and serve to facilitate a better understanding of the technical ideas disclosed in this specification, together with specific content for implementing the invention, and therefore the content disclosed in this specification should not be interpreted as being limited to only the matters shown in the drawings.

[0017] [Figure 1] 1 is a schematic configuration diagram of an application test system according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram of an application test device according to an embodiment. [Diagram 3] 1 is an exemplary diagram illustrating an application test device according to an embodiment; [Figure 4] 1 is an exemplary diagram illustrating an application test device according to an embodiment; [Diagram 5] 1 is an exemplary diagram illustrating an application test device according to an embodiment; [Figure 6] 1 is a flowchart of an application testing method according to an embodiment. [Figure 7] 7 is a flowchart for more specifically explaining step S620 of FIG. 6; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] Various embodiments will be described in detail below with reference to the accompanying drawings. The embodiments described below may be modified and implemented in various different forms. In order to more clearly describe the features of the embodiments, detailed descriptions of matters that are well known to those skilled in the art to which the following embodiments belong will be omitted. Also, parts of the drawings that are not related to the description of the embodiments will be omitted, and similar parts are designated by similar reference numerals throughout the specification.

[0019] Throughout the specification, when a certain component is said to be connected to another component, this includes not only the case where the component is directly connected to another component, but also the case where the component is connected via an intermediate component. Furthermore, when a certain component includes another component, unless otherwise specified, it does not mean that the other component is excluded, but that the other component can also be included.

[0020] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings.

[0021] However, prior to the description of the embodiments, the meanings of the terms used below will be defined.

[0022] A class may be a set of objects that have been pre-classified for object detection, and objects can be classified by inputting the classes as a data set and learning using deep learning techniques.

[0023] An object may be something that constitutes an application screen, such as an icon, an image, or a button.

[0024] The virtual terminal is operated in the form of a program within the application test device, and can be displayed in the form of a screen of a terminal on which an application is executed, and can be displayed as a number of virtual terminals having various specifications, where the specifications can be an operating system (OS), size, resolution, manufacturer, etc.

[0025] In addition to the terms defined above, any terms that require clarification are explained separately below.

[0026] FIG. 1 is a schematic diagram of an application test system according to an embodiment.

[0027] Referring to FIG. 1, the application test system according to the present embodiment may include an application test device 100 and a number of virtual terminals 200 .

[0028] The application test device 100 is a device for testing a developed application, and can test the application in various situations using a number of virtual terminals 200. Here, the number of virtual terminals 200 can have different specifications such as screen size, resolution, operating system (OS), manufacturer, etc. Meanwhile, the number of virtual terminals 200 are described as separate devices from the application test device 100, but according to the present embodiment, the number of virtual terminals 200 can be the screen of a terminal on which an application is executed, which is embodied and displayed in the form of a program in the application test device 100. According to the embodiment, it is possible to test an application online without time and space constraints without having to have separate terminals with various specifications. Meanwhile, a more detailed description of the application test device 100 will be given later.

[0029] FIG. 2 is a functional block diagram of an application test device according to an embodiment, and FIGS. 3 to 5 are illustrative diagrams for explaining the application test device according to an embodiment.

[0030] The application test device according to the present embodiment may be implemented as an electronic terminal having an application installed therein that can interact with a user, or may be implemented as a server-client system. When implemented as a server-client system, the application test device may include an electronic terminal having an application for an online service installed therein for interacting with a user.

[0031] Here, the electronic terminal may be implemented as a computer, a portable terminal, a television, a wearable device, etc., which can be connected to a remote server via a network or can be connected to other devices and servers. Here, the computer includes, for example, a notebook PC, a desktop PC, a laptop PC, etc., equipped with a web browser, and the portable terminal is, for example, a wireless communication device that ensures portability and mobility, and can include all kinds of handheld-based wireless communication devices such as a personal communication system (PCS), a personal digital cellular (PDC), a personal handyphone system (PHS), a personal digital assistant (PDA), a global system for mobile communications (GSM), an international mobile telecommunication (IMT)-2000, a code division multiple access (CDMA)-2000, a W-code division multiple access (W-CDMA), a wireless broadband internet (Wibro), a smart phone, a mobile worldwide interoperability for microwave access (Mobile WiMAX), etc. Also, the television can include an internet protocol television (IPTV), an internet television (Internet TV), a terrestrial TV, a cable TV, etc. Furthermore, a wearable device is a type of information processing device that can be worn directly on the human body, such as a watch, glasses, accessories, clothing, or footwear, and can be connected to a remote server or other devices via a network, directly or via another information processing device.

[0032] The server may be implemented by a computer capable of communicating with an electronic terminal having an application or a web browser for interaction with a user of the application test device via a network, or may be implemented by a cloud computer server. The server may include a storage device capable of storing data, or may store data in a third server.

[0033] As described above, the application test apparatus can be implemented as any one of an electronic terminal, a server, or a server-client system. When implemented as a server, the components constituting the application test apparatus can be implemented in multiple physically separated servers or in a single server.

[0034] Referring to FIG. 2, an application test device 100 according to an embodiment includes an input / output unit 110, a communication unit 120, a storage unit 130, and a control unit 140.

[0035] The input / output unit 110 may include an input unit for receiving an input from a user and an output unit for displaying information such as a result of execution of an operation or a state of the application test device 100. For example, the input / output unit 110 may include an operation panel for receiving a user input and a display panel for displaying a screen.

[0036] Specifically, the input unit may include a device capable of receiving various types of input, such as a keyboard, a physical button, a touch screen, a camera, a microphone, etc. Also, the output unit may include a display panel, a speaker, etc. However, without being limited thereto, the input / output unit 110 may include a configuration supporting various inputs and outputs.

[0037] The communication unit 120 can perform wired and wireless communication with other devices and / or networks. To this end, the communication unit 230 can include a communication module that supports at least one of various wired and wireless communication methods. For example, the communication module can be implemented in the form of a chipset.

[0038] Meanwhile, the wireless communication supported by the communication unit 120 may be, for example, wireless mobile communication such as Wi-Fi (Wireless Fidelity), Wi-Fi Direct, Bluetooth (registered trademark), Bluetooth Low Energy (BLE), Ultra Wide Band (UWB), Near Field Communication (NFC), LTE, LTE-Advanced, etc. Also, the wired communication supported by the communication unit 120 may be, for example, USB or HDMI (High Definition Multimedia Interface).

[0039] The storage unit 130 may be configured to incorporate or store various types of data such as files, applications, and programs, and may include at least one of various types of memory such as a RAM, a HDD, and a SSD. The control unit 140, which will be described later, may access and use data stored in the storage unit 130, or may store new data in the storage unit 130. The control unit 140 may also execute a program incorporated in the storage unit 130. Meanwhile, a program for executing an application test method according to an embodiment may be incorporated in the storage unit 130.

[0040] The control unit 140 includes at least one processor such as a CPU, a GPU, an Arduino, etc., and can control the overall operation of the application test apparatus 100. That is, the control unit 140 can control other components included in the application test apparatus 100 to perform operations for an application test. The control unit 140 can also execute a program stored in the storage unit 130, read a file stored in the storage unit 130, or store a new file in the storage unit 130.

[0041] According to the embodiment, the control unit 140 may execute a program for an application test stored in the storage unit 130 .

[0042] The control unit 140 may execute a program for application testing to detect an object from an application execution image provided through the screen of the virtual terminal. More specifically, the control unit 140 may execute a program to detect an object on the screen from an application execution image provided through the screen of the virtual terminal by a deep learning technique previously learned from the application execution image provided through the screen of the virtual terminal. For example, the control unit 140 may detect objects such as an icon, a container, a check box, a controller, etc. on the screen from an application execution image provided through the screen of the virtual terminal by a deep learning technique previously learned from the application execution image provided through the screen of the virtual terminal. Here, the object may be something that constitutes the screen of the application. Here, the pre-trained deep learning technique may be YOLO5. YOLO5 is one of object detection deep learning techniques, and may classify objects by inputting a class including a number of objects that constitute the screen of the application as a data set and learning it. Here, the class may be a set of objects previously classified for object detection. As described above, the object detection deep learning technique may be used to detect objects from an application execution image provided through the screen of the virtual terminal after being previously trained, thereby enabling more accurate object detection.

[0043] Meanwhile, when a specific object is selected by a user on the screen of one of the virtual terminals, the control unit 140 may detect an object corresponding to the specific object selected by the user on the screen of the other virtual terminal. Here, referring to FIG. 3, since the specifications of the above-mentioned virtual terminals 210 and 220 are different from each other, a specific object A selected by a user on one of the virtual terminals may not be correctly detected on the other virtual terminal (A'). For example, since the virtual terminals have different screen sizes and resolutions, an object selected by a user on one of the virtual terminals may not be correctly detected on the other virtual terminal. Therefore, according to the present embodiment, the control unit 140 may perform an operation of correcting the size of a screen on which an application is executed. Here, for convenience of explanation, a terminal having a screen on which a specific object is selected by a user is assumed to be a first virtual terminal, and a terminal having a screen for detecting an object corresponding to the specific object is assumed to be a second virtual terminal, and the above-mentioned first virtual terminal and second virtual terminal may be terminals having different specifications from each other. Also, although the above-mentioned virtual terminals are described as being two, the present invention is not limited thereto, and more virtual terminals may exist.

[0044] For example, when a specific object is selected on the screen of the first virtual terminal by the user, the control unit 140 may resize the screen size of the first virtual terminal on which the specific object is selected. In the description of the present embodiment, resizing the screen size of the first virtual terminal may mean resizing the object size on the screen of the first virtual terminal. Also, the control unit 140 may resize the screen size of the second virtual terminal for detecting an object corresponding to the specific object selected by the user on the screen of the first virtual terminal. As described above, resizing the screen size of the second virtual terminal may mean resizing the object size on the screen of the second virtual terminal. More specifically, resizing the screen size of the first virtual terminal, i.e., the object size on the screen of the first virtual terminal, may be performed according to the following Mathematical Formula 1 and Mathematical Formula 2. More specifically, a varying scaling value is obtained by mathematical formula 1, and the varying scaling value obtained by mathematical formula 1 is applied to mathematical formula 2, thereby resizing the screen size of the first virtual terminal, i.e., the size of an object on the screen of the first virtual terminal.

[0045] [Mathematical formula 1] * Variable scaling value_width = 2nd virtual device resolution_width / 1st virtual device resolution_width * Variable scaling value_height = 2nd virtual device resolution_height / 1st virtual device resolution_height

[0046] [Mathematical formula 2] * Calculated object size_width on the screen of the first virtual terminal = changed scaling value_width × object size_width on the screen of the first virtual terminal * Calculated object size on the screen of the first virtual device _ height = variable scaling value _ height × screen size of the first virtual device _ height

[0047] Meanwhile, the object size on the screen of the first virtual terminal calculated by the above-mentioned Mathematical Formula 2 may be a size value corrected to detect a corresponding object on the second virtual terminal having a different resolution. Here, since the resolution of the second virtual terminal is used to calculate the varied scaling value in the above-mentioned Mathematical Formula 1, the object size on the screen of the first virtual terminal calculated according to the above-mentioned Mathematical Formula 1 and Mathematical Formula 2 may mean an object size on the screen of the second virtual terminal corrected to detect an object on the screen of the second virtual terminal corresponding to an object on the screen of the first virtual terminal. Therefore, since the object on the screen of the first virtual terminal calculated as above matches an object of an application execution image provided through a resized screen of the second virtual terminal described later, an object selected by a user on the first virtual terminal can be detected on the second virtual terminal.

[0048] In other words, when a specific object on the screen of the first virtual terminal is selected by the user, the control unit 140 matches the screens of the respective virtual terminals to detect the corresponding object on the screen of the second virtual terminal. Here, since the specifications of each virtual terminal are different from each other, there may be cases where the matching is not performed properly and the object cannot be detected correctly. Therefore, when a specific object on the screen of the first virtual terminal is selected by the user, the control unit 140 may perform a preparatory operation for detecting an object on the screen of the second virtual terminal corresponding to the specific object selected by the user on the first virtual terminal. That is, the control unit 140 may resize the size of the image by applying a variable scaling value to the application execution image provided through the screen of the first virtual terminal. More specifically, the control unit 140 may obtain the calculated size of the object image on the screen of the first virtual terminal by multiplying the variable scaling value calculated by dividing the resolution value of the second virtual terminal by the resolution value of the first virtual terminal by the size of the object image on the screen of the first virtual terminal (see the above-mentioned Mathematical Formula 1 and Mathematical Formula 2). For example, as shown in Fig. 3, if the resolution of the first virtual terminal is 591x1280 and the resolution of the second virtual terminal is 1080x2340, the varied scaling value (width) may be 1080 / 591=1.827 and the varied scaling value (height) may be 2340 / 1080=1.828. Meanwhile, if the object size on the screen of the first virtual terminal is 40x40, the calculated object size on the screen of the first virtual terminal may be 40x1.827=73.08 (width) and 40x1.828=73.12 (height), respectively, when calculated according to the above-mentioned mathematical formula 2.

[0049] Here, the size of the object on the screen to be searched can be resized only once according to the above-mentioned Equations 1 and 2. In this way, the size of the object on the screen of the device to be searched can be resized only once, thereby minimizing the occurrence of pixel splitting.

[0050] In addition, the control unit 140 may resize the size of an image by applying a preset scaling value to an application execution image provided through the screen of the second virtual terminal. For example, the preset scaling values ​​may be 1.30, 1.25, 1.20, etc. According to the present embodiment, the 21 scaling values ​​are set in advance as values ​​taking into consideration the resolution of the device. According to the present embodiment, the 21 scaling values ​​may be set at intervals of 0.05 between 1.30 and 0.30. Thus, the control unit 140 may resize the size of an image by applying the above-mentioned 21 preset scaling values ​​to an application execution image provided through the screen of the second virtual terminal.

[0051] The control unit 140 can match the object on the screen of the first virtual terminal calculated as described above with the object on the screen of the resized second virtual terminal. That is, it can match the object on the screen of the resized second virtual terminal that is most similar to the object size on the screen of the first virtual terminal calculated as described above. For example, if the object size on the screen of the first virtual terminal calculated by resizing as described above is 73.05×73.12 and the object size on the screen of the second virtual terminal to be actually searched is 75×75, it can match the objects on the screen of the virtual terminals as described above. Thus, as shown in FIG. 4, the control unit 140 can detect an object B' in the second virtual terminal 220 that corresponds to a specific object B of the first virtual terminal 210 selected by the user. Meanwhile, the accuracy of object detection can be further improved by applying a preset scaling value to the application execution image provided through the screen of the second virtual terminal and comparing the object size on the screen of the second virtual terminal, which is resized in various ways, with the calculated object on the screen of the first virtual terminal.

[0052] As described above, the control unit 140 can detect objects more accurately by detecting objects using a pre-trained deep learning technique, and by using a matching technique that resizes the screen size of the virtual terminal and matches the screen of each virtual terminal to detect a specific object in addition to the pre-trained deep learning technique, improved matching accuracy and detection speed can be expected.

[0053] Meanwhile, there may be a plurality of objects of the same type among the objects detected by the first virtual terminal 210, as shown in FIG 5. For example, there may be two objects of the same type, i.e., check boxes C and C1, among various objects detected by the first virtual terminal 210, as shown in FIG 5.

[0054] Here, when there are a plurality of objects of the same type among the objects detected in the first virtual terminal, the control unit 140 may assign indexes to the plurality of objects on the screen of the first virtual terminal according to a preset priority indexing method. Here, the priority indexing method may be, for example, assigning indexes according to Top to Down and / or Left to Right. That is, indexes may be assigned from top to bottom and from left to right according to priority.

[0055] When one of the plurality of objects is selected by the user, the control unit 140 may detect one specific object on the screen of the second virtual terminal that matches the object on the screen of the first virtual terminal based on the index assigned to the object of the first virtual terminal. That is, when the object selected by the user on the screen of the first virtual terminal is one of the plurality of objects detected by a previously learned deep learning technique, the control unit 140 may detect one specific object on the screen of the second virtual terminal that matches the object on the screen of the first virtual terminal by a preset priority index technique. For example, referring to FIG. 5, when there are two check boxes C and C1 that are objects detected in the first virtual terminal 210, the control unit 140 may assign indexes in order to the multiple objects detected by the preset priority index technique. Here, the control unit 140 may assign index 0 to the object C at the top and index 1 to the object C1 at the bottom in a Top to Down manner. Thereafter, when the user selects one of the multiple objects C on the screen of the first virtual terminal 210, the control unit 140 can detect a specific object C' on the screen of the second virtual terminal 220 that matches the object C selected by the user on the screen of the first virtual terminal 210 based on the assigned index.

[0056] In addition, when detecting a key point on an object on the screen of the first virtual terminal, the control unit 140 may detect an object on the screen of the second virtual terminal that matches the object on the screen of the first virtual terminal using a feature matching algorithm. A key point refers to a part that is a characteristic of an image, and may be, for example, an angle or a corner that is a characteristic of an object. In this manner, the control unit 140 may detect a key point by comparing features using a feature matching algorithm in each image to check whether the images match. Here, the feature matching algorithm may be Scale-Invariant-Feature TRansform (SIFT) and Fast Library for Approximate Nearest Neighbors (FLANN). SIFT is an algorithm that extracts features that are invariant to the size and rotation of an image, and may be an algorithm that extracts features from two different images and matches similar features to find corresponding parts in two images. In addition, FLANN is an algorithm optimized for finding the most similar feature points on a high-dimensional large-capacity data set, and can be used to find a specific object that has been transformed in an image. The above-mentioned SIFT and FLANN are well-known techniques, and therefore a detailed description thereof will be omitted. As described above, by using a feature matching algorithm, it is possible to improve the accuracy of object detection.

[0057] In addition, the control unit 140 may execute a program equipped with OpenCV (Open Source Computer Vision) to detect a specific point on an object on the screen of the first virtual terminal, and may detect a feature point on an object on the screen of the first virtual terminal using a FAST (Features from Accelerated Segment Test) algorithm. Here, OpenCV may be a programming library for real-time computer vision with an emphasis on image processing. The FAST algorithm may be an algorithm for extracting feature points such as corners and / or angles in an image. Here, when the FAST algorithm is used, a code is activated or deactivated depending on whether a feature point is detected, so that an object can be detected faster than in the conventional technology. Here, the code may be a command word installed in a program executed for matching virtual terminals. For example, when the control unit 140 detects a feature point on an object on the screen of the first virtual terminal using the FAST algorithm, the control unit 140 may match the virtual terminals by activating the code and running the program. Meanwhile, if a feature point is not detected, the control unit 140 may deactivate the code and not run the program for matching virtual terminals. In this manner, the control unit 140 operates a program that matches the virtual terminal only when feature points are detected, thereby restricting the operation of unnecessary programs, thereby enabling faster detection of objects included in the virtual terminal.

[0058] FIG. 6 is a flow chart of an application testing method according to one embodiment.

[0059] The application test method according to the embodiment shown in Fig. 6 includes steps that are processed in a time series manner by the application test device 100 shown in Fig. 1 to Fig. 5. Therefore, even if the contents are omitted below, the contents described above regarding the application test device 100 shown in Fig. 1 to Fig. 5 can also be applied to the application test method according to the embodiment shown in Fig. 7.

[0060] Referring to FIG. 6, the application test apparatus 100 according to the embodiment installs a program for application testing (S610).

[0061] Then, the application test apparatus 100 executes the program installed in step S610 and detects objects on the screen by applying a pre-trained deep learning technique to the application execution image provided through the screen of the virtual terminal (S620). Here, the pre-trained deep learning technique may be YOLO5. YOLO5 is one of object detection deep learning techniques, and can classify objects by inputting classes including a number of objects constituting the screen of the application as a data set and learning it. Here, a class may be a set of objects previously classified for object detection. That is, the application test apparatus 100 can detect objects such as icons, containers, checkboxes, controllers, etc. on the screen by applying a pre-trained deep learning technique to the application execution image provided through the screen of the virtual terminal.

[0062] Next, detection of an object on the screen of a virtual terminal will be described in more detail with reference to FIG.

[0063] When a specific object is selected by a user on the screen of one of the virtual terminals, the application test device 100 can detect an object corresponding to the specific object selected by the user on the screen of another virtual terminal. Here, since the above-mentioned virtual terminals have different specifications, a specific object selected by a user on one of the virtual terminals may not be correctly detected on another virtual terminal. Therefore, the application test device 100 performs an operation of correcting the size of a screen on which an application is executed, as described below, and matches the screens of the respective virtual terminals, so that an object selected by a user on one of the virtual terminals can be detected on the other virtual terminal.

[0064] When a specific object on the screen of the first virtual terminal is selected by a user, the application test device 100 may resize the size of the object by applying a varied scaling value to the application execution object provided through the screen of the first virtual terminal (S710). Meanwhile, resizing the size of the application execution object provided through the screen of the first virtual terminal may mean resizing the application execution image provided through the screen of the first virtual terminal. Here, resizing the screen size of the first virtual terminal may be performed according to the above-mentioned Equation 1 and Equation 2. More specifically, the screen size of the first virtual terminal may be resized by obtaining a varied scaling value according to Equation 1 and applying the varied scaling value obtained by Equation 1 to Equation 2.

[0065] Then, the application test device 100 may resize the size of the application execution image provided through the screen of the second virtual terminal by applying a preset scaling value to the image (S720).

[0066] Then, the application test device 100 can detect an object in the second virtual terminal corresponding to a specific object on the first virtual terminal selected by the user by matching the screens of the resized virtual terminals (S730). That is, the application test device 100 can detect an object in the second virtual terminal corresponding to a specific object on the first virtual terminal selected by the user by matching the screen size of the resized first virtual terminal with the screen size of the resized second virtual terminal that is most similar to the screen size of the resized first virtual terminal.

[0067] The term 'module' used in the above embodiments refers to software or hardware components such as FPGAs (field programmable gate arrays) or ASICs, and a 'module' performs a certain function. However, the 'module' is not limited to software or hardware. A 'module' may be configured to reside on an addressable storage medium or to execute one or more processors. Thus, by way of example, a 'module' may include components such as software components, object-oriented software components, class components, and task components, as well as processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables.

[0068] The functionality provided within the components and 'units' may be combined into fewer components and 'units' or separated out into additional components and 'units'.

[0069] Furthermore, the components and 'parts' may be implemented to implement one or more CPUs within a device or a secure multimedia card.

[0070] Meanwhile, the application testing method according to an embodiment described in this specification may also be embodied in the form of a computer-readable medium storing instructions and data executable by a computer. Here, the instructions and data may be stored in the form of a program code, and when executed by a processor, a predetermined program module may be generated to perform a predetermined operation. In addition, the computer-readable medium may be any available medium accessible by a computer, including both volatile and non-volatile media, and both separate and non-separate media. In addition, the computer-readable medium may be a computer recording medium. The computer recording medium may include both volatile and non-volatile, separate and non-separate media embodied by any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. For example, the computer recording medium may be a magnetic storage medium such as a HDD or SSD, an optical storage medium such as a CD, a DVD, or a Blu-ray disc, or a memory included in a server accessible via a network.

[0071] Furthermore, the application testing method according to an embodiment described herein may be embodied as a computer program (or a computer program product) including instructions executable by a computer. The computer program includes programmable machine instructions processed by a processor, and may be embodied in a high-level programming language, an object-oriented programming language, an assembly language, a machine language, etc. Furthermore, the computer program may be recorded on any type of computer-readable recording medium (e.g., a memory, a hard disk, a magnetic / optical medium, or a solid-state drive (SSD), etc.).

[0072] Therefore, the application testing method according to the embodiment described herein may be implemented by executing the computer program as described above on a computing device. The computing device may include at least a processor, a memory, a storage device, a high-speed interface connecting to the memory and the high-speed expansion port, and a low-speed interface connecting to the low-speed bus and the storage device. Each of these components is connected to each other using various buses, and may be mounted on a common motherboard or in other suitable manners.

[0073] Here, the processor may process instructions within a computing device. Such instructions may include instructions stored in a memory or storage device for displaying graphic information for providing a Graphic User Interface (GUI) on an external input and output device, such as a display connected to a high speed interface. In other embodiments, multiple processors and / or multiple buses may be used, along with multiple memories and memory types, as appropriate. The processor may also be implemented as a chipset, which is made up of chips including multiple independent analog and / or digital processors.

[0074] Also, memory stores information within a computing device. As an example, memory may be comprised of a volatile memory unit or a collection thereof. As another example, memory may be comprised of a non-volatile memory unit or a collection thereof. Memory may also be in other forms of computer readable media, such as, for example, a magnetic or optical disk.

[0075] A storage device can provide a large amount of storage space to a computing device. A storage device can be a computer-readable medium or a configuration that includes such a medium, such as a device in a Storage Area Network (SAN) or other configuration, and can be a floppy disk drive, hard disk drive, optical disk drive, or tape drive, flash memory, or other similar semiconductor memory device or device array.

[0076] The above-described embodiments are merely illustrative, and those skilled in the art will understand that the above-described embodiments can be easily modified into other specific forms without changing the technical ideas or essential features of the above-described embodiments. Therefore, it should be understood that the above-described embodiments are illustrative in all respects and are not limiting. For example, each component described as a single type may be implemented in a distributed form, and similarly, each component described as a distributed type may be implemented in a combined form.

[0077] The scope of protection sought by this specification is determined by the claims set forth below rather than the above detailed description, and should be interpreted to include all modifications and variations derived from the meaning and scope of the claims and their equivalent concepts. [Explanation of symbols]

[0078] 100 Application Test Equipment 200 Virtual Terminals 110 Input / output section 120 Communications Department 130 Preservation Department 140 Control section

Claims

1. An application test device that is connected to one or more virtual terminals having different specifications and performs a test of an application executed in the virtual terminal, a storage unit in which a program for application testing is installed; a control unit that executes the program and detects an object on the screen by applying a pre-trained deep learning technique to an application execution image provided through a screen of a virtual terminal; The control unit is When a specific object is selected on a screen of a first virtual terminal by a user, the device resizes the screen size of the first virtual terminal on which the specific object is selected and a second virtual terminal for detecting an object corresponding to the specific object, and matches the screens of the resized virtual terminals to detect an object corresponding to the specific object on the first virtual terminal selected by the user in the second virtual terminal.

2. The control unit is 2. The application testing device of claim 1, wherein when a specific object on a screen of a first virtual terminal is selected by a user, a variable scaling value is applied to an application execution image provided through the screen of the first virtual terminal to resize the image size, and a preset scaling value is applied to an application execution image provided through the screen of the second virtual terminal to resize the image size.

3. The control unit is The application testing device of claim 2, characterized in that the application execution image provided through the screen of the first virtual terminal is resized by multiplying a variable scaling value calculated by dividing the resolution value of the second virtual terminal by the resolution value of the first virtual terminal by the size of the application execution image provided through the screen of the first virtual terminal.

4. The control unit is If there are a plurality of objects of the same type among the detected objects, indexing a plurality of objects on a screen of the first virtual terminal according to a preset priority indexing technique; 2. The application test device of claim 1, wherein when any one of the plurality of objects is selected by a user, any one specific object that matches the object on the screen of the first virtual terminal based on the assigned index is detected on the screen of the second virtual terminal.

5. The application test device according to claim 1 , wherein the deep learning technique is YOLO5.

6. The control unit is 2. The application test device according to claim 1, wherein when detecting a key point in an object on a screen of the first virtual terminal, an object on a screen of the second virtual terminal that matches the object on the screen of the first virtual terminal is detected using a feature matching algorithm.

7. 7. The application test device according to claim 6, wherein the feature matching algorithm is SIFT (Scale-Invariant-Feature Transform) and FLANN (Fast Library for Approximate Nearest Neighbors).

8. An application testing method performed by an application testing device, comprising: incorporating a program for application testing; and executing the program and detecting an object on the screen by applying a pre-trained deep learning technique to an application execution image provided through a screen of a virtual terminal; The step of detecting an object on a screen includes: When a specific object is selected on a screen of the first virtual terminal by a user, resizing a size of the first virtual terminal on which the specific object is selected and a size of a second virtual terminal for detecting an object corresponding to the specific object; and detecting an object in the second virtual terminal that corresponds to a specific object on the first virtual terminal selected by the user by matching the screens of the resized virtual terminals.

9. The resizing step includes: when a specific object on the screen of the first virtual terminal is selected by a user, applying a varied scaling value to an application execution image provided through the screen of the first virtual terminal to resize the image; and applying a preset scaling value to the application execution image provided through the screen of the second virtual terminal to resize the image.

10. applying a varied scaling value to an application execution image provided through a screen of the first virtual terminal to resize the image; 10. The method of claim 9, further comprising the step of: resizing an application execution image provided through the screen of the first virtual terminal by multiplying a varied scaling value calculated by dividing the resolution value of the second virtual terminal by the resolution value of the first virtual terminal by the size of the application execution image provided through the screen of the first virtual terminal.

11. The step of detecting an object on a screen includes: if there are a plurality of objects of the same type among the detected objects, indexing the plurality of objects on the screen of the first virtual terminal according to a preset priority indexing technique; 9. The method of claim 8, further comprising: when any one of the plurality of objects is selected by a user, detecting any one specific object on the screen of the second virtual terminal that matches the object on the screen of the first virtual terminal based on the assigned index.

12. The step of detecting an object on a screen includes:

9. The method of claim 8, further comprising: detecting an object on the screen of the second virtual terminal that matches the object on the screen of the first virtual terminal by using a feature matching algorithm when detecting a key point on the object on the screen of the first virtual terminal.

13. 13. The method of claim 12, wherein the feature matching algorithm is Scale-Invariant-Feature Transform (SIFT) and Fast Library for Approximate Nearest Neighbors (FLANN).

14. A computer-readable recording medium having a program for executing the method according to claim 8 recorded thereon.

15. A computer program stored on a recording medium for executing the method according to claim 8 when executed by an application test device.

Citation Information

Patent Citations

  • Application verification system and computer program

    JP2011028438A

  • Screen difference extraction device, screen difference extraction method, and program

    JP2017138713A

  • Application Graphic User Interface Test Automation System and Method Thereof

    KR1020120121950A

  • AI Software Testing System and Method

    US20210326245A1