KR20240034076A - Electronic device providing security mode and operating method of the electronic deivce thereof - Google Patents

Electronic device providing security mode and operating method of the electronic deivce thereof Download PDF

Info

Publication number
KR20240034076A
KR20240034076A KR1020220135270A KR20220135270A KR20240034076A KR 20240034076 A KR20240034076 A KR 20240034076A KR 1020220135270 A KR1020220135270 A KR 1020220135270A KR 20220135270 A KR20220135270 A KR 20220135270A KR 20240034076 A KR20240034076 A KR 20240034076A
Authority
KR
South Korea
Prior art keywords
electronic device
log data
security mode
processor
user input
Prior art date
Application number
KR1020220135270A
Other languages
Korean (ko)
Inventor
이승윤
이재희
최승현
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20240034076A publication Critical patent/KR20240034076A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Abstract

다양한 실시예들에 따른 전자 장치(electronic device)는 통신 회로, 명령어들을 저장하는 메모리, 및 상기 메모리와 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 메모리 또는 외부 장치 중 적어도 하나에 지정된 공용 공간을 제외한 영역에 대한 접근을 제한하는 보안 모드를 시작하도록 하는 보안 모드 설정 명령에 기초하여, 상기 전자 장치의 상태와 관련된 정보를 포함하는 로그 데이터를 상기 공용 공간에 저장하며, 상기 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여, 상기 로그 데이터를 삭제하도록 구성될 수 있다.An electronic device according to various embodiments includes a communication circuit, a memory storing instructions, and at least one processor connected to the memory, wherein the at least one processor is connected to at least one of the memory or an external device. Based on a security mode setting command to start a security mode that restricts access to areas other than the public space designated in the public space, log data containing information related to the state of the electronic device is stored in the public space, and the security It may be configured to delete the log data based on a secure mode exit command to exit the mode.

Description

보안 모드를 제공하는 전자 장치 및 그 전자 장치의 동작 방법{ELECTRONIC DEVICE PROVIDING SECURITY MODE AND OPERATING METHOD OF THE ELECTRONIC DEIVCE THEREOF}Electronic device providing a security mode and a method of operating the electronic device {ELECTRONIC DEVICE PROVIDING SECURITY MODE AND OPERATING METHOD OF THE ELECTRONIC DEIVCE THEREOF}

본 개시는 보안 모드를 제공하는 전자 장치 및 그 전자 장치의 동작 방법에 관한 것이다.This disclosure relates to an electronic device that provides a security mode and a method of operating the electronic device.

전자 장치는 다양한 서비스를 제공하면서 데이터를 저장하는 메모리를 포함할 수 있다. 전자 장치의 사용에 따라 메모리에는 사용자에 대한 개인 정보를 포함하는 다양한 데이터가 저장될 수 있다.Electronic devices may include memory that stores data while providing various services. Depending on the use of the electronic device, various data including personal information about the user may be stored in the memory.

이와 같은 전자 장치에는 다양한 데이터가 저장되나, 전자 장치에 고장이 발생한 경우 수리를 위해서는 전자 장치를 타인에게 제공해야 한다. 전자 장치는 전자 장치가 동작하는 과정에서 발생한 이벤트들을 기록한 로그 데이터를 메모리에 저장할 수 있다. 전자 장치를 수리하는 과정에서 메모리에 저장된 로그 데이터를 이용하여 전자 장치의 고장에 대한 진단을 할 수 있다.A variety of data is stored in such electronic devices, but if a malfunction occurs in the electronic device, the electronic device must be provided to another person for repair. An electronic device may store log data recording events that occur during the operation of the electronic device in its memory. In the process of repairing an electronic device, log data stored in memory can be used to diagnose a failure of the electronic device.

일 실시예에 따른 전자 장치는 메모리 및 상기 메모리와 연결된 적어도 하나의 프로세서를 포함할 수 있다. 적어도 하나의 프로세서는, 메모리 또는 외부 장치 중 적어도 하나에 지정된 공용 공간을 제외한 영역에 대한 접근을 제한하는 보안 모드를 시작하도록 하는 보안 모드 진입 명령에 기초하여, 상기 전자 장치의 상태와 관련된 정보를 포함하는 로그 데이터를 상기 공용 공간에 저장하며, 상기 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여, 상기 로그 데이터를 삭제하도록 설정될 수 있다.An electronic device according to an embodiment may include a memory and at least one processor connected to the memory. At least one processor includes information related to the state of the electronic device based on a security mode entry command to initiate a security mode that restricts access to areas other than a designated common space to at least one of memory or an external device. It may be configured to store the log data in the common space and delete the log data based on a security mode termination command to terminate the security mode.

일 실시예에 따른 전자 장치의 동작 방법은, 상기 전자 장치의 메모리 또는 외부 장치 중 적어도 하나에 지정된 공용 공간을 제외한 영역에 대한 접근을 제한하는 보안 모드를 시작하도록 하는 보안 모드 진입 명령에 기초하여, 상기 전자 장치의 상태와 관련된 정보를 포함하는 로그 데이터를 상기 공용 공간에 저장하는 동작, 상기 보안 모드에 진입하는 동작, 상기 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여 상기 로그 데이터를 삭제하는 동작을 포함할 수 있다.A method of operating an electronic device according to an embodiment includes, based on a security mode entry command to start a security mode that restricts access to areas other than a public space designated for at least one of the memory of the electronic device or an external device, Storing log data containing information related to the state of the electronic device in the common space, entering the security mode, and deleting the log data based on a security mode termination command to terminate the security mode. Can include actions.

도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른 전자 장치 및 전자 장치와 공용 공간을 공유하는 외부 장치의 블록도이다.
도 3은 일 실시예에 따른 전자 장치의 구성요소를 도시한 블록도이다.
도 4는 일 실시예에 따른 전자 장치가 일반 모드로부터 보안 모드로 진입하고, 이후 보안 모드로부터 일반 모드로 진입하는 프로세스를 도시한 흐름도이다.
도 5는 일 실시예에 따른 전자 장치가 로그 데이터의 저장에 관련된 사용자 입력에 기초하여 로그 데이터를 처리하는 프로세스를 도시한 흐름도이다.
도 6은 일 실시예에 따른 전자 장치가 보안 모드에 진입하는 프로세스를 도시한 흐름도이다.
도 7은 일 실시예에 따른 전자 장치가 로그 데이터를 공용 공간에 저장하는 프로세스를 도시한 흐름도이다.
도 8은 일 실시예에 따른 전자 장치가 보안 모드의 실행 및 종료 프로세스에서, 로그 데이터의 삭제와 관련된 적어도 하나의 사용자 입력에 기초하여 로그 데이터를 처리하는 프로세스를 도시한 흐름도이다.
도 9는 일 실시예에 따른 전자 장치에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다.
도 10은 일 실시예에 따른 전자 장치에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다.
도 11은 일 실시예에 따른 전자 장치에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다.
도 12는 일 실시예에 따른 전자 장치(101)에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
Figure 2 is a block diagram of an electronic device and an external device sharing a common space with the electronic device, according to an embodiment.
Figure 3 is a block diagram showing components of an electronic device according to an embodiment.
FIG. 4 is a flowchart illustrating a process in which an electronic device enters a security mode from a normal mode and then enters a normal mode from a security mode, according to an embodiment.
FIG. 5 is a flowchart illustrating a process in which an electronic device processes log data based on user input related to storage of log data, according to an embodiment.
FIG. 6 is a flowchart illustrating a process by which an electronic device enters a security mode, according to an embodiment.
FIG. 7 is a flowchart illustrating a process by which an electronic device stores log data in a common space, according to an embodiment.
FIG. 8 is a flowchart illustrating a process in which an electronic device processes log data based on at least one user input related to deletion of log data in a security mode execution and termination process, according to an embodiment.
FIG. 9 is a diagram illustrating an example of a user interface displayed on an electronic device according to an embodiment.
FIG. 10 is a diagram illustrating an example of a user interface displayed on an electronic device according to an embodiment.
FIG. 11 is a diagram illustrating an example of a user interface displayed on an electronic device according to an embodiment.
FIG. 12 is a diagram illustrating an example of a user interface displayed on the electronic device 101 according to an embodiment.

사진, 메시지 또는 계정과 같은 개인 데이터가 저장된 전자 장치를 타인에게 제공하는 경우, 타인에 의해 사용자의 개인 데이터가 유출될 우려가 있다.If you provide an electronic device containing personal data such as photos, messages, or accounts to others, there is a risk that your personal data may be leaked by others.

그러나, 이에 반해서 데이터의 유출을 방지하기 위해 전자 장치 내의 데이터에 대한 접근을 차단하는 경우, 전자 장치를 수리하기 위해 필요한 정보(예: 전자 장치의 상태에 대한 정보)를 전자 장치를 수리하고자 하는 타인이 확인할 수 없는 문제가 있다.However, in contrast to this, if access to data within the electronic device is blocked to prevent data leakage, the information necessary to repair the electronic device (e.g., information about the status of the electronic device) is not disclosed to others who wish to repair the electronic device. There is a problem that cannot be confirmed.

또한 타인에게 수리를 위한 정보를 제공하기 위해 관련된 데이터를 별도로 저장하는 경우, 그 데이터로 인하여 메모리의 용량이 소요되는 문제가 있다.Additionally, when related data is separately stored to provide repair information to others, there is a problem that memory capacity is consumed due to the data.

