KR20220142202A - Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof - Google Patents

Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof Download PDF

Info

Publication number
KR20220142202A
KR20220142202A KR1020210048652A KR20210048652A KR20220142202A KR 20220142202 A KR20220142202 A KR 20220142202A KR 1020210048652 A KR1020210048652 A KR 1020210048652A KR 20210048652 A KR20210048652 A KR 20210048652A KR 20220142202 A KR20220142202 A KR 20220142202A
Authority
KR
South Korea
Prior art keywords
electronic device
connection terminal
connection
control mode
connection terminals
Prior art date
Application number
KR1020210048652A
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 KR1020210048652A priority Critical patent/KR20220142202A/en
Priority to PCT/KR2022/005295 priority patent/WO2022220551A1/en
Publication of KR20220142202A publication Critical patent/KR20220142202A/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
    • 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
    • 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/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • 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
    • 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]

Abstract

A first electronic device according to one embodiment of the present disclosure comprises: a first connection terminal connectable to an external electronic device; a memory including a service driver providing a control mode; and a processor connected to the first connection terminal and the memory. The processor is configured to set the first connection terminal to a host mode when the control mode is selected by a user, store a port number of the first connection terminal in the memory, transmit a control mode request to a second electronic device connected to the first connection terminal, request information on a plurality of connection terminals included in the second electronic device from the second electronic device upon receiving a response to the control mode request, allocate a port number to each of the plurality of connection terminals included in the second electronic device upon obtaining the information on the plurality of connection terminals, store port numbers allocated to the second electronic device in the memory, and transmit the port numbers allocated to the second electronic device to the second electronic device. Accordingly, a host electronic device can control various electronic devices connected to a connection terminal of a client electronic device.

Description

USB 타입 C 연결 단자를 사용한 다중 연결 제어 방법을 제공하는 전자 장치 및 그의 동작 방법{ELECTRONIC DEVICE PROVIDING METHOD OF MULTI-CONNECTION CONTOL BY USING USB TYPE-C CONNECTING TERMINAL AND METHOD OF OPERATION THEROF}ELECTRONIC DEVICE PROVIDING METHOD OF MULTI-CONNECTION CONTOL BY USING USB TYPE-C CONNECTING TERMINAL AND METHOD OF OPERATION THEROF

본 문서의 다양한 실시 예는 USB 타입 C 연결 단자를 포함하는 전자 장치 및 그의 동작 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device including a USB type-C connection terminal and an operating method thereof.

제1 전자 장치와 제2 전자 장치가 USB 타입 C 연결 단자를 통하여 USB 타입 C 표준 케이블로 서로 연결되는 경우, 제1 전자 장치와 제2 전자 장치는 CCIC 칩의 USB type-C configuration channel (CC) 채널을 통하여 USB 타입 C 표준에서 정해진 대로 상호 통신을 수행할 수 있다. 제1 전자 장치가 호스트(host)로 동작하면 제2 전자 장치가 클라이언트(client)로 동작할 수 있으며, 이때, 제2 전자 장치의 USB 타입 C 연결 단자에 연결된 제3 전자 장치가 존재하는 경우 제1 전자 장치는 제3 전자 장치를 직접 제어가 불가능할 수 있다.When the first electronic device and the second electronic device are connected to each other by a USB type C standard cable through the USB type C connection terminal, the first electronic device and the second electronic device are connected to the USB type-C configuration channel (CC) of the CCIC chip. Through the channel, communication can be performed as defined in the USB Type-C standard. When the first electronic device operates as a host, the second electronic device may operate as a client, and in this case, when a third electronic device connected to the USB Type C connection terminal of the second electronic device exists The first electronic device may not be able to directly control the third electronic device.

USB 타입 C 연결 단자를 가지고 있는 전자 장치들이 복수 대가 있고 각 전자 장치들이 서로 USB 타입 C 케이블로 연결되어 있다고 할 때, 그 중 특정 전자 장치에서 타 전자 장치에 연결된 다양한 장치를 제어하여 직접 이용하는 방법이 필요할 수 있다. Assuming that there are multiple electronic devices having a USB Type-C connection terminal and each electronic device is connected to each other with a USB Type-C cable, a method of directly using a specific electronic device to control various devices connected to other electronic devices may be needed

본 개시의 다양한 실시예에 따른 전자 장치는, 복수의 전자 장치가 USB 타입 C 연결 단자로 서로 연결되어 있을 때, 호스트 전자 장치가 클라이언트 전자 장치의 연결 단자에 연결된 다양한 전자 장치들을 제어하는 방법을 제공하고자 한다. An electronic device according to various embodiments of the present disclosure provides a method for a host electronic device to control various electronic devices connected to a connection terminal of a client electronic device when a plurality of electronic devices are connected to each other through a USB Type-C connection terminal want to

본 개시의 일 실시예에 따른 제1 전자 장치는, 외부 전자 장치와 연결 가능한 제1 연결 단자, 제어 모드를 제공하는 서비스 드라이버를 포함하는 메모리, 및 상기 제1 연결 단자 및 상기 메모리와 연결된 프로세서를 포함하며, 상기 프로세서는, 사용자에 의해 제어 모드가 선택됨에 따라 상기 제1 연결 단자를 호스트(host) 모드로 설정하며, 상기 제1 연결 단자의 포트 번호를 상기 메모리에 저장하고, 상기 제1 연결 단자에 연결된 제2 전자 장치에게 제어 모드 요청을 전송하며, 상기 제어 모드 요청에 대한 응답을 수신 함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들에 대한 정보를 상기 제2 전자 장치에게 요청하고, 상기 복수의 연결 단자들에 대한 정보를 획득함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들 각각에 대해 포트 번호를 할당하며,상기 제2 전자 장치에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 제2 전자 장치에게 전송하도록 구성될 수 있다. A first electronic device according to an embodiment of the present disclosure includes a memory including a first connection terminal connectable to an external electronic device, a service driver providing a control mode, and a processor connected to the first connection terminal and the memory. wherein the processor sets the first connection terminal to a host mode as a control mode is selected by the user, stores the port number of the first connection terminal in the memory, and the first connection Transmits a control mode request to the second electronic device connected to the terminal, and when a response to the control mode request is received, information on a plurality of connection terminals included in the second electronic device is provided to the second electronic device Upon request and obtaining information on the plurality of connection terminals, a port number is allocated to each of the plurality of connection terminals included in the second electronic device, and the port numbers allocated to the second electronic device are assigned to each other. and store in the memory and transmit port numbers assigned to the second electronic device to the second electronic device.

본 개시의 일 실시예에 따른 제1 전자 장치의 동작 방법은, 사용자에 의해 제어 모드가 선택됨에 따라 상기 제1 전자 장치? 제1 연결 단자를 호스트(host) 모드로 설정하며, 상기 제1 연결 단자의 포트 번호를 상기 제1 전자 장치의 메모리에 저장하고, 상기 제1 연결 단자에 연결된 제2 전자 장치에게 제어 모드 요청을 전송하며, 상기 제어 모드 요청에 대한 응답을 수신 함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들에 대한 정보를 상기 제2 전자 장치에게 요청하고, 상기 복수의 연결 단자들에 대한 정보를 획득함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들 각각에 대해 포트 번호를 할당하며, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 제2 전자 장치에게 전송할 수 있다.A method of operating a first electronic device according to an embodiment of the present disclosure may include, when a control mode is selected by a user, the first electronic device? sets the first connection terminal to a host mode, stores the port number of the first connection terminal in the memory of the first electronic device, and sends a control mode request to the second electronic device connected to the first connection terminal and when a response to the control mode request is received, the second electronic device requests information on a plurality of connection terminals included in the second electronic device, and information on the plurality of connection terminals is obtained, a port number is assigned to each of the plurality of connection terminals included in the second electronic device, the port numbers assigned to the second electronic device are stored in the memory, and the second electronic device is sent to the second electronic device. The assigned port numbers may be transmitted to the second electronic device.

본 개시의 다양한 실시에에 따른 전자 장치에 의하면 제어 모드를 지원하는 복수의 전자 장치가 USB 타입 C 연결 단자로 서로 연결되어 있을 때, 호스트 전자 장치가 클라이언트 전자 장치의 연결 단자에 연결된 다양한 전자 장치들을 제어할 수 있다.According to the electronic device according to various embodiments of the present disclosure, when a plurality of electronic devices supporting a control mode are connected to each other through a USB Type-C connection terminal, the host electronic device connects various electronic devices connected to the connection terminal of the client electronic device. can be controlled

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은, 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 일 실시예에 따른 전자 장치들의 연결 상태를 나타낸 도면이다.
도 3은 일 실시예에 따른 제1 전자 장치의 동작을 나타낸 순서도이다.
도 4는, 일 실시예에 따른 제2 전자 장치의 동작을 나타낸 순서도이다.
도 5는 일 실시예에 따른 제1 전자 장치의 동작을 나타낸 순서도이다.
도 6은 일 실시예에 따른 제2 전자 장치의 동작을 나타낸 순서도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
2 is a diagram illustrating a connection state of electronic devices according to an exemplary embodiment.
3 is a flowchart illustrating an operation of a first electronic device according to an exemplary embodiment.
4 is a flowchart illustrating an operation of a second electronic device according to an exemplary embodiment.
5 is a flowchart illustrating an operation of a first electronic device according to an exemplary embodiment.
6 is a flowchart illustrating an operation of a second electronic device according to an exemplary embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 . In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190 ). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C," each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of the one or more instructions stored from the storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. , or one or more other operations may be added.

이하, 도 2 및 도 3을 참조하여 본 개시의 일 실시예에 따른 전자 장치에 대하여 설명한다.Hereinafter, an electronic device according to an embodiment of the present disclosure will be described with reference to FIGS. 2 and 3 .

도 2는 일 실시예에 따른 전자 장치들의 연결 상태를 나타낸 도면이다. 도 3은 일 실시예에 따른 제1 전자 장치의 동작을 나타낸 순서도이다. 일 실시예에 따른 도 2의 제1 전자 장치(210), 제2 전자 장치(220), 제3 전자 장치(230) 각각의 구성은 도 1의 전자 장치(101)의 구성에 대응될 수 있다.2 is a diagram illustrating a connection state of electronic devices according to an exemplary embodiment. 3 is a flowchart illustrating an operation of a first electronic device according to an exemplary embodiment. Each configuration of the first electronic device 210 , the second electronic device 220 , and the third electronic device 230 of FIG. 2 according to an embodiment may correspond to the configuration of the electronic device 101 of FIG. 1 . .

먼저 도 2를 참조하면, 일 실시 예에 따른 제1 전자 장치(210)은 적어도 하나의 연결 단자(211, 212)(예: 도 1의 연결 단자(178))를 포함할 수 있다. 일 실시예에 따라 제1 전자 장치(210)은 제1 연결 단자(211) 및 제2 연결 단자(212)를 포함할 수 있다. 그러나 이는 일 예시에 불과하며 제1 전자 장치(210)는 적어도 하나의 연결 단자를 포함하면 족하다. 일 실시예에 따라 제1 연결 단자(211) 및 제2 연결 단자(212)는 케이블(cable) 기반의 유선 방식으로 데이터를 주고받을 수 있는 인터페이스로서 USB 타입 C(Type-C) 인터페이스일 수 있다. 제1 전자 장치(210)는 제2 연결 단자(212)를 통하여 제2 전자 장치(220)의 제3 연결 단자(221)과 유선으로 연결되어 있을 수 있다.First, referring to FIG. 2 , the first electronic device 210 according to an embodiment may include at least one connection terminal 211 and 212 (eg, the connection terminal 178 of FIG. 1 ). According to an embodiment, the first electronic device 210 may include a first connection terminal 211 and a second connection terminal 212 . However, this is only an example, and it is sufficient that the first electronic device 210 includes at least one connection terminal. According to an embodiment, the first connection terminal 211 and the second connection terminal 212 may be a USB Type-C (USB Type-C) interface as an interface capable of exchanging data in a cable-based wired manner. . The first electronic device 210 may be connected to the third connection terminal 221 of the second electronic device 220 by wire through the second connection terminal 212 .

일 실시예에 따라 제1 전자 장치(210)은 제1 서비스 앱(214), 제1 서비스 드라이버(215), 제1 PDIC(power delivery integrated circuit)(216), 제1 스위치(217)을 포함할 수 있다. 일 실시예에 따라 도 2의 점선 블록은 소프트웨어 구성을 의미할 수 있다. 예를 들어 도 2의 점선 블록 구성은 도 1의 프로그램(140)에 포함될 수 있고, 점선 블록의 동작은 도 1의 프로세서(120)에 의해 수행될 수 있다. According to an embodiment, the first electronic device 210 includes a first service app 214 , a first service driver 215 , a first power delivery integrated circuit (PDIC) 216 , and a first switch 217 . can do. According to an embodiment, a dotted line block in FIG. 2 may mean a software configuration. For example, the dotted line block configuration of FIG. 2 may be included in the program 140 of FIG. 1 , and the operation of the dotted line block may be performed by the processor 120 of FIG. 1 .

