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

A web proxy method based on ajax support

An AJAX, source code technology, applied in the field of WEB proxy based on AJAX, can solve problems such as increased proxy function, difficulty, unrecognized address, etc., to achieve the effect of perfect function

Active Publication Date: 2019-03-05
HARBIN ENG UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Most AJAX requests are dynamically generated by executing dynamic code in the browser. Traditional proxies achieve the purpose of proxy by replacing the statically identifiable complete request address. These dynamically generated addresses cannot be recognized, and cannot be found in the source code of the web page. Find the address of the request, which makes it difficult for the proxy to function

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
  • A web proxy method based on ajax support
  • A web proxy method based on ajax support
  • A web proxy method based on ajax support

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] (1) Experimental environment

[0033] The current environment adopts the reflow mode. An agent program is deployed on a server. Only when the agent program is running can the Internet be accessed normally, otherwise the external network cannot be accessed. Deploy the shunt program on another server, the client is deployed on the server, and the virtual machine with the operating system installed normally accesses the Internet through the browser.

[0034] (2) Experiment and result analysis

[0035] After entering the user name, the login box on Alipay’s homepage can dynamically trigger an AJAX request according to webpage events, and then verify whether the entered account exists or is valid. This function is currently adopted when entering login information on most websites. After the user enters the account information, the AJAX request is triggered without reloading or other changes in the webpage. The execution code executes the request through the XMLHttpRequest o...

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 belongs to the field of computer networks and data communication and mainly relates to a WEB proxy method based on the AJAX support. The method includes the steps that webpage source code information sent by a server is received by a system; the AJAX is found and called, a request method is created according to a prototype mechanism, and an original inner request method is replaced; modified content is sent to a client side and a modified AJAX request executed by a client side browser is sent to a proxy system; a proxy extracts a real request address from the request address of the AJAX request sent by the client side and requests data from the server. In order to solve the problem that the request that a dynamic code of the AJAX is dynamically generated can not be effectively represented is solved, the method for rewriting the packaged internally-arranged method is designed on the basis of the prototype mechanism, the purpose of request address modification is achieved, and the proxy function of the AJAX dynamic request is achieved.

Description

technical field [0001] The invention belongs to the field of computer network and data communication, and mainly relates to a WEB agent method based on supporting AJAX. Background technique [0002] With the introduction of the Internet 2.0 concept, AJAX technology has become an important way to request web page information. Since AJAX is based on asynchronous loading, it is not necessary to reload the entire web page when requesting data, and the browser will not be blocked until the end of the request like a synchronous request. When the requested data is returned, the webpage is dynamically adjusted according to the execution result, which significantly improves the loading speed of the webpage. [0003] Most AJAX requests are dynamically generated by executing dynamic code in the browser. Traditional proxies achieve the purpose of proxy by replacing the statically identifiable complete request address. These dynamically generated addresses cannot be recognized, and canno...

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): H04L29/08
Inventor 玄世昌杨武王巍苘大鹏陈泳杉朱于增
Owner HARBIN ENG UNIV
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