본 문서에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problem to be achieved in this document is not limited to the technical problem mentioned above, and other technical problems not mentioned can be clearly understood by those skilled in the art from the description below. There will be.

일 실시예에 따른 전자 장치는 사용자에 대한 데이터를 저장하는 메모리를 포함할 수 있다. 전자 장치는 저장된 데이터에 대한 접근을 차단하기 위한 보안 모드를 제공할 수 있다. 예를 들어, 사용자는 전자 장치의 디스플레이에 표시되는 사용자 인터페이스를 통해서 타인에게 전자 장치에 대한 수리를 요청하기 위해 개인 데이터에 대한 접근을 차단하고 일부 어플리케이션에 대한 실행만을 허여하는 보안 모드를 실행시킬 수 있다. 본 문서에서, 상기 보안 모드는 수리 모드라고 언급될 수 있다. 보안 모드가 실행되는 경우, 전자 장치는 전자 장치의 수리에 필요한 데이터를 메모리 또는 외부 장치 중 적어도 하나에 저장할 수 있다. 예를 들어, 전자 장치는 전자 장치의 동작 상태에 관한 정보를 포함하는 로그 데이터를 생성하고 저장할 수 있다. 보안 모드가 종료된 경우, 전자 장치는 저장된 로그 데이터를 삭제할 수 있다.An electronic device according to one embodiment may include a memory that stores data about a user. Electronic devices may provide security modes to block access to stored data. For example, a user can activate a security mode that blocks access to personal data and only allows the execution of some applications in order to request repairs on the electronic device from others through the user interface displayed on the display of the electronic device. there is. In this document, the security mode may be referred to as repair mode. When the security mode is executed, the electronic device may store data necessary for repair of the electronic device in at least one of memory or an external device. For example, an electronic device may generate and store log data containing information about the operating state of the electronic device. When the security mode is terminated, the electronic device may delete stored log data.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

도 2는 일 실시예에 따른 전자 장치(101) 및 전자 장치(101)와 공용 공간(288)을 공유하는 외부 장치(280)의 블록도이다. FIG. 2 is a block diagram of an electronic device 101 and an external device 280 sharing a common space 288 with the electronic device 101 according to an embodiment.

도 2의 전자 장치(101)는 표시부(260)를 포함할 수 있다. 표시부(260)는 디스플레이 모듈(예: 도 1의 디스플레이 모듈(160))일 수 있다. 일 실시예에 따른 프로세서(120)는 로그 데이터의 저장에 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스 등을 표시부(260)를 통해 표시할 수 있다. 다만, 일 실시예에 따른 표시부(260)는 상술한 디스플레이 모듈(160)에 한정되지 아니한다.The electronic device 101 of FIG. 2 may include a display unit 260. The display unit 260 may be a display module (eg, the display module 160 of FIG. 1). The processor 120 according to one embodiment may display a user interface for receiving user input related to storage of log data through the display unit 260. However, the display unit 260 according to one embodiment is not limited to the display module 160 described above.

도 2의 전자 장치(101)는 모드 처리부(210) 및 메모리 처리부(220)를 포함할 수 있다. 일 실시예에 따른 모드 처리부(210)는 보안 모드에 진입하도록 하는 보안 모드 진입 명령 또는 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여 전자 장치(101)의 상태를 보안 모드 또는 일반 모드로 설정할 수 있다. 본 문서에서 보안 모드는 지정된 영역(예: 공용 공간)을 제외한 데이터 영역에 대한 접근을 제한한 상태로 전자 장치가 동작하는 동작 방식을 의미할 수 있다. 본 문서에서 일반 모드는 보안 모드가 해제된 상태로 전자 장치가 동작하는 동작 방식을 의미할 수 있다. 일반 모드에서는 전자 장치(101)가 보안 영역에 대한 접근을 허용할 수 있다.The electronic device 101 of FIG. 2 may include a mode processing unit 210 and a memory processing unit 220. The mode processing unit 210 according to an embodiment sets the state of the electronic device 101 to the security mode or the normal mode based on a security mode entry command to enter the security mode or a security mode exit command to exit the security mode. You can. In this document, the security mode may refer to an operation method in which an electronic device operates while restricting access to data areas except for designated areas (e.g., public spaces). In this document, normal mode may refer to an operation method in which an electronic device operates with the security mode turned off. In normal mode, the electronic device 101 may allow access to a secure area.

일 실시예에 따른 메모리 처리부(220)는 프로세서(120)의 설정 상태 또는 사용자 입력에 기초하여 로그 데이터의 저장 또는 삭제를 처리할 수 있다. 메모리 처리부(220)는 전자 장치(101)의 메모리(130) 또는 외부 장치(280)와 관련된 로그 데이터의 처리를 수행할 수 있다.The memory processing unit 220 according to one embodiment may process storage or deletion of log data based on the setting state of the processor 120 or user input. The memory processing unit 220 may process log data related to the memory 130 of the electronic device 101 or the external device 280.

본 문서에서 '공용 공간'은 데이터를 저장하기 위해 전자 장치(101)의 메모리(130) 또는 외부 장치(280)에 지정되는 영역을 의미할 수 있다. 일 실시예에 따른 공용 공간은 보안 모드에서 접근이 제한되지 않는 영역으로, 프로세서(120)는 전자 장치(101)의 메모리(130) 또는 외부 장치(280) 중 적어도 하나의 공용 공간에 로그 데이터를 저장하도록 설정될 수 있다. 공용 공간에 대비되는 개념으로, 보안 모드에서 접근이 제한되는 영역은 보안 영역이라고 언급될 수 있다.In this document, 'common space' may mean an area designated in the memory 130 of the electronic device 101 or the external device 280 to store data. The common space according to one embodiment is an area where access is not restricted in the security mode, and the processor 120 stores log data in the common space of at least one of the memory 130 of the electronic device 101 or the external device 280. It can be set to save. As a concept in contrast to a public space, an area where access is restricted in security mode can be referred to as a security area.

