CN112637333A - Intelligent client agent method - Google Patents

Intelligent client agent method Download PDF

Info

Publication number
CN112637333A
CN112637333A CN202011529441.2A CN202011529441A CN112637333A CN 112637333 A CN112637333 A CN 112637333A CN 202011529441 A CN202011529441 A CN 202011529441A CN 112637333 A CN112637333 A CN 112637333A
Authority
CN
China
Prior art keywords
user
client
agent
request
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011529441.2A
Other languages
Chinese (zh)
Inventor
赵海华
熊昌伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHANJET INFORMATION TECHNOLOGY CO LTD
Original Assignee
CHANJET INFORMATION TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHANJET INFORMATION TECHNOLOGY CO LTD filed Critical CHANJET INFORMATION TECHNOLOGY CO LTD
Priority to CN202011529441.2A priority Critical patent/CN112637333A/en
Publication of CN112637333A publication Critical patent/CN112637333A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a client intelligent agent method, which comprises the following steps: executing batch processing at a user client, and judging network quality by the user client according to ip addresses of a plurality of proxy servers in the batch processing, wherein the batch processing automatically sets proxy configuration of a user browser; starting a user browser, and reading an agent automatic configuration PAC file from an agent server on line by the user browser according to agent configuration; caching the PAC file to the local by the user browser; the user browser judges the domain name in the user request according to the content of the PAC file and determines the domain name to be forwarded; a user initiates a request; the request data is forwarded to the proxy server side; and the proxy server directly forwards the request of the user to the real WEB server according to the determined domain name to be forwarded.

Description

Intelligent client agent method
Technical Field
The invention relates to the technical field of networks, in particular to an intelligent agent method for a client.
Background
Generally, when a user accesses a cloud product, some users may fail to access due to network quality differences. For example, due to network quality differences, user access may time out, resulting in end user access failure.
Therefore, it is desirable to provide a solution to the problem of user access timeout due to network quality differences.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an intelligent client proxy method, which can forward a user request to a cloud product through a proxy server in a proxy manner to solve the problem of user access timeout, aiming at the above defects in the prior art.
According to the invention, the intelligent agent method for the client comprises the following steps:
the first step is as follows: executing batch processing at a user client, and judging network quality by the user client according to ip addresses of a plurality of proxy servers in the batch processing, wherein the batch processing automatically sets proxy configuration of a user browser;
the second step is as follows: starting a user browser, and reading an agent automatic configuration PAC file from an agent server on line by the user browser according to agent configuration;
the third step: caching the PAC file to the local by the user browser;
the fourth step: the user browser judges the domain name in the user request according to the content of the PAC file and determines the domain name to be forwarded;
the fifth step: a user initiates a request;
a sixth step: the request data is forwarded to the proxy server side;
a seventh step of: and the proxy server directly forwards the request of the user to the real WEB server according to the determined domain name to be forwarded.
Preferably, the client-side intelligent agent method is used for realizing access agent under the condition of accessing a cloud product.
Preferably, the client-side intelligent agent method performs an intranet penetration function.
Preferably, the proxy server is implemented by the open source software require.
Preferably, the proxy server may be one or more of an arry cloud proxy server, a hua cloud proxy server, a sky cloud proxy server, and the like.
Preferably, the proxy server forwards the user's request directly to the real WEB server via a WEB application prevention system (WAF).
The invention can intelligently select routes, realize that the user can not directly access the cloud product through forward proxy, realize forward proxy on the appointed domain name, and forward the request of the user to the cloud product through the proxy server in a proxy mode to solve the problem of overtime access of the user.
Drawings
A more complete understanding of the present invention, and the attendant advantages and features thereof, will be more readily understood by reference to the following detailed description when considered in conjunction with the accompanying drawings wherein:
FIG. 1 schematically illustrates a flow diagram of a client-side intelligent agent method in accordance with a preferred embodiment of the present invention.
Fig. 2 schematically shows a principle schematic of the client-side intelligent agent method according to a preferred embodiment of the present invention.
Fig. 3 schematically shows a proxy server principle diagram of the client-side intelligent proxy method according to a preferred embodiment of the present invention.
It is to be noted, however, that the appended drawings illustrate rather than limit the invention. It is noted that the drawings representing structures may not be drawn to scale. Also, in the drawings, the same or similar elements are denoted by the same or similar reference numerals.
Detailed Description
In order that the present disclosure may be more clearly and readily understood, reference will now be made in detail to the present disclosure as illustrated in the accompanying drawings.
In the present invention, the intelligent agent consists of both a client batch script and a forward agent. The batch processing is carried out for intelligently selecting routes and downloading configuration files of the proxy server side according to the user network, and proxy forwarding is carried out on the appointed request; the proxy server is responsible for forwarding the user request to the cloud product website.
Specifically, fig. 1 schematically shows a flowchart of a client-side intelligent agent method according to a preferred embodiment of the present invention, and fig. 2 schematically shows a schematic diagram of a principle of the client-side intelligent agent method according to a preferred embodiment of the present invention. The client intelligent agent method according to the preferred embodiment of the invention can realize the intranet penetration function. The client intelligent agent method of the preferred embodiment of the invention is used for realizing access agent under the condition of accessing cloud products.
As shown in fig. 1 and 2, the client-side intelligent agent method according to the preferred embodiment of the present invention includes:
first step S1: executing batch processing at a user client, and judging network quality by the user client according to ip addresses of a plurality of proxy servers in the batch processing, wherein the batch processing automatically sets proxy configuration of a user browser;
wherein, the batch processing is a script file under Windows; by double-clicking the file, or entering the file name in the command line, the contents thereof can be executed line by line.
Second step S2: starting a user browser, and reading an agent automatic configuration PAC file from an agent server on line by the user browser according to agent configuration;
third step S3: caching the PAC file to the local by the user browser;
fourth step S4: the user browser judges the domain name in the user request according to the content of the PAC file, and determines the domain name to be forwarded (only the domain name which meets the requirement of proxy is forwarded);
the PAC file contains a JavaScript-form function "FindProxyForURL (url, host)". This function returns a string containing one or more access rules. The user agent adapts a particular agent or direct access according to these rules. Multiple access rules provide other backup access methods when a proxy server is not available to respond. The browser first accesses this PAC file before accessing other pages. The URL in the PAC file may be manually configured or may be automatically configured through a Web Proxy self discovery Protocol (Web Proxy automatic discovery Protocol) of the Web page.
The above-described first step S1 to fourth step S4 are processed for the setting of the agent as a preliminary stage.
Fifth step S5: a user initiates a request (e.g., requests access to a cloud product);
sixth step S6: the request data is forwarded to the proxy server side;
seventh step S7: and the proxy server directly forwards the request of the user to the real WEB server according to the determined domain name to be forwarded.
Preferably, the proxy server forwards the user's request directly to the real WEB server via a WEB application prevention system (WAF).
Specifically, for example, the proxy server is implemented by an open source software request supporting HTTP, HTTPs, FTP, or other protocols, and is used to help the user access the internet, as shown in fig. 3.
For example, the proxy server may be one or more of an arri cloud proxy server, a hua cloud proxy server, a sky cloud proxy server, and the like.
According to the invention, through the intelligent agent device, the user can access the cloud product in an agent mode when the user cannot directly access the cloud product.
The invention can intelligently select routes, realize that the user can not directly access the cloud product through forward proxy, realize forward proxy on the appointed domain name, and forward the request of the user to the cloud product through the proxy server in a proxy mode to solve the problem of overtime access of the user.
It should be noted that the terms "first", "second", "third", and the like in the description are used for distinguishing various components, elements, steps, and the like in the description, and are not used for indicating a logical relationship or a sequential relationship between the various components, elements, steps, and the like, unless otherwise specified.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (6)

1. A client-side intelligent agent method, comprising:
the first step is as follows: executing batch processing at a user client, and judging network quality by the user client according to ip addresses of a plurality of proxy servers in the batch processing, wherein the batch processing automatically sets proxy configuration of a user browser;
the second step is as follows: starting a user browser, and reading an agent automatic configuration PAC file from an agent server on line by the user browser according to agent configuration;
the third step: caching the PAC file to the local by the user browser;
the fourth step: the user browser judges the domain name in the user request according to the content of the PAC file and determines the domain name to be forwarded;
the fifth step: a user initiates a request;
a sixth step: the request data is forwarded to the proxy server side;
a seventh step of: and the proxy server directly forwards the request of the user to the real WEB server according to the determined domain name to be forwarded.
2. The client-side intelligent agent method of claim 1, wherein the client-side intelligent agent method is used for realizing access agent under the condition of accessing a cloud product.
3. The client-side intelligent agent method according to claim 1 or 2, wherein the client-side intelligent agent method performs an intranet pass-through function.
4. The client-side intelligent agent method according to claim 1 or 2, characterized in that the agent server is implemented by an open source software request.
5. The client intelligent agent method according to claim 1 or 2, wherein the agent server is one or more of an Alice cloud agent server, a Huacheng cloud agent server, a wing cloud agent server, and the like.
6. The client-side intelligent agent method according to claim 1 or 2, wherein the agent server forwards the user's request directly to the real WEB server via a WEB application protection system (WAF).
CN202011529441.2A 2020-12-22 2020-12-22 Intelligent client agent method Pending CN112637333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011529441.2A CN112637333A (en) 2020-12-22 2020-12-22 Intelligent client agent method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011529441.2A CN112637333A (en) 2020-12-22 2020-12-22 Intelligent client agent method

Publications (1)

Publication Number Publication Date
CN112637333A true CN112637333A (en) 2021-04-09

Family

ID=75321254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011529441.2A Pending CN112637333A (en) 2020-12-22 2020-12-22 Intelligent client agent method

Country Status (1)

Country Link
CN (1) CN112637333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024947A (en) * 2022-01-05 2022-02-08 北京微步在线科技有限公司 Web access method and device based on browser

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624920A (en) * 2012-03-31 2012-08-01 奇智软件(北京)有限公司 Method and device for performing access through proxy server
CN103516785A (en) * 2013-08-19 2014-01-15 上海艾泰网络信息有限公司 Web page proxy system and communication method thereof
CN104065749A (en) * 2014-07-10 2014-09-24 上海斐讯数据通信技术有限公司 Method and device for accessing web through proxy
CN105245607A (en) * 2015-10-23 2016-01-13 中国联合网络通信集团有限公司 Proxy server dynamic automatic selection method and system
CN106921699A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of Network Access Method, device and system
CN107105033A (en) * 2017-04-21 2017-08-29 北京奇安信科技有限公司 Cloud application access method, cloud proxy server and cloud application access system
CN107920101A (en) * 2016-10-10 2018-04-17 阿里巴巴集团控股有限公司 A kind of file access method, device, system and electronic equipment
CN108156210A (en) * 2016-12-06 2018-06-12 腾讯科技(深圳)有限公司 The acquisition methods and device of target resource
US20190386961A1 (en) * 2018-06-19 2019-12-19 Cisco Technology, Inc. Proxy-based clientless vpn with web browser proxy auto-configuration (pac) file and extension
CN111064795A (en) * 2019-12-20 2020-04-24 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624920A (en) * 2012-03-31 2012-08-01 奇智软件(北京)有限公司 Method and device for performing access through proxy server
CN103516785A (en) * 2013-08-19 2014-01-15 上海艾泰网络信息有限公司 Web page proxy system and communication method thereof
CN104065749A (en) * 2014-07-10 2014-09-24 上海斐讯数据通信技术有限公司 Method and device for accessing web through proxy
CN105245607A (en) * 2015-10-23 2016-01-13 中国联合网络通信集团有限公司 Proxy server dynamic automatic selection method and system
CN106921699A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of Network Access Method, device and system
CN107920101A (en) * 2016-10-10 2018-04-17 阿里巴巴集团控股有限公司 A kind of file access method, device, system and electronic equipment
CN108156210A (en) * 2016-12-06 2018-06-12 腾讯科技(深圳)有限公司 The acquisition methods and device of target resource
CN107105033A (en) * 2017-04-21 2017-08-29 北京奇安信科技有限公司 Cloud application access method, cloud proxy server and cloud application access system
US20190386961A1 (en) * 2018-06-19 2019-12-19 Cisco Technology, Inc. Proxy-based clientless vpn with web browser proxy auto-configuration (pac) file and extension
CN111064795A (en) * 2019-12-20 2020-04-24 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024947A (en) * 2022-01-05 2022-02-08 北京微步在线科技有限公司 Web access method and device based on browser
CN114024947B (en) * 2022-01-05 2022-04-01 北京微步在线科技有限公司 Web access method and device based on browser

Similar Documents

Publication Publication Date Title
US11343342B2 (en) Dynamic optimization of request parameters for proxy server
US7523193B2 (en) Method and apparatus for DNS pre-fetching for multiple clients
US10911561B2 (en) Method and network node for caching web content
US6377974B1 (en) Methods and apparatus for downloading a file from a server
CN101753606B (en) Method for realizing WEB reverse proxy
US7333990B1 (en) Dynamic reverse proxy
US8495719B2 (en) Cross-domain access prevention
US7490162B1 (en) Method and system for forwarding messages received at a traffic manager
US20020042839A1 (en) HTTP multiplexor/demultiplexor
US20020120721A1 (en) Client capability detection in a client and server system
US20130124698A1 (en) Method and system for uniform resource locator transformation
US8621078B1 (en) Certificate selection for virtual host servers
EP1808789A2 (en) Improvements in and relating to remote user interfaces
US20070174488A1 (en) Methods and apparatus for web content transformation and delivery
EP1504374A1 (en) Automatic proxy detection
US9654575B1 (en) Pass-through web traffic systems and methods
US7865902B2 (en) Method and apparatus for optimizing web services binding
US7216154B1 (en) Apparatus and method for facilitating access to network resources
US20030061378A1 (en) Automatic request forwarding method and system
CN101136834A (en) SSL VPN based link rewriting method and apparatus
EP1387300A2 (en) Establishment of network connections
CN112637333A (en) Intelligent client agent method
US20120198079A1 (en) Parallel transmissions over http connections
US20030217147A1 (en) Directing a client computer to a least network latency server site
Cisco Release Notes for Cisco Content Optimization Engine 1.2 for ACNS 4.1

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination