WO2011020402A1 - Method and device for managing software using software component management object - Google Patents

Method and device for managing software using software component management object Download PDF

Info

Publication number
WO2011020402A1
WO2011020402A1 PCT/CN2010/075599 CN2010075599W WO2011020402A1 WO 2011020402 A1 WO2011020402 A1 WO 2011020402A1 CN 2010075599 W CN2010075599 W CN 2010075599W WO 2011020402 A1 WO2011020402 A1 WO 2011020402A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
management object
information
node
component management
Prior art date
Application number
PCT/CN2010/075599
Other languages
French (fr)
Chinese (zh)
Inventor
常新苗
刘海涛
宋悦
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2011020402A1 publication Critical patent/WO2011020402A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Definitions

  • the third party may be the information management department of the mobile operator, the service provider or the partner.
  • the wireless network terminal device can be a functional object in the mobile terminal and the terminal.
  • the OMA DM system is shown in Figure 1.
  • the DM client (DM Client) on the terminal device is used to interpret and execute the management commands delivered by the DM server.
  • the management tree stored on the terminal device can be regarded as an interface for the DM server (DM Server) to manage the terminal device through the DM protocol.
  • the management tree includes some basic management objects (Management Objects, MOs).
  • the operation of the management objects by the DM server reaches the purpose of controlling the management objects of the terminal.
  • the operation commands include Get, Replace (R), Exec, Copy, Delete, and so on.
  • the software component management object (SC0M0) in the management object is used to manage the software that the device needs to install or has been installed, as shown in Figure 2.
  • the software managed by the SC0M0 management object may include a program, an executable file, a software security certificate, a registration, and the like.
  • the software management operations supported by the SC0M0 protocol are: download, distribution (del ivery) ⁇ installation (instal lation), upgrade (update), removal (removal), activation/deactivation (activation/de-activation), and SC0M0
  • the management object also supports inventory counting of all software in the terminal device.
  • the existing SC0M0 mode cannot manage the software installed by the user to the terminal device through the non-SC0M0 mode, for example, the user downloads or copies himself. After installing the installation files to the terminal device for installation, the operator or the management of these terminal devices cannot query or manage the software by means of an effective management tree. Summary of the invention
  • the embodiment of the invention provides a method and a device for managing object management software by using a software component, so as to solve the problem that the existing SC0M0 mode cannot manage the software installed by the user on the terminal device through the non-SC0M0 mode.
  • An embodiment of the present invention provides a method for managing object management software by using a software component, including: acquiring software information on a user equipment;
  • the information of the node is reported to the software component management object server.
  • An embodiment of the present invention further provides a method for managing object management software by using a software component, including: receiving information of a node reported by a client component using a software component; and the node is a software component management object client on the software A node in the component management object that is created and configured for the software; the software is software that operates on the user device in a manner that is not a software component management object.
  • the embodiment of the present invention further provides a software component management object client device, including:
  • a first acquiring module configured to acquire software information on the user equipment
  • a second obtaining module configured to obtain, according to the software information, information about software that is operated by the non-software component management object on the user equipment;
  • a creating module configured to create and configure a corresponding node for the software operated by the non-software component management object mode under the corresponding node of the software component management object according to the information of the software operated according to the non-software component management object mode;
  • the reporting module is configured to report the information of the node to the software component management object server.
  • the embodiment of the invention further provides a software component management object server, including:
  • a receiving module configured to receive information about a node reported by the client component using the software component; the node is a node that is created and configured for the software in the software component management object on the software component management object client; Software that operates on a user device as a non-software component management object.
  • the above embodiment obtains the information of the software operated by the non-SC0M0 mode, and obtains the information according to the acquired information.
  • the SCOMO-operated software creates a corresponding node in SCOMO, and reports the corresponding node information to the SC0M0 server, which solves the problem that the existing SC0M0 mode cannot manage the software installed by the user through the non-SC0M0 mode to the terminal device.
  • FIG. 1 is a schematic overall structural diagram of an OMA DM system in the prior art
  • FIG. 2 is a schematic diagram of a SC0M0 management tree in the prior art
  • FIG. 3 is a flowchart of a method for managing object management software using a software component according to an embodiment of the present invention
  • FIG. 4 is a flowchart of another method for managing object management software using a software component according to an embodiment of the present invention
  • FIG. 5 is a flow chart of uninstall management in a method for managing object management software using a software component according to an embodiment of the present invention
  • FIG. 6 is a flow chart of still another method for managing object management software using a software component according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a software component management object client device according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a software component management object server according to an embodiment of the present invention.
  • 3 is a flowchart of a method for managing object management software using a software component according to an embodiment of the present invention. The method includes:
  • Step 31 Obtain software information on the user equipment.
  • This action can be performed by the SC0M0 client on the terminal device, ie the user device.
  • the SC0M0 client can obtain software installation information, download information, distribution information, and the like from the user device.
  • the SC0M0 client monitors the software to obtain software installation, download or distribution information, or collects software installation, download or distribution information after receiving the instructions sent by the SC0M0 server.
  • Step 32 Obtain information about the software that is operated by the non-SC0M0 mode on the user equipment according to the software information.
  • Step 33 Create and configure a corresponding node for the non-SC0M0 mode operating software under the corresponding node of the SC0M0 according to the information of the software operating in the non-SC0M0 mode.
  • the SC0M0 client creates and configures the corresponding node for the software under the corresponding node of SC0M0.
  • the corresponding node is created and configured for the software under the Deployed node of the SC0M0.
  • the software is downloaded in a non-SC0M0 mode, a corresponding node is created and configured for the software under the Download node of SC0M0.
  • the software is distributed in a non-SC0M0 manner, a corresponding node is created and configured for the software under the Delivered node of SC0M0.
  • the method includes: creating a package identifier reference node for the software under the deployment node of the SC0M0; configuring the reference identifier node for identifying the software The value to be installed with non-SC0M0.
  • a new node may also be created and configured under the deployment node of the SC0M0; the new node is a node for identifying that the software is installed with a non-SC0M0.
  • the method includes: creating a package identification node for the software under the deployment node of the SC0M0; configuring the package identification node to identify the software to be non- The value downloaded by SC0M0.
  • a new node may be created and configured under the download node of the SC0M0; the new node is a node for identifying that the software is downloaded by the non-SC0M0.
  • the method specifically includes: creating a package identification node for the software under the distribution node of the SC0M0; configuring the package identification node to identify the software to be non- The value assigned by SC0M0.
  • a new node may also be created and configured under the distribution node of SC0M0; the new node is a node for identifying that the software is distributed by non-SC0M0.
  • Step 34 Report the information of the node to the SC0M0 server.
  • This action can be performed by the SC0M0 client on the terminal device, ie the user device.
  • the SC0M0 client may send the management subtree of the software to at least one or a combination of the location information of the SC0M0, the current state information of the software, or the information of the node used to identify the software to operate in a non-SC0M0 mode.
  • the action may also perform an operation of reporting information of the node according to the query instruction sent by the SC0M0 server.
  • the SC0M0 client monitors the software operating in the non-SC0M0 mode, and creates and configures the corresponding node for the software in the SC0M0.
  • the SC0M0 implements the management of the non-SC0M0 mode operating software, so that the operator or other management
  • the party can implement all the software on the user equipment based on the already widely recognized SC0M0. Query and management.
  • the method for managing the object management software using the software component provided by the embodiment of the present invention may further include: when the software operating in the non-SC0M0 mode is uninstalled in the foregoing embodiment, the method for managing the object management software using the software component provided by the embodiment of the present invention may further include:
  • This action can be performed by the SC0M0 client on the terminal device, i.e., the user device.
  • the SC0M0 client monitors the software to obtain the uninstallation information of the software, or collects the uninstallation information of the software after receiving the instruction sent by the SC0M0 server.
  • the node created in the SC0M0 for the software is deleted according to the uninstall information. This action can be performed by the SC0M0 client on the terminal device, ie the user device.
  • the software is reported to be unloaded to the SC0M0 server. This action can be performed by the SC0M0 client on the terminal device, ie the user device.
  • the method for managing the object management software by using the software component provided by the embodiment of the present invention may further include: receiving a deletion instruction sent by the SC0M0 server; the action may be performed by a terminal device, that is, a SC0M0 client on the user equipment.
  • a node created for the software operating in the non-SC0M0 mode is deleted according to the delete instruction.
  • This action can be performed by the SC0M0 client on the terminal device, i.e., the user device.
  • the SC0M0 client deletes the node created by the software operating in the non-SC0M0 mode after receiving the delete command sent by the SC0M0 server.
  • the SC0M0 client deletes the node information of a certain software according to the deletion instruction of the SC0M0 server.
  • the method for managing the object management software using the software component provided in this embodiment may further include uninstalling the software.
  • the method for managing object management software using the software component provided by this embodiment may further include deleting the physical file of the software operated by the non-SC0M0 mode on the user equipment.
  • the method for managing object management software using the software component provided by the embodiment of the present invention may include:
  • the node is a node created and configured for the software in the SC0M0 on the SC0M0 client; the software is software running on the user equipment in a non-SC0M0 manner.
  • This action can be performed by the SC0M0 server on the DM server.
  • the SC0M0 client After the SC0M0 client creates and configures the node for the software that is not in the SC0M0 mode, the SC0M0 client reports the corresponding information to the SC0M0 server. For details, see step 34 above.
  • the SC0M0 server can implement query and management of all software on the user equipment.
  • a query instruction containing an identifier for identifying a software operating in a non-SC0M0 mode is used to query node information of the software operating in a non-SC0M0 mode based on the identifier.
  • This action can be performed by the SC0M0 server on the DM server.
  • SC0M0 server sends a query command All information on the software operated by the non-SC0M0 mode on the user equipment can be known.
  • Sending a delete command which is used to delete software that is operated by the non-software component management object on the user equipment.
  • This action can be performed by the SC0M0 server on the DM server.
  • the SCOMO server can manage the software operated by the non-SC0M0 mode on the user equipment by sending a delete command.
  • FIG. 4 is a flow chart of another method for managing object management software using a software component according to an embodiment of the present invention. The method includes:
  • Step 41 Obtain software installation information on the user equipment.
  • the SC0M0 client monitors the progress and process of software installation on the user equipment.
  • the SC0M0 client can monitor the software installation information on the user equipment in real time. It can also use the periodic timing method to monitor the software installation information on the user equipment during the collection period. It can also start collecting the user equipment after receiving the instruction of the SC0M0 server. Software installation information on.
  • the SC0M0 client monitors and collects software installation information on the user equipment, and can be implemented by calling a calling function provided by the user equipment operating system.
  • the Windows Mobi le system can call the "msi" function to obtain a list of installed software on the mobile phone; It can also be implemented by analyzing the software files of the user equipment operating system installation and uninstallation.
  • the Symbian or Li dish x system can read the analysis system file "instal led-software, log" or "Appinist. ini". To get software installation information.
  • Step 42 Obtain information about software installed on the user equipment in a non-SC0M0 manner according to the software installation information.
  • the SC0M0 client determines whether the software installed on the user equipment is SC0M0 mode or non-SC0M0 mode.
  • the SC0M0 client After the SC0M0 client knows the information about the software installed on the device, it determines whether the software is executing the SC0M0 command "Inventory/Delivered/ ⁇ X>/0perations/Instal l".
  • the SC0M0 client creates and configures the corresponding node under the deployed node according to the existing SC0M0 protocol.
  • Step 43 Create and configure a corresponding node for the software in SC0M0 according to the information of the software. This action can be performed by the SC0M0 client.
  • the SC0M0 client knows the name, version, installation path, etc. of the installed software by running the monitoring program, creates a node for the software under the "Deployed" node, and configures the software information to the corresponding node. Go in.
  • the name of the " ⁇ X>" node can be customized by the SCOMO client.
  • the "ID” node is generated by the SC0M0 client. The value of this node is not repeatable and is the unique identifier of the software on SC0M0.
  • the "PkglDRef” node value is a number generated by the SP number and the software name according to a certain algorithm in the SC0M0 protocol. In this embodiment, the value of the node is set to distinguish the special value of the number generated by the above algorithm, for example, "UserPrivate" is used to distinguish the software installed in the SC0M0 mode by the non-SC0M0 mode, and the SC0M0 server can pass the query value of "UserPrivate”.
  • the PkglDRef" node is used to obtain information about all software installed on SC0M0 in a non-SC0M0 manner.
  • the "Name” node value can be the installation name of the software obtained in step 41.
  • the "Version” node value can be the version number of the software obtained in step 41, such as 1.2.
  • the "Status” node value can be set to 10, indicating that the software has not started to delete. If the software is currently running, the "State” node value is 20; if the software is currently not running, the "State" node value is 10.
  • the SC0M0 client obtains the description of the software from step 41, it can also create a "Description" node and write the description information to the node value.
  • the SC0M0 client can also create the executable node "Operations/Remove".
  • the SC0M0 server can also issue instructions to perform "Operations/Remove" to uninstall.
  • the SC0M0 server can issue the "Get” command to read the node under "Inventory/Dprinted” to get the node information under all "Dprinted", or just by reading the "PkglDRef” node with the value equal to "UserPrivate”. , to get the node information of the software installed in non-SC0M0 mode.
  • Step 44 Report the information of the node to the SC0M0 server.
  • This action can be performed by the SC0M0 client.
  • the SC0M0 client reports information about the software installed in the SC0M0 mode to the SC0M0 server.
  • the SC0M0 client reports the status of the software to the SC0M0 server as "installation”, and reports the location information of the software on the management tree, such as the URL: "Inventory/Deployed/ ⁇ X>", and reports the value of "PkglDRef" to the SC0M0 server.
  • the server know that the software installed is a non-SC0M0 mode.
  • the method for managing object management software using the software component provided by the embodiment of the present invention may include: Receiving information of a node reported by the SCOMO client; the node is a node created and configured for the software in the SC0M0 on the SC0M0 client; the software is software installed on the user equipment in a non-SC0M0 manner. This action can be performed by the SC0M0 server. For details of the received node, see the description of step 44 above.
  • the method for managing object management software using the software component provided by the embodiment of the present invention may further include: sending a query instruction for querying node information of the software installed in the non-SC0M0 mode. This action can be performed by the SC0M0 server.
  • the SC0M0 server can query all the software information installed on the user equipment by the non-SC0M0 mode through the query instruction.
  • the method for managing the object management software using the software component provided by the embodiment of the present invention may further include: sending a deletion instruction, and deleting the software installed by the user equipment in a non-SC0M0 manner. This action can be performed by the SC0M0 server.
  • the SC0M0 server can delete all software installed on the user equipment that is not SC0M0 by deleting the instruction.
  • the SC0M0 client monitors the software installed in the non-SC0M0 mode, and creates and configures the corresponding node for the software in the SC0M0.
  • the SC0M0 implements the management of the non-SC0M0 mode installation software, so that the operator or other management
  • the party can implement query management of all installed software on the user equipment on the basis of the already widely recognized SC0M0.
  • the method for managing object management software using the software component provided by the embodiment of the present invention may further include uninstalling and managing the software.
  • the specific may include:
  • Step 51 Obtain the uninstallation information of the software.
  • This action can be performed by the SC0M0 client.
  • the SC0M0 client monitors whether the software is uninstalled on the user equipment through the monitoring program. In the case where the software is uninstalled, the SC0M0 client performs step 52.
  • the SC0M0 client can monitor the software uninstallation on the user equipment in real time. It can also use the periodic timing method to monitor the software uninstallation on the user equipment during the collection period. It can also start collecting the user equipment after receiving the instruction of the SC0M0 server. The software uninstallation situation.
  • the SC0M0 client monitors the software uninstallation on the user equipment. It can be implemented by calling the calling function provided by the operating system of the user equipment, or by analyzing the log files of the software uninstalled by the operating system of the user equipment, such as the Symbian or Li dish x system.
  • the software uninstallation information can be obtained by reading the analysis system file "uninstal led-software, log" on the mobile phone.
  • Step 52 In the case that the software is uninstalled in a non-SC0M0 manner, the node created in the SC0M0 for the software is deleted according to the uninstall information.
  • the SC0M0 client determines whether the uninstalled software is uninstalled in SC0M0 mode. After the SC0M0 client knows the information of the software uninstalled on the user equipment through step 51, it can determine whether the software is uninstalled by executing the SC0M0 instruction "Inventory/Deployed/ ⁇ X>/Operations/Remove".
  • Step 53 Reporting to the SC0M0 server that the software is uninstalled.
  • This action can be performed by the SC0M0 client.
  • the SC0M0 client reports to the SC0M0 server that the software is uninstalled in a non-SC0M0 mode.
  • the SC0M0 client reports the status of the software to the SC0M0 server as "Uninstall”, and reports the URL of the software on the management tree: "Inventory/Deployed/ ⁇ X>", and reports the value of "PkglDRef" to the SC0M0 server, letting the server know.
  • Uninstalled is software that is installed or uninstalled in a non-SC0M0 mode.
  • the SC0M0 client checks the record of the installation instruction of the SC0M0 server, and after learning that the newly installed software is installed in the non-SC0M0 mode, starts to create a management node for the newly installed software under the "Inventory/DPrinted" node of SC0M0, and will obtain The software information obtained is configured into the corresponding node:
  • the information about the installation software is reported to the SC0M0 server.
  • the SC0M0 server may send a "Get” command to the SC0M0 client to obtain all the node information under the "D-printed” node to obtain all software installation information on the current device; or send a "Get” command with parameters.
  • the SC0M0 server may send a "Get” command to the SC0M0 client to obtain all the node information under the "D-printed” node to obtain all software installation information on the current device; or send a "Get” command with parameters.
  • the phone also has a SC0M0 client installed and supports the SC0M0 protocol.
  • the SC0M0 client sets a timer, and queries the software installed or uninstalled in the non-SC0M0 mode on the device within 24 hours every 24 hours, and creates a maintenance node on SC0M0.
  • the SC0M0 client receives an instruction from the SC0M0 server after 24 hours to synchronize the information of the SC0M0 with the software installed on the device.
  • the SC0M0 client obtains the latest system file " instal led-software. log", compared with the instal led-software. log file backed up 24 hours ago, and analyzes whether there is information about the newly installed software within 24 hours.
  • the SC0M0 client checks the record of the installation instruction of the SC0M0 server and determines that the software is not SC0M0.
  • the SC0M0 client starts to create a management node for the software under the Inventory/DPrinted node of SC0M0:
  • the SC0M0 server can send a "Get” command to the SC0M0 client to obtain all the node information under the "D-printed” node to obtain all software installation information on the current device; or send a "Get” command with parameters to obtain The information under the ⁇ X> node where the "PkglDRef" node value is empty under the "D-printed” node is used to obtain the list of software installed on the current device in the non-SC0M0 mode.
  • SC0M0 client obtains the latest system file "uninstal led-software. log”, compare it with the system file "uninstal led-software. log” backed up 24 hours ago to analyze whether the software is uninstalled within 24 hours.
  • the SC0M0 client checks the record of the installation instruction of the SC0M0 server, and judges that the software is unsold by the SC0M0 mode, and the SC0M0 client deletes all the nodes below the ⁇ EReader> node.
  • FIG. 6 is a flow chart of still another method for managing object management software using a software component according to an embodiment of the present invention. This embodiment mainly performs download management on software. As shown in FIG. 6, specifically, the method may include:
  • Step 61 Obtain a description file of the software when the software is downloaded.
  • the SC0M0 client can implement the process of monitoring whether there is an over-the-air transmission on the current device. If it is detected, the information such as the name and version of the downloaded file can be obtained by obtaining the description file of the transmission file.
  • Step 62 In the case that the software is downloaded in a non-SC0M0 manner, the corresponding node is created and configured for the software according to the description file under the download node of the SC0M0.
  • the SC0M0 client creates and configures the corresponding node under the "Download" node according to the information such as the name and version of the downloaded file.
  • the download management may further include:
  • Step 63 Create and configure a corresponding node for the software under the download node of the SC0M0.
  • the SC0M0 client creates a packet identification (PkgID) node for the software under the distribution node of the SC0M0, and configures a value for the creation of the package identification node to identify that the software downloads in a non-SC0M0 manner. After the corresponding node is created and configured for the software, the SC0M0 client may also report the value of the created packet identification node of the software to the SC0M0 server.
  • PkgID packet identification
  • the SC0M0 client compares with the information already existing under the distribution node of SC0M0 according to the software information such as the file name or type. No, it indicates that the software is distributed in a non-SC0M0 manner, and the corresponding node is created and configured for the software under the distribution node of the SC0M0.
  • the SC0M0 client monitors the process of over-the-air downloading on the mobile phone, and then obtains a description file of the downloaded software, and obtains a download URL, a file name, a version number, a description information, and a file type of the software.
  • the SC0M0 client monitors the execution of the instruction record of the SC0M0 server, and determines that the downloaded software is delivered by the non-SC0M0 server. Then, under the "Download" node, a node is created for the downloaded software, and the information obtained from the description file is configured.
  • the SC0M0 client After the software is successfully downloaded, the SC0M0 client creates and configures node information for the successfully downloaded software under the "Inventory/Delivered” node, and configures the values of the "Name", “Description", and "PkgType” nodes accordingly.
  • PkgID "sets a special value such as "UserPrivate” or null to identify that the software is downloaded in a non-SC0M0 mode and creates a "/Inventory/Delivered/ ⁇ X>/Operations/Remove” node.
  • the SC0M0 server can obtain the software downloaded by the non-SC0M0 mode downloaded from the mobile phone by querying the "/Inventory/Del ivered/ ⁇ X>/PkgID" node whose value is equal to "UserPrivate”.
  • the SC0M0 server can also instruct the SC0M0 client to delete the software by issuing the command "/Inventory/Del ivered/ ⁇ X>/Operations/Remove".
  • the SC0M0 client can also obtain software information on the user device by searching for all files on the user device. After obtaining the software information of a certain software, the SC0M0 client passes the file name and type in the software information of the software and the ⁇ name ⁇ P ⁇ PkgType> of the existing software information under the "Inventory/Delivered" node. Compare and determine if the software already exists on the management tree. If it does not exist, create and configure the corresponding node under "Inventory/Delivered/" to manage the software. The SC0M0 server can query or delete the software by querying or deleting the instruction of SC0M0.
  • the phone Take a Windows Mobile phone as an example.
  • the phone also has a SC0M0 client installed, which supports the SC0M0 protocol.
  • the SC0M0 client searches for the storage device of the mobile phone, and searches for files before the software installation in all CAB, INI, LIC, CERT and other formats to obtain an executable file, a license file or a certificate on the mobile phone.
  • Specific information about the file can also be considered as software information.
  • the SC0M0 client judges that these files are not distributed in the SC0M0 mode.
  • the SC0M0 server can obtain the software information distributed by all non-SC0M0 modes on the user equipment by querying the value of the "Inventory/Delivered/ ⁇ X>/PkgID" node; the SC0M0 server can send the operation instruction "Inventory/Del ivered/ ⁇ X>/ Operations/Remove" to delete the corresponding file.
  • FIG. 7 is a schematic structural diagram of a software component management object client device according to an embodiment of the present invention.
  • the SC0M0 client device includes: a first obtaining module 71, a second obtaining module 72, a creating module 73, and a reporting module 74.
  • the first obtaining module 71 is configured to acquire software information on the user equipment.
  • the second obtaining module 72 is configured to obtain, according to the software information, information of software that is operated by the non-SC0M0 mode on the user equipment.
  • the creating module 73 is configured to create and configure a corresponding node for the non-SC0M0 mode operating software under the corresponding node of the SC0M0 according to the information of the software operating in the non-SC0M0 mode.
  • the reporting module 74 is configured to report the information of the node to the SC0M0 server.
  • the first obtaining module 71 may be specifically configured to acquire software installation information on the user equipment.
  • the second obtaining module 72 may be specifically configured to obtain, according to the software installation information, the non-SC0M0 manner installed on the user equipment.
  • the information of the software may be specifically configured to create and configure a corresponding node for the software under the deployment node of the SC0M0 according to the information of the software.
  • the first obtaining module 71 may be specifically configured to obtain software download information on the user equipment in the process of downloading the software.
  • the second obtaining module 72 may be specifically configured to obtain the user equipment according to the software download information.
  • the information of the software downloaded by the non-SC0M0 mode; the creating module 73 may be specifically configured to create and configure a corresponding node for the software under the download node of the SC0M0 according to the information of the software.
  • the first obtaining module 71 may be specifically configured to obtain information of software that is already installed on the user equipment and that is not installed.
  • the second obtaining module 72 may be specifically configured to obtain information according to the information of all the existing and not installed software.
  • the information of the software distributed in the non-SC0M0 manner; the creating module 73 may be specifically configured to create and configure a corresponding node for the software under the distribution node of the SC0M0 according to the information of the software.
  • the reporting module 74 may be specifically configured to use location information of the management subtree of the software in the SC0M0, the current state information of the software, and information of a node used to identify the software to operate in a non-SC0M0 mode. At least one is sent to the SC0M0 server.
  • the software component management object client device may further include: a third obtaining module and a node deleting module.
  • the third obtaining module is configured to acquire the uninstallation information of the software;
  • the node deleting module is configured to delete the node created in the SC0M0 for the software according to the uninstallation information, if the software is uninstalled in a non-SC0M0 manner;
  • the reporting module is specifically configured to report that the software is uninstalled to the SC0M0 server.
  • the software component management object client device may further include: an instruction receiving module and a node deleting module.
  • the instruction receiving module is configured to receive the query instruction and the delete instruction sent by the SC0M0 server;
  • the node deletion module is configured to delete the node created for the software according to the deletion instruction;
  • the reporting module may be specifically used according to the SC0M0 server The sent query instruction reports the information of the node.
  • the software component management object client device may further include at least one of the following modules: an uninstall module, a delete module.
  • the uninstall module is used to uninstall the software; the delete module is used to delete the physical file of the software on the user device.
  • FIG. 8 is a schematic structural diagram of a software component management object server according to an embodiment of the present invention.
  • the SC0M0 server includes: a receiving module 81.
  • the receiving module 81 is configured to receive information about a node that is reported by the SC0M0 client; the node is a node that is created and configured for the software in the SC0M0 on the SC0M0 client; and the software is operated by the non-SC0M0 mode on the user equipment. software.
  • the software component management object server may further include: a first sending module.
  • the first transmitting module is configured to send a query instruction including an identifier for identifying software operating in a non-SC0M0 mode, the query instruction for querying node information of the software operating in a non-SCOM mode according to the identifier.
  • the software component management object server provided by the embodiment of the present invention may further include: a second sending module.
  • the second sending module is configured to send a delete instruction, where the delete command is used to delete software that is operated by the non-SC0M0 mode on the user equipment.
  • the foregoing method and apparatus embodiment obtains the information of the software that is operated in the non-SC0M0 mode, and creates a corresponding node in the SC0M0 according to the acquired information, and reports the corresponding node information as the software operating in the non-SC0M0 mode.
  • the SC0M0 server solves the problem that the existing SC0M0 mode cannot manage the software installed by the user on the terminal device through the non-SC0M0 mode.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

