KR20090096221A - Method and apparatus for reporting installation results of software components - Google Patents

Method and apparatus for reporting installation results of software components Download PDF

Info

Publication number
KR20090096221A
KR20090096221A KR1020080021661A KR20080021661A KR20090096221A KR 20090096221 A KR20090096221 A KR 20090096221A KR 1020080021661 A KR1020080021661 A KR 1020080021661A KR 20080021661 A KR20080021661 A KR 20080021661A KR 20090096221 A KR20090096221 A KR 20090096221A
Authority
KR
South Korea
Prior art keywords
package
server
installation
message
failed
Prior art date
Application number
KR1020080021661A
Other languages
Korean (ko)
Inventor
금지은
전해영
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020080021661A priority Critical patent/KR20090096221A/en
Publication of KR20090096221A publication Critical patent/KR20090096221A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1608Error detection by comparing the output signals of redundant hardware
    • G06F11/1625Error detection by comparing the output signals of redundant hardware in communications, e.g. transmission, interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

A method for reporting the installed result of a software component and an apparatus thereof are provided to enable a DM client to report information about whether software components of a package is successfully installed to a DM server. A command for the installation of a package is received from a DM(Device Management) server(401). The stored or downloaded package is installed, and then it is determined whether installation of the whole components fails(407). If so, a message, obtained by inserting or recording the URI of the package in a Target URI(Uniform Resource Identifier) element of an item element, is generated(411). The generated message is transmitted to the DM server(413).

Description

소프트웨어 콤포넌트의 설치 결과를 보고하기 위한 방법 및 장치{Method and apparatus for reporting installation results of software components}Method and apparatus for reporting installation results of software components

본 발명은 OMA-DM에서 소프트웨어 콤포넌트의 설치 결과를 보고하기 위한 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for reporting the result of installation of a software component in OMA-DM.

무선 단말기의수가 기하급수적으로 증가함에 따라 무선 기기들을 관리해주기 위한 표준화된 방법이 필요하였고, 무선 사업자 또는 서비스 제공자(Service Provider)가 무선으로 단말기들과 통신을 하며 단말기의 펌웨어, 소프트웨어, 파라미터, 스케줄(Firmware, Software, Parameter, Schedule 등)을 관리하기 위한 이동 장치 관리(Mobile Device Management) 방법이 개발되었다. 그 중 대표적인 것으로서 무선기기의 응용 표준을 만드는 Open Mobile Alliance에서 개발된 OMA DM을 들 수 있다. OMA DM은 DM 프로토콜을 이용하여 무선 단말기의 object를 읽거나 추가, 변경, 실행함으로써 단말기 내부의 펌웨어, 소프트웨어, 파라미터 등을 관리할 수 있다. As the number of wireless terminals has increased exponentially, a standardized method for managing wireless devices has been needed. A wireless service provider or a service provider communicates with the wireless terminals, and the firmware, software, parameters, and schedule of the terminals. A mobile device management method for managing (Firmware, Software, Parameter, Schedule, etc.) has been developed. One example is OMA DM, developed by the Open Mobile Alliance, which creates application standards for wireless devices. OMA DM can manage firmware, software, parameters, etc. in the terminal by reading, adding, changing, and executing objects of the wireless terminal using the DM protocol.

OMA DM은 단말 관리 대상들을 관리 객체들(Management Object: MO)로서 정의하고 있다. 클라이언트와 서버가 DM 프로토콜을 이용하여 관리 객체들(이하, MO라 칭함)을 전달함으로써 단말 관리가 이루어진다. MO는 DM 서버와 DM 클라이언트가 접근 가능한 데이터 모델의 인터페이스(interface)이다. DM 프로토콜을 이용하여 제공하고자 하는 서비스에 따라 MO 들이 OMA 표준에서 정의 되어 있다. OMA DM defines the terminal management targets as Management Objects (MO). Terminal management is performed by a client and a server delivering management objects (hereinafter referred to as MO) using the DM protocol. The MO is the interface of the data model accessible by the DM server and the DM client. The MOs are defined in the OMA standard according to the service to be provided using the DM protocol.

그 중에서 SCOMO(Software Component Management Object)는 DM 클라이언트 즉, 단말기에 존재하는 소프트웨어의 각종 정보를 수집하기 위해 정의된 MO(Management Object)이다. 그리고, SCOMO 인에이블러(enabler)는 소프트웨어를 무선으로 관리하는 솔루션(solution)이다. OMA DM 내의 SCOMO enabler 는 무선 디바이스에 소프트웨어 콤포넌트들을 다운로드, 업데이트, 또는 제거하여 계속적으로 DM 서버가 관리할 수 있도록 하는 데이터베이스(database)형 인터페이스(interface)이다. Among them, the SCOMO (Software Component Management Object) is a Management Object (MO) defined for collecting various types of information of software existing in a DM client, that is, a terminal. The SCOMO enabler is a solution for managing software wirelessly. The SCOMO enabler in OMA DM is a database type interface that allows the DM server to continue to manage by downloading, updating, or removing software components on the wireless device.

도 1은 종래SCOMO의 트리 구조를 나타낸 도면이다. 도 1을 참조하면, SCOMO는 인벤토리(inventory) 노드(2)와 다운로드 노드(4)를 포함하며, 인벤토리 노드(2)는 디플로이드(deployed) 노드(10)와 딜리버리드(delivered) 노드(20)를 포함한다.1 is a diagram illustrating a tree structure of a conventional SCOMO. Referring to FIG. 1, the SCOMO includes an inventory node 2 and a download node 4, the inventory node 2 being a deployed node 10 and a delivered node 20. ).

DM 서버로부터 다운로드될 패키지(package)를 위한 정보와 인터페이스는 Download 노드(4)에 들어 있으며 Delivered 노드(20)에는 다운로드되었으나 아직 인스톨(install)되지 않은 패키지의 정보가 들어 있다. 소프트웨어 패키지가 다운로드되고 난 후 서버로부터 향후 계속 되는 관리(예컨대, update or delete)를 받기 위해서는 콤포넌트(component) 단위의 MO 형태로 디바이스(device), 즉 DM 클라이언트에 저장된다. 즉, 패키지내의 콤포넌트들은 Deployed node(20) 아래 component로서 존재한다.The information and interface for the package to be downloaded from the DM server is contained in the Download node 4, and the Delivered node 20 contains the information of the package that has been downloaded but not yet installed. After the software package is downloaded, in order to receive continuous management (eg, update or delete) from the server, the software package is stored in a device, that is, a DM client, in the form of a component MO. That is, the components in the package exist as components under the deployed node 20.

인벤토리 노드(2)는 현재 단말기에 인스톨 또는 다운로드 되어 있는 소프트웨어 콤포넌트에 대한 값들을 저장하고 있는 노드이다. 이 인벤토리 노드(2)는 현재 단말기에 인스톨되어 사용되고 있는 소프트웨어 콤포넌트에 대한 정보를 저장하는 디플로이드 노드(10)와, 다운로드 되어 단말기에 저장되어 있지만 아직 인스톨되지 않은 소프트웨어 패키지에 대한 정보를 포함하고 있는 딜리버드 노드(20)를 포함한다. The inventory node 2 is a node that stores values for software components currently installed or downloaded to the terminal. The inventory node 2 includes a defloid node 10 which stores information on software components currently installed and used in the terminal, and a software package downloaded and stored in the terminal but not yet installed. The deliberate node 20 is included.

다운로드된 하나의 패키지로부터 하나 이상의 Deployed Component(DC)가 생성 될 수 있다. 즉, 하나의 패키지는 일반적으로 복수개의 콤포넌트들을 포함할 수 있다. 따라서, 단말기에 패키지를 설치한다는 것은 패키지에 포함된 콤포넌트들을 단말기에 설치함을 의미한다. One or more Deployed Component (DC) may be generated from one downloaded package. In other words, one package may generally include a plurality of components. Therefore, installing the package in the terminal means installing the components included in the package in the terminal.

이와 같이, DM 클라이언트인 단말기는 DM 서버로부터 패키지(package)를 다운로드하고, 패키지를 단말기에 설치하도록 지시하는 설치 실행 명령어를 DM 서버로부터 수신하면 패키지를 설치한다. DM 클라이언트는 패키지 설치의 결과를 DM 서버로 전송한다. As such, the terminal, which is a DM client, downloads a package from the DM server, and installs the package when receiving an installation execution command from the DM server instructing the terminal to install the package. The DM client sends the result of the package installation to the DM server.

