KR20070019606A - Terminal control method, terminal apparatus and program - Google Patents

Terminal control method, terminal apparatus and program Download PDF

Info

Publication number
KR20070019606A
KR20070019606A KR1020060076112A KR20060076112A KR20070019606A KR 20070019606 A KR20070019606 A KR 20070019606A KR 1020060076112 A KR1020060076112 A KR 1020060076112A KR 20060076112 A KR20060076112 A KR 20060076112A KR 20070019606 A KR20070019606 A KR 20070019606A
Authority
KR
South Korea
Prior art keywords
application
application program
program
terminal
service definition
Prior art date
Application number
KR1020060076112A
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 KR1020060076112A priority Critical patent/KR20070019606A/en
Publication of KR20070019606A publication Critical patent/KR20070019606A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/14Delay circuits; Timers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/10Details of telephonic subscriber devices including a GPS signal receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

본 발명은 단말기의 기능 추가가 효율적으로 이루어지도록 하는 것을 과제로 한다.An object of the present invention is to efficiently add a function of a terminal.

본 발명은, 단말기가 구비하는 디바이스를 이용하여 실행하는 디바이스 처리부(100과)와, 단말기에 인스톨된 응용 프로그램(310, 320, 330)과, 응용 프로그램을 실행할 때의 사용자 설정을 저장하는 서비스 정의 파일(312, 322, 332)과, 디바이스 처리를 판단하여 서비스 정의 파일에서 정의된 사용자 설정 조건에 해당하는 항목이 디바이스 처리로 실행되었는지를 판단하고, 해당 항목이 실행된 경우에, 응용 프로그램에 대해서 정의된 처리를 실행하는 브로커(210, broker)를 가지도록 구성되어 있다.The present invention provides a service definition for storing a device processing unit (100) executed using a device included in a terminal, application programs (310, 320, 330) installed in the terminal, and user settings when executing the application program. The file 312, 322, 332 and the device processing are judged to determine whether an item corresponding to the user setting condition defined in the service definition file is executed by the device processing, and when the item is executed, the application program is executed. It is configured to have a broker (210, broker) that executes the defined processing.

단말기, 기능 추가, 프로그램, 응용 프로그램, 디바이스, 브로커, 직렬화, 역직렬화 Terminal, Add Function, Program, Application, Device, Broker, Serialization, Deserialization

Description

단말기 제어 방법, 단말기 장치 및 프로그램{TERMINAL CONTROL METHOD, TERMINAL APPARATUS AND PROGRAM}Terminal control method, terminal device and program {TERMINAL CONTROL METHOD, TERMINAL APPARATUS AND PROGRAM}

도 1은 본 발명의 일실시예에 따른 단말기의 예를 나타낸 블록도이다.1 is a block diagram illustrating an example of a terminal according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따른 런쳐 프레임워크 컴퍼넌트(launcher framework component)의 예를 나타낸 구성도이다.2 is a diagram illustrating an example of a launcher framework component according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 설정 화면의 예를 나타낸 설명도이다.3 is an explanatory diagram showing an example of a setting screen according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 조건 접속의 예를 나타낸 설명도이다.4 is an explanatory diagram showing an example of conditional connection according to an embodiment of the present invention.

도 5는 본 발명의 일실시예에 따른 브로커의 처리예를 나타낸 설명도이다.5 is an explanatory diagram showing an example of processing of a broker according to an embodiment of the present invention.

도 6은 본 발명의 일실시예에 따른 브로커의 동작예를 나타낸 흐름도이다.6 is a flowchart illustrating an operation of a broker according to an embodiment of the present invention.

도 7은 본 발명의 일실시예에 따른 인터럽(interrupt) 통지와 직렬화(serialization) 변환의 예를 나타낸 블록도이다.7 is a block diagram illustrating an example of an interrupt notification and serialization conversion according to an embodiment of the present invention.

도 8은 본 발명의 일실시예에 따른 조건 설정예를 나타낸 설명도이다.8 is an explanatory diagram showing an example of setting conditions according to an embodiment of the present invention.

도 9는 본 발명의 일실시예에 따른 사용자 조건 입력예를 나타낸 설명도이다.9 is an explanatory diagram showing an example of a user condition input according to an embodiment of the present invention.

도 10은 본 발명의 일실시예에 따른 조건 판정 인터페이스의 예를 나타낸 설명도이다.10 is an explanatory diagram showing an example of a condition determination interface according to an embodiment of the present invention.

도 11은 본 발명의 일실시예에 따른 역직렬화(de-serialization) 인터페이스 의 예를 나타낸 설명도이다.11 is an explanatory diagram showing an example of a de-serialization interface according to an embodiment of the present invention.

도 12는 본 발명의 일실시예에 따른 런쳐 코어 프레임워크(launcher core framework)와 지역 정보의 다운로드의 예를 나타낸 설명도이다.12 is an explanatory diagram showing an example of downloading a launcher core framework and region information according to an embodiment of the present invention.

도 13은 본 발명의 일실시예에 따른 매너 모드 설정예를 나타낸 흐름도이다.13 is a flowchart illustrating a manner mode setting example according to an embodiment of the present invention.

도 14는 본 발명의 일실시예에 따른 매너 모드 해제예를 나타낸 흐름도이다.14 is a flowchart illustrating an example of silent mode release according to an embodiment of the present invention.

[부호의 설명][Description of the code]

11: 안테나 12: 무선 통신 처리부11: antenna 12: wireless communication processing unit

13: 데이터 처리부 14: 음성 처리부13: data processor 14: voice processor

15: 스피커 16: 마이크로폰15: Speaker 16: Microphone

21: 제어부 22: 표시부21: control unit 22: display unit

23: 조작부 24: 메모리23: control panel 24: memory

25: GPS 처리부 27: 비접촉 IC 카드부25: GPS processing unit 27: non-contact IC card unit

100: 디바이스 응용 프로그램 110: GPS 디바이스 응용 프로그램100: device application 110: GPS device application

120: 타이머 응용 프로그램 130: 비접촉 IC 카드 응용 프로그램120: timer application 130: contactless IC card application

200: 런쳐 프레임워크 코어 210: 브로커200: launcher framework core 210: broker

220: 설정 응용 프로그램 310: 제1 응용 프로그램220: setting application 310: first application

311: 매너 모드 설정 응용 프로그램311: Silent Mode Settings Application

312: 매너 모드 설정 응용 프로그램 서비스 정의 파일312: Silent Mode Settings Application Service Definition File

320: 제2 응용 프로그램 321: 벽지 응용 프로그램320: second application 321: wallpaper application

322: 벽지 응용 프로그램 서비스 정의 파일322: Wallpaper application service definition file

330: 제3 응용 프로그램 331: 브라우저 응용 프로그램330: third application 331: browser application

332: 브라우저 응용 프로그램 서비스 정의 파일 332: Browser application service definition file

특허 문헌 1: 일본국 특개 2004-312619호 공보Patent Document 1: Japanese Patent Application Laid-Open No. 2004-312619

본 발명은, 예를 들면 휴대 전화 단말기 등의 정보 처리 단말기에 적합한 단말기 제어 방법 및 그 제어를 적용한 단말기 장치, 및 그 제어를 실행하는 프로그램에 관한 것이다.The present invention relates to, for example, a terminal control method suitable for an information processing terminal such as a cellular phone terminal, a terminal device to which the control is applied, and a program for executing the control.

종래의 휴대 전화 단말기 등의 정보 처리 단말기에서는, 단말기의 설정을 사용자가 지정한 타이밍에서 자동적으로 행하도록 한 것이 있다. 예를 들면, 간단한 예로서는, 사용자가 지정한 시각이 되면, 자동적으로 타이머가 작동하여, 호출 음이 울리도록 할 수 있다.In a conventional information processing terminal such as a cellular phone terminal, some terminal settings are automatically made at a timing specified by a user. For example, as a simple example, a timer may be automatically activated when a user-specified time arrives so that a ring tone sounds.

이와 같은 사용자의 설정에 의해 작동하는 기능은, 휴대 전화 단말기에 미리 내장된 응용 프로그램에 의하여 실현되는 것이다.The function operated by such user's setting is realized by an application program built in the cellular phone terminal.

특허 문헌 1에는, 사용자 설정으로 각종 기능을 실현할 수 있는 휴대 단말기의 예가 기재되어 있다.Patent Document 1 describes an example of a portable terminal capable of realizing various functions by user setting.

