Configuration file management method, electronic equipment, computer storage medium and product
By comparing the current configuration files and target configuration files of network devices and updating the configuration files of abnormal devices, the problem that administrators need to check configuration files one by one when network devices are running abnormally is solved, and management efficiency is improved.
Patent Information
- Application Number
- CN202411832067.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-12
AI Technical Summary
When network equipment is running abnormally, administrators need to check the configuration files of multiple network equipment one by one, resulting in inefficient management and a lot of time and energy.
By obtaining the current configuration files of multiple network devices and comparing the current configuration files of the abnormal device with the target configuration files when a running exception is detected, the difference information is obtained, and the configuration files of the abnormal device are updated to quickly identify the cause of the exception.
This method can quickly track the causes of abnormal network equipment without checking configuration files one by one, which significantly improves the management efficiency of network equipment.
Smart Images

Figure CN119728422A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of file management, and specifically relates to a configuration file management method, an electronic device, a computer storage medium, and a computer program product. Background Art
[0002] At present, when a network device is configured and running, the administrator can view the configuration file of the network device at any time through the network device to determine whether the current configuration baseline meets the operation requirements of the network device. When the network device runs abnormally, the administrator can only check each configuration content in the current configuration file of the network device one by one. However, there are multiple network devices configured in the entire running system. If there are multiple network devices in the running system that run abnormally, it will take a lot of time and energy to manage and check, which not only wastes manpower, but also reduces the management efficiency of each network device. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a configuration file management method, an electronic device, a computer storage medium and a computer program product to improve the problem of low management efficiency of each network device.
[0004] The embodiment of the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a configuration file management method, the method comprising: obtaining current configuration files of multiple network devices, wherein the current configuration file includes at least the current configuration content of the network device; if any network device is detected to be operating abnormally, comparing the current configuration file of the abnormal network device with a target configuration file to obtain difference information, wherein the target configuration file is a historical configuration file of the abnormal network device or a current configuration file of other network devices; based on the difference information, updating the current configuration content in the current configuration file of the abnormal network device.
[0006] In an embodiment of the present application, configuration files of multiple network devices are obtained, and when an abnormality occurs in a network device, a difference comparison is performed to quickly track the cause of the abnormality in the network device and obtain difference information. This eliminates the need for the user to check each configuration content in the configuration file one by one, thereby improving the management efficiency of the network device.
[0007] In an optional embodiment, obtaining current configuration files of multiple network devices includes: sending a file synchronization request to each of the network devices in response to a preset trigger instruction, wherein the trigger instruction is an external trigger instruction or a clock trigger instruction; receiving a response message and at least one data packet respectively fed back by each of the network devices based on the file synchronization request, wherein the response message includes basic file information of the configuration file to be obtained; for each of the network devices, obtaining the current configuration file from the data packet fed back by the network device based on the basic file information in the response message fed back by the network device.
[0008] In an embodiment of the present application, after receiving a trigger instruction, a file synchronization request is sent to each network device, so that the network device feeds back a response message and a data packet according to the request, so as to obtain the configuration file from the data packet according to the basic file information in the response message, thereby realizing centralized management of the configuration files of each network device and improving the management efficiency of the network devices.
[0009] In an optional implementation, the data packet is an encoded data packet, and the file basic information includes a file encoding format set by the network device; wherein, the method of obtaining the current configuration file from the data packet fed back by the network device based on the file basic information in the response message fed back by the network device includes: obtaining the corresponding file encoding format from the file basic information; obtaining a decoding method corresponding to the file encoding format; and applying the decoding method to decode the data packet fed back by the network device to obtain the current configuration file of the network device.
[0010] In the embodiment of the present application, the network device encodes the data packet before feeding back the data packet, and records the file encoding format used to encode the data packet in the file basic information when feeding back the response message, so that after receiving the data packet, the data packet is decoded according to the decoding method corresponding to the file encoding format. By encoding and decoding the data packet, the security of the data packet during the transmission process is guaranteed.
[0011] In an optional embodiment, the application of the decoding method to decode the data packet fed back by the network device to obtain the current configuration file of the network device includes: applying the decoding method to decode the data packet fed back by the network device to obtain the target file and file identification information contained in the decoded data packet; based on the file identification information, determining whether the network device has finished sending the data packet; if the network device has not finished sending the data packet, waiting for the network device to continue to feed back the data packet, and applying the decoding method to decode the data packet sent by the network device each time, until the file identification information in the currently decoded data packet indicates that the network device has finished sending the data packet, and then synthesizing each target file in each data packet sent by the network device into the current configuration file of the network device.
[0012] In an embodiment of the present application, before sending the configuration file, the network device may divide the configuration file into multiple target files and generate a data packet corresponding to each target file, each data packet carries a file identification information, and the file identification information is used to prompt the network device whether to finish sending the data packet, so as to determine whether the network device has finished sending the data packet based on the file identification information, thereby avoiding missing the reception of the data packet and resulting in an incomplete configuration file.
[0013] In an optional implementation, synthesizing each target file in each data packet sent by the network device into the current configuration file of the network device includes: obtaining the serial number of each data packet sent by the network device; and synthesizing each target file in each data packet sent by the network device into the current configuration file of the network device in an order corresponding to each of the serial numbers.
[0014] In an embodiment of the present application, the network device sets a corresponding serial number for each data packet, and sends each data packet in the order corresponding to the serial number, so as to synthesize the target files in each data packet according to the serial number, thereby avoiding the disorder of the order during the synthesis process, resulting in incoherent context content of the final configuration file.
[0015] In an optional implementation, the file basic information also includes the total file length of the configuration file to be received; the method also includes: after obtaining the current configuration file of the network device, based on the total file length in the file basic information that has been fed back by the network device, verifying the current configuration file of the network device.
[0016] In an embodiment of the present application, the configuration file is verified by the total file length to determine whether the total file length of the obtained configuration file is consistent with the total file length of the configuration file sent by the network device, and further determine the integrity of the received file.
[0017] In an optional implementation, the method further includes: setting a version number corresponding to each of the current configuration files, and saving each of the current configuration files with the set version number to a preset database.
[0018] In an embodiment of the present application, a version number is set for each configuration file, and the configuration file is saved in a database, so that when the administrator subsequently queries the configuration file, the configuration file can be queried by version number, thereby facilitating subsequent management of the configuration file and improving the management efficiency of the network device.
[0019] In an optional implementation, after obtaining current configuration files of multiple network devices, the method further includes: determining, in each of the current configuration files, a configuration file that best matches each of the network devices; for each of the network devices, if the best matching configuration file is not the current configuration file of the network device, changing the current configuration content of the current configuration file of the network device according to the current configuration content of the best matching configuration file.
[0020] In the embodiment of the present application, among the various configuration files, the configuration file of the current configuration version of the network device is not the most suitable configuration file for the network device. If there is a configuration file of another network device that is more suitable for the current network device, the configuration file of the other network device can be used as a configuration baseline to change the current configuration content in the current configuration file of the current network device. By selecting the configuration file that is most suitable for the network device, not only can the operating performance of the network device be improved, but also there is no need to re-set a new configuration file for the network device separately, thereby improving the management efficiency of the network device.
[0021] In an optional implementation, determining the configuration file that best matches each of the network devices includes: for each of the network devices, obtaining an application scenario corresponding to each of the network devices; identifying the degree of adaptation of each of the application scenarios to the current configuration content in each of the current configuration files; and selecting the current configuration file with the highest degree of adaptation from all the degrees of adaptation as the best matching configuration file.
[0022] In an embodiment of the present application, during the application process of a network device, its corresponding application scenario may change. When the administrator does not set a new configuration file for the network device whose application scenario has changed, the application scenario of other network devices may be consistent with the application scenario of the network device. Therefore, based on the current application scenario of the network device, it can be determined whether the current configuration files of other network devices are more suitable for the application scenario of the network device. If so, the current configuration files of other network devices can be used as the configuration baseline to change the current configuration content of the current configuration file of the network device, thereby improving the management efficiency of the network device.
[0023] In an optional embodiment, determining, in each of the configuration files, a target configuration file that best matches each of the network devices includes: displaying the current configuration content of each of the current configuration files on a preset display interface; and when detecting a selection operation performed by a user on the current configuration file in the display interface, determining that the current configuration file pointed to by the selection operation is the configuration file that best matches the network device.
[0024] In an embodiment of the present application, the user (i.e., administrator) can compare the differences between various configuration files through the display interface, and select a configuration file that is more suitable for a certain network device as the configuration baseline from multiple configuration files, without having to re-set a new configuration file for the network device, thereby improving the management efficiency of the network device.
[0025] In an optional embodiment, after the configuration content of each of the current configuration files is displayed through a preset display interface, it also includes: when it is detected that the user performs a content adjustment operation on the current configuration file in the display interface, based on the operation content of the content adjustment operation, adjusting the current configuration content of the current configuration file pointed to by the adjustment operation, the adjustment content includes at least one of adding content, deleting content and modifying content.
[0026] In the embodiment of the present application, the user can add, delete, and modify any configuration files at the same time without having to perform operations on different network devices separately on different devices, thereby improving the management efficiency of the network devices.
[0027] In a second aspect, the present application provides an electronic device, comprising: a processor, a memory and a bus; the processor and the memory communicate with each other through the bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the above-mentioned configuration file management method.
[0028] In a third aspect, the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are read and executed by a computer, the above-mentioned configuration file management method is executed.
[0029] In a fourth aspect, the present application provides a computer program product, comprising computer program instructions, characterized in that the computer program implements the above-mentioned configuration file management method when executed by a processor.
[0030] Other features and advantages of the present application will be described in the following description. The purpose and other advantages of the present application can be realized and obtained through the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings. The above and other purposes, features and advantages of the present application will be more clearly shown in the drawings.
[0032] Figure 1 A schematic diagram of a process flow of a configuration file management method provided in an embodiment of the present application is shown;
[0033] Figure 2 A schematic diagram of a process for obtaining a current configuration file provided in an embodiment of the present application is shown;
[0034] Figure 3 A schematic diagram of a process flow of data packet decoding provided by an embodiment of the present application is shown;
[0035] Figure 4 A schematic diagram showing a file transfer process provided by an embodiment of the present application is shown;
[0036] Figure 5 A schematic diagram of a process flow of another configuration file management method provided in an embodiment of the present application is shown;
[0037] Figure 6 A schematic diagram of the structure of a centralized management platform provided in an embodiment of the present application is shown;
[0038] Figure 7 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0039] The technical scheme in the embodiment of the present application will be described below in conjunction with the accompanying drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. The following embodiments can be used as examples to more clearly illustrate the technical scheme of the present application, and cannot be used to limit the protection scope of the present application. It can be understood by those skilled in the art that the features in the following embodiments and embodiments can be combined with each other without conflict.
[0040] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of this application, relational terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0041] Furthermore, the term "and / or" in this application is merely a term used to describe the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone.
[0042] In the description of the embodiments of the present application, unless otherwise clearly specified or limited, the technical term "connection" may refer to a direct connection or an indirect connection through an intermediate medium.
[0043] The present application provides a configuration file management method, which can be applied to processors of various system platforms, computer terminals or various mobile devices. The method flow chart of the method is as follows: Figure 1 As shown, the method may include the following steps:
[0044] S101: Obtain current configuration files of multiple network devices.
[0045] The current configuration file at least includes the current configuration content of the network device.
[0046] In the embodiment of the present application, each current configuration file is obtained by a receiving end, and the receiving end may be a centralized management platform, and the centralized management platform may be an application software installed on a client, or an operation terminal connected to each network device. Each network device may be connected to the centralized management platform wirelessly or wired. Each network device is configured with a configuration baseline of a configuration version. When it is necessary to obtain the configuration baseline of each network device, the current configuration file of each network device is obtained in the form of a file.
[0047] S102: If any network device is detected to be operating abnormally, a current configuration file of the abnormal network device is compared with a target configuration file to obtain difference information.
[0048] The target configuration file is a historical configuration file of the abnormal network device or a current configuration file of other network devices.
[0049] In an embodiment of the present application, a method for determining whether a network device is operating abnormally may include: when an abnormality occurs in the network device, it automatically reports an abnormality message to determine that the network device is operating abnormally based on the abnormality message, or, sending a detection signal to the network device according to a preset time period, and determining whether the network device is operating abnormally based on a feedback signal of the detection signal, or, a user obtains operating data of the network device by request, and the user determines whether the network device is operating abnormally based on the operating data.
[0050] After obtaining each current configuration file, each current configuration file is saved in a preset database. When the network device runs abnormally, it only needs to obtain the target configuration file from the database. In addition to saving the current configuration file of each network device, the database also saves the historical configuration file of each network device. Each historical configuration file is the configuration baseline of the historical configuration version of the network device.
[0051] When a network device runs abnormally, it may be that the application scenario has changed, causing the configuration baseline of the current configuration version to not meet the current operating conditions, or after the network device updates the configuration version, the configuration baseline of the new version does not meet the current operating conditions. Therefore, when a network device runs abnormally, obtain the current configuration files of other network devices, or the historical configuration files of the network device for difference comparison to determine the difference information.
[0052] Among them, the method of selecting the target configuration file can be: if the application scenario of the network device changes, then from the current configuration files of multiple network devices that are not running abnormally, select the current configuration file of the application scenario and the application scenario of the abnormal network device as the target configuration file. The method of selecting the target configuration file can also be: if the network device updates the configuration version, the configuration baseline of the new version does not meet the current operating conditions, then the most recent historical configuration file can be obtained from multiple historical configuration files as the target configuration file. In addition, the user can also select the target configuration file from multiple current configuration files and multiple historical configuration files; for example: the user can compare and view the differences between the configuration contents of different configuration versions, so as to track the history of configuration content changes of the network device. When the operation of the existing network service is abnormal, the configuration comparison can be used to analyze whether it is caused by the configuration change. The user can view the same configuration, different configuration, version newly added configuration, version modified configuration, version deleted configuration between two configuration baseline versions, and track the change details of multiple different versions.
[0053] S103: Based on the difference information, update the current configuration content in the current configuration file of the abnormal network device.
[0054] After updating the current configuration content in the current configuration file of the abnormal network device, the generated new configuration file is used as the configuration baseline of the network device. The network device is deployed according to the configuration baseline, so that the abnormal network device resumes normal operation based on the updated configuration content.
[0055] In the embodiment of the present application, the difference information records the difference position of the newly added content and / or deleted content and / or modified content of the current configuration file relative to the target configuration file.
[0056] For example, when two configuration files need to be compared, and the two configuration files correspond to a configuration version respectively, the lower version configuration file (FileVerLow) is used as the comparison object by default, and the changes of the higher version configuration file (FileVerHigh) relative to the lower version configuration file are compared. The two text files are compared in units of lines to find the differences between the two files. The specific comparison methods include the following implementation scenarios:
[0057] In the first implementation scenario, if every line of the file FileVerLow is the same as every line of the file FileVerHigh, then the contents of the two compared files are the same;
[0058] In the second implementation scenario, the xth line FileVerLow_Line_X of the file FileVerLow is different from the xth line FileVerHigh_Line_X of the file FileVerHigh. In this case, the following changes may occur:
[0059] 1) Addition: If FileVerLow_Line_X and FileVerHigh_Line_X+1 are the same, then FileVerHigh_Line_X is a newly added line. A blank line can be inserted above FileVerLow_Line_X to keep the number of lines in the two files the same. By the position of the blank line in the file FileVerLow, it can be determined that the file FileVerHigh has new content relative to the file FileVerLow.
[0060] 2) Delete: If FileVerLow_Line_X+1 and FileVerHigh_Line_X are the same, then one line of FileVerHigh content has been deleted; the processing program inserts a blank line above the line of FileVerHigh_Line_X to keep the number of lines of the two files the same. By the position of the blank line in the file FileVerHigh, it can be determined that the content of the file FileVerHigh has been deleted relative to the file FileVerLow;
[0061] 3) Modification: If FileVerLow_Line_X and FileVerHigh_Line_X are partially identical, the content of this line of FileVerHigh has been modified, and you can mark it in FileVerLow_Line_X and FileVerHigh_Line_X; by marking the position, determine whether the content of file FileVerHigh has been modified relative to file FileVerLow.
[0062] When updating the configuration content in the current configuration file of the abnormal network device based on the difference information, if the difference information records that the current configuration file has new content relative to the target configuration file, the new content can be deleted; if the difference information records that the current configuration file has deleted content relative to the target configuration file, the deleted content can be supplemented at the corresponding position; if the difference information records that the current configuration file has modified content relative to the target configuration file, the modified content can be restored to the original content. In addition, the difference information can also be displayed on a preset display interface, and the user can change the current configuration content in the current configuration file according to the difference information.
[0063] Optionally, after obtaining the difference information, the specific method for updating the current configuration content in the current configuration file of the abnormal network device based on the difference information is: based on the difference information, marking the difference position in the current configuration content of the current configuration file that is different from the target configuration content of the target configuration file; according to the target configuration content, changing the content of the difference position to update the current configuration content in the current configuration file of the abnormal network device.
[0064] The difference position may be highlighted to indicate that the content of the difference position is inconsistent with the target configuration content; or the difference position may be marked by adding a blank line to the difference position.
[0065] After the current configuration content is updated according to the difference information, the updated configuration content does not contain blank lines to avoid affecting the results of subsequent comparisons of the updated configuration content.
[0066] After the current configuration file is updated, the updated configuration file is used as a new configuration baseline, and the network device can update the configuration version according to the new configuration baseline.
[0067] The present application can centrally obtain the current configuration files of multiple network devices and centrally manage each network device. When a network device operates abnormally, the difference information between the abnormal network device and other network devices or historical configuration versions can be determined through the various configuration files that have been obtained. The difference information can be used to determine the difference between the abnormal network device and other network devices or historical configuration versions when the device is running with the current configuration version, and then determine the cause of the abnormal operation of the network device. The current configuration content of the abnormal network device is updated based on the difference information to ensure that the abnormal network device returns to normal based on the updated configuration content, without the need for the user to perform abnormal detection and repair on each network device separately, thereby improving the management efficiency of each network device.
[0068] After obtaining the current configuration files of each network device, the version number corresponding to each current configuration file may be set, and each current configuration file with the set version number may be saved to the database.
[0069] The database stores multiple configuration files. For each network device, each time the configuration file of the network device is obtained, a corresponding version number is set. The version number may include the device name and the corresponding serial number. For example, if the version number set after the configuration file of the network device A obtained last time is device A1.0, then the version number set after the configuration file of the network device A currently obtained is device A2.0, and so on. After each subsequent configuration file of the network device A is obtained, the version number of the obtained configuration file is set to device A3.0, device A4.0, and so on in sequence.
[0070] Optionally, if the configuration file obtained last time is consistent with the configuration file currently obtained, it indicates that the configuration content in the last configuration file has not changed. Therefore, the version number corresponding to the configuration file currently obtained is consistent with the version number of the configuration file obtained last time. At this time, the currently obtained configuration file does not need to be saved.
[0071] In an optional embodiment, when any network device operates abnormally, the current configuration file and target file of the abnormal network device can be directly obtained from the database to execute the processes corresponding to the above S101-S103, which will not be repeated here; or, when any network device operates abnormally, each network device is requested to obtain a new current configuration file again, and the current configuration file of the abnormal network device is obtained from each new current configuration file, and after obtaining the target configuration file from the database, the processes corresponding to the above S101-S103 are executed, which will not be repeated here.
[0072] The present application can obtain configuration files of multiple network devices at the same time, and can uniformly process configuration files of one or more network devices to achieve centralized management of multiple network devices and improve the management efficiency of each network device.
[0073] As an optional implementation, the current configuration files of each network device can be obtained according to a preset trigger instruction. Figure 2 As shown in the flowchart, the process of obtaining the current configuration files of each network device may include the following steps:
[0074] S201: In response to a preset trigger instruction, a file synchronization request is sent to each network device.
[0075] The trigger instruction is an external trigger instruction or a clock trigger instruction.
[0076] In the embodiment of the present application, the external trigger instruction is an instruction sent by the user through an external device, or an instruction sent by the user through a human-computer interaction component (for example, a display screen or an operation button corresponding to a display interface, etc.). The clock trigger instruction is a trigger instruction set according to a preset time period (for example, every 30 minutes as a time period). When the clock reaches the preset time period, the process of requesting the network device to obtain the configuration file is triggered.
[0077] Through the file synchronization request, multiple network devices can be requested to send configuration files according to the request at one time, so that the return message of each device can be processed separately after sending the file synchronization request.
[0078] S202: Receive a response message and at least one data packet respectively fed back by each network device based on the file synchronization request.
[0079] The response message includes basic file information of the configuration file to be obtained.
[0080] In the embodiment of the present application, after receiving the file synchronization request, the network device feeds back a response message according to the file synchronization request, and feeds back at least one data packet after successfully sending the response message. The response message is used to prompt the preparation for receiving the configuration file, and the response message includes the file basic information of the configuration file to be obtained. The file basic information may include the file encoding format set by the network device, and may also include field information related to the configuration file to be obtained, such as the total file length of the configuration file to be obtained.
[0081] S203: For each network device, based on the basic file information in the response message fed back by the network device, obtain the current configuration file from the data packet fed back by the network device.
[0082] In an embodiment of the present application, when the network device feeds back a configuration file according to a file synchronization request, the current configuration file of the network device may be divided into multiple files for sending, and each file may be encapsulated into a data packet before sending.
[0083] In one embodiment, after receiving the response messages and data packets fed back by each network device, for each network device, based on the file basic information in the response message fed back by the network device, the specific process of obtaining the current configuration file from the data packet fed back by the network device can be: obtaining the corresponding file encoding format from the file basic information; obtaining the decoding method corresponding to the file encoding format; applying the decoding method to decode the data packet fed back by the network device to obtain the current configuration file of the network device.
[0084] In the embodiment of the present application, in the process of feeding back the configuration file, the network device sends a file synchronization request to multiple network devices simultaneously. In the process of receiving the configuration files fed back by each network device, the configuration files of some network devices may be leaked or tampered by illegal users, which results in the configuration file received by the receiving end not being the current configuration file of the network device, and thus the abnormal cause of the network device cannot be determined when the network device runs abnormally. Therefore, when feeding back the configuration file, the network device feeds back a response message in advance according to the file synchronization request, so that the receiving end knows that the network device has received the file synchronization request, and prompts to wait for the data packet fed back by the receiving network device, so that after receiving the data packet, the corresponding decoding method is obtained according to the file encoding format in the file basic information of the response message to decode the data packet.
[0085] The response message and data packet fed back by the network device are obtained in a sequence. After obtaining the response message, the corresponding decoding method can be obtained in advance according to the file encoding format in the file basic information of the response message, and then the data packet fed back by the network device is received; or, after obtaining the response message, the data packet is obtained, and finally the corresponding decoding method is obtained according to the file encoding format in the file basic information of the response message.
[0086] Different network devices may use different file encoding formats or the same file encoding format.
[0087] Before the network device feeds back the current configuration file, if the file size of the current configuration file exceeds the first threshold or the file length exceeds the second threshold, the time required to send the current configuration file is long, which affects the processing efficiency of the current configuration file. Therefore, when sending the current configuration file, the network device can divide the current configuration file into multiple sub-files, each sub-file corresponding to a data packet.
[0088] Based on the method of the above embodiment, in the process of applying the decoding method to decode the data packet fed back by the network device in the embodiment S202 of the present application, more than one data packet fed back by the network device may be decoded. Figure 3 The flowchart shown in the figure, the specific process of decoding the data packet fed back by the network device and obtaining the current configuration file of the network device may include the following steps:
[0089] S301: Apply a decoding method to decode the data packet fed back by the network device to obtain the target file and file identification information contained in the decoded data packet.
[0090] In the embodiment of the present application, the target file is part or all of the files (i.e., subfiles) of the current configuration file that the network device needs to feedback, and the file identification information is used to indicate whether the network device has finished sending the data packet. The file identification information can be represented by a combination of numbers and / or characters and / or symbols.
[0091] S302: Determine whether the network device has finished sending the data packet based on the file identification information.
[0092] For example: if the network device has not finished sending data packets, then when the network device is currently sending a data packet, the data packet carries the file identification information of the first file identifier (such as: 000 represents the first file identifier); if the network device is to finish sending data packets, then when sending the last data packet, the data packet carries the file identification information of the second file identifier (such as: 111 represents the second file identifier).
[0093] Specifically, if the network device has not finished sending the data packet, S303 is executed; if the network device has finished sending the data packet, S304 is executed.
[0094] S303: Wait for the network device to continue to feed back data packets, and return to execute S301 after receiving a new data packet fed back by the network device.
[0095] In the embodiment of the present application, if the network device has not finished sending the data packet, the process waits for the network device to continue to feed back the data packet, and applies the decoding method to decode the data packet sent by the network device each time.
[0096] The file encoding format used by the network device for each data packet may be the same.
[0097] S304: synthesize each target file in each data packet sent by the network device into a current configuration file of the network device.
[0098] In an embodiment of the present application, if the network device has not finished sending data packets, the process waits for the network device to continue to feed back data packets, and applies a decoding method to decode each data packet sent by the network device until the file identification information in the currently decoded data packet indicates that the network device has finished sending data packets, and then synthesizes each target file in each data packet sent by the network device into the current configuration file of the network device.
[0099] In the process of sending a file synchronization request to a network device and receiving a response message and a data packet fed back by the network device according to the file synchronization request, the receiving end and each network device can transmit the configuration file through a normal data stream based on the File Transfer Protocol (FTP) or other transmission channels.
[0100] After the network device divides the current configuration file into multiple target files, in order to ensure the consistency of the received files, in addition to encoding each target file according to the file encoding format to obtain each data packet for feedback, the serial number of each data packet can also be marked. In the process of sending each data packet, some data packets may be transmitted faster and some data packets may be transmitted slower. If the receiving end synthesizes each target file according to the receiving order, the configuration content context in the final configuration file may be inconsistent.
[0101] To solve the above problem, the network device pre-sets the serial number of each data packet. After receiving each target file of each data packet sent by the network device, the specific process of synthesizing each target file in each data packet sent by the network device into the current configuration file of the network device can be: obtaining the serial number of each data packet sent by the network device; synthesizing each target file in each data packet sent by the network device into the current configuration file of the network device in the order corresponding to each serial number. Therefore, according to the serial number of each data packet, the target files in each data packet are synthesized in the order of the serial number, so as to avoid the inconsistency of the current configuration content context in the obtained current configuration file.
[0102] In one implementation, each field information included in the basic file information may also include field information related to the total file length of the configuration file.
[0103] Optionally, the receiving end of the configuration file can verify the file according to the total length of the file or record the file transmission progress. That is, after obtaining the current configuration file of the network device, the current configuration file of the network device is verified based on the total length of the file in the basic file information fed back by the network device.
[0104] Optionally, in addition to the serial number of the data packet, the data packet fed back by the network device may also include the data length of the data packet and the actual content of the target file. The data length is used to represent the file content length of the target file contained in this data packet transmission. The receiving end can calculate the actual total file length of the current configuration file finally obtained based on the length, and verify the current configuration file based on the actual total file length finally obtained and the total file length originally in the response message.
[0105] Based on the method provided in the above embodiment, the process of file transmission between the receiving end and the network device is as follows: Figure 4 As shown. Figure 4 In the present invention, the receiving end first sends a file synchronization request to the network device. After receiving the file synchronization request, the network device first feeds back a response message carrying the total length of the file and the file encoding format, wherein the receiving end can verify the received data packet or record the file transmission progress according to the total length of the file, and prompt the receiving end to decode the data packet according to the file encoding format. After feeding back the response message, the network device then feeds back at least one data packet, each of which contains a target file and file identification information. After receiving each data packet, the receiving end obtains a decoding method according to the file encoding format to decode the data packet, and obtains the target file, file identification information and serial number in the data packet. If the file identification information in the data packet currently received by the receiving end indicates that the network device has finished sending the data packet, the obtained target files can be synthesized into the current configuration file in the order of the serial numbers.
[0106] According to the file transmission process in this embodiment, the file encoding format can be used to ensure that the file content is not leaked or tampered with during the transmission process, while ensuring the consistency of the current configuration content context in the final synthesized current configuration file.
[0107] In an optional manner of the embodiment of the present application, after obtaining the current configuration files of each network device, if there is no abnormal network device, or there is an abnormal network device, and while executing the above S102-S103, the configuration files of the normal network devices can also be managed to achieve the management of the normal network devices. Specifically, refer to Figure 5 The flowchart shown in the figure may further include the following process after executing the above S101:
[0108] S104: Determine, among various current configuration files, a configuration file that best matches each network device.
[0109] In the embodiment of the present application, when the application environment of a network device is updated or the current configuration content of other network devices is optimized, the current configuration content of the current configuration files of other network devices is more suitable for the business operation of the network device. Therefore, after obtaining the current configuration files of multiple network devices, each current configuration file can be matched with each network device to determine the configuration file that best matches each network device.
[0110] In an optional embodiment, a method for determining the configuration file that best matches each network device may be: for each network device, obtaining the application scenario corresponding to each network device; identifying the degree of adaptation of the application scenario to the current configuration content in each current configuration file; and selecting the current configuration file with the highest degree of adaptation from all the degrees of adaptation as the best matching configuration file.
[0111] If the application scenario of a network device changes, and other network devices have updated their configuration content according to the new application scenario, the current configuration content in the current configuration files of other network devices may be more suitable for the business operation of the network device. Therefore, in order to improve the business operation efficiency of the network device, the current configuration file with the highest degree of adaptation to the application scenario can be selected from multiple current configuration files according to the application scenario of the network device as the most matching configuration file.
[0112] In another optional embodiment, the method for determining the configuration file that best matches each network device may be: displaying the current configuration content of each current configuration file on a preset display interface; and when detecting a selection operation performed by the user on the current configuration file in the display interface, determining that the current configuration file pointed to by the selection operation is the configuration file that best matches the network device.
[0113] The preset display interface is a management interface, which supports users to view and compare configuration files corresponding to any configuration version. Users can also determine the changes in the configuration of each network device by viewing the configuration files. Therefore, when it is necessary to select the configuration file that best matches the network device, the current configuration content of each current configuration file can be displayed on the display interface, and users can select the most matching configuration file from multiple configuration files based on experience.
[0114] In the process of displaying the configuration file, the configuration content in the configuration file can be converted into a text command line to enable users to view the configuration content more intuitively. For example:
[0115] ips engine xxx xxx xxx;
[0116] network interface xxx xxx xxx.
[0117] The command line can be used to intuitively display the contents of each configuration, and can also intuitively compare the differences between the contents of each configuration.
[0118] In an embodiment of the present application, in addition to selecting the most matching configuration file in the display interface, the user can also add, delete and modify any configuration file. Since there are regularities in the configuration files of each configuration version of the network device, there are also regularities when saving the configuration files of each configuration version. The same type of configuration files are saved in adjacent file locations. For the required configuration content, the command lines saved in the configuration file are also sequential. The configuration file of the network device can save the command line configuration, and each complete command can be a line of text. At the same time, for each line of text in the configuration file, in order to simplify subsequent processing, all blank lines in the configuration file can be deleted in advance. At this time, the user can select the configuration baselines of any two configuration versions for comparison, and can use the lower version configuration baseline as the comparison object to compare the changes of the higher version configuration baseline relative to the lower version configuration baseline.
[0119] In the process of comparing various configuration files, the user can choose to adjust the configuration content of any configuration file. For example, for each currently displayed configuration file, when it is detected that the user performs a content adjustment operation on the current configuration file in the display interface, the current configuration content of the current configuration file pointed to by the adjustment operation is adjusted based on the operation content of the content adjustment operation, wherein the adjustment content includes at least one of adding content, deleting content and modifying content.
[0120] Among them, after the user adjusts the current configuration content, the configuration file generated by the final configuration content can be a configuration file of the historical configuration version or a configuration file of the new configuration version. For example, if the configuration content after the content adjustment is consistent with the configuration content of a previous configuration version, it means that the configuration version of the network device is rolled back to the previous configuration version; if the configuration content after the content adjustment is inconsistent with the historical configuration content, the configuration file generated by the final configuration content is deployed to the network device as the configuration baseline, and the network device performs business operations according to the configuration baseline. Among them, the essence of using the configuration file as the configuration baseline is to mark the configuration file with key identification information, and the key identification information includes: baseline version number, baseline identification ID, device type and baseline generation time, etc.
[0121] S105: For each network device, if the best matching configuration file is not the current configuration file of the network device, change the current configuration content of the current configuration file of the network device according to the current configuration content of the best matching configuration file.
[0122] If the best matching configuration file is the current configuration file of the network device, the current configuration content of the current configuration file of the network device may not be changed.
[0123] In an optional embodiment, after the current configuration content of the current configuration file of the network device is changed according to the current configuration content of the most matching configuration file, a new configuration file is generated as the configuration baseline of the network device, and the configuration baseline is deployed to the network device for service operation. If the network device operates abnormally according to the new configuration baseline, it is necessary to re-acquire the new configuration file as the current configuration file of the network device, and perform the process of S102-S103 in the above embodiment, which will not be repeated here.
[0124] Optionally, in the embodiment of the present application, after any configuration content is adjusted, in order to avoid errors introduced by the modification, the content saved after the user's modification will be verified, and the verification can be completed automatically through the command line verification tool. The basic principle of verification includes two aspects: 1) keyword verification, undefined command keywords are not allowed; 2) command rule verification, the command line must meet the grammatical rules of the command to avoid abnormal operation when the network device performs business according to the configuration baseline.
[0125] Optionally, you can use the configuration file of any network device as a configuration template, and by adjusting the configuration template, generate a new configuration file for other network devices. As more and more network devices are added to the network, there will be more and more configuration templates. You can automatically find configuration changes by continuously monitoring changes in configuration templates. When creating a new configuration template, you can automatically recommend a suitable baseline template to the user based on the device type and deployment scenario to improve the management efficiency of each network device.
[0126] Based on the same inventive concept, the present application also provides a centralized management platform. Figure 6 , Figure 6 This is a structural block diagram of a centralized management platform provided in an embodiment of the present application. The centralized management platform 600 includes: a device configuration synchronization module 601, a baseline configuration version difference comparison module 602 and a configuration baseline management module 603.
[0127] The device configuration synchronization module 601 is used to obtain the current configuration files of each network device.
[0128] The baseline configuration version difference comparison module 602 is used to compare the current configuration file of the abnormal network device with the target configuration file to obtain difference information if any network device is detected to be operating abnormally. The target configuration file is a historical configuration file of the network device or a current configuration file of other network devices.
[0129] The configuration baseline management module 603 is used to update the current configuration content of the current configuration file of the abnormal network device based on the difference information.
[0130] In an optional implementation, the centralized management platform further includes: a Web front end 604 and a database 605; the Web front end 604 includes a display interface, the display interface is used to display each of the current configuration files and receive user operations performed on each of the current configuration files; the database 605 is used to save the current configuration files of each of the network devices.
[0131] Specifically, the device configuration synchronization module 601 obtains the current configuration file of each network device, and is specifically used to: send a file synchronization request to each of the network devices in response to a preset trigger instruction, wherein the trigger instruction is an external trigger instruction or a clock trigger instruction; receive a response message and at least one data packet respectively fed back by each of the network devices based on the file synchronization request, wherein the response message contains the basic file information of the configuration file to be obtained; for each of the network devices, based on the basic file information in the response message fed back by the network device, obtain the current configuration file from the data packet fed back by the network device.
[0132] Among them, the data packet is an encoded data packet, and the file basic information includes the file encoding format set by the network device; wherein the device configuration synchronization module 601 obtains the current configuration file from the data packet fed back by the network device based on the file basic information in the response message fed back by the network device, and is specifically used to: obtain the corresponding file encoding format from the file basic information; obtain the decoding method corresponding to the file encoding format; apply the decoding method to decode the data packet fed back by the network device to obtain the current configuration file of the network device.
[0133] The device configuration synchronization module 601 applies the decoding method to decode the data packet fed back by the network device to obtain the current configuration file of the network device, and is specifically used to: apply the decoding method to decode the data packet fed back by the network device to obtain the target file and file identification information contained in the decoded data packet; based on the file identification information, determine whether the network device has finished sending the data packet; if the network device has not finished sending the data packet, wait for the network device to continue to feed back the data packet, and apply the decoding method to decode the data packet sent by the network device each time, until the file identification information in the currently decoded data packet indicates that the network device has finished sending the data packet, and then synthesize each target file in each data packet sent by the network device into the current configuration file of the network device.
[0134] The device configuration synchronization module 601 synthesizes each target file in each data packet sent by the network device into the current configuration file of the network device, and is specifically used to: obtain the serial number of each data packet sent by the network device; and synthesize each target file in each data packet sent by the network device into the current configuration file of the network device in the order corresponding to each of the serial numbers.
[0135] Among them, the file basic information also includes the total file length of the configuration file to be received; the device configuration synchronization module 601 is also used to: after obtaining the current configuration file of the network device, verify the current configuration file of the network device based on the total file length in the file basic information that has been fed back by the network device.
[0136] The baseline configuration version difference comparison module 602 is further used to: set a version number corresponding to each of the current configuration files, and save each of the current configuration files with the set version number to a preset database.
[0137] The baseline configuration version difference comparison module 602 is also used to: determine the configuration file that best matches each of the network devices in each of the current configuration files; the configuration baseline management module 603 is also used to: for each of the network devices, if the best matching configuration file is not the current configuration file of the network device, change the current configuration content of the current configuration file of the network device according to the current configuration content of the best matching configuration file.
[0138] The configuration baseline management module 602 determines the configuration file that best matches each of the network devices in each of the configuration files, and is specifically used to: obtain the application scenario corresponding to each of the network devices for each of the network devices; identify the degree of adaptation of the application scenario to the current configuration content in each of the current configuration files; and select the current configuration file with the highest degree of adaptation from all the degrees of adaptation as the best matching configuration file.
[0139] The configuration baseline management module 602 determines, among the various configuration files, the configuration file that best matches each of the network devices, and is also specifically used to: display the current configuration content of each of the current configuration files on a preset display interface; and when a selection operation performed by a user on the current configuration file in the display interface is detected, determine that the current configuration file pointed to by the selection operation is the configuration file that best matches the network device.
[0140] The display interface is also used to: when it is detected that a user performs a content adjustment operation on the current configuration file in the display interface pair, adjust the current configuration content of the current configuration file pointed to by the adjustment operation based on the operation content of the content adjustment operation, and the adjustment content includes at least one of adding content, deleting content and modifying content.
[0141] The centralized management platform 600 provided in the embodiment of the present application has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the centralized management platform embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0142] like Figure 7 As shown, Figure 7 The structure block diagram of an electronic device 700 provided in an embodiment of the present application is shown. The electronic device 700 includes: a transceiver 701, a memory 702, a communication bus 703 and a processor 704. In some possible implementations, the electronic device 700 may be the above-mentioned centralized management platform 600, or include the above-mentioned centralized management platform 600.
[0143] The transceiver 701, the memory 702, and the processor 704 are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 703 or signal lines. The transceiver 701 is used to send and receive data. The memory 702 is used to store computer programs, such as storing Figure 6 The software function module shown in is the centralized management platform 600. The centralized management platform 600 includes at least one software function module that can be stored in the memory 702 in the form of software or firmware or solidified in the operating system (OS) of the electronic device 700. The processor 704 is used to execute the executable module stored in the memory 702, such as the software function module or computer program included in the centralized management platform 600. For example, the processor 704 is used to execute the configuration file management method provided in the above embodiment.
[0144] Among them, the memory 702 can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0145] The processor 704 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a graphics processor (GPU), an accelerated processing unit (Accelerated Processing Unit), a multimedia application processor (MAP), a microprocessor, etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application may be implemented or executed. Alternatively, the processor 704 may also be any conventional processor, etc.
[0146] The electronic device 700 mentioned above includes but is not limited to mobile terminals such as mobile phones, notebook computers, tablet computers, etc., and fixed terminals such as digital TVs, desktop computers, etc.
[0147] The embodiment of the present application further provides a non-volatile computer-readable storage medium (hereinafter referred to as storage medium), on which a computer program is stored. When the computer program is run by a computer such as the electronic device 700 described above, the configuration file management method as shown above is executed.
[0148] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0149] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0150] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0151] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a computer-readable storage medium, including several instructions for a computer device (which can be a personal computer, a laptop, a server, or an electronic device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0152] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A configuration file management method, characterized in that: The method comprises: Obtaining current configuration files of a plurality of network devices, wherein the current configuration files at least include current configuration contents of the network devices; If any network device is detected to be operating abnormally, the current configuration file of the abnormal network device is compared with the target configuration file to obtain difference information, wherein the target configuration file is a historical configuration file of the abnormal network device or a current configuration file of other network devices; Based on the difference information, the current configuration content in the current configuration file of the abnormal network device is updated.
2. The method according to claim 1, characterized in that The obtaining of current configuration files of multiple network devices includes: In response to a preset trigger instruction, sending a file synchronization request to each of the network devices, wherein the trigger instruction is an external trigger instruction or a clock trigger instruction; Receiving a response message and at least one data packet respectively fed back by each of the network devices based on the file synchronization request, wherein the response message includes basic file information of the configuration file to be obtained; For each of the network devices, based on the basic file information in the response message fed back by the network device, a current configuration file is obtained from the data packet fed back by the network device.
3. The method according to claim 2, characterized in that The data packet is an encoded data packet, and the file basic information includes a file encoding format set by the network device; The obtaining of the current configuration file from the data packet fed back by the network device based on the file basic information in the response message fed back by the network device includes: Obtaining a corresponding file encoding format from the file basic information; Obtaining a decoding method corresponding to the file encoding format; The decoding method is applied to decode the data packet fed back by the network device to obtain the current configuration file of the network device.
4. The method according to claim 3, characterized in that The applying the decoding method to decode the data packet fed back by the network device to obtain the current configuration file of the network device includes: Applying the decoding method to decode the data packet fed back by the network device to obtain the target file and file identification information contained in the decoded data packet; Based on the file identification information, determining whether the network device has finished sending the data packet; If the network device has not finished sending data packets, wait for the network device to continue to feed back data packets, and apply the decoding method to decode the data packets sent by the network device each time, until the file identification information in the currently decoded data packet indicates that the network device has finished sending data packets, and then synthesize the various target files in the various data packets sent by the network device into the current configuration file of the network device.
5. The method according to claim 4, characterized in that The step of synthesizing each target file in each data packet sent by the network device into a current configuration file of the network device includes: Obtaining a sequence number of each data packet sent by the network device; According to the order corresponding to the sequence numbers, each target file in each data packet sent by the network device is synthesized into a current configuration file of the network device.
6. The method according to claim 4, characterized in that The basic file information also includes the total file length of the configuration file to be received; The method further comprises: After obtaining the current configuration file of the network device, the current configuration file of the network device is verified based on the total length of the file in the basic file information fed back by the network device.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: A version number corresponding to each of the current configuration files is set, and each of the current configuration files with the set version number is saved in a preset database.
8. The method according to claim 1, characterized in that: After obtaining current configuration files of multiple network devices, the method further includes: Determine, among the current configuration files, a configuration file that best matches each of the network devices; For each of the network devices, if the best matching configuration file is not the current configuration file of the network device, the current configuration content of the current configuration file of the network device is changed according to the current configuration content of the best matching configuration file.
9. The method according to claim 8, characterized in that Determining, among the configuration files, a configuration file that best matches each of the network devices comprises: For each of the network devices, obtaining an application scenario corresponding to each of the network devices; Identify the degree of adaptation of the application scenarios to the current configuration contents in each of the current configuration files; A current configuration file with the highest degree of adaptation is selected from all degrees of adaptation as the best matching configuration file.
10. The method according to claim 8, characterized in that Determining the target configuration file that best matches each of the network devices among the configuration files includes: Displaying the current configuration content of each of the current configuration files on a preset display interface; In the case of detecting that a selection operation performed by a user on a current configuration file in the display interface, determining that the current configuration file pointed to by the selection operation is a configuration file that best matches the network device.
11. The method according to claim 10, characterized in that After displaying the configuration contents of each of the current configuration files through a preset display interface, the method further includes: In the case where it is detected that a user performs a content adjustment operation on the current configuration file in the display interface pair, based on the operation content of the content adjustment operation, the current configuration content of the current configuration file pointed to by the adjustment operation is adjusted, and the adjustment content includes at least one of adding content, deleting content and modifying content.
12. An electronic device, characterized in that: include: processor, memory, and bus; The processor and the memory communicate with each other via the bus; The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 11 by calling the program instructions.
13. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are read and executed by a computer, the method according to any one of claims 1 to 11 is executed.
14. A computer program product comprising computer program instructions, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Management method for network equipment configuration files, and network controller
CN104104547A
Network device configuration method and apparatus
CN109639509A
Configuration management method and system
CN111343267A
Configuration file management method and device and computer readable storage medium
CN112291289A
Network equipment anomaly analysis method and device, electronic equipment and readable storage medium
CN115883320A