DM 클라이언트가 설치 실행 명령어에 대한 상태 리포트 방식은 동기식과 비동기식 두 가지로 나누어진다. 동기식 방식은 DM 클라이언트가 설치 명령을 수신하고 설치를 수행한 후 바로 그 설치 실행의 결과를 DM 서버에게 전송하는 방식이다. 그에 반해 비동기식 방식에 따르면 DM 클라이언트가 설치 명령어를 받으면 202 라는 명령어를 받았다는 것을 나타내는 코드를 전송하고 그 후 클라이언트에서 설치 를 완료하고 나서 지네릭 얼럴트 메시지를 이용하여 실행 결과를 DM 서버로 전송한다. There are two ways to report the status of the DM client's installation execution command: synchronous and asynchronous. The synchronous method is a method in which a DM client receives an installation command, performs an installation, and immediately sends a result of the installation execution to the DM server. On the other hand, according to the asynchronous method, when the DM client receives the installation command, it transmits a code indicating that it has received the command 202. After that, the client completes the installation and sends the execution result to the DM server using a generic alert message.

그런데, DM 스펙에는 패키지의 각각의 소프트웨어 콤포넌트들이 설치 성공하였는지 또는 설치 실패하였는 지를 보고하는 방법에 대해 명확히 제시하고 있지 않다.However, the DM specification does not provide a clear way of reporting whether each of the software components in a package succeeded or failed to install.

따라서, 본 발명은 패키지의 각각의 소프트웨어 콤포넌트들이 설치 성공하였는지 또는 설치 실패하였는 지를 보고하기 위한 방법 및 장치를 제공한다.Accordingly, the present invention provides a method and apparatus for reporting whether each software component of a package has succeeded or failed to install.

이를 위해, 본 발명에 따라 DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 DM 클라이언트에서 패키지 설치 결과를 DM 서버로보고하기 위한 방법에 있어서, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 단계와, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 전체 콤포넌트들이 설치 실패하였는 지를 판단하는 단계와, 상기 패키지의 전체 콤포넌트들이 설치 실패하였으면, item 엘리먼트의 Target URI 엘리먼트에 패키지의 URI를 삽입 또는 기록한 메시지를 생성하는 단계와, 상기 생성한 메시지를 DM 서버로 전송하는 단계를 포함한다.To this end, in a method for reporting a package installation result from a DM client to a DM server in a DM system including a DM (Device Management) client and a DM server, receiving a command for installing a package from a DM server Installing the stored or downloaded package, determining whether all components of the package have failed to install; and if all components of the package have failed to install, inserting or recording the URI of the package in the Target URI element of the item element Generating a message, and transmitting the generated message to a DM server.

이를 위하여 본 발명에 따른 DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 DM 클라이언트에서 패키지 설치 결과를 DM 서버로 보고하기 위한 방법에 있어서, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 단계와, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 일부 콤포넌트들이 설치 실패하였는 지를 판단하는 단계와, 상기 패키지의 일부 콤포넌트들이 설치 실패하였으면, 설치 실패한 콤포넌트를 위한 item 엘리먼트의 Target URI 엘리먼트가 존재하지 않고, 상기 설치 실패한 콤포넌트의 ID가 기록된 메시지를 생성하는 단계와, 상기 생성한 메시지를 DM 서버로 전송하는 단계를 포함한다.To this end, in a method for reporting a package installation result from a DM client to a DM server in a DM system including a device management (DM) client and a DM server according to the present invention, receiving a command for installing a package from a DM server And installing the stored or downloaded package, determining whether some components of the package have failed to install, and if some components of the package have failed to install, there is no Target URI element of the item element for the component that failed to install. Generating a message in which the ID of the failed installation component is recorded; and transmitting the generated message to a DM server.

본 발명에 따라 디바이스는 설치 실행 명령에 대한 보고를 작은 메시지의 용량으로 효과적으로 보내 줄 수가 있으며 패키지 전체에 대한 실행 결과가 아닌 콤포넌트 별로 성공, 실패를 알려줄 수가 있다. 또한 설치에 실패한 콤포넌트의 ID 를 알려줌으로써 서버가 실패한 콤포넌트들에 대한 차후 처리, 예를 들면 재설치를 해줄 수 있다.According to the present invention, the device can effectively send a report on the installation execution command in a small message capacity and can inform the success or failure of each component rather than the execution result of the entire package. In addition, by providing the ID of the component that failed to install, the server can perform further processing, such as reinstallation, of the failed components.

이하 본 발명의 바람직한 실시 예들을 첨부한 도면을 참조하여 상세히 설명한다. 또한 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

원격으로 단말기의 소프트웨어를 관리하기 위한 DM(Device Management) 서버와 단말기 내부에 소프트웨어 관리를 위한 DM 클라이언트가 존재한다. DM 서버와 DM 클라이언트 사이에는 Software Component Management Object (SCOMO)가 정의되어, DM 프로토콜과 SCOMO를 이용하여 단말 내부의 소프트웨어에 대한 정보를 DM server와 공유하며 새로운 소프트웨어를 download/install 또는 기존에 설치되어 있는 소프트웨어를 update/remove한다. There is a DM (Device Management) server for remotely managing software of a terminal and a DM client for managing software in the terminal. Software Component Management Object (SCOMO) is defined between DM server and DM client. By using DM protocol and SCOMO, information on the software inside the terminal is shared with DM server and new software is downloaded / installed or installed. Update / remove the software.

본 발명은 DM 클라이언트가 SCOMO를 이용하여 설치 명령어를 실행한 후 결과를 효과적으로 DM 서버로 보내어 전송 데이터 량을 줄이고 설치에 실패한 콤포넌트를 DM 서버가 알 수 있도록 하여 재 설치와 같은 차후 처리를 할 수 있도록 하기 위한 것이다. According to the present invention, after the DM client executes the installation command using SCOMO, the result is effectively sent to the DM server, thereby reducing the amount of data transmitted and allowing the DM server to know the component that failed to be installed so that subsequent processing such as reinstallation can be performed. It is to.

이하 본 발명의 바람직한 실시예들을 설명하기에 앞서, OMA DM 스펙에서 패키지 설치 명령어의 실행 결과를 보고하는 지네릭 얼럴트 메시지를 설명한다. Prior to describing preferred embodiments of the present invention, a generic alert message for reporting the execution result of a package installation command in the OMA DM specification will be described.

도 2는 패키지 설치 명령어의 실행 결과를 보고하는 지네릭 얼럴트 메시지의 내용을 나타낸 도면이다. 2 is a diagram illustrating the contents of a generic alert message for reporting the execution result of a package installation command.

도 2를 참조하면, 지네릭 얼럴트 메시지는 패키지의 각 콤포넌트에 대한 설치 결과를 기록하기 위한 item 엘리먼트들(310, 320)을 포함한다. 각 item 엘리먼트들(310, 320)은 각 컴포넌트의 설치 결과를 나타낸다. Referring to FIG. 2, the generic alert message includes item elements 310 and 320 for recording the installation result for each component of the package. Each item element 310 or 320 represents an installation result of each component.

예컨대, 하나의 item 엘리먼트(310)는 대응하는 콤포넌트를 포함하는 패키지가 저장되어 있는 위치의 URI를 나타내는 Source URI 엘리먼트(312)와, 패키지의 상기 콤포넌트가 설치된 위치의 URI를 나타내는 Target URI 엘리먼트(314)를 포함한다. 또한, 상기 item 엘리먼트(310)는 상기 콤포넌트의 설치 결과를 나타내는 Data 엘리먼트(316)를 포함한다. For example, one item element 310 may include a Source URI element 312 representing a URI of a location where a package including a corresponding component is stored, and a Target URI element 314 indicating a URI of a location where the component of the package is installed. ). In addition, the item element 310 includes a data element 316 indicating a result of installing the component.

이하, 본 발명의 각 실시예를 설명한다. Hereinafter, each embodiment of the present invention will be described.

도 3은 본 발명의 일 실시예에 따라 비동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸다. 3 illustrates a method for reporting installation execution results asynchronously in accordance with one embodiment of the present invention.

도 3를 참조하면, DM 서버(200)는 단계 401에서 패키지의 설치를 위한 명령 어를 DM 클라이언트(100)로 전송한다. 패키지는 바람직하게 소프트웨어 패키지이다. 패키지는 하나 이상의 콤포넌트들을 포함할 수 있으며, 콤포넌트들은 서로 독립적으로 설치될 수 있다. 이러한 패키지는 미리 DM 클라이언트(100)에 다운로드되어 저장되어 있을 수 있다. 또는, 패키지의 설치를 위한 명령어와 함께 패키지가 DM 서버(200)로부터 DM 클라이언트(100)로 전송될 수 있다. Referring to FIG. 3, the DM server 200 transmits a command for installing a package to the DM client 100 in step 401. The package is preferably a software package. The package may include one or more components, and the components may be installed independently of each other. Such a package may be previously downloaded and stored in the DM client 100. Alternatively, the package may be transmitted from the DM server 200 to the DM client 100 along with a command for installing the package.

