KR20220102043A - Method and electronic device for providing multiple operation modes - Google Patents

Method and electronic device for providing multiple operation modes Download PDF

Info

Publication number
KR20220102043A
KR20220102043A KR1020210004242A KR20210004242A KR20220102043A KR 20220102043 A KR20220102043 A KR 20220102043A KR 1020210004242 A KR1020210004242 A KR 1020210004242A KR 20210004242 A KR20210004242 A KR 20210004242A KR 20220102043 A KR20220102043 A KR 20220102043A
Authority
KR
South Korea
Prior art keywords
operation mode
electronic device
authentication information
computing resource
mode
Prior art date
Application number
KR1020210004242A
Other languages
Korean (ko)
Inventor
김정곤
김진수
김수형
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020210004242A priority Critical patent/KR20220102043A/en
Priority to PCT/KR2022/000280 priority patent/WO2022154381A1/en
Publication of KR20220102043A publication Critical patent/KR20220102043A/en

Links

Images

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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements

Abstract

An electronic device and a method for providing a plurality of operation modes are disclosed. The electronic device for providing a plurality of operation modes may include a communication interface, a memory for storing a program including one or more instructions, and a processor for executing one or more instructions of the program stored in the memory. The processor registers a user's first authentication information for a first operation mode among the plurality of operation modes; registers second authentication information of the user for a second operation mode among the plurality of operation modes; allocates a first computing resource for executing at least one first application corresponding to the first operation mode in the first operation mode; allocates a second computing resource for executing at least one second application corresponding to the second operation mode in the second operation mode; when the electronic device is unlocked, identifies authentication information used to unlock the electronic device from among the first authentication information and the second authentication information; and executes an operation mode corresponding to the identified authentication information. Applications executable in the plurality of operation modes of the electronic device may be set differently. The first computing resource allocated for the first operation mode and the second computing resource allocated for the second operation mode may be isolated from each other within the electronic device. Limited computing resources in an electronic device can be efficiently used.

Description

복수의 동작 모드를 제공하는 방법 및 전자 장치{METHOD AND ELECTRONIC DEVICE FOR PROVIDING MULTIPLE OPERATION MODES}METHOD AND ELECTRONIC DEVICE FOR PROVIDING MULTIPLE OPERATION MODES

다양한 실시예들은, 전자 장치에서 복수의 동작 모드를 제공하는 방법에 관한 것이다.Various embodiments relate to a method of providing a plurality of operation modes in an electronic device.

기술이 발전함에 따라, 모바일 디바이스의 컴퓨팅 성능이 개선되었고, 사용자는 모바일 디바이스에 다수의 정보를 저장하고 관리할 수 있다. 특히, 모바일 디바이스가 제공되는 복수의 동작 모드를 제공함에 따라, 하나의 모바일 디바이스를 여러 사용자가 함께 사용(예를 들어, 모바일 디바이스의 사용자 중 보호자는 일반 모드를 사용하고, 자녀는 키즈 모드를 사용)할 수 있게 되었다. 또한, 하나의 모바일 디바이스에서 여러 용도로 작업 공간을 구분하여 사용(예를 들어, 일반용도와 업무용도로 구분, 공개용도와 개인용도로 구분)할 수 있게 되었다.As technology advances, computing performance of mobile devices has improved, and users can store and manage a large amount of information in the mobile device. In particular, as the mobile device provides a plurality of operating modes provided, multiple users use one mobile device together (for example, among users of the mobile device, a guardian uses a normal mode, and a child uses a kids mode ) could be done. In addition, it has become possible to divide and use a work space for multiple purposes in one mobile device (eg, divided into general use and business use, and divided into public use and personal use).

하지만, 보호자와 자녀 간 모바일 디바이스를 공유하는 경우, 보호자가 사용하는 일반모드에서 별도로 자녀를 위한 키즈 모드로 진입해야 하므로 보호자가 있는 경우에만 자녀가 모바일 디바이스를 사용해야 하는 불편함이 있다. 또한, 사용자가 모바일 디바이스를 개인적인 용도로 사용하기 위한 보안 모드(예를 들어, 보안 폴더)를 사용하는 경우, 일반 모드에서 보안 모드를 실행해야 하기 때문에, 애플리케이션의 실행 기록에는 보안 모드에서 어떠한 애플리케이션을 사용했는지에 관한 정보가 노출되는 문제가 발생할 수 있다.However, when a mobile device is shared between a guardian and a child, it is inconvenient that the child must use the mobile device only when there is a guardian because it is necessary to enter the kids mode for the child separately from the general mode used by the guardian. In addition, when a user uses a secure mode (for example, secure folder) for personal use of the mobile device, since the secure mode must be executed in the normal mode, the execution record of the application contains which application in the secure mode There may be a problem in which information about whether or not it has been used is exposed.

이에 따라, 고유의 컴퓨팅 자원(예를 들어, 메인 메모리 공간 및 캐시 메모리)이 할당된 동작 모드에서, 애플리케이션이 다른 동작 모드와 독립적으로 실행되도록 하면서도, 사용자가 복수의 동작 모드를 이용하여 애플리케이션을 통한 소정의 작업들을 수행할 때, 모바일 디바이스의 컴퓨팅 자원을 효율적으로 사용할 수 있도록 하는 기술이 요구된다.Accordingly, in an operation mode in which unique computing resources (eg, main memory space and cache memory) are allocated, the application can be executed independently of other operation modes, while the user can use multiple operation modes to access the application. There is a need for a technique for efficiently using computing resources of a mobile device when performing certain tasks.

다양한 실시예들은, 사용자의 인증 정보를 입력 받아 등록하고, 등록된 인증 정보에 대응되는 동작 모드를 생성하고, 입력된 인증 정보를 식별하여 입력된 인증 정보가 등록된 인증 정보에 해당하는 경우, 입력된 인증 정보에 대응하고, 각각의 동작 모드 별로 고유한 컴퓨팅 자원이 할당된 동작 모드를 실행할 수 있는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments receive and register user's authentication information, generate an operation mode corresponding to the registered authentication information, identify the input authentication information, and input when the input authentication information corresponds to the registered authentication information. It is possible to provide an electronic device capable of executing an operation mode corresponding to the authenticated authentication information and to which a unique computing resource is allocated for each operation mode, and an operation method thereof.

상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 일 실시예에 따른 전자 장치가 복수의 동작 모드들을 제공하는 방법은, 상기 복수의 동작 모드들 중에서 제1 동작 모드에 대한 사용자의 제1 인증 정보를 등록하는 단계; 상기 복수의 동작 모드들 중에서 제2 동작 모드에 대한 상기 사용자의 제2 인증 정보를 등록하는 단계; 상기 제1 동작 모드에서 상기 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션을 실행하기 위한 제1 컴퓨팅 자원을 할당하는 단계; 상기 제2 동작 모드에서 상기 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션을 실행하기 위한 제2 컴퓨팅 자원을 할당하는 단계; 상기 전자 장치가 잠금 해제되는 경우에, 상기 제1 인증 정보 및 상기 제2 인증 정보 중에서, 상기 전자 장치의 잠금 해제에 이용된 인증 정보를 식별하는 단계; 상기 식별된 인증 정보에 대응되는 동작 모드를 실행하는 단계를 포함하되, 상기 복수의 동작 모드들에서 실행 가능한 애플리케이션들이 각각 상이하게 설정되며, 상기 제1 동작 모드에 대하여 할당된 상기 제1 컴퓨팅 자원 및 상기 제2 동작 모드에 대하여 할당된 상기 제2 컴퓨팅 자원은, 상기 전자 장치 내에서 서로 격리된 것인, 방법일 수 있다.As a technical means for achieving the above-described technical problem, in a method for an electronic device to provide a plurality of operation modes according to an embodiment, the user's first authentication information for a first operation mode among the plurality of operation modes is provided. registering; registering the user's second authentication information for a second operation mode among the plurality of operation modes; allocating a first computing resource for executing at least one first application corresponding to the first operating mode in the first operating mode; allocating a second computing resource for executing at least one second application corresponding to the second operation mode in the second operation mode; identifying authentication information used to unlock the electronic device from among the first authentication information and the second authentication information when the electronic device is unlocked; and executing an operation mode corresponding to the identified authentication information, wherein applications executable in the plurality of operation modes are set differently, respectively, the first computing resource allocated for the first operation mode; The second computing resource allocated for the second operation mode may be isolated from each other in the electronic device.

또한, 일 실시예에 따른 복수의 동작 모드들을 제공하는 전자 장치는, 통신 인터페이스; 하나 이상의 명령어들(instructions)을 포함하는 프로그램을 저장하는 메모리; 상기 메모리에 저장된 상기 프로그램의 하나 이상의 명령어들을 실행하는 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 동작 모드들 중에서 제1 동작 모드에 대한 사용자의 제1 인증 정보를 등록하고, 상기 복수의 동작 모드들 중에서 제2 동작 모드에 대한 상기 사용자의 제2 인증 정보를 등록하고, 상기 제1 동작 모드에서 상기 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션을 실행하기 위한 제1 컴퓨팅 자원을 할당하고, 상기 제2 동작 모드에서 상기 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션을 실행하기 위한 제2 컴퓨팅 자원을 할당하고, 상기 전자 장치가 잠금 해제되는 경우에, 상기 제1 인증 정보 및 상기 제2 인증 정보 중에서, 상기 전자 장치의 잠금 해제에 이용된 인증 정보를 식별하고, 상기 식별된 인증 정보에 대응되는 동작 모드를 실행하되, 상기 복수의 동작 모드들에서 실행 가능한 애플리케이션들이 각각 상이하게 설정되며, 상기 제1 동작 모드에 대하여 할당된 상기 제1 컴퓨팅 자원 및 상기 제2 동작 모드에 대하여 할당된 상기 제2 컴퓨팅 자원은, 상기 전자 장치 내에서 서로 격리된 것인, 전자 장치일 수 있다.In addition, an electronic device providing a plurality of operation modes according to an embodiment may include: a communication interface; a memory storing a program including one or more instructions; and a processor executing one or more instructions of the program stored in the memory, wherein the processor registers first authentication information of a user for a first operation mode among the plurality of operation modes, the plurality of operation modes Registering the user's second authentication information for a second operation mode among them, and allocating a first computing resource for executing at least one first application corresponding to the first operation mode in the first operation mode, , allocating a second computing resource for executing at least one second application corresponding to the second operation mode in the second operation mode, and when the electronic device is unlocked, the first authentication information and the Among the second authentication information, authentication information used for unlocking the electronic device is identified, an operation mode corresponding to the identified authentication information is executed, and applications executable in the plurality of operation modes are set differently. and the first computing resource allocated for the first operation mode and the second computing resource allocated for the second operation mode may be isolated from each other in the electronic device.

일 실시예에 따른 복수의 동작 모드를 제공하는 전자 장치는, 각각의 동작 모드를 이용하여, 하나의 전자 장치 내에서 단일 사용자 또는 여러 사용자가 분리된 컴퓨팅 환경을 사용할 수 있어, 사용성 및 접근성이 개선된 컴퓨팅 환경에서 애플리케이션 작업의 수행을 제공할 수 있다. 또한, 각각의 동작 모드가 고유의 분리된 컴퓨팅 자원을 사용하고, 할당된 컴퓨팅 자원을 동적으로 조절함으로써 전자 장치 내 한정된 컴퓨팅 자원을 효율적으로 사용할 수 있다.In an electronic device providing a plurality of operation modes according to an embodiment, a single user or multiple users can use a separate computing environment within one electronic device by using each operation mode, so that usability and accessibility are improved It can provide the performance of application tasks in a computing environment. In addition, each operation mode uses its own separate computing resources, and by dynamically adjusting the allocated computing resources, it is possible to efficiently use the limited computing resources in the electronic device.

도 1은 일 실시예에 따른 전자 장치가 사용자로부터 인증 정보를 입력 받아, 인증 정보에 대응되는 동작 모드를 제공하는 예시를 설명하기 위한 도면이다.
도 2는 일 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.
도 3a 및 3b는 개시된 실시예에 따른 전자 장치의 복수의 동작 모드 제공 방식을 설명하기 위한 도면이다.
도 4a 및 도 4b는 일 실시예에 따른 전자 장치에서 복수의 동작 모드들이 운용되는 방식을 설명하기 위한 도면이다.
도 5는 일 실시예에 따른 전자 장치가 복수의 동작 모드들을 제공하는 방법을 설명하기 위한 흐름도이다.
도 6은 일 실시예에 따른 전자 장치가 복수의 동작 모드들을 제공할 때 사용하는 컴퓨팅 자원을 동적으로 할당하는 방법을 설명하기 위한 흐름도이다.
도 7은 일 실시예에 따른 전자 장치에서 동작 모드가 실행되는 중에, 전자 장치가 다른 인증 정보를 입력 받아 다른 동작 모드로 전환하는 방법을 설명하기 위한 도면이다.
도 8은 일 실시예에 따른 전자 장치가 잠금 상태인 경우, 인증 정보를 입력 받아 대응되는 동작 모드를 실행하는 방법을 설명하기 위한 도면이다.
도 9는 일 실시예에 따른 전자 장치가 동작 모드를 생성할 때, 동작 모드의 유형을 선택하는 입력에 기초하여 동작 모드를 생성하는 방법을 설명하기 위한 도면이다.
도 10a 및 도 10b는 일 실시예에 따른 전자 장치가 복수의 동작 모드들에서 사용되는 컴퓨팅 자원을 동적으로 할당할 때, 각각의 동작 모드 별 애플리케이션 사용량에 기초하여 컴퓨팅 자원을 동적으로 할당하는 방법을 설명하기 위한 도면이다.
1 is a diagram for describing an example in which an electronic device receives authentication information from a user and provides an operation mode corresponding to the authentication information, according to an embodiment.
2 is a block diagram illustrating a configuration of an electronic device according to an exemplary embodiment.
3A and 3B are diagrams for explaining a method of providing a plurality of operation modes of an electronic device according to a disclosed embodiment.
4A and 4B are diagrams for explaining a method in which a plurality of operation modes are operated in an electronic device according to an exemplary embodiment.
5 is a flowchart illustrating a method of providing a plurality of operation modes by an electronic device according to an exemplary embodiment.
6 is a flowchart illustrating a method of dynamically allocating computing resources used when an electronic device provides a plurality of operation modes, according to an embodiment.
7 is a diagram for explaining a method for the electronic device to switch to another operation mode by receiving other authentication information while an operation mode is being executed in the electronic device, according to an exemplary embodiment;
8 is a diagram for describing a method of executing a corresponding operation mode by receiving authentication information when an electronic device is in a locked state, according to an embodiment.
9 is a diagram for describing a method of generating an operation mode based on an input for selecting a type of an operation mode when an electronic device generates an operation mode, according to an exemplary embodiment.
10A and 10B illustrate a method of dynamically allocating computing resources based on application usage for each operation mode when an electronic device dynamically allocates computing resources used in a plurality of operation modes according to an embodiment; It is a drawing for explanation.

본 명세서에서 사용되는 용어에 대해 간략히 설명하고, 본 발명에 대해 구체적으로 설명하기로 한다.Terms used in this specification will be briefly described, and the present invention will be described in detail.

본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 한다.The terms used in the present invention have been selected as currently widely used general terms as possible while considering the functions in the present invention, but these may vary depending on the intention or precedent of a person skilled in the art, the emergence of new technology, and the like. In addition, in a specific case, there is a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the corresponding invention. Therefore, the term used in the present invention should be defined based on the meaning of the term and the overall content of the present invention, rather than the name of a simple term.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 명세서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 또한, 본 명세서에서 사용되는 '제1' 또는 '제2' 등과 같이 서수를 포함하는 용어는 다양한 구성 요소들을 설명하는데 사용할 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만 사용된다.The singular expression may include the plural expression unless the context clearly dictates otherwise. Terms used herein, including technical or scientific terms, may have the same meanings as commonly understood by one of ordinary skill in the art described herein. Also, terms including ordinal numbers such as 'first' or 'second' used in this specification may be used to describe various components, but the components should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

명세서 전체에서 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. 또한, 명세서에 기재된 "부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다.In the entire specification, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated. In addition, terms such as "unit" and "module" described in the specification mean a unit that processes at least one function or operation, which may be implemented as hardware or software, or a combination of hardware and software.

아래에서는 첨부한 도면을 참고하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, with reference to the accompanying drawings, the embodiments of the present invention will be described in detail so that those skilled in the art can easily carry out the embodiments of the present invention. However, the present invention may be embodied in several different forms and is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

도 1은 일 실시예에 따른 전자 장치가 사용자로부터 인증 정보를 입력 받아, 인증 정보에 대응되는 동작 모드를 제공하는 예시를 설명하기 위한 도면이다.1 is a diagram for describing an example in which an electronic device receives authentication information from a user and provides an operation mode corresponding to the authentication information, according to an embodiment.

도 1을 참조하면, 일 실시예에 따른 전자 장치(200)는 사용자의 인증 정보를 등록하고, 등록된 인증 정보에 대응되는 동작 모드를 생성하고, 등록된 인증 정보가 입력되는 경우, 인증 정보에 대응하는 동작 모드를 실행할 수 있다.Referring to FIG. 1 , the electronic device 200 according to an embodiment registers user's authentication information, generates an operation mode corresponding to the registered authentication information, and, when the registered authentication information is input, A corresponding mode of operation can be executed.

일 실시예에 따른 전자 장치(200)는 애플리케이션, 웹 등을 실행하여 다양한 기능을 수행할 수 있는 디바이스일 수 있다. 예를 들어, 전자 장치(200)는 사용자가 이동하며 휴대 가능한 스마트폰, 태블릿 PC 등의 모바일 기기일 수 있다. 다른 예에서, 전자 장치(200)는 애플리케이션, 웹 등을 실행할 수 있는 다양한 장치인 데스크탑 PC, 노트북 PC 및 TV, 냉장고, 에어컨, 로봇 청소기 등을 포함하는 스마트 가전 등을 포함할 수 있으나, 이에 한정되지 않는다. The electronic device 200 according to an embodiment may be a device capable of performing various functions by executing an application, a web, or the like. For example, the electronic device 200 may be a mobile device such as a smart phone or a tablet PC that a user moves and can carry. In another example, the electronic device 200 may include various devices capable of executing applications, web, and the like, such as a desktop PC, a notebook PC and a TV, a refrigerator, an air conditioner, a smart home appliance including a robot cleaner, etc., but is limited thereto. doesn't happen

개시된 실시예에서, 동작 모드는 전자 장치의 컴퓨팅 자원들을 할당함으로써 생성된, 애플리케이션 프로세스를 수행할 수 있는 컴퓨팅 환경일 수 있다.In the disclosed embodiment, the operating mode may be a computing environment capable of performing an application process, generated by allocating computing resources of the electronic device.

일 실시예에서, 전자 장치(200)에서 제공되는 복수의 동작 모드들은, 각각의 동작 모드의 사용자가 전자 장치(200) 내의 다른 동작 모드들과 격리된 애플리케이션 실행 환경에서 애플리케이션 작업들을 수행할 수 있도록 하기 위해 전자 장치 내에서 서로 격리된 컴퓨팅 자원을 보유할 수 있다. 이 경우, 전자 장치(200)에서 제공되는 복수의 동작 모드들 각각에는 고유의 메인 메모리와 캐시 메모리가 할당될 수 있고, 따라서, 각각의 동작 모드별로 동작 모드의 설정 값, 애플리케이션 리스트, 애플리케이션 실행 기록 등이 분리되어 관리될 수 있다.In an embodiment, the plurality of operation modes provided by the electronic device 200 may allow a user of each operation mode to perform application tasks in an application execution environment isolated from other operation modes in the electronic device 200 . In order to do this, it is possible to have computing resources isolated from each other within the electronic device. In this case, a unique main memory and a cache memory may be allocated to each of the plurality of operation modes provided by the electronic device 200 , and accordingly, the setting value of the operation mode, the application list, and the application execution record for each operation mode. It can be managed separately.

일 실시예에 따른 각각의 동작 모드는 서로 메인 메모리 및 캐시 메모리를 공유하지 않을 수 있으며, 각각의 동작 모드가 동작 모드 간 데이터의 공유 없이 애플리케이션 작업들을 수행할 수 있다. 따라서, 각각의 동작 모드는 서로 독립적이며, 어느 동작 모드가 다른 동작 모드를 통해서만 진입하여 다른 동작 모드에 할당된 기능들에 대한 일부 권한(permission)만을 할당 받는 관계가 아닐 수 있다. 이 경우, 전자 장치에서 각각의 동작 모드가 생성될 때, 사용자의 설정에 따라 각각의 동작 모드에서 실행 가능한 애플리케이션들이 각각 상이하게 설정될 수 있다.Each operation mode according to an embodiment may not share a main memory and a cache memory with each other, and each operation mode may perform application tasks without sharing data between the operation modes. Accordingly, each operation mode is independent of each other, and it may not be a relationship in which an operation mode enters only through another operation mode and receives only some permissions for functions allocated to the other operation mode. In this case, when each operation mode is generated in the electronic device, applications executable in each operation mode may be set differently according to a user's setting.

일 실시예에 따른 전자 장치(200)는 사용자로부터 인증 정보를 입력 받아, 인증 정보를 등록하고, 등록된 인증 정보에 대응되는 동작 모드를 생성할 수 있다. 사용자의 인증 정보는, 사용자의 생체 정보(예를 들어, 얼굴 인식 정보, 지문 정보, 홍채 인식 정보 등), 개인식별번호(Personal Identification Number; PIN), 비밀번호, 잠금 패턴 등일 수 있으나, 이에 한정되지 않는다.The electronic device 200 according to an embodiment may receive authentication information from a user, register the authentication information, and generate an operation mode corresponding to the registered authentication information. The user's authentication information may be a user's biometric information (eg, face recognition information, fingerprint information, iris recognition information, etc.), a personal identification number (PIN), a password, a lock pattern, etc., but is not limited thereto. does not

예를 들어, 전자 장치(200)는 제1 사용자(110)로부터 제1 인증 정보(112)를 입력 받아 제1 인증 정보(112)를 등록하고, 제1 인증 정보(112)에 대응되는 제1 동작 모드를 생성할 수 있다. 또한, 전자 장치(200)는 제1 사용자(110)로부터 제2 인증 정보(114)를 입력 받아 제2 인증 정보(114)를 등록하고, 제2 인증 정보(114)에 대응되는 제2 동작 모드를 생성할 수 있다. 같은 방식으로, 전자 장치(200)는 제M 사용자(120)로부터 제N 인증 정보를 입력 받아 제N 인증 정보를 등록하고, 제N 인증 정보에 대응되는 제N 동작 모드를 생성할 수 있다.For example, the electronic device 200 receives the first authentication information 112 from the first user 110 , registers the first authentication information 112 , and a first corresponding to the first authentication information 112 . You can create operation modes. Also, the electronic device 200 receives the second authentication information 114 from the first user 110 , registers the second authentication information 114 , and a second operation mode corresponding to the second authentication information 114 . can create In the same manner, the electronic device 200 may receive the N-th authentication information from the M-th user 120 , register the N-th authentication information, and generate an N-th operation mode corresponding to the N-th authentication information.

일 실시예에 따른 전자 장치(200)는 등록된 인증 정보가 입력되는 경우, 입력된 인증 정보에 대응되는 동작 모드를 실행할 수 있다.When registered authentication information is input, the electronic device 200 according to an embodiment may execute an operation mode corresponding to the input authentication information.

예를 들어, 전자 장치(200)는 등록된 제N 인증 정보가 입력되는 경우, 제N 인증 정보에 대응되는 제N 동작 모드(130)를 실행하고, 제N 동작 모드(130)로 동작하면서 제N 인증 정보의 사용자가 제N 동작 모드(130)의 애플리케이션들을 이용하여 작업을 수행 때 제N 동작 모드(130)에 할당된 제N 컴퓨팅 자원을 이용할 수 있다.For example, when the registered N-th authentication information is input, the electronic device 200 executes the N-th operation mode 130 corresponding to the N-th authentication information, and operates in the N-th operation mode 130 , When the user of the N authentication information performs a task by using the applications of the N-th operation mode 130 , the N-th computing resource allocated to the N-th operation mode 130 may be used.

일 실시예에서, 전자 장치(200)에서 실행되는 동작 모드들은, 하나의 동작 모드만이 실행될 수도 있으나, 복수의 동작 모드들이 실행될 수 있다. 예를 들어, 어느 한 동작 모드가 실행되는 도중에 다른 인증 정보가 입력되는 경우, 실행 중이던 동작 모드는 백그라운드 프로세스로 전환되고, 입력된 인증 정보에 대응되는 동작 모드가 실행될 수 있다.In an embodiment, in the operation modes executed in the electronic device 200 , only one operation mode may be executed, but a plurality of operation modes may be executed. For example, when other authentication information is input while one operation mode is being executed, the currently running operation mode may be switched to a background process, and an operation mode corresponding to the input authentication information may be executed.

일 실시예에 따른 전자 장치(200)는 전자 장치의 복수의 동작 모드들에 대해서, 전자 장치(200)의 컴퓨팅 자원(140)을 동적으로 할당할 수 있다. 전자 장치(200)는 각각의 동작 모드에서 설치된 애플리케이션들의 리스트, 각각의 동작 모드의 주 사용 시간대, 컴퓨팅 자원 사용량(예를 들어, CPU 사용량, 메모리 사용량, 입출력 인터페이스 사용량 등)에 기초하여, 각각의 동작 모드가 실행되는 경우 사용할 컴퓨팅 자원을 결정하고, 각각의 동작 모드가 실행될 때 할당되는 컴퓨팅 자원을 동적으로 조절할 수 있다.The electronic device 200 according to an embodiment may dynamically allocate the computing resource 140 of the electronic device 200 to a plurality of operation modes of the electronic device. Based on the list of applications installed in each operation mode, the main use time period of each operation mode, and computing resource usage (eg, CPU usage, memory usage, input/output interface usage, etc.) A computing resource to be used may be determined when an operation mode is executed, and the computing resource allocated when each operation mode is executed may be dynamically adjusted.

일 실시예에 따른 전자 장치(200)는 복수의 동작 모드를 실행할 때, 호스트 운영체제(Host Operation System; Host OS)(150)를 이용하여 복수의 동작 모드들을 운용할 수 있다. 다만, 이에 한정되는 것은 아니며, 일 실시예에 따른 전자 장치(200)는 복수의 동작 모드를 실행할 때, 복수의 게스트 운영체제(Guest Operation System; Guest OS)(미도시)를 생성하고, 각각의 게스트 운영체제에서 전자 장치 내 하드웨어들을 논리적으로 분할 및 할당함으로써 복수의 동작 모드들을 생성하는, 가상화(Virtualization) 방식을 이용할 수도 있다.When executing the plurality of operation modes, the electronic device 200 according to an embodiment may operate the plurality of operation modes by using a host operating system (Host OS) 150 . However, the present invention is not limited thereto, and when executing a plurality of operation modes, the electronic device 200 generates a plurality of guest operating systems (Guest OS) (not shown), and each guest A virtualization method in which the operating system logically divides and allocates hardware in the electronic device to create a plurality of operation modes may be used.

도 2는 일 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.2 is a block diagram illustrating a configuration of an electronic device according to an exemplary embodiment.

일 실시예에 따른 전자 장치(200)는 적어도 통신부(210), 입출력부(220), 센싱부(230), 프로세서(240) 및 메모리(250)를 포함하도록 구성될 수 있다.The electronic device 200 according to an embodiment may be configured to include at least a communication unit 210 , an input/output unit 220 , a sensing unit 230 , a processor 240 , and a memory 250 .

일 실시예에 따른 통신부(210)는 프로세서(240)의 제어에 의해 외부 장치(예를 들어, 애플리케이션 서버)와 데이터 통신을 수행할 수 있다.The communication unit 210 according to an embodiment may perform data communication with an external device (eg, an application server) under the control of the processor 240 .

통신부(210)는 예를 들어, 유선 랜, 무선 랜(Wireless LAN), 와이파이(Wi-Fi), 블루투스(Bluetooth), 지그비(zigbee), WFD(Wi-Fi Direct), 적외선 통신(IrDA, infrared Data Association), BLE (Bluetooth Low Energy), NFC(Near Field Communication), 와이브로(Wireless Broadband Internet, Wibro), 와이맥스(World Interoperability for Microwave Access, WiMAX), SWAP(Shared Wireless Access Protocol), 와이기그(Wireless Gigabit Allicance, WiGig) 및 RF 통신을 포함하는 데이터 통신 방식 중 적어도 하나를 이용하여 외부 장치와 데이터 통신을 수행할 수 있다.The communication unit 210 is, for example, wired LAN, wireless LAN, Wi-Fi, Bluetooth, zigbee, WFD (Wi-Fi Direct), infrared communication (IrDA, infrared). Data Association), BLE (Bluetooth Low Energy), NFC (Near Field Communication), WiBro (Wireless Broadband Internet, Wibro), WiMAX (World Interoperability for Microwave Access, WiMAX), SWAP (Shared Wireless Access Protocol), WiGig ( Data communication with an external device may be performed using at least one of data communication methods including Wireless Gigabit Alliance (WiGig) and RF communication.

일 실시예에 따른 입출력부(220)는 입력부 및 출력부를 포함할 수 있다. The input/output unit 220 according to an embodiment may include an input unit and an output unit.

입력부는 사용자가 전자 장치(200)를 제어하기 위한 데이터를 입력하는 수단을 의미한다. 예를 들어, 입력부는 키 패드(key pad), 돔 스위치 (dome switch), 터치 패드(접촉식 정전 용량 방식, 압력식 저항막 방식, 적외선 감지 방식, 표면 초음파 전도 방식, 적분식 장력 측정 방식, 피에조 효과 방식 등), 터치스크린, 조그 휠, 조그 스위치 등이 있을 수 있으나 이에 한정되는 것은 아니다. 입력부는 전자 장치(200)가 개시된 실시예들을 수행하기 위해 필요한 사용자 입력(예를 들어, 인증 정보)를 수신할 수 있다.The input unit means a means for a user to input data for controlling the electronic device 200 . For example, the input unit includes a key pad, a dome switch, a touch pad (contact capacitive method, pressure resistance film method, infrared sensing method, surface ultrasonic conduction method, integral tension measurement method, piezo effect method, etc.), a touch screen, a jog wheel, a jog switch, etc., but is not limited thereto. The input unit may receive a user input (eg, authentication information) necessary for the electronic device 200 to perform the disclosed embodiments.

사용자는 입력부를 이용하여 사용자의 인증 정보(예를 들어, 개인식별번호(Personal Identification Number; PIN), 비밀번호, 잠금 패턴 등)을 입력 받을 수 있다. 예를 들어, 사용자가 전자 장치(200) 내 새로운 동작 모드를 생성하고자 하는 경우, 입력부는 사용자의 인증 정보를 등록하고, 동작 모드를 생성하기 위해, 사용자의 인증 정보를 입력 받을 수 있다. 또한, 사용자가 전자 장치(200) 내 기생성된 동작 모드를 실행하고자 하는 경우, 입력부는 동작 모드를 실행하기 위한 사용자의 인증 정보를 입력 받을 수 있다.The user may receive the user's authentication information (eg, personal identification number (PIN), password, lock pattern, etc.) using the input unit. For example, when the user intends to create a new operation mode in the electronic device 200 , the input unit may receive the user's authentication information to register the user's authentication information and generate the operation mode. Also, when the user intends to execute an operation mode generated in the electronic device 200 , the input unit may receive user authentication information for executing the operation mode.

출력부는 오디오 신호 또는 비디오 신호의 출력을 위한 것으로, 스피커, 디스플레이 등을 포함할 수 있으나, 이에 한정되는 것은 아니다.The output unit is for outputting an audio signal or a video signal, and may include a speaker, a display, and the like, but is not limited thereto.

출력부의 스피커는 통신부(210)로부터 수신되거나 메모리(250)에 저장된 오디오 데이터를 출력할 수 있다. 또한, 전자 장치(200)에서 수행되는 기능과 관련된 음향 신호를 출력할 수 있다. The speaker of the output unit may output audio data received from the communication unit 210 or stored in the memory 250 . Also, an acoustic signal related to a function performed by the electronic device 200 may be output.

출력부의 디스플레이는 전자 장치(200)에서 처리되는 정보를 표시할 수 있다. 예를 들어, 디스플레이는 전자 장치(200)에서 제공되는 동작 모드 들에서 실행되는 애플리케이션들에 관한 시각적인 정보를 표시할 수 있다. 또한, 디스플레이는 전자 장치(200)의 설정 및 동작 모드와 관련된 UI(User Interface) 또는 GUI(Graphic User Interface)를 표시할 수도 있다.The display of the output unit may display information processed by the electronic device 200 . For example, the display may display visual information about applications executed in operation modes provided by the electronic device 200 . Also, the display may display a user interface (UI) or a graphic user interface (GUI) related to the setting and operation mode of the electronic device 200 .

일 실시예에 따른 센싱부(230)는 전자 장치(200)의 사용자를 인증하는 정보를 센싱하도록 구성되는 다양한 센서들을 포함할 수 있다. 예를 들어, 센싱부(230)는 이미지 센서(카메라), 적외선 센서, 지문 인식 센서, 홍채 인식 센서 등을 포함할 수 있으나, 이에 한정되는 것은 아니며 사용자의 생체 인증 정보를 센싱할 수 있는 다양한 센서 등을 포함할 수 있다. The sensing unit 230 according to an embodiment may include various sensors configured to sense information for authenticating a user of the electronic device 200 . For example, the sensing unit 230 may include, but is not limited to, an image sensor (camera), an infrared sensor, a fingerprint recognition sensor, an iris recognition sensor, and the like, and various sensors capable of sensing the user's biometric authentication information. and the like.

센싱부(230)는 센싱부 내 포함되는 적어도 하나의 센서를 이용하여, 사용자의 인증 정보를 획득할 수 있다. 예를 들어, 사용자가 전자 장치(200) 내 새로운 동작 모드를 생성하고자 하는 경우, 센싱부(230)는 사용자의 인증 정보를 등록하고, 동작 모드를 생성하기 위해, 사용자의 인증 정보를 센싱할 수 있다. 또한, 사용자가 전자 장치(200) 내 기생성된 동작 모드를 실행하고자 하는 경우, 센싱부(230)는 동작 모드를 실행하기 위한 사용자의 인증 정보를 센싱할 수 있다.The sensing unit 230 may obtain user's authentication information by using at least one sensor included in the sensing unit. For example, when the user wants to create a new operation mode in the electronic device 200, the sensing unit 230 may sense the user's authentication information to register the user's authentication information and generate the operation mode. have. Also, when the user intends to execute an operation mode generated in the electronic device 200 , the sensing unit 230 may sense user authentication information for executing the operation mode.

프로세서(240)는 메모리(250)에 저장된 프로그램의 하나 이상의 명령어들(instructions)을 실행할 수 있다. 프로세서(240)는 산술, 로직 및 입출력 연산과 시그널 프로세싱을 수행하는 하드웨어 구성 요소로 구성될 수 있다.The processor 240 may execute one or more instructions of a program stored in the memory 250 . The processor 240 may be configured as a hardware component that performs arithmetic, logic, input/output operations and signal processing.

프로세서(240)는 예를 들어, 중앙 처리 장치(Central Processing Unit), 마이크로 프로세서(microprocessor), 그래픽 프로세서(Graphic Processing Unit), ASICs(Application Specific Integrated Circuits), DSPs(Digital Signal Processors), DSPDs(Digital Signal Processing Devices), PLDs(Programmable Logic Devices), FPGAs(Field Programmable Gate Arrays), AP(Application Processor), 뉴럴 프로세서(Neural Processing Unit) 또는 인공지능 모델의 처리에 특화된 하드웨어 구조로 설계된 인공지능 전용 프로세서 중 적어도 하나로 구성될 수 있으나, 이에 제한되는 것은 아니다.The processor 240 is, for example, a central processing unit (Central Processing Unit), a microprocessor (microprocessor), a graphic processor (Graphic Processing Unit), ASICs (Application Specific Integrated Circuits), DSPs (Digital Signal Processors), DSPDs (Digital Signal Processing Devices), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), Application Processors (APs), Neural Processing Units, or artificial intelligence-only processors designed with a hardware structure specialized for processing artificial intelligence models. It may consist of at least one, but is not limited thereto.

메모리(250)에는 프로세서(240)가 판독할 수 있는 명령어들, 데이터 구조, 및 프로그램 코드(program code)가 저장될 수 있다. 개시된 실시예들에서, 프로세서(240)가 수행하는 동작들은 메모리(250)에 저장된 프로그램의 명령어들 또는 코드들을 실행함으로써 구현될 수 있다. 일 실시예에 따른 메모리(250)는 동작 모드 생성 모듈, 컴퓨팅 자원 동적 할당 모듈, 동작 모드 제공 모듈 및 동작 모드 설정 데이터베이스를 포함할 수 있다.The memory 250 may store instructions, data structures, and program codes readable by the processor 240 . In the disclosed embodiments, operations performed by the processor 240 may be implemented by executing instructions or codes of a program stored in the memory 250 . The memory 250 according to an embodiment may include an operation mode generating module, a computing resource dynamic allocation module, an operation mode providing module, and an operation mode setting database.

일 실시예에 따른 메모리(250)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM, Random Access Memory) SRAM(Static Random Access Memory), 롬(ROM, Read-Only Memory), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다.The memory 250 according to an embodiment may include a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (eg, SD or XD). memory, etc.), RAM (Random Access Memory) SRAM (Static Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), PROM (Programmable Read-Only Memory), It may include at least one type of storage medium among a magnetic memory, a magnetic disk, and an optical disk.

일 실시예에서, 메모리(250)의 동작 모드 설정 데이터베이스에는 복수의 동작 모드들을 실행하기 위해 필요한 파일 및 설정에 관련된 정보(예를 들어, 라이브러리, 바이너리 등)가 저장될 수 있다.In an embodiment, the operation mode setting database of the memory 250 may store files necessary for executing a plurality of operation modes and information related to settings (eg, a library, binaries, etc.).

