CN105703947A - Method for remotely debugging router, server, and router - Google Patents
Method for remotely debugging router, server, and router Download PDFInfo
- Publication number
- CN105703947A CN105703947A CN201610032951.6A CN201610032951A CN105703947A CN 105703947 A CN105703947 A CN 105703947A CN 201610032951 A CN201610032951 A CN 201610032951A CN 105703947 A CN105703947 A CN 105703947A
- Authority
- CN
- China
- Prior art keywords
- router
- server
- debugging
- log
- address
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a method for remotely debugging a router, a server, and a router. The method comprises steps that the server sends a remote debugging command to a selected router; the router executes the remote debugging command, generates a debugging log, and uploads the debugging log to the server; and the server, according to the debugging log, determines a fault of the router so that the server may remotely debug the router, acquires and locally analyzes the debugging log, and prevents a case that unimportant log information is acquired.
Description
Technical field
The present invention relates to communication technical field, particularly relate to method and server, the router of a kind of remote debugging router。
Background technology
Along with popularizing of the Internet, smart machine initially enters huge numbers of families, and intelligent router, as the access entrance of home intelligent equipment, serves the effect of remote control center。But when router goes wrong time, how intelligent router server business carries out the investigation of router issue, it it is a headachy problem。Prior art runs into router and there is fault, only by router binding domain name, and binding domain name needs user manually to bind, then manager is according to domain name Telnet router, check the log pattern of router, but this log information has certain length limitation, it is impossible to see all of log information, it is possible to cause that important log information is lost。
Summary of the invention
The embodiment of the present invention provides a kind of method of remote debugging router and server, router, with solve router use go wrong time, it is impossible to router is carried out remote debugging, it is impossible to capture the problem that debugging log carries out local analytics。
On the one hand, it is provided that a kind of method of remote debugging router, described method includes:
Server sends remote debugging order to selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server;
Described server receives the described debugging log that described router sends;
Described server is according to described debugging log, it is determined that the fault of described router。
Preferably, described server sends before remote debugging order to selected router, and described method also includes:
Described server receives the heartbeat request that described router sends according to address and the port numbers of described server, and described heartbeat request includes the address of described router, port numbers and mark;
Described server, according to the address of described router, port numbers and mark, verifies the identity of described router;
If being verified, the heart time of router described in described server record;
Described server sends heart beating feedback message to described router。
Preferably, described method also includes:
Described server receives the request of user's selected router at back-stage management interface and the remote debugging order of input。
On the other hand, it is provided that a kind of method of remote debugging router, described method includes:
Router receives the remote debugging order that server sends;
Described router performs described remote debugging order, generates debugging log;
Described router uploads described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
Preferably, described method also includes:
Described router is according to the address of described server and port numbers, heartbeat request is sent to described server, described heartbeat request includes the address of described router, port numbers and mark, so that the address of router, port numbers and mark described in described server, verifies the identity of described router;
Described router receives the heart beating feedback message that described server sends。
Another aspect, it is provided that a kind of server, described server includes:
Transmitting element, for sending remote debugging order to selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server;
Receive unit, for receiving the described debugging log that described router sends;
Analytic unit, for according to described debugging log, it is determined that the fault of described router。
Preferably, described reception unit is additionally operable to receive the heartbeat request that described router sends according to address and the port numbers of described server, and described heartbeat request includes the address of described router, port numbers and mark;
Described server also includes:
Authentication unit, for according to the address of described router, port numbers and mark, verifying the identity of described router;
Record unit, if being verified for described authentication unit, records the heart time of described router;
Described transmitting element is additionally operable to send heart beating feedback message to described router。
Preferably, described reception unit is additionally operable to:
Receive the request of user's selected router at back-stage management interface and the remote debugging order of input。
Another aspect, it is provided that a kind of router, described router includes:
Receive unit, for receiving the remote debugging order that server sends;
Performance element, is used for performing described remote debugging order, generates debugging log;
Transmitting element, is used for uploading described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
Preferably, described transmitting element is additionally operable to the address according to described server and port numbers, heartbeat request is sent to described server, described heartbeat request includes the address of described router, port numbers and mark, so that the address of router, port numbers and mark described in described server, verify the identity of described router;
Described reception unit is additionally operable to receive the heart beating feedback message that described server sends。
Implement method and server, the router of a kind of remote debugging router that the embodiment of the present invention provides, have the advantages that
Server sends remote debugging order to selected router, router performs remote debugging order, generate debugging log, and upload debugging log to server, server is according to debugging log, it is determined that the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, it is to avoid obtain the situation less than important log information。
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
The schematic flow sheet of the method for a kind of remote debugging router that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of remote debugging router that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the method for another remote debugging router that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the method for another remote debugging router that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of server that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the another kind of server that Fig. 6 provides for the embodiment of the present invention;
The structural representation of a kind of router that Fig. 7 provides for the embodiment of the present invention。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
The schematic flow sheet of the method for a kind of remote debugging router that Fig. 1 provides for the embodiment of the present invention, the method comprises the following steps:
S101, server sends remote debugging order to selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server。
In the present embodiment, server has established communication and has been connected with router。When server background management personnel need certain router is debugged time, it is possible to this router selected, server sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。After router receives remote debugging order, resolve this remote debugging order, and perform this remote debugging order, generate debugging log, be then uploaded to server。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。
S102, described server receives the described debugging log that described router sends。
S103, described server is according to described debugging log, it is determined that the fault of described router。
Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, server is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
The method of a kind of remote debugging router provided according to embodiments of the present invention, server sends remote debugging order to selected router, router performs remote debugging order, generating debugging log, and upload debugging log to server, server is according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, it is to avoid obtain the situation less than important log information。
The schematic flow sheet of the method for the another kind of remote debugging router that Fig. 2 provides for the embodiment of the present invention, the method comprises the following steps:
S201, the heartbeat request that server receiving router sends according to address and the port numbers of described server, described heartbeat request includes the address of described router, port numbers and mark。
Server is set up communication with router by heartbeat mechanism and is connected。Specifically, during router starting up, read local profile, obtain IP address and the port numbers of server, then start heartbeat service。Router, according to the IP address of server and port numbers, sends heartbeat request to server, and the heartbeat request cycle can set according to demand, for instance can one minute once。This heartbeat request includes the address of router, port numbers and mark。This heartbeat request can also be encrypted。Server receives the heartbeat request that router sends。
S202, described server, according to the address of described router, port numbers and mark, verifies the identity of described router。
After server receives the heartbeat request that router sends, obtain the address of router included by heartbeat request, port numbers and mark, if heartbeat request has been encrypted by router, server also needs the encryption and decryption mechanism consulted according to both sides that heartbeat request is decrypted。Whether server, according to the route-map prestored and the address of the router of acquisition, port numbers and mark, verifies that whether this router is legal, be namely the router of this server admin。
S203, if being verified, the heart time of router described in described server record。
If verifying, this router is legal router, then record the up-to-date heart time of this router, to ensure that server is normal with the communication of router。
S204, described server sends heart beating feedback message to described router。
After server receives the heartbeat request of router, and router identification is verified, and sends heart beating feedback message to router。If router identification checking is not passed through, then server can directly abandon heartbeat data, does not feed back any message to router。
S205, described server receives the request of user's selected router at back-stage management interface and the remote debugging order of input。
Server is provided with back-stage management interface, when server background management personnel need certain router is debugged time, back-stage management personnel's login service device, selects at back-stage management interface want the router of remote debugging and input remote debugging order, then clicks on transmission。
S206, described server sends remote debugging order to described selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server。
Server sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。After router receives remote debugging order, resolve this remote debugging order, and perform this remote debugging order, generate debugging log, be then uploaded to server。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。
S207, described server receives the described debugging log that described router sends。
Server is stored to the storage catalogue corresponding with Router Distinguisher or memory space after receiving the debugging log that router sends。
S208, described server is according to described debugging log, it is determined that the fault of described router。
Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, server is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
The method of a kind of remote debugging router provided according to embodiments of the present invention, server sends remote debugging order to selected router, router performs remote debugging order, generating debugging log, and upload debugging log to server, server is according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, it is to avoid obtain the situation less than important log information;By heartbeat mechanism, router is set up communication with server and is connected;User can select router to be debugged at the back-stage management interface of server and input remote debugging order, conveniently carries out man-machine interaction。
The schematic flow sheet of the method for another remote debugging router that Fig. 3 provides for the embodiment of the present invention, the method comprises the following steps:
S301, router receives the remote debugging order that server sends。
In the present embodiment, server has established communication and has been connected with router。When server background management personnel need certain router is debugged time, it is possible to this router selected, server sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。Router receives this remote debugging order。
S302, described router performs described remote debugging order, generates debugging log。
After router receives remote debugging order, resolve this remote debugging order, and perform this remote debugging order, generate debugging log。
S303, described router uploads described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
Debugging log is uploaded to server by router。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, server is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
The method of a kind of remote debugging router provided according to embodiments of the present invention, router is by receiving the remote debugging order that server sends, perform remote debugging order, generate debugging log, and upload debugging log to server, make the server can according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, avoiding obtaining the situation less than important log information, the fault of router also can be diagnosed timely。
The schematic flow sheet of the method for another remote debugging router that Fig. 4 provides for the embodiment of the present invention, the method comprises the following steps:
S401, router, according to the address of server and port numbers, sends heartbeat request to described server, and described heartbeat request includes the address of described router, port numbers and mark, so that the address of router, port numbers and mark described in described server, verify the identity of described router。
Router is set up communication with server by heartbeat mechanism and is connected。Specifically, during router starting up, read local profile, obtain IP address and the port numbers of server, then start heartbeat service。Router, according to the IP address of server and port numbers, sends heartbeat request to server, and the heartbeat request cycle can set according to demand, for instance can one minute once。This heartbeat request includes the address of router, port numbers and mark。This heartbeat request can also be encrypted。Server receives the heartbeat request that router sends。
After server receives the heartbeat request that router sends, obtain the address of router included by heartbeat request, port numbers and mark, if heartbeat request has been encrypted by router, server also needs the encryption and decryption mechanism consulted according to both sides that heartbeat request is decrypted。Whether server, according to the route-map prestored and the address of the router of acquisition, port numbers and mark, verifies that whether this router is legal, be namely the router of this server admin。If verifying, this router is legal router, then record the up-to-date heart time of this router, to ensure that server is normal with the communication of router。
S402, described router receives the heart beating feedback message that described server sends。
After server receives the heartbeat request of router, and router identification is verified, and sends heart beating feedback message to router。If router identification checking is not passed through, then server can directly abandon heartbeat data, does not feed back any message to router。Router receives the heart beating feedback message that server sends, normal with the communication of server to confirm。
S403, described router receives the remote debugging order that described server sends。
Server sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。
S404, described router performs described remote debugging order, generates debugging log。
After router receives remote debugging order, resolve this remote debugging order, and perform this remote debugging order, generate debugging log。
S405, described router uploads described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
Router uploads debugging log to server。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。Server is stored to the storage catalogue corresponding with Router Distinguisher or memory space after receiving the debugging log that router sends。Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, server is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
The method of a kind of remote debugging router provided according to embodiments of the present invention, router is by receiving the remote debugging order that server sends, perform remote debugging order, generate debugging log, and upload debugging log to server, make the server can according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, avoiding obtaining the situation less than important log information, the fault of router also can be diagnosed timely;By heartbeat mechanism, router is set up communication with server and is connected。
It should be noted that, for aforesaid each embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously。Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention。
The structural representation of a kind of server that Fig. 5 provides for the embodiment of the present invention, this server 1000 includes:
Transmitting element 11, for sending remote debugging order to selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server。
In the present embodiment, server has established communication and has been connected with router。When server background management personnel need certain router is debugged time, it is possible to this router selected, transmitting element 11 sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。After router receives remote debugging order, resolve this remote debugging order, and perform this remote debugging order, generate debugging log, be then uploaded to server。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。
Receive unit 12, for receiving the described debugging log that described router sends。
Analytic unit 13, for according to described debugging log, it is determined that the fault of described router。
Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, analytic unit 13 is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
A kind of server provided according to embodiments of the present invention, server sends remote debugging order to selected router, router performs remote debugging order, generating debugging log, and upload debugging log to server, server is according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, it is to avoid obtain the situation less than important log information。
The structural representation of the another kind of server that Fig. 6 provides for the embodiment of the present invention, this server 2000 includes:
Receiving unit 21, for the heartbeat request that the receiving router address according to described server and port numbers send, described heartbeat request includes the address of described router, port numbers and mark。
Server is set up communication with router by heartbeat mechanism and is connected。Specifically, during router starting up, read local profile, obtain IP address and the port numbers of server, then start heartbeat service。Router, according to the IP address of server and port numbers, sends heartbeat request to server, and the heartbeat request cycle can set according to demand, for instance can one minute once。This heartbeat request includes the address of router, port numbers and mark。This heartbeat request can also be encrypted。Receive unit 21 and receive the heartbeat request that router sends。
Authentication unit 22, for according to the address of described router, port numbers and mark, verifying the identity of described router。
After receiving the heartbeat request that unit 21 receives router transmission, obtain the address of router included by heartbeat request, port numbers and mark, if heartbeat request has been encrypted by router, server also needs the encryption and decryption mechanism consulted according to both sides that heartbeat request is decrypted。Whether authentication unit 22, according to the route-map prestored and the address of the router of acquisition, port numbers and mark, verifies that whether this router is legal, be namely the router of this server admin。
Record unit 23, if being verified for described authentication unit, records the heart time of described router。
If described authentication unit 22 verifies that this router is legal router, then record unit 23 records the up-to-date heart time of this router, to ensure that server is normal with the communication of router。
Transmitting element 24, for sending heart beating feedback message to described router。
After receiving the heartbeat request that unit 21 receives router, and router identification is verified, and transmitting element 24 sends heart beating feedback message to router。If router identification checking is not passed through, then server can directly abandon heartbeat data, does not feed back any message to router。
Described reception unit 21 is additionally operable to the remote debugging order of request and the input receiving user's selected router at back-stage management interface。
Server is provided with back-stage management interface, when server background management personnel need certain router is debugged time, back-stage management personnel's login service device, selects at back-stage management interface want the router of remote debugging and input remote debugging order, then clicks on transmission。
Described transmitting element 24 is additionally operable to send remote debugging order to described selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server。
Transmitting element 24 sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。After router receives remote debugging order, resolve this remote debugging order, and perform this remote debugging order, generate debugging log, be then uploaded to server。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。
Described reception unit 21 is additionally operable to receive the described debugging log that described router sends。
After receiving the debugging log that unit 21 receives router transmission, stored to the storage catalogue corresponding with Router Distinguisher or memory space。
Analytic unit 25, for according to described debugging log, it is determined that the fault of described router。
Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, analytic unit 25 is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
A kind of server provided according to embodiments of the present invention, server sends remote debugging order to selected router, router performs remote debugging order, generating debugging log, and upload debugging log to server, server is according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, it is to avoid obtain the situation less than important log information;By heartbeat mechanism, router is set up communication with server and is connected;User can select router to be debugged at the back-stage management interface of server and input remote debugging order, conveniently carries out man-machine interaction。
The structural representation of a kind of router that Fig. 7 provides for the embodiment of the present invention, this router 3000 includes:
Receive unit 31, for receiving the remote debugging order that server sends。
In the present embodiment, router has established communication and has been connected with server。When server background management personnel need certain router is debugged time, it is possible to this router selected, server sends remote debugging order to selected router, and this remote debugging order is also that management personnel can need programming according to debugging。Receive unit 31 and receive this remote debugging order。
It is connected if router not yet sets up communication with server, sets up communication by heartbeat mechanism between router with server and be connected。Specifically:
Transmitting element 33, for the address according to server and port numbers, sending heartbeat request to described server, described heartbeat request includes the address of described router, port numbers and mark, so that the address of router, port numbers and mark described in described server, verify the identity of described router。
Router is set up communication with server by heartbeat mechanism and is connected。Specifically, during router starting up, read local profile, obtain IP address and the port numbers of server, then start heartbeat service。Router, according to the IP address of server and port numbers, sends heartbeat request to server, and the heartbeat request cycle can set according to demand, for instance can one minute once。This heartbeat request includes the address of router, port numbers and mark。This heartbeat request can also be encrypted。Server receives the heartbeat request that router sends。
After server receives the heartbeat request that router sends, obtain the address of router included by heartbeat request, port numbers and mark, if heartbeat request has been encrypted by router, server also needs the encryption and decryption mechanism consulted according to both sides that heartbeat request is decrypted。Whether server, according to the route-map prestored and the address of the router of acquisition, port numbers and mark, verifies that whether this router is legal, be namely the router of this server admin。If verifying, this router is legal router, then record the up-to-date heart time of this router, to ensure that server is normal with the communication of router。
Described reception unit 31 is additionally operable to receive the heart beating feedback message that described server sends。
After server receives the heartbeat request of router, and router identification is verified, and sends heart beating feedback message to router。If router identification checking is not passed through, then server can directly abandon heartbeat data, does not feed back any message to router。Router receives the heart beating feedback message that server sends, normal with the communication of server to confirm。
Performance element 32, is used for performing described remote debugging order, generates debugging log。
After reception unit 31 receives remote debugging order, performance element 32 resolves this remote debugging order, and performs this remote debugging order, generates debugging log。
Transmitting element 33, is used for uploading described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
Debugging log is uploaded to server by router。Owing to debugging log is carried out what remote debugging order generated, after having performed, namely it is uploaded to server, server will not be made to obtain less than important log information。Owing to this debugging log is the remote debugging order generation that router performs the specific transmission of server, server is according to this debugging log, it is possible to accurately determine the guilty culprit of router。
A kind of router provided according to embodiments of the present invention, router is by receiving the remote debugging order that server sends, perform remote debugging order, generate debugging log, and upload debugging log to server, make the server can according to debugging log, determine the fault of router, thus router can be carried out remote debugging by server, obtain debugging log and carry out local analytics, avoiding obtaining the situation less than important log information, the fault of router also can be diagnosed timely。
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to referring to the associated description of other embodiments。
Through the above description of the embodiments, those skilled in the art is it can be understood that can realize with hardware to the present invention, or firmware realizes, or their compound mode realizes。When implemented in software, it is possible to above-mentioned functions is stored in computer-readable medium or is transmitted as the one or more instructions on computer-readable medium or code。Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to any medium of transmission computer program from a place to another place。Storage medium can be any usable medium that computer can access。As example but be not limited to: computer-readable medium can include random access memory (RandomAccessMemory, RAM), read only memory (Read-OnlyMemory, ROM), EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other optical disc storage CD-ROM), magnetic disk storage medium or other magnetic storage apparatus, or can be used in carrying or store the desired program code with instruction or data structure form can by any other medium of computer access。In addition。Any connection can be suitable become computer-readable medium。Such as, if software is to use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (DigitalSubscriberLine, DSL) or the wireless technology of such as infrared ray, radio and microwave etc from website, server or other remote source, then the wireless technology of coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared ray, wireless and microwave etc include affiliated medium fixing in。As used in the present invention, dish (Disk) and dish (disc) include compression laser disc (CD), laser dish, laser disc, Digital Versatile Disc (DVD), floppy disk and Blu-ray Disc, the duplication data of the usual magnetic of its mid-game, dish then carrys out the duplication data of optics with laser。Above combination above should also be as including within the protection domain of computer-readable medium。
In a word, the foregoing is only the preferred embodiment of technical solution of the present invention, be not intended to limit protection scope of the present invention。All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention。
Claims (10)
1. the method for a remote debugging router, it is characterised in that described method includes:
Server sends remote debugging order to selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server;
Described server receives the described debugging log that described router sends;
Described server is according to described debugging log, it is determined that the fault of described router。
2. the method for claim 1, it is characterised in that described server sends before remote debugging order to selected router, and described method also includes:
Described server receives the heartbeat request that described router sends according to address and the port numbers of described server, and described heartbeat request includes the address of described router, port numbers and mark;
Described server, according to the address of described router, port numbers and mark, verifies the identity of described router;
If being verified, the heart time of router described in described server record;
Described server sends heart beating feedback message to described router。
3. method as claimed in claim 1 or 2, it is characterised in that described method also includes:
Described server receives the request of user's selected router at back-stage management interface and the remote debugging order of input。
4. the method for a remote debugging router, it is characterised in that described method includes:
Router receives the remote debugging order that server sends;
Described router performs described remote debugging order, generates debugging log;
Described router uploads described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
5. method as claimed in claim 4, it is characterised in that described method also includes:
Described router is according to the address of described server and port numbers, heartbeat request is sent to described server, described heartbeat request includes the address of described router, port numbers and mark, so that the address of router, port numbers and mark described in described server, verifies the identity of described router;
Described router receives the heart beating feedback message that described server sends。
6. a server, it is characterised in that described server includes:
Transmitting element, for sending remote debugging order to selected router, so that described router performs described remote debugging order, generates debugging log, and uploads described debugging log to described server;
Receive unit, for receiving the described debugging log that described router sends;
Analytic unit, for according to described debugging log, it is determined that the fault of described router。
7. server as claimed in claim 6, it is characterised in that:
Described reception unit is additionally operable to receive the heartbeat request that described router sends according to address and the port numbers of described server, and described heartbeat request includes the address of described router, port numbers and mark;
Described server also includes:
Authentication unit, for according to the address of described router, port numbers and mark, verifying the identity of described router;
Record unit, if being verified for described authentication unit, records the heart time of described router;
Described transmitting element is additionally operable to send heart beating feedback message to described router。
8. server as claimed in claims 6 or 7, it is characterised in that described reception unit is additionally operable to:
Receive the request of user's selected router at back-stage management interface and the remote debugging order of input。
9. a router, it is characterised in that described router includes:
Receive unit, for receiving the remote debugging order that server sends;
Performance element, is used for performing described remote debugging order, generates debugging log;
Transmitting element, is used for uploading described debugging log to described server, so that described server is according to described debugging log, it is determined that the fault of described router。
10. router as claimed in claim 9, it is characterised in that:
Described transmitting element is additionally operable to the address according to described server and port numbers, heartbeat request is sent to described server, described heartbeat request includes the address of described router, port numbers and mark, so that the address of router, port numbers and mark described in described server, verify the identity of described router;
Described reception unit is additionally operable to receive the heart beating feedback message that described server sends。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610032951.6A CN105703947A (en) | 2016-01-18 | 2016-01-18 | Method for remotely debugging router, server, and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610032951.6A CN105703947A (en) | 2016-01-18 | 2016-01-18 | Method for remotely debugging router, server, and router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105703947A true CN105703947A (en) | 2016-06-22 |
Family
ID=56226525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610032951.6A Pending CN105703947A (en) | 2016-01-18 | 2016-01-18 | Method for remotely debugging router, server, and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105703947A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933185A (en) * | 2016-06-24 | 2016-09-07 | 上海连尚网络科技有限公司 | Method and device for determining connection abnormity type of router |
CN106506644A (en) * | 2016-11-07 | 2017-03-15 | 深圳市共进电子股份有限公司 | Terminal Debugging message collection method and system |
CN107688300A (en) * | 2017-09-08 | 2018-02-13 | 深圳市盛路物联通讯技术有限公司 | The control method and associated server of a kind of equipment |
CN107800791A (en) * | 2017-10-24 | 2018-03-13 | 海信集团有限公司 | A kind of method and apparatus debugged |
CN107888693A (en) * | 2017-11-21 | 2018-04-06 | 海信集团有限公司 | NB IOT apparatus debugging methods and server |
CN109862583A (en) * | 2019-01-04 | 2019-06-07 | 新华三技术有限公司 | A kind of method and device reporting exception information |
CN110278092A (en) * | 2018-03-13 | 2019-09-24 | 成都市共维科技有限公司 | Router long-range control method and system based on MQTT agreement |
WO2020217157A1 (en) * | 2019-04-26 | 2020-10-29 | International Business Machines Corporation | On-premise and off-premise debugging |
CN112311576A (en) * | 2019-07-31 | 2021-02-02 | 中兴通讯股份有限公司 | OTA upgrade diagnosis method and device, wireless routing equipment and terminal equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050216895A1 (en) * | 2004-03-23 | 2005-09-29 | Tran Hieu T | Method and apparatus for remote debugging of kernel and application software |
US20070067675A1 (en) * | 2005-09-21 | 2007-03-22 | Cisco Technology, Inc. | Method and system for managing failure information |
CN104243210A (en) * | 2014-09-17 | 2014-12-24 | 湖北盛天网络技术股份有限公司 | Method and system for remotely having access to administrative web pages of routers |
CN105007230A (en) * | 2015-08-11 | 2015-10-28 | 上海斐讯数据通信技术有限公司 | System and method for testing multiple wireless routers |
CN105049217A (en) * | 2015-06-17 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | Method and system for controlling debugging interface of intelligent network equipment |
CN105099814A (en) * | 2015-06-19 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Intelligent router fault detection method and device |
CN105187262A (en) * | 2015-10-27 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Router upgrading method and system |
-
2016
- 2016-01-18 CN CN201610032951.6A patent/CN105703947A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050216895A1 (en) * | 2004-03-23 | 2005-09-29 | Tran Hieu T | Method and apparatus for remote debugging of kernel and application software |
US20070067675A1 (en) * | 2005-09-21 | 2007-03-22 | Cisco Technology, Inc. | Method and system for managing failure information |
CN104243210A (en) * | 2014-09-17 | 2014-12-24 | 湖北盛天网络技术股份有限公司 | Method and system for remotely having access to administrative web pages of routers |
CN105049217A (en) * | 2015-06-17 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | Method and system for controlling debugging interface of intelligent network equipment |
CN105099814A (en) * | 2015-06-19 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Intelligent router fault detection method and device |
CN105007230A (en) * | 2015-08-11 | 2015-10-28 | 上海斐讯数据通信技术有限公司 | System and method for testing multiple wireless routers |
CN105187262A (en) * | 2015-10-27 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Router upgrading method and system |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933185A (en) * | 2016-06-24 | 2016-09-07 | 上海连尚网络科技有限公司 | Method and device for determining connection abnormity type of router |
CN106506644A (en) * | 2016-11-07 | 2017-03-15 | 深圳市共进电子股份有限公司 | Terminal Debugging message collection method and system |
CN107688300A (en) * | 2017-09-08 | 2018-02-13 | 深圳市盛路物联通讯技术有限公司 | The control method and associated server of a kind of equipment |
CN107800791B (en) * | 2017-10-24 | 2021-08-17 | 海信集团有限公司 | Debugging method and device |
CN107800791A (en) * | 2017-10-24 | 2018-03-13 | 海信集团有限公司 | A kind of method and apparatus debugged |
CN107888693A (en) * | 2017-11-21 | 2018-04-06 | 海信集团有限公司 | NB IOT apparatus debugging methods and server |
CN110278092A (en) * | 2018-03-13 | 2019-09-24 | 成都市共维科技有限公司 | Router long-range control method and system based on MQTT agreement |
CN109862583A (en) * | 2019-01-04 | 2019-06-07 | 新华三技术有限公司 | A kind of method and device reporting exception information |
WO2020217157A1 (en) * | 2019-04-26 | 2020-10-29 | International Business Machines Corporation | On-premise and off-premise debugging |
GB2597867A (en) * | 2019-04-26 | 2022-02-09 | Ibm | On-premise and off-premise debugging |
GB2597867B (en) * | 2019-04-26 | 2022-11-02 | Ibm | On-premise and off-premise debugging |
CN112311576A (en) * | 2019-07-31 | 2021-02-02 | 中兴通讯股份有限公司 | OTA upgrade diagnosis method and device, wireless routing equipment and terminal equipment |
CN112311576B (en) * | 2019-07-31 | 2023-11-24 | 中兴通讯股份有限公司 | OTA upgrading diagnosis method and device, wireless routing equipment and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105703947A (en) | Method for remotely debugging router, server, and router | |
CN109768965B (en) | Login method, equipment and storage medium of server | |
JP2018007039A (en) | Communication device, communication method, communication system, and program | |
CN102932492A (en) | Correlation of users to ip address lease events | |
CN103259797B (en) | data file transmission method and platform | |
CN105573792A (en) | Delivery parameter burning method, equipment to be burnt, burning tool equipment | |
CN110677383B (en) | Firewall wall opening method and device, storage medium and computer equipment | |
US9742784B2 (en) | Account registration and login method, and network attached storage system using the same | |
CN106685949A (en) | Container access method, container access device and container access system | |
CN110636063B (en) | Method and device for controlling secure interaction of equipment, electronic equipment and storage medium | |
CN104301652B (en) | Carry out the method and network hard disk video recorder of web camera access configuration | |
CN105141614A (en) | Method and device for controlling access permission of mobile storage device | |
WO2011047626A1 (en) | Method for remote command interaction and bastion host thereof | |
CN105657781A (en) | Method and device for accessing WiFi network | |
CN105744555A (en) | Terminal maintenance method, maintenance device and network management server | |
CN103812829A (en) | Method and system for improving security of remote desktop, and remote desktop server | |
CN102630046A (en) | Data acquisition system, method, set-top box, network server | |
CN105245392A (en) | Method and device for base line checking and repairing | |
CN109831435A (en) | A kind of database operation method, system and proxy server and storage medium | |
CN105518697A (en) | Method implemented by computer for capturing evidentiary audiovisual and/or multimedia information and computer program | |
CN102299945A (en) | Gateway configuration page registration method, system thereof and portal certificate server | |
EP2500861A1 (en) | Methods for generating electronic appliance identifier and managing information by using electronic appliance identifier | |
US20120011250A1 (en) | Communication program, communication method, and electric apparatus | |
CN106157196A (en) | The evaluation methodology in house and system | |
CN105763532A (en) | Method and device for logging in to virtual desktop |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160622 |
|
RJ01 | Rejection of invention patent application after publication |