User interface display identification method and terminal device

A user interface and display recognition technology, applied in the direction of user interface execution, program control devices, etc., can solve the problem of low script maintenance efficiency, and achieve the effect of improving the recognition accuracy and reducing the test cost.

Active Publication Date: 2018-08-03
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a user interface display identification method and a terminal device to solve the problem of low script maintenance efficiency existing in the existing user interface display detection method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User interface display identification method and terminal device
  • User interface display identification method and terminal device
  • User interface display identification method and terminal device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057]In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0058] In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

[0059] see figure 1 , figure 1 It is a schematic flowchart of a user interface display recognition method provided by an embodiment of the present invention. In this embodiment, the angle triggering of a terminal is used as an example for illustra...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a user interface display identification method and a terminal device. The method comprises the steps of obtaining atarget interface screenshot of a to-be-detected user interface, and extracting an eigenvector of the target interface screenshot; obtaining a pre-stored normal interface screenshot of a normal user interface, and extracting an eigenvector of the normal interface screenshot; according to the eigenvectors of the target interface screenshot and the normal interface screenshot, determining a cosine distance between the target interface screenshot and the normal interface screenshot; judging whether the cosine distance exceeds a preset threshold or not; if the cosine distance is judged to exceed the preset threshold, obtaining levels and positions of element controls of the to-be-detected user interface; detecting whether the levels and the positions of the element controls are abnormal or not;and if the levels and the positions of the element controls are detected to be normal, judging that the display of the to-be-detected user interface is normal. The problem of low script maintenance efficiency of an existing user interface display detection method is solved.

Description

technical field [0001] The invention belongs to the technical field of mobile terminals, and in particular relates to a user interface display recognition method and terminal equipment. Background technique [0002] Currently, multiple operating systems can be applied to mobile terminals such as mobile phones, such as the Android operating system. Since different models of mobile phones have different resolutions, multiple operating systems are applied to mobile phones with different resolutions and must be compatible with mobile phones with different resolutions. In order to make the user interface display normally. The existing detection user interface display is detected through the test script, that is, the entire test script is executed. After the test is completed, the test result is compared with the set fixed value. If the two are consistent, the test user interface is displayed normally, otherwise, the test user interface The display is abnormal. However, the exis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 彭远杰刘慧众
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products