도 2의 전자 장치(101)의 메모리(130)는 공용 공간(230)을 포함할 수 있다. 일 실시예에 따른 메모리(130)는 휘발성 메모리(예: 도 1의 휘발성 메모리(132)), 비휘발성 메모리(예: 도 1의 비휘발성 메모리((134)) 또는 공용 공간(230)을 포함할 수 있다. 도 2에서 외부 장치(280)는 공용 공간(288)을 포함할 수 있다. 일 실시예에 따른 공용 공간은 전자 장치(101)의 메모리(130)에 포함되는 공용 공간(230)이거나, 외부 장치(280)에 포함되는 공용 공간(288)일 수 있다. 외부 장치(280)는, 예를 들어, 전자 장치(예: 도 1의 전자 장치(102), 전자 장치(예: 도 1의 전자 장치(104)) 또는 서버(예: 도 1의 서버(108))를 포함할 수 있다.The memory 130 of the electronic device 101 of FIG. 2 may include a common space 230. Memory 130 according to one embodiment includes volatile memory (e.g., volatile memory 132 in FIG. 1), non-volatile memory (e.g., non-volatile memory 134 in FIG. 1), or common space 230. 2, the external device 280 may include a common space 288. The common space according to one embodiment is the common space 230 included in the memory 130 of the electronic device 101. Alternatively, it may be a common space 288 included in the external device 280. The external device 280 may be, for example, an electronic device (e.g., the electronic device 102 of FIG. 1) or an electronic device (e.g., FIG. It may include the electronic device 104 of FIG. 1) or a server (eg, the server 108 of FIG. 1).

도 2에서, 전자 장치(101)의 메모리(130) 및 외부 장치(280)에 각각 공용 공간(230, 288)이 포함되어 있는 것으로 도시되어 있으나, 일부 구성요소는 생략될 수 있다. 예를 들어, 일 실시예에서, 외부 장치(280)가 생략되거나, 메모리(130)에 별도로 생성된 공용 공간(230)이 생략될 수도 있다.In FIG. 2 , the memory 130 and the external device 280 of the electronic device 101 are shown to include common spaces 230 and 288, respectively, but some components may be omitted. For example, in one embodiment, the external device 280 may be omitted, or the common space 230 separately created in the memory 130 may be omitted.

도 3은 일 실시예에 따른 전자 장치(예: 도 1 또는 도 2의 전자 장치(101))의 구성요소를 도시한 블록도이다.FIG. 3 is a block diagram illustrating components of an electronic device (eg, the electronic device 101 of FIG. 1 or FIG. 2 ) according to an embodiment.

일 실시예에 따른 전자 장치(101)는 모드 처리부(210), 메모리 처리부(220), 표시부(260) 및 제어부(310)를 포함할 수 있다. 도 3의 모드 처리부(210)는 전자 장치(101)의 상태 모드의 결정 및 결정된 상태 모드에 기초한 전자 장치(101)의 동작에 관여할 수 있다. 예를 들어, 도 3에서 모드 처리부(210)는 전자 장치(101)의 일반 모드를 해제하고 보안 모드로 진입하는 프로세스 또는 보안 모드를 해제하고 일반 모드로 진입하는 프로세스를 처리할 수 있다.The electronic device 101 according to one embodiment may include a mode processing unit 210, a memory processing unit 220, a display unit 260, and a control unit 310. The mode processing unit 210 of FIG. 3 may be involved in determining the state mode of the electronic device 101 and operating the electronic device 101 based on the determined state mode. For example, in FIG. 3 , the mode processing unit 210 may process a process for releasing the normal mode of the electronic device 101 and entering the security mode, or a process for releasing the security mode and entering the normal mode.

도 3의 메모리 처리부(220)는 전자 장치(101)의 메모리(예: 도 1 또는 도 2의 메모리(130)) 또는 외부 장치(예: 도 2의 외부 장치(280)) 중 적어도 하나에 지정된 공용 공간(예: 도 2의 공용 공간(230) 또는 공용 공간(288))에 전자 장치(101)의 상태와 관련된 정보를 포함하는 로그 데이터를 저장 및 저장된 로그 데이터의 삭제를 수행하는데 관여할 수 있다. 예를 들어, 로그 데이터는 컴퓨터 시스템에서 발생하는 장애에 대처하기 위해 데이터 장애 발생 직전의 상태로 복원하기 위하여 필요한 정보를 포함할 수 있다.The memory processing unit 220 of FIG. 3 is assigned to at least one of the memory of the electronic device 101 (e.g., the memory 130 of FIG. 1 or 2) or an external device (e.g., the external device 280 of FIG. 2). May be involved in storing log data containing information related to the state of the electronic device 101 in a public space (e.g., public space 230 or public space 288 in FIG. 2) and deleting the stored log data. there is. For example, log data may contain information necessary to restore the data to the state immediately before the data failure occurred in order to cope with a failure that occurs in the computer system.

도 3의 표시부(260)는 제어부(310)의 제어에 따라서 화면을 표시할 수 있다. 제어부(310)는 모드 처리부(210), 메모리 처리부(220) 또는 표시부(260) 중 적어도 하나의 동작을 제어할 수 있다. 예를 들어, 제어부(310)는 도 2의 프로세서(120)를 포함할 수 있다. 예를 들어, 제어부(310)는 모드 처리부(210)가 전자 장치(101)의 상태 모드를 결정하는 동작을 제어할 수 있다.The display unit 260 of FIG. 3 can display a screen under the control of the control unit 310. The control unit 310 may control the operation of at least one of the mode processing unit 210, the memory processing unit 220, or the display unit 260. For example, the control unit 310 may include the processor 120 of FIG. 2. For example, the control unit 310 may control the operation of the mode processing unit 210 to determine the state mode of the electronic device 101.

도 4는 일 실시예에 따른 전자 장치(예: 도 1 또는 도 2의 전자 장치(101))가 일반 모드로부터 보안 모드로 진입하고, 이후 보안 모드로부터 일반 모드로 진입하는 프로세스를 도시한 흐름도이다. FIG. 4 is a flowchart illustrating a process in which an electronic device (e.g., the electronic device 101 of FIG. 1 or FIG. 2 ) enters a security mode from a normal mode and then enters a normal mode from a security mode, according to an embodiment. .

일 실시예에 따른 전자 장치(101)는 메모리(예: 도 1 또는 도 2의 메모리(130)) 및 메모리와 연결된 적어도 하나의 프로세서(예: 도 1 또는 2의 프로세서(120))를 포함할 수 있다. 적어도 하나의 프로세서(120)는, 메모리(130) 또는 외부 장치(도 2의 외부 장치(280)) 중 적어도 하나에 지정된 공용 공간을 제외한 영역에 대한 접근을 제한하는 보안 모드를 시작하도록 하는 보안 모드 진입 명령에 기초하여 일반 모드로부터 보안 모드로 진입할 수 있다. 적어도 하나의 프로세서(120)는 전자 장치(101)의 상태와 관련된 정보를 포함하는 로그 데이터를 공용 공간에 저장할 수 있다. 적어도 하나의 프로세서(120)는 보안 모드에 진입할 수 있다. 적어도 하나의 프로세서(120)는 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여 로그 데이터를 삭제하도록 구성될 수 있다. 프로세서(120)는 로그 데이터를 삭제하고 보안 모드를 종료할 수 있다.The electronic device 101 according to one embodiment may include a memory (e.g., the memory 130 of FIG. 1 or 2) and at least one processor (e.g., the processor 120 of FIG. 1 or 2) connected to the memory. You can. At least one processor 120 starts a security mode that restricts access to areas other than the designated common space to at least one of the memory 130 or the external device (external device 280 in FIG. 2). You can enter the security mode from the normal mode based on the entry command. At least one processor 120 may store log data containing information related to the state of the electronic device 101 in a common space. At least one processor 120 may enter the security mode. At least one processor 120 may be configured to delete log data based on a security mode exit command to exit the security mode. Processor 120 may delete log data and exit the security mode.

일 실시예에 따른 전자 장치(101)는 보안 모드 진입 명령을 수신할 수 있다. 예를 들어 전자 장치(101)는 보안 모드 진입 명령을 수신하기 위한 사용자 인터페이스를 표시할 수 있다. 보안 모드 진입 명령을 수신하기 위한 사용자 인터페이스는, 예를 들어, 전자 장치(101)의 터치스크린을 통해 검출되는 터치 입력에 기초하여 보안 모드 진입 여부를 선택하기 위한 선택 메뉴를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치(101)가 보안 모드 진입 명령을 수신하는 방법은 사용자 인터페이스를 통한 사용자 입력을 수신하는 방법으로 제한되지 아니한다. 예를 들어, 전자 장치(101)는 통신 모듈(예: 도 1의 통신 모듈(190))을 통하여 보안 모드 진입 명령과에 관련된 신호를 수신할 수도 있다.The electronic device 101 according to one embodiment may receive a command to enter a security mode. For example, the electronic device 101 may display a user interface for receiving a security mode entry command. The user interface for receiving a security mode entry command may include, for example, a selection menu for selecting whether to enter the security mode based on a touch input detected through the touch screen of the electronic device 101. The method by which the electronic device 101 receives a security mode entry command according to an embodiment of this document is not limited to receiving a user input through a user interface. For example, the electronic device 101 may receive a signal related to a security mode entry command through a communication module (e.g., the communication module 190 of FIG. 1).

일 실시예에 따른 전자 장치(101)는 보안 모드 진입 명령에 기초하여 로그 데이터의 저장에 관련된 처리를 수행할 수 있다. 일 실시예에 따른 전자 장치(101)는 미리 저장된 설정 또는 사용자 입력에 따라 로그 데이터의 저장에 관련된 처리를 수행할 수 있다. 한편, 로그 데이터의 저장에 관련된 처리는 저장 여부 또는 저장 장소의 결정에 한정되지 아니한다.The electronic device 101 according to one embodiment may perform processing related to storage of log data based on a security mode entry command. The electronic device 101 according to one embodiment may perform processing related to the storage of log data according to pre-stored settings or user input. Meanwhile, processing related to the storage of log data is not limited to determining whether to store it or where to store it.

일 실시예에 따른 동작 410에서 전자 장치(101)는 미리 정해진 설정에 기초하여 로그 데이터를 저장할 수 있다. 예를 들어, 전자 장치(101)는 보안 모드 진입 명령을 수신하면, 로그 데이터를 저장하는 것으로 미리 설정될 수 있다. 예를 들어, 전자 장치(101)는 로그 데이터를 저장하는 공간이 메모리(130)인 것으로 미리 설정될 수 있다.In operation 410 according to one embodiment, the electronic device 101 may store log data based on predetermined settings. For example, the electronic device 101 may be preset to store log data when receiving a command to enter a security mode. For example, the electronic device 101 may be preset to have the memory 130 as a storage space for log data.

일 실시예에 따른 동작 410에서 전자 장치(101)는 로그 데이터의 저장 여부 또는 저장 장소를 결정할 수 있다. 예를 들어, 전자 장치(101)는 보안 모드를 시작하도록 하는 보안 모드 진입 명령을 수신한 경우, 로그 데이터를 확보할 것인지 여부를 판단할 수 있다. 로그 데이터를 확보하는 것으로 결정되는 것에 기초하여, 전자 장치는 메모리의 공용(또는 공유) 공간에 로그 데이터를 덤프(dump)할 수 있다.In operation 410 according to one embodiment, the electronic device 101 may determine whether or where to store log data. For example, when the electronic device 101 receives a security mode entry command to start the security mode, it can determine whether to secure log data. Based on determining whether log data is available, the electronic device may dump the log data into a common (or shared) space of memory.

일 실시예에 따른 전자 장치(101)는 로그 데이터의 저장 여부 또는 저장 장소를 결정하기 위한 사용자 입력을 수신할 수 있다. 예를 들어, 로그 데이터를 공용 공간에의 저장 여부를 결정하기 위한 저장 명령을 수신하고, 저장 명령에 기초하여 로그 데이터를 공용 공간에 저장할 수 있다. 예를 들어, 도 410에서, 전자 장치(101)는 보안 모드 진입 명령에 기초하여 로그 데이터의 저장 여부를 결정하는 사용자 입력을 수신하기 위한 사용자 인터페이스를 표시할 수 있다. 로그 데이터의 저장에 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스는, 예를 들어, 전자 장치(101)의 터치스크린을 통해 검출되는 터치 입력에 기초하여 로그 데이터의 저장 여부를 선택하기 위한 선택 메뉴를 포함할 수 있다. The electronic device 101 according to one embodiment may receive a user input to determine whether or where to store log data. For example, a storage command for determining whether to store log data in a common space may be received, and the log data may be stored in a common space based on the storage command. For example, in Figure 410, the electronic device 101 may display a user interface for receiving a user input for determining whether to store log data based on a security mode entry command. The user interface for receiving user input related to storage of log data includes, for example, a selection menu for selecting whether to store log data based on a touch input detected through the touch screen of the electronic device 101. can do.

일 실시예에 따르면, 동작 410에서 프로세서(120)는 보안 모드 진입 명령과 무관하게 로그 데이터를 저장할 수도 있다. 예를 들어, 로그 데이터로 저장할 대상이 되는 이벤트의 발생이 감지되는 것에 기초하여, 프로세서(120)는 로그 데이터를 공용 공간에 저장할 수도 있다. According to one embodiment, in operation 410, the processor 120 may store log data regardless of the security mode entry command. For example, based on detecting the occurrence of an event to be stored as log data, the processor 120 may store the log data in a common space.

한편, 일 실시예에 따른 로그 데이터는 전자 장치(101)의 상태와 관련된 정보를 포함할 수 있다. 전자 장치(101)의 상태와 관련된 정보는 전자 장치(101)의 동작과 관련하여 발생한 이벤트를 식별하기 위한 식별 정보를 포함할 수 있다. 예를 들어, 전자 장치(101)의 동작과 관련된 장애가 발생한 경우, 전자 장치(101)는 장애의 종류를 식별 수 있는 장애 코드를 포함하는 로그 데이터를 저장할 수 있다. Meanwhile, log data according to one embodiment may include information related to the state of the electronic device 101. Information related to the state of the electronic device 101 may include identification information to identify an event that occurred in relation to the operation of the electronic device 101. For example, when a failure related to the operation of the electronic device 101 occurs, the electronic device 101 may store log data including a failure code that can identify the type of failure.

일 실시예에 따른 로그 데이터에는 특정 시점에 작업 중이던 메모리 상태를 기록한 정보 및 프로그램 카운터, 스택 포인터 등 CPU 레지스터나, 메모리 관리 정보, 그 외 프로세서 및 운영체제 플래그 및 정보를 포함한 프로그램 상태 정보를 포함할 수 있다.Log data according to one embodiment may include information recording the memory state being worked on at a specific point in time, CPU registers such as the program counter and stack pointer, memory management information, and program state information including processor and operating system flags and information. there is.

일 실시예에 따른 전자 장치(101)는 로그 데이터를 저장하는 방법으로, 컴퓨터 프로그램이 특정 시점에 작업 중이던 메모리 상태를 기록하는 방법을 사용할 수 있다. 예를 들어, 프로세서는 코어 덤프(core dump), 메모리 덤프(memory dump) 또는 시스템 덤프(system dump)를 만들 수 있다.The electronic device 101 according to one embodiment may use a method of recording the memory state that a computer program was working on at a specific point in time as a method of storing log data. For example, a processor may create a core dump, memory dump, or system dump.

일 실시예에 따른 전자 장치(101)는 보안 모드를 시작하도록 하는 보안 모드 진입 명령에 기초하여 보안 모드에 진입할 수 있다. 일 실시예에 따르면, 도 4의 동작 420에서, 프로세서(120)는 일반 모드를 종료하고, 전자 장치(101)의 보안 영역에 대한 접근이 제한되는 보안 모드로 진입할 수 있다. 일 실시예에 따른 동작 420에서, 프로세서(120)는 전자 장치(101)를 재부팅을 수행할 수 있다. 프로세서(120)는 전자 장치(101)의 재부팅 과정에서 전자 장치(101)가 보안 모드로 동작하도록 전자 장치(101)를 구성할 수 있다.The electronic device 101 according to one embodiment may enter the security mode based on a security mode entry command to start the security mode. According to one embodiment, in operation 420 of FIG. 4, the processor 120 may exit the normal mode and enter the security mode in which access to the security area of the electronic device 101 is restricted. In operation 420 according to one embodiment, the processor 120 may reboot the electronic device 101. The processor 120 may configure the electronic device 101 to operate in a secure mode during a reboot of the electronic device 101.

일 실시예에 따르면, 도 4의 동작 430에서, 프로세서(120)는 보안 모드 종료 명령에 기초하여 공용 공간에 저장된 로그 데이터를 공용 공간에서 삭제할 수 있다. 일 실시예에 따라, 동작 430에서, 프로세서(120)는 미리 정해진 설정 또는 로그 데이터의 삭제를 명령하는 사용자의 입력에 기초하여 저장된 로그 데이터를 삭제할 수 있다. According to one embodiment, in operation 430 of FIG. 4, the processor 120 may delete log data stored in the common space from the common space based on a security mode termination command. According to one embodiment, in operation 430, the processor 120 may delete stored log data based on a predetermined setting or a user input commanding deletion of log data.

일 실시예에 따라, 동작 430에서, 프로세서(120)는 로그 데이터의 삭제와 관련된 설정값 또는 명령이 존재하는지 여부를 판단할 수 있다. 일 실시예에 따라, 동작 430에서, 프로세서(120)는 전자 장치(101)의 공용 공간(230) 또는 외부 장치(280)의 공용 공간(288)에서 저장된 로그 데이터를 삭제할 수 있다. 예를 들어, 프로세서(120)는 보안 모드 종료 명령을 수신하고, 로그 데이터를 공용 공간에서 삭제할 것인지를 확인하기 위해 삭제 명령을 수신할 수 있다. 프로세서(120)는 삭제 명령에 기초하여 로그 데이터를 삭제하고, 보안 모드를 종료할 수 있다. According to one embodiment, in operation 430, the processor 120 may determine whether a setting value or command related to deletion of log data exists. According to one embodiment, in operation 430, the processor 120 may delete log data stored in the common space 230 of the electronic device 101 or the common space 288 of the external device 280. For example, the processor 120 may receive a security mode exit command and a delete command to confirm whether to delete log data from the common space. The processor 120 may delete log data and end the security mode based on the delete command.

일 실시예에 따르면, 동작 430에서, 프로세서(120)는 전자 장치(101)의 재부팅을 수행할 수 있다. 예를 들어, 프로세서(120)는 부팅 과정에서 공용 공간의 데이터를 삭제하는 동작을 수행할 수 있다. According to one embodiment, in operation 430, the processor 120 may reboot the electronic device 101. For example, the processor 120 may perform an operation to delete data in the common space during the booting process.

일 실시예에 따르면, 도 4의 동작 440에서, 전자 장치(101)는 보안 모드 종료 명령에 기초하여 보안 모드를 종료할 수 있다. 동작 440에서 프로세서(120)는 보안 모드를 종료하고, 전자 장치(101)의 공용 공간 또는 보안 영역에 대한 접근이 허용되는 일반 모드로 진입할 수 있다. According to one embodiment, in operation 440 of FIG. 4, the electronic device 101 may terminate the security mode based on a security mode termination command. In operation 440, the processor 120 may exit the security mode and enter a normal mode in which access to the common space or security area of the electronic device 101 is permitted.

일 실시예에 따른 도 4의 동작 440에서, 프로세서(120)는 보안 모드를 종료할 때 전자 장치(101)의 재부팅을 수행할 수 있다. 일 실시예에 따른 동작 440에서 프로세서(120)는 보안 모드 종료 명령에 기초하여 전자 장치(101)의 재부팅을 수행할 수 있다.In operation 440 of FIG. 4 according to one embodiment, the processor 120 may reboot the electronic device 101 when exiting the security mode. In operation 440 according to one embodiment, the processor 120 may reboot the electronic device 101 based on a security mode termination command.

즉, 일 실시예에 따른 전자 장치(101)는 보안 모드에 진입하거나 또는 보안 모드를 종료할 때 부팅 시퀀스를 수행할 수 있다. 전자 장치(101)는 부팅 과정에서 전자 장치(101)를 보안 모드로 부팅하거나, 일반 모드로 부팅할 수 있다. That is, the electronic device 101 according to one embodiment may perform a boot sequence when entering the security mode or exiting the security mode. During the booting process, the electronic device 101 may boot in a secure mode or boot in a normal mode.

한편, 일 실시예에 따른 프로세서(120)는 일반 모드로 진입하기 위해 전자 장치(101)를 부팅하는 경우에, 부팅 과정에서 공용 공간의 데이터를 삭제하는 동작을 수행할 수 있다.Meanwhile, when booting the electronic device 101 to enter the normal mode, the processor 120 according to one embodiment may perform an operation of deleting data in the common space during the booting process.

도 5는 일 실시예에 따른 전자 장치(101)가 로그 데이터의 저장에 관련된 사용자 입력에 기초하여 로그 데이터를 처리하는 프로세스를 도시한 흐름도이다. 일 실시예에 따른 전자 장치(101)는 보안 모드 진입 명령 또는 로그 데이터의 저장에 관련된 사용자 입력에 기초하여 로그 데이터를 저장할 수 있다. FIG. 5 is a flowchart illustrating a process in which the electronic device 101 processes log data based on user input related to storage of log data, according to an embodiment. The electronic device 101 according to one embodiment may store log data based on a security mode entry command or a user input related to storage of log data.

일 실시예에 따른 로그 데이터의 저장에 관련된 사용자 입력은, 로그 데이터의 저장 여부를 결정하는 사용자 입력 또는 저장 장소를 결정하는 사용자 입력을 포함할 수 있다. 예를 들어, 로그 데이터의 저장에 관련된 사용자 입력은, 로그 데이터를 메모리(예: 도 1 또는 도 2의 메모리(130))의 공용 공간(예: 도 2의 공용 공간(230))에 저장하도록 하는 사용자 입력일 수 있다. 예를 들어, 로그 데이터의 저장에 관련한 사용자 입력은, 로그 데이터를 외부 장치(예: 도 2의 외부 장치(280))의 공용 공간(예: 도 2의 공용 공간(288))에 저장하도록 하는 사용자 입력일 수 있다.User input related to the storage of log data according to an embodiment may include a user input that determines whether to store the log data or a user input that determines a storage location. For example, a user input related to the storage of log data may be used to store the log data in a common space (e.g., common space 230 of FIG. 2) of a memory (e.g., memory 130 of FIG. 1 or FIG. 2). It may be user input. For example, a user input related to the storage of log data may be used to store the log data in a common space (e.g., the common space 288 of FIG. 2) of an external device (e.g., the external device 280 of FIG. 2). This may be user input.

일 실시예에 따른 전자 장치(101)는 보안 모드 진입 명령에 기초하여, 로그 데이터의 저장에 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스를 표시부(예: 도 2의 표시부(260))를 통해서 표시하고, 사용자 인터페이스를 통해서 수신된 사용자 입력에 기초하여 로그 데이터를 저장할 수 있다. 예를 들어, 로그 데이터의 저장에 관련된 사용자 입력은 저장 여부를 결정하는 사용자 입력 또는 저장 장소를 결정하는 사용자 입력일 수 있다.The electronic device 101 according to one embodiment displays a user interface for receiving user input related to storage of log data based on a security mode entry command through a display unit (e.g., the display unit 260 in FIG. 2). , log data can be stored based on user input received through the user interface. For example, user input related to the storage of log data may be a user input that determines whether to store log data or a user input that determines a storage location.

도 5의 동작 510에서, 전자 장치(101)는 보안 모드 진입 명령에 기초하여, 로그 데이터의 저장에 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스를 표시할 수 있다. 사용자 인터페이스에 대해서는 도 9에서 자세히 서술한다. In operation 510 of FIG. 5 , the electronic device 101 may display a user interface for receiving a user input related to storage of log data based on a security mode entry command. The user interface is described in detail in FIG. 9.

도 5의 동작 410에서, 전자 장치(101)는 로그 데이터의 저장에 관련된 사용자 입력에 기초하여 로그 데이터를 특정 공용 공간에 저장하거나 저장하지 않을 수 있다. 예를 들어, 전자 장치(101)는 로그 데이터를 전자 장치(101)의 메모리(130)의 공용 공간(230)에 저장하기 위한 사용자 입력에 기초하여 로그 데이터를 공용 공간(230)에 저장하고, 보안 모드에 진입할 수 있다. 도 5의 동작 420 내지 동작 440은 앞서 설명한 바와 대응되므로 자세한 설명은 생략한다.In operation 410 of FIG. 5 , the electronic device 101 may or may not store log data in a specific common space based on a user input related to storage of log data. For example, the electronic device 101 stores log data in the common space 230 based on a user input to store the log data in the common space 230 of the memory 130 of the electronic device 101, You can enter security mode. Since operations 420 to 440 of FIG. 5 correspond to what was previously described, detailed descriptions will be omitted.

도 6은 일 실시예에 따른 전자 장치(예: 도 1 또는 도 2의 전자 장치(101))가 보안 모드에 진입하는 프로세스를 도시한 흐름도이다. 일 실시예에 따른 전자 장치(101)는 전자 장치(101)의 사용을 시도하는 자가 정당한 권리를 가지고 있는지를 확인하기 위해 문자열이나 코드번호를 입력하거나 생체인식 등을 수행하도록 하는 잠금 모드와 관련된 설정값이 존재하는 것으로 판단되는 것에 기초하여 보안 모드에 진입하는 프로세스를 수행할 수 있다.FIG. 6 is a flowchart illustrating a process by which an electronic device (eg, the electronic device 101 of FIG. 1 or FIG. 2 ) enters a security mode, according to an embodiment. According to one embodiment, the electronic device 101 has settings related to a lock mode that allows a person attempting to use the electronic device 101 to enter a string or code number or perform biometric identification to confirm whether he or she has legitimate rights. The process of entering secure mode can be performed based on the value being determined to exist.

일 실시예에 따른 잠금 모드는 전자 장치(101)의 메모리(130) 또는 외부 장치(예: 도 2의 외부 장치(280)) 중 적어도 하나에 지정된 영역에 대한 접근이 제한되는 상태를 의미할 수 있다. 일 실시예에 따른 전자 장치(101)는 잠금 모드와 관련된 설정값의 존재 여부를 판단할 수 있다. 도 6의 동작 610에서, 전자 장치(101)는 보안 모드 설정 명령을 수신한 것에 기초하여 잠금 모드와 관련된 설정값의 존재 여부를 판단할 수 있다.The lock mode according to one embodiment may mean a state in which access to an area designated for at least one of the memory 130 of the electronic device 101 or an external device (e.g., the external device 280 of FIG. 2) is restricted. there is. The electronic device 101 according to one embodiment may determine whether a setting value related to the lock mode exists. In operation 610 of FIG. 6 , the electronic device 101 may determine whether a setting value related to the lock mode exists based on receiving a security mode setting command.

전자 장치(101)에 잠금 모드와 관련된 설정값이 존재하는 경우, 일 실시예에 따른 전자 장치(101)는 설정값이 존재하는 것으로 판단되는 것에 기초하여 도 6의 동작 410 내지 동작 440의 프로세스를 수행할 수 있다. When a setting value related to the lock mode exists in the electronic device 101, the electronic device 101 according to one embodiment performs the processes of operations 410 to 440 of FIG. 6 based on determining that the setting value exists. It can be done.

판단 결과 잠금 모드와 관련된 설정값이 존재하지 않는 경우, 도 6의 동작 620 내지 동작 630의 프로세스를 수행할 수 있다. 도 6의 동작 620에서, 전자 장치(101)는 잠금 모드와 관련된 설정값이 없는 것으로 판단되는 것에 기초하여 잠금 모드와 관련된 설정값의 수신을 위한 사용자 인터페이스를 전자 장치(101)의 표시부를 통해서 표시할 수 있다. 도 6의 동작 630에서, 전자 장치(101)는 사용자 인터페이스를 통해서 수신된 설정값을 저장할 수 있다. 도 6의 동작 410에서, 전자 장치(101)는 로그 데이터를 공용 공간에 저장할 수 있다. 도 6의 동작 410 내지 동작 440는 앞서 설명한 바와 대응되므로 자세한 설명은 생략한다.As a result of the determination, if there is no setting value related to the lock mode, the processes of operations 620 to 630 of FIG. 6 may be performed. In operation 620 of FIG. 6, the electronic device 101 displays a user interface for receiving settings related to the lock mode through the display unit of the electronic device 101 based on the determination that there are no settings related to the lock mode. can do. In operation 630 of FIG. 6, the electronic device 101 may store settings received through the user interface. In operation 410 of FIG. 6, the electronic device 101 may store log data in a common space. Since operations 410 to 440 of FIG. 6 correspond to what was previously described, detailed descriptions will be omitted.

일 실시예에 따른 전자 장치(101)는 보안 모드를 종료하고 일반 모드로 전환했을 때, 전자 장치(101)는 잠금 모드와 관련된 설정값의 입력을 요구함으로써 전자 장치(101)의 메모리(130) 등에 저장된 사용자의 개인 정보를 보호할 수 있다. 예를 들어 잠금 모드와 관련된 설정값은 문자열, 코드 번호, 홍채인식, 또는 지문인식을 통해서 입력될 수 있다.According to one embodiment, when the electronic device 101 exits the security mode and switches to the normal mode, the electronic device 101 requests input of a setting value related to the lock mode to store the memory 130 of the electronic device 101. You can protect the user's personal information stored in etc. For example, settings related to the lock mode can be entered through a string, code number, iris recognition, or fingerprint recognition.

도 7은 일 실시예에 따른 전자 장치(101)가 로그 데이터를 공용 공간에 저장하는 프로세스를 도시한 흐름도이다. 일 실시예에 따른 공용 공간은 외부 장치(예: 도 2의 외부 장치(280))에 지정된 공간일 수 있다. 도 7에서 단말기(700)는 공용 서버(200)의 공용 공간에 로그 데이터를 저장한다. 도 7의 동작 710에서, 단말기(700)는 보안 모드 진입 명령에 기초하여 로그 데이터를 외부 장치(280)의 공용 공간(예: 도 2의 공용 공간(288))에 저장할 수 있다. 예를 들어, 도 7의 공용 공간은 공용 서버(200)이고, 공용 서버(200)는 클라우드 서버일 수 있다.FIG. 7 is a flowchart illustrating a process by which the electronic device 101 stores log data in a common space, according to an embodiment. The common space according to one embodiment may be a space designated for an external device (eg, the external device 280 of FIG. 2). In FIG. 7 , the terminal 700 stores log data in the common space of the public server 200. In operation 710 of FIG. 7 , the terminal 700 may store log data in the common space of the external device 280 (e.g., the common space 288 in FIG. 2 ) based on the security mode entry command. For example, the public space in FIG. 7 may be a public server 200, and the public server 200 may be a cloud server.

도 7의 동작 420에서, 단말기(700)는 보안 모드에 진입할 수 있다. 도 7의 동작 430에서, 단말기(700)는 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여 공용 서버(200)에 저장된 로그 데이터를 삭제할 수 있다. 도 7의 동작 440은 앞서 설명한 바와 대응되므로 자세한 설명은 생략한다.In operation 420 of FIG. 7, the terminal 700 may enter the security mode. In operation 430 of FIG. 7 , the terminal 700 may delete log data stored in the public server 200 based on a security mode termination command to terminate the security mode. Since operation 440 of FIG. 7 corresponds to what was previously described, detailed description will be omitted.

한편, 일 실시예에 따른 공용 공간은 전자 장치(101)의 메모리에 지정된 공간일 수 있다. 예를 들어, 단말기(700)는 보안 모드 진입 명령에 기초하여 로그 데이터를 전자 장치(101)에 지정된 공용 공간에 저장할 수 있다.Meanwhile, the common space according to one embodiment may be a space designated in the memory of the electronic device 101. For example, the terminal 700 may store log data in a common space designated for the electronic device 101 based on a security mode entry command.

도 8은 일 실시예에 따른 전자 장치(101)가 보안 모드의 실행 및 종료 프로세스에서, 로그 데이터의 삭제와 관련된 적어도 하나의 사용자 입력에 기초하여 로그 데이터를 처리하는 프로세스를 도시한 흐름도이다. 일 실시예에 따른 전자 장치(101)는 보안 모드 종료 명령에 기초하여 로그 데이터의 삭제와 관련된 사용자 입력을 수신하기 위한, 적어도 하나의 객체를 표시부(예: 도 2의 표시부(260))를 통해서 표시할 수 있다. 일 실시예에 따른 전자 장치(101)는 표시된 적어도 하나의 객체를 통해서 수신된 사용자 입력에 기초하여 로그 데이터를 삭제할 수 있다.FIG. 8 is a flowchart illustrating a process in which the electronic device 101 processes log data based on at least one user input related to deletion of log data in a security mode execution and termination process, according to an embodiment. The electronic device 101 according to one embodiment displays at least one object through a display unit (e.g., the display unit 260 of FIG. 2) to receive a user input related to deletion of log data based on a security mode termination command. It can be displayed. The electronic device 101 according to one embodiment may delete log data based on a user input received through at least one displayed object.

일 실시예에 따른 삭제와 관련된 사용자 입력은 로그 데이터를 삭제하지 않기 위한 사용자 입력, 로그 데이터를 삭제하기 위한 사용자 입력, 로그 데이터를 영구적으로 삭제하기 위한 사용자 입력, 또는 로그 데이터를 일시적으로 삭제하기 위한 사용자 입력 중 적어도 하나를 포함할 수 있다.User input related to deletion according to one embodiment may include a user input for not deleting log data, a user input for deleting log data, a user input for permanently deleting log data, or a user input for temporarily deleting log data. May contain at least one of user input.

도 8의 동작 410 내지 420은 앞서 설명한 바와 대응되므로, 자세한 설명은 생략한다. 도 8의 동작 810에서, 전자 장치(101)는 보안 모드 명령에 기초하여 로그 데이터의 삭제와 관련된 사용자 입력을 수신하기 위한 객체를 표시할 수 있다. 예를 들어, 전자 장치(101)는 로그 데이터의 삭제 여부를 수신하기 위한 객체 또는 로그 데이터의 삭제 방식을 수신하기 위한 객체 중 적어도 하나를 표시할 수 있다.Since operations 410 to 420 of FIG. 8 correspond to what was previously described, detailed descriptions are omitted. In operation 810 of FIG. 8 , the electronic device 101 may display an object for receiving a user input related to deletion of log data based on a security mode command. For example, the electronic device 101 may display at least one of an object for receiving whether log data is deleted or an object for receiving a deletion method of log data.

도 8의 동작 820에서 전자 장치(101)는 제1 입력에 상응하는 로그 데이터의 처리를 수행할 수 있다. 예를 들어, 제1 입력은 로그 데이터를 삭제하지 않기 위한 취소 버튼을 선택하는 사용자 입력일 수 있다. 도 8의 동작 820에서 전자 장치(101)는 제1 입력에 기초하여 로그 데이터를 삭제하지 않고 동작 440에서 보안 모드를 종료할 수 있다.In operation 820 of FIG. 8, the electronic device 101 may process log data corresponding to the first input. For example, the first input may be a user input selecting a cancel button to not delete log data. In operation 820 of FIG. 8 , the electronic device 101 may end the security mode in operation 440 without deleting log data based on the first input.

도 8의 동작 830에서 전자 장치(101)는 제2 입력에 상응하는 로그 데이터의 처리를 수행한다. 예를 들어, 제2 입력은 로그 데이터를 삭제하기 위한 삭제 버튼을 선택하는 사용자 입력일 수 있다. 도 8의 동작 830에서 전자 장치(101)는 제2 입력에 기초하여 로그 데이터를 삭제할 수 있다. 도 8의 동작 4400에서 전자 장치(101)는 보안 모드를 종료할 수 있다.In operation 830 of FIG. 8, the electronic device 101 processes log data corresponding to the second input. For example, the second input may be a user input selecting a delete button to delete log data. In operation 830 of FIG. 8, the electronic device 101 may delete log data based on the second input. In operation 4400 of FIG. 8, the electronic device 101 may end the security mode.

일 실시예에 따른 프로세서는, 로그 데이터를 영구적으로 삭제할 수 있다. 예를 들어, 프로세서(120)는 로그 데이터가 저장된 영역을 다른 데이터로 덮어씌우도록 설정될 수 있다. 예를 들어, 프로세서(120)는 보안 모드 종료 명령에 기초하여 상기 로그 데이터의 영역에 임의의 문자열 또는 미리 정해진 문자열로 덮어씌우도록 설정될 수 있다.The processor according to one embodiment may permanently delete log data. For example, the processor 120 may be set to overwrite the area where log data is stored with other data. For example, the processor 120 may be set to overwrite the area of the log data with a random character string or a predetermined character string based on a security mode termination command.

또한, 전자 장치(101)는 제3 입력 또는 제4 입력에 상응하는 로그 데이터의 처리를 수행할 수 있다. 예를 들어, 제3 입력은 로그 데이터를 영구적 삭제하기 위한 사용자 입력일 수 있다. 보다 구체적인 예를 들면, 전자 장치(101)는 로그 데이터의 영구적 삭제 여부를 선택하기 위한 옵션 항목을 표시할 수 있다. 사용자 입력(제3 입력)에 기초하여 옵션 항목이 영구적 삭제 방식으로 선택된 상태(예: 옵션 체크 상태)에서 제2 입력이 수신된 경우, 전자 장치(101)는 동작 830에서 로그 데이터를 영구적으로 삭제할 수 있다. 예를 들어, 전자 장치(101)는 로그 데이터가 저장된 영역에 임의의 문자열로 덮어씌우고, 동작 440과 같이 보안 모드를 종료할 수 있다. Additionally, the electronic device 101 may process log data corresponding to the third or fourth input. For example, the third input may be a user input for permanently deleting log data. For a more specific example, the electronic device 101 may display an option item for selecting whether to permanently delete log data. If the second input is received in a state in which an option item is selected for permanent deletion (e.g., option checked state) based on the user input (third input), the electronic device 101 permanently deletes the log data in operation 830. You can. For example, the electronic device 101 may overwrite the area where the log data is stored with a random character string and end the security mode in operation 440.

일 실시예에 따른 프로세서는, 로그 데이터를 일시적으로 삭제할 수 있다. 예를 들어, 제4 입력은 로그 데이터를 일시적 삭제하기 위한 사용자 입력일 수 있다. 예를 들어, 프로세서는 보안 모드 종료 명령에 기초하여 상기 로그 데이터가 저장된 영역을 비활성화하도록 설정될 수 있다. 보다 구체적인 예를 들면, 전자 장치(101)는 로그 데이터의 일시적 삭제 여부를 선택하기 위한 옵션 항목을 표시할 수 있다. 사용자 입력(제4 입력)에 기초하여 옵션 항목이 일시적 삭제 방식으로 선택된 상태(예: 체크 해제 상태)에서 제2 입력이 수신된 경우, 전자 장치(101)는 동작 830에서 로그 데이터를 일시적으로 삭제할 수 있다. 일시적으로 삭제된 로그 데이터는 복구될 수 있다. 예를 들어, 프로세서는 로그 데이터가 저장된 영역의 비활성화 이후, 비활성화된 영역을 활성화함으로써 일시적으로 삭제된 로그 데이터를 복구할 수 있다 The processor according to one embodiment may temporarily delete log data. For example, the fourth input may be a user input for temporarily deleting log data. For example, the processor may be set to deactivate the area where the log data is stored based on a security mode exit command. For a more specific example, the electronic device 101 may display an option item for selecting whether to temporarily delete log data. If the second input is received while the option item is selected in a temporary deletion manner (e.g., unchecked state) based on the user input (fourth input), the electronic device 101 temporarily deletes the log data in operation 830. You can. Temporarily deleted log data can be recovered. For example, after deactivating an area where log data is stored, the processor can recover temporarily deleted log data by activating the deactivated area.

한편 일 실시예에 따른 전자 장치(101)는 로그 데이터의 삭제와 관련한 복수의 사용자 입력을 수신하고, 복수의 사용자 입력에 기초하여 로그 데이터를 처리할 수 있다. 일 실시예에 따른 전자 장치(101)는 로그 데이터의 삭제와 관련된 사용자 입력을 1차 수신하고, 수신한 사용자 입력에 기초하여 로그 데이터를 처리하기 위해 로그 데이터의 삭제 방식과 관련된 사용자 입력을 2차 수신할 수 있다. 예를 들어, 프로세서가 로그 데이터를 삭제하기 위한 사용자 입력에 기초하여 로그 데이터의 삭제의 방법과 관련된 사용자 입력을 수신하기 위한 객체를 표시할 수 있다.Meanwhile, the electronic device 101 according to one embodiment may receive a plurality of user inputs related to deletion of log data and process the log data based on the plurality of user inputs. The electronic device 101 according to one embodiment primarily receives a user input related to the deletion of log data, and secondarily receives a user input related to a method of deleting log data in order to process the log data based on the received user input. You can receive it. For example, a processor may display an object for receiving user input related to a method of deleting log data based on the user input for deleting log data.

예를 들어, 도 8의 동작 810에서 표시된 객체를 통해 수신된 제2 입력에 기초하여, 도 8의 동작 830에서, 전자 장치(101)는 로그 데이터의 삭제 방법을 선택하기 위한 적어도 하나의 객체를 표시부(260)를 통해 표시할 수 있다. 전자 장치(101)는 적어도 하나의 객체를 통해 수신한 방법에 기초하여 로그 데이터를 삭제할 수 있다. For example, based on the second input received through the object displayed in operation 810 of FIG. 8, in operation 830 of FIG. 8, the electronic device 101 selects at least one object for selecting a method of deleting log data. It can be displayed through the display unit 260. The electronic device 101 may delete log data based on a method received through at least one object.

예를 들어, 프로세서는 로그 데이터를 삭제하기 위한 사용자 입력 및 로그 데이터를 영구적으로 삭제하기 위한 사용자 입력을 수신하고, 각각의 사용자 입력에 기초하여 로그 데이터를 처리할 수 있다. 도 8의 동작 830에서, 전자 장치(101)는 로그 데이터의 삭제 방법과 관련된 사용자 입력을 수신하기 위한 적어도 하나의 객체를 표시부(260)를 통해 표시하는 동작 및 수신된 사용자 입력을 기초로 로그 데이터를 처리하는 동작을 더 포함할 수 있다. 도 8의 동작 830에서 전자 장치(101)가 수신하는 사용자 입력은 로그 데이터를 영구적 삭제하기 위한 사용자 입력 또는 로그 데이터를 일시적 삭제하기 위한 사용자 입력일 수 있다.For example, the processor may receive a user input for deleting log data and a user input for permanently deleting log data, and process the log data based on each user input. In operation 830 of FIG. 8, the electronic device 101 displays at least one object for receiving a user input related to a method of deleting log data through the display unit 260 and displays log data based on the received user input. It may further include processing operations. The user input received by the electronic device 101 in operation 830 of FIG. 8 may be a user input for permanently deleting log data or a user input for temporarily deleting log data.

도 9는 일 실시예에 따른 전자 장치에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다. 일 실시예에 따른 전자 장치는 표시부(260)를 더 포함하고, 표시부(260)를 통해 표시된 사용자 인터페이스에 대해 수신된 사용자 입력에 기초하여 수리 모드를 설정하기 위한 화면을 표시할 수 있다. 도 9에서 전자 장치(101)는 전자 장치가 수리 모드에 진입할 때 로그 데이터를 저장(생성)하는 것으로 설정될 수 있고, 표시부(260)에 로그 데이터의 저장에 관련된 사용자 인터페이스(911)를 포함하는 화면을 표시할 수 있다. 예를 들어, 전자 장치(101)는 로그 데이터를 저장하는 것으로 설정되었음을 표시하기 위한 사용자 인터페이스 및 수리 모드 진입 명령을 수신하기 위한 사용자 인터페이스(910)를 포함하는 화면을 표시할 수 있다.FIG. 9 is a diagram illustrating an example of a user interface displayed on an electronic device according to an embodiment. The electronic device according to one embodiment further includes a display unit 260 and may display a screen for setting a repair mode based on a user input received on a user interface displayed through the display unit 260. In FIG. 9, the electronic device 101 may be set to store (generate) log data when the electronic device enters a repair mode, and includes a user interface 911 related to storage of log data on the display unit 260. A screen can be displayed. For example, the electronic device 101 may display a screen including a user interface for displaying that it is set to store log data and a user interface 910 for receiving a repair mode entry command.

도 10은 일 실시예에 따른 전자 장치에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다. 일 실시예에 따른 전자 장치는 표시부(260)를 더 포함하고, 표시된 사용자 인터페이스에 대해 수신된 사용자 입력에 기초하여 수리 모드를 설정하기 위한 화면을 표시할 수 있다. 도 10에서 전자 장치(101)는 전자 장치가 수리 모드에 진입할 때 로그 데이터의 저장에 관련된 사용자 인터페이스(1010)를 포함하는 화면을 표시부(260)에 표시할 수 있다. 예를 들어, 전자 장치(101)는 로그 데이터를 저장하지 않기 위한 사용자 입력을 수신하기 위한 사용자 인터페이스(1011), 수리 모드 진입 명령을 수신하기 위한 사용자 인터페이스(1012)를 포함하는 화면을 표시할 수 있다. 사용자 인터페이스(1011)가 선택된 상태에서 사용자 인터페이스(1012)를 선택하는 사용자 입력을 수신하면, 전자 장치(101)는 로그 데이터를 공용 공간에 저장하지 않고 보안 모드로 부팅될 수 있다. 사용자 인터페이스(1011)가 선택되지 않은 상태에서 사용자 인터페이스(1012)를 선택하는 사용자 입력을 수신하면, 전자 장치(101)는 보안 모드로 부팅하는 과정에서 로그 데이터를 공용 공간에 저장할 수 있다.FIG. 10 is a diagram illustrating an example of a user interface displayed on an electronic device according to an embodiment. The electronic device according to one embodiment further includes a display unit 260 and may display a screen for setting a repair mode based on a user input received for the displayed user interface. In FIG. 10 , the electronic device 101 may display a screen including a user interface 1010 related to storage of log data on the display unit 260 when the electronic device enters the repair mode. For example, the electronic device 101 may display a screen including a user interface 1011 for receiving a user input for not storing log data and a user interface 1012 for receiving a repair mode entry command. there is. When a user input for selecting the user interface 1012 is received while the user interface 1011 is selected, the electronic device 101 may be booted in a secure mode without storing log data in the common space. If a user input for selecting the user interface 1012 is received while the user interface 1011 is not selected, the electronic device 101 may store log data in the common space during booting into the secure mode.

도 11은 일 실시예에 따른 전자 장치에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다. 도 11에서 전자 장치(101)는 보안 모드에 진입한 상태이고, 공용 공간을 제외한 영역에 접근을 제한하고, 접근의 제한과 관련된 표시(1110)를 표시부(260)를 통해 표시할 수 있다. 예를 들어, 도 11에서 전자 장치(101)는 메시지 앱에 대한 접근을 제한하여, 메시지 앱과 관련된 사용자의 개인 정보를 보호할 수 있다.FIG. 11 is a diagram illustrating an example of a user interface displayed on an electronic device according to an embodiment. In FIG. 11 , the electronic device 101 enters the security mode, restricts access to areas other than the common space, and displays a display 1110 related to the restriction of access through the display unit 260. For example, in FIG. 11 , the electronic device 101 may protect the user's personal information related to the messaging app by restricting access to the messaging app.

도 12는 일 실시예에 따른 전자 장치(101)에 표시되는 사용자 인터페이스의 예시를 도시한 도면이다. 도 12에서 전자 장치(101)는 보안 모드에 진입한 상태이고, 보안 모드 종료 명령과 관련된 사용자 인터페이스(1210)를 표시부(260)를 통해 표시할 수 있다. 예를 들어, 도 12에서 전자 장치(101)는 보안 모드 종료 프로세스와 관련된 정보, 로그 데이터를 삭제와 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스(1212), 보안 모드 종료 명령을 수신하기 위한 사용자 인터페이스(1211)를 포함하는 화면을 표시할 수 있다.FIG. 12 is a diagram illustrating an example of a user interface displayed on the electronic device 101 according to an embodiment. In FIG. 12 , the electronic device 101 has entered the security mode and can display a user interface 1210 related to a command to end the security mode through the display unit 260. For example, in FIG. 12, the electronic device 101 includes information related to the security mode exit process, a user interface 1212 for receiving user input related to deleting log data, and a user interface for receiving a security mode exit command ( 1211) can be displayed.

다양한 실시 예들에 따른 전자 장치 및 이의 동작 방법은, 사용자의 개인 데이터를 보호하면서도, 전자 장치의 수리를 위한 데이터를 제공하고, 불필요한 저장 용량을 소모하지 않을 수 있다.An electronic device and a method of operating the same according to various embodiments may protect a user's personal data, provide data for repair of the electronic device, and do not consume unnecessary storage capacity.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the description below. will be.

Claims (10)

전자 장치에 있어서,
메모리; 및
상기 메모리와 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는,
상기 메모리 또는 외부 장치 중 적어도 하나에 지정된 공용 공간을 제외한 영역에 대한 접근을 제한하는 보안 모드를 시작하도록 하는 보안 모드 진입 명령에 기초하여:
상기 전자 장치의 상태와 관련된 정보를 포함하는 로그 데이터를 상기 공용 공간에 저장하고,
상기 보안 모드에 진입하고,
상기 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여 상기 로그 데이터를 삭제하도록 설정되는, 전자 장치.
In electronic devices,
Memory; and
At least one processor connected to the memory, wherein the at least one processor includes:
Based on a security mode entry command to initiate a security mode that restricts access to areas other than the public space designated for at least one of the memory or external device:
Store log data containing information related to the state of the electronic device in the common space,
Enter the security mode,
An electronic device configured to delete the log data based on a security mode termination command to terminate the security mode.
청구항 1에 있어서, 표시부를 더 포함하고,
상기 적어도 하나의 프로세서는,
상기 보안 모드 진입 명령에 기초하여 상기 로그 데이터의 저장에 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스를 상기 표시부를 통해서 표시하고,
상기 사용자 인터페이스를 통해서 수신된 사용자 입력에 기초하여 상기 로그 데이터를 상기 공용 공간에 저장하도록 설정되는, 전자 장치.
The method of claim 1, further comprising a display unit,
The at least one processor,
Displaying a user interface for receiving user input related to storage of the log data based on the security mode entry command through the display unit,
An electronic device configured to store the log data in the common space based on user input received through the user interface.
청구항 1에 있어서, 표시부를 더 포함하고,
상기 적어도 하나의 프로세서는,
상기 보안 모드 진입 명령을 수신하면, 잠금 모드와 관련된 설정값의 존재 여부를 판단하고,
상기 설정값이 없는 것으로 판단되는 것에 기초하여 상기 설정값의 수신을 위한 사용자 인터페이스를 상기 표시부를 통해서 표시하고,
상기 사용자 인터페이스를 통해서 수신된 설정값을 저장하도록 설정되는, 전자 장치.
The method of claim 1, further comprising a display unit,
The at least one processor,
Upon receiving the security mode entry command, determine whether a setting value related to the lock mode exists,
Based on the determination that the setting value is not present, displaying a user interface for receiving the setting value through the display unit,
An electronic device configured to store settings received through the user interface.
청구항 1에 있어서, 표시부를 더 포함하고,
상기 적어도 하나의 프로세서는,
상기 보안 모드 종료 명령에 기초하여 상기 로그 데이터의 삭제와 관련된 사용자 입력을 수신하기 위한, 적어도 하나의 객체를 상기 표시부를 통해서 표시하고,
상기 표시된 적어도 하나의 객체를 통해서 수신된 사용자 입력에 기초하여 상기 로그 데이터를 삭제하도록 설정되는, 전자 장치.
The method of claim 1, further comprising a display unit,
The at least one processor,
Displaying at least one object through the display unit to receive a user input related to deletion of the log data based on the security mode termination command,
An electronic device configured to delete the log data based on a user input received through the displayed at least one object.
청구항 1에 있어서, 상기 적어도 하나의 프로세서는,
상기 로그 데이터의 영역에 임의의 문자열로 덮어씌우도록 설정되는, 전자 장치.
The method of claim 1, wherein the at least one processor:
An electronic device configured to overwrite the area of the log data with a random character string.
전자 장치의 동작 방법에 있어서,
상기 전자 장치의 메모리 또는 외부 장치 중 적어도 하나에 지정된 공용 공간을 제외한 영역에 대한 접근을 제한하는 보안 모드를 시작하도록 하는 보안 모드 진입 명령에 기초하여,
상기 전자 장치의 상태와 관련된 정보를 포함하는 로그 데이터를 상기 공용 공간에 저장하는 동작,
상기 보안 모드에 진입하는 동작,
상기 보안 모드를 종료하도록 하는 보안 모드 종료 명령에 기초하여 상기 로그 데이터를 삭제하는 동작을 포함하는, 방법.
In a method of operating an electronic device,
Based on a security mode entry command to start a security mode that restricts access to areas other than a public space designated in at least one of the memory of the electronic device or an external device,
An operation of storing log data containing information related to the state of the electronic device in the common space,
The operation of entering the security mode,
A method comprising deleting the log data based on a security mode termination command to terminate the security mode.
청구항 6에 있어서, 상기 로그 데이터를 상기 공용 공간에 저장하는 동작은,
상기 보안 모드 진입 명령에 기초하여 상기 로그 데이터의 저장에 관련된 사용자 입력을 수신하기 위한 사용자 인터페이스를 상기 전자 장치의 표시부를 통해서 표시하고,
상기 사용자 인터페이스를 통해서 수신된 사용자 입력에 기초하여 상기 로그 데이터를 상기 공용 공간에 저장하는 동작인, 방법.
The method of claim 6, wherein the operation of storing the log data in the common space includes:
Displaying a user interface for receiving user input related to storage of the log data based on the security mode entry command through a display unit of the electronic device,
An operation of storing the log data in the common space based on user input received through the user interface.
청구항 6에 있어서,
상기 보안 모드 진입 명령을 수신하면, 잠금 모드와 관련된 설정값의 존재 여부를 판단하는 동작,
상기 설정값이 없는 것으로 판단되는 것에 기초하여 상기 설정값의 수신을 위한 사용자 인터페이스를 상기 전자 장치의 표시부를 통해서 표시하는 동작,
상기 사용자 인터페이스를 통해서 수신된 설정값을 저장하는 동작을 더 포함하는, 방법.
In claim 6,
Upon receiving the security mode entry command, determining whether a setting value related to the lock mode exists,
An operation of displaying a user interface for receiving the setting value through a display unit of the electronic device based on determining that the setting value is not present;
The method further includes storing settings received through the user interface.
청구항 6에 있어서,
상기 보안 모드 종료 명령에 기초하여 상기 로그 데이터의 삭제와 관련된 사용자 입력을 수신하기 위한, 적어도 하나의 객체를 상기 전자 장치의 표시부를 통해서 표시하는 동작,
상기 표시된 적어도 하나의 객체를 통해서 수신된 사용자 입력에 기초하여 상기 로그 데이터를 삭제하는 동작을 더 포함하는, 방법.
In claim 6,
An operation of displaying at least one object through a display unit of the electronic device to receive a user input related to deletion of the log data based on the security mode termination command;
The method further includes deleting the log data based on a user input received through the displayed at least one object.
청구항 6에 있어서,
상기 로그 데이터를 삭제하는 동작은,
상기 로그 데이터의 영역에 임의의 문자열로 덮어씌우는 동작인, 방법.
In claim 6,
The operation of deleting the log data is:
A method of overwriting the area of the log data with a random string.
KR1020220135270A 2022-09-06 2022-10-19 Electronic device providing security mode and operating method of the electronic deivce thereof KR20240034076A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220112880 2022-09-06
KR1020220112880 2022-09-06

Publications (1)

Publication Number Publication Date
KR20240034076A true KR20240034076A (en) 2024-03-13

Family

ID=90299282

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220135270A KR20240034076A (en) 2022-09-06 2022-10-19 Electronic device providing security mode and operating method of the electronic deivce thereof

Country Status (1)

Country Link
KR (1) KR20240034076A (en)

Similar Documents

Publication Publication Date Title
US11334244B2 (en) Electronic device and method of processing pop-up window using multi-window thereof
KR102256292B1 (en) An electronic device for providing multiple windows using an expandable display
US20240045560A1 (en) Method for capturing images for multi windows and electronic device therefor
US20220326964A1 (en) Processor for initializing model file of application and electronic device including the same
KR20240034076A (en) Electronic device providing security mode and operating method of the electronic deivce thereof
KR20220017284A (en) Electronic device and method for controlling screen thereof
US11899897B2 (en) Method for controlling application of external electronic device and electronic device supporting same
US20230308880A1 (en) Electronic device and method for operating electronic device
US20230161872A1 (en) Method for application security and electronic device for performing the same
EP4307095A1 (en) Electronic device and operating method thereof
US20240118856A1 (en) Electronic device for sharing screen with external device and method for controlling the same
US20230049967A1 (en) Electronic device and operation method thereof
US20230252598A1 (en) Method and apparatus for editing video in electronic device
US20230342209A1 (en) Service operation method and electronic device supporting same
US20220188429A1 (en) Electronic device for providing privacy services
KR20240030844A (en) Electronic device and method for magnifying continuous image in the electronic device
KR20230154724A (en) Split screenshot creation method and electronic device thereof
KR20230148550A (en) Electronic device and method for notifying access of personal data in electronic device
KR20240037788A (en) Electronic device and method for informing posture correction in the electronic device
KR20240045935A (en) electronic device and method for communicating between applications
KR20240020622A (en) Electronic device and method for initialization operation
KR20230139262A (en) Electronic device including the controller for system booting and method
KR20240050951A (en) Electronic device and method of operation thereof
KR20240039547A (en) Apparatus and method for providing customized software
KR20240039769A (en) Electronic device and the operation method thereof