System and method for mixed-mode cross-domain data interaction

A technology of data interaction and mixed mode, applied in transmission system, network data retrieval, electronic digital data processing, etc., can solve the problem that data cannot be directly submitted to the server

A technology of data interaction and mixed mode, applied in transmission system, network data retrieval, electronic digital data processing, etc., can solve the problem that data cannot be directly submitted to the server

CN105045887BActive Publication Date: 2018-06-22苏州工业园区迪锐信信息科技有限责任公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for mixed-mode cross-domain data interaction
  • System and method for mixed-mode cross-domain data interaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Such as figure 1 As shown, the system of mixed-mode cross-domain data interaction includes a Web server 1, a web page automatic adaptation module 2, a local cache manager 3, a browser container 4, and a cross-domain data interaction proxy module 5;

[0031] Web server 1, provides web services for browsers or clients, uses HTTP to provide HTML web page output, and responds to web page interaction requests; among them, Web server 1 is a Microsoft IIS server or Apache HTTP Server web server; the browser is on a mobile phone or The computer displays the HTML file of the web server or file system and provides software for users to interact with the file, such as IE, Safari, Chrome, etc.; the client is an application software that runs on a mobile phone or computer to complete one or a group of functions.

[0032] The webpage automatic adaptation module 2 contains a code module that automatically judges the running status of the webpage and runs in the HTML webpage in the form of a...

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 present invention relates to a system and method for cross-domain data interaction in a mixed mode, including a Web server, a web page automatic adaptation module, a local cache manager, a browser container, and a cross-domain data interaction proxy module; the Web server organizes web page resources, compresses and packages them , the local cache manager downloads and decompresses the packaged files to form a local resource structure; the web page automatic adaptation module judges the current working status, if it is an online working status, it uses Ajax to interact with the Web server, and if it is a local cache working status, it uses The cross-domain data interaction agent module performs data communication; the browser container interface obtains the data submitted by the webpage automatic adaptation module, and according to the data interaction type, simulates the browser to initiate a data read and write request to the web server, and returns the data returned by the web server through a callback to call the web page. It solves the limitation of the same-origin policy, and realizes the data interaction between the client's local webpage resources and the server's data across domains.

Description

Technical field [0001] The invention relates to a system and method for cross-domain data interaction in a mixed mode. Background technique [0002] The mobile Internet is developing rapidly. The iOS system developed by Apple and the Android system developed by Google occupy most of the operating systems of mobile terminals. Both mobile operating systems provide SDK (Software Development Kit), and software companies can develop applications based on the system's SDK. [0003] There are three modes of application development: the first, all based on SDK-based localization (Native) development; the second, the development of mobile web pages based on HTML technology; the third, a combination of localized development and HTML Web development (Hybrid) mode, the mixed mode can improve the efficiency of application development by using mature HTML Web development technology, and display and interact with the interface by using the browser container. [0004] The implementation process of...

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
22 Jun 2018
Publication
CN105045887B
IPC
G06F17/30; H04L29/08
CPC
H04L67/02; G06F16/958; H04L67/568
Inventors
林旭; 徐永峰