DM 클라이언트(200)는 패키지의 설치를 위한 명령어를 DM 서버(200)로부터 수신하면, 단계 403에서 패키지의 설치를 위한 명령어를 수신하였음을 DM 서버(200)로 통지하기 위해 ACK 메시지를 전송한다. 이 ACK 메시지는 OMA DM 스펙에서 202 상태(status) 코드이다. 이어서, DM 클라이언트(100)는 단계 405에서 패키지를 설치한다. 이어서, DM 클라이언트(200)는 단계 407에서 패키지의 전체 콤포넌트들의 설치가 실패했는 지를 판단한다. 만약 패키지의 설치가 실패하지 않았으면, DM 클라이언트(200)는 단계429에서 OMA DM 스펙에 정의된 표준 프로세스를 따른다. When the DM client 200 receives a command for installing the package from the DM server 200, the DM client 200 transmits an ACK message to notify the DM server 200 that the command for installing the package has been received in step 403. This ACK message is a 202 status code in the OMA DM specification. The DM client 100 then installs the package at step 405. The DM client 200 then determines in step 407 whether the installation of all components of the package has failed. If the installation of the package did not fail, the DM client 200 follows the standard process defined in the OMA DM specification at step 429.

만약 패키지의 전체 콤포넌트들의 설치가 실패하였으면, DM 클라이언트(200)는 단계 411에서 설치 결과를 지네릭 얼럴트 메시지를 통해 DM 서버(200)로 전송한다. 여기에서, 패키지의 전체 콤포넌트들의 설치가 실패하였으므로, 콤포넌트들 각각의 설치 결과를 DM 서버로 전송할 필요는 없다. 본 발명에 따라, DM 클라이언트(200)는 지네릭 얼럴트 메시지에 포함된 각 콤포넌트들을 위한 item 엘리먼트들 중 임의의 item 엘리먼트에 패키지의 전체 콤포넌트들의 설치 결과, 즉, 설치 실패를 나타내는 값, 문자, 또는 변수를 입력 또는 기록한다. If the installation of all the components of the package failed, the DM client 200 transmits the installation result to the DM server 200 through the generic alert message in step 411. Here, since the installation of all the components of the package failed, there is no need to send the installation result of each of the components to the DM server. According to the present invention, the DM client 200 may install the entire components of the package in any item element of the item elements for each component included in the generic alert message, that is, a value, character, Or enter or record a variable.

소정 item 엘리먼트에 전체 콤포넌트들의 설치 결과를 입력 또는 기록하는 방법은 이하에 설명한다.A method of inputting or recording the result of installing all components in a given item element is described below.

일 실시예에 따라, DM 클라이언트(200)는 임의의 콤포넌트를 위한 item 엘리먼트의 Target URI 엘리먼트에 패키지 URI 값을 삽입한 지네릭 얼럴트 메시지를 생성한다. 패키지의 전체 콤포넌트들의 설치가 실패하였다면, 콤포넌트가 설치된 위치의 URI는 존재하지 않는다. 따라서, DM 클라이언트(200)는 Target URI 엘리먼트에 패키지 URI 값을 기록하거나 입력한 지네릭 얼럴트 메시지를 생성한다. 이러한 지네릭 얼럴트 메시지는 도 4에 도시되어 있다. 도 4를 참조하면, 지네릭 얼럴트 메시지에서, Source URI 엘리먼트에 기록된 패키지 URI 값이 Target URI 엘리먼트(340)에 기록되어 있다. 그리고, 지네릭 얼럴트 메시지는 패키지의 전체 콤포넌트의 설치 실패를 나타내는 코드가 기록된 Data 엘리먼트(342)를 포함한다. According to one embodiment, the DM client 200 generates a generic alert message that inserts a package URI value into the Target URI element of the item element for any component. If the installation of all components of a package failed, the URI of the location where the component is installed does not exist. Accordingly, the DM client 200 generates a generic alert message that records or inputs a package URI value in the Target URI element. This generic alert message is shown in FIG. Referring to FIG. 4, in a generic alert message, a package URI value recorded in a Source URI element is recorded in a Target URI element 340. The generic alert message then includes a Data element 342 in which code is written indicating a failure to install all components of the package.

다른 실시예에 따라, DM 클라이언트(200)는 단계 411에서 임의의 콤포넌트를 위한 item 엘리먼트의 Target URI 엘리먼트에 삭제한 지네릭 얼럴트 메시지를 생성한다. 이러한 지네릭 얼럴트 메시지는 도 5에 도시되어 있다. 도 5를 참조하면, 지네릭 얼럴트 메시지에서, Target URI 엘리먼트(344)는 삭제되어 있다. 도 5에서는 설명의 편의를 위해 Target URI 엘리먼트(344)에 중앙 라인을 그어 삭제되었음을 나타내었지만, 구현시에는 지네릭 얼럴트 메시지에서 Target URI 엘리먼트(344)가 기록되어 있지 않다. 이하, 중앙 라인이 그어져 삭제됨이 표시된 엘리먼트는 실제 구현시 존재하지 않거나 기록 또는 입력되지 않음을 나타낸다. According to another embodiment, the DM client 200 generates the generic alert message deleted in the Target URI element of the item element for any component in step 411. This generic alert message is shown in FIG. Referring to FIG. 5, in the generic alert message, the Target URI element 344 is deleted. In FIG. 5, for convenience of description, a center line is drawn on the target URI element 344 to be deleted. However, in the implementation, the target URI element 344 is not recorded in the generic alert message. Hereinafter, elements marked with a center line drawn and deleted indicate that they are not present or written or entered in actual implementation.

상기 일 실시예와 유사하게, 지네릭 얼럴트 메시지는 패키지의 전체 콤포넌트의 설치 실패를 나타내는 코드가 기록된 Data 엘리먼트(346)를 포함한다.Similar to the above embodiment, the generic alert message includes a Data element 346 in which a code is written indicating the installation failure of all components of the package.

DM 클라이언트(100)는 단계 413에서 상기와 같이 생성된 지네릭 얼럴트 메시지를 DM 서버(200)로 전송한다.The DM client 100 transmits the generated generic alert message to the DM server 200 in step 413.

도 6은 본 발명의 다른 실시예에 따라 비동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸다.6 illustrates a method for reporting installation execution results asynchronously in accordance with another embodiment of the present invention.

도 6을 참조하면, DM 서버(200)는 단계 421에서 패키지의 설치를 위한 명령어를 DM 클라이언트(100)로 전송한다. 전술한 바와 같이, 패키지는 하나 이상의 콤포넌트들을 포함할 수 있으며, 콤포넌트들은 서로 독립적으로 설치될 수 있다. Referring to FIG. 6, the DM server 200 transmits a command for installing a package to the DM client 100 in step 421. As mentioned above, a package may include one or more components, and the components may be installed independently of each other.

DM 클라이언트(200)는 패키지의 설치를 위한 명령어를 DM 서버(200)로부터 수신하면, 단계 423에서 패키지의 설치를 위한 명령어를 수신하였음을 DM 서버(200)로 통지하기 위해 ACK 메시지를 전송한다. When the DM client 200 receives a command for installing the package from the DM server 200, the DM client 200 transmits an ACK message to notify the DM server 200 that the command for installing the package has been received in step 423.

이어서, DM 클라이언트(100)는 단계 425에서 패키지를 설치한다. 패키지는 DM 클라이언트(100)에 저장되어 있거나, DM 서버(200)로부터 다운로드될 수 있다. DM 클라이언트(200)는 단계 427에서 패키지의 일부 콤포넌트들의 설치가 실패했는 지를 판단한다. 만약 패키지의 설치가 실패하지 않았으면, DM 클라이언트(200)는 단계429에서 OMA DM 스펙에 정의된 표준 프로세스를 따른다. The DM client 100 then installs the package at step 425. The package may be stored in the DM client 100 or downloaded from the DM server 200. The DM client 200 determines in step 427 whether the installation of some components of the package has failed. If the installation of the package did not fail, the DM client 200 follows the standard process defined in the OMA DM specification at step 429.