일 실시예에 따른 프로세서(240)는 메모리(250)에 저장된 명령어들 및 프로그램들을 실행함으로써, 개시된 실시예에 따른 전자 장치(200)의 동작들을 전반적으로 제어할 수 있다.일 실시예에서, 프로세서(240)는 동작 모드 생성 모듈에 관한 데이터 및 명령어 코드를 이용하여, 사용자의 인증 정보를 등록하고, 등록된 인증 정보에 대응되는 동작 모드를 생성할 수 있다.The processor 240 according to an embodiment may control overall operations of the electronic device 200 according to the disclosed embodiment by executing instructions and programs stored in the memory 250 . In an embodiment, the processor 240 may register user authentication information and generate an operation mode corresponding to the registered authentication information by using the data and the command code regarding the operation mode generating module.

예를 들어, 프로세서(240)는 제1 사용자로부터 제1 인증 정보를 입력 받아 제1 인증 정보를 등록하고, 제1 인증 정보에 대응되는 제1 동작 모드를 생성할 수 있다. 또한, 프로세서(240)는 제1 사용자 또는 다른 사용자로부터 제2 인증 정보를 입력 받아 제2 인증 정보를 등록하고, 제2 인증 정보에 대응되는 제2 동작 모드를 생성할 수 있다.For example, the processor 240 may receive the first authentication information from the first user, register the first authentication information, and generate a first operation mode corresponding to the first authentication information. In addition, the processor 240 may receive the second authentication information from the first user or another user, register the second authentication information, and generate a second operation mode corresponding to the second authentication information.

일 실시예에서, 프로세서(240)는 컴퓨팅 자원 동적 할당 모듈에 관한 데이터 및 명령어 코드를 이용하여, 전자 장치(200)의 복수의 동작 모드들에서 사용될 전자 장치(200)의 컴퓨팅 자원을 할당할 수 있다.In an embodiment, the processor 240 may allocate computing resources of the electronic device 200 to be used in a plurality of operation modes of the electronic device 200 by using the data and the instruction code related to the computing resource dynamic allocation module. have.

예를 들어, 프로세서(240)는 제1 동작 모드에서 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션을 실행하기 위해, 제1 동작 모드에 제1 컴퓨팅 자원을 할당할 수 있다. 또한, 프로세서(240)는 제2 동작 모드에서 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션을 실행하기 위해, 제2 동작 모드에 제2 컴퓨팅 자원을 할당할 수 있다.For example, the processor 240 may allocate a first computing resource to the first operation mode in order to execute at least one first application corresponding to the first operation mode in the first operation mode. In addition, the processor 240 may allocate a second computing resource to the second operation mode in order to execute at least one second application corresponding to the second operation mode in the second operation mode.

또한, 일 실시예에 따른 프로세서(240)는 컴퓨팅 자원 동적 할당 모듈에 관한 데이터 및 명령어 코드를 이용하여, 복수의 동작 모드들에 대해서, 전자 장치(200)의 컴퓨팅 자원을 동적으로 할당할 수 있다.In addition, the processor 240 according to an embodiment may dynamically allocate the computing resources of the electronic device 200 for a plurality of operation modes by using the data and the instruction code related to the dynamic computing resource allocation module. .

프로세서(240)는 각각의 동작 모드에서 애플리케이션의 실행 이력에 관련된 로그 데이터를 생성 및 획득하고, 획득된 로그 데이터에 기초하여 각각의 동작 모드가 실행되는 경우 사용할 컴퓨팅 자원을 결정하고, 각각의 동작 모드가 실행될 때 할당되는 컴퓨팅 자원을 동적으로 조절할 수 있다. 이 경우, 로그 데이터는 각각의 동작 모드에서 설치된 애플리케이션들의 리스트, 각각의 동작 모드의 주 사용 시간대, 컴퓨팅 자원 사용량(예를 들어, CPU 사용량, 메모리 사용량, 입출력 인터페이스(I/O Interface) 사용량 등) 등을 포함할 수 있다.The processor 240 generates and obtains log data related to the execution history of the application in each operation mode, determines a computing resource to be used when each operation mode is executed based on the obtained log data, and each operation mode You can dynamically adjust the computing resources allocated when . In this case, the log data includes a list of applications installed in each operation mode, the main time period of each operation mode, and computing resource usage (eg, CPU usage, memory usage, I/O interface usage, etc.) and the like.

예를 들어, 프로세서(240)는 제1 동작 모드에서 실행되었던 제1 애플리케이션의 실행 이력에 관한 제1 로그 데이터 및 제2 동작 모드에서 실행되었던 애플리케이션의 실행 이력에 관한 제2 로그 데이터를 생성할 수 있다. 프로세서(240)는 제1 로그 데이터 및 제2 로그 데이터 중 적어도 하나에 기초하여, 제1 동작 모드에 할당되는 제1 컴퓨팅 자원 및 제2 동작 모드에 할당되는 제2 컴퓨팅 자원을 동적으로 할당할 수 있다.For example, the processor 240 may generate first log data regarding the execution history of the first application executed in the first operation mode and second log data regarding the execution history of the application executed in the second operation mode. have. The processor 240 may dynamically allocate a first computing resource allocated to the first operation mode and a second computing resource allocated to the second operation mode based on at least one of the first log data and the second log data. have.

일 실시예에서, 프로세서(240)는 동작 모드 제공 모듈에 관한 데이터 및 명령어 코드를 이용하여, 등록된 인증 정보가 입력되는 경우 입력된 인증 정보에 대응되는 동작 모드를 실행할 수 있다. 또한, 동작 모드를 변경하기 위해 등록된 다른 인증 정보가 입력되는 경우, 등록된 다른 인증 정보에 대응되는 다른 동작 모드를 실행함으로써, 전자 장치에서 제공되는 동작 모드를 변경할 수 있다.In an embodiment, the processor 240 may execute an operation mode corresponding to the input authentication information when registered authentication information is input by using data and a command code related to the operation mode providing module. Also, when other registered authentication information is input to change the operation mode, the operation mode provided by the electronic device may be changed by executing another operation mode corresponding to the other registered authentication information.

예를 들어, 프로세서(240)는 등록된 제1 인증 정보가 입력되는 경우, 제1 인증 정보에 대응되는 동작 모드인 제1 동작 모드를 실행할 수 있다. 프로세서(240)는 제1 동작 모드가 실행되어 전자 장치(200)가 동작하는 도중에, 전자 장치(200)의 동작 모드를 변경하기 위해 입력되는 등록된 제2 인증 정보를 입력 받아, 제2 인증 정보에 대응되는 제2 동작 모드를 실행할 수 있다. 이 경우, 전자 장치(200)가 제1 동작 모드에서 제2 동작 모드로 전환됨에 따라, 프로세서(240)는 전술한 실시예에 기초하여 제1 동작 모드의 제1 컴퓨팅 자원 및 제2 동작 모드의 제2 컴퓨팅 자원을 동적으로 할당할 수 있다.For example, when the registered first authentication information is input, the processor 240 may execute a first operation mode corresponding to the first authentication information. The processor 240 receives the registered second authentication information input to change the operation mode of the electronic device 200 while the first operation mode is executed and the electronic device 200 operates, and receives the second authentication information A second operation mode corresponding to may be executed. In this case, as the electronic device 200 is switched from the first operation mode to the second operation mode, the processor 240 controls the first computing resource in the first operation mode and the second operation mode based on the above-described embodiment. The second computing resource may be dynamically allocated.

도 3a 및 3b는 개시된 실시예에 따른 전자 장치의 복수의 동작 모드 제공 방식을 설명하기 위한 도면이다.3A and 3B are diagrams for explaining a method of providing a plurality of operation modes of an electronic device according to a disclosed embodiment.

도 3a를 참조하면, 일 실시예에 따른 전자 장치(200)는 복수의 동작 모드를 제공할 수 있다. 예를 들어, 전자 장치(200)는 제1 인증 정보에 대응되는 제1 동작 모드(310) 및 제2 인증 정보에 대응되는 제2 동작 모드(320)를 제공할 수 있다. 이 경우, 어느 한 동작 모드가 실행되는 도중에 다른 동작 모드로 전환(예를 들어, 동작 모드가 제1 동작 모드에서 제2 동작 모드로 전환 또는 제2 동작 모드에서 제1 동작 모드로 전환)될 수 있다.Referring to FIG. 3A , the electronic device 200 according to an embodiment may provide a plurality of operation modes. For example, the electronic device 200 may provide a first operation mode 310 corresponding to the first authentication information and a second operation mode 320 corresponding to the second authentication information. In this case, one operation mode can be switched to another operation mode while it is being executed (for example, the operation mode is switched from the first operation mode to the second operation mode or the second operation mode is switched to the first operation mode) have.

이 경우, 복수의 동작 모드들은 각각 서로 다른 동작 모드 유형일 수 있다. 예를 들어, 제1 동작 모드(310)의 유형은 일반 모드, 제2 동작 모드(320)의 유형은 보안 모드일 수 있다.In this case, the plurality of operation modes may be of different operation mode types, respectively. For example, the type of the first operation mode 310 may be a normal mode, and the type of the second operation mode 320 may be a security mode.

일 실시예에 따른 전자 장치(200)는 제1 동작 모드(310) 및 제2 동작 모드(320) 각각에 대하여, 전자 장치 내에서 서로 격리된 컴퓨팅 자원인 제1 컴퓨팅 자원 및 제2 컴퓨팅 자원을 이용하여 제1 동작 모드(310) 및 제2 동작 모드(320)를 각각 실행할 수 있다.The electronic device 200 according to an embodiment uses a first computing resource and a second computing resource, which are computing resources isolated from each other in the electronic device, for each of the first operation mode 310 and the second operation mode 320 . The first operation mode 310 and the second operation mode 320 may be respectively executed by using the same.

일 실시예에서, 제1 인증 정보의 사용자가 제1 동작 모드(310)를 사용하고자 하는 경우, 제1 인증 정보의 사용자는 전자 장치(200)에 기등록된 제1 인증 정보를 입력할 수 있다. 전자 장치(200)는 제1 인증 정보가 입력되면, 일반 모드의 유형을 갖는 제1 동작 모드(310)를 실행하고, 제1 인증 정보의 사용자가 제1 동작 모드(310) 내에서 애플리케이션들을 이용할 수 있도록 제1 동작 모드(310) 내에서 분리되어 관리되는, 제1 동작 모드(310)에서 실행 가능한 애플리케이션들(315)을 디스플레이 할 수 있다. 이 경우, 제1 동작 모드(310)에서 실행 가능한 애플리케이션들(315)은, 제1 동작 모드에 할당된 제1 컴퓨팅 자원에 설치된 애플리케이션들일 수 있다.In an embodiment, when the user of the first authentication information intends to use the first operation mode 310 , the user of the first authentication information may input the first authentication information previously registered in the electronic device 200 . . When the first authentication information is input, the electronic device 200 executes a first operation mode 310 having a general mode type, and the user of the first authentication information uses applications within the first operation mode 310 . The applications 315 executable in the first operation mode 310 that are separately managed in the first operation mode 310 may be displayed. In this case, the applications 315 executable in the first operation mode 310 may be applications installed on the first computing resource allocated to the first operation mode.

제1 인증 정보의 사용자는 제1 동작 모드(310)의 제1 컴퓨팅 자원에 설치되어 화면에 표시된 애플리케이션들(315) 중에서 사용자에게 필요한 애플리케이션을 선택하여, 애플리케이션을 이용한 작업을 수행할 수 있다.The user of the first authentication information may select an application necessary for the user from among the applications 315 installed on the first computing resource in the first operation mode 310 and displayed on the screen, and perform a task using the application.

예를 들어, 제1 인증 정보의 사용자는 제1 동작 모드(310)에서, 캘린더 애플리케이션(317) 및 설정 애플리케이션(319)을 이용하여 애플리케이션 작업을 수행할 수 있다. For example, the user of the first authentication information may perform an application task by using the calendar application 317 and the setting application 319 in the first operation mode 310 .

이 경우, 전자 장치(200)의 제1 동작 모드(310)에서, 애플리케이션의 실행 기록 버튼(312)이 선택되면, 제1 동작 모드에서 최근 실행되었던 애플리케이션들의 실행 목록이 표시될 수 있다. 예를 들어, 제1 동작 모드(310)에서 실행됐던 애플리케이션들인 캘린더 애플리케이션(317) 및 설정 애플리케이션(319)이 노출될 수 있다.In this case, when the execution record button 312 of the application is selected in the first operation mode 310 of the electronic device 200 , an execution list of applications that have been recently executed in the first operation mode may be displayed. For example, the calendar application 317 and the setting application 319 which are applications executed in the first operation mode 310 may be exposed.

또한, 제2 인증 정보의 사용자가 제2 동작 모드(320)를 사용하고자 하는 경우, 제2 인증 정보의 사용자는 전자 장치(200)에 기등록된 제2 인증 정보를 입력할 수 있다. 전자 장치(200)는 제2 인증 정보가 입력되면, 보안 모드의 유형을 갖는 제2 동작 모드(320)를 실행하고, 제2 인증 정보의 사용자가 제2 동작 모드(320) 내에서 애플리케이션들을 이용할 수 있도록 제2 동작 모드(320) 내에서 분리되어 관리되는, 제2 동작 모드(320)에서 실행 가능한 애플리케이션들(325)을 디스플레이 할 수 있다. 이 경우, 제2 동작 모드(320)에서 실행 가능한 애플리케이션들(325)은 제2 동작 모드에 할당된 제2 컴퓨팅 자원에 설치된 애플리케이션들일 수 있다.Also, when the user of the second authentication information intends to use the second operation mode 320 , the user of the second authentication information may input the second authentication information previously registered in the electronic device 200 . When the second authentication information is input, the electronic device 200 executes a second operation mode 320 having a type of security mode, and the user of the second authentication information uses applications within the second operation mode 320 . The applications 325 executable in the second operation mode 320 that are separated and managed in the second operation mode 320 may be displayed. In this case, the applications 325 executable in the second operation mode 320 may be applications installed on the second computing resource allocated to the second operation mode.

제2 인증 정보의 사용자는, 제2 동작 모드(320)의 제2 컴퓨팅 자원에 설치되어 화면에 표시된 애플리케이션들(325) 중에서 사용자에게 필요한 애플리케이션을 선택하여, 애플리케이션을 이용한 작업을 수행할 수 있다.The user of the second authentication information may select an application necessary for the user from among the applications 325 installed on the second computing resource in the second operation mode 320 and displayed on the screen, and perform a task using the application.

예를 들어, 제2 인증 정보의 사용자는 제2 동작 모드(320)에서, 노트 애플리케이션(327) 및 탐색기 애플리케이션(329)을 이용하여 애플리케이션 작업을 수행할 수 있다.For example, the user of the second authentication information may perform an application task using the note application 327 and the explorer application 329 in the second operation mode 320 .

이 경우, 전자 장치(200)의 제2 동작 모드(320)에서, 애플리케이션의 실행 기록 버튼(322)이 선택되면, 제2 동작 모드에서 최근 실행되었던 애플리케이션들의 실행 목록이 표시될 수 있다. 예를 들어, 제2 동작 모드(320)에서 실행됐던 애플리케이션들인 노트 애플리케이션(327) 및 탐색기 애플리케이션(329)이 노출될 수 있다.In this case, when the execution record button 322 of the application is selected in the second operation mode 320 of the electronic device 200 , an execution list of applications that have been recently executed in the second operation mode may be displayed. For example, a note application 327 and a navigator application 329, which are applications executed in the second operation mode 320 , may be exposed.

따라서, 일 실시예에 따른 제1 동작 모드 및 제2 동작 모드는, 각각의 동작 모드가 전자 장치 내에서 서로 격리된 컴퓨팅 자원을 사용하기 때문에, 전자 장치 내에서 어느 동작 모드가 다른 동작 모드로 전환되어도, 데이터가 공유(예를 들어, 애플리케이션의 실행 목록 공유)되지 않을 수 있다.도 3b를 참조하면, 도 3a에서 설명한 것과 같이, 개시된 실시예에 따른 전자 장치(200)에서 제공되는 복수의 동작 모드들은, 어느 한 동작 모드가 다른 동작 모드에 종속되지 않으며, 각각의 동작 모드가 고유의 캐시 메모리를 포함할 수 있다. 따라서, 개시된 실시예에 따른 전자 장치(200)는 각각의 동작 모드에서 동작 모드 간 데이터의 공유 없이 애플리케이션 작업들을 수행할 수 있도록 한다. 따라서, 각각의 동작 모드 간 관계는 어느 동작 모드가 다른 동작 모드의 하위 레벨에 포함되어 일부 권한만을 할당 받는 종속적인 관계가 아닌, 각각의 동작 모드가 서로 독자적으로 개별적인 권한을 갖는 독립적인 관계일 수 있다.Accordingly, in the first operation mode and the second operation mode according to an embodiment, since each operation mode uses a computing resource isolated from each other in the electronic device, one operation mode is switched to another operation mode in the electronic device However, data may not be shared (eg, sharing the execution list of the application). Referring to FIG. 3B , as described with reference to FIG. 3A , a plurality of operations provided by the electronic device 200 according to the disclosed embodiment The modes are such that one mode of operation is not dependent on another mode of operation, and each mode of operation may include its own cache memory. Accordingly, the electronic device 200 according to the disclosed embodiment may perform application tasks in each operation mode without sharing data between operation modes. Therefore, the relationship between each operation mode is not a dependent relationship in which one operation mode is included in a lower level of another operation mode and is assigned only some rights, but an independent relationship in which each operation mode has independent rights independently from each other. have.

개시된 실시예에 따른 전자 장치(200)에서 각각의 동작 모드에 할당된 캐시 메모리는, 전자 장치(200) 내 물리적으로 분리된 복수의 캐시 메모리들이 각각의 동작 모드에 할당된 것이거나, 전자 장치(200) 내 캐시 메모리가 논리적으로 분리되어, 논리적으로 격리된 복수의 캐시 메모리들이 각각의 동작 모드에 할당된 것일 수 있다.The cache memory allocated to each operation mode in the electronic device 200 according to the disclosed embodiment is one of a plurality of physically separated cache memories in the electronic device 200 allocated to each operation mode, or the electronic device ( 200) My cache memory may be logically separated, and a plurality of logically isolated cache memories may be allocated to each operation mode.

도 4a 및 도 4b는 일 실시예에 따른 전자 장치에서 복수의 동작 모드들이 운용되는 방식을 설명하기 위한 도면이다.4A and 4B are diagrams for explaining a method in which a plurality of operation modes are operated in an electronic device according to an exemplary embodiment.

도 4a를 참조하면, 일 실시예에 따른 전자 장치(200)는 컴퓨팅 연산을 수행하기 위한 컴퓨팅 자원(410)을 포함하고, 전자 장치의 컴퓨팅 자원(410)을 운용하기 위한 호스트 운영체제(420) 및 동작 모드 관리 엔진(430)을 포함할 수 있다. Referring to FIG. 4A , the electronic device 200 according to an embodiment includes a computing resource 410 for performing a computing operation, a host operating system 420 for operating the computing resource 410 of the electronic device, and It may include an operation mode management engine 430 .

