CN117896252A - Automatic archiving method, device, equipment and medium for network equipment configuration - Google Patents

Automatic archiving method, device, equipment and medium for network equipment configuration Download PDF

Info

Publication number
CN117896252A
CN117896252A CN202410061031.1A CN202410061031A CN117896252A CN 117896252 A CN117896252 A CN 117896252A CN 202410061031 A CN202410061031 A CN 202410061031A CN 117896252 A CN117896252 A CN 117896252A
Authority
CN
China
Prior art keywords
archiving
configuration
package
filing
network device
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.)
Withdrawn
Application number
CN202410061031.1A
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.)
CMB Yunchuang Information Technology Co Ltd
Original Assignee
CMB Yunchuang Information 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 CMB Yunchuang Information Technology Co Ltd filed Critical CMB Yunchuang Information Technology Co Ltd
Priority to CN202410061031.1A priority Critical patent/CN117896252A/en
Publication of CN117896252A publication Critical patent/CN117896252A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of network management, and discloses a method, a device, equipment and a medium for automatically archiving network equipment configuration, wherein the method comprises the following steps: carrying out periodic backup on network equipment configuration to obtain a configuration file; packaging and archiving the obtained configuration files to generate an archiving package; encrypting the generated filing package; uploading the encrypted filing package to a remote data filing center. The method can efficiently complete the periodic backup of the network equipment configuration in an automatic mode, encrypt and archive the network equipment configuration to a remote data archiving center, improve the network operation and maintenance work efficiency and reduce the operation and maintenance labor cost, and simultaneously ensure the security of the archived file by using an encryption technology.

Description