만약 패키지의 일부 콤포넌트들의 설치가 실패하였으면, DM 클라이언트(200)는 단계 431에서 설치 결과를 지네릭 얼럴트 메시지를 통해 DM 서버(200)로 전송한다. 패키지의 일부 콤포넌트들의 설치가 실패하였으므로, DM 클라이언트(200)는 패키지의 콤포넌트들 각각의 설치 결과를 DM 서버로 전송해야 한다. 본 발명에 따라, DM 클라이언트(200)는 지네릭 얼럴트 메시지에 포함된 각 콤포넌트들을 위한 item 엘리먼트들에 콤포넌트들의 설치 결과들을 각각 입력 또는 기록한다. 이 때, 본 발명은 OMA DM 스펙에 정의되어 있는 콤포넌트의 설치 실패/성공을 나타내는 결과 코드 값을 이용한다. 콤포넌트의 설치 성공 코드 값은 200 이고, 콤포넌트의 설치 실패 코드 값은 405이다. If the installation of some components of the package failed, the DM client 200 transmits the installation result to the DM server 200 through the generic alert message in step 431. Since the installation of some components of the package failed, the DM client 200 must transmit the installation result of each of the components of the package to the DM server. According to the present invention, the DM client 200 inputs or records the installation results of the components, respectively, in item elements for each component included in the generic alert message. At this time, the present invention utilizes a result code value indicating installation failure / success of a component defined in the OMA DM specification. The installation success code value of the component is 200 and the installation failure code value of the component is 405.

DM 클라이언트(200)는 소정 콤포넌트가 설치 성공되면 해당 item 엘리먼트의Source URI 엘리먼트에 해당 패키지의 URI 값, 즉 해당 패키지의 설치 실행 노드의 URI 값을 기록하고, Target URI 엘리먼트에 콤포넌트가 설치된 위치의 URI 값을 기록한다. 또한, DM 클라이언트(200)는 해당 콤포넌트가 설치 성공되었음을 나타내는 설치 성공 코드값을 해당 item 엘리먼트에 삽입한다.The DM client 200 records the URI value of the package, that is, the URI value of the installation execution node of the package, in the Source URI element of the item element when the predetermined component is successfully installed, and the URI of the location where the component is installed in the Target URI element. Record the value. In addition, the DM client 200 inserts an installation success code value indicating that the component has been successfully installed into the item element.

한편, 소정 콤포넌트가 설치 실패하면, 콤포넌트가 설치된 위치의 URI 값은 생성되지 않는다. 이 경우, DM 클라이언트는 설치 실패한 콤포넌트를 식별하도록 콤포넌트 ID를 해당 item 엘리먼트에 삽입한다. 또한, DM 클라이언트(200)는 해당 콤포넌트가 설치 실패되었음을 나타내는 설치 실패 코드값을 해당item 엘리먼트에 삽입한다.On the other hand, if a given component fails to install, the URI value of the location where the component is installed is not generated. In this case, the DM client inserts a component ID into the item element to identify the component that failed to install. In addition, the DM client 200 inserts an installation failure code value indicating that the component failed to be installed in the item element.

DM 클라이언트(100)는 단계 433에서 상기와 같이 생성된 지네릭 얼럴트 메시지를 DM 서버(200)로 전송한다.The DM client 100 transmits the generic alert message generated as described above in step 433 to the DM server 200.

이하, 콤포넌트 ID를 해당 item 엘리먼트에 삽입하는 방법을 설명한다. The following describes how to insert a component ID into the corresponding item element.

일 실시예에 따라 DM 클라이언트(200)는 콤포넌트의 설치 실패를 나타내기 위해 해당 item 엘리먼트에서 Target URI 엘리먼트를 삭제하고 item 엘리먼트 내의 소정 엘리먼트에 설치 실패한 콤포넌트 ID를 삽입하거나 기록한다. 상기 소정 엘리 먼트는 item 엘리먼트 내의 Data 엘리먼트인 것이 바람직하다. 이 경우 본 발명에 따라 Data 엘리먼트 내에 콤포넌트 ID를 기록하기 위한 새로운 엘리먼트를 정의할 수 있는데, 이를 도 7을 참조하여 설명한다. According to an exemplary embodiment, the DM client 200 deletes a Target URI element from a corresponding item element and inserts or records a component ID that failed to be installed in a predetermined element in the item element to indicate installation failure of a component. Preferably, the predetermined element is a Data element in an item element. In this case, according to the present invention, a new element for recording the component ID in the Data element may be defined, which will be described with reference to FIG. 7.

도 7은 본 발명의 실시예에 따른 지네릭 얼럴트 메시지의 내용을 나타낸 도면이다. 도 7을 참조하면, 설치 성공한 콤포넌트를 위한 item 엘리먼트(348) 및 설치 실패한 콤포넌트를 위한 item 엘리먼트(350)가 존재한다. 7 illustrates the contents of a generic alert message according to an embodiment of the present invention. Referring to FIG. 7, there is an item element 348 for a component that has been installed successfully and an item element 350 for a component that has failed to install.

설치 실패한 콤포넌트를 위한 item 엘리먼트(370)에서, Target URI 엘리먼트(352)는 삭제되어 있다. 또, 설치 실패한 콤포넌트를 위한 item 엘리먼트(350)에서 콤포넌트 ID가 삽입 또는 기록되는 소정 엘리먼트를 정의한다. 도 7에서는 Data 엘리먼트 내에 identifier 엘리먼트를 정의한다. 이 identifier 엘리먼트(354) 내에 상기 설치 실패한 콤포넌트의 ID가 입력 또는 기록되어 있다. In the item element 370 for the component that failed to install, the Target URI element 352 is deleted. In the item element 350 for the component that failed to be installed, a predetermined element into which the component ID is inserted or recorded is defined. In FIG. 7, an identifier element is defined in a Data element. In this identifier element 354, the ID of the failed installation component is entered or recorded.

다른 실시예에 따라DM 클라이언트(200)는 콤포넌트의 설치 실패를 나타내기 위해 해당 item 엘리먼트에서 Target 엘리먼트에 콤포넌트 ID를 LocURI 타입이 아닌 NocName 타입으로 입력 또는 기록한다. According to another exemplary embodiment, the DM client 200 inputs or records a component ID as a NocName type instead of a LocURI type in a Target element in a corresponding item element to indicate installation failure of a component.

도 8은 본 발명의 실시예에 따른 지네릭 얼럴트 메시지의 내용을 나타낸 도면이다. 도 8을 참조하여 설치 실패한 콤포넌트를 위한 item 엘리먼트(360)를 설명한다.8 illustrates the contents of a generic alert message according to an embodiment of the present invention. An item element 360 for a component that failed to install will be described with reference to FIG. 8.

설치 실패한 콤포넌트를 위한 item 엘리먼트(360)에서 Target 엘리먼트(362)는URI 타입이 아닌 LocName 타입을 갖는다. 그에 따라 설치 실패한 콤포넌트의 ID는 Target 엘리먼트(362)에 LocName 타입으로 기록 또는 삽입된다. In the item element 360 for a component that failed to install, the Target element 362 has a LocName type, not a URI type. Accordingly, the ID of the component that failed to install is recorded or inserted into the Target element 362 as a LocName type.

이하, DM 클라이언트가 동기식으로 설치 실행 결과를 DM 서버로 보고하기 위한 실시예들을 설명한다.Hereinafter, embodiments for the DM client to synchronously report the installation execution result to the DM server will be described.

도 9는 본 발명의 일 실시예에 따라 동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸다. 9 illustrates a method for reporting installation execution results synchronously in accordance with one embodiment of the present invention.

도 9를 참조하면, DM 서버(200)는 단계 501에서 패키지의 설치를 위한 명령어를 DM 클라이언트(100)로 전송한다. DM 클라이언트(200)는 패키지의 설치를 위한 명령어를 DM 서버(200)로부터 수신하면, 단계 503에서 패키지를 설치한다. 전술한 바와 같이, 패키지는 DM 클라이언트(100)에 저장되어 있거나, DM 서버(200)로부터 다운로드될 수 있다.Referring to FIG. 9, the DM server 200 transmits a command for installing a package to the DM client 100 in step 501. When the DM client 200 receives a command for installing the package from the DM server 200, the DM client 200 installs the package in step 503. As described above, the package may be stored in the DM client 100 or downloaded from the DM server 200.

이어서, DM 클라이언트(100)는 단계 505에서 패키지의 전체 콤포넌트들의 설치가 실패했는 지를 판단한다. 만약 패키지의 설치가 실패하지 않았으면, DM 클라이언트(200)는 단계 507에서 OMA DM 스펙에 정의된 표준 프로세스를 따른다. The DM client 100 then determines at step 505 whether the installation of all components of the package has failed. If the installation of the package did not fail, the DM client 200 follows the standard process defined in the OMA DM specification at step 507.

