Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for realizing page switching

A page switching and page technology, which is applied in the direction of program control device, user interface execution, website content management, etc., can solve the problems of wasting terminal display resources, small screen, and shortage of mobile terminal display resources, so as to improve user experience and utilize display resource effect

Active Publication Date: 2019-11-26
BANMA ZHIXING NETWORK HONGKONG CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the method of rendering the newly loaded web page directly in the original window, it is necessary to eliminate the rendering effect of the previous web page first, and when the new web page has not been rendered completely, there will be no web page to display in the window, so that the display will appear during page switching Blank, on the one hand, it wastes display resources on the terminal, and on the other hand, it brings poor display effect to users
[0004] For the method of rendering a newly loaded web page in a newly created window, multiple windows need to be opened, occupying the display resources on the terminal, and the content displayed to the user is relatively complicated. For mobile terminals, the display resources are relatively scarce (the screen is usually small) ) is especially not suitable for

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
  • A method and device for realizing page switching
  • A method and device for realizing page switching
  • A method and device for realizing page switching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] figure 1 The flow chart of the method for implementing page switching provided by Embodiment 1 of the present invention, as shown in figure 1 As shown in , the process may specifically include the following steps:

[0050] In step 101, when starting a web application, the web engine creates a window (or called a page rendering window) containing N canvases, where N is a positive integer greater than 1, and the canvases are set to overlap in the window. The so-called overlapping setting means that the coordinate positions of these canvases on the x and y axes are consistent, and the coordinate positions on the z axis are offset. The plane formed by the x and y axes is a plane parallel to the terminal screen, and the z axis is parallel to the terminal screen. The terminal screen is vertical, such as figure 2 as shown in figure 2 Take N as 3 as an example. The N canvases in the window can be fully overlapped or partially overlapped. If they are partially overlapped, ...

Embodiment 2

[0070] image 3 The flow chart of the method for realizing page switching provided by Embodiment 2 of the present invention, such as image 3 As shown in , the process may specifically include the following steps:

[0071] Step 301 is the same as step 101 and will not be repeated here.

[0072] In step 302, the web engine acquires the page content to be rendered, switching mode and animation information from the server.

[0073] In this embodiment, after the web engine requests the page content from the server, the server returns the http response to the web engine to carry the page content to be rendered, as well as the switching mode and animation information. For example, a field can be added in the header of the http message to carry the switching mode and animation information, and a field can also be added in the content of the http message to carry the switching mode and animation information.

[0074] The switching mode and animation information carried may be the d...

Embodiment 3

[0088] Figure 4 The structure diagram of the device provided by Embodiment 3 of the present invention, the device can be set in the web engine, such as Figure 4 As shown in , the device may specifically include: a creation unit 01 , a first acquisition unit 02 , a rendering unit 03 , and a switching unit 04 , and may further include a second acquisition unit 05 .

[0089] The creation unit 01 is responsible for creating a page rendering window including N canvases that are fully overlapped or partially overlapped, where N is a positive integer greater than 1. When starting a web application, or responding to a user request, the creation unit 01 creates a page rendering window.

[0090] The first obtaining unit 02 is responsible for obtaining the page content to be rendered from the server. The rendering unit 03 renders the page content obtained by the first obtaining unit 02 into a currently undisplayed canvas in the page rendering window.

[0091]Wherein, the first acqui...

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 method and a device for realizing page switching. A created window comprises N canvases which are completely or partially overlapped, wherein N is a positive integer greater than 1. The method comprises the following steps: when first page contents to be rendered is obtained from a server side, rendering the obtained first page contents to a first canvas which is not displayed at present in the window; and if a second canvas which displays second page contents is in the presence at present in the window, hiding the second canvas and displaying the first canvas after rendering is finished. The display resources of a terminal can be effectively utilized, and user experience is improved.

Description

【Technical field】 [0001] The invention relates to the field of computer application technology, in particular to a method and device for realizing page switching. 【Background technique】 [0002] For the current mainstream web kernel, during the loading process of the web page, the web engine of the terminal will create a window, and then render the page content of the web page into the window. If the user clicks a link on the web page, a new web page will be loaded. One way to switch pages is to render the newly loaded web page to the original window, and the other way to switch pages is to create another window and convert the newly loaded The web page is rendered to the newly created window. [0003] For the method of rendering the newly loaded web page directly in the original window, it is necessary to eliminate the rendering effect of the previous web page first, and when the new web page has not been rendered completely, there will be no web page to display in the win...

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/451G06F16/958
Inventor 罗自荣
Owner BANMA ZHIXING NETWORK HONGKONG CO LTD