WO2012113329A1 - 一种设备管理方法及装置 - Google Patents

一种设备管理方法及装置 Download PDF

Info

Publication number
WO2012113329A1
WO2012113329A1 PCT/CN2012/071438 CN2012071438W WO2012113329A1 WO 2012113329 A1 WO2012113329 A1 WO 2012113329A1 CN 2012071438 W CN2012071438 W CN 2012071438W WO 2012113329 A1 WO2012113329 A1 WO 2012113329A1
Authority
WO
WIPO (PCT)
Prior art keywords
device management
management
message
node
server
Prior art date
Application number
PCT/CN2012/071438
Other languages
English (en)
French (fr)
Inventor
刘海涛
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP12748928.4A priority Critical patent/EP2654242B1/en
Publication of WO2012113329A1 publication Critical patent/WO2012113329A1/zh
Priority to US13/975,123 priority patent/US20130346610A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a device management method and apparatus. Background technique
  • the DM (Device Management) system is used for third-party management and setting of environment and configuration information in the terminal device, and solves problems encountered during use of the device, for example, by using an over-the-air (OTA) software. And firmware installation, upgrade and other operations, and provide more personalized and personalized services to enhance the user experience.
  • the third party can be the information management department of the operator, service provider or partner.
  • the device client (DM Client) on the terminal device is used to interpret and execute the management commands issued by the DM server.
  • the device management data model stored on the terminal device can be regarded as an interface for the DM server to manage the terminal device, and the DM server communicates with the DM client in the terminal device through the DM protocol to implement management of the terminal device.
  • the device management data model includes a management object (MO, Management Object), and the management object is composed of nodes.
  • the DM server achieves the purpose of managing the terminal device by operating the management object or the node, and the operation commands are Add, Get. , Replace, Exec, Copy, Delete, and more.
  • the DM client uses the Access Control List (ACL) mechanism for the access control rights of the DM server to guarantee the ID of the DM server. Identification, not DM server URI, IP address or certificate. If the DM Client can directly access the DM Server, the DM Client will receive the DM Server ID in the DM session. The DM Client compares the ID with the ACL attribute value of the node to be accessed, thereby controlling the access control permission of the DM Server. For DM clients that cannot directly access the DM Server, they are usually configured behind the firewall, or the device itself does not support the OMA DM protocol. These DM clients are located behind the gateway.
  • ACL Access Control List
  • the Gateway manages the DM client instead of the DM server.
  • the management message or management session sent by the gateway to the DM client includes only the ID of the Gateway.
  • the DM client on the terminal device is identified by the ID of the Gateway. It is impossible to determine whether a session should be initiated, thereby denying access to the DM Server and failing to complete the management of the terminal device.
  • the present invention provides a device management method and apparatus for solving the problem of access authority control when the device management server manages the client management terminal in the presence of the Gateway.
  • An embodiment of the present invention provides a device management method, where the method includes: receiving a first device management message sent by a device management server; generating a second device management message according to the received first device management message, where the second device management The message includes the identification information of the device management server; and the second device management message is sent to the terminal device.
  • the embodiment of the present invention further provides a device management method, where the method includes: receiving a message of adding a management object or a node sent by a device management server; adding a management object or a node to the terminal device according to the message of adding the management object or the node
  • the management object or node is stored locally at the same time.
  • the embodiment of the present invention further provides a device management apparatus, where the device includes: a management message receiving unit, configured to receive a first device management message sent by a device management server; and a management message generating unit, configured to: And generating, by the received first device management message, the second device management message, where the second device management message includes the identifier information of the device management server, and the management message sending unit, configured to send the second device management message To the terminal device.
  • a management message receiving unit configured to receive a first device management message sent by a device management server
  • a management message generating unit configured to: And generating, by the received first device management message, the second device management message, where the second device management message includes the identifier information of the device management server, and the management message sending unit, configured to send the second device management message To the terminal device.
  • the embodiment of the present invention further provides a device management apparatus, where the device includes: a management message receiving unit, configured to receive a first device management message sent by the device management server; and an identifier information acquiring unit, configured to acquire the first device management message The identifier information of the device management server and the information of the management object or the node are included; the control authority obtaining unit is configured to acquire the access control authority of the root node of the management object or the node according to the information of the management object or the node; And a management message sending unit, configured to: when the access control authority allows the operation of the device management server, generate a second device management message, and send the second device management message to the terminal device.
  • a management message receiving unit configured to receive a first device management message sent by the device management server
  • an identifier information acquiring unit configured to acquire the first device management message
  • the identifier information of the device management server and the information of the management object or the node are included
  • the control authority obtaining unit is configured to acquire the access control authority of the root
  • the embodiment of the present invention further provides a device management apparatus, where the device includes: a management message receiving unit, configured to receive a message of adding a management object or a node sent by a device management server; a management object or a node establishing unit, configured to Adding a management object or a node adds a management object or node on the terminal device; a management object or a node storage unit, for storing the management object or node locally.
  • a management message receiving unit configured to receive a message of adding a management object or a node sent by a device management server
  • a management object or a node establishing unit configured to Adding a management object or a node adds a management object or node on the terminal device
  • a management object or a node storage unit for storing the management object or node locally.
  • the device management method and device provided by the present invention solves the problem of ACL authority control when the DM server manages the DM client in the presence of the gateway, so that the ACL mechanism of the DM can be normally used for permission control in the presence of the Gateway.
  • FIG. 1 is a signaling diagram of a device management method according to an embodiment of the present invention.
  • 2 is a signaling diagram of a device management method according to an embodiment of the present invention
  • 3 is a signaling diagram of a device management method according to an embodiment of the present invention
  • FIG. 4 is a signaling diagram of a device management method according to an embodiment of the present invention.
  • FIG. 5 is a signaling diagram of a device management method according to an embodiment of the present invention.
  • FIG. 6 is a signaling diagram of a device management method according to an embodiment of the present invention.
  • FIG. 7 is a signaling diagram of a device management method according to an embodiment of the present invention.
  • FIG. 8 is a signaling diagram of a device management method according to an embodiment of the present invention.
  • FIG. 9 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • FIG. 10 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • FIG. 11 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • FIG. 12 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • FIG. 13 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • FIG. 1 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 1, the device management method provided by the embodiment of the present invention includes the following steps:
  • the terminal device (Device) is initialized by the Gateway (Bootstrap) and also by the DM Sever Bootstra.
  • the Device has both the DMAcc (Device Management Account) management object of the Gateway and the DM Server. Management object.
  • the gateway receives the device management message sent by the DM Sever, and the device manages
  • the message is a notification or trigger message (Notification), device management message packet 2 (PK2) or device management message packet 4 (PK4).
  • the gateway since the gateway receives and sends the device management message to the terminal device from the device management server, to distinguish the received and sent device management message, the received device management message is referred to as the first device management.
  • the message, the device management message to be sent is referred to as a second device management message, and the gateway generates a second device management message according to the received first device management message, and gives an ID identifier of the DM server in the second device management message.
  • the gateway sends the generated second device management message to the Device.
  • the device After receiving the second device management message, the device performs ACL comparison: if the access permission is granted, the corresponding management operation is performed; if the access permission is not permitted, the management operation is not performed, and the failure code and the message are returned.
  • the device management method provided by the embodiment of the present invention controls the ACL by using the Device.
  • the key is that the Gateway sends the ID of the DM Server to the Device, not just the ID of the Gateway.
  • the device management method provided by the embodiment of the invention enables the device to receive the device management message sent by the gateway, and still knows the ID identifier of the DM server that actually sends the device management message, so that the ACL authority control is performed normally.
  • the device management method provided by the embodiment of the present invention includes the following steps:
  • the gateway receives the Notification message sent by the DM Server.
  • the DM server initiates management of the Device, and sends a Notification message to the Gateway.
  • the Gateway receives the Notification message sent by the DM Server, and learns that it pre-manages the Device under the Gateway.
  • the Device is both used by the Gateway Bootstrap and also by the DM Sever.
  • the Gateway generates a Notification message for the Device, and gives an ID identifier of the DM Server in the Notification message.
  • the ID of the DM Server in the Notification message can be implemented in the following three ways:
  • Method B Expand the Notification message sent by the Gateway, and give the Proxy field to indicate whether it is the proxy mode and reuse the ServerlD field.
  • Method G Expand the Notification message sent by the Gateway and add a second Server1D field to give the ID of the DM Server.
  • the proxy gateway Gateway is generated. After receiving the Notification message sent by the DM Server, before the Notification is generated, the management session to the Device must be initiated, the authentication key information of the DM Server is obtained from the Device, and then the authentication key information is used to notify the Notification package.
  • the Trigger (trigger information) section performs a hash calculation to generate summary data. S203.
  • the Gateway sends the generated Notification message to the Device.
  • the Gateway sends the generated Notification message to the Device.
  • the Device receives the Notification message sent by the Gateway, parses the message, and obtains the DM Server.
  • the ID identifier is obtained according to the MO ID given by the Notification message, and then the ACL attribute value of the corresponding MO is obtained, and then the ACL authority is controlled. If the permission is granted, the Device initiates the management session, and if not, the management session is refused.
  • the Device can still obtain the ID ID of the DM Server that actually sends the Notification message, so that the Device can receive the ACL permission.
  • FIG. 3 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 3, the device management method provided by the embodiment of the present invention includes the following steps:
  • the gateway receives a management command message of Pkg2 or Pkg4 sent by the DM Server.
  • the DM Server manages the Device after the Gateway, and the management command of the DM Server for the Device is first sent to the Gateway through Pkg2 or Pkg4.
  • the Device is both Bootedtrap by the Gateway and DM Sever Bootstra, that is, the Device has both the DMAcc management object of the Gateway and the management object of the DM Server.
  • the S302 Gateway generates a Pkg2 or Pkg4 management instruction message for the Device and gives the ID identifier of the DM Server in the Pkg2 or Pkg4 message.
  • the ID identifier of the DM Server in the Pkg2 or Pkg4 message can be implemented by the following three schemes:
  • Option A Expand a field to give the ID of the DM Server.
  • the identifier can be defined as follows: SourceSer
  • Child elements LocURI; Other: This element is optional.
  • the identifier of the proxy gateway Gateway is: GatewayUrl, then the Pkg2 or Pkg4 message sent by the Gateway, the source address is specified as follows:
  • Solution B Use an existing identifier to give the ID of the DM Server.
  • the identifier SourceParent.
  • the use of this field in the DM can be redefined as follows:
  • LocURI Child elements
  • Other This element is optional.
  • the identifier of the proxy gateway Gateway is: GatewayUrl
  • the Pkg2 or Pkg4 sent by the Gateway the source address is specified as follows:
  • Solution C extends the Alert Code used in the DM protocol to give the ID of the DM Server.
  • the Alert Code is defined as follows:
  • the gateway sends the generated Pkg2 or Pkg4 to the Device.
  • the gateway sends the generated Pkg2 or Pkg4 to the Device, and the Device receives the Pkg2 or Pkg4 delivered by the Gateway, parses the message packet, obtains the ID identifier of the DM Server, and obtains the operation node according to the message packet.
  • the identifier is used to obtain the ACL attribute value of the corresponding node, and then the ACL authority is controlled. If the permission is granted, the Device performs the corresponding operation, otherwise the operation is refused.
  • the Device can still know the ID of the DM Server that is actually managed by the Device, although it receives the management command sent by the Gateway, so that the ACL authority is normally controlled.
  • Embodiment 2
  • FIG. 4 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 4, the device management method provided by the embodiment of the present invention includes the following steps:
  • the first device management message sent by the device management server is received, and the identifier information of the device management server and the information of the management object or the node included in the first device management message are obtained.
  • the gateway receives the device management message sent by the DM Sever, and the device management message is Notification, PK2 or PK4.
  • the gateway parses the received device management message, and obtains the identifier information of the device management server and the information of the management object or node included in the device management message.
  • the information of the management object may be the MOID that the DM Server needs to manage; when the device management message is PK2 or PK4, the information of the management object may be the identifier of the node in the specific management object.
  • the gateway obtains the ACL of the management object root node or the node according to the acquired management object and the information of the node.
  • the gateway may initiate a management session to the device according to the obtained MOID or the operation node identifier, and obtain the corresponding node or the MO root.
  • the ACL of the node can also be used to find the ACL of the corresponding node or MO locally.
  • the gateway sends the generated device management message to the terminal device. If the access control list does not allow the device management server to operate, the Gateway does not send device management messages to the terminal device.
  • step S403 may be further included, determining whether to permit operation of the device management server according to the identifier information of the device management server and the access control authority. .
  • the gateway determines, according to the obtained ACL and the identifier information of the device management server, whether the server that initiated the session satisfies the access permission condition.
  • the device management method provided by the embodiment of the present invention controls the ACL by using the gateway.
  • the key is that the gateway obtains the ACL attribute value of the corresponding MO root node or node on the device pre-managed by the DM server.
  • the ACL is controlled by the Gateway instead of the Device, which avoids changes to the existing device management processes and commands, and reduces the processing resource consumption of the Device.
  • FIG. 5 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 5, the device management method provided by the embodiment of the present invention includes the following steps:
  • the Device is both Gateway Bootstrap and DM Sever Bootstra, that is, the Device has both the DMAcc management object of the Gateway and the management object of the DM Server.
  • the DM Server sends a Notification message or a normal management session PK2, ⁇ 4 to the Gateway, wherein the Notification message gives the MOID that the DM Server needs to manage, for example, the MOID of the SCOMO management object is: urn:oma:mo :oma-scomo: 1.0, Pk2 or Pk4 gives the identification of the operating node, such as:
  • the Gateway receives the device management message sent by the DM Sever.
  • the gateway parses the message, and obtains the MOID or the identifier of the operation node and the identification information of the device management server that need to be managed.
  • the information of the management object may be the MOID that the DM Server needs to manage.
  • the MOID of the SCOMO management object is: urn:oma:mo:oma-scomo: 1.0; when the device management message is PK2 or PK4
  • the information of the management object can be the identifier of the operation node, for example:
  • the gateway initiates a management session to the device according to the obtained MOID or the operation node identifier, and obtains an ACL of the corresponding node or the MO, which can be classified into:
  • S504. Determine, according to the identifier information of the device management server and the access control authority, whether to allow the operation of the device management server.
  • the gateway determines, according to the acquired ACL and the identifier information of the device management server, whether to allow the operation of the device management server.
  • the gateway if the operation of the device management server is allowed in the ACL obtained by the gateway, the gateway sends the device management message to the terminal device; if the operation of the device management server is not allowed in the ACL acquired by the gateway, the gateway does not put the device. Management messages are sent to the terminal device.
  • the ACL is controlled by the Gateway instead of the Device, which avoids changes to the existing device management processes and commands, and reduces the processing resource consumption of the Device.
  • FIG. 6 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 6, the device management method provided by the embodiment of the present invention includes the following steps:
  • the Device is only used by the Gateway Bootstra, and is not DM Sever Bootstra. That is to say, only the DMAcc management object of the Gateway is on the Device, and there is no management object of the DM Server.
  • the DM Server sends a Notification message or a normal management session PK2, ⁇ 4 to the Gateway, where the Notification message is given by the DM Server.
  • MOID for example, the MOID of the SCOMO management object is: urn:oma:mo:oma-scomo:1.0, Pk2 or Pk4 gives the identification of the operation node, such as:
  • the Gateway receives the device management message sent by the DM Sever.
  • the gateway parses the message, and obtains the MOID or the identifier of the operation node and the identification information of the device management server that need to be managed.
  • the information of the management object may be the MOID that the DM Server needs to manage.
  • the MOID of the SCOMO management object is: urn:oma:mo:oma-scomo: 1.0; when the device management message is PK2 or PK4
  • the information of the management object can be the identifier of the operation node, for example:
  • the gateway searches for the ACL attribute information of the saved MO or the node according to the obtained MOID or the operation node identifier, obtains the ACL attribute value of the corresponding node, and obtains the ACL attribute value of the corresponding node.
  • S604. Determine, according to the identifier information of the device management server and the access control authority, whether to allow the operation of the device management server.
  • the gateway determines, according to the acquired ACL and the identifier information of the device management server, whether to allow the operation of the device management server.
  • the gateway if the operation of the device management server is allowed in the ACL obtained by the gateway, the gateway sends the device management message to the terminal device; if the operation of the device management server is not allowed in the ACL acquired by the gateway, the gateway does not put the device. Management messages are sent to the terminal device.
  • the ACL attribute value of the MO or the node on the Device does not include the ID of the corresponding DM Server. Therefore, the control of the ACL permission can only be performed through the Gateway. The value of the ACL attribute of the corresponding MO root node or node on the Device needs to be saved on the Gateway.
  • the ACL is controlled by the Gateway instead of the Device, which avoids changes to the existing device management processes and commands, and reduces the processing resource consumption of the Device.
  • FIG. 7 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 7, the device management method provided by the embodiment of the present invention includes the following steps:
  • S701 Receive a device management message that is sent by the device management server and adds a management object or a node.
  • the Device is only used by the Gateway Bootstra, and is not DM Sever Bootstra. That is to say, only the DMAcc management object of the Gateway is on the Device, and there is no management object of the DM Server.
  • the gateway receives the MO or node establishment command initiated by the DM Server.
  • S702 Add a management object or a node to the terminal device according to the device management message that adds the management object or the node, and store the management object or node locally.
  • the gateway establishes a corresponding MO or a node on the Device according to the corresponding command, and saves the ACL value of the MO or the node in the Gateway.
  • the ACL attribute value includes the ID of the management DM Server, which may be as follows: Ways to achieve:
  • the Gateway establishes the corresponding node or MO at the same time as the Device.
  • the corresponding node or MO is set up on the Gateway itself, including the corresponding parameter values and attribute values, and the ACL attribute value of the corresponding node or MO set up on the Gateway includes the ID identifier of the management DM Server;
  • the Gateway stores the corresponding node or MO according to the DM Server command, and also stores the ACL attribute value of the corresponding node or MO on the Gateway itself.
  • the ACL attribute value includes the ID of the management DM Server.
  • the DM Server sends a Notification message or a normal management session PK2, ⁇ 4 to the Gateway, wherein the Notification message gives the MOID that the DM Server needs to manage, for example, the MOID of the SCOMO management object is: urn:oma:mo :oma-scomo: 1.0, Pk2 or Pk4 gives the identification of the operating node, such as:
  • the Gateway receives the device management message sent by the DM Sever.
  • the gateway parses the message, and obtains the MOID or the identifier of the operation node and the identification information of the device management server that need to be managed.
  • the information of the management object may be the MOID that the DM Server needs to manage.
  • the MOID of the SCOMO management object is: urn:oma:mo:oma-scomo: 1.0; when the device management message is PK2 or PK4
  • the information of the management object can be the identifier of the operation node, for example:
  • S705. Search for the management object or node locally according to the acquired information of the management object or the node. Access control permissions.
  • the gateway searches for the ACL attribute information of the saved MO or the node according to the obtained MOID or the operation node identifier, obtains the ACL attribute value of the corresponding node, and obtains the ACL attribute value of the corresponding node.
  • S706. Determine, according to the identifier information of the device management server and the access control authority, whether to allow the operation of the device management server.
  • the gateway determines, according to the acquired ACL and the identifier information of the device management server, whether to allow the operation of the device management server.
  • the gateway if the operation of the device management server is allowed in the ACL obtained by the gateway, the gateway sends the device management message to the terminal device; if the operation of the device management server is not allowed in the ACL acquired by the gateway, the gateway does not put the device. Management messages are sent to the terminal device.
  • the DM server sends the ACL attribute value to the Device through the Gateway, the ACL attribute value of the corresponding node or MO saved on the Gateway also changes accordingly.
  • the ACL is controlled by the Gateway instead of the Device, which avoids changes to the existing device management processes and commands, and reduces the processing resource consumption of the Device.
  • FIG. 8 is a signaling diagram of a device management method according to an embodiment of the present invention. As shown in FIG. 8, the device management method provided by the embodiment of the present invention includes the following steps:
  • the Device is only used by the Gateway Bootstra, but not by the DM Sever Bootstra. That is to say, only the DMAcc management object of the Gateway is on the Device, and there is no management object of the DM Server.
  • the gateway receives the MO or node establishment command S802 initiated by the DM server, adds a management object or node to the terminal device according to the message of adding the management object or the node, and locally stores the management object or node. .
  • the gateway establishes a corresponding MO or a node on the Device according to the corresponding command, and saves the ACL value of the MO or the node in the Gateway.
  • the ACL attribute value includes the ID of the management DM Server, which may be as follows: Ways to achieve:
  • the Gateway establishes the corresponding node or MO on the Gateway according to the DM Server command, and also establishes the corresponding node or MO on the Gateway itself, including the corresponding parameter value and attribute value, and the corresponding node or the ACL attribute of the MO established on the Gateway.
  • the value includes the ID of the ID of the management DM Server;
  • the Gateway stores the corresponding node or MO according to the DM Server command, and also stores the ACL attribute value of the corresponding node or MO on the Gateway itself.
  • the ACL attribute value includes the ID of the management DM Server.
  • the device management method may further include steps S703 to S707 shown in FIG. 7, and the specific steps are the same as those in FIG. 7, and thus are not described herein again.
  • the ACL is established on the device and the local device, so that the ACL mechanism can still be used for the privilege control in the presence of the Gateway, and regardless of whether the device is The DM Server Bootstrap can perform correct ACL permission control.
  • Embodiment 4 when the device is not in the DM Sever Bootstra mode, the ACL is established on the device and the local device, so that the ACL mechanism can still be used for the privilege control in the presence of the Gateway, and regardless of whether the device is The DM Server Bootstrap can perform correct ACL permission control.
  • FIG. 9 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • the device management apparatus 900 includes: a management message receiving unit 901, a management message generating unit 902, and a management message sending unit. 903, where:
  • the management message receiving unit 901 is configured to receive a first device management message sent by the device management server.
  • the terminal device (Device) is initialized by the gateway (Bootstrap) and also by the DM Sever Bootstra.
  • the Device has both the DMAcc management object of the Gateway and the management object of the DM Server.
  • the management message receiving unit 901 receives the first device management message sent by the DM Sever, where the first device management message includes Notification, PK2 or PK4.
  • the management message generating unit 902 is configured to generate a second device management message according to the received first device management message, where the second device management message includes the identifier information of the device management server;
  • the management message generating unit 902 generates a second device management message according to the first device management message received by the management message receiving unit 901, and gives the ID identifier of the DM server in the second device management message.
  • the management message sending unit 903 is configured to send the second device management message to the terminal device.
  • the management message sending unit 903 sends the generated second device management message to the Device.
  • the device After receiving the second device management message, the device performs ACL comparison: if the access permission is granted, the corresponding management operation is performed; if the access permission is not permitted, the management operation is not performed, and the failure code and the message are returned.
  • the device management device provided by the embodiment of the present invention performs ACL permission control through the Device.
  • the key is that the Gateway sends the ID of the DM Server to the Device, not just the Gateway. ID ID.
  • the device management device provided by the embodiment of the present invention enables the device to receive the device management message sent by the gateway, and still knows the ID of the DM server that actually sends the device management message, so that the ACL authority is normally controlled.
  • the DM Server initiates management of the device, and issues the
  • the notification message is sent to the gateway, and the management message receiving unit 901 receives the Notification message sent by the DM Server, and knows that it pre-manages the Device under the Gateway.
  • the management message generating unit 902 generates a Notification message for the Device, and gives the ID of the DM Server in the Notification message, which can be implemented in the following three ways:
  • Method B Expand the Notification message sent by the Gateway, and give the Proxy field to indicate whether it is the proxy mode and reuse the ServerlD field.
  • Method G Expand the Notification message sent by the Gateway and add a second Server1D field to give the ID of the DM Server.
  • the proxy gateway Gateway is generated.
  • the authentication key information of the DM Server is obtained from the Device, and then the authentication key information is used to notify the Notification package.
  • the Trigger (trigger information) section performs a hash calculation to generate summary data.
  • the message sending unit 903 sends the generated Notification message to the Device, and the Device receives the Notification message sent by the Gateway, parses the message, obtains the ID identifier of the DM Server, and obtains the ACL of the corresponding MO according to the MO ID given by the Notification message.
  • the attribute value is followed by ACL permission control. If the permission is granted, the Device initiates a management session. If not, the device refuses to initiate the management session.
  • the Device can still obtain the ID ID of the DM Server that actually sends the Notification message, so that the Device can receive the ACL permission.
  • the DM Server manages the Device after the Gateway, and the DM Server management command for the Device is first sent to the Pkg2 or Pkg4.
  • management message receiving unit 901 receives Pkg2 or Pkg4 sent by the DM Server.
  • the management message generating unit 902 generates Pkg2 or Pkg4 for the Device, and gives the ID of the DM Server in Pkg2 or Pkg4, which can be implemented by the following three schemes:
  • Scenario A Expand a field to give the ID ID of the DM Server.
  • the identifier can be defined as follows:
  • Child elements LocURI; Other: This element is optional.
  • GatewayUrl For the DM Server ID: LocURI>http: ⁇ www.syncml.org/mgmt-server, Agent The gateway Gateway's identifier is: GatewayUrl. At this time, the Pkg2 or Pkg4 packet sent by the Gateway, the source address is specified as follows:
  • Solution B Use an existing identifier to give the ID of the DM Server.
  • the identifier SourceParent.
  • the use of this field in the DM can be redefined as follows:
  • Child elements LocURI; Other: This element is optional.
  • the identifier of the proxy gateway Gateway is: GatewayUrl, then the Pkg2 or Pkg4 sent by the Gateway, the source address is specified as follows:
  • Solution C Expand the Alert Code used in the DM protocol to give the ID of the DM Server.
  • the Alert Code is defined as follows:
  • the management message sending unit 903 sends the generated Pkg2 or Pkg4 to the Device, and the Device receives the Pkg2 or Pkg4 delivered by the Gateway, parses the message packet, and obtains the ID identifier of the DM Server, and according to the operation node identifier given by the message packet, Obtain the ACL attribute value of the corresponding node, and then perform ACL permission control. If the permission is granted, the Device performs the corresponding operation, otherwise the operation is refused.
  • the Device can obtain the ID of the DM Server that is actually managed by the Device even though it receives the management command sent by the Gateway, so that the ACL is normally performed. Control.
  • Embodiment 5
  • FIG. 10 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • the device management apparatus 1000 according to the embodiment of the present invention includes: a management message receiving unit 1001, an identification information acquiring unit 1002, and a control authority acquiring unit. 1003 and management message sending unit 1005, wherein:
  • the management message receiving unit 1001 is configured to receive the first device management message sent by the device management server.
  • the management message receiving unit 1001 receives the device management message sent by the DM Sever, and the device management message may be Notification, PK2 or PK4.
  • the identification information obtaining unit 1002 is configured to acquire the identification information of the device management server and the information of the management object or the node included in the first device management message.
  • the identifier information acquiring unit 1002 parses the received device management message, and obtains the identifier information of the device management server and the information of the management object included in the device management message.
  • the information of the management object may be a MOID that the DM Server needs to manage; when the device management message is PK2 or PK4, the information of the management object may be an identifier of the operation node.
  • the control authority obtaining unit 1003 is configured to acquire the access control authority of the management object root node or the node according to the information of the management object or the node.
  • the control authority acquiring unit 1003 obtains the ACL of the corresponding node or MO according to the acquired information of the management object.
  • the gateway can initiate a management session to the Device according to the obtained MOID or the operation node identifier, obtain the ACL of the corresponding node or MO, and can also find the ACL of the corresponding node or MO locally.
  • the control authority obtaining unit 1003 may include a terminal access right obtaining module and/or a local access right acquiring module, where:
  • the terminal access right obtaining module is configured to acquire the access control authority of the management object from the terminal device according to the acquired information of the management object.
  • the local access right obtaining module is configured to obtain the access control authority of the management object locally according to the acquired information of the management object.
  • the management message sending unit 1005 is configured to generate a second device management message when the access control authority allows the device to manage the operation of the server, and send the second device management message to the terminal device.
  • the management message transmitting unit 1005 transmits the device management message to the terminal device. If the operation of the device management server is not permitted in the access control list, the management message transmitting unit 1005 does not transmit the device management message to the terminal device.
  • the device management apparatus 1000 may further include an access control determining unit 1004, configured to determine, according to the identification information of the device management server and the access control authority, whether to allow operation of the device management server. .
  • the access control determining unit 1004 determines whether the identification information of the device management server is included in the access control list, and determines whether the server that initiates the session satisfies the condition according to the obtained ACL and the identification information of the device management server.
  • FIG. 11 is a block diagram of a device management apparatus according to an embodiment of the present invention.
  • the device management apparatus 1100 includes: a management message receiving unit 1101, a management message parsing unit 1102, and terminal access rights acquisition.
  • the management message receiving unit 1101 receives the device management message transmitted by the device management server.
  • the Device is both Bootedtrap by the Gateway and DM Sever Bootstra, that is, the Device has both the DMAcc management object of the Gateway and the management object of the DM Server.
  • the DM Server sends a Notification message or a normal management session PK2, ⁇ 4 to the Gateway, wherein the Notification message gives the MOID that the DM Server needs to manage, for example, the MOID of the SCOMO management object is: urn:oma:mo :oma-scomo: 1.0, Pk2 or Pk4 gives the identification of the operating node, such as:
  • the management message receiving unit 1101 receives the device management message transmitted by the DM Sever.
  • the management message parsing unit 1102 parses the received device management message, and obtains the identification information of the device management server included in the device management message and the information of the management object or node to be managed.
  • the management message parsing unit 1102 parses the message, obtains the MOID or the identifier of the operation node, and the device management.
  • the information of the management object may be the MOID that the DM Server needs to manage.
  • the MOID of the SCOMO management object is: urn:oma:mo:oma-scomo: 1.0; when the device management message is PK2 or PK4
  • the information of the management object can be the identifier of the operation node, For example: ⁇ LocURI>Jsettings/wap—settings/CNN ⁇ /LocURI>.
  • the terminal access right acquisition unit 1103 acquires the access control authority of the management object or the node from the terminal device according to the acquired information of the management object or the node.
  • the terminal access right acquiring unit 1103 initiates a management session to the device according to the obtained MOID or the operation node identifier, and obtains an ACL of the corresponding node or the MO, which can be classified into:
  • node ⁇ LocURI>Jsettings/wap_settings/CNN ⁇ /LocURI> if the node has a corresponding ACL, it will directly return the ACL attribute value of the node. If not, then it needs to return its inherited ACL attribute value. ;
  • the access control judging unit 1104 judges whether or not the operation of the device management server is permitted based on the identification information of the device management server and the access control authority.
  • the access control determining unit 1104 determines whether the server that initiated the session satisfies the condition according to the ACL obtained by the terminal access right obtaining unit 1103 and the identification information of the device management server.
  • the management message transmitting unit 1105 transmits the device management message to the terminal device while allowing the operation of the device management server.
  • FIG. 12 is a block diagram of a device management apparatus according to an embodiment of the present invention. As shown in FIG.
  • the device management apparatus 1200 includes: a management message receiving unit 1201, a management message parsing unit 1202, and local access authority acquisition.
  • the management message receiving unit 1201 receives the device management message transmitted by the device management server.
  • the Device is only used by the Gateway Bootstra, and is not DM Sever Bootstra. That is to say, only the DMAcc management object of the Gateway is on the Device, and there is no management object of the DM Server.
  • the DM Server sends a Notification message or a normal management session PK2, ⁇ 4 to the Gateway, wherein the Notification message gives the MOID that the DM Server needs to manage, for example, the MOID of the SCOMO management object is: urn:oma:mo :oma-scomo: 1.0, Pk2 or Pk4 gives the identification of the operating node, such as:
  • the management message receiving unit 1201 receives the device management message transmitted by the DM Sever.
  • the management message parsing unit 1202 parses the received device management message, and acquires the identification information of the device management server included in the device management message and the information of the management object or node to be managed.
  • the management message parsing unit 1202 parses the message, obtains the MOID or the identifier of the operation node, and the device management.
  • the information of the management object may be the MOID that the DM Server needs to manage.
  • the MOID of the SCOMO management object is: urn:oma:mo:oma-scomo: 1.0;
  • the information of the management object may be the identifier of the operation node, for example: ⁇ LocURI>Jsettings/wap_settings/CNN ⁇ /LocURI>.
  • the local access right obtaining unit 1203 locally searches for the access control authority of the management object or the node according to the acquired information of the management object or the node.
  • the local access right obtaining unit 1203 searches for the ACL attribute information of the MO or the node saved by the local access right acquiring unit 1203, obtains the ACL attribute value of the corresponding node, and obtains the ACL attribute value of the corresponding node.
  • the access control judging unit 1204 judges whether or not the operation of the device management server is permitted based on the identification information of the device management server and the access control authority.
  • the access control determining unit 1204 determines, according to the acquired ACL and the identifier information of the device management server, whether the server that initiated the session satisfies the condition.
  • the management message transmitting unit 1205 transmits the device management message to the terminal device while allowing the operation of the device management server.
  • the management message sending unit 1205 sends the device management message to the terminal device; if the local access right acquiring unit 1203 obtains In the ACL, the operation of the device management server is not allowed, and the management message sending unit 1205 does not send the device management message to the terminal device.
  • the device management device 1200 may further include a management object or node establishment. Unit 1206 and management object or node storage unit 1207.
  • the management message receiving unit 1201 receives a device management message of the added management object or node transmitted by the device management server.
  • the management message receiving unit 1201 is further configured to receive an MO or a node establishment command initiated by the DM Server.
  • the management object or node establishing unit 1206 adds a management object or node on the terminal device according to the added device management establishment message, while the management object or node storage unit 1207 stores the management object or node locally.
  • the management object or node establishing unit 1206 establishes a corresponding MO or a node on the Device according to the corresponding command, and the management object or the node storage unit 1207 saves the ACL value of the MO or the node in the Gateway, where the ACL attribute value is
  • the ID of the management DM Server can be implemented in the following two ways:
  • the management object or node establishing unit 1206 establishes a corresponding node or MO according to the DM Server command, and the management object or node storage unit 1207 also establishes a corresponding node or MO on the Gateway itself, including corresponding parameter values and attribute values.
  • the ACL attribute value of the corresponding node or MO set up on the Gateway includes the ID identifier of the management DM Server;
  • the management object or node establishing unit 1206 stores the corresponding node or the MO according to the DM Server command, and the management object or the node storage unit 1207 also stores the ACL attribute value of the corresponding node or MO on the Gateway itself, and the ACL attribute value includes management. ID ID of the DM Server.
  • the DM server sends the ACL attribute value to the Device through the Gateway, the ACL attribute value of the corresponding node or MO saved on the Gateway also changes accordingly.
  • the ACL is controlled by the Gateway instead of the Device, which avoids changes to the existing device management processes and commands, and reduces the processing resource consumption of the Device.
  • FIG. 13 is a block diagram of a device management apparatus according to an embodiment of the present invention, as shown in FIG.
  • the device management apparatus 1300 provided by the embodiment includes: a management message receiving unit 1301, a management object or node establishing unit 1302, and a management object or node storage unit 1303, where:
  • the management message receiving unit 1301 receives a message of adding a management object or a node transmitted by the device management server.
  • the Device is only used by the Gateway Bootstra, and is not DM Sever Bootstra. That is to say, only the DMAcc management object of the Gateway is on the Device, and there is no management object of the DM Server.
  • the management message receiving unit 1301 receives the MO or node establishment command initiated by the DM Server.
  • the management object or node establishing unit 1302 establishes a management object or node on the terminal device according to the message of adding the management object or node, while the management object or node storage unit 1303 locally stores the management object or node.
  • the management object or node establishing unit 1302 establishes a corresponding MO or a node on the Device according to the corresponding command, and the management object or the node storage unit 1303 saves the ACL value of the MO or the node in the Gateway, where the ACL attribute value is
  • the ID of the management DM Server can be implemented in the following two ways:
  • the management object or node establishing unit 1302 establishes a corresponding node or MO according to the DM Server command, and the management object or the node storage unit 1303 also establishes a corresponding node or MO on the Gateway itself, including corresponding parameter values and attribute values.
  • the ACL attribute value of the corresponding node or MO set up on the Gateway includes the ID identifier of the management DM Server;
  • the management object or node establishing unit 1302 stores the corresponding node or the MO according to the DM Server command, and the management object or the node storage unit 1303 also stores the ACL attribute value of the corresponding node or MO on the Gateway itself, and the ACL attribute value includes management.
  • DM Server ID Knowledge stores the corresponding node or the MO according to the DM Server command
  • the management object or the node storage unit 1303 also stores the ACL attribute value of the corresponding node or MO on the Gateway itself, and the ACL attribute value includes management.
  • the device management apparatus 1300 shown in FIG. 13 may further include a management message receiving unit, a management message parsing unit, a local access right acquiring unit, an access control judging unit, and a management message sending unit, and the above unit
  • a management message receiving unit may further include a management message receiving unit, a management message parsing unit, a local access right acquiring unit, an access control judging unit, and a management message sending unit, and the above unit
  • the function is the same as that of FIG. 12, and therefore will not be described again here.
  • the ACL is established on the device and the local device, so that the ACL mechanism can still be used for the privilege control in the presence of the Gateway, and regardless of whether the device is The DM Server Bootstrap can perform correct ACL permission control.

