CN111867006B - Configuration file recovery method and device - Google Patents

Configuration file recovery method and device Download PDF

Info

Publication number
CN111867006B
CN111867006B CN202010602882.4A CN202010602882A CN111867006B CN 111867006 B CN111867006 B CN 111867006B CN 202010602882 A CN202010602882 A CN 202010602882A CN 111867006 B CN111867006 B CN 111867006B
Authority
CN
China
Prior art keywords
file
description information
configuration
file description
sub
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.)
Active
Application number
CN202010602882.4A
Other languages
Chinese (zh)
Other versions
CN111867006A (en
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202010602882.4A priority Critical patent/CN111867006B/en
Publication of CN111867006A publication Critical patent/CN111867006A/en
Application granted granted Critical
Publication of CN111867006B publication Critical patent/CN111867006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a configuration file recovery method and a device, wherein the method is applied to an AC, and comprises the following steps: when the configuration file of the AC is lost, file description information stored by a plurality of designated APs in each AP managed by the AC is acquired; selecting file description information meeting preset conditions from the acquired file description information; acquiring corresponding configuration files from a plurality of APs in the selected source APs of the file description information; and determining a configuration file from the acquired configuration files according to the selected file description information, and carrying out configuration recovery according to the determined configuration file. The embodiment of the application can save labor cost.

Description

Configuration file recovery method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for recovering a configuration file.
Background
In wireless networking, the configuration files on the Access controller (Access Controller, AC) include not only the configuration files of itself, but also the configuration files of all Access Points (APs) managed by itself.
When the AP associates with the AC, the related configuration file is acquired from the AC, and wireless service can be normally provided after related configuration is carried out.
At present, the configuration files on the AC are usually stored on the AC in the form of files, and general maintenance personnel backup the configuration files in a mode of exporting the configuration files, so that when the configuration files on the AC are lost, the backup configuration files can be imported into the AC for recovery, and the recovery mode needs manual participation, so that the labor cost is high and errors are easy to occur.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a configuration file recovery method and a device.
According to a first aspect of an embodiment of the present application, there is provided a profile restoration method, the method being applied to an AC, the method comprising:
when the configuration file of the AC is lost, file description information stored by a plurality of designated APs in all APs managed by the AC is obtained, wherein each piece of file description information is file description information, which is received and stored by a corresponding AP, of a current configuration file of the AC and issued by the AC, and the file description information stored by each designated AP at least comprises the file description information which is received by the designated AP last time;
selecting file description information meeting preset conditions from the acquired file description information;
acquiring corresponding configuration files from a plurality of APs in the selected source APs of the file description information;
and determining a configuration file from the acquired configuration files according to the selected file description information, and carrying out configuration recovery according to the determined configuration file.
According to a second aspect of an embodiment of the present application, there is provided a profile restoration apparatus, the apparatus being applied to an AC, comprising:
the first acquisition module is used for acquiring file description information stored by a plurality of designated APs in each AP managed by the AC when the configuration file of the AC is lost, wherein each piece of file description information is file description information, which is received and stored by a corresponding AP and is issued by the AC and is specific to the current configuration file of the AC, and each piece of file description information stored by the designated AP at least comprises the file description information which is received by the designated AP last time;
the selection module is used for selecting file description information meeting preset conditions from the acquired file description information;
the second acquisition module acquires corresponding configuration files from a plurality of APs in the selected source APs of the file description information;
and the first recovery module is used for determining a set of configuration files from the acquired configuration files according to the selected file description information and carrying out configuration recovery according to the determined configuration files.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
in the embodiment of the application, when the configuration file of the AC is lost, the corresponding configuration file can be acquired according to the file description information for the AC stored by the designated AP in each AP, and the configuration recovery is performed according to the acquired configuration file. The whole recovery process does not need to be manually participated, and the labor cost is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flow chart of a configuration file recovery method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a configuration file restoring device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The embodiments of the present application will be described in detail.
The embodiment of the application provides a configuration file recovery method, which is applied to an AC (alternating current), and can comprise the following steps as shown in fig. 1:
s11, when the configuration file of the AC is lost, file description information stored by a plurality of designated APs in all APs managed by the AC is acquired.
Each piece of file description information is file description information, which is received and stored by a corresponding AP, of a current configuration file of the AC sent by the AC, and each piece of file description information stored by the designated AP at least comprises file description information which is received by the designated AP last time.
S12, selecting file description information meeting preset conditions from the acquired file description information.
S13, acquiring corresponding configuration files from a plurality of APs in the selected source APs of the file description information;
s14, determining a set of configuration files from the acquired configuration files according to the selected file description information, and carrying out configuration recovery according to the determined configuration files.
In the embodiment of the present application, the AC may select all APs or part of APs from the APs managed by the AC as the specified APs, send the initial configuration file and the file description information for the initial configuration file to the specified APs for saving, and then once the configuration file is changed, send the changed configuration file and the file description information for the changed configuration file to the specified APs for saving, so that the configuration is required to be restored later.
Here, each piece of file description information may include time, file size, check value, profile file name, and the like. If the configuration file corresponding to the file description information is an initial configuration file, the time included in the file description information can be the configuration time of the initial configuration file, etc.; if the configuration file corresponding to the file description information is the configuration file after the change, the time included in the file description information may be the time when the configuration file before the change is changed. The verification value included in the piece of file description information is obtained by calculating a configuration file corresponding to the piece of file description information according to a preset algorithm by using an AC, for example, the preset algorithm can be an MD5 information abstract algorithm and the like.
For each designated AP, once the configuration file and the corresponding file description information issued by the AC are received, the configuration file and the corresponding file description information received this time are saved, and the previously received configuration file and the corresponding file description information can be selectively discarded according to the storage space condition of the configuration file and the corresponding file description information, for example, discarding according to the early-late sequence of the receiving time, etc.
That is, the configuration files and the corresponding file description information stored on each designated AP may be the same or different.
Specifically, in the step S11, when the configuration file of the AC is lost, the AC may actively send an acquisition request to the plurality of designated APs to acquire file description information stored in the plurality of designated APs.
When the configuration file of the AC is lost, if the AC is newly associated with the AP managed by the AC, the AC may not actively transmit the related acquisition request, and wait to receive the file description information saved by the AC and actively transmitted by the multiple designated APs. The file description information is sent together when the configuration file of the file description information is actively sent to the AC after each designated AP re-associates the AC.
In an embodiment of the present application, each piece of file description information obtained by the AC may be file description information of a corresponding configuration file (i.e., a complete configuration file).
In this case, in the above-described step S12, the AC may select the file description information satisfying the preset condition by:
and selecting file description information which has the same content and comprises the time closest to the current time from the acquired file description information.
In the above step S14, the AC may determine a profile by:
and selecting a configuration file with the same file size and check value as those included in the selected file description information from the acquired configuration files.
The verification value of each configuration file is calculated by the AC through a preset algorithm.
In addition, in this case, to ensure that the complete configuration file is maintained on the designated AP, the AC also performs the following operational flow:
for each obtained configuration file, if the file size and the check value of the configuration file are not identical to those included in the selected file description information, after configuration is restored, the determined configuration file is sent to the source AP of the configuration file, so that the source AP of the configuration file replaces the configuration file with the determined configuration file.
In another embodiment of the present application, each piece of file description information obtained by the AC is file description information of a sub-profile in the corresponding profile.
That is, the AC may divide the complete configuration file into multiple sub-configuration files, with each sub-configuration file being assigned to multiple APs to relieve the storage pressure of the APs.
In this case, in the above-described step S12, the AC may select the file description information satisfying the preset condition by:
grouping the acquired file description information according to the name of the sub-configuration file included in the file description information;
for each set of file description information, file description information which has the same content and includes the time closest to the current time is selected from the set of file description information.
In the step S13, when the AC obtains the corresponding configuration files from the plurality of APs in the selected source APs of the file description information, the specific implementation process is as follows:
and acquiring corresponding sub-configuration files from a plurality of APs in the source APs of the file description information aiming at each selected set of file description information.
In the above step S14, the AC may determine a profile by:
for each group of obtained sub-configuration files, selecting a sub-configuration file with the same file size and check value as those included in the file description information of the selected group of sub-configuration files from the group of sub-configuration files. The verification value of each part of the sub-configuration files in the group of sub-configuration files is calculated by AC through a preset algorithm.
And combining all the selected sub-configuration files to obtain a determined configuration file.
In this case, to ensure that the complete sub-profile is maintained on the designated AP, the AC also performs the following operational flow:
and for each part of the obtained sub-configuration files in each group of the sub-configuration files, if the file size and the check value of the part of the sub-configuration files are not identical to the file size and the check value included in the file description information of the selected group of the sub-configuration files, after configuration is restored, the selected sub-configuration files from the group of the sub-configuration files are sent to the source AP of the part of the sub-configuration files, so that the source AP of the part of the sub-configuration files replaces the part of the sub-configuration files.
Further, in an embodiment of the present application, the AC may also perform the following operation flow:
when the configuration file of the AC is not lost, acquiring file description information stored by a designated AP according to an acquisition instruction input by an administrator;
ordering the obtained file description information stored by the designated AP according to the sequence of the time included in the file description information;
displaying the ordered file description information to an administrator for selection;
and acquiring a corresponding configuration file from a source AP of the selected file description information according to the file description information selected by the administrator, and recovering the current configuration file into the acquired configuration file.
That is, the AC may automatically implement rollback of the configuration file according to the administrator's related instructions.
In addition, in the embodiment of the application, in order to ensure that the AC can recover in time when the configuration file is lost, the AC can periodically and actively acquire the file description information stored by the designated AP in the APs managed by the AC in the normal association process with the APs managed by the AC so as to compare the file description information with the file description information of the current configuration file in time, and when the comparison is inconsistent, the AC can timely send the latest configuration file to the designated AP.
The above-described configuration file restoration method is described in detail below with reference to specific embodiments.
In the wireless networking, it is assumed that the AC manages AP1 to APn, and the AC sends complete configuration files and corresponding file description information thereof to AP1 to APn several times.
When the configuration file of the AC is lost, the AC sends an acquisition request for acquiring file description information to the APs 1 to APn, respectively.
And the AC receives the acquisition responses which are sent by the APs 1 to APn and carry the respective file description information.
The AC selects file description information having the same contents and including a time closest to the current time from among the received file description information.
Suppose that 95% of the APs transmit the file description information nearest to the current time as shown in table one below.
Table one assumes that 5% of the APs transmit the file description information nearest to the current time, as shown in table two below.
Watch II
The AC will use the file description information sent by 95% of the APs as the selected file description information.
And then, the AC randomly selects a plurality of APs from 95% of APs, and acquires configuration files corresponding to config-20200303120000 from the plurality of APs.
The AC selects a configuration file with the same file size and the same check value as the selected file description information from the acquired configuration files.
Assuming that the obtained size of the configuration file and the verification value of the configuration file are the same as the file size and the verification value included in the selected file description information, the AC may randomly select one configuration file.
And finally, carrying out configuration recovery according to the selected configuration file.
According to the technical scheme, when the configuration file of the AC is lost, the corresponding configuration file can be acquired according to the file description information for the AC stored in the designated AP in each AP, and configuration recovery is performed according to the acquired configuration file. The whole recovery process does not need to be manually participated, and the labor cost is saved.
Based on the same inventive concept, the application also provides a configuration file recovery device, which is applied to the AC, and the structure schematic diagram of the device is shown in fig. 2, and specifically comprises:
a first obtaining module 21, configured to obtain, when the configuration file of the AC is lost, file description information stored by a plurality of designated APs in each AP managed by the AC, where each piece of file description information is file description information, which is received and stored by a corresponding AP, of a current configuration file of the AC and is issued by the AC, and each piece of file description information stored by the designated AP includes at least file description information that was received by the designated AP last time;
a selection module 22, configured to select file description information that meets a preset condition from the acquired file description information;
the second obtaining module 23 obtains corresponding configuration files from a plurality of APs in the selected source APs of the file description information;
the first recovery module 24 is configured to determine a set of configuration files from the acquired configuration files according to the selected file description information, and perform configuration recovery according to the determined configuration files.
Preferably, each piece of file description information is file description information of a corresponding configuration file;
the selection module 22 is specifically configured to:
selecting file description information which has the same content and comprises the time closest to the current time from the acquired file description information;
the first recovery module 24 is specifically configured to:
and selecting a configuration file with the same file size and the same check value as the selected file description information from the acquired configuration files, wherein the check value of each configuration file is obtained by calculating the configuration file by adopting a preset algorithm for the AC.
Preferably, the apparatus further comprises:
a first sending module (not shown in fig. 2) configured to send, for each obtained configuration file, the determined configuration file to the source AP of the configuration file after configuration is restored if the file size and the check value of the configuration file are not identical to those included in the selected file description information, so that the source AP of the configuration file replaces the configuration file with the determined configuration file.
Preferably, each piece of file description information is file description information of a sub-configuration file in the corresponding configuration file;
the selection module 22 is specifically configured to:
grouping the acquired file description information according to the name of the sub-configuration file included in the file description information;
for each group of file description information, selecting file description information which has the same content and comprises the time closest to the current time from the group of file description information;
the second obtaining module 23 is specifically configured to:
for each selected set of file description information, acquiring corresponding sub-configuration files from a plurality of APs in the source APs of the set of file description information;
the first recovery module 24 is specifically configured to:
selecting a sub-configuration file with the same file size and check value as those included in the file description information of the selected group of sub-configuration files from the group of sub-configuration files according to the acquired group of sub-configuration files, wherein the check value of each sub-configuration file in the group of sub-configuration files is obtained by calculating the sub-configuration file by adopting a preset algorithm for the AC;
and combining all the selected sub-configuration files to obtain a determined configuration file.
Preferably, the apparatus further comprises:
a second sending module (not shown in fig. 2) configured to send, for each part of the obtained sub-configuration files in each group of sub-configuration files, the selected sub-configuration file from the group of sub-configuration files to the source AP of the part of sub-configuration files after the configuration is restored if the file size and the check value of the part of sub-configuration files are not identical to the file size and the check value included in the file description information of the selected group of sub-configuration files, so that the source AP of the part of sub-configuration files replaces the part of sub-configuration files.
Preferably, the apparatus further comprises:
a third obtaining module (not shown in fig. 2) configured to obtain, when the configuration file of the AC is not lost, file description information stored in the designated AP according to an obtaining instruction input by an administrator;
a sorting module (not shown in fig. 2) for sorting the obtained file description information according to the time sequence included in the file description information;
a display module (not shown in fig. 2) for displaying the sorted file description information to an administrator for selection;
and a second recovery module (not shown in fig. 2) configured to obtain, according to the file description information selected by the administrator, a corresponding configuration file from the source AP of the selected file description information, and recover the current configuration file to the obtained configuration file.
According to the technical scheme, when the configuration file of the AC is lost, the corresponding configuration file can be acquired according to the file description information for the AC stored in the designated AP in each AP, and configuration recovery is performed according to the acquired configuration file. The whole recovery process does not need to be manually participated, and the labor cost is saved.
An embodiment of the present application further provides an electronic device, as shown in fig. 3, including a processor 31 and a machine-readable storage medium 32, the machine-readable storage medium 32 storing machine-executable instructions executable by the processor 31, the processor 31 being caused by the machine-executable instructions to: and the step of realizing the configuration file recovery method is realized.
The machine-readable storage medium may include random access Memory (Random Access Memory, RAM) or Non-Volatile Memory (NVM), such as at least one magnetic disk Memory. In the alternative, the machine-readable storage medium may also be at least one memory device located remotely from the foregoing processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present application, a computer readable storage medium is provided, in which a computer program is stored, which when executed by a processor, implements the steps of the above-described profile restoration method.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the application.

Claims (12)

1. A method for recovering a configuration file, the method being applied to an access controller AC, the method comprising:
when the configuration file of the AC is lost, file description information stored by a plurality of designated APs in each access point AP managed by the AC is obtained, wherein each piece of file description information is file description information, which is received and stored by a corresponding AP, of a current configuration file of the AC and is issued by the AC, and the file description information stored by each designated AP at least comprises the file description information which is received by the designated AP last time;
selecting file description information meeting preset conditions from the acquired file description information;
acquiring corresponding configuration files from a plurality of APs in the selected source APs of the file description information;
and determining a configuration file from the acquired configuration files according to the selected file description information, and carrying out configuration recovery according to the determined configuration file.
2. The method of claim 1, wherein each piece of file description information is file description information of a corresponding configuration file;
selecting file description information meeting preset conditions from the acquired file description information, wherein the file description information specifically comprises the following steps:
selecting file description information which has the same content and comprises the time closest to the current time from the acquired file description information;
determining a configuration file from the obtained configuration files according to the selected file description information, wherein the configuration file specifically comprises the following steps:
and selecting a configuration file with the same file size and the same check value as the selected file description information from the acquired configuration files, wherein the check value of each configuration file is obtained by calculating the configuration file by adopting a preset algorithm for the AC.
3. The method according to claim 2, wherein the method further comprises:
and for each acquired configuration file, if the file size and the check value of the configuration file are not identical to those included in the selected file description information, after configuration is restored, the determined configuration file is sent to the source AP of the configuration file, so that the source AP of the configuration file replaces the configuration file with the determined configuration file.
4. The method of claim 1, wherein each piece of file description information is file description information of a sub-profile in the corresponding profile;
selecting file description information meeting preset conditions from the acquired file description information, wherein the file description information specifically comprises the following steps:
grouping the acquired file description information according to the name of the sub-configuration file included in the file description information;
for each group of file description information, selecting file description information which has the same content and comprises the time closest to the current time from the group of file description information;
corresponding configuration files are obtained from a plurality of APs in the selected source APs of the file description information, and the method specifically comprises the following steps:
for each selected set of file description information, acquiring corresponding sub-configuration files from a plurality of APs in the source APs of the set of file description information;
determining a configuration file from the obtained configuration files according to the selected file description information, wherein the configuration file specifically comprises the following steps:
selecting a sub-configuration file with the same file size and check value as those included in the file description information of the selected group of sub-configuration files from the group of sub-configuration files according to the acquired group of sub-configuration files, wherein the check value of each sub-configuration file in the group of sub-configuration files is obtained by calculating the sub-configuration file by adopting a preset algorithm for the AC;
and combining all the selected sub-configuration files to obtain a determined configuration file.
5. The method according to claim 4, wherein the method further comprises:
and for each part of the obtained sub-configuration files in each group of the sub-configuration files, if the file size and the check value of the part of the sub-configuration files are not identical to the file size and the check value included in the file description information of the selected group of the sub-configuration files, after configuration is restored, the selected sub-configuration files from the group of the sub-configuration files are sent to the source AP of the part of the sub-configuration files, so that the source AP of the part of the sub-configuration files replaces the part of the sub-configuration files.
6. The method according to claim 1, wherein the method further comprises:
when the configuration file of the AC is not available, acquiring file description information stored by the designated AP according to an acquisition instruction input by an administrator;
sequencing the obtained file description information according to the sequence of the time included in the file description information;
displaying the ordered file description information to an administrator for selection;
and acquiring a corresponding configuration file from a source AP of the selected file description information according to the file description information selected by the administrator, and recovering the current configuration file into the acquired configuration file.
7. A profile restoration apparatus, the apparatus being applied to an access controller AC, the apparatus comprising:
the first acquisition module is used for acquiring file description information stored by a plurality of designated APs in each access point AP managed by the AC when the configuration file of the AC is lost, wherein each piece of file description information is file description information, which is received and stored by a corresponding AP, of a current configuration file of the AC and is issued by the AC, and each piece of file description information stored by the designated AP at least comprises file description information which is received by the designated AP last time;
the selection module is used for selecting file description information meeting preset conditions from the acquired file description information;
the second acquisition module acquires corresponding configuration files from a plurality of APs in the selected source APs of the file description information;
and the first recovery module is used for determining a set of configuration files from the acquired configuration files according to the selected file description information and carrying out configuration recovery according to the determined configuration files.
8. The apparatus of claim 7, wherein each piece of file description information is file description information of a corresponding configuration file;
the selection module is specifically configured to:
selecting file description information which has the same content and comprises the time closest to the current time from the acquired file description information;
the first recovery module is specifically configured to:
and selecting a configuration file with the same file size and the same check value as the selected file description information from the acquired configuration files, wherein the check value of each configuration file is obtained by calculating the configuration file by adopting a preset algorithm for the AC.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the first sending module is configured to send, for each obtained configuration file, the determined configuration file to the source AP of the configuration file after configuration is restored if the file size and the check value of the configuration file are not identical to those included in the selected file description information, so that the source AP of the configuration file replaces the configuration file with the determined configuration file.
10. The apparatus of claim 7, wherein each piece of file description information is file description information of a sub-profile in the corresponding profile;
the selection module is specifically configured to:
grouping the acquired file description information according to the name of the sub-configuration file included in the file description information;
for each group of file description information, selecting file description information which has the same content and comprises the time closest to the current time from the group of file description information;
the second obtaining module is specifically configured to:
for each selected set of file description information, acquiring corresponding sub-configuration files from a plurality of APs in the source APs of the set of file description information;
the first recovery module is specifically configured to:
selecting a sub-configuration file with the same file size and check value as those included in the file description information of the selected group of sub-configuration files from the group of sub-configuration files according to the acquired group of sub-configuration files, wherein the check value of each sub-configuration file in the group of sub-configuration files is obtained by calculating the sub-configuration file by adopting a preset algorithm for the AC;
and combining all the selected sub-configuration files to obtain a determined configuration file.
11. The apparatus of claim 10, wherein the apparatus further comprises:
and the second sending module is used for sending the selected sub-configuration file from the group of sub-configuration files to the source AP of the part of sub-configuration files after configuration is restored if the file size and the check value of the part of sub-configuration files are not identical to the file size and the check value included in the file description information of the selected group of sub-configuration files, so that the source AP of the part of sub-configuration files replaces the part of sub-configuration files.
12. The apparatus of claim 7, wherein the apparatus further comprises:
the third acquisition module is used for acquiring file description information stored by the designated AP according to an acquisition instruction input by an administrator when the configuration file of the AC is not available;
the ordering module is used for ordering the acquired file description information according to the time sequence included in the file description information;
the display module is used for displaying the ordered file description information to an administrator for selection;
and the second recovery module is used for acquiring a corresponding configuration file from the source AP of the selected file description information according to the file description information selected by the administrator, and recovering the current configuration file into the acquired configuration file.
CN202010602882.4A 2020-06-29 2020-06-29 Configuration file recovery method and device Active CN111867006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010602882.4A CN111867006B (en) 2020-06-29 2020-06-29 Configuration file recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010602882.4A CN111867006B (en) 2020-06-29 2020-06-29 Configuration file recovery method and device

Publications (2)

Publication Number Publication Date
CN111867006A CN111867006A (en) 2020-10-30
CN111867006B true CN111867006B (en) 2023-10-24

Family

ID=72988680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010602882.4A Active CN111867006B (en) 2020-06-29 2020-06-29 Configuration file recovery method and device

Country Status (1)

Country Link
CN (1) CN111867006B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2025142A1 (en) * 1989-09-28 1991-03-29 John W. White Portable and dynamic distributed applications architecture
CN101335666A (en) * 2007-06-29 2008-12-31 杭州华三通信技术有限公司 Configuration transmitting method, access control equipment and access point
CN202085186U (en) * 2011-05-23 2011-12-21 深圳市共进电子有限公司 System capable of realizing quick backup and restore in home gateway equipment
WO2012003862A1 (en) * 2010-07-06 2012-01-12 Siemens Aktiengesellschaft Device for synchronizing two processes of a redundant control system of an industrial automation arrangement
CN102333335A (en) * 2011-10-20 2012-01-25 华为技术有限公司 Service recovery method, equipment and system for wireless local area network (WLAN)
CN105094797A (en) * 2014-05-15 2015-11-25 奥克兰联合服务有限公司 Application analysis system for electronic devices
WO2016170619A1 (en) * 2015-04-22 2016-10-27 株式会社日立製作所 Computer system
CN107547245A (en) * 2017-05-27 2018-01-05 新华三技术有限公司 A kind of version upgrading method and device
CN107659948A (en) * 2017-09-21 2018-02-02 新华三技术有限公司 A kind of method and device of control AP accesses

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004595A (en) * 2005-06-24 2007-01-11 Hitachi Ltd Computer control method, computer, information processing system and program
CN103327519A (en) * 2013-07-11 2013-09-25 成都西加云杉科技有限公司 AP (Access Point) and system based AP and AC (AP Controller) architecture
US9891907B2 (en) * 2014-07-07 2018-02-13 Harman Connected Services, Inc. Device component status detection and illustration apparatuses, methods, and systems
CN105848168B (en) * 2015-01-16 2019-08-02 新华三技术有限公司 A kind of method and device managing wireless access point AP

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2025142A1 (en) * 1989-09-28 1991-03-29 John W. White Portable and dynamic distributed applications architecture
EP0420461A2 (en) * 1989-09-28 1991-04-03 Texas Instruments Incorporated Portable and dynamic distributed applications architecture
CN101335666A (en) * 2007-06-29 2008-12-31 杭州华三通信技术有限公司 Configuration transmitting method, access control equipment and access point
WO2012003862A1 (en) * 2010-07-06 2012-01-12 Siemens Aktiengesellschaft Device for synchronizing two processes of a redundant control system of an industrial automation arrangement
CN202085186U (en) * 2011-05-23 2011-12-21 深圳市共进电子有限公司 System capable of realizing quick backup and restore in home gateway equipment
CN102333335A (en) * 2011-10-20 2012-01-25 华为技术有限公司 Service recovery method, equipment and system for wireless local area network (WLAN)
CN105094797A (en) * 2014-05-15 2015-11-25 奥克兰联合服务有限公司 Application analysis system for electronic devices
WO2016170619A1 (en) * 2015-04-22 2016-10-27 株式会社日立製作所 Computer system
CN107547245A (en) * 2017-05-27 2018-01-05 新华三技术有限公司 A kind of version upgrading method and device
CN107659948A (en) * 2017-09-21 2018-02-02 新华三技术有限公司 A kind of method and device of control AP accesses

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
网络配置数据存储与恢复的研究与应用;蒋玉玲;谭佳慧;;计算技术与自动化(02);全文 *
运营商集约化AC平台建设方案探究;余建文;;通讯世界(17);全文 *

Also Published As

Publication number Publication date
CN111867006A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN103634375B (en) Method, device and equipment for cluster node expansion
CN110968478B (en) Log acquisition method, server and computer storage medium
JP2013073417A (en) Method and system for arranging object data, server device thereof, client device, and program
CN112367345B (en) Data processing method, server device and computer readable storage medium
CN110795120B (en) Software upgrading method and related device
CN111241061A (en) Writing method of state database, data processing device and storage medium
JP2019204216A5 (en)
CN105162894A (en) Equipment identification acquisition method and equipment identification acquisition device
CN111867006B (en) Configuration file recovery method and device
CN101930468A (en) File acquisition method and system
CN111090519A (en) Task execution method and device, storage medium and electronic equipment
CN104809256A (en) Data deduplication method and data deduplication method
JP6816633B2 (en) Control program, control method and control device
CN105893135B (en) Distributed data processing method and data center
CN106293996B (en) Method of data synchronization, main equipment, alternate device and system
CN109617988B (en) Request retry method and related product
CN116095064A (en) File downloading method, computer equipment and storage medium
CN110086660B (en) Data processing method and device
CN110545296A (en) Log data acquisition method, device and equipment
CN111049689B (en) Data center switching method and device
CN113190621A (en) Dynamic adjustment method for alliance link data fragmentation, computer equipment and storage medium
US20070268057A1 (en) Methods and apparatus for applying changes to a group of objects
CN106294721A (en) A kind of company-data statistics and deriving method and device
CN107707590A (en) System, the method and device of data transfer
CN113177843A (en) Cross-bank loan service processing method and device based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant