Unlock instant, AI-driven research and patent intelligence for your innovation.

View level control method and system, computer equipment and readable medium

A control method and layered technology, applied in computing, program control devices, software engineering design, etc., can solve the problems of uncontrollable view level of applet, wrong view display, inability to use the coordinate system of App dimension together, etc., to reduce development and maintenance costs, ensuring accuracy, and enriching the effects of construction methods

Active Publication Date: 2019-10-22
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, since the WebView component itself is a native component, the internally rendered HTML view uses the coordinate system inside the WebView. The WebView component can only be regarded as a whole, and cannot use the coordinate system of the App dimension together with the native component.
In this way, in the view layer of the applet, the native components of the client are always at the top layer in the z-axis direction, covering all the views generated by the rendering engine of the WebView component, resulting in uncontrollable view levels of the applet and view display errors

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
  • View level control method and system, computer equipment and readable medium
  • View level control method and system, computer equipment and readable medium
  • View level control method and system, computer equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0047] figure 1 It is a flow chart of Embodiment 1 of the view-level control method of the present invention. Such as figure 1 As shown, the view-level control method in this embodiment may specifically include the following steps:

[0048] S100. If the attributes of the first type of components in the package change, check whether the global state machine has received the attribute information of the first type of components; if so, execute step S101; otherwise, continue to detect; the package uses the required control At least one first-type component and second-type component of the view hierarchy are encapsulated;

[0049] The view-level control method in this embodiment can be specifically applied in a small program running on an application...

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 provides a view level control method and system, computer equipment and a readable medium, and relates to the field of cloud computing. The method comprises the steps of detecting whether a global state machine receives attribute information of a first type component or not if the attribute of the first type component in a packaging body changes; detecting whether the numerical valueof the maximum hierarchy needs to be updated or not according to the received attribute information of the first type component and stored attribute information of other first type components; if so,updating the numerical value of the maximum hierarchy; and sending the updated numerical value of the maximum hierarchy to each first type component in the packaging body, so as to enable corresponding first type component to detect whether the numerical value of the real hierarchy of the corresponding first type component is smaller than the numerical value of the maximum hierarchy; if so, rendering and displaying the occupation component corresponding to the first type component in the second type component according to the information of the corresponding occupation component. According tothe technical scheme of the invention, the view hierarchy of the component in the applet can be controlled, and the accuracy of view hierarchy display is ensured.

Description

【Technical field】 [0001] The present invention relates to the field of computer application technology, in particular to a view-level control method and system, computer equipment and a readable medium. 【Background technique】 [0002] A small program is a program or application running on an application of a mobile terminal, and is a mobile terminal application program based on a mobile client and constructed using a WebView component. [0003] In practical applications, if some interfaces in the applet cannot be displayed by the WebView component, native components of the client can be called to display them. The native component refers to a component built into an operating system such as Android and iOS for constructing a user interface (User Interface; UI). Among them, the WebView component has an HTML rendering engine, which can be used to render a UI constructed from HTML elements. The positioning of traditional interface elements such as each display component is co...

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
IPC IPC(8): G06F9/451G06F8/38G06F8/65
CPCG06F9/451G06F8/38G06F8/65
Inventor 张卓斌
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD