Electronic device for providing data recovery function and operation method thereof

The electronic device with a microcontroller-controlled switch mechanism enables data recovery from non-removable storage devices by switching connections to a service port, addressing data loss issues during recovery in secure environments.

WO2026043351A1PCT designated stage Publication Date: 2026-02-26SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/095481
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-10-02
Filing Date
2025-08-19
Publication Date
2026-02-26

AI Technical Summary

Technical Problem

Non-removable storage devices in environments requiring high security, such as financial institutions and the military, face challenges in data recovery due to complex hardware replacement processes that can lead to data loss and limited accessibility.

Method used

An electronic device with a microcontroller-controlled switch mechanism that allows data transfer from a non-removable storage device to an external device without physically disconnecting it, by switching connections between the storage device and the main processor or a service port, enabling data recovery even when the main processor is in an inoperable state.

Benefits of technology

Facilitates data recovery from non-removable storage devices without data loss, even when the main processor is abnormal, by providing a direct connection to an external device through a service port under microcontroller control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025095481_26022026_PF_FP_ABST
    Figure KR2025095481_26022026_PF_FP_ABST
Patent Text Reader

Abstract

This electronic device may comprise: a main processor; a printed circuit board; a storage device connected to the main processor and attached onto the printed circuit board; a service port exposed to the outside of the electronic device, for connection to an external electronic device; and a switch that switches a first connection between the storage device and the main processor and a second connection between the storage device and the service port. The states of the switch may comprise: a first state in which the storage device is connected to the main processor and the storage device is disconnected from the service port; and a second state in which the storage device is disconnected from the main processor and the storage device is connected to the service port. The electronic device may comprise a microcontroller comprising a microprocessor. In the first state, the microprocessor may: detect that a predetermined signal is received by the microcontroller from the main processor; upon detecting that the predetermined signal is received, control the switch to change the state of the switch from the first state to the second state; and when the service port is connected to the external electronic device while the switch is in the second state, allow data within the storage device connected to the service port through the switch to be provided to the external electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device providing data recovery function and method of operation thereof

[0001] The present disclosure relates to a device providing a data recovery function and a method of operating the same.

[0002] Data storage devices have become an essential component of the modern information society. Advances in semiconductor technology and magnetic storage media have led to ever-smaller data storage devices and significantly increased storage capacity. In particular, semiconductor-based storage devices, such as solid-state drives (SSDs), offer significant advantages in speed and reliability.

[0003] Non-removable storage devices are designed so that the device and host system are physically integrated, preventing arbitrarily removing them. This prevents unauthorized data access and reduces the risk of physical damage and loss. The need for these storage devices is particularly emphasized in environments requiring high security, such as financial institutions, public institutions, and the military.

[0004] When a non-removable storage device fails, data recovery can be difficult, and hardware replacement can be complex. For example, to recover data from a non-removable storage device, traditional methods involve desoldering the device, removing it, and then re-soldering it to a working motherboard or a separate jig. However, the desoldering process can lead to data loss, and accessibility to this method is limited. This has led to the need for new data recovery methods.

[0005] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art in connection with the present disclosure.

[0006] An electronic device may include a main processor and a printed circuit board (PCB). The electronic device may include a storage device connected to the main processor and attached to the printed circuit board. The electronic device may include a service port exposed to the outside of the electronic device for connection with an external electronic device. The electronic device may include a switch that switches a first connection between the storage device and the main processor and a second connection between the storage device and the service port. The state of the switch may include a first state in which the storage device and the main processor are connected and the storage device and the service port are disconnected, and a second state in which the storage device and the main processor are disconnected and the storage device and the service port are connected. The electronic device may include a microcontroller including a microprocessor. In the first state, the microprocessor detects that a predetermined signal is received from the main processor to the microcontroller, and, upon detecting that the predetermined signal is received, controls the switch to change the state of the switch from the first state to the second state, and, when the service port is connected to the external electronic device while the switch is in the second state, allows data in the storage device connected to the service port to be provided to the external electronic device through the switch.

[0007] A method of operating an electronic device according to one embodiment may include, in a first state, an operation of detecting that a predetermined signal is received from a main processor to a microcontroller. The method of operating an electronic device may include, in response to detecting that the predetermined signal is received, an operation of controlling a switch that switches a first connection between a storage device and the main processor and a second connection between the storage device and a service port, thereby changing a state of the switch from the first state to a second state. The states of the switch may include a first state in which the storage device and the main processor are connected and the storage device and the service port are disconnected, and a second state in which the storage device and the main processor are disconnected and the storage device and the service port are connected. The method of operating an electronic device may include, when the service port is connected to an external electronic device while the switch is in the second state, an operation of providing data in a storage device connected to the service port to an external electronic device through the switch.

[0008] FIG. 1 is a drawing for explaining a method of connecting components within an electronic device to perform an operation for data recovery by an electronic device according to the present disclosure and a connection relationship with components within an electronic device when an external electronic device is connected to the electronic device.

[0009] FIG. 2 is a block diagram illustrating configurations for performing operations for data recovery by an electronic device according to one embodiment and a connection relationship between the essential configurations thereof.

[0010] FIG. 3A is a block diagram illustrating a connection relationship between internal components of an electronic device when the state of a switch according to one embodiment is a first state.

[0011] FIG. 3b is a block diagram illustrating a connection relationship between internal components of an electronic device when the state of a switch according to one embodiment is a second state.

[0012] FIG. 4 is a flowchart illustrating a process in which an electronic device provides data within a storage device to an external electronic device according to one embodiment.

[0013] FIG. 5 is a flowchart illustrating a process for identifying that a main processor is in an abnormal state in an electronic device according to one embodiment.

[0014] FIG. 6 is a block diagram illustrating an internal configuration of an electronic device including an input device according to one embodiment.

[0015] FIG. 7 is a flowchart illustrating a process in which an electronic device according to one embodiment provides data in a storage device to an external electronic device upon receiving a user's input.

[0016] FIG. 8 is a flowchart illustrating a process in which an electronic device according to one embodiment provides data within a storage device to an external electronic device based on whether a received user input matches a previously stored user input.

[0017] FIG. 9 is an exemplary diagram illustrating a method for an electronic device according to one embodiment to set a password to be compared with a received user input in order to provide data within a storage device to an external electronic device.

[0018] FIG. 10 is a block diagram illustrating an internal configuration of an electronic device including a display device according to one embodiment.

[0019] Fig. 11 is a block diagram illustrating the internal configuration of a microcontroller according to one embodiment.

[0020] FIG. 12 is a block diagram for explaining the connection relationship and function of internal components of an electronic device according to one embodiment.

[0021] FIG. 13 is a block diagram illustrating a storage device connected to a connector according to one embodiment.

[0022] FIG. 14 is a flowchart illustrating a process in which an electronic device including a storage device connected to a connector provides data within the storage device to an external electronic device, in one embodiment.

[0023] FIG. 15 is a block diagram illustrating a specific method of arranging connectors in an electronic device according to one embodiment.

[0024] FIG. 16 is a block diagram illustrating a connection relationship between each component and a data provision path when an electronic device including a storage device connected to a connector is connected to an external electronic device in one embodiment.

[0025] FIG. 17 is a block diagram illustrating a connection relationship between internal components of an electronic device including a switch and a connector according to one embodiment.

[0026] FIG. 18 is a perspective view showing the external configuration of an electronic device according to various embodiments of the present disclosure.

[0027] FIG. 19 is a block diagram of an electronic device within a network environment according to various embodiments of the present disclosure.

[0028] Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present invention. However, the disclosed embodiments may be implemented in various different forms and are not limited to the embodiments described herein.

[0029] FIG. 1 is a drawing for explaining a method of connecting components within an electronic device (100) to perform an operation for data recovery by an electronic device (100) according to the present disclosure and a connection relationship with components within the electronic device (100) when an external electronic device (190) is connected to the electronic device (100).

[0030] Referring to identification number 101, the electronic device (100) may include a main processor (110), a storage device (120), and a microcontroller (130).

[0031] According to one embodiment, the main processor (110) (e.g., the first processor) may execute software (e.g., the program (1940) of FIG. 19) to control at least one other component of the electronic device (100) connected to the main processor (110) and perform various data processing or operations. In one embodiment, the main processor (110) may include a central processing unit (CPU).

[0032] In one embodiment, the storage device (120) may include a storage medium that the electronic device (100) can read. The storage device (120) may include at least one of memory and storage. In one embodiment, the electronic device (100) may include a printed circuit board (PCB), and the storage device (120) may be attached to the printed circuit board. For example, the storage device (120) may be non-removably coupled to the printed circuit board.

[0033] According to one embodiment, the microcontroller (130) may control the components of the electronic device (100) to perform operations for data recovery. In one embodiment, the microcontroller (130) may include a microcomputer (MICOM). The microcontroller (130) may include a microprocessor (e.g., the microprocessor (132) of FIG. 11) (e.g., a second processor). The microcontroller (130) may include a microprocessor (132) that executes instructions for controlling the components within the electronic device (100).

[0034] Referring to identification numbers 101 and 102, the electronic device (100) may include a switch (140) and a service port (150).

[0035] According to one embodiment, the switch (140) can switch a first connection path (121) connecting the main processor (110) and the storage device (120) and a second connection path (122) between the storage device (120) and the service port (150). The switch (140) can switch the first connection (121) and the second connection (122) under the control of the microcontroller (130).

[0036] According to one embodiment, a service port (SVC port, service port) (150) may enable the electronic device (100) to perform data communication with an external electronic device (190). When the external electronic device (190) is coupled with the electronic device (100) through the service port (150), data stored in the storage device (120) may be provided to the external electronic device (190) through the service port (150).

[0037] According to one embodiment, a microprocessor (e.g., a microprocessor (132) of FIG. 11) included in a microcontroller (130) can detect that a predetermined signal is received from the main processor (110) to the microcontroller (130). For example, the microcontroller (130) can identify that the state of the main processor (110) is abnormal based on the predetermined signal received from the main processor (110).

