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

Webpage interaction accelerating asynchronous data processing method and system

A technology of asynchronous data and web page interaction, applied in the field of web applications, can solve problems such as ineffective solution, difficult maintenance, ugly code, etc., to achieve the effect of improving development efficiency, improving display speed, and enhancing user experience

Inactive Publication Date: 2012-06-20
RUN TECH CO LTD BEIJING
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the returned data structure is more complex, using strings to return requires writing more script methods to split the string and assign the split results to the corresponding positions. This approach not only increases the program development At the same time, it increases the burden on the browser to parse the javascript code, and makes the code ugly and difficult to maintain
It would be better to return in xml or json format, but such a data structure still requires some parsing and processing at the front end, and it does not effectively solve the problem

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
  • Webpage interaction accelerating asynchronous data processing method and system
  • Webpage interaction accelerating asynchronous data processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The asynchronous data processing system for accelerating web page interaction of the present invention includes a client, a server and a data processing engine, the client sends an asynchronous data request to the server, and the server sends corresponding asynchronous data and templates to the data processing engine according to the request, The data processing engine processes asynchronous data based on the template and generates a string to send to the client.

[0031] The server is provided with a receiving module and a data encapsulation module, the receiving module receives the request from the client, and the data encapsulation module encapsulates the asynchronous data into an object.

[0032] The following describes in detail the flow of the system of the present invention using templates to process the return value of asynchronous calls with reference to the accompanying drawings.

[0033] The data processing method of the present invention, as shown in the fig...

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 discloses a webpage interaction accelerating asynchronous data processing method and a system. The method comprises the following steps: 1) an asynchronous data request is sent to a server side by a client; 2) corresponding asynchronous data is encapsulated by the server side according to the request; 3) the encapsulated asynchronous data and predefined templates are sent to a data processing engine by the server side; 4) the asynchronous data is processed by the data processing engine based on the templates to generate character strings to be returned to the client; and 5) the returned character strings are received by the client and are written in an assigned position of a page. The system comprises the client, the server side and the data processing engine. The method and the system disclosed by the invention can be used for the presentation layer of any web system to separate the presentation layer and a business logic layer completely, and with the method, a developer does not need to write codes for return value resolution, so the development efficiency is improved; and the received data can be directly written into the page by the client, so the display speed is improved, and user experiences are enhanced.

Description

technical field [0001] The invention belongs to the field of web applications, and in particular relates to an asynchronous data processing method and system for accelerating webpage interaction. Background technique [0002] In a conventional asynchronous webpage interactive application, the basic principle is that the client sends an asynchronous request to the server, the server calls the business processing method, returns the processed data to the client, and then updates the page through javascipt and css. In order to achieve the purpose of updating the displayed content without refreshing the page, the user experience is better improved. [0003] In the process of the existing method, the relatively troublesome problem is the parsing of the returned data content on the page. For simple return types such as numbers or strings, returning a string will do the trick. However, when the returned data structure is more complex, using strings to return requires writing more...

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): H04L29/06
Inventor 李艳红
Owner RUN TECH CO LTD BEIJING