CN114928598A - System and method for remotely managing and debugging router - Google Patents

System and method for remotely managing and debugging router Download PDF

Info

Publication number
CN114928598A
CN114928598A CN202210311271.3A CN202210311271A CN114928598A CN 114928598 A CN114928598 A CN 114928598A CN 202210311271 A CN202210311271 A CN 202210311271A CN 114928598 A CN114928598 A CN 114928598A
Authority
CN
China
Prior art keywords
router
module
server
equipment
information
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
CN202210311271.3A
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.)
Huizhou Gaoshengda Technology Co Ltd
Original Assignee
Huizhou Gaoshengda 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 Huizhou Gaoshengda Technology Co Ltd filed Critical Huizhou Gaoshengda Technology Co Ltd
Priority to CN202210311271.3A priority Critical patent/CN114928598A/en
Publication of CN114928598A publication Critical patent/CN114928598A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

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

Abstract

The invention relates to the technical field of routers, and discloses a method for remotely managing and debugging a router, which comprises the following steps: the method comprises the following steps: acquiring the type information of the router using equipment from the server through a first acquisition module, and performing a second step: the type information of the router using equipment is provided by the judging module according to the server. The system and the method for remotely managing and debugging the router are characterized in that a second acquisition module is arranged, the second acquisition module can distinguish that the router using equipment is a public network I P router and a private network I P router, when a user remotely manages the public network I P router through a control terminal, the server provides a public network I P address of the router for the control terminal equipment, the control terminal equipment can directly access and manage the public network I P router according to the public network I P address information, and message forwarding through the server is not needed, so that the expense and the cost of the server can be effectively reduced.

Description

