CN117459582A - Method and system for providing remote access for equipment not supporting remote access service - Google Patents

Method and system for providing remote access for equipment not supporting remote access service Download PDF

Info

Publication number
CN117459582A
CN117459582A CN202311573330.5A CN202311573330A CN117459582A CN 117459582 A CN117459582 A CN 117459582A CN 202311573330 A CN202311573330 A CN 202311573330A CN 117459582 A CN117459582 A CN 117459582A
Authority
CN
China
Prior art keywords
remote access
equipment
network
remote
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311573330.5A
Other languages
Chinese (zh)
Inventor
刘小平
李再兵
周安
赵志华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tenda Technology Co Ltd
Original Assignee
Shenzhen Tenda 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 Shenzhen Tenda Technology Co Ltd filed Critical Shenzhen Tenda Technology Co Ltd
Priority to CN202311573330.5A priority Critical patent/CN117459582A/en
Publication of CN117459582A publication Critical patent/CN117459582A/en
Pending legal-status Critical Current

Links

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
    • H04L67/562Brokering 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/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a system for providing remote access for equipment which does not support remote access service, wherein the method comprises the following steps: the first network device adds destination device information; generating a unique identification code for a target device in the local area network, and then generating a unique access link corresponding to the target device based on the unique identification code; after receiving an access request of a cloud server, the first network device analyzes a unique identification field in the access link, searches corresponding configuration information according to the analyzed unique identification field, replaces a request head corresponding to the target device according to the configuration information, and initiates a proxy request to the target device in the local area network; and after receiving the response returned by the target equipment, the first network equipment replaces the response head of the target equipment with the related information of the original access request and returns the information to the cloud server. The invention solves the problem that the equipment which does not support remote access cannot realize remote access.

Description

