KR20230045488A - Method for connecting external electronic device and electronic device supporting the same - Google Patents

Method for connecting external electronic device and electronic device supporting the same Download PDF

Info

Publication number
KR20230045488A
KR20230045488A KR1020210149765A KR20210149765A KR20230045488A KR 20230045488 A KR20230045488 A KR 20230045488A KR 1020210149765 A KR1020210149765 A KR 1020210149765A KR 20210149765 A KR20210149765 A KR 20210149765A KR 20230045488 A KR20230045488 A KR 20230045488A
Authority
KR
South Korea
Prior art keywords
electronic device
signal
processor
connector
module
Prior art date
Application number
KR1020210149765A
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 삼성전자주식회사
Publication of KR20230045488A publication Critical patent/KR20230045488A/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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI 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/0026PCI express
    • 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]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present invention relates to an electronic device connected to a connector included in an outer electronic device. Various embodiments of the present invention can provide a connection method for an outer electronic device, capable of supporting a hot plug-in function even when the outer electronic device, such as a module M.2 is mounted on the connector after power is applied to the electronic device, and the electronic device supporting the same. The electronic device includes: a power supply module; a processor; a first circuit receiving a first signal related to power control of the electronic device generated in the processor of the outer electronic device and a second signal output from the power supply module while the electronic device is mounted on the connector, and transmitting a third signal related to the power control of the electronic device to the processor; a second circuit generating a fourth signal related to reset of the electronic device by receiving the power from the power supply module; and a third circuit receiving the fourth signal generated in the second circuit and a fifth signal related to the reset of the electronic device generated in the processor of the outer electronic device and transmitting a sixth signal related to the reset of the electronic device to the processor. Other embodiments identified through the present document are possible.

Description

외부 전자 장치의 연결 방법 및 이를 지원하는 전자 장치{Method for connecting external electronic device and electronic device supporting the same}Method for connecting external electronic device and electronic device supporting the same

본 발명의 다양한 실시예들은, 외부 전자 장치의 연결 기술에 관한 것이다.Various embodiments of the present disclosure relate to a technology for connecting an external electronic device.

디지털 기술의 발달과 함께 스마트폰(smartphone), PC(personal computer), 또는 랩톱(laptop)과 같은 전자 장치는 다양한 형태의 데이터 처리 및 통신 지원을 위해 전자 장치 내의 구성요소들 간의 연결 및 통신을 지원할 뿐만 아니라 외부 장치와의 연결 및 통신을 지원할 수 있는 인터페이스를 제공할 수 있다. 이러한 인터페이스는 호스트 장치(host device)와의 연결을 위한 물리적인 커넥터(connector)를 포함할 수 있다. 예를 들어, 전자 장치 내의 메인 보드(main board) 상에 커넥터가 배치될 있으며, 상기 커넥터에 슬레이브 장치(slave device)가 장착되면, 상기 슬레이브 장치는 상기 메인 보드(호스트 장치)와 연결되어 데이터 송수신을 위한 통신을 수행할 수 있다.With the development of digital technology, electronic devices such as smartphones, PCs (personal computers), or laptops support connection and communication between components within the electronic devices for various types of data processing and communication support. In addition, an interface capable of supporting connection and communication with an external device may be provided. This interface may include a physical connector for connection with a host device. For example, a connector may be disposed on a main board in an electronic device, and when a slave device is mounted on the connector, the slave device is connected to the main board (host device) to transmit and receive data. can perform communication for

한편, 전자 장치는 전원이 인가된 후, USB(universal serial bus) 장치와 같은 외부 장치가 커넥터에 장착되었을 때, USB 장치의 정상적인 동작을 위해 핫 플러그 인(hot plug in) 기능을 제공할 수 있다. 예를 들어, 전자 장치에 전원이 인가되어 전자 장치의 초기화 동작이 완료된 후에 USB 장치가 장착되더라도, 핫 플러그 인 기능을 통해 USB 장치는 전자 장치와 정상적으로 연결되어 데이터를 송수신할 수 있다.Meanwhile, the electronic device may provide a hot plug in function for normal operation of the USB device when an external device such as a universal serial bus (USB) device is mounted on the connector after power is applied. . For example, even if a USB device is mounted after power is applied to the electronic device and an initialization operation of the electronic device is completed, the USB device can be normally connected to the electronic device and transmit/receive data through a hot plug-in function.

그러나, 기존의 전자 장치는 USB 신호(예: USB Tx/Rx serial signal) 외에 PCIe(peripheral component interconnect express) 신호 및 GPIO(general-purpose input/output) 신호에 대해서는 핫 플러그 인 기능을 지원하지 않을 수 있다. 이에 따라, 기존의 전자 장치는 내부의 버스 인터페이스(bus interface)로 PCIe를 사용하는 M.2 인터페이스를 지원하는 M.2 모듈이 전자 장치에 전원이 인가된 후 커넥터에 장착되는 경우에는, 핫 플러그 인 기능을 정상적으로 수행하지 못할 수 있다. 이 경우, 전자 장치는 M.2 모듈을 정상적으로 인식하지 못할 수 있고, 전자 장치의 커넥터에 연결된 각종 신호의 신호 전압 상태에 따라 M.2 모듈 또는 전자 장치의 신호선에 전기적인 손상이 가해질 수 있다.However, conventional electronic devices may not support the hot plug-in function for PCIe (peripheral component interconnect express) signals and GPIO (general-purpose input/output) signals in addition to USB signals (e.g., USB Tx/Rx serial signals). there is. Accordingly, when an M.2 module supporting an M.2 interface using PCIe as an internal bus interface is mounted on a connector after power is applied to the electronic device, the existing electronic device is hot-pluggable. function may not be performed normally. In this case, the electronic device may not normally recognize the M.2 module, and electrical damage may be applied to the M.2 module or the signal line of the electronic device depending on the signal voltage state of various signals connected to the connector of the electronic device.

본 발명의 다양한 실시예들은, M.2 모듈과 같은 외부 전자 장치가 전자 장치에 전원이 인가된 후 커넥터에 장착되더라도 핫 플러그 인 기능을 지원할 수 있는 외부 전자 장치의 연결 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments of the present invention are a method for connecting an external electronic device capable of supporting a hot plug-in function even when an external electronic device such as an M.2 module is mounted in a connector after power is applied to the electronic device, and an electronic device supporting the same can provide.

본 발명의 다양한 실시예에 따른 외부 전자 장치에 포함된 커넥터에 연결되는 전자 장치는, 전원 공급 모듈, 프로세서, 상기 전자 장치가 상기 커넥터에 장착된 상태에서, 상기 외부 전자 장치의 프로세서에서 발생된 상기 전자 장치의 전원 제어와 관련된 제1 신호 및 상기 전원 공급 모듈로부터 출력된 제2 신호를 수신하고, 상기 프로세서로 상기 전자 장치의 전원 제어와 관련된 제3 신호를 전달하는 제1 회로, 상기 전원 공급 모듈로부터 전원을 공급받아 상기 전자 장치의 리셋과 관련된 제4 신호를 발생시키는 제2 회로, 및 상기 제2 회로에서 발생된 상기 제4 신호 및 상기 외부 전자 장치의 프로세서에서 발생된 상기 전자 장치의 리셋과 관련된 제5 신호를 수신하고, 상기 프로세서로 상기 전자 장치의 리셋과 관련된 제6 신호를 전달하는 제3 회로를 포함할 수 있다.An electronic device connected to a connector included in an external electronic device according to various embodiments of the present disclosure includes a power supply module, a processor, and the electronic device generated by the processor of the external electronic device while the electronic device is mounted on the connector. A first circuit that receives a first signal related to power control of an electronic device and a second signal output from the power supply module, and transfers a third signal related to power control of the electronic device to the processor, the power supply module A second circuit that receives power from the circuit and generates a fourth signal related to the reset of the electronic device, and the fourth signal generated from the second circuit and the reset of the electronic device generated from the processor of the external electronic device and a third circuit for receiving a fifth signal related to and transmitting a sixth signal related to reset of the electronic device to the processor.

또한, 본 발명의 다양한 실시예에 따른 전자 장치는, 전원 공급 모듈, 외부 전자 장치의 연결을 위한 커넥터, 및 프로세서를 포함하고, 상기 프로세서는, 상기 전원 공급 모듈로부터 전원이 인가되면, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하고, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있다는 판단에 기반하여, 상기 외부 전자 장치로 전원 제어와 관련된 제1 신호 및 리셋 제어와 관련된 제2 신호를 전송하고, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있지 않다는 판단에 기반하여, 상기 커넥터에 연결되는 신호선들 중 적어도 하나의 신호선을 격리하도록 설정될 수 있다.In addition, an electronic device according to various embodiments of the present invention includes a power supply module, a connector for connecting an external electronic device, and a processor, and the processor, when power is applied from the power supply module, connects to the connector. It is determined whether the external electronic device is mounted, and based on the determination that the external electronic device is mounted in the connector, a first signal related to power control and a second signal related to reset control are transmitted to the external electronic device. and isolate at least one signal line among signal lines connected to the connector based on a determination that the external electronic device is not mounted in the connector.

또한, 본 발명의 다양한 실시예에 따른 외부 전자 장치의 연결 방법은, 전자 장치에 전원이 인가되면, 상기 전자 장치의 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있다는 판단에 기반하여, 상기 외부 전자 장치로 전원 제어와 관련된 제1 신호 및 리셋 제어와 관련된 제2 신호를 전송하는 동작, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있지 않다는 판단에 기반하여, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 적어도 하나의 신호선을 격리하는 동작을 포함할 수 있다.In addition, a method for connecting an external electronic device according to various embodiments of the present disclosure includes an operation of determining whether the external electronic device is mounted in a connector of the electronic device when power is applied to the electronic device, and the external electronic device is connected to the connector. An operation of transmitting a first signal related to power control and a second signal related to reset control to the external electronic device based on the determination that the electronic device is mounted, and the determination that the external electronic device is not mounted to the connector Based on this, an operation of isolating at least one signal line among signal lines of a processor of the electronic device connected to the connector may be included.

본 발명의 다양한 실시예들에 따르면, 외부 전자 장치에 대한 핫 플러그 인 기능을 통해 M.2 모듈과 같은 외부 전자 장치가 내장되는 전자 장치의 조립 공정 또는 분해 후 재 조립 공정에서의 외부 전자 장치의 정상적인 동작 수행을 지원할 수 있다.According to various embodiments of the present disclosure, through a hot plug-in function for an external electronic device, an external electronic device in an assembly process or a reassembly process after disassembly of an electronic device in which an external electronic device such as an M.2 module is embedded is installed. Normal operation can be supported.

또한, 본 발명의 다양한 실시예들에 따르면, 외부 전자 장치에 대한 핫 플러그 인 기능을 통해 M.2 모듈을 포함하는 외부 전자 장치의 장착 시 외부 전자 장치의 정상적인 동작 수행을 지원할 수 있다.In addition, according to various embodiments of the present invention, normal operation of the external electronic device can be supported when the external electronic device including the M.2 module is mounted through a hot plug-in function for the external electronic device.

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

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 전자 장치 및 전자 장치에 연결되는 M.2 모듈을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 M.2 모듈의 장착 여부에 따른 전자 장치의 운용 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른 전자 장치에 전원이 인가된 후 M.2 모듈 장착 시 전자 장치의 운용 방법을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른 M.2 모듈의 운용 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 일 실시예에 따른 호스트 장치와 M.2 모듈의 연결 과정에서의 장치 상태를 설명하기 위한 도면이다.
도 7은 본 발명의 일 실시예에 따른 전자 장치에 내장되는 M.2 모듈을 설명하기 위한 도면이다.
도 8은 본 발명의 일 실시예에 따른 M.2 모듈을 포함하는 외부 장치를 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시예에 따른 M.2 모듈을 포함하는 다른 외부 장치를 설명하기 위한 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a diagram for explaining an electronic device and an M.2 module connected to the electronic device according to an embodiment of the present invention.
3 is a diagram for explaining a method of operating an electronic device depending on whether an M.2 module is mounted or not according to an embodiment of the present invention.
4 is a diagram for explaining a method of operating an electronic device when an M.2 module is mounted after power is applied to the electronic device according to an embodiment of the present invention.
5 is a diagram for explaining a method of operating an M.2 module according to an embodiment of the present invention.
6 is a diagram for explaining a device state in a connection process between a host device and an M.2 module according to an embodiment of the present invention.
7 is a diagram for explaining an M.2 module embedded in an electronic device according to an embodiment of the present invention.
8 is a diagram for explaining an external device including an M.2 module according to an embodiment of the present invention.
9 is a diagram for explaining another external device including an M.2 module according to an embodiment of the present invention.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar elements.

이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 본 발명이 반드시 도시된 바에 의해 한정되는 것은 아니다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. For convenience of explanation, the size of the elements shown in the drawings may be exaggerated or reduced, and the present invention is not necessarily limited by the drawings.

도 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 within 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 through a second network 199. It may communicate with at least one of 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, an audio output module 155, a display module 160, an audio module 170, 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 the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It 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, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 includes a 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 ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as 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, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, 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 one embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of other functionally related components (eg, the camera module 180 or the communication module 190). there is. 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. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model 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 foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(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, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or 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 of the electronic device 101 (eg, a user). 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 sound signals 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. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

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

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

센서 모듈(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 detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one 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 may be physically connected to an external electronic device (eg, the electronic device 102). According to one 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 electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one 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 one 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 one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(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, the 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). Establishment and communication through the established communication channel may be supported. 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 may be a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, a : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module 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, a legacy communication module). 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 telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). 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, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. 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 technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 may be used to realize 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 of 0.5 ms or less, or round trip 1 ms or less) may 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 signals or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one 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 selected from the plurality of antennas by the communication module 190, for example. can be chosen 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)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(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 includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a bottom surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) 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 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, commands 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 part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , and 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving 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 deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, 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. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2는 본 발명의 일 실시예에 따른 전자 장치 및 전자 장치에 연결되는 M.2 모듈을 설명하기 위한 도면이다.2 is a diagram for explaining an electronic device and an M.2 module connected to the electronic device according to an embodiment of the present invention.

도 2를 참조하면, 전자 장치(210)(예: 도 1의 전자 장치(101))는 프로세서(211)(예: 도 1의 프로세서(120)), 전원 공급 모듈(212)(예: 도 1의 전력 관리 모듈(188)), 제1 메모리(213)(예: 도 1의 비휘발성 메모리(134)), 제2 메모리(214)(예: 도 1의 휘발성 메모리(132)), 커넥터(215)(예: 도 1의 연결 단자(178)) 및 통신 모듈(216)(예: 도 1의 통신 모듈(190))을 포함할 수 있다. 그러나, 상기 전자 장치(210)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 전자 장치(210)는 상술한 구성요소들 중 적어도 하나를 생략할 수 있고, 적어도 하나의 다른 구성요소를 더 포함할 수 있다. 일 예로, 상기 전자 장치(210)는 상기 통신 모듈(216)을 생략할 수 있다. 다른 예로, 상기 전자 장치(210)는 오디오 모듈, 디스플레이, 입력 모듈 또는 입출력 장치와 같은 여러 장치(217)를 더 포함할 수 있다.Referring to FIG. 2 , an electronic device 210 (eg, the electronic device 101 of FIG. 1 ) includes a processor 211 (eg, the processor 120 of FIG. 1 ), a power supply module 212 (eg, the electronic device 101 of FIG. 1 ). 1 power management module 188), a first memory 213 (eg, non-volatile memory 134 of FIG. 1), a second memory 214 (eg, volatile memory 132 of FIG. 1), a connector 215 (eg, connection terminal 178 of FIG. 1) and a communication module 216 (eg, communication module 190 of FIG. 1). However, the configuration of the electronic device 210 is not limited thereto. According to various embodiments, the electronic device 210 may omit at least one of the above-described components and may further include at least one other component. For example, the electronic device 210 may omit the communication module 216 . As another example, the electronic device 210 may further include several devices 217 such as an audio module, a display, an input module, or an input/output device.