일 실시예에 따라 제1 서비스 앱(214)는 제어 모드를 제공하는 어플리케이션(application)일 수 있다. 일 실시예에 따라, 제어 모드란 전자 장치가 자신에게 유선을 통하여 직접적 또는 간접적으로 연결된 다른 전자 장치를 제어 가능하도록 제어하는 모드일 수 있다. 일 실시예에 따라 간접적으로 연결된 상태라 함은 중간에 적어도 하나의 다른 전자 장치를 통하여 2개의 전자 장치가 서로 연결된 상태를 의미할 수 있다. 일 실시예에 따라 제1 서비스 앱(214)는 사용자에게 제어 모드의 실행을 위한 사용자 인터페이스, 연결 단자의 선택을 위한 인터페이스를 제공할 수 있다. 일 실시예에 따라 제1 서비스 앱(214)는 제1 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장되어 있을 수 있다.According to an embodiment, the first service app 214 may be an application that provides a control mode. According to an embodiment, the control mode may be a mode in which the electronic device can control another electronic device directly or indirectly connected to the electronic device through a wire. According to an embodiment, the indirectly connected state may mean a state in which two electronic devices are connected to each other through at least one other electronic device in the middle. According to an embodiment, the first service app 214 may provide a user interface for executing a control mode and an interface for selecting a connection terminal to the user. According to an embodiment, the first service app 214 may be stored in the memory of the first electronic device 210 (eg, the memory 130 of FIG. 1 ).

일 실시예에 따라 제1 서비스 드라이버(215)는 제1 PDIC(216)를 제어하며, 제1 스위치(217)를 제어하여 제1 전자 장치(210)에 포함된 연결 단자들 간에 데이터 라인(data line) 및/또는 cc 라인(configuration channel line)을 연결할 수 있다. 일 실시예에 따라 제1 서비스 드라이버(215)는 제1 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장되어 있을 수 있다.According to an embodiment, the first service driver 215 controls the first PDIC 216 , and controls the first switch 217 to provide a data line between connection terminals included in the first electronic device 210 . line) and/or a cc line (configuration channel line) may be connected. According to an embodiment, the first service driver 215 may be stored in the memory of the first electronic device 210 (eg, the memory 130 of FIG. 1 ).

일 실시예에 따라 제1 PDIC(216)는 제1 전자 장치(210)에 포함된 적어도 하나의 연결 단자를 제어할 수 있다. 일 실시예에 따라 제1 PDIC(216)의 동작은 제1 전자 장치(210)이 포함하고 있는 구성에 따라 CCIC(configuration channel integrated circuit) 또는 AP(application processor)(예: 도 1의 프로세서(120))에 의해 수행될 수도 있다. 일 실시예에 따라 PDIC 및 CCIC은 각각 해당 칩셋에 별도의 메모리를 포함하고 있을 수 있다.According to an embodiment, the first PDIC 216 may control at least one connection terminal included in the first electronic device 210 . According to an embodiment, the operation of the first PDIC 216 is performed by a configuration channel integrated circuit (CCIC) or an application processor (AP) (eg, the processor 120 of FIG. 1 ) according to a configuration included in the first electronic device 210 . )) can also be performed by According to an embodiment, each of the PDIC and the CCIC may include a separate memory in a corresponding chipset.

일 실시예에 따라 제1 스위치(217)는 제어 모드에서 제1 전자 장치(210)에 포함된 연결 단자들 간에 데이터 라인(data line) 및/ 또는 cc 라인(configuration channel line)을 연결할 수 있다. 실시예에 따라 제1 스위치(217)는 제1 연결 단자(211)와 제2 연결 단자(212) 간에 USB 라인을 모두 연결할 수도 있고, 제1 연결 단자(211)와 제2 연결 단자(212) 간에 데이터 라인만 연결할 수도 있다.According to an embodiment, the first switch 217 may connect a data line and/or a configuration channel line between connection terminals included in the first electronic device 210 in the control mode. According to an embodiment, the first switch 217 may connect all of the USB lines between the first connection terminal 211 and the second connection terminal 212 , and the first connection terminal 211 and the second connection terminal 212 . It is also possible to connect only data lines between them.

일 실시 예에 따른 제2 전자 장치(220)은 적어도 하나의 연결 단자(221, 222, 223)(예: 도 1의 연결 단자(178))를 포함할 수 있다. 일 실시예에 따라 제2 전자 장치(220)은 제3 연결 단자(221), 제4 연결 단자(222), 및 제5 연결 단자(223)를 포함할 수 있다. 그러나 이는 일 예시에 불과하며 제2 전자 장치(220)는 적어도 하나의 연결 단자를 포함하면 족하다. 일 실시예에 따라 제3 연결 단자(221), 제4 연결 단자(222) 및 제5 연결 단자(223)는 케이블(cable) 기반의 유선 방식으로 데이터를 주고받을 수 있는 인터페이스로서 USB 타입 C(Type-C) 인터페이스일 수 있다. 제2 전자 장치(220)는 제4 연결 단자(222)를 통하여 제4 전자 장치(240)과 유선으로 연결되어 있을 수 있다. 일 실시예에 따라 제4 전자 장치(240)는 디스플레이 장치일 수 있다. 또한, 제2 전자 장치(220)는 제5 연결 단자(223)을 통하여 제3 전자 장치(230)의 제6 연결 단자(231)과 유선으로 연결되어 있을 수 있다. The second electronic device 220 according to an embodiment may include at least one connection terminal 221 , 222 , 223 (eg, the connection terminal 178 of FIG. 1 ). According to an embodiment, the second electronic device 220 may include a third connection terminal 221 , a fourth connection terminal 222 , and a fifth connection terminal 223 . However, this is only an example, and it is sufficient that the second electronic device 220 includes at least one connection terminal. According to an embodiment, the third connection terminal 221 , the fourth connection terminal 222 , and the fifth connection terminal 223 are an interface capable of exchanging data in a cable-based wired manner, and include a USB Type C ( Type-C) interface. The second electronic device 220 may be connected to the fourth electronic device 240 by wire through the fourth connection terminal 222 . According to an embodiment, the fourth electronic device 240 may be a display device. Also, the second electronic device 220 may be connected to the sixth connection terminal 231 of the third electronic device 230 through a wire through the fifth connection terminal 223 .

일 실시예에 따라 제2 전자 장치(220)은 제2 서비스 앱(224), 제2 서비스 드라이버(225), 제2 PDIC(power delivery integrated circuit)(226), 제2 스위치(227)을 포함할 수 있다. 일 실시예에 따라 제2 서비스 앱(224), 제2 서비스 드라이버(225), 제2 PDIC(power delivery integrated circuit)(226), 및 제2 스위치(227)에 대한 설명은 앞서 설명한 제1 서비스 앱(214), 제1 서비스 드라이버(215), 제1 PDIC(power delivery integrated circuit)(216), 및 제1 스위치(217)에 대한 설명과 동일할 수 있다.According to an embodiment, the second electronic device 220 includes a second service app 224 , a second service driver 225 , a second power delivery integrated circuit (PDIC) 226 , and a second switch 227 . can do. The description of the second service app 224 , the second service driver 225 , the second power delivery integrated circuit (PDIC) 226 , and the second switch 227 according to an embodiment is the above-described first service The description of the app 214 , the first service driver 215 , the first power delivery integrated circuit (PDIC) 216 , and the first switch 217 may be the same.

일 실시 예에 따른 제3 전자 장치(230)은 적어도 하나의 연결 단자(231, 232, 233)(예: 도 1의 연결 단자(178))를 포함할 수 있다. 일 실시예에 따라 제3 전자 장치(230)은 제6 연결 단자(231), 제7 연결 단자(232), 및 제8 연결 단자(233)를 포함할 수 있다. 그러나 이는 일 예시에 불과하며 제3 전자 장치(230)는 적어도 하나의 연결 단자를 포함하면 족하다. 일 실시예에 따라 제6 연결 단자(231), 제7 연결 단자(232) 및 제8 연결 단자(233)는 케이블(cable) 기반의 유선 방식으로 데이터를 주고받을 수 있는 인터페이스로서 USB 타입 C(Type-C) 인터페이스일 수 있다. 제3 전자 장치(230)는 제7 연결 단자(232)를 통하여 제5 전자 장치(250)과 유선으로 연결되어 있을 수 있다. 일 실시예에 따라 제5 전자 장치(250)은 USB 장치일 수 있다. 또한, 제3 전자 장치(230)는 제6 연결 단자(233)을 통하여 제2 전자 장치(220)의 제5 연결 단자(223)과 유선으로 연결되어 있을 수 있다. The third electronic device 230 according to an embodiment may include at least one connection terminal 231 , 232 , 233 (eg, the connection terminal 178 of FIG. 1 ). According to an embodiment, the third electronic device 230 may include a sixth connection terminal 231 , a seventh connection terminal 232 , and an eighth connection terminal 233 . However, this is only an example, and it is sufficient that the third electronic device 230 includes at least one connection terminal. According to an embodiment, the sixth connection terminal 231 , the seventh connection terminal 232 , and the eighth connection terminal 233 are an interface capable of exchanging data in a cable-based wired manner and include a USB Type C ( Type-C) interface. The third electronic device 230 may be connected to the fifth electronic device 250 by wire through the seventh connection terminal 232 . According to an embodiment, the fifth electronic device 250 may be a USB device. Also, the third electronic device 230 may be connected to the fifth connection terminal 223 of the second electronic device 220 via a wire through the sixth connection terminal 233 .

일 실시예에 따라 제3 전자 장치(230)은 제3 서비스 앱(234), 제3 서비스 드라이버(235), 제3 PDIC(power delivery integrated circuit)(236), 제3 스위치(237)을 포함할 수 있다. 일 실시예에 따라 제3 서비스 앱(234), 제3 서비스 드라이버(235), 제3 PDIC(power delivery integrated circuit)(236), 및 제3 스위치(237)에 대한 설명은 앞서 설명한 제1 서비스 앱(214), 제1 서비스 드라이버(215), 제1 PDIC(power delivery integrated circuit)(216), 및 제1 스위치(217)에 대한 설명과 동일할 수 있다.According to an embodiment, the third electronic device 230 includes a third service app 234 , a third service driver 235 , a third power delivery integrated circuit (PDIC) 236 , and a third switch 237 . can do. According to an embodiment, the description of the third service app 234 , the third service driver 235 , the third power delivery integrated circuit (PDIC) 236 , and the third switch 237 is the first service described above. The description of the app 214 , the first service driver 215 , the first power delivery integrated circuit (PDIC) 216 , and the first switch 217 may be the same.

이하, 도 3을 더 참조하여 제1 전자 장치(210)의 동작에 대하여 설명한다. 도 3의 동작들은 제1 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장된, 제어 모드를 지원하는 제1 서비스 드라이버(service driver)(215)를 통하여 수행될 수 있다.Hereinafter, an operation of the first electronic device 210 will be described with further reference to FIG. 3 . The operations of FIG. 3 may be performed through a first service driver 215 supporting a control mode stored in a memory (eg, the memory 130 of FIG. 1 ) of the first electronic device 210 . .

도 2 및 도 3을 참조하면, 동작 301에서, 제1 전자 장치(210)에서 사용자에 의에 제어 모드가 선택될 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 앱(214)는 사용자에게 제어 모드의 실행을 위한 사용자 인터페이스를 제공할 수 있고, 사용자 인터페이스를 통하여 사용자의 제어 모드 선택 입력이 수신될 수 있다.2 and 3 , in operation 301 , a control mode may be selected by the user in the first electronic device 210 . According to an embodiment, the first service app 214 of the first electronic device 210 may provide a user interface for executing the control mode to the user, and the user's control mode selection input may be received through the user interface. can

USB 타입 C 표준에 의하면, 제1 전자 장치(210)에서 제어 모드가 선택되지 않은 상태에서는, 제1 전자 장치(210)의 USB 타입 C의 제1 연결 단자(212)와 제2 전자 장치(220)의 USB 타입 C의 제2 연력 단자가 USB 타입 C 표준을 만족하는 케이블로 연결되는 경우, 호스트(host)와 클라이언트(client)가 제1 전자 장치(210)와 제2 전자 장치(220)에게 랜덤하게 설정될 수 있다. USB 타입 C 표준에 의하면, USB 타입 C 연결 단자들을 통하여 2개의 전자 장치가 서로 연결이 되면, 반드시 하나의 전자 장치는 UFP(upstream facing port)로, 다른 전자 장치는 DFP(downstream facing port)로 설정된다. 전자 장치가 UFP로 설정되는 경우 호스트(host)로 동작하고, DFP로 설정되면 클라이언트(client)로 동작할 수 있다. According to the USB Type-C standard, when the control mode is not selected in the first electronic device 210 , the USB Type-C first connection terminal 212 and the second electronic device 220 of the first electronic device 210 are ), when the second connection terminal of the USB type C is connected with a cable that satisfies the USB type C standard, the host and the client give the first electronic device 210 and the second electronic device 220 . It can be set randomly. According to the USB Type-C standard, when two electronic devices are connected to each other through USB Type-C connectors, one electronic device must be set as the UFP (upstream facing port) and the other electronic device as the DFP (downstream facing port). do. If the electronic device is set to UFP, it may operate as a host, and if it is set to DFP, it may operate as a client.

일 실시예에 따라 일 전자 장치에서 제어 모드가 선택될 시, 연결된 전자 장치 간 연결 단자의 설정은 재정렬될 수 있다. 일 실시예에 따라 동작 301에서, 제1 전자 장치(210)에서 제어 모드가 선택되는 경우 제1 전자 장치(210)가 호스트(host) 장치가 되고 제1 전자 장치(210)의 모든 연결 단자(211, 212)가 호스트 모드로 설정될 수 있다. 일 실시예에 따라 제1 전자 장치(210)에서 제어 모드가 선택되는 경우 제1 전자 장치(210)는 USB 타입 C 표준에 의거하여 듀얼 롤 스왑(dual Role swap)에 의해 호스트 모드로 변경할 수 있다. 또는 제1 전자 장치(210)의 제2 연결 단자(212)가 듀얼 롤 스왑을 지원하지 않는 경우 제2 연결 단자(212)의 케이블을 분리 후 재 연결하여 제2 연결 단자(212)를 호스트 모드로 변경할 수 있다.According to an embodiment, when a control mode is selected in one electronic device, settings of connection terminals between the connected electronic devices may be rearranged. According to an embodiment, in operation 301 , when the control mode is selected in the first electronic device 210 , the first electronic device 210 becomes a host device and all connection terminals ( 211 and 212 may be set as the host mode. According to an embodiment, when the control mode is selected in the first electronic device 210 , the first electronic device 210 may change to the host mode by dual role swap based on the USB Type-C standard. . Alternatively, if the second connection terminal 212 of the first electronic device 210 does not support dual roll swap, disconnect and reconnect the cable of the second connection terminal 212 to set the second connection terminal 212 in the host mode. can be changed to

동작 303에서, 제1 전자 장치(210)의 프로세서(예: 도 1의 프로세서(120))는 제1 서비스 드라이버(215)의 데이터 베이스를 업데이트 할 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)의 데이터 베이스는 [표 1]과 같은 구조를 가질 수 있다.In operation 303 , the processor of the first electronic device 210 (eg, the processor 120 of FIG. 1 ) may update the database of the first service driver 215 . According to an embodiment, the database of the first service driver 215 of the first electronic device 210 may have a structure as shown in [Table 1].

Figure pat00001
Figure pat00001

일 실시예에 따라 데이터 베이스는 제1 전자 장치(210)의 메인 메모리(예: 도 1의 메모리(130))에 위치할 수도 있고, PDIC 또는 CCIC의 별도의 칩셋 포함되는 메모리에 위치할 수도 있다.According to an embodiment, the database may be located in the main memory of the first electronic device 210 (eg, the memory 130 of FIG. 1 ) or may be located in a memory included in a separate chipset of the PDIC or CCIC. .

일 실시예에 따라 제1 서비스 드라이버(215)의 데이터 베이스의 첫번째 블록에는 노드 번호가 저장될 수 있다. 호스트 전자 장치인 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제1 전자 장치(210)를 노드 번호 1번으로 지정하고 제1 서비스 드라이버(215)의 데이터 베이스의 첫번째 블록에 노드 번호 1로 업데이트 할 수 있다. 호스트 전자 장치의 노드 번호는 항상 1이며, 이후 연결되는 전자 장치들은 순서에 따라 2부터 차례로 숫자가 증가한 번호를 할당받게될 수 있다.According to an embodiment, the node number may be stored in the first block of the database of the first service driver 215 . The first service driver 215 of the first electronic device 210, which is the host electronic device, designates the first electronic device 210 as node number 1, and is a node in the first block of the database of the first service driver 215. You can update to number 1. The node number of the host electronic device is always 1, and the electronic devices connected thereafter may be assigned a number that increases from 2 in order.

일 실시예에 따라 제1 서비스 드라이버(215)의 데이터 베이스의 두번째 블록에는 제1 전자 장치(210)의 기본 정보가 저장될 수 있다. 일 실시예에 따라 제1 서비스 드라이버(215)의 데이터 베이스의 두번째 블록에 저장되는 장치 정보의 예시는 [표 2]와 같을 수 있다. 그러나 이는 일 예시에 불과하다.According to an embodiment, basic information of the first electronic device 210 may be stored in a second block of the database of the first service driver 215 . According to an embodiment, an example of device information stored in the second block of the database of the first service driver 215 may be shown in [Table 2]. However, this is only an example.

Figure pat00002
Figure pat00002

일 실시예에 따라 제1 서비스 드라이버(215)의 데이터 베이스의 세번째 블록부터는 제1 전자 장치(210)의 연결 단자에 대한 정보가 연결 단자의 수만큼 저장될 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제1 연결 단자(211)의 포트 번호를 1로 지정하고 데이터 베이스의 세번째 블록에 포트 번호를 업데이트할 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제2 연결 단자(212)의 포트 번호를 2로 지정하고 데이터 베이스의 네번째 블록에 포트 번호를 업데이트할 수 있다. 일 실시예에 따라 제1 전자 장치(201)의 제1 서비스 드라이버(215)는 데이터 베이스에 각 연결 단자의 상황에 대응되는 데이터를 업데이트할 수 있다. 예를 들어 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 데이터 베이스에 연결 단자의 종류, 지원 가능한 장치, 지원 규격(예: USB2.0, USB3.0 등), DP(display port)지원 여부, 연결 단자가 사용 중인지 여부 중 적어도 하나의 정보를 업데이트할 수 있다.According to an embodiment, from the third block of the database of the first service driver 215 , information on the connection terminals of the first electronic device 210 may be stored as many as the number of connection terminals. According to an embodiment, the first service driver 215 of the first electronic device 210 may designate the port number of the first connection terminal 211 as 1 and update the port number in the third block of the database. According to an embodiment, the first service driver 215 of the first electronic device 210 may designate the port number of the second connection terminal 212 as 2 and update the port number in the fourth block of the database. According to an embodiment, the first service driver 215 of the first electronic device 201 may update data corresponding to the status of each connection terminal in the database. For example, the first service driver 215 of the first electronic device 210 may include a type of connection terminal in the database, a supportable device, a supported standard (eg, USB2.0, USB3.0, etc.), a display port (DP). ) support or whether the connection terminal is in use, at least one of information may be updated.

일 실시예에 따라 제1 전자 장치(201)의 연결 단자가 3 개 이상 존재하는 경우 [표 1]의 다섯번째 블록부터 차례대로 각 연결 단자의 부여된 포트 번호 및 연결 단자의 정보가 저장될 수 있다.According to an embodiment, when three or more connection terminals of the first electronic device 201 exist, the port number assigned to each connection terminal and information on the connection terminal may be stored sequentially from the fifth block of [Table 1]. have.

동작 305에서, 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제2 전자 장치(220)에게 제어 모드 요청을 전송할 수 있다. 제2 전자 장치(220)는 제어 모드를 지원하는 경우 요청에 대한 수락 응답을 제1 전자 장치(210)에게 전송할 수 있다. 제2 전자 장치(220)가 제어 모드 요청에 대한 수락 응답을 제1 전자 장치(210)에게 전송함에 따라 제2 전자 장치(220)의 제2 서비스 드라이버가 동작을 시작할 수 있다. In operation 305 , the first service driver 215 of the first electronic device 210 may transmit a control mode request to the second electronic device 220 . When the second electronic device 220 supports the control mode, the second electronic device 220 may transmit an acceptance response to the request to the first electronic device 210 . As the second electronic device 220 transmits an acceptance response to the control mode request to the first electronic device 210 , the second service driver of the second electronic device 220 may start an operation.

동작 307에서 제1 전자 장치(210)는 제2 전자 장치(220)로부터 수락 응답이 수신되었는지 판단할 수 있다. 동작 309에서, 제1 전자 장치(210)는 제2 전자 장치(220)로부터 수락 응답을 수신하지 못한 경우, 제2 전자 장치(220)와의 통신을 USB 타입 C 표준에 의거한 일반 모드로 수행할 수 있다.In operation 307 , the first electronic device 210 may determine whether an acceptance response is received from the second electronic device 220 . In operation 309 , when the first electronic device 210 does not receive an acceptance response from the second electronic device 220 , communication with the second electronic device 220 is performed in a normal mode based on the USB Type-C standard. can

동작 311에서, 제1 전자 장치(210)는 제2 전자 장치(220)로부터 수락 응답을 수신한 경우, 제2 전자 장치(220)에게 연결 단자에 대한 정보를 요청할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 [표 3]의 정보 중 적어도 하나의 정보를 제2 전자 장치(220)에게 요청할 수 있다.In operation 311 , when receiving an acceptance response from the second electronic device 220 , the first electronic device 210 may request information on the connection terminal from the second electronic device 220 . According to an embodiment, the first electronic device 210 may request at least one piece of information among the information in [Table 3] from the second electronic device 220 .

Figure pat00003
Figure pat00003

일 실시예에 따라, 제1 전자 장치(210)와 제2 전자 장치(220)의 연결 시 얼터네이트 모드(alternate mode)를 지원하는 경우, 제1 전자 장치(210)는, 얼터네이트 모드가 지원하는 VDO(Vendor Defined Object)를 통하여 [표 3] 정보 중 적어도 하나의 정보를 요청할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 획득하고자하는 VDO가 있는 VDM(Vendor Defined Message) 명령을 제2 전자 장치(220)에게 전송할 수 있다. 일 실시예에 따라 VDM 명령은 CC 핀(configuration channel pin)을 통하여 전송될 수 있다. According to an embodiment, when an alternate mode is supported when the first electronic device 210 and the second electronic device 220 are connected, the first electronic device 210 supports the alternate mode. At least one of the information in [Table 3] can be requested through a Vendor Defined Object (VDO). According to an embodiment, the first electronic device 210 may transmit a Vendor Defined Message (VDM) command having a desired VDO to the second electronic device 220 . According to an embodiment, the VDM command may be transmitted through a configuration channel pin (CC).

일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 USB 타입 C 표준에 정의되어 있는 VDO 정보 이외에 추가적인 정보가 필요한 경우 새로운 VDO를 정의하고 새로 저의된 VDM을 통해 제2 전자 장치(220)에게 연결 단자에 대한 정보를 요청할 수 있다. According to an embodiment, the first service driver 215 of the first electronic device 210 defines a new VDO when additional information other than the VDO information defined in the USB Type-C standard is required, and defines a second VDO through the newly defined VDM. Information on the connection terminal may be requested from the electronic device 220 .

동작 313에서, 제1 전자 장치(210)은 제2 전자 장치(220)로부터 연결 단자에 대한 정보를 수신할 수 있다. 제2 전자 장치(220)는 제2 전자 장치(220)가 포함하는 연결 단자 각각에 대한 정보를 모두 제1 전자 장치(210)에게 전송할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제3 연결 단자(221), 제4 연결 단자(222), 및 제5 연결 단자(223) 각각에 대한 [표 3]의 정보를 제1 전자 장치(210)에게 전송할 수 있다.In operation 313 , the first electronic device 210 may receive information about the connection terminal from the second electronic device 220 . The second electronic device 220 may transmit all information on each connection terminal included in the second electronic device 220 to the first electronic device 210 . According to an embodiment, the second electronic device 220 transmits the information in [Table 3] for each of the third connection terminal 221 , the fourth connection terminal 222 , and the fifth connection terminal 223 to the first electronic device. may be transmitted to the device 210 .

일 실시예에 따라 얼터네이트 모드를 지원하는 경우, 제2 전자 장치(220)는 제2 전자 장치(220)가 포함하는 연결 단자의 수만큼 VDO를 생성하여 VDM 명령을 통하여 제1 전자 장치(210)에게 전송할 수 있다. According to an embodiment, when the alternate mode is supported, the second electronic device 220 generates VDOs as many as the number of connection terminals included in the second electronic device 220 and sends the first electronic device 210 through the VDM command. ) can be sent to

동작 315에서 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제2 전자 장치(220)의 연결 단자들(221, 222, 223)에 대하여 포트 번호를 할당하여 제2 전자 장치(220)에게 전송할 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제2 전자 장치(220)의 노드 번호를 2로 지정하고, 제2 전자 장치(220)의 제3 연결 단자(221)의 포트 번호를 3으로 지정할 수 있다. 또한 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제2 전자 장치(220)의 제4 연결 단자(222)의 포트 번호를 4으로 지정하고, 제2 전자 장치(220)의 제5 연결 단자(223)의 포트 번호를 5으로 지정할 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 지정한 노드 번호 및 포트 번호를 제2 전자 장치(220)에게 전송할 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 지정한 제2 전자 장치(220)의 노드 번호 및 포트 번호를 제1 서비스 드라이버(215)의 데이터 베이스에 저장할 수 있다.In operation 315 , the first service driver 215 of the first electronic device 210 allocates port numbers to the connection terminals 221 , 222 , and 223 of the second electronic device 220 to the second electronic device 220 . ) can be sent to According to an embodiment, the first service driver 215 of the first electronic device 210 designates the node number of the second electronic device 220 as 2, and the third connection terminal ( 221) port number can be designated as 3. Also, according to an embodiment, the first service driver 215 of the first electronic device 210 designates the port number of the fourth connection terminal 222 of the second electronic device 220 as 4, and the second electronic device A port number of the fifth connection terminal 223 of 220 may be designated as 5 . According to an embodiment, the first service driver 215 of the first electronic device 210 may transmit the specified node number and port number to the second electronic device 220 . According to an embodiment, the first service driver 215 of the first electronic device 210 may store the specified node number and port number of the second electronic device 220 in the database of the first service driver 215 . .