Automatic archiving method, device, equipment and medium for network equipment configuration
Technical Field
The present invention relates to the field of network management technologies, and in particular, to a method, an apparatus, a device, and a medium for automatically archiving configuration of a network device.
Background
Backup of network device configuration is an important ring in the network management process. Currently, the backup mode of network equipment configuration is to manually log in the network equipment, namely, copying or downloading configuration content to a local area, and then manually uploading the backed-up document to a designated backup center. With the increase of the number of devices, the time consumption of the backup mode is longer and exponentially increased, and the network operation and maintenance efficiency is seriously affected.
Therefore, how to efficiently complete the backup of the network device configuration is a technical problem that needs to be solved by the person skilled in the art.
Disclosure of Invention
The invention aims to provide an automatic archiving method, device, equipment and medium for network equipment configuration, which can efficiently complete periodic backup of the network equipment configuration in an automatic mode, improve the network operation and maintenance work efficiency, reduce the operation and maintenance labor cost and simultaneously ensure the safety of archived files.
In order to solve the technical problems, the invention provides a method for automatically archiving network equipment configuration, which comprises the following steps:
carrying out periodic backup on network equipment configuration to obtain a configuration file;
Packaging and archiving the obtained configuration files to generate an archiving package;
Encrypting the generated filing package;
uploading the encrypted filing package to a remote data filing center.
In a first aspect, in the method for automatically archiving network device configuration provided by the embodiment of the present invention, the periodically backing up the network device configuration includes:
And adopting an automation script to periodically download the configuration of the network equipment.
On the other hand, in the method for automatically archiving configuration of a network device provided by the embodiment of the present invention, the step of packaging and archiving the obtained configuration file includes:
And packaging and archiving the obtained configuration file by adopting a zip or tar command.
On the other hand, in the method for automatically archiving network device configuration provided by the embodiment of the present invention, after the encrypting processing is performed on the generated archiving package, the method further includes:
And collecting the configuration information of the encrypted filing package.
On the other hand, in the method for automatically archiving network device configuration provided by the embodiment of the present invention, after collecting the encrypted configuration information of the archive package, the method further includes:
and sending the configuration information of the filing package to a network operation and maintenance engineer through a communication tool.
On the other hand, in the method for automatically archiving network device configuration provided by the embodiment of the present invention, after the encrypted archiving package is uploaded to a remote data archiving center, the method further includes:
and deleting the encrypted filing package.
In order to solve the technical problem, the present invention further provides an automatic archiving device configured by a network device, where the device includes:
The backup module is used for carrying out periodic backup on the configuration of the network equipment to obtain a configuration file;
The archiving module is used for packaging and archiving the obtained configuration files to generate an archiving package;
the encryption module is used for carrying out encryption processing on the generated filing package;
and the uploading module is used for uploading the encrypted filing package to a remote data filing center.
On the other hand, in the automatic archiving device for network device configuration provided by the embodiment of the present invention, the automatic archiving device further includes:
the collecting module is used for collecting the encrypted configuration information of the filing package and sending the configuration information of the filing package to a network operation and maintenance engineer through a communication tool.
In order to solve the technical problem, the present invention further provides an automatic archiving device for network device configuration, where the device includes:
a memory for storing a computer program;
And the processor is used for realizing the steps of the automatic archiving method for the network equipment configuration when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for automatically archiving network device configuration described above.
From the above technical solution, the method for automatically archiving the configuration of the network device provided by the present invention includes: carrying out periodic backup on network equipment configuration to obtain a configuration file; packaging and archiving the obtained configuration files to generate an archiving package; encrypting the generated filing package; uploading the encrypted filing package to a remote data filing center.
The automatic archiving method for the network equipment configuration has the advantages that the periodic backup of the network equipment configuration can be efficiently completed in an automatic mode, the network equipment configuration is encrypted and archived to a remote data archiving center, the network operation and maintenance working efficiency is improved, the operation and maintenance labor cost is reduced, and meanwhile the security of the archived file is guaranteed by using an encryption technology.
In addition, the invention also provides a corresponding automatic archiving device for network equipment configuration, an automatic archiving device for network equipment configuration and a computer readable storage medium for the automatic archiving method for network equipment configuration, and the automatic archiving device for network equipment configuration and the computer readable storage medium have the same or corresponding technical characteristics as the automatic archiving method for network equipment configuration, and have the same effects as the above.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flowchart of a method for automatically archiving network device configuration according to an embodiment of the present invention;
Fig. 2 is a schematic structural diagram of a network device configuration automatic filing device according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a network device configuration automatic archiving device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a method for automatically archiving network device configuration, which is provided in an embodiment of the present invention, as shown in fig. 1, where the method includes:
s101, carrying out periodic backup on network equipment configuration to obtain a configuration file.
In a possible implementation manner, the method for automatically archiving the network device configuration provided by the embodiment of the present invention, step S101, performing periodic backup on the network device configuration, may specifically include the following steps:
And adopting an automation script to periodically download the configuration of the network equipment.
In implementation, the execution main body of the automatic archiving method for network equipment configuration can be a transfer machine, and in the process of regularly backing up the network equipment configuration, the network equipment configuration can be regularly and automatically downloaded to the transfer machine through an automatic script on the transfer machine, and the transfer machine can acquire a corresponding configuration file.
S102, packaging and archiving the obtained configuration files to generate an archiving package.
In a possible implementation manner, the method for automatically archiving the configuration of the network device provided by the embodiment of the present invention, step S102, packaging and archiving the obtained configuration file, may specifically include the following steps:
and packaging and archiving the obtained configuration files by adopting a zip command or a tar command.
In implementation, after the network device configuration is automatically downloaded to the transit machine periodically through an automation script on the transit machine, the transit machine can package and archive the acquired configuration file, and the packaging mode can be a zip command or a tar command or other packaging modes, so long as the requirement of packaging the acquired configuration file is met, and the method is not limited.
S103, encrypting the generated filing package.
In a possible implementation manner, the method for automatically archiving the configuration of the network device provided by the embodiment of the present invention, step S103, performing encryption processing on the generated archiving package, may specifically include the following steps:
And encrypting the generated filing package by adopting a preset encryption algorithm.
It should be noted that, the basic process of the encryption algorithm is to process the original file or data in plaintext according to a certain algorithm, so that the original file or data becomes an unreadable code which is ciphertext, and the original content can be displayed only after the corresponding secret key is input, thus achieving the purpose of protecting the data from being stolen and read by illegal persons. The encryption algorithm adopted by the invention can be a symmetric encryption algorithm or an asymmetric encryption algorithm, and is not limited herein.
The invention can ensure the safety of the archived configuration file by adopting a preset encryption technology, thereby ensuring the effectiveness and stability of the network equipment configuration automatic archiving method.
S104, uploading the encrypted filing package to a remote data filing center.
In practice, the remote data archiving center may be a pre-designated data archiving center. When step S104 is performed, the encrypted archive package may be uploaded to a remote data archive center specified in advance.
In the automatic archiving method for network equipment configuration provided by the embodiment of the invention, the periodic backup of the network equipment configuration can be efficiently completed in an automatic mode, the network equipment configuration is encrypted and archived to a remote data archiving center, the network operation and maintenance working efficiency is improved, the operation and maintenance labor cost is reduced, and meanwhile, the security of the archived file is ensured by using an encryption technology.
Further, in a specific implementation, in the above method for automatically archiving network device configuration provided by the embodiment of the present invention, after executing the encryption processing on the generated archive packet in step S103, the method may further include: and collecting configuration information of the encrypted filing package.
In implementation, after the generated archive package is encrypted, configuration information, such as a size, archive time, and the like, of the archive package can be collected.
Further, in a specific implementation, in the method for automatically archiving configuration of a network device provided by the embodiment of the present invention, after collecting configuration information of an encrypted archive package, the method may further include:
And sending the configuration information of the filing package to a network operation and maintenance engineer through a communication tool.
In an implementation, after the configuration information of the archive package is collected, the collected configuration information of the archive package, such as the size, the archive time, etc., may be sent to a pre-designated network operation and maintenance engineer through an interface of a communication tool (such as an enterprise WeChat, a nail, etc.), and may, of course, also be sent to other designated receivers, which is not limited herein.
Further, in a specific implementation, in the above method for automatically archiving network device configuration provided by the embodiment of the present invention, after executing step S104 to upload the encrypted archive packet to the remote data archiving center, the method may further include:
and deleting the encrypted filing package.
In the implementation, after the encrypted filing package is uploaded to the remote data filing center, the filing package which is uploaded can be deleted, so that the configuration file of the historical network equipment is not reserved on the transfer machine, and the leakage of the configuration file of the network equipment can be prevented to a certain extent.
In the above embodiments, the detailed description is given to the method for automatically archiving the network device configuration, and the invention also provides the network device configuration automatic archiving device and the corresponding embodiments of the network device configuration automatic archiving device. It should be noted that the present invention describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware.
Fig. 2 is a block diagram of a network device configuration automatic filing apparatus according to an embodiment of the present invention. The embodiment is based on the angle of the functional module, and the device comprises:
The backup module 10 is configured to periodically backup the configuration of the network device, and obtain a configuration file;
an archiving module 11, configured to package and archive the obtained configuration file, and generate an archiving package;
an encryption module 12 for encrypting the generated filing package;
and the uploading module 13 is used for uploading the encrypted filing package to a remote data filing center.
In the automatic archiving device for network equipment configuration provided by the embodiment of the invention, the periodic backup of the network equipment configuration can be efficiently completed in an automatic mode through the interaction of the four modules, the network equipment configuration is encrypted and archived to a remote data archiving center, the network operation and maintenance working efficiency is improved, the operation and maintenance labor cost is reduced, and meanwhile, the security of the archived file is ensured by using an encryption technology.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein. And has the same advantageous effects as the above-mentioned network device configuration automatic archiving method.
Further, in a specific implementation, in the automatic archiving device configured by network equipment provided by the embodiment of the present invention, the method may further include:
The collecting module is used for collecting the configuration information of the encrypted filing package and sending the configuration information of the filing package to the network operation and maintenance engineer through the communication tool.
Further, in a specific implementation, in the automatic archiving device configured by network equipment provided by the embodiment of the present invention, the method may further include:
And the deleting module is used for deleting the encrypted filing package after uploading the encrypted filing package to a remote data filing center.
Fig. 3 is a block diagram of a network device configuration automatic archiving device according to another embodiment of the present invention. The embodiment is based on hardware angle, as shown in fig. 3, the network device configuration automatic archiving device includes:
a memory 20 for storing a computer program;
A processor 21 for implementing the steps of the network device configuration automatic archiving method as mentioned in the above embodiments when executing a computer program.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of a digital signal processor (DIGITAL SIGNAL processor, DSP), field-programmable gate array (field-programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 21 may also include a main processor, which is a processor for processing data in an awake state, also called CPU, and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a graphics processor (Graphics Processing Unit, GPU) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, where the computer program, when loaded and executed by the processor 21, is capable of implementing the relevant steps of the network device configuration automatic archiving method disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. Operating system 202 may include Windows, unix, linux, among other things. The data 203 may include, but is not limited to, the data referred to above in relation to the network device configuration automatic archiving method, and the like.
In some embodiments, the network device configuration automatic filing device may further include a display 22, an input-output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the architecture shown in fig. 3 does not constitute a limitation on the configuration of the automatic archiving device by a network device and may include more or fewer components than illustrated.
The network equipment configuration automatic filing equipment provided by the embodiment of the invention comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: the network equipment is configured with an automatic archiving method, and the effects are the same as the above.
Finally, the invention also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps as described in the method embodiments above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The computer readable storage medium provided by the invention comprises the network equipment configuration automatic archiving method, and the effects are the same as the above.
It should also be noted that in this specification, relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The method, the device, the equipment and the medium for automatically archiving the network equipment configuration provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (10)

1. A method for automatically archiving a network device configuration, the method comprising:
carrying out periodic backup on network equipment configuration to obtain a configuration file;
Packaging and archiving the obtained configuration files to generate an archiving package;
Encrypting the generated filing package;
uploading the encrypted filing package to a remote data filing center.
2. The method for automatically archiving network device configurations according to claim 1, wherein said periodically backing up network device configurations comprises:
And adopting an automation script to periodically download the configuration of the network equipment.
3. The method for automatically archiving network device configuration according to claim 1, wherein said archiving said obtained configuration file in a package comprises:
And packaging and archiving the obtained configuration file by adopting a zip or tar command.
4. The network device configuration automatic archiving method of claim 1, further comprising, after said encrypting the generated archive package:
And collecting the configuration information of the encrypted filing package.
5. The network device configuration automatic archiving method of claim 4, further comprising, after collecting the encrypted configuration information of the archive package:
and sending the configuration information of the filing package to a network operation and maintenance engineer through a communication tool.
6. The network device configuration automatic archiving method of claim 1, further comprising, after said uploading the encrypted archive package to a remote data archiving center:
and deleting the encrypted filing package.
7. An apparatus for automatically archiving a configuration of a network device, the apparatus comprising:
The backup module is used for carrying out periodic backup on the configuration of the network equipment to obtain a configuration file;
The archiving module is used for packaging and archiving the obtained configuration files to generate an archiving package;
the encryption module is used for carrying out encryption processing on the generated filing package;
and the uploading module is used for uploading the encrypted filing package to a remote data filing center.
8. The network device configuration automatic filing apparatus of claim 7, further comprising:
the collecting module is used for collecting the encrypted configuration information of the filing package and sending the configuration information of the filing package to a network operation and maintenance engineer through a communication tool.
9. A network device configuration automatic archiving device, the device comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network device configuration automatic archiving method according to any one of claims 1 to 6 when executing the computer program.
10. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the network device configuration automatic archiving method according to any one of claims 1 to 6.
CN202410061031.1A 2024-01-16 2024-01-16 Automatic archiving method, device, equipment and medium for network equipment configuration Withdrawn CN117896252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410061031.1A CN117896252A (en) 2024-01-16 2024-01-16 Automatic archiving method, device, equipment and medium for network equipment configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410061031.1A CN117896252A (en) 2024-01-16 2024-01-16 Automatic archiving method, device, equipment and medium for network equipment configuration

Publications (1)

Publication Number Publication Date
CN117896252A true CN117896252A (en) 2024-04-16

Family

ID=90643983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410061031.1A Withdrawn CN117896252A (en) 2024-01-16 2024-01-16 Automatic archiving method, device, equipment and medium for network equipment configuration

Country Status (1)

Country Link
CN (1) CN117896252A (en)

Similar Documents

Publication Publication Date Title
EP2788876B1 (en) System and method for restoring application data
CN101854392B (en) Personal data management method based on cloud computing environment
US20110016095A1 (en) Integrated Approach for Deduplicating Data in a Distributed Environment that Involves a Source and a Target
US20080037777A1 (en) System and method for providing encryption in pipelined storage operations in a storage network
WO2015050620A2 (en) Method and system for backing up and restoring a virtual file system
US8429364B1 (en) Systems and methods for identifying the presence of sensitive data in backups
US9794061B1 (en) Consolidating encrypted image backups without decryption
WO2016084444A1 (en) Secret sharing system and storage controller having secret sharing function
JP2007213405A (en) Method and apparatus for managing tally information
CN104407829A (en) Method and device thereof for displaying image mirror
CN109063011B (en) Log processing method, electronic device and computer readable storage medium
CN112163236A (en) File access method, device, system and computer readable storage medium
CN113918999B (en) Method and device for establishing safe ferry channel, network disk and storage medium
US8364955B1 (en) Systems and methods for effectively removing access to individual files on magnetic tape media
CN111381850B (en) BIOS firmware upgrading method, device, equipment and medium
CN117896252A (en) Automatic archiving method, device, equipment and medium for network equipment configuration
US11601270B1 (en) Methods, systems and computer program products for rotating cryptographic keys for encrypted files
CN111104693A (en) Android platform software data cracking method, terminal device and storage medium
CN110955525A (en) Network definition storage method, network definition reading method and network definition reading system based on FPGA (field programmable Gate array) equipment
CN116149717A (en) Dynamic deployment method, device, equipment and medium for metadata
CN111488117A (en) Method, electronic device, and computer-readable medium for managing metadata
US8260711B1 (en) Systems and methods for managing rights of data via dynamic taint analysis
CN115033870A (en) Anti-malicious tampering code method and device based on big data cloud deployment
CN113190181A (en) Virtual disk mounting method and system
JP2007233226A (en) Portable storage medium, security system, and security method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20240416

WW01 Invention patent application withdrawn after publication