만약 패키지의 전체 콤포넌트들의 설치가 실패하였으면, DM 클라이언트(200)는 단계 509에서 설치 결과를 DM 메시지를 통해 DM 서버(200)로 전송한다. 구체적으로, DM 클라이언트(200)는 하나의 명령어 실행에 따른 결과 값을 Status 엘리먼트 내에 삽입 또는 기록한 DM 메시지를 생성하여 DM 서버로 전송한다. 본 발명에 따라, DM 메시지의 Status 엘리먼트는 패키지의 각 콤포넌트들의 설치 결과가 각각 기록 또는 입력되는 item 엘리먼트들을 갖는다.If the installation of all components of the package failed, the DM client 200 transmits the installation result to the DM server 200 in a DM message in step 509. Specifically, the DM client 200 generates a DM message in which a result value of executing one command is inserted or recorded in a Status element and transmits the generated DM message to the DM server. According to the present invention, the Status element of the DM message has item elements into which the installation result of each component of the package is recorded or input respectively.

DM 클라이언트(100)는 단계 511에서 상기와 같이 생성된 DM 메시지를 DM 서버(200)로 전송한다.The DM client 100 transmits the DM message generated as described above to the DM server 200 in step 511.

이하, 패키지의 전체 콤포넌트들의 설치 결과를 DM 메시지에 삽입하는 방법을 설명한다.The following describes how to insert the installation result of all the components of the package into the DM message.

일실시예에 따라, DM 클라이언트(100)는 패키지의 전체 콤포넌트들의 설치가 실패하면, DM 메시지에서 Status 엘리먼트의 Data 엘리먼트에 명령 실패를 의미하는 코드값 500을 기록 또는 입력한다. 또한, DM 클라이언트(100)는, 콤포넌트를 위한 item 엘리먼트에서 Target URI 엘리먼트를 기록 또는 입력하지 않는다. 이 경우, 패키지의 전체 콤포넌트들의 설치가 실패되었으므로, 콤포넌트들을 위한 각각의 item 엘리먼트들이 필요하지 않다. 따라서, DM 메시지의 Status 엘리먼트는 전체 엘리먼트들의 설치 실패가 기록되기 위한 하나의 item 엘리먼트를 포함하는 것이 바람직하다. 이러한, DM 메시지의 일 예가 도 10에 도시되어 있다.According to an embodiment, when the installation of all the components of the package fails, the DM client 100 writes or inputs a code value 500 indicating a command failure in the Data element of the Status element in the DM message. In addition, the DM client 100 does not record or input the Target URI element in the item element for the component. In this case, the installation of all the components of the package has failed, so you do not need individual item elements for the components. Therefore, the Status element of the DM message preferably includes one item element for recording the installation failure of all elements. An example of such a DM message is shown in FIG. 10.

도 10을 참조하면, DM 메시지의 Status 엘리먼트는 하나의 명령어 실행에 따른 결과값을 나타내기 위한 Data 엘리먼트(372)를 갖는다. 도 10에서 Data 엘리먼트(372)에는 DM 스펙에 정의되어 있는 명령 실패를 의미하는 코드값 500이 기록되어 있다. 그리고, item 엘리먼트에서 Target URI 엘리먼트(374)가 삭제되어 있다. 즉, 이 실시예에 따르면, Target URI 엘리먼트는 사용되지 않는다. Referring to FIG. 10, the Status element of the DM message has a Data element 372 for indicating a result of executing one command. In FIG. 10, a code value 500 indicating a command failure defined in the DM specification is recorded in the Data element 372. The Target URI element 374 is deleted from the item element. In other words, according to this embodiment, the Target URI element is not used.

다른 실시예에 따라, DM 클라이언트(100)는 DM 메시지에서 Status 엘리먼트의 Data 엘리먼트에 명령 실패를 의미하는 코드값 500을 기록 또는 입력하고, item 엘리먼트에서의 Target URI 엘리먼트에 명령어의 대상이 되었던 패키지의 URI를 기록 또는 입력한다. 그 일 예를 도 11을 참조하여 설명한다.According to another exemplary embodiment, the DM client 100 records or inputs a code value 500 indicating a command failure in a Data element of a Status element in a DM message, and records a code value 500 indicating a command failure in the DM element. Record or enter the URI. An example thereof will be described with reference to FIG. 11.

도 11은 본 발명의 다른 실시예에 따른 DM 메시지의 내용을 나타낸 도면이 다. 도 11을 참조하면, DM 메시지의 Status 엘리먼트는 하나의 명령어 실행에 따른 결과값 예컨대, 명령 실패를 나타내는 코드값 500를 나타내기 위한 Data 엘리먼트(376)를 갖는다. 그리고, item 엘리먼트에서 명령어의 대상이 되었던 패키지의 URI가 Target URI 엘리먼트(378)에 기록 또는 입력되어 있다. 전체 콤포넌트들의 설치가 실패하였기 때문에, 적어도 하나의 콤포넌트가 설치된 위치의 URI는 존재하지 않는다. 11 is a view showing the contents of a DM message according to another embodiment of the present invention. Referring to FIG. 11, the Status element of the DM message has a Data element 376 for indicating a result value of one command execution, for example, a code value 500 indicating a command failure. In addition, the URI of the package that was the target of the command in the item element is recorded or entered in the Target URI element 378. Since the installation of all components failed, the URI of the location where at least one component is installed does not exist.

DM 서버는 상기와 같이 생성된 DM 메시지를 수신하면, 전체 콤포넌트들의 설치 결과를 나타내는 명령어 실행 결과 코드와 Target URI 엘리먼트를 체크함으로써, DM 클라이언트에서 패키지의 전체 콤포넌트들이 설치 실패하였는 지를 판단할 수 있다. When the DM server receives the DM message generated as described above, the DM server may determine whether all components of the package have failed to be installed by checking a command execution result code and a target URI element indicating a result of installing all components.

도 12는 본 발명의 다른 실시예에 따라 동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸다. 12 illustrates a method for reporting installation execution results synchronously in accordance with another embodiment of the present invention.

도 12를 참조하면, DM 서버(200)는 단계 521에서 패키지의 설치를 위한 명령어를 DM 클라이언트(100)로 전송한다. DM 클라이언트(200)는 패키지의 설치를 위한 명령어를 DM 서버(200)로부터 수신하면, 단계 523에서 패키지를 설치한다. Referring to FIG. 12, the DM server 200 transmits a command for installing a package to the DM client 100 in step 521. When the DM client 200 receives a command for installing the package from the DM server 200, the DM client 200 installs the package in step 523.

이어서, DM 클라이언트(100)는 단계 525에서 패키지의 부분 콤포넌트들의 설치가 실패했는 지를 판단한다. 만약 패키지의 설치가 실패하지 않았으면, DM 클라이언트(200)는 단계 527에서 OMA DM 스펙에 정의된 표준 프로세스를 따른다. The DM client 100 then determines at step 525 whether the installation of the partial components of the package has failed. If the installation of the package did not fail, the DM client 200 follows the standard process defined in the OMA DM specification in step 527.

만약, 패키지의 일부 콤포넌트들의 설치가 실패하였으면, DM 클라이언트(100)는 단계 529에서 설치 결과를 DM 메시지를 통해 DM 서버(200)로 전송한다. DM 클라이언트(100)는 콤포넌트들을 위한 item 엘리먼트 내에 각 콤포넌트의 설치 결과를 나타내는 엘리먼트를 삽입한 DM 메시지를 생성하여 DM 서버(200)로 전송한다.If the installation of some components of the package failed, the DM client 100 transmits the installation result to the DM server 200 through a DM message in step 529. The DM client 100 generates a DM message in which an element indicating an installation result of each component is inserted into an item element for components and transmits the generated DM message to the DM server 200.

구체적으로, DM 클라이언트(200)는 하나의 명령어 실행에 따른 결과 값을 Status 엘리먼트 내에 삽입 또는 기록한 DM 메시지를 생성하여 DM 서버로 전송한다. 본 발명에 따라, DM 메시지의 Status 엘리먼트는 패키지의 각 콤포넌트들의 설치 결과가 각각 기입 또는 입력되는 item 엘리먼트들을 갖는다. 예컨대, 각각의 item 엘리먼트들은 관련 콤포넌트들의 설치 결과를 나타내는 데이터 엘리먼트를 가질 수 있다. Specifically, the DM client 200 generates a DM message in which a result value of executing one command is inserted or recorded in a Status element and transmits the generated DM message to the DM server. According to the present invention, the Status element of the DM message has item elements into which the installation result of each component of the package is written or entered respectively. For example, each item element may have a data element that indicates the result of the installation of related components.

