KR100711717B1 - JAVA program parameter setting method and a mobile communication terminal having said function - Google Patents

JAVA program parameter setting method and a mobile communication terminal having said function Download PDF

Info

Publication number
KR100711717B1
KR100711717B1 KR1020050077756A KR20050077756A KR100711717B1 KR 100711717 B1 KR100711717 B1 KR 100711717B1 KR 1020050077756 A KR1020050077756 A KR 1020050077756A KR 20050077756 A KR20050077756 A KR 20050077756A KR 100711717 B1 KR100711717 B1 KR 100711717B1
Authority
KR
South Korea
Prior art keywords
parameter
java
middlelet
virtual machine
java program
Prior art date
Application number
KR1020050077756A
Other languages
Korean (ko)
Other versions
KR20070023301A (en
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 KR1020050077756A priority Critical patent/KR100711717B1/en
Publication of KR20070023301A publication Critical patent/KR20070023301A/en
Application granted granted Critical
Publication of KR100711717B1 publication Critical patent/KR100711717B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

본원발명은 이동통신 단말기에서 구동되는 모바일 프로그램인 자바프로그램에 관한 것으로서, 더욱 상세하게는 자바프로그램의 설치시 미들렛(MIDLet)에 포함된 미들렛 속성을 나타내는 파라미터 값을 사용자가 등록하거나 설정할 수 있도록 하는 자바프로그램 파라미터 설정 방법 및 그 기능을 가지는 이동통신 단말기에 관한 것이다.The present invention relates to a Java program, which is a mobile program that runs on a mobile communication terminal, and more particularly, so that a user can register or set a parameter value representing a middlelet attribute included in a MIDLet when the Java program is installed. It relates to a Java program parameter setting method and a mobile communication terminal having the function.

상술한 본원발명의 자파프로그램 파라미터 설정 방법은, 가상머신에 의해 구동되는 자바프로그램으로부터 새로 추가된 파라미터가 있는 지를 검색하는 파라미터검색과정과; 상기 파라미터검색과정에서 새로운 파라미터가 검색된 경우 사용자로부터 해당 파라미터 정보를 입력받아서 파라미터 정보를 설정하는 파라미터설정과정과; 상기 파라미터 설정 과정에서 입력된 파라미터 정보를 저장하는 파라미터정보저장과정을 포함하여 이루어지는 것을 특징으로 한다.The above-described method for setting a jeep program parameter of the present invention includes: a parameter search process for searching for a newly added parameter from a Java program driven by a virtual machine; A parameter setting process of setting parameter information by receiving corresponding parameter information from a user when a new parameter is found in the parameter searching process; And a parameter information storing step of storing the parameter information input in the parameter setting process.

자바게임, 미들렛(MIDLet), JVM, KVM, JAM Java Games, MIDLet, JVM, KVM, JAM

Description

자바프로그램 파라미터 설정 방법 및 그 기능을 가지는 이동통신 단말기{JAVA program parameter setting method and a mobile communication terminal having said function}JAVA program parameter setting method and a mobile communication terminal having said function}

도 1은 본원발명의 일 실시 예에 따르는 이동통신 단말기의 블록 구성도이고,1 is a block diagram of a mobile communication terminal according to an embodiment of the present invention;

도 2는 본원발명의 자바프로그램 파라미터 설정 방법의 일 실시 예로서의 미들렛의 파라미터 설정의 상세 처리과정을 나타내는 순서도이며,2 is a flowchart illustrating a detailed process of parameter setting of a middlelet as an embodiment of a Java program parameter setting method of the present invention.

도 3은 도 2의 처리과정 중 미들렛의 실행과정을 나타내는 순서도이다.3 is a flowchart illustrating an execution process of a middlelet in the process of FIG. 2.

*도면의 주요 부호에 대한 설명** Description of Major Symbols in Drawings *

100: 이동통신 단말기100: mobile communication terminal

110: 제어부 120: 자바실행부110: control unit 120: Java execution unit

130: 표시부 140: 키입력부130: display unit 140: key input unit

150: 저장부 160: 오디오처리부150: storage unit 160: audio processing unit

170: RF부170: RF section

본원발명은 이동통신 단말기에서 구동되는 모바일 프로그램인 자바프로그램에 관한 것으로서, 더욱 상세하게는 자바프로그램의 설치시 미들렛에 포함된 미들렛 속성을 나타내는 파라미터 값을 사용자가 등록하거나 설정할 수 있도록 하는 자바프로그램 파라미터 설정 방법 및 그 기능을 가지는 이동통신 단말기에 관한 것이다.The present invention relates to a Java program, which is a mobile program that runs on a mobile communication terminal. More specifically, a Java program that allows a user to register or set a parameter value representing a middlelet attribute included in a middlelet when a Java program is installed. A parameter setting method and a mobile communication terminal having the same function.

이동통신 기술의 발달은 무선데이터 전송기술에서도 현저한 진보를 보이고 있으며, 이러한 전송기술의 발전을 기반으로 하여 음성 위주의 서비스 제공에서 벗어나, HDML(Hnadheld Device Markup Language), WML(Wireless Markup Language), 왑(WAP : Wireless Application Protocol)을 사용한 MMS(Multimedia Messaging Service), 자바게임 서비스 등이 활발히 제공되고 있다.The development of mobile communication technology has made remarkable progress in wireless data transmission technology, and based on the development of this transmission technology, the development of voice-oriented service, HDML (Hnadheld Device Markup Language), WML (Wireless Markup Language), and swap MMS (Multimedia Messaging Service) and Java game service using (WAP: Wireless Application Protocol) are actively provided.

상술한 WAP은 모토로라, 노키아, 에릭슨 등이 주축으로 결성하고, 전세계의 200여 개 업체가 회원으로 참여하고 있는 WAP 포럼이 무선 인터넷을 위해 정의한 프로토콜이다.The above-mentioned WAP is a protocol defined by the WAP Forum, which is formed by Motorola, Nokia, Ericsson, etc., and is a member of more than 200 companies around the world.

그리고 상술한 자바 게임 서비스는 이동통신 망을 통해 왑서버를 경유하여 다수의 사용자가 상호작용에 의한 인터렉티브한 게임 서비스를 제공받을 수 있도록 하는 온라인 게임 서비스 또는 이동통신 단말기 상에서 독립적으로 실행되는 자바게임의 다운로드 서비스가 주종을 이룬다.In addition, the above-described Java game service is an online game service or a Java game that is independently executed on a mobile communication terminal to allow a plurality of users to be provided with interactive game services through a swap server through a mobile communication network. Download services dominate.

상술한 자바게임은 휴대폰 등의 이동통신 단말기에서 제공받아 실행할 수 있도록 무선인터넷 환경에 적합한 언어인 WAP(wireless application protocol)에서 정의한 언어 즉, J2ME(Java 2 Micro Edition)에 의해 미들렛(MIDLet)으로 제작되는 것이 일반적이다.The above-mentioned Java game is a language defined by WAP (wireless application protocol), which is a language suitable for a wireless Internet environment, to be provided and executed by a mobile communication terminal such as a mobile phone, that is, as a middlelet (MIDLet) by J2ME (Java 2 Micro Edition). It is common to be manufactured.

종래기술에서 자바게임 실행 기능을 가지는 이동통신 단말기는 미들렛을 다운로드 받기 위해 WAP서버에 접속하기 위한 인터페이스를 제공하는 WAP브라우져와, 미들렛 다운로드를 위한 JAM(JAVA application Manager)과, 미들렛 구동을 위한 JVM(Java Virtual Machine), KVM(Kilo-virtual Machine) 등의 가상머신 등을 탑재한다.In the prior art, a mobile communication terminal having a Java game execution function provides a WAP browser that provides an interface for accessing a WAP server for downloading a middlelet, a JAAM application manager (JAM) for downloading a middlelet, and driving a middlelet. It is equipped with a virtual machine such as a Java Virtual Machine (JVM) and a Kilo-virtual Machine (KVM).

상술한 구성을 가지는 이동통신 단말기는 WAP브라우져를 이용하여 WAP게이트웨이(WAP gateway)를 통해 WML/WMLScript로 구성된 컨텐츠에 접근하여 미들렛 등의 자바프로그램을 다운로드(download) 한다. 이때, 이동통신 단말기에 내장된 JAM이 미들렛의 다운로드 및 실행을 제어한다. 즉, JAM은 미들렛의 다운로드를 제어하다가 다운로드가 종료되면, 미들렛을 실행할 JVM 또는 KVM 등의 가상머신을 구동한 후 미들렛을 구동된 가상머신에 넘겨준다. 가상머신은 자바 바이트 코드 인터프리터(interpreter)로서 미들렛에 포함된 파라미터 및 바이트코드를 해석하여 미들렛에 포함된 파라미터 설정 정보에 따라 미들렛을 설치하거나 실행하며, 미들렛의 설치 또는 실행 상태를 화면에 출력한다.The mobile communication terminal having the above-described configuration downloads a Java program such as a middlelet by accessing a content composed of WML / WMLScript through a WAP gateway using a WAP browser. At this time, the JAM embedded in the mobile communication terminal controls the download and execution of the middlelet. That is, while JAM controls the download of the middlelet, when the download is completed, the JAM drives a virtual machine such as a JVM or a KVM to execute the middlelet, and then passes the middlelet to the driven virtual machine. The virtual machine is a Java byte code interpreter that interprets the parameters and bytecodes included in the middlelet, installs or executes the middlelet according to the parameter setting information included in the middlelet, and displays the installation or execution state of the middlelet. Output to.

이때, 미들렛은 미들렛의 접속 주소 정보를 가지는 JAD(JAVA application descriptor)라는 디스크립트(descript) 파일 형태 또는 JAR(JAVA achive file format) 파일 등의 압축 파일 형태로 제공된다.At this time, the middlelet is provided in the form of a decode file called JAD (JAVA application descriptor) having a connection address information of the middlelet or a compressed file such as a JAR (JAVA achive file format) file.

상술한 디스크립트 파일은 다운로드 되어 실행되는 경우 미들렛의 위치 정보를 포함하며, 상술한 JAR 파일은 미들렛 자체로서 사운드, 클래스(class), 이미지 (image), 디스크립트(descript), 파라미터 정보를 포함한다.The above-described descriptive file includes the location information of the middlelet when downloaded and executed. The above-described JAR file includes the sound, class, image, descriptive, and parameter information as the middlelet itself. Include.

가상머신은 JAD 또는 JAR 파일의 실행 또는 설치시에 상술한 파라미터 등의 값을 읽어 들여서 미들렛을 실행하거나 설치한다.The virtual machine executes or installs the middlelet by reading values such as parameters described above when executing or installing a JAD or JAR file.

여기서 가상머신의 미들렛 구동을 위한 파라미터 정보 값들을 판단하기 위한 파라미터 정보들은 이동통신 단말기 내에 하드코딩된 상태로 존재하게 된다.가사머신에 의해 미들렛이 구동되면 미들렛은 가상머신으로 파라미터 값을 전송하게 되고, 가상머신은 미들렛으로부터 수신된 파라미터 값과 하드코딩된 파라미터 값을 비교하여 정(TRUE) 또는 부(FALSE)의 값을 미들렛으로 반환하며, 반환된 값에 따라 미들렛이 실행되거나 설치된다.The parameter information for determining parameter information values for driving the middlelet of the virtual machine is present in a hard coded state in the mobile communication terminal. When the middlelet is driven by the housekeeping machine, the middlelet converts the parameter value into the virtual machine. The virtual machine compares the hardcoded parameter value with the parameter value received from the middlelet, and returns a TRUE or FALSE value to the middlelet, and the middlelet is executed according to the returned value. Or installed.