A method and device for managing software using the Software Component Management Object(SCOMO). The method includes: obtaining the software information on user equipments; obtaining the information of the software which is operated in the mode of non-Software Component Management Object (NSCOMO), on the user equipment, according to the software information; according to the information of the software which is operated in the mode of NSCOMO, creating and configuring corresponding nodes for the software which is operated in the mode of NSCOMO, on the corresponding nodes of SCOMO; reporting the information of the corresponding node to the SCOMO server. The solution solves the problem that the existing SCOMO mode can not manage software which is installed on the terminal equipment by users in the mode of NSCOMO.

Description

使用软件组件管理对象管理软件的方法及装置 本申请要求于 2009年 8月 20日提交中国专利局、 申请号为 200910168281. 0、发明 名称为 "使用软件组件管理对象管理软件的方法及装置"的中国专利申请的优先权, 其 全部内容通过引用结合在本申请中。 技术领域 本发明涉及无线通信技术领域,尤其涉及一种使用软件组件管理对象管理软件的方 法及装置。 背景技术 开放移动联盟设备管理规范 1. 2 ( OMA DM VI. 2 )提供的开放移动联盟设备管理(0MA Method and device for managing object management software using software component The present application claims to be submitted to the Chinese Patent Office on August 20, 2009, and the application number is 200910168281. 0, the invention name is "method and device for managing object management software using software components" Priority of Chinese Patent Application, the entire contents of which is incorporated herein by reference. TECHNICAL FIELD The present invention relates to the field of wireless communication technologies, and in particular, to a method and apparatus for managing object management software using software components. BACKGROUND OF THE INVENTION Open Mobile Alliance Device Management Specification 1. 2 (OMA DM VI. 2) Open Mobile Alliance Device Management (0MA)
DM)系统, 用于第三方管理和设置无线网络终端设备中的环境和配置信息, 解决这些无 线网络终端设备在使用过程中遇到的问题, 通过无线网络 (Over The Air, OTA) 方式 进行软件和固件的安装、 升级等操作, 并提供更加人性化和个性化的服务, 提高用户体 验。 其中, 第三方可以是移动运营商, 业务提供商或者合作方的信息管理部门。 无线网 络终端设备可为手机终端及终端中的功能对象。 DM) system for third-party management and setting of environment and configuration information in wireless network terminal equipment, solving problems encountered in the use of these wireless network terminal equipment, and performing software through over-the-air (OTA) mode And firmware installation, upgrade and other operations, and provide more personalized and personalized services to enhance the user experience. The third party may be the information management department of the mobile operator, the service provider or the partner. The wireless network terminal device can be a functional object in the mobile terminal and the terminal.
OMA DM系统如图 1所示, 终端设备上的 DM客户端 (DM Cl ient ) 用于解释和执行 DM服务器下发的管理命令。 终端设备上存储的管理树可以被认为是一个 DM服务器 (DM Server ) 通过 DM 协议对终端设备进行管理的接口。 管理树包括一些基本管理对象 (Management Object, MO), DM服务器过对管理对象的操作达到控制终端管理对象的目 的。操作命令有获取(Get)、替换(R印 lace)、执行(Exec)、复制(Copy)、删除(Delete ) 等。 管理对象中的软件组件管理对象 (SC0M0) 用来对设备需要安装或者已经安装的软 件进行管理, 如图 2所示。 SC0M0管理对象管理的软件可以包括程序、 可执行文件、 软 件安全证书、 注册(l icense )等。 SC0M0协议支持的对软件的管理操作有: 下载、 分发 ( del ivery)^ 安装 (instal lation), 升级 (update)、 移除 (removal )、 激活 /去激活 ( activation/de-activation), 另外 SC0M0管理对象还支持对终端设备里的所有软件 进行库存盘点。  The OMA DM system is shown in Figure 1. The DM client (DM Client) on the terminal device is used to interpret and execute the management commands delivered by the DM server. The management tree stored on the terminal device can be regarded as an interface for the DM server (DM Server) to manage the terminal device through the DM protocol. The management tree includes some basic management objects (Management Objects, MOs). The operation of the management objects by the DM server reaches the purpose of controlling the management objects of the terminal. The operation commands include Get, Replace (R), Exec, Copy, Delete, and so on. The software component management object (SC0M0) in the management object is used to manage the software that the device needs to install or has been installed, as shown in Figure 2. The software managed by the SC0M0 management object may include a program, an executable file, a software security certificate, a registration, and the like. The software management operations supported by the SC0M0 protocol are: download, distribution (del ivery)^ installation (instal lation), upgrade (update), removal (removal), activation/deactivation (activation/de-activation), and SC0M0 The management object also supports inventory counting of all software in the terminal device.
在实现本发明的过程中, 发明人发现现有技术至少存在以下缺陷: 现有的 SC0M0方 式无法管理用户通过非 SC0M0方式安装到终端设备上的软件, 比如用户自己下载或者拷 贝了安装文件到终端设备上进行安装,运营商或者这些终端设备的管理方就无法采用有 效的管理树的方式对这些软件进行查询或管理。 发明内容 In the process of implementing the present invention, the inventors have found that the prior art has at least the following drawbacks: The existing SC0M0 mode cannot manage the software installed by the user to the terminal device through the non-SC0M0 mode, for example, the user downloads or copies himself. After installing the installation files to the terminal device for installation, the operator or the management of these terminal devices cannot query or manage the software by means of an effective management tree. Summary of the invention
本发明实施例提出一种使用软件组件管理对象管理软件的方法及装置, 以解决现有 的 SC0M0方式无法管理用户通过非 SC0M0方式安装到终端设备上的软件的问题。  The embodiment of the invention provides a method and a device for managing object management software by using a software component, so as to solve the problem that the existing SC0M0 mode cannot manage the software installed by the user on the terminal device through the non-SC0M0 mode.
本发明实施例提供了一种使用软件组件管理对象管理软件的方法, 包括: 获取用户设备上的软件信息;  An embodiment of the present invention provides a method for managing object management software by using a software component, including: acquiring software information on a user equipment;
根据所述软件信息获得所述用户设备上以非软件组件管理对象方式操作的软件的 信息;  Obtaining, according to the software information, information about software that is operated by the non-software component management object on the user equipment;
根据所述非软件组件管理对象方式操作的软件的信息在软件组件管理对象的相应 节点下为所述非软件组件管理对象方式操作的软件创建并配置相应的节点;  Creating, according to the information of the non-software component management object mode, the corresponding node of the software operated by the non-software component management object mode under the corresponding node of the software component management object;
将所述节点的信息上报给软件组件管理对象服务器。  The information of the node is reported to the software component management object server.
本发明实施例还提供了一种使用软件组件管理对象管理软件的方法, 包括: 接收使用软件组件管理对象客户端上报的节点的信息; 所述节点为所述软件组件管 理对象客户端上在软件组件管理对象中为软件创建并配置的节点; 所述软件为用户设备 上以非软件组件管理对象方式操作的软件。  An embodiment of the present invention further provides a method for managing object management software by using a software component, including: receiving information of a node reported by a client component using a software component; and the node is a software component management object client on the software A node in the component management object that is created and configured for the software; the software is software that operates on the user device in a manner that is not a software component management object.
本发明实施例还提供了一种软件组件管理对象客户端装置, 包括:  The embodiment of the present invention further provides a software component management object client device, including:
第一获取模块, 用于获取用户设备上的软件信息;  a first acquiring module, configured to acquire software information on the user equipment;
第二获取模块,用于根据所述软件信息获得所述用户设备上以非软件组件管理对象 方式操作的软件的信息;  a second obtaining module, configured to obtain, according to the software information, information about software that is operated by the non-software component management object on the user equipment;
创建模块,用于根据所述非软件组件管理对象方式操作的软件的信息在软件组件管 理对象的相应节点下为所述非软件组件管理对象方式操作的软件创建并配置相应的节 点;  a creating module, configured to create and configure a corresponding node for the software operated by the non-software component management object mode under the corresponding node of the software component management object according to the information of the software operated according to the non-software component management object mode;
上报模块, 用于将所述节点的信息上报给软件组件管理对象服务器。  The reporting module is configured to report the information of the node to the software component management object server.
本发明实施例还提供了一种软件组件管理对象服务器, 包括:  The embodiment of the invention further provides a software component management object server, including:
接收模块, 用于接收使用软件组件管理对象客户端上报的节点的信息; 所述节点为 所述软件组件管理对象客户端上在软件组件管理对象中为软件创建并配置的节点; 所述 软件为用户设备上以非软件组件管理对象方式操作的软件。  a receiving module, configured to receive information about a node reported by the client component using the software component; the node is a node that is created and configured for the software in the software component management object on the software component management object client; Software that operates on a user device as a non-software component management object.
上述实施例通过获取以非 SC0M0方式操作的软件的信息, 并根据获取的信息为以非 SCOMO方式操作的软件在 SCOMO下创建相应节点, 将相应的节点信息上报为 SC0M0服务 器,解决了现有的 SC0M0方式无法管理用户通过非 SC0M0方式安装到终端设备上的软件 的问题。 The above embodiment obtains the information of the software operated by the non-SC0M0 mode, and obtains the information according to the acquired information. The SCOMO-operated software creates a corresponding node in SCOMO, and reports the corresponding node information to the SC0M0 server, which solves the problem that the existing SC0M0 mode cannot manage the software installed by the user through the non-SC0M0 mode to the terminal device.
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明 图 1为现有技术中的 OMA DM系统的整体结构示意图;  The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic overall structural diagram of an OMA DM system in the prior art;
图 2为现有技术中 SC0M0管理树的示意图;  2 is a schematic diagram of a SC0M0 management tree in the prior art;
图 3为本发明实施例提供的一种使用软件组件管理对象管理软件的方法的流程图; 图 4 为本发明实施例提供的另一种使用软件组件管理对象管理软件的方法的流程 图;  3 is a flowchart of a method for managing object management software using a software component according to an embodiment of the present invention; FIG. 4 is a flowchart of another method for managing object management software using a software component according to an embodiment of the present invention;
图 5为本发明实施例提供的使用软件组件管理对象管理软件的方法中卸载管理的流 程图;  5 is a flow chart of uninstall management in a method for managing object management software using a software component according to an embodiment of the present invention;
图 6 为本发明实施例提供的再一种使用软件组件管理对象管理软件的方法的流程 图;  6 is a flow chart of still another method for managing object management software using a software component according to an embodiment of the present invention;
图 7为本发明实施例提供的一种软件组件管理对象客户端装置的结构示意图; 图 8为本发明实施例提供的一种软件组件管理对象服务器的结构示意图。 具体实施方式 图 3为本发明实施例提供的一种使用软件组件管理对象管理软件的方法的流程图。 该方法包括:  FIG. 7 is a schematic structural diagram of a software component management object client device according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram of a software component management object server according to an embodiment of the present invention. 3 is a flowchart of a method for managing object management software using a software component according to an embodiment of the present invention. The method includes:
步骤 31、 获取用户设备上的软件信息。  Step 31: Obtain software information on the user equipment.
该动作可由终端设备即用户设备上的 SC0M0客户端执行。 SC0M0客户端可从用户设 备上获取软件的安装信息、 下载信息、 分发信息等。 SC0M0客户端对软件进行监测获得 软件的安装、 下载或分发信息, 或在接收到 SC0M0服务器端发送的指令后收集获得软件 的安装、 下载或分发信息。  This action can be performed by the SC0M0 client on the terminal device, ie the user device. The SC0M0 client can obtain software installation information, download information, distribution information, and the like from the user device. The SC0M0 client monitors the software to obtain software installation, download or distribution information, or collects software installation, download or distribution information after receiving the instructions sent by the SC0M0 server.
步骤 32、 根据所述软件信息获得所述用户设备上以非 SC0M0方式操作的软件的信 息。  Step 32: Obtain information about the software that is operated by the non-SC0M0 mode on the user equipment according to the software information.
该动作可由终端设备即用户设备上的 SC0M0客户端执行。 SC0M0客户端可根据步骤 31中获得的信息判断是否有软件以非 SC0M0方式进行安装、下载或分发等操作。所述软 件的信息为下述信息中的任意一种或组合: 软件名称、 软件版本、 软件的描述信息。 步骤 33、根据所述非 SC0M0方式操作的软件的信息在 SC0M0的相应节点下为所述非 SC0M0方式操作的软件创建并配置相应的节点。 This action can be performed by the SC0M0 client on the terminal device, ie the user device. The SC0M0 client can determine, according to the information obtained in step 31, whether the software is installed, downloaded, or distributed in a non-SC0M0 manner. The soft The information of the piece is any one or combination of the following information: software name, software version, software description information. Step 33: Create and configure a corresponding node for the non-SC0M0 mode operating software under the corresponding node of the SC0M0 according to the information of the software operating in the non-SC0M0 mode.
该动作可由终端设备即用户设备上的 SC0M0客户端执行。 SC0M0客户端在 SC0M0的 相应节点下为所述软件创建并配置相应的节点。 当所述软件以非 SC0M0方式安装时, 在 SC0M0的部署 (Deployed) 节点下为所述软件创建并配置相应的节点。 当所述软件以非 SC0M0方式下载时, 在 SC0M0的下载 (Download) 节点下为所述软件创建并配置相应的 节点。 当所述软件以非 SC0M0方式分发时, 在 SC0M0的分发 (Del ivered) 节点下为所 述软件创建并配置相应的节点。  This action can be performed by the SC0M0 client on the terminal device, ie the user device. The SC0M0 client creates and configures the corresponding node for the software under the corresponding node of SC0M0. When the software is installed in a non-SC0M0 mode, the corresponding node is created and configured for the software under the Deployed node of the SC0M0. When the software is downloaded in a non-SC0M0 mode, a corresponding node is created and configured for the software under the Download node of SC0M0. When the software is distributed in a non-SC0M0 manner, a corresponding node is created and configured for the software under the Delivered node of SC0M0.
当为以非 SC0M0方式安装的软件创建并配置相应的节点时, 具体包括: 在 SC0M0的 部署节点下为所述软件创建包标识参考节点; 为所述包标识参考节点配置用于标识所述 软件以非 SC0M0安装的值。 用于标识所述软件以非 SC0M0安装时, 还可在 SC0M0的部署 节点下创建并配置新的节点; 所述新的节点为用于标识所述软件为以非 SC0M0安装的节 点。  When the corresponding node is created and configured for the software installed in the non-SC0M0 mode, the method includes: creating a package identifier reference node for the software under the deployment node of the SC0M0; configuring the reference identifier node for identifying the software The value to be installed with non-SC0M0. When it is used to identify that the software is installed in a non-SC0M0, a new node may also be created and configured under the deployment node of the SC0M0; the new node is a node for identifying that the software is installed with a non-SC0M0.
当为以非 SC0M0方式下载的软件创建并配置相应的节点时, 具体包括: 在 SC0M0的 部署节点下为所述软件创建包标识节点; 为所述包标识节点配置用于标识所述软件以非 SC0M0下载的值。 用于标识所述软件以非 SC0M0下载时, 还可在 SC0M0的下载节点下创 建并配置新的节点; 所述新的节点为用于标识所述软件为以非 SC0M0下载的节点。  When the corresponding node is created and configured for the software that is downloaded in the non-SC0M0 mode, the method includes: creating a package identification node for the software under the deployment node of the SC0M0; configuring the package identification node to identify the software to be non- The value downloaded by SC0M0. When the software is used to download the non-SC0M0, a new node may be created and configured under the download node of the SC0M0; the new node is a node for identifying that the software is downloaded by the non-SC0M0.
当为以非 SC0M0方式分发的软件创建并配置相应的节点时, 具体包括: 在 SC0M0的 分发节点下为所述软件创建包标识节点; 为所述包标识节点配置用于标识所述软件以非 SC0M0分发的值。 用于标识所述软件以非 SC0M0分发时, 还可在 SC0M0的分发节点下创 建并配置新的节点; 所述新的节点为用于标识所述软件为以非 SC0M0分发的节点。  When the corresponding node is created and configured for the software distributed in the non-SC0M0 manner, the method specifically includes: creating a package identification node for the software under the distribution node of the SC0M0; configuring the package identification node to identify the software to be non- The value assigned by SC0M0. When it is used to identify that the software is distributed by non-SC0M0, a new node may also be created and configured under the distribution node of SC0M0; the new node is a node for identifying that the software is distributed by non-SC0M0.
步骤 34、 将所述节点的信息上报给 SC0M0服务器。  Step 34: Report the information of the node to the SC0M0 server.
该动作可由终端设备即用户设备上的 SC0M0客户端执行。 SC0M0客户端可将所述软 件的管理子树在所述 SC0M0的位置信息、所述软件当前状态信息或用于标识所述软件以 非 SC0M0方式操作的节点的信息中的至少一种或组合发送给所述 SC0M0服务器。该动作 也可根据所述 SC0M0服务器发送的查询指令执行上报所述节点的信息的操作。  This action can be performed by the SC0M0 client on the terminal device, ie the user device. The SC0M0 client may send the management subtree of the software to at least one or a combination of the location information of the SC0M0, the current state information of the software, or the information of the node used to identify the software to operate in a non-SC0M0 mode. Give the SC0M0 server. The action may also perform an operation of reporting information of the node according to the query instruction sent by the SC0M0 server.
本实施例中, SC0M0客户端通过监测以非 SC0M0方式操作的软件, 并在 SC0M0中为 该软件创建并配置相应的节点, SC0M0实现了对非 SC0M0方式操作软件的管理, 使得运 营商或其它管理方能够在已经被广泛认可的 SC0M0的基础上实现对用户设备上所有软件 的查询及管理。 In this embodiment, the SC0M0 client monitors the software operating in the non-SC0M0 mode, and creates and configures the corresponding node for the software in the SC0M0. The SC0M0 implements the management of the non-SC0M0 mode operating software, so that the operator or other management The party can implement all the software on the user equipment based on the already widely recognized SC0M0. Query and management.
当上述实施例中以非 SC0M0方式操作的软件被卸载时,本发明实施例提供的使用软 件组件管理对象管理软件的方法还可包括:  The method for managing the object management software using the software component provided by the embodiment of the present invention may further include: when the software operating in the non-SC0M0 mode is uninstalled in the foregoing embodiment, the method for managing the object management software using the software component provided by the embodiment of the present invention may further include:
获取所述非 SC0M0方式操作的软件的卸载信息。该动作可由终端设备即用户设备上 的 SC0M0客户端执行。 SC0M0客户端对软件进行监测获得软件的卸载信息, 或在接收到 SC0M0服务器端发送的指令后收集获得软件的卸载信息。  Obtaining the uninstallation information of the software operating in the non-SC0M0 mode. This action can be performed by the SC0M0 client on the terminal device, i.e., the user device. The SC0M0 client monitors the software to obtain the uninstallation information of the software, or collects the uninstallation information of the software after receiving the instruction sent by the SC0M0 server.
在所述软件以非 SC0M0方式卸载的情况下,根据所述卸载信息删除所述 SC0M0中为 所述软件创建的节点。 该动作可由终端设备即用户设备上的 SC0M0客户端执行。  In the case that the software is uninstalled in a non-SC0M0 manner, the node created in the SC0M0 for the software is deleted according to the uninstall information. This action can be performed by the SC0M0 client on the terminal device, ie the user device.
向所述 SC0M0服务器上报所述软件被卸载。 该动作可由终端设备即用户设备上的 SC0M0客户端执行。  The software is reported to be unloaded to the SC0M0 server. This action can be performed by the SC0M0 client on the terminal device, ie the user device.
本发明实施例提供的使用软件组件管理对象管理软件的方法还可包括: 接收所述 SC0M0服务器发送的删除指令;该动作可由终端设备即用户设备上的 SC0M0客户端执行。  The method for managing the object management software by using the software component provided by the embodiment of the present invention may further include: receiving a deletion instruction sent by the SC0M0 server; the action may be performed by a terminal device, that is, a SC0M0 client on the user equipment.
根据所述删除指令删除为所述非 SC0M0方式操作的软件创建的节点。该动作可由终 端设备即用户设备上的 SC0M0客户端执行。 SC0M0客户端在接收到 SC0M0服务器发送的 删除指令后删除为以非 SC0M0方式操作的软件创建的节点。  A node created for the software operating in the non-SC0M0 mode is deleted according to the delete instruction. This action can be performed by the SC0M0 client on the terminal device, i.e., the user device. The SC0M0 client deletes the node created by the software operating in the non-SC0M0 mode after receiving the delete command sent by the SC0M0 server.
假设 SC0M0客户端根据 SC0M0服务器的删除指令删除某一软件的节点信息, 当该软 件已被安装时,本实施例提供的使用软件组件管理对象管理软件的方法还可包括卸载所 述软件。 当该软件未被安装时, 本实施例提供的使用软件组件管理对象管理软件的方法 还可包括删除所述非 SC0M0方式操作的软件在用户设备上的物理文件。  It is assumed that the SC0M0 client deletes the node information of a certain software according to the deletion instruction of the SC0M0 server. When the software has been installed, the method for managing the object management software using the software component provided in this embodiment may further include uninstalling the software. When the software is not installed, the method for managing object management software using the software component provided by this embodiment may further include deleting the physical file of the software operated by the non-SC0M0 mode on the user equipment.
与图 3所示实施例相对应地,本发明实施例提供的另一种使用软件组件管理对象管 理软件的方法可包括:  In another embodiment of the present invention, the method for managing object management software using the software component provided by the embodiment of the present invention may include:
接收使用 SC0M0客户端上报的节点的信息;所述节点为所述 SC0M0客户端上在 SC0M0 中为软件创建并配置的节点; 所述软件为用户设备上以非 SC0M0方式操作的软件。  Receiving information of a node reported by the SC0M0 client; the node is a node created and configured for the software in the SC0M0 on the SC0M0 client; the software is software running on the user equipment in a non-SC0M0 manner.
该动作可由 DM服务器上的 SC0M0服务器端执行。 SC0M0客户端为以非 SC0M0方式操 作的软件创建并配置节点后,将相应信息上报给 SC0M0服务器端,具体详见上述步骤 34。  This action can be performed by the SC0M0 server on the DM server. After the SC0M0 client creates and configures the node for the software that is not in the SC0M0 mode, the SC0M0 client reports the corresponding information to the SC0M0 server. For details, see step 34 above.
SC0M0服务器端接收到上述信息后, 便能够实现对用户设备上所有软件的查询及管理。 After receiving the above information, the SC0M0 server can implement query and management of all software on the user equipment.
本发明实施例提供的使用软件组件管理对象管理软件的方法还可包括:  The method for managing object management software using the software component provided by the embodiment of the present invention may further include:
发送包含用于标识以非 SC0M0方式操作的软件的标识符如 "UserPrivate " 的查询 指令,所述查询指令用于根据所述标识符查询所述以非 SC0M0方式操作的软件的节点信 息。该动作可由 DM服务器上的 SC0M0服务器端执行。 SC0M0服务器端通过发送查询指令 便能够获知用户设备上以非 SC0M0方式操作的软件的所有信息。 A query instruction containing an identifier for identifying a software operating in a non-SC0M0 mode, such as "UserPrivate", is used to query node information of the software operating in a non-SC0M0 mode based on the identifier. This action can be performed by the SC0M0 server on the DM server. SC0M0 server sends a query command All information on the software operated by the non-SC0M0 mode on the user equipment can be known.
本发明实施例提供的使用软件组件管理对象管理软件的方法还可包括:  The method for managing object management software using the software component provided by the embodiment of the present invention may further include:
发送删除指令, 用于删除所述用户设备上以非软件组件管理对象方式操作的软件。 该动作可由 DM服务器上的 SC0M0服务器端执行。 SCOMO服务器端通过发送删除指令便能 够对用户设备上以非 SC0M0方式操作的软件进行管理。  Sending a delete command, which is used to delete software that is operated by the non-software component management object on the user equipment. This action can be performed by the SC0M0 server on the DM server. The SCOMO server can manage the software operated by the non-SC0M0 mode on the user equipment by sending a delete command.
图 4 为本发明实施例提供的另一种使用软件组件管理对象管理软件的方法的流程 图。 该方法包括:  FIG. 4 is a flow chart of another method for managing object management software using a software component according to an embodiment of the present invention. The method includes:
步骤 41、 获取用户设备上的软件安装信息。  Step 41: Obtain software installation information on the user equipment.
该动作可由 SC0M0客户端执行。 SC0M0客户端监测用户设备上软件安装的进程和信 息。 SC0M0客户端可以实时监测用户设备上的软件安装信息; 也可以采用定期定时的方 式来监测收集这段时间内用户设备上的软件安装信息; 还可以在接收到 SC0M0服务器的 指令后开始收集用户设备上的软件安装信息。  This action can be performed by the SC0M0 client. The SC0M0 client monitors the progress and process of software installation on the user equipment. The SC0M0 client can monitor the software installation information on the user equipment in real time. It can also use the periodic timing method to monitor the software installation information on the user equipment during the collection period. It can also start collecting the user equipment after receiving the instruction of the SC0M0 server. Software installation information on.
SC0M0客户端监测收集用户设备上的软件安装信息, 可以通过调用用户设备操作系 统提供的调用函数实现, 如 Windows Mobi le系统的手机上可以调用 "msi " 函数来获取 手机上的已安装软件列表; 也可以通过分析用户设备操作系统的软件安装、 卸载的日志 文件来实现, 如 Symbian 或 Li皿 x 系统的手机上可以通过读取分析系统文件 " instal led-software, log"或者 "Appinist. ini "来获得软件安装信息。  The SC0M0 client monitors and collects software installation information on the user equipment, and can be implemented by calling a calling function provided by the user equipment operating system. For example, the Windows Mobi le system can call the "msi" function to obtain a list of installed software on the mobile phone; It can also be implemented by analyzing the software files of the user equipment operating system installation and uninstallation. For example, the Symbian or Li dish x system can read the analysis system file "instal led-software, log" or "Appinist. ini". To get software installation information.
步骤 42、根据所述软件安装信息获得所述用户设备上以非 SC0M0方式安装的软件的 信息。  Step 42: Obtain information about software installed on the user equipment in a non-SC0M0 manner according to the software installation information.
该动作可由 SC0M0客户端执行。 SC0M0客户端判断用户设备上安装的软件是 SC0M0 方式安装还是非 SC0M0方式安装。  This action can be performed by the SC0M0 client. The SC0M0 client determines whether the software installed on the user equipment is SC0M0 mode or non-SC0M0 mode.
SC0M0客户端获知设备上安装软件的信息后, 判断软件是否是通过执行 SC0M0指令 " Inventory/Del ivered/ <X>/0perations/Instal l "  After the SC0M0 client knows the information about the software installed on the device, it determines whether the software is executing the SC0M0 command "Inventory/Delivered/<X>/0perations/Instal l".
或者 " Inventory/Del ivered/ <X>/ Operat ions/Instal 1 Inactive "  Or " Inventory/Del ivered/ <X>/ Operat ions/Instal 1 Inactive "
或者 "Download/ <X>/Operations/Downloadlnstal l "  Or "Download/ <X>/Operations/Downloadlnstal l "
或者 "Download/ <X>/ Operat ions/Downloadlnstal 1 Inactive "来安装的, 如果否, 则判定该软件以为非 SC0M0方式安装。  Or "Download/ <X>/ Operat ions/Downloadlnstal 1 Inactive" to install, if no, it is determined that the software is installed in non-SC0M0 mode.
对 SC0M0方式安装的软件, SC0M0客户端按照已有的 SC0M0协议在部署(Deployed) 节点下创建并配置相应的节点。  For the software installed in the SC0M0 mode, the SC0M0 client creates and configures the corresponding node under the deployed node according to the existing SC0M0 protocol.
步骤 43、 根据所述软件的信息在 SC0M0中为所述软件创建并配置相应的节点。 该动作可由 SC0M0客户端执行。 对非 SC0M0方式安装的软件, SC0M0客户端通过运 行监测程序获知所安装软件的名称、 版本、 安装路径等信息, 在 "Deployed"节点下为 该软件创建节点, 并将软件信息配置到相应的节点中去。 Step 43: Create and configure a corresponding node for the software in SC0M0 according to the information of the software. This action can be performed by the SC0M0 client. For the software installed in the non-SC0M0 mode, the SC0M0 client knows the name, version, installation path, etc. of the installed software by running the monitoring program, creates a node for the software under the "Deployed" node, and configures the software information to the corresponding node. Go in.
当 SC0M0 客户端获取到以非 SC0M0 方式安装的软件的信息后, 在 "Inventory/Deployed/" 下为该软件创建相应的节点: "〈X>"、 "ID"、 "PkglDRef", "Name,,、 "Version'^ "Status" 及 "State,,。  After the SC0M0 client obtains the information of the software installed in the non-SC0M0 mode, create the corresponding node for the software under "Inventory/Deployed/": "<X>", "ID", "PkglDRef", "Name, , , "Version'^ "Status" and "State,,.
其中, "〈X>"节点的名称可以由 SCOMO客户端自定义生成。 "ID"节点由 SC0M0客 户端生成, 该节点的值不可重复, 是该软件在 SC0M0上的唯一标识符。 "PkglDRef"节 点值是 SC0M0协议中由 SP编号、 软件名称按照一定的算法生成的一个编号。 本实施例 中该节点的值设置为区别上述算法生成的编号的特殊值, 如用 "UserPrivate"来区分 SC0M0中的以非 SC0M0方式安装的软件, SC0M0服务器可以通过查询值为" UserPrivate" 的 "PkglDRef"节点, 来获取 SC0M0上全部以非 SC0M0方式安装软件的信息。 "Name" 节点值可为步骤 41中获取的软件的安装名称。 "Version"节点值可为步骤 41中获取的 软件的版本号, 如 1.2。 "Status"节点值可设置为 10, 表示该软件尚未开始删除。 若 软件当前在运行状态, "State"节点值为 20; 若软件当前非运行状态, "State"节点值 为 10。  Among them, the name of the "<X>" node can be customized by the SCOMO client. The "ID" node is generated by the SC0M0 client. The value of this node is not repeatable and is the unique identifier of the software on SC0M0. The "PkglDRef" node value is a number generated by the SP number and the software name according to a certain algorithm in the SC0M0 protocol. In this embodiment, the value of the node is set to distinguish the special value of the number generated by the above algorithm, for example, "UserPrivate" is used to distinguish the software installed in the SC0M0 mode by the non-SC0M0 mode, and the SC0M0 server can pass the query value of "UserPrivate". The PkglDRef" node is used to obtain information about all software installed on SC0M0 in a non-SC0M0 manner. The "Name" node value can be the installation name of the software obtained in step 41. The "Version" node value can be the version number of the software obtained in step 41, such as 1.2. The "Status" node value can be set to 10, indicating that the software has not started to delete. If the software is currently running, the "State" node value is 20; if the software is currently not running, the "State" node value is 10.
若 SC0M0 客户端从步骤 41 中还获取到了软件的描述信息, 这里还可创建 "Description"节点, 并将描述信息写入该节点值。  If the SC0M0 client obtains the description of the software from step 41, it can also create a "Description" node and write the description information to the node value.
SC0M0客户端还可创建可执行节点 "Operations/Remove", 这样对非 SC0M0方式安 装的软件, SC0M0服务器也可以下发指令执行 "Operations/Remove"进行卸载。  The SC0M0 client can also create the executable node "Operations/Remove". For software that is not installed in SC0M0 mode, the SC0M0 server can also issue instructions to perform "Operations/Remove" to uninstall.
SC0M0服务器可以下发 "Get"指令读取 "Inventory/D印 loyed"下的节点, 来获取 全部" D印 loyed"下的节点信息,或者只是通过读取值等于" UserPrivate"的" PkglDRef " 节点, 来获取非 SC0M0方式安装的软件的节点信息。  The SC0M0 server can issue the "Get" command to read the node under "Inventory/Dprinted" to get the node information under all "Dprinted", or just by reading the "PkglDRef" node with the value equal to "UserPrivate". , to get the node information of the software installed in non-SC0M0 mode.
步骤 44、 将所述节点的信息上报给 SC0M0服务器。  Step 44: Report the information of the node to the SC0M0 server.
该动作可由 SC0M0客户端执行。 SC0M0客户端向 SC0M0服务器上报非 SC0M0方式安 装的软件的信息。  This action can be performed by the SC0M0 client. The SC0M0 client reports information about the software installed in the SC0M0 mode to the SC0M0 server.
SC0M0客户端向 SC0M0服务器上报软件的状态是"安装", 并且上报该软件在管理树 上的位置信息如 URL: "Inventory/Deployed/<X>", 并向 SC0M0服务器上报" PkglDRef " 的值, 让服务器获知被安装的是以非 SC0M0方式安装的软件。  The SC0M0 client reports the status of the software to the SC0M0 server as "installation", and reports the location information of the software on the management tree, such as the URL: "Inventory/Deployed/<X>", and reports the value of "PkglDRef" to the SC0M0 server. Let the server know that the software installed is a non-SC0M0 mode.
相应地, 本发明实施例提供的使用软件组件管理对象管理软件的方法可包括: 接收使用 SCOMO客户端上报的节点的信息;所述节点为所述 SC0M0客户端上在 SC0M0 中为软件创建并配置的节点; 所述软件为用户设备上以非 SC0M0方式安装的软件。 该动 作可由 SC0M0服务器执行。 接收的节点的信息详见上述步骤 44的说明。 Correspondingly, the method for managing object management software using the software component provided by the embodiment of the present invention may include: Receiving information of a node reported by the SCOMO client; the node is a node created and configured for the software in the SC0M0 on the SC0M0 client; the software is software installed on the user equipment in a non-SC0M0 manner. This action can be performed by the SC0M0 server. For details of the received node, see the description of step 44 above.
本发明实施例提供的使用软件组件管理对象管理软件的方法还可包括: 发送查询指 令, 用于查询所述以非 SC0M0方式安装的软件的节点信息。 该动作可由 SC0M0服务器执 行。 SC0M0服务器可通过查询指令查询用户设备上所有以非 SC0M0方式安装的软件信息。  The method for managing object management software using the software component provided by the embodiment of the present invention may further include: sending a query instruction for querying node information of the software installed in the non-SC0M0 mode. This action can be performed by the SC0M0 server. The SC0M0 server can query all the software information installed on the user equipment by the non-SC0M0 mode through the query instruction.
本发明实施例提供的使用软件组件管理对象管理软件的方法还可包括: 发送删除指 令,用于删除所述用户设备以非 SC0M0方式安装的软件。该动作可由 SC0M0服务器执行。 SC0M0服务器可通过删除指令删除用户设备上所有以非 SC0M0方式安装的软件。  The method for managing the object management software using the software component provided by the embodiment of the present invention may further include: sending a deletion instruction, and deleting the software installed by the user equipment in a non-SC0M0 manner. This action can be performed by the SC0M0 server. The SC0M0 server can delete all software installed on the user equipment that is not SC0M0 by deleting the instruction.
本实施例中, SC0M0客户端通过监测以非 SC0M0方式安装的软件, 并在 SC0M0中为 该软件创建并配置相应的节点, SC0M0实现了对非 SC0M0方式安装软件的管理, 使得运 营商或其它管理方能够在已经被广泛认可的 SC0M0的基础上实现对用户设备上所有安装 的软件的查询管理。  In this embodiment, the SC0M0 client monitors the software installed in the non-SC0M0 mode, and creates and configures the corresponding node for the software in the SC0M0. The SC0M0 implements the management of the non-SC0M0 mode installation software, so that the operator or other management The party can implement query management of all installed software on the user equipment on the basis of the already widely recognized SC0M0.
本发明实施例提供的使用软件组件管理对象管理软件的方法还可包括对软件进行 卸载管理。 如图 5所示, 具体可包括:  The method for managing object management software using the software component provided by the embodiment of the present invention may further include uninstalling and managing the software. As shown in FIG. 5, the specific may include:
步骤 51、 获取所述软件的卸载信息。  Step 51: Obtain the uninstallation information of the software.
该动作可由 SC0M0客户端执行。 SC0M0客户端通过监测程序监测用户设备上是否有 软件被卸载。 在有软件被卸载的情况下, SC0M0客户端执行步骤 52。  This action can be performed by the SC0M0 client. The SC0M0 client monitors whether the software is uninstalled on the user equipment through the monitoring program. In the case where the software is uninstalled, the SC0M0 client performs step 52.
SC0M0客户端可以实时监测用户设备上的软件卸载情况; 也可以采用定期定时的方 式来监测收集这段时间内用户设备上的软件卸载情况; 还可以在接收到 SC0M0服务器的 指令后开始收集用户设备上的软件卸载情况。  The SC0M0 client can monitor the software uninstallation on the user equipment in real time. It can also use the periodic timing method to monitor the software uninstallation on the user equipment during the collection period. It can also start collecting the user equipment after receiving the instruction of the SC0M0 server. The software uninstallation situation.
SC0M0客户端监测收集用户设备上的软件卸载情况, 可以通过调用用户设备的操作 系统提供的调用函数实现, 也可以通过分析用户设备操作系统的软件卸载的日志文件, 如 Symbian 或 Li皿 x 系 统 的 手 机 上可 以 通 过读取 分 析系 统 文件 "uninstal led- software, log"来获得软件卸载信息。  The SC0M0 client monitors the software uninstallation on the user equipment. It can be implemented by calling the calling function provided by the operating system of the user equipment, or by analyzing the log files of the software uninstalled by the operating system of the user equipment, such as the Symbian or Li dish x system. The software uninstallation information can be obtained by reading the analysis system file "uninstal led-software, log" on the mobile phone.
步骤 52、 在所述软件以非 SC0M0方式卸载的情况下, 根据所述卸载信息删除所述 SC0M0中为所述软件创建的节点。  Step 52: In the case that the software is uninstalled in a non-SC0M0 manner, the node created in the SC0M0 for the software is deleted according to the uninstall information.
该动作可由 SC0M0客户端执行。 SC0M0客户端判断卸载的软件是否以 SC0M0方式卸 载。 SC0M0客户端通过步骤 51获知用户设备上卸载的软件的信息后,可以判断软件是否 是通过执行 SC0M0指令 " Inventory/Deployed/<X>/Operations/Remove "来卸载的。 如果是,说明卸载的软件以 SC0M0方式卸载,则按照已有的 SC0M0协议删除" D印 loyed" 节点下的相应节点; 如果否, 说明卸载的软件以非 SC0M0方式卸载, 则从监测信息中获 取被卸载软件的名称等信息, 删除 "Deployed"节点下的相应节点, 执行步骤 53。 This action can be performed by the SC0M0 client. The SC0M0 client determines whether the uninstalled software is uninstalled in SC0M0 mode. After the SC0M0 client knows the information of the software uninstalled on the user equipment through step 51, it can determine whether the software is uninstalled by executing the SC0M0 instruction "Inventory/Deployed/<X>/Operations/Remove". If yes, it indicates that the uninstalled software is uninstalled in the SC0M0 mode, and the corresponding node under the "D-printed" node is deleted according to the existing SC0M0 protocol; if not, the uninstalled software is uninstalled in the non-SC0M0 mode, and the obtained information is obtained from the monitoring information. Delete the name of the uninstalled software, delete the corresponding node under the "Deployed" node, and go to Step 53.
步骤 53、 向所述 SC0M0服务器上报所述软件被卸载。  Step 53: Reporting to the SC0M0 server that the software is uninstalled.
该动作可由 SC0M0客户端执行。 SC0M0客户端向 SC0M0服务器上报有软件以非 SC0M0 方式卸载。  This action can be performed by the SC0M0 client. The SC0M0 client reports to the SC0M0 server that the software is uninstalled in a non-SC0M0 mode.
SC0M0客户端向 SC0M0服务器上报软件的状态是"卸载", 并且上报该软件在管理树 上的 URL: " Inventory/Deployed/<X>", 并向 SC0M0服务器上报 " PkglDRef " 的值, 让 服务器知道被卸载的是非 SC0M0方式安装或卸载的软件。  The SC0M0 client reports the status of the software to the SC0M0 server as "Uninstall", and reports the URL of the software on the management tree: "Inventory/Deployed/<X>", and reports the value of "PkglDRef" to the SC0M0 server, letting the server know. Uninstalled is software that is installed or uninstalled in a non-SC0M0 mode.
以一台 Windows Mobile操作系统的手机为例。 假设该手机安装有 SC0M0客户端, 支持 SC0M0协议。 SC0M0客户端利用手机上 Windows Mobile系统开放的 "msi " 函数, 实时获取当前手机上的软件安装列表。 当用户将一个手机游戏软件 Fighterl. 2 的安装 文件从网上下载到计算机上, 并使用数据线连接手机和计算机, 将该安装文件复制到手 机上, 进行安装时, SC0M0客户端获得该新安装软件的名称 Fighter, 版本为 1. 2, 以及 安装路径 " \Applications\Fighter,,。  Take a mobile phone with Windows Mobile operating system as an example. Assume that the phone has a SC0M0 client installed and supports the SC0M0 protocol. The SC0M0 client uses the "msi" function of the Windows Mobile system on the mobile phone to obtain the software installation list on the current mobile phone in real time. When the user downloads the installation file of a mobile game software Fighter. 2 from the Internet to the computer, and uses the data cable to connect the mobile phone and the computer, copy the installation file to the mobile phone, and when installing, the SC0M0 client obtains the newly installed software. The name Fighter, version 1. 2, and the installation path " \Applications\Fighter,,.
SC0M0 客户端检查执行 SC0M0 服务器的安装指令的记录, 获知该新安装软件为非 SC0M0方式安装后, 在 SC0M0的 " Inventory/D印 loyed"节点下开始为该新安装软件创 建管理节点, 并将获取到的软件信息配置到相应的节点中:  The SC0M0 client checks the record of the installation instruction of the SC0M0 server, and after learning that the newly installed software is installed in the non-SC0M0 mode, starts to create a management node for the newly installed software under the "Inventory/DPrinted" node of SC0M0, and will obtain The software information obtained is configured into the corresponding node:
创建并配置 " "节点的名字为 "Fighterl23 ", "〈X>"节点的名字可由 SC0M0客 户端自定义命名;  Create and configure the name of the node "Fighterl23", the name of the "<X>" node can be customized by the SC0M0 client;
创建并配置 " ID"节点的值为 000876, 以在整个 SC0M0上唯一标识该软件; 创建并配置 "PkglDRef"节点的值为 "UserPrivate", 以表示该软件是非 SC0M0方 式安装的软件;  Create and configure the value of the "ID" node to 000876 to uniquely identify the software on the entire SC0M0; create and configure the value of the "PkglDRef" node to be "UserPrivate" to indicate that the software is software that is not SC0M0 installed;
创建并配置 "Name"节点的值为 "Fighter";  Create and configure the value of the "Name" node to be "Fighter";
创建并配置 "Version"节点的值为 1. 2;  Create and configure the value of the "Version" node to 1. 2;
创建并配置 "State"节点的值为 10, 以表示该软件当前未运行;  Create and configure a value of 10 for the "State" node to indicate that the software is not currently running;
创建并配置 "Status" 的节点值为 10, 以表示该软件尚未开始卸载;  Create and configure a "Status" with a node value of 10 to indicate that the software has not started uninstalling;
创建可执行节点 "Operations/Remove", 当 SC0M0服务器向 SC0M0客户端发送执行 该节点的指令时, SC0M0客户端到程序安装目录 " \Applications\Fighter"下寻找卸载 程序, 将该软件卸载。 卸载后, SC0M0客户端会删除掉从〈Fighterl23>开始往下全部节 点, 也就是清除该软件在管理树上的全部信息。 Create the executable node "Operations/Remove". When the SC0M0 server sends an instruction to execute the node to the SC0M0 client, the SC0M0 client looks for the uninstaller under the program installation directory "\Applications\Fighter" and uninstalls the software. After uninstalling, the SC0M0 client will delete all the sections starting from <Fighterl23> Point, that is, clear all information about the software in the management tree.
在 SC0M0客户端创建并配置完相应的节点后, 向 SC0M0服务器上报该安装软件的信 息。 上报的信息包括: 该软件的管理子树在整个 SC0M0 上的位置信息 " Inventory/Deployed/Fighterl23 "; 该软件的状态信息 " Status = 10 "; 以及 "PkgIDRef=UserPrivate ", 告知 SC0M0服务器该软件为用户自安装软件, 即该软件为 非 SC0M0方式安装软件。  After the corresponding node is created and configured on the SC0M0 client, the information about the installation software is reported to the SC0M0 server. The reported information includes: The location information of the management subtree of the software on the entire SC0M0 "Inventory/Deployed/Fighterl23"; the status information of the software "Status = 10"; and "PkgIDRef=UserPrivate", telling the SC0M0 server that the software is The user installs the software, that is, the software installs the software in a non-SC0M0 mode.
或者, SC0M0服务器可以向 SC0M0客户端发送 "Get "指令来获取 "D印 loyed"节点 下的全部节点信息, 来获取当前设备上全部的软件安装信息; 也可以发送带有参数的 "Get "指令来获取 "Deployed"节点下 "PkglDRef "节点值为 "UserPrivate " 的全部 〈X〉节点下的信息, 来获取当前用户设备上非 SC0M0方式安装的软件列表。  Alternatively, the SC0M0 server may send a "Get" command to the SC0M0 client to obtain all the node information under the "D-printed" node to obtain all software installation information on the current device; or send a "Get" command with parameters. To obtain the information of all the <X> nodes of the "PkglDRef" node value under the "Deployed" node with the value of "UserPrivate", to obtain the software list of the non-SC0M0 mode installed on the current user equipment.
再以一台 Symbian操作系统的手机为例。 该手机同样安装有 SC0M0客户端, 并且支 持 SC0M0协议。 本实施例中, SC0M0客户端设置了定时器, 每 24小时查询一次这 24小 时内设备上非 SC0M0方式新安装或卸载的软件, 并且在 SC0M0上创建维护节点。 或者, SC0M0客户端在 24个小时后收到 SC0M0服务器发送的指令,同步 SC0M0的信息和设备上 安装的软件的信息。 SC0M0客户端获取最新的系统文件 " instal led-software. log", 与 24小时前备份的 instal led-software. log文件对比,分析这 24个小时内是否有新安装 软件的信息。  Take a Symbian OS phone as an example. The phone also has a SC0M0 client installed and supports the SC0M0 protocol. In this embodiment, the SC0M0 client sets a timer, and queries the software installed or uninstalled in the non-SC0M0 mode on the device within 24 hours every 24 hours, and creates a maintenance node on SC0M0. Alternatively, the SC0M0 client receives an instruction from the SC0M0 server after 24 hours to synchronize the information of the SC0M0 with the software installed on the device. The SC0M0 client obtains the latest system file " instal led-software. log", compared with the instal led-software. log file backed up 24 hours ago, and analyzes whether there is information about the newly installed software within 24 hours.
假设用户用蓝牙方式将一个图书阅读器软件 EReader5. 5发送到该手机上, 并进行 安装。 SC0M0客户端查询获知, 或者 SC0M0服务器通过对比分析获知用户设备新安装了 软件 EReader5. 5, 并从日志文件中获取该软件的名字、 版本、 描述和安装路径等信息。 Suppose a user Bluetooth manner book reader software ERead er 5. 5 sent to the phone, and install. The SC0M0 client query is known, or the SC0M0 server knows that the user equipment newly installed the software ERead er 5. 5 through comparison analysis, and obtains the software name, version, description and installation path from the log file.
SC0M0客户端检查执行 SC0M0服务器的安装指令的记录, 判断该软件为非 SC0M0方 式安装; SC0M0客户端在 SC0M0的 " Inventory/D印 loyed"节点下开始为该软件创建管 理节点:  The SC0M0 client checks the record of the installation instruction of the SC0M0 server and determines that the software is not SC0M0. The SC0M0 client starts to create a management node for the software under the Inventory/DPrinted node of SC0M0:
创建并配置 " "节点的名字为 456EReader, 该节点的名字可由 SC0M0客户端自 定义命名;  Create and configure the name of the node as 456EReader, the name of the node can be customized by the SC0M0 client;
创建并配置 " ID"节点的值为 000888, 以在整个 SC0M0上唯一标识该软件; 创建并配置 "PkglDRef " 节点的值为空, 以表示该软件是以非 SC0M0方式安装的 软件;  Create and configure the value of the "ID" node to 000888 to uniquely identify the software on the entire SC0M0; create and configure the value of the "PkglDRef" node to be empty to indicate that the software is installed in a non-SC0M0 mode;
创建并配置 " Name " 节点的值为 EReader;  Create and configure the value of the "Name" node as EReader;
创建并配置 " Version" 节点的值为 5. 5; 创建并配置 "Description" 节点的值为 "阅读器" The value of the "Version" node is 5. 5; Create and configure the value of the "Description" node as "Reader"
创建并配置 " State " 节点的值为 10, 以表示该软件当前未运行;  Create and configure a "State" node with a value of 10 to indicate that the software is not currently running;
创建并配置 " Status " 的节点值为 10, 以表示该软件尚未开始卸载;  Create and configure a "Status" with a node value of 10 to indicate that the software has not started uninstalling;
创建并配置可执行节点 "Operations/Active ", 当 SC0M0服务器向 SC0M0客户端发 送执行该节点的指令时, SC0M0服务器到程序安装目录 " \Appl ications\EReader"下寻 找启动文件, 开始运行该软件, 同时将 " State " 节点的值更新为 20, 表示该软件处于 运行状态;  Create and configure the executable node "Operations/Active". When the SC0M0 server sends an instruction to execute the node to the SC0M0 client, the SC0M0 server looks for the startup file under the program installation directory "\Appl ications\EReader" and starts running the software. At the same time, the value of the "State" node is updated to 20, indicating that the software is running;
创建并配置可执行节点 "Operations/Remove ", 当 SC0M0服务器向 SC0M0客户端发 送执行该节点的指令时, SC0M0服务器到程序安装目录 " \Appl ications\Fighter"下寻 找卸载程序卸载该软件。 该软件被卸载后, SC0M0客户端删除从〈Fighterl23>开始往下 的全部节点, 即清除该软件在管理树上的全部信息。  Create and configure the executable node "Operations/Remove". When the SC0M0 server sends an instruction to execute the node to the SC0M0 client, the SC0M0 server goes to the program installation directory "\Appl ications\Fighter" to find the uninstaller to uninstall the software. After the software is uninstalled, the SC0M0 client deletes all the nodes starting from <Fighterl23>, that is, clears all the information of the software in the management tree.
SC0M0服务器可以向 SC0M0客户端发送 "Get "指令来获取 "D印 loyed"节点下的全 部节点信息, 来获取当前设备上全部的软件安装信息; 也可以发送带有参数的 "Get " 指令来获取 "D印 loyed"节点下 "PkglDRef "节点值为空的全部〈X>节点下的信息, 来 获取当前设备上非 SC0M0方式安装的软件列表。  The SC0M0 server can send a "Get" command to the SC0M0 client to obtain all the node information under the "D-printed" node to obtain all software installation information on the current device; or send a "Get" command with parameters to obtain The information under the <X> node where the "PkglDRef" node value is empty under the "D-printed" node is used to obtain the list of software installed on the current device in the non-SC0M0 mode.
假如 SC0M0客户端获取最新的系统文件 "uninstal led-software. log", 与 24小时 前备份的系统文件 "uninstal led-software. log"进行对比, 分析该 24个小时内是否 有软件被卸载。 当检查到 EReader被卸载, SC0M0客户端检查执行 SC0M0服务器的安装 指令的记录, 判断该软件为非 SC0M0方式卸载, 则 SC0M0客户端删除〈EReader>节点往 下的全部节点。  If the SC0M0 client obtains the latest system file "uninstal led-software. log", compare it with the system file "uninstal led-software. log" backed up 24 hours ago to analyze whether the software is uninstalled within 24 hours. When it is checked that the EReader is unloaded, the SC0M0 client checks the record of the installation instruction of the SC0M0 server, and judges that the software is unsold by the SC0M0 mode, and the SC0M0 client deletes all the nodes below the <EReader> node.
图 6 为本发明实施例提供的再一种使用软件组件管理对象管理软件的方法的流程 图。 本实施例主要对软件进行下载管理。 如图 6所示, 具体可包括:  FIG. 6 is a flow chart of still another method for managing object management software using a software component according to an embodiment of the present invention. This embodiment mainly performs download management on software. As shown in FIG. 6, specifically, the method may include:
步骤 61、 在软件下载时获取所述软件的描述文件。  Step 61: Obtain a description file of the software when the software is downloaded.
该动作可由 SC0M0客户端执行。 SC0M0客户端可以实施监控当前设备上是否有空中 传输的进程, 如果监控到有的话, 可以通过获取传输文件的描述文件的方式, 获取被下 载文件的名称、 版本等信息,  This action can be performed by the SC0M0 client. The SC0M0 client can implement the process of monitoring whether there is an over-the-air transmission on the current device. If it is detected, the information such as the name and version of the downloaded file can be obtained by obtaining the description file of the transmission file.
步骤 62、在所述软件以非 SC0M0方式下载的情况下,根据所述描述文件在所述 SC0M0 的下载节点下, 为所述软件创建并配置相应的节点。  Step 62: In the case that the software is downloaded in a non-SC0M0 manner, the corresponding node is created and configured for the software according to the description file under the download node of the SC0M0.
该动作可由 SC0M0客户端执行。 SC0M0客户端根据获取被下载文件的名称、 版本等 信息, 在 "Download"节点下创建并配置相应的节点。 在所述软件下载完成后, 下载管理还可包括: This action can be performed by the SC0M0 client. The SC0M0 client creates and configures the corresponding node under the "Download" node according to the information such as the name and version of the downloaded file. After the software download is completed, the download management may further include:
步骤 63、 在所述 SC0M0的下载节点下, 为所述软件创建并配置相应的节点。  Step 63: Create and configure a corresponding node for the software under the download node of the SC0M0.
该动作可由 SC0M0客户端执行。 SC0M0客户端在所述 SC0M0的分发节点下为所述软 件创建包标识(PkgID)节点, 为所述创建包标识节点配置用于标识所述软件以非 SC0M0 方式下载的值。 为所述软件创建并配置相应的节点之后, SC0M0客户端还可将所述软件 的创建包标识节点的值上报给所述 SC0M0服务器。  This action can be performed by the SC0M0 client. The SC0M0 client creates a packet identification (PkgID) node for the software under the distribution node of the SC0M0, and configures a value for the creation of the package identification node to identify that the software downloads in a non-SC0M0 manner. After the corresponding node is created and configured for the software, the SC0M0 client may also report the value of the created packet identification node of the software to the SC0M0 server.
对于已完成下载但尚未安装的软件, 或者对于用户设备上已有且未安装的软件, SC0M0客户端根据软件的信息如文件名称或类型等与 SC0M0的分发节点下已有的信息做 比较, 如果没有, 说明该软件以非 SC0M0方式分发, 则在 SC0M0的分发节点下为所述软 件创建并配置相应的节点。  For software that has been downloaded but not yet installed, or for software that is already installed on the user device and not installed, the SC0M0 client compares with the information already existing under the distribution node of SC0M0 according to the software information such as the file name or type. No, it indicates that the software is distributed in a non-SC0M0 manner, and the corresponding node is created and configured for the software under the distribution node of the SC0M0.
以一台 Andriod操作系统的手机为例。假设用户使用该手机收到一条带有某软件下 载 URL的短信, 用户点击该 URL下载该软件。 SC0M0客户端监测到该手机上有空中传输 下载的进程, 于是获取该下载的软件的描述文件, 从中获取该软件的下载 URL、文件名、 版本号、 描述信息、 文件类型。 SC0M0客户端通过监测执行 SC0M0服务器的指令记录, 判断该下载软件为非 SC0M0服务器下发, 则在 "Download"节点下开始为该下载的软件 创建节点, 并且将从描述文件中获取到的信息配置到 " PkgURL "、 " Name "、 "Description '\ "PkgType" 节点的值中去,为" PkgID"设置特殊的值如" UserPrivate" 来标识非 SC0M0 方式下载。 SC0M0 服务器可以通过查询值等于 " UserPrivate " 的 "Download/O /PkglD"节点来获取当前手机上正在下载的以非 SC0M0方式下载的软件。  Take a mobile phone with an Andriod operating system as an example. Suppose the user receives a text message with a software download URL using the mobile phone, and the user clicks the URL to download the software. The SC0M0 client monitors the process of over-the-air downloading on the mobile phone, and then obtains a description file of the downloaded software, and obtains a download URL, a file name, a version number, a description information, and a file type of the software. The SC0M0 client monitors the execution of the instruction record of the SC0M0 server, and determines that the downloaded software is delivered by the non-SC0M0 server. Then, under the "Download" node, a node is created for the downloaded software, and the information obtained from the description file is configured. Go to the value of the "PkgURL", "Name", "Description '\ "PkgType" node, and set a special value for "PkgID" such as "UserPrivate" to identify the non-SC0M0 mode download. The SC0M0 server can pass the query value equal to "UserPrivate" The "Download/O /PkglD" node is used to obtain the software downloaded from the current mobile phone that is not downloaded by SC0M0.
在该软件下载成功后, SC0M0客户端在 " Inventory/Delivered"节点下为成功下载 的软件创建并配置节点信息, 将 "Name"、 "Description", "PkgType " 节点的值进行 相应配置, 为 "PkgID"设置特殊的值如 "UserPrivate"或空来标识该软件为非 SC0M0 方式下载, 并创建 "/Inventory/Delivered/<X>/Operations/Remove"节点。 SC0M0月艮 务器可以通过查询值等于 "UserPrivate" 的 " /Inventory/Del ivered/<X>/PkgID "节 点, 来获取该手机上正在下载的非 SC0M0方式下载的软件。 SC0M0服务器还可以通过下 发指令 "/Inventory/Del ivered/〈X>/Operations/Remove", 来指示 SC0M0客户端删除 该软件。  After the software is successfully downloaded, the SC0M0 client creates and configures node information for the successfully downloaded software under the "Inventory/Delivered" node, and configures the values of the "Name", "Description", and "PkgType" nodes accordingly. PkgID "sets a special value such as "UserPrivate" or null to identify that the software is downloaded in a non-SC0M0 mode and creates a "/Inventory/Delivered/<X>/Operations/Remove" node. The SC0M0 server can obtain the software downloaded by the non-SC0M0 mode downloaded from the mobile phone by querying the "/Inventory/Del ivered/<X>/PkgID" node whose value is equal to "UserPrivate". The SC0M0 server can also instruct the SC0M0 client to delete the software by issuing the command "/Inventory/Del ivered/<X>/Operations/Remove".
SC0M0客户端还可以通过搜索用户设备上的所有文件的方式, 来获取用户设备上的 软件信息。 SC0M0客户端获取某一软件的软件信息后, 通过将该软件的软件信息中的文 件名称和类型与 " Inventory/Delivered"节点下已有的软件信息的〈name^P〈PkgType> 做比较,判断该软件是否已经在管理树上存在。若不存在,则在 " Inventory/Delivered/" 下创建并配置相应的节点来管理该软件, SC0M0服务器可以通过对 SC0M0的查询指令或 删除指令来查询或删除这些软件。 The SC0M0 client can also obtain software information on the user device by searching for all files on the user device. After obtaining the software information of a certain software, the SC0M0 client passes the file name and type in the software information of the software and the <name^P<PkgType> of the existing software information under the "Inventory/Delivered" node. Compare and determine if the software already exists on the management tree. If it does not exist, create and configure the corresponding node under "Inventory/Delivered/" to manage the software. The SC0M0 server can query or delete the software by querying or deleting the instruction of SC0M0.
以一台 Windows Mobile的手机为例。 该手机同样安装有 SC0M0客户端, 支持 SC0M0 协议。 本实施例中, SC0M0客户端通过对手机存储设备进行搜索, 查找所有 CAB、 INI、 LIC、 CERT等格式的软件安装前的文件来获取该手机上的可执行文件、 注册 (license) 文件或证书文件的具体信息。 其中, 注册文件或证书文件也可被认为是软件的信息。  Take a Windows Mobile phone as an example. The phone also has a SC0M0 client installed, which supports the SC0M0 protocol. In this embodiment, the SC0M0 client searches for the storage device of the mobile phone, and searches for files before the software installation in all CAB, INI, LIC, CERT and other formats to obtain an executable file, a license file or a certificate on the mobile phone. Specific information about the file. Among them, the registration file or certificate file can also be considered as software information.
SC0M0客户端查找到符合上述列举的格式的文件后, 判断这些文件非 SC0M0方式分 发, 在 SC0M0上的 " Inventory/Delivered/"节点下为这些文件创建相应的节点, 并配 置 节 点 名 称 , 如 " name ,, 、 " version ,, 、 " PkgType " 等 , 为 " Inventory/Delivered/<X>/PkgID"设置特殊的值如 "UserPrivate"或空, 来标识这 些 文 件 为 非 SC0M0 方 式 分 发 。 SC0M0 服 务 器 可 以 通 过 查 询 " Inventory/Delivered/<X>/PkgID" 节点的值来获取用户设备上所有非 SC0M0方式分 发 的 软 件 信 息 ; SC0M0 服 务 器 可 以 通 过 发 送 操 作 指 令 " Inventory/Del ivered/<X>/Operations/Remove"来删除相应的文件。  After finding the files in the format listed above, the SC0M0 client judges that these files are not distributed in the SC0M0 mode. Create corresponding nodes for these files under the "Inventory/Delivered/" node on SC0M0, and configure the node name, such as "name". , , , " version , , , " PkgType ", etc., set a special value such as "UserPrivate" or empty for "Inventory/Delivered/<X>/PkgID" to identify these files for non-SC0M0 mode distribution. The SC0M0 server can obtain the software information distributed by all non-SC0M0 modes on the user equipment by querying the value of the "Inventory/Delivered/<X>/PkgID" node; the SC0M0 server can send the operation instruction "Inventory/Del ivered/<X>/ Operations/Remove" to delete the corresponding file.
图 7 为本发明实施例提供的一种软件组件管理对象客户端装置的结构示意图。 该 SC0M0客户端装置包括: 第一获取模块 71、 第二获取模块 72、 创建模块 73及上报模块 74。 第一获取模块 71用于获取用户设备上的软件信息。 第二获取模块 72用于根据所述 软件信息获得所述用户设备上以非 SC0M0方式操作的软件的信息。 创建模块 73用于根 据所述非 SC0M0方式操作的软件的信息在 SC0M0的相应节点下为所述非 SC0M0方式操作 的软件创建并配置相应的节点。 上报模块 74用于将所述节点的信息上报给 SC0M0服务 器。  FIG. 7 is a schematic structural diagram of a software component management object client device according to an embodiment of the present invention. The SC0M0 client device includes: a first obtaining module 71, a second obtaining module 72, a creating module 73, and a reporting module 74. The first obtaining module 71 is configured to acquire software information on the user equipment. The second obtaining module 72 is configured to obtain, according to the software information, information of software that is operated by the non-SC0M0 mode on the user equipment. The creating module 73 is configured to create and configure a corresponding node for the non-SC0M0 mode operating software under the corresponding node of the SC0M0 according to the information of the software operating in the non-SC0M0 mode. The reporting module 74 is configured to report the information of the node to the SC0M0 server.
所述第一获取模块可 71可具体用于获取用户设备上的软件安装信息; 所述第二获 取模块 72可具体用于根据所述软件安装信息获得所述用户设备上以非 SC0M0方式安装 的软件的信息; 所述创建模块 73可具体用于根据所述软件的信息在 SC0M0的部署节点 下为所述软件创建并配置相应的节点。  The first obtaining module 71 may be specifically configured to acquire software installation information on the user equipment. The second obtaining module 72 may be specifically configured to obtain, according to the software installation information, the non-SC0M0 manner installed on the user equipment. The information of the software may be specifically configured to create and configure a corresponding node for the software under the deployment node of the SC0M0 according to the information of the software.
所述第一获取模块 71可具体用于在下载软件的过程中获取用户设备上的软件下载 信息; 所述第二获取模块 72可具体用于根据所述软件下载信息获得所述用户设备上以 非 SC0M0方式下载的软件的信息; 所述创建模块 73可具体用于根据所述软件的信息在 所述 SC0M0的下载节点下, 为所述软件创建并配置相应的节点。 所述第一获取模块 71可具体用于获取用户设备上已有且未安装的软件的信息; 所 述第二获取模块 72 可具体用于根据所述所有已有且未安装的软件的信息获取以非 SC0M0方式分发的软件的信息;所述创建模块 73可具体用于根据所述软件的信息在所述 SC0M0的分发节点下, 为所述软件创建并配置相应的节点。 The first obtaining module 71 may be specifically configured to obtain software download information on the user equipment in the process of downloading the software. The second obtaining module 72 may be specifically configured to obtain the user equipment according to the software download information. The information of the software downloaded by the non-SC0M0 mode; the creating module 73 may be specifically configured to create and configure a corresponding node for the software under the download node of the SC0M0 according to the information of the software. The first obtaining module 71 may be specifically configured to obtain information of software that is already installed on the user equipment and that is not installed. The second obtaining module 72 may be specifically configured to obtain information according to the information of all the existing and not installed software. The information of the software distributed in the non-SC0M0 manner; the creating module 73 may be specifically configured to create and configure a corresponding node for the software under the distribution node of the SC0M0 according to the information of the software.
所述上报模块 74可具体用于将所述软件的管理子树在所述 SC0M0中的位置信息、 所述软件当前状态信息、用于标识所述软件以非 SC0M0方式操作的节点的信息中的至少 一种发送给所述 SC0M0服务器。  The reporting module 74 may be specifically configured to use location information of the management subtree of the software in the SC0M0, the current state information of the software, and information of a node used to identify the software to operate in a non-SC0M0 mode. At least one is sent to the SC0M0 server.
本发明实施例提供的软件组件管理对象客户端装置还可包括: 第三获取模块及节点 删除模块。 第三获取模块用于获取所述软件的卸载信息; 节点删除模块用于在所述软件 以非 SC0M0方式卸载的情况下,根据所述卸载信息删除所述 SC0M0中为所述软件创建的 节点; 所述上报模块具体用于向所述 SC0M0服务器上报所述软件被卸载。  The software component management object client device provided by the embodiment of the present invention may further include: a third obtaining module and a node deleting module. The third obtaining module is configured to acquire the uninstallation information of the software; the node deleting module is configured to delete the node created in the SC0M0 for the software according to the uninstallation information, if the software is uninstalled in a non-SC0M0 manner; The reporting module is specifically configured to report that the software is uninstalled to the SC0M0 server.
本发明实施例提供的软件组件管理对象客户端装置还可包括: 指令接收模块、 节点 删除模块。 指令接收模块用于接收所述 SC0M0服务器发送的查询指令、 删除指令; 节点 删除模块用于根据所述删除指令删除为所述软件创建的节点; 所述上报模块可具体用于 根据所述 SC0M0服务器发送的查询指令上报所述节点的信息。  The software component management object client device provided by the embodiment of the present invention may further include: an instruction receiving module and a node deleting module. The instruction receiving module is configured to receive the query instruction and the delete instruction sent by the SC0M0 server; the node deletion module is configured to delete the node created for the software according to the deletion instruction; the reporting module may be specifically used according to the SC0M0 server The sent query instruction reports the information of the node.
本发明实施例提供的软件组件管理对象客户端装置还可包括以下模块中的至少一 种: 卸载模块、 删除模块。 卸载模块用于卸载所述软件; 删除模块用于删除所述软件在 用户设备上的物理文件。  The software component management object client device provided by the embodiment of the present invention may further include at least one of the following modules: an uninstall module, a delete module. The uninstall module is used to uninstall the software; the delete module is used to delete the physical file of the software on the user device.
图 8为本发明实施例提供的一种软件组件管理对象服务器的结构示意图。 该 SC0M0 服务器包括:接收模块 81。接收模块 81用于接收使用 SC0M0客户端上报的节点的信息; 所述节点为所述 SC0M0客户端上在 SC0M0中为软件创建并配置的节点; 所述软件为用户 设备上以非 SC0M0方式操作的软件。  FIG. 8 is a schematic structural diagram of a software component management object server according to an embodiment of the present invention. The SC0M0 server includes: a receiving module 81. The receiving module 81 is configured to receive information about a node that is reported by the SC0M0 client; the node is a node that is created and configured for the software in the SC0M0 on the SC0M0 client; and the software is operated by the non-SC0M0 mode on the user equipment. software.
本发明实施例提供的软件组件管理对象服务器还可包括: 第一发送模块。 第一发送 模块用于发送包含用于标识以非 SC0M0方式操作的软件的标识符的查询指令,所述查询 指令用于根据所述标识符查询所述以非 SC0M0方式操作的软件的节点信息。  The software component management object server provided by the embodiment of the present invention may further include: a first sending module. The first transmitting module is configured to send a query instruction including an identifier for identifying software operating in a non-SC0M0 mode, the query instruction for querying node information of the software operating in a non-SCOM mode according to the identifier.
本发明实施例提供的软件组件管理对象服务器还可包括: 第二发送模块。 第二发送 模块用于发送删除指令,所述删除指令用于删除所述用户设备上以非 SC0M0方式操作的 软件。  The software component management object server provided by the embodiment of the present invention may further include: a second sending module. The second sending module is configured to send a delete instruction, where the delete command is used to delete software that is operated by the non-SC0M0 mode on the user equipment.
上述方法及装置实施例通过获取以非 SC0M0方式操作的软件的信息, 并根据获取的 信息为以非 SC0M0方式操作的软件在 SC0M0下创建相应节点,将相应的节点信息上报为 SC0M0服务器, 解决了现有的 SC0M0方式无法管理用户通过非 SC0M0方式安装到终端设 备上的软件的问题。 The foregoing method and apparatus embodiment obtains the information of the software that is operated in the non-SC0M0 mode, and creates a corresponding node in the SC0M0 according to the acquired information, and reports the corresponding node information as the software operating in the non-SC0M0 mode. The SC0M0 server solves the problem that the existing SC0M0 mode cannot manage the software installed by the user on the terminal device through the non-SC0M0 mode.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可以通过程 序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存储介质中, 该程序 在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟 或者光盘等各种可以存储程序代码的介质。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管 参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进行等同替 换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的 精神和范围。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The steps of the foregoing method embodiments are included; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk. It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权利 要 求 Rights request
1、 一种使用软件组件管理对象管理软件的方法, 其特征在于, 包括:  A method for managing object management software using a software component, comprising:
获取用户设备上的软件信息;  Obtaining software information on the user device;
根据所述软件信息获得所述用户设备上以非软件组件管理对象方式操作的软件的 信息;  Obtaining, according to the software information, information about software that is operated by the non-software component management object on the user equipment;
根据所述非软件组件管理对象方式操作的软件的信息在软件组件管理对象的相应 节点下为所述非软件组件管理对象方式操作的软件创建并配置相应的节点;  Creating, according to the information of the non-software component management object mode, the corresponding node of the software operated by the non-software component management object mode under the corresponding node of the software component management object;
将所述节点的信息上报给软件组件管理对象服务器。  The information of the node is reported to the software component management object server.
2、 根据权利要求 1所述的使用软件组件管理对象管理软件的方法, 其特征在于, 所述非软件组件管理对象方式操作的软件的信息至少包括以下任意一种:  2. The method for managing object management software using a software component according to claim 1, wherein the information of the software operated by the non-software component management object mode comprises at least one of the following:
软件名称、 软件版本、 软件的描述信息。  Software name, software version, software description information.
3、 根据权利要求 1所述的使用软件组件管理对象管理软件的方法, 其特征在于, 获取用户设备上的软件信息包括: 获取用户设备上的软件安装信息;  The method for managing object management software by using a software component according to claim 1, wherein acquiring software information on the user equipment comprises: acquiring software installation information on the user equipment;
根据所述软件信息获得所述用户设备上以非软件组件管理对象方式操作的软件的 信息, 包括: 根据所述软件安装信息获得所述用户设备上以非软件组件管理对象方式安 装的软件的信息;  Obtaining information about the software that is operated by the non-software component management object on the user equipment according to the software information, including: obtaining, according to the software installation information, information about software installed on the user equipment by using a non-software component management object ;
根据所述软件的信息在软件组件管理对象的相应节点下为所述非软件组件管理对 象方式操作的软件创建并配置相应的节点, 包括: 根据所述软件的信息在软件组件管理 对象的部署节点下为所述非软件组件管理对象方式操作的软件创建并配置相应的节点; 在软件组件管理对象的部署节点下为所述非软件组件管理对象方式操作的软件创 建并配置相应的节点, 包括:  Creating and configuring a corresponding node for the software operated by the non-software component management object mode under the corresponding node of the software component management object according to the information of the software, including: deploying the node of the software component management object according to the information of the software Creating and configuring a corresponding node for the software operated by the non-software component management object mode; creating and configuring a corresponding node for the software operated by the non-software component management object mode under the deployment node of the software component management object, including:
在软件组件管理对象的部署节点下为所述非软件组件管理对象方式操作的软件创 建包标识参考节点;  Creating a package identification reference node for the software operated by the non-software component management object mode under the deployment node of the software component management object;
为所述包标识参考节点配置用于标识所述非软件组件管理对象方式操作的软件以 非软件组件管理对象安装的值; 或者, 在软件组件管理对象的部署节点下为所述非软件 组件管理对象方式操作的软件创建并配置相应的节点, 包括:  Configuring, for the package identification reference node, software for identifying the non-software component management object mode operation to manage the value of the object installation by the non-software component; or managing the non-software component under the deployment node of the software component management object The object-oriented software creates and configures the corresponding nodes, including:
在软件组件管理对象的部署节点下创建并配置新的节点; 所述新的节点是用于标识 所述非软件组件管理对象方式操作的软件为以非软件组件管理对象安装的节点;  Creating and configuring a new node under the deployment node of the software component management object; the new node is a node for identifying the operation of the non-software component management object mode to be a node installed by the non-software component management object;
或者, 获取用户设备上的软件信息包括:  Or, obtaining software information on the user equipment includes:
在下载软件的过程中获取用户设备上的软件下载信息; 根据所述软件信息获得所述用户设备上以非软件组件管理对象方式操作的软件的 信息, 包括: 根据所述软件下载信息获得所述用户设备上以非软件组件管理对象方式下 载的软件的信息; Obtaining software download information on the user equipment during the process of downloading the software; Obtaining information about the software that is operated by the non-software component management object on the user equipment according to the software information, including: obtaining, according to the software download information, information about software downloaded by the non-software component management object on the user equipment ;
根据所述软件的信息在软件组件管理对象的相应节点下为所述软件创建并配置相 应的节点, 包括: 根据所述软件的信息在所述软件组件管理对象的下载节点下, 为所述 非软件组件管理对象方式操作的软件创建并配置相应的节点;  Creating and configuring a corresponding node for the software under the corresponding node of the software component management object according to the information of the software, including: according to the information of the software, under the download node of the software component management object, for the non- Software component management object mode operation software creates and configures corresponding nodes;
为所述非软件组件管理对象方式操作的软件创建并配置相应的节点包括: 为所述非软件组件管理对象方式操作的软件创建包标识节点;  Creating and configuring a corresponding node for the non-software component management object mode operation software includes: creating a package identification node for the non-software component management object mode operation software;
为所述包标识节点配置用于标识所述非软件组件管理对象方式操作的软件以非软 件组件管理对象方式下载的值; 或者, 为所述非软件组件管理对象方式操作的软件创建 并配置相应的节点, 包括:  Configuring, for the package identifier node, a value that is used to identify the software operation of the non-software component management object mode to be downloaded in a non-software component management object manner; or, creating and configuring a corresponding software for the non-software component management object mode operation Nodes, including:
创建并配置新的节点,所述新的节点为用于标识所述软件以非软件组件管理对象方 式下载的节点;  Creating and configuring a new node, the new node being a node for identifying that the software is downloaded in a non-software component management object;
或者, 获取用户设备上的软件信息包括:  Or, obtaining software information on the user equipment includes:
获取用户设备上已有且未安装的软件的信息;  Obtain information about software that is already on the user device and not installed;
根据所述软件信息获得所述用户设备上以非软件组件管理对象方式操作的软件的 信息, 包括: 根据所述所有已有且未安装的软件的信息获取以非软件组件管理对象方式 分发的软件的信息;  Obtaining information about the software operated by the non-software component management object on the user equipment according to the software information, including: acquiring software distributed by using a non-software component management object according to the information of all the existing and not installed software Information;
根据所述软件的信息在软件组件管理对象的相应节点下为所述软件创建并配置相 应的节点, 包括: 根据所述软件的信息在所述软件组件管理对象的分发节点下, 为所述 非软件组件管理对象方式操作的软件创建并配置相应的节点;  Creating and configuring a corresponding node for the software under the corresponding node of the software component management object according to the information of the software, including: according to the information of the software, under the distribution node of the software component management object, for the non- Software component management object mode operation software creates and configures corresponding nodes;
为所述非软件组件管理对象方式操作的软件创建并配置相应的节点包括: 为所述非软件组件管理对象方式操作的软件创建包标识节点;  Creating and configuring a corresponding node for the non-software component management object mode operation software includes: creating a package identification node for the non-software component management object mode operation software;
为所述包标识节点配置用于标识所述非软件组件管理对象方式操作的软件以非软 件组件管理对象方式分发的值; 或者, 为所述非软件组件管理对象方式操作的软件创建 并配置相应的节点, 包括:  Configuring, for the package identification node, a value for identifying a software operation of the non-software component management object mode to be distributed by a non-software component management object; or creating and configuring a corresponding software for the non-software component management object mode operation Nodes, including:
创建并配置新的节点,所述新的节点为用于标识所述非软件组件管理对象方式操作 的软件以非软件组件管理对象方式分发的节点。  A new node is created and configured, and the new node is a node that distributes software that is used to identify the non-software component management object mode operation as a non-software component management object.
4、 根据权利要求 1-3 中任一项所述的使用软件组件管理对象管理软件的方法, 其 特征在于, 将所述节点的信息上报给软件组件管理对象服务器包括: 将所述软件的管理子树在所述软件组件管理对象中的位置信息、所述软件当前状态 信息或用于标识所述软件以非软件组件管理对象方式操作的节点的信息中的至少一种 发送给所述软件组件管理对象服务器。 The method for managing the object management software using the software component according to any one of claims 1 to 3, wherein the reporting the information of the node to the software component management object server comprises: At least one of location information of the management subtree of the software in the software component management object, current state information of the software, or information identifying a node in which the software operates in a non-software component management object manner Sent to the software component management object server.
5、 根据权利要求 4所述的使用软件组件管理对象管理软件的方法, 其特征在于, 将所述节点的信息上报给软件组件管理对象服务器包括:  The method for managing the object management software by using the software component according to claim 4, wherein the reporting the information of the node to the software component management object server comprises:
根据所述软件组件管理对象服务器发送的查询指令上报所述节点的信息。  And reporting the information of the node according to the query instruction sent by the software component management object server.
6、 根据权利要求 1-3 中任一项所述的使用软件组件管理对象管理软件的方法, 其 特征在于, 还包括:  The method for managing object management software using a software component according to any one of claims 1 to 3, further comprising:
获取所述非软件组件管理对象方式操作的软件的卸载信息;  Obtaining the uninstallation information of the software operated by the non-software component management object mode;
在所述软件以非软件组件管理对象方式卸载的情况下,根据所述卸载信息删除所述 软件组件管理对象中为所述软件创建的节点;  And deleting, in the non-software component management object manner, the node created in the software component management object for the software according to the uninstallation information;
向所述软件组件管理对象服务器上报所述软件被卸载。  Reporting the software to the software component management object server is uninstalled.
7、 根据权利要求 1-3 中任一项所述的使用软件组件管理对象管理软件的方法, 其 特征在于, 还包括:  The method for managing object management software using a software component according to any one of claims 1 to 3, further comprising:
接收所述软件组件管理对象服务器发送的删除指令;  Receiving a deletion instruction sent by the software component management object server;
根据所述删除指令删除为所述非软件组件管理对象方式操作的软件创建的节点。 Deleting a node created by the software operated by the non-software component management object mode according to the deletion instruction.
8、 根据权利要求 7所述的使用软件组件管理对象管理软件的方法, 其特征在于, 还包括: 卸载所述非软件组件管理对象方式操作的软件; 或者, 8. The method of managing object management software using a software component according to claim 7, further comprising: uninstalling software that is operated by the non-software component management object mode; or
删除所述非软件组件管理对象方式操作的软件在所述用户设备上的物理文件。  Deleting the physical file of the software operated by the non-software component management object mode on the user device.
9、 一种使用软件组件管理对象管理软件的方法, 其特征在于, 包括: 9. A method of managing object management software using a software component, comprising:
接收使用软件组件管理对象客户端上报的节点的信息; 所述节点为所述软件组件管 理对象客户端上在软件组件管理对象中为软件创建并配置的节点; 所述软件为用户设备 上以非软件组件管理对象方式操作的软件。  Receiving information of a node reported by the software component management object client; the node is a node created and configured for the software in the software component management object on the software component management object client; the software is a non-user device The software component manages the software that operates in the object mode.
10、 根据权利要求 9所述的使用软件组件管理对象管理软件的方法, 其特征在于, 还包括:  The method for managing object management software using a software component according to claim 9, further comprising:
发送包含用于标识以非软件组件管理对象方式操作的软件的标识符的查询指令,所 述查询指令用于根据所述标识符查询所述以非软件组件管理对象方式操作的软件的节 点信息。  A query instruction is provided that includes an identifier for identifying software operating in a non-software component management object, the query instruction for querying node information of the software operating in a non-software component management object manner based on the identifier.
11、 根据权利要求 10所述的使用软件组件管理对象管理软件的方法, 其特征在于, 还包括: 发送删除指令, 用于删除所述用户设备上以非软件组件管理对象方式操作的软件。 The method for managing object management software using a software component according to claim 10, further comprising: Sending a delete command, which is used to delete software that is operated by the non-software component management object on the user equipment.
12、 一种软件组件管理对象客户端装置, 其特征在于, 包括: 12. A software component management object client device, comprising:
第一获取模块, 用于获取用户设备上的软件信息;  a first acquiring module, configured to acquire software information on the user equipment;
第二获取模块,用于根据所述软件信息获得所述用户设备上以非软件组件管理对象 方式操作的软件的信息;  a second obtaining module, configured to obtain, according to the software information, information about software that is operated by the non-software component management object on the user equipment;
创建模块,用于根据所述非软件组件管理对象方式操作的软件的信息在软件组件管 理对象的相应节点下为所述非软件组件管理对象方式操作的软件创建并配置相应的节 点;  a creating module, configured to create and configure a corresponding node for the software operated by the non-software component management object mode under the corresponding node of the software component management object according to the information of the software operated according to the non-software component management object mode;
上报模块, 用于将所述节点的信息上报给软件组件管理对象服务器。  The reporting module is configured to report the information of the node to the software component management object server.
13、 根据权利要求 12所述的软件组件管理对象客户端装置, 其特征在于, 所述第 一获取模块具体用于获取用户设备上的软件安装信息;  The software component management object client device according to claim 12, wherein the first obtaining module is specifically configured to acquire software installation information on the user equipment;
所述第二获取模块具体用于根据所述软件安装信息获得所述用户设备上以非软件 组件管理对象方式安装的软件的信息;  The second obtaining module is specifically configured to obtain, according to the software installation information, information about software installed on the user equipment in a non-software component management object manner;
所述创建模块具体用于根据所述软件的信息在软件组件管理对象的部署节点下为 所述软件创建并配置相应的节点;  The creating module is specifically configured to create and configure a corresponding node for the software under the deployment node of the software component management object according to the information of the software;
或者,所述第一获取模块具体用于在下载软件的过程中获取用户设备上的软件下载 信息;  Or the first acquiring module is specifically configured to acquire software download information on the user equipment in the process of downloading the software;
所述第二获取模块具体用于根据所述软件下载信息获得所述用户设备上以非软件 组件管理对象方式下载的软件的信息;  The second obtaining module is specifically configured to obtain, according to the software download information, information about software downloaded by the non-software component management object on the user equipment;
所述创建模块具体用于根据所述软件的信息在所述软件组件管理对象的下载节点 下, 为所述软件创建并配置相应的节点;  The creating module is specifically configured to create and configure a corresponding node for the software under the download node of the software component management object according to the information of the software;
或者, 所述第一获取模块具体用于获取用户设备上已有且未安装的软件的信息; 所述第二获取模块具体用于根据所述所有已有且未安装的软件的信息获取以非软 件组件管理对象方式分发的软件的信息;  Or the first acquiring module is specifically configured to acquire information about software that is already installed on the user equipment, and the second acquiring module is configured to obtain information according to the information of all the existing and not installed software. Information about the software distributed by the software component management object;
所述创建模块具体用于根据所述软件的信息在所述软件组件管理对象的分发节点 下, 为所述软件创建并配置相应的节点。  The creating module is specifically configured to create and configure a corresponding node for the software under the distribution node of the software component management object according to the information of the software.
14、 根据权利要求 12或 13所述的软件组件管理对象客户端装置, 其特征在于, 所 述上报模块具体用于将所述软件的管理子树在所述软件组件管理对象中的位置信息、所 述软件当前状态信息、用于标识所述软件以非软件组件管理对象方式操作的节点的信息 中的至少一种发送给所述软件组件管理对象服务器。 The software component management object client device according to claim 12 or 13, wherein the reporting module is specifically configured to use location information of the management subtree of the software in the software component management object, The software current state information, at least one of information for identifying a node in which the software operates in a non-software component management object manner is sent to the software component management object server.
15、 根据权利要求 12或 13所述的软件组件管理对象客户端装置, 其特征在于, 还 包括: The software component management object client device according to claim 12 or 13, further comprising:
第三获取模块, 用于获取所述软件的卸载信息;  a third obtaining module, configured to acquire uninstallation information of the software;
节点删除模块, 用于在所述软件以非软件组件管理对象方式卸载的情况下, 根据所 述卸载信息删除所述软件组件管理对象中为所述软件创建的节点;  a node deletion module, configured to delete a node created in the software component management object for the software according to the uninstallation information, where the software is uninstalled in a non-software component management object manner;
所述上报模块具体用于向所述软件组件管理对象服务器上报所述软件被卸载。 The reporting module is specifically configured to report, to the software component management object server, that the software is uninstalled.
16、 根据权利要求 12或 13所述的软件组件管理对象客户端装置, 其特征在于, 还 包括: The software component management object client device according to claim 12 or 13, further comprising:
指令接收模块,用于接收所述软件组件管理对象服务器发送的查询指令、删除指令; 节点删除模块, 用于根据所述删除指令删除为所述软件创建的节点;  An instruction receiving module, configured to receive a query instruction and a delete instruction sent by the software component management object server; and a node deletion module, configured to delete a node created for the software according to the deletion instruction;
所述上报模块具体用于根据所述软件组件管理对象服务器发送的查询指令上报所 述节点的信息。  The reporting module is specifically configured to report information of the node according to the query instruction sent by the software component management object server.
17、 根据权利要求 16所述的软件组件管理对象客户端装置, 其特征在于, 还包括 以下模块中的至少一种:  17. The software component management object client device according to claim 16, further comprising at least one of the following modules:
卸载模块, 用于卸载所述软件;  An uninstalling module, configured to uninstall the software;
删除模块, 用于删除所述软件在所述用户设备上的物理文件。  And deleting a module, configured to delete a physical file of the software on the user equipment.
18、 一种软件组件管理对象服务器, 其特征在于, 包括:  18. A software component management object server, comprising:
接收模块, 用于接收使用软件组件管理对象客户端上报的节点的信息; 所述节点为 所述软件组件管理对象客户端上在软件组件管理对象中为软件创建并配置的节点; 所述 软件为用户设备上以非软件组件管理对象方式操作的软件。  a receiving module, configured to receive information about a node reported by the client component using the software component; the node is a node that is created and configured for the software in the software component management object on the software component management object client; Software that operates on a user device as a non-software component management object.
19、 根据权利要求 18所述的软件组件管理对象服务器, 其特征在于, 还至少包括 以下模块中的任一种:  19. The software component management object server according to claim 18, further comprising at least one of the following modules:
第一发送模块,用于发送包含用于标识以非软件组件管理对象方式操作的软件的标 识符的查询指令,所述查询指令用于根据所述标识符查询所述以非软件组件管理对象方 式操作的软件的节点信息;  a first sending module, configured to send a query instruction that includes an identifier for identifying software operating in a non-software component management object, where the query instruction is configured to query the non-software component management object according to the identifier Node information of the operating software;
第二发送模块, 用于发送删除指令, 所述删除指令用于删除所述用户设备上以非软 件组件管理对象方式操作的软件。  And a second sending module, configured to send a delete command, where the delete command is used to delete software that is operated by the non-software component management object on the user equipment.
PCT/CN2010/075599 2009-08-20 2010-07-30 Method and device for managing software using software component management object WO2011020402A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910168281.0A CN101996074B (en) 2009-08-20 2009-08-20 Method and device for managing software by using software component management object
CN200910168281.0 2009-08-20

Publications (1)

Publication Number Publication Date
WO2011020402A1 true WO2011020402A1 (en) 2011-02-24

Family

ID=43606632

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075599 WO2011020402A1 (en) 2009-08-20 2010-07-30 Method and device for managing software using software component management object

Country Status (2)

Country Link
CN (1) CN101996074B (en)
WO (1) WO2011020402A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248649B (en) * 2012-02-09 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Sort management method, equipment and the system of application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046880A1 (en) * 2006-08-17 2008-02-21 Samsung Electronics Co. Ltd. Method for managing internal software of terminal through device management server
CN101325509A (en) * 2007-06-11 2008-12-17 华为技术有限公司 Method, system and apparatus for installing software component
KR20090003062A (en) * 2007-06-01 2009-01-09 삼성전자주식회사 Method and system for assigning ids to software compoents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046880A1 (en) * 2006-08-17 2008-02-21 Samsung Electronics Co. Ltd. Method for managing internal software of terminal through device management server
KR20090003062A (en) * 2007-06-01 2009-01-09 삼성전자주식회사 Method and system for assigning ids to software compoents
CN101325509A (en) * 2007-06-11 2008-12-17 华为技术有限公司 Method, system and apparatus for installing software component

Also Published As

Publication number Publication date
CN101996074A (en) 2011-03-30
CN101996074B (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US8245225B2 (en) Method, system, terminal and device management server for installing software components
JP5144659B2 (en) Methods, systems, and terminals for maintaining capability management objects and managing capabilities
US7974613B1 (en) Device capability determination for a mobile device
JP5254396B2 (en) A system that automatically handles components on the device
EP1395902B1 (en) Method and apparatus for network initiated uninstallation of application program over wireless network
WO2007065326A1 (en) Method for managing terminal device
WO2007048340A1 (en) Method and device for obtaining software usage frequency and upgrading software in device management
CA2480819A1 (en) Mobile provisioning tool system
WO2013086981A1 (en) Management method for preset application of mobile terminal and mobile terminal
CN101895873A (en) Method for updating Java application of mobile terminal, server and mobile terminal
WO2011079615A1 (en) Method for network element version management and network system thereof
JP2011227912A (en) System for automatic installation of registry base on device and for component handing
EP2104274B1 (en) Method, system, dm client and dm server for installing software component
JP2016139386A (en) Device management system, relay device and program
WO2011020402A1 (en) Method and device for managing software using software component management object
KR101587030B1 (en) System and method for api call policy management of m2m application
CN101309490B (en) Support system, method and management platform implementing terminal management
WO2009121264A1 (en) Method, system and apparatus for processing component installation
WO2008122217A1 (en) Method, device and system for sensing customization appearance context changed on terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10809535

Country of ref document: EP

Kind code of ref document: A1