Method and system for providing remote access for equipment not supporting remote access service
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a remote access system for providing remote access to a device that does not support a remote access service.
Background
The remote access service provides convenience for the client to still be able to access and operate the network equipment deployed in the local area network in any network, and is popular with the client, but in the whole network environment, the remote access function is not supported due to the fact that the equipment version carrying the web server is old, the resources are limited or based on safety consideration, particularly after an abnormal problem occurs, whether the interface is normal or not cannot be checked in a remote mode, and only workers can be arranged to check the network line next to the site access network line, so that certain manpower resource loss exists.
In the current deployment, each device must be carried on a client module matched with a cloud server, after the function of the module is started and connection is established with the cloud server, the web interface of the corresponding device can be accessed remotely through the generated unique network link address, and the network deployment diagram is shown in fig. 1, and has the following defects in the prior art:
1. is not easy to expand: the equipment which needs to support the cloud server proxy can be used only by upgrading the corresponding client module to the system, and is not friendly to the support of the old version software;
2. there are limitations: for products of other manufacturers, the client module cannot be added by modifying software, so that remote access cannot be performed on devices which do not support remote access.
Disclosure of Invention
In order to solve the problem that equipment which does not support remote access service cannot be accessed remotely in the prior art, the invention provides a method for providing remote access for equipment which does not support remote access service, and a remote access system for realizing the method.
The invention provides a method for providing remote access for equipment which does not support remote access service, which is realized based on a first network equipment with super remote agent function connected with a router in a local area network, and comprises the following steps:
s1: adding destination equipment information which is connected with the first network equipment and is to be remotely accessed through a super remote proxy function;
s2: after the addition is successful, the first network equipment generates a unique identification code for the target equipment in the local area network, and then the unique identification code is spliced with the remote access link of the first network equipment to generate a unique access link corresponding to the target equipment;
s3: after the first network device receives the access request of the cloud server, analyzing whether the access link has a unique identification field, if so, executing a step S4, and if not, accessing the first network device;
s4: searching whether corresponding configuration information exists or not according to the analyzed unique identification code field, if so, replacing a request head corresponding to the target equipment according to the configuration information, and initiating a proxy request to the target equipment in the local area network;
s5: and after receiving the response returned by the target equipment, the first network equipment replaces the response head of the target equipment with the related information of the original access request and returns the information to the cloud server.
Further, in step S1, the destination device information includes a protocol, a port, and an IP address.
Further, in step S2, the unique identification code is an ID prefix, after generating the ID prefix corresponding to the destination device, the first network device generates a jump link to a display operation interface of the remote access terminal, and after the remote access terminal obtains the jump operation of the user, the remote access terminal sends the remote access request to the cloud server.
Further, after the cloud server receives the remote access request, the first network device corresponding to the access cloud server is found by matching the link ID field, the request link is filled in a host field forwarded to the router request head, and the request link is forwarded to the first network device through a tunnel established between the first network device and the cloud server.
The invention also provides a remote access system for realizing the method for providing remote access for the equipment which does not support the remote access service, which comprises a first network equipment which supports the remote web access, a cloud server for equipment management and a remote access terminal, wherein the downlink interfaces of the first network equipment are respectively connected with a plurality of target equipment, and the cloud server is respectively connected with the uplink interfaces of the first network equipment and the remote network of the remote access terminal. .
Further, after the information of the target equipment which is connected with the first network equipment and is to be remotely accessed is added through the super remote proxy function, the remote access terminal can initiate a remote access request to the cloud server through the jump link, after the first network equipment receives the remote access request sent by the cloud server, the configuration information of the corresponding target equipment is found according to the unique identification code field, and the proxy request is initiated by using the configuration information of the target equipment.
Further, the first network device comprises a router, gateway or switch capable of providing address assignment.
Further, the destination device in the local area network which does not support the remote websrv access comprises a second network device, or a second network device and a terminal device, wherein the terminal device comprises an AP device, a camera, a NAS server or an internal web server, and the second network device comprises a switch provided with a plurality of downlink connection ports for expanding the number of the terminal devices.
Further, the first network device is arranged at an outlet of the local area network or is nested in the multi-layer local area network, when the first network device is nested in the local area network, the first network device is a first upper-level device of the destination device in the local area network, and the address of the destination device is distributed by the first network device.
Compared with the prior art, the invention has the beneficial effects that: after the method and the device are used, a remote access mode can be provided by carrying the device proxy local device of the invention under the condition that the intranet device is not required to support remote access.
After the method and the device are used, all devices are not required to be connected with the server, only one connection is required to be established by the proxy device, and the resource occupation of the cloud server is reduced.
Drawings
In order to more clearly illustrate the invention or the solutions of the prior art, a brief description will be given below of the drawings used in the description of the embodiments or the prior art, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings can be obtained from them without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a prior art remote access deployment;
FIG. 2 is a schematic diagram of a remote access system according to an embodiment of the present invention;
FIG. 3 is a flow chart of the method of the present invention;
FIG. 4 is a diagram of an additional remote access device configuration interface;
fig. 5 is a super remote interface diagram after adding a destination device is successful.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs; the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention; the terms "comprising" and "having" and any variations thereof in the description of the invention and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the invention may be combined with other embodiments.
In order to enable those skilled in the art to better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 2, the present invention aims to provide a new solution for implementing a network scenario that a device (such as an AP, a camera, a switch, a NAS, etc.) does not support remote access but needs to be remotely accessed by adding an access agent to a router device that has been accessed remotely, directly accessing a web interface of an intranet device and an upper device thereof through the remote agent, without supporting the remote access function for a remote web server that is reachable by a router.
The invention relates to a remote access system, which is characterized in that from the perspective of a remote architecture, the whole remote access system consists of a first network device supporting remote web access, a plurality of target devices which are connected with the first network device and do not support remote access, a cloud server for device management and a remote access terminal for remote access, wherein the four parts together complete remote access, the first network device, the plurality of target devices connected with the first network device and the first network device thereof are all arranged in a local area network 2, a remote access terminal of a user A is arranged in another local area network 1, and the user A realizes the access of the target devices which do not support remote access function in the local area network 2 through the cloud server. The treatment process of the invention is as follows:
1. the first network device (in this example, a router) at the device end of the local area network 2 obtains the information of the device of the object (in this example, AP device, camera, NAS server, intranet web server, etc.) hung below the first network device (in this example, a switch) through the second network device (in this example, a switch) of the embedded client, and adds the information of the corresponding protocol and port, etc. at the super remote interface, so that the access can be directly jumped through the jump link.
2. And the cloud server forwards the request to the equipment which is accessed to the cloud service and corresponds to the equipment according to the link ID of the request.
3. After the router equipment receives the request, the configuration information of the corresponding equipment is found according to the ID information, and the information of the equipment is used for initiating an agent request to realize remote access agent.
The second network device in this example also belongs to the destination device, and the function of the second network device switch is mainly to expand the functions of port/POE power supply, so as to implement the connection and remote communication functions of the multi-terminal device, and it may also apply for the address of the local area network, where the local area network address is uniformly distributed by the router.
The first network device in this example is used for establishing connection with the cloud server, so that the first network device is not limited to being placed at an outlet and can be used for proxy, and is nested in a multi-layer local area network, and the first network device can also be used for proxy.
If the router is placed in a nested local area network, the router is the first superior device of the destination device relative to the destination device, the address of the destination device is distributed by the router device of the proxy, and the proxy router forwards the address to the destination device when the remote access is received.
As shown in fig. 3, in the remote access process of the present invention, the first network device (which may be a gateway or an exchange) with the capability of the super remote proxy is a bridge connecting the user and the intranet destination device, and through the super remote proxy of the device, the user forwards the remote access of the intranet device of the device, and returns the data returned by the intranet device to the access user, so that the user achieves the same effect as the web server of the access device of the local area network, and does not need any modification and change of the intranet device. Specifically, the method for providing remote access for the equipment which does not support the remote access service comprises the following steps:
s1: and adding destination device information which is connected with the first network device and is to realize remote access through a super remote proxy function.
The destination device information in this example includes information such as protocol, port, and IP address, where the IP address may be manually IP or automatically matched from a DHCP list via a MAC address.
The newly added remote access device configuration interface and the added super remote interface are respectively shown in fig. 4 and fig. 5, and the newly added remote access device configuration interface of the present example supports the user to configure http/https protocol, supports the user to configure the custom port number when the server port is custom, supports the DHCP list IP synchronization through the MAC address, and also supports the manual IP address.
S2: after the addition is successful, the first network equipment generates a unique identification code for the target equipment in the local area network, and then the unique identification code is spliced with the remote access link of the first network equipment to generate a unique access link corresponding to the target equipment;
s3: after the first network device receives the access request of the cloud server, analyzing whether the access link has a unique identification field, if so, executing a step S4, and if not, accessing the first network device;
s4: searching whether corresponding configuration information exists or not according to the analyzed unique identification code field, if so, replacing a request head corresponding to the target equipment according to the configuration information, and initiating a proxy request to the target equipment in the local area network;
s5: and after receiving the response returned by the target equipment, the first network equipment replaces the response head of the target equipment with the related information of the original access request and returns the information to the cloud server.
In step S2 of this example, the unique identification code is an ID prefix, after generating the ID prefix corresponding to the destination device, the first network device generates a jump link to a display operation interface of the remote access terminal, and after the remote access terminal obtains the jump operation of the user, the remote access terminal sends the remote access request to the cloud server.
When a user clicks a jump link of a remote access terminal, the operation flow of the jump link is almost similar to that of the first network device which directly operates, after the cloud server receives the remote access request, the first network device which is correspondingly accessed to the cloud server is found by matching a link ID field, the request link is filled in a host field which is forwarded to a router request head, and the jump link is forwarded to the first network device through a tunnel established between the first network device and the cloud server.
After the first network device takes the data, if the ID of the destination device does not exist, the first network device is described as accessing the first network device, if the ID of the destination device is carried, the first network device is described as needing to be forwarded to the local area network destination device corresponding to the ID, therefore, the first network device replaces a request head according to the configuration information, and then the modified access request is forwarded to the corresponding destination device.
After the method and the device are used, all devices are not required to be connected with the server, only one connection is required to be established by the proxy device, and the resource occupation of the cloud server is reduced.
The above embodiments are preferred embodiments of the present invention, and are not intended to limit the scope of the present invention, which includes but is not limited to the embodiments, and equivalent modifications according to the present invention are within the scope of the present invention.

