CN112073274A - Remote access method and system for dynamically selecting reverse proxy server - Google Patents

Remote access method and system for dynamically selecting reverse proxy server Download PDF

Info

Publication number
CN112073274A
CN112073274A CN202010935390.7A CN202010935390A CN112073274A CN 112073274 A CN112073274 A CN 112073274A CN 202010935390 A CN202010935390 A CN 202010935390A CN 112073274 A CN112073274 A CN 112073274A
Authority
CN
China
Prior art keywords
proxy server
management server
server
storage device
storage equipment
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.)
Granted
Application number
CN202010935390.7A
Other languages
Chinese (zh)
Other versions
CN112073274B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010935390.7A priority Critical patent/CN112073274B/en
Publication of CN112073274A publication Critical patent/CN112073274A/en
Application granted granted Critical
Publication of CN112073274B publication Critical patent/CN112073274B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/328Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the presentation layer [OSI layer 6]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • 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/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a remote access method for dynamically selecting a reverse proxy server, which comprises the following steps: after receiving an access request of an access terminal, the management server inquires the state of the storage equipment; under the condition that the storage equipment can be normally accessed, sending an instruction to the storage equipment to enable the storage equipment to be connected to a proxy server with a smaller load; after the storage equipment is successfully connected with the proxy server with a smaller load, sending success information to the management server; the management server feeds back corresponding accessible information to the access terminal through the proxy server with smaller load, and the access terminal reversely accesses the storage device through the proxy server with smaller load; by applying the method of the invention, the reverse proxy server is dynamically selected, support can be provided for a large number of users to remotely access equipment behind the home router through mobile phones or web pages, and a plurality of proxy servers can be reasonably managed in a distributed manner, so that the resource utilization rate is improved, meanwhile, the response path is short, and the access connection establishment speed is high.

Description

Remote access method and system for dynamically selecting reverse proxy server
Technical Field
The present invention relates to the field of remote access technologies, and in particular, to a remote access method and system for dynamically selecting a reverse proxy server.
Background
Remote access generally refers to a mobile device or a PC connecting to a server through a network to access a device behind a home router, most of the current remote access methods have only one server, and when the server occupancy rate is high, a situation that remote access cannot be performed or is too slow exists.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a remote access method for dynamically selecting a reverse proxy server and a remote access system for dynamically selecting a reverse proxy server, aiming at the above-mentioned defects of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a remote access method for dynamically selecting a reverse proxy server is constructed, wherein the method comprises the following steps:
the first step is as follows: after receiving an access request of an access terminal, the management server inquires the state of the storage equipment;
the second step is that: under the condition that the storage equipment can be normally accessed, sending an instruction to the storage equipment to enable the storage equipment to be connected to a proxy server with a smaller load;
the third step: after the storage equipment is successfully connected with the proxy server with a smaller load, sending success information to the management server;
the fourth step: the management server feeds back corresponding accessible information to the access terminal through the proxy server with smaller load, and the access terminal reversely accesses the storage device through the proxy server with smaller load.
The invention discloses a remote access method for dynamically selecting a reverse proxy server, wherein the second step further comprises the following steps: the storage device sends a request for establishing a plurality of data channels to the proxy server with smaller load after receiving the instruction, and sends the response information to the management server after receiving the response of the proxy server with smaller load, and the management server judges whether the connection is established successfully or not according to the response information.
The remote access method for dynamically selecting the reverse proxy server in the invention, wherein the fourth step further comprises the following steps: and the access terminal sends a processing request to the proxy server with smaller load and forwards the processing request to the storage device, and the storage device responds and sends a response result to the access terminal through the proxy server with smaller load.
The invention discloses a remote access method for dynamically selecting a reverse proxy server, wherein in the first step, the method further comprises the following steps: and updating the load state by the proxy servers in real time or at intervals of a set time, and sending the load state to the management server, wherein the management server performs corresponding load state data updating processing.
The invention discloses a remote access method for dynamically selecting a reverse proxy server, wherein in the first step, the method further comprises the following steps: the storage device is registered on the management server.
The invention discloses a remote access method for dynamically selecting a reverse proxy server, wherein in the first step, the method further comprises the following steps: a plurality of the proxy servers are each registered with the management server.
A remote access system for dynamically selecting a reverse proxy server comprises a storage device, a management server and a plurality of proxy servers;
the storage device is used for storing data, establishing connection with the proxy server with a smaller load according to the connection instruction of the management server, and sending connection success information to the management server after the connection is established successfully;
the management server is used for inquiring the state of the storage equipment after receiving the request of the access terminal, and sending the connection instruction to the storage equipment under the condition that the storage equipment can be normally accessed; the proxy server is also used for feeding back corresponding accessible information to the access terminal through the proxy server with smaller load after receiving the connection success information;
the proxy server is used for responding the connection request information of the storage equipment and controlling and establishing an access channel with the visitor by the management server.
The remote access system for dynamically selecting the reverse proxy server, provided by the invention, is characterized in that the storage device sends a request for establishing a plurality of data channels to the proxy server with smaller load after receiving the instruction.
The remote access system for dynamically selecting the reverse proxy server is characterized in that the proxy server is also used for receiving a processing request sent by an access terminal, forwarding the processing request to the storage device and sending a response result of the storage device to the access terminal.
The remote access system for dynamically selecting the reverse proxy server, provided by the invention, is characterized in that the proxy server sends the load state to the management server in real time or at intervals of a set time, and the management server carries out corresponding load state data updating processing.
The invention has the beneficial effects that: by applying the method of the invention, the reverse proxy server is dynamically selected, support can be provided for a large number of users to remotely access equipment behind the home router through mobile phones or web pages, and the plurality of proxy servers can be reasonably managed in a distributed manner, so that the resource utilization rate is improved, meanwhile, the response path is short, and the time spent on establishing access connection is greatly shortened.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described with reference to the accompanying drawings and embodiments, wherein the drawings in the following description are only part of the embodiments of the present invention, and for those skilled in the art, other drawings can be obtained without inventive efforts according to the accompanying drawings:
FIG. 1 is a remote access method for dynamically selecting a reverse proxy server according to a preferred embodiment of the present invention;
fig. 2 is a schematic block diagram of a remote access system for dynamically selecting a reverse proxy server in accordance with a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without inventive step, are within the scope of the present invention.
The remote access method for dynamically selecting a reverse proxy server according to a preferred embodiment of the present invention, as shown in fig. 1, includes the following steps:
s01: after receiving an access request of an access terminal, the management server inquires the state of the storage equipment;
s02: under the condition that the storage equipment can be normally accessed, sending an instruction to the storage equipment to enable the storage equipment to be connected to a proxy server with a smaller load;
s03: after the storage equipment is successfully connected with the proxy server with a smaller load, sending success information to the management server;
s04: the management server feeds back corresponding accessible information to the access terminal through the proxy server with smaller load, and the access terminal reversely accesses the storage device through the proxy server with smaller load;
by applying the method of the invention, the reverse proxy server is dynamically selected, support can be provided for a large number of users to remotely access equipment behind the home router through mobile phones or web pages, and the plurality of proxy servers can be reasonably managed in a distributed manner, so that the resource utilization rate is improved, meanwhile, the response path is short, and the time spent on establishing access connection is greatly shortened.
Preferably, the second step further comprises the method: the storage equipment receives the instruction and then sends a request for establishing a plurality of data channels to the proxy server with smaller load, and after receiving the response of the proxy server with smaller load, the response information is sent to the management server, and the management server judges whether the connection is established successfully or not according to the response information; the storage device directly establishes a data channel according to the instruction and the proxy server with smaller load, so that the load of the management server is greatly reduced, the resource utilization rate is improved, and the response time is shortened.
Preferably, the fourth step further comprises the method: the access terminal sends a processing request to the proxy server with smaller load and forwards the processing request to the storage device, and the storage device responds and sends a response result to the access terminal through the proxy server with smaller load; the access speed is high.
Preferably, in the first step, the method further comprises: the plurality of proxy servers update the load state in real time or at intervals of a set time, and send the load state to the management server, and the management server performs corresponding load state data updating processing; the management server can automatically update the load state of the proxy server conveniently, the load data query program is saved, and the data processing efficiency is improved.
Preferably, in the first step, the method further comprises: the storage device is registered on the management server; the storage device is convenient to correspondingly distinguish, and password setting and the like are carried out.
Preferably, in the first step, the method further comprises: a plurality of proxy servers are all registered on the management server; the proxy server is convenient and rapid to manage, and the proxy servers are convenient and rapid to increase or decrease.
A remote access system for dynamically selecting a reverse proxy server according to the above-mentioned remote access method for dynamically selecting a reverse proxy server, as shown in fig. 2, includes a storage device 10, a management server 11, and a plurality of proxy servers 12;
the storage device 10 is used for storing data, establishing connection with a proxy server with a smaller load according to a connection instruction of the management server, and sending connection success information to the management server after the connection is established successfully;
the management server 11 is configured to query a state of the storage device after receiving the access end request, and send a connection instruction to the storage device when the storage device can be normally accessed; the proxy server is also used for feeding back corresponding accessible information to the access terminal through the proxy server with smaller load after receiving the connection success information;
a proxy server 12 for responding to the connection request information of the storage device and establishing an access channel with the visitor under the control of the management server;
by applying the method of the invention, the reverse proxy server is dynamically selected, support can be provided for a large number of users to remotely access equipment behind the home router through mobile phones or web pages, and the plurality of proxy servers can be reasonably managed in a distributed manner, so that the resource utilization rate is improved, meanwhile, the response path is short, and the time spent on establishing access connection is greatly shortened.
Preferably, the storage device sends a request for establishing a plurality of data channels to the proxy server with a smaller load after receiving the instruction; the storage device directly establishes a data channel according to the instruction and the proxy server with smaller load, so that the load of the management server is greatly reduced, the resource utilization rate is improved, and the response time is shortened.
Preferably, the proxy server is further configured to receive a processing request sent by the access terminal, forward the processing request to the storage device, and send a response result of the storage device to the access terminal; the access speed is high.
Preferably, the proxy server sends the load state to the management server in real time or at a set time interval, and the management server performs corresponding load state data updating processing; the management server can automatically update the load state of the proxy server conveniently, the load data query program is saved, and the data processing efficiency is improved.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