System and method for remotely managing and debugging router
Technical Field
The invention relates to the technical field of routers, in particular to a system and a method for remotely managing and debugging a router.
Background
The router is a hardware device connecting two or more networks, functions as a gateway between the networks, is a special intelligent network device which reads the address in each data packet and then determines how to transmit, and can understand different protocols, such as an Ethernet protocol used by a certain local area network and a TCP/IP protocol used by the Internet, so that the router can analyze the destination address of the data packet transmitted by various different types of networks and convert the address of a non-TCP/IP network into a TCP/IP address or vice versa; and then each data packet is transmitted to a designated position according to the selected routing algorithm according to the optimal route, so that a router can connect a non-TCP/IP network to the Internet, the router can also be called as gateway equipment, the router is a network layer relay task and a third layer relay task which are completed in OSI/RM, and stores and forwards the data packets between different networks, and the data packets are mainly transmitted to another subnet in different logic separated networks and can be processed through the routing function of the router.
The application of the currently marketed routing router is quite extensive, in network communication, the routing router has the functions of judging network addresses and selecting IP paths, a flexible link system can be constructed in a plurality of network environments, each subnet is linked through different data packets and media access modes, the routing router only receives information transmitted by a source station or other relevant routing routers in operation, the routing router is an interconnection device based on a network layer, but most of the communication of the routing router has requirements on ports and is easily limited by a firewall, the possibility of communication unexpected interruption is caused, the transmitted data is byte level, the transmitted data needs to be analyzed and converted into application level data, multithreading and large concurrency are relatively complex to realize, all messages between the terminal device and the routing router need to be forwarded through a server, and with the gradual increase of the number of the routing routers, with increasing overhead and cost to the server.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a system and a method for remotely managing and debugging a router, which have the advantage of convenient use, and solve the problems that the communication of most routers has requirements on ports, is easily limited by a firewall and causes the possibility of unexpected communication interruption, transmitted data is byte-level, the transmitted data needs to be analyzed and converted into application-level data, and multithreading and large concurrency are relatively complex to realize.
(II) technical scheme
In order to achieve the purpose of convenient use, the invention provides the following technical scheme: a method for remotely managing a commissioning router, comprising the steps of:
the method comprises the following steps: acquiring the type information of the router using equipment from the server through a first acquisition module;
step two: judging whether the router using equipment is a public network IP router or a private network IP router according to the type information of the router using equipment provided by the server through a judging module;
step three: the method comprises the steps that when a router is a public network IP router, public network IP address information of the router is obtained from a server through a second obtaining module;
step four: a first initiating module in a router management module directly initiates an access request to a router for public network IP address information, and a first receiving module receives a processing result returned by the router, so as to directly perform remote access and management on the router;
step five: and when the router is a private network IP router, a second initiating module in the router management module initiates an access request to the router through the server, and receives a processing result forwarded by the router through a second receiving module.
Preferably, the system comprises a router body, a server and a control terminal, wherein the router body comprises an equipment authentication module, a detection module, a communication module and a configuration validation module, the server comprises a user management module, an equipment management module, an association module and a queue management module, and the control terminal comprises a client, an equipment state module and an operation management module.
Preferably, the device authentication module is configured to authenticate and bind the used device, and the detection module is configured to detect whether the used device can perform device authentication and binding, and check whether the process of the communication module can operate normally.
Preferably, the communication module is configured to send an HTTP request to the server for the device status and the configuration information used by the current router body, and the configuration management module is configured to process the HTTP request sent by the communication module, parse data returned by the HTTP request, and validate the configuration by using a provided functional API.
Preferably, the device management module is configured to maintain and manage the bound used device information, and the queue management module is configured to process management command information of each terminal and an HTTP request of the communication module.
Preferably, the association control module is configured to receive a request for using device binding and unbinding applied by the router body, and the client is configured to collect account information input by a user and initiate an application to the server API.
Preferably, the device status module is used for the user of the client to check the status API of the server to obtain the latest device information display terminal.
Preferably, the operation management module is configured to collect configuration information of the user router, send an application to an API provided by the server-side device management module, synchronize the router configuration management information, and wait for the router body to execute.
(III) advantageous effects
Compared with the prior art, the invention provides a system and a method for remotely managing and debugging a router, which have the following beneficial effects:
1. the system and the method for remotely managing and debugging the router are characterized in that a second acquisition module is arranged, the type information of the equipment used by the router is acquired from a server through a first acquisition module, then the judging module judges whether the router using equipment is a public network IP router or a private network IP router according to the type information of the router using equipment provided by the server, and then the second obtaining module can distinguish whether the router using equipment is the public network IP router or the private network IP router, when a user remotely manages the public network IP router through the control terminal, the server provides the public network IP address of the router for the control terminal device, the control terminal device can directly access and manage the public network IP router according to the public network IP address information, and message forwarding through the server is not needed, so that the expense and the cost of the server can be effectively reduced.
2. The system and method for remotely managing and debugging the router, which authenticates and binds the used equipment by setting an equipment authentication module, detects whether the used equipment can be authenticated and bound by a detection module, checks whether the process of a communication module can normally operate, sends an HTTP request to a server according to the equipment state and configuration information used by the current router body by the communication module, processes the response of the communication module and analyzes the data returned by the response by a configuration validation module, validates the configuration by using a provided functional API (application program interface), has stronger universality, maintains and manages the bound used equipment information by the equipment management module, processes the management command information of each terminal and the HTTP request of the communication module by a queue management module, receives the request for binding and unbinding the used equipment applied by the router body by an association control module, the client collects the account information input by the user, initiates an application to the server API, and the equipment status module is used for the user of the client to check the status API of the server to obtain the latest equipment information display terminal, the operation management module is used for collecting the configuration information of the user router, sending an application to an API provided by the server-side equipment management module, synchronizing the configuration management information of the router, waiting for the execution of the router body, effectively preventing the omission or confusion of the router processing caused by the condition of a plurality of commands at the same time, having higher reliability of information processing, and the HTTP communication is based on the universal port 80 to avoid the communication fault caused by the limitation of a firewall, and the communication data format uses a mature and extensive JSON data format, the expansion is easier, the server has a large number of ready-made open-source high concurrent processing frameworks and schemes, and the defect that SOCKET application is not good for high concurrent processing is avoided.
Drawings
FIG. 1 is a block flow diagram of the present invention;
FIG. 2 is a schematic view of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, a method for remotely managing a commissioning router includes the steps of:
the method comprises the following steps: acquiring type information of equipment used by the router from a server through a first acquisition module;
step two: judging whether the router using equipment is a public network IP router or a private network IP router by a judging module according to the type information of the router using equipment provided by the server;
step three: the second acquisition module acquires the public network IP address information of the router from the server when the router is a public network IP router;
step four: a first initiating module in the router management module directly initiates an access request to the router for the IP address information of the public network, and a first receiving module receives a processing result returned by the router, so as to directly perform remote access and management on the router;
step five: and when the router is a private network IP router, a second initiating module in the router management module initiates an access request to the router through the server, and receives a processing result forwarded by the router through a second receiving module.
Through setting up the second and obtaining the module, the second obtains the module and can distinguish that the router uses the equipment to be public network IP router and private network IP router, when the user carries out remote management to public network IP router through control terminal, the server will provide the public network IP address of router to control terminal equipment, control terminal equipment just can directly visit and manage public network IP router according to public network IP address information, need not carry out the message through the server and forward, thereby can reduce the expense and the cost of server effectively.
In case implementation, the system comprises a router body, a server and a control terminal, wherein the router body comprises an equipment authentication module, a detection module, a communication module and a configuration validation module, the server comprises a user management module, an equipment management module, an association module and a queue management module, and the control terminal comprises a client, an equipment state module and an operation management module.
In case implementation, the device authentication module is used for authenticating and binding used devices, the detection module is used for detecting whether the used devices can be authenticated and bound and checking whether the communication module process can normally operate, the communication module is used for sending the device state and configuration information used by the current router body to the server, the configuration management module is used for processing the HTTP sending request of the communication module, analyzing data returned by the HTTP sending request and enabling configuration to take effect by using the provided functional API.
In case implementation, the device management module is used for maintaining and managing bound used device information, the queue management module is used for processing management command information of each terminal and an HTTP request of the communication module, the association control module is used for receiving a request for binding and unbinding used devices applied by the router body, the client is used for collecting account information input by a user and initiating an application to the server API, the device state module is used for the user of the client to check the state API of the server to obtain a latest device information display terminal, the operation management module is used for collecting configuration information of the user router and sending an application to the API provided by the server device management module, the router is synchronized with the configuration management information, and the router body is ready to execute.
By arranging each module in the router body, the server and the control terminal, the omission or disorder of the router processing caused by the condition of a plurality of commands at the same time is effectively prevented, the reliability of information processing is higher, HTTP communication is based on the universal port 80, the communication fault caused by the limitation of a firewall is avoided, the communication data format is mature and wide in JSON data format, the expansion is easier, the server has a large number of ready-made high-concurrency processing frames and schemes, and the defect that SOCKET application is not strong in high-concurrency processing is avoided.
In summary, the system and method for remotely managing and debugging the router acquire the type information of the device used by the router from the server through the first acquisition module by setting the second acquisition module, then the judging module judges whether the router using equipment is a public network IP router or a private network IP router according to the type information of the router using equipment provided by the server, and then the second obtaining module can distinguish whether the router using equipment is the public network IP router or the private network IP router, when a user remotely manages the public network IP router through the control terminal, the server provides the public network IP address of the router for the control terminal device, the control terminal device can directly access and manage the public network IP router according to the public network IP address information, and message forwarding through the server is not needed, so that the expense and the cost of the server can be effectively reduced.
And, authenticate and bind the apparatus used through setting up the authentication module of the apparatus, detect whether the apparatus used can carry on the apparatus authentication and bind through the detection module, and check whether the communication module process can run normally, send the apparatus state and configuration information used in the body of the present router to the server through the communication module, through disposing the valid module, process the response of the communication module and analyze the data returned in response, make the configuration valid by using the functional API offered, the commonality is stronger, maintain and manage the information of using the apparatus already bound through the apparatus management module, process the management command information of each terminal and HTTP request of the communication module through the queue management module, receive the request that the apparatus of using that the body of the router applies for binds and unbinds through the association control module, collect the account information that users input through the customer end, the method comprises the steps of initiating an application to a server side API, checking the state API of the server side by a user of a client side through a device state module to obtain a latest device information display terminal, collecting configuration information of a user router through an operation management module, sending the application to the API provided by the server side device management module, synchronizing the configuration management information of the router, and executing a router body to effectively prevent missing or disorder of router processing caused by the condition of multiple commands at the same time, wherein the information processing reliability is higher, HTTP communication is based on a universal port 80, communication faults caused by the limitation of a firewall are avoided, the communication data format is mature and wide in JSON data format, the expansion is easier, the server has a large number of ready-made high-concurrency processing frames and schemes, and the defect that SOCKET application is not capable of processing high concurrency is avoided.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A method for remotely managing a commissioning router, comprising the steps of:
the method comprises the following steps: acquiring the type information of the router using equipment from the server through a first acquisition module;
step two: judging whether the router using equipment is a public network IP router or a private network IP router according to the type information of the router using equipment provided by the server through a judging module;
step three: when the router is a public network IP router, the second obtaining module obtains the address information of the public network I P of the router from the server;
step four: directly initiating an access request to a router through a first initiating module in a router management module to the public network IP address information, and receiving a processing result returned by the router through a first receiving module to directly perform remote access and management on the router;
step five: and when the router is a private network IP router, a second initiating module in the router management module initiates an access request to the router through the server, and receives a processing result forwarded by the router through a second receiving module.
2. A system for remotely managing a commissioning router, characterized by: the router comprises a router body, a server and a control terminal, wherein the router body comprises an equipment authentication module, a detection module, a communication module and a configuration validation module, the server comprises a user management module, an equipment management module, a correlation module and a queue management module, and the control terminal comprises a client, an equipment state module and an operation management module.
3. A system for remotely managing a commissioning router as recited in claim 2, wherein: the device authentication module is used for authenticating and binding the used device, and the detection module is used for detecting whether the used device can be authenticated and bound and checking whether the process of the communication module can normally run.
4. A system for remotely managing a commissioning router as recited in claim 2, wherein: the communication module is used for sending the equipment state and the configuration information used by the current router body to the server, the configuration management module is used for processing the HTTP sending request of the communication module, analyzing the data returned by the HTTP sending request, and enabling the configuration to take effect by utilizing the provided functional API.
5. A system for remotely managing a commissioning router as recited in claim 2, wherein: the device management module is used for maintaining and managing the bound using device information, and the queue management module is used for processing the management command information of each terminal and the HTTP request of the communication module.
6. A system for remotely managing a commissioning router according to claim 2, wherein: the association control module is used for receiving a request for binding and unbinding the use equipment applied by the router body, and the client is used for collecting account information input by a user and initiating an application to the server API.
7. A system for remotely managing a commissioning router as recited in claim 2, wherein: the equipment state module is used for enabling a user of the client to check the state API of the server to obtain the latest equipment information display terminal.
8. A system for remotely managing a commissioning router as recited in claim 2, wherein: the operation management module is used for collecting configuration information of the user router, sending an application to an API (application programming interface) provided by the server-side equipment management module, synchronizing the router configuration management information and waiting for the router body to execute.
CN202210311271.3A 2022-03-28 2022-03-28 System and method for remotely managing and debugging router Pending CN114928598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210311271.3A CN114928598A (en) 2022-03-28 2022-03-28 System and method for remotely managing and debugging router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210311271.3A CN114928598A (en) 2022-03-28 2022-03-28 System and method for remotely managing and debugging router

Publications (1)

Publication Number Publication Date
CN114928598A true CN114928598A (en) 2022-08-19

Family

ID=82804351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210311271.3A Pending CN114928598A (en) 2022-03-28 2022-03-28 System and method for remotely managing and debugging router

Country Status (1)

Country Link
CN (1) CN114928598A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115473883A (en) * 2022-09-09 2022-12-13 江苏银河数字技术有限公司 System and method for remotely managing router file by mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120162445A1 (en) * 2010-12-22 2012-06-28 Electronics And Telecommunications Research Institute Virtual tunnel router, ip camera management server and location-based ip camera service method
CN102752149A (en) * 2012-07-18 2012-10-24 贝尔特物联技术无锡有限公司 4G (The Fourth Generation Telecommunication) network management system
CN105245359A (en) * 2015-09-07 2016-01-13 上海斐讯数据通信技术有限公司 Remote router management method, system and device
CN105407172A (en) * 2015-12-15 2016-03-16 南京途牛科技有限公司 Router remote management system based on hypertext transport protocol (HTTP)
US20170279744A1 (en) * 2015-05-11 2017-09-28 Beijing Vrv Software Corporation Limited New Instant Messaging(IM) routing method and router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120162445A1 (en) * 2010-12-22 2012-06-28 Electronics And Telecommunications Research Institute Virtual tunnel router, ip camera management server and location-based ip camera service method
CN102752149A (en) * 2012-07-18 2012-10-24 贝尔特物联技术无锡有限公司 4G (The Fourth Generation Telecommunication) network management system
US20170279744A1 (en) * 2015-05-11 2017-09-28 Beijing Vrv Software Corporation Limited New Instant Messaging(IM) routing method and router
CN105245359A (en) * 2015-09-07 2016-01-13 上海斐讯数据通信技术有限公司 Remote router management method, system and device
CN105407172A (en) * 2015-12-15 2016-03-16 南京途牛科技有限公司 Router remote management system based on hypertext transport protocol (HTTP)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115473883A (en) * 2022-09-09 2022-12-13 江苏银河数字技术有限公司 System and method for remotely managing router file by mobile terminal

Similar Documents

Publication Publication Date Title
US10009230B1 (en) System and method of traffic inspection and stateful connection forwarding among geographically dispersed network appliances organized as clusters
US7318100B2 (en) Cooperative proxy auto-discovery and connection interception
JP3636399B2 (en) Protocol conversion system and protocol conversion method
US8938553B2 (en) Cooperative proxy auto-discovery and connection interception through network address translation
US7782877B2 (en) Network-based dedicated backup service
US20080320154A1 (en) Cooperative proxy auto-discovery and connection interception
US20120257529A1 (en) Computer system and method of monitoring computer system
WO2011093228A1 (en) Front end system and front end processing method
US9094330B2 (en) Data transport system and control method of data transport system
JP2006262193A (en) Controller, packet transferring method, and packet processor
CN101471822A (en) Method and system for locating network fault
CN107623752B (en) Network management method and device based on link layer
FI123673B (en) Method, system, and element for general-purpose traffic management and communications routing
CN114928598A (en) System and method for remotely managing and debugging router
WO2011029241A1 (en) Method, system and router for route processing
JP4532253B2 (en) Frame transfer apparatus and frame loop suppression method
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
CN101527681B (en) Method for processing uplink message, device and system thereof
CN110381007B (en) TCP acceleration method and device
US20060285498A1 (en) Broadcast traceroute
Cisco Troubleshooting Dial Access to MPLS VPN
Cisco Commands: debug serial interface through debug tacacs events
Cisco Debug Commands (aaa - ip)
Cisco Debug Commands
Cisco Debug Commands

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