DM 클라이언트(100)는 단계 531에서 상기와 같이 생성된 DM 메시지를 DM 서버(200)로 전송한다.The DM client 100 transmits the DM message generated as described above to the DM server 200 in step 531.

이하, 패키지의 각각의 콤포넌트들의 설치 결과를 DM 메시지에 삽입하는 방법을 설명한다.Hereinafter, a method of inserting the installation result of each component of the package into the DM message will be described.

일 실시예에 따라, DM 클라이언트(100)는 패키지의 일부 콤포넌트들의 설치가 실패하면, DM 메시지에서 Status 엘리먼트의 Data 엘리먼트에 명령 실패를 의미하는 코드값 500을 기록 또는 입력한다. According to an embodiment, when the installation of some components of the package fails, the DM client 100 writes or inputs a code value 500 indicating a command failure in the Data element of the Status element in the DM message.

또한, DM 클라이언트(100)는, 각각의 콤포넌트들을 위한 item 엘리먼트에 관련 콤포넌트들이 각각 설치 실패했는지 또는 설치 성공했는지를 나타내는 정보 즉, 값, 문자, 또는 변수를 입력 또는 기록한다. 본 발명의 실시예에 따라 설치 실패했는지 또는 설치 성공했는지를 나타내는 정보는 DM 스펙에 정의되어 있는 명령어 실 행 결과를 나타내는 코드일 수 있다. 이러한 DM 메시지의 일 예가 도 13에 도시되어 있다. In addition, the DM client 100 inputs or records in the item element for each of the components information, that is, a value, a character, or a variable indicating whether the related components have failed to install or have successfully installed, respectively. According to an embodiment of the present invention, the information indicating whether the installation failed or the installation may be a code indicating a command execution result defined in the DM specification. An example of such a DM message is shown in FIG.

도 13을 참조하면, DM 메시지의 Status 엘리먼트는 하나의 명령어 실행에 따른 결과값을 나타내기 위한 Data 엘리먼트를 갖는다. 이 Data 엘리먼트(380)에는 DM 스펙에 정의되어 있는 명령 실패를 의미하는 코드값 500이 기록되어 있다. 그리고, DM 메시지의 Status 엘리먼트는 각 콤포넌트들의 설치 결과가 기록되는 각각의 item 엘리먼트들을 포함한다. 각 item 엘리먼트들은 각 콤포넌트들의 설치 결과를 나타내는 코드값이 기록 또는 입력되는 data 엘리먼트를 포함한다. 도 13에서 설치 성공한 콤포넌트를 위한 item 엘리먼트(382)는 설치 성공을 나타내는 코드값 200을 포함하고, 설치 실패한 콤포넌트를 위한 item 엘리먼트(384)는 설치 실패를 나타내는 코드값 500을 포함한다. 또한, 설치 실패한 콤포넌트를 위한 item 엘리먼트는 콤포넌트의 설치 실패를 나타내기 위해 Target 엘리먼트(386)에 콤포넌트 ID를 LocURI 타입이 아닌 NocName 타입으로 입력 또는 기록한다. Referring to FIG. 13, the Status element of the DM message has a Data element for indicating a result of executing one command. In the Data element 380, a code value 500, which indicates an instruction failure defined in the DM specification, is recorded. In addition, the Status element of the DM message includes respective item elements in which the installation result of each component is recorded. Each item element contains a data element in which a code value indicating or indicating the result of installation of each component is recorded or input. In FIG. 13, an item element 382 for a component that has been installed successfully includes a code value 200 indicating a successful installation, and an item element 384 for a component that has failed to install includes a code value 500 indicating a failed installation. In addition, the item element for a component that failed to install inputs or records a component ID as a NocName type, not a LocURI type, in the target element 386 to indicate that the component failed to install.

다른 실시예에 따라, DM 클라이언트(100)는 패키지의 일부 콤포넌트들의 설치가 실패하면, DM 메시지에서 Status 엘리먼트의 Data 엘리먼트에 명령 실패를 의미하는 코드값 500을 기록 또는 입력하지 않는다. 각각의 콤포넌트의 설치 실행 결과는 각 콤포넌트를 위한 item 엘리먼트에 기록 또는 입력된다. 즉, DM 클라이언트(100)는, 각각의 콤포넌트들을 위한 item 엘리먼트에 관련 콤포넌트들이 각각 설치 실패했는지 또는 설치 성공했는지를 나타내는정보 즉, 값, 문자, 또는 변수를 입력 또는 기록한다. 이러한 DM 메시지의 일 예가 도 14에 도시되어 있다. According to another exemplary embodiment, when the installation of some components of the package fails, the DM client 100 does not record or input a code value 500 indicating a command failure in the Data element of the Status element in the DM message. The result of the installation execution of each component is recorded or entered in the item element for each component. That is, the DM client 100 inputs or records information indicating whether or not related components have failed to install or successfully installed, respectively, in an item element for each component, that is, a value, a character, or a variable. An example of such a DM message is shown in FIG. 14.

도 14을 참조하면, DM 메시지의 Status 엘리먼트는 하나의 명령어 실행에 따른 결과값을 나타내기 위한 Data 엘리먼트(390)를 포함하지 않는다. 그리고, DM 메시지의 Status 엘리먼트는 각 콤포넌트들의 설치 결과가 기록되는 각각의 item 엘리먼트들을 포함한다. 각 item 엘리먼트들은 각 콤포넌트들의 설치 결과를 나타내는 코드값이 기록 또는 입력되는 data 엘리먼트를 포함한다. 도 14에서 설치 성공한 콤포넌트를 위한 item 엘리먼트(392)는 설치 성공을 나타내는 코드값200을 포함하고, 설치 실패한 콤포넌트를 위한 item 엘리먼트(394)는 설치 실패를 나타내는 코드값 500을 포함한다. 또한, 설치 실패한 콤포넌트를 위한 item 엘리먼트는 콤포넌트의 설치 실패를 나타내기 위해 Target 엘리먼트에 콤포넌트 ID를 LocURI 타입이 아닌 NocName 타입으로 입력 또는 기록한다. Referring to FIG. 14, the Status element of the DM message does not include a Data element 390 for indicating a result of executing one command. In addition, the Status element of the DM message includes respective item elements in which the installation result of each component is recorded. Each item element contains a data element in which a code value indicating or indicating the result of installation of each component is recorded or input. In FIG. 14, an item element 392 for a component that has been installed successfully includes a code value 200 indicating a successful installation, and an item element 394 for a component that failed to install includes a code value 500 indicating a failed installation. In addition, the item element for a component that failed to be installed inputs or records a component ID as a NocName type, not a LocURI type, in the target element to indicate a component installation failure.

DM 서버는 상기와 같이 생성된 DM 메시지를 수신하면, 각 콤포넌트들의 설치 결과를 나타내는 명령어 실행 결과 코드와 Target URI 엘리먼트를 체크함으로써, DM 클라이언트에서 패키지의 각 콤포넌트들이 설치 성공 또는 실패하였는 지를 판단할 수 있다. When the DM server receives the DM message generated as described above, the DM server checks the command execution result code indicating the installation result of each component and the Target URI element, so that the DM client can determine whether each component of the package has succeeded or failed. have.

전술한 바와 같이 동작하는 DM 클라이언트 및 DM 서버를 포함하는 DM 시스템을 이하 설명한다.A DM system including a DM client and a DM server operating as described above will now be described.

도 15는 본 발명의 실시예에 따른 DM 시스템의 구성을 나타낸 도면이다.15 is a diagram showing the configuration of a DM system according to an embodiment of the present invention.

도 15를 참조하면, DM 클라이언트(100)는 소프트웨어 설치부(110), 송수신부(120) 및 DM 메시지 생성부(130)를 포함한다. Referring to FIG. 15, the DM client 100 includes a software installer 110, a transceiver 120, and a DM message generator 130.

송수신부(120)는 DM 서버(200)와 통신함으로써 DM 서버(200)로부터 DM 메시 지, 얼럴트 메시지 등을 송신하며, DM 서버로부터 명령어 등을 포함한 DM 메시지를 수신한다. The transceiver 120 transmits a DM message, an alert message, etc. from the DM server 200 by communicating with the DM server 200, and receives a DM message including a command from the DM server.

