WO2009097726A1 - 终端设备的配置方法和装置 - Google Patents

终端设备的配置方法和装置 Download PDF

Info

Publication number
WO2009097726A1
WO2009097726A1 PCT/CN2008/073173 CN2008073173W WO2009097726A1 WO 2009097726 A1 WO2009097726 A1 WO 2009097726A1 CN 2008073173 W CN2008073173 W CN 2008073173W WO 2009097726 A1 WO2009097726 A1 WO 2009097726A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
package
configuration package
identifier
management
Prior art date
Application number
PCT/CN2008/073173
Other languages
English (en)
French (fr)
Inventor
Shouling Cui
Xiaoqian Chai
Kepeng Li
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to JP2010522174A priority Critical patent/JP2010537601A/ja
Priority to EP08872111A priority patent/EP2180758A4/en
Publication of WO2009097726A1 publication Critical patent/WO2009097726A1/zh

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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method and apparatus for configuring a terminal device. Background technique
  • the Device Management (DM) specification provides a low-cost solution for third-party management and setting of environment and configuration information for terminal devices (such as mobile terminals and functional objects in terminals) in wireless networks.
  • terminal devices such as mobile terminals and functional objects in terminals
  • OTA Over The Air
  • the third party mentioned above may be the information management department of the mobile operator, service provider or partner.
  • Push OTA protocol is a wireless content transmission protocol, which allows the server to "push” content to the mobile terminal;
  • DL OTA protocol is a flexible download mechanism that allows the server to "push” content to the mobile terminal, and also allows the terminal "Pull" the content to the local.
  • Each DM-enabled terminal has a management tree, and a management object (MO) is stored in the management tree.
  • the management object is a management interface of the terminal relative to the device management server (DMS), and the DMS passes to the terminal.
  • the command to manage the object on the management terminal management tree is delivered to implement management of the terminal.
  • FIG. 1 it is a schematic diagram of a management manner of a management object for personally configuring a terminal in the prior art.
  • the specific configuration process based on the implementation of the management object is as follows (executed by the DMS and configured with ScreenSaver):
  • the DMS adds a management node and its child nodes for personalizing the terminal ScreenSaver under the Customization/ScreenSavers/ AvailableScreenSavers node of the terminal management 4 pairs;
  • DMS uses the Replace command to send the ScreenSaver configuration file to the Data node, and uses the Replace command to set the file's own file to be sent to the 'I'.
  • the terminal activates the corresponding ScreenSaver according to the value of ActiveSc.
  • Operation management such as locking, activating/deactivating, and setting defaults, cannot be performed.
  • the configuration package cannot be locked, activated/deactivated, or set to default.
  • the configuration package and configuration are not supported in non-DM mode. element. Summary of the invention
  • the embodiment of the invention provides a method and a device for configuring a terminal device, which are used to implement operation management on a configuration package and/or a configuration element according to configuration information in a configuration package delivered by any download mechanism.
  • the embodiment of the invention provides a method for configuring a terminal device, including:
  • the configuration package is installed according to the personalized configuration information.
  • the embodiment of the invention further provides a device for configuring a terminal device, including:
  • a receiving module configured to receive a configuration package that carries personalized configuration information
  • the configuration packet carries the personalized configuration information such as whether the configuration packet is set as an unmodifiable identifier, whether the configuration packet is set to be activated, or whether the configuration packet is set as a default identifier.
  • the network configures and manages the personalized attributes of the terminal.
  • FIG. 1 is a schematic diagram showing a organization manner of a management object for personally configuring a terminal in the prior art
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a method for configuring a terminal device according to the present invention
  • FIG. 3 is a schematic diagram of an organization manner based on an extensible markup language for configuring a package attribute and a configuration element attribute in a first embodiment of a method for configuring a terminal device according to the present invention
  • FIG. 4 is a schematic diagram of a management manner of a management object of a configuration package and a configuration element in Embodiment 1 of a method for configuring a terminal device according to the present invention
  • 5 is a schematic diagram of configuring a packet management subtree on a terminal MO in Embodiment 1 of a method for configuring a terminal device according to the present invention
  • Embodiment 6 is a schematic flowchart of Embodiment 2 of a method for configuring a terminal device according to the present invention
  • Figure ⁇ is a schematic diagram of state transition corresponding to operation management of a configuration package in Embodiment 2 of a method for configuring a terminal device of the present invention
  • FIG. 8 is a schematic diagram of a state transition corresponding to operation management of a configuration element in Embodiment 2 of a method for configuring a terminal device according to the present invention
  • Embodiment 9 is a schematic structural diagram of Embodiment 1 of a device for configuring a terminal device according to the present invention.
  • FIG. 10 is a schematic structural diagram of Embodiment 2 of a device for configuring a terminal device according to the present invention. detailed description
  • FIG. 2 is a schematic flowchart diagram of Embodiment 1 of a method for configuring a terminal device according to the present invention. This embodiment relates to the configuration of the personalized configuration item, and specifically includes the following steps:
  • Step 101 The network side sends a configuration package carrying personalized configuration information of Look and Feel Customization (LFC) to the mobile terminal.
  • LFC Look and Feel Customization
  • the configuration package consists of a description file (including configuration package attributes, configuration element attributes) and configuration content files. There can be no description files in the configuration package, but there must be configuration content files.
  • the configuration package properties include one or more of the following attributes: Configuration Package ID (PackagelD), Modifiable, Active (Actived), Default (Default), User Confirmation (NeedUserConfirm) AuthPolicy, Elements et.
  • ElementSet contains one or more configuration elements (Element ), each Element has one or more of the following attributes: Element ID ( ElementID ), Configuration Item ( ElementType ), Modifiable, Active (Actived), Default (Default), Source File (src).
  • ElementID Element ID
  • ElementType Configuration Item
  • Modifiable Active
  • Default Default
  • Source File src
  • Descriptor/PackagelD character type The unique identifier of the package, by the network side (such as content
  • the server is provided by the LFC management server.
  • Descriptor/Modifiable Boolean Type Indicates whether the configuration package is set after installation.
  • Boolean can not be modified, (that is, the terminal can not update it); installation is installed or deployed, including a copy of a file to the appropriate place; configuration package is not modifiable means that the configuration package can not be updated, but can be Activate/deactivate, lock/unlock or delete, and all configuration elements in the configuration package are set to be unmodifiable, ie the configuration elements in the configuration package cannot be updated, but can be activated/deactivated, locked/unlocked or deleted.
  • Descriptor/Actived Boolean Indicates whether to activate the configuration package after installation.
  • the configuration package activation is ⁇ ! The activation of all configuration elements in the configuration package; the activation of the configuration element refers to setting the current value of the configuration item to the configuration element; deactivation refers to changing the current value of the configuration item to the default configuration element or the previous activation object.
  • Descriptor/Default Boolean After Descriptor/Default Boolean is installed, it indicates whether to configure the configuration package as default. Setting the configuration package to default means setting all configuration elements in the configuration package as the default configuration elements of the corresponding configuration items.
  • the default configuration element of the configuration item refers to the configuration. The default value of the item.
  • Descriptor/NeedUserConfirm Boolean During the installation process, it indicates whether the user is allowed to interact, and the value can be in multiple ways.
  • Descriptor/ AuthPolicy Subsequently managed rights verification policy, which is to assign access control rights to the management server, which can be one or more management server IDs.
  • Descriptor/ AuthPolicy/ServerlD Subsequent management server ID.
  • Descriptor/ElementSet A set of configuration elements whose next child element is one or more configuration elements.
  • Descriptor/ElementSet/Element string The identity of the configuration element, provided by the network side.
  • /ElementID The entity on the network side can be, but is not limited to, the content server, LFC Server.
  • Descriptor/ElementSet/Element string is used to identify the terminal LFC configuration item, for example: /ElementType Screen saver, wallpaper belongs to a configuration item.
  • Descriptor/ElementSet/Element Boobean Indicates whether the element is set to Unrepairable/Modifiable.
  • Descriptor/ElementSet/Element Boobean Indicates whether this element is set to active.
  • Descriptor/ElementSet/Element Boobean Indicates whether this element is set to default.
  • Descriptor/ElementSet/Element Indicates the content file for this element, either the location of the /Src configuration element file or the configuration element file itself.
  • a configuration package can contain a Descriptor description file and one or more configuration content files.
  • the configuration content file may be a variety of files such as theme packs, pictures, ringtone files, etc. that can be installed on the mobile phone or can be configured for the mobile phone.
  • the number of Descriptor description files in the configuration package is 1 or 0.
  • the configuration content file is an installable configuration package.
  • the value of the Descriptor/NeedUserConfirm element can be True/False, true means that a final user confirmation is required. False means no end user confirmation is required; it can also be a set of values, for example:
  • the sub-elements contained in the AuthPolicy can be one or more management server identifiers.
  • the AuthPolicy can be represented in the following two ways:
  • ServerlD can use "*" to represent any server.
  • the Descriptor/ElementSet/Element/src element can indicate where the configuration content file is located in the package, or it can be the configuration content file itself.
  • the element When the src element is used as the identifier of the configuration content file, the element may be the URI in the configuration package in the configuration content file; the element may also be the file name of the configuration content file; the element may also be an XML format file set, the file There are one or more files in the collection, for example:
  • Meta information is the file name and type of the configuration content file
  • Data information is the data of the configuration content file, such as binary data.
  • FIG. 4 it is a schematic diagram of a management manner of a management object of a configuration package and a configuration element in the first embodiment of the method for configuring a terminal device according to the present invention.
  • the key nodes are explained as follows:
  • LFC/Package/ ⁇ X>/D Default identifies whether the configuration package efault zero or one is set to default, that is, all the configuration elements in the configuration package are set to the corresponding configuration items.
  • the odifiable Boolean Get configuration element is set to be modifiable
  • LFC/Package/ ⁇ X>/0 These are executable nodes. Under DMS peration: By issuing the Exec command, install and install active, Deactive, activate, activate, and go to the configuration package of Install and InstallActive. Activate, lock (pre-Lock, Unlock, mention that the package has been Active), unlock, remove remove operation; installation operation means that the configuration package is not activated after installation; installation activation operation means to activate the configuration package after installation;
  • One (none) null package activation means all the configuration packages
  • the configuration element is set to be activated; deactivation refers to changing the current value of the configuration item to the default configuration element or the previous activation object; the locking of the configuration element refers to locking the active configuration element so that it cannot be deactivated; After the lock is locked, it can only be Unlock, can not be Active, Deactive, Remove Etc.; Unlocking refers to unlocking the configuration package or configuration element.
  • This node vailableList/ ⁇ Y>Ele is created by the terminal and its value is provided by the network side mentID.
  • LFC/Element/ ⁇ X>/A identifies whether the configuration element is set to no
  • vailableList/ ⁇ Y>Mod Boolean Get can be modified.
  • NeedUserConfirm node can be either true/false or a set of values, for example:
  • the LFC/Package/ ⁇ X>/State node and LFC/Element/ ⁇ X>/ AvailableList/ ⁇ Y>State are used to indicate the status of the terminal configuration packet and the status of the configuration element, respectively.
  • the values of the two State nodes are as follows:
  • the configuration of the set element is only InstallActived, InstallDeactived, InstallActiveLocked.
  • the network side packs the LFC configuration information and configuration content file into a configuration package and sends it to the mobile terminal.
  • the package method of the configuration package is as follows: (Descriptor) format, organize all the attributes under Descriptor into a description file, and then package the specific configuration content file and the description file. You can also package the configuration content file in the description file. ⁇ Under the mouth:
  • Method 1 The description file is packaged into an LFC configuration package, independent of the configuration content file, and the description file and the configuration content file.
  • An example of a description file organized in the format of Figure 3 is as follows:
  • Packing refers to the integration of description files and content files into a terminal-resolvable file package, for example: Compressing description files and content files into a ZIP file.
  • Method 2 the configuration content file is packaged in the description file, and the difference from the method 1 description file is that the value of ⁇ Package>/ ⁇ ElementSet>/ ⁇ Element>/ ⁇ src>it in the method 1 description file is The relative path of the specific content file relative to the description file, and the value of the element in the method is the content itself of the content file (which may include its meta attribute ⁇ Meta>), and the element instance is as follows: ⁇ src> ⁇ !- For content files and their meta attributes ->
  • the manner in which the network side delivers the configuration package to the mobile terminal may be various download mechanisms.
  • the following is a method for delivering a configuration packet to a terminal by using the PUSH OTA, the DL OTA, and the OMA DM protocol, respectively. 1.
  • ApplicationlD application identifier
  • the process of binding to push OTA can be divided into two steps: A. Initiating a connection; B. Delivering content.
  • PUSH OTA sends a Session Initiate Request (SIR) to the client's Session Initiate Application (SIA) based on the Wireless Session Protocol (WSP) Push Proxy Gateway (PPG).
  • SIR Session Initiate Request
  • SIA Session Initiate Application
  • WSP Wireless Session Protocol
  • PPG Push Proxy Gateway
  • the X-Wap-Application-Id parameter value in the SIR is the ApplicationID of the LFC; the SIA is identified by Application1D.
  • the client After receiving the SIR, the client establishes a connection with the PPG.
  • the connection needs to carry the Accept-Application parameter.
  • the Application-D parameter is carried in the accept-application parameter, and the application that the PPG initiates the connection is the LFC client program. details as follows:
  • App-ranges ( #urn:x-wap-application:lfc.ua );
  • PUSH OTA is based on the HyperText Transport Protocol (HTTP) terminal.
  • HTTP HyperText Transport Protocol
  • X-Wap-Push-Accept-AppID item 4 bar LFC client ApplicationlD registered to PPG, PPG cache terminal CPI (Capability and Presence Information) information.
  • the PPG sends the SIR to the SIA of the terminal, which is identified by ApplicationlD.
  • the client After receiving the SIR, the client establishes a connection session with the PPG.
  • the configuration object of the LFC is delivered by using the push body parameter in the PUSH operation primitive.
  • the PPG sends the LFC configuration package to the LFC client by using the post request in the http protocol. 2. Use the DL OTA to send the LFC configuration package to the terminal.
  • MIME Multipurpose Internet Mail Extensions
  • the network side generates a download description file (Download Descriptor, DD) file for the LFC configuration package, which may be a content server, or an LFC server or a Download server.
  • the value of the . /product/mediaObject/type element in the file is set to LFC. Configure the MIME type value of the package;
  • the Download client obtains the DD, and obtains LFC configuration package data according to the URI indicated by the DD file.
  • the MIME Type of the configuration package is obtained from the value of the Jproduct/mediaObject/type element of the Download Descriptor.xml, and the configuration package is processed by the corresponding processing program according to the type indicated by the MIME (here) That is, it is handled by the LFC client).
  • the DMS creates a management subtree of the configuration package on the terminal's MO, which is a streamlined version of the configuration package management subtree on the configuration package and configuration element management objects (shown in Figure 4).
  • FIG. 5 it is a schematic diagram of a packet management subtree configured on a terminal MO in Embodiment 1 of a method for configuring a terminal device according to the present invention.
  • the ⁇ X> node, the Data node, and the PackagelD node are mandatory, and other nodes are optional.
  • the specific method is as follows:
  • the DMS creates a management node ⁇ X> of the configuration package on the terminal management tree, creates a Data node under the ⁇ X> node, and sends the configuration package data to the Data node.
  • the replacement command can be used.
  • the DMS can create a PackagelD node under the management node ⁇ X> and assign it a value. In the specific way, you can use the Add command to carry the value of PackagelD when creating a node, or you can use the Replace command. The value of PackagelD is issued;
  • the DMS can manage and assign a Modifiable node under the node ⁇ X>. You can use the Add command to carry the value of Modifiable when creating a node, or you can use the Replace command to send the value of Modifiable.
  • the DMS can manage the node ⁇ X> to create a Default node and assign it a value. You can use the Add command to carry the value of Default when you create a node, or you can use the Replace command to send the value of Default.
  • Step 102 The mobile terminal installs the configuration package according to the personalized configuration information.
  • the installation of the configuration package is different according to the manner in which the configuration package is sent.
  • the installation mode of the configuration package delivered in the non-DM mode is delivered in the DM mode.
  • the configuration of the configuration package to specify:
  • the LFC client After receiving the configuration package delivered by the non-DM mode, the LFC client parses the Descriptor file, and then installs the LFC configuration package according to the instructions in the Descriptor file, as follows:
  • the terminal records the value of PackagelD
  • the LFC client installs the configuration package and sets all the elements belonging to the configuration package to be unmodifiable; if the Modifiable element value is flase, the corresponding value is not Setting
  • the LFC client installs the configuration package, and activates all the configuration elements belonging to the configuration package, that is, sets the configuration element as the current value of the configuration item; If the value of the Actived element is false, the configuration package is set to inactive after the configuration package is installed, and the configuration package is inactive.
  • the LFC client does not activate all the configuration elements in the configuration package after installing the configuration package. It is also possible for the terminal to determine whether to activate all the elements in the configuration package.
  • the Default element is parsed under the Descriptor element, if the Default element value is true, after installing the configuration package, all the elements belonging to the configuration package are set as the default values of the corresponding configuration items of the element; if the Default element value is false, then Make the appropriate settings;
  • the terminal is based on The value of the NeedUserConfirm element, whether the user confirmation is required during the configuration package installation: If the NeedUserConfirm element value is true, the installation process of the configuration package and the configuration process of the configuration element are required to remind the user to confirm; if the NeedUserConfirm element value is false , the user is not prompted to confirm the installation process of the configuration package or the configuration process of the configuration element; the NeedUserConfirm element may also be other values, such as Informational, Changeable, OKORCancel or AlwaysNoConfirm (the meaning refers to the foregoing structure description part), the terminal according to its The value means that the user provides the corresponding UI interaction;
  • the ⁇ configuration package is installed and deployed as an installation package.
  • each Element element corresponds to a configuration element
  • the configuration element configures the configuration element according to the value of each sub-element under the Element element.
  • the terminal records the value and corresponds to the specific configuration element
  • the configuration content file is installed or deployed to the corresponding configuration item of the ElementType according to the value of the src element: if the src element is the identifier of the configuration file, the terminal finds the corresponding configuration content file according to the identifier. And installing the configuration content file; if the src element is the meta information and the data content of the configuration content file, directly installing the configuration content file under the src element;
  • the terminal sets the corresponding configuration element to be unmodifiable; the corresponding configuration element refers to the configuration element under the src element.
  • the terminal activates the corresponding configuration element, that is, sets the configuration element to the current value of the configuration item; if the Actived element value is false, The configuration element after the installation is kept inactive; the corresponding configuration element refers to the configuration element under the src element.
  • Corresponding configuration element means The configuration element under the src element.
  • the LFC client After the LFC client receives the configuration package delivered in the non-DM mode, if there is no LFC configuration package.
  • the Descriptor file the LFC client directly installs the configuration package.
  • the DMS can add an Opertion/Install node to the MO configured on the terminal management tree, issue an Exec command to the Install node, and command the terminal to install the configuration package.
  • the DMS can also add an Opertion/InstallAcitve node to the configuration MO on the terminal management tree, issue an Exec command to the InstallActive node, and instruct the terminal to activate the configuration package.
  • the terminal After receiving the above command, the terminal performs the actions of installation and activation, respectively.
  • the terminal first checks the MO of the configuration package.
  • the network side sends the configuration package in DM mode, it checks whether the management node of the configuration package contains the Default node and the Modifiable node. If the MO contains the Default node, it does not matter in the Descriptor file in the configuration package. Whether the Default element is included, the configuration package is configured with the value of the Default node on the MO: If the Default node value is true, after installing the configuration package, all the elements in the configuration package are set as the default configuration elements of the corresponding configuration item. If the Default node value is false, the corresponding setting is not made.
  • the configuration package is configured with the value of the Modifiable node on the MO regardless of whether the Descriptor file in the configuration package contains a Modifiable element: If the Modifiable node value If true, after installing the configuration package, all the elements in the configuration package are set to be unmodifiable. If the Modifiable node value is false, the corresponding settings are not made; if the MO management node of the configuration package does not contain the Default node and the Modifiable node, Then set it according to the element values in the Descriptor file, For details, see how to install the configuration package in non-DM mode.
  • the terminal then copies the elements (specific elements or theme packages) in the package to the terminal element library, which the terminal can detect and use.
  • FIG. 6 is a schematic flowchart diagram of Embodiment 2 of a method for configuring a terminal device according to the present invention.
  • the embodiment relates to the management of configuration items, configuration packages, and configuration elements that have been configured on the terminal, and specifically includes the following steps:
  • Step 201 Before proceeding with management, you first need to add MO to the terminal management tree.
  • the management node and its subtree under the Package node on the MO and MO can be generated by the terminal or generated by the DMS, and the node under the Element node on the MO is generated by the terminal.
  • the method of adding a MO to the terminal management tree can be divided into two cases. One is that the configuration package is delivered based on the DM protocol; the other is that the configuration package is delivered based on other download mechanisms.
  • the configuration package is delivered by dms through the DM protocol.
  • the device management server adds the Package/ ⁇ X>, Package/ ⁇ X>/Data node to the terminal management tree.
  • the PackagelD node can be generated by the DMS or by the terminal.
  • Other nodes under the Package/ ⁇ X> node such as Default, Modifiable, State, and executable subnodes under the Operation node, can be generated by the terminal or by the DMS.
  • the configuration package is issued by other download mechanisms.
  • the management node and its child nodes under the Package in the MO are generated by the terminal.
  • the NodeID, Default, Modifiable and other node values can be obtained from the corresponding elements of the configuration package.
  • the State node value is based on the status of the configuration package after Descriptor is installed. If there is no corresponding content in the Descriptor, the terminal sets it to the default value.
  • nodes are the operation interfaces of the terminal relative to the DMS.
  • the management node under the Package and its subtree are generated by the terminal, which nodes are generated under Operation are determined by the terminal. If the terminal does not generate these nodes, the DMS does not have an interface for performing related operations on the configuration package. For example: If the terminal only generates Install, Active, Deactive, Remove nodes under the configuration package, the DMS can only perform these four operations, and cannot perform Lock/Unlock operations on the Package. If the DMS has the right to create a child node under the Operation node, the DMS can continue to add an executable node under the Operation node in subsequent management, and then operate on the relevant node.
  • the method for assigning the access control permission after the generation is: ⁇ Y> Access Control Lists (ACL) of the node
  • ACL Access Control Lists
  • the ACL value inherits the ACL of the management node of the configuration package to which the configuration element belongs, and the executable node of the operation
  • the ACL value inherits the ACL of the executable node under Operation under the management node of the configuration package to which the configuration element belongs.
  • Step 202 The terminal performs operation management on the configuration item, the configuration package, and the configuration element according to the received DM command.
  • the state transition diagram corresponding to the operation and management of the configuration package in the second embodiment of the method for configuring the terminal device of the present invention includes: Install, InstallActive, Remove, Active, Deactive, Lock, Unlock.
  • the DMS sends an Exec command to the corresponding node to instruct the terminal to perform the corresponding operation.
  • the terminal After receiving the command, the terminal performs related operations and updates the status of the configuration package.
  • the status value of the configuration package is recorded in the State node value. Possible status values are: Download not installed ( Downloaded ), install and activate ( InstallActived ), install inactive ( InstallDeactived ), install and activate and lock ( InstallActivedLocked ).
  • the configuration package status is updated to the InstallActived state.
  • the terminal receives the Active command, the terminal activates all configuration elements in the configuration package.
  • the specific method is to find all the configuration elements belonging to the package according to the value of the pkgRef node under the configuration element management node, and then set the ActivedRef of the corresponding configuration item to the ElementID of the configuration element.
  • DMS uses the Replace command to change the value of Default and Modifiable on the MO.
  • the Replace command example is as follows:
  • the terminal sets the configuration package to be modifiable, and at the same time configures the configuration package to configure the package and the Modifiable node value of the configuration element of the configuration package.
  • the configuration is set to be unmodifiable, and the Modifiable node value of the configuration package on the configuration package management subtree and the configuration element of the configuration package is set to false.
  • the terminal sets the configuration packet to the default; if the DMS changes the value under the Default node to false, the terminal configuration package is set to non-default.
  • the value of the State node under the configuration packet management node also changes to reflect the status of the configuration packet.
  • the change in the state node value follows the state transition diagram of the configuration package.
  • FIG. 8 it is a schematic diagram of state transition corresponding to operation management of a configuration element in Embodiment 2 of a method for configuring a terminal device of the present invention, where operation management includes Lock, Unlock, Remove, activation/deactivation, and default / Non-default, set to modifiable / not modifiable.
  • operation management includes Lock, Unlock, Remove, activation/deactivation, and default / Non-default, set to modifiable / not modifiable.
  • the Active/Deactive operation of the configuration element is implemented by the DMS modifying the ActivedRef node value of the corresponding configuration item.
  • the specific operation method is as follows:
  • the DMS is sent to the terminal through the Exec command.
  • the LocURI element in the command is the path of the corresponding command under the Operation node of the configuration element.
  • the terminal After receiving the Exec command to the Lock node, if the configuration element is in the active state, the terminal directly locks the configuration element; if the configuration element is in the inactive state, the lock fails, and the result of the lock failure is returned to the DMS, the terminal It is also possible to activate the configuration element first, and then the configuration element is locked, that is, the server and the terminal cannot change the configuration of the configuration item until the configuration element is unlocked;
  • the terminal After the terminal receives the exec command to the Unlock node, if the configuration element is in the locked state, the locked state of the configuration element is released; if the configuration element is in the unlocked state, the terminal does not operate, and the result of the operation failure is fed back to the DMS. .
  • the configuration element is deleted. If the element is active, after the configuration element is deleted, the configuration item to which the configuration element belongs is set to the default value.
  • the DMS wants to set the configuration element to the default value or set it to be activated, you can use the Replace command to change the MO/LFC/Element/ ⁇ X>/DefaultRef and ActivedRef values to be set to default, or Activated ElementlD.
  • the ElementlD value is carried by the Item/Data element of the Replace command. details as follows:
  • the terminal executes the command. If the Replace command is for the DefaultRef node, change the value of the /LFC/Element/ ⁇ X>/DefaultRef node to the ElementlD value carried in the command.
  • the configuration element identified by the ElementlD is set as the default value of the configuration item. If the value of the Data element in the Replace command is null, the configuration element that originally belongs to the default value of the configuration item is no longer set to the default value. The default value of this configuration item is specified by the terminal.
  • Replace command is for the ActivedRef node
  • Iba is activated with the configuration element identified by the ElementlD.
  • the currently active configuration element that originally belonged to the configuration item is set to deactivate.
  • the current active element of the configuration item is specified by the terminal.
  • the DMS needs to make a configuration element unmodifiable. You need to use the Replace command to modify the value of /LFC/Element/ ⁇ X>/ AvailableList/ ⁇ Y>/ Modifiable on the MO to be false.
  • the value of the State node under the configuration element management node also changes to reflect the status of the configuration element.
  • the change of the state node value follows the state transition diagram of the configuration element.
  • the embodiment of the present invention can map the LFC configuration package sent to the terminal to the MO of the terminal, and provide an interface for the DMS to perform subsequent management. After the configuration package is delivered to the terminal, it can be mapped to the terminal's MO before installation, or it can be mapped to the terminal's MO after installation.
  • the LFC configuration package in the third embodiment of the method for configuring the terminal device of the present invention is mapped to the MO of the terminal before the installation, and the terminal creates a management node and its subtree for the configuration package under the LFC/Package node.
  • the configuration package is placed under the LFC/Package/ ⁇ X>/Data of the MO.
  • the LFC configuration package in the fourth embodiment of the configuration method of the terminal device of the present invention is mapped to the MO of the terminal after the installation. If the configuration package does not have a corresponding management subtree on the MO, the terminal configures the package for this purpose.
  • the management node and its subtree are created under the LFC/Package node on the MO.
  • the information of the configuration package if the information of the configuration package contains the Package1D element, the value is assigned to the PackagelD node under the management subtree;
  • Descriptor element contains a Modifiable element, its value is assigned to the Modifiable node under the management subtree;
  • the Shell 1 J creates an Active, Deactive executable node under the Operation node;
  • Descriptor element contains a Default value, its value is assigned to the Default node of the management subtree;
  • the access control authority is assigned to the management server.
  • the status of the configuration package is InstallActived , InstallDeactived ,
  • Descriptor/ElementSet element contains one or more Element elements, one
  • the Element element represents a configuration element, that is, if the configuration information includes a value associated with the configuration element and the value of LFC/Element/ ⁇ X>/ElementType on the terminal M0, the management node whose configuration item belongs to the M0 is found.
  • X> create a management node ⁇ Y> for the configuration element under the AvailableList node of the management node, and the ACL value of the ⁇ > node inherits the ACL value of the management node of the configuration package to which the configuration element belongs;
  • the terminal creates an ElementID node under the management node, and assigns the value of the ElementID element under the Element element to the ElementID node;
  • the Element element contains a Modifiable element
  • a Modifiable node is created under the management node, and the value of the Modifiable element under the Element element is assigned to the Modifiable node;
  • the ActivedRef value under the configuration item of the terminal is modified to the value of the ElementID element under the Element element.
  • the DefaultRef value under the configuration item of the terminal is modified to the value of the ElementID element under the Element element.
  • the status value of the configuration element is assigned to the State node under the configuration element management subtree.
  • the ACL of the management node ⁇ Y> inherits the ACL value of the management node ⁇ > of the configuration package to which the configuration element belongs;
  • the ACL value of the executable node under the operation node ⁇ > inherits the ACL of the executable node corresponding to the operation node under the management node ⁇ X> of the configuration element to which the configuration element belongs.
  • whether the configuration package is set to be unmodifiable by carrying in the Descriptor file Whether to configure the configuration package to be activated, whether to configure the configuration package as default, and other personalized configuration information, to realize the personalized configuration of the configuration package after the terminal is installed; to identify the LFC client by the application identifier (ApplicationlD), and the MIME type ( MIME type ) identifies the configuration packet type, and implements the use of various mechanisms to deliver the LFC configuration package.
  • the configuration package, configuration items, and configuration elements in the personalized configuration of the terminal are implemented for remote management.
  • the mapping method of the configuration package to the management MO enables subsequent management of the configuration package delivered to the terminal, and the authority of the DMS can be verified, thereby realizing the configuration and management of the personalized attributes of the terminal through the network.
  • the operation may further include: checking an operation authority of the device management server, where the specific step may be:
  • the server identifier of the device management server is recorded; when the configuration package and/or the configuration element is set as the modifiable command And determining whether the server identifier of the device management server that is set to be unmodifiable is the same as the server identifier of the device management server that is set as the modifiable command, if yes, executing the instruction; otherwise, rejecting the execution;
  • the server identifier of the device management server is recorded; after receiving the unlocking instruction of the configuration package and/or the configuration element, determining to issue the lock instruction Whether the server identifier of the device management server and the server identifier of the device management server of the lower unlocking instruction are consistent. If they are consistent, the instruction is executed; otherwise, the execution is rejected.
  • FIG. 9 is a schematic structural diagram of Embodiment 1 of a device for configuring a terminal device according to the present invention.
  • This embodiment includes a receiving module 10 and an operating module 20 that are connected to each other.
  • the receiving module 10 is configured to receive a configuration package that carries the personalized configuration information
  • the operation module 20 is configured to perform operation management on the configuration package according to the personalized configuration information.
  • the personalized configuration information includes one or more of the following identifiers: Configuration package identifier
  • PackagelD ( PackagelD ), authentication policy (AuthPolicy ), server ID ( ServerlD ), whether to set the configuration package to the unmodifiable ID (Modifiable ), whether to set the configuration package as the active identifier
  • ElementType source file
  • Modifiable whether to set the configuration element to an unmodifiable identifier
  • Activity Whether to set the configuration element to the active ID (Actived ) and whether to set the configuration element as the default ( Default ).
  • the operation module realizes, according to whether the parameter carried in the configuration package received by the receiving module sets the configuration package to be unmodifiable, whether the configuration package is activated, whether the configuration package is set to default, or the like, and the personalized configuration information is implemented. Configure and manage the personalized attributes of the terminal through the network.
  • FIG. 10 is a schematic structural diagram of Embodiment 2 of a device for configuring a terminal device according to the present invention.
  • the operation module 20 in this embodiment may include the interchange sub-module 21 and the installation sub-module 22 connected to each other.
  • the handover sub-module 21 is connected to the receiving module 10 for forwarding the configuration package received by the receiving module 10; the installation sub-module 22 is configured to: according to the personalized configuration information carried in the configuration package, after receiving the configuration package, Install the configuration package.
  • the mounting sub-module 22 therein may further include a first identification unit 221 and an installation unit 222 that are connected to each other.
  • the first identification unit 221 is connected to the handover sub-module 21 for identifying the configuration information carried in the configuration package.
  • the installation unit 222 is connected to the handover sub-module 21 for installing the configuration package, and according to the first identification unit 221
  • the identification result is set for the installed configuration package, which can be:
  • the configuration package carries an identifier that is set to be unmodifiable, if the value of the identifier is set to be unmodifiable, the configuration package is set to be unmodifiable after installation; The value of the configuration package is made modifiable, then the configuration package is set to be modifiable after installation;
  • the configuration package carries an identifier for setting the configuration package to be activated, if the value of the identifier is set to be activated, the configuration package is set to be activated after the configuration package is installed; if the value of the identifier is Set the configuration package to inactive, then set the configuration package to inactive after the configuration package is installed.
  • the configuration package carries the identifier of whether the configuration package is set as the default, if the value of the identifier is set to the default, the configuration package is set to default after the configuration package is installed; if the value of the identifier is Set the configuration package to non-default, then configure the package to be non-default after installation.
  • the configuration package carries an identifier that requires user interaction, if the value of the identifier prompts the user to confirm, the installation process prompts the user to confirm; if the value of the identifier is an information reminder, the installation process only performs information reminding; If the value of the identifier allows the user to modify, the installation process allows the user to modify; if the value of the identifier does not prompt the user to confirm, the installation process does not prompt the user to confirm; if the configuration package carries whether to activate the configuration element Identification, if the value of the identifier is If the configuration element is activated, the corresponding configuration element is set to be activated after the configuration package is installed; if the value of the identifier is set to inactive, the corresponding configuration element is set to be inactive after the configuration package is installed; The configuration package carries an identifier for setting the configuration element to be unmodifiable.
  • the configuration element is set to be unmodifiable after the configuration package is installed;
  • the value of the configuration package is set to be modifiable, and the corresponding configuration element is set to be modifiable after installation;
  • the configuration package carries an identifier that sets the configuration element as the default, if the value of the identifier is set to the default by the configuration element, the corresponding configuration element is set as the default after the configuration package is installed; If the value is set to non-default, the configuration package will be set to non-default after the configuration package is installed.
  • the operation module 20 in this embodiment may further include a mapping submodule 23 connected to the installation submodule 22 for mapping the configuration package to the data node of the management object before the installation submodule 22 installs the configuration package; or After the installation sub-module 22 installs the configuration package, information such as configuration information, configuration package status, and operation authority in the configuration package is mapped to the corresponding node of the management object.
  • the mapping sub-module 23 may include a second identifying unit 231 and a mapping unit 232 that are connected to each other.
  • the second identification unit 231 is connected to the handover sub-module 21 and the installation unit 222, respectively, for identifying the configuration information carried in the configuration package after the installation unit 222 completes the installation of the configuration package; the mapping unit 232 is configured to: The information in the configuration package is mapped to the corresponding node of the management object according to the recognition result of the second identification unit 231.
  • the mapping unit 232 therein may further include a mapping subunit, a first setting subunit, and a second setting subunit.
  • the mapping subunit is connected to the second identifying unit, and configured to map, according to the identification result of the second identifying unit, the value of the identifier carried by the configuration packet to a corresponding node under the configuration packet management subtree on the management object.
  • the first setting subunit is connected to the second identifying unit, configured to set the default reference node and the active reference node according to the recognition result of the second identifying unit, and the state node under the configuration package and/or the management subtree
  • the setting is performed;
  • the second setting subunit is connected to the second identifying unit, and is configured to set an access control authority of the management object according to the recognition result of the second identifying unit.
  • it can be:
  • the mapping sub-unit assigns the value of the identifier to the node in the configuration package management sub-tree that sets the configuration package as the default; If the configuration package carries an identifier for setting the configuration packet to be unmodifiable, the mapping subunit assigns the value of the identifier to the node in the configuration package management subtree that is configured to be unmodifiable;
  • the mapping subunit assigns the value of the identifier to the node of the identifier in the configuration package management subtree that prompts the user to confirm;
  • the mapping subunit assigns the value of the identifier to the node of the configuration package identifier in the configuration package management subtree;
  • the status value of the configuration package is assigned to the status node of the configuration package management subtree;
  • the configuration package carries an identifier that sets the configuration element as the default, if the value of the identifier is to set the configuration package to the default, the first setting sub-unit assigns the corresponding element identifier to the default reference node;
  • the configuration packet carries an identifier that sets the configuration element to be activated, if the value of the identifier is to activate the configuration element, assign the corresponding element identifier to the activation reference node;
  • the mapping subunit assigns the value of the identifier to a node under the configuration element management subtree that sets the configuration element to an unmodifiable node;
  • the status value of the configuration element is assigned to the status node of the configuration element management subtree;
  • the second setting sub-unit sets the access control authority to the management object for the management server according to the verification policy.
  • the operation module 20 in this embodiment may further include a management sub-module 24, which is connected to the installation sub-module 22, and configured to execute the device management instruction after receiving the device management instruction issued by the device management server, where the device management Instructions include configuration package installation, installation activation instructions, activation instructions, deactivation instructions, lock instructions, unlock instructions, delete instructions, set to modifiable or non-modifiable instructions, default or non-default instructions, or activation instructions for configuration elements , Deactivate command, Lock command, Unlock command, Set as modifiable or non-modifiable command, Set as default or non-default.
  • the management sub-module 24 may include a management unit 241, a third identification unit 242, and a setting unit 243 that are sequentially connected.
  • the management unit 241 is connected to the installation unit 222 and the mapping unit 232, and is configured to execute the device management command after receiving the device management instruction issued by the device management server. After the management unit 241 executes the device management command, the configuration is performed. The state of the packet is changed, and the third identifying unit 242 is configured to identify the state of the configuration packet and/or the configuration element after the management unit 241 executes the device management command.
  • the setting unit 243 is configured to use the recognition result of the third identifying unit 242. Set the value of the state node, which can be:
  • the setting unit 243 sets the value of the status node to be installed and not activated
  • the setting unit 243 sets the value of the status node to be installed and activated;
  • the setting unit 243 sets the value of the status node to the installed activation; if the configuration package is deactivated successfully, the setting unit 243 sets the value of the status node to be installed and not activated;
  • the setting unit 243 sets the value of the status node to the installed activation lock
  • the setting unit 243 sets the value of the status node to the installed activation; if the configuration element is successfully activated, the setting unit 243 sets the value of the status node to the installation activated;
  • the setting unit 243 sets the value of the status node to be installed and is not activated;
  • the setting unit 243 sets the value of the state node to the installed activation lock
  • the setting unit 243 sets the value of the status node to the installed activation
  • the configuration packet received by the receiving module carries the personalized configuration information carried in the configuration package in the embodiment of the present invention, for example, whether the configuration packet is set as an unmodifiable identifier, and whether the configuration packet is set.
  • the present invention can be implemented by hardware or by software plus a necessary general hardware platform.
  • the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Description

终端设备的配置方法和装置 技术领域
本发明涉及移动通信领域, 尤其是一种终端设备的配置方法和装置。 背景技术
设备管理(Device Management, DM )规范提供了一种低成本方案, 主 要用于第三方管理和设置无线网络中终端设备(例如: 移动终端及终端中的 功能对象) 的环境和配置信息, 以解决这些终端设备在使用过程中所遇到的 问题, 通过空中下载 (Over The Air, OTA)方式进行软件和固件的安装、 升级 等操作, 并提供更加人性化和个性化的服务, 提高了用户体验。 上述的第三 方可以是移动运营商、 业务提供商或者合作方的信息管理部门。
随着数据业务的发展, 越来越多的内容需要通过移动网络下发到移动终 端,移动网内容传送的无线空中推送( Push OTA )和空中下载( Download OTA, DL OTA ) 内容传送机制也随之发展。 其中, Push OTA协议是一种无线内容 传输协议, 它允许服务器把内容"推送"到移动终端; DL OTA协议是一个柔性 的下载机制,它允许服务器把内容"推送"到移动终端,也允许终端把内容"拉" 到本地。
每个支持 DM 的终端都存在一个管理树, 在管理树上存放管理对象 ( Management Object, MO ),管理对象是终端相对于设备管理服务器( Device Management Server, DMS )的管理接口, DMS通过向终端下发操作终端管理 树上管理对象的命令以实现对终端的管理。 如图 1所示, 为现有技术中对终 端进行个性化配置的管理对象的组织方式示意图。 基于该管理对象实现的具 体的配置流程如下 (以 DMS下发并配置 ScreenSaver为例说明):
DMS在终端管理 4对的 Customization/ ScreenSavers/ AvailableScreenSavers 节点下添加对终端 ScreenSaver进行个性化配置的管理节点及其子节点;
DMS用 Replace命令把 ScreenSaver的配置文件下发到 Data节点, 用 Replace命令 ·ί巴酉己置文件的酉己置属' I"生下发 ^1] InstallOptions节点; 管理节点的值;
终端根据 ActiveSc的值激活对应的 ScreenSaver。 不能对配置元素进行锁定、 激活 /去激活、 设为默认等操作管理; 不能对配置包进行锁定、 激活 /去激活、 设为默认等操作管理; 不支持以非 DM方式下发配置包和配置元素。 发明内容
本发明实施例提供一种终端设备的配置方法和装置, 用以实现终端根据 接收到的任何下载机制下发的配置包中的配置信息对配置包和 /或配置元素 进行操作管理。
本发明实施例提供了一种终端设备的配置方法, 包括:
接收携带有个性化配置信息的配置包;
根据所述个性化配置信息, 对所述配置包进行安装。
本发明实施例还提供了一种终端设备的配置装置, 包括:
接收模块, 用于接收携带有个性化配置信息的配置包;
操作模块, 用于根据所述个性化配置信息, 对所述配置包进行安装。 本发明实施例通过配置包中携带有是否把配置包设为不可修改的标识、 是否把配置包设为激活的标识、 是否把配置包设为默认的标识等个性化配置 信息, 从而实现了通过网络对终端的个性化属性进行配置和管理。 附图说明
图 1 为现有技术中对终端进行个性化配置的管理对象的组织方式示意 图;
图 2为本发明终端设备的配置方法的实施例一的流程示意图;
图 3为本发明终端设备的配置方法的实施例一中配置包属性和配置元素 属性的一种基于可扩展置标语言的组织方式示意图;
图 4为本发明终端设备的配置方法的实施例一中配置包与配置元素的管 理对象的组织方式示意图; 图 5为本发明终端设备的配置方法的实施例一中终端 MO上配置包管理 子树的示意图;
图 6为本发明终端设备的配置方法的实施例二的流程示意图;
图 Ί为本发明终端设备的配置方法的实施例二中对配置包进行操作管理 对应的状态迁移示意图;
图 8为本发明终端设备的配置方法的实施例二中对配置元素进行操作管 理对应的状态迁移示意图;
图 9为本发明终端设备的配置装置的实施例一的结构示意图;
图 10为本发明终端设备的配置装置的实施例二的结构示意图。 具体实施方式
下面结合附图对本发明的具体实施例作进一步详细的说明。
如图 2所示, 为本发明终端设备的配置方法的实施例一的流程示意图。 本实施例涉及个性化配置项的配置, 具体包括以下步骤:
步骤 101、 网络侧向移动终端下发携带有外观定制 (Look and Feel Customization, LFC ) 的个性化配制信息的配置包;
其中的配置包由描述文件(包括配置包属性、 配置元素属性)及配置内 容文件组成。 配置包内可以没有描述文件, 但必须有配置内容文件。 配置包 属性包括下列属性中的一个或多个: 配置包标识(PackagelD ), 是否可修改 ( Modifiable ), 是否激活 (Actived ), 是否设为默认( Default ), 是否需要用 户确认 ( NeedUserConfirm ), 验证策略(AuthPolicy ), 元素集( Elements et )。 其中 AuthPolicy属性下可以有一个或多个服务器标识( ServerlD ), AuthPolicy 也可以是一个值; ElementSet 中包含一个或多个配置元素 (Element ), 每个 Element有下列属性中的一个或多个: 配置元素标识 ( ElementID ), 配置项 ( ElementType ), 是否可修改( Modifiable ), 是否激活( Actived ), 设为默认 ( Default ), 源文件 (src )。 如图 3所示, 为本发明终端设备的配置方法的实 施例一中配置包属性和配置元素属性的一种基于可扩展置标语言(Extensible Markup Language, XML ) 的组织方式示意图。 各元素描述如下: 元素名 类型 作用描述
Descriptor/PackagelD 字 符 型 包的唯一标识, 由网络侧 (如内容
( string ) 服务器或者由 LFC管理服务器)提供。
Descriptor/Modifiable 布 尔 型 指示是否在安装后把把配置包设为
( Boolean ) 不可修改, (即终端不可以对其进行更 新); 安装即安装或部署, 包括巴一个文 件拷贝到合适的地方; 配置包设为不可 修改是指配置包不可被更新, 但可以被 激活 /去激活、锁定 /解锁或删除,且配置 包内所有配置元素设为不可修改, 即配 置包内的配置元素不可被更新 , 但可以 被激活 /去激活、 锁定 /解锁或删除。
Descriptor/Actived Boolean 指示是否在安装后把配置包激活, 配置包激活是^!巴配置包内所有配置元素 的激活; 配置元素的激活是指把配置项 的当前值设置为该配置元素; 去激活是 指把配置项的当前值改为默认配置元素 或者前一次的激活对象。
Descriptor/Default Boolean 安装后, 指示是否把配置包设为默 认; 把配置包设为默认是指把配置包内 所有配置元素设为对应配置项的默认配 置元素; 配置项的默认配置元素是指配 置项的默认值。
Descriptor/NeedUserConfirm Boolean 安装过程中, 指示是否允许用户交 互, 其取值可以有多种方式。
Descriptor/ AuthPolicy 后续管理的权限验证策略, 作用是 为管理服务器分配访问控制权限, 其下 可以是一个或多个管理服务器标识。
Descriptor/ AuthPolicy/ServerlD 后续管理服务器标识。 Descriptor/ElementSet 配置元素集, 其下子元素是一个或 多个配置元素。
Descriptor/ElementSet/Element 配置元素。
Descriptor/ElementSet/Element string 配置元素的标识, 由网絡侧提供, /ElementID 网絡侧的实体可以但不限于是内容服务 器、 LFC Server。
Descriptor/ElementSet/Element string 用于标识终端 LFC配置项, 例如: /ElementType 屏保, 墙纸都属于一个配置项。
Descriptor/ElementSet/Element Boobean 指示是否把该元素的设为不可修 /Modifiable 改。
Descriptor/ElementSet/Element Boobean 指示是否把该元素设为激活。
/Actived
Descriptor/ElementSet/Element Boobean 指示是否把该元素设为默认。
/Default
Descriptor/ElementSet/Element 指示该元素的内容文件, 它可以是 /Src 配置元素文件的位置, 也可以是配置元 素文件本身。
另外, 对于配置包数据结构的说明如下:
一个配置包可以包含 Descriptor描述文件和一个或多个配置内容文件。 配置内容文件可能是主题包, 图片, 铃声文件等各种可以安装在手机上或者 可以对手机进行配置的各种文件。配置包中 Descriptor描述文件出现个数是 1 或 0。 当没有 Descriptor元素时, 配置内容文件是可安装的配置包。
Descriptor/NeedUserConfirm元素取值可以是 True/False, true表示需要终 端用户确认。 False表示不需要终端用户确认; 也可以是一组值, 例如:
取值 意义
01 信息提醒 ( Informational )
02 是否允许用户修改(Changeable )安装和配置过程
03 提醒用户确认(OKORCancel ), 用户确认后, 方可继续
04 不提醒用户确认 ( AlwaysNoConfirm ) AuthPolicy中包含的子元素可以为一个或多个管理服务器标识 当有多个 ServerlD时, AuthPolicy的表示方式可以有如下两种:
<AuthPolicy>
< S erverID> S erverA</S erverID>
<ServerID>ServerB</ServerID>
</AuthPolicy>
或者把 ServerlD的值用 "+"串起来, 例如:
<AuthPolicy>
<ServerID>ServerA+ServerB</ServerID>
</AuthPolicy>
ServerlD可以用 "*"表示任何服务器。 例如:
<AuthPolicy>
<ServerID>*</ServerID>
</AuthPolicy>
Descriptor/ElementSet/Element/src 元素可以表示配置内容文件在包中的 位置, 也可以是配置内容文件本身。
当 src元素作为配置内容文件的标识时,该元素可以是配置内容文件中配 置包中的 URI; 该元素还可以是配置内容文件的文件名; 该元素也可以是一 个 XML格式的文件集, 文件集中有一个或多个文件, 例如:
URI: <src>Jtheme . thm </src>
文件名: <src>wallpaper.jpg </src>
文件集:
<src>
<fileset>
<files>Jwall.jpg</files>
<files>Jwall2.jpg</files>
</fileset>
</src>
当 src元素是配置内容文件本身时, 其下有配置内容文件的 Meta信息和 Data信息。 Meta信息为配置内容文件的文件名和类型, Data信息为配置内容 文件的数据, 比如二进制数据。 例如:
<src>
<Meta>
<Name>wallpaper 1.jpg</Name>
<Type> image/jpeg</Type>
</Meta>
<Data >fag3134fdsa</Data> <!--- 配置内容文件 —->
</src>
如图 4所示, 为本发明终端设备的配置方法的实施例一中配置包与配置 元素的管理对象的组织方式示意图。 其中的关键节点说明如下:
节点 出现 格 式 最小访 格式
次数 (Format) 问权限
( Min
Access
Types )
LFC/Package/<X> 令或 ^ 获 取
次 ( Get )
字 符 型 此节点是配置包的管理节
( Zero
( Chr ) 点。
OrMore
)
LFC/Package/<X>/pa 一 次 Get 网络侧提供, 唯一标识一
Chr
ckagelD ( One ) 个 Package。
LFC/Package/<X>/D Default标识是否巴配置包 efault 零或一 设为默认, 即把配置包内所有 次 配置元素设为对应配置项的默
Boolean Get
( Zero 认配置元素; DMS 通过管理 OrOne ) 这个节点的值,对 Package设为 默认, 或设为非默认。 LFC/Package/<X>/M Modifiable是把 Package内
ZeroOr
odifiable Boolean Get 配置元素设置为是否可修改的
One
节点。
LFC/Package/<X>/N NeedUserConfirm 节点标
ZeroOr
eedUserConfirm Boolean Get 识配置包的安装过程是否需要
One
用户交互。
LFC/Package/<X>/St 用于指示终端 Package 的
One Chr Get
ate 状态。
LFC/Package/<X>/D 不允许 用于存放配置包数据, ata 二 进 制 获 取 DMS可以用 Replace命令对其
One
( Bin ) ( Not 进行赋值。
Get )
LFC/Package/<X>/0 这些是可执行节点, DMS peration下: 通过下发 Exec命令, 对所下发 Install, InstallActive, 的配置包分别执行安装、 安装 active , Deactive , 激活、 激活、去激活、锁定(前 Lock , Unlock , 提是包已经被 Active ), 解锁、 Remove 移除操作; 安装操作指安装后 不激活配置包; 安装激活操作 指安装后激活配置包; 对配置 执 行
One (无) null 包的激活是指把配置包内所有
( Exec )
的配置元素设为激活; 去激活 是指把配置项的当前值改为默 认配置元素或前一个激活对 象; 配置元素的锁定是指锁定 处于激活状态的配置元素, 使 之不能被去激活; 配置包被 Lock后, 只能被 Unlock, 不能 被 Active , Deactive , Remove 等; 解锁是指解除配置包或配 置元素的锁定状态。
LFC/Element/<X> ZeroOr Chr Get 终端配置项的管理节点。
More
LFC/Element/<X>/El 指示终端的配置项。
One Chr Get
ementType
LFC/Element/<X>/D 配置项的默认配置元素。
One Chr Get
efault ef
LFC/Element/<X>/A One Chr 配置项的当前值, 即处于
Get
ctived ef 激活状态的配置元素。
LFC/Element/<X>/A ZeroOr Chr Get 配置元素的管理节点。 vailableList/<Y> More
LFC/Element/<X>/A One Chr Get 配置元素的标识。 此节点 vailableList/<Y>Ele 由终端创建, 其值由网络侧提 mentID 供。
LFC/Element/<X>/A 标识配置元素是否设为不
ZeroOr
vailableList/<Y>Mod Boolean Get 可修改。
One
ifiable
LFC/Element/<X>/A ZeroOr Chr Get 配置元素所属的配置包的 vailableList/<Y>/Pkg One PackageID。
ef
LFC/Element/<X>/A ZeroOr Chr Get 指示配置元素的状态。 vailableList/<Y>/Stat One
e
LFC/Element/<X>/A ZeroOr Null Exec 配置元素的锁定、 解锁、 vailableList/<Y>/Ope One 删除操作的可执行节点。 ration下:
Lock 、 Unlock 、
Figure imgf000012_0001
其中部分节点的其他说明如下:
NeedUserConfirm节点的值可以是 ture/false , 也可以是一组值, 例如:
Figure imgf000012_0002
LFC/Package/<X>/State 节点和 LFC/ Element/ <X>/ AvailableList/ <Y>State分别用来指示终端配置包的状态和配置元素的状态,两个 State节点 的取值如下:
Figure imgf000012_0003
酉己置元素的^ 态只有 InstallActived, InstallDeactived, InstallActiveLocked„ 网络侧把 LFC的配置信息和配置内容文件打包成配置包, 下发到移动终 端。 配置包的打包方法为: 按照图 3所示描述文件(Descriptor ) 的格式, 把 Descriptor下的所有属性组织成描述文件,然后把具体的配置内容文件和该描 述文件打包。 也可以把配置内容文件放在描述文件中打包。 这两种打包的具 体方法^口下:
方法 1、 描述文件独立于配置内容文件, 将描述文件和配置内容文件打 包成 LFC配置包。 按照图 3格式组织的描述文件实例如下:
<Package> <PackageID>pkg 123</PackageID>
<Modifiable>true<Modifiable>
<Actived>true</Actived>
<Default>true</Default>
<ElementSet>
<Element>
<ElementType>wallpaper</ElementType>
<ElementID>cp.wallpaper.OO 1 </ElementID>
<Actived>true</Actived>
<src>./wall.jpg</src> <!--内容文件相对于描述文件的相对路径 >
</Element>
</ElementSet>
</Package>
打包指将描述文件和内容文件集成为终端可解析的文件包, 例如: 将描 述文件和内容文件压缩到一个 ZIP文件中。
方法 2、 把配置内容文件放入描述文件中打包, 其与方法 1描述文件的 区别在于, 方法 1 描述文件中的 <Package>/<ElementSet>/<Element>/<src>it 素的值为具体内容文件相对于该描述文件的相对路径, 而本方法中该元素的 值则为内容文件的内容本身 (可以包括其元属性 <Meta> ), 该元素实例如下: <src> <!- 以下为内容文件及其元属性 —>
<Meta>
<Name>wallpaper 1.jpg</Name>
<Type> image/jpeg</Type>
</Meta>
<Data >fag3134fdsa</Data> <!— 内容文件 —- >
</src>
网络侧下发配置包到移动终端的方式可以是各种下载机制。 下面是分别 使用 PUSH OTA、 DL OTA和 OMA DM协议下发配置包到终端的方法, 具体 ^口下: 1、 利用 PUSH方式下发 LFC配置包到终端
首先为 LFC客户端注册一个应用程序标识(ApplicationlD ), 用来标识 LFC客户端程序, 该 ApplicationlD例如:
Figure imgf000014_0001
绑定到 push OTA的流程可以分为两个步骤: A、 发起连接; B、 下发内 容。
A、 发起连接;
a、 PUSH OTA基于无线会话协议( Wireless Session Protocol, WSP ) 推送代理网关( Push Proxy Gateway, PPG )发送会话发起请求(Session Initiate Request , SIR ) 到客户端的会话发起应用程序 ( Session Initiate Application, SIA )。 其中, SIR 中 X-Wap-Application-Id 参数值为 LFC 的 ApplicationsID; SIA由 ApplicationlD标识。
客户端接收到 SIR 后, 和 PPG 建立连接, 连接中需携带 Accept- Application参数, 在 accept-application参数中携带 ApplicationlD , 告 知 PPG发起连接的应用是 LFC客户端程序。 具体如下:
Accept- Application = "Accept- Application" ":" app-ranges
App-ranges = ( #urn:x-wap-application:lfc.ua );
b、 PUSH OTA基于超文本传输协议( HyperText Transport Protocol, HTTP ) 终 端 在 向 PPG 注 册 时 , 利 用 CPIHeader 参 数 中 的
X-Wap-Push-Accept-AppID项, 4巴 LFC客户端的 ApplicationlD注册到 PPG, PPG緩存终端的 CPI ( Capability and Presence Information )信息。
PPG发送 SIR到终端的 SIA, SIA由 ApplicationlD标识。
客户端接收到 SIR后, 就和 PPG建立连接会话。
B、 下发内容;
a、 PUSH OTA基于 WSP
PPG和终端建立连接后,利用 PUSH操作元语中 push body参数下发 LFC 的配置包。
b、 PUSH OTA基于 HTTP PPG利用 http协议中的 post请求把 LFC配置包下发到 LFC客户端。 2、 利用 DL OTA下发 LFC配置包到终端
首先为 LFC 配置包注册一个多用途互联网邮件扩展 (Multipurpose Internet Mail Extensions, MIME )类型, 例^口:
Figure imgf000015_0001
具体步骤如下:
A、 网络侧为 LFC配置包生成下载描述文件( Download Descriptor, DD ) 文件, 可以是内容服务器, 也可以是 LFC服务器或者 Download服务器, 该 文件中的. /product/mediaObject/type元素值设置为 LFC配置包的 MIME type 值;
B、 Download客户端获取该 DD,并根据该 DD文件所指示 URI获取 LFC 配置包数据;
C、 Download客户端获取 LFC 配置包后, 从 Download Descriptor. xml 的 Jproduct/mediaObject/type元素值得到配置包的 MIME Type, 根据该 MIME 所指示类型把该配置包交由相应处理程序进行处理(这里即交由 LFC客户端 处理)。
3、 利用 DM方式下发 LFC配置包到终端
DMS在终端的 MO上创建配置包的管理子树,此管理子树是配置包与配 置元素管理对象(图 4所示)上配置包管理子树的一个精简版本。 如图 5所 示, 为本发明终端设备的配置方法的实施例一中终端 MO上配置包管理子树 的示意图。 配置包管理子树的节点中, <X>节点, Data节点, PackagelD节点 为必选, 其他节点为可选。 具体方法如下:
DMS 在终端管理树上创建配置包的管理节点 <X>, 在 <X>节点下创建 Data节点, 并把配置包数据下发到 Data节点, 下发可以用 Replace命令;
DMS可以管理节点 <X>下创建 PackagelD节点, 并为其赋值。 具体方式 可以在创建节点时用 Add命令携带 PackagelD的值, 也可以用 Replace命令 下发 PackagelD的值;
DMS可以管理节点 <X>下创建 Modifiable节点, 并为其赋值。 具体方式 可以在创建节点时用 Add命令携带 Modifiable的值, 也可以用 Replace命令 下发 Modifiable的值;
DMS可以管理节点 <X>下创建 Default节点, 并为其赋值。 具体方式可 以在创建节点时用 Add命令携带 Default的值, 也可以用 Replace命令下发 Default的值;
步骤 102、 移动终端根据上述个性化配制信息对配置包进行安装; 配置包的安装根据其下发的方式不同而不同, 下面将以非 DM方式下发 的配置包的安装方式与 DM方式下发的配置包的安装方式来具体说明:
1、 非 DM方式下发的配置包的安装
LFC客户端接收到非 DM方式下发的配置包后, 解析 Descriptor文件, 然后根据 Descriptor文件中的指示安装 LFC配置包, 具体如下:
若解析出 Descriptor元素下含有 PackagelD元素, 则终端记录 PackagelD 的值;
若解析出 Descriptor元素下含有 Modifiable元素,若 Modifiable元素值为 true, 则 LFC客户端安装配置包后, 把属于配置包内的所有元素设为不可修 改; 若 Modifiable元素值为 flase, 则不做相应设置;
若解析出 Descriptor元素下含有 Actived元素, 若 Actived元素值为 true, 则 LFC客户端安装配置包后, 把属于配置包内的所有配置元素激活, 即把该 配置元素设置为配置项的当前值; 若 Actived元素值为 false, 则安装配置包 后把配置包设为未激活, 配置包处于未激活状态;
若解析出 Descriptor元素下不含 Actived元素, 则 LFC客户端安装配置 包后, 不激活属于配置包内的所有配置元素; 也可以由终端确定是否把配置 包内的所有元素激活;
若解析出 Descriptor元素下含有 Default元素, 若 Default元素值为 true , 则安装配置包后,把属于配置包的所有元素设为该元素对应配置项的默认值; 若 Default元素值为 false, 则不做相应设置;
若解析出 Descriptor元素下含有 NeedUserConfirm元素, 则终端根据 NeedUserConfirm元素的值, 对配置包安装过程中是否需要用户确认进行设 置: 若 NeedUserConfirm元素值为 true,则对配置包的安装过程和对配置元素 的配置过程要求提醒用户确认; 若 NeedUserConfirm元素值为 false, 则对配 置包的安装过程或对配置元素的配置过程不提醒用户确认; NeedUserConfirm 元素也可能是其他取值, 如 Informational , Changeable , OKORCancel 或 AlwaysNoConfirm (其含义参照前述结构描述部分), 终端根据其值含义为用 户提供相应的 UI交互;
若解析出 Descriptor元素中不含有 ElementSet元素, 则^配置包作为一 个安装包进行安装部署;
若解析出 Descriptor元素中含有 ElementSet元素, 且 ElementSet元素含 有一个或者多个 Element元素,每个 Element元素对应一个配置元素,该配置 元素则根据 Element元素下的各子元素值对配置元素进行相应配置, 具体方 法如下:
若 Element元素下存在 ElementID元素, 则终端记录该值, 并与具体配 置元素对应;
若 Element元素下存在 ElementType元素, 则根据 src元素的值把配置内 容文件安装或部署到 ElementType的对应的配置项上:若 src元素为配置文件 的标识, 则终端根据该标识找到对应的配置内容文件, 并安装配置内容文件; 若 src元素为配置内容文件的 Meta信息和 Data内容, 则直接安装 src元素下 的配置内容文件;
若 Element元素下存在 Modifiable元素, 若 Modifiable元素值为 false, 则配置包安装后, 终端把对应配置元素设置为不可修改; 对应的配置元素即 指 src元素下的配置元素。
若 Element元素下存在 Actived元素, 若 Actived元素值为 true, 则配置 包安装后, 终端把对应的配置元素激活, 即把该配置元素设置为配置项的当 前值; 若 Actived元素值为 false, 则保持安装后的配置元素为未激活状态; 对应的配置元素即指 src元素下的配置元素。
若 Element元素下存在 Default元素,若 Default元素值为 true, 则配置包 安装后, 把对应的配置元素设为对应配置项的默认值。 对应的配置元素即指 src元素下的配置元素。
ElementSet元素中若含有多个 Element元素时, 则重复上述过程。
LFC客户端接收到非 DM方式下发的配置包后, 若 LFC配置包中没有
Descriptor文件, 则 LFC客户端直接对配置包执行安装。
2、 DM方式下发的配置包的安装
DMS可以在终端管理树上配置的 MO上增加 Opertion/Install节点, 对 Install节点下发 Exec命令, 命令终端安装配置包。
DMS还可以在终端管理树上的配置 MO上增加 Opertion/InstallAcitve节 点 , 对 InstallActive节点下发 Exec命令 , 命令终端激活配置包。
终端在接收到上述命令后, 分别执行安装和激活的动作。
A、 安装过程
终端首先检查配置包的 MO, 即网络侧以 DM方式下发配置包时, 检查 配置包的管理节点下是否含有 Default节点和 Modifiable节点,若 MO上含有 Default节点, 则不管配置包中 Descriptor文件中是否含有 Default元素, 都以 MO上 Default节点的值对配置包进行配置: 若 Default节点值为 true, 则安装 配置包后 ,把配置包内的所有元素设为对应配置项的默认配置元素 ,若 Default 节点值为 false, 则不做相应设置; 若 MO上含有 Modifiable节点, 则不管配 置包中 Descriptor文件中是否含有 Modifiable元素, 都以 MO上 Modifiable 节点的值对配置包进行配置: 若 Modifiable节点值为 true, 则安装配置包后, 把配置包内的所有元素设为不可修改, 若 Modifiable节点值为 false, 则不做 相应设置;若配置包的 MO管理节点下不含有 Default节点和 Modifiable节点, 则完全依照 Descriptor文件中元素值进行设置, 具体方式参见以非 DM方式 下发配置包的安装方法。
随后终端将包里的元素 (具体元素或主题包)拷贝到终端元素库中, 终 端即可检测并使用该外观元素。
B、 激活过程
若配置包的管理节点 <X>下 Actived节点值为 true, 或者配置包管理节点 <X>下不含 Actived节点, 则终端安装配置包后, 把配置包内的所有配置元素 激活。 如图 6所示, 为本发明终端设备的配置方法的实施例二的流程示意图。 本实施例涉及对终端已配置的配置项、 配置包和配置元素的管理, 具体包括 以下步骤:
步骤 201 : 在进行管理之前, 首先需要在终端管理树上添加 MO。
MO及 MO上 Package节点下管理节点及其子树可以由终端生成, 也可 以是 DMS生成, MO上 Element节点下节点由终端生成。
具体在终端管理树上添加 MO的方法可以分为两种情况, 一种是配置包 基于 DM协议下发; 另一种是配置包基于其它下载机制下发。
1、 配置包是通过 DM协议由 dms下发
如前述 MO , 设备管理服务器在终端管理树上添加 Package/<X>、 Package/<X>/Data节点。 PackagelD节点可以由 DMS生成, 也可以由终端生 成。 Package/<X>节点下的其他节点, 例如: Default, Modifiable, State, 以 及 Operation节点下的可执行子节点可以由终端生成, 也可以由 DMS生成。
2、 配置包由其他下载机制下发
配置包由其他方式下发时, MO中的 Package下管理节点及其子节点都由 终端生成。 其中, PackageID、 Default, Modifiable等节点值可以从配置包的 相应元素得到。 State 节点值为根据 Descriptor 安装后的配置包状态。 若 Descriptor中无相应内容, 则终端将其设定为默认值。
Operation下执行节点 ^口 Install, Active , Deactive , Lock, Unlock, Remove, 这些节点是终端相对与于 DMS进行管理的操作接口。 Package下的管理节点 及其子树由终端生成时, 则 Operation下生成哪些节点由终端决定。 若终端不 生成这些节点, 则 DMS没有对该配置包进行相关操作的接口。 例如: 若终端 在该配置包下只生成了 Install , Active , Deactive , Remove节点, 则 DMS只 能进行这四项操作, 不能对 Package进行 Lock/Unlock操作。 若 DMS有在 Operation节点下创建子节点的权限, DMS可以在后续管理中继续在 Operation 节点下添加可执行节点, 然后对相关节点进行操作。
Element节点下管理节点及其子树的全部由终端创建。其生成后访问控制 权限赋予方法为: <Y>节点的访问控制列表( Access Control Lists, ACL ) ACL 值继承该配置元素所属配置包的管理节点的 ACL , Operation下可执行节点的 ACL值继承该配置元素所属配置包的管理节点下 Operation下对应当可执行 节点的 ACL;
步骤 202: 终端根据接收到的 DM命令, 对配置项、 配置包、 配置元素 进行操作管理。
1、 对配置包的管理
如图 7所示, 为本发明终端设备的配置方法的实施例二中对配置包进行 操作管理对应的状态迁移示意图, 其中的操作管理包括 Install , InstallActive , Remove, Active, Deactive, Lock, Unlock„ DMS下发 Exec命令到对应节点, 指示终端执行对应操作。 终端收到命令后, 执行相关操作, 并更新配置包状 态, 该配置包状态值记录在 State 节点值, 可能状态值为: 下载未安装 ( Downloaded ),安装并激活( InstallActived ),安装未激活( InstallDeactived ), 安装并激活而且锁定( InstallActivedLocked )。
终端执行 Unlock命令后 , 将配置包状态更新为 InstallActived状态; 终端收到 Active命令, 则终端把配置包下所有配置元素都激活。 具体方 式则是根据配置元素管理节点下 pkgRef节点值, 找到属于该 Package的所有 配置元素 , 然后把对应配置项的 ActivedRef设为配置元素的 ElementID。
对于把配置包设为默认、 设为不可修改的操作, DMS用 Replace命令更 改 MO上 Default, Modifiable的值, Replace命令示例如下:
<Replace>
<CmdID>4</CmdID>
<Item>
<Target>
<LocURI>/LFC/Package/<X>/Modifiable </LocURI>
</Target>
<Data>true</Data> <!― Modifiable的值—〉
</Item>
</Replace>
若 DMS改变 Modifiable节点值为 true, 则终端把该配置包设为可修改, 同时把配置包管理子树上配置包及该配置包的配置元素的 Modifiable节点值 设为 true;若 DMS改变 Modifiable节点值为 false,则把该配置设为不可修改, 同时把配置包管理子树上配置包及该配置包的配置元素的 Modifiable节点值 设为 false。
若 DMS改变 Default节点下的值为 true , 则终端把配置包设置为默认; 若 DMS改变 Default节点下的值为 false, 则终端配置包设为非默认。
终端执行 DMS下发的命令后,如果配置包的状态改变,则配置包管理节 点下 State节点值也改变, 以反映配置包的状态。 State节点值的改变遵循配 置包的状态迁移图。
2、 对配置元素的管理
如图 8所示, 为本发明终端设备的配置方法的实施例二中对配置元素进 行操作管理对应的状态迁移示意图, 其中的操作管理包括 Lock, Unlock, Remove, 激活 /去激活, 设为默认 /非默认, 设为可修改 /不可修改。 配置元素 的激活 /去激活( Active, Deactive )操作是由 DMS修改对应配置项的 ActivedRef 节点值实现的。 具体操作方法如下:
对于 lock, Unlock, Remove操作, DMS通过 Exec命令下发到终端, 该 命令中的 LocURI元素为欲管理配置元素的 Operation节点下的相应命令的路 径。
终端收到对 Lock节点的 Exec命令后, 若该配置元素处于激活状态, 则 直接锁定该配置元素; 若该配置元素处于未激活状态, 则锁定失败, 并把锁 定失败的结果返回给 DMS, 终端也可以先巴该配置元素激活, 然后巴该配置 元素锁定, 即在该配置元素解锁以前, 服务器和终端都不能更改该配置项的 配置;
终端收到对 Unlock节点的 exec命令后, 若该配置元素处于锁定状态, 则解除该配置元素的锁定状态; 若该配置元素处于未锁定状态, 终端不做操 作, 并反馈操作失败的结果到 DMS。
终端收到对 Remove节点的 exec命令后, 删除该配置元素。 若该元素处 于激活状态, 删除该配置元素后, 将该配置元素所属的配置项设置为默认值。
DMS要把配置元素设为默认值或设为激活, 则可用 Replace命令分别更 改 MO下 /LFC/Element/<X>/DefaultRef、 ActivedRef值改为要设为默认, 或要 激活的 ElementlD。 该 ElementlD值由 Replace命令的 Item/Data元素携带。 具体如下:
<Replace>
<CmdID>6</CmdID>
<Item>
<Target>
<LocURI>/LFC/Element/<X>/DefaultRef</LocURI>
</Target>
<Data>elel234</Data> <!~ ^设为默认的配置元素的 ElementID-->
</Item>
</Replace>
终端执行命令, 若 Replace 命令是对 DefaultRef 节点的, 则把 /LFC/Element/<X>/DefaultRef节点的值改为命令中携带的 ElementlD值。并把 以该 ElementlD为标识的配置元素设为该配置项的默认值。若 Replace命令中 Data元素值为空,则把原来属于该配置项默认值的配置元素不再设为默认值。 而该配置项的默认值由终端指定。
若 Replace 命 令 是 对 ActivedRef 节 点 的 , 则 把 /LFC/Element/<X>/ActivedRef节点的值改为命令中携带的 ElementlD值。 并 •I巴以该 ElementlD为标识的配置元素激活。
若 Replace命令中 Data元素值为空, 则把原来属于该配置项的当前激活 的配置元素设置为去激活。 而该配置项的当前激活元素由终端指定。
DMS要把某个配置元素设为不可修改, 需要用 Replace命令修改 MO上 /LFC/Element/<X>/ AvailableList/<Y>/ Modifiable的值为 false即可。
终端执行 DMS下发的命令后,如果配置元素的状态改变,则配置元素管 理节点下 State节点值也改变, 以反映配置元素的状态。 State节点值的改变 遵循配置元素的状态迁移示意图。
本发明实施例可以把下发到终端的 LFC配置包映射到终端的 MO上,为 DMS对其进行后续的管理提供接口。 配置包下发到终端后, 可以在安装之前 就映射到终端的 MO上, 也可以在安装以后巴配置包映射到终端的 MO上。 本发明终端设备的配置方法的第三实施例中的 LFC配置包是在安装之前 映射到终端的 MO上的, 终端在 LFC/Package节点下为配置包创建管理节点 及其子树, 具体方式参见本发明终端设备的配置方法的实施例二, 把配置包 放在 MO的 LFC/Package/<X>/Data下即可。
本发明终端设备的配置方法的第四实施例中的 LFC配置包是在安装之后 映射到终端的 MO上的, 若此配置包在 MO上还没有对应的管理子树, 则终 端为此配置包在 MO上的 LFC/Package节点下创建管理节点及其子树, 具体 方式参见本发明终端设备的配置方法的实施例二。 对于配置包的信息, 映射 若配置包的信息中含有 PackagelD元素, 则把其值赋予所述管理子树下 的 PackagelD节点;
若 Descriptor元素下含有 Modifiable元素,则把其值赋给所述管理子树下 的 Modifiable节点;
若 Descriptor元素下含有 Actived元素, 若其值为 true, 若所述管理节点 的 Operation子节点下没有 Active和 Deactive可执行节点 , 贝1 J在 Operation节 点下创建 Active , Deactive可执行节点;
若 Descriptor元素下含有 Default值, 则把其值赋给所述管理子树的 Default节点;
若 Descriptor元素下含有 AuthPolicy元素, 且其下有一个或多个管理服 务器标识(ServerlD ),为所述管理服务器分配访问控制权限。 具体方式是为 所述管理服务器分配所述管理节点的访问控制权限, 例如: 所述管理节点的 ACL中需包含 Get=ServerID、 或 Delete=ServerID、 或 Replace=ServerID, 或 者 Add=ServerID , 和 /或为所述管理服务器分配 Operation节点下可执行节点 的可执行权限, 具体是所述可执行节点的 ACL 中包含 exec=ServerID; 当 AuthPolicy下有多个 ServerlD时, 所述管理节点的 acl的值为形如 Replace= Server 1 +Server2+...+ServerN; Operation 节点下可执行节点的 ACL 设置为 exec=Serverl+Server2+...+ServerN。 当 AuthPolicy下的管理服务器标识为 *时, 表示任何管理服务器都可以对配置包和配置元素进行后续管理, 则所述管理 节点的 ACL中必须包含 Get=*、 或 Delete=*、 或 Replace=*, 或者 Add=*, 和 /或 Operation节点下可执行节点的 ACL中必须包含 exec=*。
若终端安装配置包后, 配置包的状态为 InstallActived , InstallDeactived ,
InstallActiveLocked 中的一个, 则把配置包的状态值赋予所述管理子树
LFC/Package/<X>/State节点;
若 Descriptor/ElementSet 元素下含有一个或多个 Element 元素, 一个
Element元素代表一个配置元素,即若所述配置信息中包含有与配置元素相关 和终端 M0上 LFC/Element/<X>/ElementType的值匹配, 找到配置元素所属 配置项在 M0上的管理节点 <X>, 在此管理节点的 AvailableList节点下为所 述配置元素创建管理节点 <Y>, <Υ>节点的 ACL值继承该配置元素所属配置 包的管理节点的 ACL值;
若 Descriptor文件中 Element元素下含有 ElementID元素,则终端在此管 理节点下创建 ElementID节点,并把 Element元素下 ElementID元素的值赋予 该 ElementID节点;
若 Element 元素下含有 Modifiable 元素, 则在所述管理节点下创建 Modifiable节点,并把所述 Element元素下 Modifiable元素的值赋予 Modifiable 节点;
若 Element元素下含有 Actived元素, 且其值为 true, 则把终端所述配置 项下的 ActivedRef值修改为所述 Element元素下 ElementID元素的值
若 Element元素下含有 Default元素, 且其值为 true , 则把终端所述配置 项下的 DefaultRef值修改为所述 Element元素下 ElementID元素的值。
若终端安装配置包后, 配置包中配置元素的状态为 InstallActived , InstallDeactived, InstallActiveLocked 中的一个, 则把配置元素的状态值赋予 配置元素管理子树下的 State节点;
所述管理节点 <Y>的 ACL继承该配置元素所属配置包的管理节点 <Χ>的 ACL值;
所述管理节点 <Υ>下 Operation下可执行节点的 ACL值继承该配置元素 所属配置包的管理节点 <X>下 Operation节点下对应的可执行节点的 ACL。
本发明实施例通过 Descriptor文件中携带是否把配置包设为不可修改、 是否把配置包设为激活、 是否把配置包设为默认等个性化配置信息, 实现对 配置包在终端安装后的个性化配置; 通过应用程序标识(ApplicationlD )标 识 LFC客户端, 和 MIME类型 (MIME type )标识配置包类型, 实现了使用 各种机制下发 LFC配置包; 通过一个 MO, 实现了对终端的个性化配置中的 配置包, 配置项, 配置元素进行远程管理; 通过提供一种配置包到管理 MO 的映射方法, 使得对下发到终端配置包可以进行后续管理, 并且可以验证 DMS的权限, 从而实现了通过网络对终端的个性化属性进行配置和管理。
进一步地, 接收到上述设备管理指令后还可以包括检查设备管理服务器 的操作权限的操作, 具体步骤可以为:
若接收配置包和 /或配置元素的设为不可修改指令, 则执行所述命令后, 记录设备管理服务器的服务器标识; 当接收到将所述配置包和 /或配置元素设 置为可修改指令后, 判断下发设为不可修改指令的设备管理服务器的服务器 标识和下发设为可修改指令的设备管理服务器的服务器标识是否一致, 若一 致, 则执行所述指令; 否则, 拒绝执行;
若接收配置包和 /或配置元素的锁定指令, 则执行所述命令后, 记录设备 管理服务器的服务器标识; 当接收到将所述配置包和 /或配置元素解锁指令 后, 判断下发锁定指令的设备管理服务器的服务器标识和下方解锁指令的设 备管理服务器的服务器标识是否一致, 若一致, 则执行所述指令; 否则, 拒 绝执行。
如图 9所示, 为本发明终端设备的配置装置的实施例一的结构示意图。 本实施例包括相互连接的接收模块 10和操作模块 20。 其中, 接收模块 10用 于接收携带有个性化配置信息的配置包;操作模块 20用于根据所述个性化配 置信息, 对所述配置包进行操作管理。
其中的个性化配置信息中包含有下述标识中的一个或多个: 配置包标识
( PackagelD ), 验证策略( AuthPolicy )、 服务器标识( ServerlD )、 是否把配 置包设为不可修改的标识 (Modifiable ) , 是否把配置包设为激活的标识
( Actived )、 是否把配置包设为默认的标识(Default ), 是否需要用户确认的 标识 ( NeedUserConfirm ) , 配置元素标识 ( ElementID ) , 配置项标识
( ElementType ) , 源文件 ( src )、 是否把配置元素设为不可修改的标识 ( Modifiable ), 是否把配置元素设为激活的标识(Actived )和是否把配置元 素设为默认的标识( Default )。
本实施例通过操作模块根据接收模块接收到的配置包中所携带的参数是 否把配置包设为不可修改、 是否把配置包设为激活、 是否把配置包设为默认 等个性化配置信息 , 实现了通过网络对终端的个性化属性进行配置和管理。
如图 10所示, 为本发明终端设备的配置装置的实施例二的结构示意图。 在上一实施例的基础之上,本实施例中操作模块 20可以包括相互连接的转交 子模块 21和安装子模块 22。 其中, 转交子模块 21与接收模块 10连接, 用 于转交接收模块 10所接收的配置包;安装子模块 22用于收到所述配置包后, 根据配置包中所携带的个性化配置信息, 对该配置包进行安装。
其中的安装子模块 22还可以包括相互连接的第一识别单元 221和安装单 元 222。 第一识别单元 221与转交子模块 21连接, 用于识别配置包中所携带 的配置信息; 安装单元 222与转交子模块 21连接, 用于对配置包进行安装, 并根据第一识别单元 221的识别结果对安装后的配置包进行设置, 具体可以 为:
若所述配置包携带有是否把配置包设为不可修改的标识, 若所述标识的 值为把配置包设为不可修改, 则配置包安装后将配置包设为不可修改; 若所 述标识的值为把配置包设为可修改, 则安装后将配置包设为可修改;
若所述配置包携带有是否把配置包设为激活的标识, 若所述标识的值为 把配置包设为激活, 则配置包安装后将配置包设为激活; 若所述标识的值为 把配置包设为未激活, 则配置包安装后将配置包设为未激活;
若所述配置包携带有是否把配置包设为默认的标识, 若所述标识的值为 把配置包设为默认, 则配置包安装后把配置包设为默认; 若所述标识的值为 把配置包设为非默认, 则配置包安装后将配置包设为非默认;
若所述配置包携带有是否需要用户交互的标识, 若所述标识的值为提示 用户确认, 则安装过程提示用户确认; 若所述标识的值为信息提醒, 则安装 过程仅进行信息提醒; 若所述标识的值为允许用户修改, 则安装过程允许用 户修改; 若所述标识的值为不提醒用户确认, 则安装过程不提醒用户确认; 若所述配置包携带有是否把配置元素激活的标识, 若所述标识的值为把 配置元素激活, 则配置包安装后将对应的配置元素设为激活; 若所述标识的 值为把配置元素设为未激活, 则配置包安装后将对应的配置元素设为未激活; 若所述配置包携带有是否把配置元素设为不可修改的标识, 若所述标识 的值为把配置元素设为不可修改, 则配置包安装后将对应的配置元素设为不 可修改; 若所述标识的值为把配置包设为可修改, 则安装后将对应的配置元 素设为可修改;
若所述配置包携带有是否把配置元素设为默认的标识, 若所述标识的值 为把配置元素设为默认, 则配置包安装后把对应的配置元素设为默认; 若所 述标识的值为把配置元素设为非默认, 则配置包安装后将对应的配置元素设 为非默认。
进一步地, 本实施例中操作模块 20还可以包括映射子模块 23 , 与安装 子模块 22连接, 用于在安装子模块 22安装配置包之前, 将配置包映射到管 理对象的数据节点上; 或者在安装子模块 22安装配置包之后, 把配置包中的 配置信息、 配置包的状态和操作权限等信息映射到管理对象的对应节点上。 对于后者来说,映射子模块 23可以包括相互连接的第二识别单元 231和映射 单元 232。 其中, 第二识别单元 231分别与转交子模块 21和安装单元 222连 接, 用于当安装单元 222完成对配置包的安装之后, 识别所述配置包中所携 带的配置信息; 映射单元 232用于根据第二识别单元 231的识别结果把配置 包中的信息映射到管理对象的对应节点上。
其中的映射单元 232还可以包括映射子单元、 第一设置子单元和第二设 置子单元。 其中, 映射子单元与第二识别单元连接, 用于根据所述第二识别 单元的识别结果将所述配置包所携带的标识的值映射到管理对象上配置包管 理子树下相应的节点上; 第一设置子单元与第二识别单元连接, 用于根据所 述第二识别单元的识别结果对默认引用节点和激活引用节点进行设置, 以及 对配置包和 /或管理子树下的状态节点进行设置; 第二设置子单元与第二识别 单元连接, 用于根据所述第二识别单元的识别结果将设置管理对象的访问控 制权限。 具体可以为:
若所述配置包携带有是否把配置包设为默认的标识, 映射子单元则将所 述标识的值赋予所述配置包管理子树下的把配置包设为默认的节点; 若所述配置包携带有是否把配置包设为不可修改的标识, 映射子单元则 将所述标识的值赋予所述配置包管理子树下的把配置包设为不可修改的节 点;
若所述配置包携带有是否提醒用户确认的标识, 映射子单元则将所述标 识的值赋予所述配置包管理子树下的提醒用户确认的标识的节点;
若所述配置包携带有配置包标识的标识, 映射子单元则将所述标识的值 赋予所述配置包管理子树下的配置包标识的节点;
若终端安装配置包后, 配置包的状态为 InstallActived , InstallDeactived , InstallActiveLocked中的一个, 则把配置包的状态值赋予所述配置包管理子树 的状态节点;
若所述配置包携带有是否把配置元素设为默认的标识, 若所述标识的值 为把配置包设为默认, 第一设置子单元则将对应的元素标识赋给默认引用节 点;
若所述配置包携带有是否把配置元素设为激活的标识, 若所述标识的值 为把配置元素激活, 将对应的元素标识赋给激活引用节点;
若所述配置包携带有是否把配置元素设为不可修改的标识, 映射子单元 则将所述标识的值赋予所述配置元素管理子树下的把配置元素设为不可修改 节点的节点;
若终端安装配置包后, 配置包中配置元素的状态为 InstallActived , InstallDeactived, InstallActiveLocked 中的一个, 则把配置元素的状态值赋予 所述配置元素管理子树的状态节点;
若所述配置包携带有验证策略, 第二设置子单元则根据验证策略为管理 服务器设置对管理对象的访问控制权限。
进一步地, 本实施例中操作模块 20还可以包括管理子模块 24, 与安装 子模块 22连接, 用于接收设备管理服务器下发的设备管理指令后, 执行所述 设备管理指令, 所述设备管理指令包括配置包的安装、 安装激活指令、 激活 指令、 去激活指令、 锁定指令、 解锁指令、 删除指令、 设为可修改或不可修 改指令、 设为默认或非默认指令, 或者配置元素的激活指令、 去激活指令、 锁定指令、 解锁指令、 设为可修改或不可修改指令、 设为默认或非默认指令。 具体来说, 管理子模块 24可以包括顺次连接的管理单元 241、 第三识别单元 242和设置单元 243。 其中, 管理单元 241分别与安装单元 222和映射单元 232 连接, 用于接收到设备管理服务器下发的设备管理指令后, 执行所述设 备管理指令; 管理单元 241执行所述设备管理指令后, 配置包的状态发生改 变, 第三识别单元 242则用于识别管理单元 241执行设备管理指令后, 所述 配置包和 /或配置元素的状态; 设置单元 243用于根据第三识别单元 242的识 别结果对状态节点的值进行设置, 具体可以为:
若配置包安装成功后, 设置单元 243将状态节点的值设置为已安装未激 活;
若配置包安装激活成功后, 设置单元 243将状态节点的值设置为已安装 激活;
若配置包激活成功后,设置单元 243将状态节点的值设置为已安装激活; 若配置包去激活成功后, 设置单元 243将状态节点的值设置为已安装未 激活;
若配置包锁定成功后, 设置单元 243将状态节点的值设置为已安装激活 锁定;
若配置包解锁成功后,设置单元 243将状态节点的值设置为已安装激活; 若配置元素激活成功后, 设置单元 243将状态节点的值设置为安装已激 活;
若配置元素去激活成功后, 设置单元 243将状态节点的值设置为已安装 未激活;
若配置元素锁定成功后, 设置单元 243将状态节点的值设置为已安装激 活锁定;
若配置元素解锁成功后, 设置单元 243将状态节点的值设置为已安装激 活;
本发明实施例通过接收模块所接收到的配置包中携带本发明实施例通过 配置包中所携带的个性化配置信息, 例如: 是否把配置包设为不可修改的标 识、 是否把配置包设为激活的标识、 是否把配置包设为默认的标识等标识, 操作模块 20实现了对配置包在终端安装后的个性化配置和管理,从而实现了 通过网络对终端的个性化属性进行配置和管理。
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发 明可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。 基于这样的理解, 本发明的技术方案可以以软件产品的形式体现出来, 该软 件产品可以存储在一个非易失性存储介质 (可以是 CD-ROM, U盘, 移动硬 盘等) 中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服 务器, 或者网络设备等)执行本发明各个实施例所述的方法。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要求
1、 一种终端设备的配置方法, 其特征在于包括:
接收携带有个性化配置信息的配置包;
才艮据所述个性化配置信息, 对所述配置包进行安装。
2、 根据权利要求 1所述的终端设备的配置方法, 其特征在于所述个性 化配置信息中包含有下述标识中的一个或多个: 配置包标识、 验证策略、 是 否把配置包设为不可修改的标识、 是否把配置包设为激活的标识、 是否把配 置包设为默认的标识、 是否需要用户确认的标识、 配置元素标识、 配置项标 识、 源文件、 是否把配置元素设为不可修改的标识、 是否把配置元素设为激 活的标识或是否把配置元素设为默认的标识。
3、根据权利要求 2所述的终端设备的配置方法, 其特征在于所述接收携 带有个性化配置信息的配置包之前还包括:
将所述个性化配置信息组织成描述文件, 把所述描述文件和配置内容文 件一起打包; 或者
将所述个性化配置信息组织成描述文件, 把配置内容文件放在描述文件 中打包。
4、根据权利要求 2或 3所述的终端设备的配置方法, 其特征在于所述对 所述配置包进行安装包括下述步骤中的一个或多个:
若所述配置包携带有是否把配置包设为不可修改的标识, 若所述标识的 值为把配置包设为不可修改, 则配置包安装后将配置包设为不可修改; 若所 述标识的值为把配置包设为可修改, 则安装后将配置包设为可修改;
若所述配置包携带有是否把配置包设为激活的标识, 若所述标识的值为 把配置包设为激活, 则配置包安装后将配置包设为激活; 若所述标识的值为 把配置包设为未激活, 则配置包安装后将配置包设为未激活;
若所述配置包携带有是否把配置包设为默认的标识, 若所述标识的值为 把配置包设为默认, 则配置包安装后把配置包设为默认; 若所述标识的值为 把配置包设为非默认, 则配置包安装后将配置包设为非默认;
若所述配置包携带有是否需要用户交互的标识, 若所述标识的值为提示 用户确认, 则安装过程提示用户确认; 若所述标识的值为信息提醒, 则安装 过程仅进行信息提醒; 若所述标识的值为允许用户修改, 则安装过程允许用 户修改; 若所述标识的值为不提醒用户确认, 则安装过程不提醒用户确认; 若所述配置包携带有是否把配置元素激活的标识, 若所述标识的值为把 配置元素激活, 则配置包安装后将对应的配置元素设为激活; 若所述标识的 值为把配置元素设为未激活, 则配置包安装后将对应的配置元素设为未激活; 若所述配置包携带有是否把配置元素设为不可修改的标识, 若所述标识 的值为把配置元素设为不可修改, 则配置包安装后将对应的配置元素设为不 可修改; 若所述标识的值为把配置包设为可修改, 则安装后将对应的配置元 素设为可修改;
若所述配置包携带有是否把配置元素设为默认的标识, 若所述标识的值 为把配置元素设为默认, 则配置包安装后把对应的配置元素设为默认; 若所 述标识的值为把配置元素设为非默认, 则配置包安装后将对应的配置元素设 为非默认。
5、根据权利要求 3所述的终端设备的配置方法, 其特征在于所述打包之 后, 所述接收携带有个性化配置信息的配置包之前还包括:
通过应用程序标识标识外观定制客户端, 以无线空中推送方式下发所述 配置包; 或者
通过多用途互联网邮件扩展类型标识配置包类型, 以空中下载方式下发 所述配置包; 或者
通过在终端管理对象上创建配置包的管理子树, 以 DM方式下发所述配 置包。
6、根据权利要求 1所述的终端设备的配置方法, 其特征在于所述接收携 带有个性化配置信息的配置包之后, 所述安装所述配置包之前还包括:
在终端的管理树中创建所述配置包的管理节点及其子树;
将所述配置包映射到终端管理树的配置包管理子树的数据节点上。
7、根据权利要求 1所述的终端设备的配置方法, 其特征在于所述安装所 述配置包之后还包括:
在终端的管理树中创建所述配置包的管理节点及其子树;
若所述配置信息中包含有与配置元素相关的标识, 在终端的管理树中创 建所述配置元素的管理节点及其子树;
把所述安装的配置包的信息映射到终端管理树的配置包管理子树的对应 节点上。
8、根据权利要求 7所述的终端设备的配置方法, 其特征在于所述把所述 安装的配置包的信息映射到终端管理树的配置包管理子树的对应节点上具体 包括但不限于执行下述步骤中的一个或多个:
将所述配置包的状态值赋予所述配置包管理子树下的状态节点; 将所述配置包中的配置元素的状态值赋予所述终端管理树的配置元素管 理子树下的状态节点;
若所述配置包携带有是否把配置包设为默认的标识, 将所述标识的值赋 予所述配置包管理子树的把配置包设为默认的节点;
若所述配置包携带有是否把配置包设为不可修改的标识, 则将所述标识 的值赋予所述配置包管理子树下的把配置包设为不可修改的节点;
若所述配置包携带有是否提醒用户确认的标识, 则将所述标识的值赋予 所述配置包管理子树下的提醒用户确认的标识的节点;
若所述配置包携带有配置包标识, 则将所述标识赋予所述配置包管理子 树下的配置包标识的节点;
若所述配置包携带有验证策略, 则根据所述验证策略为终端设备管理树 的配置包管理子树上的管理节点及其子节点设置访问控制权限;
若所述配置包携带有是否把配置元素设为默认的标识, 若所述标识的值 为把配置包设为默认, 则将对应的元素标识赋给默认引用节点;
若所述配置包携带有是否把配置元素设为激活的标识, 若所述标识的值 为把配置元素激活, 则将对应的元素标识赋给激活引用节点; 或者
若所述配置包携带有是否把配置元素设为不可修改的标识, 则将所述标 识的值赋予所述配置元素管理子树下的把配置元素设为不可修改节点的节 点。
9、根据权利要求 8所述的终端设备的配置方法, 其特征在于所述根据所 述验证策略为终端设备管理树的配置包管理子树上的管理节点及其子节点设 置访问控制权限具体为: 为所述验证策略中服务器标识对应的设备管理服务器分配所述管理节点 的访问控制权限, 和 /或为所述设备管理服务器分配所述管理对象的管理节点 下的操作节点下可执行节点的执行权限。
10、 根据权利要求 8或 9所述的终端设备的配置方法, 其特征在于还包 括:
设备管理树的配置元素的管理节点的访问控制列表值继承所述配置元素 所属配置包的管理节点的访问控制列表值; 和 /或
设备管理树的配置元素的管理节点下操作节点下可执行节点的访问控制 列表值继承配置元素所属配置包的管理节点下操作节点下对应的可执行节点 的访问控制列表值。
11、 根据权利要求 1所述的终端设备的配置方法, 其特征在于还包括: 对所述配置包和 /或所述配置包中配置元素进行管理。
12、 根据权利要求 11所述的终端设备的配置方法, 其特征在于所述对所 述配置包和 /或所述配置包中配置元素进行管理具体为: 接收设备管理服务器 下发的设备管理指令后, 执行所述设备管理指令, 所述设备管理指令包括配 置包的安装指令、 安装激活指令、 激活指令、 去激活指令、 锁定指令、 解锁 指令、 删除指令、 设为可修改或不可修改指令、 设为默认或非默认指令, 或 者配置元素的激活指令、 去激活指令、 锁定指令、 解锁指令、 设为可修改或 不可修改指令、 设为默认或非默认指令。
13、根据权利要求 12所述的终端设备的配置方法, 其特征在于所述执行 所述设备管理指令后, 配置包的状态发生改变,
执行所述配置包的安装指令, 若配置包安装成功后, 配置包的状态节点 的值设置为已安装未激活;
执行所述配置包的安装激活指令, 若配置包安装激活成功后, 配置包的 状态节点的值设置为已安装激活;
执行所述配置包的激活指令, 若配置包激活成功后, 配置包的状态节点 的值设置为已安装激活;
执行所述配置包的去激活指令, 若配置包去激活成功后, 配置包的状态 节点的值设置为已安装未激活; 执行所述配置包的锁定指令, 若配置包锁定成功后, 配置包的状态节点 的值设置为已安装激活锁定; 或者
执行所述配置包的解锁指令, 若配置包解锁成功后, 配置包的状态节点 的值设置为已安装激活。
14、 根据权利要求 12或 13所述的终端设备的配置方法, 其特征在于所 述执行所述设备管理指令后, 配置元素的状态发生改变:
执行所述配置元素的激活指令, 若配置元素激活成功后, 配置元素的状 态节点的值设置为安装已激活;
执行所述配置元素的去激活指令, 若配置元素去激活成功后, 配置元素 的状态节点的值设置为已安装未激活;
执行所述配置元素的锁定指令, 若配置元素锁定成功后, 配置元素的状 态节点的值设置为已安装激活锁定;
执行所述配置元素的解锁指令, 若配置元素解锁成功后, 配置元素的状 态节点的值设置为已安装激活。
15、根据权利要求 12所述的终端设备的配置方法, 其特征在于所述接收 到设备管理指令后还包括: 检查设备管理服务器的操作权限, 具体为:
若接收配置包和 /或配置元素的设为不可修改指令, 则执行所述命令后, 记录设备管理服务器的服务器标识; 当接收到将所述配置包和 /或配置元素设 置为可修改指令后, 判断下发设为不可修改指令的设备管理服务器的服务器 标识和下发设为可修改指令的设备管理服务器的服务器标识是否一致, 若一 致, 则执行所述指令;
若接收配置包和 /或配置元素的锁定指令, 则执行所述命令后, 记录设备 管理服务器的服务器标识; 当接收到将所述配置包和 /或配置元素解锁指令 后, 判断下发锁定指令的设备管理服务器的服务器标识和下方解锁指令的设 备管理服务器的服务器标识是否一致, 若一致, 则执行所述指令。
16、 一种终端设备的配置装置, 其特征在于包括:
接收模块, 用于接收携带有个性化配置信息的配置包;
操作模块, 用于根据所述个性化配置信息, 对所述配置包进行安装。
17、根据权利要求 16所述的终端设备的配置装置, 其特征在于所述操作 模块包括:
转交子模块, 用于转交所述接收模块所接收的配置包;
安装子模块, 用于收到所述配置包后, 根据所述个性化配置信息, 对所 述配置包进行安装。
18、根据权利要求 17所述的终端设备的配置装置, 其特征在于所述安装 子模块包括:
第一识别单元, 用于识别所述配置包中所携带的配置信息;
安装单元, 用于对所述配置包进行安装, 并根据所述第一识别单元的识 别结果对安装后的配置包进行设置。
19、根据权利要求 17所述的终端设备的配置装置, 其特征在于所述操作 模块还包括: 映射子模块, 用于将所述配置包映射到管理对象的数据节点上; 或者把所述安装后的配置包的信息映射到管理对象的对应节点上。
20、根据权利要求 19所述的终端设备的配置装置, 其特征在于所述映射 子模块包括:
第二识别单元, 用于识别所述配置包的信息, 所述信息包括配置包的配 置信息和配置包的状态;
映射单元, 用于根据所述第二识别单元的识别结果把所述配置包的信息 映射到管理对象的对应节点上。
21、根据权利要求 20所述的终端设备的配置装置, 其特征在于所述映射 单元包括:
映射子单元, 用于根据所述第二识别单元的识别结果将所述配置包所携 带的标识的值映射到管理对象上配置包管理子树下相应的管理节点上;
第一设置子单元, 用于根据所述第二识别单元的识别结果对默认引用节 点和激活引用节点进行设置 , 以及对所述配置包和 /或管理子树下的状态节点 进行设置;
第二设置子单元, 用于根据所述第二识别单元的识别结果设置管理对象 的访问控制权限。
22、根据权利要求 16所述的终端设备的配置装置, 其特征在于所述操作 模块还包括: 管理子模块, 用于接收设备管理服务器下发的设备管理指令后, 执行所述设备管理指令, 所述设备管理指令包括配置包的安装、 安装激活指 令、 激活指令、 去激活指令、 锁定指令、 解锁指令、 删除指令、 设为可修改 或不可修改指令、 设为默认或非默认指令, 或者配置元素的激活指令、 去激 活指令、 锁定指令、 解锁指令、 设为可修改或不可修改指令、 设为默认或非 默认指令。
23、根据权利要求 22所述的终端设备的配置装置, 其特征在于所述管理 子模块包括:
管理单元, 用于接收到设备管理指令后, 执行所述设备管理指令; 第三识别单元, 用于识别所述配置包和 /或配置元素的状态;
设置单元, 用于根据所述第三识别单元的识别结果对所述配置包和 /或配 置元素的状态节点的值进行设置。
PCT/CN2008/073173 2008-02-04 2008-11-24 终端设备的配置方法和装置 WO2009097726A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010522174A JP2010537601A (ja) 2008-02-04 2008-11-24 端末機器を配置する方法および装置
EP08872111A EP2180758A4 (en) 2008-02-04 2008-11-24 CONFIGURATION PROCESS AND DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810057691.3 2008-02-04
CN2008100576913A CN101505549B (zh) 2008-02-04 2008-02-04 终端设备的配置方法和装置

Publications (1)

Publication Number Publication Date
WO2009097726A1 true WO2009097726A1 (zh) 2009-08-13

Family

ID=40951769

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073173 WO2009097726A1 (zh) 2008-02-04 2008-11-24 终端设备的配置方法和装置

Country Status (4)

Country Link
EP (1) EP2180758A4 (zh)
JP (1) JP2010537601A (zh)
CN (1) CN101505549B (zh)
WO (1) WO2009097726A1 (zh)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377589B (zh) * 2010-08-12 2014-12-24 华为终端有限公司 实现权限管理控制的方法及终端
CN104079437B (zh) * 2010-08-12 2017-12-22 华为终端有限公司 实现权限管理控制的方法及终端
CN102510389B (zh) * 2011-09-26 2015-02-11 Tcl集团股份有限公司 应用发送、安装、呈现方法与系统
CN102547667B (zh) * 2011-12-30 2014-10-08 华为终端有限公司 设备管理方法和装置
DE102012000454B4 (de) * 2012-01-12 2015-04-02 Vodafone Gmbh Verfahren zum selbstlernenden Erweitern einer Konfigurationsrechnereinrichtung sowie Konfigurationsrechnereinrichtung
RU2523113C1 (ru) 2012-12-25 2014-07-20 Закрытое акционерное общество "Лаборатория Касперского" Система и способ целевой установки сконфигурированного программного обеспечения
RU2541935C2 (ru) 2012-12-25 2015-02-20 Закрытое акционерное общество "Лаборатория Касперского" Система и способ развертывания предварительно сконфигурированного программного обеспечения
CN104981774B (zh) 2013-01-11 2020-09-18 辛纳科尔股份有限公司 背景控制面板配置选择的方法和系统
CN104036182B (zh) * 2013-03-04 2017-09-29 联想(北京)有限公司 一种信息处理方法、提示方法、服务器及电子设备
CN103685523B (zh) * 2013-12-16 2017-01-11 广州华多网络科技有限公司 一种对多媒体数据进行处理的方法和装置
CN104243202A (zh) * 2014-08-25 2014-12-24 中兴通讯股份有限公司 参数配置的数据处理方法、装置及参数配置方法、装置
CN104410644A (zh) * 2014-12-15 2015-03-11 北京国双科技有限公司 数据配置方法及装置
WO2018129754A1 (zh) * 2017-01-16 2018-07-19 华为技术有限公司 一种eUICC配置文件管理方法及相关装置
JP6999706B2 (ja) * 2017-07-27 2022-01-19 オッポ広東移動通信有限公司 共有機器を制御するための方法及び端末
CN107704334A (zh) * 2017-10-13 2018-02-16 维沃移动通信有限公司 一种sdk的处理方法及移动终端
CN110677281A (zh) * 2019-09-20 2020-01-10 烽火通信科技股份有限公司 一种家庭网关配置保护方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479476A (en) * 1993-02-09 1995-12-26 Nokia Mobile Phones Ltd. Mobile telephone having groups of user adjustable operating characteristics for facilitating adjustment of several operating characteristics
CN1659852A (zh) * 2000-08-31 2005-08-24 诺基亚有限公司 手持设备个性化
CN1917465A (zh) * 2006-09-22 2007-02-21 华为技术有限公司 一种实现流媒体互动的方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040098715A1 (en) * 2002-08-30 2004-05-20 Parixit Aghera Over the air mobile device software management
JP4557203B2 (ja) * 2003-06-10 2010-10-06 ソフトバンクモバイル株式会社 情報提供方法、情報提供サーバ装置、情報通信システム、携帯電話端末装置及び制御プログラム
US20050232175A1 (en) * 2004-04-16 2005-10-20 Vadim Draluk System and method for provisioning device management tree parameters over a client provisioning protocol
KR100641238B1 (ko) * 2004-07-09 2006-11-02 엘지전자 주식회사 장치 관리 시스템 및 그 시스템에서의 장치관리 명령스케줄링 방법
US20060143179A1 (en) * 2004-12-29 2006-06-29 Motorola, Inc. Apparatus and method for managing security policy information using a device management tree

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479476A (en) * 1993-02-09 1995-12-26 Nokia Mobile Phones Ltd. Mobile telephone having groups of user adjustable operating characteristics for facilitating adjustment of several operating characteristics
CN1659852A (zh) * 2000-08-31 2005-08-24 诺基亚有限公司 手持设备个性化
CN1917465A (zh) * 2006-09-22 2007-02-21 华为技术有限公司 一种实现流媒体互动的方法及系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP2180758A4
SYNCML DEVICE MANAGEMENT PROTOCOL (VERSION 1.1), 15 February 2002 (2002-02-15)

Also Published As

Publication number Publication date
EP2180758A1 (en) 2010-04-28
JP2010537601A (ja) 2010-12-02
CN101505549B (zh) 2012-08-08
EP2180758A4 (en) 2010-09-15
CN101505549A (zh) 2009-08-12

Similar Documents

Publication Publication Date Title
WO2009097726A1 (zh) 终端设备的配置方法和装置
KR100822361B1 (ko) 장치 관리 시스템에서 관리노드들의 지정
US8392545B2 (en) Device management system
US8140650B2 (en) Use of configurations in device with multiple configurations
US6976253B1 (en) Method and apparatus for configuring a mobile device
CA2480821C (en) Connector gateway
EP2012229A1 (en) Mobile provisioning tool system
US20120144456A1 (en) Method of receiving, storing, and providing device management parameters and firmware updates to application programs within a mobile device
WO2007025428A1 (fr) Procede, systeme et dispositif terminal de configuration de parametres de composants logiciels
WO2009015585A1 (fr) Procédé, système et terminal pour contrôle de droit dans la gestion d&#39;un dispositif
JP2003281147A (ja) 情報画像利用システム、情報画像管理装置、情報画像管理方法、ユーザ情報画像、及び、プログラム、記録媒体
US8838754B1 (en) Mobile device with a management forest in a device management network
US20140040973A1 (en) Method for controlling initial access rights to open mobile alliance device management servers
WO2008151571A1 (en) Method, system, dm client and dm server for installing software component
EP1709548B1 (en) Defining nodes in device management system
WO2012109895A1 (zh) 设备管理客户端多服务器下设备管理树的管理方法及装置
WO2010118702A1 (zh) 设备管理的终端及其发起管理会话的方法
WO2009052735A1 (fr) Procédé, système et dispositif de gestion destinés à un paquet d&#39;apparence
KR100913976B1 (ko) 다중 구성들을 구비한 장치에서 구성들의 사용
JP6240253B2 (ja) 複数のコンフィギュレーションを有する装置内におけるコンフィギュレーションの使用法
JP5095831B6 (ja) 機器管理の方法、端末、装置およびシステム
JP5095831B2 (ja) 機器管理の方法、端末、装置およびシステム
Alliance Software Component Management Object (SCOMO)
Alliance Gateway management object technical specification
Davydov Provisioning of MIDlets

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: 08872111

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2010522174

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2008872111

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE