Unlock instant, AI-driven research and patent intelligence for your innovation.

State data processing method based on yang language model

A technology for state data and processing methods, applied in programming languages/paradigms, software maintenance/management, creation/generation of source code, etc.

Active Publication Date: 2021-11-05
SHANGHAI MEIQI PUYUE COMM TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once the state data needs to be changed, it is necessary to change each state data acquisition code, which brings a huge and cumbersome workload. Each different interface code must be modified separately, and it is easy to cause missed or wrong changes. phenomenon occurs
[0006] Traditional state data processing is tightly coupled with business modules, and the code is difficult to reuse
Each state data acquisition is a direct access to the business data structure, which brings great data security risks. Once it is accidentally modified to the business data memory, it will be difficult to find errors
Moreover, there are few strict data type checks in the traditional state data process, so the given state data is likely to produce wrong results
[0007] Traditional business modules seldom provide external data models. Once they need to interact with third parties, there is no standard for reference, nor can developers intuitively understand what state data needs to be processed and how these state data are related. hierarchical relationship

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • State data processing method based on yang language model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.

[0060]In an effective embodiment, the state data processing method based on the Yang language model is characterized in that the method comprises the following steps:

[0061] (1) Create a Yang data model based on actual state data;

[0062] (2) requesting to obtain data through the user interface;

[0063] (3) Judging that the data acquired by the user interface request is a single-instance model or a multi-instance model; if it is a single-instance model, then continue to step (4), if it is a multi-instance model, then continue to step (5);

[0064] (4) traverse all leaf nodes under the single instance model, and call back the corresponding callback function to obtain the data of the leaf nodes;

[0065] (5) Traverse and find all single instances under the multi-instance model, obtain the key value of e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a state data processing method based on the Yang language model, and the method comprises the following steps: (1) creating a Yang data model according to the actual state data; (2) requesting data through a user interface; (3) judging the user The data obtained by the interface request is a single-instance model or a multi-instance model; if it is a single-instance model, continue to step (4); if it is a multi-instance model, continue to step (5); (4) traverse all leaf nodes under the callback single-instance model (5) traverse to find all single instances under the multi-instance model, obtain the key values ​​of each instance, traverse and call back the data of all leaf nodes under each instance. Adopt the state data processing method based on the Yang language model, and use the unified data acquisition interface to obtain all the state data. After abstracting the data, the data acquisition itself is not tightly coupled with any business, and the development of state data acquisition has a unified specification. .

Description

technical field [0001] The present invention relates to the technical field of configuration management systems, in particular to the technical field of state data processing in the configuration management system, and specifically refers to a state data processing method based on a Yang language model. Background technique [0002] In the configuration management system, state data processing is a very important function of network equipment state monitoring. State data is usually not stored by the database, but read on the fly by functions at runtime. These status data can be statistical counts of various resource usage, memory data generated during runtime, or some business data. [0003] With the rapid development of the network, the scale of the network is expanding, the heterogeneity and complexity of the network are increasing, the types and numbers of network devices are increasing, and the geographical distribution is more extensive. The requirements for network co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F8/71
CPCG06F8/31G06F8/71
Inventor 朱林逯利军钱培专
Owner SHANGHAI MEIQI PUYUE COMM TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More