소프트웨어 설치부(110)는 DM 서버(200)로부터 수신된 패키지 설치 명령어를 실행하고, 그 실행 결과를 DM 메시지 생성부(130)로 송신한다. The software installation unit 110 executes a package installation command received from the DM server 200, and transmits the execution result to the DM message generation unit 130.

DM 메시지 생성부(130)는 패키지의 설치 결과를 포함한 얼럴트 메시지 또는 DM 메시지를 DM 서버로(200)로 전송한다. 즉, DM 메시지 생성부(130)는 전술한 실시예들의 설치 실행 결과를 보고하기 위한 얼럴트 메시지 또는 DM 메시지를 생성한다.The DM message generating unit 130 transmits an alert message or DM message including the installation result of the package to the DM server 200. That is, the DM message generating unit 130 generates an alert message or a DM message for reporting the installation execution result of the above-described embodiments.

그리고, DM 서버(200)는 송수신부(210), DM 메시지 처리부(220) 및 DM 명령어 생성부(230)를 포함한다. In addition, the DM server 200 includes a transceiver 210, a DM message processor 220, and a DM command generator 230.

송수신부(120)는 DM 클라이언트(100)와 통신함으로써 DM 클라이언트(100)로부터 DM 메시지, 얼럴트 메시지 등을 수신하며, DM 클라이언트로부터 설치 명령어 등을 포함한 DM 메시지를 송신한다. The transceiver 120 receives a DM message, an alert message, etc. from the DM client 100 by communicating with the DM client 100, and transmits a DM message including an installation command from the DM client 100.

DM 메시지 처리부(220)는 DM 클라이언트(100)로부터 수신된 DM 메시지, 또는 얼럴트 메시지를 수신하여, 전체 콤포넌트들의 설치 결과를 나타내는 명령어 실행 결과 코드 또는 얼럴트 메시지 또는 DM 메시지에 표함된 각 콤포넌트들의 설치 결과가 기록 또는 입력된 item 엘리먼트를 체크한다. 그에 따라, DM 메시지 처리부(220)는 DM 클라이언트(100)에서 패키지의 설치 결과를 알 수 있다. DM 명령어 생성부(230)는 DM 클라이언트로 전송할 설치 명령어를 생성하여 송수신부(210)로 전달한다. The DM message processing unit 220 receives a DM message or an Alt message received from the DM client 100, and executes an instruction execution result code indicating an installation result of all components, or an alert message or each component shown in the DM message. Check the item element where the installation result was recorded or entered. Accordingly, the DM message processing unit 220 may know the installation result of the package in the DM client 100. The DM command generation unit 230 generates an installation command to be transmitted to the DM client and transmits the installation command to the transceiver 210.

도 1은종래의 SCOMO의 트리 구조를 나타낸 도면,1 is a diagram showing a tree structure of a conventional SCOMO;

도 2는 패키지 설치 명령어의 실행 결과를 보고하는 지네릭 얼럴트 메시지의 내용을 나타낸 도면,2 is a view showing the contents of a generic alert message reporting the execution result of a package installation command;

도 3은 본 발명의 일 실시예에 따라 비동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸 도면,3 illustrates a method for reporting installation execution results asynchronously in accordance with one embodiment of the present invention;

도 4 및 도 5는 도 3에 따른 설치 실행 결과를 나타내는 지네릭 얼럴트 메시지들의 내용을 나타낸 도면,4 and 5 are views showing the contents of the generic alert messages indicating the installation execution result according to FIG.

도 6은 본 발명의 다른 실시예에 따라 비동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸 도면,6 illustrates a method for reporting installation execution results asynchronously in accordance with another embodiment of the present invention;

도 7 및 도 8은 도 6에 따른 설치 실행 결과를 나타내는 지네릭 얼럴트 메시지들의 내용을 나타낸 도면,7 and 8 are views showing the contents of the generic alert messages indicating the installation execution result according to FIG. 6;

도 9는 본 발명의 일 실시예에 따라 동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸 도면,9 illustrates a method for reporting installation execution results synchronously in accordance with one embodiment of the present invention;

도 10 및 도 11는 도 9에 따른 설치 실행 결과를 나타내는 DM 메시지들의 내용을 나타낸 도면,10 and 11 are views showing the contents of the DM messages indicating the installation execution result according to FIG.

도 12는 본 발명의 다른 실시예에 따라 동기식으로 설치 실행 결과를 보고하기 위한 방법을 나타낸 도면,12 illustrates a method for reporting installation execution results synchronously in accordance with another embodiment of the present invention;

도 13 및 도 14는 도 12에 따른 설치 실행 결과를 나타내는 DM 메시지들의 내용을 나타낸 도면,13 and 14 are views showing the contents of the DM messages indicating the execution result of the installation according to FIG. 12;

도 15는 본 발명에 따른 DM 시스템의 구성을 나타낸 도면.15 is a view showing the configuration of a DM system according to the present invention.

Claims (13)

DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 DM 클라이언트에서 패키지 설치 결과를 DM 서버로 보고하기 위한 방법에 있어서,In a DM system including a device management (DM) client and a DM server, a method for reporting a package installation result from a DM client to a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 단계와,Receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 전체 콤포넌트들이 설치 실패하였는 지를 판단하는 단계와,Installing a stored or downloaded package, determining if all components of the package have failed to install, 상기 패키지의 전체 콤포넌트들이 설치 실패하였으면, item 엘리먼트의 Target URI 엘리먼트에 패키지의 URI를 삽입 또는 기록한 메시지를 생성하는 단계와, If all components of the package have failed to be installed, generating a message in which the URI of the package is inserted or recorded in the Target URI element of the item element; 상기 생성한 메시지를 DM 서버로 전송하는 단계를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 방법.Package installation result reporting method comprising the step of transmitting the generated message to a DM server. 제1항에 있어서, 상기 생성한 메시지는 지네릭 얼럴트 메시지 및 명령어 실행 결과를 보고하기 위한 DM 메시지중 어느 하나인 것을 특징으로 하는 패키지 설치 결과 보고 방법.The method of claim 1, wherein the generated message is one of a generic alert message and a DM message for reporting a command execution result. 제1항에 있어서, 상기 패키지의 전체 콤포넌트들이 설치 실패하였음을 나타 내는 명령어 실행 결과 코드를 상기 메시지에 삽입 또는 기록하는 단계를 더 포함하는 과정을 특징으로 하는 패키지 설치 결과 보고 방법.2. The method of claim 1, further comprising inserting or recording a command execution result code in the message indicating that all components of the package have failed to install. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 DM 클라이언트에서 패키지 설치 결과를 DM 서버로 보고하기 위한 방법에있어서,In a DM system including a Device Management (DM) client and a DM server, a method for reporting a package installation result from a DM client to a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 단계와,Receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 전체 콤포넌트들이 설치 실패하였는 지를 판단하는 단계와,Installing a stored or downloaded package, determining if all components of the package have failed to install, 상기 패키지의 전체 콤포넌트들이 설치 실패하였으면, item 엘리먼트의 Target URI 엘리먼트가 존재하지 않는 메시지를 생성하는 단계와, If all components of the package have failed to be installed, generating a message that a Target URI element of an item element does not exist; 상기 생성한 메시지를 DM 서버로 전송하는 단계를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 방법.Package installation result reporting method comprising the step of transmitting the generated message to a DM server. 제4항에 있어서, 상기 생성한 메시지는 지네릭 얼럴트 메시지 및 명령어 실행 결과를 보고하기 위한 DM 메시지중 어느 하나인 것을 특징으로 하는 패키지 설치 결과 보고 방법.The method of claim 4, wherein the generated message is one of a generic alert message and a DM message for reporting a command execution result. 제4항에 있어서, 상기 패키지의 전체 콤포넌트들이 설치 실패하였음을 나타내는 명령어 실행 결과 코드를 상기 메시지에 삽입 또는 기록하는 단계를 더 포함하는 과정을 특징으로 하는 패키지 설치 결과 보고 방법.5. The method of claim 4, further comprising inserting or recording a command execution result code in the message indicating that all components of the package have failed to install. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 DM 클라이언트에서 패키지 설치 결과를 DM 서버로보고하기 위한 방법에 있어서,In a DM system including a device management (DM) client and a DM server, a method for reporting a package installation result from a DM client to a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 단계와,Receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 일부 콤포넌트들이 설치 실패하였는 지를 판단하는 단계와,Installing a saved or downloaded package, determining if some components of the package have failed to install, 상기 패키지의 일부 콤포넌트들이 설치 실패하였으면, 설치 실패한 콤포넌트를 위한 item 엘리먼트의Target URI 엘리먼트가 존재하지 않고, 상기 설치 실패한 콤포넌트의 ID가 기록된 메시지를 생성하는 단계와, If some components of the package have failed to install, generating a message in which a target URI element of an item element for a failed installation component does not exist and an ID of the failed installation component is recorded; 상기 생성한 메시지를 DM 서버로 전송하는 단계를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 방법.Package installation result reporting method comprising the step of transmitting the generated message to a DM server. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 DM 클라이언트에서 패키지 설치 결과를 DM 서버로 보고하기 위한 방법에있어서,In a DM system including a Device Management (DM) client and a DM server, a method for reporting a package installation result from a DM client to a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 단계와,Receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 일부 콤포넌트들이 설치 실패하였는 지를 판단하는 단계와,Installing a saved or downloaded package, determining if some components of the package have failed to install, 상기 패키지의 일부 콤포넌트들이 설치 실패하였으면, 설치 실패한 콤포넌트를 위한 item 엘리먼트의Target 엘리먼트에 상기 설치 실패한 콤포넌트의 ID가 LocName 타입으로 기록된 메시지를 생성하는 단계와, If some components of the package have failed to install, generating a message in which the ID of the failed installation component is recorded as a LocName type in a target element of an item element for a failed installation component; 상기 생성한 메시지를 DM 서버로 전송하는 단계를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 방법.Package installation result reporting method comprising the step of transmitting the generated message to a DM server. 제7항 또는 제8항에 있어서, The method according to claim 7 or 8, 상기 패키지의 각 콤포넌트들의 설치 결과를 나타내는 코드들을 각각 상기 각 콤포넌트를 위한 itme 엘리먼트에 삽입 또는 기록하는 단계를 더 포함하는 과정을 특징으로 하는 패키지 설치 결과 보고 방법.And inserting or writing codes indicating the result of installation of each component of the package into an itme element for each component, respectively. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 패키지 설치 결과를 DM 서버로보고하기 위한 장치에 있어서,A device for reporting package installation results to a DM server in a DM system including a device management (DM) client and a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 송수신부와,A transceiver for receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 전체 콤포넌트들이 설치 실패하였는 지를 판단하는 소프트웨어 설치부와,A software installation unit that installs a stored or downloaded package and determines whether all components of the package have failed to install, 상기 패키지의 전체 콤포넌트들이 설치 실패하였으면, item 엘리먼트의 Target URI 엘리먼트에 패키지의 URI를 삽입 또는 기록한 메시지를 생성하여 상기 송수신부로 전달하는 DM 메시지 생성부를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 장치.And a DM message generator for generating a message in which the URI of the package is inserted or recorded in the Target URI element of the item element and delivering the message to the transceiver, if all components of the package have failed to be installed. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 패키지 설치 결과를 DM 서버로보고하기 위한 장치에 있어서,A device for reporting package installation results to a DM server in a DM system including a device management (DM) client and a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 송수신부와,A transceiver for receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 전체 콤포넌트들이 설치 실패하였는 지를 판단하는 소프트웨어 설치부와,A software installation unit that installs a stored or downloaded package and determines whether all components of the package have failed to install, 상기 패키지의 전체 콤포넌트들이 설치 실패하였으면, 상기 패키지의 전체 콤포넌트들이 설치 실패하였으면, item 엘리먼트의 Target URI 엘리먼트가 존재하지 않는 메시지를 생성하여 상기 송수신부로 전달하는 DM 메시지 생성부를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 장치.If all components of the package failed to install, If all components of the package failed to install, Package characterized in that it comprises a DM message generating unit for generating a message that the target URI element of the item element does not exist and delivers to the transceiver Device for reporting installation results. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 패키지 설치 결과를 DM 서버로 보고하기 위한 장치에 있어서,A device for reporting package installation results to a DM server in a DM system including a device management (DM) client and a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 송수신부와,A transceiver for receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 일부 콤포넌트들이 설치 실패하였는 지를 판단하는 소프트웨어 설치부와,A software installation unit that installs a stored or downloaded package and determines whether some components of the package have failed to install, 상기 패키지의 일부 콤포넌트들이 설치 실패하였으면, 설치 실패한 콤포넌트를 위한 item 엘리먼트의Target URI 엘리먼트가 존재하지 않고, 상기 설치 실패한 콤포넌트의 ID가 기록된 메시지를 생성하여 상기 송수신부로 전달하는 DM 메시지 생성부를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 장치.If some components of the package have failed to install, there is no target URI element of the item element for the failed installation component, and a DM message generator for generating a message in which the ID of the failed installation component is recorded and transmitting the generated message to the transceiver. Package installation result reporting device, characterized in that. DM(Device Management) 클라이언트 및 DM 서버를 포함하는 DM 시스템에서 패키지 설치 결과를 DM 서버로보고하기 위한 장치에 있어서,A device for reporting package installation results to a DM server in a DM system including a device management (DM) client and a DM server, DM 서버로부터 패키지 설치를 위한 명령어를 수신하는 송수신부와,A transceiver for receiving a command for installing a package from a DM server, 저장된 또는 다운로드된 패키지를 설치하고, 패키지의 일부 콤포넌트들이 설치 실패하였는 지를 판단하는 소프트웨어 설치부와,A software installation unit that installs a stored or downloaded package and determines whether some components of the package have failed to install, 상기 패키지의 일부 콤포넌트들이 설치 실패하였으면, 설치 실패한 콤포넌트를 위한 item 엘리먼트의Target 엘리먼트에 상기 설치 실패한 콤포넌트의 ID가 LocName 타입으로 기록된 메시지를 생성하여 상기 송수신부로 전달하는 DM 메시지 생성부를 포함하는 것을 특징으로 하는 패키지 설치 결과 보고 장치.If some components of the package have failed to install, a DM message generator for generating a message in which the ID of the failed installation component is recorded as a LocName type in the target element of the item element for the failed installation component and delivering the message to the transceiver unit; Device for reporting package installation results.
KR1020080021661A 2008-03-07 2008-03-07 Method and apparatus for reporting installation results of software components KR20090096221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080021661A KR20090096221A (en) 2008-03-07 2008-03-07 Method and apparatus for reporting installation results of software components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080021661A KR20090096221A (en) 2008-03-07 2008-03-07 Method and apparatus for reporting installation results of software components

Publications (1)

Publication Number Publication Date
KR20090096221A true KR20090096221A (en) 2009-09-10

Family

ID=41296452

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080021661A KR20090096221A (en) 2008-03-07 2008-03-07 Method and apparatus for reporting installation results of software components

Country Status (1)

Country Link
KR (1) KR20090096221A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013174347A2 (en) * 2012-09-14 2013-11-28 中兴通讯股份有限公司 User data processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013174347A2 (en) * 2012-09-14 2013-11-28 中兴通讯股份有限公司 User data processing method and device
WO2013174347A3 (en) * 2012-09-14 2014-01-16 中兴通讯股份有限公司 User data processing method and device

Similar Documents

Publication Publication Date Title
US20200218526A1 (en) Adaptive deployment of applications for mobile devices
US8893110B2 (en) Device management in a network
KR101292979B1 (en) Method for managing software in terminal using device management server
US9141366B2 (en) Method, system, terminal and device management server for installing software components
CN104125276A (en) Upgrading method and device
US20160350097A1 (en) Method for updating firmware and configuration file and a firmware-configuration file management system therefor
KR101495341B1 (en) Method and System for assigning IDs to software compoents
US20070192158A1 (en) Performing scheduled device management
EP3011446B1 (en) Synchronized update of multiple devices in a local network
CN103150513A (en) Method and device for intercepting embedded information in application program
JP5954635B2 (en) Method, system, terminal, and device management server for installing software components
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN104811979A (en) Pressure testing method and device based on FOTA upgrading
CN108877188B (en) Environment-friendly data concurrent acquisition and multi-network publishing method and device
WO2016026329A1 (en) Terminal upgrade method and apparatus
CN114363313A (en) Device control method, server, and storage medium
CN105530323B (en) File upgrading method, related equipment and system
CN107147522B (en) A kind of method and device of determining networking topological structure
CN112559124A (en) Model management system and target operation instruction processing method and device
CN112087327A (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
KR20090096221A (en) Method and apparatus for reporting installation results of software components
CN110597600A (en) Method for modifying application configuration parameters of distributed system and distributed system
CN113034165B (en) Data processing method and device, storage medium and electronic device
CN111787093B (en) Application management method, application management device, related equipment and medium
KR101392915B1 (en) Device managemet using event

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application