일 실시예에 따른 전자 장치(200)에 포함되는 컴퓨팅 자원(410)은 예를 들어, CPU, 메모리, 데이터를 입력 받고 연산을 수행한 후 이를 출력하는 입출력 인터페이스를 포함할 수 있으나, 이에 한정되는 것은 아니다. 일 실시예에 따른 전자 장치의 컴퓨팅 자원(410)은, 전자 장치 내 복수의 동작 모드들이 실행될 때, 각각의 동작 모드에 동적으로 할당될 수 있다.The computing resource 410 included in the electronic device 200 according to an embodiment may include, for example, an input/output interface that receives CPU, memory, and data, performs an operation, and outputs it, but is not limited thereto. it is not The computing resource 410 of the electronic device according to an embodiment may be dynamically allocated to each operation mode when a plurality of operation modes in the electronic device are executed.

일 실시예에 따른 전자 장치(200)는 호스트 운영체제(420)를 이용하여 전자 장치(200) 내 시스템 하드웨어들을 관리하고, 애플리케이션들을 실행하기 위한 기능들을 제공할 수 있다. 호스트 운영체제(420)는 전자 장치(200)에서 제공되는 복수의 동작 모드들에서 실행되는 애플리케이션들이 CPU, 메모리, 입출력 인터페이스 등의 컴퓨팅 자원들을 사용할 수 있도록 할 수 있다. 또한, 호스트 운영체제(420)는 각각의 동작 모드에서 사용될 파일 시스템 등의 서비스를 제공하고, 전자 장치(200)에서 여러 개의 애플리케이션들이 실행되는 경우, 전자 장치에서 실행되는 애플리케이션 프로세스들을 스케줄링 할 수 있다.The electronic device 200 according to an embodiment may use the host operating system 420 to manage system hardware in the electronic device 200 and provide functions for executing applications. The host operating system 420 may enable applications executed in a plurality of operation modes provided by the electronic device 200 to use computing resources such as a CPU, a memory, and an input/output interface. In addition, the host operating system 420 may provide a service such as a file system to be used in each operation mode, and when a plurality of applications are executed in the electronic device 200 , may schedule application processes executed in the electronic device.

일 실시예에 따른 전자 장치(200)는 동작 모드 관리 엔진을 이용하여, 전자 장치 내에서 제공되는 복수의 동작 모드들을 관리할 수 있다. 동작 모드 관리 엔진(430)은 도 2에서 전술한 동작 모드 생성 모듈, 컴퓨팅 자원 동적 할당 모듈, 동작 모드 제공 모듈 등을 포함할 수 있다. 일 실시예에서, 동작 모드 관리 엔진(430)은 복수의 동작 모드들을 관리하는 전반적인 동작들을 수행할 수 있다. 예를 들어, 동작 모드 관리 엔진(430)은 사용자의 인증 정보를 등록하고, 등록된 인증 정보에 대응되는 동작 모드를 생성할 수 있다.The electronic device 200 according to an embodiment may manage a plurality of operation modes provided in the electronic device by using the operation mode management engine. The operation mode management engine 430 may include the operation mode generation module, the computing resource dynamic allocation module, the operation mode providing module, and the like described above with reference to FIG. 2 . In an embodiment, the operation mode management engine 430 may perform overall operations for managing a plurality of operation modes. For example, the operation mode management engine 430 may register user authentication information and generate an operation mode corresponding to the registered authentication information.

일 실시예에서, 동작 모드 관리 엔진(430)은 등록된 사용자의 인증 정보가 입력되는 경우, 입력된 인증 정보에 대응되는 동작 모드를 실행할 수 있다. 또한, 동작 모드를 변경하기 위해 등록된 다른 인증 정보가 입력되는 경우, 등록된 다른 인증 정보에 대응되는 다른 동작 모드를 실행함으로써, 전자 장치에서 제공되는 동작 모드를 변경할 수 있다.In an embodiment, when authentication information of a registered user is input, the operation mode management engine 430 may execute an operation mode corresponding to the input authentication information. Also, when other registered authentication information is input to change the operation mode, the operation mode provided by the electronic device may be changed by executing another operation mode corresponding to the other registered authentication information.

도 4b는 일 실시예에 따른 전자 장치(200)에서 제공되는 복수의 동작 모드들을 설명하기 위한 도면이다.4B is a diagram for describing a plurality of operation modes provided by the electronic device 200 according to an exemplary embodiment.

일 실시예에 따른 전자 장치(200)는 사용자로부터 입력되는 인증 정보를 등록하고, 인증 정보에 대응되는 복수의 동작 모드를 생성할 수 있다. 예를 들어, 전자 장치(200)는 제1 인증 정보에 대응되는 제1 동작 모드(450), 제2 인증 정보에 대응되는 제2 동작 모드(460), 제N 인증 정보에 대응되는 제N 동작 모드(470)를 생성할 수 있다. 전자 장치(200)에서 생성된 복수의 동작 모드들은, 각각의 동작 모드별로 사용자가 전자 장치(200) 내의 다른 동작 모드들과 격리된 애플리케이션 실행 환경에서 애플리케이션 작업들을 수행할 수 있도록 하기 위해 전자 장치 내에서 서로 격리된 컴퓨팅 자원을 보유할 수 있다.The electronic device 200 according to an embodiment may register authentication information input from a user and generate a plurality of operation modes corresponding to the authentication information. For example, the electronic device 200 performs a first operation mode 450 corresponding to the first authentication information, a second operation mode 460 corresponding to the second authentication information, and an N-th operation corresponding to the Nth authentication information. Mode 470 may be created. The plurality of operation modes generated in the electronic device 200 are stored in the electronic device in order to enable a user to perform application tasks in an application execution environment isolated from other operation modes in the electronic device 200 for each operation mode. can have computing resources isolated from each other.

예를 들어, 일 실시예에서, 제1 동작 모드(450)는 제1 동작 모드를 실행하기 위한 바이너리 및 라이브러리(Bins/Libs)를 포함하고, 제1 동작 모드에 대응되도록 독립적으로 조성된 제1 메인 메모리 및 제1 캐시 메모리를 포함할 수 있다. 제1 동작 모드(450)의 제1 메인 메모리 내에는 제1 동작 모드를 사용하는 사용자가 전자 장치(200)의 복수의 동작 모드들에 포함되는 다른 동작 모드들(예를 들어, 제2 동작 모드(460) 내지 제N 동작 모드(470))로부터 격리된 컴퓨팅 환경에서 애플리케이션 작업을 수행하기 위한 제1 애플리케이션들이 설치되어 있을 수 있다. 또한, 제1 동작 모드(450)가 실행되는 도중에 새로 설치되는 제1 애플리케이션은, 제1 동작 모드(450)의 제1 메인 메모리에 설치될 수 있다.For example, in one embodiment, the first operating mode 450 includes binaries and libraries (Bins/Libs) for executing the first operating mode, and is independently configured to correspond to the first operating mode. It may include a main memory and a first cache memory. In the first main memory of the first operation mode 450 , a user using the first operation mode includes other operation modes (eg, the second operation mode) included in the plurality of operation modes of the electronic device 200 . In the computing environment isolated from the 460 to the Nth operation mode 470 ), first applications for performing an application task may be installed. Also, a first application newly installed while the first operation mode 450 is being executed may be installed in the first main memory of the first operation mode 450 .

일 실시예에서, 제2 동작 모드(460)는 제2 동작 모드를 실행하기 위한 바이너리 및 라이브러리를 포함하고, 제2 동작 모드에 대응되도록 독립적으로 조성된 제2 메인 메모리 및 제2 캐시 메모리를 포함할 수 있다. 제2 동작 모드(460)의 제2 메인 메모리 내에는 제2 동작 모드를 사용하는 사용자가 전자 장치(200)의 복수의 동작 모드들에 포함되는 다른 동작 모드들(예를 들어, 제1 동작 모드(450) 및, 제3 동작 모드(미도시) 내지 제N 동작 모드(470))로부터 격리된 컴퓨팅 환경에서 애플리케이션 작업을 수행하기 위한 제2 애플리케이션들이 설치되어 있을 수 있다. 또한, 제2 동작 모드(460)가 실행되는 도중에 새로 설치되는 제2 애플리케이션은, 제2 동작 모드(460)의 제2 메인 메모리에 설치될 수 있다.In an embodiment, the second operating mode 460 includes a binary and a library for executing the second operating mode, and includes a second main memory and a second cache memory independently configured to correspond to the second operating mode. can do. In the second main memory of the second operation mode 460 , a user using the second operation mode includes other operation modes (eg, the first operation mode) included in the plurality of operation modes of the electronic device 200 . 450 and second applications for performing application tasks in a computing environment isolated from the third operation mode (not shown) to the N-th operation mode 470 ) may be installed. Also, a second application newly installed while the second operation mode 460 is being executed may be installed in the second main memory of the second operation mode 460 .

또한, 일 실시예에서, 제N 동작 모드(470)는 제N 동작 모드를 실행하기 위한 바이너리 및 라이브러리를 포함하고, 제N 동작 모드에 대응되도록 독립적으로 조성된 제N 메인 메모리 및 제N 캐시 메모리를 포함할 수 있다.Also, in one embodiment, the N-th operation mode 470 includes a binary and a library for executing the N-th operation mode, and the N-th main memory and the N-th cache memory are independently formed to correspond to the N-th operation mode. may include.

일 실시예에 따른 복수의 동작 모드들은 각각의 동작 모드가 고유의 메인 메모리 및 고유의 캐시 메모리를 가질 수 있다. 각각의 동작 모드에서, 캐시 메모리는 메인 메모리에 저장되어 사용되는 애플리케이션들 및 데이터들을 전자 장치(200)의 프로세서와 매핑할 수 있다. 따라서, 각각의 동작 모드 내에서 각각의 동작 모드의 설정 값, 애플리케이션 리스트, 애플리케이션 실행 기록 등이 분리되어 관리될 수 있다.In the plurality of operation modes according to an embodiment, each operation mode may have a unique main memory and a unique cache memory. In each operation mode, the cache memory may map applications and data stored and used in the main memory with the processor of the electronic device 200 . Accordingly, in each operation mode, a setting value of each operation mode, an application list, an application execution record, and the like may be managed separately.

일 실시예에서, 동작 모드 관리 엔진(430)은 각각의 동작 모드에서 설치된 애플리케이션들의 리스트, 각각의 동작 모드의 주 사용 시간대, 컴퓨팅 자원 사용량(예를 들어, CPU 사용량, 메모리 사용량, 입출력 인터페이스 사용량 등)에 기초하여, 각각의 동작 모드가 실행되는 경우 사용할 컴퓨팅 자원을 결정하고, 각각의 동작 모드가 실행될 때 할당되는 컴퓨팅 자원을 동적으로 조절할 수 있다.In one embodiment, the operation mode management engine 430 provides a list of applications installed in each operation mode, the main usage time zone of each operation mode, computing resource usage (eg, CPU usage, memory usage, input/output interface usage, etc.) ), it is possible to determine a computing resource to be used when each operation mode is executed, and dynamically adjust the computing resources allocated when each operation mode is executed.

도 5는 일 실시예에 따른 전자 장치가 복수의 동작 모드들을 제공하는 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method of providing a plurality of operation modes by an electronic device according to an exemplary embodiment.

단계 S510에서, 일 실시예에 따른 전자 장치(200)는 제1 동작 모드에 대한 사용자의 제1 인증 정보를 등록할 수 있다. 전자 장치(200)의 사용자는 제1 동작 모드를 생성하기 위해, 제1 인증 정보를 입력할 수 있다. 사용자의 제1 인증 정보는 개인식별번호(Personal Identification Number; PIN), 비밀번호, 잠금 패턴 등을 포함할 수 있으며, 사용자의 얼굴 인식 정보, 지문 정보, 홍채 정보 등 사용자의 생체 인증 정보를 포함할 수 있다. 일 실시예에 따른 전자 장치(200)의 사용자는 전자 장치(200)에 새로운 동작 모드를 생성하고자 하는 경우, 사용자가 등록하고자 하는 형태의 인증 정보를 제1 인증 정보로 등록할 수 있다. 일 실시예에 따른 전자 장치(200)는 사용자의 제1 인증 정보를 등록하고, 등록된 제1 인증 정보에 대응되는 제1 동작 모드를 생성할 수 있다.In operation S510, the electronic device 200 according to an embodiment may register the user's first authentication information for the first operation mode. The user of the electronic device 200 may input first authentication information to generate the first operation mode. The user's first authentication information may include a Personal Identification Number (PIN), password, lock pattern, etc. have. When the user of the electronic device 200 according to an embodiment wants to create a new operation mode in the electronic device 200, the user may register the type of authentication information the user wants to register as the first authentication information. The electronic device 200 according to an embodiment may register the user's first authentication information and generate a first operation mode corresponding to the registered first authentication information.

단계 S520에서, 일 실시예에 따른 전자 장치(200)는 제2 동작 모드에 대한 사용자의 제2 인증 정보를 등록할 수 있다. 전자 장치(200)는 사용자의 제2 인증 정보를 등록하고, 등록된 제2 인증 정보에 대응되는 제2 동작 모드를 생성할 수 있다. 이 경우, 제2 인증 정보를 등록하는 단계인 S520은, 설명의 편의를 위해 단계 S510 이후에 서술되었으나, 단계 S510 이후에 곧바로 수행되어야 하는 것은 아니며, 전자 장치(200)의 사용자가 제2 동작 모드를 생성하기 위해 제2 인증 정보를 입력하는 경우에 수행될 수 있다.In operation S520, the electronic device 200 according to an embodiment may register the user's second authentication information for the second operation mode. The electronic device 200 may register the user's second authentication information and generate a second operation mode corresponding to the registered second authentication information. In this case, the step S520 of registering the second authentication information has been described after the step S510 for convenience of explanation, but it is not necessarily performed immediately after the step S510, and the user of the electronic device 200 sets the second operation mode. This may be performed when the second authentication information is input to generate .

일 실시예에서, 제2 인증 정보의 사용자는 제1 인증 정보의 사용자와 같을 수 있다. 예를 들어, 제1 사용자가 패스워드를 제1 인증 정보로 하여 제1 동작 모드를 생성하고, 제1 사용자의 지문 정보를 제2 인증 정보로 하여 제2 동작 모드를 생성할 수 있다. 다만, 이에 한정되는 것은 아니며 제1 사용자가 다른 패스워드를 제2 인증 정보로 하여 제2 동작 모드를 생성할 수도 있다.In an embodiment, the user of the second authentication information may be the same as the user of the first authentication information. For example, the first user may generate the first operation mode using the password as the first authentication information, and may generate the second operation mode using the fingerprint information of the first user as the second authentication information. However, the present invention is not limited thereto, and the first user may generate the second operation mode by using another password as the second authentication information.

다른 실시예에서, 제2 인증 정보의 사용자는 제1 인증 정보의 사용자와 다를 수 있다. 예를 들어, 제1 사용자가 제1 인증 정보를 등록하여 제1 동작 모드를 생성하고, 제2 사용자가 제2 인증 정보를 등록하여 제2 동작 모드를 생성할 수 있다.In another embodiment, the user of the second authentication information may be different from the user of the first authentication information. For example, the first user may register the first authentication information to generate the first operation mode, and the second user may register the second authentication information to generate the second operation mode.

단계 S530에서, 일 실시예에 따른 전자 장치(200)는 제1 동작 모드에서, 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션을 실행하기 위한 제1 컴퓨팅 자원을 할당할 수 있다.In operation S530, the electronic device 200 according to an embodiment may allocate a first computing resource for executing at least one first application corresponding to the first operation mode in the first operation mode.

전자 장치(200)는 예를 들어, 제1 동작 모드에 할당하는 제1 컴퓨팅 자원으로 메인 메모리 및 캐시 메모리를 할당할 수 있다. 또한, 전자 장치(200)가 할당하는 제1 컴퓨팅 자원으로 CPU, 입출력 인터페이스를 포함할 수 있으나, 이에 한정되는 것은 아니며, 전자 장치(200)는 제1 동작 모드에서 제1 애플리케이션을 이용하여 작업을 수행하기 위한 다양한 컴퓨팅 자원들을 할당할 수 있다.The electronic device 200 may allocate the main memory and the cache memory as the first computing resources allocated to the first operation mode, for example. In addition, the first computing resource allocated by the electronic device 200 may include a CPU and an input/output interface, but is not limited thereto, and the electronic device 200 performs a task by using the first application in the first operation mode. Various computing resources can be allocated to perform.

단계 S540에서, 일 실시예에 따른 전자 장치(200)는 제2 동작 모드에서, 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션을 실행하기 위한 제2 컴퓨팅 자원을 할당할 수 있다.In operation S540, the electronic device 200 according to an embodiment may allocate a second computing resource for executing at least one second application corresponding to the second operation mode in the second operation mode.

이 경우, 제2 컴퓨팅 자원을 할당하는 단계인 S540은, 설명의 편의를 위해 단계 S530 이후에 서술되었으나, 단계 S530 이후에 곧바로 수행되어야 하는 것은 아니며, 전자 장치(200)의 사용자가 제2 동작 모드를 생성하기 위해 제2 인증 정보를 입력하는 단계 S520이 수행됨으로써, 제2 동작 모드가 생성된 경우에 단계 S540이 수행될 수 있다.In this case, S540, which is the step of allocating the second computing resource, has been described after step S530 for convenience of description. By performing step S520 of inputting second authentication information to generate , step S540 may be performed when the second operation mode is generated.

일 실시예에 따른 전자 장치(200)가 제1 동작 모드에 대하여 할당한 제1 컴퓨팅 자원과 제2 동작 모드에 대하여 할당한 제2 컴퓨팅 자원은, 전자 장치(200) 내에서 서로 격리된 것일 수 있다.The first computing resource allocated for the first operation mode and the second computing resource allocated for the second operation mode by the electronic device 200 according to an embodiment may be isolated from each other in the electronic device 200 . have.

일 실시예에서, 제1 컴퓨팅 자원과 제2 컴퓨팅 자원은 물리적으로 격리된 것일 수 있다. 예를 들어, 전자 장치(200)에 복수의 CPU 및 메모리가 포함될 수 있다. 이 경우, 전자 장치(200)는 제1 동작 모드에 할당하는 제1 컴퓨팅 자원으로 제1 CPU 및 제1 메모리를 할당함으로써, 제1 동작 모드가 독립된 메인 메모리, 캐시 메모리 및 CPU를 이용하여 동작하도록 제1 컴퓨팅 자원을 할당할 수 있다. 또한, 전자 장치(200)는 제2 동작 모드에 할당하는 제2 컴퓨팅 자원으로 제2 CPU 및 제2 메모리를 할당함으로써, 제2 동작 모드가 독립된 메인 메모리, 캐시 메모리 및 CPU를 이용하여 동작하도록 제2 컴퓨팅 자원을 할당할 수 있다.In one embodiment, the first computing resource and the second computing resource may be physically isolated. For example, the electronic device 200 may include a plurality of CPUs and memories. In this case, the electronic device 200 allocates the first CPU and the first memory as the first computing resources allocated to the first operation mode so that the first operation mode operates using the independent main memory, the cache memory, and the CPU. A first computing resource may be allocated. In addition, the electronic device 200 allocates the second CPU and the second memory as the second computing resources allocated to the second operation mode so that the second operation mode operates using the independent main memory, the cache memory, and the CPU. 2 Computing resources can be allocated.

