Data processing method, device, system and computer readable storage medium

By obtaining and updating the differential configuration data between the control surface and forwarding surface devices, and automatically identifying and eliminating the Underlay configuration data that does not need to be repaired, the device paralysis problem is solved and the operation and maintenance automation rate and stability of the network system are improved.

CN114500276BActive Publication Date: 2024-12-17ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011266973.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-13
Publication Date
2024-12-17
Estimated Expiration
2040-11-13

AI Technical Summary

Technical Problem

When the configuration data of the control plane and forwarding plane equipment are inconsistent, it is difficult for the prior art to automatically identify and repair the Underlay configuration data of the forwarding plane equipment, resulting in the problem of device paralysis. Especially when the communication traffic volume increases, due to the complexity and huge configuration data, Manual identification is becoming increasingly difficult to achieve.

Method used

By obtaining the differential configuration data between the control plane and the forwarding plane device, the Underlay configuration data is automatically identified and updated, and the configuration data that does not need to be repaired will be eliminated, thereby avoiding device paralysis and improving operation and maintenance automation rate and network stability.

Benefits of technology

It automatically recognizes and blocks Underlay configuration data in forwarding surface devices that do not need to be repaired, avoids device paralysis, and improves the automation rate and stability of network system operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114500276B_ABST
    Figure CN114500276B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a data processing method, device, system and computer-readable storage medium, including: obtaining first difference configuration data between control plane and forwarding plane devices, and obtaining first Underlay configuration data according to the first difference configuration data; obtaining second Underlay configuration data, the second Underlay configuration data is the configuration data in the forwarding plane device that is not repaired by the control plane; updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data; removing the updated second Underlay configuration data from the configuration data of the forwarding plane device to obtain target configuration data that meets the repair condition. The embodiment of the present invention can automatically identify the Underlay configuration data that does not need to be repaired in the current forwarding plane device, and automatically shield the updated second Underlay configuration data in the forwarding plane device during repair, which can not only improve the automation rate of network system environment operation and maintenance, but also improve the stability of the network system environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of data processing technology, and in particular, to a data processing method, device, system, and computer-readable storage medium. Background Art

[0002] When the configuration data of the control plane and forwarding plane devices are inconsistent, it will cause abnormal traffic forwarding. In this regard, the existing solution is to repair the inconsistent configuration data of the control plane and forwarding plane devices. This solution will identify all configurations of the forwarding plane devices, but will not distinguish between the Overlay (overlapping) and Underlay (underlying carrier) configuration data of the forwarding plane devices. When the control plane is repaired, if the basic Underlay configuration data of the device is repaired, the basic configuration of the forwarding plane device will be deleted, causing the device to be paralyzed and unavailable. Therefore, this solution also requires manual identification of the Underlay configuration data of the forwarding plane device, but with the explosive increase in communication business volume, the configuration data of network devices is becoming more and more complex and large. Therefore, it is becoming increasingly difficult to manually identify the Underlay configuration data of the forwarding plane device. Summary of the invention

[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0004] The embodiments of the present invention provide a data processing method, apparatus, system and computer-readable storage medium, which can automatically identify Underlay configuration data that does not need to be repaired in a forwarding plane device.

[0005] In a first aspect, an embodiment of the present invention provides a data processing method, including:

[0006] Acquire first difference configuration data between the control plane and forwarding plane devices, and obtain first Underlay configuration data according to the first difference configuration data;

[0007] Acquire second Underlay configuration data, where the second Underlay configuration data is configuration data in the forwarding plane device that is not repaired by the control plane;

[0008] Updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data;

[0009] The updated second Underlay configuration data is removed from the configuration data of the forwarding plane device to obtain target configuration data that meets the repair condition.

[0010] In a second aspect, an embodiment of the present invention further provides a data processing device, including:

[0011] The audit reconciliation unit obtains first difference configuration data between the control plane and the forwarding plane devices, and obtains first Underlay configuration data according to the first difference configuration data;

[0012] A first data acquisition unit is configured to acquire second Underlay configuration data, where the second Underlay configuration data is configuration data in a forwarding plane device that is not repaired by a control plane;

[0013] a first data updating unit, configured to update the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data;

[0014] The data repairing unit repairs the target configuration data in the forwarding plane device according to the updated second Underlay configuration data, wherein the target configuration data does not include the updated second Underlay configuration data.

[0015] In a third aspect, an embodiment of the present invention further provides a data processing system, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the data processing method as described in the first aspect above is implemented.

[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the data processing method as described in the first aspect above.

[0017] The embodiment of the present invention includes: the embodiment of the present invention can obtain the first Underlay configuration data and the second Underlay configuration data between the current control plane and the forwarding plane device, and compare the first Underlay configuration data with the second Underlay configuration data to update the second Underlay configuration data. Since the second Underlay configuration data is the configuration data in the forwarding plane device that will not be repaired by the control plane, the embodiment of the present invention can remove the updated second Underlay configuration data from the configuration data of the forwarding plane device to obtain the target configuration data that meets the repair condition. According to the technical solution of the embodiment of the present invention, the embodiment of the present invention can automatically identify the Underlay configuration data that does not need to be repaired in the current forwarding plane device, so that when the control plane initiates the repair, the updated second Underlay configuration data in the forwarding plane device is automatically shielded. Therefore, the embodiment of the present invention can not only improve the automation rate of network system environment operation and maintenance, but also improve the stability of the network system environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0019] Figure 1 is a schematic diagram of a system architecture platform for executing a data processing method provided by an embodiment of the present invention;

[0020] Figure 2 is a flow chart of a data processing method provided by an embodiment of the present invention;

[0021] Figure 3 is a flowchart of obtaining first difference configuration data provided by an embodiment of the present invention;

[0022] Figure 4 is a flowchart of obtaining first Underlay configuration data according to first difference configuration data provided by an embodiment of the present invention;

[0023] Figure 5 is a flowchart of filtering out third Underlay configuration data from first Underlay configuration data provided by an embodiment of the present invention;

[0024] Figure 6 is a flowchart of updating third Underlay configuration data provided by an embodiment of the present invention;

[0025] Figure 7 is a flowchart of updating second Underlay configuration data provided by an embodiment of the present invention;

[0026] Figure 8 It is a flow chart of a data processing method provided by an embodiment of the present invention;

[0027] Fig. 9 It is a flow chart of a device for implementing audit reconciliation and repair of control plane and forwarding plane device configurations provided by an embodiment of the present invention;

[0028] Fig.10 It is a schematic diagram of a data processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0030] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0031] For the SDN (Software Defined Network) framework, SDN acts as the control plane and plays the role of the brain to be responsible for the delivery of orchestration and forwarding strategies. Through centralized control, network administrators can write customized programs through the SDN API (Application Programming Interface) to achieve automated service deployment, greatly shortening the service deployment cycle and enabling services to meet dynamic adjustments on demand.

[0032] In the application of SDN network architecture, when the service data is being sent, the management network of the control plane and the forwarding plane often has connectivity anomalies. The forwarding plane configuration fails to be sent, resulting in inconsistent data between the control plane and the forwarding plane, which makes the service unable to be used normally. In addition, in addition to the anomalies caused by the connectivity of the management network, the switch on the forwarding plane device side will also have some anomalies, for example: switch software failure, hardware defects, malicious attacks, human error configuration and other reasons lead to configuration data anomalies.

[0033] When the above abnormal situation occurs, the configuration of the control plane and data forwarding plane devices are inconsistent, and traffic forwarding will be abnormal. In this regard, the relevant operation and maintenance technology can solve the above abnormal situation through audit reconciliation and repair. In the operation and maintenance technology of configuration audit reconciliation and repair, since the normal operation of the forwarding plane device requires basic network configuration, such as interface address, etc., the control plane and forwarding plane will identify all the configurations of the forwarding plane device during audit reconciliation and repair, but will not distinguish the Overlay and Underlay configuration data of the forwarding plane device. When the control plane is repaired, if the basic Underlay configuration of the device is repaired, the basic configuration of the forwarding plane device will be deleted, causing the device to be paralyzed and unavailable. With the explosive increase in communication business volume, there are often heavyweight network devices in large-scale communication network environments, and the configuration data of network devices is becoming more and more complex and large. It is increasingly infeasible for operation and maintenance personnel to identify the basic Underlay configuration data of the forwarding plane device.

[0034] Based on the above situation, the present invention provides a data processing method, apparatus, system and computer-readable storage medium, wherein the data processing method comprises the following steps: obtaining first difference configuration data between control plane and forwarding plane devices, and obtaining first Underlay configuration data according to the first difference configuration data; obtaining second Underlay configuration data, where the second Underlay configuration data is configuration data in the forwarding plane device that is not repaired by the control plane; updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data; and removing the updated second Underlay configuration data from the configuration data of the forwarding plane device to obtain target configuration data that meets the repair condition. According to the technical solution of the embodiment of the present invention, the embodiment of the present invention can obtain the first Underlay configuration data and the second Underlay configuration data between the current control plane and the forwarding plane device, and compare the first Underlay configuration data with the second Underlay configuration data to update the second Underlay configuration data. Since the second Underlay configuration data is the configuration data in the forwarding plane device that will not be repaired by the control plane, the embodiment of the present invention can remove the updated second Underlay configuration data from the configuration data of the forwarding plane device to obtain the target configuration data that meets the repair condition. Therefore, the embodiment of the present invention can automatically identify the Underlay configuration data that does not need to be repaired in the current forwarding plane device, so that the control plane will automatically shield the updated second Underlay configuration data in the forwarding plane device when initiating the repair. Therefore, the embodiment of the present invention can not only improve the automation rate of network system environment operation and maintenance, but also improve the stability of the network system environment.

[0035] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0036] like Figure 1 As shown, Figure 1 It is a schematic diagram of a system architecture platform for a data processing method provided by an embodiment of the present invention.

[0037] exist Figure 1 In the example of the system architecture platform, the system architecture platform includes a data processing system 100, wherein the data processing system 100 Processor 110 and memory 120 , where the processor 110 and memory 120 Can be connected via bus or other means, Figure 1 The example of connecting through bus is taken in the following.

[0038] The memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 120 may optionally include a memory 120 remotely disposed relative to the processor 110, and these remote memories may be connected to the system architecture platform 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.

