Page implementation method, application program, electronic equipment and storage medium

An implementation method and application technology, applied in the computer field, can solve the problems of a single process occupying a lot of resources, frequent memory recovery, APP freezing, etc., to achieve multi-resources, reduce the probability of crashes, and overcome the effects of application crashes.

Active Publication Date: 2021-06-25
GUANGZHOU HUYA TECH CO LTD
View PDF16 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, limited by the existing Android platform and the structure of the APP framework, the current live broadcast APP is usually mainly based on the main process to achieve page rendering. However, the display of pages with rich content often requires the creation of multiple instances, and multiple instances on the main process Simultaneous rendering will cause a single process to occupy too many resources, resulting in higher memory pressure during the running of the APP, which will trigger memory recycling more frequently, and the APP will easily freeze or even crash, seriously affecting the user's viewing experience

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
  • Page implementation method, application program, electronic equipment and storage medium
  • Page implementation method, application program, electronic equipment and storage medium
  • Page implementation method, application program, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0019] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 page implementation method, which comprises the following steps that a host process creates a Surface for rendering, and the host process is a process running when an application program is started; the host process creates an independent process as a rendering process, and transmits the Surface to the rendering process, so that the host process and the rendering process share the Surface; a VirtualDisplay component and a Presentation component which is bound with the VirtualDisplay component are created by the rendering process; a Presentation component is started by a rendering process, a View (View) specified in the Presentation component is rendered to a VirtualDisplay component, and a rendering result is drawn on a Surface by the VirtualDisplay component.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method for realizing a page, an application program, an electronic device, and a computer-readable storage medium. Background technique [0002] At present, the live broadcast application program (Application, APP) based on the Android platform develops rapidly. Because it is not restricted by the scene, users can watch various rich content anytime and anywhere, and the live broadcast APP is deeply loved by users. [0003] However, limited by the existing Android platform and the structure of the APP framework, the current live broadcast APP is usually mainly based on the main process to achieve page rendering. However, the display of pages with rich content often requires the creation of multiple instances, and multiple instances on the main process Simultaneous rendering will cause a single process to occupy too many resources, resulting in higher memory pres...

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/451G06F9/54
CPCG06F9/451G06F9/54G06F2209/543
Inventor 王钰
Owner GUANGZHOU HUYA TECH 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