Claims (10)

1. A remote access method for dynamically selecting a reverse proxy server, comprising the steps of:
the first step is as follows: after receiving an access request of an access terminal, the management server inquires the state of the storage equipment;
the second step is that: under the condition that the storage equipment can be normally accessed, sending an instruction to the storage equipment to enable the storage equipment to be connected to a proxy server with a smaller load;
the third step: after the storage equipment is successfully connected with the proxy server with a smaller load, sending success information to the management server;
the fourth step: the management server feeds back corresponding accessible information to the access terminal through the proxy server with smaller load, and the access terminal reversely accesses the storage device through the proxy server with smaller load.
2. A remote access method for dynamically selecting a reverse proxy server according to claim 1, wherein said second step further comprises the steps of: the storage device sends a request for establishing a plurality of data channels to the proxy server with smaller load after receiving the instruction, and sends the response information to the management server after receiving the response of the proxy server with smaller load, and the management server judges whether the connection is established successfully or not according to the response information.
3. A method for remotely accessing a dynamically selected reverse proxy server according to claim 1 or 2, wherein said fourth step further comprises the method of: and the access terminal sends a processing request to the proxy server with smaller load and forwards the processing request to the storage device, and the storage device responds and sends a response result to the access terminal through the proxy server with smaller load.
4. A remote access method for dynamically selecting a reverse proxy server according to claim 1 or 2, wherein in the first step, further comprising the method of: and updating the load state by the proxy servers in real time or at intervals of a set time, and sending the load state to the management server, wherein the management server performs corresponding load state data updating processing.
5. A remote access method for dynamically selecting a reverse proxy server according to claim 1 or 2, wherein in the first step, further comprising the method of: the storage device is registered on the management server.
6. A remote access method for dynamically selecting a reverse proxy server according to claim 1 or 2, wherein in the first step, further comprising the method of: a plurality of the proxy servers are each registered with the management server.
7. A remote access system for dynamically selecting a reverse proxy server, the remote access method for dynamically selecting a reverse proxy server according to any one of claims 1 to 6, comprising a storage device, a management server, and a plurality of proxy servers;
the storage device is used for storing data, establishing connection with the proxy server with a smaller load according to the connection instruction of the management server, and sending connection success information to the management server after the connection is established successfully;
the management server is used for inquiring the state of the storage equipment after receiving the request of the access terminal, and sending the connection instruction to the storage equipment under the condition that the storage equipment can be normally accessed; the proxy server is also used for feeding back corresponding accessible information to the access terminal through the proxy server with smaller load after receiving the connection success information;
the proxy server is used for responding the connection request information of the storage equipment and controlling and establishing an access channel with the visitor by the management server.
8. The remote access system for dynamically selecting reverse proxy servers according to claim 7, wherein said storage device, upon receiving said command, sends a request to said proxy server with a lesser load to establish a plurality of data channels.
9. The remote access system for dynamically selecting a reverse proxy server according to claim 7, wherein the proxy server is further configured to receive and forward a processing request sent by an access terminal to the storage device, and send a response result of the storage device to the access terminal.
10. The remote access system of claim 7, wherein the proxy server sends the load status to the management server in real time or at a set time interval, and the management server performs corresponding load status data update processing.
CN202010935390.7A 2020-09-08 2020-09-08 Remote access method and system for dynamically selecting reverse proxy server Active CN112073274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010935390.7A CN112073274B (en) 2020-09-08 2020-09-08 Remote access method and system for dynamically selecting reverse proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010935390.7A CN112073274B (en) 2020-09-08 2020-09-08 Remote access method and system for dynamically selecting reverse proxy server