일 실시예에 따라 얼터네이트 모드를 지원하는 경우, 제1 전자 장치(210)는 제2 전자 장치(220)로부터 수신한 VDM의 VDO 수가 제2 전자 장치(220)에 포함된 연결 단자의 수와 일치하므로 VDO의 수만큼 각각 고유의 포트 번호를 지정할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 지정한 포트 번호를 다시 VDM을 통하여 제2 전자 장치(220)에게 전송할 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 제2 서비스 드라이버는 수신한 노드 번호 및 포트 번호를 제2 서비스 드라이버(225)의 데이터 베이스에 저장할 수 있다. 예를 들어 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 노드 번호 2번, 각 연결 단자의 고유 번호 3, 4, 5의 세개를 업데이트할 수 있다. 일 실시예에 따라 제1 서비스 드라이버(215)의 데이터 베이스의 구조는 제1 서비스 드라이버(215)의 데이터 베이스의 구조(예: [표 1])과 동일할 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 데이터 베이스는 제2 전자 장치(220)의 메인 메모리에 위치하거나 또는, PDIC/CCIC의 별도의 칩셋에 포함된 메모리에 위치할 수 있다.According to an embodiment, when the alternate mode is supported, the number of VDOs of the VDM received from the second electronic device 220 in the first electronic device 210 is equal to the number of connection terminals included in the second electronic device 220 . As they match, each unique port number can be assigned as many as the number of VDOs. According to an embodiment, the first electronic device 210 may transmit the designated port number to the second electronic device 220 again through the VDM. According to an embodiment, the second service driver of the second electronic device 220 may store the received node number and port number in the database of the second service driver 225 . For example, the second service driver 225 of the second electronic device 220 may update node number 2 and three unique numbers 3, 4, and 5 of each connection terminal. According to an embodiment, the structure of the database of the first service driver 215 may be the same as that of the database of the first service driver 215 (eg, [Table 1]). According to an embodiment, the database of the second electronic device 220 may be located in the main memory of the second electronic device 220 or in a memory included in a separate chipset of the PDIC/CCIC.

동작 317에서 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 제어 모드 설정을 완료할 수 있다.In operation 317 , the first service driver 215 of the first electronic device 210 may complete the control mode setting.

이하 도 2 및 도 4를 참조하여, 일 실시예에 따른 제2 전자 장치(220)의 동작에 대하여 설명한다.Hereinafter, an operation of the second electronic device 220 according to an exemplary embodiment will be described with reference to FIGS. 2 and 4 .

도 4는, 일 실시예에 따른 제2 전자 장치(220)의 동작을 나타낸 순서도일 수 있다. 제2 전자 전자 장치(220)는 호스트 전자 장치(예: 제1 전자 장치(210))와 다른 전자 장치(예: 제3 전자 장치(230), 또는 제4 전자 장치(240))사이를 연결하고 있는 장치를 나타낼 수 있다. 도 4는 앞서 도 3을 참조하여 설명한 제1 전자 장치(210)와 제2 전자 장치(220) 사이의 제어 모드 설정이 완료된 후의 제2 전자 장치(220)의 동작을 나타낸 순서도일 수 있다. 앞서 설명한 실시예와 동일한 구성에 대한 설명은 생략될 수 있다. 4 may be a flowchart illustrating an operation of the second electronic device 220 according to an exemplary embodiment. The second electronic device 220 connects between the host electronic device (eg, the first electronic device 210 ) and another electronic device (eg, the third electronic device 230 or the fourth electronic device 240 ). It can indicate the device being used. FIG. 4 may be a flowchart illustrating the operation of the second electronic device 220 after the control mode setting between the first electronic device 210 and the second electronic device 220 described with reference to FIG. 3 is completed. A description of the same configuration as in the above-described embodiment may be omitted.

도 2 및 도 4를 참조하면, 일 실시예에 따라 동작 401에서, 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 제3 전자 장치(230)에게 제어 모드 요청을 전송할 수 있다. 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 제3 전자 장치(230)에게 제어 모드 요청을 전송하기 전에 제1 전자 장치(210)와 연결된 제3 연결 단자(221)을 제외하고 제4 연결 단자(222) 및 제5 연결 단자(223)을 호스트 모드로 변경할 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 듀얼 롤 스왑 명령을 통하여 제4 연결 단자(222) 및 제5 연결 단자(223)를 호스트 모드로 변경할 수 있다. 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 제4 연결 단자(222) 및 제5 연결 단자(223)를 호스트 모드로 변경하고 제3 전자 장치(230) 및 제4 전자 장치(240)에게 제어 모드가 가능한지 제어 모드 요청을 전송할 수 있다.2 and 4 , according to an embodiment, in operation 401 , the second service driver 225 of the second electronic device 220 may transmit a control mode request to the third electronic device 230 . The second service driver 225 of the second electronic device 220 excludes the third connection terminal 221 connected to the first electronic device 210 before transmitting the control mode request to the third electronic device 230 . The fourth connection terminal 222 and the fifth connection terminal 223 may be changed to a host mode. According to an embodiment, the second service driver 225 of the second electronic device 220 may change the fourth connection terminal 222 and the fifth connection terminal 223 to the host mode through a dual role swap command. The second service driver 225 of the second electronic device 220 changes the fourth connection terminal 222 and the fifth connection terminal 223 to the host mode, and the third electronic device 230 and the fourth electronic device ( 240) may transmit a control mode request to whether the control mode is possible.

동작 403에서, 제2 전자 장치(220)는 제3 전자 장치(220)로부터 수락 응답을 수신하였는지 판단할 수 있다. 일 실시예에 따라 동작 405에서 제2 전자 장치(220)가 제3 전자 장치(230)로부터 수락 응답을 수신하지 못한 경우, 제3 전자 장치(230)와의 통신을 USB 타입 C 표준에 의거한 일반 모드로 수행할 수 있다. 일 실시예에 따라 제2 전자 장치(220)가 제4 전자 장치(240)로부터 수락 응답을 수신하지 못한 경우, 제4 전자 장치(240)와의 통신을 USB 타입 C 표준에 의거한 일반 모드로 수행할 수 있다In operation 403 , the second electronic device 220 may determine whether an acceptance response has been received from the third electronic device 220 . According to an embodiment, in operation 405 , when the second electronic device 220 does not receive an acceptance response from the third electronic device 230 , communication with the third electronic device 230 is performed according to the USB Type-C standard. mode can be done. According to an embodiment, when the second electronic device 220 does not receive an acceptance response from the fourth electronic device 240 , communication with the fourth electronic device 240 is performed in a normal mode based on the USB Type-C standard. can do

일 실시예에 따라 동작 407에서 제2 전자 장치(220)가 제3 전자 장치(230)로부터 수락 응답을 수신한 경우, 제3 전자 장치(230)에게 연결 단자에 대한 정보를 요청할 수 있다. 제2 전자 장치(220)는 제1 전자 장치(210)가 요청한 연결 단자에 대한 정보 목록과 동일한 정보 목록에 대한 요청을 제3 전자 장치(230)에게 전송할 수 있다. 얼터네이트 모드를 지원하는 경우 제2 전자 장치(220)는 제1 전자 장치(210)가 요청한 동한 VDM을 제3 전자 장치(230)에게 전달할 수 있다.According to an embodiment, when the second electronic device 220 receives an acceptance response from the third electronic device 230 in operation 407 , it may request information on the connection terminal from the third electronic device 230 . The second electronic device 220 may transmit to the third electronic device 230 a request for the same information list as the information list for the connection terminal requested by the first electronic device 210 . When the alternate mode is supported, the second electronic device 220 may transmit the VDM to the third electronic device 230 as long as the first electronic device 210 requests it.

동작 409에서 제2 전자 장치(220)는 제3 전자 장치(230)로부터 연결 단자에 대한 정보를 획득할 수 있다. 제3 전자 장치(230)는 제3 전자 장치(230)가 포함하는 제6 연결 단자(231), 제7 연결 단자(232) 및 제8 연결 단자(233) 각각에 대한 연결 단자 정보를 제2 전자 장치(220)에게 전송할 수 있으며, 연결 단자에 대한 정보를 전송하는 방법은 앞서 도 3을 참조하여 설명한 방법과 동일할 수 있다. In operation 409 , the second electronic device 220 may obtain information about a connection terminal from the third electronic device 230 . The third electronic device 230 provides the second connection terminal information for each of the sixth connection terminal 231 , the seventh connection terminal 232 , and the eighth connection terminal 233 included in the third electronic device 230 . The transmission may be performed to the electronic device 220 , and a method of transmitting information on the connection terminal may be the same as the method described with reference to FIG. 3 .

동작 411에서, 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 호스트 전자 장치인 제1 전자 장치(210)에게 새로운 장치 업데이트 요청을 전달하고 제1 전자 장치(210)까 수락 응답을 하면, 제3 전자 장치(230)의 연결 단자에 대한 정보를 제1 전자 장치(210)에게 전송할 수 있다.In operation 411 , the second service driver 225 of the second electronic device 220 transmits a new device update request to the first electronic device 210 , which is the host electronic device, and sends an acceptance response to the first electronic device 210 . Then, information on the connection terminal of the third electronic device 230 may be transmitted to the first electronic device 210 .

일 실시예에 따라 제1 전자 장치(210)는 제2 전자 장치(220)로부터 전달 받은 제3 전자 장치(230)의 연결 단자에 대한 정보를 기반으로 제3 전자 장치(230)에 대한 노드 번호 및 포트 번호를 할당할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 제3 전자 장치(230)의 노드 번호를 3번, 제6 연결 단자(231)의 포트 번호를 6번, 제7 연결 단자(232)의 포트 번호를 7번 제8 연결 단자의 포트 번호를 8번으로 할당할 수 있다. 제1 전자 장치(210)는 할당한 제3 전자 장치(230)의 노드 번호 및 포트 번호를 제2 전자 장치(220)에게 전송할 수 있다. 일 실시예에 따라 제1 전자 장치(210)의 제1 서비스 드라이버(215)는 지정한 제3 전자 장치(230)의 노드 번호 및 포트 번호를 제1 서비스 드라이버(215)의 데이터 베이스에 저장할 수 있다.According to an embodiment, the first electronic device 210 receives the node number for the third electronic device 230 based on the information on the connection terminal of the third electronic device 230 received from the second electronic device 220 . and port numbers can be assigned. According to an embodiment, the first electronic device 210 sets the node number of the third electronic device 230 to 3 , the port number of the sixth connection terminal 231 to 6 , and the port of the seventh connection terminal 232 . Number 7 can be assigned to the port number of the eighth connection terminal as number 8. The first electronic device 210 may transmit the allocated node number and port number of the third electronic device 230 to the second electronic device 220 . According to an embodiment, the first service driver 215 of the first electronic device 210 may store the specified node number and port number of the third electronic device 230 in the database of the first service driver 215 . .

동작 413에서 제2 전자 장치(220)의 제2 서비스 드라이버(225)는 제1 전자 장치(210)로부터 수신한 노드 번호 및 포트 번호를 제3 전자 장치(230)에게 전달할 수 있다. 제3 전자 장치(230)는 제2 전자 장치(220)로부터 수신한 노드 번호 및 포트 번호를 제3 전자 장치(230)의 제3 서비스 드라이버(235)의 데이터 베이스에 업데이트할 수 있다. 예를 들어 제3 전자 장치(230)의 제3 서비스 드라이버(235)는 노드 번호 3번, 각 연결 단자의 고유 번호 6, 7, 8의 세개를 업데이트할 수 있다. 일 실시예에 따라 제3 전자 장치(230)의 제3 서비스 드라이버(235)의 데이터 베이스의 구조는 제1 전자 장치의 제1 서비스 드라이버(215)의 데이터 베이스의 구조(예: [표 1])와 동일할 수 있다. 일 실시예에 따라 제3 전자 장치(230)의 데이터 베이스는 제3 전자 장치(230)의 메인 메모리에 위치하거나 또는, PDIC/CCIC의 별도의 칩셋에 포함된 메모리에 위치할 수 있다. In operation 413 , the second service driver 225 of the second electronic device 220 may transmit the node number and port number received from the first electronic device 210 to the third electronic device 230 . The third electronic device 230 may update the node number and port number received from the second electronic device 220 in the database of the third service driver 235 of the third electronic device 230 . For example, the third service driver 235 of the third electronic device 230 may update node number 3 and three unique numbers 6, 7, and 8 of each connection terminal. According to an embodiment, the structure of the database of the third service driver 235 of the third electronic device 230 includes the structure of the database of the first service driver 215 of the first electronic device (eg, [Table 1] ) can be the same as According to an embodiment, the database of the third electronic device 230 may be located in the main memory of the third electronic device 230 or in a memory included in a separate chipset of the PDIC/CCIC.

