Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Referring to Fig. 1, a kind of initialized method of terminal unit management that the embodiment of the present invention provides comprises:
Step 11, terminal equipment receives initialization apparatus management DM message bag, and the tree comprised at described initialization DM message bag and description serializing TNDS object the inside carry operation mark.
This operation mark can be for whole TNDS object, or also can be for certain management object of TNDS object the inside.For example, can be directly for equipment control account DMAcc management object or ConnMO connection management object inside the TNDS object.
This operation mark is defined as follows:
The Operation element: be used for specifying the operation of terminal equipment to TNDS object or management object, value can be Add, DeleteAndAdd, Replace.Wherein Add means to increase newly, with original initializes configuration information, coexists; And DeleteAndAdd means to delete original initializes configuration information, then increase the information in TNDS object or management object newly; Replace upgrades original initializes configuration information, such as upgrading authorization information in the DMAcc management object etc.
In use, father's element of Operation element can be MgmtTree element or Node element, and wherein, when father's element of Operation element is the MgmtTree element, the value of Operation element is for whole TNDS object; When father's element of Operation element is the Node element, the value of Operation element is certain management object for TNDS object the inside.
It should be noted that, this operation mark is optional, and only, when smart card or DM server need to be reinitialized terminal equipment, this operation mark is only essential.
Step 12, described terminal equipment is inserted the Inbox management object by described TNDS object.
For example, after terminal equipment receives the DM message bag issued, it is processed, according to " Add " order and destination address "<Target ><LocURI ./Inbox</LocURI</Target ", the TNDS object is put in " Inbox " management object that terminal management sets.
Step 13, described terminal equipment is resolved the described TNDS object in described Inbox management object, and entrained operation mark configures initialization information according to described TNDS object.
For example, when terminal equipment is resolved the described TNDS object in the Inbox management object, find that TNDS object the inside has comprised a DMAcc object and a ConnMO object, and there is a daughter element " Operation " below the MgmtTree element, value is " DeleteAndAdd ", therefore at first terminal equipment will delete original DMAcc object and ConnMO object on management tree, then the DMAcc object in the TNDS object and ConnMO object will be configured on management tree.
Again for example, when terminal equipment is resolved the described TNDS object in the Inbox management object, find that TNDS object the inside has comprised a DMAcc object and a ConnMO object, and there is a daughter element " Operation " below the Node element of each management object, value is respectively as " Replace " and " Add ", therefore for the DMAcc management object, terminal equipment is used the management object DMAcc in the TNDS object to upgrade it, and for the ConnMO object, because " Operation " element value is " Add ", so directly the ConnMO object in the TNDS object is added to be configured on management tree, get final product.
The initialized method of the terminal unit management that the embodiment of the present invention provides, carry operation mark by the tree and the description serializing TNDS object the inside that comprise at initialization DM message bag, after terminal equipment receives initialization DM message bag, described TNDS object is inserted to the Inbox management object, resolve the described TNDS object in described Inbox management object, and entrained operation mark is carried out the configuration of initialization information according to described TNDS object, therefore overcome Inbox management object in prior art and only supported " Add " operation, the defect that other operation is not supported, in the situation that existing, a plurality of device management servers realized the flexible configuration to terminal equipment.
Specific embodiment 1:
An existing station terminal equipment, IMEI=493005100592800, the subscriber identification module of use (Subscriber Identity Module, SIM card) is the A's of operator, the DM server configured in its device management tree DMAcc management object is: OperatorA_DMServe, and address is:
http:// www.OperatorA.org/dm-server.Terminal equipment was replaced by the SIM card of the B of operator afterwards, also subscribed to the DM business simultaneously, at this moment the DM server of the B of operator is in order can effectively to manage this terminal equipment, need to carry out initialization again to this terminal equipment, at this moment the DM server is: OperatorB_DMServe, and address is:
http:// www.OperatorB.org/dm-server, the parameter of simultaneously corresponding connection management object ConnMO also needs change.
At this moment initialization for smart card or server initiation sends to the OMA DM message bag of client to be:
<SyncML?xmlns=′SYNCML:SYNCML1.2′>
<SyncHdr>
……
<Target><LocURI>IMEI:493005100592800</LocURI></Target>
<Source><LocURI>http://www.OperatorB.org/dm-server</LocURI></Source>
</SyncHdr>
<SyncBody>
<Add>
<CmdID>1</CmdID>
<Item>
<Target><LocURI>./Inbox</LocURI></Target>
<Meta?xmlns=’syncml:metinf’>
<Format>xml</Format>
<Type>application/vnd.syncml.dmtnds+xml</Type>
</Meta>
<Data>
<MgmtTree?xmlns=’syncml:dmddf1.2’>
<VerDTD>1.2</VerDTD>
<Operation>DeleteAndAdd</Operation>
<Node>
<NodeName>MobileOperatorDMServer1</NodeName>
<RTProperties>
<Format><node/></Format>
<Type>
<DDFName>urn:oma:mo:oma-dm-dmacc:1.0</DDFName>
</Type>
</RTProperties>
<Node>
<NodeName>ServerID</NodeName>
……
<Value>OperatorB_DMServe<Value>
</Node>
……
</Node>
<Node>
<NodeName>DMNAP</NodeName>
<RTProperties>
<Format><node/></Format>
<Type>
<DDFName>
urn:oma:mo:oma-connmo-nap:1.0</DDFName>
</Type>
</RTProperties>
……
</SyncBody>
</SyncML>
After terminal equipment receives the DM message bag issued, to its processing, according to " Add " order and destination address "<Target ><LocURI ./Inbox</LocURI</Target ", the TNDS object is put in " Inbox " management object of terminal management tree, then terminal equipment is resolved the TNDS object of " Inbox " the inside, find that TNDS object the inside has comprised a DMAcc object and a ConnMO object, and there is an element " Operation ", value is " DeleteAndAdd ", therefore at first terminal equipment will delete original DMAcc object and ConnMO object on management tree, then the DMAcc in the TNDS object and ConnMO object are configured on management tree.After initialization, the DM server configured in the DMAcc management object on terminal equipment management tree is: OperatorB_DMServe, and address is:
http:// www.OperatorB.org/dm-server, and the ConnMO object also can become the corresponding contents of ConnMO in the TNDS object.
Specific embodiment 2:
An existing station terminal equipment, IMEI=493005100592800, the SIM card of using is the A of operator, and the DM server configured in its device management tree DMAcc management object is: OperatorA_DMServe, address is: http://www.OperatorA.org/dm-server.Operator plans the address of its DM server is updated to afterwards: http://www.MobileA.org/dm-server needs the example of a newly-increased connection management object ConnMO simultaneously.
The initialization of initiating for server, the OMA DM message bag that at this moment server issues is:
<SyncML?xmlns=′SYNCML:SYNCML1.2′>
<SyncHdr>
……
<Target><LocURI>IMEI:493005100592800</LocURI></Target>
<Source><LocURI>http://www.OperatorB.org/dm-server</LocURI></Source>
</SyncHdr>
<SyncBody>
<Add>
<CmdID>1</CmdID>
<Item>
<Target><LocURI>./Inbox</LocURI></Target>
<Meta?xmlns=’syncml:metinf’>
<Format>xml</Format>
<Type>application/vnd.syncml.dmtnds+xml</Type>
</Meta>
<Data>
<MgmtTree?xmlns=’syncml:dmddf1.2’>
<VerDTD>1.2</VerDTD>
<Node>
<NodeName>MobileOperatorDMServer1</NodeName>
<Operation>Replace</Operation>
<RTProperties>
<Format><node/></Format>
<Type>
<DDFName>urn:oma:mo:oma-dm-dmacc:1.0</DDFName>
</Type>
</RTProperties>
<Node>
<NodeName>ServerID</NodeName>
……
<Value>OperatorA_DMServe</Value>
</Node>
……
</Node>
<Node>
<NodeName>DMNAP</NodeName>
<Operation>Add</Operation>
<RTProperties>
<Format><node/></Format>
<Type>
<DDFName>urn:oma:mo:oma-connmo-nap:1.0</DDFName>
</Type>
</RTProperties>
……
</SyncBody>
</SyncML>
After terminal equipment receives the DM message bag issued, to its processing, according to " Add " order and destination address "<Target ><LocURI ./Inbox</LocURI</Target ", the TNDS object is put in " Inbox " management object of terminal management tree, then terminal equipment is resolved the TNDS object of " Inbox " the inside, find that TNDS object the inside has comprised a DMAcc object and a ConnMO object, and there is " Operation " element below each management object, value is respectively " Replace " and " Add ", therefore for the DMAcc management object, terminal equipment is found the DMAcc object that ServerID is OperatorA_DMServe, and with the management object DMAcc in the TNDS object, it is upgraded, the present embodiment is that the address of DM server is updated to: http://www.MobileA.org/dm-server, and, for the ConnMO object, because " Operation " element value is " Add ", so directly the ConnMO object in the TNDS object is added to be configured on management tree, get final product.After this initialization, the DM server address configured in the DMAcc management object on terminal equipment management tree is: http://www.OperatorB.org/dm-server.And the ConnMO object can increase a new embodiment.
Embodiment of the method based on above-mentioned, referring to Fig. 2, the embodiment of the present invention also provides a kind of terminal equipment, comprising:
Receiving element 21, for receiving initialization apparatus management DM message bag, the tree comprised at described initialization DM message bag and description serializing TNDS object the inside carry operation mark;
Insert unit 22, for described TNDS object is inserted to the Inbox management object;
Resolution unit 23, for resolving the described TNDS object of described Inbox management object;
Initialization unit 24, for the operation mark configuration initialization information entrained according to described TNDS object.
Described operation mark can be for whole TNDS object, or also can be for certain management object of TNDS object the inside.For example, can be directly for equipment control account DMAcc management object and ConnMO connection management object inside the TNDS object.
This operation mark is defined as follows:
The Operation element: be used for specifying the operation of terminal equipment to TNDS object or management object, value can be Add, DeleteAndAdd, Replace.Wherein Add means to increase newly, with original initializes configuration information, coexists; And DeleteAndAdd means to delete original initializes configuration information, then increase the information in TNDS object or management object newly; Replace upgrades original initializes configuration information, such as upgrading authorization information in the DMAcc management object etc.
In use, father's element of Operation element can be MgmtTree element or Node element, and wherein, when father's element of Operation element is the MgmtTree element, the value of Operation element is for whole TNDS object; When father's element of Operation element is the Node element, the value of Operation element is certain management object for TNDS object the inside.
It should be noted that, this operation mark is optional, and only, when smart card or DM server need to be reinitialized terminal equipment, this operation mark is only essential.
The terminal equipment that the embodiment of the present invention provides, receive initialization DM message bag by receiving element 21, operation mark is carried in the tree comprised at described initialization DM message bag and description serializing TNDS object the inside, by inserting unit 22, described TNDS object is inserted to the Inbox management object, the described TNDS object that resolution unit 23 is resolved in described Inbox management object, and by initialization unit 24 according to described TNDS object entrained operation mark carry out the configuration of initialization information, therefore overcome Inbox management object in prior art and only supported " Add " operation, the defect that other operation is not supported, in the situation that existing, a plurality of device management servers realized the flexible configuration to terminal equipment.
Embodiment of the method based on above-mentioned, referring to Fig. 3, the embodiment of the present invention also provides a kind of smart card or device management server, comprising:
Dispensing unit 31, for configuring initialization apparatus management DM message bag, operation mark is added in the tree comprised at described initialization DM message bag and description serializing TNDS object the inside;
Transmitting element 32, for sending to terminal equipment by the described initialization apparatus management DM message bag that carries operation mark.
After terminal equipment receives this initialization apparatus management DM message bag, TNDS object in DM message bag is inserted to the Inbox management object, resolve the described TNDS object in described Inbox management object, and entrained operation mark is carried out the configuration of initialization information according to described TNDS object.
The operation mark of described interpolation can be for whole TNDS object, or also can be for certain management object of TNDS object the inside.For example, can be directly for equipment control account DMAcc management object and ConnMO connection management object inside the TNDS object.
This operation mark is defined as follows:
The Operation element: be used for specifying the operation of terminal equipment to TNDS object or management object, value can be Add, DeleteAndAdd, Replace.Wherein Add means to increase newly, with original initializes configuration information, coexists; And DeleteAndAdd means to delete original initializes configuration information, then increase the information in TNDS object or management object newly; Replace upgrades original initializes configuration information, such as upgrading authorization information in the DMAcc management object etc.
In use, father's element of Operation element can be MgmtTree element or Node element, and wherein, when father's element of Operation element is the MgmtTree element, the value of Operation element is for whole TNDS object; When father's element of Operation element is the Node element, the value of Operation element is certain management object for TNDS object the inside.
The smart card that the embodiment of the present invention provides or DM server, operation mark is added in the tree comprised at described initialization DM message bag by dispensing unit 31 and description serializing TNDS object the inside, the initialization apparatus management DM message bag that will be carried operation mark by transmitting element 32 sends to terminal equipment, by terminal equipment after receiving this initialization apparatus management DM message bag, TNDS object in DM message bag is inserted to the Inbox management object, resolve the described TNDS object in described Inbox management object, and entrained operation mark is carried out the configuration of initialization information according to described TNDS object, therefore overcome Inbox management object in prior art and only supported " Add " operation, the defect that other operation is not supported, in the situation that existing, a plurality of device management servers realized the flexible configuration to terminal equipment.
Those skilled in the art can also recognize, unit and the performing step of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The method step of describing in conjunction with embodiment disclosed herein, the software module that can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the storage medium of other form arbitrarily.
Above-mentioned specific embodiment is not in order to limit the present invention; for those skilled in the art; under the premise without departing from the principles of the invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.