Embodiment
Fig. 2 A is a kind of device management method embodiment one flow chart provided by the invention.Gateway is operated in proxy mode in the embodiment of the invention, and DMS is through MO instance on the mapping MO instance management terminal on the gateway.Shown in Fig. 2 A, present embodiment comprises:
Step 20: gateway receives the operational order that DMS sends, and operational order comprises mapping MO address, and operational order is used for indicating the operation of carrying out the mapping MO address institute corresponding instance on the gateway.
Step 21: gateway with mapping MO address in the operational order of DMS transmission, converts MO address, terminal corresponding on the terminal according to the MO incidence relation to; The MO incidence relation comprises and mapping corresponding terminal iidentification and MO address, terminal, MO address; Operational order after the conversion is used for the operation that MO address, terminal institute corresponding instance is carried out at the terminal.
Gateway is set up on gateway in the mapping MO example procedure, for specifying the terminal MO Instance Name of this mapping MO instance on each terminal respectively in each terminal according to the establishment mapping MO indication of DMS.Each terminal after creating terminal MO instance on the terminal, feeds back to gateway with MO address, terminal and terminal iidentification according to the terminal MO Instance Name of gateway appointment.Gateway is according to terminal iidentification, and foundation comprises the terminal iidentification corresponding with mapping MO address and the MO incidence relation of MO address, terminal.
DMS issues operational order to gateway, triggers gateway and carries out the operation in the mapping MO address institute corresponding instance on the gateway.Because the purpose of DMS is the terminal MO instance of carrying out on each terminal, so gateway needs to convert the operational order that DMS issues to operate in each terminal MO instance on each terminal of execution a plurality of operational orders respectively.For a terminal, gateway according to the MO incidence relation, shines upon the MO address, terminal of MO address correspondence on this terminal in the operational order that earlier definite DMS issues when the operational order that conversion DMS issues.Afterwards; Mapping MO address in the operational order that gateway issues DMS; Convert MO address, terminal corresponding on this terminal to; The operational order that DMS is issued converts to carries out the operational order of operating in the MO Instance Name corresponding instance of terminal on this terminal, thereby the operational order that DMS issues can be discerned in the terminal, and according to the operation in the conversion back operational order executive address institute corresponding instance.
Step 22: gateway sends to relevant terminal according to terminal iidentification with the operational order after the conversion.
Gateway sends to relevant terminal according to each terminal iidentification in the MO incidence relation with each operational order after the conversion.
The embodiment of the invention establishes the MO incidence relation on gateway; Be handed down to the terminal after mapping MO address converts the MO address, terminal on each terminal respectively in the operational order that gateway issues DMS according to the MO incidence relation; Because the MO address is MO address, terminal in the operational order that the terminal receives; Therefore, the operational order that DMS issues can be discerned in the terminal, and according to the operational order executable operations after the conversion.Therefore, when the embodiment of the invention had solved DMS through the MO on the mapping MO office terminal on the gateway, the defective of the operational order that gateway issues can't be carried out in the terminal.
Fig. 2 B is a kind of device management method embodiment two flow charts provided by the invention.Shown in Fig. 2 B, after step 22, also comprise:
Step 23: the gateway receiving terminal is carried out the terminal feedback information that send the operation back in the terminal management object address institute corresponding instance, and the execution result information and the terminal iidentification at terminal in the terminal feedback information added in the mapping management object instance of feedback sign correspondence; If feedback is designated the terminal management object address, terminal feedback information is added in the pairing mapping management object instance of mapping management object address; Or, if feedback is designated command id, terminal feedback information is added in the pairing mapping management object instance of command id.
Carry out in indicated MO address, the terminal institute corresponding instance of operational order that gateway issues after the operation at the terminal, returns terminal feedback information to gateway.Terminal feedback information comprises feedback sign, terminal iidentification and terminal execution result information.After gateway receives the execution feedback information at terminal; Add in the corresponding mapping MO instance for making terminal feedback information; Gateway is earlier according to feedback sign in the terminal feedback information, confirms that terminal feedback information is that institute's feedack after the operation of which the mapping MO instance on the gateway is carried out at the terminal.Afterwards, execution result information and the terminal iidentification with terminal in the terminal feedback information adds in the corresponding mapping management object instance.
Wherein, feedback sign can be MO address, terminal, also can be the command id of the operational order that issues of DMS, can also be other information that can confirm to shine upon the MO instance.If feedback is designated MO address, terminal, gateway adds terminal feedback information in the pairing mapping in this mapping MO address MO instance to.In addition; The command id that comprises mapping MO address and this operational order in the operational order that DMS issues; After gateway receives operational order, in the corresponding instance of mapping MO address, add the operating result node, and in this operating result node, add the command id of aforesaid operations order.Therefore, can on gateway, confirm to shine upon accordingly the MO instance through command id.Also can include command id in the operational order of gateway after each subterminal conversion; The terminal is given gateway with command id, terminal iidentification and execution result information as the terminal feedback feedback information after carrying out and operating in MO address, the terminal institute corresponding instance in the operational order after the gateway conversion.Gateway adds terminal feedback information in this command id institute corresponding instance to according to the command id of terminal feedback.Further; Terminal feedback information for ease of terminal in the DMS classified inquiry mapping MO instance; Or to the execution feedback information of DMS classification reporting terminal; Gateway also needs to do following processing to terminal feedback information: confirm execution result information corresponding class in the corresponding mapping management object instance of feedback sign of terminal feedback information, with the execution result information and the terminal iidentification at terminal in the terminal feedback information add to execution result information in the corresponding mapping management object instance of feedback sign corresponding type in; Record the terminal number and the operating result sign of every type of execution result information in the mapping management object address institute corresponding instance.
Step 24: gateway is replied the execution feedback information in the feedback sign correspondence mappings management object instance to device management server, carries out execution result information and terminal iidentification and command id that feedback information comprises the terminal of preserving in the mapping management object address institute corresponding instance.
The terminal is after gateway returns terminal feedback information; Gateway obtains execution result information, each terminal iidentification and the aforesaid operations order corresponding command sign after the aforesaid operations order is carried out at each terminal from mapping MO instance, reply the execution feedback information of aforesaid operations order to DMS.The command id that DMS reports through gateway can be known the pairing operational order of execution feedback information that gateway reports.In addition, follow-up DMS also can shine upon the execution result information of searching in the MO instance after the aforesaid operations order is carried out at each terminal at gateway.
Because the execution feedback information that gateway is replied is represented is to carry out on the gateway execution feedback information after the operation in the mapping MO instance, rather than the terminal feedback information directly returned of each terminal, so DMS can correctly understand the execution feedback information that gateway is replied.
After embodiment of the invention gateway receives the terminal feedback information that each terminal executable operations replied; According to feedback sign in each terminal feedback information, execution result information, terminal iidentification and the command id with terminal in each terminal feedback information adds in the corresponding mapping MO instance respectively.When gateway is replied the execution feedback information of aforesaid operations order to DMS, from mapping MO instance, obtain execution result information, each terminal iidentification and aforesaid operations order corresponding command sign after the aforesaid operations order is carried out at each terminal.Because what the execution feedback information that gateway is replied was represented is the execution feedback information of carrying out after operating in the mapping MO instance on the gateway; Rather than the terminal feedback information directly returned of each terminal; Therefore DMS can correctly understand the execution feedback information that gateway is replied, and has realized the purpose through the gateway management terminal.
Fig. 2 C is an another kind of device management method embodiment flow chart provided by the invention.Present embodiment is the angle devices illustrated management method from the terminal mainly.Shown in Fig. 2 C, present embodiment comprises:
Step 2C1: the operational order after the conversion that terminal reception gateway sends, the operational order after the conversion is used for the operation that indicating terminal is carried out terminal management object address institute corresponding instance.
Gateway is handed down in the operational order at terminal and includes the terminal management object address on the terminal, and the operation in this terminal management object address institute corresponding instance is carried out according to operational order in the terminal.
Step 2C2: the operation in the terminal management object address institute corresponding instance is carried out according to the operational order after changing in the terminal.
Further, the terminal feedback information after the operation in the terminal management object address institute corresponding instance of carrying out is replied to gateway in the terminal; Terminal feedback information comprises the execution result information of feeding back sign, terminal iidentification and terminal.The feedback sign comprises the command id of terminal management object address or said operational order.
The embodiment of the invention, because the MO address in the operational order that the terminal receives is the terminal management object address on the terminal, the operational order that DMS issues can be discerned in the terminal, and according to the operational order executable operations after the conversion.Therefore, when the embodiment of the invention had solved DMS through the MO on the mapping MO office terminal on the gateway, the defective of the operational order that gateway issues can't be carried out in the terminal.
Fig. 3 A is a kind of MO incidence relation generation method embodiment two flow charts provided by the invention, and Fig. 3 B is a kind of gateway management tree provided by the invention, and Fig. 3 C is the graph of a relation of a kind of gateway management tree provided by the invention and terminal management tree.Shown in Fig. 3 A, before DMS carried out bulk management through gateway to one group of terminal, present embodiment may further comprise the steps:
Step 31: the establishment mapping management object indication that gateway receiving equipment management server sends, create the indication of mapping management object and comprise condition and the mapping management object address of being divided into groups in the batch terminal.Further, creating mapping MO indication also comprises and the corresponding mapping MO Instance Name in mapping MO address.
Step 32: gateway is being created the mapping management object and is being generated the mapping management object instance for the said batch terminal after dividing into groups on the gateway management tree according to creating the indication of mapping management object.
Gateway is according to the establishment mapping MO indication of DMS, and elder generation to the batch end packet, is that the batch terminal establishment mapping MO on the gateway management tree after dividing into groups also generates mapping MO instance on the gateway management tree afterwards.For example, creating the condition of in the mapping MO indication being divided into groups in the batch terminal is: manufacturer is all terminals of " HUAWEI ".Gateway generation group ID in Config MO is the node object of Group-HUAWEI: < x >/DevGroup/4212/Group-HUAWEI.Wherein the nodes among < x >/DevGroup/4212/Members/ represent to belong to the terminal of Group-HUAWEI group, and the Termination ID that belongs to this group in this example is DEVICE1, DEVICE2, DEVICE3.
After dividing into groups to finish, shown in Fig. 3 B shown in, gateway is set up the node of running after fame with group ID (Group-HUAWEI) on the gateway management tree, and generates mapping MO:SCM, and be that the child node DOWNLOAD of SCM generates the mapping MO instance that instance is called " 1 ".Just the Group-HUAWEI/SCM/Download/1/ on the gateway is the mapping instance of all terminals in the Group-HUAWEI group on gateway.
Step 33: gateway sends to each terminal and creates the indication of terminal management object instance.
Further, the present embodiment gateway was also specified the MO Instance Name for each terminal send the MO instance indication of establishment terminal to each terminal before, make the MO Instance Name of each terminal according to the gateway appointment, on the terminal, created terminal MO instance.
Particularly, through the operation of in the step 22 gateway management being set, there is the node subtree of instance by name 1 under the gateway management tree ./Group-HUAWEI/SCM/Download/.Gateway is called according to the name that Config MO finds the whole terminals that belong to the Group-HUAWEI group: DEVICE1 (terminal 1), DEVICE2 (terminal 2) and DEVICE3 (terminal 3).Shown in Fig. 3 C (corresponding relation of gateway management tree and terminal management tree); Gateway is after DEVICE1 issues the SCOMO MO instance indication of establishment terminal; " ./A/E/F/ " locates to generate the SCOMO MO that a name is called GW-SCOMO on DEVICE1; And the inner DOWNLOAD dynamic node of GW-SCOMO title is designated as 43, and the child node DOWNLOAD that is GW-SCOMO generates the terminal MO instance of instance " 43 " by name." 43 " are the instance title on the DEVICE1 among the/A/E/F/GW-SCOMO/Download/43.At this moment, Group-HUAWEI/SCM/Download/1 accomplishes to the mapping that DEVICE1 goes up ./A/E/F/GW-SCOMO/Download/43 on the gateway.
Similarly, " ./M/ " on DEVICE2 locates to generate the SCOMO MO that a name is called GW-SCOMO, and the inner DOWNLOAD dynamic node of GW-SCOMO title is designated as 22.On on the DEVICE3 " ./" locate to generate the SCOMO MO that a name is called GW-SCOMO, and the inner DOWNLOAD dynamic node of GW-SCOMO title is designated as 391.Just, the node of gateway given instance by name 1, Instance Name corresponding on each terminal is respectively: 43,22 and 391.
It is following that DEVICE1 carries out the specific code of creating terminal MO instance:
Step 34: the terminal is according to creating the indication of terminal management object instance after generating the terminal management object instance on the terminal management tree, the feedback information that includes terminal iidentification and terminal management object address that the gateway receiving terminal returns.
Particularly, after DEVICE1 executed above-mentioned code, returning terminal MO instance address on the terminal management tree was MO address, terminal.The concrete return code of DEVICE1 is following:
Shown in Fig. 3 C, set up the Group-HUAWEI/SCM/Download/1/ instance on the gateway, the URL of this instance is HTTP: //WWW.HUAWEI.COM/UPDATES/PACKAGES/006, the PKGID of this instance (software kit numbering) is 006.DEVICE1 is last have been set up/the A/E/F/GW-SCOMO/Download/43 instance, and the URL of this instance is HTTP: //WWW.HUAWEI.COM/UPDATES/PACKAGES/006, the PKGID of this instance (software kit numbering) is 006.DEVICE2 is last have been set up/the A/E/F/GW-SCOMO/Download/22 instance, and the URL of this instance is HTTP: //WWW.HUAWEI.COM/UPDATES/PACKAGES/006, the PKGID of this instance (software kit numbering) is 006.DEVICE3 is last have been set up/the A/E/F/GW-SCOMO/Download/391 instance, and the URL of this instance is HTTP: //WWW.HUAWEI.COM/UPDATES/PACKAGES/006, the PKGID of this instance (software kit numbering) is 006.
Step 35: terminal iidentification and terminal management object address that gateway returns according to the terminal, create the management object instance incidence relation of above-mentioned mapping management object address; Management object instance incidence relation comprises terminal management object address and the terminal iidentification corresponding with this mapping management object address.
Gateway is set up MO instance incidence relation according to shining upon terminal iidentification and the MO address, terminal returned in MO address and terminal.Further, as shown in table 1, also comprise mapping MO Instance Name corresponding and terminal MO Instance Name in the MO incidence relation with this mapping MO address.
Table 1 is a MO instance contingency table
Present embodiment is after generating mapping MO instance on the gateway, the establishment terminal MO instance that each terminal of gateway issues is indicated, and terminal MO instance is created in each terminal on the terminal management tree.Gateway receives the terminal and generates behind the MO instance of terminal behind the feedack, generates the incidence relation that comprises mapping MO address, MO address, terminal and terminal iidentification.
Fig. 4 A is a kind of device management method embodiment three flow charts provided by the invention.Fig. 4 B is the graph of a relation that another kind of gateway management is set and terminal management is set that the embodiment of the invention provides.Each terminal issues the operational order of DMS after changing in the present embodiment according to gateway; Downloading and installing (DownloadInstall) URL is HTTP: //software of WWW.HUAWEI.COM/UPDATES/PAKAGES/006 after, reply to DMS through gateway and to carry out feedback information.Shown in Fig. 4 A, present embodiment comprises:
Step 41:DMS issues the operational order of carrying out the ../Operations/DownloadInstall node among the mapping SCOMO MO in the Group-HUAWEI group on the gateway to gateway.
Instantiation MO on the gateway:>./Group-HUAWEI/ dynamic node 1/SCM; A download package node is arranged under the SCM>./Group-HUAWEI/ dynamic node 1/SCM/Download/; An instantiation MO:1 is arranged under the download package node, and this MO1 is the mapping of corresponding MO on each terminal (43,22 and 391) on gateway.Carry out on the gateway/Operations/DownloadInstall means the respective nodes/Operations/DownloadInstall that carries out simultaneously on the corresponding terminal.
DMS is following to the corresponding specific code of the operational order that gateway issues:
Step 42A: gateway will be carried out the operational order of the ../Operations/DownloadInstall node among the mapping SCOMO MO in the group of Group-HUAWEI on the gateway, convert to carry out on the terminal 1 (DEVICE1)/operational order of A/E/F/GW-SCOMO/Download/43/Operations/DownloadInstall.
Step 42B: gateway will be carried out the operational order of the ../Operations/DownloadInstall node among the mapping SCOMO MO in the group of Group-HUAWEI on the gateway, convert to carry out on the terminal 2 (DEVICE2)/operational order of M/GW-SCOMO/Download/43/Operations/DownloadInstall.
Step 42C: gateway will be carried out the operational order of the ../Operations/DownloadInstall node among the mapping SCOMO MO in the group of Group-HUAWEI on the gateway, convert to carry out on the terminal 3 (DEVICE3) //operational order of GW-SCOMO/Download/43/Operations/DownloadInstall.
Gateway will carry out on the gateway/operational order of Group-HUAWEI/ dynamic node 1/SCM/Download/1/Operations/DownloadInstall node, and convert to and carry out on the DEVICE1/operational order of A/E/F/GW-SCOMO/Download/43/Operations/DownloadInstall.
After the operational order that gateway issues DMS converted the corresponding operational order of DEVICE1 to, the specific code of the operational order after the conversion was:
Step 43A: terminal 1 (DEVICE1) returns terminal feedback information to gateway after carrying out the operational order after the conversion.
Step 43B: terminal 2 (DEVICE2) returns terminal feedback information to gateway after carrying out the operational order after the conversion.
Step 43C: terminal 1 (DEVICE3) returns terminal feedback information to gateway after carrying out the operational order after the conversion,
Comprise feedback sign, execution result information and terminal iidentification in the terminal feedback information.
IMEI is designated 493005100592800 terminal and returns the pairing a kind of specific code of terminal feedback information to gateway and be:
< Status>and < Correlator>only returned at the terminal in the above-mentioned code, and gateway can confirm according to < CmdRef>and < SessionID>feedback information of operation this time is to which mapping MO instance of gateway.
IMEI is designated 493005100592800 terminal and returns the pairing another kind of specific code of terminal feedback information to gateway and be:
Gateway can confirm the feedback information of operation this time is to which mapping MO instance of gateway through < SourceRef>in the above-mentioned code.
In addition, < Results>can be carried in the terminal in the code that returns to gateway, through < LocURI>in the return code. and the MO address can be identified, thereby mapping MO instance on the pairing gateway can be confirmed this time to return.Specific code is following:
Step 44: after gateway is collected each terminal feedback information; According to execution result information each terminal feedback information is classified, execution result information, terminal iidentification and the command id at terminal in each said terminal feedback information added in the class that execution result information Data is corresponding in the pairing ./Group-HUAWEI/ dynamic node 1//Result/1 node of feedback sign.Write down the terminal number and the operating result sign of every type of execution result information simultaneously.
Shown in Fig. 4 B, set up ./Group-HUAWEI/ dynamic node 1/Result/1 node on the gateway, be used to store the execution feedback information of ./Group-HUAWEI/ dynamic node 1/SCM/Download/1 instance.After gateway receives the execution feedback information at terminal, according to comprising feedback sign, add the execution result information and the terminal iidentification at terminal in the terminal feedback information to ./Group-HUAWEI/ dynamic node 1/Result/1 node../Group-HUAWEI/ the command id (Correlator=energy-conservation 123) that comprises the aforesaid operations order in the dynamic node 1/Result/1 node.Gateway adds sorted each terminal feedback information in the corresponding Result node of ./Group-HUAWEI/ dynamic node 1/SCM/Download/1 after; Operating result is designated down corresponding two terminal iidentifications of node of Result1_ID; Operating result is designated down corresponding terminal iidentification of node of Result2_ID; Result1_ID is the corresponding operating result sign of one type of execution result information that runs succeeded, and Result2_ID is for carrying out the corresponding operating result sign of unsuccessful one type of execution result information.
Step 45: gateway is replied sorted execution feedback information in the corresponding Result node of ./Group-HUAWEI/ dynamic node 1/SCM/Download/1 to DMS.
Wherein, The execution feedback information that gateway returns also comprises Result1_ID, terminal execution result information and each corresponding terminal iidentification of Result1_ID that terminal number, Result1_ID that Result1_ID is corresponding are corresponding, also comprises Result2_ID, each terminal iidentification that Result2_ID is corresponding, the terminal number that Result2_ID is corresponding, the terminal execution result information that Result2_ID is corresponding.
Gateway uses the Alert order to reply the code of carrying out feedback information to the DMS classification and is specially:
The operating result node that DMS can confirm certain SCM instance according to SourceRef in the above-mentioned code at Group-HUAWEI/ dynamic node 1/Results/1/ here.Can confirm the execution result information at terminal to comprise :/Group-HUAWEI/ dynamic node 1/SCM/Download/1/PkgID among the Source/LocURI according to Data in the above-mentioned code; DMS is through inquiry, and what promptly know operation is the SCM object below the dynamic node 1, and operating result obtains under dynamic node 1/RESULTS.
Through following content, DMS can confirm that the corresponding operating result node in terminal that runs succeeded is ./Group-HUAWEI/ dynamic node 1/Results/1/Result1_ID:
Through following content, DMS can confirm to carry out the corresponding operating result node in unsuccessful terminal and be/Group-HUAWEI/ dynamic node 1/Results/1/Result2_ID:
In addition, gateway can not classified to content in the corresponding Result node of ./Group-HUAWEI/ dynamic node 1/SCM/Download/1 yet, and replys the execution feedback information at each terminal to DMS.The gateway code that reports of not classifying is following:
When present embodiment has solved DMS through gateway management batch terminal; The differentiation of mapping MO Instance Name causes DMS can not correctly understand the terminal execution result problem that gateway is replied on terminal MO Instance Name and the gateway; And the execution result at terminal classified gather, improved the DMS efficiency of management.
Fig. 5 is a kind of execution result information querying method embodiment flow chart provided by the invention.Present embodiment explanation DMS is through the operating result at mapping MO Instance Name and each terminal of command id inquiry.As shown in Figure 5, present embodiment comprises:
Step 51: first query requests that comprises command id that gateway receiving equipment management server sends.
Shown in Fig. 4 B; Answer through gateway; DMS can be known on the gateway to the result node of certain SCM instance at ./Group-HUAWEI/ dynamic node 1/SCM/Results/1/ here; The corresponding command id of each result node can obtain the relevant execution result of designated command sign from ./Group-HUAWEI/ dynamic node 1/SCM/Results/1 through GET.
Step 52: gateway extracts the execution result information at each terminal from this order sign institute correspondence mappings management object instance.
Gateway extracts the execution result information that the DMS specified command identifies operational order from the result node of the mapping MO Instance Name institute corresponding instance of DMS appointment.
Step 53: gateway sends the execution result information that extracts to device management server.
Shown in Fig. 4 B; ./Group-HUAWEI/ in the execution result information that dynamic node 1/SCM/Results/1 place preserves; Every type of corresponding operating result sign of execution result information, every type of execution result information is also to there being the terminal iidentification at each terminal of returning such execution result information.
Further, DMS also can send second query requests that comprises command id and operating result sign to gateway.Gateway extracts with the aforesaid operations result and identifies corresponding execution result information from the execution result information of the correspondence mappings MO of command id institute instance, and sends the execution result information that extracts to DMS.
Shown in Fig. 4 B, but DMS also in the active inquiry ./Group-HUAWEI/ dynamic node 1/Results/1/Result2_ID operating result node execution result be 202 terminal number, specific code is following:
Further; Shown in Fig. 4 B; DMS can inquire about the execution result information at single terminal according to sorted execution result information in the corresponding Result node of ./Group-HUAWEI/ dynamic node 1/SCM/Download/1, also can inquire about the execution result information at a plurality of terminals.
DMS can send the query request that comprises command id and terminal iidentification to gateway.Gateway from the execution result information of the correspondence mappings MO of command id institute instance, extract the execution result information at said terminal iidentification institute terminal after, send the execution result information that extracts to DMS.
Fig. 6 A is equipment management device embodiment one structural representation provided by the invention.Shown in Fig. 6 A, present embodiment comprises: operational order receiver module 61, command conversion module 62 and order sending module 63.
Operational order receiver module 61; Be used for the operational order that the receiving equipment management server sends; Said operational order comprises the mapping management object address, and said operational order is used for indicating the operation of carrying out the mapping management object address institute corresponding instance on the said gateway.
Command conversion distribution module 62 is used for according to management object instance incidence relation, and the mapping management object address with in the operational order of said device management server transmission converts terminal management object address corresponding on the terminal to; Operational order after the conversion is sent to relevant terminal; Said management object instance incidence relation comprises terminal iidentification corresponding with the mapping management object address and terminal management object address; Operational order after the said conversion is used for the operation that said terminal management object address institute corresponding instance is carried out at the terminal.
Order distribution module 63 is used for according to said terminal iidentification, and the operational order after the conversion is sent to relevant terminal.
More than the function of each module referring to describing among the corresponding embodiment of Fig. 2 A.
Further, shown in Fig. 6 B, present embodiment also comprises: terminal feedback processing module 64 and reporting module 65.
Terminal feedback processing module 64; Be used for receiving terminal and carry out the terminal feedback information that send said terminal management object address institute corresponding instance operation back, the execution result information and the terminal iidentification at terminal in the said terminal feedback information added in the mapping management object instance of feedback sign correspondence; If feedback is designated the terminal management object address, said terminal feedback information is added in the pairing mapping management object instance of said mapping management object address; Or, if feedback is designated command id, said terminal feedback information is added in the pairing mapping management object instance of said command id; Said terminal feedback information comprises the execution result information of feeding back sign, terminal iidentification and terminal; The command id that also comprises said operational order in the operational order that said device management server issues.
Reporting module 65; Be used for replying to device management server the execution feedback information of said feedback sign correspondence mappings management object instance, said execution feedback information comprises execution result information and the said terminal iidentification and the said command id at the said terminal of preserving in the said mapping management object address institute corresponding instance; Comprise that said gateway receives the said command id that in said mapping management object instance, adds after the said operational order in the said feedback sign correspondence mappings management object instance.
More than the function of each module referring to describing among the corresponding embodiment of Fig. 2 B.
Further, terminal feedback processing module 64 specifically is used for receiving terminal and carries out the back terminal feedback information of sending of said terminal management object address institute's corresponding instance operation; The execution result information and the terminal iidentification at terminal in the said terminal feedback information are added in the corresponding class of execution result information described in the corresponding mapping management object instance of said feedback sign; If feedback is designated the terminal management object address, said terminal feedback information is added in the pairing mapping management object instance of said mapping management object address; Or, if feedback is designated command id, said terminal feedback information is added in the pairing mapping management object instance of said command id; Record the terminal number and the operating result sign of every type of execution result information in the said mapping management object address institute corresponding instance; Said terminal feedback information comprises the execution result information of feeding back sign, terminal iidentification and terminal; The command id that also comprises said operational order in the operational order that said device management server issues.
Because the execution feedback information that equipment management device is replied is represented is the execution feedback information of carrying out on the gateway after the operation corresponding with the aforesaid operations order in the mapping MO instance; Rather than the terminal feedback information directly returned of each terminal; Therefore DMS can correctly understand the execution feedback information that gateway is replied, and has realized the purpose through gateway management batch terminal.
Further, the said equipment management devices also can comprise one or more with in the lower module: first query processing module, second query processing module and query processing module.The function of this part of module is described in the row referring to corresponding enforcement of Fig. 5.
First query processing module is used to receive first query requests that includes said command id that said device management server sends; From said command id institute correspondence mappings management object instance, extract the execution result information at each terminal, and send the execution result information that extracts to said device management server.
Second query processing module is used to receive second query requests that comprises said command id and operating result sign that said device management server sends; From the execution result information of said command id institute correspondence mappings management object instance, extract and execution result information that said operating result sign is corresponding, and the execution result information that extracts to said device management server transmission.
The query processing module is used to receive the query request that comprises said command id and terminal iidentification that said device management server sends; From the execution result information of said command id institute correspondence mappings management object instance, extract the execution result information at said terminal iidentification institute terminal.
Fig. 7 is equipment management device embodiment three structural representations provided by the invention.As shown in Figure 7, present embodiment comprises: create mapping block 68, establishment instance indicating module 69 and instance incidence relation and set up module 610.
Create mapping block 68, be used for the establishment mapping management object indication that the receiving equipment management server sends, create the indication of mapping management object and comprise condition and the mapping management object address of being divided into groups in the batch terminal; According to said establishment mapping management object indication, creating the mapping management object and generating the mapping management object instance for the said batch terminal after dividing into groups on the gateway management tree.Further, create the terminal management object instance name that the indication of mapping management object also is included as each terminal appointment.
Create instance indicating module 69, be used for sending the indication of establishment terminal management object instance to the terminal.
The instance incidence relation is set up module 610; Be used for the terminal and indicate after generating the terminal management object instance on the terminal management tree according to said establishment terminal management object instance, the instance that includes terminal management object address and terminal iidentification that receiving terminal returns is created feedback information; According to terminal iidentification and the terminal management object address that said mapping management object address, terminal are returned, generate said management object instance incidence relation.Further, management object instance incidence relation also comprises terminal management object instance name, mapping management object instance name.
More than the function of each module referring to describing among the corresponding embodiment of Fig. 3 A.
After gateway generated mapping MO instance, gateway issued to each terminal and creates terminal MO instance indication, and terminal MO instance is created in each terminal on the terminal management tree.Gateway receives the terminal and generates behind the MO instance of terminal behind the feedack, generates the incidence relation that comprises mapping MO address, MO address, terminal and terminal iidentification.
Fig. 8 is embodiment one structural representation in terminal provided by the invention.As shown in Figure 8, present embodiment comprises: receiver module 81 and Executive Module 82.
Receiver module 81 is used to receive the operational order after the conversion that gateway sends, and the operational order after the said conversion is used for the operation that indicating terminal is carried out terminal management object address institute corresponding instance;
Executive Module 82 is used for according to the operational order after the said conversion, carries out the operation in the terminal management object address institute corresponding instance.
More than the function of each module referring to describing among the corresponding embodiment of Fig. 2 C.
As shown in Figure 9, on the basis of Fig. 8, also can comprise: reply module 93.
Reply module 83, be used for the terminal feedback information after said gateway is replied the corresponding instance operation of the said terminal management object address of execution institute; Said terminal feedback information comprises the execution result information of feeding back sign, terminal iidentification and said terminal; Said feedback sign comprises the command id of said terminal management object address or said operational order.
Further, above-mentioned terminal also comprises: instance is created module, is used to receive the establishment terminal management object instance indication that said gateway sends, and said establishment terminal management object instance indication comprises terminal management object instance name; Feedback information after generating the terminal management object instance on the terminal management tree, created to the instance that includes terminal management object address and terminal iidentification that said gateway returns according to said establishment terminal management object instance indication in the terminal.
Can repeat no more with reference to preceding method embodiment in the equipment management device of the embodiment of the invention and terminal here.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be accomplished through the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above each embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to aforementioned each embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.