Publications (2)

Publication Number Publication Date
CN112073274A true CN112073274A (en) 2020-12-11
CN112073274B CN112073274B (en) 2023-02-03

Family

ID=73664410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010935390.7A Active CN112073274B (en) 2020-09-08 2020-09-08 Remote access method and system for dynamically selecting reverse proxy server

Country Status (1)

Country Link
CN (1) CN112073274B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127701A (en) * 2007-07-24 2008-02-20 深圳市深信服电子科技有限公司 Method for realizing proxy server load balance via network device
CN102624920A (en) * 2012-03-31 2012-08-01 奇智软件(北京)有限公司 Method and device for performing access through proxy server
CN103944940A (en) * 2013-01-21 2014-07-23 华耀(中国)科技有限公司 Equipment and method for dynamically configuring proxy server
CN104038540A (en) * 2014-06-03 2014-09-10 山东乾云启创信息科技有限公司 Method and system for automatically selecting application proxy server
CN104601720A (en) * 2015-01-30 2015-05-06 乐视网信息技术(北京)股份有限公司 Cache access control method and device
CN110730244A (en) * 2019-10-22 2020-01-24 深圳市网心科技有限公司 Networking method and system of DHT (distributed hash table) system, network equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127701A (en) * 2007-07-24 2008-02-20 深圳市深信服电子科技有限公司 Method for realizing proxy server load balance via network device
CN102624920A (en) * 2012-03-31 2012-08-01 奇智软件(北京)有限公司 Method and device for performing access through proxy server
CN103944940A (en) * 2013-01-21 2014-07-23 华耀(中国)科技有限公司 Equipment and method for dynamically configuring proxy server
CN104038540A (en) * 2014-06-03 2014-09-10 山东乾云启创信息科技有限公司 Method and system for automatically selecting application proxy server
CN104601720A (en) * 2015-01-30 2015-05-06 乐视网信息技术(北京)股份有限公司 Cache access control method and device
CN110730244A (en) * 2019-10-22 2020-01-24 深圳市网心科技有限公司 Networking method and system of DHT (distributed hash table) system, network equipment and storage medium

Also Published As

Publication number Publication date
CN112073274B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN110266810B (en) Message receiving method, device and storage medium based on MQTT protocol
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN113572864B (en) Data processing method, network element equipment and readable storage medium
US9867121B2 (en) Network accessing method
CN108924043A (en) System monitoring method, gateway communication, gateway apparatus, service processing equipment
CN111404918A (en) Cloud mobile phone distributed service emergency authentication method, device and system
CN101854745A (en) Transmission method of software version and device thereof
CN103716230A (en) Message sending method, device and server
CN109947081B (en) Internet vehicle control method and device
CN101909346A (en) DHCP (Dynamic Host Configuration Protocol) broadcasting method and wireless access controller
CN114158030B (en) Session binding method, system and storage medium
CN113163008B (en) Connection intelligent management method and device of network service system and related equipment thereof
CN112073274B (en) Remote access method and system for dynamically selecting reverse proxy server
CN110166487B (en) Local area network equipment information transmission method, main equipment, storage medium and intelligent equipment
CN111294252B (en) Cluster test system
CN114500341B (en) Terminal real-time management and control method under wide area network and management and control server
EP4354920A1 (en) User data system management method, communication device, and storage medium
CN110971669B (en) Message notification method, device, server, electronic equipment and readable storage medium
CN108848156B (en) Access gateway processing method, device and storage medium
CN113535402A (en) Load balancing processing method and device based on 5G MEC and electronic equipment
CN110099208B (en) Method and device for cross-level and cross-domain upgrading of camera in video monitoring system
CN111478941A (en) Mock automatic operation method and device, computer equipment and storage medium
CN113472802B (en) Distributed remote authorization method and system
CN105474706A (en) WTP access method, management method, apparatus and system
CN113645108B (en) Intelligent household equipment monitoring system and method

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