Claims (9)

1. A method for providing remote access to a device that does not support a remote access service, the method being implemented based on a first network device having a super remote proxy function connected to a router within a local area network, comprising the steps of:
s1: adding destination equipment information which is connected with the first network equipment and is to be remotely accessed through a super remote proxy function;
s2: after the addition is successful, the first network equipment generates a unique identification code for the target equipment in the local area network, and then the unique identification code is spliced with the remote access link of the first network equipment to generate a unique access link corresponding to the target equipment;
s3: after the first network device receives the access request of the cloud server, analyzing whether the access link has a unique identification field, if so, executing a step S4, and if not, accessing the first network device;
s4: searching whether corresponding configuration information exists or not according to the analyzed unique identification code field, if so, replacing a request head corresponding to the target equipment according to the configuration information, and initiating a proxy request to the target equipment in the local area network;
s5: and after receiving the response returned by the target equipment, the first network equipment replaces the response head of the target equipment with the related information of the original access request and returns the information to the cloud server.
2. The method for providing remote access by a device that does not support a remote access service according to claim 1, wherein: in step S1, the destination device information includes a protocol, a port, and an IP address.
3. The method for providing remote access by a device that does not support a remote access service according to claim 1, wherein: in step S2, the unique identification code is an ID prefix, after the ID prefix corresponding to the destination device is generated, the first network device generates a jump link to a display operation interface of the remote access terminal, and after the remote access terminal obtains the jump operation of the user, the remote access terminal sends the remote access request to the cloud server.
4. A method for providing remote access to a device that does not support a remote access service according to claim 3, wherein: after the cloud server receives the remote access request, the first network device which is correspondingly accessed to the cloud server is found through matching the link ID field, the request link is filled in a host field which is forwarded to a router request head, and the request link is forwarded to the first network device through a tunnel established between the first network device and the cloud server.
5. A remote access system for implementing a method of providing remote access to a device not supporting a remote access service as claimed in any one of claims 1 to 4, characterized by: the remote network device comprises first network equipment supporting remote web access, a cloud server for equipment management and a remote access terminal, wherein the downlink interfaces of the first network equipment are respectively connected with a plurality of target equipment, and the cloud server is respectively connected with the uplink interfaces of the first network equipment and the remote access terminal in a remote network.
6. The remote access system of claim 5, wherein: after the information of the target equipment which is connected with the first network equipment and is to be remotely accessed is added through the super remote proxy function, the remote access terminal can initiate a remote access request to the cloud server through the jump link, after the first network equipment receives the remote access request sent by the cloud server, the configuration information of the corresponding target equipment is found according to the unique identification code field, and the proxy request is initiated by using the configuration information of the target equipment.
7. The remote access system of claim 5, wherein: the first network device includes a router, gateway or switch capable of providing address assignment.
8. The remote access system of claim 5, wherein: the destination device which does not support the remote websrv access in the local area network comprises second network equipment or second network equipment and terminal equipment, wherein the terminal equipment comprises AP equipment, a camera, a NAS server or an internal web server, and the second network equipment comprises a switch which is provided with a plurality of downlink connection ports and is used for expanding the number of the terminal equipment.
9. The remote access system of claim 5, wherein: the first network equipment is arranged at an outlet of the local area network or is nested in the multi-layer local area network, when the first network equipment is nested in the local area network, the first network equipment is first superior equipment of target equipment in the local area network, and the address of the target equipment is distributed by the first network equipment.
CN202311573330.5A 2023-11-23 2023-11-23 Method and system for providing remote access for equipment not supporting remote access service Pending CN117459582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311573330.5A CN117459582A (en) 2023-11-23 2023-11-23 Method and system for providing remote access for equipment not supporting remote access service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311573330.5A CN117459582A (en) 2023-11-23 2023-11-23 Method and system for providing remote access for equipment not supporting remote access service

