YANG model expansion verification method and device, computer-readable storage medium
A technology of model and verification program, which is applied in the field of communication, can solve the problems that business scenarios cannot be described and processed, and achieve the effects of facilitating maintenance and upgrading processing, strong scalability, and ensuring correctness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0037] Such as figure 1 As shown, the first embodiment of the present invention provides a method for YANG model extension verification, the method includes steps:
[0038] S10. Parse the service configuration model, and acquire the verification parameters defined by the YANG model extension tag from the service configuration model;
[0039] In this embodiment, a basic verification parameter model can be defined according to the extension needs of the YANG model, and a specific service configuration model can be defined by introducing the defined verification parameter model.
[0040] As an example, the definition of the basic calibration parameter model is as follows:
[0041] 1.1) The field "priority" that defines the priority of the script, the smaller the value of this field, the lower the priority.
[0042] Specifically, it can be defined by the following code:
[0043]
[0044]
[0045] 1.2) Define the field "target" that triggers the script execution condition,...
no. 2 example
[0099] Such as image 3 As shown, the second embodiment of the present invention provides a device for YANG model extension verification, the device includes an analysis unit 21, a data change collection unit 22, a script collection unit 23 and a script execution unit 24;
[0100] The parsing unit 21 is configured to parse the business configuration model, and acquire the verification parameters defined using the YANG model extension tag from the business configuration model;
[0101] In this embodiment, a basic verification parameter model can be defined according to the extension needs of the YANG model, and a specific service configuration model can be defined by introducing the defined verification parameter model.
[0102] As an example, the definition of the basic calibration parameter model is as follows:
[0103] 1.1) The field "priority" that defines the priority of the script, the smaller the value of this field, the lower the priority.
[0104] Specifically, it ca...
no. 3 example
[0157] Such as Figure 4 As shown, the third embodiment of the present invention provides a device for YANG model extension verification, and the device for YANG model extension verification includes: a memory 31, a processor 32, and a device stored on the memory 31 and capable of processing The YANG model extension verification program running on the processor 32, when the YANG model extension verification program is executed by the processor, implements the steps of the YANG model extension verification method described in the first embodiment.
[0158] A device for YANG model extension verification in the embodiment of the present invention obtains and executes the script execution list by using the verification parameters defined by the YANG model extension tag and the business configuration model, thereby obtaining the result of the YANG model extension verification; on the one hand Realized the extension of YANG syntax, which can meet the special needs of users through e...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com