[0039] Those skilled in the art will appreciate that the system architecture platform can be applied to 3G communication network systems, LTE communication network systems, 5G communication network systems, and subsequently evolved mobile communication network systems, and this embodiment does not specifically limit this.

[0040] It can be understood by those skilled in the art that Figure 1 The system architecture platform shown in the figure does not constitute a limitation on the embodiments of the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0041] exist Figure 1 In the system architecture platform shown, the processor 110 can call the data processing program stored in the memory 120 to execute the data processing method.

[0042] Based on the above system architecture platform, various embodiments of the data processing method of the present invention are proposed below.

[0043] like Figure 2 As shown, Figure 2It is a flow chart of a data processing method provided by an embodiment of the present invention, which includes but is not limited to step S100, step S200, step S300 and step S400.

[0044] Step S100, acquiring first difference configuration data between the control plane and forwarding plane devices, and obtaining first Underlay configuration data according to the first difference configuration data;

[0045] Step S200: Acquire second Underlay configuration data, where the second Underlay configuration data is configuration data in the forwarding plane device that is not repaired by the control plane.

[0046] Step S300, updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data;

[0047] Step S400: Remove the updated second underlay configuration data from the configuration data of the forwarding plane device to obtain target configuration data that meets the repair condition.

[0048] The data processing method of the embodiment of the present invention can be applied to the scenario where the control plane manages the forwarding plane for the first time and the configuration is not issued, and can also be applied to the scenario after the control plane is configured and issued. For details, refer to the following analysis:

[0049] In one embodiment, when the control plane manages the forwarding plane for the first time and the configuration is not issued, the control plane can audit and reconcile the configuration data of the forwarding plane device so as to obtain the first difference configuration data between the control plane and the forwarding plane, and filter and integrate the first difference configuration data to obtain the first Underlay configuration data corresponding to the first difference configuration data; secondly, since the control plane manages the forwarding plane for the first time and the configuration is not issued, the obtained second Underlay configuration data is empty; then, the first Underlay configuration data and the second Underlay configuration data are compared, so that all the first Underlay configuration data are added to the second Underlay configuration data to obtain the updated second Underlay configuration data. Since the updated second Underlay configuration data is the updated configuration data in the forwarding plane device that will not be repaired by the control plane, when the control plane needs to repair the configuration data in the forwarding plane device, the updated second Underlay configuration data will be removed from the configuration data of the forwarding plane device, so that the configuration of the updated second Underlay configuration data will not be repaired, thereby avoiding the situation where the device is paralyzed and unavailable due to the repair.

[0050] It should be noted that, when the control plane manages the forwarding plane for the first time and no configuration is delivered, since the acquired second Underlay configuration data is empty, the first Underlay configuration data and the updated second Underlay configuration data are consistent.

[0051] In one embodiment, after the control plane is configured and issued, various problems may exist in the SDN network architecture, resulting in inconsistency in the configuration data of the control plane and the forwarding plane, including, for example: a disconnection in the management network of the control plane, software defects on the switch device side, hardware failures, malicious attacks on the switch side, human misconfiguration, etc., which may lead to inconsistency in the configuration of the control plane and the forwarding plane of the switch, thereby causing the data traffic to be unable to be forwarded normally. Therefore, the embodiment of the present invention will re-update the second Underlay configuration data stored in history after the control plane issues the configuration, so the control plane will audit and reconcile the configuration data of the forwarding plane device again to obtain the first difference configuration data between the control plane and the forwarding plane, and filter and integrate the first difference configuration data to obtain the first Underlay configuration data corresponding to the first difference configuration data; then, the embodiment of the present invention will obtain the second Underlay configuration data stored in history, compare the first Underlay configuration data with the second Underlay configuration data to obtain the updated second Underlay configuration data, because the updated second Underlay configuration data is the configuration data updated in the forwarding plane device and will not be repaired by the control plane, therefore, when the control plane needs to repair the configuration data in the forwarding plane device, the updated second Underlay configuration data will be removed from the configuration data of the forwarding plane device, so that the updated second Underlay configuration data will not be repaired, thereby avoiding the device being paralyzed and unavailable due to the repair.

[0052] According to the technical solution of the embodiment of the present invention, the embodiment of the present invention can automatically identify the Underlay configuration data that does not need to be repaired in the current forwarding plane device, that is, the updated second Underlay configuration data, so that when the control plane initiates the repair, the updated second Underlay configuration data in the forwarding plane device can be automatically shielded, thereby avoiding the device being paralyzed and unavailable due to the repair. Therefore, the embodiment of the present invention can not only improve the automation rate of network system environment operation and maintenance, but also improve the stability of the network system environment.

[0053] It should be noted that, since the control plane is the data source of the forwarding plane, the configuration data of the repair forwarding plane needs to be based on the data of the control plane.

[0054] In addition, if Figure 3 As shown, Figure 3 It is a flow chart of a data processing method provided by an embodiment of the present invention, regarding the above-mentioned step S100, including but not limited to step S500.

