CN113556388B - Proxy service method, proxy service platform, computer device, and storage medium - Google Patents

Proxy service method, proxy service platform, computer device, and storage medium Download PDF

Info

Publication number
CN113556388B
CN113556388B CN202110793493.9A CN202110793493A CN113556388B CN 113556388 B CN113556388 B CN 113556388B CN 202110793493 A CN202110793493 A CN 202110793493A CN 113556388 B CN113556388 B CN 113556388B
Authority
CN
China
Prior art keywords
proxy
address
rule
request
proxy service
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.)
Active
Application number
CN202110793493.9A
Other languages
Chinese (zh)
Other versions
CN113556388A (en
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.)
Hangzhou Daishu Technology Co ltd
Original Assignee
Hangzhou Daishu 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 Hangzhou Daishu Technology Co ltd filed Critical Hangzhou Daishu Technology Co ltd
Priority to CN202110793493.9A priority Critical patent/CN113556388B/en
Publication of CN113556388A publication Critical patent/CN113556388A/en
Application granted granted Critical
Publication of CN113556388B publication Critical patent/CN113556388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention provides a proxy service method, a proxy service platform, computer equipment and a storage medium, wherein the proxy service method comprises the following steps: when a host initiates a request, acquiring an ID of a proxy service through a request path, and acquiring a real IP of the host through a request header; acquiring a default target proxy address and proxy rules of the proxy service through the ID of the proxy service; acquiring a designated target proxy address of the proxy service according to the real IP of the host and the proxy rule; judging whether the proxy rule is available; if the proxy rule is available, selecting the designated target proxy address as the actual target proxy address; if the proxy rule is not available, selecting a default target proxy address as the actual target proxy address; the request is forwarded to the actual target agent address. The invention can reduce the time for switching the proxy, reduce the dependence of the back-end personnel on the front-end personnel, and rapidly and conveniently realize the proxy and the forwarding of the request between the client and the server.

Description

Proxy service method, proxy service platform, computer device, and storage medium
Technical Field
The present invention relates to the technical field of proxy services, and in particular, to a proxy service method, a proxy service platform, a computer device, and a non-transitory computer-readable storage medium.
Background
The proxy is a word which cannot be avoided in the front-end and back-end development process, and a client can be connected with a server through proxy service.
As front-end developers, it is often necessary to interface with a plurality of back-end developers in actual development. The front-end personnel needs to connect with a background service of a certain background personnel to conduct joint debugging of a certain functional module. At this point, the front-end personnel needs to modify the proxy address in the weback configuration, and then restart the node service. The multiple background personnel means to connect multiple background services, that is, the weback configuration needs to be modified multiple times, and the services need to be restarted, which causes a great time consumption and is not friendly to front-end developers.
As a back-end developer, if a request needs to be forwarded to a service of a back-end person by a browser in actual development, it is generally necessary to use a front-end person, which is inconvenient for both parties.
Disclosure of Invention
The invention provides a proxy service method, a proxy service platform, computer equipment and a storage medium, which can reduce the time for switching proxy, reduce the dependence of a back-end person on a front-end person, and quickly and conveniently realize the proxy and forwarding of a request between a client and a server.
The technical scheme adopted by the invention is as follows:
a proxy service method comprising the steps of: when a host initiates a request, acquiring an ID of a proxy service through a request path, and acquiring a real IP of the host through a request header; acquiring a default target proxy address and a proxy rule of the proxy service through the ID of the proxy service; acquiring a designated target proxy address of a proxy service according to the real IP of the host and the proxy rule; judging whether the proxy rule is available or not; if the proxy rule is available, selecting a specified target proxy address as the actual target proxy address; if the proxy rule is not available, selecting a default target proxy address as an actual target proxy address; the request is forwarded to the actual target agent address.
The method comprises the steps of acquiring an ID of a proxy service carried in a request path/proxy/: ID, and acquiring a Real IP of a host carried in an X-Real-IP field of a request header.
And judging whether the proxy rule is available or not by acquiring a status value of the proxy rule.
The request is forwarded to the actual target proxy address by http-proxy-middleware.
A proxy service platform, comprising: the first acquisition module is used for acquiring the ID of the proxy service through a request path and acquiring the real IP of the host through a request header when the host initiates a request; the second acquisition module is used for acquiring a default target proxy address and a proxy rule of the proxy service through the ID of the proxy service; a third obtaining module, configured to obtain a specified target proxy address of a proxy service according to the real IP of the host and the proxy rule; the judging module is used for judging whether the proxy rule is available or not; the selection module is used for selecting a designated target agent address as an actual target agent address when the agent rule is available, and selecting a default target agent address as an actual target agent address when the agent rule is unavailable; and the forwarding module is used for forwarding the request to the actual target agent address.
The first acquisition module acquires an ID of the proxy service carried in the request path/proxy/: ID, and acquires a Real IP of the host carried in an X-Real-IP field of the request header.
The judging module judges whether the agent rule is available or not by acquiring a status value of the agent rule.
The forwarding module forwards the request to the actual target proxy address through http-proxy-middleware.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above proxy service method when executing the computer program.
A non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described proxy service method.
The invention has the beneficial effects that:
the invention obtains the default target address and the proxy rule according to the ID of the proxy service, obtains the appointed target proxy address according to the real IP of the host and the proxy rule, and selects the actual target proxy address according to whether the proxy rule is available, thereby forwarding the request to the new target proxy address by configuring the new target proxy address without modifying weback configuration and restarting the node service for many times, reducing the time for switching the proxy, reducing the dependence of the back-end personnel on the front-end personnel, and rapidly and conveniently realizing the proxy and forwarding of the request between the client and the server.
Drawings
FIG. 1 is a flow chart of a proxy service method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a proxy service platform according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a front-end developer using a proxy service platform according to one embodiment of the invention;
FIG. 4 is a schematic diagram of a process by which a backend developer uses a proxy service platform in accordance with one embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes in detail a proxy service method, a proxy service platform, a computer device, and a storage medium according to embodiments of the present invention with reference to the accompanying drawings.
The proxy service method of the embodiment of the invention can be executed by the middle layer of the browser and the Web server.
As shown in fig. 1, the proxy service method of the embodiment of the present invention includes the following steps:
s1, when a host initiates a request, the ID of the proxy service is acquired through a request path, and the real IP of the host is acquired through a request header.
The user operates a host computer running the browser, and can send out a request through the browser. In one embodiment of the invention, the ID of the proxy service carried in the request path/proxy/: ID may be obtained, and the Real IP of the host carried in the X-Real-IP field of the request header may be obtained.
S2, obtaining the default target proxy address and the proxy rule of the proxy service through the ID of the proxy service.
The corresponding relation between the proxy service and the target proxy address and between the proxy service and the proxy rule are stored in the database, and the target proxy address of the proxy service stored in the database is the default target proxy address of the proxy service.
And searching the corresponding relation stored in the database, such as a corresponding relation table, according to the ID of the proxy service to obtain a default target proxy address and proxy rules of the proxy service. If the default target proxy address of the proxy service is successfully found, step S3 is performed, and if the default target proxy address of the proxy service is not successfully found, the proxy fails.
In one embodiment of the invention, the middle layer for executing the proxy service method can be a front-end and back-end integrated management service platform built based on nodes, the platform supports interface configuration, a user can newly add proxy service and default target proxy addresses and proxy rules through the platform, and operations such as editing and deleting the proxy service and the default target proxy addresses and the proxy rules can be performed.
The proxy rule contains a target proxy address which the host needs to proxy to, namely a designated target proxy address, and a user can configure the designated target proxy address corresponding to one or more hosts by himself when the proxy rule is newly added and edited. The specified target agent addresses corresponding to the hosts may be different from each other, may be partially or completely the same.
The user can manually edit the default target proxy address corresponding to a certain proxy service or the appointed target proxy address corresponding to a certain host, or can directly and quickly select the default target proxy address or the appointed target proxy address from a list configured before.
In addition, the user can also carry out enabling and disabling operation on the agent rule through the platform.
S3, obtaining the appointed target proxy address of the proxy service according to the real IP of the host and the proxy rule.
According to the real IP of the host, matching is carried out in the proxy rule acquired in the step S2, and the appointed target proxy address to which the host needs to proxy can be obtained.
S4, judging whether the proxy rule is available.
I.e. it is determined whether the proxy rules of the proxy service acquired in step S2 are disabled.
In one embodiment of the invention, the status value of the agent rule may be obtained to determine whether the agent rule is available. If the status value is 1, then the proxy rule is available, and if the status value is 0, then the proxy rule is not available.
S5, if the proxy rule is available, selecting the appointed target proxy address as the actual target proxy address.
S6, if the proxy rule is not available, selecting a default target proxy address as an actual target proxy address.
S7, forwarding the request to the actual target agent address.
In one embodiment of the invention, the request may be forwarded to the actual target proxy address by http-proxy-middleware.
According to the proxy service method provided by the embodiment of the invention, the default target address and the proxy rule are acquired according to the ID of the proxy service, the appointed target proxy address is acquired according to the real IP of the host and the proxy rule, and the actual target proxy address is selected according to whether the proxy rule is available, so that the request can be forwarded to the new target proxy address by configuring the new target proxy address, the time for switching the proxy can be reduced without modifying weback configuration and restarting node service for many times, the dependence of a rear-end person on a front-end person can be reduced, and the proxy and forwarding of the request between the client and the server can be realized quickly and conveniently.
In order to implement the proxy service method of the above embodiment, the present invention also proposes a proxy service platform.
As shown in fig. 2, the proxy service platform according to the embodiment of the present invention includes a first obtaining module 10, a second obtaining module 20, a third obtaining module 30, a judging module 40, a selecting module 50, and a forwarding module 60. The first obtaining module 10 is configured to obtain, when a host initiates a request, an ID of a proxy service through a request path, and obtain, through a request header, a real IP of the host; the second obtaining module 20 is configured to obtain a default target proxy address and a proxy rule of the proxy service through an ID of the proxy service; the third obtaining module 30 is configured to obtain a specified target proxy address of the proxy service according to the real IP of the host and the proxy rule; the judging module 40 is configured to judge whether the proxy rule is available; the selection module 50 is configured to select a specified target agent address as an actual target agent address when the agent rule is available, and select a default target agent address as an actual target agent address when the agent rule is not available; the forwarding module 60 is used to forward the request to the actual target agent address.
In one embodiment of the invention, the first acquisition module 10 acquires the ID of the proxy service carried in the request path/proxy/: ID, and the first acquisition module 10 acquires the Real IP of the host carried in the X-Real-IP field of the request header.
The corresponding relation between the proxy service and the target proxy address and between the proxy service and the proxy rule are stored in the database, and the target proxy address of the proxy service stored in the database is the default target proxy address of the proxy service.
The second obtaining module 20 searches the corresponding relationship stored in the database, such as the corresponding relationship table, according to the ID of the proxy service, so as to obtain the default target proxy address and proxy rule of the proxy service. If the default target proxy address of the proxy service is successfully found, the third acquisition module 30 acquires the designated target proxy address of the proxy service according to the real IP of the host and the proxy rule, and if the default target proxy address of the proxy service is not successfully found, the proxy fails.
In one embodiment of the invention, the proxy service platform can be a front-end and back-end integrated management service platform built based on nodes, the proxy service platform supports interface configuration, a user can newly add proxy service and default target proxy addresses and proxy rules thereof through the proxy service platform, and operations such as editing and deleting the proxy service and the default target proxy addresses and the proxy rules thereof can be performed.
The proxy rule contains a target proxy address which the host needs to proxy to, namely a designated target proxy address, and a user can configure the designated target proxy address corresponding to one or more hosts by himself when the proxy rule is newly added and edited. The specified target agent addresses corresponding to the hosts may be different from each other, may be partially or completely the same.
The user can manually edit the default target proxy address corresponding to a certain proxy service or the appointed target proxy address corresponding to a certain host, or can directly and quickly select the default target proxy address or the appointed target proxy address from a list configured before.
In addition, the user can also carry out enabling and disabling operation on the proxy rule through the proxy service platform.
The third obtaining module 30 matches the proxy rule obtained by the second obtaining module 20 according to the real IP of the host, so as to obtain the designated target proxy address to which the host needs to proxy.
The judging module 40 may judge whether the proxy rule of the proxy service acquired by the second acquiring module 20 is disabled.
In one embodiment of the present invention, the determination module 40 may determine whether the agent rule is available by obtaining a status value of the agent rule. If the status value is 1, then the proxy rule is available, and if the status value is 0, then the proxy rule is not available.
In one embodiment of the invention, the forwarding module 60 may forward the request to the actual target proxy address via http-proxy-middleware.
According to the proxy service platform provided by the embodiment of the invention, the default target address and the proxy rule are acquired according to the ID of the proxy service, the appointed target proxy address is acquired according to the real IP of the host and the proxy rule, and the actual target proxy address is selected according to whether the proxy rule is available, so that the request can be forwarded to the new target proxy address by configuring the new target proxy address, the time for switching the proxy can be reduced without modifying weback configuration and restarting node service for many times, the dependence of a rear-end person on a front-end person can be reduced, and the proxy and forwarding of the request between the client and the server can be realized quickly and conveniently.
As shown in fig. 3, when using the proxy service platform according to the embodiment of the present invention, a front-end developer may first set a target as an API provided by the proxy service platform in proxy of weback-dev-service, and at the same time set an X-Real-IP, and then the front-end developer initiates a request by accessing a browser, and the request is identified by the proxy service platform and forwarded to a target service.
As shown in fig. 4, when using the proxy service platform according to the embodiment of the present invention, the front-end developer performs proxy through the nginx under the precondition that the item is separated at present, firstly, the API provided by the proxy service platform can be configured in the nginx reverse proxy, and the X-Real-IP is set, then, similarly, the back-end developer initiates a request through accessing the browser, the request is identified through the proxy service platform, and the request is forwarded to the target service.
The front end configuration of the proxy service in one embodiment of the present invention is as follows:
Figure BDA0003161932960000081
the target in proxy is set as an API provided by the proxy service platform, and the onProxyReq needs to add a request header X-Real-IP in a request body, wherein the value of the request header X-Real-IP is the true IP of the host initiating the request.
Corresponding to the embodiment, the invention also provides a computer device.
The computer device according to the embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the proxy service method according to the above embodiment of the present invention can be implemented.
According to the computer equipment of the embodiment of the invention, when the processor executes the computer program stored on the memory, the default target address and the proxy rule are acquired according to the ID of the proxy service, the appointed target proxy address is acquired according to the real IP of the host and the proxy rule, and the actual target proxy address is selected according to whether the proxy rule is available, so that the request can be forwarded to the new target proxy address by configuring the new target proxy address, the time for switching the proxy can be reduced without modifying weback configuration and restarting the node service for many times, the dependence of a back-end personnel on a front-end personnel can be reduced, and the proxy and forwarding of the request between the client and the service end can be rapidly and conveniently realized.
The present invention also proposes a non-transitory computer-readable storage medium corresponding to the above-described embodiments.
The non-transitory computer-readable storage medium of the embodiment of the present invention has stored thereon a computer program which, when executed by a processor, can implement the proxy service method according to the above-described embodiment of the present invention.
According to the non-transitory computer readable storage medium of the embodiment of the invention, when the processor executes the computer program stored thereon, the default target address and the proxy rule are acquired according to the ID of the proxy service, the designated target proxy address is acquired according to the real IP of the host and the proxy rule, and the actual target proxy address is selected according to whether the proxy rule is available, so that the request can be forwarded to the new target proxy address by configuring the new target proxy address, the time for switching the proxy can be reduced without modifying the weback configuration and restarting the node service for a plurality of times, the dependence of a back-end personnel on a front-end personnel can be reduced, and the proxy and forwarding of the request between the client and the server can be rapidly and conveniently realized.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The meaning of "a plurality of" is two or more, unless specifically defined otherwise.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily for the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (10)

1. A proxy service method, comprising the steps of:
when a host initiates a request, acquiring an ID of a proxy service through a request path, and acquiring a real IP of the host through a request header;
acquiring a default target proxy address and a proxy rule of the proxy service through the ID of the proxy service;
acquiring a designated target proxy address of a proxy service according to the real IP of the host and the proxy rule;
judging whether the proxy rule is available or not;
if the proxy rule is available, selecting a specified target proxy address as the actual target proxy address;
if the proxy rule is not available, selecting a default target proxy address as an actual target proxy address;
the request is forwarded to the actual target agent address.
2. The proxy service method of claim 1, wherein an ID of a proxy service carried in a request path/proxy/: ID is obtained, and a Real IP of a host carried in an X-Real-IP field of a request header is obtained.
3. The proxy service method of claim 1, wherein the proxy rule is determined to be available by obtaining a status value of the proxy rule.
4. A proxy service method as claimed in claim 1, wherein the request is forwarded to the actual target proxy address by http-proxy-middleware.
5. A proxy service platform, comprising:
the first acquisition module is used for acquiring the ID of the proxy service through a request path and acquiring the real IP of the host through a request header when the host initiates a request;
the second acquisition module is used for acquiring a default target proxy address and a proxy rule of the proxy service through the ID of the proxy service;
a third obtaining module, configured to obtain a specified target proxy address of a proxy service according to the real IP of the host and the proxy rule;
the judging module is used for judging whether the proxy rule is available or not;
the selection module is used for selecting a designated target agent address as an actual target agent address when the agent rule is available, and selecting a default target agent address as an actual target agent address when the agent rule is unavailable;
and the forwarding module is used for forwarding the request to the actual target agent address.
6. The proxy service platform of claim 5, wherein the first acquisition module acquires an ID of a proxy service carried in a request path/proxy/: ID, and the first acquisition module acquires a Real IP of a host carried in an X-Real-IP field of a request header.
7. The proxy service platform of claim 5, wherein the determination module determines whether the proxy rule is available by obtaining a status value of the proxy rule.
8. The proxy service platform of claim 5, wherein the forwarding module forwards the request to the actual target proxy address via http-proxy-middleware.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the proxy service method according to any of claims 1-4 when executing the computer program.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the proxy service method according to any one of claims 1-4.
CN202110793493.9A 2021-07-14 2021-07-14 Proxy service method, proxy service platform, computer device, and storage medium Active CN113556388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110793493.9A CN113556388B (en) 2021-07-14 2021-07-14 Proxy service method, proxy service platform, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110793493.9A CN113556388B (en) 2021-07-14 2021-07-14 Proxy service method, proxy service platform, computer device, and storage medium

