KR20220167747A - Host system and Device performing environment setting based on connector connection direction and Operating Method of host system - Google Patents

Host system and Device performing environment setting based on connector connection direction and Operating Method of host system Download PDF

Info

Publication number
KR20220167747A
KR20220167747A KR1020220040460A KR20220040460A KR20220167747A KR 20220167747 A KR20220167747 A KR 20220167747A KR 1020220040460 A KR1020220040460 A KR 1020220040460A KR 20220040460 A KR20220040460 A KR 20220040460A KR 20220167747 A KR20220167747 A KR 20220167747A
Authority
KR
South Korea
Prior art keywords
host system
information
pin
usb
host
Prior art date
Application number
KR1020220040460A
Other languages
Korean (ko)
Inventor
문준영
이상민
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to EP22176402.0A priority Critical patent/EP4105786B1/en
Priority to US17/836,829 priority patent/US20220398205A1/en
Priority to TW111121710A priority patent/TW202301139A/en
Priority to CN202210668209.XA priority patent/CN115481064A/en
Publication of KR20220167747A publication Critical patent/KR20220167747A/en

Links

Images

Classifications

    • 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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • 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/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

Disclosed are a host system and a device for performing an environment setting based on a connector connection direction and an operating method of the host system. According to an embodiment of the technical idea of the present disclosure, the host system comprises: a connector which has a structure connected to the device regardless of direction, and in which a plurality of pins are arranged; a connection direction detector which detects a direction in which the device is connected to the host system, by detecting a signal from at least one first pin among the plurality of pins; and a setting controller which receives setting information, related to an environment setting supported by the device, from the device and controls an environment setting operation for the device, based on the direction information from the connection direction detector. The host system performs control so that a function module provided in the device and having a unique function is selectively enabled based on the setting information and the direction information. Therefore, the host system can implement various user environments by using the unique structure of a USB type-C interface.

Description

커넥터 연결 방향에 기반한 환경 설정을 수행하는 호스트 시스템 및 디바이스, 그리고 호스트 시스템의 동작방법{Host system and Device performing environment setting based on connector connection direction and Operating Method of host system}Host system and device performing environment setting based on connector connection direction and Operating Method of host system

본 개시의 기술적 사상은 호스트 시스템 및 이에 연결되는 디바이스에 관한 것이며, 더욱 상세하게는, 커넥터 연결 방향에 기반한 환경 설정을 수행하는 호스트 시스템 및 디바이스, 그리고 호스트 시스템의 동작방법에 관한 것이다.The technical idea of the present disclosure relates to a host system and a device connected thereto, and more particularly, to a host system and device that performs environment setting based on a connector connection direction, and a method of operating the host system.

데이터 처리 시스템을 구성하는 전자 장치들은 다양한 방식의 인터페이스 표준들을 통해 통신할 수 있다. 일 예로서, 호스트 시스템과 디바이스가 데이터 처리 시스템을 구성할 수 있고, 인터페이스 중 일 예로서 호스트 시스템과 디바이스 는 USB(Universal Serial Bus) Type-C 또는 USB PD(Universal Serial Bus Power Delivery) Type-C 인터페이스를 통해 통신할 수 있다. USB Type-C 인터페이스 표준에 따르면, 사용자는 방향에 무관하게 디바이스를 호스트 시스템에 연결할 수 있으며, 일 예로서 사용자는 디바이스의 플러그(plug)를 양방향으로 호스트 시스템의 리셉터클(receptacle)에 연결할 수 있다. 호스트 시스템은 USB Type-C 인터페이스에서 정의되는 동작을 기초로 디바이스의 각종 특성들을 판단할 수 있다. Electronic devices constituting the data processing system may communicate through various types of interface standards. As an example, a host system and a device may configure a data processing system, and as an example of an interface, the host system and the device may be USB (Universal Serial Bus) Type-C or USB PD (Universal Serial Bus Power Delivery) Type-C You can communicate through an interface. According to the USB Type-C interface standard, a user can connect a device to a host system regardless of direction. As an example, a user can connect a plug of a device to a receptacle of a host system in both directions. The host system can determine various characteristics of the device based on the operation defined in the USB Type-C interface.

그러나, 일반적으로 호스트 시스템은, USB Type-C 인터페이스에서 정의되는 사항들에 기초하여 디바이스의 연결 방향을 감지할 수는 있으나, 디바이스의 연결 방향에 따라 데이터가 전송되는 핀들의 위치만을 판단할 수 있을 뿐, 데이터 처리 시스템을 사용하는 사용자의 만족을 위한 다양한 환경들을 제공하는 데는 한계가 있다.However, in general, the host system can detect the connection direction of the device based on the items defined in the USB Type-C interface, but can only determine the positions of pins through which data is transmitted according to the connection direction of the device. However, there is a limit to providing various environments for the satisfaction of users using the data processing system.

본 발명의 기술적 사상이 해결하려는 과제는, USB Type-C 인터페이스의 고유한 구조를 활용함으로써 다양한 사용자 환경을 구현할 수 있는 호스트 시스템 및 디바이스를 제공함에 있다.An object to be solved by the technical idea of the present invention is to provide a host system and a device capable of implementing various user environments by utilizing a unique structure of a USB Type-C interface.

상기와 같은 목적을 달성하기 위하여, 본 개시의 기술적 사상의 일측면에 따른 호스트 시스템은, 상기 디바이스와 방향에 무관하게 연결되는 구조를 가지며, 다수의 핀들이 배치되는 커넥터와, 상기 다수의 핀들 중 적어도 하나의 제1 핀으로부터의 신호를 검출함에 의해 상기 디바이스가 상기 호스트 시스템에 연결된 방향을 감지하는 연결 방향 감지기 및 상기 디바이스로부터 상기 디바이스에서 지원되는 환경 설정에 관련된 설정 정보를 수신하고, 상기 연결 방향 감지기로부터의 방향 정보에 기초하여 상기 디바이스에 대한 환경 설정 동작을 제어하는 설정 제어기를 구비하고, 상기 호스트 시스템은, 상기 설정 정보 및 상기 방향 정보에 기초하여 상기 디바이스에 구비되는 고유한 기능을 갖는 기능 모듈이 선택적으로 인에이블되도록 제어를 수행하는 것을 특징으로 한다.In order to achieve the above object, a host system according to one aspect of the technical idea of the present disclosure includes a connector having a structure connected to the device regardless of direction and having a plurality of pins disposed thereon, and among the plurality of pins A connection direction detector detecting a direction in which the device is connected to the host system by detecting a signal from at least one first pin and receiving setting information related to environment settings supported by the device from the device, and the connection direction A setting controller configured to control an environment setting operation for the device based on direction information from a sensor, and the host system includes a function having a unique function provided in the device based on the setting information and the direction information. It is characterized by performing control so that the module is selectively enabled.

한편, 본 개시의 기술적 사상의 일측면에 따른 호스트 시스템의 동작방법은, USB Type-C 구조의 커넥터를 통해 연결된 디바이스를 인식하는 단계와, 상기 커넥터의 다수의 핀들 중 적어도 하나의 제1 핀으로부터의 신호를 검출함에 의해 상기 디바이스가 상기 호스트 시스템에 연결된 방향을 감지하는 단계와, 상기 디바이스에 대한 제1 제어를 통해, 상기 디바이스에서 지원되는 환경 설정에 관련된 설정 정보를 수신하는 단계 및 상기 디바이스에 대한 제2 제어를 통해, 상기 디바이스에 대한 환경 설정 동작을 제어하는 단계를 구비하고, 상기 제2 제어는 상기 디바이스의 연결 방향을 감지한 결과와 상기 디바이스로부터 수신된 상기 설정 정보에 기초하여 수행되고, 상기 제2 제어에 따라 상기 디바이스에 구비되는 고유한 기능을 갖는 기능 모듈이 선택적으로 인에이블되도록 제어되는 것을 특징으로 한다.Meanwhile, a method of operating a host system according to one aspect of the technical idea of the present disclosure includes recognizing a device connected through a connector having a USB Type-C structure, and from at least one first pin among a plurality of pins of the connector. detecting a direction in which the device is connected to the host system by detecting a signal of ; receiving setting information related to environment settings supported by the device through first control of the device; and and controlling an environment setting operation for the device through a second control for the device, wherein the second control is performed based on a result of detecting a connection direction of the device and the setting information received from the device. , It is characterized in that a function module having a unique function provided in the device is controlled to selectively enable according to the second control.

한편, 본 개시의 기술적 사상의 일측면에 따른 USB 디바이스는, 호스트 시스템과 방향에 무관하게 연결되는 구조를 가지며, 다수의 핀들이 배치되는 커넥터와, 하나 이상의 컨텐츠 정보들을 저장하고, 상기 호스트 시스템으로부터의 제1 제어에 기초하여 상기 컨텐츠 정보들을 상기 호스트 시스템으로 제공하는 불휘발성 메모리 장치와, 상기 호스트 시스템에 하나 이상의 사용자 환경을 제공하기 위한 기능을 갖는 기능 모듈 및 상기 호스트 시스템의 제2 제어에 기초하여, 상기 기능 모듈의 인에이블 제어를 포함하는 상기 USB 디바이스의 동작 환경을 설정하는 환경 설정기를 구비하고, 상기 환경 설정기는, 상기 USB 디바이스가 상기 호스트 시스템에 제1 방향으로 연결됨에 따라 상기 제2 제어에 기초하여 상기 기능 모듈을 디스에이블하고, 상기 USB 디바이스가 상기 호스트 시스템에 제2 방향으로 연결됨에 따라 상기 제2 제어에 기초하여 상기 기능 모듈을 인에이블하는 것을 특징으로 한다.Meanwhile, a USB device according to one aspect of the technical idea of the present disclosure has a structure that is connected to a host system regardless of direction, stores a connector on which a plurality of pins are disposed, and one or more pieces of content information, and stores information from the host system. A non-volatile memory device providing the content information to the host system based on the first control of the function module having a function for providing one or more user environments to the host system and based on the second control of the host system and an environment setter configured to set an operating environment of the USB device including enabling control of the function module, wherein the environment setter configures the second device as the USB device is connected to the host system in a first direction. Disabling the function module based on control, and enabling the function module based on the second control when the USB device is connected to the host system in a second direction.

본 발명의 기술적 사상의 호스트 시스템 및 디바이스에 따르면, USB Type-C 인터페이스에 따라 양방향으로 연결이 가능한 디바이스에 다양한 기능 모듈들이 구비되고, 디바이스의 호스트 시스템에 대한 연결 방향에 따라 상기 기능 모듈들이 선택적으로 인에이블될 수 있으므로, 다양한 종류의 사용자 환경들을 사용자에게 제공할 수 있으므로 사용자 만족도를 향상하는 효과가 있다.According to the host system and device of the technical concept of the present invention, a device that can be connected in both directions according to a USB Type-C interface is provided with various function modules, and the function modules are selectively selected according to the connection direction of the device to the host system. Since it can be enabled, since various types of user environments can be provided to the user, user satisfaction is improved.

도 1은 본 개시의 예시적인 실시예에 따른 데이터 처리 시스템을 나타내는 블록도이다.
도 2a,b는 USB Type-C 구조의 커넥터를 포함하는 호스트 시스템 및 디바이스의 일 구현 예를 나타내는 도면이다.
도 3은 USB Type-C 구조의 커넥터의 CC 핀의 저항 연결 상태를 나타내는 회로도이다.
도 4는 본 개시의 예시적인 실시예에 따른 USB Type-C 인터페이스 기반의 통신 예를 나타내는 블록도이다.
도 5 및 도 6은 본 개시의 예시적인 실시예들에 따른 디바이스의 구현 예를 나타내는 블록도이다.
도 7은 본 개시의 예시적인 실시예에 따른 호스트 시스템의 구현 예를 나타내는 블록도이다.
도 8은 본 개시의 예시적인 실시예에 따른 데이터 처리 시스템의 동작방법을 나타내는 플로우차트이다.
도 9 내지 도 12는 본 개시의 다양한 실시예들에 따른 데이터 처리 시스템을 나타내는 블록도이다.
도 13은 본 개시의 실시예들이 디지털 TV(DTV) 시스템에 적용된 경우를 나타내는 블록도이다.
도 14는 본 개시의 예시적인 실시예에서의 시스템의 구현 예를 나타내는 도면이다.
도 15는 본 개시의 예시적인 실시예에 따라, 디바이스가 호스트 시스템에 대한 환경 설정 제어를 수행하는 전자 시스템을 나타내는 블록도이다.
1 is a block diagram illustrating a data processing system according to an exemplary embodiment of the present disclosure.
2a and b are diagrams illustrating an implementation example of a host system and a device including a connector having a USB Type-C structure.
3 is a circuit diagram showing a resistance connection state of a CC pin of a connector having a USB Type-C structure.
4 is a block diagram illustrating an example of communication based on a USB Type-C interface according to an exemplary embodiment of the present disclosure.
5 and 6 are block diagrams illustrating implementation examples of devices according to exemplary embodiments of the present disclosure.
7 is a block diagram illustrating an implementation example of a host system according to an exemplary embodiment of the present disclosure.
8 is a flowchart showing a method of operating a data processing system according to an exemplary embodiment of the present disclosure.
9 to 12 are block diagrams illustrating data processing systems according to various embodiments of the present disclosure.
13 is a block diagram illustrating a case in which embodiments of the present disclosure are applied to a digital TV (DTV) system.
14 is a diagram illustrating an example implementation of a system in an exemplary embodiment of the present disclosure.
15 is a block diagram illustrating an electronic system in which a device performs environment setting control for a host system, according to an exemplary embodiment of the present disclosure.

이하, 첨부한 도면을 참조하여 본 발명의 실시 예에 대해 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 개시의 예시적인 실시예에 따른 데이터 처리 시스템을 나타내는 블록도이다. 도 1에서는 데이터 처리 시스템(10)이 소정의 인터페이스에 따라 통신하는 전자 장치들을 포함하는 경우가 예시되며, 전자 장치들은 호스트 시스템(100) 및 디바이스(200)를 포함할 수 있다. 1 is a block diagram illustrating a data processing system according to an exemplary embodiment of the present disclosure. 1 illustrates a case in which the data processing system 10 includes electronic devices that communicate according to a predetermined interface, and the electronic devices may include a host system 100 and a device 200 .

호스트 시스템(100)과 디바이스(200)는 소정의 인터페이스로서, USB(Universal Serial Bus) Type-C 또는 USB PD(Universal Serial Bus Power Delivery) Type-C 인터페이스 표준에 따른 통신을 수행할 수 있다. 이하의 실시예들에서, 호스트 시스템(100)과 디바이스(200)가 USB Type-C 인터페이스에 따른 통신을 수행하는 것으로 가정할 것이다. 그러나, 본 개시의 실시예들은 이에 국한될 필요는 없으며, 커넥터의 핀 구조가 양 방향(예컨대, 상하 방향 및/또는 좌우 방향)으로 대칭 구조를 가짐에 따라, 디바이스(200)에 포함된 커넥터가 양방향으로 호스트 시스템(100)의 커넥터에 연결될 수 있는 다양한 인터페이스들이 적용될 수도 있을 것이다.The host system 100 and the device 200 may perform communication according to a USB (Universal Serial Bus) Type-C or USB PD (Universal Serial Bus Power Delivery) Type-C interface standard as a predetermined interface. In the following embodiments, it will be assumed that the host system 100 and the device 200 perform communication according to the USB Type-C interface. However, the embodiments of the present disclosure are not necessarily limited thereto, and as the pin structure of the connector has a symmetrical structure in both directions (eg, up and down directions and/or left and right directions), the connector included in the device 200 Various interfaces that can be connected to the connector of the host system 100 in both directions may be applied.

호스트 시스템(100)과 디바이스(200) 각각은 USB Type-C 구조의 커넥터를 포함할 수 있고, 디바이스(200)가 호스트 시스템(100)에 연결되는 경우, 호스트 시스템(100)에 구비되는 커넥터(101)는 리셉터클(receptacle)로 지칭될 수 있고, 디바이스(200)에 구비되는 커넥터(201)는 리셉터클에 삽입되는 플러그(plug)로 지칭될 수 있다. USB Type-C 인터페이스에 따라, 방향에 관계 없이 디바이스(200)의 커넥터(201)가 호스트 시스템(100)의 커넥터(101)에 연결될 수 있다. Each of the host system 100 and the device 200 may include a connector of a USB Type-C structure, and when the device 200 is connected to the host system 100, the connector provided in the host system 100 ( 101) may be referred to as a receptacle, and the connector 201 provided in the device 200 may be referred to as a plug inserted into the receptacle. According to the USB Type-C interface, the connector 201 of the device 200 can be connected to the connector 101 of the host system 100 regardless of the direction.

디바이스(200)는 다양한 기능을 수행하는 전자 장치일 수 있고, USB Type-C 인터페이스에 따른 통신을 수행하는 경우 디바이스(200)는 USB 장치로 지칭될 수 있다. 또한, 디바이스(200)는 호스트 시스템(100)에 연결되어 다양한 기능들을 제공하는 모듈들을 포함할 수 있고, 일 예로서 디바이스(200)는 음성 파일, 이미지 및 동영상 파일, 문서 파일 등의 컨텐츠 정보를 저장하는 메모리 카드 형태의 USB 장치일 수 있다. The device 200 may be an electronic device that performs various functions, and when performing communication according to a USB Type-C interface, the device 200 may be referred to as a USB device. In addition, the device 200 may include modules that are connected to the host system 100 and provide various functions. It may be a USB device in the form of a memory card that stores data.

호스트 시스템(100)은 커넥터(101)를 통해 디바이스(200)에 연결됨에 따라, 디바이스(200)에 저장된 컨텐츠 정보를 억세스할 수 있고, 음성 파일, 이미지 및 동영상 파일, 문서 파일 등을 재생할 수 있다. 또한, 호스트 시스템(100)에 부여된 권한에 따라, 호스트 시스템(100)은 디바이스(200)에 저장된 컨텐츠 정보에 대한 수정 및 삭제 등 다양한 관리 동작을 수행할 수 있을 것이다. 일 구현 예에서, 호스트 시스템(100)은 TV, 모니터, 휴대용 멀티미디어 재생기, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), 워크 스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있으나, 본 개시의 실시예들은 이에 국한될 필요는 없을 것이다. As the host system 100 is connected to the device 200 through the connector 101, it can access content information stored in the device 200 and reproduce voice files, image and video files, document files, and the like. . In addition, according to the authority granted to the host system 100 , the host system 100 may perform various management operations such as modification and deletion of content information stored in the device 200 . In one implementation, the host system 100 is a TV, monitor, portable multimedia player, smartphone, tablet personal computer (tablet PC), mobile phone, video phone, e-book reader (e-book) reader), desktop personal computer (laptop personal computer), netbook computer, workstation, server, personal digital assistant (PDA), portable multimedia player (PMP), MP3 player , a mobile medical device, a camera, or a wearable device, but embodiments of the present disclosure are not limited thereto.

본 개시의 예시적인 실시예에 따라, 호스트 시스템(100)은 연결 방향 감지기(110), 레지스터(120) 및 설정 제어기(130)를 포함할 수 있다. 또한, 디바이스(200)는 메모리 장치(210), 저장 회로(220) 및 환경 설정기(230)를 포함할 수 있다. 메모리 장치(210)는 컨텐츠 정보를 저장하는 불휘발성 메모리를 포함할 수 있고, 일 예로서 메모리 장치(210)는 낸드 플래시 메모리(NAND Flash Memory), 수직형 낸드(Vertical NAND) 플래시 메모리, 노아 플래시 메모리(NOR Flash Memory), 저항성 램(Resistive Random Access Memory), 상변화 메모리(Phase-Change Memory), 자기저항 메모리(Magnetoresistive Random Access Memory) 등과 같은 불휘발성 메모리를 포함할 수 있다. According to an exemplary embodiment of the present disclosure, the host system 100 may include a connection direction detector 110 , a register 120 and a settings controller 130 . Also, the device 200 may include a memory device 210 , a storage circuit 220 and an environment setter 230 . The memory device 210 may include a non-volatile memory for storing content information, and as an example, the memory device 210 includes a NAND flash memory, a vertical NAND flash memory, and a Noah flash. Non-volatile memories such as NOR Flash Memory, Resistive Random Access Memory, Phase-Change Memory, and Magnetoresistive Random Access Memory may be included.

데이터 처리 시스템(10)의 커넥터들(101, 201)이 USB Type-C 구조를 가짐에 따라 디바이스(200)는 연결 방향에 무관하게 호스트 시스템(100)에 연결될 수 있고, 연결 방향 감지기(110)는 커넥터(101)에 구비되는 적어도 하나의 핀을 통한 신호를 검출함으로써 디바이스(200)가 연결된 방향을 감지할 수 있다. 또한, 디바이스(200)의 연결 방향을 감지한 정보(예컨대, 방향 정보(Info_D))는 레지스터(120)에 저장될 수 있고, 호스트 시스템(100)은 레지스터(120)에 저장된 방향 정보(Info_D)를 기초로 디바이스(200)에 대한 다양한 환경 설정 동작을 제어할 수 있다. As the connectors 101 and 201 of the data processing system 10 have a USB Type-C structure, the device 200 can be connected to the host system 100 regardless of the connection direction, and the connection direction detector 110 can detect the connected direction of the device 200 by detecting a signal through at least one pin provided in the connector 101 . In addition, information (eg, direction information Info_D) by which the connection direction of the device 200 is sensed may be stored in the register 120, and the host system 100 may store the direction information (Info_D) stored in the register 120. Based on this, it is possible to control various environment setting operations for the device 200 .

한편, USB Type-C 인터페이스 표준에 정의된 사항들에 따라, 호스트 시스템(100)은 커넥터(101)를 통해 연결된 디바이스(200)에 관련된 각종 정보들을 수신할 수 있다. 일 예로서, 호스트 시스템(100)과 디바이스(200) 사이의 연결 초기화 과정에서 환경 설정 동작이 수행될 수 있고, 호스트 시스템(100)은 소정의 커맨드를 디바이스(200)로 제공하여 디바이스(200)에 대한 제1 제어를 수행할 수 있다. 예컨대, 제1 제어는 USB Type-C 인터페이스에서 정의되는 Get Descriptor 동작을 포함할 수 있다. 호스트 시스템(100)은 Get Descriptor 동작을 통해 디바이스(200)로부터 제조사 및 모델 정보 등 각종 정보들을 수신함과 함께, 디바이스(200)에서 설정 가능한 다양한 동작 환경들에 관련된 환경 설정 정보를 수신할 수 있다. 또한, 각각의 설정된 동작 환경에서 지원될 수 있는 다양한 종류의 인터페이스 방식들에 관한 정보가 호스트 시스템(100)으로 제공될 수 있다. Meanwhile, according to matters defined in the USB Type-C interface standard, the host system 100 may receive various types of information related to the device 200 connected through the connector 101 . As an example, an environment setting operation may be performed in a process of initializing a connection between the host system 100 and the device 200, and the host system 100 provides a predetermined command to the device 200 so that the device 200 It is possible to perform the first control for. For example, the first control may include a Get Descriptor operation defined in the USB Type-C interface. The host system 100 may receive various types of information, such as manufacturer and model information, from the device 200 through a Get Descriptor operation, and environment setting information related to various operating environments configurable in the device 200. In addition, information on various types of interface methods that can be supported in each set operating environment may be provided to the host system 100 .

상기와 같은 환경 설정에 관련된 각종 정보들이 디바이스(200)에 불휘발성하게 저장될 수 있으며, 일 예로서 저장 회로(220)는 ROM(Read Only Memory) 등의 메모리로 구현될 수 있고, 상기한 각종 정보들은 저장 회로(220)에 저장될 수 있다. 이하의 실시예들에서, 디바이스(200)로부터 호스트 시스템(100)으로 제공되는 각종 정보들로서, 디바이스(200)에 대한 환경 설정 동작에 관련된 정보는 설정 정보(Info_S)로 지칭될 수 있다.Various kinds of information related to the environment setting as described above may be non-volatilely stored in the device 200, and as an example, the storage circuit 220 may be implemented as a memory such as a ROM (Read Only Memory). Information may be stored in the storage circuit 220 . In the following embodiments, among various types of information provided from the device 200 to the host system 100 , information related to an environment setting operation for the device 200 may be referred to as setting information Info_S.

본 개시의 예시적인 실시예에서, 호스트 시스템(100)은 디바이스(200)에 대한 제2 제어를 수행하여 디바이스(200)의 환경 설정을 제어할 수 있다. 예컨대, 제2 제어는 USB Type-C 인터페이스에서 정의되는 Set Configuration/interface 동작을 포함할 수 있다. 또한, 환경 설정을 제어함에 있어서, 호스트 시스템(100)은 설정 정보(Info_S) 및 방향 정보(Info_D)를 기초로 디바이스(200)에 대한 환경 설정 동작을 제어할 수 있다. 예컨대, 디바이스(200)는 컨텐츠 정보를 저장하는 기능과 함께, 적어도 하나의 다른 기능을 수행하는 모듈을 포함할 수 있고, 호스트 시스템(100)은 설정 정보(Info_S) 및 방향 정보(Info_D)에 기초하여 디바이스(200)의 적어도 하나의 다른 기능을 활용한 사용자 경험이 제공될 수 있도록 제어 동작을 수행할 수 있다. 예컨대, 디바이스(200)가 와이파이, 블루투스 등의 무선 통신 모듈(미도시)을 포함하는 경우, 디바이스(200)의 연결 방향에 따라 디바이스(200)에 구비된 통신 모듈을 인에이블함으로써, 호스트 시스템(100)이 디바이스(200)에 구비되는 통신 모듈을 통한 통신을 수행할 수 있도록 설정 동작이 수행될 수 있다. 즉, USB Type-C 인터페이스에서 호스트 시스템(100)과 디바이스(200) 사이에서 환경 설정 단계가 수행될 수 있는데, 환경 설정 단계 과정에서 디바이스(200)의 연결 방향을 나타내는 방향 정보(Info_D)를 활용함으로써, 호스트 시스템(100)은 디바이스(200)에 구비되는 각종 모듈들에 의한 사용자 환경을 설정할 수 있다.In an exemplary embodiment of the present disclosure, the host system 100 may control environment settings of the device 200 by performing second control on the device 200 . For example, the second control may include a Set Configuration/interface operation defined in the USB Type-C interface. Also, in controlling the environment setting, the host system 100 may control the environment setting operation for the device 200 based on the setting information (Info_S) and the direction information (Info_D). For example, the device 200 may include a module that performs at least one other function along with a function of storing content information, and the host system 100 may include a module based on setting information Info_S and direction information Info_D. Thus, a control operation may be performed so that a user experience utilizing at least one other function of the device 200 may be provided. For example, when the device 200 includes a wireless communication module (not shown) such as Wi-Fi or Bluetooth, the host system ( A setting operation may be performed so that 100) can perform communication through a communication module included in the device 200. That is, an environment setting step may be performed between the host system 100 and the device 200 in the USB Type-C interface. During the environment setting step, direction information (Info_D) indicating the connection direction of the device 200 is used. By doing so, the host system 100 can set a user environment using various modules included in the device 200 .

일 구현 예에서, 호스트 시스템(100)의 설정 제어기(130)는 하드웨어적 회로, 또는 소프트웨어적으로 구현될 수 있으며, 또는 하드웨어와 소프트웨어의 조합으로 구현될 수 있을 것이다. 예컨대, 호스트 시스템(100)은 디바이스(200)와 하드웨어적 통신을 수행하는 회로를 제어하는 소프트웨어(예컨대, 어플리케이션 및/또는 장치 드라이버)를 포함할 수 있고, 설정 제어기(130)는 소프트웨어적으로 어플리케이션 및/또는 장치 드라이버에 구비될 수 있을 것이다. 또한, 디바이스(200)의 환경 설정기(230)는 호스트 시스템(100)으로부터의 환경 설정 제어에 기초하여, 디바이스(200) 내의 각종 기능에 관련된 환경 설정 동작을 수행할 수 있다. 전술한 바와 같이, 디바이스(200)가 통신 모듈 등 별도의 기능을 수행하는 모듈을 포함하는 경우, 상기 모듈의 인에이블 설정에 관련된 동작을 수행할 수 있을 것이다.In one embodiment, the configuration controller 130 of the host system 100 may be implemented as a hardware circuit or software, or may be implemented as a combination of hardware and software. For example, the host system 100 may include software (eg, an application and/or device driver) that controls a circuit that performs hardware communication with the device 200, and the setting controller 130 may include software applications. and/or may be provided in a device driver. In addition, the environment setter 230 of the device 200 may perform environment setting operations related to various functions in the device 200 based on environment setting control from the host system 100 . As described above, when the device 200 includes a module that performs a separate function, such as a communication module, an operation related to enable setting of the module may be performed.

상기와 같은 본 개시의 실시예에 따르면, 사용자가 소프트웨어 조작이나 하드웨어 버튼 등의 복잡한 사용자 인터페이스(user interface)를 조작함이 없이, 디바이스(200)의 연결 방향의 감지 결과를 기초로 디바이스(200)에 의해 지원될 수 있는 다양한 기능들이 구현될 수 있으므로 사용자 어플리케이션 경험을 증대할 수 있는 효과가 있다. According to the embodiment of the present disclosure as described above, the device 200 based on the detection result of the connection direction of the device 200 without the user manipulating a complicated user interface such as software manipulation or hardware buttons. Since various functions that can be supported by can be implemented, there is an effect of increasing the user application experience.

도 2a,b는 USB Type-C 구조의 커넥터를 포함하는 호스트 시스템 및 디바이스의 일 구현 예를 나타내는 도면이다. 도 2a,b에 도시된 각종 용어들은 USB 인터페이스 표준을 통해 당업자에게 용이하게 이해될 수 있으므로 이에 대한 구체적인 설명은 생략된다.2a and b are diagrams illustrating an implementation example of a host system and a device including a connector having a USB Type-C structure. Since various terms shown in FIGS. 2A and 2B can be easily understood by those skilled in the art through the USB interface standard, a detailed description thereof will be omitted.

도 2a의 호스트 시스템(310)을 참조하면, 호스트 시스템(310)의 커넥터(311)에 포함되는 핀들은 대칭 구조를 가질 수 있다. 일 예로서, 커넥터(311)는 제1 열의 핀들(A1 ~ A12) 및 제2 열의 핀들(B1 ~ B12)을 포함할 수 있으며, 다양한 속도의 데이터 통신을 지원할 수 있다. 예컨대, 커넥터(311)는 제1 규격(예컨대, USB 3.1)에 따른 고속 데이터 통신을 지원하는 핀들(A2 ~ A3, A10 ~ A11, B2 ~ B3, B10 ~ B11)과, 제2 규격(예컨대, USB 2.0)에 따른 저속 데이터 통신을 지원하는 핀들(A6 ~ A7, B6 ~ B7)을 포함할 수 있다. 또한, 제1 열의 핀들(A1 ~ A12) 및 제2 열의 핀들(B1 ~ B12) 각각은 고유의 기능을 수행할 수 있으며, 일 예로서 VBUS 핀(A4, A9, B4, B9)은 전원 공급 핀에 해당하고, GND 핀(A1, A12, B1, B12)은 접지 전압을 전달하는 핀에 해당하며, SBU(Sideband Use) 핀(A8, B8)은 ALT(Alternate) 모드 지원을 위해 이용되는 핀으로서 Thunderbolt, DisplayPort, HDMI 등을 탑재한 커넥터와 연결될 수 있다. Referring to the host system 310 of FIG. 2A , pins included in the connector 311 of the host system 310 may have a symmetrical structure. As an example, the connector 311 may include pins A1 to A12 in a first row and pins B1 to B12 in a second row, and may support data communication at various speeds. For example, the connector 311 includes pins A2 to A3, A10 to A11, B2 to B3, and B10 to B11 supporting high-speed data communication according to a first standard (eg, USB 3.1), and a second standard (eg, USB 3.1). It may include pins (A6 to A7, B6 to B7) supporting low-speed data communication according to USB 2.0). In addition, each of the pins of the first row (A1 to A12) and the pins of the second row (B1 to B12) may perform a unique function, and as an example, the VBUS pins (A4, A9, B4, and B9) are power supply pins. , GND pins (A1, A12, B1, B12) correspond to pins that deliver ground voltage, and SBU (Sideband Use) pins (A8, B8) are pins used to support ALT (Alternate) mode. It can be connected with a connector equipped with Thunderbolt, DisplayPort, HDMI, etc.

또한, 호스트 시스템(310)은 커넥터(311)를 통해 단방향 또는 양방향 통신을 수행할 수 있다. 일 예로서, 호스트 시스템(310)은 커넥터(311)를 통해 외부의 디바이스와 연결될 때 호스트(예컨대, downstream facing port(DFP))로 동작하거나 슬레이브(upstream facing port(UFP))로 동작할 수 있다. 또는, 호스트 시스템(310)은 DRP(dual role port)로 동작할 수 있으며, 이 경우 호스트 시스템(310)은 호스트(DFP) 또는 슬레이브(UFP)의 역할을 적응적으로 변경할 수 있다. In addition, the host system 310 may perform unidirectional or bidirectional communication through the connector 311 . As an example, the host system 310 may operate as a host (eg, a downstream facing port (DFP)) or a slave (upstream facing port (UFP)) when connected to an external device through the connector 311. . Alternatively, the host system 310 may operate as a dual role port (DRP), and in this case, the host system 310 may adaptively change the role of the host (DFP) or slave (UFP).

한편, USB Type-C 구조에서 커넥터(311)는 외부의 디바이스를 식별하기 위해 이용되는 CC(configuration channel)1 핀 및 CC2 핀(CC1, CC2)을 포함할 수 있으며, CC1 핀 및 CC2 핀은 커넥터(311)에서 핀(A5, B5)에 상응할 수 있다. 커넥터(311)에 외부의 디바이스가 연결될 때, 상기 CC1 핀 및 CC2 핀 중 어느 하나의 핀은 전원전압에 연결된 상태를 가지며, 다른 하나의 핀은 소정의 풀다운 저항에 연결된 상태(또는, 오픈 상태)를 가질 수 있다. Meanwhile, in the USB Type-C structure, the connector 311 may include CC (configuration channel) 1 pins and CC2 pins (CC1, CC2) used to identify external devices, and the CC1 pin and CC2 pins are connectors. 311 may correspond to pins A5 and B5. When an external device is connected to the connector 311, one of the CC1 and CC2 pins is connected to the power supply voltage, and the other pin is connected to a predetermined pull-down resistor (or open). can have

호스트 시스템(310)은 커넥터(311)의 CC1 핀 및/또는 CC2 핀에 연결되는 집적 회로를 포함할 수 있으며, 상기 집적 회로는 CCIC(Configuration Channel Integrated Circuit(312))으로 지칭될 수 있다. 전술한 실시예에서, 호스트 시스템(310)에 구비될 수 있는 연결 방향 감지기는 CCIC(312) 내에 구현될 수 있으며, CCIC(312)는 CC1 핀 및 CC2 핀에 연결된 전압 상태(또는, 저항 상태)를 기초로 외부의 디바이스의 연결을 인식함과 함께, 외부의 디바이스의 플러그가 연결된 방향을 감지할 수 있다. 또한, CCIC(312)는 외부의 디바이스의 연결을 인식한 결과를 기초로, 데이터 연결(data connection) 및 제어(control)를 수행할 수 있다.The host system 310 may include an integrated circuit connected to the CC1 pin and/or the CC2 pin of the connector 311, and the integrated circuit may be referred to as a Configuration Channel Integrated Circuit (CCIC) 312. In the above-described embodiment, the connection direction detector that may be provided in the host system 310 may be implemented in the CCIC 312, and the CCIC 312 may have a voltage state (or resistance state) connected to the CC1 pin and the CC2 pin. Based on the connection of the external device, it is possible to detect the connected direction of the plug of the external device. In addition, the CCIC 312 may perform data connection and control based on a result of recognizing the connection of an external device.

본 개시의 예시적인 실시예에 따라, CCIC(312)는 외부의 디바이스의 연결 방향을 나타내는 방향 정보(Info_D)를 생성하고 출력할 수 있으며, 일 예로서 방향 정보(Info_D)는 CCIC(312)의 내부 또는 외부의 레지스터에 저장되고, 레지스터에 저장된 방향 정보(Info_D)가 호스트 시스템(310) 내의 장치 드라이버 등 소프트웨어 계층에 제공될 수 있다. 또한, 본 개시의 예시적인 실시예에 따라 호스트 시스템(310)은 외부의 디바이스와 관련된 각종 정보를 수신하고, 방향 정보(Info_D)에 기초하여 외부의 디바이스의 동작 환경 설정을 제어할 수 있다. According to an exemplary embodiment of the present disclosure, the CCIC 312 may generate and output direction information (Info_D) indicating a connection direction of an external device. As an example, the direction information (Info_D) is the CCIC 312 Stored in an internal or external register, the direction information Info_D stored in the register may be provided to a software layer such as a device driver in the host system 310 . Also, according to an exemplary embodiment of the present disclosure, the host system 310 may receive various types of information related to an external device and control operating environment settings of the external device based on direction information Info_D.

한편, 도 2b를 참조하면, 디바이스(320)는 호스트 시스템(310)에 연결되는 커넥터(321)를 포함할 수 있고, 도 2b의 예에서는 호스트 시스템(310)의 리셉터클에 삽입되는 플러그 형태의 커넥터(321)가 도시된다. Meanwhile, referring to FIG. 2B , the device 320 may include a connector 321 connected to the host system 310, and in the example of FIG. 2B, a plug-type connector inserted into the receptacle of the host system 310. 321 is shown.

전술한 실시예에 따라, 디바이스(320)는 다양한 종류의 전자 장치일 수 있고, 일 예로서 컨텐츠 정보를 저장하는 메모리 장치를 포함하는 메모리 카드일 수 있다. 또한, 본 개시의 예시적인 실시예에 따라, 디바이스(320)는 저장 회로(322) 및 환경 설정기(333)를 포함할 수 있고, 저장 회로(322)는 USB Type-C 인터페이스 표준에 기초하여 Get Descriptor 동작에 따라 호스트 시스템(310)으로 제공되는 각종 정보들을 저장할 수 있다. 예컨대, 전술한 바와 같이, 저장 회로(322)는 디바이스(320)의 제조사, 모델 정보 등 디바이스 자체 정보와 함께, 디바이스(320)에서 설정될 수 있는 다양한 종류의 환경 설정에 관련된 정보를 저장할 수 있고, 또한 각 동작 환경에서 적용 가능한 인터페이스 방식에 관련된 정보들을 저장할 수 있다. 또한, 환경 설정기(333)는 호스트 시스템(310)으로부터의 설정 제어에 기초하여 디바이스(320)의 동작 환경을 설정할 수 있으며, 일 예로서 USB Type-C 인터페이스 표준에 기초하는 호스트 시스템(310)에 의한 Set Configuration/interface 동작에 따라 디바이스(320)의 동작 환경 설정을 수행할 수 있다.According to the above-described embodiment, the device 320 may be various types of electronic devices, and as an example, may be a memory card including a memory device for storing content information. Further, according to an exemplary embodiment of the present disclosure, the device 320 may include a storage circuit 322 and an environment setter 333, and the storage circuit 322 is based on the USB Type-C interface standard. Various types of information provided to the host system 310 according to the Get Descriptor operation may be stored. For example, as described above, the storage circuit 322 may store information related to various types of environment settings that can be set in the device 320 together with device information such as manufacturer and model information of the device 320, and , and may also store information related to an interface method applicable in each operating environment. In addition, the environment setter 333 may set the operating environment of the device 320 based on the setting control from the host system 310. As an example, the host system 310 based on the USB Type-C interface standard Operation environment setting of the device 320 may be performed according to the Set Configuration/interface operation by.

예시적인 실시예에서, 디바이스(320)는 사용자 환경으로서 적어도 하나의 기능을 수행하는 모듈을 포함할 수 있고, 디바이스(320)의 연결 방향에 따라 상기 모듈이 선택적으로 인에이블될 수 있다. 일 구현 예에서, 도 2b에는 도시되지 않았으나 디바이스(320)의 외면에는 디바이스(320)의 방향을 판단할 수 있는 표시가 형성될 수 있고, 사용자는 디바이스(320)의 외면에 형성된 표시를 확인하고 이를 기초로 디바이스(320)의 연결 방향을 선택하여 디바이스(320)를 호스트 시스템(310)에 연결할 수 있다. In an exemplary embodiment, the device 320 may include a module that performs at least one function as a user environment, and the module may be selectively enabled according to a connection direction of the device 320 . In one embodiment, although not shown in FIG. 2B , a mark capable of determining the direction of the device 320 may be formed on the outer surface of the device 320 , and the user checks the mark formed on the outer surface of the device 320 and Based on this, a connection direction of the device 320 may be selected to connect the device 320 to the host system 310 .

예컨대, 디바이스(320)가 와이파이 모듈 등의 통신 모듈을 포함하는 경우, 사용자는 호스트 시스템(310)이 디바이스(320)에 포함된 와이파이 모듈을 이용하여 통신을 수행할 수 있도록 디바이스(320)를 특정 방향(예컨대, 제1 방향)으로 호스트 시스템(310)에 연결할 수 있다. 반면에, 디바이스(320)를 컨텐츠 정보의 저장 등의 기본적인 용도로 활용하고자 하는 경우에는, 사용자는 디바이스(320)를 다른 특정 방향(예컨대, 제2 방향)으로 호스트 시스템(310)에 연결할 수 있다. 본 개시의 실시예에 따라, 호스트 시스템(310)은 디바이스(320)의 연결 방향을 나타내는 방향 정보와 함께, 디바이스(320)로부터 독출된 환경 설정에 관련된 설정 정보를 기초로 디바이스(320)에 대한 환경 설정을 제어할 수 있다.For example, when the device 320 includes a communication module such as a Wi-Fi module, the user specifies the device 320 so that the host system 310 can communicate using the Wi-Fi module included in the device 320. It is possible to connect to the host system 310 in a direction (eg, a first direction). On the other hand, in the case of using the device 320 for a basic purpose such as storing content information, the user may connect the device 320 to the host system 310 in another specific direction (eg, a second direction). . According to an embodiment of the present disclosure, the host system 310 determines information about the device 320 based on setting information related to environment settings read from the device 320 together with direction information indicating a connection direction of the device 320 . You can control your preferences.

도 3은 USB Type-C 구조의 커넥터의 CC 핀의 저항 연결 상태를 나타내는 회로도이다. 일 예로서, 디바이스가 호스트 시스템에 연결된 경우, 호스트 시스템이 호스트(예컨대, downstream facing port(DFP))로 동작하고, 디바이스가 슬레이브(upstream facing port(UFP))로 동작하는 경우가 예시된다.3 is a circuit diagram showing a resistance connection state of a CC pin of a connector having a USB Type-C structure. As an example, when a device is connected to a host system, a case in which the host system operates as a host (eg, downstream facing port (DFP)) and the device operates as a slave (upstream facing port (UFP)) is exemplified.

디바이스의 CC 핀에는 미리 약속된 저항 값을 갖는 풀 다운 저항(Rd)이 연결되어 있으며, 디바이스가 호스트 시스템에 연결될 때, 디바이스의 연결 방향에 따라 호스트 시스템의 CC1 핀 또는 CC2 핀 중 어느 하나의 핀이 선택적으로 디바이스의 풀 다운 저항(Rd)에 연결될 수 있다. 일 예로서, 호스트 시스템의 CC 핀은 미리 약속된 저항 값을 갖는 풀 업 저항(Rp)을 통해 소정의 전원 전압(예컨대, 5V의 전원 전압)에 연결될 수 있다. 도 3의 예에서는, 호스트 시스템의 CC1 핀이 디바이스의 풀 다운 저항(Rd)에 연결되는 경우가 예시된다. A pull-down resistor (Rd) having a pre-arranged resistance value is connected to the CC pin of the device, and when the device is connected to the host system, either the CC1 pin or the CC2 pin of the host system is connected according to the connection direction of the device. This can optionally be connected to the pull-down resistor (Rd) of the device. As an example, the CC pin of the host system may be connected to a predetermined power supply voltage (eg, a power supply voltage of 5V) through a pull-up resistor Rp having a prearranged resistance value. In the example of FIG. 3 , a case in which the CC1 pin of the host system is connected to the pull-down resistor (Rd) of the device is exemplified.

호스트 시스템은 CC1 핀 또는 CC2 핀을 통해 검출되는 전압 레벨에 기초하여 디바이스의 연결 방향을 감지할 수 있다. 일 예로서, 호스트 시스템은 CC2 핀의 오픈 상태를 감지하는 반면에, CC1 핀으로부터 5V의 전원 전압과 접지 전압 사이에 직렬하게 연결되는 풀 업 저항(Rp)과 풀 다운 저항(Rd) 사이의 노드의 전압 레벨을 검출할 수 있고, 이를 기초로 디바이스의 연결 방향을 감지할 수 있다. 즉, 본 개시의 실시예에서, 호스트 시스템의 CC1 핀 또는 CC2 핀 중 어느 핀에 디바이스의 풀 다운 저항(Rd)이 연결되었는지를 판단함으로써 디바이스의 연결 방향이 감지될 수 있다.The host system can detect the connection direction of the device based on the voltage level detected through the CC1 pin or the CC2 pin. As an example, the host system detects the open state of the CC2 pin, while the node between the pull-up resistor (Rp) and the pull-down resistor (Rd) connected in series between the supply voltage of 5V from the CC1 pin and the ground voltage. The voltage level of can be detected, and based on this, the connection direction of the device can be detected. That is, in an embodiment of the present disclosure, the connection direction of the device may be detected by determining which pin of the host system, CC1 pin or CC2 pin, is connected to the pull-down resistor Rd of the device.

도 4는 본 개시의 예시적인 실시예에 따른 USB Type-C 인터페이스 기반의 통신 예를 나타내는 블록도이다. 4 is a block diagram illustrating an example of communication based on a USB Type-C interface according to an exemplary embodiment of the present disclosure.

도 4를 참조하면, 데이터 처리 시스템(400)은 호스트 시스템(401)과 디바이스(402)를 포함할 수 있고, 호스트 시스템(401)과 디바이스(402)는 USB Type-C 구조의 커넥터를 통해 상호 연결될 수 있다. 전술한 실시예에서와 같이, 리셉터클 및 플러그 구조를 통해 호스트 시스템(401)과 디바이스(402)는 직접 연결(Direct connect)될 수 있고, 디바이스(402)의 연결 방향에 따라 두 가지의 데이터 전달 경로들 중 어느 하나가 선택될 수 있다.Referring to FIG. 4 , the data processing system 400 may include a host system 401 and a device 402, and the host system 401 and the device 402 are mutually connected through a connector having a USB Type-C structure. can be connected As in the above-described embodiment, the host system 401 and the device 402 can be directly connected through the receptacle and plug structures, and two data transmission paths are provided according to the connection direction of the device 402. Any one of them can be selected.

예컨대, 호스트 시스템(401)과 디바이스(402)는 USB Type-C 인터페이스에 기초하여 상호 통신을 수행하는 반도체 칩을 포함할 수 있고, 일 예로서 호스트 시스템(401)에 구비되는 제1 USB 칩셋(410)과 디바이스(402)에 구비되는 제2 USB 칩셋(440)이 예시된다. 제1 USB 칩셋(410) 및 제2 USB 칩셋(440) 각각은, 전술한 실시예에 따른 하드웨어적 통신을 수행하는 회로와 소프트웨어 계층을 포함할 수 있다.For example, the host system 401 and the device 402 may include a semiconductor chip that communicates with each other based on a USB Type-C interface. For example, a first USB chipset provided in the host system 401 ( 410) and the second USB chipset 440 provided in the device 402 are exemplified. Each of the first USB chipset 410 and the second USB chipset 440 may include a circuit and a software layer performing hardware communication according to the above-described embodiment.

제2 USB 칩셋(440)은 커넥터의 적어도 하나의 핀을 통해 호스트 시스템(401)과 데이터를 통신할 수 있고, 일 예로서 제1 규격(예컨대, USB 3.1)에 따른 고속 데이터 통신을 지원하는 RX1 및 TX1 핀을 통해 데이터를 통신할 수 있다. 또한, 제2 USB 칩셋(440)은 제2 규격(예컨대, USB 2.0)에 따른 저속 데이터 통신을 지원하는 D+ 및 D- 핀을 통해 호스트 시스템(401)과 데이터를 통신할 수 있다.The second USB chipset 440 may communicate data with the host system 401 through at least one pin of the connector, and as an example, RX1 supporting high-speed data communication according to the first standard (eg, USB 3.1). and TX1 pin to communicate data. In addition, the second USB chipset 440 may communicate data with the host system 401 through D+ and D- pins supporting low-speed data communication according to the second standard (eg, USB 2.0).

또한, 호스트 시스템(401)과 디바이스(402)는 CC 핀을 통한 통신을 수행함으로써 상호 연결을 인식할 수 있고, 관련 동작을 수행하기 위해 각각 CC 로직(예컨대, CCIC)을 포함할 수 있다. 일 예로서 호스트 시스템(401)은 제1 CC 로직(420)을 포함하고, 디바이스(402)는 제2 CC 로직(450)을 포함할 수 있으며, 제2 CC 로직(450)은 특정 CC 핀(예컨대, CC1 핀 또는 CC2 핀)을 통해 호스트 시스템(401)에 연결될 수 있다.In addition, the host system 401 and the device 402 may recognize the interconnection by performing communication through a CC pin, and each may include CC logic (eg, CCIC) to perform a related operation. As an example, the host system 401 may include a first CC logic 420, the device 402 may include a second CC logic 450, and the second CC logic 450 may include a specific CC pin ( For example, it may be connected to the host system 401 through a CC1 pin or a CC2 pin.

본 개시의 예시적인 실시예에 따라, 디바이스(402)는 제1 방향 또는 제2 방향에 따라 호스트 시스템(401)에 연결될 수 있고, 호스트 시스템(401)의 제1 CC 로직(420)은 CC1 핀 및 CC2 핀 중 디바이스(402)의 풀 다운 저항에 연결된 CC 핀을 검출함으로써 디바이스(402)의 연결 방향을 감지할 수 있다. 또한, 제1 CC 로직(420)은 연결 방향의 감지 결과를 기초로 방향 정보(Info_D)를 생성하여 호스트 시스템(401)에 구비되는 멀티플렉서(430)로 제공할 수 있다.According to an exemplary embodiment of the present disclosure, the device 402 can be coupled to the host system 401 according to the first direction or the second direction, and the first CC logic 420 of the host system 401 is connected to the CC1 pin. A connection direction of the device 402 may be detected by detecting a CC pin connected to a pull-down resistor of the device 402 among the CC2 pins. In addition, the first CC logic 420 may generate direction information Info_D based on a detection result of the connection direction and provide the direction information Info_D to the multiplexer 430 provided in the host system 401 .

디바이스(402)의 연결 방향에 따라, 호스트 시스템(401)은 RX1 및 TX1 핀을 통해 디바이스(402)와 고속 데이터 통신을 수행하거나, 또는 RX2 및 TX2 핀을 통해 디바이스(402)와 고속 데이터 통신을 수행할 수 있다. 멀티플렉서(430)는 방향 정보(Info_D)에 기초한 스위칭 동작을 통해 제1 USB 칩셋(410)을 RX1 및 TX1 핀에 연결하거나, 또는 제1 USB 칩셋(410)을 RX2 및 TX2 핀에 연결할 수 있다. 즉, 호스트 시스템(401)은 디바이스(402)의 연결 방향에 따라, 멀티플렉서(430)의 스위칭 동작에 기초하여 RX1 및 TX1 핀을 통한 고속 데이터 통신을 수행하거나, RX2 및 TX2 핀을 통한 고속 데이터 통신을 수행할 수 있다.Depending on the connection direction of the device 402, the host system 401 can perform high-speed data communication with the device 402 through the RX1 and TX1 pins, or high-speed data communication with the device 402 through the RX2 and TX2 pins. can be done The multiplexer 430 may connect the first USB chipset 410 to pins RX1 and TX1 or connect the first USB chipset 410 to pins RX2 and TX2 through a switching operation based on the direction information Info_D. That is, the host system 401 performs high-speed data communication through the RX1 and TX1 pins or performs high-speed data communication through the RX2 and TX2 pins based on the switching operation of the multiplexer 430 according to the connection direction of the device 402. can be performed.

한편, 본 개시의 예시적인 실시예에 따라, 방향 정보(Info_D)가 제1 USB 칩셋(410)으로 제공됨에 따라 방향 정보(Info_D)가 호스트 시스템(401)의 어플리케이션 계층에서 활용될 수 있으며, 디바이스(402)로부터 제공된 동작 환경 설정에 관련된 설정 정보(Info_S)가 제1 USB 칩셋(410)으로 제공될 수 있다. 도 4에 도시된 예에서는 제1 USB 칩셋(410)이 고속 데이터 통신을 통해 설정 정보(Info_S)를 수신하는 것으로 도시되었으나, D+ 및 D- 핀에 의한 저속 데이터 통신을 통해 설정 정보(Info_S)가 제1 USB 칩셋(410)으로 제공될 수도 있을 것이다.Meanwhile, according to an exemplary embodiment of the present disclosure, as the direction information Info_D is provided to the first USB chipset 410, the direction information Info_D can be utilized in the application layer of the host system 401, and the device The setting information Info_S related to operating environment setting provided from step 402 may be provided to the first USB chipset 410 . In the example shown in FIG. 4 , the first USB chipset 410 receives setting information (Info_S) through high-speed data communication, but setting information (Info_S) is received through low-speed data communication through D+ and D- pins. It may be provided as the first USB chipset 410 .

본 개시의 예시적인 실시예에 따라, 제1 USB 칩셋(410)은 방향 정보(Info_D) 및 설정 정보(Info_S)를 기초로 디바이스(402)에 대한 다양한 환경 설정 동작을 제어할 수 있다. 예컨대, 디바이스(402)가 컨텐츠 정보를 저장하는 기능 이외에 다른 기능들(예컨대, 와이파이 통신 기능)을 위한 하나 이상의 모듈들을 포함하는 경우, 설정 정보(Info_S)에는 디바이스(402)에 의해 지원 가능한 다양한 종류의 환경 설정들 및 인터페이스에 관련된 정보들이 포함될 수 있으며, 제1 USB 칩셋(410)은 방향 정보(Info_D)에 대응하는 환경 설정을 위한 제어 동작을 수행할 수 있다. According to an exemplary embodiment of the present disclosure, the first USB chipset 410 may control various environment setting operations for the device 402 based on the direction information (Info_D) and the setting information (Info_S). For example, when the device 402 includes one or more modules for other functions (eg, Wi-Fi communication function) in addition to a function of storing content information, the setting information Info_S includes various types supported by the device 402. Environment settings and interface-related information may be included, and the first USB chipset 410 may perform a control operation for environment settings corresponding to the direction information Info_D.

도 5 및 도 6은 본 개시의 예시적인 실시예들에 따른 디바이스의 구현 예를 나타내는 블록도이다. 도 5 및 도 6에서는 디바이스에 구현되는 모듈로서 와이파이 모듈 및 접근 권한 제어 모듈이 예시되나, 본 개시의 실시예들에서는 디바이스가 사용자 PC 나 TV 또는 스마트 폰에 연결되어 다양한 종류의 사용자 환경을 제공할 수 있는 다양한 모듈들이 구비될 수도 있을 것이다. 또한, USB Type-C 인터페이스를 기초로 호스트 시스템과 통신하는 디바이스는 USB 디바이스로 지칭될 수 있다.5 and 6 are block diagrams illustrating implementation examples of devices according to exemplary embodiments of the present disclosure. 5 and 6, a Wi-Fi module and an access authority control module are exemplified as modules implemented in a device, but in embodiments of the present disclosure, the device is connected to a user PC, TV, or smart phone to provide various types of user environments. Various modules may be provided. Also, a device that communicates with a host system based on a USB Type-C interface may be referred to as a USB device.

도 5를 참조하면, 디바이스(500A)는 커넥터(501A), 와이파이 모듈(520A) 및 환경 설정기(530A)를 포함할 수 있으며, 디바이스(500A)가 메모리 카드 형태로 구현되는 경우 디바이스(500A)는 메모리 장치(510A)를 더 구비할 수 있다. 디바이스(500A)는 커넥터(501A)를 통해 메모리 장치(510A)에 저장된 컨텐츠 정보를 호스트 시스템으로 제공할 수 있고, 또한 호스트 시스템이 USB Type-C 인터페이스에 기초하여 Set Configuration/interface 동작을 수행함에 따라 호스트 시스템으로부터 설정 명령(CMD_S)을 수신할 수 있다. Referring to FIG. 5 , a device 500A may include a connector 501A, a Wi-Fi module 520A, and an environment setter 530A, and when the device 500A is implemented in the form of a memory card, the device 500A may further include a memory device 510A. The device 500A may provide content information stored in the memory device 510A to the host system through the connector 501A, and as the host system performs a Set Configuration/interface operation based on the USB Type-C interface, A configuration command (CMD_S) may be received from the host system.

환경 설정기(530A)는 호스트 시스템으로부터의 설정 명령(CMD_S)에 응답하여 디바이스(500A) 내의 각종 동작 환경을 설정할 수 있다. 예컨대, 디바이스(500A)가 와이파이 모듈(520A)을 구비함에 따라, 환경 설정기(530A)는 설정 명령(CMD_S)에 응답하여 제1 인에이블/디스에이블 신호(EN/DIS_1)를 출력할 수 있고, 이에 따라 와이파이 모듈(520A)이 인에이블되거나 디스에이블될 수 있다. 호스트 시스템은 디바이스(500A)가 연결된 방향을 감지함에 따라 와이파이 통신을 통한 데이터 전송 및 수신 처리를 위한 구성 요소들을 내부적으로 활성화할 수 있고, 디바이스(500A)의 와이파이 모듈(520A)이 인에이블됨에 따라 호스트 시스템은 와이파이 모듈(520A)을 통해 데이터 처리 시스템 외부의 전자 장치와 무선 통신을 수행할 수 있다.The environment setter 530A may set various operating environments in the device 500A in response to a setting command CMD_S from the host system. For example, as the device 500A includes the Wi-Fi module 520A, the environment setter 530A may output a first enable/disable signal EN/DIS_1 in response to the setting command CMD_S and , Accordingly, the Wi-Fi module 520A may be enabled or disabled. As the host system detects the connected direction of the device 500A, it can internally activate components for processing data transmission and reception through Wi-Fi communication, and as the Wi-Fi module 520A of the device 500A is enabled, The host system may perform wireless communication with an electronic device outside the data processing system through the Wi-Fi module 520A.

일 동작 예로서, 환경 설정기(530A)는 설정 명령(CMD_S)에 응답하여 메모리 장치(510A)의 인에이블을 설정하기 위한 제2 인에이블/디스에이블 신호(EN/DIS_2)를 출력할 수 있다. 일 동작 예에서, 디바이스(500A)의 와이파이 모듈(520A)이 인에이블되는 경우, 메모리 장치(510A)가 디스에이블됨에 따라 메모리 장치(510A)에 저장된 컨텐츠 정보의 억세스가 차단될 수 있고, 이에 따라 디바이스(500A)는 와이파이 모듈(520A)의 기능만을 수행할 수도 있다. 또는, 메모리 장치(510A)와 와이파이 모듈(520A)이 함께 인에이블됨에 따라, 외부의 전자 장치로부터 수신된 정보가 메모리 장치(510A)에 저장될 수 있고, 또는 메모리 장치(510A)에 저장된 컨텐츠 정보가 와이파이 모듈(520A)을 통해 외부의 전자 장치로 전송될 수도 있을 것이다.As an example of operation, the environment setter 530A may output a second enable/disable signal EN/DIS_2 for enabling the memory device 510A in response to the setting command CMD_S. . In one operation example, when the Wi-Fi module 520A of the device 500A is enabled, access to content information stored in the memory device 510A may be blocked as the memory device 510A is disabled, and accordingly The device 500A may perform only the function of the Wi-Fi module 520A. Alternatively, as the memory device 510A and the Wi-Fi module 520A are both enabled, information received from an external electronic device may be stored in the memory device 510A, or content information stored in the memory device 510A. may be transmitted to an external electronic device through the Wi-Fi module 520A.

도 6을 참조하면, 디바이스(500B)가 메모리 카드 형태로 구현됨에 따라, 디바이스(500B)는 메모리 장치(510B) 및 환경 설정기(520B)를 포함할 수 있으며, 메모리 장치(510B)는 억세스 권한 제어 모듈(511B)을 포함할 수 있다. 도 5에 도시된 실시예에서와 유사하게, 디바이스(500B)는 커넥터(501B)를 통해 메모리 장치(510B)에 저장된 컨텐츠 정보를 호스트 시스템으로 제공할 수 있고, 또한 커넥터(501B)를 통해 호스트 시스템으로부터 동작 환경의 설정을 지시하는 설정 명령(CMD_S)을 수신할 수 있다.Referring to FIG. 6 , as the device 500B is implemented in the form of a memory card, the device 500B may include a memory device 510B and an environment setter 520B, and the memory device 510B has access authority. A control module 511B may be included. Similar to the embodiment shown in FIG. 5 , the device 500B may provide content information stored in the memory device 510B to the host system through the connector 501B, and may also provide the host system through the connector 501B. It is possible to receive a setting command (CMD_S) indicating the setting of the operating environment from

사용자는 디바이스(500B)에 저장된 컨텐츠 정보의 보안을 필요로할 수 있으며, 일 예로서 디바이스(500B)가 사용자 PC나 TV 등에 연결된 경우 외부로부터의 보안 공격에 의해 디바이스(500B)에 저장된 컨텐츠 정보가 외부로 유출되는 것이 방지되기를 원할 수 있다. 이 때, 사용자는 디바이스(500B)를 호스트 시스템에 연결함에 있어서, 보안 기능이 인에이블되도록 디바이스(500B)를 호스트 시스템에 특정 방향으로 연결할 수 있고, 호스트 시스템은 디바이스(500B)의 연결 방향을 기초로 설정 명령(CMD_S)을 디바이스(500B)로 제공할 수 있다. The user may require security of the content information stored in the device 500B. For example, when the device 500B is connected to a user PC or TV, the content information stored in the device 500B may be damaged due to a security attack from the outside. You may want to prevent leakage to the outside. At this time, when connecting the device 500B to the host system, the user may connect the device 500B to the host system in a specific direction so that the security function is enabled, and the host system may connect the device 500B to the host system based on the connection direction of the device 500B. A setting command (CMD_S) may be provided to the device 500B.

환경 설정기(520B)는 설정 명령(CMD_S)에 응답하여 메모리 장치(510B)의 억세스 권한 제어 모듈(511B)로 권한 설정 정보(Set_A)를 제공할 수 있고, 억세스 권한 제어 모듈(511B)의 설정에 따라 메모리 장치(510B)에 저장된 컨텐츠 정보의 억세스가 제한될 수 있다. 예컨대, 메모리 장치(510B)에 대한 억세스 권한은 다양한 형태로 설정될 수 있고, 일 예로서 특정 컨텐츠 정보는 호스트 시스템으로 제공됨에 따라 호스트 시스템에 의해 재생될 수 있는 반면에, 보안이 필요한 컨텐츠 정보의 경우 호스트 시스템으로의 전송이 차단될 수 있다. 또는, 도 6에 도시되지는 않았으나 디바이스(500B)는 와이파이 모듈을 포함할 수 있고, 억세스 권한 제어 모듈(511B)의 설정에 따라 메모리 장치(510B)에 저장된 컨텐츠 정보가 물리적으로 연결된 호스트 시스템으로는 제공될 수 있는 반면에, 와이파이 통신 등 다른 유/무선 방식에 기초한 통신을 통해서는 컨텐츠 정보의 전송이 차단되도록 억세스 권한이 설정될 수도 있을 것이다.The environment setter 520B may provide permission setting information (Set_A) to the access permission control module 511B of the memory device 510B in response to the setting command CMD_S, and set the access permission control module 511B. Accordingly, access to content information stored in the memory device 510B may be restricted. For example, access rights to the memory device 510B may be set in various forms, and as an example, specific content information may be reproduced by the host system as it is provided to the host system, whereas content information requiring security may be reproduced by the host system. In this case, transmission to the host system may be blocked. Alternatively, although not shown in FIG. 6, the device 500B may include a Wi-Fi module, and content information stored in the memory device 510B according to the settings of the access authority control module 511B is physically connected to the host system. On the other hand, access rights may be set so that transmission of content information is blocked through communication based on other wired/wireless methods such as Wi-Fi communication.

상기와 같은 본 개시의 예시적인 실시예에 따라, 호스트와 디바이스를 포함하는 데이터 처리 시스템에서, 디바이스의 연결 방향에 따라 어플리케이션 계층에서 각종 다양한 기능들이 구현되도록 할 수 있고, 컨텐츠 정보의 억세스 차단, 컨텐츠 정보의 유/무선 통신을 통한 타 전자 장치로의 전송, 그리고 디바이스의 연결을 통한 와이파이 통신 구현 등을 통해 사용자 경험을 증가시킬 수 있는 효과가 있다.According to the exemplary embodiment of the present disclosure as described above, in a data processing system including a host and a device, various functions can be implemented in the application layer according to the connection direction of the device, blocking access to content information, content There is an effect of increasing user experience through transmission of information to other electronic devices through wired/wireless communication and implementation of Wi-Fi communication through device connection.

도 7은 본 개시의 예시적인 실시예에 따른 호스트 시스템의 구현 예를 나타내는 블록도이다.7 is a block diagram illustrating an implementation example of a host system according to an exemplary embodiment of the present disclosure.

도 7을 참조하면, 호스트 시스템(600)은 USB Type-C 구조의 커넥터(650)와 함께, 호스트 시스템(600)을 구성하는 각종 구성요소들을 포함할 수 있다. 호스트 시스템(600)은 하드웨어적 회로 및 소프트웨어의 조합을 기초로 구현될 수 있고, 일 예로서 호스트 시스템(600)은 호스트 컨트롤러(610), Type-C 컨트롤러(620), 호스트 드라이버(630) 및 어플리케이션(또는, 어플리케이션 계층(640))을 포함할 수 있다. 일 구현 예에서, 호스트 컨트롤러(610) 및 Type-C 컨트롤러(620)는 하드웨어적 회로로 구현될 수 있고, 호스트 드라이버(630) 및 어플리케이션(640)은 프로세서에 의해 실행 가능한 소프트웨어로 구현될 수 있다.Referring to FIG. 7 , the host system 600 may include a connector 650 having a USB Type-C structure and various components constituting the host system 600 . The host system 600 may be implemented based on a combination of hardware circuits and software. As an example, the host system 600 includes a host controller 610, a Type-C controller 620, a host driver 630, and An application (or application layer 640) may be included. In an implementation example, the host controller 610 and the Type-C controller 620 may be implemented as hardware circuits, and the host driver 630 and the application 640 may be implemented as software executable by a processor. .

호스트 시스템(600)은 커넥터(650)에 연결된 디바이스와 통신을 수행할 수 있고, 데이터 핀에 연결된 데이터 채널을 통해 디바이스와 데이터를 송수신할 수 있고, CC 핀(예컨대, CC1 핀 및 CC2 핀)에 연결된 환경 설정 채널을 통해 디바이스와 통신함으로써 디바이스에 대한 연결 및 인식을 수행할 수 있다. Type-C 컨트롤러(620)는 전술한 실시예에서의 CCIC 에 상응할 수 있고, 환경 설정 채널을 통해 디바이스의 연결 방향을 감지할 수 있다. 또한, 감지 결과에 따른 방향 정보(Info_D)가 Type-C 컨트롤러(620)의 내부의 레지스터에 저장될 수 있으며, 방향 정보(Info_D)는 호스트 시스템(600)의 소프트웨어 계층으로 전달되어 디바이스의 환경 설정에 이용될 수 있다. 예컨대, 방향 정보(Info_D)는 호스트 드라이버(630) 및/또는 어플리케이션(640)으로 제공될 수 있다. The host system 600 can communicate with a device connected to the connector 650, transmit and receive data with the device through a data channel connected to a data pin, and connect to a CC pin (eg, a CC1 pin and a CC2 pin). Connecting and recognizing the device can be performed by communicating with the device through the connected configuration channel. The Type-C controller 620 may correspond to the CCIC in the above-described embodiment, and may detect a connection direction of a device through an environment setting channel. In addition, the direction information (Info_D) according to the detection result may be stored in a register inside the Type-C controller 620, and the direction information (Info_D) is transmitted to the software layer of the host system 600 to set the environment of the device. can be used for For example, the direction information Info_D may be provided to the host driver 630 and/or the application 640 .

호스트 컨트롤러(610)는 커넥터(650)를 통해 디바이스와 하드웨어적으로 통신을 수행할 수 있고, 커넥터(650)에 연결된 디바이스에 대한 각종 제어 동작을 수행할 수 있다. 예컨대, 호스트 컨트롤러(610)는 USB 호스트 용 하드웨어 컨트롤러이며, Type-C 컨트롤러(620)와 적어도 하나의 정보를 송수신할 수 있다. 일 예로서, 호스트 컨트롤러(610)는 Type-C 컨트롤러(620)의 정보를 기초로 디바이스의 연결을 인식할 수 있다. 또한, 호스트 컨트롤러(610)는 데이터 채널을 통해 디바이스와 각종 정보들을 송수신할 수 있으며, 디바이스로부터 제공된 정보를 기초로 디바이스에 관련된 각종 정보를 인식할 수 있다. 예컨대, 호스트 컨트롤러(610)는 디바이스의 속도를 인식할 수 있으며, USB 패킷을 생성하고, 생성된 USB 패킷을 디바이스로 전송하며, 디바이스와의 통신에 관련된 플로우에 대한 각종 제어 동작을 수행할 수 있다.The host controller 610 may communicate with a device in hardware through the connector 650 and perform various control operations for devices connected to the connector 650 . For example, the host controller 610 is a hardware controller for a USB host and can transmit/receive at least one piece of information with the Type-C controller 620 . As an example, the host controller 610 may recognize device connection based on information of the Type-C controller 620 . In addition, the host controller 610 may transmit/receive various types of information with the device through a data channel, and recognize various types of information related to the device based on information provided from the device. For example, the host controller 610 may recognize the speed of the device, generate a USB packet, transmit the generated USB packet to the device, and perform various control operations for a flow related to communication with the device. .

한편, 어플리케이션(640)는 데이터 처리 시스템에서 디바이스에 접근하는 다양한 종류의 소프트웨어들을 포함할 수 있고, 디바이스에 대한 특정한 설정이나 기능을 결정할 수 있다. 또한, 호스트 드라이버(630)는 호스트 컨트롤러(610)를 제어하는 소프트웨어로서, 어플리케이션(640)으로부터의 각종 요청 및 데이터들을 디바이스에 대응하는 포맷으로 변환하여 호스트 컨트롤러(610)로 제공할 수 있다. 본 개시의 예시적인 실시예에서, 방향 정보(Info_D)는 어플리케이션(640) 및/또는 호스트 드라이버(630)로 제공될 수 있으며, 디바이스에 대한 특정 설정이나 기능을 결정함에 있어서 방향 정보(Info_D)가 이용될 수 있다.Meanwhile, the application 640 may include various types of software that accesses a device in a data processing system and may determine specific settings or functions for a device. Also, the host driver 630 is software that controls the host controller 610, and may convert various requests and data from the application 640 into a format corresponding to a device and provide the converted data to the host controller 610. In an exemplary embodiment of the present disclosure, the direction information (Info_D) may be provided to the application 640 and/or the host driver 630, and the direction information (Info_D) may be used in determining a specific setting or function for a device. can be used

한편, 호스트 드라이버(630)에 의해 특정 포맷으로 변환된 데이터가 호스트 시스템(600) 내의 소정의 메모리(예컨대, Double Data Rate(DDR) DRAM)에 저장되면, 호스트 컨트롤러(610)는 호스트 드라이버(630)로부터 제공된 위치 정보를 기초로 메모리에 저장된 데이터를 독출하고, 독출된 데이터를 USB 인터페이스 표준에 대응되게 변환하며, USB 인터페이스 표준에 기초하여 디바이스와 통신을 수행할 수 있다. 또한, 호스트 컨트롤러(610)는 디바이스와의 통신에서 오류에 대한 처리 동작을 수행할 수 있으며, 일 예로서 패킷 재전송 요청 등이 호스트 컨트롤러(610) 단에서 수행될 수 있다.Meanwhile, when data converted into a specific format by the host driver 630 is stored in a predetermined memory (eg, double data rate (DDR) DRAM) in the host system 600, the host controller 610 converts the host driver 630 ), data stored in the memory is read based on the location information provided from ), the read data is converted to correspond to the USB interface standard, and communication with the device can be performed based on the USB interface standard. In addition, the host controller 610 may perform processing operations for errors in communication with the device, and as an example, a packet retransmission request may be performed at the host controller 610 stage.

