NETCONF Datastore Cleanup Using RPC-Based Residual Data Deletion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The Network Management Datastore Architecture (NMDA) in NETCONF/RESTCONF has residual data that occupies device resources and affects operation and maintenance management efficiency, necessitating a method to clear this residual data.
Innovation Solution
A data management method involving a first network device determining target invalid data in a second network device using various RPCs to identify and delete residual data, including data difference comparison, base event notifications, and error identifiers, with the second network device executing the deletion based on received RPCs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the NMDA architecture stores both configuration data and state data in separate datastores, then data management capability is improved, but residual data accumulates occupying device resources
Solution Approach 1:
The system enables automatic detection and deletion of residual data through RPC mechanisms. The netconf server automatically compares data between datastores, identifies residual data, and deletes it without manual intervention, allowing the system to self-maintain data cleanliness while preserving the benefits of separate datastores
Solution Approach 2:
The invention implements a feedback mechanism where the system continuously monitors for residual data through RPC calls, compares data between intended and operational datastores, and triggers deletion operations when residual data is detected. This closed-loop feedback ensures residual data is automatically cleared while maintaining the separated datastore architecture
2Device complexity
If manual methods are used to clear residual data, then implementation simplicity is maintained, but operation and maintenance management efficiency deteriorates
Solution Approach 1:
The system automatically detects and deletes residual data through RPC mechanisms without requiring manual intervention. The netconf server autonomously compares data between datastores, identifies residual data, and performs deletion, significantly improving operational efficiency while maintaining implementation simplicity through standardized RPC interfaces
Solution Approach 2:
The invention replaces manual mechanical operations with automated RPC-based mechanisms. Instead of manually comparing and deleting residual data, the system uses RPC calls to trigger automated comparison and deletion processes, substituting human operations with automated computational processes that improve efficiency
3Productivity
If RPC mechanisms are implemented to automatically delete residual data, then operation and maintenance management efficiency is improved, but system complexity increases
Solution Approach 1:
The invention leverages the universal RPC mechanism already present in NETCONF systems to achieve residual data deletion. By reusing the existing RPC infrastructure for multiple purposes (configuration management and residual data cleanup), the system improves efficiency without adding significant complexity, as the same RPC framework handles both traditional and new functions
Data Source
AI summary
A data management method, apparatus, device, a computer-readable storage medium, and system are provided. The method is applied to a first network device, the first network device determines target invalid data existing in a second network device, the first network device obtains a first RPC, and the first RPC carries information about target invalid data that needs to be deleted. Then, the first network device sends the first RPC to the second network device, where the first RPC is used to indicate the second network device to delete the target invalid data. In this application, residual data is automatically identified, and the residual data is cleared, to automatically delete the residual data in batches, thereby saving device resources and improving an operation and maintenance management effect.


