Communication network multi-plane data consistency checking method
Technical Field
The invention relates to a communication network multi-plane data consistency checking method, belonging to the technical field of information.
Background
The current mainstream communication network management architecture consists of a service plane + a control plane + an access plane. Wherein the service plane belongs to a service data sending source and comprises basic data and strategy data, and the data belongs to a sensitive data type. The service plane desensitizes and encrypts the data and then sends the desensitized and encrypted data to the control plane, and the control plane distributes the data to the corresponding access plane for loading according to the data routing rule.
In the communication network security, the unpredictable effect will be caused by the inconsistent data loading of multiple planes, so how to effectively ensure the data synchronization consistency among multiple planes based on the current communication network management architecture, thereby ensuring the safety and reliability of the communication network has become a technical problem generally concerned by technicians.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method for checking consistency of multi-plane data in a communication network, which can effectively ensure consistency of data synchronization between multiple planes based on a current communication network management architecture, thereby ensuring security and reliability of the communication network.
In order to achieve the above object, the present invention provides a method for checking consistency of multi-plane data in a communication network, comprising:
step one, the service plane device encrypts data and encapsulates the data into data messages, and then sends the encapsulated data messages to the control plane device, wherein the encapsulated data messages comprise the following information: data processing serial number, data entry number, data checksum, data routing rule, data type, encrypted data:
step two, the control plane device extracts a data routing rule from the received data message, and then distributes the received data message to the corresponding access plane device;
step three, the access plane device reads and loads each encrypted data from the data message sent by the control plane device one by one, after all the data are loaded, the loaded data item number and the data checksum are calculated, then the loaded data item number and the data checksum are compared with the data item number and the data checksum extracted from the data message, when the comparison result is consistent, the control plane device returns a data loading success result message to the service plane device,
in the third step, when the comparison result is inconsistent, the method further comprises the following steps:
step 31, the access plane device constructs a feedback message of unsuccessful data loading, and sends the feedback message to the control plane device, where the feedback message of unsuccessful data loading includes the following information: the data processing serial number, the loaded data label set and the loaded data checksum;
step 32: the control plane device transmits the feedback message of data loading unsuccessfully to the service plane device;
step 33: the service plane device calculates a data checksum corresponding to the loaded data label set according to the loaded data label set in the received data loading unsuccessful feedback message, then compares the calculated data checksum with the loaded data checksum in the data loading unsuccessful feedback message, when the comparison result is consistent, processes a serial number according to the data in the data loading unsuccessful feedback message, searches for the sent data message, then encrypts and repackages other unloaded data in the sent data message into a data message according to the loaded data label set, finally sends the repackaged data message to the control plane device, and the second step is switched to.
Compared with the prior art, the invention has the beneficial effects that: the invention can effectively ensure the consistent data loading of a plurality of planes while avoiding the transmission of repeated data, thereby ensuring the real safety and reliability of the communication network.
Drawings
Fig. 1 is a flowchart of a method for checking consistency of multi-plane data in a communication network according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
The invention is based on the current mainstream communication network management structure: traffic plane + control plane + access plane. As shown in fig. 1, the present invention provides a method for checking consistency of multi-plane data in a communication network, including:
step one, the service plane device encrypts data and encapsulates the data into data messages, and then sends the encapsulated data messages to the control plane device, wherein the encapsulated data messages comprise the following information: data processing serial number, data entry number, data checksum, data routing rule, data type, encrypted data:
step two, the control plane device extracts a data routing rule from the received data message, and then distributes the received data message to the corresponding access plane device;
step three, the access plane device reads and loads each piece of encrypted data one by one from the data message sent by the control plane device, after all data are loaded, the number of loaded data items and the data checksum are calculated, then the number of loaded data items and the data checksum are compared with the number of data items and the data checksum extracted from the data message, and when the comparison result is consistent, a data loading success result message is returned to the service plane device through the control plane device.
Since the situation that part of the data in the data message is not loaded successfully may occur in step three, this will result in inconsistency of the comparison result. Therefore, in the third step, when the comparison results are inconsistent, the present invention further includes:
step 31, the access plane device constructs a feedback message of unsuccessful data loading, and sends the feedback message to the control plane device, where the feedback message of unsuccessful data loading includes the following information: the data processing serial number, the loaded data label set and the loaded data checksum;
step 32: the control plane device transmits the feedback message of data loading unsuccessfully to the service plane device;
step 33: the service plane device calculates a data checksum corresponding to the loaded data label set according to the loaded data label set in the received data loading unsuccessful feedback message, then compares the calculated data checksum with the loaded data checksum in the data loading unsuccessful feedback message, when the comparison result is consistent, processes a serial number according to the data in the data loading unsuccessful feedback message, searches for the sent data message, then encrypts and repackages other unloaded data in the sent data message into a data message according to the loaded data label set, finally sends the repackaged data message to the control plane device, and the second step is switched to.
In this way, when the data loaded by the access plane device is inconsistent with the data sent by the service plane device, the service plane device will resend the original data until the data is consistent.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.