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

Page multiplexing method and device

A technology of multiplexing devices and pages, applied in the field of Web Internet, can solve the problems of high complexity of Javascript, low efficiency of IFRAME frame display, and delayed response.

Active Publication Date: 2017-11-03
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above-mentioned page reuse based on the IFRAME technology faces the following problems: First, to realize the interaction between the IFRAME and the main page and the IFRAME page, the Javascript required is relatively complex, such as page dragging, user-defined page layout and other operations. can not achieve
Secondly, IFRAME uses the browser refresh mechanism in the foreground instead of the mechanism of running requests in the background. There will be a problem of delayed response, and it is difficult to monitor the response status, resulting in embedded pages that cannot be highly adaptive and cause scroll bars to appear. problems such as
In addition, the display efficiency of the IFRAME frame is low, especially in the IE browser, only up to 4 IFRAME requests can be initiated at the same time. When more than 4 IFRAME pages are embedded, some IFRAME page requests will hang
On the other hand, each IFRAME page must be an independent and complete page, and the embedded page cannot use the resources loaded by the main page, which will be reflected when some large Javascript libraries (such as UI libraries) are used for page development. huge waste of resources
[0005] The above problems indicate that there are some functional and performance defects in the way of realizing page reuse based on IFRAME technology

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
  • Page multiplexing method and device
  • Page multiplexing method and device
  • Page multiplexing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0104] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts fall within the scope of the present invention.

[0105] The technical core of the present invention is to abstract the basic life cycle of the page and encapsulate it into a Javascript object base class. Each page that needs to be reused needs to inherit the base class and implement the corresponding life cycle method. The main page parses the page configuration information, loads on demand through AJAX requests, displays page objects and manages the life cycle of page objects, and interacts between pages through 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 page reusing method and a page reusing device. The page reusing method comprises the following steps of receiving a main page access request; sending out a common resource acquiring request to a resource library according to the main page access request; receiving and loading common resources; transmitting a query request to a main page configuration information library; receiving main page configuration information returned from the main page configuration information library; sending out an AJAX (asynchronous JavaScript and XML) request to the resource library according to the main page configuration information; asynchronously acquiring a definition of a fragment; establishing the fragment according to the definition of the fragment; transmitting the AJAX request to the fragment; analyzing request parameters in the AJAX request; sending out a private resource acquiring request to the resource library; receiving private resources returned from the resource library; loading the private resources; acquiring displaying data from the main page configuration information library; processing the displaying data; initializing the fragment; adding the initialized fragment on a main page DOM (document object model) tree; invoking an interface between the main page DOM tree and the fragment; performing information interaction between the main page DOM tree and the fragment; and responding user operation.

Description

technical field [0001] The present invention relates to Web Internet technology, in particular to a page multiplexing method and device based on Javascript object encapsulation. Background technique [0002] Today, with the rapid development of the Internet industry, web sites have developed from simple applications such as information sharing and information transmission in the past to today's rich and colorful web applications, which bring convenience to people's work and life and become indispensable in people's work and life. missing part. As web applications pay more and more attention to excellent user experience, web pages are becoming more and more complex. Effectively increasing the reuse rate of pages can greatly improve the efficiency of page development. [0003] At present, most web applications use IFRAME technology to realize page reuse. Through the IFRAME tag, other pages can be embedded in the main page window, so the page code can be reused by means of on...

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): G06F17/30
CPCG06F16/958
Inventor 郑振雷严波张力引
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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