일 동작 예에서, 호스트 시스템(600)은 USB 인터페이스 표준에 기초한 Get Descriptor 동작을 통해 디바이스로부터 각종 정보들을 수신할 수 있다. 예컨대, 디바이스는 환경 설정에 관련된 각종 정보들을 내부에 저장할 수 있으며, Get Descriptor 동작에 응답하여 디바이스의 제조사, 모델, 기능 등 각종 정보들을 호스트 시스템(600)으로 전송할 수 있으며, 또한 디바이스에서 지원될 수 있는 다양한 종류의 환경 설정에 관련된 정보들과, 각 환경 설정에 대응하여 호스트 시스템(600)과의 적용 가능한 다양한 종류의 인터페이스들에 대한 정보들을 전송할 수 있다. 본 개시의 실시예들에서, 디바이스가 사용자 환경과 관련하여 와이파이 통신, 컨텐츠 억세스 권한 설정 등의 다양한 기능들을 제공하는 경우, 이에 관련된 정보들이 Get Descriptor 동작에 의해 호스트 시스템(600)으로 제공될 수 있다.In an operation example, the host system 600 may receive various types of information from a device through a Get Descriptor operation based on the USB interface standard. For example, the device may internally store various information related to environment settings, and may transmit various types of information such as the manufacturer, model, and function of the device to the host system 600 in response to a Get Descriptor operation, and may also be supported by the device. Information related to various types of environment settings and information about various types of applicable interfaces with the host system 600 corresponding to each environment setting may be transmitted. In embodiments of the present disclosure, when a device provides various functions such as Wi-Fi communication and content access permission setting in relation to the user environment, information related thereto may be provided to the host system 600 by a Get Descriptor operation. .

어플리케이션(640) 및/또는 호스트 드라이버(630)는 Get Descriptor 동작을 통해 수신한 디바이스에 관련된 정보와, 상기한 방향 정보(Info_D)의 조합에 기초하여 디바이스에 대한 특정 설정이나 기능을 결정할 수 있다. 예컨대, 전술한 실시예들에 따라, 디바이스의 연결 방향을 기초로 하여 디바이스에 의해 제공되는 기능들을 선택적으로 인에이블할 수 있으며, 일 예로서 디바이스의 연결 방향에 따라 와이파이 모듈을 인에이블하거나 디스에이블할 수 있으며, 또는 디바이스의 연결 방향에 따라 컨텐츠 정보에 대한 억세스 권한을 다르게 설정할 수 있다.The application 640 and/or the host driver 630 may determine a specific setting or function of the device based on a combination of information related to the device received through the Get Descriptor operation and the direction information Info_D. For example, according to the above-described embodiments, functions provided by the device may be selectively enabled based on the connection direction of the device, and as an example, the Wi-Fi module may be enabled or disabled according to the connection direction of the device Alternatively, access rights to content information may be set differently according to the connection direction of the device.

상기와 같은 어플리케이션(640) 및/또는 호스트 드라이버(630)의 제어에 기초하여 디바이스에 대한 환경 설정이 제어되거나 인터페이스 설정이 제어될 수 있으며, 일 예로 호스트 시스템(600)은 USB 인터페이스 표준에 기초하는 Set Configuration/interface 동작을 통해 상기한 환경 설정 및 인터페이스 설정을 제어할 수 있다.Device environment settings may be controlled or interface settings may be controlled based on the control of the application 640 and/or the host driver 630 as described above. For example, the host system 600 is based on the USB interface standard The above environment settings and interface settings can be controlled through the Set Configuration/interface operation.

도 8은 본 개시의 예시적인 실시예에 따른 데이터 처리 시스템의 동작방법을 나타내는 플로우차트이다. 도 8에 도시된 동작방법에서는, 본 개시의 실시예에서의 호스트 시스템의 동작방법과, 디바이스의 동작방법이 포함될 수 있다.8 is a flowchart showing a method of operating a data processing system according to an exemplary embodiment of the present disclosure. The operating method shown in FIG. 8 may include the operating method of the host system and the operating method of the device in the embodiment of the present disclosure.

도 8을 참조하면, USB Type-C 구조의 커넥터를 통해 디바이스가 호스트 시스템에 연결될 수 있고(S11), 호스트 시스템은 CC 핀(CC1 핀 및 CC2 핀)에 연결된 환경 설정 채널(Configuration Channel)을 통해 디바이스의 연결 방향을 판단할 수 있다(S12).Referring to FIG. 8, the device can be connected to the host system through a connector of a USB Type-C structure (S11), and the host system through a configuration channel connected to CC pins (CC1 pin and CC2 pin). It is possible to determine the connection direction of the device (S12).

호스트 시스템에서 판단된 디바이스의 연결 방향을 나타내는 방향 정보는 호스트 시스템 내의 레지스터에 저장될 수 있고, 저장된 방향 정보는 호스트 시스템의 소프트웨어 계층으로 전달될 수 있으며, 예컨대 방향 정보는 호스트 드라이버로 제공될 수 있다(S13). 또한, 호스트 시스템은 디바이스에 대한 Get Descriptor 동작을 통해 디바이스에 관련된 각종 정보들을 확인할 수 있고(S14), 디바이스에 대한 환경 설정 및 인터페이스 설정을 수행함에 있어서 디바이스의 방향 정보를 이용할 지 여부가 판단될 수 있다(S15).Direction information representing the connection direction of the device determined by the host system may be stored in a register in the host system, and the stored direction information may be transferred to a software layer of the host system, for example, the direction information may be provided to a host driver. (S13). In addition, the host system can check various information related to the device through a Get Descriptor operation for the device (S14), and it can be determined whether or not to use the direction information of the device in performing environment setting and interface setting for the device. Yes (S15).

일 실시예에서, 디바이스의 방향 정보를 이용할 지 여부는 다양한 방식으로 판단될 수 있다. 예컨대, 호스트 시스템은 Get Descriptor 동작을 통해 수신된 정보들을 기초로, 디바이스가 사용자 환경을 위한 추가의 기능들을 지원하고 있는 지를 판단할 수 있고, 디바이스에 추가의 기능들을 위한 모듈이 배치된 경우 디바이스의 방향 정보를 이용하는 것으로 판단할 수 있다. 또는, 호스트 시스템에 디바이스의 방향 정보를 이용할 지 여부를 결정하는 설정 동작이 수행될 수 있고, 디바이스에 추가의 기능들에 관련된 모듈들이 구비되더라도 호스트 시스템에 설정된 정보를 기초로 하여 디바이스의 방향 정보를 선택적으로 이용할 수도 있을 것이다.In one embodiment, whether or not to use the direction information of the device may be determined in various ways. For example, the host system may determine whether the device supports additional functions for the user environment based on information received through the Get Descriptor operation, and if a module for the additional functions is disposed in the device, the device It can be determined that direction information is used. Alternatively, a setting operation for determining whether or not to use the direction information of the device may be performed in the host system, and even if the device includes modules related to additional functions, the direction information of the device is determined based on the information set in the host system. It may be used selectively.

판단 결과에 따라, 디바이스의 방향 정보를 이용하지 않는 경우에는, 호스트 시스템은 디바이스의 연결 방향에 관계 없이 디바이스에 대한 환경 설정을 결정할 수 있다(S17), 반면에, 디바이스의 방향 정보를 이용하는 경우에는, 디바이스에서 지원 가능한 다양한 동작 환경들 중 디바이스의 연결 방향 정보를 반영하여 환경 설정을 결정할 수 있다(S16). 상기와 같은 과정들에 따라 디바이스에 대한 환경 설정이 최종 결정될 수 있고, 이에 따른 Set Configuration/interface 동작을 통해 디바이스에 대한 환경 설정이 수행될 수 있으며(S18), 그 이후 호스트 시스템과 디바이스 사이에서의 정상 동작이 수행될 수 있다(S19).Depending on the determination result, if the device direction information is not used, the host system may determine the environment settings for the device regardless of the connection direction of the device (S17). On the other hand, in the case of using the device direction information , Environment settings can be determined by reflecting connection direction information of the device among various operating environments that can be supported by the device (S16). According to the above processes, the environment settings for the device can be finally determined, and the environment settings for the device can be performed through the Set Configuration/interface operation accordingly (S18). A normal operation may be performed (S19).

도 9 내지 도 12는 본 개시의 다양한 실시예들에 따른 데이터 처리 시스템을 나타내는 블록도이다. 도 9 내지 도 12에 도시된 실시예들을 설명함에 있어서, 도 7에 도시된 구성 요소와 동일한 구성 요소에 대한 구체적인 설명은 생략된다.9 to 12 are block diagrams illustrating data processing systems according to various embodiments of the present disclosure. In describing the embodiments shown in FIGS. 9 to 12 , detailed descriptions of components identical to those shown in FIG. 7 are omitted.

도 9를 참조하면, 호스트 시스템(700)은 호스트 컨트롤러(710), Type-C 컨트롤러(720), 호스트 드라이버(730) 및 어플리케이션 계층(740)을 포함할 수 있으며, 또한 어플리케이션 계층(740)에 로딩될 수 있는 다양한 종류의 어플리케이션들(750)과, 전술한 실시예들에 따른 커넥터(760)를 더 포함할 수 있다. 또한, 호스트 컨트롤러(710)는 하드웨어적 회로들을 포함하고, 일 예로서 방향 감지기 및 레지스터를 포함할 수 있다. Referring to FIG. 9 , the host system 700 may include a host controller 710, a Type-C controller 720, a host driver 730, and an application layer 740. In addition, the application layer 740 Various types of applications 750 that can be loaded and a connector 760 according to the above-described embodiments may be further included. Also, the host controller 710 includes hardware circuits, and may include, for example, a direction sensor and a register.

한편, 호스트 드라이버(730)는 소프트웨어 계층에 포함될 수 있고, 전송 컨트롤러(731), 커맨드 큐(732), 커맨드 생성 블록(733), 결정 블록(734) 및 방향 정보 레지스터(735)를 포함할 수 있다. 전송 컨트롤러(731)는 호스트 컨트롤러(710)와의 정보 송수신에 있어서 정보의 전송 경로를 제어할 수 있고, 방향 정보 레지스터(735)는 Type-C 컨트롤러(720)로부터의 방향 정보를 저장할 수 있으며, 결정 블록(734)은 전술한 실시예들에 따라 디바이스로부터의 설정 정보와 디바이스의 연결 방향을 기초로, 디바이스에 대한 환경 설정을 결정할 수 있다. Meanwhile, the host driver 730 may be included in a software layer and may include a transfer controller 731, a command queue 732, a command generation block 733, a decision block 734, and a direction information register 735. there is. The transmission controller 731 may control a transmission path of information in transmitting and receiving information with the host controller 710, and the direction information register 735 may store direction information from the Type-C controller 720 and determine Block 734 may determine environment settings for the device based on setting information from the device and a connection direction of the device according to the above-described embodiments.

커맨드 생성 블록(733)은 디바이스에 대한 각종 환경 설정 제어를 위한 커맨드들을 생성할 수 있고, 또한 결정 블록(734)의 결정 결과에 기초하여 어플리케이션의 로딩 동작을 제어할 수 있다. 일 예로서, 디바이스가 다양한 종류의 기능 모듈들을 포함할 수 있고, 호스트 시스템(700)은 디바이스에 구비되는 기능 모듈들을 활용하기 위한 다양한 종류의 어플리케이션들을 포함할 수 있다. 커맨드 생성 블록(733)의 제어에 기초하여, 어플리케이션 계층(740)에 로딩될 어플리케이션이 선택될 수 있다.The command generation block 733 may generate commands for controlling various environment settings for the device, and may also control an application loading operation based on a result of the determination of the determination block 734 . As an example, a device may include various types of function modules, and the host system 700 may include various types of applications for utilizing the function modules included in the device. An application to be loaded in the application layer 740 may be selected based on the control of the command creation block 733 .

커맨드 생성 블록(733)에서 생성된 커맨드들은 커맨드 큐(732)에 저장될 수 있고, 소정의 타이밍에 따라 전송 컨트롤러(731) 및 호스트 컨트롤러(710)를 통해 디바이스로 제공될 수 있다. 전술한 실시예들에 따라, 각종 설정 정보들의 수신, 그리고 디바이스에 대한 환경 설정 제어를 위한 Get Descriptor 및 Set Configuration/interface 동작은 커맨드 전송에 기초하여 수행될 수 있을 것이다.The commands generated in the command generation block 733 may be stored in the command queue 732 and provided to the device through the transmission controller 731 and the host controller 710 according to a predetermined timing. According to the above-described embodiments, Get Descriptor and Set Configuration/interface operations for receiving various setting information and controlling environment settings for a device may be performed based on command transmission.

한편, 도 10을 참조하면, 호스트 시스템(800)은 호스트 컨트롤러(810), Type-C 컨트롤러(820), 호스트 드라이버(830), 어플리케이션 계층(840) 및 커넥터(870)를 포함할 수 있으며, 또한 다양한 종류의 어플리케이션들로서 와이파이 드라이버(850) 및 메모리 드라이버(860)를 더 포함할 수 있다. 또한, 호스트 드라이버(830)는 전송 컨트롤러(831), 커맨드 큐(832), 커맨드 생성 블록(833), 결정 블록(834) 및 방향 정보 레지스터(835)를 포함할 수 있다.Meanwhile, referring to FIG. 10 , the host system 800 may include a host controller 810, a Type-C controller 820, a host driver 830, an application layer 840, and a connector 870, In addition, various types of applications may further include a Wi-Fi driver 850 and a memory driver 860. In addition, the host driver 830 may include a transfer controller 831 , a command queue 832 , a command generation block 833 , a decision block 834 and a direction information register 835 .