Publications (2)

Publication Number Publication Date
CN113556388A CN113556388A (en) 2021-10-26
CN113556388B true CN113556388B (en) 2023-06-13

Family

ID=78131698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110793493.9A Active CN113556388B (en) 2021-07-14 2021-07-14 Proxy service method, proxy service platform, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN113556388B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101422009A (en) * 2006-04-14 2009-04-29 高通股份有限公司 Automatic selection of a home agent
CN101662503A (en) * 2009-09-14 2010-03-03 金蝶软件(中国)有限公司 Information transmission method, proxy server and service system in network
CN102447708A (en) * 2012-01-14 2012-05-09 杭州安恒信息技术有限公司 Communication implementation method based on application-layer transparent proxy technology
US9207953B1 (en) * 2004-04-28 2015-12-08 F5 Networks, Inc. Method and apparatus for managing a proxy autoconfiguration in SSL VPN
CN107453989A (en) * 2017-09-28 2017-12-08 上海盈联电信科技有限公司 Internet behavior information processing method for enterprise gateway
CN107770138A (en) * 2016-08-22 2018-03-06 阿里巴巴集团控股有限公司 Specify the method and proxy server, client of IP address
CN110049081A (en) * 2018-01-17 2019-07-23 广东亿迅科技有限公司 For build and using high availability Docker private library method and system
CN112272158A (en) * 2020-09-16 2021-01-26 厦门网宿有限公司 Data proxy method, system and proxy server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069782A1 (en) * 2004-09-16 2006-03-30 Michael Manning Method and apparatus for location-based white lists in a telecommunications network
US9710425B2 (en) * 2010-12-13 2017-07-18 Vertical Computer Systems, Inc. Mobile proxy server for internet server having a dynamic IP address
US9571649B2 (en) * 2014-10-23 2017-02-14 Teletech Holdings, Inc. Method for connecting users with agents based on user values dynamically determined according to a set of rules or algorithms
US9942130B2 (en) * 2015-01-07 2018-04-10 Cisco Technology, Inc. Selective routing of network traffic for remote inspection in computer networks
CA3094874A1 (en) * 2019-10-01 2021-04-01 Magnet Forensics Inc. System and method for targeted endpoint data acquisition

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9207953B1 (en) * 2004-04-28 2015-12-08 F5 Networks, Inc. Method and apparatus for managing a proxy autoconfiguration in SSL VPN
CN101422009A (en) * 2006-04-14 2009-04-29 高通股份有限公司 Automatic selection of a home agent
CN101662503A (en) * 2009-09-14 2010-03-03 金蝶软件(中国)有限公司 Information transmission method, proxy server and service system in network
CN102447708A (en) * 2012-01-14 2012-05-09 杭州安恒信息技术有限公司 Communication implementation method based on application-layer transparent proxy technology
CN107770138A (en) * 2016-08-22 2018-03-06 阿里巴巴集团控股有限公司 Specify the method and proxy server, client of IP address
CN107453989A (en) * 2017-09-28 2017-12-08 上海盈联电信科技有限公司 Internet behavior information processing method for enterprise gateway
CN110049081A (en) * 2018-01-17 2019-07-23 广东亿迅科技有限公司 For build and using high availability Docker private library method and system
CN112272158A (en) * 2020-09-16 2021-01-26 厦门网宿有限公司 Data proxy method, system and proxy server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
代理服务器在企业局域网中的应用;龙越;有色冶金设计与研究(第01期);全文 *

Also Published As

Publication number Publication date
CN113556388A (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN106953795B (en) Method and device for configuring multiple network cards
US20190196941A1 (en) Orthogonal experimentation in a computing environment
US7451136B2 (en) System and method for searching multiple disparate search engines
CN106651497A (en) Method and device for sending gift identification list
CN110519409B (en) Domain name dynamic configuration method, device, equipment and storage medium
CN105653198A (en) Data processing method and device
US10764819B2 (en) Network search method and apparatus under double-card mode, and computer storage medium
CN110851680B (en) Web crawler identification method and device
US20180267727A1 (en) Access method and device for random access memories, control chip and storage medium
CN113094255A (en) Simulation test method, device and system for data interface
CN106230791A (en) A kind of method and apparatus of single business many strategies Rapid matching
CN114185577A (en) Configuration management system, configuration management method, server, and storage medium
CN109388425B (en) Interface switching method, system, device and storage medium for front-end engineering
US8140991B2 (en) Drag and drop rule topology
CN113556388B (en) Proxy service method, proxy service platform, computer device, and storage medium
CN103500108B (en) Installed System Memory access method, Node Controller and multicomputer system
US20180018361A1 (en) Index Table Update Method, and Device
CN105897758A (en) Container access control method and device
CN108897858B (en) Distributed cluster index fragmentation evaluation method and device and electronic equipment
CN108897865A (en) The index copy amount appraisal procedure and device of distributed type assemblies
US7603394B2 (en) Client-server system, a generator unit and a method to customize a user application
CN109684351B (en) Execution plan viewing method, device, server and storage medium
JP2004078914A (en) Logon to a plurality of communication networks from mobile computer system
CN115687715A (en) Item catalog downloading method and related device
CN109063170B (en) Intelligent query method, device, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant