Popup window page generation method and apparatus, browser and storage medium

A page and pop-up window technology, applied in the field of web front-end page loading, can solve the problems of slow web page loading speed and high server performance requirements, and achieve the effect of reducing energy consumption, low server performance requirements, and convenient use process

Inactive Publication Date: 2018-03-16
RUN TECH CO LTD BEIJING
View PDF7 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention provides a pop-up page generation method, device, browser and storage medium, which solves the problem of frequent resource requests and allocations during the pop-up page display process, resulting in high requirements on server performance and slow loading speed of web pages question

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
  • Popup window page generation method and apparatus, browser and storage medium
  • Popup window page generation method and apparatus, browser and storage medium
  • Popup window page generation method and apparatus, browser and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 2 It is a flow chart of the method for generating a pop-up page in Embodiment 1 of the present invention. This embodiment is applicable to the generation of a pop-up page. The pop-up page includes: a pop-up prompt box, a new window opened by a browser, and The method for generating a pop-up window page can be executed by a device for generating a pop-up window page, the device can be implemented by hardware and / or software, and the device can be integrated in a browser. Such as figure 2 As shown, the method specifically includes the following steps:

[0054] Step 210, receiving an input command to trigger a pop-up window page under the main page.

[0055] Wherein, the input instruction refers to an instruction for triggering a pop-up window page generated by the user performing an operation (such as clicking or touching) on ​​the current main page. Under the current main page, an input command is received, so that the trigger function corresponding to the re...

Embodiment 2

[0073] This embodiment optimizes the method for generating the pop-up window page in the first embodiment above. The pop-up window configuration information also includes the style information of the pop-up window page. The rendering effect of the style information is consistent under different browsers. Calling the preset configuration information of the pop-up window can unify the function and style of the pop-up window, so that the pop-up window styles of different browsers can be unified, and the compatibility requirements of various browsers can be met.

[0074] image 3 It is a flow chart of the pop-up window page generation method in Embodiment 2 of the present invention, such as image 3 As shown, the method includes:

[0075] Step 310, receiving an input command to trigger a pop-up window page under the main page.

[0076] Step 320, using AJAX to asynchronously request page information according to the input instruction.

[0077] Step 330, receiving the page inform...

Embodiment 3

[0085] Figure 4 It is a schematic structural diagram of the pop-up window page generation device in Embodiment 3 of the present invention, see Figure 4 , the present embodiment provides a device for generating a pop-up window page, the device comprising:

[0086] An instruction receiving module 410, configured to receive an input instruction triggering a pop-up window page under the main page;

[0087] An information request module 420, configured to use AJAX to asynchronously request page information according to the input instruction;

[0088] An information receiving module 430, configured to receive page information returned by the server;

[0089] The page loading module 440 is configured to load the pop-up window page according to the page information and the preset pop-up window configuration information.

[0090] Optionally, the pop-up window configuration information includes the subject label of each pop-up window page corresponding to the server;

[0091] The ...

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 popup window page generation method and apparatus, a browser and a storage medium. The method comprises the steps of receiving an input instruction of triggering a popup window page in a main page; according to the input instruction, asynchronously requesting for page information by utilizing AJAX; receiving the page information returned by a server; and according to the page information and preset popup window configuration information, loading the popup window page. The problems of relatively high server performance requirement and low webpage loading speed caused byfrequent resource requesting and allocation in a popup window page display process are solved; a popup window function in a webpage making process can be realized without frequently performing URL resource allocation of the server; the server performance requirement is low; the page loading speed is increased; multi-browser compatibility is supported; and a use process is convenient and easy.

Description

technical field [0001] The present invention relates to the technical field of web front-end page loading, in particular to a pop-up page generation method, device, browser and storage medium. Background technique [0002] For the web front-end development pop-up function, the methods generally adopted are: [0003] 1. The pop-up prompt box method. This method can be roughly divided into three ways between different browsers: [0004] (a) Use the window.alert() function that comes with the browser. This method can be used in most browsers and can be written in Javascript code. Its style will be different under different browsers, and its functionality is also slightly different. difference. For example, there is only one OK button in the Firefox browser, and there will be a close button and an OK button in browsers such as Google, IE, and 360. However, its usage is mostly the same, that is, some required data parameter information will pop up in the pop-up window. After ...

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): G06F17/30
CPCG06F16/9574G06F16/972
Inventor 鞠凯万月亮王梅
Owner RUN TECH CO LTD BEIJING
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