User interface automatic detection method and device

An automatic detection device and user interface technology, applied in the computer field, can solve the problems of software error crash, inefficiency, missed detection, etc., to achieve the effect of improving efficiency and accuracy, and reducing labor costs

Active Publication Date: 2017-03-15
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since these modifications are all performed in the same public version of the user interface code, it is easy to have incomplete control over the code blocks of the interface, resulting in a certain modification being modified together with the public version of the user interface code, so that the modification made by a certain user appears in the Phenomena on another user's user interface
The public version of the user interface code is modified, which can easily cause software errors and crashes, etc.
Therefore, in order to avoid the phenomenon of software errors and crashes caused by the modification of the public version user interface code, the public version user interface is now detected by manual detection. This detection process is inefficient and prone to missed detection , The phenomenon of wrong detection

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 automatic detection method and device
  • User interface automatic detection method and device
  • User interface automatic detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0044] see figure 1 , is a schematic flow chart of an embodiment of the automatic detection method of the user interface provided by the present invention, including steps S11 to S13, specifically as follows:

[0045] S11: Render and display a user interface corresponding to the user interface information according to the user interface information;

[0046] S12: Obtain an interface screenshot of the user interface;

[0047] S13: Calculate the similarity between ...

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 discloses a user interface automatic detection method and device. The user interface automatic detection method comprises the steps of rendering and displaying a user interface corresponding to user interface information according to the user interface information; obtaining an interface screenshot of the user interface; calculating the similarity between the interface screenshot and a standard picture, comparing the similarity with a preset similarity threshold value, if the similarity is larger than the similarity threshold value, determining that the user interface is correct, otherwise, generating interface error information. By adopting the method and the device, provided by the invention, automatic detection on the user interface can be realized, so as to improve the efficiency and accuracy of a process for detecting the user interface.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an automatic detection method and device for a user interface. Background technique [0002] At present, in the IT industry, before developing a user interface (UI, User Interface) that meets user-defined requirements, it is generally necessary to develop a public version of the user interface first, and then modify the public version of the user interface to meet user-defined requirements ( Such as: adding or deleting an item on the public version user interface, or modifying a character string in an item in the public version user interface, etc.). Since these modifications are all performed in the same public version of the user interface code, it is easy to have incomplete control over the code blocks of the interface, resulting in a certain modification being modified together with the public version of the user interface code, so that the modification made by a certain us...

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): G06F11/36
CPCG06F11/3688
Inventor 李雷
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
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