KR20130050136A - Mobile terminal docking with external device and controlling method thereof - Google Patents

Mobile terminal docking with external device and controlling method thereof Download PDF

Info

Publication number
KR20130050136A
KR20130050136A KR1020110115326A KR20110115326A KR20130050136A KR 20130050136 A KR20130050136 A KR 20130050136A KR 1020110115326 A KR1020110115326 A KR 1020110115326A KR 20110115326 A KR20110115326 A KR 20110115326A KR 20130050136 A KR20130050136 A KR 20130050136A
Authority
KR
South Korea
Prior art keywords
external device
portable terminal
docking
sub
unit
Prior art date
Application number
KR1020110115326A
Other languages
Korean (ko)
Other versions
KR101485156B1 (en
Inventor
이정욱
차재욱
강유진
정재훈
강신혁
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Priority to KR20110115326A priority Critical patent/KR101485156B1/en
Priority to PCT/KR2012/005068 priority patent/WO2013002547A2/en
Priority to US13/540,112 priority patent/US8949494B2/en
Publication of KR20130050136A publication Critical patent/KR20130050136A/en
Application granted granted Critical
Publication of KR101485156B1 publication Critical patent/KR101485156B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Abstract

PURPOSE: A portable terminal docked with an external device and a control method thereof are provided to deliver a control command generated in the portable terminal to a sub device and to deliver the control command to the sub device of the portable terminal when the docking is released. CONSTITUTION: A second sub device corresponds to a first sub device included in an external device. When a portable terminal is interlinked with the external device, a control unit(190) processes a first event delivered from the first sub device. When the interlinking is released, the control unit processes a second event delivered from the second sub device. The portable terminal and the external device are interlinked in a docking connection mode and the portable terminal includes a docking interface unit(180) and an interlinking sensing unit(199). [Reference numerals] (105) Power supply unit; (110) Wireless communication unit; (120) A/V input device unit; (132) Touch input device; (134) Keypad input device; (142) Illuminance sensor; (144) Acceleration sensor; (150) Internal storage device unit; (155) External storage device unit; (160) Image output device; (165) Audio output device; (170) Backlight device; (180) Docking interface unit; (182) Image input-output I/F; (184) Audio input-output I/F; (186) Data input-output I/F; (190) Control unit; (192) Docking agent; (194) Control route management unit; (196) Image processing unit; (199) Interlinking sensing unit(docking sensing unit)

Description

외부 디바이스와 도킹되는 휴대 단말 및 그 제어 방법{Mobile terminal docking with external device and controlling method thereof}Mobile terminal docked with external device and controlling method

본 발명은 외부 디바이스와 도킹되는 휴대 단말 및 그 제어 방법에 관한 것이다.
The present invention relates to a portable terminal docked with an external device and a control method thereof.

반도체 및 무선 통신 기술이 점차적으로 발달함에 따라, 휴대 단말은 기본적인 전화통화 기능 외에도 카메라, MP3, 인터넷, 게임 등과 같은 다양한 부가적인 기능을 구비하게 되었으며, 이에 따라 휴대 단말의 사용이 더욱 활성화되었다. 그리고, 최근에는 이와 같은 기능들이 더욱 강화된 스마트폰이 보급되기 시작하였으며, 이에 발맞추어 스마트폰에서 이용될 수 있는 다양한 응용 프로그램들도 개발되고 있다.As semiconductor and wireless communication technologies are gradually developed, portable terminals have various additional functions such as cameras, MP3s, the Internet, games, etc. in addition to basic telephone call functions, thereby enabling the use of portable terminals. In recent years, smart phones, which have been enhanced with such functions, have begun to spread, and various application programs that can be used in smart phones have been developed in line with this trend.

그러나, 휴대 단말은 휴대성 및 이동성을 고려해야 하기 때문에 단말의 크기에 한계가 있을 수 밖에 없으며, 이에 따라 화면의 크기, 해상도, 스피커 성능 등도 제한되는 문제점이 있었다.However, since the portable terminal has to consider portability and mobility, there is no limit to the size of the terminal, and thus there is a problem in that the screen size, resolution, speaker performance, etc. are also limited.

종래 기술의 경우, 휴대 단말에 저장된 데이터, 음원 파일, 컨텐츠 등을 보다 좋은 사용 환경에서 활용하기 위하여 휴대 단말을 연결하여 사용할 수 있는 노트북이나 컴퓨터 등의 형태를 가지는 외부 디바이스(일명, 도킹스테이션)가 개발되었으며, 이러한 외부 디바이스에서 휴대 단말에 저장된 데이터, 음원 파일, 컨텐츠 등을 보다 큰 화면과 좋은 성능의 스피커로 출력하여 이용해왔다.In the prior art, an external device (aka, docking station) having a form of a laptop or a computer that can be used by connecting the portable terminal in order to utilize data, sound source files, contents, etc. stored in the portable terminal in a better use environment is provided. The external device has been used to output data, sound files, contents, etc. stored in the portable terminal to a larger screen and a better speaker.

휴대 단말과 외부 디바이스 간에 단순히 물리적인 도킹 연결이 이루어진 것만으로는 휴대 단말이 외부 디바이스에 포함된 각종 장치를 이용할 수 없으며, 이를 위하여 디바이스에 대한 명령 제어 경로를 도킹 연결 시와 도킹 연결 해제 시 달리 해주어야 할 필요가 있다.
A simple physical docking connection between the mobile terminal and the external device does not allow the mobile terminal to use various devices included in the external device. For this purpose, the command control path for the device must be different from the docking connection and the docking connection. Needs to be.

본 발명은 휴대 단말과 외부 디바이스가 도킹 연결된 경우 휴대 단말이 외부 디바이스에 포함된 각종 장치를 제어할 수 있는 휴대 단말 및 그 휴대 단말을 제어하는 방법을 제공한다.
The present invention provides a portable terminal capable of controlling various devices included in an external device when the portable terminal and the external device are docked, and a method of controlling the portable terminal.

본 발명의 일 측면에 따르면, 외부 디바이스와 연동되는 휴대 단말로서, 상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스 및 상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 휴대 단말에서 발생한 소정의 제어 명령을 상기 제1 서브 디바이스로 전달하고, 상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 소정의 제어 명령을 상기 제2 서브 디바이스로 전달하는 제어부를 포함하는 휴대 단말이 제공된다.According to an aspect of the present invention, a portable terminal interlocked with an external device, and when the second sub device corresponding to the first sub device included in the external device and the portable terminal are interlocked with the external device, the portable terminal The mobile terminal includes a control unit for transmitting a predetermined control command generated in the first sub-device, and a control unit for transmitting the predetermined control command to the second sub-device when the portable terminal and the external device is unlinked Is provided.

본 발명의 일 측면에 따르면, 외부 디바이스와 연동되는 휴대 단말로서, 상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스 상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 제1 서브 디바이스로부터 전달되는 제1 이벤트를 처리하고, 상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 제1 이벤트에 상응하고 상기 제2 서브 디바이스로부터 전달되는 제2 이벤트를 처리하는 제어부를 포함하는 휴대 단말이 제공된다.According to an aspect of the present invention, a portable terminal interoperating with an external device, the second sub device corresponding to the first sub device included in the external device, when the portable terminal is interlocked with the external device, the first sub device And a controller configured to process a first event transmitted from a device and to process a second event transmitted from the second sub device corresponding to the first event when the portable terminal and the external device are unlinked. A terminal is provided.

일 실시예에서, 상기 휴대 단말과 상기 외부 디바이스는 도킹 연결의 방식으로 연동하며, 상기 휴대 단말은 도킹 인터페이스부 및 상기 도킹 인터페이스부를 통한 상기 외부 디바이스와의 도킹 연결을 감지하는 연동 감지부를 더 포함할 수 있다.In an embodiment, the portable terminal and the external device interwork with each other through a docking connection, and the portable terminal further includes an interlocking sensing unit configured to detect a docking interface unit and a docking connection with the external device through the docking interface unit. Can be.

일 실시예에서, 상기 휴대 단말과 상기 외부 디바이스는 무선 연결의 방식으로 연동하며, 상기 휴대 단말은 무선 통신부 및 상기 무선 통신부를 통한 상기 외부 디바이스와의 연동을 감지하는 연동 감지부를 더 포함할 수 있다.In an embodiment, the portable terminal and the external device may interwork in a wireless connection manner, and the portable terminal may further include an interworking detector configured to detect an interworking with the external device through a wireless communication unit and the wireless communication unit. .

일 실시예에서, 상기 제어부는 상기 소정의 제어 명령을 연동된 상기 외부 디바이스로 전달하는 도킹 에이전트부 및 상기 휴대 단말과 상기 외부 디바이스가 연동된 경우에는 상기 소정의 제어 명령을 상기 도킹 에이전트부로 전달하고, 상기 휴대 단말이 상기 외부 디바이스와 연동 해제된 경우에는 상기 소정의 제어 명령을 상기 제2 서브 디바이스로 전달하는 제어 루트 관리부를 포함할 수 있다.In one embodiment, the control unit is a docking agent unit for transmitting the predetermined control command to the linked external device, and when the portable terminal and the external device is linked to the predetermined control command to the docking agent unit and If the portable terminal is released from the external device, the mobile terminal may include a control route manager which transmits the predetermined control command to the second sub device.

일 실시예에서, 상기 도킹 에이전트부는 상기 휴대 단말을 구동하는 OS의 어플리케이션 계층에 탑재되고, 상기 제어루트 관리부는 상기 OS의 커널 계층에 탑재될 수 있다.In an embodiment, the docking agent unit may be mounted in an application layer of an OS that drives the portable terminal, and the control route manager may be mounted in a kernel layer of the OS.

일 실시예에서, 상기 제어부는 상기 휴대 단말을 구동하는 OS의 커널 계층에 탑재될 수 있다.In an embodiment, the controller may be mounted in a kernel layer of an OS that drives the portable terminal.

일 실시예에서, 상기 휴대 단말은 상기 외부 디바이스와의 연동을 감지하는 연동 감지부를 더 포함하되, 상기 제어부는 상기 외부 디바이스와의 연동이 감지된 경우, 상기 제1 서브 디바이스의 상태가 상기 제2 서브 디바이스의 상태로 변경되도록 하기 위하여 상기 외부 디바이스로 상기 제2 서브 디바이스의 상태 정보를 전달할 수 있다.In an embodiment, the portable terminal further includes an interlocking sensing unit configured to detect interworking with the external device, and wherein the control unit detects the interworking with the external device, wherein the state of the first sub-device is the second. In order to change to a state of a sub device, state information of the second sub device may be transmitted to the external device.

일 실시예에서, 상기 제어부는 상기 외부 디바이스와의 도킹 연결이 감지된 경우, 상기 제2 서브 디바이스를 비활성화할 수 있다.In an embodiment, the controller may deactivate the second sub device when a docking connection with the external device is detected.

본 발명의 일 측면에 따르면, 외부 디바이스와 연동되며 상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스를 포함하는 휴대 단말을 제어하는 방법으로서, 상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 휴대 단말에서 발생한 소정의 제어 명령을 상기 제1 서브 디바이스로 전달하는 단계 및 상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 소정의 제어 명령을 상기 제2 서브 디바이스로 전달하는 단계를 포함하는 휴대 단말을 제어하는 방법이 제공된다.According to an aspect of the present invention, a method of controlling a portable terminal interworking with an external device and including a second sub device corresponding to a first sub device included in the external device, the portable terminal interworking with the external device In response to the mobile terminal and the external device being disconnected from each other, transmitting the predetermined control command generated in the portable terminal to the first sub device. There is provided a method of controlling a portable terminal comprising the steps.

본 발명의 일 측면에 따르면, 외부 디바이스와 연동되며 상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스를 포함하는 휴대 단말을 제어하는 방법으로서, 상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 제1 서브 디바이스로부터 전달되는 제1 이벤트를 처리하는 단계 및 상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 제1 이벤트에 상응하고 상기 제2 서브 디바이스로부터 전달되는 제2 이벤트를 처리하는 단계를 포함하는 휴대 단말을 제어하는 방법이 제공된다.According to an aspect of the present invention, a method of controlling a portable terminal interworking with an external device and including a second sub device corresponding to a first sub device included in the external device, the portable terminal interworking with the external device Processing the first event transmitted from the first sub device, and if the portable terminal is disconnected from the external device, a second event corresponding to the first event and delivered from the second sub device. Provided is a method of controlling a mobile terminal, comprising the steps of:

일 실시예에서, 상기 휴대 단말과 상기 외부 디바이스는 도킹 연결의 방식으로 연동하며, 상기 휴대 단말은 도킹 인터페이스부를 더 포함하되, 상기 휴대 단말을 제어하는 방법은 상기 도킹 인터페이스부를 통한 상기 외부 디바이스와의 도킹 연결을 감지하는 단계 및 상기 외부 디바이스와의 도킹 연결이 감지된 경우, 상기 제1 서브 디바이스의 상태가 상기 제2 서브 디바이스의 상태로 변경되도록 하기 위하여 상기 외부 디바이스로 상기 제2 서브 디바이스의 상태 정보를 전달하는 단계를 더 포함할 수 있다.In one embodiment, the portable terminal and the external device is interlocked by a docking connection, the portable terminal further comprises a docking interface unit, the method for controlling the portable terminal with the external device through the docking interface unit Sensing a docking connection and, when a docking connection with the external device is detected, the state of the second subdevice to the external device to change the state of the first subdevice to the state of the second subdevice. The method may further include delivering information.

일 실시예에서, 상기 휴대 단말을 제어하는 방법은 상기 외부 디바이스와의 도킹 연결이 감지된 경우, 상기 제2 서브 디바이스를 비활성화 하는 단계를 더 포함할 수 있다.In an embodiment, the method of controlling the portable terminal may further include deactivating the second sub device when a docking connection with the external device is detected.

일 실시예에서, 상기 휴대 단말과 상기 외부 디바이스는 무선 연결의 방식으로 연동하며, 상기 휴대 단말은 무선 통신부를 더 포함하되, 상기 휴대 단말을 제어하는 방법은 상기 무선 통신부를 통한 상기 외부 디바이스와의 연동을 감지하는 단계 및 상기 외부 디바이스와의 연동이 감지된 경우, 상기 제1 서브 디바이스의 상태가 상기 제2 서브 디바이스의 상태로 변경되도록 하기 위하여 상기 외부 디바이스로 상기 제2 서브 디바이스의 상태 정보를 전달하는 단계를 더 포함할 수 있다.In one embodiment, the portable terminal and the external device is interlocked by a wireless connection, the portable terminal further comprises a wireless communication unit, the method for controlling the portable terminal with the external device via the wireless communication unit Detecting interlocking and when the interworking with the external device is detected, in order to change the state of the first subdevice to the state of the second subdevice, the external device receives the state information of the second subdevice. The method may further include delivering.

일 실시예에서, 상기 휴대 단말을 제어하는 방법은 상기 외부 디바이스와의 연동이 감지된 경우, 상기 제2 서브 디바이스를 비활성화 하는 단계를 더 포함할 수 있다.
In an embodiment, the method of controlling the portable terminal may further include deactivating the second sub-device when the interworking with the external device is detected.

본 발명의 실시예에 의하면, 휴대 단말이 외부 디바이스와 도킹 연결된 경우 상기 휴대 단말에서 발생한 소정의 제어 명령을 상기 외부 디바이스에 포함된 서브 디바이스로 전달하고, 상기 휴대 단말과 상기 외부 디바이스가 도킹 해제된 경우에는 상기 소정의 제어 명령을 상기 외부 디바이스에 포함된 서브 디바이스와 상응하는 상기 휴대 단말의 서브 디바이스로 전달하는 휴대 단말 및 그 제어 방법을 제공할 수 있다.According to an exemplary embodiment of the present invention, when a portable terminal is docked with an external device, a predetermined control command generated by the portable terminal is transmitted to a sub device included in the external device, and the portable terminal and the external device are undocked. In this case, a portable terminal and a method of controlling the same may be provided to transmit the predetermined control command to a sub device of the portable terminal corresponding to the sub device included in the external device.

본 발명의 실시예에 의하면, 상기 휴대 단말이 상기 외부 디바이스와 도킹 연결된 경우에는 상기 외부 디바이스에 포함된 서브 디바이스로부터 전달되는 이벤트를 처리하고, 상기 휴대 단말과 상기 외부 디바이스가 도킹 해제된 경우에는 상기 외부 디바이스에 포함된 서브 디바이스와 상응하고 상기 휴대 단말에 포함된 서브 디바이스로부터 전달되는 이벤트를 처리하는 휴대 단말 및 그 제어 방법을 제공할 수 있다.
According to an embodiment of the present invention, when the portable terminal is docked with the external device, an event transmitted from a sub device included in the external device is processed, and when the portable terminal and the external device are undocked, A mobile terminal and a method of controlling the same may correspond to a sub device included in an external device and process an event transmitted from a sub device included in the mobile terminal.

도 1은 본 발명의 실시예에 따른 휴대 단말의 블록 구성도의 일 예.
도 2는 본 발명의 실시예에 따른 휴대 단말과 도킹 연결되는 외부 디바이스의 블록 구성도의 일 예.
도 3은 도 2의 도킹 디바이스의 외관 사시도의 일 예
도 4는 서브 디바이스 식별 정보 테이블의 일 예.
도 5는 도킹 인터페이스부의 구성을 예시한 도면
도 6 내지 도 7은 본 발명의 일 실시예에 따른 휴대 단말과 외부 디바이스가 도킹 연결되는 경우 연결 수립 과정을 설명하는 흐름도.
도 8은 본 발명의 일 실시예에 따른 휴대 단말과 외부 디바이스가 도킹 연결이 해제 되는 경우 수행되는 일련의 과정을 설명하는 흐름도.
도 9는 도킹 연결 해제 시 제어 경로를 도시한 블록 구성도.
도 10은 도킹 연결 시 제어 경로를 도시한 블록 구성도.
1 is an example of a block diagram of a portable terminal according to an embodiment of the present invention.
2 is an example of a block diagram of an external device docked and connected to a mobile terminal according to an embodiment of the present invention.
3 is an example of an external perspective view of the docking device of FIG.
4 is an example of a subdevice identification information table.
5 is a diagram illustrating a configuration of a docking interface unit.
6 to 7 are flowcharts illustrating a connection establishment process when a portable terminal and an external device are connected to a dock according to an embodiment of the present invention.
8 is a flowchart illustrating a series of processes performed when the portable terminal and the external device are released from the docking connection according to an embodiment of the present invention.
9 is a block diagram illustrating a control path when the docking connection is released.
10 is a block diagram illustrating a control path in the docking connection.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 이를 상세한 설명을 통해 상세히 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.The present invention may be variously modified and have various embodiments, and specific embodiments will be illustrated in the drawings and described in detail with reference to the accompanying drawings. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 본 명세서의 설명 과정에서 이용되는 숫자(예를 들어, 제1, 제2 등)는 하나의 구성요소를 다른 구성요소와 구분하기 위한 식별기호에 불과하다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.

본 명세서에서 일 구성요소와 다른 구성요소 사이에 데이터가 ‘전송’ 또는 ‘전달’ 되거나 ‘송신’ 또는 ‘수신’되는 경우에는, 상기 데이터는 상기 구성요소와 상기 다른 구성요소 사이에 직접 전송되거나 송신 또는 수신될 수도 있지만, 특별히 반대되는 기재가 존재하지 않는 이상, 적어도 하나의 또 다른 구성요소를 매개로 하여 상기 데이터가 전송되거나 송신 또는 수신될 수 있다.In the present specification, when data is 'transmitted' or 'delivered' or 'sent' or 'received' between one component and another component, the data is directly transmitted or transmitted between the component and the other component. Or may be received, but unless otherwise stated, the data may be transmitted, transmitted or received via at least one other component.

본 명세서에서, 단말은 또한, 시스템, 장치, 가입자 유닛, 가입자 스테이션, 모바일, 이동 단말기, 원격 스테이션, 원격 단말기, 액세스 단말기, 사용자 단말기, 단말기, 통신 장치, 사용자 에이전트, 사용자 장치 또는 사용자 장비(UE)로 불릴 수도 있다. 무선 단말은 휴대폰, 스마트 폰(smart phone), PDA(Personal Digital Assistants), 휴대 전화, 위성 전화, 무선 전화, SIP(Session Initiation Protocol) 전화, WLL(Wireless Local Loop) 스테이션, 무선 접속 기능을 갖는 핸드헬드 장치, PMP(Portable Multimedia Player), 네비게이션 또는 다른 무선 모뎀에 연결된 프로세싱 장치 등을 포함할 수 있다.In this specification, a terminal is also a system, device, subscriber unit, subscriber station, mobile, mobile terminal, remote station, remote terminal, access terminal, user terminal, terminal, communication device, user agent, user device or user equipment (UE). It can also be called). Wireless terminals include mobile phones, smart phones, personal digital assistants (PDAs), mobile phones, satellite phones, wireless phones, Session Initiation Protocol (SIP) phones, wireless local loop (WLL) stations, hands with wireless connectivity And a processing device connected to a handheld device, a portable multimedia player (PMP), navigation, or other wireless modem.