[0038] A microprocessor (e.g., a microprocessor (132) of FIG. 11) that detects that a predetermined signal is received can control a switch (140) to change the state of the switch (140) from a first state (e.g., a first state (310) of FIG. 3A) to a second state (e.g., a second state (320) of FIG. 3B). For example, the microprocessor (e.g., a microprocessor (132) of FIG. 11) can change the state of the switch (140) from a first state (e.g., a first state (310) of FIG. 3A) to a second state (e.g., a second state (320) of FIG. 3B) when it identifies that the state of the main processor (110) is abnormal.

[0039] While the state of the switch (140) is the first state (e.g., the first state (310) of FIG. 3A), the storage device (120) and the main processor (110) can be connected and the storage device (120) and the service port (150) can be disconnected. While the state of the switch (140) is the first state (e.g., the first state (310) of FIG. 3A), the control of the main processor (110) over the storage device (120) can be blocked, and data within the storage device (120) can be provided to the external electronic device (190) through the service port (150) under the control of the microcontroller (130).

[0040] While the state of the switch is in the second state (e.g., the second state (320) of FIG. 3b), the storage device (120) and the main processor (110) can be disconnected and the storage device (120) and the service port (150) can be connected. When the service port (150) is connected to the external electronic device (190) while the state of the switch (140) is in the second state (e.g., the second state (320) of FIG. 3b), the microprocessor (e.g., the microprocessor (132) of FIG. 11) can cause data in the storage device (120) connected to the service port (150) to be provided to the external electronic device (190) via the switch (140).

[0041] Accordingly, the electronic device (100) according to the present disclosure can provide an electronic device (100) that provides data in the storage device (120) to an external electronic device (190) without loss, under the control of a microcontroller (130) that identifies that the state of the main processor (110) is abnormal, while the storage device (120) is not separated from the printed circuit board in the electronic device (100). For example, in the case where the state of the main processor (110) is in an inoperable state,

[0042] By control of the microcontroller (130), data in the storage device (120) can be provided to an external electronic device (190) without loss.

[0043] Referring to identification numbers 101 and 103, the electronic device (100) may include a connector (180).

[0044] According to one embodiment, the electronic device (100) may include a connector (180) connected to a storage device (120). The connector (180) may connect the electronic device (100) and an external electronic device (190) to allow data to be transmitted between the electronic device (100) and the external electronic device (190). In one embodiment, the connector (180) may be disposed on a first connection path (121) connecting the storage device (120) and the main processor (110). When the storage device (120) and the external electronic device (190) are connected through the connector (180), data stored in the storage device (120) may be provided to the external electronic device (190) through the connector (180).

[0045] The present disclosure can provide an electronic device (100) that provides data stored in a storage device (120) to an external electronic device (190) without data loss at a faster speed through a connector (180) connected to the storage device (120). In addition, the electronic device (100) according to the present disclosure can provide data within the storage device (120) to the external electronic device (190) without data loss even when the main processor (110) and the microcontroller (130) do not operate normally.

[0046] FIG. 2 is a block diagram illustrating the connection relationship between internal components of an electronic device (100) according to one embodiment for performing an operation for data recovery.

[0047] Referring to FIG. 2, an electronic device (100) according to one embodiment may include a main processor (110), a storage device (120), a microcontroller (130), a switch (140), and a service port (150).

[0048] According to one embodiment, the main processor (110) may correspond to the processor (1920) of FIG. 19. In one embodiment, the main processor (110) may include a central processing unit (CPU).

[0049] In one embodiment, the storage device (120) may include a storage medium readable by the electronic device (100). In one embodiment, the electronic device (100) may include a printed circuit board (PCB), and the storage device (120) may be attached to the printed circuit board. For example, the storage device (120) may be non-removably coupled to the printed circuit board. For example, the storage device (120) may include the built-in memory (1936) of FIG. 19. The storage device (120) may include at least one of memory and storage. For example, the storage device (120) may include at least one of hard disk drive (HDD) storage or solid state drive (SSD) storage.

[0050] According to one embodiment, the microcontroller (130) may correspond to the auxiliary processor (1923) of FIG. 19. The microcontroller (130) may include a microcomputer (MICOM). The microcontroller (130) may include a microprocessor (e.g., the microprocessor (132) of FIG. 11). A detailed description of the configuration that may be included in the microcontroller (130) corresponds to the description of FIG. 11, and thus is omitted here.

[0051] According to one embodiment, the switch (140) can switch a first connection path (121) connecting the main processor (110) and the storage device (120) and a second connection path (122) between the storage device (120) and the service port (150).

[0052] According to one embodiment, the electronic device (100) may control the switch (140) to cause the state of the switch (140) to be in a first state (e.g., the first state (310) of FIG. 3A) such that the storage device (120) and the main processor (110) are connected and the storage device (120) and the service port (150) are disconnected. While the state of the switch (140) is in the first state (e.g., the first state (310) of FIG. 3A), the main processor (110) and the storage device (120) may be connected through the first connection path (121). While the state of the switch (140) is in the first state (e.g., the first state (310) of FIG. 3A), the second connection path (122) connecting the storage device (120) and the service port (150) may be disconnected.

[0053] According to one embodiment, the electronic device (100) may control the switch (140) to cause the state of the switch (140) to be in a second state (e.g., the second state (320) of FIG. 3B) such that the storage device (120) and the main processor (110) are disconnected and the storage device (120) and the service port (150) are connected. While the state of the switch (140) is in the second state (e.g., the second state (320) of FIG. 3B), the storage device (120) and the service port (150) may be connected through the second connection path (122). While the state of the switch (140) is in the second state (e.g., the second state (320) of FIG. 3B), the first connection path (121) connecting the main processor (110) and the storage device (120) may be disconnected.

[0054] According to one embodiment, the service port (SVC port, service port) (150) can enable the electronic device (100) to perform data communication with an external electronic device (190). When the external electronic device (190) is coupled with the electronic device (100) through the service port (150), data stored in the storage device (120) can be provided to the external electronic device (190) through the service port (150). The service port (150) can receive and process a service request from the external electronic device (190). For example, when the external electronic device (190) is coupled with the electronic device (100) through the service port (150), the service port (150) can transmit to the microcontroller (130) that the external electronic device (190) is connected. For example, the service port (150) can determine whether to establish, maintain, or terminate a connection with the external electronic device (190). For example, the service port (150) may provide encryption or authentication functions.

[0055] FIG. 3A is a block diagram illustrating a connection relationship between internal components of an electronic device (100) when the state of a switch (140) according to one embodiment is a first state (e.g., the first state (310) of FIG. 3A), and FIG. 3B is a block diagram illustrating a connection relationship between internal components of an electronic device (100) when the state of a switch (140) according to one embodiment is a second state (e.g., the second state (320) of FIG. 3B).

[0056] According to one embodiment, the switch (140) can switch a first connection (121) connecting the main processor (110) and the storage device (120) and a second connection (122) between the storage device (120) and the service port (150). In one embodiment, the switch (140) can switch the first connection (121) and the second connection (122) under the control of the microcontroller (130). For example, the switch (140) can connect the first connection path (121) and disconnect the second connection path (122) through switching. For example, the switch (140) can disconnect the first connection path (121) and connect the second connection path (122) through switching.

[0057] According to one embodiment, the microcontroller (130) may control the switch (140) to cause the state of the switch (140) to be in a first state (e.g., the first state (310) of FIG. 3A) such that the storage device (120) and the main processor (110) are connected and the storage device (120) and the service port (150) are disconnected. While the state of the switch (140) is in the first state (e.g., the first state (310) of FIG. 3A), the main processor (110) and the storage device (120) may be connected to each other through a first connection path (121) formed by the switch (140). While the state of the switch (140) is in the first state (e.g., the first state (310) of FIG. 3a), the second connection (122) path connecting the storage device (120) and the service port (150) may be disconnected by the switch (140).

[0058] In one embodiment, the switch (140) can maintain the first state (e.g., the first state (310) of FIG. 3A) while not receiving a command from the microcontroller (130) in the first state (e.g., the first state (310) of FIG. 3A). The switch (140) can maintain the first state (e.g., the first state (310) of FIG. 3A) under the control of the microcontroller (130). In one embodiment, the switch (140) can be changed from the second state (e.g., the second state (320) of FIG. 3B) to the first state (e.g., the first state (310) of FIG. 3A) under the control of the microcontroller (130). For example, if the microcontroller (130) determines that there is no abnormality in the signal received from the main processor (110) while the state of the switch (140) is the first state (e.g., the first state (310) of FIG. 3a), the switch (140) can be maintained in the first state (e.g., the first state (310) of FIG. 3a). If the microcontroller (130) determines that there is no abnormality in the signal received from the main processor (110) while the state of the switch (140) is the second state (e.g., the second state (320) of FIG. 3b), the switch (140) can be controlled to change the state of the switch (140) to the first state (e.g., the first state (310) of FIG. 3a).

[0059] In one embodiment, the microcontroller (130) may control the switch (140) to cause the state of the switch (140) to be in a second state (e.g., the second state (320) of FIG. 3B) such that the storage device (120) and the main processor (110) are disconnected and the storage device (120) and the service port (150) are connected. While the state of the switch (140) is in the second state (e.g., the second state (320) of FIG. 3B), a path for a second connection (122) through which the storage device (120) and the service port (150) are connected through the switch (140) may be connected. While the state of the switch (140) is the second state (e.g., the second state (320) of FIG. 3b), the path for the first connection (121) through which the main processor (110) and the storage device (120) are connected via the switch (140) may be disconnected.