디바이스가 메모리 장치를 포함하는 메모리 카드로 구현될 수 있고, 본 개시의 실시예에 따라 통신 모듈(예컨대, 와이파이 모듈)이 디바이스에 포함된 경우, 호스트 시스템(800)은 와이파이 모듈 및 메모리 장치를 구동하기 위한 어플리케이션을 포함할 수 있다. 또한, 본 개시의 실시예에 따라, 디바이스가 특정 방향으로 연결된 경우에 상기 와이파이 모듈이 인에이블되는 경우, 호스트 드라이버(830) 또는 커맨드 생성 블록(833)의 제어에 기초하여 와이파이 드라이버(850)가 선택적으로 어플리케이션 계층(840)에 로딩될 수 있으며, 이에 따라 무선 통신 기능이 사용자 환경으로서 제공될 수 있을 것이다.When a device may be implemented as a memory card including a memory device and a communication module (eg, Wi-Fi module) is included in the device according to an embodiment of the present disclosure, the host system 800 drives the Wi-Fi module and the memory device. It may include an application for In addition, according to an embodiment of the present disclosure, when the Wi-Fi module is enabled when a device is connected in a specific direction, the Wi-Fi driver 850 generates a command based on control of the host driver 830 or the command generation block 833. It can be selectively loaded into the application layer 840, and thus a wireless communication function can be provided as a user environment.

한편, 도 11을 참조하면, 데이터 처리 시스템(900)은 호스트 시스템(901)과 디바이스(902)를 포함할 수 있고, 호스트 시스템(901)은 호스트 컨트롤러(911), Type-C 컨트롤러(912), 호스트 드라이버(913), 어플리케이션 계층(914) 및 커넥터(916)를 포함할 수 있으며, 또한 다양한 종류의 어플리케이션들로서 메모리 드라이버(915)를 더 포함할 수 있다. 또한, 호스트 드라이버(913)는 전송 컨트롤러, 커맨드 큐, 커맨드 생성 블록, 결정 블록 및 방향 정보 레지스터를 포함할 수 있다. 한편, 디바이스(902)는 디바이스 컨트롤러(921) 및 디바이스 드라이버(922)를 포함할 수 있다. 디바이스(902)의 구현에 있어서, 디바이스 컨트롤러(921)는 하드웨어 계층에 포함될 수 있고, 디바이스 드라이버(922)는 소프트웨어 계층에 포함될 수 있다.Meanwhile, referring to FIG. 11 , the data processing system 900 may include a host system 901 and a device 902, and the host system 901 includes a host controller 911 and a Type-C controller 912. , a host driver 913, an application layer 914, and a connector 916, and may further include a memory driver 915 as various types of applications. In addition, the host driver 913 may include a transfer controller, a command queue, a command generation block, a decision block, and a direction information register. Meanwhile, the device 902 may include a device controller 921 and a device driver 922 . In the implementation of the device 902, the device controller 921 may be included in the hardware layer, and the device driver 922 may be included in the software layer.

전술한 실시예들에 따라, 호스트 드라이버(913)의 결정 블록의 판단 결과에 기초하여, 디바이스(902)에 구비되는 메모리 장치(미도시)에 대한 억세스 권한이 제어될 수 있다. 만약, 디바이스(902)가 제1 방향으로 호스트 시스템(901)에 연결된 경우에는 메모리 장치에 저장된 컨텐츠 정보들에 대해 독출 동작만이 가능하고, 디바이스(902)가 제2 방향으로 호스트 시스템(901)에 연결된 경우에는 메모리 장치에 새로운 컨텐츠 정보의 기록이 더 가능한 경우에는, 디바이스(902)는 호스트 시스템(901)으로부터의 환경 설정 제어에 따라 상기 메모리 장치에 대한 억세스 권한을 다르게 설정할 수 있다.According to the above-described embodiments, access rights to a memory device (not shown) included in the device 902 may be controlled based on a result of the decision block of the host driver 913 . If the device 902 is connected to the host system 901 in the first direction, only a read operation is possible for content information stored in the memory device, and the device 902 is connected to the host system 901 in the second direction. When connected to , when new content information can be recorded in the memory device, the device 902 may differently set access rights to the memory device according to environment setting control from the host system 901 .

일 예로서, 호스트 시스템(901)으로부터의 환경 설정 제어에 따라, 디바이스 드라이버(922)는 정책 매니저를 통해 메모리 장치에 대한 억세스 권한을 다르게 설정할 수 있고, 정책 매니저는 독출/기록 제어 모듈을 제어함을 통해 메모리 장치에 대한 억세스 권한(예컨대, 새로운 컨텐츠 정보의 기록 허용 등)을 설정할 수 있을 것이다.As an example, according to environment setting control from the host system 901, the device driver 922 may differently set access rights to the memory device through a policy manager, and the policy manager controls the read/write control module. It will be possible to set access rights (eg, permission to record new content information, etc.) to the memory device.

한편, 도 12를 참조하면, 호스트 시스템(1000)은 호스트 컨트롤러(1010), Type-C 컨트롤러(1020), 호스트 드라이버(1030), 어플리케이션 계층(1040), 다양한 종류의 어플리케이션들(1050) 및 커넥터(1070)를 포함할 수 있으며, 또한 디바이스의 기능 모듈의 인에이블 등 사용자 환경과 관련하여 다양한 제어가 가능하도록 스위치 모듈(1060)을 더 포함할 수 있다. 또한, 호스트 드라이버(1030)는 전송 컨트롤러(1031), 커맨드 큐(1032), 커맨드 생성 블록(1033), 결정 블록(1034), 스위치 상태 정보 레지스터(1035) 및 방향 정보 레지스터(1036)를 포함할 수 있다. 스위치 모듈(1060)은 사용자 입력을 수신할 수 있는 다양한 종류의 구성으로서, 물리적 버튼 등 하드웨어적인 구성으로 구현되거나, 사용자에 의해 화면 상으로 선택되는 등 소프트웨어적인 구성으로 구현될 수도 있을 것이며, 스위치 상태 정보 레지스터(1035)는 사용자 입력에 따른 스위치 상태를 나타내는 정보를 저장할 수 있다.Meanwhile, referring to FIG. 12 , the host system 1000 includes a host controller 1010, a Type-C controller 1020, a host driver 1030, an application layer 1040, various types of applications 1050, and connectors. 1070, and may further include a switch module 1060 to enable various controls related to the user environment, such as enabling function modules of the device. In addition, the host driver 1030 may include a transfer controller 1031, a command queue 1032, a command generation block 1033, a decision block 1034, a switch state information register 1035 and a direction information register 1036. can The switch module 1060 is a variety of components capable of receiving user input, and may be implemented as a hardware configuration such as a physical button or as a software configuration such as a user selecting on a screen, and a switch state. The information register 1035 may store information representing a switch state according to a user input.

예시적인 실시예에서, 디바이스의 연결 방향에 따른 사용자 환경의 이용 여부는 상기 사용자 입력을 더 기초로 하여 결정될 수 있을 것이다. 예컨대, 사용자가 연결 방향에 무관하게 컨텐츠 정보의 재생 등 디바이스의 고유한 기능을 이용하려는 경우에는, 스위치 오프 상태가 되도록 사용자 입력을 호스트 시스템(1000)에 제공할 수 있다. 이에 따라, 호스트 시스템(1000)의 결정 블록(1034)은 방향 정보와 함께 스위치 상태 정보를 함께 활용하여 디바이스에 구비될 수 있는 통신 모듈 등 다른 기능 모듈들에 대한 인에이블 여부를 결정할 수 있을 것이다. In an exemplary embodiment, whether to use the user environment according to the connection direction of the device may be determined based on the user input. For example, when a user intends to use a unique function of a device, such as reproduction of content information, regardless of connection direction, a user input may be provided to the host system 1000 to turn off the switch. Accordingly, the decision block 1034 of the host system 1000 may determine whether to enable other function modules, such as a communication module that may be included in the device, by utilizing the switch state information together with the direction information.

도 13은 본 개시의 실시예들이 디지털 TV(DTV) 시스템에 적용된 경우를 나타내는 블록도이다.13 is a block diagram illustrating a case in which embodiments of the present disclosure are applied to a digital TV (DTV) system.

도 13을 참조하면, DTV 시스템(20)은 DTV 장치(1100)를 포함할 수 있고, 또한 USB Type-C 인터페이스에 따라 DTV 장치(1100)와 통신하는 외부 디바이스(1200)를 포함할 수 있다. DTV 시스템(20)에서, DTV 장치(1100)는 싱크 디바이스로 지칭될 수 있고, 컨텐츠 정보를 저장하는 외부 디바이스(1200)는 소스 디바이스로 지칭될 수 있다. Referring to FIG. 13 , the DTV system 20 may include a DTV device 1100 and may also include an external device 1200 communicating with the DTV device 1100 according to a USB Type-C interface. In the DTV system 20, the DTV apparatus 1100 may be referred to as a sink device, and the external device 1200 storing content information may be referred to as a source device.

DTV 장치(1100) 및 외부 디바이스(1200) 각각은 USB Type-C 구조의 커넥터(미도시)를 포함할 수 있고, 이에 따라 외부 디바이스(1200)는 방향에 무관하게 DTV 장치(1100)의 커넥터에 연결될 수 있다. 외부 디바이스(1200)는 DTV 장치(1100)에 포함된 컨트롤러(1130)로부터 커맨드 및 어드레스를 수신하고, 수신된 커맨드가 지시하는 동작을 수행할 수 있다. 예컨대, 외부 디바이스(1200)의 메모리(1210)에 다수의 컨텐츠 정보들이 저장되는 경우, 어드레스에 의해 지시된 컨텐츠 정보에 대한 억세스 동작이 수행될 수 있다.Each of the DTV device 1100 and the external device 1200 may include a connector (not shown) of a USB Type-C structure, and thus the external device 1200 connects to the connector of the DTV device 1100 regardless of direction. can be connected The external device 1200 may receive a command and an address from the controller 1130 included in the DTV apparatus 1100 and perform an operation indicated by the received command. For example, when a plurality of pieces of content information are stored in the memory 1210 of the external device 1200, an access operation for content information indicated by an address may be performed.

외부 디바이스(1200)는, 예를 들어, 플래시 메모리(flash memory) 기반의 저장 장치일 수 있다. 플래시 메모리는, 예를 들어 낸드 플래시 메모리(NAND flash memory), 노어 플래시 메모리(NOR flash memory) 등을 포함할 수 있다. 플래시 메모리 기반의 저장 장치는, 예를 들어 SSD(Solid State Drive), USB(Universal Serial Bus) 기반의 플래시 드라이브 장치 등을 포함할 수 있다. 외부 디바이스(1200)는 탈착식 저장 장치(removable drive)로서 구현될 수 있다. 외부 디바이스(1200)는 비디오 CD(Compact Disk) 및 DVD(Digital Vedio Disk) 등 기록 매체로 구현될 수도 있다.The external device 1200 may be, for example, a flash memory-based storage device. The flash memory may include, for example, a NAND flash memory, a NOR flash memory, and the like. The flash memory-based storage device may include, for example, a solid state drive (SSD) or a universal serial bus (USB) based flash drive device. The external device 1200 may be implemented as a removable drive. The external device 1200 may be implemented as a recording medium such as a video compact disk (CD) and a digital video disk (DVD).

일 실시예에서, 외부 디바이스(1200)는 적어도 하나의 멀티미디어 파일을 컨텐츠 정보로서 저장할 수 있다. 멀티미디어 파일은 영상 데이터 및 오디오 데이터 등을 포함하는 파일을 의미할 수 있다. 이러한 멀티미디어 파일은 MPEG(Moving Picture Experts Group), DivX(DIgital Video EXpress) 등 다양한 포맷으로 압축될 수 있다. In one embodiment, the external device 1200 may store at least one multimedia file as content information. A multimedia file may refer to a file including video data and audio data. Such multimedia files may be compressed in various formats such as Moving Picture Experts Group (MPEG) and DIgital Video EXpress (DivX).

DTV 장치(1100)는 컨텐츠 정보(또는 비트스트림)를 처리하여 재생하는 전자 장치일 수 있다. 컨텐츠 정보는 외부 디바이스(1200)로부터 제공되는 비디오 데이터 및 오디오 데이터를 포함하는 신호일 수 있다. 또는, DTV 장치(1100)는 외부 디바이스(1200)에 저장된 복수의 멀티미디어 파일들 중 사용자의 선택에 의해 선택된 멀티미디어 파일을 처리하여 재생하는 전자 장치일 수 있다. 여기서, 재생이라는 용어는, 처리된 비디오 데이터에 따른 영상을 디스플레이하거나, 처리된 오디오 데이터에 따른 오디오를 출력하거나, 처리된 비디오 데이터 및 오디오 데이터에 따른 영상과 오디오를 나타내는 것을 의미할 수 있다. The DTV device 1100 may be an electronic device that processes and reproduces content information (or bitstream). The content information may be a signal including video data and audio data provided from the external device 1200 . Alternatively, the DTV device 1100 may be an electronic device that processes and reproduces a multimedia file selected by a user from among a plurality of multimedia files stored in the external device 1200 . Here, the term reproduction may mean displaying an image according to processed video data, outputting audio according to processed audio data, or displaying image and audio according to processed video data and audio data.

일 실시예에서, DTV 장치(1100)는 디코더/인코더(1110), 메모리(1120), 컨트롤러(1130), 디스플레이 장치(1140), 사용자 입력 모듈(1150), 통신기(1160) 및 신호 입출력 모듈(1170)을 포함할 수 있다.In one embodiment, the DTV device 1100 includes a decoder/encoder 1110, a memory 1120, a controller 1130, a display device 1140, a user input module 1150, a communicator 1160, and a signal input/output module ( 1170) may be included.

디코더/인코더(1110)는 컨트롤러(1130)로부터 제공된 인코딩된 비트스트림을 디코딩하고, 디코딩된 정보를 출력할 수 있다. 일 실시예에서, 비트스트림은 외부 디바이스(1200)에 저장된 복수의 멀티미디어 파일들로부터 추출된 것일 수 있다. 또는 다른 실시예에서, 비트스트림은 외부 서버, 또는 방송국 등으로부터 수신된 컨텐츠 정보로부터 추출된 것일 수 있다. 하지만, 이에 한정되는 것은 아니다.The decoder/encoder 1110 may decode the encoded bitstream provided from the controller 1130 and output decoded information. In one embodiment, the bitstream may be extracted from a plurality of multimedia files stored in the external device 1200. Alternatively, in another embodiment, the bitstream may be extracted from content information received from an external server or a broadcasting station. However, it is not limited thereto.

또한, 디코더/인코더(1110)는 멀티미디어 파일 등의 컨텐츠 정보를 인코딩할 수 있다. 일 실시예에서, 인코딩 동작은 특정한 기능을 위해 수행될 수 있고, 일 예로서 인코딩 동작을 통해 인코딩된 프레임들을 포함하는 동영상 썸네일 파일이 생성될 수 있다. 인코딩 방식은 예를 들면 MPEG 포맷일 수 있으나, 이에 한정되는 것은 아니다.Also, the decoder/encoder 1110 may encode content information such as a multimedia file. In one embodiment, an encoding operation may be performed for a specific function, and as an example, a video thumbnail file including frames encoded through the encoding operation may be generated. The encoding method may be, for example, an MPEG format, but is not limited thereto.

메모리(1120)는, 컨트롤러(1130)의 제어에 응답하여, 데이터를 독출하거나 데이터를 기록할 수 있다. 예컨대, 메모리(1120)는 불휘발성 메모리를 포함할 수 있고, 외부 디바이스(1200)로부터 제공된 멀티미디어 파일들을 저장할 수 있고, 저장된 멀티미디어 파일들을 컨트롤러(1130)의 제어에 기초하여 디코더/인코더(1110)로 제공할 수 있다. 또한, 디코더/인코더(1110)에 의해 생성된 인코딩된 정보들이 메모리(1120)에 저장될 수 있다. The memory 1120 may read data or write data in response to control of the controller 1130 . For example, the memory 1120 may include a non-volatile memory, store multimedia files provided from the external device 1200, and transfer the stored multimedia files to the decoder/encoder 1110 under the control of the controller 1130. can provide Also, encoded information generated by the decoder/encoder 1110 may be stored in the memory 1120 .

컨트롤러(1130)는 DTV 장치(1100)의 전반적인 동작을 제어할 수 있다. 컨트롤러(1130)는 CPU(Central Processing Unit) 등의 프로세서를 포함할 수 있으며, 내부에 버퍼, 레지스터 등의 메모리를 더 포함할 수 있다.The controller 1130 may control overall operations of the DTV device 1100. The controller 1130 may include a processor such as a central processing unit (CPU), and may further include memory such as a buffer and a register therein.

컨트롤러(1130)는 특정한 통신 규격에 따라 본 개시의 외부 디바이스(1200)와 통신할 수 있으며, 또한 적어도 하나의 다른 외부 디바이스와 통신할 수 있다. 예를 들면, 컨트롤러(1130)는 USB(Universal Serial Bus), MMC(multimedia card), eMMC(embeded MMC), PCI(peripheral component interconnection), PCI-E(PCI-express), ATA(Advanced Technology Attachment), Serial-ATA, Parallel-ATA, SCSI(small computer system interface), ESDI(enhanced small disk interface), IDE(Integrated Drive Electronics), 파이어와이어(Firewire), UFS(Universal Flash Storage), WIFI, Bluetooth, NVMe 등과 같은 다양한 통신 규격들 중 적어도 하나를 통해 본 개시의 외부 디바이스(1200) 및 적어도 하나의 다른 디바이스와 통신할 수 있다. The controller 1130 may communicate with the external device 1200 of the present disclosure according to a specific communication standard, and may also communicate with at least one other external device. For example, the controller 1130 may include universal serial bus (USB), multimedia card (MMC), embedded MMC (eMMC), peripheral component interconnection (PCI), PCI-express (PCI-E), advanced technology attachment (ATA) , Serial-ATA, Parallel-ATA, SCSI (small computer system interface), ESDI (enhanced small disk interface), IDE (Integrated Drive Electronics), Firewire, UFS (Universal Flash Storage), WIFI, Bluetooth, NVMe It is possible to communicate with the external device 1200 and at least one other device of the present disclosure through at least one of various communication standards such as the like.

디스플레이 장치(1140)는 컨트롤러(1130)에 의해 처리된 비트스트림, 디코딩된 프레임, 또는 디코딩된 멀티미디어 파일 등을 기초로 영상을 디스플레이할 수 있다. 또한, 사용자 입력 모듈(1150)은 사용자가 조작할 수 있도록 마련된 모듈일 수 있다. 사용자 입력 모듈(1150)은 다양한 종류의 입력 인터페이스 관련 회로를 포함할 수 있다. 예를 들면, 사용자 입력 모듈(1150)은 DTV 장치(1100)의 기계적 또는 전자적 버튼, DTV 장치(1100)의 본체로부터 분리된 리모트 컨트롤러, 터치패드, 터치스크린 등 다양한 형태로 구현될 수 있다.The display device 1140 may display an image based on a bitstream processed by the controller 1130, a decoded frame, or a decoded multimedia file. Also, the user input module 1150 may be a module prepared to be manipulated by a user. The user input module 1150 may include various types of input interface related circuits. For example, the user input module 1150 may be implemented in various forms, such as a mechanical or electronic button of the DTV device 1100, a remote controller separated from the main body of the DTV device 1100, a touch pad, or a touch screen.

일 실시예에서, 사용자 입력 모듈(1150)은 사용자가 선택한 정보를 나타내는 선택 신호를 수신하고, 선택 신호를 컨트롤러(1130)에 전달할 수 있다. 통신기(1160)는 다양한 종류의 유선 및 무선 통신 프로토콜에 대응하는 통신 모듈, 통신 칩 등의 구성요소들 중 적어도 하나 이상을 포함하는 양방향 통신 회로일 수 있다. 통신기(1160)는, 예를 들면 억세스 포인트를 통한 와이파이(Wi-Fi) 통신을 수행하는 와이파이 통신 칩, BLE(Bluetooth Low Energy) 통신을 수행하는 BLE 통신 칩, 라우터 또는 게이트웨이에 접속되는 랜 카드(LAN card) 등 다양한 형태로 구현될 수 있다.In one embodiment, the user input module 1150 may receive a selection signal indicating information selected by the user and transmit the selection signal to the controller 1130 . The communicator 1160 may be a bidirectional communication circuit including at least one of components such as a communication module and a communication chip corresponding to various types of wired and wireless communication protocols. The communicator 1160 may include, for example, a Wi-Fi communication chip performing Wi-Fi communication through an access point, a BLE communication chip performing Bluetooth Low Energy (BLE) communication, and a LAN card connected to a router or gateway ( LAN card) can be implemented in various forms.

신호 입출력 모듈(1170)은 통신 인터페이스의 역할을 수행할 수 있다. 예를 들면, 신호 입출력 모듈(1170)은 컨트롤러(1130)에 의해 처리된 컨텐츠 정보를 외부로 전송할 수 있다. 일 실시예에서, 신호 입출력 모듈(1170)은 송신기 및 수신기를 포함할 수 있다. 본 실시예에서, 신호 입출력 모듈(1170)는 HDMI 전송 규격에 기반하여 신호를 송수신할 수 있다. HDMI 전송 규격은 2.1 버전까지 공개되었다. The signal input/output module 1170 may serve as a communication interface. For example, the signal input/output module 1170 may transmit content information processed by the controller 1130 to the outside. In one embodiment, the signal input/output module 1170 may include a transmitter and a receiver. In this embodiment, the signal input/output module 1170 may transmit and receive signals based on the HDMI transmission standard. The HDMI transmission standard was released until version 2.1.

본 개시의 예시적인 실시예에 따라, DTV 장치(1100)는 외부 디바이스(1200)의 연결 방향을 감지한 결과를 기초로, 외부 디바이스(1200)에서 제공되는 다양한 사용자 환경을 실행할 수 있다. 예컨대, DTV 장치(1100)에 통신기(1160)가 구비되지 않더라도, 외부 디바이스(1200)에 와이파이 등의 무선 통신을 지원하는 모듈이 구비된 경우, 사용자는 외부 디바이스(1200) 내의 통신 모듈이 인에이블되도록 외부 디바이스(1200)를 특정 방향으로 DTV 장치(1100)에 연결할 수 있으며, 이에 따라 DTV 장치(1100)는 다른 외부의 디바이스(또는, 외부의 시스템)과 무선 통신을 수행할 수 있다. 또한, 외부 디바이스(1200)에 저장된 멀티미디어 파일 등의 컨텐츠 정보에 대한 억세스 권한을 설정함에 있어서, 사용자는 외부 디바이스(1200)를 특정 방향으로 DTV 장치(1100)에 연결하여 억세스 권한을 다르게 설정할 수 있다. 예컨대, 컨텐츠 정보에 대한 억세스 권한에 따라, 컨텐츠 정보에 대한 수정 및 삭제를 허용하거나 허용하지 않을 수 있으며, 또한 컨텐츠 정보에 대한 외부 시스템으로의 전송을 차단하는 등의 보안 기능이 적용될 수 있을 것이다.According to an exemplary embodiment of the present disclosure, the DTV apparatus 1100 may execute various user environments provided by the external device 1200 based on a result of detecting a connection direction of the external device 1200 . For example, even if the communicator 1160 is not provided in the DTV device 1100, if the external device 1200 includes a module supporting wireless communication such as Wi-Fi, the user can enable the communication module in the external device 1200. The external device 1200 can be connected to the DTV apparatus 1100 in a specific direction, so that the DTV apparatus 1100 can perform wireless communication with other external devices (or external systems). In addition, in setting access rights for content information such as multimedia files stored in the external device 1200, the user connects the external device 1200 to the DTV apparatus 1100 in a specific direction to set access rights differently. . For example, modification and deletion of content information may be allowed or not allowed according to access rights to content information, and a security function such as blocking transmission of content information to an external system may be applied.

도 14는 본 개시의 예시적인 실시예에서의 시스템의 구현 예를 나타내는 도면이다. 도 14에서는 앞선 실시예에서의 DTV 장치에 본 개시의 실시예들에 따른 USB 디바이스가 장착된 경우가 예시되며, 본 개시의 실시예들에 따른 시스템은 USB 디바이스가 스마트 폰, 태블릿, PC 등 각종 컴퓨팅 시스템에 장착된 경우에도 적용이 가능할 것이다.14 is a diagram illustrating an example implementation of a system in an exemplary embodiment of the present disclosure. In FIG. 14, a case in which a USB device according to embodiments of the present disclosure is mounted on a DTV device in the previous embodiment is illustrated, and a system according to embodiments of the present disclosure shows that the USB device is a smart phone, a tablet, a PC, and the like. It will be applicable even if it is mounted on a computing system.

도 14에 도시된 바와 같이, DTV 시스템(30)은 DTV 장치(31) 및 USB 디바이스(32)를 구비하고, DTV 장치(31) 및 USB 디바이스(32) 각각은 USB Type-C 인터페이스에 따른 커넥터를 포함할 수 있다. 전술한 실시예들에 따라, USB 디바이스(32)가 DTV 장치(31)에 연결된 방향에 따라 서로 다른 사용자 환경이 제공될 수 있으며, DTV 장치(31)는 연결 방향을 기초로 USB 디바이스(32)의 동작 환경을 설정하기 위한 제어 동작을 수행할 수 있다. As shown in FIG. 14, the DTV system 30 includes a DTV device 31 and a USB device 32, and each of the DTV device 31 and the USB device 32 has a connector according to a USB Type-C interface. can include According to the foregoing embodiments, different user environments may be provided according to the direction in which the USB device 32 is connected to the DTV device 31, and the DTV device 31 connects the USB device 32 to the USB device 32 based on the connection direction. It is possible to perform a control operation for setting the operating environment of the .

또는, 다양한 실시예들에 따라, DTV 장치(31)가 연결 방향에 관련된 정보를 USB 디바이스(32)로 제공하면, USB 디바이스(32)가 DTV 장치(31)의 동작 환경을 설정하기 위한 제어 동작을 수행할 수도 있을 것이다. 예컨대, USB 디바이스(32)는 DTV 장치(31)로부터 제공되는 각종 정보를 기초로, USB 디바이스(32)의 연결 방향을 인식할 수 있으며, 또한 DTV 장치(31)의 제조사, 제품, 인증 여부 등 시스템 운영과 관련된 각종 정보를 획득할 수 있을 것이다. 전술한 실시예들을 기초로, USB 디바이스(32)는 DTV 장치(31)의 환경 설정 제어를 위한 커맨드 전송을 수행할 수 있을 것이다.Alternatively, according to various embodiments, when the DTV device 31 provides information related to the connection direction to the USB device 32, the USB device 32 performs a control operation for setting the operating environment of the DTV device 31. might be able to do For example, the USB device 32 can recognize the connection direction of the USB device 32 based on various information provided from the DTV device 31, and also the manufacturer, product, certification, etc. of the DTV device 31. You will be able to acquire various information related to system operation. Based on the foregoing embodiments, the USB device 32 may transmit a command for environment setting control of the DTV device 31 .

도 15는 본 개시의 예시적인 실시예에 따라, 디바이스가 호스트 시스템에 대한 환경 설정 제어를 수행하는 전자 시스템을 나타내는 블록도이다.15 is a block diagram illustrating an electronic system in which a device performs environment setting control for a host system, according to an exemplary embodiment of the present disclosure.

도 15를 참조하면, 전자 시스템(40)은 본 개시의 실시예들에 따른 호스트 시스템(41)과 디바이스(42)를 포함할 수 있고, 일 예로서 호스트 시스템(41)은 DTV 장치 또는 PC 등 다양한 종류의 데이터 처리 장치이고, 디바이스(42)는 데이터를 저장하는 메모리 카드 등의 장치(예컨대, USB 카드)일 수 있다. 본 실시예의 용어를 정의함에 있어서, DTV 장치 또는 PC 등이 호스트 시스템으로 정의되고 디바이스(42)가 슬레이브 장치로 정의될 수 있으나, 이는 설명의 편의를 위한 것일 뿐 본 개시의 실시예는 이에 국한될 필요가 없다. 예컨대, 데이터를 송수신 측면에서, 데이터를 전송하는 주체를 호스트로 정의하고 데이터를 수신하는 주체를 슬레이브로 정의하는 경우에는, DTV 장치 또는 PC 등이 슬레이브로서 지칭될 수 있고, 메모리 카드 등의 장치가 슬레이브로 지칭될 수도 있을 것이다.Referring to FIG. 15 , an electronic system 40 may include a host system 41 and a device 42 according to embodiments of the present disclosure. As an example, the host system 41 may include a DTV device or a PC. It is a data processing apparatus of various types, and the device 42 may be a device such as a memory card (eg, a USB card) for storing data. In defining the terms of this embodiment, a DTV device or a PC may be defined as a host system and the device 42 may be defined as a slave device, but this is only for convenience of description and the embodiment of the present disclosure is limited to this. no need. For example, in terms of transmitting and receiving data, when a subject transmitting data is defined as a host and a subject receiving data is defined as a slave, a DTV device or PC may be referred to as a slave, and a device such as a memory card may be referred to as a slave. It may also be referred to as a slave.

예시적인 실시예에 따라, 호스트 시스템(41)은 커넥터(41_1), 연결 방향 감지기(41_2) 및 환경 설정기(41_3)를 포함할 수 있고, 디바이스(42)는 커넥터(42_1), 데이터 처리기(42_2), 설정 제어기(42_3) 및 환경 설정기(42_4)를 포함할 수 있다. 도 15에 도시된 구성요소들 중 도 1에서 도시된 구성요소에 대한 구체적인 설명은 생략된다.According to an exemplary embodiment, the host system 41 may include a connector 41_1, a connection direction detector 41_2, and an environment setter 41_3, and the device 42 may include a connector 42_1, a data processor ( 42_2), a setting controller 42_3, and an environment setting unit 42_4. Among the components shown in FIG. 15, detailed descriptions of the components shown in FIG. 1 are omitted.

디바이스(42) 측에서 커맨드를 호스트 시스템(41)으로 제공하여, 호스트 시스템(41)의 동작 환경 설정을 제어함에 따라, 설정 제어기(42_3)는 디바이스 내의 드라이버에 구비되는 구성일 수 있다. 또한, 환경 설정기(42_4)는 디바이스(42) 내부적인 제어 및/또는 호스트 시스템(41)으로부터의 전술한 실시예들에 따른 제어를 기초로, 디바이스(42)의 동작 환경을 설정할 수 있다.As the device 42 provides commands to the host system 41 to control operating environment settings of the host system 41, the setting controller 42_3 may be a component included in a driver in the device. In addition, the environment setter 42_4 may set the operating environment of the device 42 based on internal control of the device 42 and/or control from the host system 41 according to the above-described embodiments.

한편, 예시적인 실시예에서, 디바이스(42)는 호스트 시스템(41)으로부터 방향 정보를 수신하고, 이를 기초로 호스트 시스템(41)에 대한 환경 설정 제어를 수행할 수 있다. 호스트 시스템(41)은 USB Type-C 인터페이스에서 정의되는 각종 커맨드에 기초하여 환경 설정 동작을 수행할 수 있다.Meanwhile, in an exemplary embodiment, the device 42 may receive direction information from the host system 41 and perform environment setting control for the host system 41 based on the received direction information. The host system 41 may perform an environment setting operation based on various commands defined in the USB Type-C interface.

예시적인 실시예에서, 디바이스(42)는 호스트 시스템(41)으로부터의 각종 정보를 통해 호스트 시스템(41)에 허용할 보안 레벨과, 호스트 시스템(41)에 구비되는 정보에 대한 억세스 권한을 다르게 설정하기 위한 제어 동작을 수행할 수 있다. 예컨대, 디바이스(42)는 호스트 시스템(41)으로부터의 각종 정보에 기초하여 설정 가능한 다양한 동작 환경들 중 어느 하나를 선택하여 호스트 시스템(41)으로 전송할 수 있다. 만약, 호스트 시스템(41)이 승인된 장치에 해당하는지 여부 등 다양한 조건을 기초로, 디바이스(42)는 데이터 처리기(42_2)에 의한 데이터의 암/복호화 레벨을 다르게 설정하고, 호스트 시스템(41)이 사로 다른 레벨의 암/복호화 동작을 수행하도록 환경 설정 제어 동작을 수행할 수 있을 것이다. 또한, 호스트 시스템(41)은 그 내부에 시스템 운용과 관련한 주요 정보들을 저장할 수 있고, 디바이스(42)의 환경 설정 제어 동작에 기초하여 상기 주요 정보들의 억세스 권한을 다르게 설정할 수도 있을 것이다. 이외에도, 전술한 실시예들에서 설명된 호스트 시스템의 환경 설정 제어에 기초하여, 디바이스 또한 이와 동일 또는 유사하게 호스트 시스템에 대한 환경 설정 제어 동작을 수행할 수도 있을 것이다.In an exemplary embodiment, the device 42 differently sets a security level to be allowed to the host system 41 and an access right to information provided in the host system 41 through various types of information from the host system 41 . It is possible to perform a control operation for For example, the device 42 may select one of a variety of configurable operating environments based on various types of information from the host system 41 and transmit the selected one to the host system 41 . Based on various conditions, such as whether the host system 41 corresponds to an approved device, the device 42 sets different levels of data encryption/decryption by the data processor 42_2, and the host system 41 In this way, it will be possible to perform environment setting control operations to perform encryption/decryption operations of different levels. In addition, the host system 41 may store important information related to system operation therein, and based on the environment setting control operation of the device 42, access rights to the main information may be differently set. In addition, based on the environment setting control of the host system described in the above-described embodiments, the device may also perform an environment setting control operation for the host system identically or similarly.

이상에서와 같이 도면과 명세서에서 예시적인 실시예들이 개시되었다. 본 명세서에서 특정한 용어를 사용하여 실시예들을 설명되었으나, 이는 단지 본 개시의 기술적 사상을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 개시의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 개시의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.As above, exemplary embodiments have been disclosed in the drawings and specifications. Although the embodiments have been described using specific terms in this specification, they are only used for the purpose of explaining the technical idea of the present disclosure, and are not used to limit the scope of the present disclosure described in the claims. . Therefore, those of ordinary skill in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical scope of protection of the present disclosure should be determined by the technical spirit of the appended claims.

Claims (20)