본 명세서에서, 외부 기기는 노트북 컴퓨터, 타블렛(Tablet) PC, 터치 스크린을 구비한 패드, 스크린 및 키패드를 구비한 패드일 수 있으며, 기타 휴대 기기를 도킹할 수 있는 구조를 가지는 장치의 형태로도 구현될 수 있다.In the present specification, the external device may be a notebook computer, a tablet PC, a pad with a touch screen, a pad with a screen and a keypad, and also in the form of a device having a structure capable of docking other portable devices. Can be implemented.

본 발명은 외부 기기와 서로 연동될 수 있는 휴대 단말에 관한 것으로서, 연동의 방식은 유, 무선을 가리지 않는다. 즉, 일 실시예에서, 휴대 단말과 외부 기기는 서로 도킹 연결의 방식으로 연동될 수 있다. 이 경우 휴대 단말과 외부 기기는 서로 도킹 연결하기 위한 도킹 인터페이스를 가질 수 있다. 또한, 본 발명의 다른 실시예에 따른 휴대 단말과 외부 기기는 서로 무선 통신을 통해 데이터를 주고 받음으로써 연동될 수도 있다. 이 경우에는 휴대 단말과 외부 기기는 상기 무선 통신에 적합한 무선 통신 장치를 구비하고 있어야 할 것이며, 앞선 실시예에 따른 휴대 단말이 구비해야 하는 도킹 인터페이스를 별도로 구비하지 않을 수 있다. 이처럼 본 발명의 실시예에 따른 휴대 단말이 외부 기기와 연동되는 방식에는 제한이 없으나, 이하에서는 설명과 이해의 편의를 위하여 휴대 단말 및 외부 기기가 도킹 연결의 방식으로 연동되는 실시예에 대해 주로 설명하기로 한다. The present invention relates to a portable terminal capable of interworking with an external device, and the interworking method is wired or wireless. That is, in one embodiment, the mobile terminal and the external device can be linked to each other by the docking connection method. In this case, the portable terminal and the external device may have a docking interface for docking connection with each other. In addition, the portable terminal and the external device according to another embodiment of the present invention may be interworked by exchanging data with each other through wireless communication. In this case, the portable terminal and the external device should be provided with a wireless communication device suitable for the wireless communication, it may not be provided with a docking interface that the portable terminal according to the previous embodiment should be provided separately. As such, there is no limitation on the manner in which the mobile terminal interoperates with an external device, but the following will mainly describe an embodiment in which the mobile terminal and the external device interoperate in a docking connection method for convenience of description and understanding. Let's do it.

이하, 첨부된 도면들을 참조하여 본 발명의 실시예들을 중심으로 본 발명을 상세히 설명한다.
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

[도 1의 설명][Description of Fig. 1]

도 1은 본 발명의 실시예에 따른 휴대 단말의 블록 구성도를 도시한 것이다. 그리고 도 5는 도킹 인터페이스부의 구성을 예시한 도면이다.1 is a block diagram of a portable terminal according to an embodiment of the present invention. 5 is a diagram illustrating a configuration of a docking interface unit.

이하 도 1의 블록 구성도를 중심으로 도 5를 참조하여 본 발명의 휴대 단말의 일 예에 대해서 설명한다.Hereinafter, an example of a portable terminal of the present invention will be described with reference to FIG. 5 based on the block diagram of FIG. 1.

도 1을 참조하면, 본 발명의 실시예에 따라 외부 디바이스와 결합하는 휴대 단말(100)은, 무선 통신부(110), A/V 입력 장치부(120), 사용자 입력부(130), 센싱부(140), 영상 처리부(140), 내부 저장 장치부(150), 외부 저장 장치부(155), 영상 출력 장치(160), 오디오 출력 장치(165), 도킹 인터페이스부(180), 제어부(190), 연동 감지부(199) 및 전원부(105)를 포함할 수 있다. 전원부(105)는 단말 충전을 위한 배터리를 포함할 수 있다.Referring to FIG. 1, a mobile terminal 100 coupled to an external device according to an embodiment of the present invention may include a wireless communication unit 110, an A / V input device unit 120, a user input unit 130, and a sensing unit ( 140, the image processor 140, the internal storage unit 150, the external storage unit 155, the image output device 160, the audio output device 165, the docking interface unit 180, and the controller 190. It may include an interlock detection unit 199 and the power supply unit 105. The power supply unit 105 may include a battery for charging the terminal.

다만 도 1의 구성요소들 중 일부 구성요소는 반드시 본 발명의 구현에 필수적으로 필요한 구성요소에 해당하지 않을 수도 있으며, 또한 실시예에 따라 상기 휴대 단말(100)은 이보다 더 많은 구성요소를 포함할 수도 있음은 물론이다.However, some of the components in FIG. 1 may not necessarily be necessary components necessary for the implementation of the present invention. Also, according to the embodiment, the mobile terminal 100 may include more components Of course it is possible.

이하, 상기 구성요소들에 대해 차례로 살펴본다.Hereinafter, the components will be described in order.

무선 통신부(110)는 휴대 단말(100)과 무선 통신 시스템 사이 또는 휴대 단말(100)과 다른 단말과의 무선 통신 기능을 수행한다. 본 발명의 실시예에 의할 때 상기 휴대 단말(100)은 이동 통신 단말일 수 있으며, 이 경우 무선 통신부(110)는 이동 통신 모듈을 포함할 수 있다. 또한 휴대 단말의 종류에 따라 무선 통신부(100)는 근거리 무선 통신 모듈, 무선 인터넷 모듈, 방송 수신 모듈, GPS 수신 모듈 등과 같은 통신 장치를 포함할 수도 있다.The wireless communication unit 110 performs a wireless communication function between the mobile terminal 100 and the wireless communication system or between the mobile terminal 100 and another terminal. According to an embodiment of the present invention, the portable terminal 100 may be a mobile communication terminal, and in this case, the wireless communication unit 110 may include a mobile communication module. Also, according to the type of portable terminal, the wireless communication unit 100 may include a communication device such as a short range wireless communication module, a wireless internet module, a broadcast receiving module, a GPS receiving module, or the like.

또한 본 명세서에서는 휴대 단말(100)이 휴대폰, 스마트폰 등과 같이 무선 통신을 위한 장치를 포함하는 것으로 예시하였으나, 본 발명에 따라 외부 디바이스와 도킹 결합되는 휴대 단말은 반드시 무선 통신 장치를 포함할 필요는 없으며, 유선 통신 장치를 포함하는 단말이거나 또는 통신 기능이 지원되지 않는 단말이어도 무방하다.In addition, in the present specification, the mobile terminal 100 is illustrated as including a device for wireless communication, such as a mobile phone, a smart phone, etc., according to the present invention, the mobile terminal docked and coupled to the external device does not necessarily include a wireless communication device. The terminal may be a terminal including a wired communication device or a terminal that does not support a communication function.

A/V 입력 장치부(120)는 오디오 신호 또는/및 비디오 신호 입력을 위한 것으로, 이에는 카메라와 마이크 등이 포함될 수 있다.The A / V input unit 120 is for inputting an audio signal and / or a video signal, and may include a camera and a microphone.

사용자 입력부(130)는 사용자로부터 각종 명령을 입력 받기 위한 사용자 인터페이스(user interface)로서, 그 구현 방식에는 특별한 제한이 없다. 예를 들어, 사용자 입력부(130)는 키 패드 입력 장치(134) 또는/및 터치 패드, 터치 스크린과 같은 터치 입력 장치(132) 등을 포함할 수 있다.The user input unit 130 is a user interface for receiving various commands from a user, and its implementation is not particularly limited. For example, the user input unit 130 may include a keypad input device 134 or / and a touch input device 132 such as a touch pad or a touch screen.

센싱부(140)는 가속도 센서(142), 조도 센서(144)를 비롯하여, 자이로 센서, 근접 센서, 접촉 센서 등과 같은 각종 센서를 포함함으로써, 휴대 단말(100)의 부가 기능/동작을 구현할 수 있도록 한다.The sensing unit 140 may include various sensors such as an acceleration sensor 142 and an illuminance sensor 144 as well as a gyro sensor, a proximity sensor, a contact sensor, and the like, to implement additional functions / operations of the mobile terminal 100. do.

내부 저장 장치부(150) 및 외부 저장 장치부(155)는 휴대 단말(100)의 데이터 저장 장소로 이용되며, 이때 내부 저장 장치부(150)는 RAM, SDRAM, 플래시 메모리 등으로 구현될 수 있고, 외부 저장 장치부(155)는 SD 카드, USB 메모리 등으로 구현될 수 있다. 특히, 본 발명의 실시예에 따를 때, 도킹 결합된 상태의 외부 디바이스(200)도 외부 저장 장치부(155)로서 기능할 수 있다.The internal storage unit 150 and the external storage unit 155 are used as a data storage location of the mobile terminal 100, and the internal storage unit 150 may be implemented as RAM, SDRAM, flash memory, or the like. The external storage unit 155 may be implemented as an SD card, a USB memory, or the like. In particular, according to an embodiment of the present invention, the external device 200 in a docked state may also function as the external storage unit 155.

영상 출력 장치(160)는 액정 패널, AMOLED 등으로 구현될 수 있고, 오디오 출력 장치(165)는 스피커, 리시버, 버저 등이 포함될 수 있다.백라이트 장치(270)는 디스플레이에서가독성을 높이기 위해서 디스플레이 뒤에서 빛을 발산하는 발광체로서 냉음극 형광램프(CCFL), 외부전극 형광램프(EEFL), 발광다이오드(LED), 평판형 형광램프(FFL) 등으로 구현될 수 있다.The image output device 160 may be implemented as a liquid crystal panel, an AMOLED, and the like, and the audio output device 165 may include a speaker, a receiver, a buzzer, etc. The backlight device 270 may be disposed behind the display to increase readability in the display. The light emitting device may emit light, and may be implemented as a cold cathode fluorescent lamp (CCFL), an external electrode fluorescent lamp (EEFL), a light emitting diode (LED), and a flat fluorescent lamp (FFL).

도킹 인터페이스부(180)는 휴대 단말(100)과 외부 디바이스(200) 간의 물리적 도킹 결합이 이루어진 경우, 휴대 단말(100)로부터 외부 디바이스(200)로의 영상 데이터 출력, 오디오 신호 출력, 그리고 휴대 단말(100)과 외부 디바이스(200) 상호 간의 데이터 입출력을 위한 인터페이스를 포함할 수 있다. 이를 위해, 도킹 인터페이스부(180)는 도 1에 도시된 바와 같이, 영상 입출력 인터페이스(182), 오디오 입출력 인터페이스(184), 데이터 입출력 인터페이스(186) 등을 포함할 수 있다. 물론 실시예에 따라 도 1에 도시된 인터페이스들 보다 적거나 더 많은 인터페이스들이 포함될 수도 있다. 일 예로, 도킹 인터페이스부(180)는 설계에 따라 오디오 입출력 인터페이스(184)는 구비되지 않을 수도 있다. 다른 예로, 도킹 인터페이스부(180)는 외부 디바이스(200)와 도킹 결합된 상태에서 그 외부 디바이스(200) 측으로부터 휴대 단말(100)로 전원을 공급받기 위한 통로로서 기능하는 전원 입력 단자(미도시)를 포함할 수도 있다. 이외에도 도킹 인터페이스부(180)는 설계 방식에 따라 추가적인 인터페이스들을 더 포함할 수도 있음은 자명하다.When the docking interface 180 is physically docked with the portable terminal 100 and the external device 200, the docking interface unit 180 outputs the image data, the audio signal output, and the portable terminal from the portable terminal 100 to the external device 200. 100 and an external device 200 may include an interface for data input and output. To this end, the docking interface 180 may include an image input / output interface 182, an audio input / output interface 184, a data input / output interface 186, and the like, as shown in FIG. 1. Of course, in some embodiments, fewer or more interfaces may be included than the interfaces shown in FIG. 1. For example, the docking interface 180 may not include the audio input / output interface 184 according to the design. As another example, the docking interface unit 180 may be a power input terminal (not shown) which functions as a passage for receiving power from the external device 200 to the portable terminal 100 in a docked state with the external device 200. ) May be included. In addition, it is obvious that the docking interface unit 180 may further include additional interfaces according to a design scheme.

상기 도킹 인터페이스부(180)에 대한 구체적 구성 예가 도 5를 통해 도시되어 있다. 도5를 참조하면, 본 발명의 또 다른 실시예에 따라, 상기 도킹 인터페이스부(180)는, 외부 디바이스(200)와의 도킹 결합시, 영상/오디오 입출력을 위한 인터페이스로서 HDMI(High Definition Multimedia Interface) 표준, 데이터 입출력을 위한 인터페이스로 USB(Universal Serial Bus) 표준이 이용되는 예가 도시되어 있다. 이와 같은 경우, 도킹 인터페이스부(180)에는, HDMI 및 USB를 지원하기 위한 커넥터가 각각 구비되어 있을 수 있다. 다만 도 5는 일 예에 불과하며 이외에도 다양한 인터페이스 구성이 가능할 것임은 물론이며, HDMI 및 USB 이외의 다른 영상/오디오 입출력 인터페이스 방식, 데이터 입출력 인터페이스 방식이 이용될 수 있음도 물론이다.A detailed configuration example of the docking interface unit 180 is illustrated through FIG. 5. Referring to FIG. 5, according to another embodiment of the present invention, the docking interface unit 180 may be a high definition multimedia interface (HDMI) as an interface for video / audio input / output when docked with an external device 200. An example in which the Universal Serial Bus (USB) standard is used as a standard and an interface for data input and output is shown. In this case, the docking interface 180 may be provided with connectors for supporting HDMI and USB, respectively. However, FIG. 5 is just an example, and in addition, various interface configurations may be possible, as well as other video / audio input / output interface methods and data input / output interface methods other than HDMI and USB.

또한, 본 발명의 실시예에 따르면, 휴대 단말(100)에 구비된 도킹 인터페이스부(180)를 통해, HDMI 또는 USB 단자를 가지고 있는 전자기기 또는 가전제품과 연결함으로써, 휴대 단말(100)의 영상/오디오를 위 전자기기 또는 가전제품의 영상 출력 장치 및 오디오 출력 장치를 통해서 출력할 수 있다. 즉, 본 발명의 실시예에 따르면, 후술할 외부 디바이스(200)와 같은 구성을 가지고 있지 않은 일반 전자기기(예를 들어, TV, 모니터) 등에도 상기 도킹 인터페이스부(180)의 HDMI 또는 USB 단자를 통해서 휴대 단말(100)의 화면 등을 해당 전자기기로 송출할 수도 있게 된다.According to the embodiment of the present invention, by connecting with an electronic device or a household appliance having an HDMI or USB terminal through the docking interface unit 180 provided in the portable terminal 100, / Audio can be output through the video output device and the audio output device of the above electronic appliances or appliances. That is, according to the exemplary embodiment of the present invention, the HDMI or USB terminal of the docking interface unit 180 may also be used for general electronic devices (for example, TVs and monitors) that do not have the same configuration as the external device 200 to be described later. Through the screen of the portable terminal 100 can be transmitted to the electronic device.

연동 감지부(199)는 도킹 인터페이스부(180)를 통한 상기 외부 디바이스(200)와의 도킹 연결을 감지할 수 있다.The interlock detection unit 199 may detect a docking connection with the external device 200 through the docking interface unit 180.

일 실시예에서, 휴대 단말(100)과 외부 디바이스(200)가 물리적으로 도킹 연결이 되면, 휴대 단말(100)은 외부 디바이스(200)에 소정의 제1 전기적 신호를 보내어 외부 디바이스(200)로 하여금 물리적으로 도킹 연결이 이루어졌음을 감지하도록 할 수 있다. 도킹 인터페이스부(180)가 도 5에 도시된 바와 같은 인터페이스로 구성되는 실시 예의 경우에는, 특히 상기 제1 전기적 신호는 HDMI 5V Power 핀을 통해 외부 디바이스(200)에 전달될 수 있다. 이러한 방식은 휴대 단말(100)이 전원이 켜져 있는 상태에서는 항상 HDMI 5V Power 핀에 전원을 공급되도록 구현된 경우에 특히 유용할 수 있다. 왜냐하면, HDMI 5V Power 핀으로부터 파워가 더 이상 공급되지 않음을 외부 디바이스(200)가 감지한 경우에는 물리적 도킹 연결이 해제 되었다고 판단할 수 있기 때문이다.In an embodiment, when the portable terminal 100 and the external device 200 are physically docked, the portable terminal 100 sends a predetermined first electrical signal to the external device 200 to the external device 200. It may be possible to detect that the docking connection is physically established. In an exemplary embodiment in which the docking interface 180 is configured as an interface as shown in FIG. 5, in particular, the first electrical signal may be transmitted to the external device 200 through an HDMI 5V power pin. This method may be particularly useful when the portable terminal 100 is implemented to always supply power to the HDMI 5V Power pin while the power is turned on. This is because, when the external device 200 detects that power is no longer supplied from the HDMI 5V Power pin, it may be determined that the physical docking connection is released.

이후, 외부 디바이스(200)는 휴대 단말(100)로 하여금 물리적으로 도킹 연결이 이루어졌음을 감지하도록 할 수 있도록 소정의 제2 전기적 신호를 휴대 단말(100)에 전송할 수 있다. 그러면, 연동 감지부(199)는 상기 소정의 제2 전기적 신호를 감지하여 휴대 단말(100)과 외부 디바이스 간의 도킹 연결을 감지할 수 있다. 도킹 인터페이스부(180)가 도 5에 도시된 바와 같은 인터페이스로 구성되는 실시 예의 경우에는, 특히 상기 제2 전기적 신호는 전술한 제1 전기적 신호와 유사한 이유로 HDMI Hot Plug Detect(HPD)핀을 통해 휴대 단말(100)로 전송될 수 있다.Thereafter, the external device 200 may transmit a predetermined second electrical signal to the mobile terminal 100 so that the mobile terminal 100 can detect that the docking connection is physically established. Then, the interlocking detection unit 199 can detect the docking connection between the portable terminal 100 and the external device by sensing the predetermined second electric signal. In the case of the embodiment in which the docking interface 180 is configured as an interface as shown in FIG. 5, in particular, the second electrical signal is carried through the HDMI Hot Plug Detect (HPD) pin for a reason similar to that of the first electrical signal described above. It may be transmitted to the terminal 100.

앞서 언급한 바와 같이, 또 다른 실시예에서, 휴대 단말(100)과 외부 디바이스(200)는 물리적 도킹 연결 대신, 서로 무선 통신을 이용하여 연동할 수도 있다. 이 경우에는 휴대 단말(100) 및 외부 디바이스(200)는 전술한 도킹 인터페이스를 대신할 연동 인터페이스를 구비할 수 있다. 이 연동 인터페이스는 WIFI나 블루투스로 구현될 수도 있고, 무선 HDMI인터페이스나 무선 USB인터페이스를 구비할 수도 있다. As mentioned above, in another embodiment, the mobile terminal 100 and the external device 200 may interwork with each other using wireless communication instead of the physical docking connection. In this case, the mobile terminal 100 and the external device 200 may include an interworking interface to replace the aforementioned docking interface. The interworking interface may be implemented by WIFI or Bluetooth, or may include a wireless HDMI interface or a wireless USB interface.

한편, 무선 통신을 통해 연동되는 실시예에서, 연동 감지부(199)는 휴대 단말(100)과 외부 디바이스(200)간에 무선 커넥션이 성립되었는지 여부를 가지고 연동 여부를 판단할 수 있다.Meanwhile, in an embodiment of interworking through wireless communication, the interlocking detection unit 199 may determine whether the interworking is performed with or without a wireless connection between the portable terminal 100 and the external device 200.

제어부(190)는 휴대 단말(100)의 각 구성요소들 그리고 휴대 단말(100)의 전반적 동작을 제어할 수 있다. 본 발명의 일 실시예에서, 제어부(190)는 외부 디바이스(200)와의 도킹 결합에 따른 휴대 단말(100)의 동작 제어 기능을 수행할 수 있다. The controller 190 may control the components of the mobile terminal 100 and the overall operation of the mobile terminal 100. In an embodiment of the present disclosure, the controller 190 may perform an operation control function of the portable terminal 100 according to the docking coupling with the external device 200.

특히, 제어부(190)는 본 발명의 일 실시예에 따른 외부 디바이스(본 명세서에서는 외부 디바이스(200)를 예시함)와의 도킹 연결 시 휴대 단말(100)를 구성하는 각종 장치(이하에서는 ‘서브 디바이스’라고 하며, 도 1에 도시된 터치 입력 장치(132), 키패드 입력 장치(134), 조도 센서(142), 가속도 센서(144), 백라이트 장치(170) 등을 서브 디바이스의 예시로 들 수 있음) 대신 이에 상응하는 외부 디바이스에 포함된 서브 디바이스를 제어하도록 서브 디바이스의 명령 및/또는 이벤트의 제어 경로를 변경할 수 있다. 다시 말하면, 제어부(190)는 휴대 단말(100)이 외부 디바이스(200)와 도킹 연결된 경우에는 휴대 단말(100)에서 발생 소정의 제어 명령을 외부 디바이스(200)에 포함된 서브 디바이스로 전달하고, 휴대 단말(100)과 외부 디바이스(200)가 도킹 해제된 경우에는 상기 소정의 제어 명령을 외부 디바이스(200)에 포함된 상기 서브 디바이스에 상응하는 휴대 단말(100)의 서브 디바이스로 전달할 수 있다. 또한, 제어부(190)는 휴대 단말(100)이 외부 디바이스(200)와 도킹 연결된 경우에는 외부 디바이스(200)에 포함된 서브 디바이스로부터 전달되는 이벤트를 처리하고, 휴대 단말(100)과 외부 디바이스(200)가 도킹 해제된 경우에는 외부 디바이스(200)에 포함된 서브 디바이스에 상응하는 휴대 단말(100)의 서브 디바이스로부터 전달되는 이벤트를 처리할 수 있다.In particular, the control unit 190 may be a variety of devices (hereinafter referred to as' sub-devices) constituting the mobile terminal 100 when docking connection with an external device according to an embodiment of the present invention (in this specification, the external device 200 is illustrated). The touch input device 132, the keypad input device 134, the illuminance sensor 142, the acceleration sensor 144, and the backlight device 170 illustrated in FIG. 1 may be used as examples of the sub device. Instead, the control path of the command and / or event of the subdevice may be changed to control the subdevice included in the corresponding external device. In other words, when the mobile terminal 100 is docked with the external device 200, the controller 190 transmits a predetermined control command generated in the mobile terminal 100 to a sub device included in the external device 200. When the mobile terminal 100 and the external device 200 are undocked, the predetermined control command may be transmitted to a sub device of the mobile terminal 100 corresponding to the sub device included in the external device 200. In addition, when the portable terminal 100 is docked with the external device 200, the controller 190 processes an event transmitted from a sub device included in the external device 200, and the portable terminal 100 and the external device ( When the 200 is undocked, an event transmitted from the subdevice of the mobile terminal 100 corresponding to the subdevice included in the external device 200 may be processed.

상기 소정의 제어 명령은 서브 디바이스를 온/오프하는 명령일 수도 있다. 예를 들면, 서브 디바이스가 LCD 장치인 경우에는 LCD 장치에 대한 제어 명령은 온/오프 명령일 수 있다. 상기 소정의 제어 명령은 서브 디바이스의 상태 값을 읽어오는 명령일 수도 있다. 예를 들면 서브 디바이스가 조도 센서인 경우에는 상기 소정의 제어 명령은 조도 센서가 감지한 값을 읽어오는 명령일 수 있다. 또한 상기 소정의 제어 명령은 서브 디바이스에 상태 값을 설정하는 명령일 수 있다. 예를 들면 서브 디바이스가 백라이트 장치인 경우에는 상기 소정의 제어 명령은 백라이트의 밝기 값을 설정하는 명령일 수 있다. The predetermined control command may be a command for turning on / off a sub device. For example, when the sub device is an LCD device, the control command for the LCD device may be an on / off command. The predetermined control command may be a command for reading a state value of a sub device. For example, when the sub device is an illuminance sensor, the predetermined control command may be a command for reading a value detected by the illuminance sensor. The predetermined control command may be a command for setting a state value in the sub device. For example, when the sub device is a backlight device, the predetermined control command may be a command for setting a brightness value of the backlight.

일 실시예에서, 도 1에 도시된 바와 같이, 제어부(190)는 상기 소정의 제어 명령을 도킹 인터페이스부(180)를 통해 외부 디바이스(200)로 전달하는 도킹 에이전트부() 및 휴대 단말(100)이 외부 디바이스(200)와 도킹 연결된 경우에는 상기 소정의 제어 명령을 도킹 에이전트(192)로 전달하고, 휴대 단말(100)과 상기 외부 디바이스가 도킹 해제된 경우에는 상기 소정의 제어 명령을 휴대 단말에 포함된 서브 디바이스로 전달하는 제어 루트 관리부(194)를 포함할 수 있다. 이에 대하여는 추후 도9 내지 도 10을 참조하여 자세히 설명하기로 한다.In an embodiment, as illustrated in FIG. 1, the controller 190 may transfer the predetermined control command to the external device 200 through the docking interface unit 180 and the portable terminal 100. ) Is docked and connected to the external device 200, and transmits the predetermined control command to the docking agent 192, and when the portable terminal 100 and the external device are undocked, the predetermined control command It may include a control route management unit 194 to deliver to the sub-device included in. This will be described in detail later with reference to FIGS. 9 to 10.

한편, 영상 처리부(196)는 영상 신호 또는 데이터에 대한 변환/처리를 수행한다. 특히, 본 발명의 실시예에서, 영상 처리부(196)는 휴대 단말(100)과 외부 디바이스(200) 간이 도킹 결합되었을 때, 외부 디바이스(200)로 전송될 영상 데이터에 대한 영상 처리, 신호 변환 처리 등을 수행할 수 있다.
On the other hand, the image processor 196 performs conversion / processing on the image signal or data. In particular, in the exemplary embodiment of the present invention, when the portable terminal 100 and the external device 200 are docked and coupled to each other, the image processing unit 196 may perform image processing and signal conversion processing on image data to be transmitted to the external device 200. And the like.

[도 2의 설명][Description of Fig. 2]

도 2는 본 발명의 실시예에 따른 연결 수립 방법이 실행될 수 있는 외부 디바이스의 블록 구성도의 일 예이고, 도 3은 도 2의 외부 디바이스의 외관 사시도의 일 예이다. 여기서, 도 3은 외부 디바이스에 대한 다양한 외관 구현 디자인 중 일 예를 예시한 것이며, 이에 의해 외부 디바이스가 한정되는 것이 아니다.FIG. 2 is an example of a block diagram of an external device in which a connection establishment method according to an embodiment of the present invention can be executed, and FIG. 3 is an example of an external perspective view of the external device of FIG. 2. Here, FIG. 3 illustrates an example of various appearance implementation designs for the external device, and the external device is not limited thereto.

이하, 도 2 및 도 3의 경우를 설명한다.Hereinafter, the case of FIG. 2 and FIG. 3 is demonstrated.

도 2를 참조하면, 외부 디바이스(200)는, 영상 출력 장치(260), 오디오 출력 장치(265), 백라이트 장치(270), 터치 입력 장치(232)나 키 패드 입력 장치(234)와 같은 사용자 입력 장치(230), 조도 센서(242)나 가속도 센서(244) 기타 각종 센서를 포함하는 센싱부(240), 저장 장치부(260), 도킹 인터페이스부(250), 전원부(205) 및 도킹 관리부(292)와 부팅부(294)를 포함하는 제어부(290)를 포함할 수 있다.Referring to FIG. 2, the external device 200 may be a user such as an image output device 260, an audio output device 265, a backlight device 270, a touch input device 232, or a keypad input device 234. Sensing unit 240, storage unit 260, docking interface unit 250, power supply unit 205 and the docking management unit including the input device 230, the illumination sensor 242 or the acceleration sensor 244 and other various sensors The control unit 290 may include a 292 and a booting unit 294.

상기 외부 디바이스(200)에 포함된 각종 장치(즉, 서브 디바이스) 중 일부는 휴대 단말(100)의 서브 디바이스와 상응할 수 있다. 본 명세서에서 외부 디바이스(200)의 서브 디바이스와 휴대 단말(100)의 서브 디바이스가 서로 상응한다라고 함은 양자에 같은 제어 명령을 내린 경우 동일하거나 유사한 기능을 수행하거나, 특정 상황에서 동일한 이벤트(혹은 이벤트 시그널, I/O시그널)를 생성하는 것을 의미한다. 도 1 및 도 2에 도시된 휴대 단말(100)과 외부 디바이스(200)를 예로 들면, 휴대 단말(100)의 백라이트 장치(170) 및 외부 디바이스(200)의 백라이트 장치(270)는 모두 턴 온(turn on)명령에 따라 디스플레이 장치로 빛을 발산하고, 턴 오프(turn off) 명령에 따라 빛 발산을 중지하므로 이들은 서로 상응할 수 있다. 또한, 휴대 단말(100)의 조도 센서(142)와 외부 디바이스(200)의 조도 센서(142)는 모두 턴 온 명령에 의해 감지 기능을 수행하며, 조도 감지 결과 값을 생성하므로 이들 역시 상응할 수 있다. 기타 휴대 단말(100)의 가속도 센서(144), 터치 입력 장치(132), 키패드 입력 장치(134), 외부 저장 장치(155), 영상 출력 장치(160), 오디오 출력 장치(165)는 각각 외부 디바이스(200)의 가속도 센서(244), 터치 입력 장치(232), 키패드 입력 장치(234), 저장 장치부(250), 영상 출력 장치(260), 오디오 출력 장치(265)와 서로 상응할 수 있다.Some of the various apparatuses (ie, sub-devices) included in the external device 200 may correspond to sub-devices of the mobile terminal 100. In the present specification, the subdevice of the external device 200 and the subdevice of the mobile terminal 100 correspond to each other to perform the same or similar function when the same control command is given to both, or to perform the same event (or Event signal, I / O signal). Taking the portable terminal 100 and the external device 200 illustrated in FIGS. 1 and 2 as examples, both the backlight device 170 of the portable terminal 100 and the backlight device 270 of the external device 200 are turned on. They emit light to the display device according to a turn on command and stop light emission according to a turn off command so that they can correspond to each other. In addition, since the illumination sensor 142 of the mobile terminal 100 and the illumination sensor 142 of the external device 200 both perform a sensing function by a turn on command and generate an illumination detection result value, these may also correspond. have. The acceleration sensor 144, the touch input device 132, the keypad input device 134, the external storage device 155, the image output device 160, and the audio output device 165 of the portable terminal 100 are each external. The acceleration sensor 244, the touch input device 232, the keypad input device 234, the storage device 250, the image output device 260, and the audio output device 265 of the device 200 may correspond to each other. have.

본 명세서에서는 설명의 편의를 위하여 서로 상응하는 서브 디바이스 간에 동일한 용어를 사용하였으나(예를 들어, 도 1의 조도 센서(142)와 도 2의 조도 센서(242) 또는 도 1의 오디오 출력 장치(165)와 도 2의 오디오 출력 장치(265)), 서로 상응한다는 의미가 용어에 구애되는 것은 아니다. 휴대 단말(100)과 외부 디바이스(200)의 서브 디바이스가 서로 상응하는 지 여부를 판단하기 위하여, 휴대 단말(100)과 외부 디바이스(200)는 공통된 규약에 따라 서브 디바이스 식별 정보를 관리할 수 있다. 도 4는 본 발명에 따른 휴대 단말(100)이 포함하고 있는 서브 디바이스의 식별 정보의 테이블(101) 및 외부 디바이스(200)가 포함하고 있는 서브 디바이스의 식별 정보의 테이블(102)의 일 예를 도시한 그림이다. 도4를 참조하면, 휴대 단말(100)과 외부 디바이스(200)는 서로 상응하는 마이크(식별 정보 값: 2), 조도센서(식별 정보 값: 4), 가속도 센서(식별 정보 값: 5), 터치 스크린(식별 정보 값: 7), 백라이트 장치(식별 정보 값: 10), 내부 저장 장치(식별 정보 값: 11)를 가진다. 휴대 단말(100)과 외부 디바이스(200)는 각 서브 디바이스의 식별 정보 값을 비교함으로써 서로 어떤 서브 디바이스를 포함하고 있는지, 그 중 어떤 서브 디바이스가 서로 상응하는지 판단할 수 있다.In this specification, the same terms are used between sub-devices corresponding to each other for convenience of description (for example, the illumination sensor 142 of FIG. 1 and the illumination sensor 242 of FIG. 2 or the audio output device 165 of FIG. 1). ) And the audio output device 265 of FIG. 2), and the meanings corresponding to each other are not limited to the term. In order to determine whether the mobile terminal 100 and the sub devices of the external device 200 correspond to each other, the mobile terminal 100 and the external device 200 may manage the sub device identification information according to a common protocol. . 4 illustrates an example of a table 101 of identification information of a sub device included in the mobile terminal 100 and a table 102 of identification information of a sub device included in the external device 200 according to the present invention. It is an illustration. 4, the portable terminal 100 and the external device 200 are connected to each other via a microphone (identification information value: 2), an illuminance sensor (identification information value: 4), an acceleration sensor (identification information value: A touch screen (identification information value: 7), a backlight device (identification information value: 10), and an internal storage device (identification information value: 11). The mobile terminal 100 and the external device 200 may determine which subdevices include each other and which subdevices correspond to each other by comparing identification values of respective subdevices.

휴대 단말(100)과 외부 디바이스가 서로 도킹 연결된 경우, 휴대 단말(100)의 일부 서브 디바이스는 상응하는 외부 디바이스의 서브 디바이스로 대체될 수 있다. 예를 들어, 도킹 연결이 되지 않은 경우에는 휴대 단말(100)의 조도 센서가 동작하여 조도를 감지하지만, 도킹 연결이 된 경우에는 휴대 단말(100)의 조도 센서 대신 외부 디바이스의 조도 센서가 조도를 감지하여, 감지한 조도 값을 휴대 단말(100)에 알려주게 된다. 휴대 단말(100)의 서브 디바이스가 외부 디바이스의 서브 디바이스로 교체되는 방법에 관하여는 추후 도9 내지 도 10을 참조하여 자세히 설명하기로 한다.When the portable terminal 100 and the external device are docked with each other, some sub-devices of the portable terminal 100 may be replaced with sub-devices of the corresponding external device. For example, when the docking connection is not established, the illumination sensor of the mobile terminal 100 operates to detect the illumination, but when the docking connection is made, the illumination sensor of the external device instead of the illumination sensor of the mobile terminal 100 detects the illumination. By sensing, the detected illuminance value is reported to the mobile terminal 100. A method of replacing the sub device of the mobile terminal 100 with the sub device of the external device will be described in detail later with reference to FIGS. 9 to 10.

한편, 외부 디바이스(200)가 휴대 단말(100)에 포함된 서브 디바이스에 상응하는 서브 디바이스를 모두 포함할 필요는 없다(그 역도 마찬가지임). 도 4를 예로 들어 설명하면, 휴대 단말이 포함하고 있는 무선통신 장치(식별 정보 값: 1), 카메라(식별 정보 값: 3), 키패드 장치(식별 정보 값: 6)가 외부 단말에는 포함되지 않을 수 있다. 휴대 단말(100)이 외부 디바이스(200)와 도킹 연결된 경우에도 이러한 서브 디바이스들은 도킹 연결되지 않은 경우와 마찬가지로 동작을 수행할 수 있다. 즉, 휴대 단말(100)은 도킹 연결 여부와 무관하게 휴대 단말에 구비된 무선통신 장치를 통하여 통신을 수행하며, 휴대 단말에 구비된 카메라를 이용하여 사진/동영상 촬영을 할 수 있다.Meanwhile, the external device 200 does not need to include all of the subdevices corresponding to the subdevices included in the mobile terminal 100 (or vice versa). Referring to FIG. 4 as an example, a wireless communication device (identification information value: 1), a camera (identification information value: 3), and a keypad device (identification information value: 6) included in the portable terminal are not included in the external terminal. Can be. Even when the mobile terminal 100 is docked and connected to the external device 200, the sub-devices may perform operations in the same manner as in the case where the portable terminal 100 is not docked. That is, the mobile terminal 100 communicates through the wireless communication device provided in the mobile terminal regardless of whether the docking connection is connected, and can take a picture / video by using the camera provided in the mobile terminal.

이하, 도킹 인터페이스부(280) 및 제어부(290)를 설명한다.Hereinafter, the docking interface unit 280 and the control unit 290 will be described.

먼저, 도킹 인터페이스부(280)는, 휴대 단말(100)의 도킹 인터페이스부(180)와 물리적으로 도킹 결합됨으로써, 휴대 단말(100)과 외부 디바이스(200) 간의 도킹 연결 관계를 형성시키기 위한 커넥터(connector) 부분이다. 따라서, 도킹 인터페이스부(280)는, 휴대 단말(100)의 도킹 인터페이스부(180)와 페어(pair) 관계에 있을 수 있고, 이 경우 휴대 단말(100)의 도킹 인터페이스부(180)와 동일한 인터페이스 구성(앞선 도 5 참조)을 가질 수 있다.First, the docking interface unit 280 is physically docked with the docking interface unit 180 of the mobile terminal 100, so that the connector for forming a docking connection relationship between the mobile terminal 100 and the external device 200 ( connector) part. Accordingly, the docking interface unit 280 may be in a pair relationship with the docking interface unit 180 of the mobile terminal 100, in which case the same interface as the docking interface unit 180 of the mobile terminal 100 is provided. Configuration (see FIG. 5 above).

즉, 도킹 인터페이스부(280)는, 도킹 결합시, 휴대 단말(100)로부터 영상 데이터를 입력받기 위한 영상 입출력 인터페이스(282), 오디오 신호를 입력받기위한 오디오 입출력 인터페이스(284), 휴대 단말(100)과의 데이터 입출력을 위한 인터페이스(286)를 포함할 수 있다. 또한 도킹 인터페이스부(280)는 이외에도 휴대 단말(100)과의 물리적 도킹 결합을 감지하는 연동 감지부(미도시), 휴대 단말(100) 측으로 전원을 공급해주기 위한 통로로서 기능하는 전원 출력부(또는 단자, 미도시) 등을 더 포함할 수 있다. That is, the docking interface unit 280 may include a video input / output interface 282 for receiving image data from the portable terminal 100, an audio input / output interface 284 for receiving an audio signal, and the portable terminal 100 when docking is coupled. ) May include an interface 286 for inputting and outputting data. In addition, the docking interface unit 280 may further include an interlocking sensing unit (not shown) that detects a physical docking coupling with the mobile terminal 100, and a power output unit (or functioning as a path for supplying power to the portable terminal 100). Terminals, not shown).