상기 프로세서(211)는 상기 전자 장치(210)의 적어도 하나의 구성요소를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서(211)는 다른 구성요소로부터 수신된 명령 또는 데이터를 상기 제2 메모리(214)에 저장하고, 상기 제2 메모리(214)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 상기 제1 메모리(213)에 저장할 수 있다. 또한, 상기 프로세서(211)는 상기 제2 메모리(214)에 저장된 명령어를 실행함으로써, 상기 커넥터(215)에 장착되는 M.2 모듈(230)의 연결과 관련된 기능을 수행할 수 있다.The processor 211 may control at least one component of the electronic device 210 and may perform various data processing or calculations. According to one embodiment, the processor 211 stores commands or data received from other components in the second memory 214, processes the commands or data stored in the second memory 214, and results Data may be stored in the first memory 213 . In addition, the processor 211 may perform a function related to connection of the M.2 module 230 mounted on the connector 215 by executing a command stored in the second memory 214 .

일 실시예에 따르면, 상기 프로세서(211)는 상기 M.2 모듈(230)과 연결되면, 상기 M.2 모듈(230)의 전원을 제어하는 신호(전원 제어 신호)(261), 상기 M.2 모듈(230)의 리셋을 제어하는 신호(리셋 제어 신호)(262), USB 신호(271), PCIe 제어 신호(281, 282, 283), PCIe Tx/Rx/clock 신호(284, 285, 286), 및 GPIO 신호(287) 중 적어도 하나를 통해 상기 M.2 모듈(230)과의 통신을 포함하여 다양한 동작을 수행할 수 있다.According to an embodiment, when the processor 211 is connected to the M.2 module 230, a signal (power control signal) 261 for controlling the power of the M.2 module 230, the M. 2 Signal for controlling reset of module 230 (reset control signal) 262, USB signal 271, PCIe control signal 281, 282, 283, PCIe Tx/Rx/clock signal 284, 285, 286 ), and GPIO signal 287 through at least one of the M.2 module 230 and can perform various operations, including communication.

일 실시예에 따르면, 상기 프로세서(211)는 상기 M.2 모듈(230)의 프로세서(231)에 PCIe 버스 등을 통해 신호를 전송하여 상기 M.2 모듈(230)의 장착 여부를 식별할 수 있다. 예를 들어, 상기 프로세서(211)는 상기 M.2 모듈(230)의 PCIe 버스에 대응되는 입출력 단자와 연결되는 입출력 단자를 통한 신호(예: PCIe Tx/Rx/clock 신호(284, 285, 286))를 이용하여 상기 M.2 모듈(230)의 장착 여부를 식별할 수 있다.According to an embodiment, the processor 211 may transmit a signal to the processor 231 of the M.2 module 230 through a PCIe bus to identify whether the M.2 module 230 is mounted. there is. For example, the processor 211 receives a signal through an input/output terminal connected to an input/output terminal corresponding to the PCIe bus of the M.2 module 230 (eg, a PCIe Tx/Rx/clock signal (284, 285, 286) )), it is possible to identify whether the M.2 module 230 is mounted.

일 실시예에 따르면, 상기 프로세서(211)는 상기 M.2 모듈(230)이 장착되어 있는 경우, 상기 M.2 모듈(230)에 전원 제어 신호(261) 및 리셋 제어 신호(262)를 인가(예: 'High' 신호 전송)할 수 있다. 또한, 상기 프로세서(211)는 상기 M.2 모듈(230)의 프로세서(231)와 통신하여 상기 M.2 모듈(230)과의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 프로세서(211)는 상기 M.2 모듈(230)의 프로세서(231)와의 PCIe 버스 통신을 위한 파라미터(parameter) 값을 설정할 수 있다.According to an embodiment, the processor 211 applies a power control signal 261 and a reset control signal 262 to the M.2 module 230 when the M.2 module 230 is mounted. (e.g. 'High' signal transmission). In addition, the processor 211 may communicate with the processor 231 of the M.2 module 230 to initialize the connection with the M.2 module 230. For example, the processor 211 may set a parameter value for PCIe bus communication with the processor 231 of the M.2 module 230.

일 실시예에 따르면, 상기 프로세서(211)는 상기 M.2 모듈(230)이 장착되어 있지 않은 경우, 상기 M.2 모듈(230)에 전원 제어 신호(261) 및 리셋 제어 신호(262)를 미인가(예: 'Low' 신호 전송)할 수 있다. 또한, 상기 프로세서(211)는 상기 커넥터(215)에 연결되는 신호선들 중 적어도 하나의 신호선을 격리(isolation)할 수 있다. 일 예로, 상기 프로세서(211)는 USB 신호선을 제외한 PCIe 신호선들 및 GPIO 신호선을 하이 임피던스(Hi-Z, high impedance) 상태로 설정하여 격리할 수 있다. 이에 따라, 상기 프로세서(211)는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈(230)이 상기 커넥터(215)에 장착되었을 때, 상기 커넥터(215)에 연결되는 신호선들이 출력으로 설정되어 있는 경우 발생할 수 있는 누설(leakage)로 인한 오동작 및 손상(damage)을 방지할 수 있다.According to one embodiment, the processor 211 sends a power control signal 261 and a reset control signal 262 to the M.2 module 230 when the M.2 module 230 is not installed. It can be unapproved (e.g. 'Low' signal transmission). Also, the processor 211 may isolate at least one signal line among signal lines connected to the connector 215 . For example, the processor 211 may isolate the PCIe signal lines and the GPIO signal line except for the USB signal line by setting them to a high impedance (Hi-Z) state. Accordingly, when power is applied to the processor 211 and the M.2 module 230 is mounted on the connector 215 during operation, the signal lines connected to the connector 215 are set to output. Malfunction and damage due to possible leakage can be prevented.

일 실시예에 따르면, 상기 프로세서(211)는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈(230)이 상기 커넥터(215)에 장착되면, 상기 M.2 모듈(230)에 전원 제어 신호(261) 및 리셋 제어 신호(262)를 인가(예: 'High' 신호 전송)할 수 있다. 또한, 상기 프로세서(211)는 상기 커넥터(215)에 연결되는 신호선들 중 격리된 적어도 하나의 신호선을 격리 해제할 수 있다. 일 예로, 상기 프로세서(211)는 격리된 PCIe 신호선들 및 GPIO 신호선을 하이 임피던스 상태에서 해제하고, 각 신호선이 미리 정의된 기능을 수행할 수 있도록 대응되는 핀(pin)의 상태를 설정할 수 있다. 상기 핀의 상태는 예를 들어, input, output, 또는 bi-direction을 포함할 수 있다. 또한, 상기 프로세서(211)는 상기 M.2 모듈(230)의 프로세서(231)와 통신하여 상기 M.2 모듈(230)과의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 프로세서(211)는 상기 M.2 모듈(230)의 프로세서(231)와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 이에 따라, 상기 프로세서(211)는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈(230)이 상기 커넥터(215)에 장착되면, 상술한 핫 플러그 인 기능을 통해 상기 M.2 모듈(230)을 정상적으로 인식할 수 있으며, 상기 M.2 모듈(230)의 정상적인 동작 수행을 지원할 수 있다.According to one embodiment, when power is applied to the processor 211 and the M.2 module 230 is mounted on the connector 215 while performing an operation, the M.2 module 230 receives a power control signal ( 261) and the reset control signal 262 may be applied (eg, 'High' signal transmission). Also, the processor 211 may release at least one isolated signal line from among signal lines connected to the connector 215 . For example, the processor 211 may release the isolated PCIe signal lines and GPIO signal lines from a high impedance state, and set a corresponding pin state so that each signal line can perform a predefined function. The state of the pin may include, for example, input, output, or bi-direction. In addition, the processor 211 may communicate with the processor 231 of the M.2 module 230 to initialize the connection with the M.2 module 230. For example, the processor 211 may set parameter values for PCIe bus communication with the processor 231 of the M.2 module 230 . Accordingly, when power is applied to the processor 211 and the M.2 module 230 is mounted on the connector 215 while performing an operation, the M.2 module 230 operates through the hot plug-in function described above. can normally be recognized, and the normal operation of the M.2 module 230 can be supported.

상기 전원 공급 모듈(212)은 상기 전자 장치(210)에 전원을 공급(251)할 수 있다. 예를 들어, 상기 전원 공급 모듈(212)은 상기 전자 장치(210)에 포함된 적어도 하나의 구성요소(예: 상기 프로세서(211))에 전원을 공급(251)할 수 있다. 또한, 상기 전원 공급 모듈(212)은 상기 커넥터(215)에 외부 장치(예: M.2 모듈(230))가 장착되면, 상기 외부 장치에 전원을 공급(252)할 수 있다. 예를 들어, 상기 전원 공급 모듈(212)은 상기 커넥터(215)에 외부 장치(예: M.2 모듈(230))가 장착되면, 상기 외부 장치의 전원 공급 모듈(예: 전원 공급 모듈(232))에 전원을 공급(252)할 수 있다.The power supply module 212 may supply 251 power to the electronic device 210 . For example, the power supply module 212 may supply 251 power to at least one component included in the electronic device 210 (eg, the processor 211). In addition, when an external device (eg, the M.2 module 230) is mounted on the connector 215, the power supply module 212 may supply power to the external device (252). For example, when an external device (eg, M.2 module 230) is mounted on the connector 215, the power supply module 212 may be configured to supply power to the external device (eg, the power supply module 232). )) can be supplied with power (252).

상기 제1 메모리(213) 및 상기 제2 메모리(214)는 상기 전자 장치(210)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 제1 메모리(213) 및 상기 제2 메모리(214)는 상기 M.2 모듈(230)의 연결과 관련된 명령어 및 데이터를 저장할 수 있다. 상기 제1 메모리(213)는 비휘발성 메모리를 포함할 수 있다. 일 실시예에 따르면, 상기 제1 메모리(213)는 운영 체제(operating system)와 관련된 코드(code) 및 파일을 저장할 수 있다. 상기 제2 메모리(214)는 휘발성 메모리를 포함할 수 있다. 일 실시예에 따르면, 상기 제2 메모리(214)는 상기 전자 장치(210)의 부팅 절차 후의 운용 체제와 관련된 코드, 어플리케이션 및 각종 상태(state) 및 컨텍스트(context)를 저장할 수 있다.The first memory 213 and the second memory 214 may store various data used by at least one component of the electronic device 210 . According to an embodiment, the first memory 213 and the second memory 214 may store commands and data related to connection of the M.2 module 230 . The first memory 213 may include a non-volatile memory. According to an embodiment, the first memory 213 may store codes and files related to an operating system. The second memory 214 may include a volatile memory. According to an embodiment, the second memory 214 may store codes, applications, various states, and contexts related to an operating system after a booting procedure of the electronic device 210 .

상기 커넥터(215)는 외부 전자 장치(예: 상기 M.2 모듈(230))가 상기 전자 장치(210)와 연결될 수 있도록 지원할 수 있다. 예를 들어, 상기 외부 전자 장치는 상기 커넥터(215)에 장착되어 상기 전자 장치(210)와 연결될 수 있다. 상기 커넥터(215)는 상기 M.2 모듈(230)이 장착될 수 있는 M.2 슬롯(slot)을 포함할 수 있다.The connector 215 may support an external electronic device (eg, the M.2 module 230) to be connected to the electronic device 210. For example, the external electronic device may be mounted on the connector 215 and connected to the electronic device 210 . The connector 215 may include an M.2 slot into which the M.2 module 230 may be mounted.

상기 통신 모듈(216)은 상기 전자 장치(210)와 외부 전자 장치 간의 통신을 지원할 수 있다. 예를 들어, 상기 통신 모듈(216)은 외부 전자 장치와 규정된 통신 프로토콜에 따른 유선 통신 또는 무선 통신을 수립하고, 신호 또는 데이터를 송수신할 수 있다.The communication module 216 may support communication between the electronic device 210 and an external electronic device. For example, the communication module 216 may establish wired or wireless communication with an external electronic device according to a prescribed communication protocol, and transmit/receive signals or data.

상기 M.2 모듈(230)은 프로세서(231), 전원 공급 모듈(232), 제1 메모리(233), 제2 메모리(234), 제1 회로(235), 제2 회로(236), 제3 회로(237) 및 통신 모듈(239)을 포함할 수 있다. 그러나, 상기 M.2 모듈(230)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 M.2 모듈(230)은 상술한 구성요소들 중 적어도 하나를 생략할 수 있고, 적어도 하나의 다른 구성요소를 더 포함할 수 있다. 일 예로, 상기 M.2 모듈(230)은 상기 통신 모듈(239)을 생략할 수 있다.The M.2 module 230 includes a processor 231, a power supply module 232, a first memory 233, a second memory 234, a first circuit 235, a second circuit 236, 3 may include a circuit 237 and a communication module 239 . However, the configuration of the M.2 module 230 is not limited thereto. According to various embodiments, the M.2 module 230 may omit at least one of the above-described components and may further include at least one other component. For example, the M.2 module 230 may omit the communication module 239.

상기 프로세서(231)는 상기 M.2 모듈(230)의 적어도 하나의 구성요소를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서(231)는 다른 구성요소로부터 수신된 명령 또는 데이터를 상기 제2 메모리(234)에 저장하고, 상기 제2 메모리(234)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 상기 제1 메모리(233)에 저장할 수 있다. 또한, 상기 프로세서(231)는 상기 제2 메모리(234)에 저장된 명령어를 실행함으로써, 상기 M.2 모듈(230)이 상기 전자 장치(210)의 커넥터(215)에 장착되었을 때, 상기 전자 장치(210)와의 연결과 관련된 기능을 수행할 수 있다.The processor 231 may control at least one component of the M.2 module 230 and may perform various data processing or operations. According to one embodiment, the processor 231 stores commands or data received from other components in the second memory 234, processes the commands or data stored in the second memory 234, and results Data may be stored in the first memory 233 . In addition, the processor 231 executes a command stored in the second memory 234, so that when the M.2 module 230 is mounted on the connector 215 of the electronic device 210, the electronic device It can perform functions related to connection with (210).

일 실시예에 따르면, 상기 프로세서(231)는 상기 M.2 모듈(230)이 상기 전자 장치(210)와 연결되면, 상기 전자 장치(210)의 프로세서(211)로부터 전원 제어 신호(261)를 수신하여 전원 온(on) 동작 및 전원 오프(off) 동작을 수행할 수 있다. 또한, 상기 프로세서(231)는 상기 전자 장치(210)의 프로세서(211)로부터 전원 제어 신호(261) 및 리셋 제어 신호(262)를 수신하면, 전원 온 동작 및 초기화 동작을 수행할 수 있다. 또한, 상기 프로세서(231)는 상기 M.2 모듈(230)이 상기 전자 장치(210)와 연결되면, 상기 전자 장치(210)의 프로세서(211)로부터 상기 M.2 모듈(230)의 전원을 제어하는 신호(전원 제어 신호)(261), 상기 M.2 모듈(230)의 리셋을 제어하는 신호(리셋 제어 신호)(262), USB 신호(271), PCIe 제어 신호(281, 282, 283), PCIe Tx/Rx/clock 신호(284, 285, 286), 및 GPIO 신호(287) 중 적어도 하나를 통해 상기 전자 장치(210)와의 통신을 수행할 수 있다.According to an embodiment, the processor 231 receives a power control signal 261 from the processor 211 of the electronic device 210 when the M.2 module 230 is connected to the electronic device 210. By receiving, power on operation and power off operation may be performed. Also, upon receiving the power control signal 261 and the reset control signal 262 from the processor 211 of the electronic device 210, the processor 231 may perform a power-on operation and an initialization operation. Also, when the M.2 module 230 is connected to the electronic device 210, the processor 231 supplies power to the M.2 module 230 from the processor 211 of the electronic device 210. A controlling signal (power control signal) 261, a signal controlling reset of the M.2 module 230 (reset control signal) 262, a USB signal 271, and a PCIe control signal 281, 282, 283 ), PCIe Tx/Rx/clock signals 284, 285, and 286, and GPIO signal 287 to perform communication with the electronic device 210.

상기 전원 공급 모듈(232)은 상기 M.2 모듈(230)에 전원을 공급(253)할 수 있다. 예를 들어, 상기 전원 공급 모듈(232)은 상기 M.2 모듈(230)에 포함된 적어도 하나의 구성요소(예: 상기 프로세서(231))에 전원을 공급(253)할 수 있다.The power supply module 232 may supply 253 power to the M.2 module 230 . For example, the power supply module 232 may supply 253 power to at least one component included in the M.2 module 230 (eg, the processor 231).

상기 제1 메모리(233) 및 상기 제2 메모리(234)는 상기 M.2 모듈(230)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 제1 메모리(233) 및 상기 제2 메모리(234)는 상기 전자 장치(210)의 연결과 관련된 명령어 및 데이터를 저장할 수 있다. 상기 제1 메모리(233)는 비휘발성 메모리를 포함할 수 있다. 일 실시예에 따르면, 상기 제1 메모리(233)는 운영 체제와 관련된 코드를 저장할 수 있다. 상기 제2 메모리(234)는 휘발성 메모리를 포함할 수 있다. 일 실시예에 따르면, 상기 제2 메모리(234)는 상기 M.2 모듈(230)의 부팅 절차 후의 운용 체제와 관련된 코드, 어플리케이션 및 각종 상태 및 컨텍스트를 저장할 수 있다.The first memory 233 and the second memory 234 may store various data used by at least one component of the M.2 module 230 . According to an embodiment, the first memory 233 and the second memory 234 may store commands and data related to connection of the electronic device 210 . The first memory 233 may include a non-volatile memory. According to one embodiment, the first memory 233 may store codes related to an operating system. The second memory 234 may include a volatile memory. According to one embodiment, the second memory 234 may store codes, applications, and various states and contexts related to an operating system after a booting procedure of the M.2 module 230 .

상기 제1 회로(235)는 상기 M.2 모듈(230)이 상기 커넥터(215)에 장착되면, 상기 전자 장치(210)의 프로세서(211)로부터 수신된 전원 제어 신호(261) 및 상기 전자 장치(210)의 전원 공급 모듈(212)로부터 수신된 전원 출력 신호(254)를 입력 신호들로 수신하고, 출력 신호로서 상기 프로세서(231)로 전원 제어 신호(261-1)를 전달할 수 있다. 상기 제1 회로(235)는 상기 입력 신호들 중 적어도 하나가 'High' 신호('1' 값에 대응되는 신호)일 때 'High' 신호를 출력하는 논리합 회로(예: OR gate)를 포함할 수 있다. 이에 따라, 상기 제1 회로(235)는 상기 M.2 모듈(230)이 상기 커넥터(215)에 장착되어 상기 전자 장치(210)의 전원 공급 모듈(212)로부터 전원 출력(252)이 발생되면, 'High' 신호인 전원 출력 신호(254)가 입력되어, 'High' 신호를 출력할 수 있다. 또한, 출력된 'High' 신호는 상기 전원 공급 모듈(232)로 입력됨으로써, 상기 전원 공급 모듈(232)은 상기 M.2 모듈(230)에 전원을 공급(253)할 수 있다.When the M.2 module 230 is mounted on the connector 215, the first circuit 235 receives a power control signal 261 received from the processor 211 of the electronic device 210 and the electronic device The power output signal 254 received from the power supply module 212 of 210 may be received as input signals, and the power control signal 261-1 may be transmitted to the processor 231 as an output signal. The first circuit 235 may include an OR circuit (eg, OR gate) outputting a 'High' signal when at least one of the input signals is a 'High' signal (a signal corresponding to a '1' value). can Accordingly, the first circuit 235 operates when the M.2 module 230 is mounted on the connector 215 and the power output 252 is generated from the power supply module 212 of the electronic device 210. , the power output signal 254, which is a 'High' signal, may be input, and a 'High' signal may be output. In addition, the output 'High' signal is input to the power supply module 232, so that the power supply module 232 can supply power to the M.2 module 230 (253).

상기 제2 회로(236)는 전원 공급 모듈(232)로부터 전원을 공급받아 리셋 신호(262-2)를 발생시켜 상기 제3 회로(237)로 전달할 수 있다. 상기 제3 회로(237)로 입력된 상기 리셋 신호(262-2)는 'Low' 신호('0' 값에 대응되는 신호)로서 일정 시간 후 릴리즈(release)되면 'High' 신호(또는 릴리즈 신호)('1' 값에 대응되는 신호)로 전환될 수 있다. 일 실시예에 따르면, 상기 제2 회로(236)는 적어도 하나의 커패시터 및 적어도 하나의 저항을 포함하는 RC회로를 포함할 수 있다.The second circuit 236 may receive power from the power supply module 232 to generate a reset signal 262 - 2 and transmit it to the third circuit 237 . The reset signal 262-2 input to the third circuit 237 is a 'Low' signal (a signal corresponding to a '0' value), and when released after a certain period of time, a 'High' signal (or a release signal) ) (signal corresponding to '1' value). According to one embodiment, the second circuit 236 may include an RC circuit including at least one capacitor and at least one resistor.

상기 제3 회로(237)는 상기 전자 장치(210)의 프로세서(211)에서 발생된 리셋 제어 신호(262, 262-1) 및 상기 제2 회로(236)에서 발생된 리셋 신호(262-2)(및 릴리즈 신호)를 입력 신호들로 수신하고, 출력 신호로서 상기 프로세서(231)로 리셋 제어 신호(262-3)를 전달할 수 있다. 일 실시예에 따르면, 상기 전자 장치(210)의 프로세서(211)에서 발생된 리셋 제어 신호(262, 262-1)가 상기 제3 회로(237)의 입력단으로 연결되는 신호선은 전원 공급 모듈(232)의 출력단과 연결된 저항 소자(resistor)(238)와 연결될 수 있다. 상기 제3 회로(237)는 상기 입력 신호들이 모두 'High' 신호일 때 'High' 신호를 출력하는 논리곱 회로(예: AND gate)를 포함할 수 있다. 이에 따라, 상기 제3 회로(237)는 상기 전자 장치(210)의 프로세서(211)에서 발생된 리셋 제어 신호(262, 262-1) 또는 상기 제2 회로(236)에서 발생된 리셋 신호(262-2)가 'Low' 신호이면, 'Low' 신호를 출력할 수 있다. 상기 제3 회로(237)에서 'Low' 신호가 출력되면, 상기 프로세서(231)는 리셋되어 초기화될 수 있다. 또한, 상기 제3 회로(237)는 상기 전자 장치(210)의 프로세서(211)에서 발생된 리셋 제어 신호(262, 262-1) 및 상기 제2 회로(236)에서 발생된 리셋 신호(262-2)(또는 릴리즈 신호)가 'High' 신호이면, 'High' 신호를 출력할 수 있다. 상기 제3 회로(237)에서 'High' 신호가 출력되면, 상기 프로세서(231)는 상기 제1 메모리(233)에 저장된 코드 및 상기 제2 메모리(234)를 이용하여 부팅 절차를 진행할 수 있다.The third circuit 237 receives the reset control signals 262 and 262-1 generated from the processor 211 of the electronic device 210 and the reset signal 262-2 generated from the second circuit 236. (and a release signal) may be received as input signals, and the reset control signal 262-3 may be transferred to the processor 231 as an output signal. According to an embodiment, the signal line through which the reset control signals 262 and 262-1 generated by the processor 211 of the electronic device 210 are connected to the input terminal of the third circuit 237 is the power supply module 232 ) may be connected to the resistor 238 connected to the output terminal. The third circuit 237 may include a AND circuit (eg, AND gate) that outputs a 'High' signal when all of the input signals are 'High' signals. Accordingly, the third circuit 237 receives the reset control signals 262 and 262-1 generated from the processor 211 of the electronic device 210 or the reset signal 262 generated from the second circuit 236. If -2) is a 'Low' signal, a 'Low' signal can be output. When a 'Low' signal is output from the third circuit 237, the processor 231 may be reset and initialized. In addition, the third circuit 237 includes the reset control signals 262 and 262-1 generated by the processor 211 of the electronic device 210 and the reset signal 262-1 generated by the second circuit 236. If 2) (or the release signal) is a 'High' signal, a 'High' signal can be output. When a 'High' signal is output from the third circuit 237, the processor 231 may perform a booting procedure using the code stored in the first memory 233 and the second memory 234.

일 실시예에 따르면, 상기 프로세서(231)는 상기 전자 장치(210)의 프로세서(211)로부터 발생된 전원 제어 신호(261)가 상기 제1 회로(235)로 입력되기 전에 분기된 신호(261-2)를 수신할 수 있다. 상기 분기된 신호(261-2)는 상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)에 의한 전원 제어 신호인지(상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)로부터 발생된 전원 제어 신호(261)에 대응되는지)를 식별하는데 이용될 수 있다. 일 예로, 상기 프로세서(231)는 상기 제1 회로(235)로부터 'High' 신호를 수신하고, 상기 분기된 신호(261-2)가 'High' 신호인 경우, 상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)에 의한 전원 제어 신호인 것으로 식별할 수 있다. 다른 예로, 상기 프로세서(231)는 상기 제1 회로(235)로부터 'High' 신호를 수신하고, 상기 분기된 신호(261-2)가 'Low' 신호인 경우, 상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)에 의한 전원 제어 신호가 아닌 것으로 식별할 수 있다.According to an embodiment, the processor 231 generates a branched signal 261- before the power control signal 261 generated from the processor 211 of the electronic device 210 is input to the first circuit 235. 2) can be received. The branched signal 261-2 indicates whether the power control signal 261-1 output from the first circuit 235 is a power control signal by the processor 211 of the electronic device 210 (the first It may be used to identify whether the power control signal 261 - 1 output from the circuit 235 corresponds to the power control signal 261 generated from the processor 211 of the electronic device 210 . For example, the processor 231 receives a 'High' signal from the first circuit 235, and when the branched signal 261-2 is a 'High' signal, from the first circuit 235 It can be identified that the output power control signal 261-1 is a power control signal by the processor 211 of the electronic device 210. As another example, the processor 231 receives a 'High' signal from the first circuit 235, and when the branched signal 261-2 is a 'Low' signal, from the first circuit 235 It may be identified that the output power control signal 261 - 1 is not a power control signal by the processor 211 of the electronic device 210 .

일 실시예에 따르면, 상기 프로세서(231)는 상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)에 의한 전원 제어 신호인 것(상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)로부터 발생된 전원 제어 신호(261)에 대응되는 것)으로 식별되면, 상기 전자 장치(210)의 프로세서(211)와 통신을 지속하여 수행할 있다. 예를 들어, 상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)에 의한 전원 제어 신호인 것으로 식별된다는 것은, 상기 전자 장치(210)의 프로세서(211)에 전원이 인가되기 전에 이미 상기 M.2 모듈(230)이 상기 커넥터(215)에 장착되어 있었다는 것을 의미할 수 있다.According to one embodiment, the processor 231 determines that the power control signal 261-1 output from the first circuit 235 is a power control signal by the processor 211 of the electronic device 210 ( When the power control signal 261-1 output from the first circuit 235 is identified as one corresponding to the power control signal 261 generated from the processor 211 of the electronic device 210), the electronic device 210 Communication with the processor 211 of the device 210 may be continuously performed. For example, if the power control signal 261-1 output from the first circuit 235 is identified as being a power control signal by the processor 211 of the electronic device 210, the electronic device 210 It may mean that the M.2 module 230 was already mounted on the connector 215 before power was applied to the processor 211 of ).

일 실시예에 따르면, 상기 프로세서(231)는 상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)에 의한 전원 제어 신호가 아닌 것(상기 제1 회로(235)로부터 출력된 전원 제어 신호(261-1)가 상기 전자 장치(210)의 프로세서(211)로부터 발생된 전원 제어 신호(261)에 대응되지 않는 것)으로 식별되면, 상기 M.2 모듈(230)의 신호선들 중 USB 신호선을 통해 상기 전자 장치(210)의 프로세서(211)로 연결 요청 신호를 전송할 수 있다. 예를 들어, 상기 프로세서(231)는 상기 전자 장치(210)의 프로세서(211)로 핫 플러그 인과 관련된 USB 표준 프로토콜을 이용하여 연결(attach)을 요청할 수 있다. 또한, 상기 프로세서(231)는 상기 전자 장치(210)의 프로세서(211)에 연결(attach)되면, 상기 전자 장치(210)의 프로세서(211)와 USB 신호선을 통해 통신할 수 있다. 이 때, 상술한 바와 같이, 상기 커넥터(215)에 연결되는 상기 전자 장치(210)의 프로세서(211)의 신호선들 중 USB 신호선을 제외한 PCIe 신호선들 및 GPIO 신호선은 격리된 상태일 수 있다.According to an embodiment, the processor 231 determines that the power control signal 261-1 output from the first circuit 235 is not a power control signal by the processor 211 of the electronic device 210. If it is identified as (the power control signal 261-1 output from the first circuit 235 does not correspond to the power control signal 261 generated from the processor 211 of the electronic device 210), A connection request signal may be transmitted to the processor 211 of the electronic device 210 through a USB signal line among signal lines of the M.2 module 230 . For example, the processor 231 may request an attachment to the processor 211 of the electronic device 210 using a USB standard protocol related to hot plug-in. Also, when the processor 231 is attached to the processor 211 of the electronic device 210, it can communicate with the processor 211 of the electronic device 210 through a USB signal line. At this time, as described above, among the signal lines of the processor 211 of the electronic device 210 connected to the connector 215, PCIe signal lines and GPIO signal lines excluding the USB signal line may be in an isolated state.

일 실시예에 따르면, 상기 프로세서(231)는 상기 연결 요청 신호에 대한 응답 신호를 상기 전자 장치(210)의 프로세서(211)로부터 수신하면, 상기 프로세서(231)는 상기 전자 장치(210)의 프로세서(211)와의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 프로세서(231)는 상기 전자 장치(210)의 프로세서(211)와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 이 때, 상술한 바와 같이, 상기 커넥터(215)에 연결되는 상기 전자 장치(210)의 프로세서(211)의 신호선들 중 격리되었던 PCIe 신호선들 및 GPIO 신호선은 격리 해제될 수 있다. 일 실시예에 따르면, 상기 프로세서(231)는 상기 응답 신호로서, 상기 전자 장치(210)의 프로세서(211)로부터 전원 제어 신호(261) 및 리셋 제어 신호(262)를 수신할 수 있다. 이 때, 상기 전원 제어 신호(261)는 상기 제1 회로(235)의 입력 신호로 이용되고, 상기 리셋 제어 신호(262)는 상기 제3 회로(237)의 입력 신호로 이용될 수 있다.According to an embodiment, when the processor 231 receives a response signal to the connection request signal from the processor 211 of the electronic device 210, the processor 231 is the processor of the electronic device 210. Initialization of the connection with (211) can be performed. For example, the processor 231 may set parameter values for PCIe bus communication with the processor 211 of the electronic device 210 . At this time, as described above, the isolated PCIe signal lines and GPIO signal lines among the signal lines of the processor 211 of the electronic device 210 connected to the connector 215 can be released. According to an embodiment, the processor 231 may receive a power control signal 261 and a reset control signal 262 from the processor 211 of the electronic device 210 as the response signals. At this time, the power control signal 261 may be used as an input signal of the first circuit 235, and the reset control signal 262 may be used as an input signal of the third circuit 237.

일 실시예에 따르면, 상기 프로세서(231)는 상기 연결 요청 신호에 대한 응답 신호를 지정된 시간 내에 상기 전자 장치(210)의 프로세서(211)로부터 수신하지 못하면, 절전 기능을 수행할 수 있다. 예를 들어, 상기 프로세서(231)는 상기 연결 요청 신호에 대한 응답 신호를 지정된 시간 내에 상기 전자 장치(210)의 프로세서(211)로부터 수신하지 못하면, 상기 전자 장치(210)가 전원 온 상태가 아닌 것으로 식별하고, 절전 기능을 수행할 수 있다. 상기 절전 기능은 예를 들어, 상기 프로세서(231)가 최대 절전 모드로 진입하고 모든 동작을 종료하는 것을 의미할 수 있다.According to an embodiment, the processor 231 may perform a power saving function when not receiving a response signal to the connection request signal from the processor 211 of the electronic device 210 within a specified time. For example, if the processor 231 does not receive a response signal to the connection request signal from the processor 211 of the electronic device 210 within a specified time, the electronic device 210 is not in a power-on state. and can perform a power saving function. The power saving function may mean, for example, that the processor 231 enters a deep power saving mode and ends all operations.