동작 415에서 제2 전자 장치(220) 및 제1 전자 장치(210)은 제어 모드 설정을 완료할 수 있다.In operation 415 , the second electronic device 220 and the first electronic device 210 may complete the control mode setting.

일 실시예에 따라 호스트 전자 장치인 제1 전자 장치(210)와 제5 전자 장치(250)의 사이를 연결하는 제3 전자 장치(230)도 도 4의 순서도의 동작들을 통하여 제5 전자 장치(250)를 비롯한 제1 전자 장치(210)에 간접적으로 연결된 전자 장치들에게 제어 모드 설정을 수행할 수 있다.According to an embodiment, the third electronic device 230 that connects between the first electronic device 210 and the fifth electronic device 250, which is a host electronic device, also performs the operations of the fifth electronic device ( The control mode setting may be performed for electronic devices indirectly connected to the first electronic device 210 , including 250 .

일 실시예에 따라 제1 전자 장치(210)는 도 3 및 도 4의 동작을 반복하여 제1 전자 장치(210)에 직접적 또는 간접적으로 연결된 장치들을 순차적으로 노드 번호로 정리하고 각 노드 당 연결 단자의 수만큼 고유 포트 번호를 획득할 수 있다.According to an embodiment, the first electronic device 210 repeats the operations of FIGS. 3 and 4 to sequentially arrange devices directly or indirectly connected to the first electronic device 210 by node numbers, and connect terminals for each node. It is possible to acquire unique port numbers as many as .

이하, 도 2, 도 5 및 도 6을 참조하여, 일 실시예에 따른 제1 전자 장치(210)의 동작에 대하여 설명한다.Hereinafter, an operation of the first electronic device 210 according to an exemplary embodiment will be described with reference to FIGS. 2, 5, and 6 .

도 5는 일 실시예에 따른 제1 전자 장치의 동작을 나타낸 순서도이다. 도 6은 일 실시예에 따른 제2 전자 장치의 동작을 나타낸 순서도이다. 도 5 및 도 6의 순서도는 앞서 도 3 및 도 4를 참조하여 설명한 제어 모드 설정이 완료된 후의 동작을 나타낸 것일 수 있다. 앞서 설명한 구성과 동일한 구성에 대한 설명은 생략될 수 있다.5 is a flowchart illustrating an operation of a first electronic device according to an exemplary embodiment. 6 is a flowchart illustrating an operation of a second electronic device according to an exemplary embodiment. The flowcharts of FIGS. 5 and 6 may show operations after the setting of the control mode described with reference to FIGS. 3 and 4 is completed. A description of the same configuration as the aforementioned configuration may be omitted.

먼저 도 2 및 도 5를 참조하면, 동작 501에서 제1 전자 장치(210)는 제1 서비스 드라이버(215)의 데이터 베이스를 기반으로 제어 가능한 연결 단자들의 리스트를 디스플레이 모듈(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 제어 가능한 연결 단자들의 리스트는 다른 전자 장치들의 연결 단자를 포함할 수 있으며, 예를 들어, 제2 전자 장치(220)의 제3 연결 단자(221), 제4 연결 단자(222) 및 제5 연결 단자(223), 제3 전자 장치(230)의 제6 연결 단자(231), 제7 연결 단자(232) 및 제8 연결 단자(233)을 포함할 수 있다. 일 실시예에 따라 제1 서비스 앱(214)은 제어 가능한 연결 단자들의 리스트를에 대한 사용자 인터페이스를 제공할 수 있다. First, referring to FIGS. 2 and 5 , in operation 501 , the first electronic device 210 displays a list of controllable connection terminals based on the database of the first service driver 215 on a display module (eg, the display of FIG. 1 ). module 160). The list of controllable connection terminals may include connection terminals of other electronic devices, for example, the third connection terminal 221 , the fourth connection terminal 222 , and the fifth connection terminal of the second electronic device 220 . The terminal 223 may include a sixth connection terminal 231 , a seventh connection terminal 232 , and an eighth connection terminal 233 of the third electronic device 230 . According to an embodiment, the first service app 214 may provide a user interface for a list of controllable connection terminals.

동작 503에서 제1 전자 장치(210)는 제어 가능한 연결 단자들의 리스트에서 연결 단자를 선택하는 사용자의 선택 입력을 수신할 수 있다. 사용자는 제어하기를 원하는 제어 가능한 연결 단자들의 리스트에서 연결 단자를 선택할 수 있다. 예를 들어 사용자는 제3 전자 장치(230)의 제7 연결 단자(232)를 선택할 수 있다. In operation 503 , the first electronic device 210 may receive a user selection input for selecting a connection terminal from the list of controllable connection terminals. The user can select a connection terminal from a list of controllable connection terminals that he wants to control. For example, the user may select the seventh connection terminal 232 of the third electronic device 230 .

동작 505에서 제1 전자 장치(210)는 선택된 연결 단자를 포함하는 전자 장치에세 선택된 연결 단자의 정보를 포함하는 메시지를 전송할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 연결 단자 선택 명령 VDM을 통해 제2 전자 장치(220)에게 제7 연결 단자(232)를 사용하겠다고 전송할 수 있다.In operation 505, the first electronic device 210 may transmit a message including information on the selected connection terminal to the electronic device including the selected connection terminal. According to an embodiment, the first electronic device 210 may transmit that it will use the seventh connection terminal 232 to the second electronic device 220 through the connection terminal selection command VDM.

이하 도 6을 참조하여, 제1 전자 장치(210)로부터 연결 단자 선택 명령을 수신한 제2 전자 장치(220)의 동작에 대하여 설명한다.Hereinafter, an operation of the second electronic device 220 that receives a connection terminal selection command from the first electronic device 210 will be described with reference to FIG. 6 .

동작 601에서 제2 전자 장치(220)는 제1 전자 장치(210)으로부터 연결 단자 선택 명령을 수신할 수 있다. In operation 601 , the second electronic device 220 may receive a connection terminal selection command from the first electronic device 210 .

동작 603에서 제2 전자 장치(220)는 제2 서비스 드라이버(225)의 데이터 베이스를 기반으로, 연결 단자 선택 명령에 포함된 연결 단자가 자신이 포함하는 연결 단자인지 판단할 수 있다. In operation 603 , the second electronic device 220 may determine whether the connection terminal included in the connection terminal selection command is a connection terminal included in the second electronic device 220 based on the database of the second service driver 225 .

일 실시예에 따라, 제1 전자 장치(210)가 선택한 연결 단가자 제4 연결 단자(222)인 경우, 동작 605에서 제2 전자 장치(220)는 연결 단자 선택 명령에 포함된 연결 단자가 자신이 포함하는 연결 단자라고 판단하고, 제1 전자 장치(210)가 연결된 제3 연결 단자(221)와 선택된 제4 연결 단자(222)의 데이터 라인 및/또는 CC라인을 제2 스위치(227)을 통해 연결할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제2 PDIC(226)를 통하여 제2 스위치(227)를 제어하여 연결 단자들 간의 데이터 라인 및/또는 CC라인을 연결할 수 있다. 일 실시예에 따라 제2 전자 정차(220) 내부에서 연결 단자들 간에 USB 허브(hub)로 연결되어 있는 경우 제2 전자 장치(220)는 별도로 데이터 라인을 연결하지 않을 수 있다. According to an embodiment, when the first electronic device 210 is the fourth connection terminal 222 of the selected connection terminal, in operation 605, the second electronic device 220 determines that the connection terminal included in the connection terminal selection command is itself. The second switch 227 is determined to be a connection terminal including can be connected via According to an embodiment, the second electronic device 220 may control the second switch 227 through the second PDIC 226 to connect the data line and/or the CC line between connection terminals. According to an exemplary embodiment, when a USB hub is connected between connection terminals inside the second electronic vehicle 220 , the second electronic device 220 may not separately connect a data line.

제2 전자 장치(220)가 제3 연결 단자(221)와 제4 연결 단자(222)의 데이터 라인 및/또는 CC 라인을 연결함에 따라, 제1 전자 장치(210)는 제2 연결 단자(212)을 통하여 제4 연결 단자(222)와 연결이 가능하게 되고, 사용자는 제1 전자 장치(210)를 통하여 제4 연결 단자(222)와 연결된 제4 전자 장치(240)의 동작을 제어할 수 있다. 예를 들어 사용자는 제1 전자 장치(210)를 통하여 디스플레이 장치인 제4 전자 장치(240)에 콘텐츠 재생, 해상도 변경, 음량 변경 등, 제4 전자 장치(240)의 동작을 제어할 수 있다.As the second electronic device 220 connects the data line and/or the CC line of the third connection terminal 221 and the fourth connection terminal 222 , the first electronic device 210 connects to the second connection terminal 212 . ) to enable connection to the fourth connection terminal 222 , and the user can control the operation of the fourth electronic device 240 connected to the fourth connection terminal 222 through the first electronic device 210 . have. For example, the user may control the operation of the fourth electronic device 240 , such as content reproduction, resolution change, volume change, and the like, on the fourth electronic device 240 , which is a display device, through the first electronic device 210 .

일 실시예에 따라, 제1 전자 장치(210)가 선택한 연결 단가자 제7 연결 단자(232)인 경우, 동작 607에서 제2 전자 장치(220)는 연결 단자 선택 명령에 포함된 연결 단자가 자신이 포함하지 않는 연결 단자라고 판단하고, 제1 전자 장치(210)가 연결된 제3 연결 단자(221)와 선택된 제7 연결 단자(232)를 포함하는 제3 전자 장치(230)가 연결된 제5 연결 단자(223)의 데이터 라인 및/또는 CC라인을 제2 스위치(227)을 통해 연결할 수 있다. 또한, 제2 전자 장치(220)는 선택된 제7 연결 단자(232)를 포함하는 제3 전자 장치(230)에게 연결 단자 선택 명령 메시지를 포워딩할 수 있다.According to an embodiment, when the first electronic device 210 is the selected connection terminal device seventh connection terminal 232 , in operation 607 , the second electronic device 220 determines that the connection terminal included in the connection terminal selection command is its own. It is determined that it is a connection terminal that does not include this, and a fifth connection to which the third connection terminal 221 to which the first electronic device 210 is connected and the third electronic device 230 including the selected seventh connection terminal 232 are connected. The data line and/or the CC line of the terminal 223 may be connected through the second switch 227 . Also, the second electronic device 220 may forward the connection terminal selection command message to the third electronic device 230 including the selected seventh connection terminal 232 .

일 실시예에 따라 제2 전자 장치(220)로부터 연결 단자 선택 명령을 수신한 제3 전자 장치(230)는 연결 단자 선택 명령에 포함된 제7 연결 단자(232)와 제2 전자 장치(220)가 연결된 제6 연결 단자(231)의 데이터 라인 및/또는 CC라인을 제3 스위치(237)을 통해 연결할 수 있다.According to an embodiment, the third electronic device 230 receiving the connection terminal selection command from the second electronic device 220 includes the seventh connection terminal 232 and the second electronic device 220 included in the connection terminal selection command. The data line and/or the CC line of the sixth connection terminal 231 connected to may be connected through the third switch 237 .

제3 전자 장치(230)가 제7 연결 단자(232)와 제6 연결 단자(231)의 물리적인 라인을 연결함에 따라 제7 연결 단자(232)에 연결된 제5 전자 장치(250)은 순차적으로 제7 연결 단자(232), 제6 연결 단자(231), 제5 연결 단자(223), 제3 연결 단자(221). 및 제2 연결 단자(212)를 통하여 제1 전자 장치(210)에 연결될 수 있고, 사용자는 호스트 장치인 제1 전자 장치(210)를 통하여 제5 전자 장치(250)를 제어할 수 있다. 예를 들어 사용자는 제1 전자 장치(210)를 통하여 USB 장치인 제5 전자 장치(250)의 저장된 데이터 관리. 연결 제어 등, 제5 전자 장치(250)를 제어할 수 있다.As the third electronic device 230 connects the physical lines of the seventh connection terminal 232 and the sixth connection terminal 231 , the fifth electronic device 250 connected to the seventh connection terminal 232 sequentially A seventh connection terminal 232 , a sixth connection terminal 231 , a fifth connection terminal 223 , and a third connection terminal 221 . And it may be connected to the first electronic device 210 through the second connection terminal 212 , and the user may control the fifth electronic device 250 through the first electronic device 210 which is a host device. For example, the user manages the stored data of the fifth electronic device 250 , which is a USB device, through the first electronic device 210 . The fifth electronic device 250 may be controlled, such as connection control.