일 실시예에 따를 때, 도킹 인터페이스부(250)는 도 3에 도시된 바와 같이, 외부 디바이스(200) 본체 내에 휴대 단말(100)이 삽입될 수 있도록 마련된 단말 삽입부(281) 내의 특정 부분에 형성될 수 있다. 즉, 본 발명의 실시예에 따를 때, 외부 디바이스(200)와 휴대 단말(100) 간의 도킹 결합은, 그 두 장치의 도킹 인터페이스부(180 및 280) 간이 서로 물리적 결합(또는 접촉)되도록, 외부 디바이스(200)의 단말 삽입부(281)에 휴대 단말(100)을 삽입시킴으로써 이루어질 수 있다.According to an exemplary embodiment, as illustrated in FIG. 3, the docking interface 250 may be attached to a specific portion of the terminal insertion unit 281 provided to allow the portable terminal 100 to be inserted into the main body of the external device 200. Can be formed. That is, according to an embodiment of the present invention, the docking coupling between the external device 200 and the portable terminal 100 is such that the docking interface portions 180 and 280 of the two devices are physically coupled (or contacted) with each other. The mobile terminal 100 may be inserted into the terminal insertion unit 281 of the device 200.

여기서, 도 3의 경우는, 휴대 단말(100)이 단말 삽입부(281)에 완전히 삽입되는 경우를 예시하고 있지만, 단말 삽입부(251)의 디자인에 따라 휴대 단말(100)의 일 부위(여기에는 도킹 인터페이스(180)는 포함되어야 함)만이 삽입되는 형태로 물리적 도킹 결합이 이루어질 수도 있음은 물론이다. 또한 도 3에서는 슬라이드 타입의 패드 형상을 갖는 외부 디바이스(200)를 예시하였지만, 외부 디바이스(200)는 매우 다양한 디자인(예를 들어, 패드 타입이 아닌 노트북 타입, 슬라이드 타입이 아닌 바 타입 등)을 가질 수 있음도 물론이다.3 illustrates a case where the portable terminal 100 is completely inserted into the terminal insertion unit 281, but according to the design of the terminal insertion unit 251, a portion of the portable terminal 100 (here. The docking interface 180 should be included). Of course, the physical docking coupling may be performed in such a manner that only the docking interface 180 is inserted. In addition, although FIG. 3 illustrates an external device 200 having a slide-type pad shape, the external device 200 may have various designs (for example, a notebook type other than a pad type, a bar type other than a slide type, etc.). Of course you can have.

제어부(290)는 외부 디바이스(200)의 각 구성요소들 그리고 외부 디바이스(200)의 전반적 동작을 제어한다. 특히, 본 발명의 실시예에서, 제어부(290)는 휴대 단말(100)과의 도킹 결합에 따른 외부 디바이스(100)의 동작 제어 기능을 수행하는 도킹 관리부(292)를 포함할 수 있다. 이러한 도킹 관리부(194)는 소프트웨어 프로그램으로 구현되어 해당 기능을 구현할 수 있다.The controller 290 controls each component of the external device 200 and the overall operation of the external device 200. In particular, in an embodiment of the present disclosure, the controller 290 may include a docking manager 292 performing an operation control function of the external device 100 according to the docking coupling with the portable terminal 100. The docking management unit 194 may be implemented as a software program to implement a corresponding function.

또한 도킹 관리부(292)는, 그 도킹 결합 상태에서, 휴대 단말(100)과의 호스트-디바이스 연결을 설정할 수 있다. 이에 따라, 외부 디바이스(200)는, 상기 도킹 결합 상태에서, 휴대 단말(100)에서의 사용자 작업 환경(영상 및 오디오 출력 환경/ 데이터 입출력 환경 등)과 동일한 작업 환경을 사용자에게 제공할 수 있다.즉, 도킹 결합 상태에서, 휴대 단말(100)의 화면 영상은 외부 디바이스(200)의 화면으로 출력된다. 이를 위해, 도킹 관리부(292)는, 도킹 결합이 최초 감지된 경우, 영상 출력 장치(260)의 화면 출력을 턴 온시키고, 휴대 단말(100)로부터 수신된 도킹 결합 시점의 휴대 단말(100)의 화면 영상에 관한 데이터를 상기 영상 출력 장치(260)를 통해 출력할 수 있다. 한편, 도킹 관리부(292)는 본 발명에 따른 연결 수립 과정을 수행하기 위하여, 서브 디바이스의 정보 또는 각종 메시지를 휴대 단말(100)의 도킹 에이전트(192)로 송신하거나 도킹 에이전트(192)로부터 수신할 수 있다.In addition, the docking management unit 292 may establish a host-device connection with the mobile terminal 100 in the docking coupling state. Accordingly, the external device 200 may provide the user with the same working environment as the user working environment (video and audio output environment / data input / output environment, etc.) in the portable terminal 100 in the docking coupling state. That is, in the docking combined state, the screen image of the mobile terminal 100 is output to the screen of the external device 200. To this end, the docking manager 292 turns on the screen output of the image output apparatus 260 when the docking coupling is detected for the first time, and the docking manager 292 of the portable terminal 100 at the docking coupling time received from the portable terminal 100. Data relating to a screen image may be output through the image output device 260. Meanwhile, the docking manager 292 may transmit information or various messages of the sub device to the docking agent 192 of the mobile terminal 100 or receive from the docking agent 192 to perform the connection establishment process according to the present invention. Can be.

또한, 도킹 결합 상태에서, 외부 디바이스(200)의 입력 장치로부터 입력 이벤트(예를 들어, 터치 입력 이벤트 등)를 수신한 경우, 도킹 관리부(292)는, 그 수신된 입력 이벤트에 상응하여 휴대 단말(100)의 동작을 제어하는데 이용되는 이벤트 신호를 생성 및 휴대 단말(100)로 전송하는 역할을 수행할 수 있다.In addition, when receiving an input event (for example, a touch input event, etc.) from an input device of the external device 200 in the docking coupling state, the docking management unit 292, in response to the received input event, the portable terminal It may serve to generate and transmit an event signal used to control the operation of the 100 to the mobile terminal (100).

한편, 제어부(290)에 포함된 부팅부(294)는 휴대 단말(100)과의 도킹 결합이 최초 감지됨에 따라 외부 디바이스(200)의 전원 상태를 활성화(예를 들어, 대기 전원 상태에서 파워 온 상태로 전환)시키는 역할을 수행함으로써 외부 디바이스(200)를 자동 부팅할 수 있다.
On the other hand, the booting unit 294 included in the control unit 290 activates the power state of the external device 200 when the docking coupling with the portable terminal 100 is first detected (for example, power-on in the standby power state). The external device 200 can be automatically booted.

본 발명의 일 실시예에 따르면, 상기 외부 디바이스(200)는 스탠드얼론(standalone) 상태에서는 아무런 동작을 하지 않는(즉, 사용자에게 유용한 어떠한 동작/기능 실행을 할 수 없는) 일종의 더미(dummy) 디바이스일 수 있다. 위와 같이 구성되는 경우, 외부 디바이스(200)에는 가능한 최소한의 기능(즉, 디스플레이 제어, 터치 입력 제어 등) 및 최소한의 하드웨어 구성만 탑재할 수 있어, 사용자 입장에서는 기존의 태블릿 PC/패드/노트북 제품과 동일한 작업 환경이 구현되면서도 그보다 저가의 제품을 이용할 수 있는 이점이 있을 수 있다.According to an embodiment of the present invention, the external device 200 may be a kind of dummy device which does not perform any operation in a standalone state (i.e., can not perform any operation / function useful to the user) Lt; / RTI > When configured as above, the external device 200 can be equipped with only the minimum possible functions (ie, display control, touch input control, etc.) and a minimum hardware configuration, so that a user can use a conventional tablet PC / pad / laptop product. While the same work environment is implemented, there may be an advantage of using a lower cost product.

물론, 본 발명의 다른 실시예에서, 상기 외부 디바이스(200)는, 자체 OS(여기서, 자체 OS란 스탠드 얼론 동작을 가능하게 하는 OS를 말함)를 탑재함으로써, 독립적으로 구동될 수도 있는 장치로 구현될 수도 있다. 예를 들어, 휴대 단말(100)과 분리 동작 시는 전자 액자나 동영상/MP3 플레이어로, 도킹 결합 동작 시는 휴대 단말의 기능으로까지 확대되는 형태로 구현될 수 있는 것이다. 이러한 경우에는 먼저 설명한 형태(독립적으로 동작할 수 없는 형태)에 비해 하드웨어 스펙이 고사양을 요구하게 될 것임은 물론이다.
Of course, in another embodiment of the present invention, the external device 200 is implemented as a device that may be driven independently by mounting its own OS (here, the OS refers to an OS that enables stand-alone operation). May be For example, the electronic device may be an electronic picture frame or a video / MP3 player when the mobile terminal 100 is separated from the mobile terminal 100, and the docking operation may be extended to a function of the mobile terminal. In this case, of course, the hardware specification will require higher specifications than the form described above (which cannot operate independently).

이제까지, 본 발명의 실시예에 따라 도킹 결합되는 두 개의 장치로서, 휴대 단말(100) 및 외부 디바이스(200)에 대해 설명하였다. 특히, 이제까지는, 휴대 단말과 외부 디바이스(즉, 외부 디바이스)가 도킹 연결되는 방식으로서 도킹 인터페이스 간의 물리적 결합에 의하는 예를 주로 설명하였다. 그러나, 본 명세서에서 “도킹 연결”은 상술한 바와 같이 각 디바이스에 구비된 도킹 인터페이스 간의 물리적 직접 결합 방식 이외에도, 중간의 매개 장치(Hub)를 이용한 도킹 연결, 특정 연결 케이블(예를 들어, HDMI 케이블)을 이용한 도킹 연결의 방식도 가능함을 명확히 해둔다.
So far, the portable terminal 100 and the external device 200 have been described as two devices docked and coupled according to an exemplary embodiment of the present invention. In particular, so far, an example in which the portable terminal and the external device (ie, the external device) are docked and connected is mainly described by the physical coupling between the docking interface. However, as used herein, the term "dock connection" refers to a docking connection using a medium intermediary device (Hub), a specific connection cable (for example, an HDMI cable, in addition to a physical direct coupling method between docking interfaces provided in each device as described above). It is also clarified that docking connections using) are possible.

한편, 휴대 단말(100)과 외부 디바이스(200)가 물리적으로 도킹 결합된 경우에는 도킹 연결을 수립하는 일련의 과정이 수행되어야 할 필요가 있다. 이하에서는 도킹 연결 시 수행되는 일련의 과정을 설명하기로 한다. 도 6 및 도 7은 휴대 단말(100)과 외부 디바이스(200)가 물리적으로 도킹 결합한 경우, 본 발명의 일 실시예에 따라 연결 수립 과정을 설명하는 흐름도이다.
Meanwhile, when the mobile terminal 100 and the external device 200 are physically docked and coupled, a series of processes for establishing a docking connection need to be performed. Hereinafter, a series of processes performed at the docking connection will be described. 6 and 7 are flowcharts illustrating a connection establishment process according to an embodiment of the present invention when the portable terminal 100 and the external device 200 are physically docked and coupled.

[도 6및 도 7의 설명][Description of FIGS. 6 and 7]

일 실시예에서, 휴대 단말(100)과 외부 디바이스(200)는 연결 수립 과정과 관련된 소정의 상태(state)를 가질 수 있고, 특정 실시예에서는 휴대 단말(100)의 도킹 에이전트(192)와 외부 디바이스의 도킹 관리부(292)가 상기 소정의 상태 관리를 수행할 수 있다. 먼저 도 6를 참조하면, 휴대 단말(100)과 외부 디바이스가 도킹 연결이 되어있지 않은 경우, 휴대 단말(100)과 외부 디바이스는 ‘연결 해제’ 상태에 있을 수 있다(S100, S105).In one embodiment, the mobile terminal 100 and the external device 200 may have a state associated with the connection establishment process, in a particular embodiment the docking agent 192 and the external of the mobile terminal 100 The docking manager 292 of the device may perform the predetermined state management. First, referring to FIG. 6, when the portable terminal 100 and the external device are not docked, the portable terminal 100 and the external device may be in a "disconnected" state (S100 and S105).

휴대 단말(100)과 외부 디바이스가 물리적을 도킹 연결이 되면, 휴대 단말(100)은 외부 디바이스(200)에 소정의 제1 전기적 신호를 보내어 외부 디바이스(200)로 하여금 물리적으로 도킹 연결이 이루어졌음을 감지하도록 할 수 있다(S110). 도킹 인터페이스부(180)가 도 5에 도시된 바와 같은 인터페이스로 구성되는 실시 예의 경우에는, 특히 상기 제1 전기적 신호는 HDMI 5V Power 핀을 통해 외부 디바이스(200)에 전달될 수 있다. 이러한 방식은 휴대 단말(100)이 전원이 켜져 있는 상태에서는 항상 HDMI 5V Power 핀에 전원을 공급되도록 구현된 경우에 특히 유용할 수 있다. 왜냐하면, HDMI 5V Power 핀으로부터 파워가 더 이상 공급되지 않음을 외부 디바이스(200)가 감지한 경우에는 물리적 도킹 연결이 해제 되었다고 판단할 수 있기 때문이다.When the portable terminal 100 and the external device are physically docked, the portable terminal 100 sends a first electrical signal to the external device 200 to allow the external device 200 to be physically docked. It may be to detect (S110). In an exemplary embodiment in which the docking interface 180 is configured as an interface as shown in FIG. 5, in particular, the first electrical signal may be transmitted to the external device 200 through an HDMI 5V power pin. This method may be particularly useful when the portable terminal 100 is implemented to always supply power to the HDMI 5V Power pin while the power is turned on. This is because, when the external device 200 detects that power is no longer supplied from the HDMI 5V Power pin, it may be determined that the physical docking connection is released.