상술한 바와 같은 종래기술에서 미들렛의 실행 또는 설치 과정에서 가상머신은 미들렛으로부터 새로운 파라미터 또는 하드코딩된 파라미터 값과 다른 파라미터 값을 입력받는 경우에는 파라미터 값에 대한 정(true) 또는 부(false)의 판단을 수행하지 못하므로 이동통신 단말기 상에서 미들렛이 적절하게 실행되거나 설치되지 않게 된다. 그리고, 상술한 종래기술의 가상머신에 설정된 파라미터 설정 값 들을 사용자가 등록하고 변경할 수 있도록 하는 방법을 제공하지 못한다.In the prior art as described above, during execution or installation of the middlelet, the virtual machine receives a true or false value for the parameter value when receiving a new parameter or a parameter different from the hardcoded parameter value from the middlelet. ), The middlelet is not properly executed or installed on the mobile communication terminal. In addition, it does not provide a method for allowing a user to register and change parameter setting values set in the aforementioned virtual machine of the prior art.

따라서, 상술한 종래기술은 미들렛(MIDLet)에 새로운 파라미터 정보가 추가된 경우, 이러한 새로운 파라미터 정보를 가지는 가상머신으로 업데이트해야만 하는 문제점을 가진다.Therefore, the above-described prior art has a problem in that when new parameter information is added to the middlelet MIDLet, it must be updated to a virtual machine having such new parameter information.

따라서, 본원발명은 상술한 종래기술에서의 문제점을 해결하기 위한 것으로 서, 이동통신 단말기에서 구동되는 자바프로그램에 새로운 파라미터가 추가되거나, 하드코딩된 파라미터 값과 다른 설정 값을 가지는 경우 미들렛과 사용자가 상호 작용하여 새로운 파라미터를 등록하거나 새로운 파라미터 값을 설정할 수 있도록 하는 자바프로그램 파라미터 설정 방법 및 그 기능을 가지는 이동통신 단말기를 제공하는 것을 그 목적으로 한다.Accordingly, the present invention is to solve the above-mentioned problems in the prior art, the middlelet and the user when a new parameter is added to the Java program running in the mobile communication terminal, or has a setting value different from the hard-coded parameter value It is an object of the present invention to provide a Java program parameter setting method and a mobile communication terminal having the function of allowing a user to interact and register a new parameter or set a new parameter value.

상술한 목적을 달성하기 위한 본원발명의 자바프로그램 파라미터 설정 기능을 가지는 이동통신 단말기는, 자바프로그램 실행 기능을 가지는 이동통신 단말기에 있어서, 상기 자바프로그램을 실행하거나 설치하며, 상기 자바프로그램의 실행 또는 설치시 사용자가 상기 자바프로그램의 파라미터를 등록하거나 그 설정 값을 변경할 수 있도록 하는 사용자 화면을 생성하여 출력하는 가상머신을 탑재한 자바실행부와; 상기 자바실행부에서 출력된 상기 사용자 화면을 출력하는 표시부와; 상기 표시부에 출력된 사용자 화면을 이용하여 사용자가 파라미터 설정 정보를 입력할 수 있도록 하는 키입력부를 포함하여 구성되는 것을 특징으로 한다.A mobile communication terminal having a Java program parameter setting function of the present invention for achieving the above object, in a mobile communication terminal having a Java program execution function, executes or installs the Java program, and executes or installs the Java program. A Java execution unit equipped with a virtual machine for generating and outputting a user screen for allowing a user to register a parameter of the Java program or change its setting value; A display unit for outputting the user screen output from the Java execution unit; And a key input unit for allowing a user to input parameter setting information by using a user screen output on the display unit.

상술한 목적을 달성하기 위한 본원발명의 자파프로그램 파라미터 설정 방법은, 가상머신에 의해 구동되는 자바프로그램으로부터 새로 추가된 파라미터가 있는 지를 검색하는 파라미터검색과정과; 상기 파라미터검색과정에서 새로운 파라미터가 검색된 경우 사용자로부터 해당 파라미터 정보를 입력받아서 파라미터 정보를 설정하는 파라미터설정과정과; 상기 파라미터설정과정에서 입력된 파라미터 정보를 저장하는 파라미터정보저장과정을 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, there is provided a method for setting a jeep program parameter of the present invention, including: a parameter searching process of searching for a newly added parameter from a Java program driven by a virtual machine; A parameter setting process of setting parameter information by receiving corresponding parameter information from a user when a new parameter is found in the parameter searching process; And a parameter information storing step of storing the parameter information input in the parameter setting step.

상술한 본원발명은 또한 상기 파라미터정보저장과정 이후에 상기 자바프로그램으로부터 파라미터 설정 값을 전송받는 파라미터 값 수신과정과; 상기 파라미터 값 수신과정에 의해 수신된 파라미터와 파라미터정보저장과정에 의해 저장된 파라미터 값 또는 기 설정된 파라미터 값과 비교하는 파라미터 값 비교 과정과; 상기 파라미터 값 비교 과정의 판단 결과에 따라 상기 자바프로그램의 설치 또는 실행을 수행하는 자바프로그램 설치 및 실행 과정을 더 포함하여 이루어지는 것을 특징으로 한다.The present invention described above also includes a parameter value receiving step of receiving a parameter setting value from the Java program after the parameter information storing step; A parameter value comparing step of comparing the parameter received by the parameter value receiving step with a parameter value stored by the parameter information storing step or a preset parameter value; The method may further include a Java program installation and execution process that performs the installation or execution of the Java program according to the determination result of the parameter value comparison process.