Description

一种设备管理方法及装置 本申请要求于 2011年 2月 24日提交中国专利局、 申请号为 201110045418.α 发明名称为"一种设备管理方法及装置"的中国专利申请的优先权其全部内容通 过引用结合在本申请中。
技术领域
本发明涉及移动通信技术领域, 具体来说是关于一种设备管理方法及装置。 背景技术
设备管理( DM, Device Management )系统用于第三方管理和设置终端设备 中的环境和配置信息,解决这些设备在使用过程中遇到的问题 例如通过无线网 络(OTA, over the air )方式进行软件和固件的安装、 升级等操作, 并提供更加 人性化和个性化的服务, 提高用户体验。 第三方可以是运营商, 业务提供商或 者合作方的信息管理部门。
终端设备上的设备客户端 ( DM Client )用于解译和执行 DM服务器( DM Server )下发的管理命令。 终端设备上存储的设备管理数据模型可以被认为是一 个 DM服务器对终端设备进行管理的接口, DM服务器通过 DM协议与终端设 备中的 DM客户端进行通信来实现对终端设备的管理。 设备管理数据模型中包 括管理对象(MO, Management Object ), 管理对象由节点组成, DM服务器通 过对管理对象或者节点的操作达到管理终端设备的目的, 操作命令有 Add (添 加)、 Get (获取)、 Replace (替换)、 Exec (执行)、 Copy (复制)、 Delete (删 除)等。
目前开放移动联盟 ( OMA , Open Mobile Alliance ) -DM协议中, DM Client 对于 DM server的访问控制权限使用访问控制列表 ( ACL, Access Control List ) 机制来保障, ACL访问控制权限授权给 DM server的 ID标识, 而不是 DM server 的 URI, IP地址或者证书。 如果 DM Client能够直接访问 DM Server, 那么 DM Client在 DM会话中会接收到 DM Server的标识, DM Client会把标识与欲访 问的节点 ACL属性值进行比对, 从而控制 DM Server的访问控制权限。 对于不 能直接访问 DM Server的 DM Client, 通常是配置在防火墙后面, 或者是设备本 身不支持 OMA DM协议 , 这些 DM Client都位于网关 ( Gateway )之后。
对于代理模式 Gateway下终端设备的管理, 由 Gateway代替 DM Server管 理 DM Client, 在 Gateway发送给 DM Client的管理消息或管理会话中仅包括 Gateway的 ID标识, 终端设备上的 DM Client根据 Gateway的 ID标识不能判断 是否应该发起会话, 从而拒绝 DM Server的访问, 无法完成终端设备的管理工 作。
发明内容
为克服现有技术中存在的问题, 本发明提供一种设备管理方法及装置, 以 解决在 Gateway存在情况下, 设备管理服务器管理设备管理客户端时访问权限 控制的问题。
本发明实施例提供一种设备管理方法, 所述方法包括: 接收设备管理服务 器发送的第一设备管理消息; 根据接收到的第一设备管理消息生成第二设备管 理消息, 所述第二设备管理消息包括所述设备管理服务器的标识信息; 将所述 第二设备管理消息发送至终端设备。
本发明实施例还提供一种设备管理方法, 所述方法包括: 接收设备管理服 务器发送的添加管理对象或节点的消息; 根据所述添加管理对象或节点的消息 在终端设备上添加管理对象或节点同时在本地存储所述管理对象或节点。
本发明实施例还提供一种设备管理装置, 所述装置包括: 管理消息接收单元, 用于接收设备管理服务器发送的第一设备管理消息; 管理消息生成单元, 用于 根据接收到的第一设备管理消息生成第二设备管理消息, 所述第二设备管理消 息中包括所述设备管理服务器的标识信息; 管理消息发送单元, 用于将所述第 二设备管理消息发送至终端设备。
本发明实施例还提供一种设备管理装置, 所述装置包括: 管理消息接收单 元, 用于接收设备管理服务器发送的第一设备管理消息; 标识信息获取单元, 用于获取第一设备管理消息中包含的所述设备管理服务器的标识信息和管理对 象或节点的信息; 控制权限获取单元, 用于根据所述管理对象或节点的信息获 取所述管理对象根节点或所述节点的访问控制权限; 管理消息发送单元, 用于 在所述访问控制权限允许所述设备管理服务器的操作时, 生成第二设备管理消 息, 将所述第二设备管理消息发送至终端设备。
本发明实施例还提供一种设备管理装置, 所述装置包括: 管理消息接收单 元, 用于接收设备管理服务器发送的添加管理对象或节点的消息; 管理对象或 节点建立单元, 用于根据所述添加管理对象或节点的消息在终端设备上添加管 理对象或节点; 管理对象或节点存储单元, 用于在本地存储所述管理对象或节 点。
本发明提供的设备管理方法及装置, 解决了在 Gateway存在情况下, DM Server管理 DM Client时 ACL权限控制的问题, 使得在 Gateway存在情况下, 可以正常的使用 DM的 ACL机制进行权限控制。
附图说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 并不构成对本发明的限定。 在附图中:
图 1是本发明实施例提供的一种设备管理方法信令图;
图 2是本发明实施例提供的一种设备管理方法信令图; 图 3是本发明实施例提供的一种设备管理方法信令图;
图 4是本发明实施例提供的一种设备管理方法信令图;
图 5是本发明实施例提供的一种设备管理方法信令图;
图 6是本发明实施例提供的一种设备管理方法信令图;
图 7是本发明实施例提供的一种设备管理方法信令图;
图 8是本发明实施例提供的一种设备管理方法信令图;
图 9是本发明实施例提供的一种设备管理装置框图;
图 10是本发明实施例提供的一种设备管理装置框图;
图 11是本发明实施例提供的一种设备管理装置框图;
图 12是本发明实施例提供的一种设备管理装置框图;
图 13是本发明实施例提供的一种设备管理装置框图。
具体实施方式
为使本发明的目的、 技术方案和优点更加清楚明白, 下面结合实施方式和 附图, 对本发明做进一步详细说明。 在此, 本发明的示意性实施方式及其说明 用于解释本发明, 但并不作为对本发明的限定。
实施例一
图 1是本发明实施例提供的一种设备管理方法信令图, 如图 1所示, 本发 明实施例提供的设备管理方法包括以下步骤:
S101 , 接收设备管理服务器发送的第一设备管理消息。
在本发明实施例中, 终端设备 ( Device )既被 Gateway初始化(Bootstrap ) 过, 也被 DM Sever Bootstra 过, 也尤是说 Device上面既有 Gateway的 DMAcc (设备管理账户 )管理对象, 也有 DM Server的管理对象。
在本发明实施例中, Gateway接收 DM Sever发送的设备管理消息, 设备管 理消息是通知或触发消息 (Notification ) 、 设备管理消息包 2 ( PK2 )或设备管 理消息包 4 ( PK4 ) 。
S102, 根据接收到的第一设备管理消息生成第二设备管理消息, 所述第二 设备管理消息中包括所述设备管理服务器的标识信息。
在本发明实施例中, 由于 Gateway从设备管理服务器接收和发送至终端设 备的均为设备管理消息, 为区分接收和发送的设备管理消息, 现将接收到的设 备管理消息称为第一设备管理消息, 将发送的设备管理消息称为第二设备管理 消息, Gateway根据接收到的第一设备管理消息生成第二设备管理消息, 并在第 二设备管理消息中给出 DM Server的 ID标识。
S103 , 将所述第二设备管理消息发送至终端设备。
在本发明实施例中, Gateway将生成的第二设备管理消息发送至 Device。 Device接收到第二设备管理消息后, 进行 ACL比对: 如果访问权限许可, 则执 行相应管理操作; 如果访问权限不许可, 则不执行管理操作, 并返回失败代码 和消息。
本发明实施例提供的设备管理方法通过 Device进行 ACL权限控制,其关键 是 Gateway把 DM Server的 ID标识发送给 Device, 而不仅仅是发送 Gateway的 ID标识。
通过本发明实施例提供的设备管理方法,使得 Device虽然接收的是 Gateway 发送的设备管理消息, 仍能够获知真正发送设备管理消息的 DM Server的 ID标 识, 从而正常的进行 ACL权限控制。
图 2是本发明实施例提供的一种设备管理方法信令图, 如图 2所示, 本发 明实施例提供的设备管理方法包括以下步骤:
S201 , Gateway接收 DM Server发送的 Notification消息。 在本发明实施例中, DM Server发起对 Device的管理, 下发 Notification消 息给 Gateway, Gateway接收 DM Server发送的 Notification消息, 得知其预管理 Gateway下的 Device„
在本发明实施例中, Device既被 Gateway Bootstrap过, 也被 DM Sever
Server的管理对象。
S202, Gateway生成针对 Device的 Notification消息, 并在 Notification消息 中给出 DM Server的 ID标识。
在本发明实施例中,在 Notification消息中给出 DM Server的 ID标识可以通 过以下三种方式实现:
方式 A: 重新使用 Notification消息中的 transport和 ServerlD字段, 其中 transport字段扩充定义: Proxy=l l , 用以指示为代理模式, 而在 ServerlD中给 出 DM Server的 ID信息。
方式 B: 扩充 Gateway发送的 Notification消息, 给出 Proxy字段, 指示是 否为代理模式, 同时重用 ServerlD字段。
方式 G 扩充 Gateway发送的 Notification消息, 添加第二个 ServerlD字段, 用以给出 DM Server的 ID。
对于方案 A和方案 B , 这时仅仅给出的为 DM Server的 ID标识, 由于 Notification中 Digest字段需要根据该 DM server在 Device上相应 DMAcc管理 对象中的鉴权密钥来生成, 因此代理网关 Gateway收到 DM Server发送的 Notification消息后,在生成 Notification之前, 必须先发起到 Device的管理会话, 从 Device上获得该 DM Server的鉴权密钥信息, 然后利用该鉴权密钥信息对 Notification包的 Trigger (触发信息)部分进行哈希计算, 生成摘要数据。 S203 , Gateway将生成的 Notification消息发送至 Device。
在本发明实施例中, Gateway将生成的 Notification消息发送至 Device ,
Device收到 Gateway下发的 Notification消息, 解析该消息, 得到 DM Server的
ID标识 , 同时根据 Notification消息给出的 MO ID , 来获取相应 MO的 ACL属 性值, 接着进行 ACL权限控制, 如果权限许可, 则 Device发起管理会话, 如果 不许可, 则拒绝发起管理会话。
通过本实施例, 使得 Device虽然接收的是 Gateway发送的 Notification消 息, 仍能够获知真正发送 Notification消息的 DM Server的 ID标识, 从而正常的 进行 ACL权限控制。
图 3是本发明实施例提供的一种设备管理方法信令图, 如图 3所示, 本发 明实施例提供的设备管理方法包括以下步骤:
S301 , Gateway接收 DM Server发送的 Pkg2或者 Pkg4的管理指令消息。 在本发明实施例中, DM Server对 Gateway后的 Device进行管理, DM Server 针对 Device的管理指令会通过 Pkg2或者 Pkg4首先发送给 Gateway。
在本发明实施例中, Device既被 Gateway Bootstrap过, 也被 DM Sever Bootstra 过, 也就是说 Device上面既有 Gateway的 DMAcc管理对象, 也有 DM Server的管理对象。
S302 Gateway生成针对 Device的 Pkg2或者 Pkg4管理指令消息并在 Pkg2 或者 Pkg4消息中给出 DM Server的 ID标识。
在本发明实施例中, 在 Pkg2或者 Pkg4消息中给出 DM Server的 ID标识可 以通过以下三种方案实现:
方案 A: 扩充一个字段, 用以给出 DM Server的 ID标识, 该标识符的定义 可如下所示: SourceSer
用法: 用来给出发起管理会话的 DM服务器的标识;
父元素: SyncHdr;
子元素: LocURI; 其它: 该元素是可选的。
对于 DM Server标识为: LocURI>http:〃 www.syncml.org/mgmt-server, 代理 网关 Gateway的标识为: GatewayUrl, 这时 Gateway发送的 Pkg2或者 Pkg4消 息, 对于源地址的指定如下所示:
<Source>
<LocURI>GatewayUrl</LocURI>
</Source>
<SourceSer>
<LocURI>http: //www. syncml. org/mgmt- server</LocURI>
</SourceSer>
方案 B: 使用一个已有的标识字来给出 DM Server的 ID标识, 标识字: SourceParent, 该字段在 DM中的使用可以重新定义如下:
SourceParent
用法: 用来给出发起管理会话的 DM服务器的标识;
父元素: SyncHdr;
子元素: LocURI; 其它: 该元素是可选的。 对于 DM Server标识为: LocURI>http:〃 www.syncml.org/mgmt-server, 代理 网关 Gateway的标识为: GatewayUrl, 这时 Gateway发送的 Pkg2或者 Pkg4, 对 于源地址的指定如下所示:
<Source>
<LocURI>GatewayUrl</LocURI>
</Source>
<SourceParent>
<LocURI>http://www.syncml.org/mgmt-server</LocURI>
</SourceParent>
方案 C 扩充 DM协议中使用的通知编码( Alert Code ),用以给出 DM Server 的 ID, 该 Alert Code的定义如下:
Figure imgf000011_0001
对于 DM Server标识为: LocURI>http:〃 www.syncml.org/mgmt-server, 这时 Gateway发送的 Pkg2或者 Pkg4, 对于服务器地址的指定如下所示:
<Alert>
<CmdID>2</CmdID>
<Data> 12xx</Data>
<Item>
<Data>http ://www. syncml. org/mgmt-server</Data>
</Item>
</Alert> S303 , Gateway将生成的 Pkg2或者 Pkg4发送至 Device。
在本发明实施例中, Gateway将生成的 Pkg2或者 Pkg4发送至 Device , Device收到 Gateway下发的 Pkg2或者 Pkg4, 解析该消息包, 得到 DM Server 的 ID标识, 同时根据消息包给出的操作节点标识, 来获取相应节点的 ACL属 性值, 接着进行 ACL权限控制, 如果权限许可, 则 Device执行相应操作, 否则 拒绝执行操作。
通过本实施例, 使得 Device虽然接收的是 Gateway发送的管理指令, 仍能 够获知对其真正进行管理的 DM Server的 ID标识, 从而正常的进行 ACL权限 控制。 实施例二
图 4是本发明实施例提供的一种设备管理方法信令图, 如图 4所示, 本发 明实施例提供的设备管理方法包括以下步骤:
5401 , 接收设备管理服务器发送的第一设备管理消息, 获取第一设备管理 消息中包含的设备管理服务器的标识信息和管理对象或节点的信息。
在本发明实施例中, Gateway接收 DM Sever发送的设备管理消息, 设备管 理消息是 Notification, PK2或 PK4。
在本发明实施例中, Gateway解析接收到的设备管理消息, 获取设备管理消 息中包含的设备管理服务器的标识信息和管理对象或节点的信息。 当设备管理 消息是 Notification消息时, 管理对象的信息可以是 DM Server需要管理的 MOID; 当设备管理消息是 PK2或 PK4时, 管理对象的信息可以是具体管理对 象中节点的标识。
5402 , 根据管理对象或节点的信息获取所述管理对象根节点或节点的访问 控制权限。
在本发明实施例中, Gateway根据获取的管理对象和节点的信息获得管理对 象根节点或者节点的 ACL Gateway可以根据获得的 MOID或者操作节点标识, 发起到 Device 的管理会话, 获得相应节点或者 MO根节点的 ACL, 也可以在 本地查找相应节点或者 MO的 ACL。
S404, 如果所述访问控制权限允许所述设备管理服务器的操作, 则生成第 二设备管理消息, 并将所述第二设备管理消息发送至终端设备。
在本发明实施例中, 如果访问控制列表中允许所述设备管理服务器的操 作, 则 Gateway将生成的设备管理消息发送至终端设备。 如果访问控制列表不 允许所述设备管理服务器的操作, 则 Gateway不发送设备管理消息至终端设备。
在本发明的另一实施例中, 在步骤 S402和步骤 S404之间, 还可以包括步 骤 S403 , 根据所述设备管理服务器的标识信息和所述访问控制权限判断是否允 许所述设备管理服务器的操作。
在本发明实施例中, Gateway根据获取的 ACL和设备管理服务器的标识信 息判断发起会话的 Server是否满足访问许可条件。
本发明实施例提供的设备管理方法通过 Gateway进行 ACL权限控制, 其关 键是 Gateway得到 DM Server预管理的设备上相应 MO根节点或者节点的 ACL 属性值。
本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。
图 5是本发明实施例提供的一种设备管理方法信令图, 如图 5所示, 本发 明实施例提供的设备管理方法包括以下步骤:
S501 , 接收设备管理服务器发送的设备管理消息。 在本发明实施例中, Device既被 Gateway Bootstrap过, 也被 DM Sever Bootstra 过, 也就是说 Device上面既有 Gateway的 DMAcc管理对象, 也有 DM Server的管理对象。
在本发明实施例中, DM Server发送 Notification消息或者正常管理会话 PK2、 ΡΚ4给 Gateway, 其中 Notification消息给出了 DM Server需要管理的 MOID, 比如给出 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo: 1.0, Pk2或 Pk4中给出操作节点的标识, 比如:
<LocURI>Jsettings/wap_settings/CNN</LocURI>, Gateway接收 DM Sever发送 的设备管理消息。
S502, 解析接收到的设备管理消息, 获取设备管理消息中包含的设备管理 服务器的标识信息和需管理的管理对象或节点的信息。
在本发明实施例中, Gateway接收到 Notification消息或者正常管理会话 PK2、 ΡΚ4等消息后, 对消息进行解析, 获得需要管理的 MOID或者操作节点 的标识以及设备管理服务器的标识信息。 当设备管理消息是 Notification消息 时, 管理对象的信息可以是 DM Server需要管理的 MOID, 比如 SCOMO管理 对象的 MOID为: urn:oma:mo:oma-scomo: 1.0; 当设备管理消息是 PK2或 PK4 时, 管理对象的信息可以是操作节点的标识, 比如:
<LocURI>Jsettings/wap— settings/CNN</LocURI>。
S503 , 根据获取的管理对象或节点的信息从终端设备获取所述管理对象或 节点的访问控制权限。
在本发明实施例中, Gateway根据获得的 MOID或者操作节点标识, 发起 到 Device 的管理会话, 获得相应节点或者 MO的 ACL, 可以分为:
对于操作节点 <LocURI>Jsettings/wap— settings/CNN</LocURI>, 如果该节点 有对应的 ACL, 那么就会直接返回该节点的 ACL属性值, 如果没有, 那么需要 返回其继承的 ACL属性值;
对于 MO, 可以返回该 MO的根节点的 ACL属性值, 或者返回该 MO所有 节点 ACL属性值的集合。
S504, 根据所述设备管理服务器的标识信息和所述访问控制权限判断是否 允许所述设备管理服务器的操作。
在本发明实施例中, Gateway根据获取的 ACL和设备管理服务器的标识信 息判断是否允许所述设备管理服务器的操作。
S505 , 如果允许所述设备管理服务器的操作, 则将所述设备管理消息发送 至终端设备。
在本发明实施例中, 如果 Gateway获取的 ACL中允许设备管理服务器的操 作, 则 Gateway将设备管理消息发送至终端设备; 如果 Gateway获取的 ACL中 不允许设备管理服务器的操作, 则 Gateway不将设备管理消息发送至终端设备。
本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。
图 6是本发明实施例提供的一种设备管理方法信令图, 如图 6所示, 本发 明实施例提供的设备管理方法包括以下步骤:
S601 , 接收设备管理服务器发送的设备管理消息。
在本发明实施例中, Device仅被 Gateway Bootstra 过, 而未被 DM Sever Bootstra 过, 也就是说 Device上面只有 Gateway的 DMAcc管理对象, 没有 DM Server的管理对象。
在本发明实施例中, DM Server发送 Notification消息或者正常管理会话 PK2、 ΡΚ4给 Gateway, 其中 Notification消息给出了 DM Server需要管理的 MOID, 比如给出 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo:1.0, Pk2或 Pk4中给出操作节点的标识, 比如:
<LocURI>Jsettings/wap_settings/CNN</LocURI>, Gateway接收 DM Sever发送 的设备管理消息。
S602, 解析接收到的设备管理消息, 获取设备管理消息中包含的设备管理 服务器的标识信息和需管理的管理对象或节点的信息。
在本发明实施例中, Gateway接收到 Notification消息或者正常管理会话 PK2、 ΡΚ4等消息后, 对消息进行解析, 获得需要管理的 MOID或者操作节点 的标识以及设备管理服务器的标识信息。 当设备管理消息是 Notification消息 时, 管理对象的信息可以是 DM Server需要管理的 MOID, 比如 SCOMO管理 对象的 MOID为: urn:oma:mo:oma-scomo: 1.0; 当设备管理消息是 PK2或 PK4 时, 管理对象的信息可以是操作节点的标识, 比如:
<LocURI>Jsettings/wap— settings/CNN</LocURI>。
S603 , 根据获取的管理对象或节点的信息在本地查找所述管理对象或节点 的访问控制权限。
在本发明实施例中, Gateway根据获得的 MOID或者操作节点标识, 查找 自身保存的 MO或者节点的 ACL属性信息, 获得对应节点的 ACL属性值, 获 得对应节点的 ACL属性值。
S604, 根据所述设备管理服务器的标识信息和所述访问控制权限判断是否 允许所述设备管理服务器的操作。
在本发明实施例中, Gateway根据获取的 ACL和设备管理服务器的标识信 息判断是否允许所述设备管理服务器的操作。
S605, 如果允许所述设备管理服务器的操作, 则将所述设备管理消息发送 至终端设备。
在本发明实施例中, 如果 Gateway获取的 ACL中允许设备管理服务器的操 作, 则 Gateway将设备管理消息发送至终端设备; 如果 Gateway获取的 ACL中 不允许设备管理服务器的操作, 则 Gateway不将设备管理消息发送至终端设备。
在本发明实施例中, 由于 Device未被 DM Server Boostra , 因此 Device上 MO或者节点的 ACL属性值中不会包括相应的 DM Server的 ID标识所以这里 对 ACL权限的控制只能通过 Gateway来进行关键是 Gateway上需要保存 Device 上相应 MO根节点或者节点的 ACL属性值。
本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。
图 7是本发明实施例提供的一种设备管理方法信令图, 如图 7所示, 本发 明实施例提供的设备管理方法包括以下步骤:
5701 , 接收设备管理服务器发送的添加管理对象或节点的设备管理消息。 在本发明实施例中, Device仅被 Gateway Bootstra 过, 而未被 DM Sever Bootstra 过, 也就是说 Device上面只有 Gateway的 DMAcc管理对象, 没有 DM Server的管理对象。
在本发明实施例中, Gateway接收 DM Server发起的 MO或者节点建立命令
5702, 根据所述添加管理对象或节点的设备管理消息在终端设备上添加管 理对象或节点, 同时在本地存储所述管理对象或节点。
在本发明实施例中, Gateway根据相应命令在 Device上建立相应 MO或者 节点, 同时在 Gateway中保存 MO或者节点的 ACL值, 该 ACL属性值中包括 进行管理 DM Server的 ID, 具体可以通过以下两种方式实现:
Gateway根据 DM Server命令在 Device建立相应节点或者 MO的同时, 也 在 Gateway自身上建立相应节点或者 MO, 包括对应的参数取值和属性取值, 而 且在 Gateway上设立的相应节点或者 MO的 ACL属性值中包括进行管理 DM Server的 ID标识;
Gateway根据 DM Server命令在 Device建立相应节点或者 MO的同时, 也 在 Gateway自身上存储相应节点或者 MO的 ACL属性值 ACL属性值中包括进 行管理 DM Server的 ID标识。
S703, 接收设备管理服务器发送的设备管理消息。
在本发明实施例中, DM Server发送 Notification消息或者正常管理会话 PK2、 ΡΚ4给 Gateway, 其中 Notification消息给出了 DM Server需要管理的 MOID, 比如给出 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo: 1.0, Pk2或 Pk4中给出操作节点的标识, 比如:
<LocURI>Jsettings/wap_settings/CNN</LocURI>, Gateway接收 DM Sever发送 的设备管理消息。
S704, 解析接收到的设备管理消息, 获取设备管理消息中包含的设备管理 服务器的标识信息和需管理的管理对象或节点的信息。
在本发明实施例中, Gateway接收到 Notification消息或者正常管理会话 PK2、 ΡΚ4等消息后, 对消息进行解析, 获得需要管理的 MOID或者操作节点 的标识以及设备管理服务器的标识信息。 当设备管理消息是 Notification消息 时, 管理对象的信息可以是 DM Server需要管理的 MOID, 比如 SCOMO管理 对象的 MOID为: urn:oma:mo:oma-scomo: 1.0; 当设备管理消息是 PK2或 PK4 时, 管理对象的信息可以是操作节点的标识, 比如:
<LocURI>Jsettings/wap— settings/CNN</LocURI>。
S705 , 根据获取的管理对象或节点的信息在本地查找所述管理对象或节点 的访问控制权限。
在本发明实施例中, Gateway根据获得的 MOID或者操作节点标识, 查找 自身保存的 MO或者节点的 ACL属性信息, 获得对应节点的 ACL属性值, 获 得对应节点的 ACL属性值。
S706, 根据所述设备管理服务器的标识信息和所述访问控制权限判断是否 允许所述设备管理服务器的操作。
在本发明实施例中, Gateway根据获取的 ACL和设备管理服务器的标识信 息判断是否允许所述设备管理服务器的操作。
S707, 如果允许所述设备管理服务器的操作, 则将所述设备管理消息发送 至终端设备。
在本发明实施例中, 如果 Gateway获取的 ACL中允许设备管理服务器的操 作, 则 Gateway将设备管理消息发送至终端设备; 如果 Gateway获取的 ACL中 不允许设备管理服务器的操作, 则 Gateway不将设备管理消息发送至终端设备。
在本发明实施例中, 如果 DM Server通过 Gateway下发的针对 Device的是 关于 ACL属性值的操作, 那么 Gateway上保存的相应节点或者 MO的 ACL属 性值也会发生相应的变化。
本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。 实施例三
图 8是本发明实施例提供的一种设备管理方法信令图, 如图 8所示, 本发 明实施例提供的设备管理方法包括以下步骤:
S801 , 接收设备管理服务器发送的添加管理对象或节点的消息。 在本发明实施例中, Device仅被 Gateway Bootstra 过, 而未被 DM Sever Bootstra 过, 也就是说 Device上面只有 Gateway的 DMAcc管理对象, 没有 DM Server的管理对象。
在本发明实施例中, Gateway接收 DM Server发起的 MO或者节点建立命令 S802, 根据所述添加管理对象或节点的消息在终端设备上添加管理对象或 节点, 同时在本地存储所述管理对象或节点。
在本发明实施例中, Gateway根据相应命令在 Device上建立相应 MO或者 节点, 同时在 Gateway中保存 MO或者节点的 ACL值, 该 ACL属性值中包括 进行管理 DM Server的 ID, 具体可以通过以下两种方式实现:
Gateway根据 DM Server命令在 Device建立相应节点或者 MO的同时, 也 在 Gateway自身上建立相应节点或者 MO, 包括对应的参数取值和属性取值, 而 且在 Gateway上设立的相应节点或者 MO的 ACL属性值中包括进行管理 DM Server的 ID标识;
Gateway根据 DM Server命令在 Device建立相应节点或者 MO的同时, 也 在 Gateway自身上存储相应节点或者 MO的 ACL属性值 ACL属性值中包括进 行管理 DM Server的 ID标识。
在本发明的另一实施例中, 设备管理方法还可以包括图 7所示的步骤 S703 至 S707, 具体步骤与图 7相同, 故在此不再贅述。
在本实施例中, 在 Device未被 DM Sever Bootstra 的情况下, 由 Gateway 在 Device和本地建立 ACL, 使得在 Gateway存在情况下, 仍能正常的使用 DM 的 ACL机制进行权限控制, 并且无论 Device是否被 DM Server所 Bootstrap, 都能进行正确的 ACL权限控制。 实施例四
图 9是本发明实施例提供的一种设备管理装置框图, 如图 9所示, 本发明 实施例提供的设备管理装置 900包括: 管理消息接收单元 901、 管理消息生成单 元 902和管理消息发送单元 903 , 其中:
管理消息接收单元 901 , 用于接收设备管理服务器发送的第一设备管理消 息;
在本发明实施例中, 终端设备 ( Device )既被 Gateway初始化(Bootstrap ) 过, 也被 DM Sever Bootstra 过, 也尤是说 Device上面既有 Gateway的 DMAcc 管理对象, 也有 DM Server的管理对象。
在本发明实施例中, 管理消息接收单元 901接收 DM Sever发送的第一设备 管理消息, 其中第一设备管理消息包括 Notification、 PK2或 PK4。
管理消息生成单元 902, 用于根据接收到的第一设备管理消息生成第二设备 管理消息, 所述第二设备管理消息中包括所述设备管理服务器的标识信息;
在本发明实施例中, 管理消息生成单元 902根据管理消息接收单元 901接 收到的第一设备管理消息生成第二设备管理消息, 并在第二设备管理消息中给 出 DM Server的 ID标识。
管理消息发送单元 903 , 用于将所述第二设备管理消息发送至终端设备。 在本发明实施例中, 管理消息发送单元 903将生成的第二设备管理消息发 送至 Device。 Device接收到第二设备管理消息后, 进行 ACL比对: 如果访问权 限许可, 则执行相应管理操作; 如果访问权限不许可, 则不执行管理操作, 并 返回失败代码和消息。
本发明实施例提供的设备管理装置通过 Device进行 ACL权限控制,其关键 是 Gateway把 DM Server的 ID标识发送给 Device, 而不仅仅是发送 Gateway的 ID标识。
通过本发明实施例提供的设备管理装置使得 Device虽然接收的是 Gateway 发送的设备管理消息, 仍能够获知真正发送设备管理消息的 DM Server的 ID标 识, 从而正常的进行 ACL权限控制。 在本发明的另一实施例中, DM Server发起对 Device的管理, 下发
Notification消息给 Gateway, 管理消息接收单元 901接收 DM Server发送的 Notification消息, 得知其预管理 Gateway下的 Device。 管理消息生成单元 902 生成针对 Device的 Notification消息, 并在 Notification消息中给出 DM Server 的 ID标识, 可以通过以下三种方式实现:
方式 A: 重新使用 Notification消息中的 transport和 ServerlD字段, 其中 transport字段扩充定义: Proxy=l l , 用以指示为代理模式, 而在 ServerlD中给 出 DM Server的 ID信息。
方式 B: 扩充 Gateway发送的 Notification消息, 给出 Proxy字段, 指示是 否为代理模式, 同时重用 ServerlD字段。
方式 G 扩充 Gateway发送的 Notification消息, 添加第二个 ServerlD字段, 用以给出 DM Server的 ID。
对于方案 A和方案 B , 这时仅仅给出的为 DM Server的 ID标识, 由于 Notification中 Digest字段需要根据该 DM server在 Device上相应 DMAcc管理 对象中的鉴权密钥来生成, 因此代理网关 Gateway收到 DM Server发送的 Notification消息后,在生成 Notification之前, 必须先发起到 Device的管理会话, 从 Device上获得该 DM Server的鉴权密钥信息, 然后利用该鉴权密钥信息对 Notification包的 Trigger (触发信息)部分进行哈希计算, 生成摘要数据。 管理 消息发送单元 903将生成的 Notification消息发送至 Device , Device收到 Gateway下发的 Notification消息, 解析该消息, 得到 DM Server的 ID标识, 同 时根据 Notification消息给出的 MO ID, 来获取相应 MO的 ACL属性值, 接着 进行 ACL权限控制, 如果权限许可, 则 Device发起管理会话, 如果不许可, 则 拒绝发起管理会话。
通过本实施例, 使得 Device虽然接收的是 Gateway发送的 Notification消 息, 仍能够获知真正发送 Notification消息的 DM Server的 ID标识, 从而正常的 进行 ACL权限控制。 在本发明的另一实施例中, DM Server对 Gateway后的 Device进行管理, DM Server针对 Device的管理指令会通过 Pkg2或者 Pkg4首先发送给
Gateway , 管理消息接收单元 901接收 DM Server发送的 Pkg2或者 Pkg4。 管理 消息生成单元 902生成针对 Device的 Pkg2或者 Pkg4, 并在 Pkg2或者 Pkg4中 给出 DM Server的 ID标识, 可以通过以下三种方案实现:
方案 A: 扩充一个字段, 用以给出 DM Server的 ID标识, 该标识符的定义 可如下所示:
SourceSer
用法: 用来给出发起管理会话的 DM服务器的标识;
父元素: SyncHdr;
子元素: LocURI; 其它: 该元素是可选的。
对于 DM Server标识为: LocURI>http:〃 www.syncml.org/mgmt-server, 代理 网关 Gateway的标识为: GatewayUrl, 这时 Gateway发送的 Pkg2或者 Pkg4包, 对于源地址的指定如下所示:
<Source>
<LocURI>GatewayUrl</LocURI>
</Source>
<SourceSer>
<LocURI>http: //www. syncml. org/mgmt- server</LocURI>
</SourceSer>
方案 B: 使用一个已有的标识字来给出 DM Server的 ID标识, 标识字: SourceParent, 该字段在 DM中的使用可以重新定义如下:
SourceParent
用法: 用来给出发起管理会话的 DM服务器的标识;
父元素: SyncHdr;
子元素: LocURI; 其它: 该元素是可选的。
对于 DM Server标识为: LocURI>http:〃 www.syncml.org/mgmt-server, 代理 网关 Gateway的标识为: GatewayUrl, 这时 Gateway发送的 Pkg2或者 Pkg4, 对 于源地址的指定如下所示:
<Source>
<LocURI>GatewayUrl</LocURI>
</Source>
<SourceParent> <LocURI>http: //www. syncml.org/mgmt- server</LocURI>
</SourceParent>
方案 C: 扩充 DM协议中使用的 Alert Code , 用以给出 DM Server的 ID , 该 Alert Code的定义如下:
Figure imgf000025_0001
对于 DM Server标识为: LocURI>http:〃 www.syncml.org/mgmt-server, 这时 Gateway发送的 Pkg2或者 Pkg4 , 对于服务器地址的指定如下所示:
<Alert>
<CmdID>2</CmdID>
<Data> 12xx</Data>
<Item>
<Data>http ://www. syncml. org/mgmt-server</Data>
</Item>
</Alert>
管理消息发送单元 903将生成的 Pkg2或者 Pkg4发送至 Device , Device 收到 Gateway下发的 Pkg2或者 Pkg4 , 解析该消息包, 得到 DM Server的 ID标 识, 同时根据消息包给出的操作节点标识, 来获取相应节点的 ACL属性值, 接 着进行 ACL权限控制, 如果权限许可, 则 Device执行相应操作, 否则拒绝执行 操作。
通过本实施例, 使得 Device虽然接收的是 Gateway发送的管理指令, 仍能 够获知对其真正进行管理的 DM Server的 ID标识, 从而正常的进行 ACL权限 控制。 实施例五
图 10是本发明实施例提供的一种设备管理装置框图, 如图 10所示, 本发 明实施例提供的设备管理装置 1000包括: 管理消息接收单元 1001、 标识信息获 取单元 1002、 控制权限获取单元 1003和管理消息发送单元 1005, 其中:
管理消息接收单元 1001 , 用于接收设备管理服务器发送的第一设备管理消 息。
在本发明实施例中, 管理消息接收单元 1001接收 DM Sever发送的设备管 理消息, 设备管理消息可以是 Notification, PK2或 PK4。
标识信息获取单元 1002, 用于获取第一设备管理消息中包含的所述设备管 理服务器的标识信息和管理对象或节点的信息。
在本发明实施例中, 标识信息获取单元 1002解析接收到的设备管理消息, 获取设备管理消息中包含的设备管理服务器的标识信息和管理对象的信息。 当 设备管理消息是 Notification消息时, 管理对象的信息可以是 DM Server需要管 理的 MOID; 当设备管理消息是 PK2或 PK4时, 管理对象的信息可以是操作节 点的标识。
控制权限获取单元 1003 , 用于根据管理对象或节点的信息获取所述管理对 象根节点或节点的访问控制权限。
在本发明实施例中, 控制权限获取单元 1003根据获取的管理对象的信息获 得相应节点或者 MO的 ACL。 Gateway可以根据获得的 MOID或者操作节点标 识, 发起到 Device 的管理会话, 获得相应节点或者 MO的 ACL, 也可以在本 地查找相应节点或者 MO的 ACL。 在本发明实施例中, 控制权限获取单元 1003可以包括终端访问权限获取模 块和 /或本地访问权限获取模块, 其中:
终端访问权限获取模块, 用于根据获取的管理对象的信息从终端设备获取 所述管理对象的访问控制权限。
本地访问权限获取模块, 用于根据获取的管理对象的信息从本地获取所述 管理对象的访问控制权限。
管理消息发送单元 1005 , 用于在所述访问控制权限允许所述设备管理服务 器的操作时, 生成第二设备管理消息, 并将所述第二设备管理消息发送至终端 设备。
在本发明实施例中, 如果访问控制列表中允许所述设备管理服务器的操 作, 则管理消息发送单元 1005将设备管理消息发送至终端设备。 如果访问控制 列表中不允许所述设备管理服务器的操作, 则管理消息发送单元 1005不将设备 管理消息发送至终端设备。
在本发明的另一实施例中, 设备管理装置 1000还可以包括访问控制判断单 元 1004, 用于根据所述设备管理服务器的标识信息和所述访问控制权限判断是 否允许所述设备管理服务器的操作。
在本发明实施例中, 访问控制判断单元 1004判断访问控制列表中是否包含 设备管理服务器的标识信息, 根据获取的 ACL和设备管理服务器的标识信息判 断发起会话的 Server是否满足条件。
本发明实施例提供的设备管理方法通过 Gateway进行 ACL权限控制, 其关 键是 Gateway得到 DM Server预管理的设备上相应 MO或者节点的 ACL属性值 本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。 图 11是本发明实施例提供的一种设备管理装置框图, 如图 11所示, 本发 明实施例提供的设备管理装置 1100包括: 管理消息接收单元 1101、 管理消息解 析单元 1102、 终端访问权限获取单元 1103、 访问控制判断单元 1104和管理消 息发送单元 1105 , 其中:
管理消息接收单元 1101接收设备管理服务器发送的设备管理消息。
在本发明实施例中, Device既被 Gateway Bootstrap过, 也被 DM Sever Bootstra 过, 也就是说 Device上面既有 Gateway的 DMAcc管理对象, 也有 DM Server的管理对象。
在本发明实施例中, DM Server发送 Notification消息或者正常管理会话 PK2、 ΡΚ4给 Gateway, 其中 Notification消息给出了 DM Server需要管理的 MOID, 比如给出 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo: 1.0, Pk2或 Pk4中给出操作节点的标识, 比如:
<LocURI>Jsettings/wap_settings/CNN</LocURI> , 管理消息接收单元 1101接收 DM Sever发送的设备管理消息。
管理消息解析单元 1102解析接收到的设备管理消息, 获取设备管理消息中 包含的设备管理服务器的标识信息和需管理的管理对象或节点的信息。
在本发明实施例中, 管理消息接收单元 1101接收到 Notification消息或者正 常管理会话 PK2、 ΡΚ4等消息后, 管理消息解析单元 1102对消息进行解析, 获 得需要管理的 MOID或者操作节点的标识以及设备管理服务器的标识信息。 当 设备管理消息是 Notification消息时, 管理对象的信息可以是 DM Server需要管 理的 MOID, 比如 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo: 1.0; 当设备管理消息是 PK2或 PK4时, 管理对象的信息可以是操作节点的标识, 比 如: <LocURI>Jsettings/wap— settings/CNN</LocURI>。
终端访问权限获取单元 1103根据获取的管理对象或节点的信息从终端设备 获取所述管理对象或节点的访问控制权限。
在本发明实施例中, 终端访问权限获取单元 1103根据获得的 MOID或者操 作节点标识, 发起到 Device 的管理会话, 获得相应节点或者 MO的 ACL, 可 以分为:
对于操作节点 <LocURI>Jsettings/wap— settings/CNN</LocURI>, 如果该节点 有对应的 ACL, 那么就会直接返回该节点的 ACL属性值, 如果没有, 那么需要 返回其继承的 ACL属性值;
对于 MO, 可以返回该 MO的根节点的 ACL属性值, 或者返回该 MO所有 节点 ACL属性值的集合。
访问控制判断单元 1104根据所述设备管理服务器的标识信息和所述访问控 制权限判断是否允许所述设备管理服务器的操作。
在本发明实施例中, 访问控制判断单元 1104根据终端访问权限获取单元 1103获取的 ACL和设备管理服务器的标识信息判断发起会话的 Server是否满足 条件。
管理消息发送单元 1105在允许所述设备管理服务器的操作时, 将所述设备 管理消息发送至终端设备。
在本发明实施例中, 如果终端访问权限获取单元 1103获取的 ACL中允许 所述设备管理服务器的操作, 则管理消息发送单元 1105将设备管理消息发送至 终端设备; 如果终端访问权限获取单元 1103获取的 ACL中不允许所述设备管 理服务器的操作,则管理消息发送单元 1105不将设备管理消息发送至终端设备 本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。 图 12是本发明实施例提供的一种设备管理装置框图, 如图 12所示, 本发 明实施例提供的设备管理装置 1200包括: 管理消息接收单元 1201、 管理消息解 析单元 1202、 本地访问权限获取单元 1203、 访问控制判断单元 1204和管理消 息发送单元 1205 , 其中:
管理消息接收单元 1201接收设备管理服务器发送的设备管理消息。
在本发明实施例中, Device仅被 Gateway Bootstra 过, 而未被 DM Sever Bootstra 过, 也就是说 Device上面只有 Gateway的 DMAcc管理对象, 没有 DM Server的管理对象。
在本发明实施例中, DM Server发送 Notification消息或者正常管理会话 PK2、 ΡΚ4给 Gateway, 其中 Notification消息给出了 DM Server需要管理的 MOID, 比如给出 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo: 1.0, Pk2或 Pk4中给出操作节点的标识, 比如:
<LocURI>Jsettings/wap_settings/CNN</LocURI>, 管理消息接收单元 1201接收 DM Sever发送的设备管理消息。
管理消息解析单元 1202解析接收到的设备管理消息, 获取设备管理消息中 包含的设备管理服务器的标识信息和需管理的管理对象或节点的信息。
在本发明实施例中, 管理消息接收单元 1201接收到 Notification消息或者正 常管理会话 PK2、 ΡΚ4等消息后, 管理消息解析单元 1202对消息进行解析, 获 得需要管理的 MOID或者操作节点的标识以及设备管理服务器的标识信息。 当 设备管理消息是 Notification消息时, 管理对象的信息可以是 DM Server需要管 理的 MOID, 比如 SCOMO管理对象的 MOID为: urn:oma:mo:oma-scomo: 1.0; 当设备管理消息是 PK2或 PK4时, 管理对象的信息可以是操作节点的标识, 比 如: <LocURI>Jsettings/wap— settings/CNN</LocURI>。
本地访问权限获取单元 1203根据获取的管理对象或节点的信息在本地查找 所述管理对象或节点的访问控制权限。
在本发明实施例中, 本地访问权限获取单元 1203根据获得的 MOID或者操 作节点标识, 查找自身保存的 MO或者节点的 ACL属性信息, 获得对应节点的 ACL属性值, 获得对应节点的 ACL属性值。
访问控制判断单元 1204根据所述设备管理服务器的标识信息和所述访问控 制权限判断是否允许所述设备管理服务器的操作。
在本发明实施例中, 访问控制判断单元 1204根据获取的 ACL和设备管理 服务器的标识信息判断发起会话的 Server是否满足条件。
管理消息发送单元 1205在允许所述设备管理服务器的操作时, 将所述设备 管理消息发送至终端设备。
在本发明实施例中, 如果本地访问权限获取单元 1203获取的 ACL中允许 所述设备管理服务器的操作, 则管理消息发送单元 1205将设备管理消息发送至 终端设备; 如果本地访问权限获取单元 1203获取的 ACL中不允许所述设备管 理服务器的操作,则管理消息发送单元 1205不将设备管理消息发送至终端设备 在本发明的另一实施例中, 设备管理装置 1200还可以包括管理对象或节点 建立单元 1206和管理对象或节点存储单元 1207。
管理消息接收单元 1201接收设备管理服务器发送的添加管理对象或节点的 设备管理消息。
在本发明实施例中, 管理消息接收单元 1201还用于接收 DM Server发起的 MO或者节点建立命令。 管理对象或节点建立单元 1206根据所述添加设备管理建立消息在终端设备 上添加管理对象或节点, 同时管理对象或节点存储单元 1207在本地存储所述管 理对象或节点。
在本发明实施例中, 管理对象或节点建立单元 1206根据相应命令在 Device 上建立相应 MO或者节点, 同时管理对象或节点存储单元 1207在 Gateway中保 存 MO或者节点的 ACL值, 该 ACL属性值中包括进行管理 DM Server的 ID, 具体可以通过以下两种方式实现:
管理对象或节点建立单元 1206根据 DM Server命令在 Device建立相应节点 或者 MO的同时, 管理对象或节点存储单元 1207也在 Gateway自身上建立相应 节点或者 MO, 包括对应的参数取值和属性取值, 而且在 Gateway上设立的相应 节点或者 MO的 ACL属性值中包括进行管理 DM Server的 ID标识;
管理对象或节点建立单元 1206根据 DM Server命令在 Device建立相应节点 或者 MO的同时, 管理对象或节点存储单元 1207也在 Gateway自身上存储相应 节点或者 MO的 ACL属性值, ACL属性值中包括进行管理 DM Server的 ID标 识。
在本发明实施例中, 如果 DM Server通过 Gateway下发的针对 Device的是 关于 ACL属性值的操作, 那么 Gateway上保存的相应节点或者 MO的 ACL属 性值也会发生相应的变化。
本实施例由 Gateway代替 Device进行 ACL权限控制管理,避免了对现有设 备管理流程和命令的改变, 并减少了 Device的处理资源消耗。 实施例六
图 13是本发明实施例提供的一种设备管理装置框图, 如图 13所示, 本发 明实施例提供的设备管理装置 1300包括: 管理消息接收单元 1301、 管理对象或 节点建立单元 1302和管理对象或节点存储单元 1303 , 其中:
管理消息接收单元 1301接收设备管理服务器发送的添加管理对象或节点的 消息。
在本发明实施例中, Device仅被 Gateway Bootstra 过, 而未被 DM Sever Bootstra 过, 也就是说 Device上面只有 Gateway的 DMAcc管理对象, 没有 DM Server的管理对象。
在本发明实施例中, 管理消息接收单元 1301接收 DM Server发起的 MO或 者节点建立命令。
管理对象或节点建立单元 1302根据所述添加管理对象或节点的消息在终端 设备上建立管理对象或节点, 同时管理对象或节点存储单元 1303在本地存储所 述管理对象或节点。
在本发明实施例中, 管理对象或节点建立单元 1302根据相应命令在 Device 上建立相应 MO或者节点, 同时管理对象或节点存储单元 1303在 Gateway中保 存 MO或者节点的 ACL值, 该 ACL属性值中包括进行管理 DM Server的 ID, 具体可以通过以下两种方式实现:
管理对象或节点建立单元 1302根据 DM Server命令在 Device建立相应节点 或者 MO的同时, 管理对象或节点存储单元 1303也在 Gateway自身上建立相应 节点或者 MO, 包括对应的参数取值和属性取值, 而且在 Gateway上设立的相应 节点或者 MO的 ACL属性值中包括进行管理 DM Server的 ID标识;
管理对象或节点建立单元 1302根据 DM Server命令在 Device建立相应节点 或者 MO的同时, 管理对象或节点存储单元 1303也在 Gateway自身上存储相应 节点或者 MO的 ACL属性值, ACL属性值中包括进行管理 DM Server的 ID标 识。
在本发明的另一实施例中, 图 13所示的设备管理装置 1300还可以包括管 理消息接收单元、 管理消息解析单元、 本地访问权限获取单元、 访问控制判断 单元和管理消息发送单元, 以上单元的功能与图 12相同, 故在此不再贅述。
在本实施例中, 在 Device未被 DM Sever Bootstra 的情况下, 由 Gateway 在 Device和本地建立 ACL, 使得在 Gateway存在情况下, 仍能正常的使用 DM 的 ACL机制进行权限控制, 并且无论 Device是否被 DM Server所 Bootstrap, 都能进行正确的 ACL权限控制。 以上所述具体实施方式, 对本发明的目的、 技术方案和有益效果进行了进 一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而已, 并 不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任何修 改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利 要求 书
1. 一种设备管理方法, 其特征在于, 所述方法包括:
接收设备管理服务器发送的第一设备管理消息;
根据所述第一设备管理消息生成第二设备管理消息, 所述第二设备管理消息 包括所述设备管理服务器的标识信息;
将所述第二设备管理消息发送至终端设备。
2. 根据权利要求 1所述的设备管理方法, 其特征在于, 所述第一设备管理消 息是通知消息、 设备管理消息包 PK2或者设备管理消息包 PK4;
所述第一设备管理消息是通知消息时, 在所述第二设备管理消息中指示所述 第二设备管理消息为代理模式, 并重用所述第一设备管理消息中的所述设备管 理服务器的标识信息;
所述第一设备管理消息是设备管理消息包 PK2或者设备管理消息包 PK4 时, 扩充设备管理协议中的通知编码, 所述通知编码用于给出所述设备管理服 务器的标识信息。
3. 根据权利要求 1所述的设备管理方法, 其特征在于, 所述根据接收到的第 一设备管理消息生成第二设备管理消息包括:
在所述第二设备管理消息中扩充一个字段, 所述字段用于给出所述设备管理 服务器的标识信息; 或者
在所述第二设备管理消息中重新定义一个字段, 所述字段用于给出所述设备 管理服务器的标识信息。
4. 根据权利要求 1所述的设备管理方法, 其特征在于, 在接收设备管理服务 器发送的第一设备管理消息之后, 所述方法还包括:
获取所述第一设备管理消息中包含的所述设备管理服务器的标识信息, 以及 管理对象或节点的信息;
根据所述管理对象或节点的信息获取所述管理对象根节点或所述节点的访 问控制权限;
所述根据所述第一设备管理消息生成第二设备关系消息具体为, 在所述访问 控制权限允许所述设备管理服务器的操作时, 根据所述第一设备管理消息生成 所述第二设备管理消息。
5. 根据权利要求 4所述的设备管理方法, 其特征在于, 所述根据管理对象或 节点的信息获取所述管理对象根节点或所述节点的访问控制权限包括:
根据所述管理对象或节点的信息从终端设备获取所述管理对象根节点或所 述节点的访问控制权限; 或者
根据所述管理对象或节点的信息从本地获取所述管理对象根节点或节点的 访问控制权限。
6. 根据权利要求 4所述的设备管理方法, 其特征在于, 所述方法还包括: 接收设备管理服务器发送的添加管理对象或节点的设备管理消息; 根据所述添加管理对象或节点的设备管理消息在终端设备上添加所述管理 对象或所述节点, 同时在本地保存所述管理对象或所述节点。
7. 一种设备管理方法, 其特征在于, 所述方法包括:
接收设备管理服务器发送的添加管理对象或节点的消息;
根据所述添加管理对象或节点的消息在终端设备上添加管理对象或节点, 同 时在本地存储所述管理对象或节点。
8. 根据权利要求 7所述设备管理方法, 其特征在于, 所述方法还包括: 接收所述设备管理服务器发送的第一设备管理消息, 获取所述第一设备管理 消息中包含的所述设备管理服务器的标识信息, 以及管理对象或节点的信息; 根据获取的管理对象或节点的信息从本地获取所述管理对象根节点或节点 的访问控制权限;
如果所述访问控制权限允许所述设备管理服务器的操作, 则生成第二设备管 理消息, 并将所述第二设备管理消息发送至终端设备。
9. 一种设备管理装置, 其特征在于, 所述装置包括:
管理消息接收单元, 用于接收设备管理服务器发送的第一设备管理消息; 管理消息生成单元, 用于根据所述第一设备管理消息生成第二设备管理消 息, 所述第二设备管理消息中包括所述设备管理服务器的标识信息;
管理消息发送单元, 用于将所述第二设备管理消息发送至终端设备。
10. 根据权利要求 9所述的设备管理装置, 其特征在于, 所述第一设备管理 消息是通知消息、 设备管理消息包 PK2或者设备管理消息包 PK4;
在所述第一设备管理消息是通知消息时, 所述管理消息生成单元在所述第二 设备管理消息中指示所述第二设备管理消息为代理模式, 并重用所述第一设备 管理消息中的设备管理服务器的标识信息;
在所述第一设备管理消息是设备管理消息包 PK2或者设备管理消息包 PK4 时, 所述管理消息生成单元扩充设备管理协议中的通知编码, 所述通知编码用 于给出所述设备管理服务器的标识信息。
11. 根据权利要求 10所述的设备管理装置, 其特征在于, 所述管理消息生成 单元在所述第二设备管理消息中扩充一个字段, 所述字段用于给出所述设备管 理服务器的标识信息; 或者所述管理消息生成单元在所述第二设备管理消息中 重新定义一个字段, 所述字段用于给出所述设备管理服务器的标识信息。
12. 根据权利要求 9所述设备管理装置, 其特征在于, 所述装置还包括: 标识信息获取单元, 用于获取所述第一设备管理消息中包含的所述设备管理 服务器的标识信息, 以及管理对象或节点的信息;
控制权限获取单元, 用于根据所述管理对象或节点的信息获取所述管理对象 根节点或所述节点的访问控制权限;
所述管理消息生成单元还用于在所述访问控制权限允许所述设备管理服务 器的操作时, 根据所述第一设备管理消息生成第二设备管理消息。
13. 根据权利要求 12所述设备管理装置, 其特征在于, 所述控制权限获取单 元包括:
终端访问权限获取模块, 用于根据所述管理对象或节点的信息从终端设备获 取所述管理对象根节点或节点的访问控制权限; 和 /或
本地访问权限获取模块, 用于根据所述管理对象或节点的信息从本地获取所 述管理对象根节点或节点的访问控制权限。
14. 根据权利要求 12所述设备管理装置, 其特征在于, 所述管理消息接收单 元还用于接收设备管理服务器发送的添加管理对象或节点的设备管理消息; 所述设备管理装置还包括:
管理对象或节点建立单元, 用于根据所述添加管理对象或节点的设备管理消 息在终端设备上添加管理对象或节点;
管理对象或节点存储单元, 用于在本地保存所述管理对象或节点。
15. 一种设备管理装置, 其特征在于, 所述装置包括:
管理消息接收单元, 用于接收设备管理服务器发送的添加管理对象或节点的 消息;
管理对象或节点建立单元, 用于根据所述添加管理对象或节点的消息在终端 设备上添加管理对象或节点;
管理对象或节点存储单元, 用于在本地存储所述管理对象或节点。
16. 根据权利要求 15所述设备管理装置, 其特征在于, 所述管理消息接收单 元还用于接收设备管理服务器发送的第一设备管理消息;
所述设备管理装置还包括:
标识信息获取单元, 用于获取所述第一设备管理消息中包含的所述设备管理 服务器的标识信息, 以及管理对象或节点的信息;
控制权限获取单元, 用于根据获取的管理对象或节点的信息从本地获取所述 管理对象根节点或节点的访问控制权限;
管理消息发送单元, 用于在所述访问控制权限允许所述设备管理服务器的操 作时, 生成第二设备管理消息, 并将所述第二设备管理消息发送至终端设备。
PCT/CN2012/071438 2011-02-24 2012-02-22 一种设备管理方法及装置 WO2012113329A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP12748928.4A EP2654242B1 (en) 2011-02-24 2012-02-22 Device management method and apparatus
US13/975,123 US20130346610A1 (en) 2011-02-24 2013-08-23 Device Management Method and Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110045418.0A CN102651860B (zh) 2011-02-24 2011-02-24 一种设备管理方法及装置
CN201110045418.0 2011-02-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/975,123 Continuation US20130346610A1 (en) 2011-02-24 2013-08-23 Device Management Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2012113329A1 true WO2012113329A1 (zh) 2012-08-30