본 개시의 다양한 실시예에 따르면, 전자 장치는 제어 모드를 제공하는 서비스 드라이버를 포함할 수 있으며, 서비스 드라이버는 전자 장치에 포함된 연결 단자 및 전자 장치에 연결된 타 전자 장치에 포함된 연결 단자의 포트 번호를 할당할 수 있고, 할당된 포트 번호들 데이터 베이스에 저장 및 관리할 수 있다. 서비스 드라이버는 호스트 전자 장치에서 제어 가능한 타 전자 장치에 연결된 전자 장치들의 리스트의 UI(사용자 인터페이스)를 표시할 수 있으며, 호스트 전자 장치의 명령에 따라 연결 단자 선택 명령을 타 전자 장치에게 전송할 수 있다. 또한 클라이언트 전자 장치에 포함된 서비스 드라이버는 호스트 전자 장치의 연결 단자 선택 명력에 따라 클라이언트 전자 장치의 PDIC, 멀티플렉서 스위치 등을 제어하여 클라이언트 전자 장치의 연결 단자를 호스트 전자 장치와 연결할 수 있다.According to various embodiments of the present disclosure, the electronic device may include a service driver that provides a control mode, and the service driver includes ports of a connection terminal included in the electronic device and a connection terminal included in another electronic device connected to the electronic device. Numbers can be assigned, and the assigned port numbers can be stored and managed in the database. The service driver may display a UI (user interface) of a list of electronic devices connected to another electronic device controllable by the host electronic device, and may transmit a connection terminal selection command to another electronic device according to a command of the host electronic device. Also, the service driver included in the client electronic device may control the PDIC, the multiplexer switch, etc. of the client electronic device according to the command for selecting the connection terminal of the host electronic device to connect the connection terminal of the client electronic device to the host electronic device.

즉, 본 개시의 다양한 실시에에 따른 전자 장치에 의하면 제어 모드를 지원하는 복수의 전자 장치가 USB 타입 C 연결 단자로 서로 연결되어 있을 때, 호스트 전자 장치가 클라이언트 전자 장치의 연결 단자에 연결된 다양한 전자 장치들을 제어할 수 있다. 따라서 본 개시의 다양한 실시에에 따른 전자 장치에 의하면, 클라이언트 전자 장치들에 연결된 전자 장치들을 호스트 전자 장치에 동시에 여러 개 연결할 수도 있고, 클라이언트 전자 장치에 연결된 디스플레이 장치, 오디오 장치 등 특화된 장치도 호스트 전자 장치에서 연결 및 제어가 가능할 수 있다.That is, according to the electronic device according to various embodiments of the present disclosure, when a plurality of electronic devices supporting the control mode are connected to each other through the USB Type C connection terminal, the host electronic device is connected to the various electronic devices connected to the connection terminal of the client electronic device. devices can be controlled. Accordingly, according to the electronic device according to various embodiments of the present disclosure, a plurality of electronic devices connected to the client electronic devices may be simultaneously connected to the host electronic device, and a specialized device such as a display device and an audio device connected to the client electronic device may also be used as a host electronic device. The device may be able to connect and control.

본 개시의 일 실시예에 따른 제1 전자 장치는, 외부 전자 장치와 연결 가능한 제1 연결 단자, 제어 모드를 제공하는 서비스 드라이버를 포함하는 메모리, 및 상기 제1 연결 단자 및 상기 메모리와 연결된 프로세서를 포함하며, 상기 프로세서는, 사용자에 의해 제어 모드가 선택됨에 따라 상기 제1 연결 단자를 호스트(host) 모드로 설정하며, 상기 제1 연결 단자의 포트 번호를 상기 메모리에 저장하고, 상기 제1 연결 단자에 연결된 제2 전자 장치에게 제어 모드 요청을 전송하며, 상기 제어 모드 요청에 대한 응답을 수신 함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들에 대한 정보를 상기 제2 전자 장치에게 요청하고, 상기 복수의 연결 단자들에 대한 정보를 획득함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들 각각에 대해 포트 번호를 할당하며,상기 제2 전자 장치에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 제2 전자 장치에게 전송하도록 구성될 수 있다. A first electronic device according to an embodiment of the present disclosure includes a memory including a first connection terminal connectable to an external electronic device, a service driver providing a control mode, and a processor connected to the first connection terminal and the memory. wherein the processor sets the first connection terminal to a host mode as a control mode is selected by the user, stores the port number of the first connection terminal in the memory, and the first connection Transmits a control mode request to the second electronic device connected to the terminal, and when a response to the control mode request is received, information on a plurality of connection terminals included in the second electronic device is provided to the second electronic device Upon request and obtaining information on the plurality of connection terminals, a port number is allocated to each of the plurality of connection terminals included in the second electronic device, and the port numbers allocated to the second electronic device are assigned to each other. and store in the memory and transmit port numbers assigned to the second electronic device to the second electronic device.

본 개시의 일 실시예에 따르면, 상기 제1 연결 단자 및 상기 복수의 연결 단자들은 USB(universal serial bus) 타입 C 연결 단자에 해당하며,상기 프로세서는, 상기 복수의 연결 단자들에 대한 정보를 VDM(Vendor Defined Message) 형식으로 상기 제1 연결 단자의 CC 핀(configuration channel pin)을 통하여 획득하도록 구성될 수 있다. According to an embodiment of the present disclosure, the first connection terminal and the plurality of connection terminals correspond to a universal serial bus (USB) type C connection terminal, and the processor transmits information about the plurality of connection terminals to VDM. (Vendor Defined Message) may be configured to be acquired through a CC pin (configuration channel pin) of the first connection terminal.

본 개시의 일 실시예에 따르면, 상기 프로세서는, 상기 제1 전자 장치에 포함된 적어도 하나의 연결 단자에 대해 1부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하며, 상기 복수의 연결 단자들에 대해 상기 제1 전자 장치에 포함된 상기 적어도 하나의 연결 단자의 개수보다 1 큰 수부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하도록 구성될 수 있다. According to an embodiment of the present disclosure, the processor assigns a port number to at least one connection terminal included in the first electronic device so that the number increases by 1 in sequence from 1, and to the plurality of connection terminals The port number may be assigned such that the number increases by one sequentially from a number greater than the number of the at least one connection terminal included in the first electronic device.

본 개시의 일 실시예에 따르면, 상기 복수의 연결 단자는 상기 제1 연결 단자와 연결된 제2 연결 단자 및 제3 전자 장치와 연결된 제3 연결 단자를 포함하며, 상기 프로세서는, 상기 제3 전자 장치에 포함된 연결 단자들에 대한 연결 단자 정보를 상기 제2 전자 장치로부터 수신함에 따라 상기 제3 전자 장치에 포함된 연결 단자들에 대해 각각 포트 번호를 할당하도록 구성될 수 있다. According to an embodiment of the present disclosure, the plurality of connection terminals includes a second connection terminal connected to the first connection terminal and a third connection terminal connected to a third electronic device, and the processor includes: It may be configured to allocate a port number to each of the connection terminals included in the third electronic device according to receiving connection terminal information for the connection terminals included in the second electronic device from the second electronic device.

본 개시의 일 실시예에 따르면, 상기 프로세서는 상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 제2 전자 장치를 통하여 상기 제3 전자 장치에게 전달하도록 구성될 수 있다. According to an embodiment of the present disclosure, the processor stores port numbers allocated to connection terminals included in the third electronic device in the memory, and ports allocated to connection terminals included in the third electronic device and transmit numbers to the third electronic device through the second electronic device.

본 개시의 일 실시예에 따르면, 상기 제1 전자 장치는 디스플레이 장치를 더 포함하며, 상기 프로세서는, 상기 메모리에 저장된 포트 번호 정보를 기반으로, 상기 제2 전자 장치의 상기 복수의 연결 단자들 중에서 상기 전자 장치에서 제어 가능한 연결 단자들의 리스트를 상기 디스플레이 장치에 표시하도록 구성될 수 있다. According to an embodiment of the present disclosure, the first electronic device further includes a display device, and the processor is configured to: based on port number information stored in the memory, among the plurality of connection terminals of the second electronic device The electronic device may be configured to display a list of controllable connection terminals on the display device.

본 개시의 일 실시예에 따르면, 상기 리스트에 대한 사용자의 선택 입력이 수신됨에 따라, 선택된 연결 단자를 포함하는 연결 단자 선택 명령을 상기 제2 전자 장치에게 전송하도록 구성될 수 있다. According to an embodiment of the present disclosure, when a user's selection input for the list is received, a connection terminal selection command including the selected connection terminal may be transmitted to the second electronic device.

본 개시의 일 실시예에 따르면, 상기 제1 전자 장치는 제4 연결 단자를 더 포함하며, 상기 프로세서는 상기 제어 모드가 종료된 후, 상기 제4 연결 단자에 연결된 제4 전자 장치로부터 제어 모드 요청을 수신함에 따라 상기 제4 전자 장치에게 수락 응답을 전송하고, 상기 수락 응답을 전송함에 따라 상기 제어 모드를 시작하며, 상기 제1 연결 단자 및 상기 제4 연결 단자를 클라이언트(client)모드로 설정하도록 구성될 수 있다. According to an embodiment of the present disclosure, the first electronic device further includes a fourth connection terminal, and the processor requests a control mode from the fourth electronic device connected to the fourth connection terminal after the control mode is terminated. transmits an acceptance response to the fourth electronic device upon receiving can be configured.

본 개시의 일 실시예에 따르면, 상기 프로세서는, 상기 제4 전자 장치로부터 상기 제1 연결 단자를 선택하는 연결 단자 선택 명령을 수신함에 따라, 상기 제1 연결 단자와 상기 제4 연결 단자의 데이터 라인(data line) 및 CC 라인(configuration channel line) 중 적어도 하나를 연결하도록 구성될 수 있다. According to an embodiment of the present disclosure, when the processor receives a connection terminal selection command for selecting the first connection terminal from the fourth electronic device, the data line between the first connection terminal and the fourth connection terminal It may be configured to connect at least one of a (data line) and a CC line (configuration channel line).

본 개시의 일 실시예에 따르면, 상기 프로세서는 상기 제4 전자 장치로부터 수신한 상기 제1 연결 단자 및 상기 제4 연결 단자의 포트 번호 정보를 상기 메모리에 저장하고, 상기 제1 연결 단자를 호스트 모드로 변경하며, 상기 제1 연결 단자와 연결된 상기 제2 전자 장치에게 제어 모드 요청을 전송하고, 상기 제어 모드 요청에 대한 수락 응답을 수신함에 따라 상기 제2 전자 장치에게 상기 제2 전자 장치의 상기 복수의 연결 단자들에 대한 정보를 요청하며, 상기 제2 전자 장치로부터 수신한 연결 단자에 대한 정보를 상기 제4 전자 장치에게 전송하고, 상기 제4 전자 장치로부터 수신한 상기 제2 전자 장치의 상기 복수의 연결 단자들에게 할당된 포트 번호 정보를 상기 제2 전자 장치에게 전송하도록 구성될 수 있다. According to an embodiment of the present disclosure, the processor stores port number information of the first connection terminal and the fourth connection terminal received from the fourth electronic device in the memory, and sets the first connection terminal to a host mode. , transmits a control mode request to the second electronic device connected to the first connection terminal, and receives an acceptance response to the control mode request to the second electronic device request information on connection terminals of a , transmit information on connection terminals received from the second electronic device to the fourth electronic device, It may be configured to transmit port number information assigned to the connection terminals of the second electronic device to the second electronic device.

본 개시의 일 실시예에 따른 제1 전자 장치의 동작 방법은, 사용자에 의해 제어 모드가 선택됨에 따라 상기 제1 전자 장치? 제1 연결 단자를 호스트(host) 모드로 설정하며, 상기 제1 연결 단자의 포트 번호를 상기 제1 전자 장치의 메모리에 저장하고, 상기 제1 연결 단자에 연결된 제2 전자 장치에게 제어 모드 요청을 전송하며, 상기 제어 모드 요청에 대한 응답을 수신 함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들에 대한 정보를 상기 제2 전자 장치에게 요청하고, 상기 복수의 연결 단자들에 대한 정보를 획득함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들 각각에 대해 포트 번호를 할당하며, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 제2 전자 장치에게 전송할 수 있다. A method of operating a first electronic device according to an embodiment of the present disclosure may include, when a control mode is selected by a user, the first electronic device? sets the first connection terminal to a host mode, stores the port number of the first connection terminal in the memory of the first electronic device, and sends a control mode request to the second electronic device connected to the first connection terminal and when a response to the control mode request is received, the second electronic device requests information on a plurality of connection terminals included in the second electronic device, and information on the plurality of connection terminals is obtained, a port number is assigned to each of the plurality of connection terminals included in the second electronic device, the port numbers assigned to the second electronic device are stored in the memory, and the second electronic device is sent to the second electronic device. The assigned port numbers may be transmitted to the second electronic device.