상술한 본원발명에서 상기 자바프로그램은 미들렛(MIDLet)으로 제작되며, 상기 미들렛은 JAD(JAVA application descriptor) 또는 JAR(JAVA archive) 파일 포맷으로 제공되고, 상기 파라미터는 미들렛 속성 파라미터인 것을 특징으로 한다.In the above-described present invention, the Java program is produced as a middlelet (MIDLet), and the middlelet is provided in a JAVA (JAVA application descriptor) or JAR (JAVA archive) file format, and the parameter is a middlelet attribute parameter. It is done.

그리고, 상기 가상머신(virtual machine)은 JVM(JAVA virtual machine), 또는 KVM(kilo virtual machine) 중 어느 하나로 구성될 수 있다.The virtual machine may be configured as one of a JAVA virtual machine (JVM) or a kilo virtual machine (KVM).

이하, 첨부도면을 참조하여 본원발명을 더욱 상세히 설명한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.

도 1은 본원발명의 일 실시 예에 따르는 이동통신 단말기의 블록 구성도이다.1 is a block diagram of a mobile communication terminal according to an embodiment of the present invention.

도 1에 도시된 바와 같이 본원발명의 일 실시 예에 따르는 이동통신 단말기(100)는 이동통신 시스템을 경유하는 음성 및 패킷 데이터 서비스를 제공하는 제어부(110)와; 사용자가 자바프로그램의 파라미터의 등록 또는 파라미터 값의 변경 등에 의해 파라미터의 설정을 변경할 수 있도록 하고, 변경된 파라미터 설정 값에 따라 자바프로그램을 실행하는 가상머신을 탑재한 자바실행부(120)와; 자바실행부 (120)에서의 자바프로그램의 실행 상태를 출력하는 표시부(130)와; 사용자 제어 명령을 입력받는 키입력부(140)와; 오디오의 재생 및 부호화를 수행하는 오디오처리부(150)와; 이동통신 단말기의 구동 소프트웨어, 사용자 입력 정보를 저장하는 저장부(150)와; 이동통신 시스템과의 RF통신을 수행하는 RF부(160)를 포함하여 구성된다.As shown in FIG. 1, a mobile communication terminal 100 according to an embodiment of the present invention includes a control unit 110 for providing a voice and packet data service via a mobile communication system; A Java execution unit 120 for allowing a user to change a parameter setting by registering a parameter of the Java program or changing a parameter value, and including a virtual machine for executing the Java program according to the changed parameter setting value; A display unit 130 for outputting an execution state of a Java program in the Java execution unit 120; A key input unit 140 for receiving a user control command; An audio processor 150 for reproducing and encoding audio; A storage unit 150 for storing driving software and user input information of the mobile communication terminal; And an RF unit 160 for performing RF communication with the mobile communication system.

상술한 구성에서 상기 자바실행부(120)는, 무선 인터넷 서비스를 제공하는 WAP 게이트웨이를 통해 무선인터넷 망에 구축된 WAP서버로의 접속 인터페이스를 제공하는 WAP브라우져와; WAP서버로부터 자바 프로그램에 대한 다운로드를 제어하는 JAM(JAVA application manager)과; 다운로드된 자바프로그램을 실행하는 JVM(JAVA virtual machine) 또는 KVM(kilo virtual machine) 등의 가상머신과; 자바 프로그램의 구동을 위한 프로그램을 제공하는 J2ME(JAVA 2 Mciro Edition) 등을 탑재한다. 여기서 자바프로그램은 미들렛(MIDLet)의 형태로 작성되어 JAD 또는 JAR 형태로 제공되는 것이 일반적이다.In the above-described configuration, the Java execution unit 120 includes: a WAP browser for providing a connection interface to a WAP server constructed in a wireless Internet network through a WAP gateway for providing a wireless Internet service; A JAAM application manager (JAM) for controlling the download of Java programs from the WAP server; A virtual machine such as a JVM (JAVA virtual machine) or a KVM (kilo virtual machine) for executing the downloaded Java program; It includes J2ME (JAVA 2 Mciro Edition), which provides programs for running Java programs. Here Java programs are usually written in the form of a middlelet (MIDLet) and provided in the form of JAD or JAR.

미들렛의 다운로드를 원하는 사용자는 상술한 WAP브라우져를 구동하여 WAP서버에 접속한다. 이 후, 사용자가 미들렛(MIDLet)의 다운로드를 선택하는 경우 JAM이 JAD 또는 JAR 파일 형태에 따라 JAVA 프로그램의 다운로드를 수행한 후 가상머신을 구동한 후 다운로드된 자바프로그램을 가상머신으로 넘겨 준다. 상기 가상머신은 미들렛의 내부에 탑재되는 미들렛 속성 정보를 가지는 파라미터 정보를 읽어 들인 후 이를 해석하여 자바프로그램의 구동을 위한 설정을 수행한다.The user who wants to download the middlelet runs the above-described WAP browser to access the WAP server. After that, when the user selects the download of the MIDLet, JAM downloads the JAVA program according to the JAD or JAR file type, runs the virtual machine, and passes the downloaded Java program to the virtual machine. The virtual machine reads parameter information having middlelet attribute information mounted in the middlelet, interprets the parameter information, and performs setting for driving a Java program.