Family

ID=46693737

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071438 WO2012113329A1 (zh) 2011-02-24 2012-02-22 一种设备管理方法及装置

Country Status (4)

Country Link
US (1) US20130346610A1 (zh)
EP (1) EP2654242B1 (zh)
CN (1) CN102651860B (zh)
WO (1) WO2012113329A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104604295B (zh) * 2012-09-07 2018-08-14 Lg电子株式会社 用于在无线通信系统中由服务器管理终端对资源的访问权限的方法及其设备
KR102015806B1 (ko) * 2012-10-22 2019-08-29 삼성전자 주식회사 전자장치, 네트워크 시스템 및 프라이비트 네트워크를 구축하는 방법
FR3000336A1 (fr) * 2012-12-20 2014-06-27 France Telecom Mecanisme de gestion d'une session de communication
US10021563B2 (en) * 2014-04-29 2018-07-10 Alcatel Lucent Enhanced authentication for provision of mobile services
CN107256157A (zh) * 2017-06-07 2017-10-17 郑州云海信息技术有限公司 一种多设备管理系统及其管理方法
CN108702422B (zh) * 2017-06-26 2020-07-07 华为技术有限公司 一号多终端的来电管理方法、装置、被管理设备及服务器
EP3637947B1 (en) 2017-06-26 2023-08-02 Huawei Technologies Co., Ltd. Multi-sim incoming call management method, apparatus, managed device and server
US10708261B2 (en) 2018-05-07 2020-07-07 Vmware, Inc. Secure gateway onboarding via mobile devices for internet of things device management

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355524A (zh) * 2007-07-24 2009-01-28 华为技术有限公司 一种消息处理方法、系统、服务器和终端
CN101667926A (zh) * 2008-09-02 2010-03-10 中兴通讯股份有限公司 终端设备的远程管理方法和系统、代理设备
WO2010068448A2 (en) * 2008-11-25 2010-06-17 Citrix Systems, Inc. Systems and methods for load balancing real time streaming protocol
CN101924645A (zh) * 2009-06-12 2010-12-22 华为技术有限公司 一种设备管理方法、装置及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620054B1 (ko) * 2004-06-11 2006-09-08 엘지전자 주식회사 장치 관리 기술에서의 장치 관리 시스템 및 방법
DE602004031438D1 (de) * 2004-12-06 2011-03-31 Alcatel Lucent Fernverwaltungsverfahren, ein dazugehörender Autokonfigurierungsserver, ein dazugehörender weiterer Autokonfigurierungsserver, ein dazugehörendes Wegeleit-Gateway und eine dazugehörende Vorrichtung
ES2333633B1 (es) * 2007-05-07 2011-02-10 Vodafone España, S.A. Acceso desde un terminal remoto a la informacion de un terminal movil.
WO2009102354A1 (en) * 2008-02-13 2009-08-20 Hewlett-Packard Development Company, L.P. Managing electronic devices using an electronic device as a root of trust
US8707389B2 (en) * 2008-12-04 2014-04-22 Pravala Inc. Multi-transport mode devices having improved data throughput

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355524A (zh) * 2007-07-24 2009-01-28 华为技术有限公司 一种消息处理方法、系统、服务器和终端
CN101667926A (zh) * 2008-09-02 2010-03-10 中兴通讯股份有限公司 终端设备的远程管理方法和系统、代理设备
WO2010068448A2 (en) * 2008-11-25 2010-06-17 Citrix Systems, Inc. Systems and methods for load balancing real time streaming protocol
CN101924645A (zh) * 2009-06-12 2010-12-22 华为技术有限公司 一种设备管理方法、装置及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2654242A4 *

Also Published As

Publication number Publication date
EP2654242B1 (en) 2019-04-10
EP2654242A4 (en) 2014-06-04
CN102651860B (zh) 2014-12-31
EP2654242A1 (en) 2013-10-23
US20130346610A1 (en) 2013-12-26
CN102651860A (zh) 2012-08-29

Similar Documents

Publication Publication Date Title
EP3664370B1 (en) Network function information management method and related device
WO2012113329A1 (zh) 一种设备管理方法及装置
US8565726B2 (en) System, method and device for mediating connections between policy source servers, corporate repositories, and mobile devices
WO2021037175A1 (zh) 一种网络切片的管理方法及相关装置
US20220103459A1 (en) Optimization of mtc device trigger delivery
US10530699B2 (en) Processing method, apparatus, and system for a service flow processing policy
WO2015188440A1 (zh) 资源订阅处理方法及装置
US11388661B2 (en) Network slice configuration update
EP2421197A1 (en) Method and apparatus for performing device management via gateway device and device management server thereof
WO2010034257A1 (zh) 一种终端配置和管理方法及终端装置
WO2018141172A1 (zh) 控制终端上网及终端上网的方法,路由器设备及终端
KR20180038540A (ko) 서비스 레이어에서 인루트 리소스 발견을 가능하게 하기 위한 방법들
US9438603B2 (en) Method for managing access right of terminal to resource by server in wireless communication system, and device for same
CN107770035B (zh) 一种推送离线通知的方法和装置
WO2013017020A1 (zh) 对可执行节点的操作方法及系统
US9462476B1 (en) Identifying unsubscribed tethering in a wireless network
CN116888988A (zh) 实现网络之间的服务广告和服务发现的双连接设备、用户设备及系统
KR101906085B1 (ko) 존재 정보를 이용한 근접도 서비스(prose)를 위한 치안/보안 ue 통신 프레임워크
WO2023016451A1 (zh) 更新方法、网络侧设备、终端和计算机可读存储介质
US20240121645A1 (en) Transmission of Data from a Communication Network to a User Equipment
WO2023070643A1 (en) Method, device, and system for core network node re-allocation in wireless network
KR20170053130A (ko) 보안 개체에서 접근을 제어하는 방법 및 그 장치
WO2022241601A1 (en) Method, device, and system for core network device re-allocation in wireless network
US20150188790A1 (en) Method and apparatus for transmitting a response to a command in wireless communication system
TW202306356A (zh) 網路切片允入控制

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12748928

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2012748928

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE