View interface resource management method and apparatus

A resource management and view technology, applied in the field of mobile Internet, can solve problems such as waste of computing resources, achieve the effects of reducing the amount of computing, saving computing resources, and improving search efficiency

Active Publication Date: 2016-06-01
ALIBABA GRP HLDG LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The embodiment of the present application provides a view interface resource management method and device to sol

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 interface resource management method and apparatus
  • View interface resource management method and apparatus
  • View interface resource management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0075] In the embodiment of the present application, a view interface resource management method and device are provided. Each will be described in detail in the following examples.

[0076] The view interface resource management method provided by the embodiment of the present application realizes the event processing system by adopting the observer pattern. Observer mode, also known as publish-subscribe mode, model-view mode, source-listener mode or slave mode, is a kind of software design mode. In the observer m...

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 application discloses a view interface resource management method and apparatus. The method comprises the steps of: by a dynamic view container or a basic view for forming a view interface, acquiring a notification that a coordinate position of a visible region on a reaction screen in the view interface is changed, and transmitting the notification to an alternative view; according to the notification, by the alternative view, comparing a coordinate position of the alternative view in the view interface with the coordinate position of the visible region, and judging whether the coordinate position of the alternative view is in the coordinate position of the visible region; if yes, loading and rendering the alternative view; and if no, recovering memory resources occupied by the alternative view. By adopting the method provided by the application, an observer mode is adopted, and the view interface which is of a tree-shaped structure is regarded as a view interface which is of a flat structure, so that the coordinate position of the alternative view in the view interface can be reversely calculated from leaf nodes to root nodes, search efficiency can be improved and a calculation quantity can be effectively reduced, and thus, an effect of saving calculation resources is achieved.

Description

technical field [0001] The present application relates to the field of mobile Internet technology, and in particular to a method and device for managing view interface resources. Background technique [0002] With the continuous development of mobile Internet technology, there are more and more mobile Internet-based applications, such as online shopping, social media, etc., and various applications provide users with rich and colorful services. The essence of a mobile application is a collection of multiple view interfaces. In a native application, the view interface is a native interface, which is displayed through a client-specific rendering engine, and the resources occupied by the view interface are managed by the client rendering engine. In a web application, the view interface is a web page, and the view interface is displayed through the client browser. In a hybrid application, the view interface is described using HTML5 web page language and JavaScript scripting la...

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): G06F3/0481G06F3/0484G06F9/50
Inventor 高嘉峻
Owner ALIBABA GRP HLDG 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