[0060] For example, the switch (140) may include a first port (311) located on a first connection path (121) connected to the main processor (110). The switch (140) may include a second port (312) located on a first connection path (121) connected to a storage device (120). The switch (140) may include a third port (323) located on a second connection path (122) connected to the storage device (120). The switch (140) may include a fourth port (324) located on a second connection path (122) connected to a service port (150).

[0061] For example, the switch may include a first port (311) connected to the main processor (110) for the first connection (121), a second port (312) connected to the storage device (120) for the first connection (121), a third port (323) connected to the storage device (120) for the second connection (122), and a fourth port (324) connected to the service port (150) for the second connection (122).

[0062] At least one of the first port (311), the second port (312), the third port (323), or the fourth port (324) can be connected or disconnected under the control of the microcontroller (130). The microcontroller (130) controls the switch (140) to electrically connect at least one of the first port (311), the second port (312), the third port (323), or the fourth port (324), thereby forming or disconnecting at least one connection path of the first connection (121) or the second connection (122).

[0063] For example, the switch (140) can connect the first port (311) and the second port (312) and disconnect the third port (323) and the fourth port (324) under the control of the microcontroller (130). The switch (140) can activate the first port (311) and the second port (312) under the control of the microcontroller (130). In this case, the first connection (121) between the main processor (110) and the storage device (120) can be activated through the first port (311) and the second port (312). The switch (140) can deactivate the third port (323) and the fourth port (324) under the control of the microcontroller (130). In this case, the second connection (122) between the storage device (120) and the service port (150) can be deactivated. While the first connection (121) is activated and the second connection (122) is deactivated, the state of the switch (140) may be the first state (310).

[0064] For example, the switch (140) can disconnect the connection between the first port (311) and the second port (312) and connect the third port (323) and the fourth port (324) under the control of the microcontroller (130). The switch (140) can activate the third port (323) and the fourth port (324) under the control of the microcontroller (130). In this case, the second connection (122) between the storage device (120) and the service port (150) can be activated through the third port (323) and the fourth port (324). The switch (140) can deactivate the first port (311) and the second port (312) under the control of the microcontroller (130). In this case, the first connection (121) between the main processor (110) and the storage device (120) can be deactivated. While the first connection (121) is deactivated and the second connection (122) is activated, the state of the switch (140) may be the second state (320).

[0065] In one embodiment, the switch (140) can be changed from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B) under the control of the microcontroller (130). In one embodiment, the switch (140) can maintain the second state (e.g., the second state (320) of FIG. 3B) under the control of the microcontroller (130). For example, while the state of the switch (140) is a first state (e.g., the first state (310) of FIG. 3a), if the microcontroller (130) identifies that the state of the main processor (110) is abnormal based on a signal received from the main processor (110), the microcontroller (130) may control the switch (140) to change the state of the switch (140) from the first state (e.g., the first state (310) of FIG. 3a) to the second state (e.g., the second state (320) of FIG. 3b). While the state of the switch (140) is a second state (e.g., the second state (320) of FIG. 3b), if the microcontroller (130) identifies that the state of the main processor (110) is abnormal based on a signal received from the main processor (110), the switch (140) may maintain the second state (e.g., the second state (320) of FIG. 3b).

[0066] The switch (140) according to one embodiment may include a high speed switch. If the switch (140) is a high speed switch, the switch (140) can set or change the state of the switch (140) at a high speed under the control of the microcontroller (130). In this case, the microcontroller (130) can identify an abnormal state of the main processor (110) and control the switch (140) to more quickly change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B).

[0067] FIG. 4 is a flowchart illustrating a process in which an electronic device (100) provides data in a storage device (120) to an external electronic device (190) according to one embodiment.

[0068] At identification number 410, the electronic device (100) can detect that a predetermined signal is received from the main processor (110) to the microcontroller (130). According to one embodiment, the microcontroller (130) can identify that the state of the main processor (110) is abnormal based on the signal received from the main processor (110).

[0069] At the identification number 420, the electronic device (100) can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B). According to one embodiment, the microcontroller (130) can identify that the state of the main processor (110) is abnormal based on a signal received from the main processor (110), and, upon identifying that the state of the main processor (110) is abnormal, control the switch (140) to change the state of the switch (140) from the first state (e.g., the first state (310) of FIG. 3A) to the second state (e.g., the second state (320) of FIG. 3B).

[0070] According to one embodiment, the microcontroller (130) can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B) upon identifying that the signal received from the main processor (110) is an abnormal signal.

[0071] At identification number 430, the electronic device (100) can detect that the service port (150) is connected to an external electronic device (190).

[0072] In one embodiment, the microcontroller (130) can detect that an external electronic device (190) is connected to the service port (150).

[0073] For example, a pin connected to the service port (150) may be connected to a GPIO (general purpose input and output) pin of the microcontroller (130). In this case, the microcontroller (130) can read the status of the pin connected to the service port (150) to detect whether an external electronic device (190) is connected.

[0074] For example, the microcontroller (130) can detect whether current flows through the service port (150). For example, the electronic device (100) can include a current detection circuit or a current sensor for detecting whether current flows through the service port (150). In this case, when current flowing through the service port (150) is detected by the current detection circuit or the current sensor, the microcontroller (130) can identify that an external electronic device (190) is connected to the service port (150).

[0075] For example, the service port (150) may include a USB port. In this case, the external electronic device (190) may be a USB device. For example, if the service port (150) is a USB port, the microcontroller (130) may monitor the connection status of the USB pins using a USB host controller. When the external electronic device (190) is connected to the service port (150), a signal may be detected at a predetermined pin (e.g., D+ / D-). When a signal is detected at a predetermined pin, the microcontroller (130) may identify that the external electronic device (190) is connected to the electronic device (100) through the service port (150).

[0076] For example, the service port (150) can detect a connection status by receiving a predetermined packet or monitoring a communication signal. In this case, when data communication occurs through the communication line of the service port (150), the electronic device (100) can identify that an external electronic device (190) is connected to the electronic device (100) through the service port (150).

[0077] At identification number 440, data within the storage device (120) can be provided to an external electronic device (190).

[0078] According to one embodiment, the electronic device (100) can transmit data within the storage device (120) to an external electronic device (190). The electronic device (100) can cause data stored in the storage device (120) to be transmitted to the external electronic device (190) via the service port (150). The microcontroller (130) within the electronic device (100) can cause data stored in the storage device (120) to be transmitted to the external electronic device (190) via the service port (150). For example, the microcontroller (130) can control communication over a second connection (122) connecting the storage device (120) and the service port (150) to cause data stored in the storage device (120) to be transmitted to the external electronic device (190) via the service port (150).

[0079] In one embodiment, the external electronic device (190) may be connected to the electronic device (100) via the service port (150). For example, the external electronic device (190) may be connected to the service port (150) of the electronic device (100) via a connector of the external electronic device (190) (e.g., the connector (192) of the external electronic device of FIG. 16). In one embodiment, when the external electronic device (190) is connected to the service port (150) of the electronic device (100), the storage device (120) within the electronic device (100) may be connected to the main processor of the external electronic device (e.g., the main processor (195) of the external electronic device of FIG. 16) via the service port (150) of the electronic device (100). A storage device (120) within an electronic device (100) connected to a main processor of an external electronic device (e.g., a main processor (195) of the external electronic device of FIG. 16) can provide data stored in the storage device (120) to the main processor of the external electronic device (e.g., a main processor (195) of the external electronic device of FIG. 16) through a service port (150) of the electronic device (100) and a connector (192) of the external electronic device (190). A storage device (120) within an electronic device (100) connected to a main processor (195) of the external electronic device can transmit data stored in the storage device (120) to the main processor (195) of the external electronic device through a connector (192) of the electronic device (100) and a connector (192) of the external electronic device (190).

[0080] In one embodiment, the main processor (195) of the external electronic device (190) can detect that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) via the service port (150) of the electronic device (100). When the main processor (195) of the external electronic device (190) detects that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) via the service port (150) of the electronic device (100), the main processor (195) of the external electronic device (190) can control the electronic device (100) to provide data stored in the storage device (120) within the electronic device (100) to the external electronic device (190). The main processor (195) of the external electronic device (190) can control the electronic device (100) to transmit data stored in the storage device (120) within the electronic device (100) to the external electronic device (190) when it detects that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) through the service port (150) of the electronic device (100). The external electronic device (190) that receives the data stored in the storage device (120) within the electronic device (100) can store the received data in at least one of the storage device of the external electronic device (190) or the storage device connected to the external electronic device (190).

[0081] FIG. 5 is a flowchart for explaining a process for identifying that the state of the main processor (110) is abnormal in an electronic device (100) according to one embodiment.

[0082] Referring to identification number 410, the electronic device (100) can detect that a predetermined signal is received from the main processor (110) to the microcontroller (130). According to one embodiment, the microcontroller (130) can analyze the signal received from the main processor (110).

[0083] At the identification number 510, the electronic device (100) can identify that the signal received by the microcontroller (130) from the main processor (110) is an abnormal signal. In one embodiment, the microcontroller (130) can identify that the state of the main processor (110) is an abnormal state based on the signal received by the microcontroller (130) from the main processor (110). According to one embodiment, the microcontroller (130) can detect the signal received by the microcontroller (130) from the main processor (110) and identify whether the detected signal is a normal signal. For example, the microcontroller (130) can identify that the state of the main processor (110) is an abnormal state when a predetermined signal is not received by the microcontroller (130) from the main processor (110) for a predetermined period of time.

[0084] For example, the microcontroller (130) may include a watchdog timer. The watchdog timer may reset the system or generate an alarm if it is not reset by software within a certain period of time. If the main processor (110) is operating normally, the main processor (110) may periodically reset the watchdog timer. If the main processor (110) is unresponsive or malfunctions, the watchdog timer may not be reset. In this case, the watchdog timer may reset the system or generate an alarm. The microprocessor (132) within the microcontroller (130) may detect an alarm generated by the watchdog timer and identify that the signal received from the main processor (110) is an abnormal signal. The microprocessor (132) within the microcontroller (130) may detect an alarm generated by the watchdog timer and identify that the state of the main processor (110) is abnormal.

[0085] For example, the microcontroller (130) can periodically check the status of the main processor (110). The microcontroller (130) can periodically transmit a signal or command to the main processor (110). In this case, the main processor (110) can receive the command, process the received command, and transmit a response to the microcontroller (130). The microcontroller (130) can receive the response from the main processor (110) and determine that the received response is abnormal. The microcontroller (130) that determines that the received response is abnormal can identify that the signal received from the main processor (110) is an abnormal signal. If the microcontroller (130) periodically transmits a signal or command to the main processor (110), but no response is received from the main processor (110) within a predetermined time, the microcontroller (130) can identify that an abnormal signal has been received from the main processor (110). When the microcontroller (130) periodically transmits a signal or command to the main processor (110), but no response is received from the main processor (110) within a predetermined time, it can be identified that the state of the main processor (110) is abnormal.

[0086] For example, the microcontroller (130) can monitor the voltage or temperature of the main processor (110). The microcontroller (130) can receive data related to the voltage or temperature of the main processor (110) in real time. If the voltage or temperature of the main processor (110) falls outside a predetermined range, the microcontroller (130) can receive data related to the voltage or temperature of the main processor (110) falling outside the predetermined range from the main processor (110). In this case, the microcontroller (130) can identify that an abnormal signal has been received from the main processor (110). In this case, the microcontroller (130) can identify that the state of the main processor (110) is abnormal.

[0087] For example, the microcontroller (130) can detect an error in data occurring in the memory of the main processor (110) (e.g., the memory (1930) of FIG. 19). In this case, the microcontroller (130) can use a memory parity check or an error-correcting code (ECC). For example, the microcontroller (130) can periodically check the data in the memory of the main processor (110) (e.g., the memory (1930) of FIG. 19). For example, the microcontroller (130) can use an ECC code to check the data in the memory of the main processor (110) (e.g., the memory (1930) of FIG. 19). As a result of checking or checking the data in the memory of the main processor (110) (e.g., the memory (1930) of FIG. 19), the microcontroller (130) can identify that there is an error in the data. The microcontroller (130) that identifies that there is an error in the data of the memory of the main processor (110) (e.g., the memory (1930) of FIG. 19) can identify that the signal received from the main processor (110) is an abnormal signal. The microcontroller (130) that identifies that there is an error in the data of the memory of the main processor (110) (e.g., the memory (1930) of FIG. 19) can identify that the state of the main processor (110) is abnormal.

[0088] For example, the microcontroller (130) can monitor the status of the main processor (110) through a debug interface (e.g., JTAG). The debug interface can allow the microcontroller (130) to check the register status or program counter of the main processor (110). The microcontroller (130) can access the main processor (110) through the debug interface. The microcontroller (130) can read and analyze the internal status of the main processor (110). As a result of analyzing the internal status of the main processor (110), the microcontroller (130) can identify that the signal received from the main processor (110) is an abnormal signal. As a result of analyzing the internal status of the main processor (110), the microcontroller (130) can identify that the status of the main processor (110) is abnormal.

[0089] For example, the main processor (110) can check the status of the main processor (110) when the electronic device (100) is booted. For example, the main processor (110) can check the status of the main processor (110) itself every time the electronic device (100) is booted. The main processor (110) can check the function of the main processor (110) when the electronic device (100) is booted. The main processor (110) can transmit the result of checking the function of the main processor (110) to the microcontroller (130). The microcontroller (130) can receive the result data of the main processor (110) checking its own function. If the microcontroller (130) determines that the received data includes a result indicating that the main processor (110) has failed to perform a predetermined function, the microcontroller (130) can identify that the signal received from the main processor (110) is an abnormal signal. The microcontroller (130) can identify that the state of the main processor (110) is abnormal when it determines that the received data includes a result indicating that the main processor (110) has failed to perform a predetermined function.

[0090] For example, the microcontroller (130) may periodically transmit a ping command to the main processor (110). The microcontroller (130) may identify the signal received from the main processor (110) as an abnormal signal if a response signal to the transmitted ping command is not received from the main processor (110) within a predetermined time period or a signal different from a preset response signal is received.

[0091] Referring to the identification number 420, the electronic device (100) that has identified that the signal received from the main processor (110) to the microcontroller (130) is an abnormal signal can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B). According to one embodiment, the microcontroller (130) can determine that the state of the main processor (110) is abnormal by identifying that the signal received from the main processor (110) to the microcontroller (130) is an abnormal signal. When the microcontroller (130) determines that the state of the main processor (110) is abnormal, it can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B). A detailed description related to the step of identification number 420 corresponds to the description related to the step of identification number 420 of FIG. 4, and therefore will be omitted here.

[0092] FIG. 6 is a block diagram illustrating the internal configuration of an electronic device (100) including an input device (160) according to one embodiment.

[0093] An electronic device (100) according to one embodiment may include an input device (160). The input device (160) may input data into the electronic device (100) or components within the electronic device (100). The input device (160) may receive a user's input and transmit the received user's input to the microcontroller (130). For example, the input device (160) may include at least one of a keyboard (e.g., a plurality of keys (1812) of FIG. 18), a button, a mouse, a trackpad, a microphone, a camera, a scanner, a sensor, or a touchpad.

[0094] In one embodiment, the input device (160) may be connected to the microcontroller (130). When a user input is received, the input device (160) may transmit data related to the received user input to the microcontroller (130). When the microcontroller (130) receives data related to the user input through the input device (160), the microcontroller (130) may process the user input. For example, the microcontroller (130) may compare the user input received through the input device (160) with previously stored user input. For example, the microcontroller (130) may store preset information regarding the user input.

[0095] In one embodiment, the input device (160) may be connected to the main processor (110) and the microcontroller (130). For example, the input device (160) may transmit the received user input to the main processor (110) when a user input is received in a first state (e.g., the first state (310) of FIG. 3A). The input device (160) may transmit the received user input to the microcontroller (130) when a user input is received in a second state (e.g., the second state (320) of FIG. 3B).

[0096] FIG. 7 is a flowchart illustrating a process in which an electronic device (100) according to one embodiment provides data in a storage device (120) to an external electronic device (190) upon receiving a user's input.

[0097] Referring to identification number 710, the electronic device (100) can receive a user's input through an input device (160). For example, the input device (160) can include a button. The input device (160) in the form of a button can detect a user's input pressing the button. In this case, the input device (160) can transmit the user's input to the microcontroller (130). The microcontroller (130) can compare the user's input with the user's input previously stored in the microcontroller (130). For example, the microcontroller (130) can compare the received user's input with the previously stored user's input.

[0098] Referring to the identification number 420, the electronic device (100) that receives the user's input through the input device (160) can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B). According to one embodiment, the microcontroller (130) can determine that the state of the main processor (110) is abnormal when it identifies that a signal received by the microcontroller (130) from the main processor (110) is an abnormal signal. When the microcontroller (130) determines that the state of the main processor (110) is abnormal, the microcontroller (130) can control the switch (140) to change the state of the switch (140) from the first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B). A detailed description related to the step of identification number 420 corresponds to the description related to the step of identification number 420 of FIG. 4, and is therefore omitted here.

[0099] FIG. 8 is a flowchart illustrating a process in which an electronic device according to one embodiment provides data within a storage device to an external electronic device based on whether a received user input matches a previously stored user input.

[0100] Referring to identification number 710, the electronic device (100) can receive user input through the input device (160). The description of identification number 710 corresponds to the description related to the step of identification number 710 of FIG. 7, and therefore will be omitted here.

[0101] Referring to the identification number 820, the electronic device (100) can identify whether the received user input matches the previously stored user input. According to one embodiment, the electronic device (100) can store setting information regarding the user input. For example, the microcontroller (130) can store setting information regarding the user input in a microcontroller memory (e.g., 134 of FIG. 11) within the microcontroller (130). For example, the electronic device (100) can store setting information regarding the user input in a memory (e.g., memory (1930) of FIG. 19). For example, the electronic device (100) can request the user for setting information regarding the user input in advance. The electronic device (100) can store setting information regarding the user input in the input device (160).

[0102] Referring to identification number 830, if the electronic device (100) determines that the received user input does not match the previously stored user input, the electronic device (100) can maintain the state of the switch (140) in the first state (e.g., the first state (310) of FIG. 3A).

[0103] In the identification number 420, if the electronic device (100) determines that the received user input matches the previously stored user input, the electronic device (100) can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B). In one embodiment, the microcontroller (130) can control the switch (140) to change the state of the switch (140) from a first state (e.g., the first state (310) of FIG. 3A) to a second state (e.g., the second state (320) of FIG. 3B).

[0104] FIG. 9 is an exemplary drawing for explaining a method for an electronic device (100) according to one embodiment to set a password to be compared with a received user input in order to provide data in a storage device (120) to an external electronic device (190).

[0105] In one embodiment, the electronic device (100) may receive user input from a user to provide data within the storage device (120) to an external electronic device (190). The electronic device (100) may receive the user input through the input device (160). The electronic device (100) may compare the received user input with previously stored user input.

[0106] In one embodiment, the microcontroller (130) may receive user input from a user to provide data within the storage device (120) to an external electronic device (190). The microcontroller (130) may receive the user input via the input device (160). The microcontroller (130) may compare the received user input with previously stored user input.

