Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

View-level control method, apparatus and system, computer equipment and medium

A control method and hierarchical technology, applied in program control device, calculation, software engineering design, etc., can solve the problems of wrong view display, inability to use the coordinate system of App dimension jointly, uncontrollable view level of applet, etc., to ensure accurate performance, reducing development and maintenance costs, and enriching construction methods

Active Publication Date: 2022-07-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, apparatus and system, computer equipment and medium
  • View-level control method, apparatus and system, computer equipment and medium
  • View-level control method, apparatus and system, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0048] S100. If the attribute of the first type component in the package changes, detect whether the global state machine receives the attribute information of the first type component; if so, execute step S101; otherwise, continue to detect; At least one first-type component in the view hierarchy is encapsulated with a second-type component;

[0049] The view-level control method in this embodiment can be specifically applied to an applet running on an application, and its execution body can be a...

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 present invention provides a view level control method, device and system, computer equipment and medium, and relates to the field of cloud computing. The method includes: if the attribute of the first type component in the package changes, detecting whether the global state machine receives the attribute information of the first type component; according to the received attribute information of the first type component and other stored first type components Attribute information of the component, to detect whether the value of the maximum level needs to be updated; if necessary, update the value of the maximum level; send the updated value of the maximum level to each first-type component in the package for the corresponding first-type component. Detects whether the value of its own real level is less than the value of the maximum level, and if so, renders and displays the placeholder component corresponding to the first type component in the second type component according to the information of the corresponding placeholder component. The technical solution of the present invention can make the view level of the components in the applet controllable, and ensure the accuracy of the view level display.

Description

【Technical field】 [0001] The present invention relates to the technical field of computer applications, and in particular, to a view level control method, apparatus and system, computer equipment and medium. 【Background technique】 [0002] An applet is a program or application that runs on the application of the mobile terminal, and is a mobile application based on the mobile client and constructed with the WebView component. [0003] In practical applications, if some interfaces in the applet cannot be displayed by using the WebView component, you can call the native component of the client to display it. The native component refers to a component built in 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 use this feature to render a UI constructed from HTML elements. The positioning of traditional interface elements such as display components consis...

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 Patents(China)
IPC IPC(8): G06F9/451G06F8/38G06F8/65
CPCG06F9/451G06F8/38G06F8/65
Inventor 张卓斌
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products