그런데, 전술한 사용자 설정에 기초하여 자동적으로 행해지는 기능은, 단 말기 내에 미리 설정된 임계값을 사용하여, 시각의 도래 등을 판단하도록 되어 있어, 설정할 수 있는 항목도 한정되어 있어 나중에 기능을 추가하는 것은 곤란하였다. 즉, 예를 들면 사용자가 지정한 시각이 되면 자동적으로 타이머를 작동시키는 예의 경우, 「지정한 시각에 음을 울린다」라는 행위는, 「지정한 시각」이라는 조건 이외의 조건으로 변경할 수 없다. 또한, 조건을 복수개 추가하기 위해서는, 단말기 내의 설정 응용 프로그램을 수정할 필요가 있지만, 이와 같이 수정하는 것은 일반적으로 곤란하다.  By the way, the function performed automatically based on the user setting described above is to determine the arrival of the time, etc. using a threshold value preset in the terminal, and the items that can be set are also limited. It was difficult. That is, for example, in the case of an example in which the timer is automatically started when the time specified by the user is reached, the action of "sounding at the designated time" cannot be changed under conditions other than the condition of "the specified time". In order to add a plurality of conditions, it is necessary to modify the setting application program in the terminal, but it is generally difficult to correct this.

종래의 휴대 전화기와 같은 단말기에서는, 정해진 설정 항목에서, 설정 가능한 값을 사용자에 선택하였다. 그러므로, 다운로드 등으로 추가한 응용 프로그램에 어떤 조건을 설정하거나, 설정 항목을 다운로드한 응용 프로그램에 전달할 수 없었다. 예를 들면, 음악 재생용의 응용 프로그램에 재생 메시지를 건네주는 경우, 재생하는 파일을 건네주어, 매너 모드의 온/오프에 따라 정보를 건네주는 것이 가능하게 하는 등의 설정 항목을 나중에 추가하거나 수정하기가 곤란하였다.In a terminal such as a conventional cellular phone, a settable value is selected by a user in a predetermined setting item. Therefore, it was not possible to set a condition on an application added by downloading or the like, or to transfer the setting item to the downloaded application. For example, if you pass a playback message to an application for music playback, you can add or modify a setting item later, such as passing a file to play back and passing information along on or off in silent mode. It was difficult to do it.

본 발명은 이러한 점을 감안하여 이루어진 것이며, 단말기의 기능 추가가 효과적으로 이루어지도록 하는 것을 목적으로 한다.The present invention has been made in view of this point, and an object thereof is to effectively add a function of a terminal.

본 발명은, 단말기가 구비하는 디바이스를 이용하여 실행하는 디바이스 처리와, 단말기에 인스톨된 응용 프로그램과, 응용 프로그램을 실행할 때의 사용자 설정을 저장하는 서비스 정의 파일과, 디바이스 처리를 판단하여 서비스 정의 파일로 정의된 사용자 설정 조건에 해당하는 항목이 디바이스 처리로 실행되었는지를 판단 하여, 해당 항목이 실행된 경우에, 응용 프로그램에 대해서 정의된 처리를 실행하는 브로커(broker)를 가지도록 구성한 것이다.The present invention provides a service definition file in which device processing executed using a device provided in a terminal, an application program installed in the terminal, a service definition file storing user settings when executing the application program, and a device process are determined. It is configured to determine whether an item corresponding to the user setting condition defined as is executed by device processing, and when the item is executed, to have a broker that executes the defined process for the application program.

이와 같이 하면, 예를 들면 브로커는, 디바이스 처리를 행하는 응용 프로그램으로부터의 인터럽이 있었을 경우에, 서비스 정의 파일로 정의된 사용자 설정 조건에 해당하는 항목에 들어맞는지의 여부를 판단하고, 들어맞을 경우에, 정의된 응용 프로그램이 실행되게 된다.In this way, for example, when there is an interrupt from an application program that performs device processing, the broker determines whether or not an item corresponding to the user setting condition defined in the service definition file is satisfied. At this point, the defined application program is executed.

이하, 본 발명의 일실시예를, 첨부 도면을 참조하여 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, one Embodiment of this invention is described with reference to an accompanying drawing.

도 1은, 본 실시예의 처리를 행하는 휴대 전화 단말기 장치의 구성예를 나타낸 도면이다. 도 1에 따라서 구성을 설명하면, 안테나(11)가 접속된 무선 통신 처리부(12)에서는, 기지국 등의 사이에서의 무선 송신 및 수신을 행한다. 수신된 신호는, 데이터 처리부(13)에 송신되어, 필요한 데이터의 취출 처리가 행해지고, 음성 데이터 수신 시에는, 수신된 상기 음성 데이터를 음성 처리부(14)에 공급하여 음성 데이터 처리를 행하고, 처리된 음성 신호를 스피커(16)로부터 출력시킨다. 또한, 마이크로폰(16)이 모은 음성 신호를 음성 처리부(14)에 공급하여, 전송용의 음성 데이터로 하는 처리를 행하고, 처리된 음성 데이터를 데이터 처리부(13)에 송신하여, 송신용의 데이터를 구성한다. 데이터 처리부(13)에서 생성된 송신 데이터는, 무선 통신 처리부(12)에서 무선 송신 처리가 행해지고, 안테나(11)로부터 무선 송신된다.Fig. 1 is a diagram showing an example of the configuration of a portable telephone terminal device which performs the processing of the present embodiment. Referring to FIG. 1, the radio communication processing unit 12 to which the antenna 11 is connected performs radio transmission and reception between base stations and the like. The received signal is transmitted to the data processing unit 13, and processing for taking out necessary data is performed. When receiving the voice data, the received voice data is supplied to the voice processing unit 14 to perform voice data processing. The audio signal is output from the speaker 16. In addition, the voice signal collected by the microphone 16 is supplied to the voice processing unit 14 to perform the processing of the voice data for transmission, and the processed voice data is transmitted to the data processing unit 13 to transmit the data for transmission. Configure. The transmission data generated by the data processing unit 13 is subjected to wireless transmission processing in the wireless communication processing unit 12 and wirelessly transmitted from the antenna 11.

상기 단말기 장치에서 인터넷으로 액세스하거나 전자 메일 데이터의 송수신 등의 데이터의 송수신을 행하기 위해서는, 데이터 처리부(13)에서 수신한 데이터가 제어부(21) 측에 송신되며, 메모리(24)에 축적되고, 송신 데이터에 대해서는, 메모리(24)로부터 데이터 처리부(13)에 보내져서 송신 처리된다. 메모리(24)에 축적된 메일 데이터나 브라우저 열람용의 데이터에 기초하여, 표시부(22)에서 대응하는 표시를 행한다. 또한, 사용자가 조작하는 조작 키 등으로 구성되는 조작부(23)를 구비하고, 제어부(21)가 조작 상태를 판단하여, 조작에 대응한 동작 상태나 동작 모드를 설정하도록 구성되어 있다.In order to transmit and receive data such as transmission and reception of electronic mail data or the like from the terminal device, the data received from the data processing unit 13 is transmitted to the control unit 21 side, and stored in the memory 24, About transmission data, it is sent from the memory 24 to the data processing part 13, and a transmission process is carried out. Based on the mail data accumulated in the memory 24 and the data for browsing the browser, the display unit 22 performs a corresponding display. Moreover, it is equipped with the operation part 23 comprised from operation keys etc. which a user operates, and the control part 21 determines an operation state, and is comprised so that the operation state or operation mode corresponding to an operation may be set.

또 본 실시예의 단말기 장치는, GPS(Global Positioning System) 처리부(25)를 구비하고, GPS 안테나(26)에서 수신한 측위용 위성으로부터의 신호에 기초하여, 단말기 장치의 현재 위치를 측위할 수 있도록 구성되어 있다. 측위된 위치 정보는, 제어부(21) 측에서 판단한다.In addition, the terminal device of the present embodiment includes a GPS (Global Positioning System) processing unit 25, and is capable of positioning the current position of the terminal device based on a signal from the positioning satellite received by the GPS antenna 26. Consists of. The positioning position information is determined by the control unit 21 side.

또한 본 실시예의 단말기 장치는, 비접촉 IC 카드부(27)을 구비하여, 근접한 리더·라이터 사이에서 인증용의 무선 통신을 행하여, 개인 인증이나 과금 처리 등을 행하도록 구성되어 있다. 상기 비접촉 IC 카드부(27)에서의 처리 상태에 대하여도, 제어부(21)가 감시하여, 인증 상태 등을 표시할 수 있도록 구성되어 있다.In addition, the terminal apparatus of this embodiment is provided with a non-contact IC card unit 27, and is configured to perform wireless communication for authentication between adjacent readers and writers, and to perform personal authentication, billing processing, and the like. The control unit 21 also monitors the processing state in the non-contact IC card unit 27 and is configured to display an authentication state or the like.

다음에, 본 실시예의 휴대 전화 단말기 장치에 준비된 각 기능을 동작시키는 소프트웨어를 실행시키는 구성을, 도 2를 참조하여 설명한다. 도 2는, 본 실시예의 런쳐 프레임워크 컴퍼넌트를 나타낸 도면이다. 상기 런쳐 프레임워크 컴퍼넌트는, 도 1에 나타낸 메모리(24)가 기억한 프로그램의 제어부(21)에서의 실행에 의하여 구성되는 컴퍼넌트이다. 도 2에서는, 단말기 장치가 구비하는 각 기능을 실행하는 디바이스는, 디바이스 응용 프로그램(100)으로서 나타낸다. 여기서는, 디바 이스 응용 프로그램(100)으로서 GPS 디바이스 응용 프로그램(110), 타이머 응용 프로그램(120) 및 비접촉 IC 카드 응용 프로그램(130)을 구비한다. 각각의 응용 프로그램(110, 120, 130)은, 센싱 인터페이스(111, 121, 131)에 의해, 런쳐 프레임워크 코어(200)의 브로커(210)와 접속된다.Next, a configuration for executing software for operating each function prepared in the mobile phone terminal apparatus of the present embodiment will be described with reference to FIG. 2 is a diagram showing a launcher framework component of the present embodiment. The launcher framework component is a component configured by execution in the control unit 21 of a program stored in the memory 24 shown in FIG. In FIG. 2, a device that executes each function included in the terminal device is shown as the device application program 100. Here, the device application program 100 includes a GPS device application program 110, a timer application program 120, and a non-contact IC card application program 130. Each application program 110, 120, 130 is connected to a broker 210 of the launcher framework core 200 by the sensing interfaces 111, 121, 131.

런쳐 프레임워크 코어(200)에서는, 브로커(210)가 응용 프로그램 인터페이스(221)을 통하여 설정 응용 프로그램(220)과 통신을 행한다. 브로커(210)는, 이 단말기에 설정된 응용 프로그램의 실행을 제어한다. 여기서는, 응용 프로그램으로서 제1 응용 프로그램(310), 제2 응용 프로그램(320) 및 제3 응용 프로그램(330)을 구비한다.In the launcher framework core 200, the broker 210 communicates with the setting application 220 through the application program interface 221. The broker 210 controls the execution of the application program set in this terminal. Here, the application program includes a first application 310, a second application 320, and a third application 330.

제1 응용 프로그램(310)은, 매너 모드 설정 응용 프로그램(311)을 구비하고, 매너 모드 설정 응용 프로그램 서비스 정의 파일(312)을 가진다. 제2 응용 프로그램(320)은, 벽지 응용 프로그램(321)을 구비하고, 벽지 응용 프로그램 서비스 정의 파일(322)을 가진다. 제3 응용 프로그램(330)은, 브라우저 응용 프로그램(331)을 구비하고, 브라우저 응용 프로그램 서비스 정의 파일(332)을 가진다. 각 응용 프로그램(311, 321, 331)은, 런쳐 인터페이스(313, 323, 333)를 통하여 브로커(210)와 접속하고 있다. 런쳐 인터페이스(313, 323,333)는, 본 실시예의 경우, 직렬화된 형식의 데이터를 수신한 경우에, 원래 형식의 데이터로 변환하여, 응용 프로그램에 전달한다.The first application program 310 includes a manner mode setting application program 311, and has a manner mode setting application service definition file 312. The second application program 320 includes a wallpaper application 321 and has a wallpaper application service definition file 322. The third application 330 includes a browser application 331 and has a browser application service definition file 332. Each application program 311, 321, 331 is connected to the broker 210 via the launcher interface 313, 323, 333. The launcher interfaces 313, 323, and 333, in the case of receiving the serialized format data in the present embodiment, convert the data into the original format data and deliver it to the application program.

각 설정 응용 프로그램(311, 321, 331)은 각 응용 프로그램의 서비스 정의 파일(312, 322, 332)를 읽어들여, 사용자에게 디바이스와 상기 디바이스의 동작의 조건이 들어맞을 경우에 어떠한 행동을 할 것인지를 사용자에 선택하게 한다.Each setting application (311, 321, 331) reads the service definition files (312, 322, 332) of each application to determine what to do if the user meets the conditions of the device and the operation of the device. To select the user.

브로커(210)에서는, 사용자가 설정한 조건에 들어맞는 항목이 있는지의 여부를 디바이스 응용 프로그램으로부터의 인터럽이 있을 때마다 체크하고, 들어맞는 항목이 있을 경우, 설정된 응용 프로그램을 호출하고, 정의된 메시지를 통지한다.The broker 210 checks each time there is an interrupt from the device application whether there is an item that meets the conditions set by the user, and if there is an item that is matched, calls the set application and defines Notify the message.

예를 들면, 역에 도착했을 때에 매너 모드로 설정하는 응용 프로그램이 있다고 하고, 그것과 GPS 디바이스 응용 프로그램을 접속하는 경우의 예를 들면, 센서로서 GPS 디바이스 응용 프로그램(110)이 접속되고, 응용 프로그램에는 매너 모드 설정 응용 프로그램이 접속된다. 매너 모드 설정 응용 프로그램의 서비스 정의 파일은 하기와 같은 항목으로 되어 있다고 가정한다.For example, suppose that there is an application program to set to silent mode when arriving at a station, and the GPS device application program 110 is connected as a sensor, for example, when connecting it to a GPS device application program. The manner mode setting application is connected. It is assumed that the service definition file of the silent mode setting application includes the following items.

<서비스><Service>

<이름> 매너 모드 설정</이름><Name> silent mode setting </ name>

<파라미터 type = “ON/OFF”name = “Switch”/><Parameter type = “ON / OFF” name = “Switch” />

<기동 타입 type = “HOGEHOGE”/> <Start type type = “HOGEHOGE” />

</서비스>    </ Service>

이 예에서는, 서비스는 「매너 모드 설정」이라는 서비스 하나가 정의되어 있고, 파라미터로서 온/오프를 선택할 수 있는 타입의 항목이다.In this example, the service is an item of a type in which one service called "manner mode setting" is defined and the on / off can be selected as a parameter.

매너 모드 설정 응용 프로그램은 브로커로부터 런쳐 인터페이스를 통해서 호출된다. 런쳐 l/F에서는 서비스 정의 파일에 따라 사용자가 지정한 값을 취득할 수 있다. 상기에서는 매너 모드의 온/오프를 지정하므로“Switch”라는 이름의 프로퍼티를 취득하고, 온일 경우에는 매너 모드를 온으로 하고, 이벤트를 종료한다.The silent mode configuration application is called from the broker through the launcher interface. In Launcher l / F, the user-specified value can be obtained according to the service definition file. Since the silent mode is specified on / off, the property named "Switch" is acquired. When the mode is on, the silent mode is turned on and the event is terminated.

전술한 서비스 정의 파일은, 응용 프로그램이 기동·설정시킬 수 있는 서비스를 기술한 것이다. 이하, 상기 서비스 정의 파일에 대하여 설명하면, 본 실시예의 서비스 정의 파일은 별도 파일로 되어 있고, 범용성을 가지는 언어로 기술되어 있다. 그러므로, 내장 응용 프로그램 뿐만 아니라, 다운로드하여 나중에 추가한 응용 프로그램에도 대응할 수 있다. 서비스 정의 파일은 런쳐의 설정 응용 프로그램으로부터 읽어들여 사용자에게 선택 사항을 제공하게 된다.The service definition file described above describes a service that can be started and set by an application program. Hereinafter, the service definition file will be described. The service definition file of this embodiment is a separate file and is described in a language having general purpose. Therefore, not only the built-in application program but also the application program downloaded and added later can be supported. The service definition file is read from the launcher's configuration application to provide the user with options.

서비스 정의 파일의 구조로서는, 예를 들면 범용 메타 기술 언어로 기술되어 있는 이하와 같은 파일이다.The structure of the service definition file is, for example, the following file described in a general-purpose meta description language.

<서비스><Service>

<이름> 매너 모드 설정</이름><Name> silent mode setting </ name>

<파라미터 type = “ON/OFF”name = “Switch”/><Parameter type = “ON / OFF” name = “Switch” />

<기동 타입 type = “HOGEHOGE”/> <Start type type = “HOGEHOGE” />

</서비스>    </ Service>

여기서는 하나의 서비스에 대해서, 이름과 파라미터가 지정되어 있다. 또한 선택할 수 있는 기동 타입에는 HOGEHOGE가 설정되어 있다.Here, a name and parameters are specified for one service. In addition, HOGEHOGE is set as a selectable start type.

파라미터는 사용자가 입력하는 항목을 나타낸다. 입력의 종류는 [type]로 나타내고, 미리 준비된 프리미티브형과 디바이스마다 정의하는 오리지널형의 경우는 디바이스 응용 프로그램을 경유하여 설정할 수 있고, 이벤트에 따라서 응용 프로그램에 메시지를 송신할 때에 동시에 송신된다. 본 실시예의 경우, 하나의 응용 프로그램이 복수개의 서비스를 제공하는 것도 가능하며, 복수개의 파라미터를 지정 할 수도 있다.The parameter indicates an item input by the user. The type of input is represented by [type], and the primitive type prepared in advance and the original type defined for each device can be set via the device application program, and are simultaneously transmitted when sending a message to the application program according to an event. In the present embodiment, one application program may provide a plurality of services, and a plurality of parameters may be designated.

응용 프로그램에 전달되는 파라미터는, 프리미티브형과 오리지널형의 2종류로 구별된다. 프리미티브형은 런쳐에 처음부터 내장된 형이다. 예를 들면 온/오프, 텍스트, 수치, URL, 파일 선택, 리스트, 시간 등의 형이 준비되어 있다. 온/오프의 경우는 입력 박스가 온과 오프의 항목이 되고, 사용자는 온 또는 오프의 어느 한쪽을 선택하게 된다. 텍스트의 경우는 텍스트 입력 상태가 되어, 텍스트를 설정하는 것이 가능하다.There are two types of parameters passed to the application: primitive types and original types. Primitive types are built into the launcher from scratch. For example, types such as on / off, text, numeric value, URL, file selection, list, and time are prepared. In the case of on / off, the input box becomes an item of on and off, and the user selects either on or off. In the case of text, it becomes a text input state and can set text.

오리지널형으로서는, 사용자로부터의 입력 이외의 복잡한 형이나, 디바이스 의존형을 지정할 수 있는 것이다. 예를 들면, GPS로부터 취득한 현재 위치나, 비접촉 IC 응용 프로그램으로부터 입력된 2진 데이터 등을 나타낼 수가 있다. 이들은 각 디바이스 응용 프로그램이 2진수로 직렬화시키고, 핸들링된 응용 프로그램이 역직렬화시킴으로써 데이터를 받아서 전달하는 것이 가능하게 된다. The original type can be a complex type other than input from a user or a device dependent type. For example, the current position acquired from the GPS, the binary data input from the non-contact IC application program, or the like can be displayed. They allow each device application to serialize in binary, and the handled application to deserialize and receive data.

오리지널형은 디바이스 응용 프로그램을 호출하여 사용자에게 설정시키거나, 이벤트 발생 시에 디바이스 응용 프로그램으로부터 값을 취득할 수도 있다. GPS의 경우, 이벤트 설정 시에 사용자에게 지도로부터 위치를 선택하게 하는 것도 가능하며, 이벤트 발생 시에 현재 위치를 송신시키는 것도 가능하다. The original type may be set to a user by calling a device application program, or may obtain a value from the device application program when an event occurs. In the case of GPS, it is possible to allow a user to select a location from a map when setting an event, and to transmit a current location when an event occurs.

이벤트 발생 시에는 브로커가 타입 명과 매핑하고 있는 디바이스 응용 프로그램을 호출하여 값을 취득한다. 예를 들면“LAST-GPS-LOCATION”과 같은 타입을 지정하여 두면, 매핑된 GPS 응용 프로그램을 호출하고, 마지막에 취득한 위치 정보를 되돌려준다.When an event occurs, the broker calls a device application program that maps a type name to a value. For example, if a type such as “LAST-GPS-LOCATION” is specified, the mapped GPS application is called and the last acquired position information is returned.

데이터는 센싱 인터페이스(111, 121, 131) (도 2)를 통해서 2진수로 직력화되어, 응용 프로그램에 이벤트와 동시에 송신된다.The data is serialized in binary through the sensing interfaces 111, 121, 131 (FIG. 2) and transmitted simultaneously with the event to the application.

프리미티브형과 달리, 오리지널형은 2진수이므로, 각 디바이스 응용 프로그램, 또는 응용 프로그램의 사양을 원래대로 역직렬화하여 각 응용 프로그램에서 사용된다.Unlike the primitive type, since the original type is binary, it is used in each application by deserializing the specification of each device application or application.

응용 프로그램의 단말기로 인스톨할 때는, 서비스 정의 파일을 전개한다. 응용 프로그램은 단독으로 동작하는 것이 가능하지만, 전개된 서비스는 런쳐코어의 프레임워크로부터 기동·호출을 할 수 있게 된다.When installing on the terminal of the application program, the service definition file is developed. Applications can run independently, but deployed services can be launched and invoked from the launcher core framework.

설정 응용 프로그램(220, 도 2)는, 서비스 정의 파일을 그래픽으로 표시하고, 사용자와의 인터페이스가 되는 컴퍼넌트이다. 즉, 런쳐 코어의 사용자 인터페이스가 되는 부분이 설정 응용 프로그램이다. 설정 응용 프로그램은 서비스 정의 파일을 그래픽으로 표시하는 처리를 행한다. 설정 응용 프로그램을 기동시키면, 예를 들면 도 3에 나타낸 설정 화면과 같은 화면이 단말기 장치의 표시부(22)에 표시된다.The setting application program 220 (FIG. 2) is a component which graphically displays a service definition file and becomes an interface with a user. In other words, the setting application program is a part of the launcher core user interface. The setting application program performs a process of graphically displaying the service definition file. When the setting application program is activated, a screen such as the setting screen shown in FIG. 3 is displayed on the display unit 22 of the terminal device.

예를 들면, 프리미티브형의 온/오프가 서비스 정의 파일로 지정되어 있는 경우, 설정 응용 프로그램은 온/오프를 선택하도록 리스트 박스를 표시하게 한다. 시간을 입력하는 프리미티브형의 경우, 시간이 표시되고, 사용자가 조작하여 선택하게 된다.For example, if the primitive type on / off is specified in the service definition file, the setting application causes the list box to be displayed to select on / off. In the case of the primitive type for inputting the time, the time is displayed, and the user operates to select it.

설정 응용 프로그램(220)은, 사용자로부터의 복수개의 이벤트 설정을 받아들여 이벤트 리스트를 저장하여 둔다. 설정한 이벤트는 편집을 행하거나, 삭제를 행 하는 것이 가능하다. 브로커(210)와 설정 응용 프로그램(220)은 독립적이며, 브로커(210)는 상주하여 이벤트가 발생한 경우에 설정 응용 프로그램(220)이 저장하고 있는 설정 항목을 판독한다.The setting application program 220 receives a plurality of event settings from the user and stores the event list. The set event can be edited or deleted. The broker 210 and the setting application 220 are independent, and the broker 210 resides and reads the setting items stored in the setting application 220 when an event occurs.

도 3의 예에서는, 매너 모드 설정 응용 프로그램으로 설정할 수 있는 항목은 매너 모드 설정이며, 옵션으로서는 온/오프이다. 조건 버튼을 누르면, 센싱 디바이스를 선택할 수 있고, 여기서 접속되어 있는 GPS 디바이스 응용 프로그램(110)과 접속한다. 도 4는, 이 때의 조건에서의 접속 상태를 나타낸 도면이며, GPS 디바이스 응용 프로그램(110)으로부터의 입력을 계기로 알람 응용 프로그램과 접속되어, 알람 응용 프로그램으로부터의 온 파라미터를 동시에 사용자에 통지한다.In the example of FIG. 3, the item which can be set by a manner mode setting application is a manner mode setting, and it is ON / OFF as an option. When the condition button is pressed, the sensing device can be selected and connected to the connected GPS device application program 110. Fig. 4 is a diagram showing a connection state under the condition at this time, connected to an alarm application program based on an input from the GPS device application program 110, and simultaneously notifying the user of an on parameter from the alarm application program. .

사용자가 설정 버튼을 누르면, GPS 응용 프로그램으로 제어가 넘어가서 장소를 설정하는 모드가 된다. 장소의 설정이 완료되면, 매너 모드의 설정은 완료된다. 그리고, 조건은 복수개 추가할 수 있다. 예를 들면 타이머 응용 프로그램의 설정으로 오후, GPS 응용 프로그램의 설정으로 자택을 설정한 경우, 오후 자택에 귀가했다는 조건을 설정할 수 있다.When the user presses the setting button, control is passed to the GPS application and the mode is set. When the setting of the place is completed, the setting of the silent mode is completed. And a plurality of conditions can be added. For example, when the home is set in the afternoon and the GPS application in the settings of the timer application program, it is possible to set the condition that the home of the afternoon home.

이와 같이 하여 사용자는, 설정한 장소에 가까와지면 매너 모드의 스위치를 온으로 하는 이벤트를 매너 모드 설정 응용 프로그램에 대해서 설정한 것이 된다. 이들은 설정 응용 프로그램을 기동시키면 언제라도 설정을 변경/추가/삭제할 수 있다.In this manner, when the user approaches the setting place, the user sets an event for the manner mode setting application to turn on the manner mode switch. They can change / add / delete settings at any time by launching the setup application.

브로커(210)는, 센서로부터 입력된 이벤트와 사용자가 설정한 이벤트군의 매칭을 도모하여, 이벤트의 핸들링을 행하는 코어 컴퍼넌트이다. 또한, 이 행동이 런쳐 코어의 프레임워크가 된다. 도 5는, 브로커(210)의 처리예를 나타낸 도면이다. 도 5에 나타낸 바와 같이, 예를 들면 GPS 응용 프로그램으로부터의 인터럽 발생으로 인하여, 사용자 설정 항목을 서비스 정의 파일로부터 참조하여, 해당하는 응용 프로그램을 파라미터와 함께 호출한다.The broker 210 is a core component which handles an event by matching an event input from a sensor with an event group set by a user. In addition, this behavior becomes the framework of the launcher core. 5 is a diagram illustrating a processing example of the broker 210. As shown in Fig. 5, for example, due to the occurrence of an interrupt from the GPS application program, the user setting item is referred to from the service definition file, and the corresponding application program is called with the parameter.

본 실시예의 브로커는, 디바이스의 접속과 이벤트의 핸들링을 행하는 컴퍼넌트이다. 상기 컴퍼넌트는 디바이스로부터의 이벤트와 사용자가 설정한 항목을 설정 응용 프로그램의 데이터 베이스로부터 매칭을 취하여, 사용자가 지정한 이벤트를 발생시키는 상주 컴퍼넌트이다. 브로커는, 사용자가 지정한 설정 항목과 매칭하고 있는지의 여부를 체크하지만, 판정 자체는 센싱 인터페이스를 통해서 각 디바이스 응용 프로그램이 행한다.The broker of this embodiment is a component that performs device connection and event handling. The component is a resident component that matches an event from a device with an item set by a user from a database of a setting application program and generates an event specified by the user. The broker checks whether or not it matches the setting item specified by the user, but the determination itself is performed by each device application program through the sensing interface.

브로커는, 도 6에 나타낸 흐름도에 나타낸 바와 같이 동작한다. 도 6에 따라 동작예를 설명하면, 브로커는 대기 상태에서 상주하고 있다. 동작은 각 센싱 디바이스로부터의 인터럽을 계기로 하여 이루어진다. 센싱 디바이스로부터 인터럽를 받으면, 설정 항목 루프에 들어가(스텝 S11), 인터럽 소스의 디바이스와 대응한 설정 항목을 추출하고, 미체크된 설정 항목이 있는지의 여부를 판단하여(스텝 S12), 미체크된 설정 항목이 있는 경우에, 사용자 설정 항목의 데이터를 취득한다(스텝 S13). 그리고, 인터럽 발생 디바이스가 조건에 포함되어 있는지를 판단하여(스텝 S14), 포함되어 있는 경우에는 설정되어 있는 조건을 취득하고(스텝 S15), 또한 인터럽 발생 디바이스가 조건에 포함되어 있는지를 판단하여(스텝 S16), 조건 체크 루프 처리를 행한다(스텝 S17, S18, S19). 그리고, 모든 조건을 만족시키고 있는지를 판단하여(스텝 S20), 만족시키고 있는 경우에, 해당하는 액션을 실행시키는 제어를 행한다(스텝 S21). 그리고, 항목 설정 루프가 종료할 때까지 반복된다(스텝 S22).The broker operates as shown in the flowchart shown in FIG. Referring to the operation example according to Fig. 6, the broker resides in the standby state. Operation is based on interrupts from each sensing device. Upon receiving an interrupt from the sensing device, the system enters a setting item loop (step S11), extracts a setting item corresponding to the device of the interrupt source, determines whether there is an unchecked setting item (step S12), and unchecks it. If there is a specified setting item, data of the user setting item is obtained (step S13). Then, it is determined whether or not the interrupt generating device is included in the condition (step S14), and if it is included, the set condition is acquired (step S15), and further, it is determined whether the interrupt generating device is included in the condition. (Step S16), the conditional check loop process is performed (steps S17, S18, S19). Then, it is judged whether all the conditions are satisfied (step S20), and when it is satisfied, control to execute the corresponding action is performed (step S21). Then, it repeats until the item setting loop ends (step S22).

상기 흐름도에 나타낸 동작은, 각각 추출한 설정 항목에 대해, 이벤트를 발생시켜도 되는지를 판정하는 처리이다. 단, 브로커 자체는 판정을 행하지 않고, 센싱 디바이스와 대응한 디바이스 응용 프로그램에 판정시킨다. 디바이스 응용 프로그램이 실제로 판정을 행한 경우, 브로커는 대응하는 응용 프로그램 메시지를 송신한다.The operation shown in the above flowchart is processing for determining whether an event may be generated for each extracted setting item. However, the broker itself does not make a determination, but makes the determination to the device application program corresponding to the sensing device. When the device application program actually makes a determination, the broker sends a corresponding application program message.

이 때, 응용 프로그램이 기동하고 있지 않았던 경우는 기동을 시도하고, 기동하고 있었을 경우는 메시지를 송신한다. 메시지는 서비스 정의 파일로 정의되어 있는 파라미터 군에서, XML(eXtensible Markup Language)와 같은 범용 포맷으로 송신하게 된다.At this time, if the application program is not started, it attempts to start, and if it is started, a message is sent. The message is transmitted in a general format such as XML (eXtensible Markup Language) from the parameter group defined in the service definition file.

예를 들면, GPS 디바이스 응용 프로그램으로부터의 인터럽의 경우, 위치 정보를 취득하면 브로커에 대해서 위치 정보를 포스트한다. 여기서 브로커는 GPS 디바이스 응용 프로그램에 대응시킬 수 있는 이벤트를 검색하고, 현재의 위치 정보와 대응하는 이벤트가 있는지의 여부를 GPS 디바이스 응용 프로그램에 대해서 전달하고, 설정한 범위였던 경우에는 대응한 응용 프로그램, 이 경우는 매너 모드 설정 응용 프로그램을 호출한다. 그리고, 해당하는 응용 프로그램이 기동하고 있지 않을 경우에는 응용 프로그램을 기동시켜서, 메시지를 전달하게 된다.For example, in the case of an interrupt from a GPS device application program, when the location information is acquired, the location information is posted to the broker. Here, the broker searches for events that can correspond to the GPS device application, and informs the GPS device application whether or not there is an event corresponding to the current location information. In this case, call the silent mode setting application. If the corresponding application program is not started, the application program is started to transmit a message.

또한, 각 디바이스를 작동시키는 디바이스 응용 프로그램은, 도 1에 나타낸 바와 같이, 센싱 인터페이스를 인스톨하고 있는 특별한 응용 프로그램이다.Moreover, the device application program which operates each device is a special application program which installs the sensing interface, as shown in FIG.

여기서, 브로커로 인터럽하는 인터럽 통지에 대하여 설명하면, 디바이스 응용 프로그램은, 디바이스 드라이버와 연결된 컴퍼넌트이다. 디바이스 드라이버로부터 인터럽을 받았을 경우, 브로커에 대해서 통신을 행하고, 디바이스에 의한 인터럽이 행해진 것을 통지한다.Here, the interrupt notification that interrupts the broker will be described. The device application program is a component connected to the device driver. When an interrupt is received from the device driver, the broker communicates with each other to notify that the interrupt by the device has been performed.

본 실시예에 있어서는, 브로커에 디바이스마다의 인터럽 통지를 의식시키지 않기 때문에, 인터럽 통지는 모두 직렬화된 형식으로 브로커에 건네준다. 이에 따라서, 디바이스가 증가한 경우라도, 브로커를 수정할 필요는 없어진다. 즉, 도 7에 나타낸 바와 같이, 예를 들면 GPS 처리부(25, 도 1)로부터의 인터럽 발생이 GPS 디바이스 응용 프로그램에 있으면, 인터럽 통지를 나타내는 데이터를 직렬화한 데이터로서, 브로커에 건네준다. 각 디바이스 응용 프로그램은, 도 2에 나타낸 바와 같이 센싱 인터페이스를 가지고, 브로커로부터의 요청에 따르도록 인스톨된다.In this embodiment, since the broker is not aware of the interrupt notification for each device, all the interrupt notifications are passed to the broker in serialized form. As a result, even if the number of devices increases, there is no need to modify the broker. That is, as shown in FIG. 7, when the interrupt generation from the GPS processing unit 25 (FIG. 1) exists in the GPS device application program, the data indicating the interrupt notification is passed to the broker as serialized data. Each device application program has a sensing interface as shown in FIG. 2 and is installed to comply with a request from a broker.

디바이스 측의 조건의 설정은 복잡하다. 예를 들면 타이머의 조건 설정에서는, 시간의 설정(○○시 △△분 □□초를 설정)이나 오전·오후의 설정을 행할 수도 있다. 또 GPS에 의한 위치의 설정에서는, 예를 들면 도 8에 나타낸 바와 같이, 지도를 단말기에 표시시켜서, 그 지도 중에, 조건이 되는 위치나 범위(도 8에서는 범위를 원으로 지도 내에 표시)를 나타내어 설정할 수 있다. 도 8의 예에서는, 표시된 범위 내에 진입할 때, 기동되도록 되어 있다. 또는, 표시된 범위로부터 나올 경우에, 기동하도록 할 수도 있다. 위도와 경도를 지정하여, 범위나 장소를 설정할 수도 있다.Setting of conditions on the device side is complicated. For example, in setting the condition of the timer, time setting (setting ○ o'clock ΔΔ minute □ seconds) or morning / afternoon setting may be performed. In the setting of the position by GPS, for example, as shown in Fig. 8, the map is displayed on the terminal, and the position and range (the range is indicated by the circle in the map in Fig. 8) as the condition in the map. Can be set. In the example of FIG. 8, when entering the displayed range, it is made to activate. Or it can be made to start when it comes out of the displayed range. You can also specify a latitude and longitude to set a range or place.

본 실시예의 경우에는, 디바이스가 증가할 때마다 브로커를 수정하지 않도록, 조건 설정 인터페이스를 가져서, 디바이스마다 조건 설정을 행하게 한다. 즉, 도 9에 나타낸 바와 같이, 설정 응용 프로그램으로부터의 조건 설정 인터페이스의 호출로, 사용자의 조건 입력을 행하게 하는 표시가 있고, 그 표시에 기초하여 사용자 조작을 행함으로써 조건이 설정된다.In the present embodiment, the condition setting interface is provided so that the broker is not modified each time the device is increased, and the condition setting is made for each device. That is, as shown in Fig. 9, there is a display for allowing a user to input a condition by calling a condition setting interface from a setting application program, and the condition is set by performing a user operation based on the display.

조건을 설정하면, 그 조건을 직렬화해 설정 응용 프로그램에 응답한다. 디바이스마다의 복잡한 설정은 직렬화에 의해 하나의 2진수로 변환된다. 이에 따라서, 브로커나 설정 응용 프로그램은 디바이스마다의 조건을 신경쓸 필요가 없어져서, 어떠한 응용 프로그램이 추가되어도 대처 가능하게 된다.When you set a condition, you serialize that condition and respond to the configuration application. Complex settings per device are converted to a binary number by serialization. As a result, the broker and the setting application program do not need to be concerned about the conditions for each device, so that any application program can be added.

도 6의 흐름도에서의 조건 체크 루프에 해당하는 조건 판정 인터페이스는, 설정한 조건에 매칭하고 있는지의 여부를 판정한다. 판정은 브로커가 조건에 매칭하는 디바이스를 발견한 경우에 호출한다. 여기서, 설정된 조건의 직렬화된 형식과 디바이스로부터의 인터럽의 직렬화된 형식을 조건 판정 인터페이스에 건네주어, 조건에 들어맞는지의 여부를 응답한다. 도 10은 조건 판정 인터페이스의 처리예를 나타낸 도면이며, 브로커로부터 디바이스 인터럽의 데이터와 사용자 설정 조건의 데이터가 있으면, 조건 판정 인터페이스로 판정된다.The condition determination interface corresponding to the condition check loop in the flowchart of FIG. 6 determines whether or not the set condition is matched. The decision is called when the broker finds a device that matches the condition. Here, the serialized form of the set condition and the serialized form of the interrupt from the device are passed to the condition determination interface to respond whether or not the condition is met. Fig. 10 is a diagram showing an example of processing of the condition determination interface, and if there is data of the device interrupt and data of the user setting condition from the broker, it is determined as the condition determination interface.

그리고, 런쳐 인터페이스(도 2)를 통해서 이벤트가 통지된 응용 프로그램(프로그램 311, 321, 331 중 어느 하나)은, 프리미티브형의 파라미터와, 직렬화된 형식의 오리지널형을 건네받게 된다. 여기서, 런쳐 인터페이스는, 직렬화된 형식의 데이터를 원래의 형식의 데이터로 변환시켜서 건네주는 처리가 행해진다. 그러므 로, 역직렬화 인터페이스를 가지고, 직렬화된 형식의 데이터를, 각각의 디바이스 응용 프로그램의 메시지로 복원한다.The application program (any one of the programs 311, 321, and 331) notified of the event via the launcher interface (Fig. 2) is passed the primitive type parameter and the original type in the serialized form. Here, the launcher interface converts the serialized format data into the original format data and passes the data. Therefore, it has a deserialization interface and restores the serialized data to the messages of each device application program.

런쳐 인터페이스는, 발생한 이벤트를 받기 위한 인터페이스이다. 브로커는 이벤트를 검지하면, 런쳐 인터페이스를 통해서 응용 프로그램에 메시지 엔벨로프를 발행한다. 이벤트를 받은 응용 프로그램은 서비스 정의 파일에 따른 파라미터를 수신한다. 파라미터에는, 프리미티브 형의 경우와 오리지널 형의 경우가 존재한다. 프리미티브 형의 경우는 이름을 지정하여 파라미터를 수신하고, 오리지널 형의 경우는 수신한 바이너리 필드를 디바이스 응용 프로그램의 역직렬화 인터페이스를 이용하고, 직렬화 형식으로부터 원래 메시지 형식(예를 들면 경도 ×××, 위도 ×××등)으로 변환하여, 데이터를 취출한다. 도 11은 그러한 경우의 예를 나타낸 도면이다.The launcher interface is an interface for receiving an event that has occurred. When the broker detects an event, it issues a message envelope to the application through the launcher interface. The application program that receives the event receives the parameter according to the service definition file. Parameters include primitive types and original types. For primitive types, parameters are given by name, and for the original type, the received binary fields are sent from the serialized format to the original message format (e.g., longitude ×××, Latitude ×××, etc.) to extract the data. 11 shows an example of such a case.

이벤트가 발생한 단계에서 응용 프로그램이 기동되어 있지 않은 경우, 응용 프로그램을 기동시킨다. 이 때, 기동 타입은 런쳐에 의하여 수신되며, 메시지 엔벨로프를 발행한다. If the application program is not started when the event occurs, start the application program. At this time, the start type is received by the launcher and issues a message envelope.

이벤트가 발생한 단계에서 응용 프로그램이 동작하고 있는 경우, 응용 프로그램에 메시지를 발행한다. 메시지의 파라미터에 메시지 엔벨로프가 첨부되어 있으므로, 상기 엔벨로프로부터 각종 메시지를 취출한다.If the application is running when the event occurs, it issues a message to the application. Since a message envelope is attached to the parameter of the message, various messages are retrieved from the envelope.

다음에, 여기까지 설명한 처리가 구체적으로 실행되는 예를, 도 13 및 도 14의 흐름도를 참조하여 설명한다. 도 13은 GPS 측위로 검출된 위치에 기초하여 매너 모드 설정을 행하는 경우의 처리예이며, 도 14는 GPS 측위로 검출된 위치에 기 초하여 매너 모드 해제에 관한 처리예이며, 흐름도 그 자체는, 이미 설명한 도 6의 브로커 동작 흐름과 거의 동일하다.Next, an example in which the processing described above is specifically executed will be described with reference to the flowcharts of FIGS. 13 and 14. FIG. 13 is a process example in the case of setting manner mode based on the position detected by GPS positioning, FIG. 14 is a process example regarding the release of the manner mode based on the position detected by GPS positioning, and the flowchart itself is It is almost identical to the broker operational flow of FIG. 6 already described.

도 13에 나타낸 매너 모드 설정예에 대하여 설명하면, 스텝 S13에서의 데이터 취득 시에, GPS 디바이스 응용 프로그램 조건인, 시나가와역 부근에 진입하였을 경우, 그 위치의 위도 경도와 반경과, 출입의 조건으로서 외부로부터 그 범위에 진입한 경우를 취득하고, 호출 기능이, 매너 모드 설정 응용 프로그램이며, 파라미터가 매너 모드 온인 것으로 한다. 그리고, 스텝 S14에서의 조건 판단에서, 조건이 만족된 것으로 판단되고, 스텝 S15에서, GPS 디바이스 응용 프로그램으로부터 현재의 위치 정보를 2진화된 데이터로서 취득한다. 2진화된 데이터는, 직렬화된 데이터로서 송신되어, 스텝 S18의 조건 체크에서 판정된다.A description will be given of the manner mode setting example shown in FIG. 13. In the case of entering the vicinity of Shinagawa station, which is a GPS device application program condition at the time of data acquisition in step S13, as the latitude and longitude and radius of the position and the conditions of entry and exit. It is assumed that the case of entering the range from the outside, the calling function is a manner mode setting application program, and the parameter is in manner mode on. In step S14, the condition is judged to be satisfied, and in step S15, current position information is acquired as the binarized data from the GPS device application program. The binarized data is transmitted as serialized data and determined in the conditional check of step S18.

그리고, 스텝 S20에서, 여기서의 조건인, 시나가와역 부근 300 m에 진입하였는지의 여부를 판단하고, 그 조건을 만족시키고 있는 경우에, 스텝 S21에서, 매너 모드 설정 응용 프로그램에 대해서, 매너 모드 온 파라미터를 송신하여, 매너 모드를 설정시킨다. 매너 모드가 설정되면, 예를 들면 상기 단말기 장치에 대한 전화의 착신 시에 호출 음을 울리지 않게 함과 동시에, 소정 회수 이상 호출되면 자동적으로 자동 응답을 행한다.Then, in step S20, it is determined whether 300 m near the Shinagawa station, which is the condition here, is entered, and when the condition is satisfied, in step S21, the manner mode on parameter for the manner mode setting application program. To set the silent mode. When the manner mode is set, for example, a ringing tone is not sounded when a call is made to the terminal device, and an automatic response is automatically made when a predetermined number of times is called.

다음에, 도 14에 나타낸 매너 모드 해제 예에 대하여 설명하면, 스텝 S13에서의 데이터 취득 시에, GPS 디바이스 응용 프로그램 조건인, 가와사키역 부근에 진입했을 경우, 그 위치의 위도, 경도, 반경과 출입 조건으로서 외부로부터 그 범위에 진입한 경우와, 타이머 디바이스 응용 프로그램 조건인, 저녁부터 심야까지 (예를 들면 오후 5시부터 심야 0시까지)의 시간의 조건을 취득하고, 호출 기능이, 매너 모드 설정 응용 프로그램이며, 파라미터가 매너 모드 오프라고 가정한다. 그리고, 스텝 S14에서의 조건 판단에서, 조건이 만족되는 것으로 판단되고, 스텝 S15에서, GPS 디바이스 응용 프로그램으로부터 현재의 위치 정보를 2진화된 데이터로서 취득한다. 2진화된 데이터는, 직렬화된 데이터로서 송신하고, 스텝 S18의 조건 체크에서 판정된다.Next, the example of manner mode release shown in FIG. 14 will be described. When entering the vicinity of Kawasaki Station, which is a GPS device application program condition at the time of data acquisition in step S13, the latitude, longitude, radius, and the entry and exit of the position are shown. If the condition is entered from the outside as a condition and the time device condition which is a timer device application condition from evening to late night (for example, from 5 pm to midnight 0), the calling function is in silent mode. It is a setting application and assumes that the parameter is silent mode off. In step S14, the condition is judged to be satisfied, and in step S15, the current positional information is acquired as the binarized data from the GPS device application program. The binarized data is transmitted as serialized data and determined by the condition check in step S18.

그리고, 스텝 S20에서, 여기서의 조건인, 카와사키역 부근에 저녁부터 심야 까지의 시간대에 진입했는지의 여부가 판단되고, 그 조건을 만족시키고 있는 경우에, 스텝 S21에서, 매너 모드 설정 응용 프로그램에 대해서, 메너 모드 오프 파라미터를 송신하여, 매너 모드의 설정을 해제시킨다. 매너 모드의 설정이 해제됨으로써, 예를 들면 이 단말기 장치에 착신되는 전화의 착신 시에 호출음을 울림과 동시에, 자동 응답을 하지 않는 상태가 된다.In step S20, it is determined whether the time zone from the evening to the late night has entered the vicinity of Kawasaki Station, which is the condition here, and when the condition is satisfied, in step S21, the manner mode setting application program is Then, the silent mode off parameter is transmitted to cancel the silent mode setting. By canceling the setting of the silent mode, for example, a ringing tone is sounded at the time of incoming call of the terminal device, and the automatic answering is not performed.

이와 같이 하여, 사용자가 설정한 임의의 조건으로, 매너 모드 등의 단말기가 구비하는 기능의 자동 설정을 행할 수 있게 된다.In this way, it is possible to automatically set the function of the terminal such as the silent mode under any condition set by the user.

그리고, 여기까지 설명한 예에서는, GPS에 의한 측위 위치에 따라, 매너 모드를 설정하는 처리예에 대하여 설명하였으나, 그 외의 설정도 가능하다. 예를 들면, 도 12에 나타낸 바와 같이, 위치 정보에 따라, 지역 정보의 다운로드를 행하고, 지역 정보와 브라우저를 연계시켜서 표시할 수도 있다.In the example described so far, a process example of setting the manner mode in accordance with the positioning position by GPS has been described, but other settings are possible. For example, as shown in Fig. 12, the local information can be downloaded in accordance with the location information, and the local information can be displayed in association with the browser.

본 발명에 의하면, 서비스 정의 파일을 판단하는 브로커를 설치하고, 응용 프로그램의 실행 제어를 행하도록 하였으므로, 서비스 정의 파일의 추가 등에 의하 여 간단하게 사용자 설정 조건의 추가나 수정할 수 있고, 또한 처리를 행하는 디바이스 자체의 추가에도 용이하게 대처할 수 있게 된다.According to the present invention, since the broker which determines the service definition file is installed and the execution control of the application program is executed, the user setting device can be easily added or modified by adding the service definition file or the like, and the device performing the processing. It can be easily coped with addition of itself.

이럴 경우, 서비스 정의 파일은, 응용 프로그램에 대하여 직렬화하여 출력시키고, 브로커가 서비스 정의 파일을 판단할 수 있도록 함으로써, 디바이스가 추가된 경우에도 메시지를 적절하게 수신할 수 있게 된다.In this case, the service definition file is serialized and output to the application program, and the broker can determine the service definition file so that the message can be properly received even when the device is added.

또한, 디바이스 및 그 디바이스를 이용하여 실행하는 디바이스 처리를 복수개 구비하여, 각각의 디바이스 처리용 프로그램으로부터의 데이터를 직렬화하여 출력시킴으로써, 응용 프로그램이 추가되더라도, 새로운 디바이스에 메시지를 정확하게 취득할 수 있게 되고, 응용 프로그램이나 디바이스의 추가에 용이하게 대처할 수 있게 된다.In addition, by providing a device and a plurality of device processes to be executed using the device, serializing and outputting data from each device processing program enables a message to be correctly acquired to a new device even if an application program is added. This makes it easy to cope with the addition of applications or devices.

본 발명에 의하면, 서비스 정의 파일을 판단하는 브로커를 설치하고, 응용 프로그램의 실행 제어를 행하도록 하였으므로, 서비스 정의 파일의 추가 등에 의하여 간단하게 사용자 설정 조건의 추가나 수정할 수 있고, 또한 처리를 행하는 디바이스 자체의 추가에도 용이하게 대처할 수 있게 된다.According to the present invention, since the broker which determines the service definition file is installed and the execution control of the application program is performed, the user itself can easily add or modify the user setting condition by adding the service definition file or the like and perform the processing itself. You can easily cope with the addition of.

Claims (5)

단말기가 구비하는 디바이스를 이용하여 실행하는 디바이스 처리와,Device processing to be executed using a device provided in the terminal, 단말기에 인스톨된 응용 프로그램과,Application programs installed in the terminal, 상기 응용 프로그램을 실행할 때의 사용자 설정을 저장하는 서비스 정의 파일과,A service definition file that stores user settings when executing the application; 상기 디바이스 처리를 판단하고, 상기 서비스 정의 파일에 의하여 정의된 사용자 설정 조건에 해당하는 항목이 상기 디바이스 처리로 실행되었는지를 판단하여, 해당하는 항목이 실행된 경우에, 상기 응용 프로그램에 대해서 정의된 처리를 실행하는 브로커(broker)를 가지는 것을 특징으로 하는 단말기 제어 방법. Determining the device processing, determining whether an item corresponding to a user setting condition defined by the service definition file has been executed by the device processing, and when the corresponding item is executed, the processing defined for the application program Terminal control method characterized in that it has a broker (broker) for executing. 제1항에 있어서,The method of claim 1, 상기 서비스 정의 파일은, 상기 응용 프로그램에 대해서 직렬화된 데이터(serialized data)를 송신하여, 상기 브로커가 상기 서비스 정의 파일을 판단할 수 있도록 한 것을 특징으로 하는 단말기 제어 방법The service definition file transmits serialized data to the application program, so that the broker can determine the service definition file. 제1항에 있어서,The method of claim 1, 상기 디바이스 및 그 디바이스를 이용하여 실행하는 디바이스 처리는 각각 복수개 구비되고, 각각의 디바이스 처리용 프로그램으로부터의 데이터가 직렬화되어, 상기 브로커가 각각의 디바이스 처리를 판단할 수 있도록 한 것을 특징으로 하 는 단말기 제어 방법.The device and a plurality of device processes to be executed using the device are each provided, the data from each device processing program is serialized, so that the broker can determine the respective device processing Control method. 처리를 실행하는 디바이스 기능부와,A device function unit that executes processing, 응용 프로그램을 저장하는 응용 프로그램 저장부와,An application storage unit for storing an application; 상기 응용 프로그램 저장부에 저장된 응용 프로그램을 실행할 때의 사용자 설정을 저장하는 서비스 정의 파일 저장부와,A service definition file storage unit for storing user settings when executing an application stored in the application storage unit; 상기 디바이스 기능부에서의 처리 실행 상태를 판단하고, 상기 서비스 정의 파일 저장부에 저장된 파일에 의하여 정의된 사용자 설정 조건에 해당하는 항목이 상기 디바이스 기능부에서 실행되었는지를 판단하고, 해당하는 항목이 실행된 경우에, 상기 응용 프로그램 저장부에 저장된 응용 프로그램에 대해서, 정의된 처리를 실행하는 제어부를 구비하는 것을 특징으로 하는 단말기 장치.Determine a processing execution state in the device function unit, determine whether an item corresponding to a user setting condition defined by a file stored in the service definition file storage unit is executed in the device function unit, and execute the corresponding item And a control unit that executes a defined process for the application program stored in the application program storage unit. 단말기에 인스톨된 프로그램에 있어서,In the program installed in the terminal, 단말기가 구비하는 디바이스를 이용하여 실행하는 디바이스 처리 프로그램과,A device processing program executed by using a device provided in the terminal, 단말기에 인스톨된 응용 프로그램과,Application programs installed in the terminal, 상기 응용 프로그램을 실행할 때의 사용자 설정을 저장하는 서비스 정의 파일 작성 프로그램과,A service definition file creation program for storing user settings when executing the application; 상기 디바이스 처리 프로그램의 실행 상황을 판단하고, 상기 서비스 정의 파일 작성 프로그램으로 작성된 서비스 정의 파일에 의하여 정의된 사용자 설정 조건 에 해당하는 항목이, 상기 디바이스 처리 프로그램에서 실행되었는지를 판단하며, 해당하는 항목이 실행된 경우에, 상기 응용 프로그램에 대해서 정의된 처리를 실행하는 제어 프로그램을 가지는 것을 특징으로 하는 프로그램.The execution status of the device processing program is determined, and whether an item corresponding to a user setting condition defined by a service definition file created by the service definition file creation program is executed in the device processing program, and the corresponding item is determined. And a control program which, when executed, executes a process defined for the application program.
KR1020060076112A 2005-08-12 2006-08-11 Terminal control method, terminal apparatus and program KR20070019606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060076112A KR20070019606A (en) 2005-08-12 2006-08-11 Terminal control method, terminal apparatus and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2005-00234489 2005-08-12
KR1020060076112A KR20070019606A (en) 2005-08-12 2006-08-11 Terminal control method, terminal apparatus and program

Publications (1)

Publication Number Publication Date
KR20070019606A true KR20070019606A (en) 2007-02-15

Family

ID=43652565

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060076112A KR20070019606A (en) 2005-08-12 2006-08-11 Terminal control method, terminal apparatus and program

Country Status (1)

Country Link
KR (1) KR20070019606A (en)

Similar Documents

Publication Publication Date Title
JP5166682B2 (en) Terminal control method, terminal device, and program
JP5187764B2 (en) Communication terminal device and program
CN1148093C (en) Method for providing function of specific data notice in telephone
KR100596918B1 (en) method for selecting information from short-message
JP2000049912A (en) Radio communication device and system and update control method for information dial service menu of the device
JP2006330781A (en) Portable terminal equipment with schedule management function, and program
CN101473639A (en) Method and apparatus to facilitate multimedia transfer
JP2007164486A (en) Information report unit
JP5876371B2 (en) Portable electronic device, communication program, and communication system
KR100692007B1 (en) Mobile- phone having positioning service and method thereof
EP2034795B1 (en) Communication apparatus
KR20070019606A (en) Terminal control method, terminal apparatus and program
RU202460U1 (en) Electronic clock with RFID tag and function of processing, receiving and transmitting digital data
US8223957B2 (en) Ring tone reminders
KR20020078390A (en) Method for display of user&#39;s schedule in mobile communication terminal
JP2009141498A (en) Wake-up call system, wake-up call method, wake-up call transmission device and wake-up call program
US7136677B2 (en) Portable terminal
KR100606094B1 (en) Method for automatically operating the specified function in portable terminal
JP2005223782A (en) Mobile portable terminal
JP2009205199A (en) Portable terminal and program
JPWO2005101801A1 (en) Communication device and program execution method
KR101104529B1 (en) Method for managing a day&#39;s schedule using a message in mobile phone
JP4766916B2 (en) Portable electronic device, communication system and computer program
US10348907B1 (en) Collaborative data processing
KR20070013520A (en) Apparatus and method for message receiving alarm of mobile communication terminal

Legal Events

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