A website proxy access method, device, equipment and storage medium
Through the combination of frp server and public agent, using pre-maintained mapping relationships and OpenResty forwarding function, the resource waste and port opening risks caused by dynamic exposure of internal websites in the existing technology are solved, and efficient website proxy access is achieved.
Patent Information
- Application Number
- CN202310099542.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2043-01-31
AI Technical Summary
When the existing technology dynamically exposes internal websites to external network access, it leads to waste of resources and risk of port opening. Especially when IPv4 has been allocated and exhausted, opening too many ports will increase the possibility of the server being attacked.
Through the combination of frp server and public agent, the pre-maintained mapping relationship is used to modify the request header of external access requests, forward the request to the public agent, and the OpenResty deployed in the public agent forwards the request to the target internal proxy site to achieve dynamic Website agent access.
Reduce the number of port openings, save EIP resources, avoid resource waste and port opening risks, and realize dynamic exposure of internal websites to external network access without adding additional ports and EIP.
Smart Images

Figure CN116055474B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a website proxy access method, device, equipment and storage medium. Background Art
[0002] Currently, in the scenario where an internal website needs to be exposed for external access, you can assign a secondary domain name or directly assign an EIP (Elastic IP) to the internal website, and then open the web port of this server to the outside world, or use a proxy server to open a specific port, and forward the external request to the internal service through the specific port on the proxy server. However, due to the high cost of EIP and domain name resources, each service needs to be assigned one, resulting in a linear growth trend in the total cost. In other words, for each additional site that needs to be exposed for access, a domain name or EIP needs to be assigned, and when assigning a domain name, manual intervention is required. Log in to the domain name resolution configuration platform and manually configure the resolution relationship. When purchasing an EIP, you also need to log in to the corresponding cloud platform and manually obtain the EIP. Manual intervention is also required when releasing it. If you use port forwarding proxy access to dynamically expose internal websites to external network access, since the server ports are all in a closed state, each port opened will increase the security risk of the server. Under the demand for dynamic site exposure, the uncertainty of port opening and closing increases, resulting in a corresponding increase in the security risk of the server.
[0003] In summary, internal websites are usually dynamically exposed to the Internet by directly allocating EIP access or using port forwarding proxy access. However, allocating a domain name or EIP to each website will waste resources, especially when IPv4 has been exhausted. In addition, opening too many ports will increase the possibility of server attacks. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a website proxy access method, device, equipment and storage medium, which can solve the problems of existing port opening risks and resource waste. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses a website proxy access method, comprising:
[0006] Receive an external access request sent by a client through the web service of the frp server, and determine the request address of the external access request;
[0007] Querying the first identification number corresponding to the second identification number carried by the request address according to the pre-maintained mapping relationship;
[0008] Modifying the request header corresponding to the external access request to the custom domain name of the public proxy through the web service of the frp server according to the first identification number, so that the frp server service forwards the external access request to the public proxy according to the custom domain name;
[0009] Determining, through the web service on the public proxy, the target internal proxy site that actually receives the external access request according to the acquired second identification number;
[0010] Forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy;
[0011] Among them, the first identification number is an identification number generated when the first network path between the frp server and the public agent is connected and used to identify the first network path, the second identification number is an identification number generated when the second network path between the internal proxy site and the public agent is connected and used to identify the second network path, and the mapping relationship is a pre-maintained correspondence between the first network path and the second network path.
[0012] Optionally, the website proxy access method further includes:
[0013] The pre-generated installation command script corresponding to the public agent is executed according to the received installation command to install the public agent.
[0014] Optionally, before forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy, the method further includes:
[0015] Remove the second identification number carried in the request address.
[0016] Optionally, the website proxy access method further includes:
[0017] Construct a data structure to store the mapping relationship, and save the data structure in etcd.
[0018] Optionally, the website proxy access method further includes:
[0019] When the internal proxy site changes, the configuration value in the etcd is modified to update the mapping relationship.
[0020] Optionally, modifying the configuration value in the etcd to update the mapping relationship includes:
[0021] The configuration value in the etcd is modified through the confd component to update the mapping relationship.
[0022] Optionally, the frp server deploys a public IP.
[0023] In a second aspect, the present application discloses a website proxy access device, comprising:
[0024] A request receiving module, used to receive an external access request sent by a client through the web service of the frp server, and determine the request address of the external access request;
[0025] An identification number query module, used to query the first identification number corresponding to the second identification number carried by the request address according to a pre-maintained mapping relationship;
[0026] A request header modification module is used to modify the request header corresponding to the external access request to the custom domain name of the public proxy according to the first identification number through the web service of the frp server, so that the frp server service forwards the external access request to the public proxy according to the custom domain name
[0027] a target internal site determination module, configured to determine, through a web service on the public proxy according to the acquired second identification number, a target internal proxy site that actually receives the external access request;
[0028] A request forwarding module, used for forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy;
[0029] Among them, the first identification number is an identification number generated when the first network path between the frp server and the public agent is connected and used to identify the first network path, the second identification number is an identification number generated when the second network path between the internal proxy site and the public agent is connected and used to identify the second network path, and the mapping relationship is a pre-maintained correspondence between the first network path and the second network path.
[0030] In a third aspect, the present application discloses an electronic device, comprising:
[0031] Memory, used to store computer programs;
[0032] The processor is used to execute the computer program to implement the steps of the aforementioned disclosed website proxy access method.
[0033] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed website proxy access method are implemented.
[0034] It can be seen that the present application provides a website proxy access method, including: receiving an external access request sent by a client through a web service of an frp server, and determining a request address of the external access request; querying a first identification number corresponding to a second identification number carried on the request address according to a pre-maintained mapping relationship; modifying a request header corresponding to the external access request to a custom domain name of a public agent according to the first identification number through the web service of the frpserver, so that the frp server service forwards the external access request to the public agent according to the custom domain name; determining a target internal proxy site that actually receives the external access request according to the acquired second identification number through the web service on the public agent; forwarding the external access request to the target internal proxy site through OpenResty deployed in the public agent; wherein the first identification number is an identification number generated when a first network path between the frp server and the public agent is connected and used to identify the first network path, the second identification number is an identification number generated when a second network path between the internal proxy site and the public agent is connected and used to identify the second network path, and the mapping relationship is a pre-maintained correspondence between the first network path and the second network path. It can be seen from this that the present application determines the public proxy that needs to be accessed through the identification number information on the request address. The public proxy receives the external access request and then determines the actual address that needs to be accessed based on the identification number information on the request address, that is, the target internal proxy site. This can solve the problem of resource waste and port opening risk caused by dynamically exposing internal websites to external network access by directly allocating EIP access or by using port forwarding proxy access in existing solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0036] Figure 1 A flow chart of a website proxy access method disclosed in this application;
[0037] Figure 2A schematic diagram of a mapping relationship disclosed in this application;
[0038] Figure 3 A schematic diagram of a data structure disclosed in this application;
[0039] Figure 4 This is a schematic diagram of the structure of a website proxy access device disclosed in this application;
[0040] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Currently, in the prior art, internal websites are generally exposed dynamically to external network access by directly allocating EIP access or using port forwarding proxy access. However, allocating a domain name or EIP to each website will waste resources, especially when IPv4 has been exhausted, and opening too many ports will increase the possibility of the server being attacked. To this end, the present application provides a website proxy access solution that can solve the problems of existing port opening risks and resource waste.
[0043] The embodiment of the present invention discloses a website proxy access method, see Figure 1 As shown, the method includes:
[0044] Step S11: receiving an external access request sent by a client through the web service of the frp server, and determining a request address of the external access request.
[0045] It should be pointed out that website proxy access means accessing internal websites by accessing proxy servers. frp is a software that can achieve intranet penetration, consisting of two parts: server and client. And the server and client are in a one-to-many relationship, that is, one server can have multiple clients. Intranet penetration means that the NAT (Network Address Translation) device does not block data packets with source IP and source port as external networks, so that these data packets are correctly routed to the intranet host; deploy a server on the cloud, and then deploy the client in the internal network environment to ensure that the client can connect to the server through the network. For the server, an IP that the client can connect to needs to be allocated, usually the public network EIP, and then a port is opened. The port is the connection port of the client. All clients can share a port. For the client, it is an active connection method, and only the egress network traffic is required. When the client connects to the server, a connection is established. The server can send data to the client that has established the connection, thus solving the problem of traffic forwarding. However, if each proxy website is equipped with a client, there will be some duplication of operations. In some cases, due to the special requirements of the network, the website servers that need to be proxied may not be able to directly access the frp server. Therefore, this application installs a public proxy to open up the internal and external networks. The public proxy can access the frp server externally and can be accessed by the sites that need to be accessed by the proxy internally. The public proxy is usually placed in a VPC (Virtual Private Cloud). It can be seen that the use of frp combined with the public proxy can solve the network problem. And it can also be deployed on the public proxy as a forwarding site. OpenResty represents a high-performance web server based on nginx and Lua instant compilers, where Lua represents a scripting language. That is, according to the received installation command, the pre-generated installation command script corresponding to the public proxy is executed to install the public proxy. For example, the frp server is installed and configured, where only one public network IP is deployed on the frp server, and the openresty server is started as a web server for forwarding requests, and only 2 ports are opened, one for forwarding requests after web access, and one for frp client to establish a connection.
[0046] The target machine executes the corresponding installation command to install the public agent using the pre-generated installation command script corresponding to the public agent, waits for the public agent to come online, and marks the initialization completed.
[0047] In this embodiment, the external access request sent by the client is received by the web service of the frp server, and the request address of the external access request is determined.
[0048] Step S12: querying the first identification number corresponding to the second identification number carried in the request address according to the pre-maintained mapping relationship.
[0049] It should be noted that the first identification number is an identification number generated when the first network path between the frp server and the public proxy is connected, and is used to identify the first network path. The second identification number is an identification number generated when the second network path between the internal proxy site and the public proxy is connected, and is used to identify the second network path. The mapping relationship is a pre-maintained correspondence between the first network path and the second network path. Since a public proxy corresponds to multiple sites that need to be accessed by the proxy, a mapping relationship is maintained in advance to ensure correct routing. Figure 2 As shown in the figure, from the perspective of network links, the network link id1 from the server to the public proxy is shared by multiple sites, and the network link id2 from the public proxy to the internal site is unique to the internal site. In other words, from the correspondence, one id1 corresponds to multiple id2s, and vice versa, one id2 can uniquely locate one id1, and as Figure 3 As shown, a data structure for storing the mapping relationship is constructed, and the data structure is saved in etcd. For example, after installing and configuring the frp server, installing the public proxy, and completing the initialization of the public proxy, create a network path from the frp server to the public proxy: inform the public proxy of the server address information of the frp server and the information of etcd, try to connect to verify the path, and then generate a unique id1 for the network path from the frp server to the public proxy; create a network path from the public proxy to the internal site: send the relevant configuration of the public proxy and the proxy site, verify whether the configuration is normal, generate a unique id2 for the network path from the public proxy to the internal site, and write the relevant configuration of id1 and id2 to etcd. The public proxy can obtain the changed configuration, reload the local network proxy, and wait for user access.
[0050] When the internal proxy site changes, modify the configuration value in etcd to update the mapping relationship. That is to say, when a new site needs to be accessed by the public network, add etcd configuration, and when a site needs to close public network access, delete etcd configuration. Specifically, modify the configuration value in etcd through the confd component to update the mapping relationship. confd represents a lightweight configuration management tool that can realize dynamic configuration changes. The basic principle of the confd component is to read external configuration sources, such as data from etcd or consul, fill in pre-configured configuration templates, and then execute the callback function after the data changes to complete the dynamic loading of the configuration. However, since etcd is a storage service for confd to access, and confd is public network traffic, there are certain security risks. Therefore, for each public proxy, only the read and write permissions of specific path data are assigned to avoid malicious database flushing.
[0051] In this embodiment, the request address of the external access request carries a second identification number, that is, the request address of the external access request carries the second identification number used to identify the network path between the internal proxy site and the public proxy. Since the correspondence between the first network path between the frp server and the public proxy and the second network path between the internal proxy site and the public proxy is recorded in the pre-maintained mapping relationship, the first identification number corresponding to the second identification number can be queried from the mapping relationship, that is, the network path between the frp server and the public proxy corresponding to the current network path between the internal proxy site and the public proxy can be queried.
[0052] Step S13: modifying the request header corresponding to the external access request to the custom domain name of the public proxy according to the first identification number through the web service of the frp server, so that the frp server service forwards the external access request to the public proxy according to the custom domain name.
[0053] It should be pointed out that frp's routing proxy for websites is based on the custom domain name of the Host header of the request. The Host header is determined by the browser's access link by default.
[0054] In this embodiment, the network path between frpserver and the public proxy corresponding to the network path between the current internal proxy site and the public proxy is queried to determine the public proxy, and the request header corresponding to the external access request is modified to the custom domain name of the public proxy, that is, the Host header of the request is modified to the custom domain name of the public proxy, so that the request can be forwarded to the public proxy.
[0055] Step S14: determining the target internal proxy site that actually receives the external access request according to the acquired second identification number through the web service on the public proxy.
[0056] In this embodiment, after the request is forwarded to the public proxy, the public proxy can also determine the target internal proxy site that actually receives the request based on the second identification number carried in the request address, that is, the identification number that identifies the network path between the internal proxy site and the public proxy.
[0057] Step S15: forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy.
[0058] In this embodiment, after determining the target internal proxy site that actually receives the request, the request is forwarded to the target internal site through the public proxy, thereby completing the corresponding routing.
[0059] In this embodiment, before forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy, the process further includes: removing the second identification number carried on the request address. It can be understood that removing the second identification number carried on the request address and then forwarding the request to a specific site means removing the id2 tag on the URL (Uniform Resource Locator) and then forwarding the request to a specific site.
[0060] For example, a user accesses an internal site through the IP of the frp server. The openresty service on the frp server obtains the public proxy server that needs to be accessed through the ID information on the URL. The public proxy server receives the request and obtains the real address that needs to be accessed based on the ID information on the URL. The above process can be achieved by reading its own configuration file information.
[0061] In the embodiment of the present application, from the perspective of reducing the number of open ports and saving EIPs, combined with the intranet penetration technology provided by frp, the nginx subrequest modification technology provided by the lua-nginx-module module of OpenResty, and the configuration dynamic modification technology provided by confd, it is possible to dynamically expose internal websites to external network access without the need for additional ports and additional EIPs, thereby solving the problem of resource waste and port opening risk caused by dynamically exposing internal websites to external network access by directly allocating EIP access or by using port forwarding proxy access in the existing solution.
[0062] It can be seen that in the embodiment of the present application, the public proxy that needs to be accessed is determined by the identification number information on the request address. The public proxy receives the external access request and then determines the address that actually needs to be accessed, that is, the target internal proxy site, based on the identification number information on the request address. This can solve the problem of resource waste and port opening risk caused by dynamically exposing internal websites to external network access by directly allocating EIP access or by using port forwarding proxy access in the existing solution.
[0063] Correspondingly, the embodiment of the present application also discloses a website proxy access device, see Figure 4 As shown, the device comprises:
[0064] The request receiving module 11 is used to receive the external access request sent by the client through the web service of the frp server, and determine the request address of the external access request;
[0065] An identification number query module 12, configured to query the first identification number corresponding to the second identification number carried by the request address according to a pre-maintained mapping relationship;
[0066] The request header modification module 13 is used to modify the request header corresponding to the external access request to the custom domain name of the public proxy according to the first identification number through the web service of the frp server, so that the frp server service forwards the external access request to the public proxy according to the custom domain name
[0067] A target internal site determination module 14, configured to determine the target internal proxy site that actually receives the external access request according to the acquired second identification number through a web service on the public proxy;
[0068] A request forwarding module 15, configured to forward the external access request to the target internal proxy site through OpenResty deployed in the public proxy;
[0069] Among them, the first identification number is an identification number generated when the first network path between the frp server and the public agent is connected and used to identify the first network path, the second identification number is an identification number generated when the second network path between the internal proxy site and the public agent is connected and used to identify the second network path, and the mapping relationship is a pre-maintained correspondence between the first network path and the second network path.
[0070] As can be seen from the above, in the embodiments of the present application, the public proxy that needs to be accessed is determined through the identification number information on the request address. The public proxy receives the external access request and then determines the address that actually needs to be accessed, that is, the target internal proxy site, based on the identification number information on the request address. This can solve the problem of resource waste and port opening risk caused by dynamically exposing internal websites to external network access by directly allocating EIP access or by using port forwarding proxy access in the existing solution.
[0071] In some specific embodiments, the website proxy access device may specifically include:
[0072] The public agent installation module is used to execute a pre-generated installation command script corresponding to the public agent according to the received installation command to install the public agent.
[0073] In some specific embodiments, the website proxy access device may specifically include:
[0074] An identification number removing module is used to remove the second identification number carried on the request address.
[0075] In some specific embodiments, the website proxy access device may specifically include:
[0076] The data structure construction module is used to construct a data structure to store the mapping relationship and save the data structure in etcd.
[0077] In some specific embodiments, the website proxy access device may specifically include:
[0078] A configuration modification module is used to modify the configuration value in the etcd to update the mapping relationship when the internal proxy site changes.
[0079] In some specific embodiments, the configuration modification module may specifically include:
[0080] The configuration modification unit is used to modify the configuration value in the etcd through the confd component to update the mapping relationship.
[0081] Furthermore, an embodiment of the present application also provides an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0082] Figure 5The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the website proxy access method disclosed in any of the above embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0083] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0084] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0085] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the website proxy access method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.
[0086] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the website proxy access method disclosed in any of the aforementioned embodiments are implemented.
[0087] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0088] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0089] The website proxy access method, device, equipment and storage medium provided by the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained by using specific examples in this article. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A website proxy access method, characterized in that: include: Receive an external access request sent by a client through the web service of the frp server, and determine the request address of the external access request; Querying the first identification number corresponding to the second identification number carried by the request address according to the pre-maintained mapping relationship; Modifying the request header corresponding to the external access request to the custom domain name of the public proxy through the web service of the frp server according to the first identification number, so that the frp server service forwards the external access request to the public proxy according to the custom domain name; Determining, through the web service on the public proxy, the target internal proxy site that actually receives the external access request according to the acquired second identification number; Forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy; Among them, the first identification number is an identification number generated when the first network path between the frp server and the public agent is connected and used to identify the first network path, the second identification number is an identification number generated when the second network path between the internal proxy site and the public agent is connected and used to identify the second network path, and the mapping relationship is a pre-maintained correspondence between the first network path and the second network path.
2. The website proxy access method according to claim 1, characterized in that: Also includes: The pre-generated installation command script corresponding to the public agent is executed according to the received installation command to install the public agent.
3. The website proxy access method according to claim 1, characterized in that: Before forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy, the method further includes: Remove the second identification number carried in the request address.
4. The website proxy access method according to claim 1, characterized in that: Also includes: Construct a data structure to store the mapping relationship, and save the data structure in etcd.
5. The website proxy access method according to claim 4, characterized in that: Also includes: When the internal proxy site changes, the configuration value in the etcd is modified to update the mapping relationship.
6. The website proxy access method according to claim 5, characterized in that: The modifying the configuration value in the etcd to update the mapping relationship includes: The configuration value in the etcd is modified through the confd component to update the mapping relationship.
7. The website proxy access method according to any one of claims 1 to 6, characterized in that: The frp server deploys a public IP.
8. A website proxy access device, characterized in that: include: A request receiving module, used to receive an external access request sent by a client through the web service of the frp server, and determine the request address of the external access request; An identification number query module, used to query the first identification number corresponding to the second identification number carried by the request address according to a pre-maintained mapping relationship; A request header modification module is used to modify the request header corresponding to the external access request to the custom domain name of the public proxy according to the first identification number through the web service of the frp server, so that the frp server service forwards the external access request to the public proxy according to the custom domain name a target internal site determination module, configured to determine, through a web service on the public proxy, the target internal proxy site that actually receives the external access request according to the acquired second identification number; A request forwarding module, used for forwarding the external access request to the target internal proxy site through OpenResty deployed in the public proxy; Among them, the first identification number is an identification number generated when the first network path between the frp server and the public agent is connected and used to identify the first network path, the second identification number is an identification number generated when the second network path between the internal proxy site and the public agent is connected and used to identify the second network path, and the mapping relationship is a pre-maintained correspondence between the first network path and the second network path.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the website proxy access method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the website proxy access method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Data accessing method and server agent
CN104462335A
Method and device for achieving website access
CN104580540A