Publications (1)

Publication Number Publication Date
CN117459582A true CN117459582A (en) 2024-01-26

Family

ID=89587535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311573330.5A Pending CN117459582A (en) 2023-11-23 2023-11-23 Method and system for providing remote access for equipment not supporting remote access service

Country Status (1)

Country Link
CN (1) CN117459582A (en)

Similar Documents

Publication Publication Date Title
KR101023380B1 (en) Apparatus and method for selecting an access interface dependant on the services offered in the available networks
CN101335666B (en) Configuration transmitting method, access control equipment and access point
US8787200B2 (en) Device, system, and method for automatically configuring application terminals in home network
CN106878135B (en) Connection method and device
US11218956B2 (en) Network management method and system
CN105430059A (en) Smart client routing
US20090233609A1 (en) Touchless Plug and Play Base Station
CN104902532A (en) A method and system for automatically accessing wireless local area network
US20030035399A1 (en) Apparatus and method for data communication
CN105635327A (en) Method and device of address distribution
EP1947818A1 (en) A communication system and a communication method
US10390217B2 (en) Wireless configuration of wireless distribution system (WDS) Wi-Fi range extenders using non-Wi-Fi-wireless communication channels
CN108270591B (en) Method for configuring network equipment and related equipment
CN102752752B (en) base station maintenance method and apparatus
CN107769979B (en) Method for synchronous configuration between routers
CN113132218B (en) Home gateway access method, device, system processor and storage medium
TW200304741A (en) Apparatus and method for managing cable modem based on Web
CN105791005A (en) Transmission control protocol (TCP) connection based method and apparatus for implementing remote operation and maintenance management
CN117459582A (en) Method and system for providing remote access for equipment not supporting remote access service
CN105516121B (en) The method and system that AC is communicated with AP in WLAN
CN112714202B (en) Equipment configuration method and device
CN112866309B (en) Communication method and device
TWI511496B (en) System of wireless communication, and method of management
CN114338633B (en) Method and system for remotely connecting Linux server
RU2791001C1 (en) Testing method for checking the process of remote initialization of embedded sim cards and an active testing system that provides such a testing 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