KR100736568B1 - Mobile communication terminal and method for playing sound using a2dp - Google Patents

Mobile communication terminal and method for playing sound using a2dp Download PDF

Info

Publication number
KR100736568B1
KR100736568B1 KR1020060047085A KR20060047085A KR100736568B1 KR 100736568 B1 KR100736568 B1 KR 100736568B1 KR 1020060047085 A KR1020060047085 A KR 1020060047085A KR 20060047085 A KR20060047085 A KR 20060047085A KR 100736568 B1 KR100736568 B1 KR 100736568B1
Authority
KR
South Korea
Prior art keywords
file
media file
a2dp
mobile communication
communication terminal
Prior art date
Application number
KR1020060047085A
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 KR1020060047085A priority Critical patent/KR100736568B1/en
Application granted granted Critical
Publication of KR100736568B1 publication Critical patent/KR100736568B1/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
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/38Displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

A mobile communication terminal and a method for regenerating a sound source by using an A2DP(Advanced Audio Distribution Profile) are provided to reduce cost in transplanting a platform by additionally defining a scheme used when a midlet developer and a JAVA platform transplanting developer generate a JAVA player. A mobile communication terminal comprises a controller(110), an inputting unit(120), a display unit(130), a memory(140), an audio outputting unit(150), a midlet processor(160) and a bluetooth module(170). The controller(110) controls function implemented in the mobile communication terminal, and processes other components, data and signals. The inputting unit(120), composed of digit buttons, special key buttons, character key buttons, and function key buttons, operates as an interface for transmitting user's instructions to the controller(110). The display unit(130), composed of a display device like an LCD or an OLED(Organic Light Emitting Diode), displays a menu screen for enabling a user to select a menu, an executed screen in accordance with the selection of the menu, and a result screen. The memory(140), composed of a flash memory, an RAM or an EEPROM, stores music files. The audio outputting unit(150) converts the music files, stored at the memory(140), into audible sound via a speaker according to a control operation of the controller(110). The midlet processor(160) plays a role of setting a reproduction path of the music file when the music file is reproduced. The bluetooth module(170) exchanges control signals with or transmits the music file to a headset.

Description

이동통신단말기 및 A2DP를 이용한 음원재생방법{Mobile communication terminal and Method for playing sound using A2DP}Mobile communication terminal and method for playing sound using A2DP}

도 1은 본 발명의 일실시예에 따른 무선으로 사운드를 재생하기 위한 시스템구성도이다.1 is a system configuration diagram for wirelessly reproducing sound according to an embodiment of the present invention.

도 2는 도 1에 도시된 이동통신단말기의 플랫폼구조를 도시한 개념도이다. 2 is a conceptual diagram illustrating a platform structure of the mobile communication terminal shown in FIG. 1.

도 3은 본 발명의 일실시예에 따른 플랫폼을 이식하는 절차를 예시한 흐름도이다. 3 is a flowchart illustrating a procedure for porting a platform according to an embodiment of the present invention.

도 4는 본 발명의 일실예에 따른 미들릿의 코드템플릿을 보인 도면이다. 4 is a diagram illustrating a code template of a middlelet according to an embodiment of the present invention.

도 5는 본 발명의 일실시예에 따라 음원을 블루투스 헤드셋으로 재생하는 경로를 보여주는 도면이다.5 is a view showing a path for playing the sound source to the Bluetooth headset according to an embodiment of the present invention.

도 6은 본 발명의 일실시예에 따라 음원을 단말기에서 재생하는 경로를 보여주는 도면이다.6 is a diagram illustrating a path for reproducing a sound source in a terminal according to an embodiment of the present invention.

도 7은 본 발명의 일실시예에 따라 단말기에서 미들릿의 코드템플릿이 사용되고 있는 지를 검증하기 위한 검증코드이다. 7 is a verification code for verifying whether a code template of a middlelet is used in a terminal according to an embodiment of the present invention.

본 발명은 이동통신단말기에 관한 것으로, 보다 상세하게는 자바플랫폼에서 자바 어플리케이션 음악을 블루투스로 재생하기 위한 이동통신단말기 및 A2DP를 이용한 사운드재생방법에 대한 것이다. The present invention relates to a mobile communication terminal, and more particularly, to a mobile communication terminal and a sound reproduction method using A2DP for reproducing Java application music on a Java platform.

자바 어플레이케이션(MIDlet)개발에서 미디어를 재생하려면 createPlayer()로 Player를 생성해야 하는데, Player생성방법에는 media_locator, DataSource, InputStream을 사용하는 방식이 있다. 특히 A2DP를 이용하여 미디어를 재생하는 경우 JSR-135 MMAPI에 정의된 내용이 아니므로 위의 3가지 방식 중에 하나를 사용하여 기존의 방식대로 개발해야만 하였다. A2DP는 Advanced Audio Distribution Profile로서, mp3 등의 음원을 블루투스기술을 적용하여 무선을 듣기 위해 필요한 프로파일을 말한다.To play media in Java application development (MIDlet), you need to create a Player with createPlayer (). There are two ways to create a Player using media_locator, DataSource, and InputStream. In particular, when media is played using A2DP, it is not defined in JSR-135 MMAPI. Therefore, it has to be developed in the existing way by using one of the three methods above. A2DP is an Advanced Audio Distribution Profile, which is a profile required to listen to radio by applying Bluetooth technology to sound sources such as mp3.