상술한 바와 같이, 다양한 실시예에 따르면, 외부 전자 장치(예: 도 2의 전자 장치(210))에 포함된 커넥터(예: 도 2의 커넥터(215))에 연결되는 전자 장치(예: 도 2의 M.2 모듈(230))는, 전원 공급 모듈(예: 도 2의 전원 공급 모듈(232)), 프로세서(예: 도 2의 프로세서(231)), 상기 전자 장치가 상기 커넥터에 장착된 상태에서, 상기 외부 전자 장치의 프로세서에서 발생된 상기 전자 장치의 전원 제어와 관련된 제1 신호(예: 도 2의 전원 제어 신호(261)) 및 상기 전원 공급 모듈로부터 출력된 제2 신호(예: 도 2의 전원 출력 신호(254))를 수신하고, 상기 프로세서로 상기 전자 장치의 전원 제어와 관련된 제3 신호(예: 도 2의 전원 제어 신호(261-1))를 전달하는 제1 회로(예: 도 2의 제1 회로(235)), 상기 전원 공급 모듈로부터 전원을 공급받아 상기 전자 장치의 리셋과 관련된 제4 신호(예: 도 2의 리셋 신호(261-2))를 발생시키는 제2 회로(예: 도 2의 제2 회로(236)), 및 상기 제2 회로에서 발생된 상기 제4 신호 및 상기 외부 전자 장치의 프로세서에서 발생된 상기 전자 장치의 리셋과 관련된 제5 신호(예: 도 2의 리셋 제어 신호(262, 262-1))를 수신하고, 상기 프로세서로 상기 전자 장치의 리셋과 관련된 제6 신호(예: 도 2의 리셋 제어 신호(262-3))를 전달하는 제3 회로(예: 도 2의 제3 회로(237))를 포함할 수 있다.As described above, according to various embodiments, an electronic device (eg, the electronic device 210 of FIG. 2 ) connected to a connector (eg, the connector 215 of FIG. 2 M.2 module 230), a power supply module (eg, power supply module 232 of FIG. 2), a processor (eg, processor 231 of FIG. 2), and the electronic device are mounted on the connector. In this state, a first signal related to power control of the electronic device generated by the processor of the external electronic device (eg, the power control signal 261 of FIG. 2) and a second signal output from the power supply module (eg, : A first circuit that receives the power output signal 254 of FIG. 2 ) and transfers a third signal related to power control of the electronic device (eg, the power control signal 261-1 of FIG. 2 ) to the processor. (eg, the first circuit 235 of FIG. 2) receives power from the power supply module and generates a fourth signal (eg, the reset signal 261-2 of FIG. 2) related to the reset of the electronic device. A second circuit (eg, the second circuit 236 of FIG. 2 ), and the fourth signal generated in the second circuit and the fifth signal related to the reset of the electronic device generated by the processor of the external electronic device ( Example: Receives the reset control signals 262 and 262-1 of FIG. 2, and transfers a sixth signal related to the reset of the electronic device (eg, the reset control signal 262-3 of FIG. 2) to the processor. It may include a third circuit (eg, the third circuit 237 of FIG. 2 )

다양한 실시예에 따르면, 상기 제1 회로는 상기 제1 신호 및 상기 제2 신호를 입력으로 하고 상기 제3 신호를 출력으로 하는 논리합 회로(예: OR 게이트)를 포함하고, 상기 제3 회로는 상기 제4 신호 및 상기 제5 신호를 입력으로 하고 상기 제6 신호를 출력으로 하나는 논리곱 회로(예: AND 게이트)를 포함할 수 있다.According to various embodiments, the first circuit includes an OR circuit (eg, an OR gate) having the first signal and the second signal as inputs and the third signal as an output, and the third circuit includes the A logical product circuit (eg, an AND gate) having the fourth signal and the fifth signal as inputs and the sixth signal as an output may be included.

다양한 실시예에 따르면, 상기 프로세서는, 상기 제1 신호가 상기 제1 회로로 입력되기 전에 분기된 제7 신호(예: 도 2의 분기된 신호(261-2))를 수신하고, 상기 수신된 제7 신호에 기반하여 상기 제3 신호가 상기 제1 신호에 대응되는지를 판단할 수 있다.According to various embodiments, the processor receives a branched seventh signal (eg, the branched signal 261-2 of FIG. 2) before the first signal is input to the first circuit, and the received Based on the seventh signal, it may be determined whether the third signal corresponds to the first signal.

다양한 실시예에 따르면, 상기 프로세서는, 상기 제3 신호가 상기 제1 신호에 대응되지 않는다는 판단에 기반하여, 상기 커넥터에 연결되는 상기 프로세서의 신호선들 중 USB 신호선을 통해 상기 외부 전자 장치의 프로세서로 연결 요청과 관련된 제8 신호를 전송할 수 있다.According to various embodiments, based on the determination that the third signal does not correspond to the first signal, the processor is connected to the processor of the external electronic device through a USB signal line among signal lines of the processor connected to the connector. An eighth signal related to the connection request may be transmitted.

다양한 실시예에 따르면, 상기 프로세서는, 상기 외부 전자 장치의 프로세서로부터 상기 제8 신호에 대한 응답 신호를 수신하면, 상기 외부 전자 장치의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다.According to various embodiments, when receiving a response signal to the eighth signal from the processor of the external electronic device, the processor may set a parameter value for PCIe bus communication with the processor of the external electronic device.

다양한 실시예에 따르면, 상기 프로세서는, 상기 외부 전자 장치의 프로세서로부터 상기 응답 신호를 지정된 시간 내에 수신하지 못하면, 절전 기능을 수행할 수 있다.According to various embodiments, the processor may perform a power saving function if the response signal is not received from the processor of the external electronic device within a specified time.

다양한 실시예에 따르면, 상기 프로세서는, USB 신호선, PCIe 신호선 및 GPIO 신호선을 포함하고, 버스 인터페이스로 PCIe를 사용하는 M.2 인터페이스를 지원할 수 있다.According to various embodiments, the processor may support an M.2 interface including a USB signal line, a PCIe signal line, and a GPIO signal line, and using PCIe as a bus interface.

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 도 2의 전자 장치(210))는, 전원 공급 모듈(예: 도 2의 전원 공급 모듈(212)), 외부 전자 장치(예: 도 2의 M.2 모듈(230))의 연결을 위한 커넥터(예: 도 2의 커넥터(215)), 및 프로세서(예: 도 2의 프로세서(211))를 포함하고, 상기 프로세서는, 상기 전원 공급 모듈로부터 전원이 인가되면, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하고, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있다는 판단에 기반하여, 상기 외부 전자 장치로 전원 제어와 관련된 제1 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어와 관련된 제2 신호(예: 도 2의 리셋 제어 신호(262))를 전송하고, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있지 않다는 판단에 기반하여, 상기 커넥터에 연결되는 신호선들 중 적어도 하나의 신호선을 격리할 수 있다.As described above, according to various embodiments, an electronic device (eg, the electronic device 210 of FIG. 2 ) includes a power supply module (eg, the power supply module 212 of FIG. 2 ), an external electronic device (eg, the electronic device 210 of FIG. 2 ). A connector for connecting the M.2 module 230 of FIG. 2 (eg, connector 215 of FIG. 2 ) and a processor (eg, processor 211 of FIG. 2 ), the processor comprising: When power is applied from the power supply module, it is determined whether or not the external electronic device is mounted in the connector, and based on the determination that the external electronic device is mounted in the connector, a control related to power to the external electronic device is determined. 1 signal (eg, power control signal 261 of FIG. 2) and a second signal related to reset control (eg, reset control signal 262 of FIG. 2) are transmitted, and the external electronic device is mounted on the connector Based on the determination that it is not present, at least one signal line among signal lines connected to the connector may be isolated.

다양한 실시예에 따르면, 상기 프로세서는, 상기 커넥터에 연결되는 입출력 단자들 중 PCIe 버스에 대응되는 입출력 단자를 통해 제3 신호를 전송하고, 상기 제3 신호에 대한 응답 결과에 기반하여, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단할 수 있다.According to various embodiments, the processor transmits a third signal through an input/output terminal corresponding to a PCIe bus among input/output terminals connected to the connector, and based on a response result to the third signal, the processor transmits a third signal to the connector. It may be determined whether the external electronic device is mounted.

다양한 실시예에 따르면, 상기 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고, 상기 프로세서는, 상기 적어도 하나의 신호선을 하이 임피던스 상태로 설정하여 격리할 수 있다.According to various embodiments, the at least one signal line includes PCIe signal lines and a GPIO signal line, and the processor sets the at least one signal line to a high impedance state to isolate it.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전원이 인가된 후, 상기 외부 전자 장치가 상기 커넥터에 장착되고, 상기 커넥터에 연결되는 상기 프로세서의 신호선들 중 USB 신호선을 통해 상기 외부 전자 장치로부터 연결 요청과 관련된 제3 신호를 수신하면, 상기 외부 전자 장치로 전원 제어와 관련된 제4 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어와 관련된 제5 신호(예: 도 2의 리셋 제어 신호(262))를 전송하고, 상기 커넥터에 연결되는 신호선들 중 상기 격리된 적어도 하나의 신호선을 격리 해제할 수 있다.According to various embodiments, the processor, after the power is applied, the external electronic device is mounted on the connector, and a connection request is made from the external electronic device through a USB signal line among signal lines of the processor connected to the connector. When a third signal related to is received, a fourth signal related to power control to the external electronic device (eg, the power control signal 261 of FIG. 2) and a fifth signal related to reset control (eg, reset control of FIG. 2) A signal 262) may be transmitted, and at least one isolated signal line among signal lines connected to the connector may be released from isolation.

다양한 실시예에 따르면, 상기 격리된 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고, 상기 프로세서는, 상기 격리된 적어도 하나의 신호선을 하이 임피던스 상태에서 해제하여 격리 해제하고, 상기 격리 해제된 적어도 하나의 신호선이 미리 정의된 기능을 수행하도록 상기 격리 해제된 적어도 하나의 신호선에 대응되는 핀의 상태를 설정할 수 있다.According to various embodiments, the at least one isolated signal line includes PCIe signal lines and a GPIO signal line, and the processor releases the isolated at least one signal line from a high impedance state to release the isolation, and the released isolation A state of a pin corresponding to the at least one signal line released from isolation may be set so that the at least one signal line performs a predefined function.

다양한 실시예에 따르면, 상기 커넥터(예: 도 7의 커넥터(711))는, 상기 전자 장치(예: 도 7의 전자 장치(710)) 내의 메인 보드 상에 슬롯 형상으로 배치되고, 상기 외부 전자 장치(예: 도 7의 M.2 모듈(730))는, 카드 형상으로 제공되고, 상기 커넥터에 삽입되어 상기 전자 장치에 내장될 수 있다.According to various embodiments, the connector (eg, the connector 711 of FIG. 7 ) is disposed in a slot shape on a main board in the electronic device (eg, the electronic device 710 of FIG. 7 ), and the external electronic device A device (eg, the M.2 module 730 of FIG. 7 ) is provided in the form of a card, and may be inserted into the connector and incorporated into the electronic device.

다양한 실시예에 따르면, 상기 커넥터(예: 도 8의 커넥터(811) 또는 도 9의 커넥터(911))는, 상기 전자 장치(예: 도 8의 전자 장치(810) 또는 도 9의 전자 장치(910))의 외부로 노출되고, 상기 외부 전자 장치(예: 도 8의 M.2 모듈(830) 또는 도 9의 M.2 모듈(930))는, 상기 커넥터에 탈부착 가능하게 연결될 수 있다.According to various embodiments, the connector (eg, the connector 811 of FIG. 8 or the connector 911 of FIG. 9 ) is the electronic device (eg, the electronic device 810 of FIG. 8 or the electronic device of FIG. 9 ( 910)), and the external electronic device (eg, the M.2 module 830 of FIG. 8 or the M.2 module 930 of FIG. 9) may be detachably connected to the connector.

다양한 실시예에 따르면, 상기 커넥터(예: 도 9의 커넥터(911))는, HDMI 포트를 활용한 고속 PCIe 포트를 포함할 수 있다.According to various embodiments, the connector (eg, the connector 911 of FIG. 9 ) may include a high-speed PCIe port utilizing an HDMI port.

도 3은 본 발명의 일 실시예에 따른 M.2 모듈의 장착 여부에 따른 전자 장치의 운용 방법을 설명하기 위한 도면이다.3 is a diagram for explaining a method of operating an electronic device depending on whether an M.2 module is mounted or not according to an embodiment of the present invention.

도 3을 참조하면, 동작 310에서, 전자 장치(예: 도 2의 전자 장치(210))에 전원이 인가될 수 있다. 예를 들어, 상기 전자 장치에 배터리가 장착되어 전원이 인가될 수 있다. 또한, 상기 전자 장치에 전원이 인가되면, 상기 전자 장치의 전원 공급 모듈(예: 도 2의 전원 공급 모듈(212))은 상기 전자 장치에 포함된 적어도 하나의 구성요소(예: 프로세서)에 전원을 공급할 수 있다.Referring to FIG. 3 , in operation 310, power may be applied to an electronic device (eg, the electronic device 210 of FIG. 2 ). For example, a battery may be installed in the electronic device and power may be applied. In addition, when power is applied to the electronic device, the power supply module (eg, the power supply module 212 of FIG. 2 ) of the electronic device supplies power to at least one component (eg, processor) included in the electronic device. can supply

동작 320에서, 상기 전자 장치의 프로세서(예: 도 2의 프로세서(211))는 부팅을 수행할 수 있다. 예를 들어, 상기 전자 장치에 배치된 전원 온 버튼이 눌리면, 상기 프로세서는 부팅을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서는 비휘발성 메모리(예: 도 2의 제1 메모리(213))에 저장된 운영 체제와 관련된 코드 및 파일을 RAM(random access memory)(예: 도 2의 제2 메모리(214))에 로드(load)하여 부팅 절차를 진행할 수 있다.In operation 320, the processor of the electronic device (eg, the processor 211 of FIG. 2) may perform booting. For example, when a power-on button disposed in the electronic device is pressed, the processor may perform booting. According to an embodiment, the processor stores code and files related to an operating system stored in a non-volatile memory (eg, the first memory 213 of FIG. 2 ) in random access memory (RAM) (eg, the second memory 213 of FIG. 2 ). 214) to proceed with the booting procedure.

동작 330에서, 상기 프로세서는 상기 전자 장치의 커넥터(예: 도 2의 커넥터(215))에 M.2 모듈(예: 도 2의 M.2 모듈(230))이 장착되어 있는지를 판단할 수 있다. 일 실시예에 따르면, 상기 프로세서는 상기 M.2 모듈의 프로세서(예: 도 2의 프로세서(231))에 PCIe 버스 등을 통해 신호를 전송하여 상기 M.2 모듈의 장착 여부를 식별할 수 있다. 예를 들어, 상기 프로세서는 상기 M.2 모듈의 PCIe 버스에 대응되는 입출력 단자와 연결되는 입출력 단자를 통한 신호(예: 도 2의 PCIe Tx/Rx/clock 신호(284, 285, 286))를 이용하여 상기 M.2 모듈의 장착 여부를 식별할 수 있다.In operation 330, the processor may determine whether an M.2 module (eg, the M.2 module 230 of FIG. 2 ) is mounted in a connector (eg, the connector 215 of FIG. 2 ) of the electronic device. there is. According to an embodiment, the processor may transmit a signal to the processor of the M.2 module (eg, the processor 231 of FIG. 2) through a PCIe bus to identify whether the M.2 module is mounted. . For example, the processor transmits signals through input/output terminals connected to input/output terminals corresponding to the PCIe bus of the M.2 module (eg, PCIe Tx/Rx/clock signals 284, 285, and 286 of FIG. 2). It can be used to identify whether the M.2 module is mounted.