[0055] Step S500: Obtain historical configuration data and current configuration data of the forwarding plane device sent by the control plane to the forwarding plane device, obtain first difference configuration data between the control plane and the forwarding plane device according to the historical configuration data and the current configuration data, and obtain first Underlay configuration data according to the first difference configuration data.

[0056] Regarding the above step S500, it can be performed when the control plane manages the forwarding plane for the first time and the configuration is not delivered, or it can be performed after the control plane has delivered the configuration, as shown below:

[0057] In one embodiment, when the control plane is initially managed by the forwarding plane and no configuration is issued, the control plane will audit and reconcile the configuration data of the forwarding plane device, thereby obtaining the historical configuration data issued by the control plane to the forwarding plane device. Since the control plane is initially managed by the forwarding plane and no configuration is issued, the above historical configuration data is empty; at the same time, the control plane will obtain the current configuration data of the forwarding plane device; then, the control plane will audit and reconcile the historical configuration data and the current configuration data, thereby obtaining the first difference configuration data between the control plane and the forwarding plane devices.

[0058] In one embodiment, after the control plane sends the configuration, the control plane will audit and reconcile the configuration data of the forwarding plane device again, thereby obtaining the historical configuration data sent by the control plane to the forwarding plane device. If there are multiple historical configuration data, the data sent for the last time will be selected. At the same time, the control plane will obtain the current configuration data of the forwarding plane device; then, the control plane will audit and reconcile the historical configuration data and the current configuration data, thereby obtaining the first difference configuration data between the control plane and the forwarding plane device.

[0059] In addition, if Figure 4 As shown, Figure 4 It is a flow chart of a data processing method provided by an embodiment of the present invention. The first Underlay configuration data is obtained according to the first difference configuration data in the above step S500, including but not limited to step S600.

[0060] Step S600: When the historical configuration data does not include the second configuration data and the current configuration data includes the second configuration data, the second configuration data is used as the first Underlay configuration data.

[0061] In one embodiment, after the control plane audits and reconciles the configuration data of the forwarding plane device, first difference configuration data is obtained, that is, difference configuration data between the historical configuration data sent by the control plane to the forwarding plane device and the current configuration data of the forwarding plane device. Then, the embodiment of the present invention performs filtering and integration processing on the first difference configuration data to obtain first Underlay configuration data corresponding to the first difference configuration data. The specific filtering and integration processing can refer to the following four cases:

[0062] The first filtering and integration processing situation: using the configuration data of the control plane as the standard and the instance as the granularity, the control plane sends the configuration data to the forwarding plane, and there will be no situation where the control plane does not have a certain instance but the forwarding plane has it. For example, there will be no situation where the control plane does not have the data of the vpls instance zenic_123, while the forwarding plane device has the configuration of the vpls instance zenic_123.

[0063] The second filtering and integration processing situation: taking the configuration data of the control plane as the standard and the instance as the granularity, when both the control plane and the forwarding plane have certain instance data, and the instance data is the configuration data sent from the control plane to the forwarding plane, but when the attribute value corresponding to the instance data in the control plane configuration data is inconsistent with the corresponding attribute value in the forwarding plane configuration data, then the embodiment of the present invention will filter out the instance data and not add it to the first Underlay configuration data. Exemplarily, both the control plane and the forwarding plane configuration data have vpls instance zenic_123 data, but the attribute vni-label value of the control plane vpls instance zenic_123 is 100, and the attribute vni-label value of the forwarding plane vpls instance zenic_123 is 200, then the vpls instance zenic_123 will be filtered out and not added to the first Underlay configuration data.

[0064] The third filtering and integration processing situation: taking the configuration data of the control plane as the standard and the instance as the granularity, when the control plane has a certain instance data but the forwarding plane does not have this instance data, this instance data will be filtered out and not added to the first Underlay configuration data. For example, if the control plane configuration data has the vpls instance zenic_123 but the forwarding plane configuration data does not have the vpls instance zenic_123, the vpls instance zenic_123 will be filtered out and not added to the first Underlay configuration data.

[0065] The fourth filtering and integration processing situation: taking the configuration data of the control plane as the standard and the instance as the granularity, when the control plane does not have a certain instance data, but the forwarding plane has this instance data, then this instance data will be added to the first Underlay configuration data. For example, if the control plane configuration data does not have the vpls instance zenic_123, but the forwarding plane configuration data has the vpls instance zenic_123, then the vpls instance zenic_123 needs to be added to the first Underlay configuration data.

[0066] Therefore, based on the above four filtering and integration processing situations, only the fourth filtering and integration processing situation will not filter the instance data, but will add the instance data to the first Underlay configuration data. Therefore, when the fourth filtering and integration processing situation exists, as shown in step S600, when the historical configuration data does not include the second configuration data and the current configuration data includes the second configuration data, the second configuration data is used as the first Underlay configuration data.

[0067] In addition, if Figure 5 As shown, Figure 5 It is a flow chart of a data processing method provided by an embodiment of the present invention. Before the above step S300, the method further includes but is not limited to step S710 and step S720.

[0068] Step S710: Acquire third Underlay configuration data, where the third Underlay configuration data is configuration data that fails to be deleted after the forwarding plane device receives a deletion task from the control plane.

[0069] Step S720: Delete configuration data consistent with the third Underlay configuration data from the first Underlay configuration data.

[0070] In one embodiment, after obtaining the first Underlay configuration data, it is necessary to filter out the inconsistent configuration data that is deleted by the control plane and sent to the forwarding plane due to an exception from the first Underlay configuration data. Therefore, the embodiment of the present invention obtains the third Underlay configuration data, deletes the configuration data that is consistent with the third Underlay configuration data from the first Underlay configuration data, and then continues to execute step S300.

[0071] It is worth noting that the third Underlay configuration data mentioned above is the configuration data that failed to be deleted after the forwarding plane device receives the deletion task from the control plane. The control plane service deletion refinement is to delete the instance or attribute of the forwarding plane device according to a certain dependency relationship. The embodiment of the present invention will not only ensure the reliability of the control plane service deletion process, but also check the deletion result. Among them, the situation of issuing the control plane service data deletion task can be divided into the following three types:

[0072] The first service data deletion task delivery situation: the control plane service data deletion task delivery fails, the control plane service data remains undeleted, and the forwarding plane device configuration data remains undeleted.

[0073] The second service data deletion task is sent: the control plane service data deletion task is sent successfully, but a certain instance or attribute data of the forwarding plane device fails to be deleted. The forwarding plane device returns the error reason and sends it to the control plane. The control plane receives the error and issues an alarm, which includes the specific reason for the forwarding plane device to delete the error. The control plane service data is deleted, and the instance data that failed to be deleted on the forwarding plane device is added to the third Underlay configuration data.

[0074] The third business data deletion task delivery situation: The control plane business data deletion task is delivered successfully, and the control plane detects a connectivity problem with the forwarding plane. The southbound queue of the deletion task delivered by the control plane will retransmit the specified number of times. If the retransmission fails to the upper limit, it will be recorded and an alarm will be issued. This failure can be managed by means of configuration audit and repair to re-manage the configuration delivered to the device side.

[0075] Therefore, based on the above three business data deletion task delivery situations, only the second business data deletion task delivery situation will add the instance data to the third Underlay configuration data. Therefore, when the second business data deletion task delivery situation exists, after obtaining the first Underlay configuration data, the embodiment of the present invention also needs to obtain the pre-stored third Underlay configuration data, and delete the configuration data consistent with the pre-stored third Underlay configuration data from the first Underlay configuration data.

[0076] It should be noted that the third Underlay configuration data is the failure of the forwarding plane to delete the relevant configuration data when the control plane sends the service data for deletion. The subsequent configuration audit and repair methods cannot clear such residual configuration data. Therefore, the control plane saves the configuration data that failed to be deleted in the third Underlay configuration data.

[0077] It can be understood that when the forwarding plane device is connected for the first time, the third Underlay configuration data is empty.

[0078] In addition, if Figure 6 As shown, Figure 6 It is a flowchart of a data processing method provided by an embodiment of the present invention. The method also includes but is not limited to step S810 and step S820.

[0079] Step S810, obtaining second difference configuration data according to the first Underlay configuration data and the third Underlay configuration data;

[0080] Step S820: Update the third underlay configuration data according to the second difference configuration data.

[0081] In one embodiment, the embodiment of the present invention further updates the third Underlay configuration data after auditing and reconciling the first Underlay configuration data and the pre-stored third Underlay configuration data.

[0082] It should be noted that the update method of the third Underlay configuration data is specifically as follows: if the pre-stored third Underlay configuration data has certain configuration data but the first Underlay configuration data does not have the configuration data, the configuration data in the pre-stored third Underlay configuration data will be deleted. Exemplarily, when the third Underlay configuration data includes the first configuration data and the second difference configuration data does not include the first configuration data, the first configuration data is deleted from the third Underlay configuration data.

[0083] In addition, if Figure 7 As shown, Figure 7 It is a flow chart of a data processing method provided by an embodiment of the present invention, regarding the above-mentioned step S300, including but not limited to step S910 and step S920.

[0084] Step S910, obtaining third difference configuration data according to the first Underlay configuration data and the second Underlay configuration data;

[0085] Step S920: Update the second Underlay configuration data according to the third difference configuration data to obtain updated second Underlay configuration data.

[0086] In one embodiment, after the configuration data consistent with the third Underlay configuration data is deleted from the first Underlay configuration data, the embodiment of the present invention will audit and reconcile the first Underlay configuration data and the second Underlay configuration data after the deletion operation to obtain third difference configuration data, and then update the second Underlay configuration data according to the third difference configuration data to obtain updated second Underlay configuration data.

[0087] It is worth noting that the above-mentioned second Underlay configuration data can be updated in the following two ways:

[0088] The first updating manner: when the second Underlay configuration data includes the third configuration data and the third difference configuration data does not include the third configuration data, the third configuration data is deleted from the second Underlay configuration data;

[0089] The second updating manner: when the third difference configuration data includes the fourth configuration data and the second Underlay configuration data does not include the fourth configuration data, the fourth configuration data is added to the second Underlay configuration data.

[0090] It can be understood that the first configuration data, the second configuration data, the third configuration data and the fourth configuration data mentioned above can be based on instances as granularity.

[0091] According to the above data processing method, Figure 8 and Fig. 9 As shown, Figure 8 is a flow chart of a data processing method provided by an embodiment of the present invention. Fig. 9 It is a flow chart of an implementation device for auditing, reconciling and repairing control plane and forwarding plane device configurations provided by an embodiment of the present invention.

[0092] In one embodiment, when the control plane is initially managed by the forwarding plane and no configuration is issued, the control plane can perform an initial audit and reconciliation on the configuration data of the forwarding plane device 220, thereby obtaining initial difference configuration data between the control plane and the forwarding plane, and obtaining initial second Underlay configuration data based on the initial difference configuration data. The initial second Underlay configuration data is initial reserved Underlay configuration data that will not be repaired. At the same time, the embodiment of the present invention also stores the initial second Underlay configuration data in the database 230. Next, after the configuration is issued on the control plane, since there may be various problems in the SDN network architecture that may cause inconsistency in the configuration data of the control plane and the forwarding plane, the control plane will audit and reconcile the configuration data of the forwarding plane device 220 again, obtain the first difference configuration data between the current control plane and the forwarding plane, and perform data reconciliation processing on the first difference configuration data; wherein the data reconciliation processing includes filtering and integrating the first difference configuration data to obtain the first Underlay configuration data, and then deleting the configuration data consistent with the third Underlay configuration data from the first Underlay configuration data, thereby obtaining the updated first Underlay configuration data; in addition, the data reconciliation processing also includes updating the third Underlay configuration data according to the first Underlay configuration data and the third Underlay configuration data after filtering and integrating processing, thereby obtaining the updated third Underlay configuration data; then, after the above-mentioned data reconciliation processing, the embodiment of the present invention will audit and reconcile the updated first Underlay configuration data and the initial second Underlay configuration data, thereby updating the initial second Underlay configuration data, and obtaining the updated second Underlay configuration data.

[0093] about Fig. 9 The sending module 210 in the example is used to send configuration data to the forwarding plane device 220; specifically, the sending module 210 is used to store the business data in the database 230; then the adaptation layer decomposes the business data into device-dimensional configuration data; and finally, the decomposed business data is sent to the forwarding plane device 220.

[0094] For the above data processing method, an embodiment of the present invention provides an application example for illustration. Exemplarily, when the service orchestrated by the northbound network orchestrator is sent down, the control plane will orchestrate and send the service configuration. One line of service orchestration data of the control plane will be split into N lines of configuration on the device side and sent to the device. The control plane records and stores the service data as needed for the device. In the process of the control plane sending down service data, when the control plane and the forwarding plane manage the network connection abnormally, the control plane will try to retransmit and send down the service configuration. After reaching the upper limit of the number of retransmissions, the service configuration fails to be sent down, resulting in inconsistency between the control plane and the forwarding plane service data. At this time, it is necessary to use the configuration audit reconciliation and repair method to ensure the consistency of the control plane and forwarding plane data. To repair, it is necessary to first obtain the current first Underlay configuration data and the pre-stored second Underlay configuration data of the forwarding plane device during the audit reconciliation, and then review and update to obtain the latest second Underlay configuration data of the forwarding plane device.

[0095] In addition, the execution steps of the control plane may include: the control plane network management obtains the forwarding plane device configuration; then the control plane converts the configuration data returned by the device into the data structure of the network management and stores it in the operation library; then the control plane network management converts the control plane device library data and the operation library data obtained from the device level into xml and compares the instances and attributes one by one, and the network management marks the inconsistent parts in red; then the difference configuration data marked in red on the control plane network management can be added to the initial second Underlay configuration data of the device configuration data when the device is first connected for audit and reconciliation. After the initial second Underlay configuration data is added, the controller network management no longer displays the difference configuration data in the irreparable Underlay configuration data; then, the control plane network management selects one or more devices for review after the device is audited and reconciled to obtain the latest difference between the first Underlay configuration data and the second Underlay configuration data of the device and the control plane; after the data is reviewed, the second Underlay configuration data is updated, and the second Underlay configuration data of different devices on the control plane are updated; after the second Underlay configuration data is updated, the controller network management no longer displays the difference configuration data in the irreparable Underlay configuration data; finally, the configuration repair result will be returned to the network management, and there will be an alarm notification and specific reasons for the repair failure.

[0096] It can be understood that configuration audit is an important inspection tool. In addition to repairing the data inconsistency problem caused by the abnormal connectivity of the control plane and the forwarding plane, the timing function of the network management configuration audit can also be used through the embodiments of the present invention to inspect whether the configuration of the forwarding plane is abnormal and whether the forwarding plane equipment has abnormalities, such as: hardware damage, software failure, malicious attack, and human error configuration, and can be repaired in time.

[0097] In addition, it can be understood that the data processing method of the embodiment of the present invention can be applied not only to the SDN network framework, but also to other fields of configuration delivery.

[0098] According to the technical solution of the embodiment of the present invention, it is possible to quickly check whether the forwarding plane device configuration is correct and whether the device status is normal; quickly understand the control plane and forwarding plane data configuration status; provide a variety of customized methods to quickly repair the forwarding plane device difference configuration data; improve the stability of the network system environment; improve the automation rate of network system environment operation and maintenance; quickly and efficiently filter out the Underlay configuration data of the forwarding plane device; solve the problem of dependency when repairing different business configuration data.