그러나. 이때 미들렛에 포함된 파라미터가 가상머신에는 없는 경우 또는 가 상머신에 설정되어 있는 파라미터 설정 값과 설정 값이 다른 파라미터가 존재하는 경우에는 가상머신은 사용자가 파라미터를 새로이 등록하거나 미들렛의 파라미터의 값을 변경하기 위한 정보를 입력할 수 있도록 하는 사용자화면(인터페이스화면)을 표시부(130)에 출력한다. 그리고, 사용자가 파라미터 이름, 파라미터 값, 파라미터 값의 범위 등의 파라미터 정보를 입력하면, 해당 파라미터를 저장하여 미들렛의 파라미터 설정 값을 변경한다. 이후 가상머신은 새로이 설정된 파라미터 값에 따라 미들렛을 설치하거나 실행하고, 미들렛의 설치 또는 실행 상태를 표시부(130)에 출력한다.But. At this time, if the parameter included in the middlelet does not exist in the virtual machine, or if there is a parameter that is different from the parameter set value set in the virtual machine, the virtual machine may be newly registered by the user or the parameter of the middlelet. A user screen (interface screen) for inputting information for changing a value is output to the display unit 130. When the user inputs parameter information such as a parameter name, a parameter value, a range of parameter values, and the like, the parameter is stored to change the parameter setting value of the middlelet. Thereafter, the virtual machine installs or executes the middlelet according to the newly set parameter value, and outputs the installation or execution state of the middlelet to the display unit 130.

표 1은 상술한 미들렛에 설정되는 파라미터로서의 미들렛 속성을 나타낸다.Table 1 shows the middlelet attribute as a parameter set to the above-mentioned middlelet.

파라미터 이름Parameter name JARJAR JADJAD 설정 값 및 의미Setting value and meaning MIDlet-NameMIDlet-Name MM MM 미들렛 이름Middlelet name MIDlet-VersionMIDlet-Version MM MM 미들렛 버전. 버전 값은 a.b.c (for example 1.2.3) 등으로 표현될 수 있음Middlelet version. The version value can be expressed as a.b.c (for example 1.2.3) MIDlet-VendorMIDlet-Vendor MM MM 미들렛 공급자 이름Middlelet supplier name MIDlet-n MIDlet- n MM II 미들렛을 설명하는 속성.이 속성에 포함되는 값은 텍스트로 설명됨Attribute describing the middlelet; the value contained in this attribute is described in text MicroEdition-ProfileMicroEdition-Profile MM II 미들렛이 구동되는 MIDP 사양버전MIDP specification version in which the middlelet is driven MicroEdition-ConfigurationMicroEdition-Configuration MM II J2ME 구성정보J2ME configuration information MIDlet-DescriptionMIDlet-Description OO OO MIDlet 설명 정보MIDlet description information MIDlet-IconMIDlet-Icon OO OO 미들렛 아이콘Middlelet icon MIDlet-Info-URLMIDlet-Info-URL OO OO 미들렛이 포함하는 추가 정보에 대한 URLURL for additional information that the middlelet contains MIDlet-Data-SizeMIDlet-Data-Size OO OO 미들렛 데이터 크기Middlelet data size MIDlet-Jar-URLMIDlet-Jar-URL II MM 미들렛의 속성 정보를 가지는 JAR 파일의 URLURL of the JAR file containing the attribute information of the middlelet MIDlet-Jar-SizeMIDlet-Jar-Size II MM 바이트 단위에서의 미들렛 JAR 파일의 크기Size of the middlelet JAR file in bytes MIDlet-Install-NotifyMIDlet-Install-Notify II OO MIDlet 설치 실패 보고 위치의 URLURL of the MIDlet installation failure reporting location MIDlet-Delete-ConfirmMIDlet-Delete-Confirm II OO 미들렛 삭제 전의 표시 정보Display Information Before Deleting a Middlelet MIDlet-specific attributesMIDlet-specific attributes OO OO MIDlet 실행 시간 제한 등의 개발자의 특이적인 제한 정보Developer specific restriction information, such as the MIDlet execution time limit

도 2는 도 1의 이동통신 단말기(100) 및 본원발명의 일 실시 예에 따르는 자바프로그램 설정 방법 중 미들렛의 속성정보를 가지는 파라미터 설정 방법의 상세 처리과정을 나타내는 순서도이다.2 is a flowchart illustrating a detailed process of a parameter setting method having attribute information of a middlelet among the mobile communication terminal 100 of FIG. 1 and the Java program setting method according to an embodiment of the present invention.

상술한 미들렛 파라미터 설정 방법의 상세 처리과정을 도 1의 이동통신 단말기(100)를 참조하여 상세히 설명하면 다음과 같다.The detailed processing of the above-described method of setting the middlelet parameter will be described in detail with reference to the mobile communication terminal 100 of FIG. 1.

도 2에 도시된 바와 같이, 사용자가 이동통신 단말기(100)의 WAP 브라우져를 구동하여 WAP서버에 접속한 후 원하는 미들렛의 다운로드를 선택하면 JAM이 사용자가 선택한 미들렛의 다운로드를 제어하여 미들렛을 다운로드 받는다(S10).As shown in FIG. 2, when the user runs the WAP browser of the mobile communication terminal 100 to access the WAP server and selects the download of the desired middlelet, the JAM controls the download of the middlelet selected by the user. Download it (S10).

미들렛의 다운로드가 종료된 경우 JAM은 가상머신을 구동한 후 미들렛을 가상머신으로 넘겨 준다. 이때, 가상머신은 자바프로그램에 포함된 파라미터를 추출하여 설정 값에 따라 미들렛의 실행을 위한 조건을 설정한다. 이 과정에서 가상머신은 새로운 파라미터 값의 추가 또는 기 설정되어 하드코딩된 파라미터 값과 다른 값을 가지는 파라미터가 있는지를 판단한다(S20).When the download of the middlelet is finished, JAM starts the virtual machine and passes the middlelet to the virtual machine. At this time, the virtual machine extracts the parameters included in the Java program and sets the conditions for the execution of the middlelet according to the set value. In this process, the virtual machine determines whether there is a parameter having a value different from the addition of a new parameter value or a preset hard-coded parameter value (S20).

