Method and device for creating management object instance in management tree of terminal device
First Claim
Patent Images
1. A method for creating a management object (MO) instance in a management tree of a terminal device, comprising:
- adding node values to sub-nodes under an unnamed node in an MO of the management tree in the terminal device;
obtaining the node values of the sub-nodes under the unnamed node;
matching names of all the sub-nodes under the unnamed node with keywords preset in a keyword list, wherein;
when only one sub-node is successfully matched, setting a first node value of the sub-node that is successfully matched as the name of the unnamed node;
when the multiple sub-nodes are successfully matched, selecting one sub-node from the multiple sub-nodes that are successfully matched, and setting a second node value of the selected one sub-node as the name of the unnamed node; and
adding a new MO instance into the management tree of the terminal device according to the name of the unnamed node and according to the node values added into the sub-nodes in the MO of the management tree of the terminal device.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates to a method and a device for creating an MO instance in the management tree of a terminal device. In the method, a processor in the device adds the node value to an unnamed node or a specified node of the unnamed node in the MO of the management tree in the terminal device. The processor sets the node value of the specified node under the unnamed node as the name of the unnamed node. The specified node is a sub-node of the unnamed node or a node from other MOs.
49 Citations
10 Claims
-
1. A method for creating a management object (MO) instance in a management tree of a terminal device, comprising:
-
adding node values to sub-nodes under an unnamed node in an MO of the management tree in the terminal device; obtaining the node values of the sub-nodes under the unnamed node; matching names of all the sub-nodes under the unnamed node with keywords preset in a keyword list, wherein; when only one sub-node is successfully matched, setting a first node value of the sub-node that is successfully matched as the name of the unnamed node; when the multiple sub-nodes are successfully matched, selecting one sub-node from the multiple sub-nodes that are successfully matched, and setting a second node value of the selected one sub-node as the name of the unnamed node; and adding a new MO instance into the management tree of the terminal device according to the name of the unnamed node and according to the node values added into the sub-nodes in the MO of the management tree of the terminal device. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A communications device comprising a processor, comprising:
-
a node value adding module, adapted to;
add node values to sub-nodes under an unnamed node in an MO of the management tree in a terminal device;an obtaining module, adapted to;
obtain the node values of the sub-nodes under the unnamed node;a generating module, adapted to;
generate a name of the unnamed node according to the node values of the sub-nodes, wherein the generating module comprises;a matching unit, adapted to;
match names of all the sub-nodes of the unnamed node with keywords preset in a keyword list; anda generating unit, adapted to;
when only one sub-node is successfully matched, set a first node value of the sub-node as the name of the unnamed node;
when multiple sub-nodes are successfully matched, select one sub-node from the multiple sub-nodes and set a second node value of the selected sub-node as the name of the unnamed node; andan instantiating module, adapted to;
add a new MO instance into the management tree of the terminal device according to the name of the unnamed node and according to the node values added into the sub-nodes in the MO of the management tree of the terminal device;wherein the node value adding module, the obtaining module, the generating module, the matching unit, the generating unit, and the instantiating module are implemented by the processor. - View Dependent Claims (7, 8, 9, 10)
-
Specification