상기 M.2 모듈이 장착되어 있다고 판단되는 경우(동작 330 - 예), 동작 340에서 상기 프로세서는, 상기 M.2 모듈에 전원 제어 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262))를 인가(예: 'High' 신호 전송)할 수 있다. 또한, 동작 350에서 상기 프로세서는, 상기 M.2 모듈의 프로세서와 통신하여 상기 M.2 모듈과의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 M.2 모듈의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다.When it is determined that the M.2 module is mounted (operation 330 - yes), in operation 340, the processor sends a power control signal (eg, power control signal 261 of FIG. 2) and reset to the M.2 module. A control signal (eg, the reset control signal 262 of FIG. 2 ) may be applied (eg, 'High' signal transmission). In operation 350, the processor may communicate with the processor of the M.2 module to initialize the connection with the M.2 module. For example, the processor may set parameter values for PCIe bus communication with the processor of the M.2 module.

상기 M.2 모듈이 장착되어 있지 않다고 판단되는 경우(동작 330 - 아니오), 동작 380에서 상기 프로세서는, 상기 M.2 모듈에 상기 전원 제어 신호 및 상기 리셋 제어 신호를 미인가(예: 'Low' 신호 전송)할 수 있다. 또한, 동작 390에서 상기 프로세서는, 상기 커넥터에 연결되는 신호선들 중 적어도 하나의 신호선을 격리할 수 있다. 일 예로, 상기 프로세서는 USB 신호선을 제외한 PCIe 신호선들 및 GPIO 신호선을 하이 임피던스 상태로 설정하여 격리할 수 있다. 이에 따라, 상기 프로세서는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈이 상기 커넥터에 장착되었을 때, 상기 커넥터에 연결되는 신호선들이 출력으로 설정되어 있는 경우 발생할 수 있는 누설로 인한 오동작 및 손상을 방지할 수 있다.When it is determined that the M.2 module is not mounted (operation 330 - No), in operation 380, the processor does not apply the power control signal and the reset control signal to the M.2 module (eg, 'Low'). signal transmission). Also, in operation 390, the processor may isolate at least one signal line from among signal lines connected to the connector. For example, the processor may isolate the PCIe signal lines and the GPIO signal line except for the USB signal line by setting them to a high impedance state. Accordingly, the processor prevents malfunction and damage due to leakage that may occur when the signal lines connected to the connector are set to output when the M.2 module is mounted on the connector while power is applied and the operation is performed. can do.

상기 동작 350 또는 상기 동작 390의 수행 후, 동작 360에서 상기 프로세서는, 운영 체제에 따른 부팅을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 RAM에 저장된 운영 체제와 관련된 코드를 이용하여 부팅 절차를 진행할 수 있다.After performing the operation 350 or the operation 390, in operation 360, the processor may boot according to the operating system. For example, the processor may perform a booting procedure using code related to an operating system stored in the RAM.

부팅 절차 후, 동작 370에서 상기 프로세서는, 기능을 수행할 수 있다. 일 예로, 상기 프로세서는 상기 M.2 모듈이 인식되지 않은 상태(상기 M.2 모듈이 상기 커넥터에 장착되지 않은 상태, 동작 380 및 동작 390이 수행된 상태)에서, 상기 M.2 모듈을 통한 기능을 제외한 기능을 수행할 수 있다. 다른 예로, 상기 프로세서는 상기 M.2 모듈이 인식된 상태(상기 M.2 모듈이 상기 커넥터에 장착된 상태, 동작 340 및 동작 350이 수행된 상태)에서, 상기 M.2 모듈을 통한 기능을 포함한 기능을 수행할 수 있다.After the booting procedure, in operation 370, the processor may perform a function. For example, in a state in which the M.2 module is not recognized (a state in which the M.2 module is not mounted on the connector, a state in which operations 380 and 390 have been performed), the processor through the M.2 module It can perform functions other than functions. As another example, the processor performs functions through the M.2 module in a state in which the M.2 module is recognized (a state in which the M.2 module is mounted on the connector, a state in which operations 340 and 350 are performed). functions can be performed, including

도 4는 본 발명의 일 실시예에 따른 전자 장치에 전원이 인가된 후 M.2 모듈 장착 시 전자 장치의 운용 방법을 설명하기 위한 도면이다. 도 4의 동작들은 도 3의 동작들 중 적어도 동작 380 및 동작 390이 수행된 후에 M.2 모듈이 전자 장치의 커넥터에 장착되는 경우에 수행되는 동작들을 나타낼 수 있다.4 is a diagram for explaining a method of operating an electronic device when an M.2 module is mounted after power is applied to the electronic device according to an embodiment of the present invention. The operations of FIG. 4 may represent operations performed when the M.2 module is mounted to the connector of the electronic device after at least operations 380 and 390 of the operations of FIG. 3 are performed.

도 4를 참조하면, 동작 410에서, 전자 장치(예: 도 2의 전자 장치(210))의 프로세서(예: 도 2의 프로세서(211))는 M.2 모듈(예: 도 2의 M.2 모듈(230))로부터 상기 M.2 모듈의 USB 신호선을 통한 연결 요청 신호를 수신할 수 있다. 예를 들어, 상기 프로세서는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈이 상기 전자 장치의 커넥터(예: 도 2의 커넥터(215))에 장착되면, 상기 M.2 모듈로부터 USB 신호선을 통해 상기 연결 요청 신호를 수신할 수 있다. 상기 USB 신호선을 통한 연결 요청 신호는 핫 플러그 인과 관련된 USB 표준 프로토콜을 이용한 연결(attach) 요청 신호일 수 있다.Referring to FIG. 4 , in operation 410, a processor (eg, processor 211 of FIG. 2 ) of an electronic device (eg, electronic device 210 of FIG. 2 ) performs an M.2 module (eg, M. 2 module 230) can receive a connection request signal through the USB signal line of the M.2 module. For example, when the M.2 module is mounted on a connector (eg, connector 215 of FIG. 2) of the electronic device while power is applied to the processor and the processor is performing an operation, the M.2 module is connected through a USB signal line. The connection request signal may be received. The connection request signal through the USB signal line may be an attach request signal using a USB standard protocol related to hot plug-in.

동작 420에서, 상기 프로세서는 상기 M.2 모듈에 전원 제어 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262))를 인가(예: 'High' 신호 전송)할 수 있다. 일 실시예에 따르면, 상기 전원 제어 신호 및 상기 리셋 제어 신호는 상기 연결 요청 신호에 대한 응답 신호일 수 있다.In operation 420, the processor applies a power control signal (eg, power control signal 261 of FIG. 2 ) and a reset control signal (eg, reset control signal 262 of FIG. 2 ) to the M.2 module (eg, : 'High' signal can be transmitted). According to an embodiment, the power control signal and the reset control signal may be response signals to the connection request signal.

동작 430에서, 상기 프로세서는 상기 커넥터에 연결되는 신호선들 중 격리된 적어도 하나의 신호선을 격리 해제할 수 있다. 일 예로, 상기 프로세서는 격리된 PCIe 신호선들 및 GPIO 신호선을 하이 임피던스 상태에서 해제하고, 각 신호선이 미리 정의된 기능을 수행할 수 있도록 대응되는 핀의 상태를 설정할 수 있다. 상기 핀의 상태는 예를 들어, input, output, 또는 bi-direction을 포함할 수 있다.In operation 430, the processor may release at least one isolated signal line from among the signal lines connected to the connector. For example, the processor may release the isolated PCIe signal lines and the GPIO signal line from a high impedance state and set a state of a pin corresponding to each signal line to perform a predefined function. The state of the pin may include, for example, input, output, or bi-direction.

동작 440에서, 상기 프로세서는 상기 M.2 모듈의 프로세서(예: 도 2의 프로세서(231))와 통신하여 상기 M.2 모듈과의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 M.2 모듈의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 이에 따라, 상기 프로세서는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈이 상기 커넥터에 장착되면, 상술한 핫 플러그 인 기능을 통해 상기 M.2 모듈을 정상적으로 인식할 수 있으며, 상기 M.2 모듈의 정상적인 동작 수행을 지원할 수 있다.In operation 440, the processor may communicate with a processor of the M.2 module (eg, the processor 231 of FIG. 2) to initialize a connection with the M.2 module. For example, the processor may set parameter values for PCIe bus communication with the processor of the M.2 module. Accordingly, when power is applied to the processor and the M.2 module is mounted in the connector during operation, the processor can normally recognize the M.2 module through the hot plug-in function described above, and the M.2 module can support the normal operation of

동작 450에서, 상기 프로세서는 상기 M.2 모듈을 통한 기능을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 M.2 모듈이 인식된 상태에서, 상기 M.2 모듈을 통한 기능을 포함한 기능을 수행할 수 있다.At operation 450, the processor may perform functions via the M.2 module. For example, the processor may perform a function including a function through the M.2 module in a state in which the M.2 module is recognized.

도 5는 본 발명의 일 실시예에 따른 M.2 모듈의 운용 방법을 설명하기 위한 도면이다.5 is a diagram for explaining a method of operating an M.2 module according to an embodiment of the present invention.

도 5를 참조하면, 동작 510에서, M.2 모듈(예: 도 2의 M.2 모듈(230))에 전원이 인가될 수 있다. 예를 들어, 상기 M.2 모듈이 전자 장치(예: 도 2의 전자 장치(210))의 커넥터(예: 도 2의 커넥터(215))에 장착된 상태에서, 상기 전자 장치의 전원 공급 모듈(예: 도 2의 전원 공급 모듈(212))은 상기 M.2 모듈의 전원 공급 모듈(예: 도 2의 전원 공급 모듈(232))로 전원을 공급할 수 있다.Referring to FIG. 5 , in operation 510, power may be applied to the M.2 module (eg, the M.2 module 230 of FIG. 2). For example, in a state in which the M.2 module is mounted on a connector (eg, connector 215 of FIG. 2 ) of an electronic device (eg, electronic device 210 of FIG. 2 ), a power supply module of the electronic device (eg, the power supply module 212 of FIG. 2 ) may supply power to the power supply module (eg, the power supply module 232 of FIG. 2 ) of the M.2 module.

일 실시예에 따르면, 상기 M.2 모듈에 포함된 제1 회로(예: 도 2의 제1 회로(235))는 상기 M.2 모듈이 상기 커넥터에 장착된 상태에서, 상기 전자 장치의 프로세서(예: 도 2의 프로세서(211))로부터 수신된 전원 제어 신호(예: 도 2의 전원 제어 신호(261)) 및 상기 전자 장치의 전원 공급 모듈로부터 수신된 전원 출력 신호(예: 도 2의 전원 출력 신호(254))를 입력 신호들로 수신하고, 출력 신호로서 상기 M.2 모듈의 프로세서(예: 도 2의 프로세서(231))로 전원 제어 신호(예: 도 2의 전원 제어 신호(261-1))를 전달할 수 있다. 상기 제1 회로는 상기 입력 신호들 중 적어도 하나가 'High' 신호일 때 'High' 신호를 출력하는 논리합 회로(예: OR gate)를 포함할 수 있다. 이에 따라, 상기 제1 회로는 상기 M.2 모듈이 상기 커넥터에 장착된 상태에서, 상기 전자 장치의 전원 공급 모듈로부터 전원 출력(예: 도 2의 전원 출력(252))이 발생되면, 'High' 신호인 상기 전원 출력 신호가 입력되어, 'High' 신호를 출력할 수 있다. 또한, 출력된 'High' 신호는 상기 M.2 모듈의 전원 공급 모듈로 입력됨으로써, 상기 M.2 모듈의 전원 공급 모듈은 상기 M.2 모듈에 전원을 공급할 수 있다.According to an embodiment, the first circuit included in the M.2 module (eg, the first circuit 235 of FIG. 2 ) is a processor of the electronic device while the M.2 module is mounted on the connector. (eg, the power control signal received from the processor 211 of FIG. 2) (eg, the power control signal 261 of FIG. 2) and the power output signal received from the power supply module of the electronic device (eg, the power control signal 261 of FIG. 2) The power output signal 254) is received as input signals, and a power control signal (eg, the power control signal in FIG. 2 (eg, the processor 231 in FIG. 261-1)). The first circuit may include an OR circuit (eg, an OR gate) outputting a 'High' signal when at least one of the input signals is a 'High' signal. Accordingly, the first circuit outputs 'High' when a power output (eg, the power output 252 of FIG. 2 ) is generated from the power supply module of the electronic device while the M.2 module is mounted on the connector. ' signal, the power output signal may be input, and a 'High' signal may be output. In addition, the output 'High' signal is input to the power supply module of the M.2 module, so that the power supply module of the M.2 module can supply power to the M.2 module.

동작 520에서, 상기 M.2 모듈에 포함된 제2 회로(예: 도 2의 제2 회로(236))는 리셋 신호(예: 도 2의 리셋 신호(262-2))를 발생시킬 수 있다. 예를 들어, 상기 제2 회로는 상기 M.2 모듈의 전원 공급 모듈로부터 전원을 공급받아 상기 리셋 신호를 발생시켜 상기 M.2 모듈에 포함된 제3 회로(예: 도 2의 제3 회로(237))로 전달할 수 있다. 상기 제3 회로로 입력된 상기 리셋 신호는 'Low' 신호로서 일정 시간 후 릴리즈되면 'High' 신호(또는 릴리즈 신호)로 전환될 수 있다. 일 실시예에 따르면, 상기 제2 회로는 적어도 하나의 커패시터 및 적어도 하나의 저항을 포함하는 RC 회로를 포함할 수 있다.At operation 520, a second circuit included in the M.2 module (eg, second circuit 236 of FIG. 2 ) may generate a reset signal (eg, reset signal 262-2 of FIG. 2 ). . For example, the second circuit receives power from the power supply module of the M.2 module and generates the reset signal to generate the third circuit included in the M.2 module (e.g., the third circuit of FIG. 2 ( 237)). The reset signal input to the third circuit is a 'Low' signal and can be converted to a 'High' signal (or release signal) when released after a certain period of time. According to one embodiment, the second circuit may include an RC circuit including at least one capacitor and at least one resistor.

동작 530에서, 상기 프로세서는 부팅을 수행할 수 있다. 예를 들어, 상기 프로세서는 비휘발성 메모리(예: 도 2의 제1 메모리(233))에 저장된 코드 및 RAM(예: 도 2의 제2 메모리(234))를 이용하여 부팅 절차를 진행할 수 있다.In operation 530, the processor may perform booting. For example, the processor may perform a booting procedure using codes stored in a non-volatile memory (eg, first memory 233 of FIG. 2 ) and RAM (eg, second memory 234 of FIG. 2 ). .

일 실시예에 따르면, 상기 제3 회로는 상기 전자 장치의 프로세서에서 발생된 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262, 262-1)) 및 상기 제2 회로에서 발생된 상기 리셋 신호(및 릴리즈 신호)를 입력 신호들로 수신하고, 출력 신호로서 상기 프로세서로 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262-3))를 전달할 수 있다. 일 실시예에 따르면, 상기 전자 장치의 프로세서에서 발생된 리셋 제어 신호가 상기 제3 회로의 입력단으로 연결되는 신호선은 상기 M.2 모듈의 전원 공급 모듈의 출력단과 연결된 저항 소자(예: 도 2의 저항 소자(238))와 연결될 수 있다. 상기 제3 회로는 상기 입력 신호들이 모두 'High' 신호일 때 'High' 신호를 출력하는 논리곱 회로(예: AND gate)를 포함할 수 있다. 이에 따라, 상기 제3 회로는 상기 전자 장치의 프로세서에서 발생된 리셋 제어 신호 또는 상기 제2 회로에서 발생된 리셋 신호가 'Low' 신호이면, 'Low' 신호를 출력할 수 있다. 상기 제3 회로에서 'Low' 신호가 출력되면, 상기 프로세서는 리셋되어 초기화될 수 있다. 또한, 상기 제3 회로는 상기 전자 장치의 프로세서에서 발생된 리셋 제어 신호 및 상기 제2 회로에서 발생된 리셋 신호(또는 릴리즈 신호)가 'High' 신호이면, 'High' 신호를 출력할 수 있다. 상기 제3 회로에서 'High' 신호가 출력되면, 상기 프로세서는 부팅을 수행할 수 있다.According to an embodiment, the third circuit includes a reset control signal generated by a processor of the electronic device (eg, the reset control signals 262 and 262-1 of FIG. 2 ) and the reset signal generated by the second circuit. (and a release signal) may be received as input signals, and a reset control signal (eg, the reset control signal 262-3 of FIG. 2) may be transferred to the processor as an output signal. According to an embodiment, the signal line through which the reset control signal generated by the processor of the electronic device is connected to the input terminal of the third circuit is a resistive element connected to the output terminal of the power supply module of the M.2 module (eg, shown in FIG. 2). resistance element 238). The third circuit may include a AND circuit (eg, AND gate) outputting a 'High' signal when all of the input signals are 'High' signals. Accordingly, the third circuit may output a 'Low' signal when the reset control signal generated by the processor of the electronic device or the reset signal generated by the second circuit is a 'Low' signal. When a 'Low' signal is output from the third circuit, the processor may be reset and initialized. Also, the third circuit may output a 'High' signal when the reset control signal generated by the processor of the electronic device and the reset signal (or release signal) generated by the second circuit are 'High' signals. When a 'High' signal is output from the third circuit, the processor may perform booting.