디바이스와 통신하는 호스트 시스템에 있어서,
상기 디바이스와 방향에 무관하게 연결되는 구조를 가지며, 다수의 핀들이 배치되는 커넥터;
상기 다수의 핀들 중 적어도 하나의 제1 핀으로부터의 신호를 검출함에 의해 상기 디바이스가 상기 호스트 시스템에 연결된 방향을 감지하는 연결 방향 감지기; 및
상기 디바이스로부터 상기 디바이스에서 지원되는 환경 설정에 관련된 설정 정보를 수신하고, 상기 연결 방향 감지기로부터의 방향 정보에 기초하여 상기 디바이스에 대한 환경 설정 동작을 제어하는 설정 제어기를 구비하고,
상기 호스트 시스템은, 상기 설정 정보 및 상기 방향 정보에 기초하여 상기 디바이스에 구비되는 고유한 기능을 갖는 기능 모듈이 선택적으로 인에이블되도록 제어를 수행하는 것을 특징으로 하는 호스트 시스템.
In the host system communicating with the device,
a connector having a structure connected to the device regardless of direction and having a plurality of pins;
a connection direction detector detecting a direction in which the device is connected to the host system by detecting a signal from at least one first pin among the plurality of pins; and
A setting controller for receiving setting information related to environment settings supported by the device from the device and controlling an environment setting operation for the device based on direction information from the connection direction sensor;
The host system, characterized in that, based on the setting information and the direction information, performs control such that a function module having a unique function provided in the device is selectively enabled.
제1항에 있어서,
상기 호스트 시스템은 상기 디바이스와 USB(Universal Serial Bus) Type-C 인터페이스에 따른 통신을 수행하고,
상기 제1 핀은, 상기 USB Type-C 인터페이스에서 정의되는 CC(configuration channel)1 핀 및 CC2 핀 중 적어도 하나를 포함하는 것을 특징으로 하는 호스트 시스템.
According to claim 1,
The host system performs communication with the device according to a USB (Universal Serial Bus) Type-C interface,
The first pin includes at least one of a CC (configuration channel) 1 pin and a CC2 pin defined in the USB Type-C interface.
제2항에 있어서,
상기 연결 방향 감지기는, 상기 디바이스에 구비되는 상기 USB Type-C 인터페이스에서 정의되는 풀 다운 저항이 상기 CC1 핀 및 상기 CC2 핀 중 어느 핀에 연결되었는지를 검출함에 기초하여 상기 디바이스의 연결 방향을 감지하는 것을 특징으로 하는 호스트 시스템.
According to claim 2,
The connection direction detector detects the connection direction of the device based on detecting which pin of the CC1 pin and the CC2 pin is connected to a pull-down resistor defined in the USB Type-C interface provided in the device. A host system characterized in that
제2항에 있어서,
상기 호스트 시스템은 상기 CC1 핀 및 상기 CC2 핀에 연결되는 CCIC(Configuration Channel Integrated Circuit)를 구비하고,
상기 연결 방향 감지기는 상기 CCIC 내에 구비되는 것을 특징으로 하는 호스트 시스템.
According to claim 2,
The host system includes a Configuration Channel Integrated Circuit (CCIC) connected to the CC1 pin and the CC2 pin;
The host system, characterized in that the connection direction detector is provided in the CCIC.
제2항에 있어서,
상기 설정 제어기는, 상기 USB Type-C 인터페이스에서 정의되는 Get Descriptor 동작을 통해 상기 디바이스로부터 상기 설정 정보를 수신하는 것을 특징으로 하는 호스트 시스템.
According to claim 2,
The host system, wherein the setting controller receives the setting information from the device through a Get Descriptor operation defined in the USB Type-C interface.
제2항에 있어서,
상기 설정 제어기는, 상기 USB Type-C 인터페이스에서 정의되는 Set Configuration/interface 동작을 통해 상기 디바이스에 대한 환경 설정 동작을 제어하는 것을 특징으로 하는 호스트 시스템.
According to claim 2,
The host system, characterized in that the setting controller controls an environment setting operation for the device through a Set Configuration/interface operation defined in the USB Type-C interface.
제1항에 있어서,
상기 호스트 시스템은, 하나 이상의 컨텐츠 정보들을 저장하는 불휘발성 메모리 장치; 및 외부의 다른 시스템과 무선 통신을 수행하는 통신 모듈을 구비하는 메모리 카드 형태의 상기 디바이스에 연결되고,
상기 방향 정보에 기초하여, 상기 호스트 시스템은 상기 디바이스에 구비되는 상기 통신 모듈을 선택적으로 인에이블시키는 것을 특징으로 하는 호스트 시스템.
According to claim 1,
The host system may include a non-volatile memory device storing one or more pieces of content information; And connected to the device in the form of a memory card having a communication module that performs wireless communication with other external systems,
Based on the direction information, the host system selectively enables the communication module included in the device.
제1항에 있어서,
상기 호스트 시스템은, 하나 이상의 컨텐츠 정보들을 저장하는 불휘발성 메모리 장치; 및 상기 불휘발성 메모리 장치에 대한 억세스 권한을 제어하는 억세스 권한 제어 모듈을 구비하는 메모리 카드 형태의 상기 디바이스에 연결되고,
상기 방향 정보에 기초하여, 상기 호스트 시스템은 상기 불휘발성 메모리 장치에 저장된 상기 컨텐츠 정보들에 대한 억세스 권한을 다르게 설정하는 것을 특징으로 하는 호스트 시스템.
According to claim 1,
The host system may include a non-volatile memory device storing one or more pieces of content information; and an access authority control module for controlling access authority to the nonvolatile memory device.
Based on the direction information, the host system differently sets access rights to the content information stored in the nonvolatile memory device.
제1항에 있어서,
상기 커넥터를 통해 상기 디바이스와 하드웨어적인 통신을 수행하는 호스트 컨트롤러;
상기 디바이스에 접근하는 하나 이상의 소프트웨어들을 포함하고, 상기 디바이스에 대한 특정 설정 또는 기능을 결정하는 어플리케이션; 및
상기 어플리케이션으로부터의 요청 및/또는 데이터를 상기 디바이스에 대응하는 포맷으로 변환하여 상기 호스트 컨트롤러로 제공하는 호스트 드라이버를 더 구비하고,
상기 설정 제어기는 상기 어플리케이션 또는 상기 호스트 드라이버 내에 구비되는 것을 특징으로 하는 호스트 시스템.
According to claim 1,
a host controller performing hardware communication with the device through the connector;
an application comprising one or more pieces of software that accesses the device and determines a particular setting or function for the device; and
a host driver converting a request and/or data from the application into a format corresponding to the device and providing the converted data to the host controller;
The host system, characterized in that the setting controller is included in the application or the host driver.
제9항에 있어서,
상기 방향 정보는 상기 어플리케이션 및 상기 호스트 드라이버 중 적어도 하나에 제공됨에 따라, 상기 디바이스의 상기 기능 모듈의 선택적인 인에이블 제어에 이용되는 것을 특징으로 하는 호스트 시스템.
According to claim 9,
The host system according to claim 1 , wherein the direction information is used to selectively enable control of the functional module of the device as it is provided to at least one of the application and the host driver.
제1항에 있어서,
상기 호스트 시스템은 디스플레이 장치를 포함하는 디지털 TV 를 구비하고,
상기 디바이스에 구비되는 상기 기능 모듈이 통신 모듈에 상응함에 따라, 상기 호스트 시스템은 상기 디바이스가 특정 방향으로 연결된 경우에 상기 디바이스에 구비되는 상기 통신 모듈을 통해 외부의 시스템과 무선 통신을 수행하는 것을 특징으로 하는 호스트 시스템.
According to claim 1,
The host system includes a digital TV including a display device,
As the function module provided in the device corresponds to a communication module, the host system performs wireless communication with an external system through the communication module provided in the device when the device is connected in a specific direction. host system with .
디바이스와 통신하는 호스트 시스템의 동작방법에 있어서, 상기 호스트 시스템은 USB(Universal Serial Bus) Type-C 구조의 커넥터를 구비하고,
상기 커넥터를 통해 연결된 상기 디바이스를 인식하는 단계;
상기 커넥터의 다수의 핀들 중 적어도 하나의 제1 핀으로부터의 신호를 검출함에 의해 상기 디바이스가 상기 호스트 시스템에 연결된 방향을 감지하는 단계;
상기 디바이스에 대한 제1 제어를 통해, 상기 디바이스에서 지원되는 환경 설정에 관련된 설정 정보를 수신하는 단계; 및
상기 디바이스에 대한 제2 제어를 통해, 상기 디바이스에 대한 환경 설정 동작을 제어하는 단계를 구비하고,
상기 제2 제어는 상기 디바이스의 연결 방향을 감지한 결과와 상기 디바이스로부터 수신된 상기 설정 정보에 기초하여 수행되고, 상기 제2 제어에 따라 상기 디바이스에 구비되는 고유한 기능을 갖는 기능 모듈이 선택적으로 인에이블되도록 제어되는 것을 특징으로 하는 호스트 시스템의 동작방법.
A method of operating a host system communicating with a device, the host system having a USB (Universal Serial Bus) Type-C connector,
Recognizing the device connected through the connector;
detecting a direction in which the device is connected to the host system by detecting a signal from a first pin of at least one of a plurality of pins of the connector;
receiving setting information related to environment settings supported by the device through first control of the device; and
Controlling an environment setting operation for the device through a second control for the device;
The second control is performed based on a result of detecting the connection direction of the device and the setting information received from the device, and according to the second control, a function module having a unique function provided in the device is selectively A method of operating a host system, characterized in that it is controlled to be enabled.
제12항에 있어서,
상기 제1 핀은, USB Type-C 인터페이스에서 정의되는 CC(configuration channel)1 핀 및 CC2 핀 중 적어도 하나를 포함하고,
상기 USB Type-C 인터페이스에서 정의되는 풀 다운 저항이 상기 호스트 시스템의 CC1 핀 및 CC2 핀 중 어느 핀에 연결되었는지를 검출함에 기초하여 상기 디바이스의 연결 방향이 감지되는 것을 특징으로 하는 호스트 시스템의 동작방법.
According to claim 12,
The first pin includes at least one of a configuration channel (CC) 1 pin and a CC2 pin defined in a USB Type-C interface,
A method of operating a host system according to claim 1 , wherein a connection direction of the device is detected based on which pin of the CC1 pin and the CC2 pin of the host system is connected to a pull-down resistor defined in the USB Type-C interface. .
제12항에 있어서,
상기 제1 제어는, 상기 USB Type-C 인터페이스에서 정의되는 Get Descriptor 동작을 통해 수행되는 것을 특징으로 하는 호스트 시스템의 동작방법.
According to claim 12,
The method of operating a host system, characterized in that the first control is performed through a Get Descriptor operation defined in the USB Type-C interface.
제12항에 있어서,
상기 제2 제어는, 상기 USB Type-C 인터페이스에서 정의되는 Set Configuration/interface 동작을 통해 수행되는 것을 특징으로 하는 호스트 시스템의 동작방법.
According to claim 12,
The method of operating a host system, characterized in that the second control is performed through a Set Configuration / interface operation defined in the USB Type-C interface.
제12항에 있어서,
상기 호스트 시스템은, 하나 이상의 컨텐츠 정보들을 저장하는 불휘발성 메모리 장치; 및 외부의 다른 시스템과 무선 통신을 수행하는 통신 모듈을 구비하는 메모리 카드 형태의 상기 디바이스에 연결되고,
상기 호스트 시스템은, 상기 디바이스의 연결 방향을 감지한 결과에 기초하여, 상기 디바이스에 구비되는 상기 통신 모듈을 선택적으로 인에이블시키는 것을 특징으로 하는 호스트 시스템의 동작방법.
According to claim 12,
The host system may include a non-volatile memory device storing one or more pieces of content information; And connected to the device in the form of a memory card having a communication module that performs wireless communication with other external systems,
The method of claim 1 , wherein the host system selectively enables the communication module included in the device based on a result of detecting a connection direction of the device.
제12항에 있어서,
상기 호스트 시스템은 소프트웨어 계층에 포함되는 어플리케이션; 및 호스트 드라이버를 더 구비하고,
상기 디바이스의 연결 방향을 감지함에 의해 생성된 방향 정보가 상기 어플리케이션 및 상기 호스트 드라이버 중 적어도 하나로 제공되는 것을 특징으로 하는 호스트 시스템의 동작방법.
According to claim 12,
The host system includes an application included in a software layer; and a host driver;
The method of operating a host system, characterized in that the direction information generated by detecting the connection direction of the device is provided to at least one of the application and the host driver.
호스트 시스템과 USB(Universal Serial Bus) Type-C 인터페이스 표준에 따라 통신하는 USB 디바이스에 있어서,
상기 호스트 시스템과 방향에 무관하게 연결되는 구조를 가지며, 다수의 핀들이 배치되는 커넥터;
하나 이상의 컨텐츠 정보들을 저장하고, 상기 호스트 시스템으로부터의 제1 제어에 기초하여 상기 컨텐츠 정보들을 상기 호스트 시스템으로 제공하는 불휘발성 메모리 장치;
상기 호스트 시스템에 하나 이상의 사용자 환경을 제공하기 위한 기능을 갖는 기능 모듈; 및
상기 호스트 시스템의 제2 제어에 기초하여, 상기 기능 모듈의 인에이블 제어를 포함하는 상기 USB 디바이스의 동작 환경을 설정하는 환경 설정기를 구비하고,
상기 환경 설정기는, 상기 USB 디바이스가 상기 호스트 시스템에 제1 방향으로 연결됨에 따라 상기 제2 제어에 기초하여 상기 기능 모듈을 디스에이블하고, 상기 USB 디바이스가 상기 호스트 시스템에 제2 방향으로 연결됨에 따라 상기 제2 제어에 기초하여 상기 기능 모듈을 인에이블하는 것을 특징으로 하는 USB 디바이스.
In a USB device that communicates with a host system according to a USB (Universal Serial Bus) Type-C interface standard,
a connector having a structure connected to the host system regardless of direction and having a plurality of pins;
a non-volatile memory device for storing one or more pieces of content information and providing the content information to the host system based on a first control from the host system;
a function module having a function for providing one or more user environments to the host system; and
an environment setter configured to set an operating environment of the USB device including control of enable of the function module based on a second control of the host system;
The environment setter disables the function module based on the second control as the USB device is connected to the host system in a first direction, and the USB device is connected to the host system in a second direction. and enabling the function module based on the second control.
제18항에 있어서,
상기 제2 제어는, 상기 USB Type-C 인터페이스에서 정의되는 Set Configuration/interface 동작을 포함하는 것을 특징으로 하는 USB 디바이스.
According to claim 18,
The second control includes a Set Configuration/interface operation defined in the USB Type-C interface.
제18항에 있어서,
상기 기능 모듈은, 상기 호스트 시스템 이외의 다른 시스템과의 무선 통신을 지원하는 통신 모듈을 포함하고,
상기 기능 모듈이 인에이블됨에 따라, 상기 USB 디바이스는 상기 호스트 시스템과 상기 다른 시스템 사이의 무선 통신을 제공하는 것을 특징으로 하는 USB 디바이스.
According to claim 18,
The function module includes a communication module supporting wireless communication with other systems other than the host system,
When the function module is enabled, the USB device provides wireless communication between the host system and the other system.
KR1020220040460A 2021-06-14 2022-03-31 Host system and Device performing environment setting based on connector connection direction and Operating Method of host system KR20220167747A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP22176402.0A EP4105786B1 (en) 2021-06-14 2022-05-31 Host system and device for performing environment setting based on connection direction of connector and operating method of host system
US17/836,829 US20220398205A1 (en) 2021-06-14 2022-06-09 Host system and device for performing environment setting based on connection direction of connector and operating method of host system
TW111121710A TW202301139A (en) 2021-06-14 2022-06-10 Host system and operating method thereof, and universal serial bus device
CN202210668209.XA CN115481064A (en) 2021-06-14 2022-06-14 Host system and device, and operation method of host system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210076992 2021-06-14
KR1020210076992 2021-06-14

Publications (1)

Publication Number Publication Date
KR20220167747A true KR20220167747A (en) 2022-12-21

Family

ID=84536817

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220040460A KR20220167747A (en) 2021-06-14 2022-03-31 Host system and Device performing environment setting based on connector connection direction and Operating Method of host system

Country Status (1)

Country Link
KR (1) KR20220167747A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102660882B1 (en) * 2023-12-01 2024-04-25 주식회사 테스트웍스 A Method for testing hardware connection of embedded devices and computing devices performing the same method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102660882B1 (en) * 2023-12-01 2024-04-25 주식회사 테스트웍스 A Method for testing hardware connection of embedded devices and computing devices performing the same method

Similar Documents

Publication Publication Date Title
US9529541B2 (en) Nonvolatile storage device and operating system (OS) image program method thereof
KR102020466B1 (en) Data storage device including a buffer memory device
TWI546672B (en) Common die implementation for low power memory devices
JP2017153117A (en) Encryption transport solid-state disk controller
KR20170105760A (en) Data storage device and operating method thereof
KR20060119989A (en) Device for secure access to digital media contents, virtual multi-interface driver and system for secure access to digital media contents
CN114625683A (en) Encoded on-die termination for efficient multi-package termination
US20190227884A1 (en) Data loss prevention for integrated memory buffer of a self encrypting drive
KR20200093362A (en) Memory system and operating method thereof
JP5037734B2 (en) Data protection method and system, storage device, and storage device controller
TW202046122A (en) Method for performing detect control of write protection command of memory device, associated control chip and associated electronic device
KR20160105625A (en) Data storage device and operating method thereof
TWM584452U (en) Integrated electronic apparatus for data access, data transmission and power management
KR20220167747A (en) Host system and Device performing environment setting based on connector connection direction and Operating Method of host system
CN112951298A (en) System and method for reducing stable threshold Voltage (VT) read disturb degradation
EP4383059A1 (en) Data storage method and device for data storage
US20080282092A1 (en) Card reading apparatus with integrated identification function
EP4105786B1 (en) Host system and device for performing environment setting based on connection direction of connector and operating method of host system
US8713227B2 (en) Accessing device via communication protocol selection
JP6693417B2 (en) Reader / writer device, information processing device, data transfer control method, and program
US20240220667A1 (en) Storage device and computing device including the same
TWI728363B (en) Integrated electronic apparatus for data access, data transmission and power management and method thereof
KR100856811B1 (en) Universal Serial Bus Interface apparatus