Application interface rendering method and apparatus

An application interface and interface technology, applied in the direction of program control devices, etc., can solve the problems of high development cost, inability to call, slowness, etc., to achieve good adaptability and avoid various defects.

Active Publication Date: 2016-02-24
ALIBABA GRP HLDG LTD
View PDF4 Cites 86 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] First of all, all JavaScript needs to be mapped to the mobile native layer through the transfer of webview. Therefore, developers need to define the conversion relationship between JavaScript and webview and between webview and native, and the development cost is relatively high;
[0010] Secondly, limited by some security rules inherent in PC browser technology, access to various local services and resources is restricted, including local file systems or cross-domain networks. For example, if an application needs

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
  • Application interface rendering method and apparatus
  • Application interface rendering method and apparatus
  • Application interface rendering method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0160] see figure 2 First, Embodiment 1 of the present application provides an application interface rendering method. This Embodiment 1 mainly introduces the solution of the embodiment of the present application from the perspective of the client. Wherein, the interface data of the application provided by the developer is stored in the server, and the client of the application is provided with an SDK package. coding language, the SDK package includes a rendering engine, and the corresponding relationship between the component information defined in the interface data and the native components in the current terminal device. Specifically, the method can complete the following steps through the rendering engine :

[0161] S201: When receiving a request to display a specified interface of an application, request interface data of the specified interface of the application from a server;

[0162] The so-called designated interface may be the main interface of the application, ...

Embodiment 2

[0205] The foregoing embodiment 1 introduces the technical solution provided by the embodiment of the present application from the perspective of the client. For the server, it is mainly used to save the interface data of the application and return it to the client when receiving a display request. The second embodiment mainly introduces the technical solution of the present application from the perspective of the server side.

[0206] see Figure 9 The second embodiment provides a method for rendering and displaying an application interface, in which the interface data of the application is stored on the server side of the application, and the method may specifically include the following steps:

[0207] S901: Receive a request for displaying a specified interface sent by the client;

[0208]S902: Return the interface data of the specified interface to the client, so that the rendering engine included in the SDK package of the client can analyze the interface data after rece...

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 an application interface rendering method and apparatus. An SDK package is arranged in a client of an application. The SDK package comprises a rendering engine. A first correspondence between component information defined in interface data and a native component in a current terminal device is stored in the rendering apparatus. The method comprises: completing the following operations through the rendering engine: when a request of displaying a specified interface of the application is received, requesting for interface data of the specified interface of the application from a server; after the interface data returned by the server are received, analyzing the interface data to obtain the component information defined in the interface data; according to the first correspondence, mapping the component information defined in the interface data into the native component in the current terminal device; and rendering the native component. Through the application interface rendering method and apparatus, users can be enabled to use latest functions of applications more timely, and various defects of a hybird scheme are avoided.

Description

technical field [0001] The present application relates to the technical field of application interface rendering, in particular to an application interface rendering method and device. Background technique [0002] The essence of a mobile terminal application (App) is a collection of countless interfaces. Therefore, in the traditional mobile terminal App development technology, for a mobile terminal App product, it generally needs to go through the following process from development to end user use: [0003] Step 1: Complete the development and testing of all interface modules in the App, and package the interface code into a complete App installation package that meets the release requirements; [0004] Step 2: Publish the App installation package to various channels, such as the Appstore, etc.), for users to download and install the App; [0005] Step 3: The user downloads the application installation package from a certain channel, installs the App on his mobile terminal...

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/44
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