동작 540에서, 상기 프로세서는 상기 제1 회로로부터 출력된 전원 제어 신호(상기 프로세서로 입력된 전원 제어 신호)가 호스트 장치(상기 전자 장치)로부터 수신되었는지를 판단할 수 있다. 일 실시예에 따르면, 상기 프로세서는 상기 전자 장치의 프로세서로부터 발생된 전원 제어 신호가 상기 제1 회로로 입력되기 전에 분기된 신호(예: 도 2의 분기된 신호(261-2))를 수신할 수 있다. 상기 분기된 신호는 상기 제1 회로로부터 출력된 전원 제어 신호가 상기 전자 장치의 프로세서에 의한 전원 제어 신호인지(상기 전원 제어 신호가 상기 호스트 장치로부터 수신되었는지)를 식별하는데 이용될 수 있다. 일 예로, 상기 프로세서는 상기 제1 회로로부터 'High' 신호를 수신하고, 상기 분기된 신호가 'High' 신호인 경우, 상기 제1 회로로부터 출력된 전원 제어 신호가 상기 전자 장치의 프로세서에 의한 전원 제어 신호인 것으로 식별할 수 있다. 다른 예로, 상기 프로세서는 상기 제1 회로로부터 'High' 신호를 수신하고, 상기 분기된 신호가 'Low' 신호인 경우, 상기 제1 회로로부터 출력된 전원 제어 신호가 상기 전자 장치의 프로세서에 의한 전원 제어 신호가 아닌 것으로 식별할 수 있다.In operation 540, the processor may determine whether the power control signal output from the first circuit (the power control signal input to the processor) is received from the host device (the electronic device). According to an embodiment, the processor receives a branched signal (eg, the branched signal 261-2 of FIG. 2) before the power control signal generated by the processor of the electronic device is input to the first circuit. can The branched signal may be used to identify whether the power control signal output from the first circuit is a power control signal by a processor of the electronic device (whether the power control signal is received from the host device). For example, the processor receives a 'High' signal from the first circuit, and when the branched signal is a 'High' signal, the power control signal output from the first circuit is power by the processor of the electronic device. It can be identified as being a control signal. As another example, the processor receives a 'High' signal from the first circuit, and when the branched signal is a 'Low' signal, the power control signal output from the first circuit is power by the processor of the electronic device. It can be identified as not being a control signal.

상기 제1 회로로부터 출력된 전원 제어 신호가 상기 호스트 장치로부터 수신되었다고 판단(상기 전원 제어 신호가 상기 전자 장치의 프로세서에 의한 전원 제어 신호라고 식별)되면(동작 540 - 예), 동작 550에서 상기 프로세서는, 상기 호스트 장치와 통신을 지속하여 수행할 수 있다. 예를 들어, 상기 제1 회로로부터 출력된 전원 제어 신호가 상기 전자 장치의 프로세서에 의한 전원 제어 신호인 것으로 식별된다는 것은, 상기 전자 장치의 프로세서에 전원이 인가되기 전에 이미 상기 M.2 모듈이 상기 전자 장치의 커넥터에 장착되어 있었다는 것을 의미할 수 있다.When it is determined that the power control signal output from the first circuit is received from the host device (the power control signal is identified as a power control signal by the processor of the electronic device) (operation 540 - Yes), the processor in operation 550 may continue to communicate with the host device. For example, the fact that the power control signal output from the first circuit is identified as being the power control signal by the processor of the electronic device means that the M.2 module has already applied the power to the processor of the electronic device. It may mean that it was mounted on a connector of an electronic device.

상기 제1 회로로부터 출력된 전원 제어 신호가 상기 호스트 장치로부터 수신되지 않았다고 판단(상기 전원 제어 신호가 상기 전자 장치의 프로세서에 의한 전원 제어 신호가 아니라고 식별)되면(동작 540 - 아니오), 동작 560에서 상기 프로세서는, 상기 M.2 모듈의 신호선들 중 USB 신호선을 통해 상기 전자 장치의 프로세서로 연결 요청 신호를 전송할 수 있다. 예를 들어, 상기 프로세서는 상기 전자 장치의 프로세서로 핫 플러그 인과 관련된 USB 표준 프로토콜을 이용하여 연결(attach)을 요청할 수 있다. 또한, 상기 프로세서는 상기 전자 장치의 프로세서에 연결(attach)되면, 상기 전자 장치의 프로세서와 USB 신호선을 통해 통신할 수 있다. 이 때, 상기 전자 장치의 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 USB 신호선을 제외한 PCIe 신호선들 및 GPIO 신호선은 격리된 상태일 수 있다.If it is determined that the power control signal output from the first circuit is not received from the host device (identifying that the power control signal is not a power control signal by the processor of the electronic device) (operation 540 - No), in operation 560 The processor may transmit a connection request signal to the processor of the electronic device through a USB signal line among signal lines of the M.2 module. For example, the processor may request an attachment to the processor of the electronic device using a USB standard protocol related to hot plug-in. Also, when the processor is attached to the processor of the electronic device, it may communicate with the processor of the electronic device through a USB signal line. At this time, among the signal lines of the processor of the electronic device connected to the connector of the electronic device, PCIe signal lines and GPIO signal lines excluding the USB signal line may be in an isolated state.

동작 570에서, 상기 프로세서는 상기 호스트 장치로부터 상기 연결 요청 신호에 대한 응답 신호를 수신하였는지를 판단할 수 있다. 일 실시예에 따르면, 상기 프로세서는 상기 연결 요청 신호를 상기 호스트 장치로 전송한 후 지정된 시간 내에 상기 응답 신호의 수신 여부를 판단할 수 있다.In operation 570, the processor may determine whether a response signal to the connection request signal is received from the host device. According to an embodiment, the processor may determine whether the response signal is received within a specified time after transmitting the connection request signal to the host device.

상기 호스트 장치로부터 (상기 지정된 시간 내에) 상기 응답 신호를 수신하면(동작 570 - 예), 동작 580에서 상기 프로세서는, 상기 호스트 장치와의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 전자 장치의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 이 때, 상기 전자 장치의 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 격리되었던 PCIe 신호선들 및 GPIO 신호선은 격리 해제될 수 있다. 일 실시예에 따르면, 상기 프로세서는 상기 응답 신호로서, 상기 전자 장치의 프로세서로부터 전원 제어 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262))를 수신할 수 있다. 이 때, 상기 전원 제어 신호는 상기 제1 회로의 입력 신호로 이용되고, 상기 리셋 제어 신호는 상기 제3 회로의 입력 신호로 이용될 수 있다.When receiving the response signal from the host device (within the specified time period) (operation 570 - Yes), in operation 580, the processor may initialize a connection with the host device. For example, the processor may set parameter values for PCIe bus communication with the processor of the electronic device. At this time, isolated PCIe signal lines and GPIO signal lines among the signal lines of the processor of the electronic device connected to the connector of the electronic device may be released. According to an embodiment, the processor uses a power control signal (eg, the power control signal 261 of FIG. 2 ) and a reset control signal (eg, the reset control signal (eg, the reset control signal of FIG. 2 ) from the processor of the electronic device as the response signal. 262)) can be received. In this case, the power control signal may be used as an input signal of the first circuit, and the reset control signal may be used as an input signal of the third circuit.

동작 590에서, 상기 프로세서는 상기 M.2 모듈에 설정된 기능을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 전자 장치의 프로세서와 연계하여, 통신 기능 또는 스토리지 기능을 수행할 수 있다.In operation 590, the processor may perform a function set in the M.2 module. For example, the processor may perform a communication function or a storage function in association with the processor of the electronic device.

상기 호스트 장치로부터 (상기 지정된 시간 내에) 상기 응답 신호를 수신하지 못하면(동작 570 - 아니오), 동작 591에서 상기 프로세서는, 절전 기능을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 연결 요청 신호에 대한 응답 신호를 상기 지정된 시간 내에 상기 전자 장치의 프로세서로부터 수신하지 못하면, 상기 전자 장치가 전원 온 상태가 아닌 것으로 식별하고, 절전 기능을 수행할 수 있다. 상기 절전 기능은 예를 들어, 상기 프로세서가 최대 절전 모드로 진입하고 모든 동작을 종료하는 것을 의미할 수 있다.If the response signal is not received from the host device (within the specified time) (operation 570 - No), in operation 591, the processor may perform a power saving function. For example, if the processor does not receive a response signal to the connection request signal from the processor of the electronic device within the specified time, the processor may identify the electronic device as not being powered on and perform a power saving function. . The power saving function may mean, for example, that the processor enters a deep power saving mode and ends all operations.

도 6은 본 발명의 일 실시예에 따른 호스트 장치와 M.2 모듈의 연결 과정에서의 장치 상태를 설명하기 위한 도면이다.6 is a diagram for explaining a device state in a connection process between a host device and an M.2 module according to an embodiment of the present invention.

도 6을 참조하면, 호스트 장치(예: 도 2의 전자 장치(210))에 전원이 인가되면 제1 상태(610)와 같이, 상기 호스트 장치는 전원 온 상태가 될 수 있다. 예를 들어, 상기 호스트 장치에 배터리가 장착되어 전원이 인가될 수 있다. 또한, 상기 호스트 장치에 전원이 인가되면, 상기 호스트 장치의 전원 공급 모듈(예: 도 2의 전원 공급 모듈(212))은 상기 호스트 장치에 포함된 적어도 하나의 구성요소(예: 프로세서)에 전원을 공급할 수 있다. 또한, 상기 호스트 장치의 프로세서(예: 도 2의 프로세서(211))는 부팅을 수행할 수 있다. 예를 들어, 상기 호스트 장치에 배치된 전원 온 버튼이 눌리면, 상기 호스트 장치의 프로세서는 부팅을 수행할 수 있다.Referring to FIG. 6 , when power is applied to a host device (eg, the electronic device 210 of FIG. 2 ), the host device may enter a power-on state as in the first state 610 . For example, a battery may be installed in the host device and power may be applied. In addition, when power is applied to the host device, the power supply module (eg, the power supply module 212 of FIG. 2 ) of the host device supplies power to at least one component (eg, processor) included in the host device. can supply Also, the processor of the host device (eg, the processor 211 of FIG. 2 ) may perform booting. For example, when a power-on button disposed in the host device is pressed, the processor of the host device may boot.

상기 호스트 장치의 프로세서는 상기 호스트 장치의 커넥터(예: 도 2의 커넥터(215))에 M.2 모듈(예: 도 2의 M.2 모듈(230))이 장착되어 있는지를 판단할 수 있다. 일 실시예에 따르면, 상기 호스트 장치의 프로세서는 상기 M.2 모듈의 프로세서(예: 도 2의 프로세서(231))에 PCIe 버스 등을 통해 신호를 전송하여 상기 M.2 모듈의 장착 여부를 식별할 수 있다. 예를 들어, 상기 호스트 장치의 프로세서는 상기 M.2 모듈의 PCIe 버스에 대응되는 입출력 단자와 연결되는 입출력 단자를 통한 신호(예: 도 2의 PCIe Tx/Rx/clock 신호(284, 285, 286))를 이용하여 상기 M.2 모듈의 장착 여부를 식별할 수 있다.The processor of the host device may determine whether an M.2 module (eg, M.2 module 230 of FIG. 2 ) is mounted in a connector (eg, connector 215 of FIG. 2 ) of the host device. . According to an embodiment, the processor of the host device transmits a signal to the processor of the M.2 module (eg, the processor 231 of FIG. 2) through a PCIe bus to identify whether the M.2 module is mounted. can do. For example, the processor of the host device receives a signal through an input/output terminal connected to an input/output terminal corresponding to the PCIe bus of the M.2 module (e.g., the PCIe Tx/Rx/clock signal 284, 285, 286 )) can be used to identify whether the M.2 module is installed.

상기 M.2 모듈이 장착되어 있다고 판단되는 경우, 상기 호스트 장치의 프로세서는, 상기 M.2 모듈에 전원 제어 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262))를 인가(예: 'High' 신호 전송)할 수 있다. 또한, 상기 호스트 장치의 프로세서는, 상기 M.2 모듈의 프로세서와 통신하여 상기 M.2 모듈과의 연결에 대한 초기화를 수행할 수 있다. 예를 들어, 상기 호스트 장치의 프로세서는 상기 M.2 모듈의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다.When it is determined that the M.2 module is mounted, the processor of the host device sends a power control signal (eg, power control signal 261 of FIG. 2 ) and a reset control signal (eg, FIG. 2 ) to the M.2 module. A reset control signal 262 of 2 may be applied (eg, 'High' signal transmission). Also, the processor of the host device may communicate with the processor of the M.2 module to initialize the connection with the M.2 module. For example, the processor of the host device may set parameter values for PCIe bus communication with the processor of the M.2 module.

제2 상태(620)와 같이, 상기 M.2 모듈이 장착되어 있지 않다고 판단되는 경우, 상기 호스트 장치의 프로세서는, 상기 M.2 모듈에 상기 전원 제어 신호 및 상기 리셋 제어 신호를 미인가(예: 'Low' 신호 전송)할 수 있다. 또한, 상기 호스트 장치의 프로세서는, 상기 호스트 장치의 커넥터에 연결되는 신호선들 중 적어도 하나의 신호선을 격리할 수 있다. 예를 들어, 상기 호스트 장치의 프로세서는 USB 신호선을 제외한 PCIe 신호선들 및 GPIO 신호선을 하이 임피던스 상태로 설정하여 격리할 수 있다.As in the second state 620, when it is determined that the M.2 module is not mounted, the processor of the host device does not apply the power control signal and the reset control signal to the M.2 module (eg: 'Low' signal transmission). Also, the processor of the host device may isolate at least one signal line from among signal lines connected to the connector of the host device. For example, the processor of the host device may isolate the PCIe signal lines and the GPIO signal line except for the USB signal line by setting them to a high impedance state.

이후, 상기 호스트 장치의 프로세서는, 운영 체제에 따른 부팅을 수행할 수 있다. 또한, 제3 상태(630)와 같이, 상기 호스트 장치의 프로세서는, 상기 M.2 모듈을 통한 기능을 제외한 기능을 수행할 수 있다.Thereafter, the processor of the host device may perform booting according to the operating system. Also, as in the third state 630, the processor of the host device may perform functions other than functions through the M.2 module.

상기 제2 상태(620)(상기 M.2 모듈이 상기 호스트 장치의 커넥터에 장착되지 않은 상태 또는 상기 M.2 모듈이 인식되지 않은 상태)에서, 상기 호스트 장치의 커넥터에 상기 M.2 모듈이 장착되면, 제4 상태(640)와 같이, 상기 M.2 모듈의 프로세서는 부팅을 수행할 수 있다. 예를 들어, 상기 호스트 장치의 전원 공급 모듈은 상기 M.2 모듈의 전원 공급 모듈(예: 도 2의 전원 공급 모듈(232))로 전원을 공급할 수 있고, 상기 M.2 모듈의 프로세서는 상기 M.2 모듈의 전원 공급 모듈로 전원을 공급받아 부팅을 수행할 수 있다. 또한, 상기 M.2 모듈의 프로세서는 USB 신호선을 통해 상기 호스트 장치의 프로세서와 연결할 수 있다. 예를 들어, 상기 M.2 모듈의 프로세서는 상기 USB 신호선을 통해 상기 호스트 장치의 프로세서로 연결 요청 신호를 전송할 수 있고, 상기 호스트 장치의 프로세서는 상기 연결 요청 신호에 대한 응답 신호를 상기 M.2 모듈의 프로세서로 전송할 수 있다. 상기 USB 신호선을 통한 연결 요청 신호는 핫 플러그 인과 관련된 USB 표준 프로토콜을 이용한 연결(attach) 요청 신호일 수 있다.In the second state 620 (the M.2 module is not mounted on the connector of the host device or the M.2 module is not recognized), the M.2 module is attached to the connector of the host device. When mounted, as in the fourth state 640, the processor of the M.2 module may perform booting. For example, the power supply module of the host device may supply power to the power supply module of the M.2 module (eg, the power supply module 232 of FIG. 2), and the processor of the M.2 module may supply power to the power supply module of the M.2 module. Booting can be performed by receiving power from the power supply module of the M.2 module. In addition, the processor of the M.2 module can be connected to the processor of the host device through a USB signal line. For example, the processor of the M.2 module may transmit a connection request signal to the processor of the host device through the USB signal line, and the processor of the host device may transmit a response signal to the connection request signal to the M.2 module. It can be sent to the module's processor. The connection request signal through the USB signal line may be an attach request signal using a USB standard protocol related to hot plug-in.

상기 M.2 모듈의 프로세서는 상기 응답 신호를 수신하면, 제5 상태(650)와 같이, 상기 M.2 모듈의 초기화를 수행할 수 있다. 예를 들어, 상기 M.2 모듈의 프로세서는 상기 호스트 장치의 프로세서로부터 수신된 전원 제어 신호 및 리셋 제어 신호를 이용하여, 상기 M.2 모듈의 초기화를 수행할 수 있다. 또한, 상기 전자 장치의 프로세서는 상기 호스트 장치의 커넥터에 연결되는 신호선들 중 격리된 적어도 하나의 신호선을 격리 해제할 수 있다. 예를 들어, 상기 호스트 장치의 프로세서는 격리된 PCIe 신호선들 및 GPIO 신호선을 하이 임피던스 상태에서 해제하고, 각 신호선이 미리 정의된 기능을 수행할 수 있도록 대응되는 핀의 상태를 설정할 수 있다. 상기 핀의 상태는 예를 들어, input, output, 또는 bi-direction을 포함할 수 있다.Upon receiving the response signal, the processor of the M.2 module may initialize the M.2 module as in the fifth state 650. For example, the processor of the M.2 module may initialize the M.2 module using a power control signal and a reset control signal received from the processor of the host device. Also, the processor of the electronic device may release at least one isolated signal line from among signal lines connected to the connector of the host device. For example, the processor of the host device may release the isolated PCIe signal lines and GPIO signal lines from a high impedance state, and set a corresponding pin state so that each signal line may perform a predefined function. The state of the pin may include, for example, input, output, or bi-direction.

제6 상태(660)와 같이, 상기 M.2 모듈의 프로세서는 PCIe 신호선을 통해 상기 호스트 장치의 프로세서와 연결할 수 있다. 예를 들어, 상기 M.2 모듈의 프로세서는 상기 호스트 장치의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 또한, 상기 호스트 장치의 프로세서도 상기 M.2 모듈의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 이에 따라, 상기 호스트 장치의 프로세서는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈이 상기 호스트 장치의 커넥터에 장착되면, 상술한 핫 플러그 인 기능을 통해 상기 M.2 모듈을 정상적으로 인식할 수 있으며, 상기 M.2 모듈의 정상적인 동작 수행을 지원할 수 있다.As in the sixth state 660, the processor of the M.2 module may be connected to the processor of the host device through a PCIe signal line. For example, the processor of the M.2 module may set parameter values for PCIe bus communication with the processor of the host device. In addition, the processor of the host device may also set parameter values for PCIe bus communication with the processor of the M.2 module. Accordingly, when power is applied to the processor of the host device and the M.2 module is mounted in the connector of the host device while performing an operation, the processor of the host device can normally recognize the M.2 module through the hot plug-in function described above. , can support the normal operation of the M.2 module.

이후, 상기 호스트 장치의 프로세서는, 제7 상태(670)와 같이, 상기 M.2 모듈을 통한 기능을 포함하여 기능을 수행할 수 있다.Thereafter, the processor of the host device may perform functions, including functions through the M.2 module, as in the seventh state 670 .

상술한 바와 같이, 다양한 실시예에 따르면, 외부 전자 장치(예: 도 2의 M.2 모듈(230))의 연결 방법은, 전자 장치(예: 도 2의 전자 장치(210))에 전원이 인가되면, 상기 전자 장치의 커넥터(예: 도 2의 커넥터(215))에 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있다는 판단에 기반하여, 상기 외부 전자 장치로 전원 제어와 관련된 제1 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어와 관련된 제2 신호(예: 도 2의 리셋 제어 신호(262))를 전송하는 동작(예: 도 3의 동작 340), 상기 커넥터에 상기 외부 전자 장치가 장착되어 있지 않다는 판단에 기반하여, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 적어도 하나의 신호선을 격리하는 동작(예: 도 3의 동작 390)을 포함할 수 있다.As described above, according to various embodiments, in a method for connecting an external electronic device (eg, the M.2 module 230 of FIG. 2 ), power is applied to the electronic device (eg, the electronic device 210 of FIG. 2 ). If applied, an operation of determining whether the external electronic device is mounted on the connector of the electronic device (eg, the connector 215 of FIG. 2 ), based on the determination that the external electronic device is mounted on the connector, An operation of transmitting a first signal related to power control (eg, power control signal 261 of FIG. 2 ) and a second signal related to reset control (eg, reset control signal 262 of FIG. 2 ) to an external electronic device ( Example: operation 340 of FIG. 3), an operation of isolating at least one signal line among signal lines of a processor of the electronic device connected to the connector based on a determination that the external electronic device is not mounted on the connector (eg : Operation 390 of FIG. 3) may be included.

다양한 실시예에 따르면, 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작은, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 입출력 단자들 중 PCIe 버스에 대응되는 입출력 단자를 통해 제3 신호를 전송하는 동작, 및 상기 제3 신호에 대한 응답 결과에 기반하여, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작을 포함할 수 있다.According to various embodiments, the operation of determining whether the external electronic device is mounted may include transmitting a third signal through an input/output terminal corresponding to a PCIe bus among input/output terminals of a processor of the electronic device connected to the connector. and an operation of determining whether the external electronic device is mounted in the connector based on a result of the response to the third signal.

다양한 실시예에 따르면, 상기 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고, 상기 적어도 하나의 신호선을 격리하는 동작은, 상기 적어도 하나의 신호선을 하이 임피던스 상태로 설정하는 동작을 포함할 수 있다.According to various embodiments, the at least one signal line may include PCIe signal lines and a GPIO signal line, and the operation of isolating the at least one signal line may include setting the at least one signal line to a high impedance state. there is.

다양한 실시예에 따르면, 상기 외부 전자 장치의 연결 방법은, 상기 전자 장치에 전원이 인가된 후, 상기 외부 전자 장치가 상기 커넥터에 장착되면, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 USB 신호선을 통해 상기 외부 전자 장치로부터 연결 요청과 관련된 제3 신호를 수신하는 동작(예: 도 4의 동작 410), 상기 제3 신호의 수신에 응답하여, 상기 외부 전자 장치로 전원 제어와 관련된 제4 신호(예 도 2의 전원 제어 신호(261)) 및 리셋 제어와 관련된 제5 신호(예: 도 2의 리셋 제어 신호(262))를 전송하는 동작(예: 도 4의 동작 420), 및 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 상기 격리된 적어도 하나의 신호선을 격리 해제하는 동작(예: 도 4의 동작 430)을 더 포함할 수 있다According to various embodiments, the method of connecting the external electronic device may include, when the external electronic device is mounted on the connector after power is applied to the electronic device, among signal lines of a processor of the electronic device connected to the connector. Receiving a third signal related to a connection request from the external electronic device through a USB signal line (eg, operation 410 of FIG. 4 ), in response to receiving the third signal, a third signal related to power control to the external electronic device 4 signals (eg, power control signal 261 of FIG. 2) and a fifth signal related to reset control (eg, reset control signal 262 of FIG. 2) (eg, operation 420 of FIG. 4), and The method may further include releasing the isolation of at least one isolated signal line among the signal lines of the processor of the electronic device connected to the connector (eg, operation 430 of FIG. 4 ).

다양한 실시예에 따르면, 상기 격리된 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고, 상기 격리된 적어도 하나의 신호선을 격리 해제하는 동작은, 상기 격리된 적어도 하나의 신호선을 하이 임피던스 상태에서 해제하는 동작, 및 상기 격리 해제된 적어도 하나의 신호선이 미리 정의된 기능을 수행하도록 상기 격리 해제된 적어도 하나의 신호선에 대응되는 핀의 상태를 설정하는 동작을 포함할 수 있다.According to various embodiments, the at least one isolated signal line includes PCIe signal lines and a GPIO signal line, and the operation of releasing the isolation of the at least one isolated signal line may cause the at least one isolated signal line to be in a high impedance state. An operation of releasing, and an operation of setting a state of a pin corresponding to the at least one isolated signal line so that the at least one isolated signal line performs a predefined function.

도 7은 본 발명의 일 실시예에 따른 전자 장치에 내장되는 M.2 모듈을 설명하기 위한 도면이고, 도 8은 본 발명의 일 실시예에 따른 M.2 모듈을 포함하는 외부 장치를 설명하기 위한 도면이고, 도 9는 본 발명의 일 실시예에 따른 M.2 모듈을 포함하는 다른 외부 장치를 설명하기 위한 도면이다.7 is a diagram for explaining an M.2 module embedded in an electronic device according to an embodiment of the present invention, and FIG. 8 is a diagram for explaining an external device including an M.2 module according to an embodiment of the present invention. FIG. 9 is a diagram for explaining another external device including an M.2 module according to an embodiment of the present invention.

도 7 내지 도 9를 참조하면, 전자 장치(710, 810, 910)(예: 도 2의 전자 장치(210))는 다양한 형태의 데이터 처리 및 통신 지원을 위해 전자 장치(710, 810, 910) 내의 구성요소들 간의 연결 및 통신을 지원할 뿐만 아니라 외부 장치와의 연결 및 통신을 지원할 수 있는 인터페이스를 제공할 수 있다. 상기 인터페이스는 M.2 모듈(730, 830, 930)(예: 도 2의 M.2 모듈(230))의 장착을 위한 물리적인 커넥터(711, 811, 911)(예: 도 2의 커넥터(215))를 포함할 수 있다. 예컨대, 상기 M.2 모듈(730, 830, 930)의 입출력 단자(731, 831, 931)는 상기 커넥터(711, 811, 911)에 삽입되어 연결될 수 있다.Referring to FIGS. 7 to 9 , electronic devices 710 , 810 , and 910 (eg, the electronic device 210 of FIG. 2 ) are electronic devices 710 , 810 , and 910 for various types of data processing and communication support. An interface capable of supporting connection and communication with an external device as well as supporting connection and communication between components within may be provided. The interface includes physical connectors 711, 811, and 911 (eg, connectors of FIG. 215)). For example, the input/output terminals 731, 831, and 931 of the M.2 modules 730, 830, and 930 may be inserted into and connected to the connectors 711, 811, and 911.

도 7에서는, 전자 장치(710) 내의 메인 보드 상에 상기 커넥터(711)가 배치되고, 상기 M.2 모듈(730)이 상기 전자 장치(710)의 조립 공정에서, 상기 커넥터(711)에 장착되어 내장된 상태로 제공되는 경우를 나타낼 수 있다. 일 실시예에 따르면, 상기 M.2 모듈(730)은 카드(card) 형상으로 제공될 수 있다. 또한, 상기 커넥터(711)는 상기 메인 보드 상에 배치되는 M.2 슬롯으로 지칭될 수 있다. 일 실시예에 따르면, 상기 전자 장치(710)는 스마트폰(smartphone), PC(personal computer), 또는 랩톱(laptop)일 수 있다.In FIG. 7 , the connector 711 is disposed on a main board in the electronic device 710, and the M.2 module 730 is mounted to the connector 711 during the assembly process of the electronic device 710. It can indicate a case where it is provided in a built-in state. According to one embodiment, the M.2 module 730 may be provided in a card shape. Also, the connector 711 may be referred to as an M.2 slot disposed on the main board. According to an embodiment, the electronic device 710 may be a smartphone, a personal computer (PC), or a laptop.

도 8에서는, 상기 M.2 모듈(830)이 하나의 장치로 제공되는 경우를 나타낼 수 있다. 예를 들어, 상기 M.2 모듈(830)이 포함된 외부 장치가 상기 전자 장치(810)의 외부로 노출된 커넥터(811)에 삽입되어 연결될 수 있다. 예컨대, 상기 M.2 모듈(830)이 포함된 외부 장치는 상기 전자 장치(810)의 커넥터(811)에 탈부착 가능하게 연결될 수 있다. 상기 M.2 모듈(830)이 포함된 외부 장치는 예를 들어, PCIe 동글(dongle)로 지칭될 수 있고, 상기 커넥터(811)는 PCIe 포트(port)로 지칭될 수 있다. 일 실시예에 따르면, 상기 전자 장치(810)는 고속 PCIe 포트가 적용된 차량일 수 있다.In FIG. 8 , a case in which the M.2 module 830 is provided as a single device may be shown. For example, an external device including the M.2 module 830 may be inserted into and connected to a connector 811 exposed to the outside of the electronic device 810 . For example, an external device including the M.2 module 830 may be detachably connected to the connector 811 of the electronic device 810 . An external device including the M.2 module 830 may be referred to as, for example, a PCIe dongle, and the connector 811 may be referred to as a PCIe port. According to one embodiment, the electronic device 810 may be a vehicle to which a high-speed PCIe port is applied.

도 9에서도, 상기 M.2 모듈(930)이 하나의 장치로 제공되는 경우를 나타낼 수 있다. 예를 들어, 상기 M.2 모듈(930)이 포함된 외부 장치가 상기 전자 장치(910)의 외부로 노출된 커넥터(911)에 삽입되어 연결될 수 있다. 예컨대, 상기 M.2 모듈(930)이 포함된 외부 장치는 상기 전자 장치(910)의 커넥터(911)에 탈부착 가능하게 연결될 수 있다. 상기 M.2 모듈(930)이 포함된 외부 장치는 예를 들어, PCIe 동글로 지칭될 수 있고, 상기 커넥터(911)는 PCIe 포트(port)로 지칭될 수 있다. 일 실시예에 따르면, 상기 전자 장치(910)는 고속 PCIe 포트가 적용된 TV일 수 있다. 일 실시예에 따르면, 상기 커넥터(911)는 HDMI 포트를 활용한 고속 PCIe 포트일 수 있다.9 may also show a case in which the M.2 module 930 is provided as a single device. For example, an external device including the M.2 module 930 may be inserted into and connected to a connector 911 exposed to the outside of the electronic device 910 . For example, an external device including the M.2 module 930 may be detachably connected to the connector 911 of the electronic device 910 . An external device including the M.2 module 930 may be referred to as, for example, a PCIe dongle, and the connector 911 may be referred to as a PCIe port. According to one embodiment, the electronic device 910 may be a TV to which a high-speed PCIe port is applied. According to one embodiment, the connector 911 may be a high-speed PCIe port utilizing an HDMI port.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. 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. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.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 should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numerals may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "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 Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish that component from other corresponding components, and may refer to that component in other respects (eg, importance or order) is not limited. A (eg, first) component is said to be “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that the certain component may 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, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one 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 this document describe one or more stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, program 140) containing instructions. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. 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-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

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

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

