[go: up one dir, main page]

CN101820354B - Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server - Google Patents

Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server Download PDF

Info

Publication number
CN101820354B
CN101820354B CN2009101185061A CN200910118506A CN101820354B CN 101820354 B CN101820354 B CN 101820354B CN 2009101185061 A CN2009101185061 A CN 2009101185061A CN 200910118506 A CN200910118506 A CN 200910118506A CN 101820354 B CN101820354 B CN 101820354B
Authority
CN
China
Prior art keywords
node
nodes
information
configuration
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009101185061A
Other languages
Chinese (zh)
Other versions
CN101820354A (en
Inventor
宋悦
王睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN2009101185061A priority Critical patent/CN101820354B/en
Publication of CN101820354A publication Critical patent/CN101820354A/en
Application granted granted Critical
Publication of CN101820354B publication Critical patent/CN101820354B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a collocation method of a TNDS (Total Network Data System) object, terminal equipment and a server. The method comprises the following steps of: receiving an equipment management command including information of nodes to be collocated in the TNDS object, collocation information of the nodes to be collocated and information of the set of the nodes to be collocated; and judging whether each of the collocation information respectively meets the preset rule of the corresponding nodes to be collocated or not and whether the collocation information corresponds to all nodes supported by the terminal equipment in the set of the nodes to be collocated or not, if so, collocating the corresponding nodes to be collocated by using the collocation information, wherein the set of the nodes to be collocated is determined according to the information of the set of the nodes to be collocated, and whether the terminal equipment supports the nodes to be collocated or not is determined according to the information of the nodes to be collocated. With the technical scheme, the invention lowers the complexity of the collocation terminal of the server and ensures that the collocation of the TNDS object is more flexible.

Description

Collocation method, terminal equipment and server based on the TNDS object
Technical field
The present invention relates to communication technical field, relate in particular to a kind of collocation method, terminal equipment and server based on the TNDS object.
Background technology
The scheme that equipment control (DM:Device Management) system provides is used for third party's management and environment and the configuration information in the wireless network terminal equipment (such as the functional object at mobile phone terminal and terminal) is set.Fig. 1 is the overall structure figure of the equipment control (OMA DM:Open MobileAlliance Device Management) of Open Mobile Alliance.In Fig. 1, the equipment control agency (DM Agent:Device Management Agent) on the terminal equipment is used to explain the administration order of sending with the actuating equipment management server.The DM management tree of storing on the terminal equipment is considered to the interface that device management server is managed terminal equipment through device management protocol; Comprising some basic management objects (MO:Management Object), device management server reaches the purpose of control terminal management object through the operation to the management tree object.
Equipment control management tree, management object are made up of node.Exist one type in the management tree by unnamed node, be known as the x node, it plays the effect of placeholder, and when instantiation was carried out to it in server or terminal, it just can be named.After the name, this node and following child node thereof are called as instance, if this node just in time is the root node of management object, then are called the management object instance.
In equipment control, can adopt the mode of tree and description serializing (TNDS:Tree And DescriptionSerialization) to create a management subtree (for example management object instance); Promptly be positioned over the mode of management subtree in the administration order with serializing; Just can dispose whole management subtree through an administration order, save the trouble of a node of each command configuration.
When the creative management object, (state) value of the Status the when founder need consider each node definition and Occurrence (occurrence number) value.The state of node is meant whether the terminal must support certain node, if state is Required, server can think that the terminal is to support this node, although this node possibly temporarily not exist.If the state of certain node is the father node that this node is supported at Required and terminal, then this node must be supported in the terminal.The state of the root node of management object is defined as Required.The occurrence number of node is meant the node instance number of times that in certain sub-tree, allows, and possible values has: ZeroOrOne (0 or 1), ZeroOrMore (0 or a plurality of), OneOrMore (1 or a plurality of) etc.
In realizing process of the present invention; The inventor finds to exist at least in the prior art following problem: prior art is during to terminal configuration TNDS object; If one of them node configuration failure; Comprise that form do not support to overrun with data, need whole rollbacks, that is to say and not change by the retention management tree.Prior art makes server must come the configuration management tree in strict accordance with the concrete property (like device description framework DDF:DeviceDescription Framework) at each terminal, for example disposes according to the support situation of each terminal to node.Make server need to consider separately the situation at each terminal like this, otherwise can cause configuration failure.This has caused the configuration underaction, especially when using a piece of news to dispose a plurality of terminal simultaneously, then can't realize.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of collocation method based on the TNDS object, terminal equipment and server, in order to solve the inflexible problem of configuration of TNDS object in the prior art.
To achieve these goals; The embodiment of the invention provides a kind of collocation method based on the TNDS object; Comprise: the receiving equipment administration order comprises the information of treating configuration node in the TNDS object, the said information of treating the configuration information of configuration node and treating the configuration node set in the said order;
Judge whether that each said configuration information satisfies the corresponding preset rules of treating configuration node respectively; And said configuration information is corresponding treats whole nodes that terminal equipment is supported in the configuration node set; If then use said configuration information that the corresponding configuration node of treating is configured, wherein; Confirm the said configuration node set of treating according to the said information of configuration node set of treating, confirm according to the said information of configuration node of treating whether said terminal equipment supports the said configuration node of treating.
The embodiment of the invention also provides a kind of terminal equipment, comprising:
Receiver module is used for the receiving equipment administration order, comprises tree in the said order and describes the information of treating configuration node in the serializing TNDS object, said information and the output of treating the configuration information of configuration node and treating the configuration node set;
Judge module; Be used to judge whether that each said configuration information satisfies the corresponding preset rules of treating configuration node respectively; And said configuration information is corresponding treats whole nodes that terminal equipment is supported described in the configuration node set, and the output judged result, wherein; Confirm the said configuration node set of treating according to the said information of configuration node set of treating, confirm according to the said information of configuration node of treating whether said terminal equipment supports the said configuration node of treating;
Configuration module is used in the judged result of said judge module using said configuration information that the corresponding configuration node of treating is configured when being.
The embodiment of the invention also provides a kind of server, comprising:
The order generation module is used to generate device management command, comprises tree in the said order and describes the information of treating configuration node in the serializing TNDS object, the said information of treating the configuration information of configuration node and treating the configuration node set;
The order sending module is used for sending said order to terminal equipment.
The beneficial effect of the embodiment of the invention is:
Because in embodiments of the present invention; Comprise the information of treating configuration node in the TNDS object, the said information of treating the configuration information of configuration node and treating the configuration node set in the device management command; And need judge whether to carry out the configuration of TNDS object according to above-mentioned information, and the node supported of configurating terminal device only, therefore; Server is when generating device management command; Do not need specifically to consider the support situation of each terminal, must not come the configuration management tree, reduced the complexity at server configures terminal in strict accordance with the concrete property at each terminal to node.The technical scheme that adopts the embodiment of the invention to adopt is practiced thrift air resource thereby can use a device management message to dispose simultaneously a plurality of terminals, and the management tree at these a plurality of terminals can be different.It is thus clear that the technical scheme that adopts the embodiment of the invention to adopt can be so that the configuration of TNDS object be more flexible.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the overall structure figure of the equipment control of Open Mobile Alliance;
Fig. 2 is the collocation method flow chart based on the TNDS object among the embodiment one;
Fig. 3 is the structural representation of a SCOMO download management subtree;
Collocation method flow chart among Fig. 4 embodiment two based on the TNDS object;
Fig. 5 is the sketch map of the device management command among the embodiment two;
Fig. 6 is the collocation method flow chart based on the TNDS object among the embodiment three;
Fig. 7 is the device management command sketch map among the embodiment three;
The XML representation sketch map of the Operations management subtree that Fig. 8 provides for embodiment four;
The download management subtree that Fig. 9 provides for embodiment four has the sketch map of two instances;
Figure 10 is the sketch map of the device management command among the embodiment four;
Figure 11 is the terminal equipment block diagram among the embodiment five;
Figure 12 is the server block diagram among the embodiment five.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
As shown in Figure 2, the collocation method based on the TNDS object in the present embodiment comprises:
Step 101, the receiving equipment administration order;
Comprise the information of treating configuration node in the TNDS object, the information of treating the configuration information of configuration node and treating the configuration node set in this order;
The information of treating configuration node can identify the information of treating configuration node for title of treating configuration node etc.
Treat that the information of configuration node set can or treat the information of configuration node for the information of the node that need ignore in the set corresponding with preset set identification of preset set identification, preset set identification.Preset set identification can for management subtree node complete or collected works' sign or management subtree with node layer complete or collected works sign etc.Under extreme case, treat that configuration node can be a node, then this moment, treat that the configuration node set is exactly this node itself, can identify this set with the information of this node.
Step 102; Judge whether this order can dispose corresponding terminal equipment; Judge whether that promptly each configuration information satisfies the corresponding preset rules of treating configuration node respectively, and configuration information corresponding treat whole nodes that terminal equipment is supported in the configuration node set, if; Carry out step 103, otherwise carry out step 104;
Wherein, confirm the said configuration node set of treating, confirm according to the information of treating configuration node whether said terminal equipment supports to treat configuration node according to the said information of configuration node set of treating.
Preset rules comprises the form and/or the nodal value data area of the preset configuration information of treating configuration node.
Step 103 uses the configuration information in this order that the corresponding configuration node of treating is configured, and finishes;
Step 104 is confirmed this configuration failure.
In the said equipment administration order, can also comprise TNDS object type sign; After receiving device management command; Can judge whether comprise TNDS object type sign in this order earlier, if then carry out step 102; Otherwise can adopt other modes to be configured, for example adopt technical scheme of the prior art to be configured.
Embodiment two
In the present embodiment, the SCOMO in the terminal equipment (Software ComponentManagement Object, software component management object) download management subtree complete or collected works are configured.
Fig. 3 shows the structural representation of a SCOMO download management subtree, in the present embodiment is this SCOMO download management subtree complete or collected works are configured.Among Fig. 3<x> *Node is the root node of management subtree, and " * " number representes that the instantiation number of times of this node is for 0 time or repeatedly.Said<x> *What solid box was represented in the child node of node is the node of Required, and frame of broken lines is represented is the node of Optional, "? " Number the meaning be that also can occur 1 time can not appear in this node.In addition, said<x> *Node also comprises two Ext nodes, and said Ext node is an internal node, is used for different vendor carries out different expansions to management tree purpose.
When device management server need be to support equipment management and application protocol (for example SCOMO agreement) thereof; But when supporting this management subtree of terminal configuration of different Optional nodes; Can send management subtree complete or collected works to each terminal through the mode of broadcasting; Also promptly comprise all Required and node Optional and the information such as nodal value, attribute thereof that define in the agreement and (do not need configuration as if certain node; Can only set up an empty node, not comprise information such as its nodal value, attribute).What need special consideration is the Ext node, and above-mentioned this notion of management subtree complete or collected works can not comprise the Ext node, and at this moment device management server disposes this node relevant information separately to each terminal; Under special situation, also can comprise the Ext node, for example each terminal is same manufacturer production, and the content and structure that comprises under its Ext node is identical.
The collocation method based on the TNDS object of present embodiment is as shown in Figure 4, may further comprise the steps:
Step 201, the device management command that comprises the TNDS object that the receiving equipment management server sends;
Comprise the information of treating configuration node in the TNDS object, the information of treating the configuration information of configuration node and treating the configuration node set in this device management command;
This device management command specifically can be as shown in Figure 5.The Add order indicates on the terminal, to add SCOMO agreement download management subtree; Wherein, The type that should the management subtree of having used the Meta/Type component identification; Be application/vnd.syncml.dmtnds_full+xml; This this management subtree of expression is a TNDS object, and " _ full " wherein is the download management subtree node complete or collected works sign of SCOMO protocol definition, representes that this device management command will be configured these whole nodes of managing in the subtree; Be this TNDS object in the Data element, wherein comprised the information of all nodes of this management subtree complete or collected works, the configuration information (being relevant informations such as nodal community, value) of all nodes.Only list root node, PkgID node and the configuration information thereof of management subtree in the device management command shown in Figure 5, omitted other node.
Step 202 judges whether comprise management subtree complete or collected works sign in this device management message, if, carry out step 203, otherwise, jump out this flow process, adopt other modes (like the prior art flow process) to be configured;
In the present embodiment, adopt the information (promptly managing subtree complete or collected works sign) of treating the configuration node set to be used as TNDS object type sign, thereby save the entrained amount of information of device management message.
Step 203 is selected one and is treated configuration node, judges according to the information of treating configuration node of carrying in the device management message whether terminal equipment supports this node, if, carry out step 204, otherwise, carry out step 206;
Specifically can know whether terminal equipment supports this node according to the title of treating configuration node.
Step 204; Judge this treats whether the configuration information that carries in the corresponding administrative messag of configuration node satisfies the preset rules that this treats configuration node, and promptly the form of this configuration information and/or nodal value data area are correct, if; Carry out step 205, otherwise carry out step 210;
Step 205 keeps this node, carry out step 207;
In this step, keep this node and represent follow-up possibly the operation this node, do not represent certain preservation operation that exists.
Step 206 abandons this node;
In this step, abandon this node and represent follow-uply this node not to be operated, do not represent certain operation that abandons that exists.
Step 207 judges this treats whether last treats configuration node to configuration node, if, carry out step 208, otherwise, step 203 returned;
Step 208, whole nodes that terminal equipment is supported in the management subtree that whether configuration information in the judgment device administration order is corresponding are if carry out step 209, otherwise carry out step 210;
Step 209 disposes the node of each reservation, finishes;
Step 210 is confirmed this configuration failure.
Thus it is clear that,, then confirm this configuration failure if judging arbitrary configuration information does not satisfy the corresponding preset rules of treating configuration node;
And, then confirm this configuration failure if judge whole nodes that terminal equipment is supported in the not corresponding set of configuration information (management subtree complete or collected works).
To be server generate according to the structure of the management tree of terminal equipment device management information in the above-mentioned flow process, the information of treating configuration node in the device management information and treat that the aggregate information of configuration node all is that server is confirmed according to the structure of the management tree of terminal equipment.The method that server obtains the structure of management tree is:
Terminal equipment this terminal equipment of announcement server is supported when registration is professional equipment control and application protocol (for example SCOMO agreement) thereof supply said server to obtain the structure of the management tree of said terminal equipment; Perhaps
Server obtains the structure of the management tree of said terminal equipment according to the DDF of this locality storage.
In above-mentioned step shown in Figure 4:
(1) management subtree complete or collected works sign not necessarily uses Meta/Type unit usually to identify, and can use other element, also can be positioned over other position of administrative messag, and purpose is to make the terminal can distinguish the technical scheme of whether using present embodiment to handle the TNDS object;
(2) present embodiment does not limit the layoutprocedure of node, for example can not keep and directly begins configuration node, but need the information of the original node of backup, carries out rollback during in order to configuration failure;
(3) judgement in the step 203,204,208 can use DDF to judge; For example in carry out step 203, can in the corresponding management subtree of DDF is described, search, see the description that whether comprises a node; Can compare all nodes of supporting in node that keeps and the description of DDF corresponding management subtree when carrying out step 208; See whether comprised all nodes that this terminal is supported on the said management subtree, certainly, also can the comparison node number whether equate.But the present invention does not limit and uses DDF to judge, can use the information of other preservation to judge yet.
Because in the present embodiment; Comprise the information of treating configuration node in the TNDS object, the information of treating the configuration information of configuration node and treating the configuration node set in the device management command; And need judge whether to carry out the configuration of TNDS object according to above-mentioned information, and the node supported of configurating terminal device only, therefore; Server is when generating device management command; Do not need specifically to consider the support situation of each terminal, must not come the configuration management tree, reduced the complexity at server configures terminal in strict accordance with the concrete property at each terminal to node.The technical scheme that adopts present embodiment to adopt is practiced thrift air resource thereby can use a device management message to dispose simultaneously a plurality of terminals, and the management tree at these a plurality of terminals can be different.It is thus clear that the technical scheme that adopts present embodiment to adopt can be so that the configuration of TNDS object be more flexible.
And; Because present embodiment can satisfy the corresponding preset rules of treating configuration node respectively judging each configuration information; And configuration information is corresponding treat terminal equipment is supported in the configuration node set whole nodes after; Be configured operation again, in case avoided the rolling back action that configuration failure need carry out in the prior art.
In above-mentioned flow process, the information of treating the configuration node set in the device management message can not be the management subtree complete or collected works of equipment control and application protocol definition thereof, but can confirm to treat the configuration node set according to the actual disposition needs.For example; In some cases; The management subtree node set that a plurality of terminal of desire configuration is supported is less than the complete or collected works of protocol definition; For example this node of EnvType is not supported at each terminal, at this moment then need not issue the information and the corresponding configuration information of the corresponding whole nodes of management subtree complete or collected works sign, management subtree, only need issue the node complete or collected works' that support at each terminal sign, the information and the corresponding configuration information of node that each terminal is supported gets final product.When concrete the realization, treat that the sign of configuration node set can be application/vnd.syncml.dmtnds_multiclient+xml, wherein the node complete or collected works that the configuration node set is supported for each terminal are treated in " _ multiclient " expression.
Embodiment three
When adopting the scheme of embodiment two; For the node that when certain disposes, need not dispose (can be the node of 0 Required) like Optional node or occurrence number; Device management server has also disposed an empty node to the terminal, has so just caused some redundancies of device management information.Therefore in the present embodiment; Through to not needing configuration node not to be configured; Realize removing the purpose of the redundancy of device management information, in the present embodiment, the information of configuration node set adopts the information of the node that need ignore in the set corresponding with preset set identification of preset set identification.
The collocation method based on the TNDS object of present embodiment is as shown in Figure 6, may further comprise the steps:
Step 301, the device management command that comprises the TNDS object that the receiving equipment management server sends;
Comprise the information of treating configuration node in the TNDS object, the information of treating the configuration information of configuration node and treating the configuration node set in this device management command; In this step, treat that the information of configuration node set comprises the information of presetting the node that need ignore in the set identification set corresponding with preset set identification;
This device management command specifically can be as shown in Figure 7.The Replace order indicates on the terminal, to replace SCOMO agreement download management subtree, and this SCOMO agreement download management subtree can be as shown in Figure 3; The place that embodiment is different is the Name node has been added an Ignore element, is used to identify this node and in configuration, need be left in the basket, and can certainly represent whether ignore with the element value of Ignore.
Server is before issuing this order; Need to confirm the support situation of one or more terminal equipments to the node of certain management subtree; This can know from the DDF of its (), therefrom parses all nodes of support, to confirm management subtree node complete or collected works' scope.In addition, server can be further judged the node specifying information situation that client is supported according to DDF, nodal community etc. for example, and purpose is to guarantee that the DDF that TNDS object that server sends to (respectively) client can meet its () defines.
Step 302 judges whether comprise TNDS object type sign in this device management message, if, carry out step 303, otherwise, jump out this flow process, adopt other modes (like the prior art flow process) to be configured;
In the present embodiment, adopt the information (i.e. " _ multiclient ") of treating the configuration node set to be used as TNDS object type sign, thereby save the entrained amount of information of device management message.
Step 303 is selected one and is treated configuration node, judges according to the information of treating configuration node of carrying in the device management message whether terminal equipment supports this node, if, carry out step 304, otherwise, carry out step 308;
Step 304 judges this treats whether configuration node need be left in the basket, if carry out step 305, otherwise carry out step 306;
Specifically can usually judge and this treat configuration node whether needs are left in the basket according to whether having added Ignore unit before the Name node.
Step 305 writes down this and treats configuration node, carry out step 309;
Step 306 judges this treats whether the configuration information that carries in the corresponding administrative messag of configuration node satisfies the preset rules that this treats configuration node, if carry out step 307, otherwise carry out step 312;
Step 307 keeps this node, carry out step 309;
Step 308 abandons this node;
Step 309 judges this treats whether last treats configuration node to configuration node, if, carry out step 310, otherwise, step 303 returned;
Step 310 judges whether the node of all reservations and the node of record have comprised the whole nodes in the SCOMO agreement download management subtree, if carry out step 311, otherwise carry out step 312;
In the present embodiment; The node of judging the nodes that all keep and record whether comprised the whole nodes in the SCOMO agreement download management subtree be exactly configuration information in the judgment device administration order whether corresponding treat whole nodes that terminal equipment is supported in the configuration node set, treat that configuration node is gathered and comprised all not uncared-for node in the SCOMO agreement download management subtree.Carry out method that this step judges and also can be with the node of record from SCOMO agreement download management subtree complete or collected works, removes the configuration information that obtains treating in configuration node set and the judgment device administration order whether corresponding treat whole nodes of terminal equipment support in the configuration node set.
Step 311 disposes the node of each reservation, finishes;
Step 312 is confirmed this configuration failure.
In the present embodiment,, be not configured, realized removing the purpose of the redundancy of device management information not needing configuration node through ignoring sign.
Embodiment four
Originally execute example a kind of collocation method based on the TNDS object is provided, make device management server need not dispose some more during the subtree of lower floor,, and only send in the management tree complete or collected works with node layer then without the complete or collected works of sending node.The same node layer here is meant each node that has same father node; For example; As shown in Figure 8; The Operations that provides for present embodiment manages XML (eXtensibleMarkup Language, the extending mark language) representation of subtree, and in fact it also provided the structure of this management subtree when providing nodename (economizing the abbreviated node out of Memory in the code).Outermost<node></Node>Element is used to identify and carry Operations node and all child nodes below it, and wherein the Operations node is the root node (or claiming first node) of this management subtree, and its title is with the back to back NodeName element representation in above-mentioned Node element back.After the Operations node, two have been used respectively<node></Node>Element with mode arranged side by side (promptly previous node with</Node>Next node appears afterwards in end again<node>) carry Download and DownloadInstall node, explain that then these two nodes have same father node Operations, are defined as same node layer to them here.And these two nodes of Operations and Download are not same node layers just, but the relation of father node and child node.
From the management sub-tree structure figure of Fig. 3, can find out this point more intuitively, for example directly with<x> *Each node that links to each other then is same node layer.But should be noted that here<x> *Must be same node layer by the child node that could claim it after the instantiation (for example being instantiated as node 1).The download management subtree that Fig. 9 provides for present embodiment has the sketch map of two instances, from Fig. 9, more can know and understand above-mentioned same node layer.Like Fig. 9, two instances are arranged, i.e. instance 1 and management subtree thereof and instance 2 and management subtree thereof in the download management subtree.Only be confined to an instance inside with node layer, that is to say that the child node that belongs to below another instance (for example node 2) and the child node of node 1 then are not same node layers.
Shown in figure 10, be the sketch map of the device management command that sends to the terminal based on the configuration server of TNDS object in the present embodiment, the Add order is on the terminal, to add the download management subtree; The type of this management subtree of wherein having used the Meta/Type component identification, promptly application/vnd.syncml.dmtnds_fullOfSameParent+xml representes that same node layer of this management subtree is complete or collected works; Be this TNDS object in the Data element, wherein comprised shown in Fig. 5<x> *Relevant informations such as (being node 1) and all child nodes that directly link to each other with it thereof and nodal community, value, for example PkgID node, Operations node etc., but do not comprise the more lower floor child node of these child nodes, for example Download node.
Similar in the present embodiment based on the collocation method of TNDS object and flow process shown in Figure 4, its difference is:
Server is before issuing this order; Need definite certain client or a plurality of client support situation to the node on the same level of certain management subtree; This can know from the DDF of its (); Therefrom parse all nodes of supporting on the same level, to confirm the scope of management subtree with the node layer complete or collected works.
In step 202, judgement be whether to comprise in this device management message that the management subtree is with layer complete or collected works sign (for example " _ fullOfSameParent " sign);
In step 208; Need be the node of being withed a hook at the end by dividing with node layer; For each layer, the node whether terminal judges keeps has comprised all nodes that this terminal is supported on this layer, if there is one deck not satisfy then this administration order failure; If each layer all satisfies, use the nodal information configuration management subtree that keeps.
In the present embodiment, the TNDS object has only comprised one deck, therefore, as long as the node of this layer reservation has comprised all nodes that this terminal is supported on this layer, then uses the nodal information configuration management subtree that keeps.
It should be noted that in addition above-mentioned mention same node layer be to be in below certain node and its child node that directly links to each other, refer in particular to the child node that links to each other with an x node.And after the x node instanceization, also can be regarded as a same node layer, for example the x node instance turns to node 1; Then node 1 oneself is a same node layer; Therefore according to above-mentioned steps, device management server can dispose an above-mentioned node 1 separately on the terminal, and does not dispose its child node.
Also has a kind of situation; If with the node that only has an Optional in the node layer, other node all is Required, and then server can not send the complete or collected works with node layer; Promptly can dispose the node of this Optional; The number of the same node layer that the terminal can be sent according to server and the same node layer number of own support are judged server and have been disposed an optional node less, and can not cause configuration failure.
Equally, can in node layer, identify the node that this configuration need be ignored, this method with embodiment three is identical.
Embodiment five
Terminal equipment in the present embodiment, shown in figure 11, comprising:
Receiver module is used for the receiving equipment administration order, comprises tree in the said order and describes the information of treating configuration node in the serializing TNDS object, said information and the output of treating the configuration information of configuration node and treating the configuration node set;
Judge module; Be used to judge whether that each said configuration information satisfies the corresponding preset rules of treating configuration node respectively; And said configuration information is corresponding treats whole nodes that terminal equipment is supported described in the configuration node set, and the output judged result, wherein; Confirm the said configuration node set of treating according to the said information of configuration node set of treating, confirm according to the said information of configuration node of treating whether said terminal equipment supports the said configuration node of treating;
Configuration module is used in the judged result of said judge module using said configuration information that the corresponding configuration node of treating is configured when being.
This terminal equipment can also comprise:
Identification module is used for judging whether said order comprises said TNDS object type sign, if then notify said judge module to carry out corresponding operating;
And/or
The agreement sending module is used for the said terminal equipment of announcement server is supported when registration is professional equipment control and application protocol thereof, supplies said server to obtain the structure of the management tree of said terminal equipment.
Server in the present embodiment, shown in figure 12, comprising:
The order generation module is used to generate device management command, comprises tree in the said order and describes the information of treating configuration node in the serializing TNDS object, the said information of treating the configuration information of configuration node and treating the configuration node set;
The order sending module is used for sending said order to terminal equipment.
This server can also comprise:
Management tree obtains module, is used to obtain the structure of the management tree of said terminal equipment, exports to said order generation module.
More than all embodiment, the preferred embodiments of the disclosure just, common variation that those skilled in the art carries out in technical scheme of the present invention and replacement all should be included within protection scope of the present invention.

Claims (13)

1.一种基于树和描述序列化TNDS对象的配置方法,其特征在于,包括:1. A configuration method based on tree and description serialization TNDS object, characterized in that, comprising: 接收设备管理命令,所述命令中包括TNDS对象中的待配置节点的信息、所述待配置节点的配置信息以及待配置节点集合的信息;receiving a device management command, the command including the information of the node to be configured in the TNDS object, the configuration information of the node to be configured, and the information of the node set to be configured; 判断是否各个所述配置信息分别满足相应待配置节点的预设规则,且所述配置信息对应了待配置节点集合中终端设备支持的全部节点,若是,则使用所述配置信息对相应待配置节点进行配置,其中,根据所述待配置节点集合的信息确定所述待配置节点集合,根据所述待配置节点的信息确定所述终端设备是否支持所述待配置节点。Judging whether each of the configuration information meets the preset rules of the corresponding node to be configured, and the configuration information corresponds to all nodes supported by the terminal device in the node set to be configured, and if so, using the configuration information to configure the corresponding node to be configured performing configuration, wherein the set of nodes to be configured is determined according to the information of the set of nodes to be configured, and whether the terminal device supports the nodes to be configured is determined according to the information of the nodes to be configured. 2.如权利要求1所述的配置方法,其特征在于,所述命令中还包括TNDS对象类型标识;2. configuration method as claimed in claim 1 is characterized in that, also comprises TNDS object type identification in the described order; 所述终端设备接收所述命令后,先判断所述命令中是否包括所述TNDS对象类型标识,若是,则进行所述是否各个所述配置信息分别满足相应待配置节点的预设规则,且所述配置信息对应了所述集合中所述终端设备支持的全部节点的判断。After receiving the command, the terminal device first judges whether the command includes the TNDS object type identifier, and if so, then proceeds to determine whether each of the configuration information satisfies the preset rules of the corresponding node to be configured, and the The configuration information corresponds to the determination of all nodes supported by the terminal device in the set. 3.如权利要求1所述的配置方法,其特征在于,所述是否各个所述配置信息分别满足相应待配置节点的预设规则,且所述配置信息对应了所述集合中所述终端设备支持的全部节点的判断中,若判断出任一所述配置信息不满足相应待配置节点的预设规则,则确定本次配置失败。3. The configuration method according to claim 1, characterized in that whether each of the configuration information satisfies the preset rules of the corresponding nodes to be configured, and the configuration information corresponds to the terminal device in the set In the judgment of all supported nodes, if it is judged that any of the configuration information does not satisfy the preset rule of the corresponding node to be configured, it is determined that the configuration fails this time. 4.如权利要求1或3所述的配置方法,其特征在于,所述预设规则包括预设的所述待配置节点的配置信息的格式和/或节点值数据范围。4. The configuration method according to claim 1 or 3, wherein the preset rule includes a preset format and/or node value data range of the configuration information of the node to be configured. 5.如权利要求1所述的配置方法,其特征在于,所述是否各个所述配置信息分别满足相应待配置节点的预设规则,且所述配置信息对应了所述集合中所述终端设备支持的全部节点的判断中,若判断出所述配置信息未对应所述集合中所述终端设备支持的全部节点,则确定本次配置失败。5. The configuration method according to claim 1, characterized in that whether each of the configuration information satisfies the preset rules of the corresponding nodes to be configured, and the configuration information corresponds to the terminal device in the set In the determination of all supported nodes, if it is determined that the configuration information does not correspond to all the nodes supported by the terminal device in the set, it is determined that the current configuration fails. 6.如权利要求1所述的配置方法,其特征在于,所述待配置节点集合的信息为预设集合标识、所述预设集合标识与所述预设集合标识对应的集合中需忽略的节点的信息、或所述待配置节点的信息。6. The configuration method according to claim 1, wherein the information of the set of nodes to be configured is a preset set ID, a set corresponding to the preset set ID and the preset set ID that need to be ignored The information of the node, or the information of the node to be configured. 7.如权利要求6所述的配置方法,其特征在于,所述预设集合标识为管理子树节点全集标识或管理子树同层节点全集标识。7. The configuration method according to claim 6, wherein the preset set identifier is an identifier of a complete set of management subtree nodes or a complete set of identifiers of nodes of the same layer of a management subtree. 8.如权利要求1所述的配置方法,其特征在于,所述待配置节点的信息以及所述待配置节点的集合信息是服务器根据所述终端设备的管理树的结构确定的,所述服务器获得所述管理树的结构的方法为:8. The configuration method according to claim 1, wherein the information of the nodes to be configured and the set information of the nodes to be configured are determined by the server according to the structure of the management tree of the terminal device, and the server The method to obtain the structure of the management tree is: 所述终端设备在注册业务时通知服务器所述终端设备支持的设备管理及其应用协议,供所述服务器获得所述终端设备的管理树的结构;或者The terminal device notifies the server of the device management and application protocols supported by the terminal device when registering the service, so that the server can obtain the management tree structure of the terminal device; or 所述服务器根据本地存储的设备描述框架DDF获得所述终端设备的管理树的结构。The server obtains the structure of the management tree of the terminal device according to the device description framework DDF stored locally. 9.一种终端设备,其特征在于,包括:9. A terminal device, characterized in that, comprising: 接收模块,用于接收设备管理命令,所述命令中包括树和描述序列化TNDS对象中的待配置节点的信息、所述待配置节点的配置信息以及待配置节点集合的信息;A receiving module, configured to receive a device management command, the command includes a tree and information describing the nodes to be configured in the serialized TNDS object, configuration information of the nodes to be configured, and information on a set of nodes to be configured; 判断模块,用于判断是否各个所述配置信息分别满足相应待配置节点的预设规则,且所述配置信息对应了待配置节点集合中所述终端设备支持的全部节点,并输出判断结果,其中,根据所述待配置节点集合的信息确定所述待配置节点集合,根据所述待配置节点的信息确定所述终端设备是否支持所述待配置节点;A judging module, configured to judge whether each of the configuration information satisfies the preset rules of the corresponding nodes to be configured, and the configuration information corresponds to all nodes supported by the terminal device in the node set to be configured, and output a judgment result, wherein , determining the set of nodes to be configured according to the information of the set of nodes to be configured, and determining whether the terminal device supports the node to be configured according to the information of the nodes to be configured; 配置模块,用于在所述判断模块的判断结果为是时,使用所述配置信息对相应待配置节点进行配置。The configuration module is configured to use the configuration information to configure the corresponding node to be configured when the judging result of the judging module is yes. 10.如权利要求9所述的终端设备,其特征在于,还包括:10. The terminal device according to claim 9, further comprising: 识别模块,用于判断所述命令中是否包括所述TNDS对象类型标识,若是,则通知所述判断模块进行相应操作。The identifying module is configured to judge whether the command includes the TNDS object type identifier, and if so, notify the judging module to perform corresponding operations. 11.如权利要求9所述的终端设备,其特征在于,还包括:11. The terminal device according to claim 9, further comprising: 协议发送模块,用于在注册业务时通知服务器所述终端设备支持的设备管理及其应用协议,供所述服务器获得所述终端设备的管理树的结构。A protocol sending module, configured to notify the server of the device management and application protocols supported by the terminal device when registering a service, so that the server can obtain the structure of the management tree of the terminal device. 12.一种服务器,其特征在于,包括:12. A server, characterized in that, comprising: 命令生成模块,用于生成设备管理命令,所述命令中包括树和描述序列化TNDS对象中的待配置节点的信息、所述待配置节点的配置信息以及待配置节点集合的信息;A command generation module, configured to generate a device management command, the command includes a tree and information describing the nodes to be configured in the serialized TNDS object, the configuration information of the nodes to be configured, and the information of the node set to be configured; 命令发送模块,用于向终端设备发送所述命令。A command sending module, configured to send the command to the terminal device. 13.如权利要求12所述的服务器,其特征在于,还包括:13. The server according to claim 12, further comprising: 管理树获得模块,用于获得所述终端设备的管理树的结构,输出给所述命令生成模块。The management tree obtaining module is configured to obtain the structure of the management tree of the terminal device and output it to the command generating module.
CN2009101185061A 2009-02-26 2009-02-26 Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server Expired - Fee Related CN101820354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101185061A CN101820354B (en) 2009-02-26 2009-02-26 Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101185061A CN101820354B (en) 2009-02-26 2009-02-26 Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server

Publications (2)

Publication Number Publication Date
CN101820354A CN101820354A (en) 2010-09-01
CN101820354B true CN101820354B (en) 2012-04-04

Family

ID=42655308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101185061A Expired - Fee Related CN101820354B (en) 2009-02-26 2009-02-26 Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server

Country Status (1)

Country Link
CN (1) CN101820354B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123386B (en) * 2011-03-17 2015-08-12 中兴通讯股份有限公司 A kind of method by OMA DM standard object management WIMAX node and device
CN103873284A (en) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 Equipment management system and method
CN103944950A (en) * 2013-01-22 2014-07-23 中兴通讯股份有限公司 TNDS (tree and description serialization)-based terminal device firmware optimization method, client and system
CN106899427B (en) * 2016-09-19 2020-07-07 阿里巴巴集团控股有限公司 Operation and maintenance instruction execution method, device and system
CN108200354B (en) * 2018-03-06 2020-09-25 Oppo广东移动通信有限公司 Control method and apparatus, imaging device, computer device, and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625865A (en) * 2002-04-30 2005-06-08 诺基亚有限公司 Method and device for managing tree data exchange
CN101083608A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Method for enquiring node information of equipment management tree and its terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625865A (en) * 2002-04-30 2005-06-08 诺基亚有限公司 Method and device for managing tree data exchange
CN101083608A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Method for enquiring node information of equipment management tree and its terminal equipment

Also Published As

Publication number Publication date
CN101820354A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
CN102136934B (en) Method, device and network system for realizing remote upgrading of Zigbee equipment
CN100442901C (en) Method and apparatus for monitoring and updating software in apparatus management
CN101854343B (en) Method for providing node information, and method and device for acquiring node information
CN108989066A (en) device management method and device
JP2011530860A (en) Intelligent mobile device management client
CN101820354B (en) Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server
CN101674198B (en) Method and device for realizing stacking
EP3764596A1 (en) Data configuration method and apparatus
CN104410875B (en) Realize the system and method that IPTV boxes end business zero configuration is opened automatically
CN100539597C (en) Configuring management method and device
CN110389766A (en) HBase container cluster dispositions method, system, equipment and computer readable storage medium
US10148486B2 (en) Object version management
WO2016026329A1 (en) Terminal upgrade method and apparatus
CN101771557A (en) Method for managing object instance and alias and equipment
CN103369296A (en) SIP protocol-based map video monitoring system and video transmission method
CN103139806B (en) Method and base station of the webmaster with base station configuration data decoupling
CN104378231A (en) Control system and control method for enterprise wireless router
CN102904739A (en) A Method for Realizing Event Forwarding and Common Information Model CIM Server
CN107612753A (en) Processing method, device and the radio reception device of wireless messages
CN100442715C (en) Implementation method of scheduled tasks in equipment management
WO2011032470A1 (en) System for service user data management and method thereof for realizing service user data management
CN106559490A (en) A kind of management method for storage cluster equipment
CN113608832A (en) Application deployment method, system, device and medium
CN115695465B (en) Scalable and pluggable cloud native monitoring system platform and monitoring method thereof
CN101442791B (en) Method and apparatus for sending node information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171106

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 headquarters building of Bantian HUAWEI base, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120404

CF01 Termination of patent right due to non-payment of annual fee