Method for dynamically loading data model based on plug-in

A data model, dynamic loading technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of increasing maintenance costs, not easy to expand, etc., and achieve the effect of high scalability and maintainability

Inactive Publication Date: 2014-04-30
PHICOMM (SHANGHAI) CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The implementation of this method is relatively simple, but if you need to add new data model nodes in the future, you must recompile the entire TR098 service process. For network devices, you may need to upgrade the device software, which increases maintenance costs. easy to expand

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
  • Method for dynamically loading data model based on plug-in

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] based on the following figure 1 Preferred embodiments of the present invention will be described in detail.

[0031] like figure 1 As shown, the present invention provides a method for dynamically loading plug-in-based data models, the method comprising the following steps:

[0032] Step 1. Define the parameter description array of the data model node;

[0033] The described node parameter description array is param List, and the number of parameters in the array is param Num;

[0034] The parameter description array of the data model node includes the following parameters:

[0035] name: parameter name;

[0036] flag: parameter attribute flag;

[0037] type: parameter type;

[0038] default Value: The default value of the parameter. If the parameter is not displayed, the value of the parameter is the default value;

[0039] Step 2. Write the callback function of the node;

[0040] After the plug-in is loaded, the callback function written in step 2 will not be ...

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 invention relates to a method for dynamically loading a data model based on a plug-in. Firstly, a description structure of a data model node is defined; secondly, the data model node is compiled into a dynamic depot and when a TR098 service process detects the new plug-in, the new plug-in is loaded. An external progress adds, alters, deletes and reads the data node loaded in the third step. In the time of reading operation, a TR069 service procress is used for adding, altering, deleting and reading a node example and calling the corresponding callback function to execute the specific function. The description of the data model and the TR098 service process are separated and the description of the data model is compiled into the dynamic depot and exists as the plug-in. The plug-in is dynamically loaded in the TR098 service process and high expandability and maintainability of the system can be achieved.

Description

technical field [0001] The invention relates to a method for dynamically loading data models based on plug-ins, in particular to a method for dynamically loading data models in the TR098 protocol based on plug-ins. Background technique [0002] CWMP (CPE WAN Management Protocol, CPE Wide Area Network Management Protocol) is one of the technical specifications initiated and developed by the DSL (Digital Subscriber's Line, Digital Subscriber Line) Forum. The number is TR-069, so it is also called the TR-069 protocol. It provides a general framework, message specification, management method and data model for the management and configuration of home network devices in the next generation network. [0003] Most of the current management methods for TR069 data models on the market are to pre-define the description files of data model nodes, and then compile the data model node description files into the TR069 service process. The implementation of this method is relatively simpl...

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 Applications(China)
IPC IPC(8): G06F9/445
Inventor 匡昌胜
Owner PHICOMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products