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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004891 communication Methods 0.000 claims description 79
- 230000004044 response Effects 0.000 claims description 25
- 238000002955 isolation Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 49
- 238000010586 diagram Methods 0.000 description 18
- 238000012545 processing Methods 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 11
- 238000013528 artificial neural network Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000008054 signal transmission Effects 0.000 description 7
- 238000013473 artificial intelligence Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0026—PCI express
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
Description
본 발명의 다양한 실시예들은, 외부 전자 장치의 연결 기술에 관한 것이다.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
프로세서(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
보조 프로세서(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
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (eg, the
프로그램(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
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The
오디오 모듈(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
센서 모듈(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
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(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
무선 통신 모듈(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
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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
도 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
상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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,
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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
상기 전원 공급 모듈(212)은 상기 전자 장치(210)에 전원을 공급(251)할 수 있다. 예를 들어, 상기 전원 공급 모듈(212)은 상기 전자 장치(210)에 포함된 적어도 하나의 구성요소(예: 상기 프로세서(211))에 전원을 공급(251)할 수 있다. 또한, 상기 전원 공급 모듈(212)은 상기 커넥터(215)에 외부 장치(예: M.2 모듈(230))가 장착되면, 상기 외부 장치에 전원을 공급(252)할 수 있다. 예를 들어, 상기 전원 공급 모듈(212)은 상기 커넥터(215)에 외부 장치(예: M.2 모듈(230))가 장착되면, 상기 외부 장치의 전원 공급 모듈(예: 전원 공급 모듈(232))에 전원을 공급(252)할 수 있다.The
상기 제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
상기 커넥터(215)는 외부 전자 장치(예: 상기 M.2 모듈(230))가 상기 전자 장치(210)와 연결될 수 있도록 지원할 수 있다. 예를 들어, 상기 외부 전자 장치는 상기 커넥터(215)에 장착되어 상기 전자 장치(210)와 연결될 수 있다. 상기 커넥터(215)는 상기 M.2 모듈(230)이 장착될 수 있는 M.2 슬롯(slot)을 포함할 수 있다.The
상기 통신 모듈(216)은 상기 전자 장치(210)와 외부 전자 장치 간의 통신을 지원할 수 있다. 예를 들어, 상기 통신 모듈(216)은 외부 전자 장치와 규정된 통신 프로토콜에 따른 유선 통신 또는 무선 통신을 수립하고, 신호 또는 데이터를 송수신할 수 있다.The communication module 216 may support communication between the
상기 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
상기 프로세서(231)는 상기 M.2 모듈(230)의 적어도 하나의 구성요소를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서(231)는 다른 구성요소로부터 수신된 명령 또는 데이터를 상기 제2 메모리(234)에 저장하고, 상기 제2 메모리(234)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 상기 제1 메모리(233)에 저장할 수 있다. 또한, 상기 프로세서(231)는 상기 제2 메모리(234)에 저장된 명령어를 실행함으로써, 상기 M.2 모듈(230)이 상기 전자 장치(210)의 커넥터(215)에 장착되었을 때, 상기 전자 장치(210)와의 연결과 관련된 기능을 수행할 수 있다.The
일 실시예에 따르면, 상기 프로세서(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
상기 전원 공급 모듈(232)은 상기 M.2 모듈(230)에 전원을 공급(253)할 수 있다. 예를 들어, 상기 전원 공급 모듈(232)은 상기 M.2 모듈(230)에 포함된 적어도 하나의 구성요소(예: 상기 프로세서(231))에 전원을 공급(253)할 수 있다.The
상기 제1 메모리(233) 및 상기 제2 메모리(234)는 상기 M.2 모듈(230)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 제1 메모리(233) 및 상기 제2 메모리(234)는 상기 전자 장치(210)의 연결과 관련된 명령어 및 데이터를 저장할 수 있다. 상기 제1 메모리(233)는 비휘발성 메모리를 포함할 수 있다. 일 실시예에 따르면, 상기 제1 메모리(233)는 운영 체제와 관련된 코드를 저장할 수 있다. 상기 제2 메모리(234)는 휘발성 메모리를 포함할 수 있다. 일 실시예에 따르면, 상기 제2 메모리(234)는 상기 M.2 모듈(230)의 부팅 절차 후의 운용 체제와 관련된 코드, 어플리케이션 및 각종 상태 및 컨텍스트를 저장할 수 있다.The
상기 제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
상기 제2 회로(236)는 전원 공급 모듈(232)로부터 전원을 공급받아 리셋 신호(262-2)를 발생시켜 상기 제3 회로(237)로 전달할 수 있다. 상기 제3 회로(237)로 입력된 상기 리셋 신호(262-2)는 'Low' 신호('0' 값에 대응되는 신호)로서 일정 시간 후 릴리즈(release)되면 'High' 신호(또는 릴리즈 신호)('1' 값에 대응되는 신호)로 전환될 수 있다. 일 실시예에 따르면, 상기 제2 회로(236)는 적어도 하나의 커패시터 및 적어도 하나의 저항을 포함하는 RC회로를 포함할 수 있다.The
상기 제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
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(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
일 실시예에 따르면, 상기 프로세서(231)는 상기 연결 요청 신호에 대한 응답 신호를 지정된 시간 내에 상기 전자 장치(210)의 프로세서(211)로부터 수신하지 못하면, 절전 기능을 수행할 수 있다. 예를 들어, 상기 프로세서(231)는 상기 연결 요청 신호에 대한 응답 신호를 지정된 시간 내에 상기 전자 장치(210)의 프로세서(211)로부터 수신하지 못하면, 상기 전자 장치(210)가 전원 온 상태가 아닌 것으로 식별하고, 절전 기능을 수행할 수 있다. 상기 절전 기능은 예를 들어, 상기 프로세서(231)가 최대 절전 모드로 진입하고 모든 동작을 종료하는 것을 의미할 수 있다.According to an embodiment, the
상술한 바와 같이, 다양한 실시예에 따르면, 외부 전자 장치(예: 도 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
다양한 실시예에 따르면, 상기 제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
다양한 실시예에 따르면, 상기 프로세서는, 상기 커넥터에 연결되는 입출력 단자들 중 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
다양한 실시예에 따르면, 상기 커넥터(예: 도 8의 커넥터(811) 또는 도 9의 커넥터(911))는, 상기 전자 장치(예: 도 8의 전자 장치(810) 또는 도 9의 전자 장치(910))의 외부로 노출되고, 상기 외부 전자 장치(예: 도 8의 M.2 모듈(830) 또는 도 9의 M.2 모듈(930))는, 상기 커넥터에 탈부착 가능하게 연결될 수 있다.According to various embodiments, the connector (eg, the
다양한 실시예에 따르면, 상기 커넥터(예: 도 9의 커넥터(911))는, HDMI 포트를 활용한 고속 PCIe 포트를 포함할 수 있다.According to various embodiments, the connector (eg, the
도 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
동작 320에서, 상기 전자 장치의 프로세서(예: 도 2의 프로세서(211))는 부팅을 수행할 수 있다. 예를 들어, 상기 전자 장치에 배치된 전원 온 버튼이 눌리면, 상기 프로세서는 부팅을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서는 비휘발성 메모리(예: 도 2의 제1 메모리(213))에 저장된 운영 체제와 관련된 코드 및 파일을 RAM(random access memory)(예: 도 2의 제2 메모리(214))에 로드(load)하여 부팅 절차를 진행할 수 있다.In
동작 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
상기 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
상기 동작 350 또는 상기 동작 390의 수행 후, 동작 360에서 상기 프로세서는, 운영 체제에 따른 부팅을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 RAM에 저장된 운영 체제와 관련된 코드를 이용하여 부팅 절차를 진행할 수 있다.After performing the operation 350 or the
부팅 절차 후, 동작 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
도 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
도 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
동작 420에서, 상기 프로세서는 상기 M.2 모듈에 전원 제어 신호(예: 도 2의 전원 제어 신호(261)) 및 리셋 제어 신호(예: 도 2의 리셋 제어 신호(262))를 인가(예: 'High' 신호 전송)할 수 있다. 일 실시예에 따르면, 상기 전원 제어 신호 및 상기 리셋 제어 신호는 상기 연결 요청 신호에 대한 응답 신호일 수 있다.In
동작 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
동작 450에서, 상기 프로세서는 상기 M.2 모듈을 통한 기능을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 M.2 모듈이 인식된 상태에서, 상기 M.2 모듈을 통한 기능을 포함한 기능을 수행할 수 있다.At
도 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
일 실시예에 따르면, 상기 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
동작 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
동작 530에서, 상기 프로세서는 부팅을 수행할 수 있다. 예를 들어, 상기 프로세서는 비휘발성 메모리(예: 도 2의 제1 메모리(233))에 저장된 코드 및 RAM(예: 도 2의 제2 메모리(234))를 이용하여 부팅 절차를 진행할 수 있다.In
일 실시예에 따르면, 상기 제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
상기 제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
상기 제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
동작 570에서, 상기 프로세서는 상기 호스트 장치로부터 상기 연결 요청 신호에 대한 응답 신호를 수신하였는지를 판단할 수 있다. 일 실시예에 따르면, 상기 프로세서는 상기 연결 요청 신호를 상기 호스트 장치로 전송한 후 지정된 시간 내에 상기 응답 신호의 수신 여부를 판단할 수 있다.In
상기 호스트 장치로부터 (상기 지정된 시간 내에) 상기 응답 신호를 수신하면(동작 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
동작 590에서, 상기 프로세서는 상기 M.2 모듈에 설정된 기능을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 전자 장치의 프로세서와 연계하여, 통신 기능 또는 스토리지 기능을 수행할 수 있다.In
상기 호스트 장치로부터 (상기 지정된 시간 내에) 상기 응답 신호를 수신하지 못하면(동작 570 - 아니오), 동작 591에서 상기 프로세서는, 절전 기능을 수행할 수 있다. 예를 들어, 상기 프로세서는 상기 연결 요청 신호에 대한 응답 신호를 상기 지정된 시간 내에 상기 전자 장치의 프로세서로부터 수신하지 못하면, 상기 전자 장치가 전원 온 상태가 아닌 것으로 식별하고, 절전 기능을 수행할 수 있다. 상기 절전 기능은 예를 들어, 상기 프로세서가 최대 절전 모드로 진입하고 모든 동작을 종료하는 것을 의미할 수 있다.If the response signal is not received from the host device (within the specified time) (operation 570 - No), in
도 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
상기 호스트 장치의 프로세서는 상기 호스트 장치의 커넥터(예: 도 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,
상기 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
이후, 상기 호스트 장치의 프로세서는, 운영 체제에 따른 부팅을 수행할 수 있다. 또한, 제3 상태(630)와 같이, 상기 호스트 장치의 프로세서는, 상기 M.2 모듈을 통한 기능을 제외한 기능을 수행할 수 있다.Thereafter, the processor of the host device may perform booting according to the operating system. Also, as in the
상기 제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
상기 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
제6 상태(660)와 같이, 상기 M.2 모듈의 프로세서는 PCIe 신호선을 통해 상기 호스트 장치의 프로세서와 연결할 수 있다. 예를 들어, 상기 M.2 모듈의 프로세서는 상기 호스트 장치의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 또한, 상기 호스트 장치의 프로세서도 상기 M.2 모듈의 프로세서와의 PCIe 버스 통신을 위한 파라미터 값을 설정할 수 있다. 이에 따라, 상기 호스트 장치의 프로세서는 전원이 인가되어 동작 수행 중에 상기 M.2 모듈이 상기 호스트 장치의 커넥터에 장착되면, 상술한 핫 플러그 인 기능을 통해 상기 M.2 모듈을 정상적으로 인식할 수 있으며, 상기 M.2 모듈의 정상적인 동작 수행을 지원할 수 있다.As in the
이후, 상기 호스트 장치의 프로세서는, 제7 상태(670)와 같이, 상기 M.2 모듈을 통한 기능을 포함하여 기능을 수행할 수 있다.Thereafter, the processor of the host device may perform functions, including functions through the M.2 module, as in the
상술한 바와 같이, 다양한 실시예에 따르면, 외부 전자 장치(예: 도 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
다양한 실시예에 따르면, 상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작은, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 입출력 단자들 중 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,
다양한 실시예에 따르면, 상기 격리된 적어도 하나의 신호선은 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 ,
도 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
도 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
도 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
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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 신호 및 상기 제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 회로로 입력되기 전에 분기된 제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 신호가 상기 제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.
상기 프로세서는,
상기 외부 전자 장치의 프로세서로부터 상기 제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.
상기 프로세서는,
상기 외부 전자 장치의 프로세서로부터 상기 응답 신호를 지정된 시간 내에 수신하지 못하면, 절전 기능을 수행하도록 설정된 전자 장치.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.
상기 프로세서는,
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.
상기 프로세서는,
상기 커넥터에 연결되는 입출력 단자들 중 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.
상기 적어도 하나의 신호선은 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.
상기 프로세서는,
상기 전원이 인가된 후, 상기 외부 전자 장치가 상기 커넥터에 장착되고, 상기 커넥터에 연결되는 상기 프로세서의 신호선들 중 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.
상기 격리된 적어도 하나의 신호선은 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.
상기 커넥터는, 상기 전자 장치 내의 메인 보드 상에 슬롯 형상으로 배치되고,
상기 외부 전자 장치는, 카드 형상으로 제공되고, 상기 커넥터에 삽입되어 상기 전자 장치에 내장되는 전자 장치.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.
상기 커넥터는, 상기 전자 장치의 외부로 노출되고,
상기 외부 전자 장치는, 상기 커넥터에 탈부착 가능하게 연결되는 전자 장치.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.
상기 커넥터는,
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.
상기 외부 전자 장치가 장착되어 있는지를 판단하는 동작은,
상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 입출력 단자들 중 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.
상기 적어도 하나의 신호선은 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.
상기 전자 장치에 전원이 인가된 후, 상기 외부 전자 장치가 상기 커넥터에 장착되면, 상기 커넥터에 연결되는 상기 전자 장치의 프로세서의 신호선들 중 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.
상기 격리된 적어도 하나의 신호선은 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.
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) |
-
2021
- 2021-11-03 KR KR1020210149765A patent/KR20230045488A/en unknown
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 |