Claims (20)

외부 전자 장치에 포함된 커넥터에 연결되는 전자 장치에 있어서,
전원 공급 모듈;
프로세서;
상기 전자 장치가 상기 커넥터에 장착된 상태에서, 상기 외부 전자 장치의 프로세서에서 발생된 상기 전자 장치의 전원 제어와 관련된 제1 신호 및 상기 전원 공급 모듈로부터 출력된 제2 신호를 수신하고, 상기 프로세서로 상기 전자 장치의 전원 제어와 관련된 제3 신호를 전달하는 제1 회로;
상기 전원 공급 모듈로부터 전원을 공급받아 상기 전자 장치의 리셋과 관련된 제4 신호를 발생시키는 제2 회로; 및
상기 제2 회로에서 발생된 상기 제4 신호 및 상기 외부 전자 장치의 프로세서에서 발생된 상기 전자 장치의 리셋과 관련된 제5 신호를 수신하고, 상기 프로세서로 상기 전자 장치의 리셋과 관련된 제6 신호를 전달하는 제3 회로를 포함하는 전자 장치.
An electronic device connected to a connector included in an external electronic device,
power supply module;
processor;
Receiving a first signal related to power control of the electronic device generated by a processor of the external electronic device and a second signal output from the power supply module while the electronic device is mounted on the connector, and sending the signal to the processor a first circuit transmitting a third signal related to power control of the electronic device;
a second circuit receiving power from the power supply module and generating a fourth signal related to the reset of the electronic device; and
Receives the fourth signal generated by the second circuit and a fifth signal related to the reset of the electronic device generated by the processor of the external electronic device, and transmits a sixth signal related to reset of the electronic device to the processor An electronic device including a third circuit that does.
청구항 1에 있어서,
상기 제1 회로는 상기 제1 신호 및 상기 제2 신호를 입력으로 하고 상기 제3 신호를 출력으로 하는 논리합 회로를 포함하고,
상기 제3 회로는 상기 제4 신호 및 상기 제5 신호를 입력으로 하고 상기 제6 신호를 출력으로 하나는 논리곱 회로를 포함하는 전자 장치.
The method of claim 1,
The first circuit includes a OR circuit having the first signal and the second signal as inputs and the third signal as an output,
The electronic device of claim 1 , wherein the third circuit includes a AND circuit having the fourth signal and the fifth signal as inputs and the sixth signal as an output.
청구항 1에 있어서,
상기 프로세서는,
상기 제1 신호가 상기 제1 회로로 입력되기 전에 분기된 제7 신호를 수신하고,
상기 수신된 제7 신호에 기반하여 상기 제3 신호가 상기 제1 신호에 대응되는지를 판단하도록 설정된 전자 장치.
The method of claim 1,
the processor,
receiving a seventh signal diverged before the first signal is input to the first circuit;
An electronic device configured to determine whether the third signal corresponds to the first signal based on the received seventh signal.
청구항 3에 있어서,
상기 프로세서는,
상기 제3 신호가 상기 제1 신호에 대응되지 않는다는 판단에 기반하여, 상기 커넥터에 연결되는 상기 프로세서의 신호선들 중 USB 신호선을 통해 상기 외부 전자 장치의 프로세서로 연결 요청과 관련된 제8 신호를 전송하도록 설정된 전자 장치.
The method of claim 3,
the processor,
Based on the determination that the third signal does not correspond to the first signal, transmit an eighth signal related to a connection request to the processor of the external electronic device through a USB signal line among signal lines of the processor connected to the connector. set electronics.
청구항 4에 있어서,
상기 프로세서는,
상기 외부 전자 장치의 프로세서로부터 상기 제8 신호에 대한 응답 신호를 수신하면, 상기 외부 전자 장치의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정하도록 설정된 전자 장치.
The method of claim 4,
the processor,
The electronic device configured to set parameter values for PCIe bus communication with the processor of the external electronic device when receiving a response signal to the eighth signal from the processor of the external electronic device.
청구항 5에 있어서,
상기 프로세서는,
상기 외부 전자 장치의 프로세서로부터 상기 응답 신호를 지정된 시간 내에 수신하지 못하면, 절전 기능을 수행하도록 설정된 전자 장치.
The method of claim 5,
the processor,
An electronic device configured to perform a power saving function when the response signal is not received from a processor of the external electronic device within a specified time.
청구항 1에 있어서,
상기 프로세서는,
USB 신호선, PCIe 신호선 및 GPIO 신호선을 포함하고, 버스 인터페이스로 PCIe를 사용하는 M.2 인터페이스를 지원하는 전자 장치.
The method of claim 1,
the processor,
An electronic device that includes a USB signal line, a PCIe signal line, and a GPIO signal line, and supports the M.2 interface using PCIe as a bus interface.
전자 장치에 있어서,
전원 공급 모듈;
외부 전자 장치의 연결을 위한 커넥터; 및
프로세서를 포함하고,
상기 프로세서는,
상기 전원 공급 모듈로부터 전원이 인가되면, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하고,
상기 커넥터에 상기 외부 전자 장치가 장착되어 있다는 판단에 기반하여, 상기 외부 전자 장치로 전원 제어와 관련된 제1 신호 및 리셋 제어와 관련된 제2 신호를 전송하고,
상기 커넥터에 상기 외부 전자 장치가 장착되어 있지 않다는 판단에 기반하여, 상기 커넥터에 연결되는 신호선들 중 적어도 하나의 신호선을 격리하도록 설정된 전자 장치.
In electronic devices,
power supply module;
Connectors for connecting external electronic devices; and
contains a processor;
the processor,
When power is applied from the power supply module, it is determined whether the external electronic device is mounted in the connector;
Transmitting a first signal related to power control and a second signal related to reset control to the external electronic device based on a determination that the external electronic device is mounted in the connector;
An electronic device configured to isolate at least one signal line among signal lines connected to the connector based on a determination that the external electronic device is not mounted in the connector.
청구항 8에 있어서,
상기 프로세서는,
상기 커넥터에 연결되는 입출력 단자들 중 PCIe 버스에 대응되는 입출력 단자를 통해 제3 신호를 전송하고,
상기 제3 신호에 대한 응답 결과에 기반하여, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하도록 설정된 전자 장치.
The method of claim 8,
the processor,
A third signal is transmitted through an input/output terminal corresponding to a PCIe bus among input/output terminals connected to the connector;
An electronic device configured to determine whether the external electronic device is mounted in the connector based on a result of a response to the third signal.
청구항 8에 있어서,
상기 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고,
상기 프로세서는,
상기 적어도 하나의 신호선을 하이 임피던스 상태로 설정하여 격리하도록 설정된 전자 장치.
The method of claim 8,
The at least one signal line includes PCIe signal lines and a GPIO signal line,
the processor,
An electronic device set to isolate the at least one signal line by setting it to a high impedance state.
청구항 8에 있어서,
상기 프로세서는,
상기 전원이 인가된 후, 상기 외부 전자 장치가 상기 커넥터에 장착되고, 상기 커넥터에 연결되는 상기 프로세서의 신호선들 중 USB 신호선을 통해 상기 외부 전자 장치로부터 연결 요청과 관련된 제3 신호를 수신하면, 상기 외부 전자 장치로 전원 제어와 관련된 제4 신호 및 리셋 제어와 관련된 제5 신호를 전송하고,
상기 커넥터에 연결되는 신호선들 중 상기 격리된 적어도 하나의 신호선을 격리 해제하도록 설정된 전자 장치.
The method of claim 8,
the processor,
After the power is applied, when the external electronic device is mounted on the connector and receives a third signal related to a connection request from the external electronic device through a USB signal line among signal lines of the processor connected to the connector, the Transmitting a fourth signal related to power control and a fifth signal related to reset control to an external electronic device;
An electronic device configured to release the isolation of at least one isolated signal line among the signal lines connected to the connector.
청구항 11에 있어서,
상기 격리된 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고,
상기 프로세서는,
상기 격리된 적어도 하나의 신호선을 하이 임피던스 상태에서 해제하여 격리 해제하고,
상기 격리 해제된 적어도 하나의 신호선이 미리 정의된 기능을 수행하도록 상기 격리 해제된 적어도 하나의 신호선에 대응되는 핀의 상태를 설정하도록 설정된 전자 장치.
The method of claim 11,
The at least one isolated signal line includes PCIe signal lines and a GPIO signal line,
the processor,
Release the isolated at least one signal line from a high impedance state to release the isolation;
An electronic device configured to set a state of a pin corresponding to the at least one signal line released from isolation so that the at least one signal line from isolation performs a predefined function.
청구항 8에 있어서,
상기 커넥터는, 상기 전자 장치 내의 메인 보드 상에 슬롯 형상으로 배치되고,
상기 외부 전자 장치는, 카드 형상으로 제공되고, 상기 커넥터에 삽입되어 상기 전자 장치에 내장되는 전자 장치.
The method of claim 8,
The connector is disposed in a slot shape on a main board in the electronic device,
The external electronic device is provided in a card shape and inserted into the connector to be built into the electronic device.
청구항 8에 있어서,
상기 커넥터는, 상기 전자 장치의 외부로 노출되고,
상기 외부 전자 장치는, 상기 커넥터에 탈부착 가능하게 연결되는 전자 장치.
The method of claim 8,
The connector is exposed to the outside of the electronic device,
The external electronic device is detachably connected to the connector.
청구항 14 있어서,
상기 커넥터는,
HDMI 포트를 활용한 고속 PCIe 포트를 포함하는 전자 장치.
In claim 14,
The connector,
Electronic devices that include high-speed PCIe ports utilizing HDMI ports.
외부 전자 장치의 연결 방법에 있어서,
전자 장치에 전원이 인가되면, 상기 전자 장치의 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작;
상기 커넥터에 상기 외부 전자 장치가 장착되어 있다는 판단에 기반하여, 상기 외부 전자 장치로 전원 제어와 관련된 제1 신호 및 리셋 제어와 관련된 제2 신호를 전송하는 동작;
상기 커넥터에 상기 외부 전자 장치가 장착되어 있지 않다는 판단에 기반하여, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 적어도 하나의 신호선을 격리하는 동작을 포함하는 외부 전자 장치의 연결 방법.
A method for connecting an external electronic device,
determining whether the external electronic device is mounted in a connector of the electronic device when power is applied to the electronic device;
transmitting a first signal related to power control and a second signal related to reset control to the external electronic device based on a determination that the external electronic device is mounted in the connector;
and isolating at least one signal line from among signal lines of a processor of the electronic device connected to the connector, based on a determination that the external electronic device is not mounted on the connector.
청구항 16에 있어서,
상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작은,
상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 입출력 단자들 중 PCIe 버스에 대응되는 입출력 단자를 통해 제3 신호를 전송하는 동작; 및
상기 제3 신호에 대한 응답 결과에 기반하여, 상기 커넥터에 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작을 포함하는 외부 전자 장치의 연결 방법.
The method of claim 16
The operation of determining whether the external electronic device is mounted,
transmitting a third signal through an input/output terminal corresponding to a PCIe bus among input/output terminals of a processor of the electronic device connected to the connector; and
and determining whether the external electronic device is mounted in the connector based on a result of the response to the third signal.
청구항 16에 있어서,
상기 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고,
상기 적어도 하나의 신호선을 격리하는 동작은,
상기 적어도 하나의 신호선을 하이 임피던스 상태로 설정하는 동작을 포함하는 외부 전자 장치의 연결 방법.
The method of claim 16
The at least one signal line includes PCIe signal lines and a GPIO signal line,
The operation of isolating the at least one signal line,
A method of connecting an external electronic device comprising an operation of setting the at least one signal line to a high impedance state.
청구항 16에 있어서,
상기 전자 장치에 전원이 인가된 후, 상기 외부 전자 장치가 상기 커넥터에 장착되면, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 USB 신호선을 통해 상기 외부 전자 장치로부터 연결 요청과 관련된 제3 신호를 수신하는 동작;
상기 제3 신호의 수신에 응답하여, 상기 외부 전자 장치로 전원 제어와 관련된 제4 신호 및 리셋 제어와 관련된 제5 신호를 전송하는 동작; 및
상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 상기 격리된 적어도 하나의 신호선을 격리 해제하는 동작을 더 포함하는 외부 전자 장치의 연결 방법.
The method of claim 16
After power is applied to the electronic device, when the external electronic device is mounted on the connector, a third signal line related to a connection request from the external electronic device through a USB signal line among signal lines of the processor of the electronic device connected to the connector. receiving a signal;
transmitting a fourth signal related to power control and a fifth signal related to reset control to the external electronic device in response to receiving the third signal; and
The method of connecting an external electronic device further comprising an operation of releasing the isolation of at least one isolated signal line among the signal lines of the processor of the electronic device connected to the connector.
청구항 19에 있어서,
상기 격리된 적어도 하나의 신호선은 PCIe 신호선들 및 GPIO 신호선을 포함하고,
상기 격리된 적어도 하나의 신호선을 격리 해제하는 동작은,
상기 격리된 적어도 하나의 신호선을 하이 임피던스 상태에서 해제하는 동작; 및
상기 격리 해제된 적어도 하나의 신호선이 미리 정의된 기능을 수행하도록 상기 격리 해제된 적어도 하나의 신호선에 대응되는 핀의 상태를 설정하는 동작을 포함하는 외부 전자 장치의 연결 방법.
The method of claim 19
The at least one isolated signal line includes PCIe signal lines and a GPIO signal line,
The operation of releasing the isolation of the at least one isolated signal line,
releasing the at least one isolated signal line from a high impedance state; and
and setting a state of a pin corresponding to the at least one isolated signal line so that the at least one isolated signal line performs a predefined function.
KR1020210149765A 2021-09-28 2021-11-03 Method for connecting external electronic device and electronic device supporting the same KR20230045488A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210128360 2021-09-28
KR1020210128360 2021-09-28

Publications (1)

Publication Number Publication Date
KR20230045488A true KR20230045488A (en) 2023-04-04

Family

ID=85928437

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210149765A KR20230045488A (en) 2021-09-28 2021-11-03 Method for connecting external electronic device and electronic device supporting the same

Country Status (1)

Country Link
KR (1) KR20230045488A (en)

Similar Documents

Publication Publication Date Title
US20230259188A1 (en) Electronic device comprising connector
KR20220054108A (en) Method and electronic device for providing fast charging
US20230096038A1 (en) Electronic device for communicating with external device through usb interface and operation method therefor
KR20230045488A (en) Method for connecting external electronic device and electronic device supporting the same
KR20230063088A (en) Apparatus and method for communication
US11973356B2 (en) Method and electronic device for providing fast charging
US20230125972A1 (en) Electronic device and method for controlling antenna device using configuration pin for identifying communication module
US20220131393A1 (en) Method and electronic device for providing fast charging
US11899852B2 (en) Electronic device and operation method thereof
KR20230045792A (en) Electronic device for communicating external device throught usb interface and method therefor
US20230350839A1 (en) Electronic device and method for controlling power supply of electronic device
US20230205714A1 (en) Electronic device for processing data and method thereof
KR20230103785A (en) Electronic device and method for controlling connection with external electronic devices
KR20230060415A (en) Electronic apparatus and method for controlling an antenna device using a configuration pin for idnetifying a communication module
KR20220128170A (en) Electronic device and method for using card type barometric sensor in the electronic device
KR20230028081A (en) Electronic device for detecting execution error of application and method for operating thereof
KR20220124482A (en) Electronic device including circuit for identifying device and dentifying thereof
KR20220109093A (en) Electronic device and method for controlling thereof
KR20220153910A (en) Electronic device including usb connecting terminal and method of operation therof
KR20220135504A (en) Data Storage device and operating method of data Storage device
KR20230057825A (en) Electronic apparatus including cooling fan and method for controlling the same
KR20230007731A (en) Electronic Device Supporting Wired Communication Using SIM Tray and SIM Tray Combined with Wired Communication Cable
KR20230035869A (en) An apparatus and method for performing matching between electronic devices
KR20240025426A (en) Electronic device and method for updating database based on reserve space
KR20230011795A (en) Electronic device displaying widget and method for controlling the same