그런데, 단말기에서 A2DP기능을 지원하려면 단말기의 블루투스모듈에서 각 음원에 대한 디코딩을 해야 한다. 즉 블루투스모듈의 디코더가 모든 음원을 지원하지 않을 경우, 자바플랫폼을 이식하는 개발자가 이에 대한 문제점을 해결하기 위해서는 모든 경우를 고려해야 하는 단점이 있다. However, in order to support the A2DP function in the terminal, the Bluetooth module of the terminal must decode each sound source. In other words, when the decoder of the Bluetooth module does not support all the sound sources, developers who port the Java platform have to consider all the cases to solve the problem.

또한, 블루투스(Bluetooth)를 이용하는 A2DP는 이동통신단말기의 하드웨어사양에 종속적인 면이 많으므로 개발시간이 늘어나게 된다. 따라서 하드웨어가 변경되면 이에 따라 유지보수해야 하므로 비용도 증가하는 단점이 있다.In addition, A2DP using Bluetooth has a lot of dependence on the hardware specification of the mobile communication terminal, which increases development time. As a result, if the hardware changes, maintenance must be performed accordingly, which increases the cost.

이러한 문제점을 해결하고자 안출된 것으로서, 본 발명은 자바의 플랫폼 독 립성과 유연성을 해치지 않으면서 자바 어플리케이션과 플랫폼이 나누어지도록 하여 단말기개발의 성능과 품질을 향상시키도록 하는 이동통신단말기 및 A2DP를 이용한 음원재생방법을 제공하는데 그 목적을 두고 있다.In order to solve this problem, the present invention provides a sound source using a mobile communication terminal and A2DP to improve the performance and quality of terminal development by dividing Java applications and platforms without compromising Java platform independence and flexibility. Its purpose is to provide a regeneration method.

상기 목적을 이루기 위하여 본 발명은, 재생할 미디어파일을 선택하는 입력부와, 미디어파일의 재생을 위한 파라미터가 미리 정의된 특정 파라미터인지를 확인하는 미들릿처리부와, 특정 파라미터에 해당하면, 외부재생장치로 미디어파일을 전송하는 송신부를 포함하는 이동통신단말기를 제공한다. In order to achieve the above object, the present invention provides an input unit for selecting a media file to be played, a middlelet processing unit for checking whether a parameter for playing the media file is a predefined specific parameter, and, if the specific parameter corresponds to an external playback device, Provided is a mobile communication terminal including a transmission unit for transmitting a media file.

이때, 이동통신단말기에는 외부재생장치가 접속되어 있지 않으면, 파라미터는 file://스킴이 되며, 미디어파일을 단말기에서 재생하는 오디오출력부를 더 포함한다. At this time, if the external communication device is not connected to the mobile communication terminal, the parameter is file: // scheme, and further includes an audio output unit for playing the media file in the terminal.

또한, 미디어파일이 재생가능한 미디어타입이 아니면 에러를 표시하는 출력부를 더 포함할 수 있다. In addition, the media file may further include an output unit for displaying an error if the media file is not a playable media type.

또한, 미디어파일을 저장하는 메모리부를 더 구비할 수 있으며, 미들릿처리부는 MIDlet형태인 것을 특징으로 한다. The apparatus may further include a memory unit for storing the media file, wherein the middlelet processor is in the form of a MIDlet.

여기서, 특정파라미터는 A2DP(Advanced Audio Distribution Profile)를 이용하며 A2DP://스킴(Scheme)이 되면, 송신부는 블루투스모듈인 것을 특징으로 한다.Here, the specific parameter uses A2DP (Advanced Audio Distribution Profile), and when A2DP: // scheme, the transmitter is a Bluetooth module.

한편으로 본 발명은, 재생할 미디어파일을 선택하는 단계와, 미디어파일의 재생을 위한 파라미터가 미리 정의된 특정 파라미터인지를 확인하는 단계와, 특정 파라미터에 해당하면, 외부재생장치로 미디어파일을 전송하는 단계를 포함하는 A2DP를 이용한 음원재생방법을 제공한다.On the other hand, the present invention comprises the steps of selecting a media file to play, confirming whether a parameter for playing the media file is a predefined specific parameter, and if the specific parameter, the media file is transmitted to the external playback device It provides a sound source playback method using the A2DP comprising a step.

이와 함께, 특정 파라미터 확인단계는, 미디어파일의 재생을 위한 외부재생장치가 접속되어 있는 지를 판단하는 단계와, 접속되어 있으면, 파라미터가 미리 정의된 특정 파라미터인지를 확인하는 단계를 더 포함하는 것이 가능하다. In addition, the specific parameter checking step may further include determining whether an external playback device for playing the media file is connected, and if connected, checking whether the parameter is a predetermined specific parameter. Do.

한편으로, 외부재생장치가 접속되어 있지 않으면 파라미터는 file://스킴이 되며, 미디어파일을 단말기 자체내에서 재생하는 것을 특징으로 한다. On the other hand, if the external playback device is not connected, the parameter is file: // scheme, and the media file is played back in the terminal itself.

여기서, 특정 파라미터는 A2DP(Advanced Audio Distribution Profile)를 이용하는 A2DP://스킴이 되는 것을 특징으로 한다. Here, the specific parameter may be A2DP: // scheme using A2DP (Advanced Audio Distribution Profile).

이때, 미디어파일은 음악파일 또는 비디오파일인 것을 특징으로 한다. In this case, the media file may be a music file or a video file.

따라서, 본 발명에 의하면, 미들릿개발자와 자바플랫폼 이식개발자간의 자바플레이어 생성시 사용하는 스킴(Scheme)을 추가로 정의함으로써 플랫폼이식에 드는 비용을 줄일 수 있다. 또한, 자바플레이어가 A2DP기능을 사용하는지 여부를 구분하여 구현할 수 있으므로 단말기상에서 미들릿을 실행시킬 때 미리 에러처리 등을 할 수 있는 장점이 있다. Therefore, according to the present invention, the cost of platform transplantation can be reduced by additionally defining a scheme used when generating a Java player between a middlelet developer and a Java platform transplant developer. In addition, it can be implemented to distinguish whether the Java player uses the A2DP function, there is an advantage that can be processed in advance when running the middlelet on the terminal.

이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail an embodiment according to the present invention.

도 1은 본 발명의 일실시예에 따른 무선으로 사운드를 재생하기 위한 시스템구성도이다. 도 1을 참조하면, 시스템구성은 음원을 처리하여 무선으로 전송하는 이동통신단말기(100), 전송된 음원을 재생하는 헤드셋(10)을 포함한다.1 is a system configuration diagram for wirelessly reproducing sound according to an embodiment of the present invention. Referring to FIG. 1, the system configuration includes a mobile communication terminal 100 that processes and transmits a sound source wirelessly, and a headset 10 that reproduces the transmitted sound source.

이동통신단말기(100)는 음원을 처리하여 무선으로 헤드셋(10)에 전송하거나 헤드셋(10)에 전송하지 않고 자체에서 재생한다. 이동통신단말기(100)는 제어부(110), 입력부(120), 디스플레이부(130), 메모리부(140), 오디오출력부(150), 미들릿처리부(160), 블루투스모듈부(170)를 포함한다. The mobile communication terminal 100 processes the sound source and wirelessly transmits the sound source to the headset 10 or plays it on its own without transmitting to the headset 10. The mobile communication terminal 100 controls the control unit 110, the input unit 120, the display unit 130, the memory unit 140, the audio output unit 150, the middlelet processing unit 160, and the Bluetooth module unit 170. Include.

제어부(110)는 이동통신단말기(100)에서 구현되는 기능을 제어하며 다른 구성요소와 데이터 및 신호를 처리한다. The controller 110 controls a function implemented in the mobile communication terminal 100 and processes data and signals with other components.