S20 과정의 판단 결과 해석(parsing)되지 않는 새로운 파라미터가 존재하거나 기 설정된 파라미터 값과 다른 값을 가지는 파라미터가 존재하는 경우 해당 파라미터의 정보 입력화면을 표시부(130)에 출력한다(S30).As a result of the determination in S20, when there is a new parameter that is not parsed or a parameter having a value different from the preset parameter value is output, an information input screen of the corresponding parameter is output to the display 130 (S30).

사용자는 키입력부(140)를 통해 표시부(130)에 출력된 파라미터 정보 입력화면에 파라미터 정보를 입력한다. 이때 입력되는 파리미터 정보는 상술한 표 1과 같으며, 설정되는 값은 파라미터 이름, 스트링(string) 또는 숫자(number) 등의 타입(type), 그리고, 스트링인 경우 스트링 비교 함수(equal 또는 not equal 등), 숫자인 경우 숫자 비교함수(>, >=, <, <=, equal, not equal 등), 설정 값 등의 값을 가진다(S40).The user inputs parameter information on the parameter information input screen output to the display unit 130 through the key input unit 140. The parameter information input at this time is shown in Table 1 above, and the set value is a parameter name, a type such as a string or a number, and a string comparison function (equal or not equal). Etc.), in the case of a number, has a number comparison function (>,> =, <, <=, equal, not equal, etc.), a set value, and the like (S40).

상술한 S40과정에 의해 파라미터 정보가 입력되면, 가상머신은 입력된 파라미터 정보에 따라 파라미터의 설정을 변경한 후 저장한다(S50).When the parameter information is input by the above-described process S40, the virtual machine changes and stores the setting of the parameter according to the input parameter information (S50).

다음으로 가상머신은 미들렛의 바이트 코드를 해석한 후 S50 과정에 의해 설정된 파라미터 값에 해당 미들렛을 설치하거나 실행한다(S60).Next, the virtual machine interprets the byte code of the middlelet and installs or executes the corresponding middlelet at the parameter value set by the process S50 (S60).

도 3은 도 2의 처리과정 중 S60 과정의 일 실시 예로서 사용자에 의한 파라미터 정보의 설정 및 저장 후에 미들렛의 실행 절차를 나타내는 순서도이다.FIG. 3 is a flowchart illustrating an execution procedure of a middlelet after setting and storing parameter information by a user as an embodiment of process S60 of FIG. 2.

도 3에 도시된 바와 같이, 미들렛에 대한 파라미터가 설정된 후에는 가상머신은 미들렛(MIDLet)으로부터 파라미터 정보를 입력받는다(S61).As shown in FIG. 3, after the parameter for the middlelet is set, the virtual machine receives parameter information from the middlelet MIDLet (S61).

이 후 가상머신은 미들렛으로부터 입력되는 파라미터 정보와 도 2의 처리과정에 의해 입력된 파라미터 값을 비교하여, 문자열의 일치여부, 숫자 범위의 일치, 화면 출력 사이즈 등을 판단하여 판단 결과에 따른 TRUE 또는 FALSE 등의 결과 값을 출력하는 것에 의해 미들렛의 설치 또는 실행을 수행하고, 미들렛의 설치 또는 실행 상태를 표시부에 출력한다(S62).After that, the virtual machine compares the parameter information input from the middlelet with the parameter values input by the process of FIG. 2, and determines whether the strings match, the number range matches, the screen output size, and the like according to the determination result. Alternatively, the middlelet is installed or executed by outputting a result value such as FALSE, and the installed or executed state of the middlelet is output to the display unit (S62).

상술한 본원발명은 미들렛의 설치(install) 시 가상머신은 사용자에게 새로운 미들렛 속성을 정의하는 파라미터 값에 대한 설정 정보의 입력을 요구함으로써 가상머신과 미들렛이 상호작용을 수행할 수 있도록 하고, 이에 따라 사용자가 미들렛의 설정 또는 가상머신의 하드코딩된 설정을 변경할 수 있도록 한다. 즉, 상술한 본원발명은 미들렛에 포함된 파라미터를 통해 가상 사용자에게 미들렛의 설치 또는 실행을 위한 질문을 수행하면, 사용자가 해당 파라미터 설정 정보를 입력함으로써 미들렛에게 답변하게 되고, 미들렛은 사용자의 파라미터 설정 정보에 따라 미들렛을 설치하거나 실행한다.The present invention described above allows the virtual machine to interact with the virtual machine by installing a setting information on a parameter value defining a new middlelet attribute when the middle machine is installed. This allows the user to change the settings of the middlelet or the hardcoded settings of the virtual machine. That is, in the present invention described above, when a question for installing or executing a middlelet is asked to a virtual user through a parameter included in the middlelet, the user answers the middlelet by inputting corresponding parameter setting information. Install or execute the middlelet according to the user's parameter setting information.

예를 들어 미들렛에 포함된 미들렛의 속성값 중 화면 크기를 나타내는 MIDlet-fullsize-support 라는 파라미터가 YES라고 설정되어 있고, 기존 가상머신에는 상기 파라미터가 지정되어 있지 않은 경우, 가상머신은 표시부(130)에 MIDlet-fullsize-support라는 파라미터 설정화면을 출력한 후 사용자가 YES 또는 NO를 선택하게 함으로써 MIDlet-fullsize-support라는 파라미터를 사용자가 등록하고 설정할 수 있도록 한다. 그리고 사용자가 MIDlet-fullsize-support: no 라고 설정하면, 미들렛 실행시 가상머신은 미들렛으로부터 MIDlet-fullsize-support: YES 파라미터 설정 정보를 읽어 들인 후 사용자가 설정한 정보와 비교하여 FALSE라는 값을 미들렛에 반환하면 미들렛은 전체화면을 지원하지 않도록 설치되거나 실행된다.For example, if the parameter MIDlet-fullsize-support indicating the screen size is set to YES among the attribute values of the middlelet included in the middlelet, and the parameter is not specified in the existing virtual machine, the virtual machine may display the display unit ( After outputting the parameter setting screen named MIDlet-fullsize-support in 130), the user can select YES or NO so that the user can register and set the parameter MIDlet-fullsize-support. And if the user sets MIDlet-fullsize-support: no, the virtual machine reads the MIDlet-fullsize-support: YES parameter setting information from the middlelet and compares it with the information set by the user. When returned to the middlelet, the middlelet is installed or executed to not support fullscreen.

다른 예를 들면 미들렛에 포함된 파라미터 값 중 MIDlet-network-support 파라미터 값이 yes로 설정되어 있으나, 기존 가상머신에는 상기 파라미터가 지정되어 있지 않은 경우, 가상머신은 표시부(130)에 MIDlet-network-support라는 파라미터를 출력한 후 사용자가 YES 또는 NO를 선택하게 함으로써 MIDlet-network-support라는 파라미터를 사용자가 등록하고 설정할 수 있도록 한다. 상술한 과정에서 사용자에 의해 등록된 값이 MIDlet- network -support: no 이면, 미들렛에 의한 서비를 제공하는 업체에서 미들렛의 설치시 또는 실행시 위의 비교 값을 활용하여 상기 미들렛이 설치된 이동통신 단말기에서 실행되는 상기 미들렛에게는 네트워크 서비스를 지원하지 않도록 설정할 수도 있다.In another example, when the MIDlet-network-support parameter value is set to yes among the parameter values included in the middlelet, but the parameter is not specified in the existing virtual machine, the virtual machine is displayed on the display unit 130. Print the parameter -support and let the user select YES or NO to allow the user to register and set the parameter MIDlet-network-support. If the value registered by the user in the above-described process is MIDlet-network-support: no, the middlelet is installed by using the comparison value when the middlelet is installed or executed by the company providing the service by the middlelet. The middlelet executed in the mobile communication terminal may be set not to support a network service.

상술한 본원발명은 미들렛이 이동통신 단말기의 가상머신에서 인식할 수 없는 새로운 파라미터를 가지거나 기 설정된 값과는 다른 설정 값을 가지는 경우 사용자가 새로운 파라미터를 등록하거나 그 설정 값을 변경할 수 있도록 함으로써 별도의 가상머신의 업데이트 없이 새로운 파라미터를 가지는 미들렛을 설치할 수 있도록 한다.The present invention described above allows the user to register a new parameter or change the setting value when the middlelet has a new parameter that is not recognized by the virtual machine of the mobile communication terminal or has a setting value different from the preset value. This allows you to install a middlelet with new parameters without updating the virtual machine.

따라서, 상술한 본원발명은 종래기술에서 새로운 버젼의 미들렛이 제공되는 경우에 가상머신을 업데이트 해야 하는 불편함을 해소한다.Therefore, the present invention described above solves the inconvenience of updating the virtual machine when a new version of the middlelet is provided in the prior art.

Claims (9)

자바프로그램 실행 기능을 가지는 이동통신 단말기에 있어서,In the mobile communication terminal having a Java program execution function, 상기 자바프로그램의 실행 또는 설치시 사용자가 상기 자바프로그램의 파라미터를 등록하거나 그 설정 값을 변경할 수 있도록 하는 사용자 화면을 생성하여 출력하는 가상머신을 탑재한 자바실행부와;A Java execution unit equipped with a virtual machine that generates and outputs a user screen for allowing a user to register a parameter of the Java program or change its setting value when executing or installing the Java program; 상기 자바실행부에서 출력된 상기 사용자 화면을 출력하는 표시부와;A display unit for outputting the user screen output from the Java execution unit; 상기 표시부에 출력된 사용자 화면을 이용하여 사용자가 파라미터 설정 정보를 입력할 수 있도록 하는 키입력부를 포함하여 구성되는 것을 특징으로 하는 자바프로그램 파라미터 설정 기능을 가지는 이동통신 단말기.And a key input unit configured to allow a user to input parameter setting information by using a user screen output on the display unit. 제 1항에 있어서, 상기 자바프로그램은 미들렛(MIDLet)으로 제작되는 것을 특징으로 하는 자바프로그램 파라미터 설정 기능을 가지는 이동통신 단말기.The mobile communication terminal of claim 1, wherein the Java program is manufactured as a middlelet. 제 1항에 있어서, 상기 파라미터는 미들렛 속성 파라미터인 것을 특징으로 하는 자바프로그램 파라미터 설정 기능을 가지는 이동통신 단말기.The mobile communication terminal of claim 1, wherein the parameter is a middlelet attribute parameter. 제 1항에 있어서, 상기 가상머신(virtual machine)은 JVM(JAVA virtual machine) 또는 KVM(kilo virtual machine) 중 어느 하나인 것을 특징으로 하는 자바프로그램 파라미터 설정 기능을 가지는 이동통신 단말기.The mobile communication terminal of claim 1, wherein the virtual machine is any one of a Java virtual machine (JVM) or a kilo virtual machine (KVM). 가상머신에 의해 구동되는 자바프로그램으로부터 새로 추가된 파라미터가 있는 지를 검색하는 파라미터검색과정과;A parameter retrieval process for retrieving whether there are newly added parameters from a Java program driven by the virtual machine; 상기 파라미터검색과정에서 새로운 파라미터가 검색된 경우 사용자로부터 해당 파라미터 정보를 입력받아서 파라미터 정보를 설정하는 파라미터설정과정과;A parameter setting process of setting parameter information by receiving corresponding parameter information from a user when a new parameter is found in the parameter searching process; 상기 파라미터 설정 과정에서 입력된 파라미터 정보를 저장하는 파라미터정보저장과정을 포함하여 이루어지는 것을 특징으로 하는 자바프로그램 파라미터 설정 방법.And a parameter information storing step of storing the parameter information input in the parameter setting step. 제 5항에 있어서, 상기 파라미터정보저장과정 이후에,The method of claim 5, wherein after the storing of the parameter information, 상기 자바프로그램으로부터 파라미터 설정 값을 전송받는 파라미터 값 수신 과정과;A parameter value receiving step of receiving a parameter setting value from the Java program; 상기 파라미터 값 수신과정에 의해 수신된 파라미터와 파라미터정보저장과정에 의해 저장된 파라미터 값 또는 기 설정된 파라미터 값과 비교하는 파라미터 값 비교과정과;A parameter value comparing step of comparing the parameter received by the parameter value receiving step with a parameter value stored by the parameter information storing step or a preset parameter value; 상기 파라미터 값 비교 과정의 판단 결과에 따라 상기 자바프로그램의 설치 또는 실행을 수행하는 자바프로그램 설치 및 실행 과정을 더 포함하여 이루어지는 것을 특징으로 하는 자바프로그램 파라미터 설정 방법.Java program parameter setting method further comprises the step of installing and executing a Java program for performing the installation or execution of the Java program according to the determination result of the parameter value comparison process. 제 5항 또는 제 6항 중 어느 한 항에 있어서, 상기 자바프로그램은 미들렛 (MIDLet)으로 제작되어 JAD(JAVA application descriptor) 또는 JAR(JAVA archive) 파일 포맷으로 제공되는 것을 특징으로 하는 자바프로그램 파라미터 설정 방법.The Java program parameter according to any one of claims 5 to 6, wherein the Java program is produced in a middlelet (MIDLet) and provided in a JAVA (JAVA application descriptor) or JAR (JAVA archive) file format. How to set up. 제 5항 또는 제 6항 중 어느 한 항에 있어서, 상기 파라미터는 미들렛 속성 파라미터인 것을 특징으로 하는 자바프로그램 파라미터 설정 방법.7. The method according to any one of claims 5 and 6, wherein the parameter is a middlelet attribute parameter. 제 5항 또는 제 6항 중 어느 한 항에 있어서, 상기 가상머신(virtual machine)은 JVM(JAVA virtual machine) 또는 KVM(kilo virtual machine) 중 어느 하나인 것을 특징으로 하는 자바프로그램 파라미터 설정 방법.The method of claim 5, wherein the virtual machine is any one of a Java virtual machine (JVM) or a kilo virtual machine (KVM).
KR1020050077756A 2005-08-24 2005-08-24 JAVA program parameter setting method and a mobile communication terminal having said function KR100711717B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050077756A KR100711717B1 (en) 2005-08-24 2005-08-24 JAVA program parameter setting method and a mobile communication terminal having said function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050077756A KR100711717B1 (en) 2005-08-24 2005-08-24 JAVA program parameter setting method and a mobile communication terminal having said function

Publications (2)

Publication Number Publication Date
KR20070023301A KR20070023301A (en) 2007-02-28
KR100711717B1 true KR100711717B1 (en) 2007-04-25

Family

ID=41636078

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050077756A KR100711717B1 (en) 2005-08-24 2005-08-24 JAVA program parameter setting method and a mobile communication terminal having said function

Country Status (1)

Country Link
KR (1) KR100711717B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209670A (en) * 2015-02-13 2017-09-26 华为技术有限公司 A kind of collocation method, device and the terminal of application attribute parameter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020005126A (en) * 2000-07-08 2002-01-17 남용 Java program executing method using a mobile phone and system for performing the same
KR20030004928A (en) * 2001-07-07 2003-01-15 삼성전자 주식회사 Method for executing Java Application Midlet using Communication among Java Applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020005126A (en) * 2000-07-08 2002-01-17 남용 Java program executing method using a mobile phone and system for performing the same
KR20030004928A (en) * 2001-07-07 2003-01-15 삼성전자 주식회사 Method for executing Java Application Midlet using Communication among Java Applications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209670A (en) * 2015-02-13 2017-09-26 华为技术有限公司 A kind of collocation method, device and the terminal of application attribute parameter

Also Published As

Publication number Publication date
KR20070023301A (en) 2007-02-28

Similar Documents

Publication Publication Date Title
KR101253792B1 (en) A method of automatically building a customised software application for a specific type of wireless computing device
US8272030B1 (en) Dynamic security management for mobile communications device
US7471947B1 (en) Method and system for accessing a universal message handler on a mobile device
EP1821215B1 (en) Parameter setting and storage method
US20070283280A1 (en) Virtual File System
KR20030043969A (en) Web server
US8990929B2 (en) Auditing application activities
US20070246483A1 (en) Apparatus and Method for Extruding a Product
KR20040089686A (en) Method and communication terminal for handling payment of downloadable content
KR20070008619A (en) Execution of unverified programs in a wireless device operating environment
KR100378565B1 (en) Mobile phone loading java platform program module providing dynamic surroundings
CN101431755B (en) System and method for implementing user login
US20070156841A1 (en) Platform independent user interface for a mobile device
US7580703B1 (en) Provisioning to CDC devices
KR100711717B1 (en) JAVA program parameter setting method and a mobile communication terminal having said function
CN1326420C (en) Communicaton apparatus and program
KR20060081159A (en) Method and system for managing terminal data of mobile terminal
US20060161839A1 (en) Method for obtaining communication settings using an application descriptor
EP1235145A2 (en) Information terminal device and program executed thereon
CA2595661C (en) Auditing software application activities
JP2006259849A (en) Portable terminal device
KR101048260B1 (en) Character input interface selection method of mobile communication terminal
KR20050090859A (en) Controlling apparatus and method of java application loaded mobile communication terminal
US20030036811A1 (en) Operating system and method for updating a software functional interface at any time
KR20240035049A (en) Smart flatform apparatus, system and method for integrating management system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment
FPAY Annual fee payment

Payment date: 20140414

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20160324

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170324

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee