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

Template rendering method and device and browser

A template and web page browsing technology, applied in the network field, can solve the problems of reduced execution efficiency of template rendering operations, increased controller code writing, etc., to achieve the effect of reducing code writing and improving execution efficiency

Active Publication Date: 2018-03-06
ALIBABA GRP HLDG LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present application provides a template rendering method, device and browser to solve the problem in the prior art that the controller needs to call multiple business services to assemble the data required for template rendering, which increases the code writing of the controller. , resulting in a technical problem that reduces the execution efficiency of the template rendering operation

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
  • Template rendering method and device and browser
  • Template rendering method and device and browser
  • Template rendering method and device and browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] 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.

[0067] 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 template rendering method, a template rendering device and a browser. The method comprises the steps of acquiring a webpage browsing request of a user; determining a templatecorresponding to the webpage browsing request; based on the template, calling data returned by business service for template rendering to generate a corresponding webpage, wherein the data include thebusiness service data directly acquired from a service factory in a template rendering process; and returning the webpage to the user. In the embodiment, a corresponding relation between the templateand the business service is established through expansion of a rendering engine; the data returned by execution of the business service can be directly adopted for the template rendering so that a controller does not need to assemble business data for the template, service data of a business layer directly fill the determined template, thus, not only is code writing of the controller greatly reduced but also the execution efficiency of a template rendering operation is improved.

Description

technical field [0001] The present application relates to the field of network technology, in particular to a template rendering method, device and browser. Background technique [0002] In recent years, with the development of website technology, there may be billions of page views every day, and quickly displaying product information to users and displaying different product information for different users has become the main means of competition among major websites. However, due to the existence of massive commodity information, and the diversification of information to be displayed. Before the template is rendered, the controller (Controller) needs to call multiple application services to assemble all the template data required for template rendering. At the same time, it also needs to choose which template to use to render the page, and then the rendering engine will fill the template data (Model) Go to the template to get the final page source code (html), and finall...

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): G06F17/30G06F8/30
CPCG06F8/31G06F16/958
Inventor 刘威尹利民陈旭东王建
Owner ALIBABA GRP HLDG 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