본 개시의 일 실시예에 따르면, 상기 제1 연결 단자 및 상기 복수의 연결 단자들은 USB(universal serial bus) 타입 C 연결 단자에 해당할 수 있다. According to an embodiment of the present disclosure, the first connection terminal and the plurality of connection terminals may correspond to a universal serial bus (USB) type C connection terminal.

본 개시의 일 실시예에 따르면, 상기 제1 전자 장치에 포함된 적어도 하나의 연결 단자에 대해 1부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하며, 상기 복수의 연결 단자들에 대해 상기 제1 전자 장치에 포함된 상기 적어도 하나의 연결 단자의 개수보다 1 큰 수부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당할 수 있다. According to an embodiment of the present disclosure, a port number is assigned such that the number increases by 1 sequentially from 1 to at least one connection terminal included in the first electronic device, and the first connection terminal to the plurality of connection terminals The port number may be allocated such that the number sequentially increases by one from a number greater than the number of the at least one connection terminal included in the electronic device.

본 개시의 일 실시예에 따르면, 상기 복수의 연결 단자는 상기 제1 연결 단자와 연결된 제2 연결 단자 및 제3 전자 장치와 연결된 제3 연결 단자를 포함하며, 상기 제3 전자 장치에 포함된 연결 단자들에 대한 연결 단자 정보를 상기 제2 전자 장치로부터 수신함에 따라 상기 제3 전자 장치에 포함된 연결 단자들에 대해 각각 포트 번호를 할당할 수 있다.According to an embodiment of the present disclosure, the plurality of connection terminals include a second connection terminal connected to the first connection terminal and a third connection terminal connected to a third electronic device, and the connection included in the third electronic device As connection terminal information on the terminals is received from the second electronic device, a port number may be assigned to each of the connection terminals included in the third electronic device.

본 개시의 일 실시예에 따르면, 상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 제2 전자 장치를 통하여 상기 제3 전자 장치에게 전달하도록 구성될 수 있다. According to an embodiment of the present disclosure, port numbers allocated to connection terminals included in the third electronic device are stored in the memory, and port numbers allocated to connection terminals included in the third electronic device are stored in the memory. It may be configured to transmit to the third electronic device through the second electronic device.

본 개시의 일 실시예에 따르면, 상기 제1 전자 장치는 디스플레이 장치를 더 포함하며, 상기 메모리에 저장된 포트 번호 정보를 기반으로, 상기 제2 전자 장치의 상기 복수의 연결 단자들 중에서 상기 전자 장치에서 제어 가능한 연결 단자들의 리스트를 상기 디스플레이 장치에 표시할 수 있다. According to an embodiment of the present disclosure, the first electronic device further includes a display device, and based on the port number information stored in the memory, in the electronic device among the plurality of connection terminals of the second electronic device A list of controllable connection terminals may be displayed on the display device.

본 개시의 일 실시예에 따르면, 상기 리스트에 대한 사용자의 선택 입력이 수신됨에 따라, 선택된 연결 단자를 포함하는 연결 단자 선택 명령을 상기 제2 전자 장치에게 전송할 수 있다. According to an embodiment of the present disclosure, when a user's selection input for the list is received, a connection terminal selection command including the selected connection terminal may be transmitted to the second electronic device.

본 개시의 일 실시예에 따르면, 상기 제1 전자 장치는 제4 연결 단자를 더 포함하며, 상기 제어 모드가 종료된 후, 상기 제4 연결 단자에 연결된 제4 전자 장치로부터 제어 모드 요청을 수신함에 따라 상기 제4 전자 장치에게 수락 응답을 전송하고, 상기 수락 응답을 전송함에 따라 상기 제어 모드를 시작하며, 상기 제1 연결 단자 및 상기 제4 연결 단자를 클라이언트(client)모드로 설정하도록 구성될 수 있다. According to an embodiment of the present disclosure, the first electronic device further includes a fourth connection terminal, and after the control mode ends, receiving a control mode request from the fourth electronic device connected to the fourth connection terminal. transmit an acceptance response to the fourth electronic device, start the control mode by transmitting the acceptance response, and set the first connection terminal and the fourth connection terminal to a client mode have.

본 개시의 일 실시예에 따르면, 상기 제4 전자 장치로부터 상기 제1 연결 단자를 선택하는 연결 단자 선택 명령을 수신함에 따라, 상기 제1 연결 단자와 상기 제4 연결 단자의 데이터 라인(data line) 및 CC 라인(configuration channel line) 중 적어도 하나를 연결할 수 있다. According to an embodiment of the present disclosure, upon receiving a connection terminal selection command for selecting the first connection terminal from the fourth electronic device, a data line between the first connection terminal and the fourth connection terminal and a configuration channel line (CC).

본 개시의 일 실시예에 따르면, 상기 제4 전자 장치로부터 수신한 상기 제1 연결 단자 및 상기 제4 연결 단자의 포트 번호 정보를 상기 메모리에 저장하고, 상기 제1 연결 단자를 호스트 모드로 변경하며, 상기 제1 연결 단자와 연결된 상기 제2 전자 장치에게 제어 모드 요청을 전송하고, 상기 제어 모드 요청에 대한 수락 응답을 수신함에 따라 상기 제2 전자 장치에게 상기 제2 전자 장치의 상기 복수의 연결 단자들에 대한 정보를 요청하며, 상기 제2 전자 장치로부터 수신한 연결 단자에 대한 정보를 상기 제4 전자 장치에게 전송하고, 상기 제4 전자 장치로부터 수신한 상기 제2 전자 장치의 상기 복수의 연결 단자들에게 할당된 포트 번호 정보를 상기 제2 전자 장치에게 전송할 수 있다. According to an embodiment of the present disclosure, information about the port number of the first connection terminal and the fourth connection terminal received from the fourth electronic device is stored in the memory, and the first connection terminal is changed to a host mode; , transmits a control mode request to the second electronic device connected to the first connection terminal, and receives an acceptance response to the control mode request to the second electronic device through the plurality of connection terminals of the second electronic device requests for information about the devices, transmits information on a connection terminal received from the second electronic device to the fourth electronic device, and receives the plurality of connection terminals of the second electronic device from the fourth electronic device Port number information assigned to the users may be transmitted to the second electronic device.

Claims (20)

제1 전자 장치에 있어서,
외부 전자 장치와 연결 가능한 제1 연결 단자;
제어 모드를 제공하는 서비스 드라이버를 포함하는 메모리; 및
상기 제1 연결 단자 및 상기 메모리와 연결된 프로세서; 를 포함하며,
상기 프로세서는,
사용자에 의해 제어 모드가 선택됨에 따라 상기 제1 연결 단자를 호스트(host) 모드로 설정하며,
상기 제1 연결 단자의 포트 번호를 상기 메모리에 저장하고,
상기 제1 연결 단자에 연결된 제2 전자 장치에게 제어 모드 요청을 전송하며,
상기 제어 모드 요청에 대한 응답을 수신 함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들에 대한 정보를 상기 제2 전자 장치에게 요청하고,
상기 복수의 연결 단자들에 대한 정보를 획득함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들 각각에 대해 포트 번호를 할당하며,
상기 제2 전자 장치에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 제2 전자 장치에게 전송하도록 구성된, 전자 장치.
In the first electronic device,
a first connection terminal connectable to an external electronic device;
a memory containing a service driver that provides a control mode; and
a processor connected to the first connection terminal and the memory; includes,
The processor is
As the control mode is selected by the user, the first connection terminal is set to a host mode,
storing the port number of the first connection terminal in the memory;
transmitting a control mode request to a second electronic device connected to the first connection terminal;
Upon receiving the response to the control mode request, the second electronic device requests information on a plurality of connection terminals included in the second electronic device,
allocating a port number to each of the plurality of connection terminals included in the second electronic device as information on the plurality of connection terminals is obtained;
and store port numbers assigned to the second electronic device in the memory, and transmit port numbers assigned to the second electronic device to the second electronic device.
제1항에 있어서,
상기 제1 연결 단자 및 상기 복수의 연결 단자들은 USB(universal serial bus) 타입 C 연결 단자에 해당하며,
상기 프로세서는, 상기 복수의 연결 단자들에 대한 정보를 VDM(Vendor Defined Message) 형식으로 상기 제1 연결 단자의 CC 핀(configuration channel pin)을 통하여 획득하도록 구성된, 전자 장치.
According to claim 1,
The first connection terminal and the plurality of connection terminals correspond to a universal serial bus (USB) type C connection terminal,
The processor is configured to acquire information on the plurality of connection terminals in a Vendor Defined Message (VDM) format through a configuration channel pin (CC pin) of the first connection terminal.
제1항에 있어서,
상기 프로세서는,
상기 제1 전자 장치에 포함된 적어도 하나의 연결 단자에 대해 1부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하며,
상기 복수의 연결 단자들에 대해 상기 제1 전자 장치에 포함된 상기 적어도 하나의 연결 단자의 개수보다 1 큰 수부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하도록 구성된, 전자 장치.
According to claim 1,
The processor is
allocating a port number such that the number increases by 1 in order from 1 to at least one connection terminal included in the first electronic device;
and assign a port number to the plurality of connection terminals so that the number sequentially increases by one from a number greater than the number of the at least one connection terminal included in the first electronic device.
제1항에 있어서,
상기 복수의 연결 단자는 상기 제1 연결 단자와 연결된 제2 연결 단자 및 제3 전자 장치와 연결된 제3 연결 단자를 포함하며,
상기 프로세서는, 상기 제3 전자 장치에 포함된 연결 단자들에 대한 연결 단자 정보를 상기 제2 전자 장치로부터 수신함에 따라 상기 제3 전자 장치에 포함된 연결 단자들에 대해 각각 포트 번호를 할당하도록 구성된, 전자 장치.
According to claim 1,
The plurality of connection terminals include a second connection terminal connected to the first connection terminal and a third connection terminal connected to a third electronic device,
The processor is configured to allocate a port number to each of the connection terminals included in the third electronic device in response to receiving connection terminal information on the connection terminals included in the third electronic device from the second electronic device , electronic devices.
제4항에 있어서,
상기 프로세서는:
상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 메모리에 저장하고,
상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 제2 전자 장치를 통하여 상기 제3 전자 장치에게 전달하도록 구성된, 전자 장치.
5. The method of claim 4,
The processor is:
storing port numbers assigned to connection terminals included in the third electronic device in the memory;
and transmit port numbers assigned to connection terminals included in the third electronic device to the third electronic device through the second electronic device.
제1항에 있어서,
상기 제1 전자 장치는 디스플레이 장치를 더 포함하며,
상기 프로세서는, 상기 메모리에 저장된 포트 번호 정보를 기반으로, 상기 제2 전자 장치의 상기 복수의 연결 단자들 중에서 상기 전자 장치에서 제어 가능한 연결 단자들의 리스트를 상기 디스플레이 장치에 표시하도록 구성된, 전자 장치.
According to claim 1,
The first electronic device further includes a display device,
The processor is configured to display a list of connection terminals controllable by the electronic device among the plurality of connection terminals of the second electronic device on the display device based on the port number information stored in the memory.
제6항에 있어서,
상기 리스트에 대한 사용자의 선택 입력이 수신됨에 따라, 선택된 연결 단자를 포함하는 연결 단자 선택 명령을 상기 제2 전자 장치에게 전송하도록 구성된, 전자 장치.
7. The method of claim 6,
and transmit a connection terminal selection command including the selected connection terminal to the second electronic device in response to a user's selection input for the list being received.
제1항에 있어서,
상기 제1 전자 장치는 제4 연결 단자를 더 포함하며,
상기 프로세서는:
상기 제어 모드가 종료된 후, 상기 제4 연결 단자에 연결된 제4 전자 장치로부터 제어 모드 요청을 수신함에 따라 상기 제4 전자 장치에게 수락 응답을 전송하고,
상기 수락 응답을 전송함에 따라 상기 제어 모드를 시작하며,
상기 제1 연결 단자 및 상기 제4 연결 단자를 클라이언트(client)모드로 설정하도록 구성된, 전자 장치.
According to claim 1,
The first electronic device further includes a fourth connection terminal,
The processor is:
After the control mode is terminated, when a control mode request is received from the fourth electronic device connected to the fourth connection terminal, an acceptance response is transmitted to the fourth electronic device;
initiating the control mode by sending the accept response;
and set the first connection terminal and the fourth connection terminal to a client mode.
제8항에 있어서,
상기 프로세서는, 상기 제4 전자 장치로부터 상기 제1 연결 단자를 선택하는 연결 단자 선택 명령을 수신함에 따라, 상기 제1 연결 단자와 상기 제4 연결 단자의 데이터 라인(data line) 및 CC 라인(configuration channel line) 중 적어도 하나를 연결하도록 구성된, 전자 장치.
9. The method of claim 8,
When the processor receives a connection terminal selection command for selecting the first connection terminal from the fourth electronic device, a data line and a configuration of a data line and a CC line between the first connection terminal and the fourth connection terminal channel line) configured to connect at least one of the electronic devices.
제9항에 있어서,
상기 프로세서는:
상기 제4 전자 장치로부터 수신한 상기 제1 연결 단자 및 상기 제4 연결 단자의 포트 번호 정보를 상기 메모리에 저장하고,
상기 제1 연결 단자를 호스트 모드로 변경하며,
상기 제1 연결 단자와 연결된 상기 제2 전자 장치에게 제어 모드 요청을 전송하고,
상기 제어 모드 요청에 대한 수락 응답을 수신함에 따라 상기 제2 전자 장치에게 상기 제2 전자 장치의 상기 복수의 연결 단자들에 대한 정보를 요청하며,
상기 제2 전자 장치로부터 수신한 연결 단자에 대한 정보를 상기 제4 전자 장치에게 전송하고,
상기 제4 전자 장치로부터 수신한 상기 제2 전자 장치의 상기 복수의 연결 단자들에게 할당된 포트 번호 정보를 상기 제2 전자 장치에게 전송하도록 구성된, 전자 장치.
10. The method of claim 9,
The processor is:
storing port number information of the first connection terminal and the fourth connection terminal received from the fourth electronic device in the memory;
changing the first connection terminal to a host mode,
transmitting a control mode request to the second electronic device connected to the first connection terminal;
Upon receiving an acceptance response to the control mode request, the second electronic device requests information on the plurality of connection terminals of the second electronic device,
transmitting information on the connection terminal received from the second electronic device to the fourth electronic device;
and transmit port number information assigned to the plurality of connection terminals of the second electronic device received from the fourth electronic device to the second electronic device.
제1 전자 장치의 동작 방법에 있어서,
사용자에 의해 제어 모드가 선택됨에 따라 상기 제1 전자 장치? 제1 연결 단자를 호스트(host) 모드로 설정하며,
상기 제1 연결 단자의 포트 번호를 상기 제1 전자 장치의 메모리에 저장하고,
상기 제1 연결 단자에 연결된 제2 전자 장치에게 제어 모드 요청을 전송하며,
상기 제어 모드 요청에 대한 응답을 수신 함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들에 대한 정보를 상기 제2 전자 장치에게 요청하고,
상기 복수의 연결 단자들에 대한 정보를 획득함에 따라, 상기 제2 전자 장치에 포함된 복수의 연결 단자들 각각에 대해 포트 번호를 할당하며,
상기 제2 전자 장치에게 할당된 포트 번호들을 상기 메모리에 저장하고, 상기 제2 전자 장치에게 할당된 포트 번호들을 상기 제2 전자 장치에게 전송하는, 전자 장치의 동작 방법.
In the operating method of the first electronic device,
When a control mode is selected by a user, the first electronic device? Set the first connection terminal to host mode,
storing the port number of the first connection terminal in a memory of the first electronic device;
transmitting a control mode request to a second electronic device connected to the first connection terminal;
Upon receiving the response to the control mode request, the second electronic device requests information on a plurality of connection terminals included in the second electronic device,
allocating a port number to each of the plurality of connection terminals included in the second electronic device as information on the plurality of connection terminals is obtained;
The method of operating an electronic device, wherein the port numbers assigned to the second electronic device are stored in the memory, and the port numbers assigned to the second electronic device are transmitted to the second electronic device.
제11항에 있어서,
상기 제1 연결 단자 및 상기 복수의 연결 단자들은 USB(universal serial bus) 타입 C 연결 단자에 해당하는, 전자 장치의 동작 방법.
12. The method of claim 11,
The method of operating an electronic device, wherein the first connection terminal and the plurality of connection terminals correspond to a universal serial bus (USB) type C connection terminal.
제11항에 있어서,
상기 제1 전자 장치에 포함된 적어도 하나의 연결 단자에 대해 1부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하며,
상기 복수의 연결 단자들에 대해 상기 제1 전자 장치에 포함된 상기 적어도 하나의 연결 단자의 개수보다 1 큰 수부터 차례로 숫자가 1씩 증가하도록 포트 번호를 할당하는, 전자 장치의 동작 방법.
12. The method of claim 11,
allocating a port number such that the number increases by 1 in order from 1 to at least one connection terminal included in the first electronic device;
Allocating port numbers to the plurality of connection terminals such that the number sequentially increases by one from a number greater than the number of the at least one connection terminal included in the first electronic device.
제11항에 있어서,
상기 복수의 연결 단자는 상기 제1 연결 단자와 연결된 제2 연결 단자 및 제3 전자 장치와 연결된 제3 연결 단자를 포함하며,
상기 제3 전자 장치에 포함된 연결 단자들에 대한 연결 단자 정보를 상기 제2 전자 장치로부터 수신함에 따라 상기 제3 전자 장치에 포함된 연결 단자들에 대해 각각 포트 번호를 할당하는, 전자 장치의 동작 방법.
12. The method of claim 11,
The plurality of connection terminals include a second connection terminal connected to the first connection terminal and a third connection terminal connected to a third electronic device,
Allocating a port number to each of the connection terminals included in the third electronic device in response to receiving connection terminal information on the connection terminals included in the third electronic device from the second electronic device Way.
제14항에 있어서,
상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 메모리에 저장하고,
상기 제3 전자 장치에 포함된 연결 단자들에게 할당된 포트 번호들을 상기 제2 전자 장치를 통하여 상기 제3 전자 장치에게 전달하도록 구성된, 전자 장치.
15. The method of claim 14,
storing port numbers assigned to connection terminals included in the third electronic device in the memory;
and transmit port numbers assigned to connection terminals included in the third electronic device to the third electronic device through the second electronic device.
제11항에 있어서,
상기 제1 전자 장치는 디스플레이 장치를 더 포함하며,
상기 메모리에 저장된 포트 번호 정보를 기반으로, 상기 제2 전자 장치의 상기 복수의 연결 단자들 중에서 상기 전자 장치에서 제어 가능한 연결 단자들의 리스트를 상기 디스플레이 장치에 표시하는, 전자 장치의 동작 방법.
12. The method of claim 11,
The first electronic device further includes a display device,
and displaying a list of connection terminals controllable by the electronic device among the plurality of connection terminals of the second electronic device on the display device based on the port number information stored in the memory.
제16항에 있어서,
상기 리스트에 대한 사용자의 선택 입력이 수신됨에 따라, 선택된 연결 단자를 포함하는 연결 단자 선택 명령을 상기 제2 전자 장치에게 전송하는, 전자 장치의 동작 방법.
17. The method of claim 16,
When a user's selection input for the list is received, a connection terminal selection command including the selected connection terminal is transmitted to the second electronic device.
제11항에 있어서,
상기 제1 전자 장치는 제4 연결 단자를 더 포함하며,
상기 제어 모드가 종료된 후, 상기 제4 연결 단자에 연결된 제4 전자 장치로부터 제어 모드 요청을 수신함에 따라 상기 제4 전자 장치에게 수락 응답을 전송하고,
상기 수락 응답을 전송함에 따라 상기 제어 모드를 시작하며,
상기 제1 연결 단자 및 상기 제4 연결 단자를 클라이언트(client)모드로 설정하도록 구성된, 전자 장치의 동작 방법.
12. The method of claim 11,
The first electronic device further includes a fourth connection terminal,
After the control mode is terminated, when a control mode request is received from the fourth electronic device connected to the fourth connection terminal, an acceptance response is transmitted to the fourth electronic device;
initiating the control mode by sending the accept response;
The method of operating an electronic device, configured to set the first connection terminal and the fourth connection terminal to a client mode.
제18항에 있어서,
상기 제4 전자 장치로부터 상기 제1 연결 단자를 선택하는 연결 단자 선택 명령을 수신함에 따라, 상기 제1 연결 단자와 상기 제4 연결 단자의 데이터 라인(data line) 및 CC 라인(configuration channel line) 중 적어도 하나를 연결하는, 전자 장치의 동작 방법.
19. The method of claim 18,
Upon receiving a connection terminal selection command for selecting the first connection terminal from the fourth electronic device, among a data line and a configuration channel line of the first connection terminal and the fourth connection terminal A method of operating an electronic device for connecting at least one.
제19항에 있어서,
상기 제4 전자 장치로부터 수신한 상기 제1 연결 단자 및 상기 제4 연결 단자의 포트 번호 정보를 상기 메모리에 저장하고,
상기 제1 연결 단자를 호스트 모드로 변경하며,
상기 제1 연결 단자와 연결된 상기 제2 전자 장치에게 제어 모드 요청을 전송하고,
상기 제어 모드 요청에 대한 수락 응답을 수신함에 따라 상기 제2 전자 장치에게 상기 제2 전자 장치의 상기 복수의 연결 단자들에 대한 정보를 요청하며,
상기 제2 전자 장치로부터 수신한 연결 단자에 대한 정보를 상기 제4 전자 장치에게 전송하고,
상기 제4 전자 장치로부터 수신한 상기 제2 전자 장치의 상기 복수의 연결 단자들에게 할당된 포트 번호 정보를 상기 제2 전자 장치에게 전송하는, 전자 장치의 동작 방법.
20. The method of claim 19,
storing port number information of the first connection terminal and the fourth connection terminal received from the fourth electronic device in the memory;
changing the first connection terminal to a host mode,
transmitting a control mode request to the second electronic device connected to the first connection terminal;
Upon receiving an acceptance response to the control mode request, the second electronic device requests information on the plurality of connection terminals of the second electronic device,
transmitting information on the connection terminal received from the second electronic device to the fourth electronic device;
and transmitting port number information allocated to the plurality of connection terminals of the second electronic device received from the fourth electronic device to the second electronic device.
KR1020210048652A 2021-04-14 2021-04-14 Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof KR20220142202A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210048652A KR20220142202A (en) 2021-04-14 2021-04-14 Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof
PCT/KR2022/005295 WO2022220551A1 (en) 2021-04-14 2022-04-12 Electronic device providing multi-connection control method using usb type-c connection terminal, and method for operating same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210048652A KR20220142202A (en) 2021-04-14 2021-04-14 Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof

Publications (1)

Publication Number Publication Date
KR20220142202A true KR20220142202A (en) 2022-10-21

Family

ID=83640475

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210048652A KR20220142202A (en) 2021-04-14 2021-04-14 Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof

Country Status (2)

Country Link
KR (1) KR20220142202A (en)
WO (1) WO2022220551A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100515384B1 (en) * 2003-10-23 2005-09-14 주식회사 포인칩스 Method for community of USB memory device's data
EP2556648A4 (en) * 2010-01-12 2013-12-11 Silicon Image Inc Multi-media usb data transfer over digital interaction interface for video and audio (diiva)
KR101251250B1 (en) * 2011-07-01 2013-04-08 알서포트 주식회사 System for performing remote control using remote device driver and method for performing the same
KR101251212B1 (en) * 2011-07-07 2013-04-08 알서포트 주식회사 Method for performing remote control for usb device and system for performing the same
US10733135B2 (en) * 2017-04-03 2020-08-04 Futurewei Technologies, Inc. Universal serial bus network switch

Also Published As

Publication number Publication date
WO2022220551A1 (en) 2022-10-20

Similar Documents

Publication Publication Date Title
US20220179536A1 (en) Electronic device using electronic pen and method thereof
EP4243369A1 (en) Electronic device for wireless communication and operation method thereof
KR20220054108A (en) Method and electronic device for providing fast charging
KR20220142202A (en) Electronic device providing method of multi-connection contol by using usb type-c connecting terminal and method of operation therof
KR20210146082A (en) Electronic device for wireless communication and method for operation in the electronic device for wireless communication
US20220095297A1 (en) Electronic device for direct communication with external electronic device and operating method thereof
EP4354301A1 (en) Electronic device and operation method of electronic device
US20230403389A1 (en) Electronic device for providing ar/vr environment, and operation method thereof
US20230273763A1 (en) Electronic device, and audio output mode configuration method according to connection to plurality of audio output devices
US20230308880A1 (en) Electronic device and method for operating electronic device
US20230224397A1 (en) Electronic device and method for providing user interface during call
KR20220020575A (en) Electronic device and method for controlling bluetooth connection in the electronic device
KR20230011795A (en) Electronic device displaying widget and method for controlling the same
KR20230019632A (en) Method and apparatus for applying theme to a pluarity of electronic device
KR20230090198A (en) Electronic device for wlan communication with a plurality of external devices and operating method thereof
KR20230045450A (en) An electronic device for controlling at least one input device and control method thereof
KR20220040639A (en) Electronic device for direct communication with external electronic device and operating method thereof
KR20230014479A (en) Method of displaying integrated screen and electronic device supporting the same
KR20220139684A (en) Method for managing storage space and electronic device supporting the same
KR20230072878A (en) Method for receiving input generated from external input device and electronic device thereof
KR20220144119A (en) Electronic apparatus and mothod for controlling electronic devices
KR20230023397A (en) Electronic device and operation method thereof
KR20220078929A (en) Electronic device using electronic pen and method thereof
KR20220101434A (en) Method for operating service and electronic device supporting the same
KR20230049421A (en) Electronic device for processing data and method thereof

Legal Events

Date Code Title Description
A201 Request for examination