CN105827452A - Router configuration information storage method, restoration method, device, router and server - Google Patents
Router configuration information storage method, restoration method, device, router and server Download PDFInfo
- Publication number
- CN105827452A CN105827452A CN201610246328.0A CN201610246328A CN105827452A CN 105827452 A CN105827452 A CN 105827452A CN 201610246328 A CN201610246328 A CN 201610246328A CN 105827452 A CN105827452 A CN 105827452A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- router
- server
- route configuration
- route
- 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/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- 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/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a router configuration information storage method, a router configuration information restoration method, a router configuration information storage device, a router and a server. Configuration information is generated on the router, and the configuration information is stored on the server according to a time sequence; and when configuration is restored, corresponding configuration information is obtained from the server according to a time when configuration is required to be restored, and the corresponding configuration information is transmitted to the router, and the router restores the configuration according to the received configuration information. According to the methods, device, router and server, the server is adopted to dynamically store the configuration information of the router, so that a router configuration trace can be formed; and based on the interaction between the router and the server, the restoration of configuration at any times can be realized.
Description
Technical field
The present invention relates to router, be specifically related to route configuration information storage device, router, server and route configuration information storage method and restoration methods.
Background technology
Router (Router), is to connect each LAN, the equipment of wide area network in the Internet, and it can automatically select according to the situation of channel and set route, with optimal path, sends signal by tandem.
Along with demand changes day by day, the perfect of router feature makes configuration of routers become increasingly complex.Often occurring the thing forgotten Password during using router, user of service cannot log in, and affects carrying out further of work.Simultaneously, the most sometimes because configuration of routers is by mistake increased or reduces by operator, make router cannot according to predetermined planning work or make router to work, therefore realize a kind of configuration of routers recovery technology be no matter professional and technical personnel safeguard or the use of domestic consumer has very important effect.
But, also need to certain memory cost owing to process route configuration information not only needs to take CPU time, at present, on the premise of ensureing router performance and cost, router only has the function of factory reset.
As can be seen here, prior art has the disadvantage that: after factory reset, all information configured all can reset, and configuration information can not be recalled, it is impossible to return last configuration information.It addition, the poor user experience of product, user needs repeatability input configuration information after using factory reset.
Summary of the invention
It is an object of the invention to provide a kind of scheme, it is possible to before can tracing back to according to configuration vestige in route configuration information recovery process once or front configuration information several times.
To this end, according to one aspect of the invention, a kind of route configuration information storage device, including: configuration information signal generating unit on the router is set, is used for generating route configuration information;The first communication unit on the router is set, for described route configuration information is sent to server;The second communication unit being arranged on described server, it receives described route configuration information from described first communication unit;The route configuration information memory element being arranged on described server, it stores described route configuration information with predetermined manner.
Wherein, described route configuration information includes configuration parameter and the time value of described router.
Wherein, described route configuration information memory element stores described route configuration information sequentially in time.
Wherein, described route configuration information memory element stores multiple described route configuration informations with list structure.
According to another aspect of the present invention, a kind of router, including route configuration information signal generating unit, it is used for generating route configuration information, and wherein said route configuration information includes configuration parameter and the time value of described router.
Wherein, also including configuring recovery unit, it is according to the configuration of the described route configuration information restoration route device obtained.
According to another aspect of the present invention, a kind of server, including: route configuration information memory element, it stores the configuration information of at least one router sequentially in time, wherein, the configuration information of described router includes the configuration parameter of router and corresponding time value.
Wherein, described route configuration information memory element stores multiple configuration informations of each router with list structure.
According to another aspect of the invention, a kind of route configuration information storage method, including: obtain route configuration information on the router, including configuration of routers parameter and corresponding time value;Described route configuration information is delivered to server;Described route configuration information is stored by described server sequentially in time.
Have on the one hand according to the present invention, a kind of route configuration information restoration methods, including: it is sent to server by needing the time value that the configuration parameter recovered is corresponding;Corresponding configuration of routers parameter is searched according to described time value at described server;Described configuration of routers parameter is sent to described router;Configure according to described configuration of routers Parameter reconstruction at described router.
The present invention uses server to store route configuration information dynamically, forms configuration of routers vestige, returns to arbitrarily once configure by mutual realization the between simple router and server, thus the shortcoming avoiding prior art.
Accompanying drawing explanation
Below by the way of the most understandable, accompanying drawings preferred implementation, above-mentioned characteristic, technical characteristic, advantage and implementation thereof are further described.
Fig. 1 is the schematic diagram of the route configuration information storage device of the present invention;
Fig. 2 is the process schematic of the configuration information storage method of the present invention;
Fig. 3 is the process schematic of the configuration information recovery method of the present invention.
Drawing reference numeral illustrates:
100 router 110 configuration information signal generating unit 120 first communication units 130 configure recovery unit
200 server 210 second communication unit 220 route configuration information memory element
Detailed description of the invention
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by the detailed description of the invention of the comparison accompanying drawing explanation present invention.It should be evident that the accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings, and obtain other embodiment.
Fig. 1 illustrates an embodiment of route configuration information storage device, and wherein this device includes configuration information signal generating unit 110 and the first communication unit 120 being arranged on router 100.
Router generally stores the current configuration parameters of router at a nonvolatile memory.Described configuration information signal generating unit obtain described in configuration parameter, and the route configuration information time value of configuration parameter and correspondence formed is sent to server 200 by this first communication unit 120.
According to the present invention, server 200 includes the second communication unit 210, itself and this first communication unit 120 communication, in order to obtain this route configuration information.
After obtaining this route configuration information, the route configuration information memory element 220 on server 200 stores described route configuration information sequentially in time.
Such as, in one example, described route configuration information memory element 220 stores multiple described route configuration informations with list structure.
Chained list is storage organization discontinuous, non-sequential on a kind of physical memory cell, and the logical order of data element is to be realized by the pointer link orders in chained list.Chained list is made up of a series of nodes (in chained list, each element is referred to as node), and node can be dynamically generated at runtime.Each node includes two parts: one is the codomain of storing data-elements, and another is the pointer field of the next node address of storage.
The time value of configuration of routers parameter and correspondence is collectively stored in the data field of a node.This route configuration information memory element 220 can be according to this time value by position suitable in this Knots inserting chained list.
For example, it is possible to by comparing time value, the node of chained list is arranged sequentially in time.In one example, can as gauge outfit, (the corresponding time be T using the configuration information obtained first0), (the corresponding time is T to the configuration information obtained afterwards1、T2……Tn) be followed successively by node, so from gauge outfit to the node of table tail configuration information sequentially combine according to the time exactly.
Certainly, those skilled in the art will appreciate that, it is also possible to uses other mode to store described route configuration information.
In one embodiment, router 100 also includes configuring recovery unit 130, and it is according to the route configuration information restoration route device configuration received.As it was previously stated, the configuration information of router includes configuration parameter and corresponding time value.When wanting the configuration of restoration route device, only time value to be recovered need to be determined.According to this time value, server finds the node of correspondence in the chained list of storage route configuration information and obtains configuration of routers parameter therein.Configuration of routers parameter is sent to router 100 by the second communication unit 210 by server 200.Router 100 is according to the configuration parameter recovery configuring obtained.
In one example, server can be multiple router storage configuration information.Such as, set up, for each router, the list structure that corresponding storage is similar.
As Fig. 2 shows, in one embodiment, the present invention includes the storage method of above-mentioned route configuration information, including: on router 100, obtain route configuration information, including configuration parameter and corresponding time value;Described route configuration information is transferred to server 200;Described route configuration information is stored in list structure by described server 200 sequentially in time.
As it is shown on figure 3, in another embodiment, the method that present invention additionally comprises the configuration of restoration route device, including: it is sent to server 200 by needing the time value that the configuration parameter recovered is corresponding;At described server 200 according to described time value, the list structure of corresponding router is searched the configuration of routers parameter of correspondence;Described configuration of routers parameter is sent to described router;Configure according to described configuration of routers Parameter reconstruction at described router.
It should be noted that, above-described embodiment all can independent assortment as required.The above is only the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. a route configuration information storage device, it is characterised in that this device includes:
Configuration information signal generating unit on the router is set, is used for generating route configuration information;
The first communication unit on the router is set, for described route configuration information is sent to server;
The second communication unit being arranged on described server, it receives described route configuration information from described first communication unit;
The route configuration information memory element being arranged on described server, it stores described route configuration information with predetermined manner.
Route configuration information the most according to claim 1 storage device, it is characterised in that described route configuration information includes configuration parameter and the time value of described router.
Route configuration information the most according to claim 1 storage device, it is characterised in that described route configuration information memory element stores described route configuration information sequentially in time.
Route configuration information the most according to claim 3 storage device, it is characterised in that described route configuration information memory element stores multiple described route configuration informations with list structure.
5. a router, it is characterised in that described router includes: route configuration information signal generating unit, it is used for generating route configuration information, and wherein said route configuration information includes configuration parameter and the time value of described router.
Router the most according to claim 5, it is characterised in that also include: configuration recovery unit, it is according to the configuration of the described route configuration information restoration route device obtained.
7. a server, it is characterised in that including: route configuration information memory element, it stores the configuration information of at least one router sequentially in time, and wherein, the configuration information of described router includes the configuration parameter of router and corresponding time value.
Server the most according to claim 7, it is characterised in that described route configuration information memory element stores multiple configuration informations of each router with list structure.
9. a route configuration information storage method, including:
Obtain route configuration information on the router, including configuration of routers parameter and corresponding time value;
Described route configuration information is delivered to server;
Described route configuration information is stored by described server sequentially in time.
10. a route configuration information restoration methods, including:
It is sent to server by needing the time value that the configuration parameter recovered is corresponding;
Described server searches corresponding configuration of routers parameter according to described time value;
Described configuration of routers parameter is sent to described router;
Described router configures according to described configuration of routers Parameter reconstruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610246328.0A CN105827452A (en) | 2016-04-20 | 2016-04-20 | Router configuration information storage method, restoration method, device, router and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610246328.0A CN105827452A (en) | 2016-04-20 | 2016-04-20 | Router configuration information storage method, restoration method, device, router and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105827452A true CN105827452A (en) | 2016-08-03 |
Family
ID=56526147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610246328.0A Pending CN105827452A (en) | 2016-04-20 | 2016-04-20 | Router configuration information storage method, restoration method, device, router and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105827452A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136825A (en) * | 2007-10-10 | 2008-03-05 | 中兴通讯股份有限公司 | Asynchronous configuration information management method and system for client terminal/server structure |
CN101465758A (en) * | 2009-01-14 | 2009-06-24 | 华为技术有限公司 | Method for managing equipment, system and network management server |
CN104243213A (en) * | 2014-09-28 | 2014-12-24 | 北京奇虎科技有限公司 | Method, device and system for acquiring configuration information of routers |
CN104301142A (en) * | 2014-10-13 | 2015-01-21 | 杭州华三通信技术有限公司 | Backup method and device for configuration files |
-
2016
- 2016-04-20 CN CN201610246328.0A patent/CN105827452A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136825A (en) * | 2007-10-10 | 2008-03-05 | 中兴通讯股份有限公司 | Asynchronous configuration information management method and system for client terminal/server structure |
CN101465758A (en) * | 2009-01-14 | 2009-06-24 | 华为技术有限公司 | Method for managing equipment, system and network management server |
CN104243213A (en) * | 2014-09-28 | 2014-12-24 | 北京奇虎科技有限公司 | Method, device and system for acquiring configuration information of routers |
CN104301142A (en) * | 2014-10-13 | 2015-01-21 | 杭州华三通信技术有限公司 | Backup method and device for configuration files |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11106839B2 (en) | Network device modeling in preconfigured network modeling environments | |
CN108153670A (en) | A kind of interface test method, device and electronic equipment | |
CN106664320A (en) | Mechanisms to support service chain graphs in a communication network | |
US9467330B2 (en) | Diagnosing connectivity in a network | |
US9736053B2 (en) | Layer 2 path tracing through context encoding in software defined networking | |
US10355971B2 (en) | System and method for data path validation and verification | |
CN104601736A (en) | Method and device for realizing short uniform resource locator (URL) service | |
CN107911249A (en) | Order line sending method, device and the equipment of a kind of network equipment | |
US11250166B2 (en) | Fingerprint-based configuration typing and classification | |
CN112468365A (en) | Data quality detection method, system and medium for network mirror flow | |
Leng et al. | A mechanism for reducing flow tables in software defined network | |
US10437305B2 (en) | Power apparatus having expandable outlet and outlet expanding method thereof | |
CN103399748A (en) | Equipment configuration standardization detecting device and method | |
EP3534577B1 (en) | Forwarding multicast packets through an extended bridge | |
Lin et al. | Evaluation of system reliability for a cloud computing system with imperfect nodes | |
US20240235730A1 (en) | System and method to measure and score application health via correctable errors | |
CN110213100B (en) | Disaster recovery method, device and equipment for configuration data and readable storage medium | |
US9875201B2 (en) | Auto-configuration of a port | |
US9565101B2 (en) | Risk mitigation in data center networks | |
CN105827452A (en) | Router configuration information storage method, restoration method, device, router and server | |
CN103152212B (en) | A kind of alarm correlation analysis method, device and network management system | |
CN105721398B (en) | The method and device of data access | |
US10142177B2 (en) | Mechanisms to identify mismatches in layer 3 configuration in a network | |
CN104869062A (en) | Data packet forwarding method and device | |
CN112637053B (en) | Method and device for determining backup forwarding path of route |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160803 |