[0107] In one embodiment, the electronic device (100) may receive a user input through the input device (160) and store the received user input as a previously stored user input. For example, the electronic device (100) may receive a user input to provide data of the storage device (120) to an external electronic device (190) through the service port (150). For example, the electronic device (100) may display a GUI (920, 925) on the display to provide a user input as to whether to allow data of the storage device (120) to be provided to the external electronic device (190) through the service port (150). The electronic device (100) may detect a user input allowing data of the storage device (120) to be provided to the external electronic device (190) through the service port (150). In this case, the electronic device (100) may display a GUI (925) on a display (e.g., the display (900) of FIG. 9, the display module (1960) of FIG. 19) indicating that the electronic device (100) has permitted the data of the storage device (120) to be provided to the external electronic device (190) through the service port (150). When the electronic device (100) detects a user input permitting the data of the storage device (120) to be provided to the external electronic device (190) through the service port (150), the electronic device (100) may receive a password from the user through the input device (160) in order to provide the data of the storage device (120) to the external electronic device (190) through the service port (150). The electronic device (100) may store the password received from the user. For example, the electronic device (100) may store the password received from the user in a memory (e.g., the memory (1930) of FIG. 19). For example, the electronic device (100) can store a password received from a user in a microcontroller memory (e.g., the microcontroller memory (134) of FIG. 11).For example, the electronic device (100) can store a password received from a user in a secure memory (135).

[0108] According to one embodiment, the microcontroller (130) may store a password stored in at least one of a memory (e.g., a memory (1930) of FIG. 19), a microcontroller memory (e.g., a microcontroller memory (134) of FIG. 11), or a secure memory (135)) as a previously stored user input. In this case, when a user input is received through the input device (160), the microcontroller (130) may compare the previously stored user input with the received user input. If it is determined that the previously stored user input and the received user input match as a result of comparing the previously stored user input and the received user input, the microcontroller (130) may control the switch (140) to connect the storage device (120) and the service port (150). In this case, when an external electronic device (190) is connected to the electronic device (100) through the service port (150), the microcontroller (130) can provide data in the storage device (120) to the external electronic device (190) through the service port (150).

[0109] For example, the electronic device (100) may request user input from the user through a display (e.g., display (900) of FIG. 9, display module (1960) of FIG. 19).

[0110] FIG. 10 is a block diagram illustrating the internal configuration of an electronic device (100) including a display device (165) according to one embodiment.

[0111] In one embodiment, the electronic device (100) may include a display device (165). The display device (165) may externally display the status of the electronic device (100). In one embodiment, the display device (165) may be connected to a microcontroller (130). For example, the display device (165) may include at least one of an LED, a display, or an audio.

[0112] For example, the microcontroller (130) can receive a user's input through the input device (160). The microcontroller (130) that receives the user's input can compare the received user's input with a previously stored user's input. If the microcontroller (130) determines that the received user's input matches the previously stored user's input as a result of comparing the received user's input with the previously stored user's input, the microcontroller (130) can display a first signal through the display device (165). If the microcontroller (130) determines that the received user's input does not match the previously stored user's input as a result of comparing the received user's input with the previously stored user's input, the microcontroller (130) can display a second signal through the display device (165). The first signal and the second signal may be different signals.

[0113] For example, the display device (165) may include an LED device. In this case, if the microcontroller (130) determines that the received user input matches the previously stored user input as a result of comparing the received user input with the previously stored user input, the microcontroller (130) may apply power to the green LED of the display device (165). For example, if the microcontroller (130) determines that the received user input does not match the previously stored user input as a result of comparing the received user input with the previously stored user input, the microcontroller (130) may apply power to the red LED of the display device (165).

[0114] Fig. 11 is a block diagram illustrating the internal configuration of a microcontroller (130) according to one embodiment.

[0115] In one embodiment, the microcontroller (130) can control components within the electronic device (100). The microcontroller (130) can control components of the electronic device (100) to perform operations for data recovery. In one embodiment, the microcontroller (130) can include a microcomputer (MICOM).

[0116] The microcontroller (130) may include a microcontroller memory (134) that stores commands for controlling components within the electronic device (100) and a microprocessor (132) that executes commands for controlling components within the electronic device (100).

[0117] In one embodiment, the microcontroller (130) may include a microprocessor (132). The microprocessor (132) may generate instructions and perform operations within the microcontroller (130). The microprocessor (132) may execute instructions for controlling components within the electronic device (100). For example, the microprocessor (132) may execute instructions stored in the microcontroller memory (134).

[0118] In one embodiment, the microcontroller (130) may include a microcontroller memory (134). For example, the microcontroller memory (134) may include at least one of a flash memory, a random access memory (RAM), or an electrically erasable programmable read-only memory (EEPROM). For example, the microcontroller memory (134) may store instructions for controlling components within the electronic device (100).

[0119] FIG. 12 is a block diagram for explaining the connection relationship and function of internal components in an electronic device (100) according to one embodiment.

[0120] In one embodiment, the electronic device (100) may include a secure memory (135). The secure memory (135) may be controlled by a microcontroller (130). In one embodiment, the secure memory (135) may be included in the microcontroller (130). When the secure memory (135) is included in the microcontroller (130), the secure memory (135) may correspond to the microcontroller memory (134) of FIG. 11. The secure memory (135) may store data regarding a previously stored user input. In one embodiment, when an input for setting or changing a previously stored user input is received from a user, the electronic device (100) may set or change the previously stored user input in the secure memory (135).

[0121] For example, the secure memory (135) may include a SPI ROM (serial peripheral interface read-only memory). For example, the secure memory (135) may include a flash memory. The flash memory may be a flash ROM.

[0122] In one embodiment, the electronic device (100) may include an interface integrated circuit (142). In one embodiment, the interface integrated circuit (142) may be disposed on the second connection path (122). The interface integrated circuit (142) may be connected to a microcontroller (130). The interface integrated circuit (142) may convert a signal including data stored in the storage device (120) so that the data stored in the storage device (120) may be provided to an external electronic device (190) through a service port (150) under the control of the microcontroller (130). The interface integrated circuit (142) may convert a communication protocol so that communication between the electronic device (100) and the external electronic device (190) may be enabled so that the data stored in the storage device (120) within the electronic device (100) may be provided to the external electronic device (190). The interface integrated circuit (142) can adjust the data transmission speed of the electronic device (100) and the external electronic device (190). This can adjust the data communication between the electronic device (100) and the external electronic device (190) to be performed smoothly. The interface integrated circuit (142) can include a storage space for storing at least a portion of the data stored in the storage device (120) while the data stored in the storage device (120) is transmitted to the external electronic device (190). In this case, the microcontroller (130) can temporarily store at least a portion of the data stored in the storage device (120) in the storage space within the interface integrated circuit (142) while transmitting the data stored in the storage device (120) to the external electronic device (190). This can prevent data loss while the data stored in the storage device (120) is transmitted to the external electronic device (190), and enable stable communication.The interface integrated circuit (142) can manage the interface between the electronic device (100) and the external electronic device (190) and convert signals. Through this, smooth communication and data transmission can be enabled.

[0123] In one embodiment, the electronic device (100) may include a power switch (144). In one embodiment, the power switch (144) may apply power to the interface integrated circuit (142). The power switch (144) may cut off power supplied to the interface integrated circuit (142). The power switch (144) may regulate power supplied to the interface integrated circuit (142) or distribute power.

[0124] The power switch (144) may be connected to a microcontroller (130). The microcontroller (130) may control the power switch (144) to apply power to an interface integrated circuit (142) disposed on a second connection path (122) between a storage device (120) and a service port (150). The microcontroller (130) may control the power switch (144) to adjust the power applied to the interface integrated circuit (142).

[0125] FIG. 13 is a block diagram illustrating a storage device (120) connected to a connector (180) according to one embodiment.

[0126] According to one embodiment, the electronic device (100) may include a connector (180) connected to a storage device (120). The connector (180) may allow the electronic device (100) and an external electronic device (190) to be connected. For example, the connector (180) may include at least one of a USB connector, an HDMI connector, or an RJ45 connector. The connector (180) may allow the electronic device (100) and the external electronic device (190) to be connected, thereby allowing data to be transmitted between the electronic device (100) and the external electronic device (190). For example, the connector (180) may allow the electronic device (100) and the external electronic device (190) to be connected, thereby allowing power to be supplied between the electronic device (100) and the external electronic device (190).

[0127] For example, the connector (180) may allow the electronic device (100) and the external electronic device (190) to be electrically connected. For example, the connector (180) may allow the electronic device (100) and the external electronic device (190) to be physically coupled. For example, the connector (180) may include a port that allows the electronic device (100) and the external electronic device (190) to be physically coupled.

[0128] In one embodiment, the connector (180) may be directly connected to the storage device (120). In one embodiment, the connector (180) may be positioned on a first connection (121) connecting the storage device (120) and the main processor (110).

[0129] FIG. 14 is a flowchart illustrating a process in which an electronic device (100) including a storage device (120) connected to a connector (180) provides data within the storage device (120) to an external electronic device (190), in one embodiment.

[0130] At identification number 1410, an external electronic device (190) can be connected to the storage device (120) via a connector (180).

[0131] In one embodiment, when an external electronic device (190) is connected to a connector (180) of an electronic device (100) via a connector of the external electronic device (190) (e.g., a connector (192) of the external electronic device of FIG. 16), a storage device (120) within the electronic device (100) may be connected to a main processor (195) of the external electronic device via the connector (180) of the electronic device (100) and the connector of the external electronic device (e.g., a connector (192) of the external electronic device of FIG. 16). The main processor (195) of the external electronic device (190) may detect that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) via the connector (180) of the electronic device (100).

[0132] At identification number 1420, the electronic device (100) can provide data within the storage device (120) to an external electronic device.

[0133] In one embodiment, the main processor (195) of the external electronic device (190) may control the electronic device (100) to provide data stored in the storage device (120) within the electronic device (100) to the external electronic device (190) upon detecting that the connector (e.g., the connector (192) of the external electronic device of FIG. 16) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) via the connector (180) of the electronic device (100). The external electronic device (190) that receives the data stored in the storage device (120) within the electronic device (100) may store the received data in the storage device within the external electronic device (190).

[0134] FIG. 15 is a block diagram for explaining a specific method of arranging a connector (180) in an electronic device (100) according to one embodiment.

[0135] According to one embodiment, the connector (180) may be positioned on a path connecting the main processor (110) and the storage device (120). The connector (180) may be positioned on the first connection (121).

[0136] When the connector (180) is positioned on a path connecting the main processor (110) and the storage device (120), data of the storage device (120) can be transmitted through a path used for data communication between the main processor (110) and the storage device (120). For example, data can be transmitted between the main processor (110) and the storage device (120) through a bus system having a high-speed data transmission function. For example, data can be transmitted between the main processor (110) and the storage device (120) through a peripheral component interconnect express bus (PCIE bus). In this case, the connector (180) can transmit data of the storage device (120) to an external electronic device (190) by using a bus system capable of transmitting data between the main processor (110) and the storage device (120). Through this, the electronic device (100) can transmit data stored in the storage device (120) to an external electronic device (190) at a faster speed.

[0137] FIG. 16 is a block diagram for explaining the connection relationship between each component and the data provision path when, in one embodiment, an electronic device (100) including a storage device (120) connected to a connector (180) is connected to an external electronic device (190).

[0138] In one embodiment, the electronic device (100) may include a connector (180) connected to a storage device (120). An external electronic device (190) may be connected to the electronic device (100) via the connector (180). The external electronic device (190) may be connected to the connector (180) of the electronic device (100) via a connector (192) of the external electronic device (190). For example, the connector (192) of the external electronic device (190) may include the same type of port as the connector (180) of the electronic device (100). For example, the connector (180) of the electronic device (100) may include a USB port. In this case, the connector (192) of the external electronic device (190) may also include a USB port.

[0139] In one embodiment, when an external electronic device (190) is connected to a connector (180) of an electronic device (100) via a connector (192) of the external electronic device (190), a storage device (120) within the electronic device (100) can be connected to a main processor (195) of the external electronic device via the connector (180) of the electronic device (100) and the connector (192) of the external electronic device. The storage device (120) within the electronic device (100) connected to the main processor (195) of the external electronic device can provide data stored in the storage device (120) to the main processor (195) of the external electronic device via the connector (192) of the electronic device (100) and the connector (192) of the external electronic device (190). A storage device (120) in an electronic device (100) connected to a main processor (195) of an external electronic device can transmit data stored in the storage device (120) to the main processor (195) of the external electronic device through a connector (192) of the electronic device (100) and a connector (192) of the external electronic device (190).

[0140] In one embodiment, the main processor (195) of the external electronic device (190) can detect that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) via the connector (180) of the electronic device (100). When the main processor (195) of the external electronic device (190) detects that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) via the connector (180) of the electronic device (100), the main processor (195) of the external electronic device (190) can control the electronic device (100) to provide data stored in the storage device (120) within the electronic device (100) to the external electronic device (190). The main processor (195) of the external electronic device (190) can control the electronic device (100) to transmit data stored in the storage device (120) within the electronic device (100) to the external electronic device (190) when it detects that the connector (192) of the external electronic device (190) is connected to the storage device (120) of the electronic device (100) through the connector (180) of the electronic device (100). The external electronic device (190) that receives the data stored in the storage device (120) within the electronic device (100) can store the received data in at least one of the storage device of the external electronic device (190) or the storage device connected to the external electronic device (190).

[0141] FIG. 17 is a block diagram illustrating a connection relationship between internal components of an electronic device (100) including a switch (140) and a connector (180) according to one embodiment.

[0142] According to one embodiment, the electronic device (100) may include a switch (140) and a connector (180). The switch (140) and the connector (180) may be positioned on a first connection (121) connecting the main processor (110) and the storage device (120). A detailed description of the switch (140) and the connector (180) correspond to the descriptions of FIGS. 1 to 16 and are therefore omitted herein.

[0143] FIG. 18 is a perspective view showing the external structure of an electronic device (100) according to various embodiments of the present disclosure.

[0144] Referring to FIG. 18, an electronic device (100) according to various embodiments may include a first electronic device (1810), a second electronic device (1820), and a connecting portion (1830) connecting the first electronic device (1810) and the second electronic device (1820). The connecting portion (1830) may mechanically or electrically connect the first electronic device (1810) and the second electronic device (1820). When the first electronic device (1810) and the second electronic device (1820) are mechanically connected, a hinge may be employed if a rotational axis is provided, and a folding device may be provided if the device is folded or unfolded. In addition, at least one of the first electronic device (1810) or the second electronic device (1820) may have a structure that is detachable and / or mountable to the connecting portion (1830). If the first electronic device (1810) and the second electronic device (1820) are electrically connected, a flexible printed circuit board (FPCB) may be employed.

[0145] A first electronic device (1810) according to various embodiments may include a first housing (1811) that protects various electronic components and is responsible for the appearance. The first housing (1811) according to various embodiments may include a first side facing a first direction and a second side facing a second direction opposite to the first direction. The first side may be an inner surface of the electronic device (100), and the second side may be an outer surface of the electronic device (100). In addition, the first side may be a top surface (or front surface) of the first electronic device (1810), and the second side may be a back surface of the first electronic device (1810).

[0146] According to various embodiments, a first housing (1811) may have a plurality of keys (1812), a touch pad (1814), and a palm rest (1813) arranged on a first surface. The plurality of keys (1812) arranged on the first surface of the first housing (1811) may be referred to as a data input device, a keyboard, or a keyboard housing. The plurality of keys (1812) may be arranged in a QWERTY key arrangement. An area in which the plurality of keys (1812) arranged on the first housing (1811) are arranged may be referred to as a keyboard area. The plurality of keys (1812) may correspond to the input device (160) of FIG. 6.

[0147] A first surface of a first housing (1811) may include a first area (a1) in which a plurality of keys (1812) are arranged, a second area (a2) in which a touch pad (1814) is arranged, and a third area (a3) ​​in which a palm rest (1813) is arranged. The first area (a1), the second area (a2), and the third area (a3) ​​may not overlap each other but may be arranged parallel to each other. The third area (a3) ​​may be formed on both left and right sides of the second area (a2). For example, the third area (a3) ​​may be formed of a metal material. However, this is merely exemplary, and embodiments of the present invention are not limited thereto. For example, the third area (a3) ​​may be formed of a material other than a metal material, or may be formed of a combination of a metal material and another material.

[0148] A second electronic device (1820) according to various embodiments may include a second housing (1811) that protects various electronic components and is responsible for the appearance. The second housing (1811) according to various embodiments may include a first side facing a first direction and a second side facing a second direction opposite to the first direction. The first side may be an inner surface of the electronic device (100), and the second side may be an outer surface of the electronic device (100). In addition, the first side may be an upper surface (or front surface) of the second electronic device (1820), and the second side may be a rear surface of the second electronic device (1820).

[0149] A display (1822) may be arranged on the first surface of the second housing (1811). The display (1822) may be provided with a touch-sensitive panel and may function as a touch screen. The second electronic device (1820) may be provided with the display (1822) and may be referred to as a display device. The display (1822) may correspond to the display (900) of FIG. 9, the display module (1960) of FIG. 19, and the display device (165) of FIG. 10.

[0150] The structure of the electronic device (100) described above is merely exemplary, and embodiments of the present invention are not limited thereto. For example, at least one of the components of the electronic device (100) described above may be omitted, or another component may be added.

[0151] FIG. 19 is a block diagram of an electronic device (1901) within a network environment (1900), according to various embodiments.

[0152] The electronic device (1901) of FIG. 19 may correspond to the electronic device (100) disclosed throughout the present disclosure.

[0153] Referring to FIG. 19, in a network environment (1900), an electronic device (1901) may communicate with an electronic device (1902) via a first network (1998) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (1904) or a server (1908) via a second network (1999) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (1901) may communicate with the electronic device (1904) via the server (1908). According to one embodiment, the electronic device (1901) may include a processor (1920), a memory (1930), an input module (1950), an audio output module (1955), a display module (1960), an audio module (1970), a sensor module (1976), an interface (1977), a connection terminal (1978), a haptic module (1979), a camera module (1980), a power management module (1988), a battery (1989), a communication module (1990), a subscriber identification module (1996), or an antenna module (1997). In some embodiments, the electronic device (1901) may omit at least one of these components (e.g., the connection terminal (1978)), or may have one or more other components added. In some embodiments, some of these components (e.g., sensor module (1976), camera module (1980), or antenna module (1997)) may be integrated into a single component (e.g., display module (1960)).

[0154] The processor (1920) may control at least one other component (e.g., a hardware or software component) of the electronic device (1901) connected to the processor (1920) by executing, for example, software (e.g., a program (1940)), and may perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (1920) may store commands or data received from other components (e.g., a sensor module (1976) or a communication module (1990)) in a volatile memory (1932), process the commands or data stored in the volatile memory (1932), and store result data in a non-volatile memory (1934). According to one embodiment, the processor (1920) may include a main processor (1921) (e.g., a central processing unit or an application processor) or a secondary processor (1923) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (1921). For example, when the electronic device (1901) includes the main processor (1921) and the secondary processor (1923), the secondary processor (1923) may be configured to use less power than the main processor (1921) or to be specialized for a given function. The secondary processor (1923) may be implemented separately from the main processor (1921) or as a part thereof.

[0155] The auxiliary processor (1923) may control at least a portion of functions or states associated with at least one component (e.g., a display module (1960), a sensor module (1976), or a communication module (1990)) of the electronic device (1901), for example, on behalf of the main processor (1921) while the main processor (1921) is in an inactive (e.g., sleep) state, or together with the main processor (1921) while the main processor (1921) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (1923) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (1980) or a communication module (1990)). In one embodiment, the auxiliary processor (1923) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (1901) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (1908)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0156] The memory (1930) can store various data used by at least one component (e.g., the processor (1920) or the sensor module (1976)) of the electronic device (1901). The data can include, for example, software (e.g., the program (1940)) and input data or output data for commands related thereto. The memory (1930) can include volatile memory (1932) or non-volatile memory (1934).

[0157] The program (1940) may be stored as software in memory (1930) and may include, for example, an operating system (1942), middleware (1944), or an application (1946).

[0158] The input module (1950) can receive commands or data to be used in a component of the electronic device (1901) (e.g., a processor (1920)) from an external source (e.g., a user) of the electronic device (1901). The input module (1950) can include, for example, a microphone, a mouse, a keyboard, keys (e.g., buttons), or a digital pen (e.g., a stylus pen).

[0159] The audio output module (1955) can output audio signals to the outside of the electronic device (1901). The audio output module (1955) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0160] The display module (1960) can visually provide information to an external party (e.g., a user) of the electronic device (1901). The display module (1960) may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling the device. In one embodiment, the display module (1960) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0161] The audio module (1970) can convert sound into an electrical signal, or vice versa. According to one embodiment, the audio module (1970) can acquire sound through the input module (1950), output sound through the sound output module (1955), or an external electronic device (e.g., electronic device (1902)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (1901).

[0162] The sensor module (1976) can detect the operating status (e.g., power or temperature) of the electronic device (1901) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (1976) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0163] The interface (1977) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (1901) with an external electronic device (e.g., the electronic device (1902)). In one embodiment, the interface (1977) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0164] The connection terminal (1978) may include a connector through which the electronic device (1901) may be physically connected to an external electronic device (e.g., the electronic device (1902)). In one embodiment, the connection terminal (1978) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0165] A haptic module (1979) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (1979) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0166] The camera module (1980) can capture still images and moving images. In one embodiment, the camera module (1980) may include one or more lenses, image sensors, image signal processors, or flashes.

[0167] The power management module (1988) can manage the power supplied to the electronic device (1901). According to one embodiment, the power management module (1988) can be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

[0168] A battery (1989) may power at least one component of the electronic device (1901). In one embodiment, the battery (1989) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0169] The communication module (1990) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (1901) and an external electronic device (e.g., electronic device (1902), electronic device (1904), or server (1908)), and the performance of communication through the established communication channel. The communication module (1990) may operate independently from the processor (1920) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (1990) may include a wireless communication module (1992) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (1994) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (1904) via a first network (1998) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (1999) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a local area network or a wide area network)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (1992) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (1996) to identify or authenticate the electronic device (1901) within a communication network such as the first network (1998) or the second network (1999).

[0170] The wireless communication module (1992) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimizing terminal power and connecting multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (1992) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (1992) may support various technologies for securing performance in high frequency bands, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (1992) may support various requirements specified in the electronic device (1901), an external electronic device (e.g., the electronic device (1904)), or a network system (e.g., the second network (1999)). According to one embodiment, the wireless communication module (1992) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0171] The antenna module (1997) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (1997) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (1997) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (1998) or the second network (1999), may be selected from the plurality of antennas by, for example, the communication module (1990). A signal or power may be transmitted or received between the communication module (1990) and the external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (1997).

[0172] According to various embodiments, the antenna module (1997) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.

[0173] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0174] According to one embodiment, commands or data may be transmitted or received between the electronic device (1901) and an external electronic device (1904) via a server (1908) connected to a second network (1999). Each of the external electronic devices (1902 or 1904) may be the same or a different type of device as the electronic device (1901). According to one embodiment, all or part of the operations executed in the electronic device (1901) may be executed in one or more of the external electronic devices (1902, 1904, or 1908). For example, when the electronic device (1901) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (1901) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or additional functions or services related to the request, and transmit the result of the execution to the electronic device (1901). The electronic device (1901) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (1901) may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (1904) may include an Internet of Things (IoT) device. The server (1908) may be an intelligent server utilizing machine learning and / or a neural network.According to one embodiment, an external electronic device (1904) or server (1908) may be included within the second network (1999). The electronic device (1901) may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology and IoT-related technology.

[0175] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0176] The various embodiments of this document and the terminology 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, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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 "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0177] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0178] Various embodiments of the present document may be implemented as software (e.g., a program (1940)) including one or more instructions stored in a storage medium (e.g., an internal memory (1936) or an external memory (1938)) readable by a machine (e.g., an electronic device (1901)). For example, a processor (e.g., a processor (1920)) of the machine (e.g., an electronic device (1901)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0179] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0180] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0181] According to one embodiment of the present disclosure, an electronic device may include a main processor and a printed circuit board (PCB). The electronic device may include a storage device connected to the main processor and attached to the printed circuit board. The electronic device may include a service port exposed to the outside of the electronic device for connection with an external electronic device. The electronic device may include a switch that switches a first connection between the storage device and the main processor and a second connection between the storage device and the service port. The state of the switch may include a first state in which the storage device and the main processor are connected and the storage device and the service port are disconnected, and a second state in which the storage device and the main processor are disconnected and the storage device and the service port are connected. The electronic device may include a microcontroller including a microprocessor. In the first state, the microprocessor detects that a predetermined signal is received from the main processor to the microcontroller, and, upon detecting that the predetermined signal is received, controls the switch to change the state of the switch from the first state to the second state, and, when the service port is connected to the external electronic device while the switch is in the second state, allows data in the storage device connected to the service port to be provided to the external electronic device through the switch.

[0182] In one embodiment, the switch may include a first port located on the first connection connected to the main processor, a second port located on the first connection connected to the storage device, a third port located on the second connection connected to the storage device, and a fourth port located on the second connection connected to the service port. In the first state, the microprocessor may detect that a predetermined signal is received from the main processor to the microcontroller. The microprocessor may control the switch to deactivate the first port and the second port and activate the third port and the fourth port, thereby changing the state of the switch from the first state to the second state, upon detecting that the predetermined signal is received.

[0183] In one embodiment, the microcontroller can identify that a signal received from the main processor to the microcontroller is an abnormal signal. Upon identifying the abnormal signal, the microcontroller can control the switch to change the state of the switch from the first state to the second state.

[0184] In one embodiment, the electronic device may include an input device connected to the microcontroller. The microcontroller may receive user input through the input device. Upon receiving the user input, the microcontroller may control the switch to change the state of the switch from the first state to the second state.

[0185] In one embodiment, the microcontroller can determine whether the received user input matches a previously stored user input. If the received user input matches the previously stored user input, the microcontroller can control the switch to change the state of the switch from the first state to the second state.

[0186] An electronic device according to one embodiment may include a display device connected to the microcontroller. The microcontroller may control the display device to output a first signal through the display device when the received user input matches a previously stored user input. The microcontroller may control the display device to output a second signal, different from the first signal, through the display device when the received user input does not match a previously stored user input.

[0187] An electronic device according to one embodiment may include an interface integrated circuit (IIC) positioned between the switch and the service port. The IIC may convert the data stored in the storage device and provide it to the service port.

[0188] An electronic device according to one embodiment may include a power switch disposed between the microcontroller and the interface integrated circuit. The microcontroller may control the power switch upon detecting that the predetermined signal is received, thereby causing the power switch to apply power to the interface integrated circuit.

[0189] An electronic device according to one embodiment may include a connector connected to the storage device. When the external electronic device is connected to the storage device through the connector, the electronic device may provide data within the storage device to the external electronic device.

[0190] In one embodiment, the connector may be positioned on the first connection. When the electronic device is connected to the storage device by the external electronic device being connected to the first connection via the connector, the electronic device may provide data within the storage device to the external electronic device.

[0191] In one embodiment, the switch may comprise a high speed switch.

[0192] In one embodiment, the microcontroller may include a memory storing instructions. The instructions, when individually or collectively executed by the microprocessor, may cause the microcontroller, in the first state, to detect that a predetermined signal has been received from the main processor to the microcontroller, and, upon detecting that the predetermined signal has been received, control the switch to change the state of the switch from the first state to the second state, and, when the service port is connected to the external electronic device while the switch is in the second state, provide data in the storage device connected to the service port to the external electronic device through the switch.

[0193] A method of operating an electronic device according to one embodiment may include, in a first state, an operation of detecting that a predetermined signal is received from a main processor to a microcontroller. The method of operating an electronic device may include, in response to detecting that the predetermined signal is received, an operation of controlling a switch that switches a first connection between a storage device and the main processor and a second connection between the storage device and a service port, thereby changing a state of the switch from the first state to a second state. The states of the switch may include a first state in which the storage device and the main processor are connected and the storage device and the service port are disconnected, and a second state in which the storage device and the main processor are disconnected and the storage device and the service port are connected. The method of operating an electronic device may include, when the service port is connected to an external electronic device while the switch is in the second state, an operation of providing data in a storage device connected to the service port to an external electronic device through the switch.

[0194] In one embodiment, the switch may include a first port located on the first connection connected to the main processor, a second port located on the first connection connected to the storage device, a third port located on the second connection connected to the storage device, and a fourth port located on the second connection connected to the service port. The operating method of the electronic device may include an operation of detecting, in the first state, that a predetermined signal is received from the main processor to the microcontroller. The operating method of the electronic device may include an operation of controlling the switch to deactivate the first port and the second port and activate the third port and the fourth port, thereby changing the state of the switch from the first state to the second state, in response to detecting that the predetermined signal is received.

[0195] A method of operating an electronic device according to one embodiment may include an operation of identifying that a signal received by the microcontroller from the main processor is an abnormal signal. The method of operating the electronic device may include an operation of controlling the switch to change the state of the switch from the first state to the second state when the abnormal signal is identified.

[0196] A method of operating an electronic device according to one embodiment may include an operation of receiving a user's input. The method of operating the electronic device may include an operation of controlling the switch to change the state of the switch from the first state to the second state upon receiving the user's input.

[0197] A method of operating an electronic device according to one embodiment may include an operation of identifying whether the received user input matches a previously stored user input. If the received user input matches the previously stored user input, the method may include an operation of controlling the switch to change the state of the switch from the first state to the second state.

[0198] A method of operating an electronic device according to one embodiment may include an operation of controlling a display device to output a first signal through the display device when the received user input matches a previously stored user input. The method of operating an electronic device may include an operation of controlling the display device to output a second signal, different from the first signal, through the display device when the received user input does not match a previously stored user input.

[0199] A method of operating an electronic device according to one embodiment may include an operation of providing data within the storage device to the external electronic device when the external electronic device is connected to the storage device through a connector.

[0200] A method of operating an electronic device according to one embodiment may include providing data within the storage device to the external electronic device when the external electronic device is connected to the storage device by being connected to the first connection via the connector. The connector may be disposed on the first connection.

[0201] A method of operating an electronic device according to one embodiment may include an operation of converting the data stored in the storage device and providing the converted data to the service port.

[0202] The methods according to the embodiments described in the claims or specification of the present disclosure may be implemented in the form of hardware, software, or a combination of hardware and software.

[0203] When implemented in software, a computer-readable storage medium storing one or more programs (software modules) may be provided. The one or more programs stored in the computer-readable storage medium are configured for execution by one or more processors within an electronic device. The one or more programs include instructions that cause the electronic device to execute methods according to embodiments described in the claims or specification of the present disclosure.

[0204] In the present disclosure, a function or operation performed by an electronic device may be performed by one or more processors executing one or more instructions stored in a memory. The function or operation of the electronic device mentioned in the present disclosure may be performed by one processor executing one or more instructions, or may be performed by a combination of multiple processors executing one or more instructions. The processor mentioned in the present disclosure may be understood to include a circuit for performing an operation or controlling other components of the electronic device. For example, the one or more processors may include at least one of a central processing unit (CPU), a microprocessor unit (MPU), an application processor (AP), a communication processor (CP), a neural processing unit (NPU), a system on chip (SoC), an application-specific integrated circuit (ASIC), or an integrated circuit (IC) configured to execute one or more instructions. The one or more processors may be configured to perform the operations of the electronic device described above.

[0205] In the present disclosure, a program (software module, software) may be stored in a non-volatile memory including a random access memory (RAM), a flash memory, a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a magnetic disc storage device, a compact disc ROM (CD-ROM), digital versatile discs (DVDs) or other forms of optical storage devices, a magnetic cassette. Or, it may be stored in a memory formed by a combination of some or all of these. The memory may be formed by a single storage medium, or may be formed by a combination of a plurality of storage media. The one or more commands may be stored in a single storage medium, or may be distributed and stored in a plurality of storage media.

[0206] Additionally, the program may be stored on an attachable storage device that is accessible via a communication network such as the Internet, an intranet, a local area network (LAN), a wide LAN (WLAN), or a storage area network (SAN), or a combination thereof. Such a storage device may be connected to a device performing an embodiment of the present disclosure via an external port. Additionally, a separate storage device on the communication network may be connected to a device performing an embodiment of the present disclosure.

[0207] In the specific embodiments of the present disclosure described above, components included in the disclosure are expressed in the singular or plural form, depending on the specific embodiment presented. However, the singular or plural expressions are selected to suit the presented situation for convenience of explanation, and the present disclosure is not limited to singular or plural components. Components expressed in the plural form may be composed of singular elements, or components expressed in the singular form may be composed of plural elements.

[0208] Additionally, in the present disclosure, terms such as “part”, “module”, etc. may refer to a hardware component such as a processor or circuit, and / or a software component executed by a hardware component such as a processor.

[0209] A "component" or "module" may be implemented by a program stored in an addressable storage medium and executed by a processor. For example, a "component" or "module" may be implemented by components such as software components, object-oriented software components, class components, and task components, as well as processes, functions, properties, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables.

[0210] The specific implementations described in this disclosure are merely exemplary and do not limit the scope of the present disclosure in any way. For the sake of brevity, descriptions of conventional electronic components, control systems, software, and other functional aspects of the systems may be omitted.

[0211] Additionally, in the present disclosure, “comprising at least one of a, b, or c” may mean “comprising only a, including only b, including only c, or including a combination of two or more (including a and b, including b and c, including a and c, or including all of a, b, and c).

[0212] While the detailed description of this disclosure has described specific embodiments, it should be understood that various modifications are possible without departing from the scope of this disclosure. Therefore, the scope of this disclosure should not be limited to the described embodiments, but should be defined not only by the scope of the claims described below, but also by equivalents thereof.

Claims

1. In electronic devices, main processor; printed circuit board (PCB); A storage device connected to the main processor and attached to the printed circuit board; A service port exposed to the outside of the electronic device for connection with an external electronic device; A switch for switching a first connection between the storage device and the main processor and a second connection between the storage device and the service port, the states of the switch including a first state in which the storage device and the main processor are connected and the storage device and the service port are disconnected, and a second state in which the storage device and the main processor are disconnected and the storage device and the service port are connected; and A microcontroller including a microprocessor, In the first state, the microprocessor, Detecting that a predetermined signal is received from the main processor to the microcontroller, Upon detecting that the above-described signal is received, the switch is controlled to change the state of the switch from the first state to the second state, When the service port is connected to the external electronic device while the switch is in the second state, data in the storage device connected to the service port is provided to the external electronic device through the switch. Electronic devices.

2. In claim 1, The above switch is, A first port connected to the main processor for the first connection; A second port connected to the storage device for the first connection; a third port connected to the storage device for the second connection; and Including a fourth port connected to the service port for the second connection, While the switch is in the first state, the microprocessor, Detecting that a predetermined signal is received from the main processor to the microcontroller, Upon detecting that the predetermined signal is received, the switch is controlled to disconnect the connection between the first port and the second port and connect the third port and the fourth port, thereby changing the state of the switch from the first state to the second state. Electronic devices.

3. In claim 1, The above microprocessor: Based on a signal received from the main processor to the microcontroller, identifying that the state of the main processor is abnormal, When the state of the main processor is identified as being in the abnormal state, the state of the switch is changed from the first state to the second state by controlling the switch. Electronic devices.

4. In claim 1, An input device connected to the microcontroller, The above microcontroller: Receiving the user's password input through the above input device, Determine whether the above password input matches the previously registered password, If the above password input matches the above registered password, controlling the switch to change the state of the switch from the first state to the second state. Electronic devices.

5. In claim 4, The above microcontroller: Within a preset time after power is applied to the electronic device, a preset user input is received through the input device, Receiving the password input after the user input is received within the above-mentioned preset time, Electronic devices.

6. In claim 5, including a display device connected to the above microcontroller, The above microcontroller: If the received password input matches the registered password, the display device is controlled so that a first signal is output through the display device. If the received password input does not match the registered password, the display device is controlled so that a second signal different from the first signal is output through the display device. Electronic devices.

7. In claim 1, An interface integrated circuit disposed between the switch and the service port is included, The above interface integrated circuit converts the data stored in the storage device and provides it to the service port. Electronic devices.

8. In claim 7, A power switch disposed between the microcontroller and the interface integrated circuit, The above microcontroller, Upon detecting that the above-mentioned predetermined signal is received, the power switch is controlled so that the power switch supplies power to the interface integrated circuit. Electronic devices.

9. In claim 1, including a connector connected to the storage device; When the external electronic device is connected to the storage device through the connector, data within the storage device is provided to the external electronic device. Electronic devices.

10. In claim 9, The above connector is connected to the path for the first connection, When the external electronic device is connected to the storage device through the path connected to the connector, data within the storage device is provided to the external electronic device. Electronic devices.

11. In claim 1, The above microcontroller includes a memory for storing instructions, The above instructions, when individually or collectively executed by the microprocessor, In the first state, the microcontroller: Detecting that the predetermined signal is received from the main processor to the microcontroller, Upon detecting that the above-described signal is received, the switch is controlled to change the state of the switch from the first state to the second state, When the service port is connected to the external electronic device while the switch is in the second state, data in the storage device connected to the service port is provided to the external electronic device through the switch. Electronic devices.

12. In the method of operating an electronic device, In the first state, an operation of detecting that a predetermined signal is received from the main processor to the microcontroller; An operation of controlling a switch that switches a first connection between a storage device and the main processor and a second connection between the storage device and the service port upon detecting that the predetermined signal is received, thereby changing the state of the switch from the first state to a second state, wherein the state of the switch includes a first state in which the storage device and the main processor are connected and the storage device and the service port are disconnected, and a second state in which the storage device and the main processor are disconnected and the storage device and the service port are connected; and An operation comprising providing data in a storage device connected to the service port to an external electronic device through the switch when the service port is connected to an external electronic device while the switch is in the second state. method.

13. In claim 12, The above switch is, A first port connected to the main processor for the first connection; A second port connected to the storage device for the first connection; a third port connected to the storage device for the second connection; and Including a fourth port connected to the service port for the second connection, An operation of detecting that a predetermined signal is received from the main processor to the microcontroller while the switch is in the first state; and An operation of controlling the switch to change the state of the switch from the first state to the second state by detecting that the predetermined signal is received, thereby disabling the first port and the second port and activating the third port and the fourth port. method.

14. In claim 12, An operation of identifying that the state of the main processor is abnormal based on a signal received from the main processor to the microcontroller; and When the state of the main processor is identified as being in the abnormal state, an operation of changing the state of the switch from the first state to the second state is included by controlling the switch. method.

15. In claim 12, The action of receiving the user's password input; An action to determine whether the above password input matches a previously registered password; and Including an operation of controlling the switch to change the state of the switch from the first state to the second state when the password input matches the registered password. method.

Citation Information

Patent Citations

  • Memory card reader device for recovering data

    KR1020080030368A

  • Photoacoustic and ultrasonic endoscopy

    KR1020240153119A

  • Method and apparatus for authorizing unlocking of a device

    US11698974B1

  • System and method to access storage inside an inactive computing device

    US20070106830A1

  • Remote access to an internal storage component of an electronic device via an external port

    US20090307407A1