다른 실시예에서, 제1 컴퓨팅 자원과 제2 컴퓨팅 자원은 논리적으로 격리된 것일 수 있다. 예를 들어, 전자 장치(200)는 전자 장치의 CPU에 포함되는 캐시 메모리를 논리적으로 분할하여, 제1 동작 모드에 제1 컴퓨팅 자원을 할당하고, 제2 동작 모드에 제2 컴퓨팅 자원을 할당할 수 있다. 또한, 전자 장치(200)는 전자 장치의 메모리를 논리적으로 분할하여, 제1 동작 모드에 제1 컴퓨팅 자원을 할당하고, 제2 동작 모드에 제2 컴퓨팅 자원을 할당할 수 있다. 이 경우, 제1 동작 모드 및 제2 동작 모드는 각각 논리적으로 분할되어 독립된 캐시 메모리 및 메인 메모리를 가질 수 있다.In another embodiment, the first computing resource and the second computing resource may be logically isolated. For example, the electronic device 200 logically divides the cache memory included in the CPU of the electronic device to allocate the first computing resource to the first operation mode and the second computing resource to the second operation mode. can Also, the electronic device 200 may logically divide the memory of the electronic device to allocate the first computing resource to the first operation mode and allocate the second computing resource to the second operation mode. In this case, the first operation mode and the second operation mode may be logically divided to have an independent cache memory and a main memory.

단계 S550에서, 일 실시예에 따른 전자 장치(200)는 전자 장치의 잠금이 해제되는 경우에, 제1 인증 정보 및 제2 인증 정보 중에서 전자 장치의 잠금 해제에 이용된 인증 정보를 식별할 수 있다.In step S550 , when the electronic device is unlocked, the electronic device 200 may identify authentication information used to unlock the electronic device from among the first authentication information and the second authentication information. .

일 실시예에서, 전자 장치(200)가 잠금 상태로 설정되어 있는 경우, 전자 장치(200)는 전자 장치에 등록된 복수의 인증 정보들 중 하나가 입력되면 전자 장치(200)의 잠금이 해제될 수 있다. 예를 들어, 전자 장치(200)가 잠금 해제될 때, 전자 장치(200)의 잠금 해제에 이용된 인증 정보가 제1 인증 정보인 경우, 전자 장치(200)는 제1 인증 정보를 식별할 수 있다. 또한, 전자 장치(200)는 전자 장치(200)의 잠금 해제에 이용된 인증 정보가 제2 인증 정보인 경우, 전자 장치(200)는 제2 인증 정보를 식별할 수 있다.In an embodiment, when the electronic device 200 is set to a locked state, the electronic device 200 may unlock the electronic device 200 when one of a plurality of authentication information registered in the electronic device is input. can For example, when the electronic device 200 is unlocked and the authentication information used to unlock the electronic device 200 is the first authentication information, the electronic device 200 may identify the first authentication information. have. Also, when the authentication information used to unlock the electronic device 200 is the second authentication information, the electronic device 200 may identify the second authentication information.

단계 S550에서, 전자 장치(200)가 잠금 상태인 경우 잠금 해제될 때 이용된 인증 정보를 식별하는 것으로 설명하였으나, 이에 한정되는 것은 아니다. 예를 들어, 단계 S550은 전자 장치가 잠금 상태가 아닌 경우에도 사용자가 다른 동작 모드를 사용하기 위하여 인증 정보를 입력하는 경우, 입력된 인증 정보를 식별함으로써 수행될 수 있다.Although it has been described that authentication information used when the electronic device 200 is unlocked is identified when the electronic device 200 is in the locked state in step S550, the present invention is not limited thereto. For example, step S550 may be performed by identifying the input authentication information when the user inputs authentication information to use another operation mode even when the electronic device is not in the locked state.

단계 S560에서, 일 실시예에 따른 전자 장치(200)는 단계 S550에서 식별된 인증 정보에 대응되는 동작 모드를 실행할 수 있다. 예를 들어, 전자 장치(200)가 식별한 인증 정보가 제1 인증 정보인 경우, 전자 장치(200)는 제1 인증 정보에 대응되는 제1 동작 모드를 실행할 수 있다. 또한, 전자 장치(200)가 식별한 인증 정보가 제2 인증 정보인 경우, 전자 장치(200)는 제2 인증 정보에 대응되는 제2 동작 모드를 실행할 수 있다.In operation S560, the electronic device 200 according to an embodiment may execute an operation mode corresponding to the authentication information identified in operation S550. For example, when the authentication information identified by the electronic device 200 is the first authentication information, the electronic device 200 may execute a first operation mode corresponding to the first authentication information. Also, when the authentication information identified by the electronic device 200 is the second authentication information, the electronic device 200 may execute a second operation mode corresponding to the second authentication information.

일 실시예에 따른 전자 장치(200)는 식별된 인증 정보에 대응되는 동작 모드를 실행하고, 동작 모드에 할당된 컴퓨팅 자원을 이용하여 동작 모드에서 실행되는 적어도 하나의 애플리케이션의 작업을 수행할 수 있다.The electronic device 200 according to an embodiment may execute an operation mode corresponding to the identified authentication information and perform a task of at least one application executed in the operation mode by using the computing resources allocated to the operation mode. .

도 6 은 일 실시예에 따른 전자 장치가 복수의 동작 모드들을 제공할 때 사용하는 컴퓨팅 자원을 동적으로 할당하는 방법을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a method of dynamically allocating computing resources used when an electronic device provides a plurality of operation modes, according to an embodiment.

단계 S610은, 도 5에서 전술한 단계 S510 내지 S560이 수행된 이후에 수행될 수 있다.Step S610 may be performed after steps S510 to S560 described above in FIG. 5 are performed.

단계 S610에서, 일 실시예에 따른 전자 장치(200)는 제1 동작 모드에서 실행된 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션의 실행 이력에 관한 제1 로그 데이터를 생성할 수 있다. In operation S610, the electronic device 200 according to an embodiment may generate first log data regarding the execution history of at least one first application corresponding to the first operation mode executed in the first operation mode.

예를 들어, 단계 S560에서 제1 인증 정보가 식별됨에 따라 제1 동작 모드가 실행되고, 제1 동작 모드 내에서 사용자가 제1 애플리케이션을 설치 및 실행함에 따라, 전자 장치(200)가 제1 로그 데이터들을 생성할 수 있다. 이 경우, 제1 로그 데이터는 제1 동작 모드에서 설치된 제1 애플리케이션의 리스트, 제1 애플리케이션 중에서 제1 동작 모드에서 사용된 애플리케이션의 리스트 및 제1 동작 모드에서 사용된 제1 컴퓨팅 자원 사용량을 나타내는 데이터 등을 포함할 수 있다. 제1 컴퓨팅 자원 사용량은 적어도 제1 동작 모드에서의 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 포함할 수 있으나, 이에 한정되는 것은 아니다.For example, as the first authentication information is identified in step S560, the first operation mode is executed, and as the user installs and executes the first application within the first operation mode, the electronic device 200 generates the first log data can be created. In this case, the first log data includes a list of first applications installed in the first operation mode, a list of applications used in the first operation mode among the first applications, and data representing the usage of the first computing resources used in the first operation mode. and the like. The first computing resource usage may include, but is not limited to, CPU usage, memory usage, and input/output interface usage in at least the first operation mode.

단계 S620에서, 일 실시예에 따른 전자 장치(200)는 제2 동작 모드에서 실행된 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션의 실행 이력에 관한 제2 로그 데이터를 생성할 수 있다. In operation S620 , the electronic device 200 according to an embodiment may generate second log data regarding an execution history of at least one second application corresponding to the second operation mode executed in the second operation mode.

이 경우, 제2 로그 데이터를 생성하는 단계인 S620은, 설명의 편의를 위해 단계 S610 이후에 서술되었으나, 단계 S610 이후에 곧바로 수행되어야 하는 것은 아니다. 즉, 단계 S620은 단계 S560에서 제2 인증 정보가 식별됨에 따라 제2 동작 모드가 실행되고, 제2 동작 모드 내에서 사용자가 제2 애플리케이션을 설치 및 실행함에 따라 수행될 수 있다.In this case, step S620 of generating the second log data has been described after step S610 for convenience of description, but it is not necessarily performed immediately after step S610. That is, step S620 may be performed as the second authentication information is identified in step S560 and the second operation mode is executed, and as the user installs and executes the second application in the second operation mode.

또한, 제2 로그 데이터는 제2 동작 모드에서 설치된 제2 애플리케이션의 리스트, 제2 애플리케이션 중에서 제2 동작 모드에서 사용된 애플리케이션의 리스트 및 제2 동작 모드에서 사용된 제2 컴퓨팅 자원 사용량을 나타내는 데이터 등을 포함할 수 있다. 제2 컴퓨팅 자원 사용량은 적어도 제2 동작 모드에서의 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 포함할 수 있으나, 이에 한정되는 것은 아니다.In addition, the second log data includes a list of second applications installed in the second operation mode, a list of applications used in the second operation mode among the second applications, and data representing the second computing resource usage used in the second operation mode, etc. may include The second computing resource usage may include, but is not limited to, CPU usage, memory usage, and input/output interface usage in at least the second operation mode.

단계 S630에서, 일 실시예에 따른 전자 장치(200)는 인증 정보가 전자 장치(200)에 입력되는 경우, 입력된 인증 정보가 제1 인증 정보 및 제2 인증 정보 중 어느 하나인지 여부를 판단할 수 있다.In step S630 , when authentication information is input to the electronic device 200 , the electronic device 200 according to an embodiment determines whether the input authentication information is one of the first authentication information and the second authentication information. can

예를 들어, 전자 장치(200)는 단계 S610 내지 단계 S620이 수행되어 제1 로그 데이터 및 제2 로그 데이터가 생성된 이후에, 전자 장치에서 동작 모드를 이용하기 위해 제1 인증 정보 및 제2 인증 정보 중 어느 하나가 입력되는지 여부를 판단할 수 있다.For example, after steps S610 to S620 are performed to generate the first log data and the second log data, the electronic device 200 performs the first authentication information and the second authentication in order to use the operation mode in the electronic device. It may be determined whether any one of the information is input.

일 실시예에 따른 전자 장치(200)는 단계 S630에서 제1 인증 정보 및 제2 인증 정보 중 어느 하나가 입력된 것으로 판단되는 경우, 단계 S640을 수행할 수 있다.When it is determined that any one of the first authentication information and the second authentication information is input in step S630, the electronic device 200 according to an embodiment may perform step S640.

단계 S640에서, 일 실시예에 따른 전자 장치(200)는 제1 로그 데이터 및 제2 로그 데이터에 기초하여, 입력된 인증 정보에 대응되는 동작 모드에서 이용될 컴퓨팅 자원을 재할당할 수 있다.In operation S640 , the electronic device 200 according to an embodiment may reallocate a computing resource to be used in an operation mode corresponding to the input authentication information based on the first log data and the second log data.

일 실시예에서, 전자 장치(200)는 제1 인증 정보가 입력된 것으로 판단되는 경우, 제1 로그 데이터에 기초하여, 제1 동작 모드에서 이용될 제1 컴퓨팅 자원을 재할당할 수 있다. 예를 들어, 전자 장치(200)는 제1 로그 데이터에 포함되는 제1 동작 모드에서의 제1 컴퓨팅 자원 사용량에 기초하여 제1 컴퓨팅 자원을 재할당할 수 있다. 전자 장치(200)는 제1 동작 모드에 할당된 제1 컴퓨팅 자원이 부족한 것으로 판단되는 경우, 제1 동작 모드에 컴퓨팅 자원을 더 할당할 수 있다. 전자 장치(200)는 제1 동작 모드에 제1 컴퓨팅 자원이 필요 이상으로 할당된 것으로 판단되는 경우, 제1 동작 모드에 할당된 컴퓨팅 자원을 감소시킬 수 있다.In an embodiment, when it is determined that the first authentication information is input, the electronic device 200 may reallocate the first computing resource to be used in the first operation mode based on the first log data. For example, the electronic device 200 may reallocate the first computing resource based on the usage of the first computing resource in the first operation mode included in the first log data. When it is determined that the first computing resource allocated to the first operation mode is insufficient, the electronic device 200 may further allocate the computing resource to the first operation mode. When it is determined that the first computing resource is allocated to the first operation mode more than necessary, the electronic device 200 may decrease the computing resource allocated to the first operation mode.

일 실시예에서, 전자 장치(200)는 제2 인증 정보가 입력된 것으로 판단되는 경우, 제2 로그 데이터에 기초하여, 제2 동작 모드에서 이용될 제2 컴퓨팅 자원을 재할당할 수 있다. 예를 들어, 전자 장치(200)는 제2 로그 데이터에 포함되는 제2 동작 모드에서의 제2 컴퓨팅 자원 사용량에 기초하여 제2 컴퓨팅 자원을 재할당할 수 있다. 전자 장치(200)는 제2 동작 모드에 할당된 제2 컴퓨팅 자원이 부족한 것으로 판단되는 경우, 제2 동작 모드에 컴퓨팅 자원을 더 할당할 수 있다. 전자 장치(200)는 제2 동작 모드에 제2 컴퓨팅 자원이 필요 이상으로 할당된 것으로 판단되는 경우, 제2 동작 모드에 할당된 컴퓨팅 자원을 감소시킬 수 있다.In an embodiment, when it is determined that the second authentication information is input, the electronic device 200 may reallocate the second computing resource to be used in the second operation mode based on the second log data. For example, the electronic device 200 may reallocate the second computing resource based on the second computing resource usage in the second operation mode included in the second log data. When it is determined that the second computing resource allocated to the second operation mode is insufficient, the electronic device 200 may further allocate the computing resource to the second operation mode. When it is determined that the second computing resource is allocated to the second operation mode more than necessary, the electronic device 200 may decrease the computing resource allocated to the second operation mode.

일 실시예에서 , 전자 장치(200)는 제1 로그 데이터 및 제2 로그 데이터에 기초하여, 제1 동작 모드 및 제2 동작 모드에서 이용될 컴퓨팅 자원을 재할당하는 방법은, 각각의 동작 모드에 할당된 컴퓨팅 자원을 다시 조정함으로써 수행될 수 있다.In an embodiment, the method of reallocating computing resources to be used in the first operation mode and the second operation mode in the electronic device 200 based on the first log data and the second log data is performed in each operation mode. This can be done by rebalancing the allocated computing resources.

예를 들어, 전자 장치(200)는 제1 로그데이터 및 제2 로그 데이터에 기초하여 제1 동작 모드에서 사용되는 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량 중 적어도 일부를 제한할 수 있다. 전자 장치(200)는 제1 동작 모드에 할당된 제1 컴퓨팅 자원의 일부를 제한하여 확보된 나머지 컴퓨팅 자원 중에서, 제2 동작 모드에서 사용할 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 결정할 수 있다.For example, the electronic device 200 may limit at least some of CPU usage, memory usage, and input/output interface usage used in the first operation mode based on the first log data and the second log data. The electronic device 200 may determine a CPU usage, a memory usage, and an input/output interface usage to be used in the second operating mode among the remaining computing resources secured by limiting a portion of the first computing resource allocated to the first operating mode.

단계 S650에서, 전자 장치(200)는 단계 S630에서 입력된 인증 정보에 대응되는, 동작 모드를 실행할 수 있다. 예를 들어, 전자 장치(200)는 제1 인증 정보가 입력되면 제1 동작 모드를 실행하고, 제2 인증 정보가 입력되면 제2 동작 모드를 실행할 수 있다.In operation S650, the electronic device 200 may execute an operation mode corresponding to the authentication information input in operation S630. For example, the electronic device 200 may execute a first operation mode when first authentication information is input, and may execute a second operation mode when second authentication information is input.

또한, 개시된 실시예에 따른 전자 장치는 복수의 동작 모드들 중 어느 하나의 동작 모드만을 실행할 수 있으나, 복수의 동작 모드들을 동시에 실행할 수 있다. 예를 들어, 어느 제1 동작 모드가 실행되는 도중에 제2 인증 정보가 입력되는 경우, 실행 중이던 제1 동작 모드는 백그라운드 프로세스로 전환되고, 제2 인증 정보에 대응되는 제2 동작 모드가 실행될 수 있다. 이 경우, 전자 장치(200)는 제1 로그 데이터 및 제2 로그 데이터에 기초하여, 제1 동작 모드 및 제2 동작 모드에서 이용될 컴퓨팅 자원을 동적으로 할당할 수 있다.Also, the electronic device according to the disclosed embodiment may execute only one of the plurality of operation modes, but may simultaneously execute the plurality of operation modes. For example, when second authentication information is input while a first operation mode is being executed, the first operation mode being executed may be switched to a background process, and a second operation mode corresponding to the second authentication information may be executed. . In this case, the electronic device 200 may dynamically allocate computing resources to be used in the first operation mode and the second operation mode based on the first log data and the second log data.

일 실시예에 따른 전자 장치(200)는 단계 S630에서 제1 인증 정보 또는 제2 인증 정보가 아닌 다른 인증 정보가 입력된 것으로 판단되는 경우, 단계 S660을 수행할 수 있다.When it is determined that authentication information other than the first authentication information or the second authentication information has been input in operation S630, the electronic device 200 may perform operation S660.

단계 S660에서, 일 실시예에 따른 전자 장치(200)는 입력된 인증 정보가 기등록된 제1 인증 정보 또는 제2 인증 정보가 아닌 경우, 별도의 동작을 수행할 수 있다.In operation S660, when the input authentication information is not the previously registered first authentication information or the second authentication information, the electronic device 200 may perform a separate operation.

전자 장치(200)는 입력된 인증 정보가 전자 장치(200)에 등록되어 있지 않은 경우, 입력된 인증 정보를 등록하여 새로운 동작 모드를 생성하고자 하는지 여부를 선택하는 별도의 입력을 받을 수 있다. 이 경우, 사용자가 입력된 인증 정보는 새로운 동작 모드를 생성하고자 하는 인증 정보임을 선택하면, 전자 장치(200)는 단계 S670을 수행할 수 있다.When the input authentication information is not registered in the electronic device 200 , the electronic device 200 may receive a separate input for selecting whether to create a new operation mode by registering the input authentication information. In this case, if the user selects that the input authentication information is authentication information for creating a new operation mode, the electronic device 200 may perform step S670.

단계 S670에서, 일 실시예에 따른 전자 장치(200)는 사용자의 새로운 동작 모드 생성을 선택하는 입력에 기초하여, 입력된 인증 정보를 등록하고, 전술한 실시예들에 따라 다른 동작 모드를 생성할 수 있다. 전자 장치(200)는 생성된 다른 동작 모드에 대해서도, 컴퓨팅 자원을 할당하고, 다른 동작 모드에서 실행된 애플리케이션의 실행 이력에 관한 로그 데이터를 생성할 수 있다.In operation S670, the electronic device 200 according to an embodiment registers the input authentication information based on the user's input for selecting creation of a new operation mode, and generates another operation mode according to the above-described embodiments. can The electronic device 200 may allocate computing resources to other generated operation modes, and may generate log data regarding execution histories of applications executed in the other operation modes.

예를 들어, 전자 장치(200)는 다른 사용자의 제3 인증 정보를 등록하고, 제3 인증 정보에 대응되는 제3 동작 모드를 생성할 수 있다. 전자 장치(200)는 제3 동작 모드에 대응되는 적어도 하나의 제3 애플리케이션을 실행하기 위한, 제3 컴퓨팅 자원을 할당할 수 있다.For example, the electronic device 200 may register third authentication information of another user and generate a third operation mode corresponding to the third authentication information. The electronic device 200 may allocate a third computing resource for executing at least one third application corresponding to the third operation mode.

도 7은 일 실시예에 따른 전자 장치에서 동작 모드가 실행되는 중에, 전자 장치가 다른 인증 정보를 입력 받아 다른 동작 모드로 전환되는 방법을 설명하기 위한 도면이다.7 is a diagram for explaining a method for the electronic device to switch to another operation mode by receiving other authentication information while an operation mode is being executed in the electronic device according to an exemplary embodiment;

도 7을 설명함에 있어서, 설명의 편의를 위하여 인증 정보는 복수의 인증 정보 유형들 중 잠금 해제 패턴의 인증 정보 유형을 기준으로 설명하기로 한다. 다만, 이에 한정되는 것은 아니며, 인증 정보는 전술한 실시예들에 따른 다양한 인증 정보의 유형을 포함할 수 있고, 제1 인증 정보의 유형과 제2 인증 정보의 유형 또한 다를 수 있다. 인증 정보는 예를 들어, 개인식별번호(Personal Identification Number; PIN), 비밀번호, 잠금 패턴 등을 포함할 수 있으며, 사용자의 얼굴 인식 정보, 지문 정보, 홍채 정보 등 사용자의 생체 인증 정보를 포함할 수 있다.In the description of FIG. 7 , for convenience of description, the authentication information will be described based on the authentication information type of the unlock pattern among the plurality of authentication information types. However, the present invention is not limited thereto, and the authentication information may include various types of authentication information according to the above-described embodiments, and the type of the first authentication information and the type of the second authentication information may also be different. The authentication information may include, for example, a personal identification number (PIN), a password, a lock pattern, and the like, and may include the user's biometric authentication information such as the user's face recognition information, fingerprint information, iris information, etc. have.

도 7을 참조하면, 일 실시예에 따른 전자 장치(200)는 전자 장치에 등록된 제1 인증 정보(710)를 입력 받아 제1 동작 모드를 실행할 수 있다. 이 경우, 제1 인증 정보의 입력으로 제1 동작 모드가 실행되기 이전에, 전자 장치(200)에서 다른 동작 모드가 실행 중이었거나, 전자 장치(200)가 잠금 상태였을 수 있다.Referring to FIG. 7 , the electronic device 200 according to an embodiment may receive first authentication information 710 registered in the electronic device and execute the first operation mode. In this case, before the first operation mode is executed by the input of the first authentication information, another operation mode may be being executed in the electronic device 200 or the electronic device 200 may be in a locked state.

일 실시예에서, 사용자는 제1 동작 모드에서 제1 애플리케이션들(715)을 이용하여 작업을 수행할 수 있다. 전자 장치(200)는 제1 동작 모드가 실행되고, 제1 동작 모드 내에서 사용자가 제1 애플리케이션들(715)을 설치 및 실행함에 따라, 제1 로그 데이터들을 생성할 수 있다. 이 경우, 제1 로그 데이터는 제1 동작 모드에서 설치된 제1 애플리케이션의 리스트, 제1 애플리케이션 중에서 제1 동작 모드에서 사용된 애플리케이션의 리스트 및 제1 동작 모드에서 사용된 제1 컴퓨팅 자원 사용량을 나타내는 데이터 등을 포함할 수 있다.In an embodiment, the user may perform a task by using the first applications 715 in the first operation mode. The electronic device 200 may generate first log data as the first operation mode is executed and the user installs and executes the first applications 715 in the first operation mode. In this case, the first log data includes a list of first applications installed in the first operation mode, a list of applications used in the first operation mode among the first applications, and data representing the usage of the first computing resources used in the first operation mode. and the like.

전자 장치(200)는 제1 동작 모드가 실행되어 전자 장치가 동작하는 도중에, 전자 장치의 동작 모드를 변경하기 위해 입력되는 제2 인증 정보(720)를 식별할 수 있다. 이 경우, 전자 장치의 동작 모드를 변경하기 위해 제2 인증 정보(720)를 입력 받는 방법은, 전자 장치(200)가 제1 동작 모드가 실행되던 도중에, 전자 장치(200) 잠금 상태로 설정되고, 전자 장치(200)의 잠금 상태를 해제하기 위한 인증 정보를 입력 받을 때 제2 인증 정보(720)가 입력될 수 있다. 또한, 전자 장치(200)가 제1 동작 모드로 동작하는 도중에, 전자 장치(200)의 동작 모드를 변경하기 위한 별도의 입력을 수신하고, 수신된 동작 모드 변경 입력에 기초하여 새로운 인증 정보를 입력 받기 위한 사용자 인터페이스가 디스플레이 되면, 사용자가 제2 인증 정보(720)를 입력함으로써 제2 인증 정보(720)가 입력될 수 있다.The electronic device 200 may identify the second authentication information 720 input to change the operation mode of the electronic device while the first operation mode is executed and the electronic device operates. In this case, in the method of receiving the second authentication information 720 to change the operation mode of the electronic device, the electronic device 200 is set to a locked state while the first operation mode is being executed. , second authentication information 720 may be input when receiving authentication information for releasing the lock state of the electronic device 200 . Also, while the electronic device 200 is operating in the first operation mode, a separate input for changing the operation mode of the electronic device 200 is received, and new authentication information is input based on the received operation mode change input. When the user interface for receiving is displayed, the second authentication information 720 may be input by the user inputting the second authentication information 720 .

일 실시예에서, 사용자는 제2 동작 모드에서 제2 애플리케이션들(725)을 이용하여 작업을 수행할 수 있다. 전자 장치(200)는 제2 동작 모드가 실행되고, 제2 동작 모드 내에서 사용자가 제2 애플리케이션들(725)을 설치 및 실행함에 따라, 제2 로그 데이터들을 생성할 수 있다. 이 경우, 제2 로그 데이터는 제2 동작 모드에서 설치된 제2 애플리케이션의 리스트, 제2 애플리케이션 중에서 제2 동작 모드에서 사용된 애플리케이션의 리스트 및 제2 동작 모드에서 사용된 제2 컴퓨팅 자원 사용량을 나타내는 데이터 등을 포함할 수 있다In an embodiment, the user may perform a task by using the second applications 725 in the second mode of operation. The electronic device 200 may generate second log data as the second operation mode is executed and the user installs and executes the second applications 725 in the second operation mode. In this case, the second log data is data representing a list of second applications installed in the second operation mode, a list of applications used in the second operation mode among the second applications, and second computing resource usage used in the second operation mode. may include

전자 장치(200)는 제1 동작 모드가 실행되던 도중에 동작 모드를 변경하기 위한 제2 인증 정보(720)가 입력되는 경우 제2 인증 정보(720)를 식별하고, 제2 인증 정보(720)가 식별됨에 따라 제2 동작 모드를 실행할 수 있다.The electronic device 200 identifies the second authentication information 720 when the second authentication information 720 for changing the operation mode is input while the first operation mode is being executed, and the second authentication information 720 is As identified, the second mode of operation may be executed.

일 실시예에 따른 전자 장치(200)는 제2 동작 모드가 실행되면, 이전에 실행 중이었던 제1 동작 모드를 백그라운드 프로세스로 전환하고, 전술한 실시예들에 따라 각각의 동작 모드에서 사용할 컴퓨팅 자원들을 동적으로 할당할 수 있다.When the second operation mode is executed, the electronic device 200 according to an embodiment converts the previously executed first operation mode to a background process, and computing resources to be used in each operation mode according to the above-described embodiments can be dynamically allocated.

도 8은 일 실시예에 따른 전자 장치가 잠금 상태인 경우, 인증 정보를 입력 받아 대응되는 동작 모드를 실행하는 방법을 설명하기 위한 도면이다.8 is a diagram for describing a method of executing a corresponding operation mode by receiving authentication information when an electronic device is in a locked state, according to an embodiment.

도 8을 설명함에 있어서, 설명의 편의를 위하여 인증 정보는 복수의 인증 정보 유형들 중 잠금 해제 패턴의 인증 정보 유형을 기준으로 설명하기로 한다. 다만, 이에 한정되는 것은 아니며, 인증 정보는 전술한 실시예들에 따른 다양한 인증 정보의 유형을 포함할 수 있고, 제1 인증 정보의 유형과 제2 인증 정보의 유형 또한 다를 수 있다. 인증 정보는 예를 들어, 개인식별번호(Personal Identification Number; PIN), 비밀번호, 잠금 패턴 등을 포함할 수 있으며, 사용자의 얼굴 인식 정보, 지문 정보, 홍채 정보 등 사용자의 생체 인증 정보를 포함할 수 있다.In the description of FIG. 8 , for convenience of description, the authentication information will be described based on the authentication information type of the unlock pattern among the plurality of authentication information types. However, the present invention is not limited thereto, and the authentication information may include various types of authentication information according to the above-described embodiments, and the type of the first authentication information and the type of the second authentication information may also be different. The authentication information may include, for example, a personal identification number (PIN), a password, a lock pattern, and the like, and may include the user's biometric authentication information such as the user's face recognition information, fingerprint information, iris information, etc. have.

전술한 실시예들에서 설명한 것과 같이, 일 실시예에 따른 전자 장치(200)가 제공하는 복수의 동작 모드들은, 어느 한 동작 모드가 다른 동작 모드에 종속되지 않으며, 각각의 동작 모드가 고유의 캐시 메모리를 포함할 수 있다. 따라서, 개시된 실시예에 따른 전자 장치(200)는 동작 모드 간 데이터의 공유 없이 각각의 동작 모드가 서로 동등한 레벨에서 애플리케이션 작업들을 수행할 수 있도록 한다.As described in the above embodiments, in the plurality of operation modes provided by the electronic device 200 according to an embodiment, one operation mode is not dependent on another operation mode, and each operation mode has its own cache. It may contain memory. Accordingly, the electronic device 200 according to the disclosed embodiment enables each operation mode to perform application tasks at the same level without sharing data between operation modes.

도 8을 참조하면, 일 실시예에 따른 전자 장치(200)는 잠금 상태였을 수 있다. 이 경우, 전자 장치(200)는 잠금을 해제하기 위한 인증 정보를 입력 받고, 입력된 인증 정보가 전자 장치(200)에 기등록된 인증 정보인 경우, 기등록된 인증 정보에 대응되는 동작 모드를 제공할 수 있다.Referring to FIG. 8 , the electronic device 200 according to an embodiment may be in a locked state. In this case, the electronic device 200 receives authentication information for unlocking the lock, and when the input authentication information is previously registered authentication information in the electronic device 200, the electronic device 200 selects an operation mode corresponding to the previously registered authentication information. can provide

예를 들어, 전자 장치(200)가 잠금 상태이고, 전자 장치(200)가 잠금 해제되는 경우에 전자 장치(200)의 잠금 해제에 이용된 인증 정보가 제1 인증 정보(810)인 경우, 전자 장치(200)는 제1 인증 정보(810)에 대응되는 제1 동작 모드(815)를 실행할 수 있다. 또한, 전자 장치(200)의 잠금 해제에 이용된 인증 정보가 제2 인증 정보(820)인 경우, 전자 장치(200)는 제2 인증 정보(820)에 대응되는 제2 동작 모드(825)를 실행할 수 있다.For example, when the electronic device 200 is in a locked state and the authentication information used to unlock the electronic device 200 is the first authentication information 810 when the electronic device 200 is unlocked, the electronic device 200 is unlocked. The device 200 may execute a first operation mode 815 corresponding to the first authentication information 810 . Also, when the authentication information used to unlock the electronic device 200 is the second authentication information 820 , the electronic device 200 selects the second operation mode 825 corresponding to the second authentication information 820 . can run

전자 장치(200)가 입력된 인증 정보에 대응되는 동작 모드를 실행하는 경우, 전자 장치(200)는 실행된 동작 모드에서 사용할 컴퓨팅 자원을 할당할 수 있다. 또한, 전자 장치(200)는 각각의 동작 모드에서 애플리케이션을 실행함에 따라 생성되는 로그 데이터를 이용하여, 전자 장치(200)의 각각의 동작 모드에서 사용되는 컴퓨팅 자원을 계산하고, 각각의 동작 모드 실행 시 할당되는 컴퓨팅 자원을 동적으로 할당할 수 있다.When the electronic device 200 executes an operation mode corresponding to the input authentication information, the electronic device 200 may allocate a computing resource to be used in the executed operation mode. In addition, the electronic device 200 calculates computing resources used in each operation mode of the electronic device 200 by using log data generated by executing an application in each operation mode, and executes each operation mode. It is possible to dynamically allocate computing resources that are allocated at the time.

도 9는 일 실시예에 따른 전자 장치가 동작 모드를 생성할 때, 동작 모드의 유형을 선택하는 입력에 기초하여 동작 모드를 생성하는 방법을 설명하기 위한 도면이다.9 is a diagram for describing a method of generating an operation mode based on an input for selecting a type of an operation mode when an electronic device generates an operation mode, according to an exemplary embodiment.

단계 S910에서, 일 실시예에 따른 전자 장치(200)는 전자 장치를 사용하기 위한 인증 정보를 등록할 수 있다. 이는 도 5의 단계 S510 또는 S520에 대응되므로, 설명의 간단을 위해 설명을 생략하기로 한다.In operation S910, the electronic device 200 according to an embodiment may register authentication information for using the electronic device. Since this corresponds to step S510 or S520 of FIG. 5 , a description thereof will be omitted for simplicity of description.

단계 S920에서, 일 실시예에 따른 전자 장치(200)는 전자 장치(200)에서 제공되는 기능에 관련된 동작 모드의 유형을 선택하는 입력을 수신할 수 있다. 일 실시예에서, 전자 장치(200)에서 제공되는 동작 모드의 유형으로는, 일반 모드, 보안 모드, 키즈 모드, 게임 모드 등을 포함할 수 있다.In operation S920 , the electronic device 200 according to an embodiment may receive an input for selecting an operation mode type related to a function provided by the electronic device 200 . In an embodiment, the types of operation modes provided by the electronic device 200 may include a normal mode, a security mode, a kids mode, a game mode, and the like.

예를 들어, 일반 모드는 전자 장치의 설정 값들이 기본값으로 설정된, 일반적인 사용 목적의 동작 모드일 수 있다. 보안 모드는 전자 장치(200)내에서 강화된 보안 기능을 제공하기 위해 소정 동작 수행시마다 추가 인증 정보를 요구할 수 있는 동작 모드일 수 있다. 키즈 모드는 연령별 콘텐츠를 제공하고, 연령 제한 콘텐츠들은 접근할 수 없도록 하는 동작 모드일 수 있다. 게임 모드는 최적화된 게임 플레이 환경을 제공하기 위해, 실행되는 게임 외 다른 프로세스들을 억제할 수 있는 동작 모드일 수 있다. 다만, 동작 모드의 유형은 이에 한정되지 않으며, 전자 장치(200)는 전자 장치(200)의 소정의 기능에 관련된 다양한 동작 모드의 유형(예를 들어, 게스트 모드, 비디오 스트리밍 모드 등)을 포함할 수 있다.For example, the normal mode may be an operation mode for general use in which setting values of the electronic device are set as default values. The security mode may be an operation mode in which additional authentication information may be requested whenever a predetermined operation is performed in order to provide an enhanced security function in the electronic device 200 . The kids mode may be an operation mode that provides age-specific content and prevents access to age-restricted content. The game mode may be an operation mode capable of suppressing processes other than the running game in order to provide an optimized game play environment. However, the type of operation mode is not limited thereto, and the electronic device 200 may include various types of operation modes (eg, guest mode, video streaming mode, etc.) related to a predetermined function of the electronic device 200 . can

단계 S930에서, 일 실시예에 따른 전자 장치(200)는 선택된 동작 모드의 유형에 기초하여, 등록된 인증 정보에 대응되는 동작 모드를 생성할 수 있다. In operation S930, the electronic device 200 according to an embodiment may generate an operation mode corresponding to the registered authentication information based on the type of the selected operation mode.

예를 들어, 사용자가 제1 인증 정보를 등록하고, 동작 모드의 유형으로 키즈 모드를 선택한 경우, 전자 장치(200)는 제1 인증 정보가 입력되는 경우 실행될 제1 동작 모드를 키즈 모드의 유형으로 생성할 수 있다.For example, when the user registers the first authentication information and selects the kids mode as the type of the operation mode, the electronic device 200 sets the first operation mode to be executed when the first authentication information is input as the type of the kids mode. can create

다른 예에서, 사용자가 제2 인증 정보를 등록하고, 동작 모드의 유형으로 게스트 모드를 선택한 경우, 전자 장치(200)는 제2 인증 정보가 입력되는 경우 실행되는 제2 동작 모드를 게스트 모드의 유형으로 생성할 수 있다. 게스트 모드의 사용자는 전자 장치(200)를 일회성으로 사용하는 사용자일 수 있으며, 따라서 전자 장치(200)는 사용자의 작업이 끝나면 게스트 모드의 동작 모드를 삭제할 수 있다.In another example, when the user registers the second authentication information and selects the guest mode as the type of the operation mode, the electronic device 200 sets the second operation mode to be executed when the second authentication information is input as the type of the guest mode can be created with The user of the guest mode may be a user who uses the electronic device 200 one-time, and therefore, the electronic device 200 may delete the operation mode of the guest mode when the user's work is finished.

단계 S940에서, 일 실시예에 따른 전자 장치(200)는 선택된 동작 모드의 유형에 기초하여, 동작 모드에서 애플리케이션을 실행하기 위한 컴퓨팅 자원을 할당할 수 있다. 일 실시예에서, 전자 장치(200)는 각각의 동작 모드의 유형이 평균적으로 사용하는 컴퓨팅 자원 사용량에 기초하여, 각각의 동작 모드에서 사용할 컴퓨팅 자원을 할당할 수 있다.In operation S940, the electronic device 200 according to an embodiment may allocate a computing resource for executing an application in the operation mode based on the type of the selected operation mode. In an embodiment, the electronic device 200 may allocate a computing resource to be used in each operation mode based on the average amount of computing resource used by each operation mode type.

예를 들어, 사용자가 동작 모드의 유형으로 일반 모드를 선택한 경우, 전자 장치(200)는 일반 모드의 평균적인 컴퓨팅 자원 사용량에 기초하여, 일반 모드에 대응되는 컴퓨팅 자원을 할당할 수 있다. 같은 방식으로, 전자 장치(200)는 복수의 동작 모드의 유형들 각각에 대응되는 컴퓨팅 자원을 할당할 수 있다.For example, when the user selects the normal mode as the type of the operation mode, the electronic device 200 may allocate a computing resource corresponding to the normal mode based on the average computing resource usage of the normal mode. In the same manner, the electronic device 200 may allocate a computing resource corresponding to each of the plurality of operation mode types.

일 실시예에서, 전자 장치(200)는 전자 장치의 동작 모드가 실행됨에 따라 생성되는 로그 데이터에 기초하여, 복수의 동작 모드들에 대하여 각각의 동작 모드에서 사용할 컴퓨팅 자원을 동적으로 할당할 수 있다. 이는, 도 6에서 서술한 실시예들에서 상세하게 설명하였으므로, 여기에서는 설명을 생략하기로 한다.In an embodiment, the electronic device 200 may dynamically allocate computing resources to be used in each operation mode with respect to a plurality of operation modes based on log data generated as the operation mode of the electronic device is executed. . Since this has been described in detail in the embodiments described in FIG. 6 , a description thereof will be omitted herein.

도 10a 및 도 10b 는 일 실시예에 따른 전자 장치가 복수의 동작 모드들에서 사용되는 컴퓨팅 자원을 동적으로 할당할 때, 각각의 동작 모드 별 애플리케이션 사용량에 기초하여 컴퓨팅 자원을 동적으로 할당하는 방법을 설명하기 위한 도면이다.10A and 10B illustrate a method of dynamically allocating computing resources based on application usage for each operation mode when an electronic device dynamically allocates computing resources used in a plurality of operation modes according to an embodiment; It is a drawing for explanation.

도 10a를 참조하면, 일 실시예에 따른 전자 장치의 동작 모드에 대응되는 컴퓨팅 자원에는 게임 애플리케이션(1005)이 설치되어 있을 수 있다. 또는, 전자 장치의 동작 모드의 유형이 게임 모드일 수 있다. 일 실시예에 따른 전자 장치(200)는 동작 모드의 사용자가 동작 모드 내에서 사용하는 애플리케이션 및 애플리케이션의 사용 패턴에 기초하여 동작 모드에서 사용할 컴퓨팅 자원을 할당할 수 있다.Referring to FIG. 10A , a game application 1005 may be installed on a computing resource corresponding to an operation mode of an electronic device according to an exemplary embodiment. Alternatively, the type of operation mode of the electronic device may be a game mode. The electronic device 200 according to an embodiment may allocate computing resources to be used in the operation mode based on an application used by the user in the operation mode and a usage pattern of the application in the operation mode.

일 실시예에서, 전자 장치(200)는 사용자가 동작 모드 내에서 사용하는 애플리케이션 및 애플리케이션의 사용 패턴에 기초하여 동작 모드에서 사용할 컴퓨팅 자원을 할당하기 위해, 전자 장치(200)의 동작 모드의 컴퓨팅 자원에 설치된 애플리케이션과 동일 또는 유사한 카테고리에 포함되는 애플리케이션들을 분석하여, 동일 또는 유사한 카테고리에 포함되는 애플리케이션들의 평균적인 컴퓨팅 자원 사용량을 나타내는 데이터를 획득할 수 있다.In an embodiment, the electronic device 200 allocates computing resources to be used in the operation mode based on the application used by the user in the operation mode and the usage pattern of the application, so that the computing resource in the operation mode of the electronic device 200 is allocated. By analyzing the applications included in the same or similar category as the installed application, data indicating the average computing resource usage of the applications included in the same or similar category may be obtained.

예를 들어, 전자 장치(200)는 복수의 애플리케이션 카테고리 중에서, 게임 카테고리(1010)에 포함되는 애플리케이션들을 분석한 정보를 획득할 수 있다. For example, the electronic device 200 may obtain information obtained by analyzing applications included in the game category 1010 among a plurality of application categories.

일 실시예에서, 전자 장치(200)는 복수의 애플리케이션들(1020)의 실행 파일들을 획득할 수 있다. 이 경우, 실행 파일은 예를 들어, EXE 형식, APK형식의 응용 프로그램 파일일 수 있으나, 이에 한정되지 않는다. 전자 장치(200)는 애플리케이션의 실행 파일로부터 애플리케이션의 코드를 획득하고, 획득한 코드에 대해 분석을 수행하여, 애플리케이션이 어떠한 프로세스를 수행하는지, 어떠한 권한 및 컴퓨팅 자원을 사용하도록 프로그래밍 되어있는지 여부를 포함하는 애플리케이션들(1020)의 컴퓨팅 자원 사용량 분석 정보를 획득할 수 있다.In an embodiment, the electronic device 200 may obtain execution files of the plurality of applications 1020 . In this case, the executable file may be, for example, an application program file in an EXE format or an APK format, but is not limited thereto. The electronic device 200 obtains the code of the application from the execution file of the application, and performs analysis on the obtained code, including whether the application is programmed to perform what process, what privileges and computing resources Computing resource usage analysis information of the applications 1020 may be obtained.

일 실시예에서, 전자 장치(200)는 다른 장치(예를 들어, 외부 서버)로부터 애플리케이션들(1020)의 컴퓨팅 자원 사용량 분석 정보를 획득할 수 있다. 이 경우, 애플리케이션들(1020)의 컴퓨팅 자원 사용량 분석 정보는, 다른 장치에서 애플리케이션들(1020)이 실행됨에 따라 사용되는 컴퓨팅 자원 사용량을 모니터링하여 획득한 것일 수 있다. 이는, 도 10b를 참조하여 더 설명하기로 한다.In an embodiment, the electronic device 200 may obtain computing resource usage analysis information of the applications 1020 from another device (eg, an external server). In this case, the computing resource usage analysis information of the applications 1020 may be obtained by monitoring the computing resource usage used as the applications 1020 are executed in other devices. This will be further described with reference to FIG. 10B.

도 10b를 참조하면, 게임 애플리케이션(1005)과 동일 또는 유사한 카테고리에 포함되는 게임 애플리케이션 A(1022), 게임 애플리케이션 B(1024), 게임 애플리케이션 C(1026), …, 게임 애플리케이션 N(1028)에 대하여, 컴퓨팅 자원 사용량 A 내지 컴퓨팅 자원 사용량 N을 획득할 수 있다. 전자 장치(200)는 획득된 각각의 애플리케이션들의 컴퓨팅 자용 사용량에 기초하여, 게임 카테고리와 동일 또는 유사한 카테고리에 포함되는 애플리케이션들의 평균적인 컴퓨팅 자원 사용량을 나타내는 데이터(1050)를 획득할 수 있다.Referring to FIG. 10B , game application A 1022 , game application B 1024 , game application C 1026 , . , for the game application N 1028 , the computing resource usage A to the computing resource usage N may be obtained. The electronic device 200 may acquire data 1050 indicating the average computing resource usage of applications included in the same or similar category to the game category based on the obtained computing user usage of each application.

일 실시예에서, 전자 장치(200)는 전자 장치의 동작 모드의 컴퓨팅 자원에 설치된 애플리케이션과 동일 또는 유사한 카테고리에 포함되는 애플리케이션들(1020)을 분석하여 획득한 컴퓨팅 자원 사용량 분석 정보를 이용하여, 전자 장치의 동작 모드에서 사용할 컴퓨팅 자원을 결정할 수 있다. 또한, 전자 장치(200)에서 복수의 동작 모드들이 함께 실행되는 경우, 전자 장치(200)는 각각의 동작 모드에서 사용할 컴퓨팅 자원을 동적으로 할당할 수 있다.In an embodiment, the electronic device 200 uses the computing resource usage analysis information obtained by analyzing the applications 1020 included in the same or similar category as the application installed in the computing resource of the operation mode of the electronic device, It is possible to determine which computing resources to use in the operating mode of the device. Also, when a plurality of operation modes are executed together in the electronic device 200 , the electronic device 200 may dynamically allocate computing resources to be used in each operation mode.

일 실시예에서, 전자 장치(200)는 애플리케이션들의 컴퓨팅 자원 사용량 분석 정보 및 로그 데이터를 이용하여, 전자 장치의 동작 모드에서 사용할 컴퓨팅 자원을 동적으로 할당할 수 있다.In an embodiment, the electronic device 200 may dynamically allocate computing resources to be used in an operation mode of the electronic device by using the analysis information of computing resource usage of applications and log data.

예를 들어, 전자 장치(200)는 제1 동작 모드 및 제2 동작 모드에 컴퓨팅 자원을 할당할 수 있다. For example, the electronic device 200 may allocate computing resources to the first operation mode and the second operation mode.

일 실시예에서, 전자 장치(200)는 애플리케이션들의 컴퓨팅 자원 사용량 분석 정보 및 제1 로그 데이터에 기초하여, 제1 동작 모드에서 사용할 제1 컴퓨팅 자원을 동적으로 할당할 수 있다. 이 경우, 제1 컴퓨팅 자원을 동적으로 할당할 때 제2 로그 데이터가 더 이용될 수 있다. 예를 들어, 전자 장치(200)가 제2 로그 데이터를 분석한 결과 제2 동작 모드에서 컴퓨팅 자원이 제1 동작 모드에 비하여 많이 필요한 경우, 전자 장치(200)는 제1 컴퓨팅 자원을 제2 컴퓨팅 자원보다 상대적으로 더 작게 할당할 수 있다.In an embodiment, the electronic device 200 may dynamically allocate the first computing resource to be used in the first operation mode based on the first log data and the computing resource usage analysis information of the applications. In this case, the second log data may be further used when dynamically allocating the first computing resource. For example, if, as a result of analyzing the second log data, the electronic device 200 requires more computing resources in the second operation mode than in the first operation mode, the electronic device 200 uses the first computing resources as the second computing resource. It can be allocated relatively smaller than the resource.

일 실시예에서, 전자 장치(200)는 애플리케이션들의 컴퓨팅 자원 사용량 분석 정보 및 제2 로그 데이터에 기초하여, 제2 동작 모드에서 사용할 제2 컴퓨팅 자원을 동적으로 할당할 수 있다. 이 경우, 제2 컴퓨팅 자원을 동적으로 할당할 때 제1 로그 데이터가 더 이용될 수 있다.In an embodiment, the electronic device 200 may dynamically allocate the second computing resource to be used in the second operation mode based on the analysis information of computing resource usage of applications and the second log data. In this case, the first log data may be further used when dynamically allocating the second computing resource.

또한, 도 10a 내지 도 10b에서는 설명의 편의를 위하여 게임 애플리케이션과 동일 또는 유사한 카테고리의 애플리케이션에서 획득한 컴퓨팅 자원 사용량 분석 정보를 예시로 들었으나, 이에 한정되지 않는다. 전자 장치(200)는 다양한 카테고리의 애플리케이션들을 분석하여 컴퓨팅 자원 사용량 분석 정보를 획득할 수 있다.In addition, for convenience of explanation, computing resource usage analysis information obtained from an application of the same or similar category as a game application is exemplified in FIGS. 10A to 10B , but the present invention is not limited thereto. The electronic device 200 may obtain computing resource usage analysis information by analyzing applications of various categories.

한편, 도 2에 도시된 전자 장치(200)의 블록도는 일 실시예를 위한 블록도이다. 블록도의 각 구성요소는 실제 구현되는 각 장치의 사양에 따라 통합, 추가 또는 생략될 수 있다. 즉 필요에 따라 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나, 혹은 하나의 구성요소가 2 이상의 구성요소로 세분되어 구성될 수 있다. 또한, 각 블록에서 수행하는 기능은 실시예들을 설명하기 위한 것이며, 그 구체적인 동작이나 장치는 본 발명의 권리범위를 제한하지 아니한다.Meanwhile, a block diagram of the electronic device 200 illustrated in FIG. 2 is a block diagram for an exemplary embodiment. Each component in the block diagram may be integrated, added, or omitted according to the specifications of each device that is actually implemented. That is, two or more components may be combined into one component, or one component may be subdivided into two or more components as needed. In addition, the function performed in each block is for describing the embodiments, and the specific operation or device does not limit the scope of the present invention.

일 실시예에 따른 전자 장치의 동작방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.The method of operating an electronic device according to an embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

또한, 개시된 실시예들에 따른 전자 장치의 동작방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다.In addition, the method of operating an electronic device according to the disclosed embodiments may be included in a computer program product and provided. Computer program products may be traded between sellers and buyers as commodities.

컴퓨터 프로그램 제품은 S/W 프로그램, S/W 프로그램이 저장된 컴퓨터로 읽을 수 있는 저장 매체를 포함할 수 있다. 예를 들어, 컴퓨터 프로그램 제품은 전자 장치의 제조사 또는 전자 마켓(예, 구글 플레이 스토어, 앱 스토어)을 통해 전자적으로 배포되는 S/W 프로그램 형태의 상품(예, 다운로더블 앱)을 포함할 수 있다. 전자적 배포를 위하여, S/W 프로그램의 적어도 일부는 저장 매체에 저장되거나, 임시적으로 생성될 수 있다. 이 경우, 저장 매체는 제조사의 서버, 전자 마켓의 서버, 또는 SW 프로그램을 임시적으로 저장하는 중계 서버의 저장매체가 될 수 있다.The computer program product may include a S/W program and a computer-readable storage medium in which the S/W program is stored. For example, computer program products may include products (eg, downloadable apps) in the form of S/W programs distributed electronically through manufacturers of electronic devices or electronic markets (eg, Google Play Store, App Store). have. For electronic distribution, at least a portion of the S/W program may be stored in a storage medium or may be temporarily generated. In this case, the storage medium may be a server of a manufacturer, a server of an electronic market, or a storage medium of a relay server temporarily storing a SW program.

컴퓨터 프로그램 제품은, 전자 장치의 저장매체를 포함할 수 있다. 또는, 전자 장치와 통신 연결되는 제3 장치(예, 스마트폰)가 존재하는 경우, 컴퓨터 프로그램 제품은 제3 장치의 저장매체를 포함할 수 있다. 또는, 컴퓨터 프로그램 제품은 전자 장치로부터 제3 장치로 전송되거나, 제3 장치로부터 전자 장치로 전송되는 S/W 프로그램 자체를 포함할 수 있다.The computer program product may include a storage medium of an electronic device. Alternatively, when there is a third device (eg, a smart phone) that is communicatively connected to the electronic device, the computer program product may include a storage medium of the third device. Alternatively, the computer program product may include a S/W program itself transmitted from the electronic device to the third device or transmitted from the third device to the electronic device.

이 경우, 전자 장치 및 제3 장치 중 하나가 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 수행할 수 있다. 또는, 전자 장치 및 제3 장치 중 둘 이상이 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 분산하여 실시할 수 있다.In this case, one of the electronic device and the third device may execute a computer program product to perform the method according to the disclosed embodiments. Alternatively, two or more of the electronic device and the third device may execute a computer program product to distribute the method according to the disclosed embodiments.

예를 들면, 전자 장치가 전자 장치에 저장된 컴퓨터 프로그램 제품을 실행하여, 전자 장치와 통신 연결된 제3 장치가 개시된 실시예들에 따른 방법을 수행하도록 제어할 수 있다.For example, the electronic device may execute a computer program product stored in the electronic device to control a third device communicatively connected to the electronic device to perform the method according to the disclosed embodiments.

이상에서 실시예들에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속한다.Although the embodiments have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements by those skilled in the art using the basic concept of the present invention as defined in the following claims are also included in the scope of the present invention. belongs to

Claims (20)

전자 장치가 복수의 동작 모드들을 제공하는 방법에 있어서,
상기 복수의 동작 모드들 중에서 제1 동작 모드에 대한 사용자의 제1 인증 정보를 등록하는 단계;
상기 복수의 동작 모드들 중에서 제2 동작 모드에 대한 상기 사용자의 제2 인증 정보를 등록하는 단계;
상기 제1 동작 모드에서 상기 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션을 실행하기 위한 제1 컴퓨팅 자원을 할당하는 단계;
상기 제2 동작 모드에서 상기 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션을 실행하기 위한 제2 컴퓨팅 자원을 할당하는 단계;
상기 전자 장치가 잠금 해제되는 경우에, 상기 제1 인증 정보 및 상기 제2 인증 정보 중에서, 상기 전자 장치의 잠금 해제에 이용된 인증 정보를 식별하는 단계;
상기 식별된 인증 정보에 대응되는 동작 모드를 실행하는 단계를 포함하되,
상기 복수의 동작 모드들에서 실행 가능한 애플리케이션들이 각각 상이하게 설정되며,
상기 제1 동작 모드에 대하여 할당된 상기 제1 컴퓨팅 자원 및 상기 제2 동작 모드에 대하여 할당된 상기 제2 컴퓨팅 자원은, 상기 전자 장치 내에서 서로 격리된 것인, 방법.
A method for an electronic device to provide a plurality of modes of operation, the method comprising:
registering first authentication information of a user for a first operation mode among the plurality of operation modes;
registering the user's second authentication information for a second operation mode among the plurality of operation modes;
allocating a first computing resource for executing at least one first application corresponding to the first operating mode in the first operating mode;
allocating a second computing resource for executing at least one second application corresponding to the second operation mode in the second operation mode;
identifying authentication information used to unlock the electronic device from among the first authentication information and the second authentication information when the electronic device is unlocked;
Including the step of executing an operation mode corresponding to the identified authentication information,
Applications executable in the plurality of operation modes are set differently,
The method of claim 1, wherein the first computing resource allocated for the first mode of operation and the second computing resource allocated for the second mode of operation are isolated from each other in the electronic device.
제1항에 있어서,
상기 식별된 인증 정보에 대응되는 동작 모드를 실행하는 단계는
상기 식별된 인증 정보가 상기 제1 인증 정보인 경우 상기 제1 동작 모드를 실행하고, 상기 식별된 인증 정보가 상기 제2 인증 정보인 경우 상기 제2 동작 모드를 실행하는 단계를 포함하는, 방법.
According to claim 1,
The step of executing an operation mode corresponding to the identified authentication information is
executing the first mode of operation if the identified authentication information is the first authentication information, and executing the second mode of operation if the identified authentication information is the second authentication information.
제1항에 있어서,
상기 제1 컴퓨팅 자원은 제1 메인 메모리 및 제1 캐시 메모리를 포함하고,
상기 제2 컴퓨팅 자원은 제2 메인 메모리 및 제2 캐시 메모리를 포함하는, 방법.
According to claim 1,
The first computing resource includes a first main memory and a first cache memory,
The second computing resource includes a second main memory and a second cache memory.
제1항에 있어서,
상기 제1 동작 모드에서 실행된 상기 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션의 실행 이력에 관한 제1 로그 데이터를 생성하는 단계;
상기 제2 동작 모드에서 실행된 상기 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션의 실행 이력에 관한 제2 로그 데이터를 생성하는 단계; 및
상기 제1 로그 데이터 및 상기 제2 로그 데이터에 기초하여, 상기 제1 컴퓨팅 자원 및 상기 제2 컴퓨팅 자원을 동적으로 재할당하는 단계를 더 포함하는, 방법.
According to claim 1,
generating first log data regarding an execution history of at least one first application corresponding to the first operation mode executed in the first operation mode;
generating second log data related to an execution history of at least one second application corresponding to the second operation mode executed in the second operation mode; and
based on the first log data and the second log data, dynamically reallocating the first computing resource and the second computing resource.
제1항에 있어서,
상기 식별된 인증 정보에 대응되는 동작 모드를 실행하는 단계는,
상기 전자 장치의 잠금이 해제됨에 따라, 상기 제1 인증 정보에 대응되는 상기 제1 동작 모드를 실행하는 단계를 포함하고,
상기 방법은,
상기 제1 동작 모드가 실행되어 상기 전자 장치가 동작하는 도중에, 상기 전자 장치의 동작 모드를 변경하기 위해 입력되는 상기 제2 인증 정보를 식별하는 단계; 및
상기 제2 인증 정보가 식별됨에 따라 상기 제2 동작 모드를 실행하는 단계를 더 포함하는, 방법.
According to claim 1,
The step of executing an operation mode corresponding to the identified authentication information includes:
executing the first operation mode corresponding to the first authentication information as the lock of the electronic device is released;
The method is
identifying the second authentication information input to change the operation mode of the electronic device while the first operation mode is executed and the electronic device operates; and
and executing the second mode of operation as the second authentication information is identified.
제1항에 있어서,
상기 제1 동작 모드에서 제공하는 기능에 관련된 상기 제1 동작 모드의 유형을 선택하는 입력을 수신하는 단계;
상기 제2 동작 모드에서 제공하는 기능에 관련된 상기 제2 동작 모드의 유형을 선택하는 입력을 수신하는 단계;
를 더 포함하고,
상기 제1 컴퓨팅 자원을 할당하는 단계는,
상기 제1 동작 모드의 유형에 기초하여 상기 제1 컴퓨팅 자원을 할당하는 단계를 포함하고,
상기 제2 컴퓨팅 자원을 할당하는 단계는,
상기 제2 동작 모드의 유형에 기초하여 상기 제2 컴퓨팅 자원을 할당하는 단계를 포함하는, 방법.
According to claim 1,
receiving an input for selecting a type of the first operating mode related to a function provided in the first operating mode;
receiving an input for selecting a type of the second operating mode related to a function provided in the second operating mode;
further comprising,
Allocating the first computing resource comprises:
allocating the first computing resource based on the type of the first mode of operation;
Allocating the second computing resource comprises:
allocating the second computing resource based on the type of the second mode of operation.
제4항에 있어서,
상기 제1 로그 데이터는,
상기 제1 동작 모드에서 설치된 상기 제1 애플리케이션의 리스트, 상기 제1 애플리케이션 중에서 상기 제1 동작 모드에서 사용된 애플리케이션의 리스트 및 상기 제1 동작 모드에서 사용된 상기 제1 컴퓨팅 자원의 사용량을 나타내는 데이터들을 포함하고,
상기 제2 로그 데이터는,
상기 제2 동작 모드에서 설치된 상기 제2 애플리케이션의 리스트, 상기 제2 애플리케이션 중에서 상기 제2 동작 모드에서 사용된 애플리케이션의 리스트 및 상기 제2 동작 모드에서 사용된 상기 제2 컴퓨팅 자원의 사용량을 나타내는 데이터들을 포함하는, 방법.
5. The method of claim 4,
The first log data is
A list of the first applications installed in the first operation mode, a list of applications used in the first operation mode among the first applications, and data representing usage of the first computing resource used in the first operation mode including,
The second log data is
Data representing a list of the second applications installed in the second operation mode, a list of applications used in the second operation mode among the second applications, and usage of the second computing resource used in the second operation mode Including method.
제7항에 있어서,
복수의 애플리케이션들의 카테고리 정보 및 속성 정보에 기초하여 분석된 애플리케이션들의 컴퓨팅 자원 사용량을 나타내는 애플리케이션 분석 정보를 획득하는 단계를 더 포함하고,
상기 제1 컴퓨팅 자원 및 상기 제2 컴퓨팅 자원을 재할당하는 단계는,
상기 획득된 애플리케이션 분석 정보 및 상기 제1 로그 데이터에 기초하여, 상기 제1 동작 모드에서 사용할 상기 전자 장치의 제1 컴퓨팅 자원을 동적으로 할당하고,
상기 획득된 애플리케이션 분석 정보 및 상기 제2 로그 데이터에 기초하여, 상기 제2 동작 모드에서 사용할 상기 전자 장치의 제2 컴퓨팅 자원을 동적으로 할당하는 단계를 포함하는, 방법.
8. The method of claim 7,
Further comprising the step of obtaining application analysis information indicating the computing resource usage of the analyzed applications based on the category information and attribute information of the plurality of applications,
The step of reallocating the first computing resource and the second computing resource comprises:
dynamically allocating a first computing resource of the electronic device to be used in the first operation mode based on the obtained application analysis information and the first log data;
and dynamically allocating a second computing resource of the electronic device to be used in the second operation mode based on the obtained application analysis information and the second log data.
제7항에 있어서,
상기 제1 동작 모드에서 사용된 컴퓨팅 자원 사용량 및 상기 제2 동작 모드에서 사용된 컴퓨팅 자원 사용량 각각은 상기 전자 장치의 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 포함하고,
상기 제1 컴퓨팅 자원 및 상기 제2 컴퓨팅 자원을 재할당하는 단계는,
상기 제1 동작 모드에서 사용되는 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량 중 적어도 일부를 제한하는 단계;
상기 제1 동작 모드에 할당된 상기 전자 장치의 컴퓨팅 자원을 제외한 나머지 컴퓨팅 자원 중에서, 상기 제2 동작 모드에서 사용할 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 결정하는 단계를 포함하는, 방법.
8. The method of claim 7,
Each of the computing resource usage used in the first operating mode and the computing resource usage used in the second operating mode includes CPU usage, memory usage and input/output interface usage of the electronic device,
The step of reallocating the first computing resource and the second computing resource comprises:
limiting at least some of CPU usage, memory usage, and input/output interface usage used in the first operation mode;
and determining CPU usage, memory usage, and input/output interface usage to be used in the second operating mode from among the remaining computing resources other than the computing resources of the electronic device allocated to the first operating mode.
제1항에 있어서,
상기 복수의 동작 모드들 중에서 제3 동작 모드에 대한 다른 사용자의 제3 인증 정보를 등록하는 단계;
상기 제3 동작 모드에서 상기 제3 동작 모드에 대응되는 적어도 하나의 제3 애플리케이션을 실행하기 위한 제3 컴퓨팅 자원을 할당하는 단계;
를 더 포함하고,
상기 제3 동작 모드에 대하여 할당된 상기 제3 컴퓨팅 자원은 상기 전자 장치 내에서 상기 제1 컴퓨팅 자원 및 상기 제2 컴퓨팅 자원과 서로 격리된 것인, 방법.
According to claim 1,
registering third authentication information of another user for a third operation mode among the plurality of operation modes;
allocating a third computing resource for executing at least one third application corresponding to the third operation mode in the third operation mode;
further comprising,
and the third computing resource allocated for the third mode of operation is isolated from the first computing resource and the second computing resource within the electronic device.
복수의 동작 모드들을 제공하는 전자 장치에 있어서,
통신 인터페이스;
하나 이상의 명령어들(instructions)을 포함하는 프로그램을 저장하는 메모리;
상기 메모리에 저장된 상기 프로그램의 하나 이상의 명령어들을 실행하는 프로세서를 포함하고,
상기 프로세서는,
상기 복수의 동작 모드들 중에서 제1 동작 모드에 대한 사용자의 제1 인증 정보를 등록하고,
상기 복수의 동작 모드들 중에서 제2 동작 모드에 대한 상기 사용자의 제2 인증 정보를 등록하고,
상기 제1 동작 모드에서 상기 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션을 실행하기 위한 제1 컴퓨팅 자원을 할당하고,
상기 제2 동작 모드에서 상기 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션을 실행하기 위한 제2 컴퓨팅 자원을 할당하고,
상기 전자 장치가 잠금 해제되는 경우에, 상기 제1 인증 정보 및 상기 제2 인증 정보 중에서, 상기 전자 장치의 잠금 해제에 이용된 인증 정보를 식별하고,
상기 식별된 인증 정보에 대응되는 동작 모드를 실행하되,
상기 복수의 동작 모드들에서 실행 가능한 애플리케이션들이 각각 상이하게 설정되며,
상기 제1 동작 모드에 대하여 할당된 상기 제1 컴퓨팅 자원 및 상기 제2 동작 모드에 대하여 할당된 상기 제2 컴퓨팅 자원은, 상기 전자 장치 내에서 서로 격리된 것인, 전자 장치.
An electronic device providing a plurality of operating modes, comprising:
communication interface;
a memory storing a program including one or more instructions;
a processor executing one or more instructions of the program stored in the memory;
The processor is
Registering the user's first authentication information for a first operation mode among the plurality of operation modes,
Registering the user's second authentication information for a second operation mode among the plurality of operation modes,
allocating a first computing resource for executing at least one first application corresponding to the first operation mode in the first operation mode;
allocating a second computing resource for executing at least one second application corresponding to the second operation mode in the second operation mode;
when the electronic device is unlocked, identifying authentication information used to unlock the electronic device from among the first authentication information and the second authentication information;
Execute an operation mode corresponding to the identified authentication information,
Applications executable in the plurality of operation modes are set differently,
The electronic device, wherein the first computing resource allocated for the first operation mode and the second computing resource allocated for the second operation mode are isolated from each other in the electronic device.
제11항에 있어서,
상기 프로세서는,
상기 식별된 인증 정보가 상기 제1 인증 정보인 경우 상기 제1 동작 모드를 실행하고, 상기 식별된 인증 정보가 상기 제2 인증 정보인 경우 상기 제2 동작 모드를 실행하는, 전자 장치.
12. The method of claim 11,
The processor is
When the identified authentication information is the first authentication information, the first operation mode is executed, and when the identified authentication information is the second authentication information, the second operation mode is executed.
제11항에 있어서,
상기 제1 컴퓨팅 자원은 제1 메인 메모리 및 제1 캐시 메모리를 포함하고,
상기 제2 컴퓨팅 자원은 제2 메인 메모리 및 제2 캐시 메모리를 포함하는, 전자 장치.
12. The method of claim 11,
The first computing resource includes a first main memory and a first cache memory,
The second computing resource includes a second main memory and a second cache memory.
제11항에 있어서,
상기 프로세서는,
상기 제1 동작 모드에서 실행된 상기 제1 동작 모드에 대응되는 적어도 하나의 제1 애플리케이션의 실행 이력에 관한 제1 로그 데이터를 생성하고,
상기 제2 동작 모드에서 실행된 상기 제2 동작 모드에 대응되는 적어도 하나의 제2 애플리케이션의 실행 이력에 관한 제2 로그 데이터를 생성하고,
상기 제1 로그 데이터 및 상기 제2 로그 데이터에 기초하여, 상기 제1 컴퓨팅 자원 및 상기 제2 컴퓨팅 자원을 동적으로 재할당하는, 전자 장치.
12. The method of claim 11,
The processor is
generating first log data related to an execution history of at least one first application corresponding to the first operation mode executed in the first operation mode;
generating second log data related to an execution history of at least one second application corresponding to the second operation mode executed in the second operation mode;
and dynamically reallocating the first computing resource and the second computing resource based on the first log data and the second log data.
제11항에 있어서,
상기 프로세서는
상기 전자 장치의 잠금이 해제됨에 따라, 상기 제1 인증 정보에 대응되는 상기 제1 동작 모드를 실행하고,
상기 제1 동작 모드가 실행되어 상기 전자 장치가 동작하는 도중에, 상기 전자 장치의 동작 모드를 변경하기 위해 입력되는 상기 제2 인증 정보를 식별하고,
상기 제2 인증 정보가 식별됨에 따라 상기 제2 동작 모드를 실행하는, 전자 장치.
12. The method of claim 11,
the processor
As the electronic device is unlocked, the first operation mode corresponding to the first authentication information is executed;
identify the second authentication information input to change the operation mode of the electronic device while the first operation mode is executed and the electronic device operates;
and executing the second operation mode according to the identification of the second authentication information.
제11항에 있어서,
상기 프로세서는
상기 제1 동작 모드에서 제공하는 기능에 관련된 상기 제1 동작 모드의 유형을 선택하는 입력을 수신하고,
상기 제2 동작 모드에서 제공하는 기능에 관련된 상기 제2 동작 모드의 유형을 선택하는 입력을 수신하고,
상기 제1 동작 모드의 유형에 기초하여 상기 제1 컴퓨팅 자원을 할당하고,
상기 제2 동작 모드의 유형에 기초하여 상기 제2 컴퓨팅 자원을 할당하는, 전자 장치.
12. The method of claim 11,
the processor
receiving an input for selecting a type of the first operating mode related to a function provided by the first operating mode;
receiving an input for selecting a type of the second operating mode related to a function provided by the second operating mode;
allocating the first computing resource based on the type of the first mode of operation;
allocating the second computing resource based on the type of the second mode of operation.
제14항에 있어서,
상기 제1 로그 데이터는,
상기 제1 동작 모드에서 설치된 상기 제1 애플리케이션의 리스트, 상기 제1 애플리케이션 중에서 상기 제1 동작 모드에서 사용된 애플리케이션의 리스트 및 상기 제1 동작 모드에서 사용된 상기 제1 컴퓨팅 자원의 사용량을 나타내는 데이터들을 포함하고,
상기 제2 로그 데이터는,
상기 제2 동작 모드에서 설치된 상기 제2 애플리케이션의 리스트, 상기 제2 애플리케이션 중에서 상기 제2 동작 모드에서 사용된 애플리케이션의 리스트 및 상기 제2 동작 모드에서 사용된 상기 제2 컴퓨팅 자원의 사용량을 나타내는 데이터들을 포함하는, 전자 장치.
15. The method of claim 14,
The first log data is
A list of the first applications installed in the first operation mode, a list of applications used in the first operation mode among the first applications, and data representing usage of the first computing resource used in the first operation mode including,
The second log data is
Data representing a list of the second applications installed in the second operation mode, a list of applications used in the second operation mode among the second applications, and usage of the second computing resource used in the second operation mode including, an electronic device.
제17항에 있어서,
상기 프로세서는,
복수의 애플리케이션들의 카테고리 정보 및 속성 정보에 기초하여 분석된 애플리케이션들의 컴퓨팅 자원 사용량을 나타내는 애플리케이션 분석 정보를 획득하고,
상기 획득된 애플리케이션 분석 정보 및 상기 제1 로그 데이터에 기초하여, 상기 제1 동작 모드에서 사용할 상기 전자 장치의 제1 컴퓨팅 자원을 동적으로 할당하고,
상기 획득된 애플리케이션 분석 정보 및 상기 제2 로그 데이터에 기초하여, 상기 제2 동작 모드에서 사용할 상기 전자 장치의 제2 컴퓨팅 자원을 동적으로 할당하는, 전자 장치.
18. The method of claim 17,
The processor is
Obtain application analysis information indicating computing resource usage of the analyzed applications based on category information and attribute information of a plurality of applications,
dynamically allocating a first computing resource of the electronic device to be used in the first operation mode based on the obtained application analysis information and the first log data;
and dynamically allocating a second computing resource of the electronic device to be used in the second operation mode based on the obtained application analysis information and the second log data.
제17항에 있어서,
상기 제1 동작 모드에서 사용된 컴퓨팅 자원 사용량 및 상기 제2 동작 모드에서 사용된 컴퓨팅 자원 사용량 각각은 상기 전자 장치의 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 포함하고,
상기 프로세서는,
상기 제1 동작 모드에서 사용되는 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량 중 적어도 일부를 제한하고,
상기 제1 동작 모드에 할당된 상기 전자 장치의 컴퓨팅 자원을 제외한 나머지 컴퓨팅 자원 중에서, 상기 제2 동작 모드에서 사용할 CPU 사용량, 메모리 사용량 및 입출력 인터페이스 사용량을 결정하는, 전자 장치.
18. The method of claim 17,
Each of the computing resource usage used in the first operating mode and the computing resource usage used in the second operating mode includes CPU usage, memory usage and input/output interface usage of the electronic device,
The processor is
Limiting at least some of CPU usage, memory usage, and input/output interface usage used in the first operation mode,
and determining CPU usage, memory usage, and input/output interface usage to be used in the second operating mode from among the remaining computing resources other than the computing resources of the electronic device allocated to the first operating mode.
제1항 내지 제10항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.


A computer-readable recording medium in which a program for executing the method of any one of claims 1 to 10 in a computer is recorded.


KR1020210004242A 2021-01-12 2021-01-12 Method and electronic device for providing multiple operation modes KR20220102043A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210004242A KR20220102043A (en) 2021-01-12 2021-01-12 Method and electronic device for providing multiple operation modes
PCT/KR2022/000280 WO2022154381A1 (en) 2021-01-12 2022-01-07 Method and electronic device for providing plurality of operation modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210004242A KR20220102043A (en) 2021-01-12 2021-01-12 Method and electronic device for providing multiple operation modes

Publications (1)

Publication Number Publication Date
KR20220102043A true KR20220102043A (en) 2022-07-19

Family

ID=82448358

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210004242A KR20220102043A (en) 2021-01-12 2021-01-12 Method and electronic device for providing multiple operation modes

Country Status (2)

Country Link
KR (1) KR20220102043A (en)
WO (1) WO2022154381A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7712102B2 (en) * 2004-07-30 2010-05-04 Hewlett-Packard Development Company, L.P. System and method for dynamically configuring a plurality of load balancers in response to the analyzed performance data
US7546130B2 (en) * 2005-03-21 2009-06-09 Sony Ericsson Mobile Communications Ab Methods, devices, and computer program products for providing multiple operational modes in a mobile terminal
KR101091961B1 (en) * 2008-11-28 2011-12-09 윤익근 Communication terminal for private protecting and control method thereof
KR101946368B1 (en) * 2012-11-29 2019-02-11 엘지전자 주식회사 Mobile device and the method for controlling the same
KR20130095711A (en) * 2013-08-07 2013-08-28 삼성전자주식회사 Method and apparatus for generating user configurable user interface in a portable terminal

Also Published As

Publication number Publication date
WO2022154381A1 (en) 2022-07-21

Similar Documents

Publication Publication Date Title
CN109416651B (en) Update coordination in a multi-tenant cloud computing environment
CN102938039B (en) For the selectivity file access of application
CN107925659B (en) Method, related apparatus, and storage medium to facilitate making authenticated clusters available
US7805516B2 (en) Enabling throttling of resources on a virtualization enabled information handling system
CN110199271B (en) Method and apparatus for field programmable gate array virtualization
US7874008B2 (en) Dynamically configuring extensible role based manageable resources
US9461870B2 (en) Systems and methods for providing third-party application specific storage in a cloud-based storage system
US8707197B2 (en) Multi-user multi-input desktop workspaces and applications
CN107077436B (en) Lending target device resources to a host device computing environment
JP5963957B2 (en) Development environment system, development environment device, development environment providing method and program
US9547607B2 (en) Brokering application access for peripheral devices
US8887272B2 (en) Medical device customization system
US9104252B2 (en) Assignment of control of peripherals of a computing device
US10908948B2 (en) Multiple application instances in operating systems that utilize a single process for application execution
TWI706288B (en) Wearable device, unlocking control system and method
US10447702B2 (en) Digital credential tiers
WO2015127842A1 (en) Method for information security equipment to realize multiple applications, information security equipment and system
US20180143915A1 (en) Capability access management
KR20200042798A (en) Method for controlling the execution of different operating systems, electronic device and storage medium therefor
US10705982B2 (en) Securing stream buffers
KR20220102043A (en) Method and electronic device for providing multiple operation modes
US20180218132A1 (en) Application portability via application(s) installed on a portable storage device
US20230161565A1 (en) Machine learning development hub