Service reconciliation method and system
By providing a business reconciliation method and system that supports refined repair and flexible reconciliation reference selection in the data center, the problems of incomplete business reconciliation and limited use scenarios in the existing technology are solved, and more efficient data consistency and repair efficiency are achieved.
Patent Information
- Application Number
- PCT/CN2024/129745
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-20
- Filing Date
- 2024-11-04
- Publication Date
- 2025-06-26
AI Technical Summary
Existing data center solutions have incomplete business reconciliation, cannot remediate differential data, and use scenarios are limited, such as not supporting determining reconciliation reference parties and single remediation.
Provides a business reconciliation method and system, which compares the configuration data of switch equipment and configuration modules, and repairs data according to the repair method selected by the user, supports single and batch repairs, and supports flexibly selecting the reconciliation reference party.
It realizes refined repair of business reconciliation data in the data center, improves data consistency and repair efficiency, expands usage scenarios, and supports reconciliation of multiple heterogeneous configuration modules and switches.
Smart Images

Figure CN2024129745_26062025_PF_FP_ABST
Abstract
Description
Business reconciliation method and system
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on Chinese patent application CN202311774060.4, filed on December 20, 2023, entitled “A Business Reconciliation Method and System”, and claims the priority of the patent application, and all the contents disclosed therein are incorporated into this disclosure by reference. Technical Field
[0003] The present disclosure relates to the field of data center network communications, and more particularly, to a business reconciliation method and system. Background Art
[0004] When deploying services in a data center, control devices generally automatically deploy forwarding devices, but some configurations are also manually deployed or modified directly on the forwarding devices. During or after deployment, reconciliation is required to ensure data consistency between the control and forwarding devices. Reconciliation is also called configuration auditing. Current mainstream data center solutions all support reconciliation functions, but most of them are incompletely implemented or have limitations. For example, they do not support the determination of reconciliation reference parties, resulting in usage scenario defects; they do not support single-line repairs, resulting in the inability to perform refined repairs; they only support SDN scenarios, resulting in usage scenario limitations; and the reconciliation locations between configuration data from different sources and the local configuration data of the switch device are fixed. For example, reconciliation can only be performed on the configuration module, resulting in missing scenarios and inflexible deployment.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a business reconciliation method and system to at least solve the problem in the related art that problematic data in business reconciliation cannot be repaired in a refined manner.
[0007] According to one embodiment of the present disclosure, a business reconciliation method is provided, comprising: obtaining configuration data of a switch device based on a configuration data identifier, and obtaining configuration data of a configuration module based on a configuration source identifier, wherein the configuration data identifier corresponds to the configuration source identifier; performing business reconciliation on the configuration data of the switch device and the configuration data of the configuration module, and, if a difference exists between the configuration data of the switch device and the configuration data of the configuration module, performing data repair according to a selected repair method.
[0008] According to another embodiment of the present disclosure, a business reconciliation system is provided, comprising: a switch device, a configuration module, and a reconciliation module, wherein the reconciliation module is configured to obtain configuration data of the switch device based on a configuration data identifier, and to obtain configuration data of the configuration module based on a configuration source identifier, wherein the configuration data identifier and the configuration source identifier have a corresponding relationship; the reconciliation module is further configured to perform business reconciliation on the configuration data of the switch device and the configuration data of the configuration module, and, if there is a difference between the configuration data of the switch device and the configuration data of the configuration module, perform data repair according to a repair method selected by a user.
[0009] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.
[0010] According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a hardware structure block diagram of a computer terminal for executing a business reconciliation method according to an embodiment of the present disclosure;
[0012] FIG2 is a network architecture diagram of a business reconciliation system according to an embodiment of the present disclosure;
[0013] FIG3 is a flow chart of a business reconciliation method according to an embodiment of the present disclosure;
[0014] FIG4 is a schematic diagram of a communication process based on communication protocol 1 according to an embodiment of the present disclosure;
[0015] FIG5 is a schematic diagram of a communication process based on communication protocol 2 according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0016] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in conjunction with embodiments.
[0017] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0018] The method embodiments provided in the embodiments of the present disclosure can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 is a hardware structure block diagram of a computer terminal that runs the business reconciliation method in an embodiment of the present disclosure. As shown in Figure 1, the computer terminal may include one or more (only one is shown in Figure 1) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that the structure shown in Figure 1 is only for illustration, and it does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in Figure 1, or have a configuration different from that shown in Figure 1.
[0019] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the business reconciliation method in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0020] The transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a computer terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0021] The disclosed embodiments are applied in data center resource pool scenarios, specifically to the topological networking environment of the spine-leaf network architecture, including software defined network (SDN) and non-SDN resource pool scenarios, in which data consistency is a necessary condition for the normal operation of the business. The disclosed embodiments provide a business reconciliation system, which includes a reconciliation component. The reconciliation component is an important tool for ensuring data consistency, and is used to compare the configuration data of the source end and the configuration data of the destination end obtained, and to choose whether to repair the differences according to user behavior. When repairing, the source end configuration data or the destination end configuration data can be selected as the standard, and batch repair or single repair can be selected, and the results of the repair can be notified to the relevant parties.
[0022] Figure 2 is a network architecture diagram of a business reconciliation system according to an embodiment of the present disclosure. As shown in Figure 2, the system internally includes: a switch device 21, a controller 22 (controller), a reconciliation component 23 (Reconciliation), a network manager 24 (Network Manager), a command-line interface 25 (CLI), an application software 26 (APP) and a configuration database 27 (Configure DB); wherein, the switch device 21 corresponds to the destination end and is used to provide the above-mentioned target data; the controller 22 corresponds to the above-mentioned source end, and a configuration module can be set on the controller 22 to provide the above-mentioned source data.
[0023] As shown in FIG2 , the controller 22 , the network management 24 , the command line interface 25 , and the APP each represent a component or a network element, which can be used to perform command configuration on the switch device.
[0024] Among them, the switch device 21 can be a forwarding device of the type of router, firewall, load balancer, etc., which includes: gateway, spine node, leaf node, server and matching network card and smart network card; the controller 22 includes: cloud platform, network management and other equipment, which can be an SDN controller (SDN controller) in the SDN scenario.
[0025] The reconciliation component 23 (i.e., the reconciliation module) is the core function of the business reconciliation system. It is configured to obtain the configuration data of the switch device based on the configuration data identifier, and to obtain the configuration data of the controller based on the configuration source identifier, wherein the configuration data identifier and the configuration source identifier have a corresponding relationship; it is also configured to perform business reconciliation on the configuration data of the switch device and the configuration data of the controller, and if there is a difference between the configuration data of the switch device and the configuration data of the controller, perform data repair according to the repair method selected by the user; wherein the repair method includes single repair and batch repair.
[0026] In this embodiment, the reconciliation component 23 is independent of the switch device 21 and the controller 22. A suitable deployment method can be selected based on network load and performance requirements. Deployment methods include independent deployment, deployment on components such as the switch device and the controller, and deployment on other components. This involves setting up a reconciliation agent module on each component. The agent module performs reconciliation within the component and communicates the reconciliation results with the central reconciliation module.
[0027] Since the reconciliation component 23 is independent of the switch device 21 and the controller 22 , when it is deployed in the business reconciliation system, no modification or major modification is required to the existing switch device and controller.
[0028] The flexible deployment of the reconciliation component 23 can avoid problems such as missing scenarios caused by the fixed reconciliation position between configuration data from different sources and local configuration data of the switch device in related technologies.
[0029] At the same time, because the reconciliation component 23 is independent of the switch device 21 and the controller 22, even if the switch device 21 and the controller 22 are offline, the business reconciliation system in this embodiment still supports reconciliation;
[0030] In this embodiment, the business reconciliation component 23 also supports reconciliation between multiple heterogeneous configuration modules and switches.
[0031] The configuration database 27 is configured to store the configuration data of the switch device and the configuration data of the controller. The configuration database can be deployed in a centralized manner or a distributed manner to ensure high availability of the system.
[0032] As shown in Figure 2, the communication interface between the controller 22 and the switch device 21 is communication protocol 1 <configuration data ID, configuration data>, the communication interface between the reconciliation component 23 and the switch device 21 is communication protocol 1 <configuration data ID, configuration data>, and the communication interface between the reconciliation component 23 and the configuration database 27 is communication protocol 2 <configuration source ID, configuration data ID, configuration data>, where communication protocol 1 or communication protocol 2 includes but is not limited to communication protocols such as TCP / IP, FTP, NETCONF, and RESTful.
[0033] In addition, the switch device 21 communicates and interacts with the network management 24, the command line interface 25, and the application software 26 based on the communication protocol 1; the reconciliation component 23 communicates and interacts with the controller 22, the network management 24, the command line interface 25, and the application software 26 based on the communication protocol 1.
[0034] In this embodiment, the reconciliation component 23 is designed separately, and the reconciliation component 23 communicates with the configuration module and the switch device through the communication protocol 1. The existing communication implementation method of the configuration module and the switch device is not modified. When the reconciliation component 23 communicates with the configuration module or the switch device, data is transmitted according to the existing communication protocol, but the configuration source ID needs to be added within the reconciliation component and recorded in the configuration database.
[0035] It should be noted that the various components of the above-mentioned business reconciliation system can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above-mentioned modules are all located in the same processor; or the above-mentioned modules are located in different processors in any combination.
[0036] In this embodiment, a business reconciliation method running on the above-mentioned computer terminal or business reconciliation system is provided. The method is applied to the above-mentioned reconciliation component (reconciliation module). FIG3 is a flow chart of the business reconciliation method according to an embodiment of the present disclosure. As shown in FIG3 , the method includes the following steps:
[0037] Step S302: acquiring configuration data of the switch device according to the configuration data identifier, and acquiring configuration data of the configuration module according to the configuration source identifier, wherein the configuration data identifier and the configuration source identifier have a corresponding relationship;
[0038] In one embodiment, there is a corresponding relationship between the configuration data identifier and the configuration source identifier, including: one configuration source identifier corresponds to multiple configuration data identifiers.
[0039] In this embodiment, the switch devices and configuration modules are generally a variety of heterogeneous device types, but generally have standard protocol interfaces for exchanging data with third parties. The reconciliation module can communicate with the heterogeneous switch devices and configuration modules through standard protocols to achieve the purpose of data interaction.
[0040] Before step S302 of this embodiment, the method includes receiving configuration data of the switch device and configuration data of the configuration module, and storing all received configuration data in a configuration database.
[0041] Among them, the reconciliation component records the configuration source identification (Identity Document, ID) and the configuration data identification ID, that is, it records the detailed records of each component (module), which can determine the source configuration modules corresponding to different configuration data, the switch devices corresponding to different configuration data, and for any configuration data, the corresponding relationship between its corresponding configuration module and its corresponding switch device, so that data can be exchanged with each device based on the details.
[0042] In step S302 of this embodiment, obtaining configuration data of the switch device according to the configuration data identifier and obtaining configuration data of the configuration module according to the configuration source identifier include: obtaining the configuration data of the switch device from the switch device according to the configuration data identifier, and saving the configuration data of the switch device into a configuration database; obtaining the configuration data of the configuration module from the configuration module according to the configuration source identifier, and saving the configuration data of the configuration module into the configuration database.
[0043] Step S304 : performing business reconciliation on the configuration data of the switch device and the configuration data of the configuration module, and performing data repair according to a repair method selected by the user if there is a difference between the configuration data of the switch device and the configuration data of the configuration module.
[0044] The business reconciliation refers to comparing the configuration data of the switch device with the configuration data of the configuration module to determine whether there is a difference between the two.
[0045] In this embodiment, after reconciling the configuration data of the switch device and the configuration data of the configuration module, the differences in the reconciled data are displayed, allowing the user to select whether to repair the data and select the repair method. In this embodiment, the repair method can be selected as batch repair or single repair; in addition, the user can select the reference for the repair, namely, the configuration data of the configuration module or the configuration data on the switch device.
[0046] In step S304 of this embodiment, before performing data repair according to the repair method selected by the user, the method further includes: determining a difference list containing at least one piece of difference data based on the difference between the configuration data of the switch device and the configuration data of the configuration module; displaying the difference list to the user, and obtaining the repair method selected by the user based on the relevant options selected by the user on the difference list.
[0047] In one embodiment, in the difference list, the following options are provided for each piece of the difference data: whether to repair, and selecting reference data as a reference.
[0048] In one embodiment, for any piece of the difference data, when the user chooses to perform data repair, data repair is performed according to the repair method selected by the user, including: when the user chooses to use the configuration data of the switch device as reference data, sending the configuration data of the switch device to the corresponding configuration module according to the configuration source identifier, so that the configuration module performs data repair according to the configuration data of the switch device; when the user chooses to use the configuration data of the configuration module as reference data, sending the configuration data of the configuration module to the corresponding switch device according to the configuration data identifier, so that the switch device performs data repair according to the configuration data of the configuration module.
[0049] In this embodiment, when the switch's configuration data is used as the basis and the configuration module's data needs to be repaired, the reconciliation module will pass the "correct data" on the switch to the corresponding configuration module and the configuration database. When the configuration module's data is used as the basis and the switch's data needs to be repaired, the reconciliation module will pass the data of a specific configuration module to the switch for repair and also record it in the configuration database. In some cases, some data depends on the switch and some on the configuration module. In this case, the reconciliation module will classify and pass these information to the corresponding components to complete the data update. This process ultimately ensures consistent data reconciliation between all parties.
[0050] By selecting "Select reference data as reference" in the difference list, users can flexibly select the corresponding reconciliation reference party based on their scenario, thus avoiding the problem of usage scenario defects caused by the lack of support for determining the reconciliation reference party in related technologies.
[0051] In step S304 of this embodiment, data repair is performed according to the repair method selected by the user, including: simultaneously repairing the multiple difference data selected by the user, that is, the user selects batch repair, at which time the data repair can be performed referring to the above-mentioned single repair method.
[0052] For example, when the user selects the configuration data of the switch device as reference data, multiple configuration data of the configuration module are simultaneously selected for repair. The reconciliation module sends the configuration data of the switch device to the corresponding configuration module based on the configuration source identifier of each selected configuration data, so that the configuration module repairs the data based on the configuration data of the switch device. When the user selects the configuration data of the configuration module as reference data, multiple configuration data of the switch device are simultaneously selected for repair. The reconciliation module sends the configuration data of the configuration module to the corresponding switch device based on the configuration data identifier of each selected configuration data, so that the switch device repairs the data based on the configuration data of the configuration module.
[0053] Through the "Repair" option in the difference list, users can select a specific difference data for detailed repair, or select multiple difference data for efficient batch repair.
[0054] The implementation method of the reconciliation action can refer to the common data comparison technology and comparison search algorithm in the industry, which will not be described in detail in this embodiment. The reconciliation process is mainly completed by the data interaction between the reconciliation module and the configuration database.
[0055] After step S304 of this embodiment, the method further includes: sending the repaired configuration data of the switch device and / or the configuration data of the configuration module to a provisioning configuration database to update and save the configuration data.
[0056] In this embodiment, after the data repair is completed, the reconciliation module also feeds back the repair result to the switch device, the configuration module and the configuration database.
[0057] In this embodiment, the method further includes: communicating with the switch device or the configuration module through a first communication protocol, wherein the first communication protocol is provided with a field carrying the configuration data identifier.
[0058] In one embodiment, communication with the configuration database is performed via a second communication protocol, wherein the second communication protocol is provided with a field carrying the configuration source identifier and a field carrying the configuration data identifier.
[0059] Through the above steps, since the configuration data on the switch device and the configuration data on the configuration module have corresponding identification information, each piece of configuration data can be managed in a refined manner based on the corresponding identification information, and different repair methods can be supported, such as single-line repair and batch repair. This solves the problem of the related art in being unable to fine-tune the repair of problematic data in business reconciliation, enabling more accurate business reconciliation and improving data repair efficiency.
[0060] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0061] The design of the above-mentioned communication protocol 1 mainly uses the existing interface of the configuration module or switch module to exchange information. FIG4 is a schematic diagram of the communication process based on the communication protocol 1 according to an embodiment of the present disclosure. As shown in FIG4 , the process includes the following steps:
[0062] Step S402: Based on the configuration ID, the reconciliation module communicates and interacts with the switch device through the existing interface of the switch device;
[0063] Step S404: Based on the configuration ID, the reconciliation module communicates and interacts with the configuration module through the existing interface of the configuration module.
[0064] In this embodiment, the reconciliation module communicates with the switch device and the configuration module using their existing interfaces, which can avoid changes to the existing modules and save costs. At the same time, when the reconciliation module communicates with the existing interfaces of the switch device or the configuration module, the configuration ID is used as a keyword as the identity card number of a certain configuration data to ensure global uniqueness, and the configuration content is communicated as the payload. The configuration ID includes the ID of the switch device and the ID of the configuration module. The ID of the switch device corresponds to the configuration data identifier in the above embodiment.
[0065] Communication Protocol 2 has an additional field compared to Communication Protocol 1—the Configuration Source ID. This field is the identification number of a module and is globally unique. The reconciliation module uses this field to identify the source of the configuration and communicate with the configuration database. Since each configuration has a corresponding configuration source ID and configuration ID, each independent configuration can be managed in a refined manner, laying the foundation for single-item repair capabilities. The Configuration Source ID corresponds to the ID of the configuration module. The Configuration Source ID is maintained locally by the reconciliation module, while the Configuration Module ID is maintained by the configuration module itself.
[0066] FIG5 is a schematic diagram of a communication process based on communication protocol 2 according to an embodiment of the present disclosure. As shown in FIG5 , the process includes the following steps:
[0067] Step S502: When the reconciliation module receives the configuration data, it assembles the message according to the format of protocol 2 and sends it to the configuration database;
[0068] In step S504, when the reconciliation module performs data repair, it reads a message from the configuration database according to the format of protocol 2, removes the configuration source ID field, locates the corresponding configuration module according to the configuration source ID, and assembles a message according to the format of protocol 1 and sends it to the corresponding switch device.
[0069] In this embodiment, the messages between the reconciliation module and other systems can be synchronous or asynchronous. To ensure the availability and robustness of the system, the reconciliation module and the configuration database can be designed in a distributed or clustered manner.
[0070] To facilitate understanding of the technical solutions provided by this disclosure, the following will be described in detail with reference to specific scenarios. Take the single item repair in the reconciliation module as an example:
[0071] After the reconciliation module compares the differences, it displays a list of differences between the configuration (data) on each switch and the source configuration (data). For each difference, two options are provided: 1) whether to repair it; and 2) whether to use the switch configuration or the source configuration as the basis for repair. The source configuration (data) is equivalent to the configuration data in the configuration module mentioned above.
[0072] When a repair is selected, if the switch's configuration is used as the basis, the reconciliation module sends the device's configuration to the corresponding device via protocol 1 for repair. If the source's configuration is used as the basis, the reconciliation module sends the configuration to the source module for repair. Simultaneously, the reconciliation module sends the repair results to the configuration database for update and storage.
[0073] The above embodiments of the present disclosure can be used in scenarios where there is an SDN controller in the data center, and can also be used in scenarios where there is no SDN controller; can be used in scenarios where SDN strong control, such as flow table delivery, can also be used in scenarios where there is no strong control, such as CLI command delivery.
[0074] Through the above-mentioned embodiments of the present disclosure, based on independent reconciliation components, reconciliation between multiple heterogeneous configuration modules and switches can be supported. At the same time, the reconciliation results can be repaired according to user behavior. Since each configuration has a corresponding configuration source ID, configuration data ID, and device ID, each independent configuration can be managed in a refined manner, thereby supporting single repair and batch repair, thereby improving the availability of the solution.
[0075] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.
[0076] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0077] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0078] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0079] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0080] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any particular combination of hardware and software.
[0081] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A business reconciliation method, comprising: Acquire the configuration data of the switch device according to the configuration data identifier, and acquire the configuration data of the configuration module according to the configuration source identifier, wherein the configuration data identifier and the configuration source identifier have a corresponding relationship; Business reconciliation is performed on the configuration data of the switch device and the configuration data of the configuration module, and when there is a difference between the configuration data of the switch device and the configuration data of the configuration module, data repair is performed according to the selected repair method.
2. The method according to claim 1, wherein: The configuration data of the switch device is obtained according to the configuration data identifier, and the configuration data of the configuration module is obtained according to the configuration source identifier, including: According to the configuration data identifier, acquiring the configuration data of the switch device from the switch device, and saving the configuration data of the switch device into a configuration database; According to the configuration source identifier, the configuration data of the configuration module is obtained from the configuration module, and the configuration data of the configuration module is saved in a configuration database.
3. The method according to claim 1, wherein: Before performing data repair according to the repair method selected by the user, the method further includes: Based on the difference between the configuration data of the switch device and the configuration data of the configuration module, determining a difference list including at least one piece of difference data; The difference list is displayed, and the selected repair method is obtained.
4. The method according to claim 3, wherein: In the difference list, the following options are provided for each piece of the difference data: whether to repair, and selecting reference data as a reference.
5. The method according to claim 4, wherein: For any of the difference data, when data repair is selected, data repair is performed according to the repair method selected by the user, including: In the case where the configuration data of the switch device is selected as the reference data, the configuration data of the switch device is sent to the corresponding configuration module according to the configuration source identifier to perform data repair.
6. The method according to claim 4, wherein: For any of the difference data, when data repair is selected, data repair is performed according to the repair method selected by the user, including: In the case where the configuration data of the configuration module is selected as the reference data, the configuration data of the configuration module is sent to the corresponding switch device according to the configuration data identifier to perform data repair.
7. The method according to claim 1, wherein: After performing data repair according to the selected repair method, the method further includes: The repaired configuration data of the switch device and / or the configuration data of the configuration module are sent to the allocation configuration database to update and save the configuration data.
8. The method according to claim 1, wherein: The method further comprises: Communicate with the switch device or the configuration module via a first communication protocol, wherein the first communication protocol is provided with a field carrying the configuration data identifier.
9. The method according to claim 1, wherein: The method further comprises: Communicate with the configuration database via a second communication protocol, wherein the second communication protocol is provided with a field carrying the configuration source identifier and a field carrying the configuration data identifier.
10. A business reconciliation system, comprising: Switch equipment, configuration module and reconciliation module, among which, A reconciliation module, configured to obtain configuration data of the switch device according to the configuration data identifier, and to obtain configuration data of the configuration module according to the configuration source identifier, wherein the configuration data identifier and the configuration source identifier have a corresponding relationship; The reconciliation module is further configured to perform business reconciliation on the configuration data of the switch device and the configuration data of the configuration module, and when there is a difference between the configuration data of the switch device and the configuration data of the configuration module, perform data repair according to a repair method selected by a user.
11. The system according to claim 10, wherein: The deployment methods of the reconciliation module include: independent deployment, deployment on the switch device, or deployment on the configuration module.
12. The system according to claim 10, wherein: Also includes: A configuration database is configured to store the configuration data of the switch device and the configuration data of the configuration module, wherein the deployment mode of the configuration database includes: centralized deployment and distributed deployment.
13. A computer-readable storage medium having a computer program stored therein, wherein: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of claims 1 to 9 when executing the computer program.
Citation Information
Patent Citations
Data reconciliation repair method and device, storage medium and electronic equipment
CN113609119A
Data synchronization method and device, equipment and storage medium
CN114238350A
Network equipment configuration method and device and storage medium
CN114928537A
Data recovery method and device, computer equipment and storage medium
CN116756247A
Systems, methods, and apparatuses for simultaneously running parallel databases
US20220374411A1