CN115102850B - Configuration comparison method, device, electronic equipment and storage medium - Google Patents
Configuration comparison method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115102850B CN115102850B CN202210749922.7A CN202210749922A CN115102850B CN 115102850 B CN115102850 B CN 115102850B CN 202210749922 A CN202210749922 A CN 202210749922A CN 115102850 B CN115102850 B CN 115102850B
- Authority
- CN
- China
- Prior art keywords
- configuration
- current network
- authority
- modules
- network configuration
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 abstract description 12
- 238000013473 artificial intelligence Methods 0.000 abstract description 7
- 238000007689 inspection Methods 0.000 description 16
- 241001596816 Halieutaea stellata Species 0.000 description 10
- 238000004590 computer program Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The disclosure provides a configuration comparison method, a device, an electronic device and a storage medium, and relates to the field of artificial intelligence such as data processing and cloud computing, wherein the method can comprise the following steps: generating a total first authority configuration according to the total current network configuration, wherein the current network configuration and the module combination sequence in the first authority configuration are the same; and comparing the current network configuration with the first authority configuration to obtain a comparison result. By applying the scheme disclosed by the disclosure, the accuracy of the comparison result can be improved.
Description
Technical Field
The present disclosure relates to the field of artificial intelligence, and in particular, to a configuration comparison method, apparatus, electronic device, and storage medium in the fields of data processing, cloud computing, and the like.
Background
At present, many networks still adopt a traditional routing protocol, normal operation of the network is realized by configuring equipment, and in many cases, the existing network configuration and the authoritative configuration need to be compared to determine differences between the existing network configuration and the authoritative configuration, and the influences of the differences are analyzed so as to correct the existing network configuration or the authoritative configuration.
Disclosure of Invention
The disclosure provides a configuration comparison method, a configuration comparison device, electronic equipment and a storage medium.
A configuration alignment method, comprising:
generating a total first authority configuration according to the total current network configuration, wherein the current network configuration and the module combination sequence in the first authority configuration are the same;
and comparing the current network configuration with the first authority configuration to obtain a comparison result.
A configuration alignment apparatus comprising: the method comprises the steps of obtaining a module and a comparison module;
the acquisition module is used for generating a total first authoritative configuration according to the total current network configuration, and the current network configuration and the module combination sequence in the first authoritative configuration are the same;
the comparison module is used for comparing the current network configuration with the first authority configuration to obtain a comparison result.
An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a method as described above.
A computer program product comprising computer programs/instructions which when executed by a processor implement a method as described above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of an embodiment of a configuration alignment method of the present disclosure;
fig. 2 is a timing control flowchart for implementing the configuration comparison method according to the present disclosure based on a patrol platform according to the present disclosure;
FIG. 3 is a schematic diagram of the structure of an embodiment 300 of the alignment device according to the present disclosure;
fig. 4 shows a schematic block diagram of an electronic device 400 that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In addition, it should be understood that the term "and/or" herein is merely one association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Fig. 1 is a flow chart of an embodiment of a configuration alignment method according to the present disclosure. As shown in fig. 1, the following detailed implementation is included.
In step 101, a total first authority configuration is generated according to the total current network configuration, and the current network configuration and the module combination sequence in the first authority configuration are the same.
In step 102, the current network configuration is compared with the first authority configuration to obtain a comparison result.
The current network configuration refers to the actual configuration of each device, and the authoritative configuration refers to the standard configuration which can be referred to when a network is built or changed.
In the prior art, the existing network configuration and the authoritative configuration can be compared in a manual checking mode to determine the difference between the existing network configuration and the authoritative configuration, but the mode needs to consume larger manpower and time cost.
Therefore, it is hoped that the comparison can be automatically configured to save labor and time cost, in addition, in practical application, for two configuration files, the situation that the order of the modules is different but the actual content is the same exists, that is, the combination order of the modules can directly influence the accuracy of the comparison result, so in the scheme of the embodiment of the method, the full first authoritative configuration can be generated according to the full network configuration, the combination order of the modules is the same, and the full configuration comparison can be further performed, so that the automatic configuration comparison is realized, the influence of the different order comparison results is avoided, and the accuracy of the comparison result is improved.
When generating the total first authoritative configuration according to the total present network configuration, different implementation manners can be provided according to different types of the original authoritative configuration, and the description is respectively carried out below.
The types can be divided into full and non-full, that is, the original authority configuration may be the full authority configuration or the non-full authority configuration, the full authority configuration includes parameter value information, and the non-full authority configuration does not include parameter value information, so that only modules similar to a framework/architecture exist.
1) Mode one
In this manner, the current network configuration may be first parsed to obtain the following information: the current network configuration modules and the combination sequence among the current network configuration modules can be respectively obtained from the original authority configuration, and the obtained authority configuration modules can be combined according to the combination sequence among the current network configuration modules, so that the required first authority configuration is obtained.
The current network configuration module refers to a module included in current network configuration, and the authority configuration module refers to a module included in authority configuration.
For example, the present network configuration may be parsed by a configuration comparison service tool, such as Batfish (Batfish), to obtain each present network configuration module included therein and a combination order between each present network configuration modules.
Then, for each current network configuration module, a corresponding authority configuration module can be obtained from the original authority configuration respectively, and the corresponding authority configuration module can be the authority configuration module with the same function.
Further, the obtained authority configuration modules can be combined according to the combination sequence among the current network configuration modules, so that the first authority configuration is obtained. In practical application, if necessary, the obtained first authority configuration may also be checked/verified manually or the like, for example, to determine whether the parameter value is correct or not.
It can be seen that, by adopting the above manner, the combination sequence of each authority configuration module can be directly adjusted based on the combination sequence of each current network configuration module, so as to obtain the required total first authority configuration.
2) Mode two
In this manner, the current network configuration may be first parsed to obtain the following information: the current network configuration modules and the combination sequence among the current network configuration modules can be used for respectively acquiring the authority configuration modules corresponding to the current network configuration modules from the original authority configuration, further, the acquired authority configuration modules can be combined according to the combination sequence among the current network configuration modules, and the acquired corresponding parameter values can be respectively filled into the combined authority configuration modules, so that the required first authority configuration is obtained.
For example, the Batfish may be used to parse the current network configuration, so as to obtain each current network configuration module included therein and a combination sequence between the current network configuration modules.
Then, for each current network configuration module, a corresponding authority configuration module can be obtained from the original authority configuration respectively.
Further, the obtained authority configuration modules can be combined according to the combination sequence among the current network configuration modules, parameter values corresponding to the authority configuration modules can be obtained respectively, and the obtained parameter values are filled into the corresponding authority configuration modules, so that the first authority configuration is obtained.
In one embodiment of the present disclosure, the obtained corresponding parameter values may include: the obtained manually entered corresponding parameter values, or the corresponding parameter values obtained by topology information query (i.e. topology service), or the corresponding parameter values obtained from the parameter center. The specific acquisition mode can be determined according to actual needs, and the method is flexible and convenient.
It can be seen that, by adopting the above manner, the combination sequence of each authority configuration module can be adjusted based on the combination sequence of each current network configuration module, and the parameter values corresponding to each authority configuration module can be obtained and filled in, so as to obtain the required total first authority configuration.
The specific mode one or the specific mode two can be determined according to actual conditions, namely, no matter what type of original authority configuration is, corresponding implementation modes are provided in the scheme disclosed by the disclosure, so that various scenes can be considered, and the method has universal applicability.
After the first authority configuration is obtained, the current network configuration can be compared with the first authority configuration to obtain a comparison result. In one embodiment of the present disclosure, the present network configuration may be compared to the first authoritative configuration in a full configuration using a configuration comparison service tool.
For example, the first authority configuration can be input into the Batfish for analysis, and then the comparison capability of the Batfish is utilized to perform full configuration comparison on the current network configuration and the first authority configuration, so as to obtain a comparison result, namely, the difference between the current network configuration and the first authority configuration is found, further, the influence of the difference can be manually analyzed or automatically analyzed, and the current network configuration or the authority configuration can be corrected correspondingly.
The Batfish is a relatively mature tool, and accordingly, by means of the tool, the full configuration comparison of the existing network configuration and the first authority configuration can be efficiently and accurately completed, so that a required comparison result is obtained.
In practical application, the configuration comparison method disclosed by the disclosure can be called by a construction platform, a change platform, a routing inspection platform and the like, so that configuration comparison is realized.
Taking an inspection platform as an example, fig. 2 is a timing control flowchart of implementing the configuration comparison method according to the disclosure based on the inspection platform according to the disclosure. The inspection platform can be divided into an inspection platform front end and an inspection platform rear end.
In step 201, the front end of the inspection platform acquires a configuration comparison task and a task execution period created by a user, and sends the configuration comparison task and the task execution period to the rear end of the inspection platform.
The configuration comparison task may include task parameters, such as identification information of the object to be compared (i.e. the current network configuration to be compared and the authoritative configuration), etc.
A task execution cycle may refer to when to execute the configuration alignment task, such as 24 points per day.
In step 202 to step 203, when it is determined that the task execution period is reached, the back end of the inspection platform executes the configuration comparison service, and sends the task parameters to the configuration comparison service.
Optionally, the configuration comparison service may send a parameter acquisition request to the inspection platform back end, and accordingly, the inspection platform back end may send the task parameters to the configuration comparison service.
For example, the configuration alignment service may send a parameter acquisition request to the Patrol platform backend through a parameter acquisition (get_patrol_parameters ()) function.
In step 204, the configuration comparison service generates a comparison result and returns the comparison result to the rear end of the inspection platform.
Namely, the configuration comparison service can generate a comparison result according to the configuration comparison method disclosed by the disclosure, and can return the comparison result to the rear end of the inspection platform.
For example, the configuration alignment service may return the alignment Result to the Patrol platform back end through a post_config_complex_result_to_patrol ()) function.
In step 205, the rear end of the inspection platform pushes the comparison result to the front end of the inspection platform for display.
Correspondingly, by means of the front end of the inspection platform, a user can conveniently and intuitively check the comparison result so as to carry out subsequent processing according to the comparison result.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of actions described, as some steps may take place in other order or simultaneously in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all of the preferred embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure. In addition, portions of one embodiment that are not described in detail may be referred to in the description of other embodiments.
In a word, by adopting the method disclosed by the disclosure, automatic configuration comparison can be realized, and accuracy of comparison results and the like can be ensured.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 3 is a schematic diagram of a configuration alignment apparatus 300 according to an embodiment of the disclosure. As shown in fig. 3, includes: an acquisition module 301 and a comparison module 302.
The obtaining module 301 is configured to generate a total first authority configuration according to the total current network configuration, where the current network configuration is the same as a module combination sequence in the first authority configuration.
The comparison module 302 is configured to compare the current network configuration with the first authority configuration to obtain a comparison result.
By adopting the scheme of the embodiment of the device, the full first authoritative configuration can be generated according to the full current network configuration, the module combination sequence of the full first authoritative configuration and the module combination sequence of the full first authoritative configuration are the same, and further the full configuration comparison can be carried out, so that the automatic configuration comparison is realized, the influence of different sequence comparison on the result is avoided, and the accuracy of the comparison result is improved.
In one embodiment of the present disclosure, the obtaining module 301 may first parse the current network configuration to obtain the following information: and after the combination sequence among the current network configuration modules is determined, the authority configuration modules corresponding to the current network configuration modules can be respectively obtained from the original authority configuration in response to the determination that the original authority configuration is full, and the obtained authority configuration modules can be combined according to the combination sequence among the current network configuration modules, so that the required first authority configuration is obtained.
For example, the Batfish may be used to parse the current network configuration, so as to obtain each current network configuration module included therein and a combination sequence between the current network configuration modules.
Then, for each current network configuration module, a corresponding authority configuration module can be obtained from the original authority configuration respectively, and the corresponding authority configuration module can be the authority configuration module with the same function.
Further, the obtained authority configuration modules can be combined according to the combination sequence among the current network configuration modules, so that the first authority configuration is obtained.
Alternatively, in one embodiment of the present disclosure, the obtaining module 301 may first parse the current network configuration to obtain the following information: and after the combination sequence among the current network configuration modules is determined, respectively acquiring the authority configuration modules corresponding to the current network configuration modules from the original authority configuration in response to the fact that the original authority configuration is not full, further combining the acquired authority configuration modules according to the combination sequence among the current network configuration modules, and respectively filling the acquired corresponding parameter values into the combined authority configuration modules to obtain the required first authority configuration.
For example, the Batfish may be used to parse the current network configuration, so as to obtain each current network configuration module included therein and a combination sequence between the current network configuration modules.
Then, for each current network configuration module, a corresponding authority configuration module can be obtained from the original authority configuration respectively.
Further, the obtained authority configuration modules can be combined according to the combination sequence among the current network configuration modules, parameter values corresponding to the authority configuration modules can be obtained respectively, and the obtained parameter values are filled into the corresponding authority configuration modules, so that the first authority configuration is obtained.
In one embodiment of the present disclosure, the obtained corresponding parameter values may include: the obtained corresponding parameter value input manually, or the obtained corresponding parameter value through the topology information query, or the corresponding parameter value obtained from the parameter center.
After the first authoritative configuration is obtained, the comparison module 302 may compare the current network configuration with the first authoritative configuration to obtain a comparison result. In one embodiment of the present disclosure, the comparison module 302 may utilize a configuration comparison service tool to compare the current network configuration to the first authoritative configuration for a full configuration.
For example, the first authority configuration can be input into the Batfish for analysis, and then the comparison capability of the Batfish is utilized to perform full configuration comparison on the current network configuration and the first authority configuration, so as to obtain a comparison result, namely, the difference between the current network configuration and the first authority configuration is found, further, the influence of the difference can be manually analyzed or automatically analyzed, and the current network configuration or the authority configuration can be corrected correspondingly.
The specific workflow of the embodiment of the apparatus shown in fig. 3 may refer to the related description in the foregoing method embodiment, and will not be repeated.
The scheme disclosed by the disclosure can be applied to the field of artificial intelligence, and particularly relates to the fields of data processing, cloud computing and the like. Artificial intelligence is the subject of studying certain thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.) that make a computer simulate a person, and has technology at both hardware and software levels, and artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing, etc., and artificial intelligence software technologies mainly include computer vision technologies, speech recognition technologies, natural language processing technologies, machine learning/deep learning, big data processing technologies, knowledge graph technologies, etc.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 4 shows a schematic block diagram of an electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile apparatuses, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing apparatuses. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the apparatus 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In RAM 403, various programs and data required for the operation of device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, etc.; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as the methods described in this disclosure. For example, in some embodiments, the methods described in the present disclosure may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. One or more steps of the methods described in this disclosure may be performed when the computer program is loaded into RAM 403 and executed by computing unit 401. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the methods described in the present disclosure by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (8)
1. A configuration alignment method, comprising:
generating a total first authority configuration according to the total current network configuration, wherein the current network configuration and the module combination sequence in the first authority configuration are the same; wherein generating the full first authoritative configuration according to the full current network configuration comprises: analyzing the current network configuration to obtain the following information: each current network configuration module included in the current network configuration and the combination sequence among the current network configuration modules; in response to determining that the original authority configuration is full, respectively acquiring authority configuration modules corresponding to all current network configuration modules from the original authority configuration, combining all the acquired authority configuration modules according to a combination sequence among all the current network configuration modules to obtain the first authority configuration, in response to determining that the original authority configuration is not full, respectively acquiring authority configuration modules corresponding to all the current network configuration modules from the original authority configuration, combining all the acquired authority configuration modules according to a combination sequence among all the current network configuration modules, respectively filling the acquired corresponding parameter values into all the combined authority configuration modules to obtain the first authority configuration, wherein the full authority configuration refers to standard configuration which can be referred to when a network is built or a network is changed, the full authority configuration refers to standard configuration which comprises parameter value information, and the non-full authority configuration refers to modules which are similar to a framework/architecture only;
and comparing the current network configuration with the first authority configuration to obtain a comparison result.
2. The method of claim 1, wherein the obtained corresponding parameter values comprise:
the obtained corresponding parameter values input manually;
or, inquiring the obtained corresponding parameter value through topology information;
or, a corresponding parameter value obtained from the parameter center.
3. The method of any of claims 1-2, wherein the comparing the existing network configuration with the first authoritative configuration comprises:
and comparing the current network configuration with the first authority configuration by using a configuration comparison service tool.
4. A configuration alignment apparatus comprising: the method comprises the steps of obtaining a module and a comparison module;
the acquisition module is used for generating a total first authoritative configuration according to the total current network configuration, and the current network configuration and the module combination sequence in the first authoritative configuration are the same; wherein generating the full first authoritative configuration according to the full current network configuration comprises: analyzing the current network configuration to obtain the following information: each current network configuration module included in the current network configuration and the combination sequence among the current network configuration modules; in response to determining that the original authority configuration is full, respectively acquiring authority configuration modules corresponding to all current network configuration modules from the original authority configuration, combining all the acquired authority configuration modules according to a combination sequence among all the current network configuration modules to obtain the first authority configuration, in response to determining that the original authority configuration is not full, respectively acquiring authority configuration modules corresponding to all the current network configuration modules from the original authority configuration, combining all the acquired authority configuration modules according to a combination sequence among all the current network configuration modules, respectively filling the acquired corresponding parameter values into all the combined authority configuration modules to obtain the first authority configuration, wherein the full authority configuration refers to standard configuration which can be referred to when a network is built or a network is changed, the full authority configuration refers to standard configuration which comprises parameter value information, and the non-full authority configuration refers to modules which are similar to a framework/architecture only;
the comparison module is used for comparing the current network configuration with the first authority configuration to obtain a comparison result.
5. The apparatus of claim 4, wherein the obtained corresponding parameter values comprise:
the obtained corresponding parameter values input manually;
or, inquiring the obtained corresponding parameter value through topology information;
or, a corresponding parameter value obtained from the parameter center.
6. The apparatus according to any one of claims 4 to 5, wherein,
and the comparison module utilizes a configuration comparison service tool to perform full configuration comparison on the current network configuration and the first authority configuration.
7. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
8. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210749922.7A CN115102850B (en) | 2022-06-28 | 2022-06-28 | Configuration comparison method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210749922.7A CN115102850B (en) | 2022-06-28 | 2022-06-28 | Configuration comparison method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115102850A CN115102850A (en) | 2022-09-23 |
CN115102850B true CN115102850B (en) | 2024-03-22 |
Family
ID=83295437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210749922.7A Active CN115102850B (en) | 2022-06-28 | 2022-06-28 | Configuration comparison method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115102850B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996031041A1 (en) * | 1995-03-28 | 1996-10-03 | Apple Computer, Inc. | System for run-time configuration of network data transfer paths |
WO2003077071A2 (en) * | 2002-03-08 | 2003-09-18 | Ciphertrust, Inc. | Systems and methods for enhancing electronic communication security |
WO2004090672A2 (en) * | 2003-04-02 | 2004-10-21 | Network Clarity, Inc. | Methods and systems for controlling network infrastructure devices |
CN102724281A (en) * | 2012-07-30 | 2012-10-10 | 李宗诚 | Holographic collaboration configuration control system based on value chain network technology platform |
CN106680698A (en) * | 2015-11-11 | 2017-05-17 | 上海复旦微电子集团股份有限公司 | Multi-station rapid configuration device and configuration method thereof for FPGA test |
CN110300017A (en) * | 2019-05-22 | 2019-10-01 | 北京百度网讯科技有限公司 | Standard configuration generating means and method and network equipments configuration error correction device and method |
CN110855458A (en) * | 2018-08-20 | 2020-02-28 | 阿里巴巴集团控股有限公司 | Configuration command generation method and equipment |
CN113961547A (en) * | 2020-07-21 | 2022-01-21 | 北京市天元网络技术股份有限公司 | Method and system for analyzing quality of operator configuration data |
CN216561763U (en) * | 2020-08-31 | 2022-05-17 | 珠海极海半导体有限公司 | MCU compatibility detection device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120204149A1 (en) * | 2011-02-03 | 2012-08-09 | International Business Machines Corporation | Discovery-based migration correctness testing |
-
2022
- 2022-06-28 CN CN202210749922.7A patent/CN115102850B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996031041A1 (en) * | 1995-03-28 | 1996-10-03 | Apple Computer, Inc. | System for run-time configuration of network data transfer paths |
WO2003077071A2 (en) * | 2002-03-08 | 2003-09-18 | Ciphertrust, Inc. | Systems and methods for enhancing electronic communication security |
WO2004090672A2 (en) * | 2003-04-02 | 2004-10-21 | Network Clarity, Inc. | Methods and systems for controlling network infrastructure devices |
CN102724281A (en) * | 2012-07-30 | 2012-10-10 | 李宗诚 | Holographic collaboration configuration control system based on value chain network technology platform |
CN106680698A (en) * | 2015-11-11 | 2017-05-17 | 上海复旦微电子集团股份有限公司 | Multi-station rapid configuration device and configuration method thereof for FPGA test |
CN110855458A (en) * | 2018-08-20 | 2020-02-28 | 阿里巴巴集团控股有限公司 | Configuration command generation method and equipment |
CN110300017A (en) * | 2019-05-22 | 2019-10-01 | 北京百度网讯科技有限公司 | Standard configuration generating means and method and network equipments configuration error correction device and method |
CN113961547A (en) * | 2020-07-21 | 2022-01-21 | 北京市天元网络技术股份有限公司 | Method and system for analyzing quality of operator configuration data |
CN216561763U (en) * | 2020-08-31 | 2022-05-17 | 珠海极海半导体有限公司 | MCU compatibility detection device |
Non-Patent Citations (1)
Title |
---|
云计算课程实践教学模式研究;王晓姝;;科技创新导报(第30期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115102850A (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114389969B (en) | Method and device for testing client, electronic equipment and storage medium | |
CN114417780B (en) | State synchronization method and device, electronic equipment and storage medium | |
CN114445047A (en) | Workflow generation method and device, electronic equipment and storage medium | |
CN113641829A (en) | Method and device for training neural network of graph and complementing knowledge graph | |
CN115391204A (en) | Test method and device for automatic driving service, electronic equipment and storage medium | |
CN113704058B (en) | Service model monitoring method and device and electronic equipment | |
CN114861059A (en) | Resource recommendation method and device, electronic equipment and storage medium | |
CN113452760A (en) | Verification code synchronization method and device, electronic equipment and storage medium | |
CN113344214A (en) | Training method and device of data processing model, electronic equipment and storage medium | |
CN115481594B (en) | Scoreboard implementation method, scoreboard, electronic equipment and storage medium | |
CN115102850B (en) | Configuration comparison method, device, electronic equipment and storage medium | |
CN114141236B (en) | Language model updating method and device, electronic equipment and storage medium | |
CN115361290B (en) | Configuration comparison method, device, electronic equipment and storage medium | |
CN116301916A (en) | Service deployment method, device, electronic equipment and storage medium | |
CN113901094B (en) | Data processing method, device, equipment and storage medium | |
CN114218166A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN113691403A (en) | Topological node configuration method, related device and computer program product | |
CN113704314A (en) | Data analysis method and device, electronic equipment and storage medium | |
CN113033179A (en) | Knowledge acquisition method and device, electronic equipment and readable storage medium | |
CN113836291B (en) | Data processing method, device, equipment and storage medium | |
CN113835893B (en) | Data processing method, device, equipment, storage medium and program product | |
CN112783507B (en) | Data stream guiding playback method and device, electronic equipment and readable storage medium | |
CN114475631B (en) | Driving data processing method, device, automatic driving vehicle medium and product | |
CN115860055B (en) | Performance determination method, performance optimization method, device, electronic equipment and medium | |
CN115686304A (en) | Information acquisition method and device, electronic equipment and storage medium |
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 |