이후, 외부 디바이스(200)는 소정의 제2 전기적 신호를 휴대 단말(100)에 전송하여, 휴대 단말(100)로 하여금 물리적으로 도킹 연결이 이루어졌음을 감지하도록 할 수 있다(S115). 도킹 인터페이스부(180)가 도 5에 도시된 바와 같은 인터페이스로 구성되는 실시 예의 경우에는, 특히 상기 제2 전기적 신호는 전술한 제1 전기적 신호와 유사한 이유로 HDMI Hot Plug Detect(HPD)핀을 통해 휴대 단말(100)로 전송될 수 있다.Thereafter, the external device 200 may transmit a predetermined second electrical signal to the mobile terminal 100 to allow the mobile terminal 100 to detect that the docking connection is physically established (S115). In the case of the embodiment in which the docking interface 180 is configured as an interface as shown in FIG. 5, in particular, the second electrical signal is carried through the HDMI Hot Plug Detect (HPD) pin for a reason similar to that of the first electrical signal described above. It may be transmitted to the terminal 100.

만약 외부 디바이스의 전원이 오프인 상태라면, 외부 디바이스는 상기 제1 전기적 신호에 의하여 자동 부팅될 수 있다(S120, S130). 일 실시예에서, HDMI 5V Power 핀으로부터 전원이 공급되면, 이를 외부 디바이스(200)의 전원 스위치 회로로 인가하여 전원을 온 시킴으로써 부팅 과정이 수행되도록 할 수 있다. If the power supply of the external device is off, the external device may be automatically booted by the first electrical signal (S120 and S130). In one embodiment, when power is supplied from the HDMI 5V Power pin, the booting process may be performed by applying the power to the power switch circuit of the external device 200 to turn on the power.

한편, 특정 실시예에서는, 휴대 단말(100)과 외부 디바이스(200)간에 USB를 통하여 서로 데이터 신호를 교환할 수 있다. 이러한 실시예에서는, USB D+, D-를 연결하는 단계가 본 발명에 따른 연결 수립 방법에 포함될 수 있다 (S140).Meanwhile, in a specific embodiment, the portable terminal 100 and the external device 200 may exchange data signals with each other via USB. In this embodiment, the step of connecting the USB D +, D- may be included in the connection establishment method according to the present invention (S140).

이후, 외부 디바이스(200)는 상태를 ‘연결 중’으로 천이하고(S150), 남은 연결 수립과정을 계속 수행하도록 연결 수립을 시작 메시지를 휴대 단말(100)에 전송할 수 있다(160). 휴대 단말(100)도 상태를 ‘연결 중’으로 천이하고(S155), 연결 수립을 시작 메시지에 대한 응답(Ack)을 보내고(165) 남은 연결 수립 과정을 계속 진행할 수 있다.Thereafter, the external device 200 may change the state to 'connecting' (S150) and transmit a connection establishment start message to the mobile terminal 100 to continue the remaining connection establishment process (160). The mobile terminal 100 may also change the state to 'connecting' (S155), send an Ack to the start message for establishing connection (165), and continue the remaining connection establishment process.

도 7은 도 6에 도시된 과정 이후의 연결 수립 과정을 도시하고 있는 흐름도이다. 계속해서 도 7을 참조하면, 외부 디바이스(200)는 휴대 단말(100)이 자신이 포함하고 있는 서브 디바이스 정보를 획득할 수 있도록 소정의 정보를 전송할 수 있다(S170). 상기 소정의 정보는 외부 디바이스(200)에 포함된 각각의 서브 디바이스에 대한 구체적 정보 목록일 수 있고, 도 4에 도시된 식별번호 201의 테이블과 유사한 형태의 정보일 수도 있다. 한편 특정 실시예에서 상기 소정의 정보는, 도4에 도시된 바와 달리, 외부 디바이스(200) 자체의 식별 정보일 수도 있다. 이 경우, 휴대 단말은 자신과 호환되는(즉, 올바르게 도킹 연결될 수 있는) 각종 외부 디바이스 및 그 외부 디바이스에 포함된 서브 디바이스의 정보를 저장하는 테이블(예를 들면, 데이터 베이스)을 포함할 수 있고, 전달 받은 외부 디바이스(200)의 식별 정보로 데이터 베이스를 검색하여 그 외부 디바이스(200)가 포함하고 있는 서브 디바이스의 정보를 획득할 수도 있다.7 is a flowchart illustrating a connection establishment process after the process illustrated in FIG. 6. 7, the external device 200 may transmit predetermined information so that the mobile terminal 100 may acquire the sub device information included in the mobile terminal 100 (S170). The predetermined information may be a detailed information list of each sub device included in the external device 200, or may be information similar to a table of identification number 201 shown in FIG. 4. Meanwhile, in a specific embodiment, the predetermined information may be identification information of the external device 200 itself, as shown in FIG. 4. In this case, the portable terminal may include a table (eg, a database) for storing information of various external devices compatible with the mobile device (ie, properly docked) and sub-devices included in the external device. In addition, the database may be searched using the received identification information of the external device 200 to obtain information on the sub-device included in the external device 200.

이후 휴대 단말(100)은 획득한 외부 디바이스(200)의 서브 디바이스 정보를 이용하여, 외부 디바이스(200)가 포함하고 있는 서브 디바이스의 목록을 획득하고, 상기 목록에 포함된 서브 디바이스 중에서, 도킹 연결 시 휴대 단말이 자신에 포함된 디바이스 대신 사용하고자 하는 외부 디바이스(200)의 서브 디바이스(이하, 제1 서브 디바이스’라고 함)들에 대한정보(예를 들면, 제1 서브 디바이스의 식별 정보 값의 목록)를 외부 디바이스(200)로 전송할 수 있다(S180).Thereafter, the mobile terminal 100 obtains a list of subdevices included in the external device 200 by using the obtained subdevice information of the external device 200, and among the subdevices included in the list, docking connection Information about sub-devices (hereinafter, referred to as 'first sub-devices') of the external device 200 which the mobile terminal intends to use in place of the devices included therein (for example, the identification information value of the first sub-device). List) may be transmitted to the external device 200 (S180).

이후 외부 디바이스(200)는 연결 수립 종료 메시지를 전달할 수 있다(S190).Thereafter, the external device 200 may transmit a connection establishment end message (S190).

휴대 단말(100)은 제1 서브 디바이스에 상응하는 휴대 단말의 서브 디바이스(이하, ‘제2 서브 디바이스’라고 함)에 대한 정보, 특히 제2 서브 디바이스의 상태 정보를 획득하고(S200), 이를 외부 디바이스(200)로 전송할 수 있다(S205). 그러면 외부 디바이스(200)는 수신한 제2 서브 디바이스의 정보를 제1 서브 디바이스에 반영하여 외부 디바이스(200)의 제1 서브 디바이스의 상태를 휴대 단말(100)의 제2 서브 디바이스의 상태와 동일하도록 변경할 수 있다(S210). 예를 들어 상기 제1 서브 디바이스가 외부 디바이스(200)에 포함된 오디오 출력 장치이고, 제2 서브 디바이스가 이에 상응하는 휴대 단말(100)의 오디오 출력 장치이며, 도킹 전 휴대 단말의 오디오 출력 장치가 오프(off)되어 있거나 혹은 볼륨이 1단계로 되어 있다면, 도킹 연결이 된 후, 휴대 단말(100)의 오디오 출력 장치를 대신할 외부 디바이스(200)의 오디오 출력 장치의 상태가 휴대 단말의 오디오 출력 장치의 상태와 마찬가지로 오프(off) 혹은 1단계의 볼륨으로 설정된다. 이렇게 함으로써, 휴대 단말은 도킹 전과 도킹 후의 일관성을 유지하고, 사용자는 도킹 후 외부 디바이스를 재설정하여야 하는 불편을 해소할 수 있다.The mobile terminal 100 obtains information on sub-devices (hereinafter referred to as 'second sub-devices') of the mobile terminal corresponding to the first sub-device, in particular, state information of the second sub-device (S200). The external device 200 may transmit the data to the external device 200 (S205). Then, the external device 200 reflects the received information of the second sub device to the first sub device so that the state of the first sub device of the external device 200 is the same as that of the second sub device of the mobile terminal 100. It can be changed to (S210). For example, the first sub device is an audio output device included in the external device 200, the second sub device is an audio output device of the mobile terminal 100 corresponding thereto, and the audio output device of the mobile terminal before docking is If it is off or the volume is in the first stage, after the docking connection is established, the state of the audio output device of the external device 200 to replace the audio output device of the mobile terminal 100 is the audio output of the mobile terminal. Like the state of the device, it is set to off or one volume. By doing so, the portable terminal can maintain consistency before and after docking, and the user can eliminate the inconvenience of resetting the external device after docking.

휴대 단말(100)은 도킹 전 상기 제2 서브 디바이스가 수행하던 기능을, 도킹 후에는 상기 제1 서브 디바이스가 수행하도록 서브 디바이스 제어경로를 재구성한다(S220). 서브 디바이스의 제어는 앞서 설명한 바와 같이 서브 디바이스로부터 이벤트(이벤트 시그널, I/O시그널이라고도 함)가 발생한 경우에 상기 이벤트를 처리하기 위한 제어(이하 ‘이벤트 제어’라고 함)와 서브 디바이스가 특정 기능을 수행하게 하도록 명령을 내리는 제어(이하 ‘명령 제어’라고 함)로 구분할 수 있다. 터치 패널을 통해 키 입력을 한 경우 키 입력 이벤트에 상응하는 이벤트 핸들러(혹은 시그널 핸들러라고도 함)가 호출되어 이벤트를 처리하는 것을 이벤트 제어의 일 예로 들 수 있으며, 백라이트를 온/오프시키기 위하여 명령을 내리거나 밝기를 조절하기 위하여 밝기 값 조정 명령을 내리는 것을 명령 제어의 일 예로 들 수 있다.The mobile terminal 100 reconfigures the sub-device control path to perform the function performed by the second sub device before docking and the first sub device after docking (S220). As described above, the control of the sub device is performed to process the event (hereinafter referred to as 'event control') when the event (event signal, I / O signal) occurs from the sub device, and the sub device has a specific function. It can be divided into a control (hereinafter referred to as 'command control') to give a command to perform. When key input is made through the touch panel, an event handler (also called a signal handler) corresponding to a key input event is called to handle an event. An example of event control is to execute a command to turn on / off a backlight. An example of command control is to issue a brightness value adjustment command to decrease or adjust brightness.

일 실시예에서, 도킹 전에는 휴대 단말(100)의 제2 서브 디바이스에 의해 소정의 제2 이벤트가 발생하지만, 도킹 후에는 제2 이벤트 대신 외부 디바이스의 제1 서브 디바이스에 의해 제2 이벤트에 상응하는 제1 이벤트가 발생할 것이다. 따라서, 휴대 단말(100)은 도킹 연결 후에는 제2 이벤트를 처리하는 대신 제1 이벤트를 처리할 수 있도록 이벤트 제어 경로를 재구성할 필요가 있다. 다른 실시예에서, 도킹 전에는 휴대 단말(100)이 사용자의 입력 또는 휴대 단말(100)의 운용 상 필요에 의하여 제2 디바이스에 소정의 제어 명령을 내려야 하지만, 도킹 후에는 제1 디바이스 대신 제2 디바이스에 상기 제어 명령을 내리도록 명령 제어 경로를 재구성할 필요가 있다. In one embodiment, a predetermined second event occurs by the second subdevice of the mobile terminal 100 before docking, but after docking, the second event corresponds to the second event by the first subdevice of the external device instead of the second event. The first event will occur. Therefore, after docking connection, the mobile terminal 100 needs to reconfigure the event control path to process the first event instead of processing the second event. In another embodiment, before docking, the portable terminal 100 should give a predetermined control command to the second device due to a user's input or need for operation of the portable terminal 100, but after docking the second device instead of the first device. It is necessary to reconfigure the command control path so as to issue the control command.

한편, 제어 경로의 재구성은 실시예에 따라 도킹 연결 시 실시간으로 이루어질 수도 있다. 또한, 다른 실시예에서는 휴대 단말(100)에 포함된 제2 서브 디바이스에 대한 제어 경로 및 외부 디바이스(200)에 포함된 제1 서브 디바이스에 대한 제어 경로를 모두 미리 가지고 있되, 도킹 연결 여부를 판단하여 적절한 제어 경로로 제어 명령을 전달하거나 이벤트를 수신하는 휴대 단말도 있을 수 있으며, 이에 대하여는 추후 도 10 내지 도 11을 참조하여 더 자세히 설명하기로 한다.Meanwhile, the control path may be reconfigured in real time at the docking connection according to an embodiment. In another embodiment, the control path for the second sub-device included in the mobile terminal 100 and the control path for the first sub-device included in the external device 200 are both present in advance, and the docking connection is determined. There may also be a portable terminal that transmits a control command or receives an event to the appropriate control path, which will be described in detail later with reference to FIGS. 10 to 11.

이후, 휴대 단말(100)은 제2 서브 디바이스를 일시 중지(suspend)시키거나 제2 서브 디바이스를 전원 오프(power off)함으로써 제2 서브 디바이스를 비활성화할 수 있다(S230).Thereafter, the mobile terminal 100 may deactivate the second subdevice by suspending the second subdevice or by powering off the second subdevice (S230).

이후, 휴대 단말(100)은 연결 수립 과정을 모두 수행하였음을 알리기 위하여 연결 수립 종료 메시지 응답(Ack)를 외부 디바이스(200)에 전송하고(S195), 상태를 ‘연결’ 상태로 천이할 수 있다(S250).Thereafter, the mobile terminal 100 may transmit a connection establishment end message response (Ack) to the external device 200 to inform that the connection establishment process has been performed (S195), and may transition the state to the 'connected' state. (S250).

외부 디바이스(200)도 자신의 상태를 ‘연결’ 상태로 천이 할 수 있으며(S255), 휴대 단말로부터 입력되고 있던 HDMI 신호를 화면에 디스플레이 할 수 있도록 HDMI 디스플레이 시작 명령을 HDMI 모듈에 전송할 수도 있다(S240).The external device 200 may also change its state to a 'connected' state (S255), and may transmit an HDMI display start command to the HDMI module so that the HDMI signal input from the portable terminal may be displayed on the screen ( S240).

지금까지 휴대 단말(100)과 외부 디바이스(200)간에 물리적인 도킹 연결이 일어난 경우의 연결 수립 방법을 설명하는 바, 이하에서는 도 8를 참조하여, 도킹 연결이 해제된 경우에 대해 설명하고자 한다.
Until now, a method of establishing a connection when a physical docking connection occurs between the mobile terminal 100 and the external device 200 will be described. Hereinafter, a case in which the docking connection is released will be described with reference to FIG. 8.

[도 8 의 설명][Description of Fig. 8]

도 8을 참조하면, 휴대 단말(100)과 외부 디바이스(200)간에 연결이 수립된 경우에는 전술한 바와 같이 양자의 상태가 모두 ‘연결’ 상태일 수 있다(S300, S340). 이후 휴대 단말(100)과 외부 디바이스(200)간의 물리적 연결이 해제되면, 다음의 과정이 수행될 수 있다.Referring to FIG. 8, when a connection is established between the mobile terminal 100 and the external device 200, both states may be in a "connection" state as described above (S300 and S340). Thereafter, when the physical connection between the mobile terminal 100 and the external device 200 is released, the following process may be performed.

휴대 단말(100)은, 실시예에 따라서, 물리적 연결 해제로 인해 발생하는 HPD 해제 신호, USB Reset 신호 또는 HDMI 5V Power 해제 신호 등을 감지함으로써 물리적 연결의 해제를 감지할 수 있다(S310). 그러면, 휴대 단말(100)은 도킹 연결 시 제1 서브 디바이스를 제어하도록 서브 디바이스 제어 경로가 변경된 경우라면, 이를 다시 제2 서브 디바이스를 제어하도록 원상 복구한다(S320). According to an embodiment, the mobile terminal 100 may detect release of a physical connection by detecting an HPD release signal, a USB Reset signal, or an HDMI 5V power release signal generated due to a physical connection release (S310). Then, when the sub-device control path is changed to control the first sub-device when the docking connection is changed, the portable terminal 100 restores it to control the second sub-device again (S320).

한편, 연결 수립 시 제2 서브 디바이스가 비활성화 된 경우, 휴대 단말은 제2 서브 디바이스를 활성화할 수 있다.On the other hand, when the second subdevice is deactivated at the time of connection establishment, the portable terminal may activate the second subdevice.

한편, 일 실시예에서, 외부 디바이스(200)는 도킹 연결 시에 HDMI 5V Power 핀으로부터 공급되던 신호가 더 이상 공급되지 않음을 감지함으로써 물리적 연결의 해제를 감지할 수 있다(S350). 그러면 외부 디바이스(200)는 USB VBUS를 리셋하고(S360), USB D+, D- 연결을 해제할 수 있다(S370).Meanwhile, in one embodiment, the external device 200 may detect the release of the physical connection by detecting that the signal supplied from the HDMI 5V Power pin is no longer supplied at the time of docking connection (S350). Then, the external device 200 may reset the USB VBUS (S360) and release the USB D + and D- connections (S370).

이후, 휴대 단말(100)과 외부 디바이스(200)는 자신의 상태를 ‘연결 해제’ 상태로 천이할 수 있다(S330, S380).Thereafter, the mobile terminal 100 and the external device 200 may transition their state to the 'disconnected' state (S330 and S380).

지금까지 도6 내지 도 8을 참조하여 기술한 과정의 각 단계가 모두 필수적인 것은 아니며, 일부 단계는 본 발명의 구현에 필수적으로 필요한 구성요소에 해당하지 않을 수도 있다. 예를 들어, 휴대 단말(100) 또는 외부 디바이스(200)가 자신의 상태를 천이하는 단계는 설명이나 구현의 용이함을 위한 것이므로 반드시 필요한 단계는 아니며, 연결 수립 시작/종료 메시지나 연결 수립 시작/종료 메시지 응답을 전송하는 것도 그러하다.
Not all of the steps of the process described above with reference to Figs. 6 to 8 are all essential, and some of the steps may not correspond to the components necessary for implementation of the present invention. For example, the step in which the mobile terminal 100 or the external device 200 transitions its state is for the convenience of explanation or implementation and is not necessarily required, but is a connection establishment start / end message or connection establishment start / end. The same is true for sending message responses.

도 9는 도킹 연결 수립 전의 제어 경로를 나타내는 블록도이고, 도 10은 도킹 연결 수립 후의 제어 경로를 나타내는 블록도이다. 도 9 및 도 10에서 파선으로 표시한 화살표는 서브 디바이스에서 발생하여 전달되는 이벤트 제어의 경로를 나타내며, 실선으로 표시한 화살표는 사용자 입력 또는 휴대 단말의 운용상 필요에 의하여 App에서 서브 디바이스로 향하는 명령 제어의 경로를 나타낸다.9 is a block diagram illustrating a control path before establishing a docking connection, and FIG. 10 is a block diagram illustrating a control path after establishing a docking connection. In FIG. 9 and FIG. 10, the arrows indicated by broken lines indicate the paths of event control generated and transmitted from the sub-devices, and the arrows indicated by solid lines indicate commands from the App to the sub-devices due to user input or operational needs of the mobile terminal. Indicates the path of control.

먼저 도 9를 참조하면, 도킹 연결 수립 전의 제어 명령은 어플리케이션(App) 계층에서 시작하여, 프레임워크(framework) 계층, HAL(Hardware Abstraction Layer, 하드웨어 추상화 계층), 제어 루트 관리부(194)를 거쳐 제2 서브 디바이스의 디바이스 드라이버로 전달되며, 제2 서브 디바이스에서 이벤트가 발생하면 커널의 디바이스 드라이버, 제어 루트 관리부(194), HAL, 프레임워크 계층을 통하여 어플리케이션 계층으로 전달된다. 통상의 휴대 단말에서는 제어 루트 관리부(194)를 거치지 않고 커널 디바이스 드라이버와 HAL 간에 제어 명령/이벤트 신호가 오고 갈 것이지만, 본 발명에 따른 휴대 단말(100)의 경우에는 제어 명령이 전달되어야 하는 서브 디바이스가 도킹 전과 후에 따라 물리적으로 달라지게 되므로 휴대 단말(100)과 외부 디바이스(200)가 도킹 연결되었는지 여부를 판단하고, 그 결과에 따라 제어 명령 전달 루트를 관리하는 제어 루트 관리부(194)가 더 포함될 수 있다.First, referring to FIG. 9, a control command before establishing a docking connection starts from an application layer, and passes through a framework layer, a hardware abstraction layer (HAL), and a control route management unit 194. It is delivered to the device driver of the second sub device, and when an event occurs in the second sub device, it is delivered to the application layer through the device driver of the kernel, the control route manager 194, the HAL, and the framework layer. In a typical portable terminal, the control command / event signal will come and go between the kernel device driver and the HAL without going through the control route management unit 194. However, in the case of the portable terminal 100 according to the present invention, the sub-device to which the control command should be transmitted is provided. Is physically different according to before and after docking, and further includes a control route management unit 194 for determining whether the portable terminal 100 and the external device 200 are docked and managing the control command delivery route according to the result. Can be.

휴대 단말(100)과 외부 디바이스 간에 도킹 연결이 수립된 경우에는 어플리케이션 계층, 프레임워크 계층 HAL을 거쳐 제어 루트 관리부(194)로 전달된 제어 명령은 제2 서브 디바이스의 디바이스 드라이버가 아닌 외부 디바이스에 포함된 제1 서브 디바이스의 디바이스 드라이버에 전달되도록 또는 제1 서브 디바이스에서 발생한 이벤트 신호가 제어 루트 관리부(194)로 전달되어, HAL 프레임워크 계층을 거쳐 어플리케이션 계층으로 전달될 수 있도록 이벤트 신호를 처리한다.When the docking connection is established between the mobile terminal 100 and the external device, the control command transmitted to the control route management unit 194 through the application layer and the framework layer HAL is included in the external device, not the device driver of the second subdevice. The event signal to be delivered to the device driver of the first subdevice or the event signal generated in the first subdevice is transmitted to the control route management unit 194 to process the event signal to be delivered to the application layer via the HAL framework layer.

일 실시예에서는, 이벤트 신호나 제어 명령이 휴대 단말(100)의 도킹 에이전트(192)와 외부 디바이스(200)의 도킹 관리부(292)를 통해 전달될 수 있으며, 이러한 실시예에서는 제어 경로가 도 10에 도시된 바와 같이 변경될 수 있다. 즉, 도킹 연결이 수립된 경우, 제어 루트 관리부(194)는 제2 서브 디바이스로 전달되어야 할 제어 명령을 제1 서브 디바이스의 디바이스 드라이버로 보내기 위하여 외부 디바이스(200)와 신호를 송수신하는 도킹 에이전트(192)로 전달한다. 한편, 제1 서브 디바이스에 서 생성된 이벤트 신호는 도킹 관리부(292)를 거쳐 도킹 에이전트(192)로 전달되며, 도킹 에이전트(192)는 제1 서브 디바이스로부터 이벤트가 발생했음을 제어 루트 관리부(194)에 알려줄 수 있다.In one embodiment, an event signal or a control command may be delivered through the docking agent 192 of the mobile terminal 100 and the docking manager 292 of the external device 200, and in this embodiment, the control path is illustrated in FIG. 10. It can be changed as shown in. That is, when the docking connection is established, the control route management unit 194 may include a docking agent that transmits and receives a signal to and from the external device 200 to send a control command to be transmitted to the device driver of the first subdevice. 192). Meanwhile, the event signal generated by the first subdevice is transmitted to the docking agent 192 through the docking manager 292, and the docking agent 192 controls that the event has occurred from the first subdevice. I can let you know.

특정 실시예에서, 도킹 에이전트(192)가 제어 루트 관리부(194)로부터 제어 명령을 전달 받기 위하여 소정의 모듈(혹은 함수)을 등록하고 제어 루트 관리부(194)는 상기 소정의 모듈을 호출함으로써 제어 명령을 전달할 수 있다. 이러한 실시예에서는 휴대 단말의 초기화 시에 제2 서브 디바이스를 제어하기 위한 커널 드라이버의 모듈 및 이에 상응하는 도킹 에이전트(192)의 모듈이 제어 루트 관리부(194)에 등록되며, 제어 루트 관리부(194)는 도킹 연결 여부에 따라 호출할 모듈을 결정할 수 있다.In a particular embodiment, the docking agent 192 registers a predetermined module (or function) to receive a control command from the control route manager 194 and the control route manager 194 calls the predetermined module to control the command. Can be passed. In this embodiment, the module of the kernel driver for controlling the second sub-device and the corresponding module of the docking agent 192 is registered in the control route management unit 194 in the initialization of the mobile terminal, the control route management unit 194 May determine a module to call according to whether the docking connection is established.

다른 특정 실시예에서, 도킹 에이전트(192)는 제어 루트 관리부(194)에 구현된 소정의 모듈(혹은 함수)을 호출하여 이벤트의 발생을 제어 루트 관리부(194)에 알려줄 수 있다. 이러한 실시예에서는 제어 루트 관리부(194)는 도킹 연결 여부에 따라 커널 드라이브로부터 오는 이벤트와 도킹 에이전트(192)로부터 오는 이벤트 중 어느 이벤트를 처리할 지 결정하여, 이벤트를 처리하기 위한 핸들러에 해당 이벤트를 전달할 수 있다. 한편, 상기 핸들러는 제어 루트 관리부(194) 내에서 구현될 수도 있고, 제어 루트 관리부가 위치한 계층과는 별도의 계층에 구현될 수도 있다.In another particular embodiment, the docking agent 192 may call a predetermined module (or function) implemented in the control route manager 194 to inform the control route manager 194 of the occurrence of an event. In this embodiment, the control root management unit 194 determines which event from the kernel drive and the event from the docking agent 192 to process according to whether the docking connection is handled, and sends the corresponding event to a handler for processing the event. I can deliver it. On the other hand, the handler may be implemented in the control route management unit 194, or may be implemented in a layer separate from the layer in which the control route management unit is located.

도 9 및 도 10에서는, 제어 루트 관리부(194)가 커널 계층에, 도킹 에이전트(192)가 어플리케이션 계층에 탑재되는 것으로 도시하고 있으나, 실시예에 따라서는 제어 루트 관리부(194)가 HAL에 탑재될 수도 있고, 도킹 에이전트(192)가 프레임워크 계층, HAL 또는 커널 계층에 탑재될 수도 있다. 외부 단말의 도킹 관리부(292)도 도 9 및 도 10과 달리 프레임워크 계층 또는 HAL에 탑재될 수도 있다. 9 and 10 illustrate that the control route manager 194 is mounted on the kernel layer and the docking agent 192 is mounted on the application layer. However, in some embodiments, the control route manager 194 may be mounted on the HAL. The docking agent 192 may be mounted on the framework layer, the HAL, or the kernel layer. The docking management unit 292 of the external terminal may also be mounted in the framework layer or the HAL, unlike FIGS. 9 and 10.

한편, 도 9 및 도 10은 제어 명령/이벤트의 전달에 관여하는 구성 요소를 제어 루트 관리부(194) 및 도킹 에이전트(192)로 나누어 설명하고 있으나 양자는 제어부(190) 내에서 하나의 구성 요소로 구현될 수도 있으며, 이 경우 제어부(190)는 커널 계층에 탑재될 수도 있다. 제어 명령/이벤트의 전달에 관여하는 구성 요소를 모두 커널 계층에 탑재할 지 또는 구성요소를 나누어 다른 계층에 탑재할 지는 호환성과 처리 속도 중 어느 것을 우선하느냐에 따라 달라질 수 있다. 즉, 제어 명령/이벤트의 전달에 관여하는 구성 요소를 모두 커널 계층에 탑재하는 경우에는 제어 명령/이벤트의 전달 경로가 짧아지게 되므로 처리 속도 면에서 유리할 것이다. 한편, 제어 명령/이벤트의 전달에 관여하는 구성 요소를 나누어 각각을 다른 계층에 배치 하는 경우(특히, 어플리케이션 계층과 커널 계층에 각각 배치하는 경우)에는 개발의 용이성 및 호환성의 측면에서 유리한 점이 있을 것이다.
9 and 10 illustrate components involved in the transmission of control commands / events by dividing the control route management unit 194 and the docking agent 192 into a component in the control unit 190. In this case, the controller 190 may be mounted in the kernel layer. Whether all components involved in the delivery of control commands / events are loaded into the kernel layer or divided into different layers can depend on whether compatibility or processing speed is a priority. In other words, when all components involved in the delivery of control commands / events are mounted in the kernel layer, the path for delivering control commands / events is shortened, which may be advantageous in terms of processing speed. On the other hand, there are advantages in terms of ease of development and compatibility in case of dividing the components involved in the transmission of control commands / events and placing each in a different layer (especially in the application layer and the kernel layer). .

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다.The foregoing description of the present invention is intended for illustration, and it will be understood by those skilled in the art that the present invention may be easily modified in other specific forms without changing the technical spirit or essential features of the present invention. will be.

그러므로 이상에서 기술한 실시 예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. For example, each component described as a single entity may be distributed and implemented, and components described as being distributed may also be implemented in a combined form.

본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타나며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is shown by the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalents should be construed as being included in the scope of the present invention. .

Claims (15)

외부 디바이스와 연동되는 휴대 단말로서,
상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스; 및
상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 휴대 단말에서 발생한 소정의 제어 명령을 상기 제1 서브 디바이스로 전달하고, 상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 소정의 제어 명령을 상기 제2 서브 디바이스로 전달하는 제어부
를 포함하는 휴대 단말.
A portable terminal interoperating with an external device,
A second sub device corresponding to the first sub device included in the external device; And
When the portable terminal is interlocked with the external device, a predetermined control command generated by the portable terminal is transmitted to the first sub device, and when the portable terminal and the external device are unlinked, the predetermined control command is transmitted. Control unit for transmitting to the second sub device
A mobile terminal comprising a.
외부 디바이스와 연동되는 휴대 단말로서,
상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스;
상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 제1 서브 디바이스로부터 전달되는 제1 이벤트를 처리하고, 상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 제1 이벤트에 상응하고 상기 제2 서브 디바이스로부터 전달되는 제2 이벤트를 처리하는 제어부
를 포함하는 휴대 단말.
A portable terminal interoperating with an external device,
A second sub device corresponding to the first sub device included in the external device;
When the portable terminal is interlocked with the external device, the first event transmitted from the first sub device is processed. When the portable terminal and the external device are unlinked, the portable terminal corresponds to the first event and the second event. Control unit for processing the second event delivered from the sub-device
A mobile terminal comprising a.
제1항 또는 제2항에 있어서,
상기 휴대 단말과 상기 외부 디바이스는 도킹 연결의 방식으로 연동하며,
상기 휴대 단말은,
도킹 인터페이스부; 및
상기 도킹 인터페이스부를 통한 상기 외부 디바이스와의 도킹 연결을 감지하는 연동 감지부를 더 포함하는 휴대 단말.
The method according to claim 1 or 2,
The portable terminal and the external device interlock with each other by a docking connection method,
The mobile terminal,
Docking interface unit; And
The portable terminal further comprises an interlocking sensing unit for detecting a docking connection with the external device through the docking interface unit.
제1항 또는 제2항에 있어서,
상기 휴대 단말과 상기 외부 디바이스는 무선 연결의 방식으로 연동하며,
상기 휴대 단말은,
무선 통신부; 및
상기 무선 통신부를 통한 상기 외부 디바이스와의 연동을 감지하는 연동 감지부를 더 포함하는 휴대 단말.
The method according to claim 1 or 2,
The portable terminal and the external device interwork with each other by a wireless connection method,
The mobile terminal,
A wireless communication unit; And
The mobile terminal further comprises an interlock detection unit for detecting the interworking with the external device through the wireless communication unit.
제1항 또는 제2항에 있어서,
상기 제어부는,
상기 소정의 제어 명령을 연동된 상기 외부 디바이스로 전달하는 도킹 에이전트부; 및
상기 휴대 단말과 상기 외부 디바이스가 연동된 경우에는 상기 소정의 제어 명령을 상기 도킹 에이전트부로 전달하고, 상기 휴대 단말이 상기 외부 디바이스와 연동 해제된 경우에는 상기 소정의 제어 명령을 상기 제2 서브 디바이스로 전달하는 제어 루트 관리부
를 포함하는 휴대 단말.
The method according to claim 1 or 2,
The control unit,
A docking agent unit configured to transfer the predetermined control command to the linked external device; And
When the portable terminal is interlocked with the external device, the predetermined control command is transmitted to the docking agent unit. When the portable terminal is released from the external device, the predetermined control command is transmitted to the second sub device. Control Route Management Unit to Forward
A mobile terminal comprising a.
제5항에 있어서,
상기 도킹 에이전트부는 상기 휴대 단말을 구동하는 OS의 어플리케이션 계층에 탑재되고, 상기 제어루트 관리부는 상기 OS의 커널 계층에 탑재되는 것을 특징으로 하는 휴대 단말.
The method of claim 5,
The docking agent unit is mounted on the application layer of the OS that drives the portable terminal, and the control root management unit is mounted on the kernel layer of the OS.
제1항 또는 제2항에 있어서,
상기 제어부는 상기 휴대 단말을 구동하는 OS의 커널 계층에 탑재되는 것을 특징으로 하는 휴대 단말.
The method according to claim 1 or 2,
The controller is mounted on a kernel layer of an OS that drives the portable terminal.
제1항 또는 제2항에 있어서,
상기 외부 디바이스와의 연동을 감지하는 연동 감지부를 더 포함하되,
상기 제어부는,
상기 외부 디바이스와의 연동이 감지된 경우, 상기 제1 서브 디바이스의 상태가 상기 제2 서브 디바이스의 상태로 변경되도록 하기 위하여 상기 외부 디바이스로 상기 제2 서브 디바이스의 상태 정보를 전달하는 휴대 단말.
The method according to claim 1 or 2,
Further comprising a linkage detection unit for detecting the linkage with the external device,
The control unit,
And when the linkage with the external device is detected, transferring the state information of the second subdevice to the external device to change the state of the first subdevice to the state of the second subdevice.
제8항에 있어서,
상기 제어부는,
상기 외부 디바이스와의 연동이 감지된 경우, 상기 제2 서브 디바이스를 비활성화 하는 휴대 단말.
9. The method of claim 8,
The control unit,
The portable terminal deactivates the second sub-device when the interworking with the external device is detected.
외부 디바이스와 연동되며 상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스를 포함하는 휴대 단말을 제어하는 방법으로서,
상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 휴대 단말에서 발생한 소정의 제어 명령을 상기 제1 서브 디바이스로 전달하는 단계; 및
상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 소정의 제어 명령을 상기 제2 서브 디바이스로 전달하는 단계를 포함하는 휴대 단말을 제어하는 방법.
A method of controlling a portable terminal interoperating with an external device and including a second subdevice corresponding to a first subdevice included in the external device,
Transmitting a predetermined control command generated in the portable terminal to the first sub device when the portable terminal is linked with the external device; And
And transmitting the predetermined control command to the second sub device when the portable terminal is disconnected from the external device.
외부 디바이스와 연동되며 상기 외부 디바이스에 포함된 제1 서브 디바이스에 상응하는 제2 서브 디바이스를 포함하는 휴대 단말을 제어하는 방법으로서,
상기 휴대 단말이 상기 외부 디바이스와 연동된 경우에는 상기 제1 서브 디바이스로부터 전달되는 제1 이벤트를 처리하는 단계; 및
상기 휴대 단말과 상기 외부 디바이스가 연동 해제된 경우에는 상기 제1 이벤트에 상응하고 상기 제2 서브 디바이스로부터 전달되는 제2 이벤트를 처리하는 단계를 포함하는 휴대 단말을 제어하는 방법.
A method of controlling a portable terminal interoperating with an external device and including a second subdevice corresponding to a first subdevice included in the external device,
Processing the first event transmitted from the first sub-device when the mobile terminal is interlocked with the external device; And
And processing the second event corresponding to the first event and delivered from the second sub device when the portable terminal and the external device are unlinked.
제10항 또는 제11항에 있어서,
상기 휴대 단말과 상기 외부 디바이스는 도킹 연결의 방식으로 연동하며,
상기 휴대 단말은 도킹 인터페이스부를 더 포함하되,
상기 휴대 단말을 제어하는 방법은,
상기 도킹 인터페이스부를 통한 상기 외부 디바이스와의 도킹 연결을 감지하는 단계; 및
상기 외부 디바이스와의 도킹 연결이 감지된 경우, 상기 제1 서브 디바이스의 상태가 상기 제2 서브 디바이스의 상태로 변경되도록 하기 위하여 상기 외부 디바이스로 상기 제2 서브 디바이스의 상태 정보를 전달하는 단계를 더 포함하는 휴대 단말을 제어하는 방법.
The method according to claim 10 or 11,
The portable terminal and the external device interlock with each other by a docking connection method,
The portable terminal further includes a docking interface unit,
Method for controlling the portable terminal,
Detecting a docking connection with the external device through the docking interface; And
If the docking connection with the external device is detected, transferring the state information of the second subdevice to the external device to change the state of the first subdevice to the state of the second subdevice. Method for controlling a mobile terminal comprising.
제12항에 있어서,
상기 외부 디바이스와의 도킹 연결이 감지된 경우, 상기 제2 서브 디바이스를 비활성화 하는 단계를 더 포함하는 휴대 단말을 제어하는 방법.
The method of claim 12,
When the docking connection with the external device is detected, deactivating the second sub-device.
제10항 또는 제11항에 있어서,
상기 휴대 단말과 상기 외부 디바이스는 무선 연결의 방식으로 연동하며,
상기 휴대 단말은 무선 통신부를 더 포함하되,
상기 휴대 단말을 제어하는 방법은,
상기 무선 통신부를 통한 상기 외부 디바이스와의 연동을 감지하는 단계; 및
상기 외부 디바이스와의 연동이 감지된 경우, 상기 제1 서브 디바이스의 상태가 상기 제2 서브 디바이스의 상태로 변경되도록 하기 위하여 상기 외부 디바이스로 상기 제2 서브 디바이스의 상태 정보를 전달하는 단계를 더 포함하는 휴대 단말을 제어하는 방법.
The method according to claim 10 or 11,
The portable terminal and the external device interwork with each other by a wireless connection method,
The portable terminal further includes a wireless communication unit,
Method for controlling the portable terminal,
Detecting interworking with the external device through the wireless communication unit; And
If the linkage with the external device is detected, transmitting the state information of the second subdevice to the external device so that the state of the first subdevice is changed to the state of the second subdevice. A method of controlling a mobile terminal.
제14항에 있어서,
상기 외부 디바이스와의 연동이 감지된 경우, 상기 제2 서브 디바이스를 비활성화 하는 단계를 더 포함하는 휴대 단말을 제어하는 방법.
15. The method of claim 14,
If the linkage with the external device is detected, deactivating the second subdevice.
KR20110115326A 2011-06-30 2011-11-07 Mobile terminal docking with external device and controlling method thereof KR101485156B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR20110115326A KR101485156B1 (en) 2011-11-07 2011-11-07 Mobile terminal docking with external device and controlling method thereof
PCT/KR2012/005068 WO2013002547A2 (en) 2011-06-30 2012-06-27 Portable terminal capable of docking with an external device and method for controlling same
US13/540,112 US8949494B2 (en) 2011-06-30 2012-07-02 User equipment connectable to an external device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20110115326A KR101485156B1 (en) 2011-11-07 2011-11-07 Mobile terminal docking with external device and controlling method thereof

Publications (2)

Publication Number Publication Date
KR20130050136A true KR20130050136A (en) 2013-05-15
KR101485156B1 KR101485156B1 (en) 2015-01-23

Family

ID=48660647

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20110115326A KR101485156B1 (en) 2011-06-30 2011-11-07 Mobile terminal docking with external device and controlling method thereof

Country Status (1)

Country Link
KR (1) KR101485156B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016006726A1 (en) * 2014-07-07 2016-01-14 삼성전자주식회사 Method for sharing application program and electronic device therefor
KR20170006958A (en) * 2015-07-10 2017-01-18 주식회사 엘지유플러스 Portable device and docking station providing extended voice recognition service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100555901B1 (en) * 2003-02-18 2006-03-03 삼성전자주식회사 Mobile apparatus having function for palying multi-media and method there of

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016006726A1 (en) * 2014-07-07 2016-01-14 삼성전자주식회사 Method for sharing application program and electronic device therefor
US10372425B2 (en) 2014-07-07 2019-08-06 Samsung Electronics Co., Ltd. Method for sharing application program and electronic device therefor
KR20170006958A (en) * 2015-07-10 2017-01-18 주식회사 엘지유플러스 Portable device and docking station providing extended voice recognition service

Also Published As

Publication number Publication date
KR101485156B1 (en) 2015-01-23

Similar Documents

Publication Publication Date Title
WO2022062236A1 (en) Data transmission method and device
US10331579B2 (en) Universal serial bus (USB) system supporting display alternate mode functionality on a USB type-C adapter
US10339093B2 (en) USB interface using repeaters with guest protocol support
US8656064B2 (en) Communication device and communication method
US8949494B2 (en) User equipment connectable to an external device
US20110125930A1 (en) Configurable connector for system-level communication
JP2012522420A (en) Mobile computing device and system and method for managing data communications in a mobile computing device docking station
US20130050122A1 (en) Controlling user equipment as touch pad for external device connected thereto
US8959267B2 (en) Controlling an external device connected to user equipment
KR101277657B1 (en) Method for handling input event between external device and mobile terminal docking thereat
KR20130006031A (en) Method and apparatus for interfacing between external device and mobile device
US11176078B2 (en) Communication method using input/output interface, and apparatus therefor
KR101504654B1 (en) Method for Establishing Connection Between External Device and Mobile Terminal Docking Thereat
JP2010140388A (en) Device, system and method for preventing theft
KR20130050136A (en) Mobile terminal docking with external device and controlling method thereof
CN114116571A (en) Mobile device bridge platform
KR101485154B1 (en) Method for Changing to Wake Up Mode at External Device and Mobile Terminal Docking Thereat
TWI462560B (en) Portable electronic device, charging system and charging method
AU2009266567B2 (en) Terminal apparatus using a peripheral apparatus of another terminal via the control of one terminal, and interface method thereof
KR102001223B1 (en) System and method for authorizing mobile terminal connecting to external device, and external device authorizing mobile terminal
KR20120106480A (en) Mobile terminal for connection with external device, and processing method thereof
WO2022170861A1 (en) Data transmission method of electronic device, electronic device, and interface circuit
KR101485153B1 (en) Method for Changing to Wake Up Mode at External Device and Mobile Terminal Docking Thereat
KR20140045966A (en) Mobile terminal for connection with external device, and method for changing screen image thereof
JP2018185664A (en) Control system, electronic apparatus, and control method

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190102

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20200102

Year of fee payment: 6