[0099] In addition, the technical solution of the embodiment of the present invention can be combined with a timing framework to achieve regular inspection of the network system and automatic regular repair of abnormal system configuration; it can also be combined with the control plane to send configuration data, and the configuration audit reconciliation can display the status of configuration data sending; it can also be combined with the control plane repair function to avoid operating the Underlay configuration of the forwarding plane device, which may cause equipment paralysis.

[0100] Based on the above data processing method, various embodiments of the data processing device of the present invention are proposed below.

[0101] like Fig.10 As shown, Fig.10 It is a schematic diagram of a data processing device 300 provided by an embodiment of the present invention. The data processing device 300 includes but is not limited to an audit and reconciliation unit 310, a first data acquisition unit 320, a first data update unit 330 and a data repair unit 340.

[0102] Specifically, the audit and reconciliation unit 310 is used to obtain first difference configuration data between the control plane and the forwarding plane devices, and obtain first Underlay configuration data according to the first difference configuration data; the first data acquisition unit 320 is used to obtain second Underlay configuration data, and the second Underlay configuration data is configuration data in the forwarding plane device that is not repaired by the control plane; the first data update unit 330 is used to update the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data; the data repair unit 340 is used to repair target configuration data in the forwarding plane device according to the updated second Underlay configuration data, and the target configuration data does not include the updated second Underlay configuration data.

[0103] It should be noted that the specific working principle of the above units can be referred to Figure 2 For the sake of simplicity, the description of the method steps shown will not be repeated here.

[0104] In addition, refer to Fig.10 As shown, in one embodiment, Fig.10 The data processing device 300 shown further includes but is not limited to a second data acquiring unit 350 and a data deleting unit 360 .

[0105] Specifically, the second data acquisition unit 350 is used to acquire third Underlay configuration data, where the third Underlay configuration data is configuration data that fails to be deleted after the forwarding plane device receives the deletion task from the control plane; the data deletion unit 360 is used to delete configuration data consistent with the third Underlay configuration data from the first Underlay configuration data.

[0106] It should be noted that the specific working principle of the above units can be referred to Figure 5 For the sake of simplicity, the description of the method steps shown will not be repeated here.

[0107] In addition, refer to Fig.10 As shown, in one embodiment, Fig.10 The data processing device 300 shown further includes but is not limited to a second data updating unit 370 .

[0108] Specifically, the second data updating unit 370 is configured to obtain second difference configuration data according to the first underlay configuration data and the third underlay configuration data, and update the third underlay configuration data according to the second difference configuration data.

[0109] It can be understood that the second data updating unit 370 is configured to delete the first configuration data from the third Underlay configuration data when the third Underlay configuration data includes the first configuration data and the second difference configuration data does not include the first configuration data.

[0110] It should be noted that the specific working principle of the above units can be referred to Figure 6 For the sake of simplicity, the description of the method steps shown will not be repeated here.

[0111] In addition, the audit and reconciliation unit 310 is also used to obtain the historical configuration data sent by the control plane to the forwarding plane device and the current configuration data of the forwarding plane device, and obtain the first difference configuration data between the control plane and the forwarding plane device according to the historical configuration data and the current configuration data, and obtain the first Underlay configuration data according to the first difference configuration data. Secondly, the audit and reconciliation unit 310 is also used to use the second configuration data as the first Underlay configuration data when the historical configuration data does not include the second configuration data and the current configuration data includes the second configuration data.

[0112] In addition, the first data update unit 330 is also used to obtain the third difference configuration data according to the first Underlay configuration data and the second Underlay configuration data, and update the second Underlay configuration data according to the third difference configuration data to obtain the updated second Underlay configuration data. Secondly, the first data update unit 330 is also used to delete the third configuration data from the second Underlay configuration data when the second Underlay configuration data includes the third configuration data and the third difference configuration data does not include the third configuration data; in addition, the first data update unit 330 is also used to add the fourth configuration data to the second Underlay configuration data when the third difference configuration data includes the fourth configuration data and the second Underlay configuration data does not include the fourth configuration data.

[0113] It should be noted that Fig. 9 The processing module 240 in the embodiment may include Fig.10 The audit reconciliation unit 310, the first data acquisition unit 320, the first data update unit 330, the data repair unit 340, the second data acquisition unit 350, the data deletion unit 360 and the second data update unit 370 in the embodiment of the present invention can be realized. Fig.10 The functions of the audit and reconciliation unit 310, the first data acquisition unit 320, the first data update unit 330, the data repair unit 340, the second data acquisition unit 350, the data deletion unit 360 and the second data update unit 370.

[0114] Based on the above data processing method, various embodiments of the data processing system and computer-readable storage medium of the present invention are respectively proposed below.

[0115] In addition, one embodiment of the present invention provides a data processing system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0116] The processor and the memory may be connected via a bus or other means.

[0117] It should be noted that the data processing system in this embodiment can correspond to the following: Figure 1 The data processing system in the system architecture platform in the embodiment shown can constitute Figure 1 Part of the system architecture platform in the illustrated embodiment, both belong to the same inventive concept, so both have the same implementation principles and beneficial effects, and will not be described in detail here.

[0118] The non-transient software program and instructions required to implement the data processing method of the above embodiment are stored in the memory. When executed by the processor, the data processing method of the above embodiment is executed, for example, the above described Figure 2 The method steps S100 to S400, Figure 3 In the method step S500, Figure 4 In the method step S600, Figure 5 Steps S710 to S720 of the method, Figure 6 Steps S810 to S820 of the method, Figure 7 Method steps S910 to S920 in.

[0119] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0120] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned data processing method. For example, when executed by a processor in the above-mentioned data processing system embodiment, the above-mentioned processor can execute the data processing method in the above-mentioned embodiment, for example, executing the above-mentioned Figure 2 The method steps S100 to S400, Figure 3 In the method step S500, Figure 4 In the method step S600, Figure 5 Steps S710 to S720 of the method, Figure 6 Steps S810 to S820 of the method, Figure 7 Method steps S910 to S920 in.

[0121] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0122] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A data processing method, comprising: Acquire first difference configuration data between the control plane and the forwarding plane devices, and obtain first Underlay configuration data according to the first difference configuration data; Acquire second Underlay configuration data, where the second Underlay configuration data is configuration data in the forwarding plane device that is not repaired by the control plane; Updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data; Eliminating the updated second Underlay configuration data from the configuration data of the forwarding plane device to obtain target configuration data that meets the repair condition; The acquiring of first difference configuration data between the control plane and the forwarding plane devices, and obtaining first Underlay configuration data according to the first difference configuration data, includes: Acquire historical configuration data sent by the control plane to the forwarding plane device and current configuration data of the forwarding plane device, and obtain first difference configuration data between the control plane and the forwarding plane device according to the historical configuration data and the current configuration data; When the historical configuration data does not include the second configuration data and the current configuration data includes the second configuration data, using the second configuration data as the first Underlay configuration data; In addition, the updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data includes: Obtain third difference configuration data according to the first Underlay configuration data and the second Underlay configuration data; When the second Underlay configuration data includes the third configuration data and the third difference configuration data does not include the third configuration data, deleting the third configuration data from the second Underlay configuration data to obtain updated second Underlay configuration data; When the third difference configuration data includes fourth configuration data and the second Underlay configuration data does not include the fourth configuration data, the fourth configuration data is added to the second Underlay configuration data to obtain updated second Underlay configuration data.

2. The method according to claim 1, characterized in that Before updating the second Underlay configuration data according to the first Underlay configuration data, the method further includes: Acquire third Underlay configuration data, where the third Underlay configuration data is configuration data that fails to be deleted after the forwarding plane device receives the deletion task from the control plane; Configuration data that is consistent with the third Underlay configuration data is deleted from the first Underlay configuration data.

3. The method according to claim 2, characterized in that Also includes: Obtaining second difference configuration data according to the first Underlay configuration data and the third Underlay configuration data; The third Underlay configuration data is updated according to the second difference configuration data.

4. The method according to claim 3, characterized in that The updating of the third Underlay configuration data according to the second difference configuration data includes: When the third Underlay configuration data includes the first configuration data and the second difference configuration data does not include the first configuration data, the first configuration data is deleted from the third Underlay configuration data.

5. A data processing device, characterized in that: include: An audit reconciliation unit, configured to obtain first difference configuration data between the control plane and the forwarding plane devices, and obtain first Underlay configuration data according to the first difference configuration data; A first data acquisition unit, configured to acquire second Underlay configuration data, where the second Underlay configuration data is configuration data in a forwarding plane device that is not repaired by a control plane; a first data updating unit, configured to update the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data; a data repair unit, configured to repair target configuration data in a forwarding plane device according to the updated second Underlay configuration data, wherein the target configuration data does not include the updated second Underlay configuration data; The acquiring of first difference configuration data between the control plane and the forwarding plane devices, and obtaining first Underlay configuration data according to the first difference configuration data, includes: Acquire historical configuration data sent by the control plane to the forwarding plane device and current configuration data of the forwarding plane device, and obtain first difference configuration data between the control plane and the forwarding plane device according to the historical configuration data and the current configuration data; When the historical configuration data does not include the second configuration data and the current configuration data includes the second configuration data, using the second configuration data as the first Underlay configuration data; In addition, the updating the second Underlay configuration data according to the first Underlay configuration data to obtain updated second Underlay configuration data includes: Obtain third difference configuration data according to the first Underlay configuration data and the second Underlay configuration data; When the second Underlay configuration data includes the third configuration data and the third difference configuration data does not include the third configuration data, deleting the third configuration data from the second Underlay configuration data to obtain updated second Underlay configuration data; When the third difference configuration data includes fourth configuration data and the second Underlay configuration data does not include the fourth configuration data, the fourth configuration data is added to the second Underlay configuration data to obtain updated second Underlay configuration data.

6. A data processing system, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the data processing method according to any one of claims 1 to 4 when executing the computer program.

7. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the data processing method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Systems and Methods for Securing Data

    AU2015202657A1

  • Message processing method and apparatus, control plane device, and computer storage medium

    WO2020135574A1