입력부(120)는 이동통신단말기(100)에서 입력으로 사용되어지는 디지트버튼(0 - 9)과, 특수키버튼(*, # ....), 한글자모 또는 알파벳이 새겨진 문자키버튼, 기능을 수행하는 기능키버튼으로 이루어지며, 사용자의 지시를 제어부(110)에 전송하는 인터페이스역할을 수행한다. 물론 본 발명의 일실시예에서는 음원재생을 선택하기 위한 특정키버튼이 구성되는 것도 가능하다. The input unit 120 is a digit button (0-9) and a special key button (*, # ....) used as an input from the mobile communication terminal 100, a letter key button engraved with the Korean alphabet or alphabet, functions Consists of a function key button to perform an interface role of transmitting a user's instruction to the control unit 110. Of course, in one embodiment of the present invention it is also possible to configure a specific key button for selecting the sound source playback.

디스플레이부(130)는 액정표시장치(Liquid Crystal Display :LCD), 유기발광다이오드(Organic Light Emitting Diode : OLED) 등과 같은 표시장치로 이루어질 수 있으며, 제어부(110)의 제어에 따라 이동통신단말기 사용자가 선택하는 메뉴화면과 이에 따른 실행화면, 결과화면을 표시한다. 특히 본 발명의 일실시예에서는 음원재생기능을 선택하고 해당하는 곡을 선곡하는 메뉴화면이 구성될 수 있다.The display unit 130 may be formed of a display device such as a liquid crystal display (LCD), an organic light emitting diode (OLED), and the like, and may be controlled by the user of the mobile terminal according to the control of the controller 110. Displays the selected menu screen, the execution screen, and the result screen. In particular, in one embodiment of the present invention, a menu screen for selecting a sound source playback function and selecting a corresponding song may be configured.

메모리부(140)는 플래쉬메모리, 램(RAM), EEPROM(electrically erasable programmable read only memory) 등으로 구성될 수 있다. 특히 본 발명의 일실시예에서는 음악파일(141)을 저장한다. 물론 음악파일은 메모리부(140)에 저장된 것 뿐만아니라 무선인터넷을 통하여 다운로드받을 수 있으며, USB메모리(Universal Serial Bus Memory Stick) 등과 같은 저장장치로부터 전송받는 것도 가능하다. The memory unit 140 may be configured of a flash memory, a RAM, an electrically erasable programmable read only memory (EEPROM), and the like. In particular, in one embodiment of the present invention stores the music file 141. Of course, the music file is not only stored in the memory unit 140 but also can be downloaded through the wireless Internet, it is also possible to receive from a storage device such as a USB memory (Universal Serial Bus Memory Stick).

오디오출력부(150)는 제어부(110)의 제어에 따라 메모리부(140)에 저장된 음악파일(141)을 스피커(Speaker;151)를 통해 가청음으로 변환하여 출력한다. 물론 마이크(Mic;152)로부터 수신되는 음성신호를 변조하여 디지털 음성데이터로 변환하여 제어부(110)에 전송하는 것도 가능하다. The audio output unit 150 converts the music file 141 stored in the memory unit 140 into an audible sound through a speaker 151 under the control of the controller 110. Of course, it is also possible to modulate the voice signal received from the microphone (Mic) 152, convert it into digital voice data, and transmit it to the controller 110.

미들릿처리부(160)는 음악파일(141)이 재생되는 경우, 음악파일(141)의 재생경로를 지정하는 역할을 수행한다. 즉 헤드셋(10)이 접속된 경우 블루투스를 이용하여 무선으로 헤드셋(10)에 음악파일을 전송한다. 이와 달리 헤드셋(10)이 접속되어 있지 않은 경우에는 단말기자체내에서 음악파일(141)이 처리되도록 한다. When the music file 141 is played, the middlelet processing unit 160 plays a role of designating a playback path of the music file 141. That is, when the headset 10 is connected, the music file is wirelessly transmitted to the headset 10 using Bluetooth. In contrast, when the headset 10 is not connected, the music file 141 is processed in the terminal itself.

블루투스모듈부(170)는 블루투스(Bluetooth)를 이용하여 헤드셋(10)과 제어신호의 교환 및 음악파일(141)의 전송을 수행한다. The Bluetooth module unit 170 exchanges a control signal with the headset 10 and transmits a music file 141 by using Bluetooth.

이동통신단말기(100)로부터 음악파일(141)을 전송받아 재생하는 헤드셋(10)은, 블루투스모듈부(170)와 제어신호를 교환하고 음악파일(141)을 전송받는 헤드셋 블루투스모듈부(11)와, 헤드셋(10)을 제어하는 마이콤(12), 음악파일(141)을 코덱하는 코덱부(13), 코덱된 음원을 출력하는 헤드셋스피커(15)를 포함하여 이루어진다.The headset 10 for receiving and playing the music file 141 from the mobile communication terminal 100 exchanges a control signal with the Bluetooth module 170 and receives the music file 141. And a microcomputer 12 for controlling the headset 10, a codec unit 13 for coding a music file 141, and a headset speaker 15 for outputting a coded sound source.

헤드셋 블루투스모듈부(11)는 블루투스 무선접속을 실현하기 위한 모듈로서, 이동통신단말기(100)의 블루투스모듈부(170)와 제어신호를 교환하고 음악파일(141)등의 수신을 행한다.The headset Bluetooth module unit 11 is a module for realizing a Bluetooth wireless connection, and exchanges a control signal with the Bluetooth module unit 170 of the mobile communication terminal 100 and receives a music file 141 and the like.

마이콤(12)은 헤드셋(10)을 제어하며 다른 구성요소와 신호 및 데이터를 교환한다. 저장부(14)는 플래시메모리, 램(RAM), EEPROM(Electrically Erasable Programmable Read Only Memory) 등으로 구성되어 음악파일(141)을 재생하기 위해 임시 저장한다. The microcomputer 12 controls the headset 10 and exchanges signals and data with other components. The storage unit 14 is composed of a flash memory, a RAM, an electrically erasable programmable read only memory (EEPROM), and the like to temporarily store the music file 141.

헤드셋 블루투스모듈부(11)를 통하여 전송된 음악파일(141)은 코덱부(13)를 통하여 재생되며, 이를 위해 코덱부(13)는 코더/디코더(Coder/Decoder)로 구성되며 코덱과정을 수행한다. 이러한 코덱과정을 통하여 음원은 아날로그오디오로 변환되어 헤드셋스피커(15)를 통하여 음악소리로 재생된다. The music file 141 transmitted through the headset Bluetooth module unit 11 is played through the codec unit 13. To this end, the codec unit 13 is composed of a coder / decoder and performs a codec process. do. Through this codec process, the sound source is converted into analog audio and reproduced as music sound through the headset speaker 15.

도 2는 도 1에 도시된 이동통신단말기의 플랫폼구조를 도시한 개념도이다. 도 2를 참조하면, MIDlet(210)은 MIDP(Mobile Information Device Profile)상에서 작동하는 애플리케이션이다. 보통 JAM(Java Application Manager)이 MIDlet(210)의 설치 및 관리, 운영을 수행한다. JAM이란 Java Application Manager로서 CLDC/MIDP 플랫폼(platform)의 애플리케이션을 관리하는 소프트웨어이다. 2 is a conceptual diagram illustrating a platform structure of the mobile communication terminal shown in FIG. 1. Referring to FIG. 2, the MIDlet 210 is an application that operates on a Mobile Information Device Profile (MIDP). Usually, Java Application Manager (JAM) installs, manages, and operates the MIDlet 210. JAM is a Java Application Manager that manages applications on the CLDC / MIDP platform.

또한, MIDlet(210)이 작동하기 위해서는 MIDP와 CLDC(Connected Limited Device Configuration), OEM클래스 등의 계층이 놓이게 된다. 이를 간단히 설명하면, MIDP는 CLDC에서 특정 디바이스를 위해 만들어진 프로파일로서 주로 단말기의 UI(User Interface:단말기 화면표시)로 구성된다. 물론 CLDC는 어플리케이션 프로그래밍 인터페이스의 기본세트를 정의한다. OEM클래스는 자바스펙상에 포함되지 않은 지원사항을 MIDlet이 사용가능하도록 한 별도의 클래스가 된다.In addition, in order for the MIDlet 210 to operate, a layer such as a MIDP, a connected limited device configuration (CLDC), an OEM class, and the like are placed. In brief, the MIDP is a profile created for a specific device in the CLDC and mainly consists of a terminal (user interface) of the terminal. CLDC, of course, defines a basic set of application programming interfaces. The OEM class is a separate class that makes MIDlets available for support that is not included in the Java specification.

JVM(220)은 버츄얼머신(Java Virtual Machine)으로서, 이동통신단말기에서 자바가 구동되도록 하는 기능을 수행한다. 따라서 컴파일(compiled)된 자바 실행코드로 클래스 파일들을 실행시켜 주는 시스템 소프트웨어이다. 즉 바이너리코드와 마이크로프로세서(또는 하드웨어 플랫폼)간에 인터페이스역할을 수행하는 소프트웨 어를 가리킨다. The JVM 220 is a virtual machine (Java Virtual Machine), and performs a function of driving Java in the mobile communication terminal. Therefore, it is system software that executes class files with compiled Java executable code. That is, software that acts as an interface between binary code and a microprocessor (or hardware platform).

따라서 JVM(220)은 포팅레이어(Porting Layer;230)를 이용하여 MIDlet(210)이 실행하는 명령을 시스템OS(240)에 전송한다. 이때 포팅레이어(230)는 미들릿(210)의 명령에 따라 음악파일(141)을 헤드셋(10)으로 재생하거나 스피커(151)로 재생하는 기능을 수행한다. 물론 이를 위해서는 시스템OS(240)는 단말기에 사용하는 OS와 각종 디바이스 라이브러리를 갖는다. 이러한 네이티브OS로는 Symian, Rex, EOS 등과 같은 프로그램이 사용된다.Therefore, the JVM 220 transmits a command executed by the MIDlet 210 to the system OS 240 using the porting layer 230. At this time, the porting layer 230 plays the music file 141 with the headset 10 or the speaker 151 according to the command of the middlelet 210. Of course, for this purpose, the system OS 240 has an OS used for the terminal and various device libraries. Such native OSs include programs such as Symian, Rex, and EOS.

도 3은 본 발명의 일실시예에 따른 플랫폼을 이식하는 절차를 예시한 흐름도이다. 도 3을 참조하면, A2DP 프로토콜(scheme)에 대한 지원가능한 타입을 먼저 정의한다(단계 S310). 즉 지원가능한 미디어타입(mp3, wav, midi, aac 등)을 정의한다. 3 is a flowchart illustrating a procedure for porting a platform according to an embodiment of the present invention. Referring to FIG. 3, a supportable type for the A2DP protocol is first defined (step S310). That is, it defines the supported media types (mp3, wav, midi, aac, etc.).

지원가능한 미디어타입이 정의되면, A2DP 프로토콜에 대해 지원 가능한 재생방식을 정의한다(단계 S320). 즉 버퍼플레이(buffer play), 파일플레이(file play), 스트리밍 플레이(streaming play) 등의 재생방식을 정의하게 된다. If the media type that can be supported is defined, the playback method that can be supported for the A2DP protocol is defined (step S320). That is, a playback method such as buffer play, file play, streaming play, etc. is defined.

따라서 "file://"스킴을 사용할 경우에는 mp3, aac, wav, midi 등의 미디어타입이 재생가능하고, 재생방식으로 파일플레이(file play)가 가능하다. 여기서 스킴(Scheme)은 프로토콜로서 미디어파일을 재생하는 경로를 의미한다. 즉 "file://"스킴이면 단말기에서 미디어파일을 재생한다. Therefore, when the "file: //" scheme is used, media types such as mp3, aac, wav, and midi can be played, and a file play can be performed as a playback method. Here, Scheme means a path for playing a media file as a protocol. In other words, if the "file: //" scheme is used, the terminal plays the media file.

이와 달리, "A2DP://"스킴을 사용할 경우에는 mp3, aac, wav, midi 등의 미디어타입이 재생가능하고, 재생방식은 buffer play, file play, streaming play가 가능하다. In contrast, when the "A2DP: //" scheme is used, media types such as mp3, aac, wav, and midi can be played, and the playback method is buffer play, file play, and streaming play.

재생방식이 정의되면, 블루투스를 지원하는 도 1에 도시된 헤드셋(10)이 접속되었는지를 확인하는 과정이 있게 된다(단계 S330). 이 과정이 필요한 이유는 헤드셋(10)이 접속되어 있지 않을 경우 도 1에 도시된 단말기(100)에서 음악파일이 재생되도록 하기 위한 것이다. If the playback method is defined, there is a process of checking whether the headset 10 shown in FIG. 1 supporting Bluetooth is connected (step S330). The reason why this process is necessary is to allow music files to be played in the terminal 100 shown in FIG. 1 when the headset 10 is not connected.

따라서, 헤드셋(10)이 접속되어 있다면, 재생경로가 A2DP스킴(Scheme)인지를 확인하게 된다(단계 S340). 즉 자바플레이어 생성시 사용된 파라미터가 "A2DP://"이었다면 이는 블루투스가 지원되는 헤드셋을 통하여 음원을 재생하겠다는 뜻이므로 이를 확인하는 과정이 된다. 물론 A2DP스킴이 아니면 사운드재생이 되지 않는다(단계 S341).Therefore, if the headset 10 is connected, it is checked whether the playback path is the A2DP scheme (step S340). That is, if the parameter used when creating the Java player was "A2DP: //", this means that the sound source will be played through the Bluetooth-enabled headset. Of course, no sound is reproduced unless it is an A2DP scheme (step S341).

A2DP스킴이라면 재생하려는 음악파일이 지원가능한 음악파일인지를 확인한다(단계 S350). 즉 앞에서 기술한 지원가능한 미디어타입이 정의되었는데, 재생할 음악파일이 정의된 미디어타입에 해당하는 지를 확인하는 과정이 된다. If it is the A2DP scheme, it is checked whether the music file to be played is a music file that can be supported (step S350). That is, the supportable media type described above is defined, which is a process of checking whether the music file to be played corresponds to the defined media type.

예를 들어 정의된 미디어타입들이 mp3, aac(Advanced Audio Coding), 3gpp(3rd Generation Partnership Project)일 경우, 재생하려는 음악파일이 mp3타입이라면 블루투스로 재생한다(단계 S360). 즉 도 1에 도시된 헤드셋(10)으로 재생된다. For example, if the defined media types are mp3, aac (Advanced Audio Coding), 3gpp (3rd Generation Partnership Project), if the music file to be played is mp3 type, it is played through Bluetooth (step S360). That is, playback is performed with the headset 10 shown in FIG.

이와 달리, 재생하려는 음악파일이 OGG(Ogg Vorbis)타입이라면 이는 지원되지 않는 미디어타입에 해당된다. 이 경우에는 사용자가 지원되지 않는 미디어파일임을 알 수 있도록 에러메시지가 표시된다(단계 S351). 이러한 에러메시지로는 "지 원하지 않는 미디어파일입니다"가 될 수 있을 것이다.On the other hand, if the music file to be played is OGG (Ogg Vorbis) type, this is an unsupported media type. In this case, an error message is displayed so that the user can know that the media file is not supported (step S351). This error message could be "unsupported media file".

한편으로, 도 1에 도시된 헤드셋(10)이 접속되어 있지 않다면, 재생경로가 파일스킴(File Scheme)인지를 확인하게 된다(단계 S370). 즉 헤드셋(10)이 접속되어 있지 않는 경우 재생하고자 하는 음악파일의 재생경로가 파일스킴인지를 확인하는 과정이 됨을 의미한다. 이때 파라미터는 "File://"이 된다.On the other hand, if the headset 10 shown in Fig. 1 is not connected, it is checked whether the playback path is a file scheme (step S370). In other words, if the headset 10 is not connected, it means that the playback path of the music file to be played is a file scheme. At this time, the parameter is "File: //".

파일스킴 확인결과, 재생경로가 파일스킴이면 음악파일의 재생을 수행한다(단계 S371). 이와 달리, 재생경로가 A2DP 스킴이면 음악파일의 재생은 수행되지 않는다(단계 S372).As a result of checking the file scheme, if the playback path is a file scheme, music files are played (step S371). In contrast, if the reproduction path is the A2DP scheme, reproduction of the music file is not performed (step S372).

여기서, 재생하는 음악파일은 미디어타입으로 오디오파일 외에 비디오파일도 가능하다. 따라서 비디오파일의 경우에 에러를 표시하는 것이 가능하다. 다른 방식으로 화면은 재생시키지 않고 소리만 들리게 하는 방식도 가능하다. Here, the music file to be played is a media type and can be a video file besides an audio file. Therefore, it is possible to display an error in the case of a video file. Alternatively, you can play the sound without playing the screen.

도 4는 본 발명의 일실예에 따른 미들릿의 코드템플릿을 보인 도면이다. 즉 도 2에 도시된 MIDlet(210)은 어플리케이션계층으로서 도 3에서 기술한 플랫폼이식절차에 따라 이에 맞게 개발된 MIDlet(210)의 자바어플리케이션의 코드를 도시한 도면이다. 도 4를 참조하면, "boolean bA2DP = com.OEMAPI.isConnectedBT();"는 부울린함수로서, 도 1에 도시된 헤드셋(10)이 접속되어 있는지 아닌지를 확인하는 함수가 된다. 4 is a diagram illustrating a code template of a middlelet according to an embodiment of the present invention. That is, the MIDlet 210 illustrated in FIG. 2 is a diagram showing a code of a Java application of the MIDlet 210 developed according to the platform transplantation procedure described in FIG. 3 as an application layer. Referring to Fig. 4, "boolean bA2DP = com.OEMAPI.isConnectedBT ();" is a Boolean function, which is a function for checking whether the headset 10 shown in Fig. 1 is connected or not.

따라서, 헤드셋(10)이 접속되어 있다면 A2DP스킴을 사용한다. 즉 "if(bA2DP) { p = Manager.createPlayer("A2DP://File_URI");"이 된다. Therefore, if the headset 10 is connected, the A2DP scheme is used. That is, "if (bA2DP) {p = Manager.createPlayer (" A2DP: // File_URI ");".

이와 달리, 헤드셋(10)이 접속되어 있지 않으면 일반적인 파일스킴을 사용하 게 된다. 즉 "else { p = Manager.createPlayer("file://File_URI");이 된다. 여기서 "A2DP://"와 "file://"는 스킴을 나타내고, "File_URI"는 도 1에 도시된 메모리부(140)에 저장된 음악파일(141)의 저장위치를 나타낸다.On the contrary, if the headset 10 is not connected, a general pile scheme is used. That is, "else {p = Manager.createPlayer (" file: // File_URI "); where" A2DP: // "and" file: // "represent the scheme, and" File_URI "is shown in FIG. The storage location of the music file 141 stored in the memory unit 140 is shown.

"A2DP://" 또는 "file://"스킴 중 어느 하나의 스킴이 정해지면, JSR-135 MMAPI스펙대로 realize() →prefetch() →start()를 거쳐 음악파일이 재생된다.If either the "A2DP: //" or "file: //" scheme is specified, the music file is played via realize () → prefetch () → start () according to the JSR-135 MMAPI specification.

다음으로 도 3과 도 4에 의하여 음악파일이 재생되는 경로를 보여주는 도면이 도 5와 도 6에 도시된다. 이 중 도 5는 본 발명의 일실시예에 따라 음원을 블루투스 헤드셋으로 재생하는 경로를 도시한 것이다. 즉 재생경로가 음악파일(MP3;500)→ MIDlet(210)→ JVM(220)→ 포팅레이어(230)→ 시스템OS(240)→ 헤드셋(10)이 된다. 물론 도면에는 시스템OS(240)와 헤드셋(10)을 실선으로 표시하였으나, 헤드셋(10)은 블루투쓰가 지원되므로 무선으로 데이터가 전송된다. Next, FIGS. 5 and 6 are diagrams illustrating a path in which a music file is played by FIGS. 3 and 4. 5 illustrates a path for reproducing a sound source with a Bluetooth headset according to an embodiment of the present invention. That is, the playback path is a music file (MP3; 500) → MIDlet 210 → JVM 220 → porting layer 230 → system OS 240 → headset 10. Of course, the system OS 240 and the headset 10 are shown in solid lines, but since the headset 10 supports Bluetooth, data is wirelessly transmitted.

도 6은 본 발명의 일실시예에 따라 음원을 단말기에서 재생하는 경로를 보여주는 도면이다. 즉 헤드셋(10)이 접속되어 있지 않을 경우 단말기에서 음악파일을 재생하는 경로를 도시한 것이다. 이때 재생경로는 음악파일(MIDI;600)→ MIDlet(210)→ JVM(220)→ 포팅레이어(230)→ 시스템OS(240)→ 스피커(151)가 된다. 6 is a diagram illustrating a path for reproducing a sound source in a terminal according to an embodiment of the present invention. In other words, when the headset 10 is not connected, a path for playing music files in the terminal is illustrated. At this time, the playback path is a music file (MIDI) 600 → MIDlet 210 → JVM 220 → porting layer 230 → system OS 240 → speaker 151.

도 7은 본 발명의 일실시예에 따라 단말기에서 미들릿의 코드템플릿이 사용되고 있는 지를 검증하기 위한 검증코드이다. 즉 단말기에서 "A2DP://"스킴을 사용하고 있는지를 확인하기 위한 소스코드이다. 따라서, 단말기가 "A2DP://"를 사용하고 있으면 메시지가 "Used"가 되고, 사용되고 있지 않으면 "Not used"가 된다. 이 를 나타내는 코드는 다음과 같다.7 is a verification code for verifying whether a code template of a middlelet is used in a terminal according to an embodiment of the present invention. That is, the source code for checking whether the terminal uses the "A2DP: //" scheme. Therefore, if the terminal is using "A2DP: //", the message is "Used", and if not, it is "Not used". The code for this is:

if(bA2DP){//Show alert to user"Used"if (bA2DP) {// Show alert to user "Used"

}else{} else {

//Show alert to user "Not used"// Show alert to user "Not used"

}}

이상, 본 발명을 바람직한 실시예를 사용하여 상세히 설명하였으나, 본 발명의 범위는 특정 실시예에 한정되는 것은 아니며, 이 기술분야에서 통상의 지식을 습득한 자라면, 본 발명의 범위에서 벗어나지 않으면서도 많은 수정과 변형이 가능함을 이해하여야 할 것이다. 따라서 본 발명의 보호범위는 첨부된 특허 청구범위에 의하여 해석되는 것이 바람직할 것이다. As mentioned above, although this invention was demonstrated in detail using the preferable Example, the scope of the present invention is not limited to a specific Example, If the person who acquired the ordinary knowledge in this technical field, without departing from the range of this invention, It should be understood that many modifications and variations are possible. Therefore, the protection scope of the present invention will be preferably interpreted by the appended claims.

이상에서 설명한 바와 같이, 본 발명에 의하면, 미들릿개발자와 자바플랫폼 이식개발자간의 자바플레이어 생성시 사용하는 스킴(Scheme)을 추가로 정의함으로써 플랫폼이식에 드는 비용을 줄일 수 있다. As described above, according to the present invention, the cost of platform transplantation can be reduced by additionally defining a scheme used when generating a Java player between a middlelet developer and a Java platform transplant developer.

또한, 자바플레이어가 A2DP기능을 사용하는지 여부를 구분하여 구현할 수 있으므로 단말기상에서 미들릿을 실행시킬 때 미리 에러처리 등을 할 수 있는 장점이 있다. In addition, it can be implemented to distinguish whether the Java player uses the A2DP function, there is an advantage that can be processed in advance when running the middlelet on the terminal.

Claims (13)

재생할 미디어파일을 선택하는 단계와;Selecting a media file to play; 상기 미디어파일의 재생을 위한 파라미터가 미리 정의된 특정 파라미터인지를 확인하는 단계와;Checking whether a parameter for playing the media file is a predetermined specific parameter; 상기 특정 파라미터에 해당하면, 외부재생장치로 상기 미디어파일을 전송하는 단계를 포함하는 A2DP를 이용한 음원재생방법.And transmitting the media file to an external playback device if the specific parameter corresponds. 제 1 항에 있어서, The method of claim 1, 상기 특정 파라미터인지를 확인하는 단계는, Checking whether the specific parameter is, 상기 미디어파일의 재생을 위한 외부재생장치가 접속되어 있는 지를 판단하는 단계와;Determining whether an external playback device for playing the media file is connected; 접속되어 있으면, 상기 파라미터가 미리 정의된 특정 파라미터인지를 확인하는 단계를 더 포함하는 A2DP를 이용한 음원재생방법.If connected, checking whether the parameter is a predefined specific parameter. 제 2 항에 있어서,The method of claim 2, 상기 외부재생장치가 접속되어 있지 않으면 상기 파라미터는 file://스킴이 되며, 상기 미디어파일을 단말기자체내에서 재생하는 것을 특징으로 하는 A2DP를 이용한 음원재생방법.If the external playback device is not connected, the parameter is a file: // scheme, and the media file is played back in the terminal itself. 제 1 항에 있어서,The method of claim 1, 상기 특정 파라미터는 A2DP(Advanced Audio Distribution Profile)를 이용하는 A2DP://스킴이 되는 것을 특징으로 하는 A2DP를 이용한 음원재생방법. And the specific parameter is A2DP: // scheme using A2DP (Advanced Audio Distribution Profile). 제 1 항에 있어서,The method of claim 1, 상기 미디어파일은 음악파일 또는 비디오파일인 것을 특징으로 하는 A2DP를 이용한 음원재생방법. And the media file is a music file or a video file. 재생할 미디어파일을 선택하는 입력부와;An input unit for selecting a media file to be played; 상기 미디어파일의 재생을 위한 파라미터가 미리 정의된 특정 파라미터인지를 확인하는 미들릿처리부와;A middlelet processing unit which checks whether a parameter for playing the media file is a predetermined specific parameter; 상기 특정 파라미터에 해당하면, 외부재생장치로 상기 미디어파일을 전송하는 송신부를 포함하는 이동통신단말기.And a transmission unit for transmitting the media file to an external playback device if the specific parameter corresponds. 제 6 항에 있어서,The method of claim 6, 상기 외부재생장치가 접속되어 있지 않으면, 상기 파라미터는 file://스킴이 되며, 상기 미디어파일을 단말기에서 재생하는 오디오출력부를 더 포함하는 이동통신단말기.If the external playback device is not connected, the parameter is file: // scheme, and further includes an audio output unit for playing the media file in the terminal. 제 6 항에 있어서, The method of claim 6, 상기 미디어파일이 재생가능한 미디어타입이 아니면 에러를 표시하는 출력부를 더 포함하는 이동통신단말기.And an output unit for displaying an error if the media file is not a playable media type. 제 6 항에 있어서,The method of claim 6, 상기 미디어파일을 저장하는 메모리부를 더 포함하는 이동통신단말기. And a memory unit for storing the media file. 제 6 항에 있어서,The method of claim 6, 상기 특정 파라미터는 A2DP(Advanced Audio Distribution Profile)를 이용하며 A2DP://스킴(Scheme)인 것을 특징으로 하는 이동통신단말기.The specific parameter is A2DP (Scheme) using the Advanced Audio Distribution Profile (A2DP). 제 6 항에 있어서, The method of claim 6, 상기 미들릿처리부는 MIDlet소프트웨어에 의하여 동작되는 것을 특징으로 하는 이동통신단말기.The middlelet processing unit is operated by MIDlet software. 제 6 항에 있어서, The method of claim 6, 상기 미디어파일은 음악파일 또는 비디오파일인 것을 특징으로 하는 이동통신단말기.And the media file is a music file or a video file. 제 6 항에 있어서, The method of claim 6, 상기 송신부는 블루투스모듈인 것을 특징으로 하는 이동통신단말기.The transmitter is a mobile communication terminal, characterized in that the Bluetooth module.
KR1020060047085A 2006-05-25 2006-05-25 Mobile communication terminal and method for playing sound using a2dp KR100736568B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060047085A KR100736568B1 (en) 2006-05-25 2006-05-25 Mobile communication terminal and method for playing sound using a2dp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060047085A KR100736568B1 (en) 2006-05-25 2006-05-25 Mobile communication terminal and method for playing sound using a2dp

Publications (1)

Publication Number Publication Date
KR100736568B1 true KR100736568B1 (en) 2007-07-06

Family

ID=38503473

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060047085A KR100736568B1 (en) 2006-05-25 2006-05-25 Mobile communication terminal and method for playing sound using a2dp

Country Status (1)

Country Link
KR (1) KR100736568B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060023923A (en) * 2004-09-10 2006-03-15 주식회사 삼부커뮤닉스 Voice transmitting and receiving apparatus of mobile phone and external speaker using bluetooth

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060023923A (en) * 2004-09-10 2006-03-15 주식회사 삼부커뮤닉스 Voice transmitting and receiving apparatus of mobile phone and external speaker using bluetooth

Similar Documents

Publication Publication Date Title
US7799985B2 (en) Electronic musical apparatus, control method therefor, and storage medium storing instructions for implementing the method
US8008561B2 (en) Audio file format with mapped lighting effects and method for controlling lighting effects using an audio file format
US20130117670A1 (en) System and method for creating recordings associated with electronic publication
KR20130075323A (en) Apparatus and method for gernerating vibration by using sound characteristics
US9838146B2 (en) Apparatus for labeling inputs of an audio mixing console system
KR100783113B1 (en) Method for shortened storing of music file in mobile communication terminal
US8841847B2 (en) Electronic device for controlling lighting effects using an audio file
KR101507468B1 (en) Sound data generating system based on user's voice and its method
KR100835793B1 (en) Apparatus and method for playing mp3 using bluetooth of audio system for vehicle
KR100736568B1 (en) Mobile communication terminal and method for playing sound using a2dp
CN101610599A (en) Hand-hold mobile electronic device controllable vibration system and method
US9832568B2 (en) Apparatus for labeling inputs of an audio mixing console system
CN109416906B (en) Tone color setting device, electronic musical instrument system, and tone color setting method
CN114222272A (en) Vehicle control method, terminal device, vehicle-mounted terminal, and storage medium
KR101053611B1 (en) Mobile communication terminal for controlling light emission according to vibration of speaker
JP2004236758A (en) Interactive toy system
KR100624607B1 (en) Apparatus and method for firmware update processing in mobile communication device
US8914475B2 (en) Method, device and terminal for editing and playing music according to data download speed
KR20070042277A (en) Mobile communication terminal and verification method for making sure of support before downloading contents
JP2014102623A (en) Content file distribution system, attachment device, and server
JP2004258502A (en) Effect sound generating mechanism of karaoke playing apparatus and method of use
KR100755526B1 (en) Apparatus for creation of bell sound and method thereof
KR20070046493A (en) Method of playing by vibration of music file and mobile device for realizing it
KR100652716B1 (en) Key buttton sound playing apparatus and method for mobile communication terminal
JP2007133278A (en) Electronic musical instrument

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

Payment date: 20130514

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140523

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150522

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160524

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee