CN113783713A - Method, device and system for configuring proxy - Google Patents

Method, device and system for configuring proxy Download PDF

Info

Publication number
CN113783713A
CN113783713A CN202010773293.2A CN202010773293A CN113783713A CN 113783713 A CN113783713 A CN 113783713A CN 202010773293 A CN202010773293 A CN 202010773293A CN 113783713 A CN113783713 A CN 113783713A
Authority
CN
China
Prior art keywords
proxy
terminal
server
agent
target
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
CN202010773293.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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010773293.2A priority Critical patent/CN113783713A/en
Publication of CN113783713A publication Critical patent/CN113783713A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • 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
    • 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/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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

Abstract

The invention discloses a method, a device and a system for configuring an agent, and relates to the technical field of computers. One embodiment of the method comprises: responding to a configuration proxy request sent by a terminal, determining an IP address and a port number of a target proxy server, and calling a starting instruction to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server; and receiving a request containing a target website transmitted by the terminal forwarded by the proxy automatic configuration server by using the target proxy server, and executing corresponding proxy service. The embodiment reduces the manpower consumption and improves the automation degree of the configuration agent.

Description

Method, device and system for configuring proxy
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for configuring an agent.
Background
For the terminal, in the special interface test process or when checking the verification problem, an agent needs to be configured, so that the terminal request sent to the service server is routed to the agent server realizing the test requirement, thereby not interfering the normal operation of the service server and being capable of efficiently executing the test. For example, the proxy server may further modify the terminal request and route the modified terminal request to the service server; for another example, the proxy server may intercept the terminal request, simulate the behavior of the service server, and respond to the terminal request; as another example, the proxy server may route the terminal request directly to a service server, recording only statistics related to the service request. The configuration agent typically includes: step one, manually starting a proxy server; in a second step, the service agent of the terminal is manually changed, i.e. the IP address and port number of the proxy server are manually entered, so that the test-related terminal request is routed to the IP address and port number of the proxy server.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the configuration of the proxy service is completed by manual operation, so that the automation degree is low and the labor is consumed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for configuring an agent, where a target proxy server updates an agent rule in an agent automatic configuration server after receiving a configuration agent request sent by a terminal, so that the agent automatic configuration server forwards the request including a target website to the target proxy server after receiving the request including the target website sent by the terminal, and further executes a corresponding agent service.
To achieve the above object, according to a first aspect of the embodiments of the present invention, there is provided a method for configuring a proxy, applied to a proxy server cluster, including:
responding to a configuration proxy request sent by a terminal, determining an IP address and a port number of a target proxy server, and calling a starting instruction to start the target proxy server;
receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server;
and receiving a request containing a target website transmitted by the terminal forwarded by the proxy automatic configuration server by using the target proxy server, and executing corresponding proxy service.
Further, the agent automatic configuration file is stored in the agent automatic configuration server, and the file name of the agent automatic configuration file is determined according to the terminal identifier corresponding to the terminal.
Further, the network agent of the terminal is set to be automatically configured, and the address of the corresponding agent automatic configuration server is determined according to the address of the agent automatic configuration server and the terminal identification.
Further, before the step of receiving the request containing the target website sent by the terminal forwarded by the proxy automatic configuration server, the method further includes:
and receiving the identifier of the simulation data sent by the terminal, acquiring the simulation data according to the identifier of the simulation data, and storing the simulation data to the target proxy server.
Further, the step of executing the corresponding proxy service includes: and determining a response result corresponding to the request containing the target website from the simulation data by using the target proxy server, and sending the response result to the terminal.
According to a second aspect of the embodiments of the present invention, there is provided a method for configuring an agent, applied to an agent automatic configuration server, including:
acquiring a terminal identifier of a terminal, determining a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and storing the agent automatic configuration file;
receiving a configuration file updating request containing a terminal identifier, and updating an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule comprises an IP address and a port number of a target agent server;
and receiving a request containing a target website sent by the terminal, and forwarding the request containing the target website to a target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service.
According to a third aspect of the embodiments of the present invention, there is provided a method for configuring an agent, which is applied to a terminal, and includes:
sending a configuration proxy request to a proxy server cluster to determine and start a target proxy server;
acquiring a terminal identifier, and sending the terminal identifier to a proxy server cluster, wherein the proxy server cluster sends a configuration file updating request containing the terminal identifier to a proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file of a terminal, and the updated proxy rule comprises an IP address and a port number of a target proxy server;
and sending a request containing the target website to an agent automatic configuration server, and forwarding the request containing the target website to the target agent server by the agent automatic configuration server according to an agent rule of an agent automatic configuration file of the terminal so as to perform corresponding agent service.
Further, the network agent of the terminal is set to be automatically configured, and the target address corresponding to the automatic configuration is determined according to the target address and the terminal identification.
Further, before the step of sending the request containing the target website to the proxy automatic configuration server, the method further comprises: and sending the identifier of the simulation data to the proxy server cluster, and the proxy server cluster acquires the simulation data according to the identifier of the simulation data and stores the simulation data to the target proxy server.
Further, after the step of sending the request containing the target website to the proxy automatic configuration server, the method further comprises: and receiving a response result which is determined by the target proxy server from the simulation data and corresponds to the request containing the target website.
According to a fourth aspect of the embodiments of the present invention, there is provided an apparatus for configuring a proxy, which is disposed in a proxy server cluster, and includes:
the target proxy server starting module is used for responding to a configuration proxy request sent by the terminal, determining the IP address and the port number of the target proxy server and calling a starting instruction to start the target proxy server;
a configuration file update request sending module, configured to receive a terminal identifier sent by a terminal, and send a configuration file update request including the terminal identifier to an agent automatic configuration server, so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, where the updated agent rule includes an IP address and a port number of a target agent server;
and the proxy service execution module is used for receiving a request which contains a target website and is transmitted by the terminal and forwarded by the proxy automatic configuration server by using the target proxy server and executing corresponding proxy service.
According to a fifth aspect of the embodiments of the present invention, there is provided an apparatus for configuring an agent, which is provided in an agent autoconfiguration server, including:
the agent automatic configuration file storage module is used for acquiring a terminal identifier of the terminal, determining the file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier and storing the agent automatic configuration file;
the agent automatic configuration file updating module is used for receiving a configuration file updating request containing a terminal identifier and updating an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule comprises an IP address and a port number of a target agent server;
and the terminal request forwarding module is used for receiving a request containing a target website sent by the terminal, and forwarding the request containing the target website to the target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service.
According to a sixth aspect of the embodiments of the present invention, there is provided an apparatus for configuring an agent, which is provided in a terminal, and includes:
the configuration proxy request sending module is used for sending a configuration proxy request to the proxy server cluster so as to determine and start a target proxy server;
the terminal identification sending module is used for acquiring a terminal identification and sending the terminal identification to the proxy server cluster, and the proxy server cluster sends a configuration file updating request containing the terminal identification to the proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file of the terminal, wherein the updated proxy rule comprises an IP address and a port number of a target proxy server;
and the terminal request sending module is used for sending a request containing the target website to the automatic proxy configuration server so that the automatic proxy configuration server forwards the request containing the target website to the target proxy server according to the proxy rule of the automatic proxy configuration file of the terminal to perform corresponding proxy service.
According to a seventh aspect of the embodiments of the present invention, there is provided a system for configuring an agent, including: the device for configuring the proxy arranged in the proxy server cluster, the device for configuring the proxy arranged in the proxy automatic configuration server and the device for configuring the proxy arranged in the terminal.
According to an eighth aspect of the embodiments of the present invention, there is provided an electronic apparatus including:
one or more processors;
a storage device for storing one or more programs,
when executed by one or more processors, cause the one or more processors to implement any of the methods for configuring an agent as described above.
According to a ninth aspect of embodiments of the present invention, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods of configuring an agent as described above.
One embodiment of the above invention has the following advantages or benefits: because the IP address and the port number of the target proxy server are determined by adopting the configuration proxy request responding to the terminal, and the starting instruction is called to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server; a technical means for receiving a request containing a target website transmitted by a terminal forwarded by an agent automatic configuration server by using a target agent server and executing corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a method of configuring an agent provided according to a first embodiment of the present invention;
fig. 2a is a schematic diagram of a main flow of a method for configuring an agent according to a second embodiment of the present invention;
FIG. 2b is a diagram illustrating the method shown in FIG. 2a, in which a pac file is generated in a pac server according to a terminal identifier;
fig. 3a is a schematic diagram of a main flow of a method for configuring an agent according to a third embodiment of the present invention;
FIG. 3b is a diagram illustrating the terminal setting network proxy and pac server addresses in the method of FIG. 3 a;
FIG. 3c is a schematic diagram of the identification of mock data in the method of FIG. 3 a;
fig. 4 is a schematic diagram of main modules of an apparatus for configuring an agent provided according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of main modules of an apparatus for configuring an agent provided according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of main modules of an apparatus for configuring an agent provided according to a sixth embodiment of the present invention;
fig. 7 is a schematic diagram of the main framework of a system for configuring an agent provided according to a seventh embodiment of the present invention;
FIG. 8 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 9 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In order to solve the problems in the prior art, a first embodiment of the present invention provides a method for configuring an agent, which is applied to a proxy server cluster, and as shown in fig. 1, the method mainly includes:
step S101, responding to the configuration proxy request sent by the terminal, determining the IP address and the port number of the target proxy server, and calling a starting instruction to start the target proxy server.
Specifically, in this step, a terminal that needs to perform a configuration proxy service sends a configuration proxy request to a proxy server cluster, the proxy server cluster randomly determines a proxy server in an idle state as a target proxy server, determines an IP address and a port number of the target proxy server, and invokes a start instruction to start the target proxy server, so as to execute a corresponding proxy service according to a request including a target website forwarded by a proxy automatic configuration server.
It should be noted that the start instruction may be an existing start instruction. It should be appreciated that after the target proxy server is started, the proxy server will listen to the port for the proxy server of the proxy server cluster. In addition, the (target) proxy server is an intermediate service, and is deployed between the terminal and the service server, and the proxy server serving as an intermediate role can implement proxy services such as request forwarding or request interception.
In this embodiment, the proxy server cluster may implement the embodiment of the present invention by using spring (spring is a lightweight IoC and AOP container framework, is a set of framework for providing basic services for Java applications, and is intended to simplify the development of enterprise applications) services or express (express is a flexible and compact nodjs Web program framework) services, etc.
It should be noted that, after the target proxy server in the proxy server cluster is started, the corresponding state is updated from the idle state to the occupied state.
Step S102, receiving a terminal identification sent by a terminal, sending a configuration file updating request including the terminal identification to an agent automatic configuration server, so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server.
In this step, the terminal identifier may be a serial number of the terminal, and if the terminal is a Mobile phone, the identifier of the Mobile phone may also be an International Mobile Equipment Identity (IMEI) of the Mobile phone.
Specifically, according to the embodiment of the present invention, the proxy auto configuration file (pac (proxy auto config) file) is stored in a proxy auto configuration server (pac server), a file name of the proxy auto configuration file is determined according to a terminal identifier corresponding to a terminal, and may also be determined according to the terminal identifier and a file extension of the proxy auto configuration file, the pac file includes a proxy rule, and the updated proxy rule includes an IP address and a port number of a target proxy server.
Through the setting, the pac file of the terminal is generated in the pac server, the proxy server cluster searches the pac file of the terminal corresponding to the terminal identifier from the pac server according to the terminal identifier, and updates the proxy rule in the pac file, so that the updated proxy rule corresponding to the terminal includes an IP (Internet Protocol) address and a port number of a target proxy server, and after a subsequent pac server receives a request of the terminal, the terminal request is directly forwarded to the target proxy server according to the proxy rule in the pac file of the terminal, thereby realizing the automation of proxy configuration and reducing the manpower consumption.
Step S103, the target proxy server is used for receiving a request which is transmitted by the terminal and contains the target website and is forwarded by the proxy automatic configuration server, and corresponding proxy service is executed.
Specifically, according to the embodiment of the present invention, the network proxy of the terminal is configured to be automatically configured, and the address of the proxy automatic configuration server corresponding to the automatic configuration is determined according to the website of the proxy automatic configuration server and the terminal identifier. According to a specific implementation manner of the embodiment of the present invention, the address of the proxy automatic configuration server may be further determined according to a website of the proxy automatic configuration server, a terminal identifier, and a file extension of the proxy automatic configuration file. It should be noted that the automatic proxy configuration server address may also be in other forms, and only the proxy rule in the pac file corresponding to the terminal needs to be obtained.
Through the steps S101 and S102, the proxy configuration on the proxy server side and the pac server side is completed, but if the whole process of proxy automatic configuration is required, setting is also performed on the terminal, that is, the network proxy of the terminal is set to be automatic configuration, and the pac server address corresponding to automatic configuration is determined according to the pac server website, the terminal identifier and the file extension of the pac file.
Further, according to the embodiment of the present invention, before the step of receiving the request containing the target website sent by the terminal and forwarded by the proxy autoconfiguration server, the method further includes:
and receiving the identifier of the simulation data sent by the terminal, acquiring the simulation data according to the identifier of the simulation data, and storing the simulation data to the target proxy server.
The identification of simulation data (mock data) is determined by a user according to the requirement of the user, and the simulation data comprises but is not limited to pictures, animations and audios to be shown on a webpage; or scripts, etc. The simulation data will change correspondingly when the terminal test requirements are different. And the target proxy server acquires corresponding simulation data from the database according to the identification of the simulation data. The step is mainly applied to a scene of simulating data pile test, and the received simulation data is stored in the proxy service, so that the proxy server determines a response result of a request matched with a target website from the simulation data
Preferably, according to an embodiment of the present invention, the step of executing the corresponding proxy service includes: and determining a response result corresponding to the request containing the target website from the simulation data by using the target proxy server, and sending the response result to the terminal.
For the situation that the simulation data are stored in the target proxy server, after the request containing the target website is received, the target proxy server can determine the response result of the request from the simulation data and send the response result to the terminal so as to complete the simulation data pile test.
According to a specific implementation manner of the embodiment of the present invention, for the case that the simulation data is stored in the target proxy server, the step of executing the corresponding proxy service further includes: and executing proxy services such as request forwarding or request interception.
According to the technical scheme of the embodiment of the invention, the IP address and the port number of the target proxy server are determined by responding to the configuration proxy request sent by the terminal, and the starting instruction is called to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server; a technical means for receiving a request containing a target website transmitted by a terminal forwarded by an agent automatic configuration server by using a target agent server and executing corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
In order to solve the problems in the prior art, a second embodiment of the present invention provides a method for configuring an agent, which is applied to an agent automatic configuration server, and as shown in fig. 2, the method mainly includes:
step S201, acquiring a terminal identifier of a terminal, determining a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and storing the agent automatic configuration file.
Specifically, in the embodiment of the present invention, the proxy automatic configuration server (pac server) plays a role of gateway/routing, and first obtains the terminal identifier of the terminal, and configures a pac file for the terminal, where the pac file includes a proxy rule. The file name of the pac file is determined according to the terminal identifier and the file extension of the pac file, and the pac file stores the pac file corresponding to the terminal, so that the terminal request is forwarded to the proxy server indicated by the proxy rule according to the proxy rule in the pac file subsequently, and corresponding proxy service is performed.
As shown in fig. 2b, for the mobile phone a, the proxy auto-configuration file of the mobile phone a is generated, and the IMEI of the mobile phone a (the IMEI of the mobile phone a is the identifier of the mobile phone a) and the file extension of the proxy auto-configuration file are combined into the file name of the proxy auto-configuration file of the mobile phone a. For example, the IMEI of mobile phone a is C33H5MRMDTC0, the file extension of the proxy auto-configuration file is pac, and the file name of the proxy auto-configuration file of mobile phone a is c33h5mrmdtc0. pac. And respectively setting and storing an agent automatic configuration file corresponding to each terminal in the pac file.
According to a specific implementation manner of the embodiment of the present invention, the content of the pac file of the terminal includes:
function FindProxyForURL(url,host){
return"DIRECT";}
wherein, the DIRECT indicates that the connection mode is a DIRECT connection mode.
Through the arrangement, the pac file of the terminal is generated in the pac server, so that after the subsequent pac server receives the request of the terminal, the terminal request is directly forwarded to the target agent service according to the agent rule in the pac file of the terminal, the automation of agent configuration is realized, and the labor consumption is reduced.
Step S202, receiving a configuration file updating request containing a terminal identifier, and updating an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule comprises an IP address and a port number of a target agent server.
Specifically, the proxy server cluster determines and starts a target proxy server according to a configuration proxy request sent by the terminal. After updating the proxy server information in the proxy rule in the pac file corresponding to the terminal identifier to the IP address and the port of the target proxy server by the pac server according to the configuration file update request containing the terminal identifier sent by the target proxy server, the subsequent pac server forwards the terminal request containing the target website to the target proxy server according to the proxy rule, so as to realize automatic proxy.
Further, according to the embodiment of the present invention, the step of updating the agent rule of the agent auto-configuration file corresponding to the terminal identifier includes:
and updating the connection mode indicated in the pac file of the terminal corresponding to the terminal identifier from a DIRECT connection (DIRECT) mode to a PROXY (PROXY) mode, determining the received IP address as the IP address of the target PROXY server, and determining the received port as the port number of the target PROXY server.
In this embodiment, the following describes, by way of a specific example, a step of determining, according to a terminal identifier, a pac file of a terminal corresponding to the terminal identifier: the terminal identifier sent by the target proxy server is C33H5MRMDTC0, the pac server has a pac file with the file name of C33H5MRMDTC0.PAC, and the C33H5MRMDTC0.pac contains C33H5MRMDTC0, so that the pac file with the file name of C33H5MRMDTC0.PAC is determined as the proxy automatic configuration file of the terminal.
Wherein, the content of the pac file of the updated terminal includes:
function FindProxyForURL(url,host){
return"PROXY 10.191.174.120:443";}
wherein, the connection mode is a Proxy (Proxy) mode, and the IP address of the target Proxy server of the Proxy mode is 10.191.174.120; the port number of the target proxy server in the proxy mode is 443.
In the embodiment, after receiving a configuration file updating request containing a terminal identifier sent by a target proxy server, determining which terminal's pac file is updated according to the terminal identifier; and because the IP address and the port number of the target proxy server are received, the connection mode is modified into a proxy mode, and the IP address and the port number of the target proxy server are determined to be the IP address and the port number of the proxy mode, so that the terminal request containing the target website is routed to the target proxy server, and the automation degree of proxy configuration is improved.
Step S203, receiving a request containing a target website sent by the terminal, and forwarding the request containing the target website to a target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service.
And forwarding the terminal request containing the target website to the target proxy server according to the proxy rule in the pac file through the pac file about the terminal configured in the pac server, and executing the proxy service by the target proxy server. The technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the labor consumption is reduced, and the automation degree of the configuration agent is improved.
According to the technical scheme of the embodiment of the invention, the terminal identification of the terminal is obtained, the file name of the agent automatic configuration file corresponding to the terminal is determined according to the terminal identification, and the agent automatic configuration file is stored; receiving a configuration file updating request containing a terminal identifier, and updating an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule comprises an IP address and a port number of a target agent server; receiving a request containing a target website sent by a terminal, and forwarding the request containing the target website to a target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
In order to solve the problems in the prior art, a third embodiment of the present invention provides a method for configuring an agent, which is applied to a terminal, and as shown in fig. 3a, the method mainly includes:
step S301, sending a configuration proxy request to the proxy server cluster to determine and start the target proxy server.
Specifically, after the terminal sends a configuration proxy request to the proxy server cluster, the proxy server cluster randomly determines a proxy server in an idle state as a target proxy server, determines an IP address and a port number of the target proxy server, and invokes a start instruction to start the target proxy server, so as to execute corresponding proxy service according to a request which is forwarded by the proxy automatic configuration server and contains a target website.
Step S302, acquiring a terminal identifier, sending the terminal identifier to a proxy server cluster, and sending a configuration file updating request containing the terminal identifier to a proxy automatic configuration server by the proxy server cluster so as to update a proxy rule of a proxy automatic configuration file of the terminal, wherein the updated proxy rule comprises an IP address and a port number of a target proxy server.
Specifically, the terminal identifier may be a serial number of the terminal, and if the terminal is a mobile phone, the identifier of the mobile phone may also be an IMEI of the mobile phone.
Through the setting, the agent server cluster searches the pac file of the terminal corresponding to the terminal identifier from the pac server according to the terminal identifier, and updates the agent rule in the pac file, so that the updated agent rule of the terminal includes an Internet Protocol (IP) address and a port number of the target agent server, and after the subsequent pac server receives the request of the terminal, the terminal request is directly forwarded to the target agent server according to the agent rule in the pac file of the terminal, thereby realizing the automation of agent configuration and reducing the manpower consumption.
Step S303, sending a request containing the target website to the automatic proxy configuration server, and forwarding the request containing the target website to the target proxy server by the automatic proxy configuration server according to the proxy rule of the automatic proxy configuration file of the terminal so as to perform corresponding proxy service.
Specifically, according to the embodiment of the present invention, before the step of sending the request including the target website to the proxy autoconfiguration server by the terminal, the method further includes: and setting the terminal network agent as automatic configuration, and setting a corresponding pac server address for automatic configuration, wherein the corresponding pac server address for automatic configuration is determined according to the pac server website, the terminal identification and the file extension of the pac file.
In this step, in specific implementation, as shown in fig. 3b, the network proxy of the terminal is set to be configured automatically, and the pac server address is set to https:// test.xx.com/C33h5mrmdtc0.pac, where test.xx.com (the specific form is merely an example) is a target website, the target website is an agent rule for acquiring the terminal, and may be a pac server website or another website that can acquire the corresponding agent rule, C33H5MRMDTC0 is a terminal identifier, and pac is a file extension of a pac file.
Further, according to the embodiment of the present invention, before the step of sending the request containing the target website to the proxy autoconfiguration server, the method further includes: and sending the identifier of the simulation data to the proxy server cluster, and the proxy server cluster acquires the simulation data according to the identifier of the simulation data and stores the simulation data to the target proxy server.
The simulation data are determined according to the terminal test requirements, and the corresponding simulation data are different for different terminal test requirements. As shown in fig. 3c, the identification of the simulation data (mock data) includes a data ID, a data name, a URL, a creator of the data, a creation time, and the like.
Preferably, according to the embodiment of the present invention, after the step of sending the request including the target website to the proxy autoconfiguration server, the method further includes: and receiving a response result which is determined by the target proxy server from the simulation data and corresponds to the request containing the target website.
For the situation that the simulation data is stored in the target proxy server, after the terminal sends the request containing the target website, the terminal receives the response result returned by the target proxy server, thereby completing the automatic proxy process. For the situation that the target proxy server stores the simulation data, that is, the scenario is not applied to the simulation data pile test, according to a specific implementation manner of the embodiment of the present invention, the terminal may not receive the result returned by the proxy server, because the proxy server may request the terminal to execute the proxy service for requesting interception; according to a specific implementation manner of the embodiment of the invention, the target proxy server executes the proxy service of request forwarding to the terminal request, forwards the terminal request to the service server, and sends the return result to the terminal after receiving the return result of the service server.
According to the technical scheme of the embodiment of the invention, the configuration proxy request is sent to the proxy service cluster so as to determine and start the target proxy server; acquiring a terminal identifier, and sending the terminal identifier to a proxy server cluster, wherein the proxy server cluster sends a configuration file updating request containing the terminal identifier to a proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file of a terminal, and the updated proxy rule comprises an IP address and a port number of a target proxy server; a request containing a target website is sent to an agent automatic configuration server, and the agent automatic configuration server forwards the request containing the target website to the target agent server according to an agent rule of an agent automatic configuration file of a terminal so as to carry out corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
Fig. 4 is a schematic diagram of main modules of an apparatus for configuring an agent provided according to a fourth embodiment of the present invention; as shown in fig. 4, an embodiment of the present invention provides an apparatus 400 for configuring an agent, which is disposed in a proxy server cluster and mainly includes:
and the target proxy server starting module 401 is configured to determine an IP address and a port number of the target proxy server in response to the configuration proxy request sent by the terminal, and invoke a starting instruction to start the target proxy server.
Specifically, in this step, a terminal that needs to perform a configuration proxy service sends a configuration proxy request to a proxy server cluster, the proxy server cluster randomly determines a proxy server in an idle state as a target proxy server, determines an IP address and a port number of the target proxy server, and invokes a start instruction to start the target proxy server, so as to execute a corresponding proxy service according to a request including a target website forwarded by a proxy automatic configuration server.
It should be noted that the start instruction may be an existing start instruction. It should be appreciated that after the target proxy server is started, the proxy server will listen to the port for the proxy server of the proxy server cluster. In addition, the (target) proxy server is an intermediate service, and is deployed between the terminal and the service server, and the proxy server serving as an intermediate role can implement proxy services such as request forwarding or request interception.
A configuration file update request sending module 402, configured to receive a terminal identifier sent by a terminal, and send a configuration file update request including the terminal identifier to an agent automatic configuration server, so as to update an agent rule of an agent automatic configuration file of the terminal corresponding to the terminal identifier, where the updated agent rule includes an IP address and a port number of a target agent server.
In this step, the terminal identifier may be a serial number of the terminal, and if the terminal is a mobile phone, the identifier of the mobile phone may also be an International mobile equipment Identity (IMEI for short) of the mobile phone.
Specifically, according to the embodiment of the present invention, the proxy auto configuration file (pac (proxyauto config) file) is stored in a proxy auto configuration server (pac server), a file name of the proxy auto configuration file is determined according to a terminal identifier corresponding to the terminal and a file extension of the proxy auto configuration file, the pac file includes a proxy rule, and the proxy rule includes an IP address and a port number of a target proxy server.
Through the setting, the pac file of the terminal is generated in the pac server, the target proxy server searches the pac file of the terminal corresponding to the terminal identifier from the pac server according to the terminal identifier, and updates the proxy rule in the pac file, so that the updated proxy rule of the terminal includes an IP (Internet Protocol) address and a port number of the target proxy server, and after the subsequent pac server receives the request of the terminal, the terminal request is directly forwarded to the target proxy server according to the proxy rule in the pac file of the terminal, thereby realizing the automation of proxy configuration and reducing the manpower consumption.
The proxy service execution module 403 is configured to receive, by using the target proxy server, a request including the target website sent by the terminal and forwarded by the proxy autoconfiguration server, and execute a corresponding proxy service.
Specifically, according to the embodiment of the present invention, the network proxy of the terminal is configured to be automatically configured, and the address of the proxy automatic configuration server corresponding to the automatic configuration is determined according to the website of the proxy automatic configuration server, the terminal identifier, and the file extension of the proxy automatic configuration file.
The proxy configuration on the proxy server side and the pac server side is completed by the target proxy server starting module 401 and the configuration file update request sending module 402, but if the whole process of proxy automatic configuration needs to be performed, the terminal needs to be set, that is, the network proxy of the terminal needs to be set to be automatically configured, and the address of the pac server corresponding to automatic configuration is determined according to the website of the pac server, the terminal identifier and the file extension of the pac file.
Further, according to an embodiment of the present invention, the apparatus 400 for configuring an agent further includes a simulation data obtaining module, before the step of receiving a request containing a target website sent by a terminal forwarded by an agent automatic configuration server, the simulation data obtaining module is configured to: and receiving the identifier of the simulation data sent by the terminal, acquiring the simulation data according to the identifier of the simulation data, and storing the simulation data to the target proxy server.
The identification of simulation data (mock data) is determined by a user according to the requirement of the user, and the simulation data comprises but is not limited to pictures, animations and audios to be shown on a webpage; or scripts, etc. The simulation data will change correspondingly when the terminal test requirements are different. And the target proxy server acquires corresponding simulation data from the database according to the identification of the simulation data. The step is mainly applied to a scene of simulating data pile test, and the received simulation data is stored in the proxy service, so that the proxy server determines a response result of a request matched with a target website from the simulation data
Preferably, according to the embodiment of the present invention, the proxy service executing module 403 is further configured to: and determining a response result corresponding to the request containing the target website from the simulation data by using the target proxy server, and sending the response result to the terminal.
For the situation that the simulation data are stored in the target proxy server, after the request containing the target website is received, the target proxy server can determine the response result of the request from the simulation data and send the response result to the terminal so as to complete the simulation data pile test.
According to a specific implementation manner of the embodiment of the present invention, for the case that the simulation data is stored in the target proxy server, the proxy service execution module 403 is further configured to: and executing proxy services such as request forwarding or request interception.
According to the technical scheme of the embodiment of the invention, the IP address and the port number of the target proxy server are determined by responding to the configuration proxy request sent by the terminal, and the starting instruction is called to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file of the terminal corresponding to the terminal identifier, wherein the updated agent rule includes an IP address and a port number of a target agent server; a technical means for receiving a request containing a target website transmitted by a terminal forwarded by an agent automatic configuration server by using a target agent server and executing corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
Fig. 5 is a schematic diagram of main modules of an apparatus for configuring an agent provided according to a fifth embodiment of the present invention; as shown in fig. 5, an embodiment of the present invention provides an apparatus 500 for configuring an agent, which is disposed in an agent automatic configuration server, and mainly includes:
the agent automatic configuration file storage module 501 is configured to obtain a terminal identifier of the terminal, determine a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and store the agent automatic configuration file.
Specifically, in the embodiment of the present invention, the proxy automatic configuration server (pac server) plays a role of gateway/routing, and first obtains the terminal identifier of the terminal, and configures a pac file for the terminal, where the pac file includes a proxy rule. The file name of the pac file is determined according to the terminal identifier and the file extension of the pac file, and the pac file stores the pac file corresponding to the terminal, so that the terminal request is forwarded to the proxy server indicated by the proxy rule according to the proxy rule in the pac file subsequently, and corresponding proxy service is performed.
The proxy automatic configuration file updating module 502 is configured to receive a configuration file updating request that includes a terminal identifier and is sent by a target proxy server, and update a proxy rule of a proxy automatic configuration file corresponding to the terminal, where the updated proxy rule includes an IP address and a port number of the target proxy server.
Specifically, the proxy server cluster determines and starts a target proxy server according to a configuration proxy request sent by the terminal. After updating the proxy server information in the proxy rule in the pac file corresponding to the terminal identifier to the IP address and the port of the target proxy server by the pac server according to the configuration file update request containing the terminal identifier sent by the target proxy server, the subsequent pac server forwards the terminal request containing the target website to the target proxy server according to the proxy rule, so as to realize automatic proxy.
Further, according to an embodiment of the present invention, the above-mentioned proxy automatic configuration file updating module 502 is further configured to:
and updating the connection mode indicated in the pac file of the terminal corresponding to the terminal identifier from a DIRECT connection (DIRECT) mode to a PROXY (PROXY) mode, determining the received IP address as the IP address of the target PROXY server, and determining the received port as the port number of the target PROXY server.
In the embodiment, after receiving a configuration file updating request containing a terminal identifier sent by a target proxy server, determining which terminal's pac file is updated according to the terminal identifier; and because the IP address and the port number of the target proxy server are received, the connection mode is modified into a proxy mode, and the IP address and the port number of the target proxy server are determined to be the IP address and the port number of the proxy mode, so that the terminal request containing the target website is routed to the target proxy server, and the automation degree of proxy configuration is improved.
The terminal request forwarding module 503 is configured to receive a request including a target website sent by a terminal, and forward the request including the target website to a target proxy server according to a proxy rule indicated by a proxy auto-configuration file corresponding to the terminal, so as to execute a corresponding proxy service.
And forwarding the terminal request containing the target website to the target proxy server according to the proxy rule in the pac file through the pac file about the terminal configured in the pac server, and executing the proxy service by the target proxy server. The technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the labor consumption is reduced, and the automation degree of the configuration agent is improved.
According to the technical scheme of the embodiment of the invention, the terminal identification of the terminal is obtained, the file name of the agent automatic configuration file corresponding to the terminal is determined according to the terminal identification, and the agent automatic configuration file is stored; receiving a configuration file updating request containing a terminal identifier sent by a target proxy server, and updating a proxy rule of a proxy automatic configuration file of a terminal corresponding to the terminal identifier, wherein the updated proxy rule comprises an IP address and a port number of the target proxy server; receiving a request containing a target website sent by a terminal, and forwarding the request containing the target website to a target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
Fig. 6 is a schematic diagram of main modules of an apparatus for configuring an agent provided according to a sixth embodiment of the present invention; as shown in fig. 6, an embodiment of the present invention provides an apparatus 600 for configuring an agent, which is disposed in a terminal and mainly includes:
a configuration proxy request sending module 601, configured to send a configuration proxy request to the proxy server cluster to determine and start the target proxy server.
Specifically, after the terminal sends a configuration proxy request to the proxy server cluster, the proxy server cluster randomly determines a proxy server in an idle state as a target proxy server, determines an IP address and a port number of the target proxy server, and invokes a start instruction to start the target proxy server, so as to execute corresponding proxy service according to a request which is forwarded by the proxy automatic configuration server and contains a target website.
A terminal identifier sending module 602, configured to obtain a terminal identifier, and send the terminal identifier to a proxy server cluster, where the proxy server cluster sends a configuration file update request including the terminal identifier to a proxy automatic configuration server, so as to update a proxy rule of a proxy automatic configuration file of a terminal, where the updated proxy rule includes an IP address and a port number of a target proxy server.
Specifically, the terminal identifier may be a serial number of the terminal, and if the terminal is a mobile phone, the identifier of the mobile phone may also be an IMEI of the mobile phone.
Through the setting, the target proxy server searches the pac file of the terminal corresponding to the terminal identifier from the pac server according to the terminal identifier, and updates the proxy rule in the pac file, so that the updated proxy rule of the terminal includes an Internet Protocol (IP) address and a port number of the target proxy server, and after a subsequent pac server receives a request of the terminal, the terminal request is directly forwarded to the target proxy server according to the proxy rule in the pac file of the terminal, thereby realizing the automation of proxy configuration and reducing the manpower consumption.
The terminal request sending module 603 is configured to send a request including a target website to the proxy automatic configuration server, so that the proxy automatic configuration server forwards the request including the target website to the target proxy server according to a proxy rule of a proxy automatic configuration file of the terminal, so as to perform a corresponding proxy service.
Specifically, according to the embodiment of the present invention, the apparatus 600 for configuring an agent further includes a terminal network agent setting module, before the step of sending a request including a target website to the agent automatic configuration server by the terminal, the terminal network agent setting module is configured to: and setting the terminal network agent as automatic configuration, and setting a corresponding pac server address for automatic configuration, wherein the corresponding pac server address for automatic configuration is determined according to the pac server website, the terminal identification and the file extension of the pac file.
Further, according to the embodiment of the present invention, the apparatus 600 for configuring an agent further includes an identifier sending module of the simulation data, and before the step of sending the request including the target website to the agent auto-configuration server, the identifier sending module of the simulation data is further configured to: and sending the identifier of the simulation data to the proxy server cluster, and the proxy server cluster acquires the simulation data according to the identifier of the simulation data and stores the simulation data to the target proxy server.
The simulation data are determined according to the terminal test requirements, and the corresponding simulation data are different for different terminal test requirements.
Preferably, according to an embodiment of the present invention, the apparatus 600 for configuring an agent further includes a response result receiving module, and after the step of sending the request including the target website to the agent auto-configuration server, the response result receiving module is configured to: and receiving a response result which is determined by the target proxy server from the simulation data and corresponds to the request containing the target website.
For the situation that the simulation data is stored in the target proxy server, after the terminal sends the request containing the target website, the terminal receives the response result returned by the target proxy server, thereby completing the automatic proxy process. For the situation that the target proxy server stores the simulation data, that is, the scenario is not applied to the simulation data pile test, according to a specific implementation manner of the embodiment of the present invention, the terminal may not receive the result returned by the proxy server, because the proxy server may request the terminal to execute the proxy service for requesting interception; according to a specific implementation manner of the embodiment of the invention, the target proxy server executes the proxy service of request forwarding to the terminal request, forwards the terminal request to the service server, and sends the return result to the terminal after receiving the return result of the service server.
According to the technical scheme of the embodiment of the invention, the configuration proxy request is sent to the proxy service cluster so as to determine and start the target proxy server; acquiring a terminal identifier, and sending the terminal identifier to a proxy server cluster, wherein the proxy server cluster sends a configuration file updating request containing the terminal identifier to a proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file of a terminal, and the updated proxy rule comprises an IP address and a port number of a target proxy server; a request containing a target website is sent to an agent automatic configuration server, and the agent automatic configuration server forwards the request containing the target website to the target agent server according to an agent rule of an agent automatic configuration file of a terminal so as to carry out corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
Fig. 7 is a schematic diagram of the main framework of a system for configuring an agent provided according to a seventh embodiment of the present invention; as shown in fig. 7, a system 700 for configuring an agent according to an embodiment of the present invention mainly includes:
the proxy server cluster 400 is mainly configured to determine an IP address and a port number of a target proxy server in response to a configuration proxy request sent by the terminal 600, and call a start instruction to start the target proxy server; receiving a terminal identifier sent by the terminal 600, and sending a configuration file update request including the terminal identifier to the proxy automatic configuration server 500 (step S2 in fig. 7) to update a proxy rule of a proxy automatic configuration file corresponding to the terminal 600, where the updated proxy rule includes an IP address and a port number of a target proxy server; and receiving the request containing the target website sent by the terminal 600 and forwarded by the proxy automatic configuration server 500 by using the target proxy server, and executing the corresponding proxy service.
Further, according to the embodiment of the present invention, before the step of receiving the request containing the target website sent by the terminal forwarded by the proxy autoconfiguration server, the proxy server cluster 400 is further configured to: and receiving the identifier of the simulation data sent by the terminal, acquiring the simulation data according to the identifier of the simulation data, and storing the simulation data to the target proxy server.
After receiving the request containing the target website sent by the terminal 600 forwarded by the proxy autoconfiguration server 500, the proxy server cluster 400 is further configured to: the target proxy server determines a response result corresponding to the request including the target web address from the simulation data, and transmits the response result to the terminal (step S5 in fig. 7).
The agent automatic configuration server 500 is mainly used for acquiring a terminal identifier of the terminal 600, determining a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and storing the agent automatic configuration file; receiving a configuration file updating request containing a terminal identifier sent by a target proxy server, and updating a proxy rule of a proxy automatic configuration file corresponding to a terminal 600, wherein the updated proxy rule comprises an IP address and a port number of the target proxy server; receiving the request containing the target website sent by the terminal 600, and forwarding the request containing the target website to the target proxy server according to the proxy rule indicated by the proxy auto-configuration file corresponding to the terminal 600 (step S4 in fig. 7) to execute the corresponding proxy service.
Specifically, in the embodiment of the present invention, the proxy automatic configuration server (pac server) plays a role of gateway/routing, and first obtains the terminal identifier of the terminal, and configures a pac file for the terminal, where the pac file includes a proxy rule. The file name of the pac file is determined according to the terminal identifier and the file extension of the pac file, and the pac file stores the pac file corresponding to the terminal, so that the terminal request is forwarded to the proxy server indicated by the proxy rule according to the proxy rule in the pac file subsequently, and corresponding proxy service is performed.
A terminal 600, configured to send a configuration proxy request to the proxy service cluster 400, so as to determine and start a target proxy server (step S1 in fig. 7); acquiring a terminal identifier, and sending the terminal identifier to a proxy server cluster, where the proxy server cluster sends a configuration file update request including the terminal identifier to the proxy automatic configuration server 500 to update a proxy rule of a proxy automatic configuration file of the terminal 600, where the updated proxy rule includes an IP address and a port number of a target proxy server; the request including the target website is sent to the proxy autoconfiguration server (step S3 in fig. 7), and the proxy autoconfiguration server 500 forwards the request including the target website to the target proxy server according to the proxy rule of the proxy autoconfiguration file of the terminal 600, so as to perform the corresponding proxy service.
Specifically, according to the embodiment of the present invention, before the step of sending the request including the target website to the proxy autoconfiguration server, the terminal 600 is further configured to: and setting the terminal network agent as automatic configuration, and setting a corresponding pac server address for automatic configuration, wherein the corresponding pac server address for automatic configuration is determined according to the pac server website, the terminal identification and the file extension of the pac file.
Further, according to the embodiment of the present invention, before the step of sending the request including the target website to the proxy autoconfiguration server, the terminal 600 is further configured to: and sending the identifier of the simulation data to the proxy server cluster, and the proxy server cluster acquires the simulation data according to the identifier of the simulation data and stores the simulation data to the target proxy server.
The simulation data are determined according to the terminal test requirements, and the corresponding simulation data are different for different terminal test requirements.
Preferably, after the step of sending the request including the target website to the proxy autoconfiguration server according to the embodiment of the present invention, the terminal 600 is further configured to: and receiving a response result which is determined by the target proxy server from the simulation data and corresponds to the request containing the target website.
According to the technical scheme of the embodiment of the invention, the IP address and the port number of the target proxy server are determined by responding to the configuration proxy request sent by the terminal, and the starting instruction is called to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server; a technical means for receiving a request containing a target website transmitted by a terminal forwarded by an agent automatic configuration server by using a target agent server and executing corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
Fig. 8 illustrates an exemplary system architecture 800 of a method of configuring an agent or an apparatus for configuring an agent to which embodiments of the present invention may be applied.
As shown in fig. 8, the system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. The network 804 serves to provide a medium for communication links between the terminal devices 801, 802, 803 and the server 805. Network 804 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 801, 802, 803 to interact with a server 805 over a network 804 to receive or send messages or the like. The terminal devices 801, 802, 803 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 801, 802, 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 805 may be a server that provides various services, such as a back-office management server (for example only) that supports shopping-like websites browsed by users using the terminal devices 801, 802, 803. The backend management server may analyze and perform other processing on the received data such as the configuration agent request, and feed back a processing result (for example, an agent rule — just an example) to the terminal device.
It should be noted that the method for configuring the proxy provided by the embodiment of the present invention is generally performed by the server 805 and the terminal, and accordingly, the device for configuring the proxy is generally disposed in the server 805 and the terminal.
It should be understood that the number of terminal devices, networks, and servers in fig. 8 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 9, shown is a block diagram of a computer system 900 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU)901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 901.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a target proxy server initiation module, a profile update request transmission module, and a proxy service execution module. The name of these modules does not constitute a limitation to the module itself in some cases, for example, the target proxy server startup module may also be described as "a module for determining an IP address and a port number of a target proxy server and calling a startup instruction to start the target proxy server in response to a configuration proxy request sent by a terminal".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: responding to a configuration proxy request sent by a terminal, determining an IP address and a port number of a target proxy server, and calling a starting instruction to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server; and receiving a request containing a target website transmitted by the terminal forwarded by the proxy automatic configuration server by using the target proxy server, and executing corresponding proxy service.
According to the technical scheme of the embodiment of the invention, the IP address and the port number of the target proxy server are determined by responding to the configuration proxy request sent by the terminal, and the starting instruction is called to start the target proxy server; receiving a terminal identifier sent by a terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of a target agent server; a technical means for receiving a request containing a target website transmitted by a terminal forwarded by an agent automatic configuration server by using a target agent server and executing corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises an agent automatic configuration file storage module, an agent automatic configuration file updating module and a terminal request forwarding module. For example, the agent automatic configuration file storage module may be further described as a module for acquiring a terminal identifier of the terminal, determining a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and storing the agent automatic configuration file.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring a terminal identifier of a terminal, determining a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and storing the agent automatic configuration file; receiving a configuration file updating request containing a terminal identifier, and updating an agent rule of an agent automatic configuration file of a terminal corresponding to the terminal identifier, wherein the updated agent rule comprises an IP address and a port number of a target agent server; and receiving a request containing a target website sent by the terminal, and forwarding the request containing the target website to a target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service.
According to the technical scheme of the embodiment of the invention, the terminal identification of the terminal is obtained, the file name of the agent automatic configuration file corresponding to the terminal is determined according to the terminal identification, and the agent automatic configuration file is stored; receiving a configuration file updating request containing a terminal identifier, and updating an agent rule of an agent automatic configuration file of a terminal corresponding to the terminal identifier, wherein the updated agent rule comprises an IP address and a port number of a target agent server; receiving a request containing a target website sent by a terminal, and forwarding the request containing the target website to a target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a configuration agent request transmission module, a terminal identification transmission module, and a terminal request transmission module. The names of these modules do not form a limitation on the modules themselves in some cases, for example, the configuration proxy request sending module may also be described as "a module for sending a configuration proxy request to a proxy service cluster to determine and start a target proxy server".
As yet another aspect, the present invention also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: sending a configuration proxy request to a proxy service cluster to determine and start a target proxy server; acquiring a terminal identifier, and sending the terminal identifier to a proxy server cluster, wherein the proxy server cluster sends a configuration file updating request containing the terminal identifier to a proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file of a terminal, and the updated proxy rule comprises an IP address and a port number of a target proxy server; and sending a request containing the target website to an agent automatic configuration server, and forwarding the request containing the target website to the target agent server by the agent automatic configuration server according to an agent rule of an agent automatic configuration file of the terminal so as to perform corresponding agent service.
According to the technical scheme of the embodiment of the invention, the configuration proxy request is sent to the proxy service cluster so as to determine and start the target proxy server; acquiring a terminal identifier, and sending the terminal identifier to a proxy server cluster, wherein the proxy server cluster sends a configuration file updating request containing the terminal identifier to a proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file of a terminal, and the updated proxy rule comprises an IP address and a port number of a target proxy server; a request containing a target website is sent to an agent automatic configuration server, and the agent automatic configuration server forwards the request containing the target website to the target agent server according to an agent rule of an agent automatic configuration file of a terminal so as to carry out corresponding agent service; the technical problems of low automation degree and manpower consumption in the prior art due to the fact that the agent service configuration is completed by means of manual operation are solved; and further, the technical effects of reducing the labor consumption and improving the automation degree of the configuration agent are achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. A method for configuring a proxy, applied to a cluster of proxy servers, comprising:
responding to a configuration proxy request sent by a terminal, determining an IP address and a port number of a target proxy server, and calling a starting instruction to start the target proxy server;
receiving a terminal identifier sent by the terminal, and sending a configuration file updating request including the terminal identifier to an agent automatic configuration server so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, wherein the updated agent rule includes an IP address and a port number of the target agent server;
and receiving a request which is transmitted by the terminal and contains a target website and is forwarded by the proxy automatic configuration server by using the target proxy server, and executing corresponding proxy service.
2. The method of claim 1, wherein the agent autoconfiguration file is stored in the agent autoconfiguration server, and a file name of the agent autoconfiguration file is determined according to a terminal identifier corresponding to the terminal.
3. The method of claim 1, wherein the network agent of the terminal is configured for auto-configuration, and the auto-configuration corresponding to the proxy auto-configuration server address is determined according to a proxy auto-configuration server website address and a terminal identifier.
4. The method of claim 1, wherein before the step of receiving the request containing the target website sent by the terminal and forwarded by the agent autoconfiguration server, the method further comprises:
and receiving the identifier of the simulation data sent by the terminal, acquiring the simulation data according to the identifier of the simulation data, and storing the simulation data to the target proxy server.
5. The method of claim 4, wherein the step of executing the corresponding proxy service comprises: and determining a response result corresponding to the request containing the target website from the simulation data by using the target proxy server, and sending the response result to the terminal.
6. A method for configuring an agent, which is applied to an agent automatic configuration server, comprises the following steps:
acquiring a terminal identifier of the terminal, determining a file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier, and storing the agent automatic configuration file;
receiving a configuration file updating request containing the terminal identification, and updating an agent rule of an automatic configuration file corresponding to the terminal, wherein the updated agent rule comprises an IP address and a port number of a target agent server;
and receiving a request containing a target website sent by the terminal, and forwarding the request containing the target website to the target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service.
7. A method for configuring an agent is applied to a terminal and comprises the following steps:
sending a configuration proxy request to the proxy server cluster to determine and start a target proxy server;
acquiring a terminal identifier, and sending the terminal identifier to the proxy server cluster, wherein the proxy server cluster sends a configuration file updating request containing the terminal identifier to the proxy automatic configuration server so as to update a proxy rule of a proxy automatic configuration file corresponding to the terminal, and the updated proxy rule comprises an IP address and a port number of the target proxy server;
and sending a request containing a target website to the automatic proxy configuration server, and forwarding the request containing the target website to the target proxy server by the automatic proxy configuration server according to a proxy rule of a proxy automatic configuration file of the terminal so as to perform corresponding proxy service.
8. The method of claim 7, wherein the network agent of the terminal is configured to be automatically configured, and the target address corresponding to the automatic configuration is determined according to the target address and the terminal identifier.
9. The method of claim 7, wherein prior to the step of sending a request containing a target web address to the agent autoconfiguration server, further comprising: and sending the identifier of the simulation data to the proxy server cluster, and the proxy server cluster acquires the simulation data according to the identifier of the simulation data and stores the simulation data to the target proxy server.
10. The method of claim 8, wherein after the step of sending a request containing a target web address to the agent autoconfiguration server, further comprising: and receiving a response result which is determined by the target proxy server from the simulation data and corresponds to the request containing the target website.
11. An apparatus for configuring a proxy, provided in a proxy server cluster, comprising:
the target proxy server starting module is used for responding to a configuration proxy request sent by a terminal, determining an IP address and a port number of the target proxy server and calling a starting instruction to start the target proxy server;
a configuration file update request sending module, configured to receive a terminal identifier sent by the terminal, and send a configuration file update request including the terminal identifier to an agent automatic configuration server, so as to update an agent rule of an agent automatic configuration file corresponding to the terminal, where the updated agent rule includes an IP address and a port number of the target agent server;
and the proxy service execution module is used for receiving a request which is transmitted by the terminal and contains a target website and is forwarded by the proxy automatic configuration server by using the target proxy server and executing corresponding proxy service.
12. An apparatus for configuring an agent, provided in an agent autoconfiguration server, comprising:
the agent automatic configuration file storage module is used for acquiring a terminal identifier of the terminal, determining the file name of an agent automatic configuration file corresponding to the terminal according to the terminal identifier and storing the agent automatic configuration file;
an agent automatic configuration file updating module, configured to receive a configuration file updating request including the terminal identifier, and update an agent rule of an agent automatic configuration file corresponding to the terminal, where the updated agent rule includes an IP address and a port number of the target agent server;
and the terminal request forwarding module is used for receiving a request containing a target website sent by the terminal and forwarding the request containing the target website to the target proxy server according to a proxy rule indicated by a proxy automatic configuration file corresponding to the terminal so as to execute corresponding proxy service.
13. An apparatus for configuring an agent, provided in a terminal, includes:
a configuration proxy request sending module, configured to send a configuration proxy request to the proxy server cluster to determine and start a target proxy server;
a terminal identifier sending module, configured to obtain a terminal identifier, and send the terminal identifier to the proxy server cluster, where the proxy server cluster sends a configuration file update request including the terminal identifier to the proxy automatic configuration server to update a proxy rule of a proxy automatic configuration file corresponding to the terminal, where the updated proxy rule includes an IP address and a port number of the target proxy server;
and the terminal request sending module is used for sending a request containing a target website to the proxy automatic configuration server so that the proxy automatic configuration server forwards the request containing the target website to the target proxy server according to a proxy rule of a proxy automatic configuration file of the terminal to perform corresponding proxy service.
14. A system for configuring an agent, comprising: the apparatus for configuring proxy agent disposed in proxy server cluster of claim 11, the apparatus for configuring proxy agent disposed in proxy automatic configuration server of claim 12, and the apparatus for configuring proxy agent disposed in terminal of claim 13.
15. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5, 6, 7-10.
16. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5, 6, 7-10.
CN202010773293.2A 2020-08-04 2020-08-04 Method, device and system for configuring proxy Pending CN113783713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010773293.2A CN113783713A (en) 2020-08-04 2020-08-04 Method, device and system for configuring proxy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010773293.2A CN113783713A (en) 2020-08-04 2020-08-04 Method, device and system for configuring proxy

Publications (1)

Publication Number Publication Date
CN113783713A true CN113783713A (en) 2021-12-10

Family

ID=78835084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010773293.2A Pending CN113783713A (en) 2020-08-04 2020-08-04 Method, device and system for configuring proxy

Country Status (1)

Country Link
CN (1) CN113783713A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624691A (en) * 2011-11-28 2012-08-01 苏州奇可思信息科技有限公司 Multi-proxy internet access method adopting shareable advertisement blocking configuration information
CN105376107A (en) * 2014-08-29 2016-03-02 腾讯科技(深圳)有限公司 Terminal test method and proxy server
CN105430108A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 Test environment accessing method and proxy server
US20160142375A1 (en) * 2014-11-19 2016-05-19 Onavo Mobile Ltd. Techniques to authenticate a client to a proxy through a domain name server intermediary
CN106911778A (en) * 2017-02-27 2017-06-30 网宿科技股份有限公司 A kind of flow bootstrap technique and system
CN106953926A (en) * 2017-03-31 2017-07-14 北京奇艺世纪科技有限公司 A kind of method for routing and device
CN108494876A (en) * 2018-04-12 2018-09-04 北京达佳互联信息技术有限公司 Realize method, apparatus, plug-in component equipment and the proxy server of service gray scale publication
CN109257368A (en) * 2018-10-19 2019-01-22 天津天地伟业投资管理有限公司 A kind of conversational communication method for building up based on embedded device
CN109728951A (en) * 2018-12-28 2019-05-07 北京小米移动软件有限公司 Server environment switching method and device
CN109729187A (en) * 2019-01-09 2019-05-07 广州视源电子科技股份有限公司 A kind of agent communication method, system, device and storage medium
CN110674435A (en) * 2019-09-27 2020-01-10 网易(杭州)网络有限公司 Page access method, server, terminal, electronic equipment and readable storage medium
CN111200655A (en) * 2019-12-31 2020-05-26 北京奇才天下科技有限公司 Intranet access method, system and electronic equipment based on proxy server

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624691A (en) * 2011-11-28 2012-08-01 苏州奇可思信息科技有限公司 Multi-proxy internet access method adopting shareable advertisement blocking configuration information
CN105430108A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 Test environment accessing method and proxy server
CN105376107A (en) * 2014-08-29 2016-03-02 腾讯科技(深圳)有限公司 Terminal test method and proxy server
US20160142375A1 (en) * 2014-11-19 2016-05-19 Onavo Mobile Ltd. Techniques to authenticate a client to a proxy through a domain name server intermediary
CN106911778A (en) * 2017-02-27 2017-06-30 网宿科技股份有限公司 A kind of flow bootstrap technique and system
CN106953926A (en) * 2017-03-31 2017-07-14 北京奇艺世纪科技有限公司 A kind of method for routing and device
CN108494876A (en) * 2018-04-12 2018-09-04 北京达佳互联信息技术有限公司 Realize method, apparatus, plug-in component equipment and the proxy server of service gray scale publication
CN109257368A (en) * 2018-10-19 2019-01-22 天津天地伟业投资管理有限公司 A kind of conversational communication method for building up based on embedded device
CN109728951A (en) * 2018-12-28 2019-05-07 北京小米移动软件有限公司 Server environment switching method and device
CN109729187A (en) * 2019-01-09 2019-05-07 广州视源电子科技股份有限公司 A kind of agent communication method, system, device and storage medium
CN110674435A (en) * 2019-09-27 2020-01-10 网易(杭州)网络有限公司 Page access method, server, terminal, electronic equipment and readable storage medium
CN111200655A (en) * 2019-12-31 2020-05-26 北京奇才天下科技有限公司 Intranet access method, system and electronic equipment based on proxy server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨杰;舒辉;: "代理服务器特性探测技术研究", 计算机应用, no. 03, 1 March 2009 (2009-03-01) *

Similar Documents

Publication Publication Date Title
CN109729040B (en) Method, apparatus and computer readable medium for selection of a protocol
JP5870471B2 (en) Method, apparatus, and system for sharing software between terminals
CN110377440B (en) Information processing method and device
WO2021051747A1 (en) Data update method, system and device, electronic device, and computer storage medium
CN110830374B (en) Method and device for gray level release based on SDK
CN110098998B (en) Method and apparatus for processing information
CN110007936B (en) Data processing method and device
US20120266186A1 (en) Providing inter-platform application launch in context
CN108549586B (en) Information processing method and device
CN112748962B (en) Application loading method, device, electronic equipment and computer readable medium
CN114500481A (en) Service request processing method, system and device
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN113595927A (en) Method and device for processing mirror flow in bypass mode
CN110795328A (en) Interface testing method and device
CN110968823A (en) Application client starting method, service server and client equipment
CN113821352A (en) Remote service calling method and device
CN110730197B (en) Service discovery method and system
CN109981546B (en) Method and device for acquiring remote call relation between application modules
CN110619101A (en) Method and apparatus for processing information
CN113783713A (en) Method, device and system for configuring proxy
CN114398035A (en) Method, apparatus, device and computer readable medium for providing service using component
CN113742617A (en) Cache updating method and device
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN113765983A (en) Site service deployment method and device
CN112579447A (en) Browser testing method and device

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