A method, device and electronic device for obtaining hierarchical relationship

By automatically traversing the coverage area relationship of the user interface layer, the user interface hierarchical relationship is obtained, which solves the problem of low efficiency in the existing technology and achieves efficient hierarchical relationship acquisition.

CN111880776BActive Publication Date: 2024-10-29BEIJING IQIYI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010761393.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2024-10-29
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

The efficiency of obtaining user interface hierarchical relationships in the existing technology is low and requires manual analysis of design files, resulting in a large consumption of human resources.

Method used

Obtain the size and position of each layer based on the design file of the user interface, determine the level of the starting layer, and traverse each layer based on the level of the starting layer, and automatically obtain each image based on the inclusion relationship of the coverage area. hierarchical relationship of layers.

Benefits of technology

There is no need to manually analyze design files, which reduces human resource consumption and improves the efficiency of obtaining hierarchical relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111880776B_ABST
    Figure CN111880776B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device and electronic device for obtaining a hierarchical relationship, and relates to the field of computer technology. The method includes: obtaining the size and position of each layer in the user interface according to the design file of the user interface; obtaining a starting layer based on each layer, and determining the level of the starting layer; based on the level of the starting layer, traversing each layer, according to the inclusion relationship between the coverage area of ​​each layer of an undetermined level and the coverage area of ​​the layer of a determined level, obtaining the hierarchical relationship of each layer, wherein between the layers of the upper and lower levels in the hierarchical relationship, the coverage area of ​​the upper layer includes the coverage area of ​​the lower layer of the layer, and the coverage area of ​​each layer is: the area represented by the size and position of the layer. Applying the hierarchical relationship obtaining scheme provided by the embodiment of the present invention can improve the efficiency of obtaining the hierarchical relationship.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Screenshot processing method, computing device and computer storage medium

    CN109710362A