Method for realizing communication between browser pages

A browser page and browser technology, applied in the direction of inter-program communication, multi-program device, etc., can solve problems such as poor real-time performance, inability to realize communication, local system resource consumption, etc., and achieve high efficiency and real-time effects

Active Publication Date: 2012-07-11
CHINA STANDARD SOFTWARE
View PDF2 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This rotation training mechanism not only has poor real-time performance, but also consumes a certain amount of resources on the local system.
[0004] Limited by service and network, when high real-time communication between two pages is required, the performance of traditional Ajax technology is limited
Moreover, traditional technologies must be able to communicate when there is a network, and communication between pages cannot be achieved in an offline state.
When the amount of data is large, it is difficult to guarantee the real-time performance of the data

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
  • Method for realizing communication between browser pages
  • Method for realizing communication between browser pages
  • Method for realizing communication between browser pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the features and advantages of the present invention more clearly understood, the following will be described in detail in conjunction with the accompanying drawings;

[0033] Such as figure 1 As shown, in this embodiment, the sending end and receiving end of the browser plug-in and the inter-process communication module are integrated in the same plug-in, as long as the plug-in is loaded on both pages, the mutual program between different pages can be realized. submit. The sending end of the plug-in is responsible for receiving data from the page and sending the data to the browser plug-in receiving end of another browser page; the receiving end of the browser plug-in is responsible for receiving the message from the sending end and triggering the JavaScript function of the browser page according to the message implement.

[0034] In this embodiment, the receiver function and the sender function of the plug-in are integrated into the same plug-in pro...

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 for realizing communication between browser pages. The method comprises the following steps that: transmitting end pages involving in communication transmit data from the browser pages to browser program processes where the transmitting end pages involving in communication are positioned through a browser JavaScript engine by virtue of browser plug-ins; receiving end pages involving in communication call and map the data acquired by receiving end processes to JavaScript functions of the browser pages through the browser JavaScript engine by virtue of the browser plug-ins; and the data is transmitted between the browser program processes where the transmitting end and receiving end pages involving in communication are positioned through communication between operating system processes. The method is based on an event model, and the request and confirmation of mutual handshake between transmitting ends and receiving ends are not required, so an event submission and data communication method for the JavaScript functions of different browser pages is high in efficiency and real-time property.

Description

technical field [0001] The invention relates to a method for communication between browser pages. Background technique [0002] Inter-browser communication refers to the process of data transfer or event submission between JavaScript programs in two web pages accessed by the browser. At present, the communication between the programs in the two web pages accessed by the browser requires the participation of the web server. A page transmits data to the web server through Ajax technology, and the web server obtains the data from the server. Limited by web services and network performance, the real-time nature of communication is low, and the amount of communication data is small; at the same time, the form of communication is limited by whether the server provides services. [0003] The data received from the page to the server is realized through Ajax technology. Since the server does not have the ability to push data to the browser, the page can only continuously send reque...

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): G06F9/54
Inventor 兰雨晴尹忠兴张木梁董恩广夏颖
Owner CHINA STANDARD SOFTWARE
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