KR20200064632A - Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof - Google Patents
Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof Download PDFInfo
- Publication number
- KR20200064632A KR20200064632A KR1020180150946A KR20180150946A KR20200064632A KR 20200064632 A KR20200064632 A KR 20200064632A KR 1020180150946 A KR1020180150946 A KR 1020180150946A KR 20180150946 A KR20180150946 A KR 20180150946A KR 20200064632 A KR20200064632 A KR 20200064632A
- Authority
- KR
- South Korea
- Prior art keywords
- core
- task
- unit
- electronic device
- signal
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5094—Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
Abstract
Description
본 발명은 멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치에 관한 것으로서, 실행하고자 하는 태스크에 따라 복수개의 코어 중 적어도 하나의 코어를 가변적으로 활성화하는 멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치에 관한 것이다.The present invention relates to a method for allocating resources in an electronic device having multi-cores, and to the electronic device, resources in an electronic device having multi-cores that variably activates at least one core among a plurality of cores according to a task to be executed. It relates to an allocation method and its electronic device.
최근 CPU 제조 기술의 발전으로 인해, 컴퓨터, 스마트 폰 등을 포함하는 대부분의 전자장치는 2개 이상의 코어를 갖는 멀티 코어의 형태로 전환되고 있다. 이와 같은 멀티 코어 시스템에서는 멀티 코어를 동시에 얼마나 잘 활용하느냐에 따라서 전체 시스템의 성능이 결정된다. Due to recent advances in CPU manufacturing technology, most electronic devices including computers, smart phones, and the like are being converted into a multi-core form having two or more cores. In such a multi-core system, the performance of the entire system is determined by how well the multi-cores are used simultaneously.
따라서, 멀티 코어 시스템의 성능을 향상시키기 위해 멀티 코어 시스템을 활용하는 방법에 대한 기술개발이 지속적으로 이루어지고 있는 실정이다. Therefore, in order to improve the performance of a multi-core system, there is a continuous development of technology for a method of utilizing the multi-core system.
이러한 종래의 문제점을 해결하기 위한 본 발명의 실시 예들은 전자장치에서 실행하고자 하는 태스크의 종류에 의해 멀티 코어를 동적으로 할당하여 멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치를 제공하는 것이다. Embodiments of the present invention for solving such a conventional problem are to dynamically allocate a multi-core by the type of task to be executed in the electronic device to provide a resource allocation method in an electronic device having a multi-core and the electronic device will be.
본 발명의 실시 예에 따른 멀티 코어를 갖는 전자장치에서의 자원 할당 방법은, 전자장치가 제1 태스크 실행을 위한 제1 코어를 활성화하는 단계, 상기 전자장치가 외부로부터 복수개의 태스크 중 제2 태스크에 대한 실행신호가 수신되면, 복수개의 코어 중 제2 코어를 활성화하는 단계, 상기 전자장치가 상기 제2 코어를 이용하여 상기 제2 태스크를 실행하는 단계 및 상기 전자장치가 외부로부터 상기 제2 태스크의 종료신호가 수신되면 상기 제2 코어를 비활성화하는 단계를 포함하는 것을 특징으로 한다. In the method of allocating resources in an electronic device having a multi-core according to an embodiment of the present invention, the electronic device activates a first core for executing the first task, and the electronic device is a second task among a plurality of tasks from the outside. When an execution signal for is received, activating a second core among a plurality of cores, the electronic device executing the second task using the second core, and the electronic device performing the second task from the outside. It characterized in that it comprises the step of deactivating the second core when the termination signal of the.
또한, 제2 코어를 활성화하는 단계는, 상기 제2 코어의 활성화 필요여부를 확인하는 단계 및 상기 확인결과에 따라 상기 제2 코어를 활성화하는 단계를 포함하는 것을 특징으로 한다.In addition, the step of activating the second core is characterized in that it comprises the step of confirming whether the activation of the second core is necessary and activating the second core according to the verification result.
또한, 제2 코어의 활성화 필요여부를 확인하는 단계는, 상기 제2 태스크 실행 시 상기 제2 코어의 활성화에 대한 설정여부를 확인하는 단계 및 상기 제2 태스크 실행 시 상기 제2 코어를 활성화하도록 설정된 상태이면, 상기 제2 코어의 활성화가 필요한 것으로 확인하는 단계를 포함하는 것을 특징으로 한다.In addition, the step of checking whether the second core needs to be activated includes: setting whether to activate the second core when the second task is executed, and setting the second core to be activated when the second task is executed. If it is in the state, characterized in that it comprises the step of confirming that the activation of the second core is required.
또한, 제2 코어를 활성화하도록 설정된 상태가 아니면, 상기 제1 코어를 이용한 상기 제2 태스크의 실행가능 여부를 확인하는 단계 및 상기 제1 코어를 이용한 상기 제2 태스크의 실행이 불가능하면 상기 제2 코어의 활성화가 필요한 것으로 확인하는 단계를 더 포함하는 것을 특징으로 한다.In addition, if it is not set to activate the second core, checking whether the second task is executable using the first core and executing the second task using the first core is impossible. It characterized in that it further comprises the step of confirming that the activation of the core is required.
또한, 제1 코어를 활성화하는 단계는, 상기 전자장치가 대기전력을 포함하는 전력 인입 시 상기 전자장치를 인터넷에 연결하는 상기 제1 태스크를 실행하기 위한 상기 제1 코어를 활성화하는 단계인 것을 특징으로 한다.In addition, the step of activating the first core is a step of activating the first core for executing the first task of connecting the electronic device to the Internet when the electronic device draws power including standby power. Is done.
또한, 제2 태스크를 실행하는 단계 이후에, 상기 전자장치가 외부로부터 상기 복수개의 태스크 중 적어도 하나의 제3 태스크에 대한 실행신호가 수신되면, 상기 복수개의 코어 중 적어도 하나의 제3 코어의 활성화 필요여부를 확인하는 단계, 상기 전자장치가 상기 확인결과에 따라 상기 적어도 하나의 제3 코어의 활성화가 필요하면 상기 적어도 하나의 제3 코어를 활성화하는 단계 및 상기 적어도 하나의 제3 코어를 이용하여 상기 적어도 하나의 제3 태스크를 실행하는 단계를 더 포함하는 것을 특징으로 한다.In addition, after the step of executing the second task, when the execution signal for at least one third task among the plurality of tasks is received by the electronic device from outside, activation of at least one third core among the plurality of cores is activated. Checking whether it is necessary, activating the at least one third core when the electronic device needs to activate the at least one third core according to the verification result, and using the at least one third core It characterized in that it further comprises the step of executing the at least one third task.
또한, 적어도 하나의 제3 태스크를 실행하는 단계 이후에, 상기 전자장치가 외부로부터 상기 적어도 하나의 제3 태스크의 종료신호가 수신되면 상기 적어도 하나의 제3 코어를 비활성화하는 단계를 더 포함하는 것을 특징으로 한다. In addition, after the step of executing the at least one third task, the electronic device further comprising the step of deactivating the at least one third core when an end signal of the at least one third task is received from the outside. It is characterized by.
본 발명의 실시 예에 따른 멀티 코어를 갖는 전자장치는, 외부로부터의 입력에 따라 태스크 실행신호를 생성하는 입력부 및 제1 태스크를 실행하는 제1 코어, 상기 입력부로부터 수신된 복수의 태스크 중 제2 태스크에 대한 실행신호에 따라 활성화되는 제2 코어를 포함하고, 상기 제2 코어를 이용하여 상기 제2 태스크를 실행하고, 상기 입력부로부터 수신된 상기 제2 태스크에 대한 종료신호에 따라 상기 제2 코어를 비활성화시키는 코어할당부를 포함하는 제어부를 포함하는 것을 특징으로 한다. An electronic device having a multi-core according to an embodiment of the present invention includes an input unit for generating a task execution signal according to an input from the outside, a first core for executing the first task, and a second of a plurality of tasks received from the input unit It includes a second core that is activated according to the execution signal for the task, and executes the second task using the second core, and the second core according to the termination signal for the second task received from the input unit It characterized in that it comprises a control unit including a core allocation unit for deactivating.
또한, 제어부는, 상기 제2 코어의 활성화 필요여부를 확인하는 태스크확인부를 더 포함하는 것을 특징으로 한다. In addition, the control unit, characterized in that it further comprises a task confirmation unit for confirming whether the activation of the second core.
또한, 태스크확인부는, 상기 제2 태스크 실행 시 상기 제2 코어의 활성화가 설정된 상태이면, 상기 제2 코어의 활성화가 필요한 것으로 확인하여 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 한다. In addition, if the activation of the second core is set when the second task is executed, the task confirmation unit determines that activation of the second core is necessary and provides an activation signal to the core allocation unit.
또한, 태스크확인부는, 살기 제2 코어의 활성화가 설정된 상태가 아니면, 상기 제1 코어를 이용하여 상기 제2 태스크의 실행이 불가능하면 상기 제2 코어의 활성화가 필요한 것으로 확인하여 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 한다. In addition, if the activation of the living second core is not set, the task confirmation unit confirms that the activation of the second core is necessary when the second task is impossible to execute using the first core, and then sends the core allocation unit. It is characterized by providing an activation signal.
또한, 태스크확인부는, 대기전력을 포함하는 전력 인입 시 인터넷에 연결하는 상기 제1 태스크를 실행하기 위한 상기 제1 코어를 활성화하도록 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 한다. In addition, the task confirmation unit is characterized in that it provides an activation signal to the core allocating unit to activate the first core for executing the first task to connect to the Internet when power is included, including standby power.
또한, 태스크확인부는, 상기 입력부로부터 상기 복수개의 태스크 중 적어도 하나의 제3 태스크에 대한 실행신호가 수신되면, 상기 복수개의 코어 중 적어도 하나의 제3 코어의 활성화 필요여부를 확인하고, 상기 확인결과에 따라 상기 적어도 하나의 제3 코어를 활성화하도록 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 한다. In addition, when the execution signal for at least one third task among the plurality of tasks is received from the input unit, the task confirmation unit checks whether activation of at least one third core among the plurality of cores is necessary, and the confirmation result The activation signal is provided to the core allocating unit to activate the at least one third core.
또한, 태스크확인부는, 상기 입력부로부터 상기 적어도 하나의 제3 태스크의 종료신호가 수신되면 상기 적어도 하나의 제3 코어를 비활성화하도록 상기 코어할당부로 비활성화신호를 제공하는 것을 특징으로 한다. In addition, the task confirmation unit is characterized in that when the end signal of the at least one third task is received from the input unit to provide an inactivation signal to the core assignment unit to deactivate the at least one third core.
상술한 바와 같이 본 발명에 따른 멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치는, 전자장치에서 실행하고자 하는 태스크의 종류에 의해 멀티 코어를 동적으로 할당함으로써 전자장치의 성능을 최적화할 수 있고, 사용자에게 안정적인 서비스를 제공할 수 있는 효과가 있다.As described above, a method for allocating resources in an electronic device having a multi-core according to the present invention and the electronic device optimize performance of an electronic device by dynamically allocating multi-cores according to types of tasks to be executed in the electronic device. It is possible to provide a stable service to the user.
도 1은 본 발명의 실시 예에 따른 멀티 코어를 갖는 전자장치의 주요 구성을 나타낸 도면이다.
도 2는 본 발명의 실시 예에 따른 멀티 코어를 갖는 전자장치에서의 자원 할당 방법을 설명하기 위한 순서도이다.
도 3은 본 발명의 일 실시 예에 따른 멀티 코어를 갖는 전자장치에서 텔레비전 시청 시 자원 할당 방법을 설명하기 위한 순서도이다.
도 4는 본 발명의 일 실시 예에 따른 추가코어를 활성화하는 자원 할당 방법을 설명하기 위한 상세순서도이다.
도 5는 본 발명의 일 실시 예에 따른 멀티 코어를 갖는 전자장치에서 표시되는 텔레비전 화면을 설명하기 위한 화면예시도이다.
도 6은 본 발명의 다른 실시 예에 따른 멀티 코어를 갖는 전자장치를 AP로 사용 시 자원 할당 방법을 설명하기 위한 순서도이다. 1 is a view showing a main configuration of an electronic device having a multi-core according to an embodiment of the present invention.
2 is a flowchart illustrating a method for allocating resources in an electronic device having multi-cores according to an embodiment of the present invention.
3 is a flowchart illustrating a method for allocating resources when watching television in an electronic device having a multi-core according to an embodiment of the present invention.
4 is a detailed flowchart illustrating a resource allocation method for activating an additional core according to an embodiment of the present invention.
5 is a screen example illustrating a television screen displayed on an electronic device having a multi-core according to an embodiment of the present invention.
6 is a flowchart illustrating a resource allocation method when using an electronic device having a multi-core as an AP according to another embodiment of the present invention.
이하, 본 발명에 따른 바람직한 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 본 발명의 예시적인 실시형태를 설명하고자 하는 것이며, 본 발명이 실시될 수 있는 유일한 실시형태를 나타내고자 하는 것이 아니다. 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략할 수 있고, 명세서 전체를 통하여 동일 또는 유사한 구성 요소에 대해서는 동일한 참조 부호를 사용할 수 있다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. DETAILED DESCRIPTION The following detailed description, together with the accompanying drawings, is intended to describe exemplary embodiments of the present invention, and is not intended to represent the only embodiments in which the present invention may be practiced. In the drawings, parts not related to the description may be omitted to clearly describe the present invention, and the same reference numerals may be used for the same or similar elements throughout the specification.
본 발명의 일 실시 예에서, “또는”, “적어도 하나” 등의 표현은 함께 나열된 단어들 중 하나를 나타내거나, 또는 둘 이상의 조합을 나타낼 수 있다. 예를 들어, “A 또는 B”, “A 및 B 중 적어도 하나”는 A 또는 B 중 하나만을 포함할 수 있고, A와 B를 모두 포함할 수도 있다.In an embodiment of the present invention, expressions such as “or” and “at least one” may represent one of the words listed together, or a combination of two or more. For example, “A or B”, “at least one of A and B” may include only one of A or B, and may include both A and B.
도 1은 본 발명의 실시 예에 따른 멀티 코어를 갖는 전자장치의 주요 구성을 나타낸 도면이다. 1 is a view showing a main configuration of an electronic device having a multi-core according to an embodiment of the present invention.
도 1을 참조하면, 본 발명에 따른 전자장치(100)는 통신부(110), 입력부(120), 표시부(130), 메모리(140), 오디오처리부(150) 및 제어부(160)를 포함할 수 있다. 아울러, 본 발명에 따른 전자장치(100)는 인터넷 모뎀, IPTV(또는, 디지털 케이블 TV), 인터넷 접속을 위한 인터넷 공유기(이하, AP; access point라 함) 및 AI스피커 등과 같이 인터넷을 기반으로 동작하는 다양한 장치의 기능을 통합하여 사용할 수 있는 장치이다. Referring to FIG. 1, the
통신부(110)는 외부 네트워크 망과의 통신을 통해 전자장치(100)가 인터넷에 접속할 수 있도록 한다. 이를 위해, 통신부(110)는 5G(5th generation), LTE-A(long term evolution-advanced), LTE(long term evolution) 등의 인터넷 통신을 수행할 수 있다.The
아울러, 통신부(110)는 외부장치(미도시)와 WiFi(wireless fidelity) 통신을 수행하여 외부장치가 전자장치(100)를 AP로 사용할 수 있도록 한다. 이때, 외부장치는 DVD(digital versatile disk), 블루레이(bluray), 게임기기, 스마트 폰, 노트북, 태블릿 PC(personal computer) 등의 기기일 수 있고, 리모트 컨트롤 등 전자장치(100)의 동작을 제어하는 제어신호를 제공하는 기기를 포함할 수 있다. In addition, the
또한, 통신부(110)는 방송수신부(미도시) 등을 추가로 포함하여 안테나를 통해 TV데이터를 수신하고, 수신된 TV데이터를 제어부(160)로 제공한다. In addition, the
입력부(120)는 전자장치(100)를 사용하는 사용자 입력에 대응하여 입력 데이터를 발생시킨다. 이를 위해, 입력부(120)는 적어도 하나의 입력수단을 포함한다. 입력부(120)는 키패드(key pad), 터치 패널(touch panel), 센서(sensor), 터치 키(touch key) 및 물리 버튼 등을 포함한다. The
표시부(130)는 전자장치(100)의 동작에 따른 출력 데이터를 출력한다. 특히, 표시부(130)는 통신부(110)를 통해 수신된 TV데이터에 포함된 영상데이터를 출력한다. 이를 위해, 표시부(130)는 액정 디스플레이(LCD; liquid crystal display), 발광 다이오드(LED; light emitting diode) 디스플레이, 유기 발광 다이오드(OLED; organic LED) 디스플레이, 마이크로 전자기계 시스템(MEMS; micro electro mechanical systems) 디스플레이 및 전자 종이(electronic paper) 디스플레이를 포함할 수 있다. 표시부(130)는 입력부(120)와 결합되어 터치 스크린(touch screen)으로 구현될 수 있다.The
메모리(140)는 전자장치(100)의 동작 프로그램들을 저장한다. 메모리(140)는 태스크에 따라 서로 다른 코어가 할당되도록 설정된 경우, 각 태스크와 할당될 코어가 매핑되어 저장될 수 있다. 또한, 메모리(140)는 외부장치가 전자장치(100)를 AP(access point)로 사용하기 위해 전자장치(100)에 등록한 외부장치의 정보 등을 저장할 수 있다. The
오디오처리부(150)는 오디오 신호를 처리한다. 이때, 오디오처리부(150)는 마이크(MIC)와 스피커(SPK)를 포함한다. 오디오처리부(150)는 마이크에서 발생되는 오디오 신호를 제어부(160)로 전달한다. 오디오처리부(150)는 제어부(160)에서 출력되는 오디오 신호 예컨대, TV데이터에 포함된 음향데이터 등을 스피커를 통해 재생한다.The
제어부(160)는 대기전력을 포함하는 전력의 인입 시에 제1 태스크 실행을 위한 제1 코어(163)를 활성화한다. 또한, 제어부(160)는 입력부로부터 수신된 복수의 태스크에 대한 실행신호를 기반으로 제2 코어(164) 내지 제4 코어(166) 중 적어도 하나의 코어를 활성화하여 실행신호에 대응되는 태스크를 실행한다. 이를 위해, 제어부(160)는 태스크확인부(161), 코어할당부(162), 제1 코어(163), 제2 코어(164), 제3 코어(165) 및 제4 코어(166)를 포함한다. 아울러, 본 발명의 실시 예에서는 설명의 편의를 위해 제1 코어(163) 내지 제4 코어(166)를 포함하는 것을 예로 설명하고 있으나, 반드시 이에 한정되는 것은 아니며 코어의 개수는 전자장치(100)의 성능에 따라 상이해질 수 있다. The
보다 구체적으로, 태스크확인부(161)는 대기전력을 포함하는 전력이 인입됨이 확인되면, 제1 코어(163)를 활성화하도록 활성화신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제1 코어(163)를 활성화하고, 활성화된 제1 코어(163)는 제1 태스크인 인터넷 모뎀 기능을 실행한다. 전자장치(100)는 인터넷을 기반으로 동작하는 장치이므로 인터넷 모뎀 기능이 제1 태스크가 된다.More specifically, when it is confirmed that power including standby power is input, the
태스크확인부(161)는 통신부(110)를 통해 외부장치로부터 또는 입력부(120)로부터 제2 태스크를 실행하기 위한 제2 태스크 실행신호가 수신되면 제2 태스크 실행 시 추가코어의 예컨대, 제2 코어(164)를 할당하도록 설정된 상태인지 확인한다. 이를 위해, 태스크확인부(161)는 제2 태스크 실행신호에 대응되는 제2 태스크의 종류를 확인할 수 있다. 예컨대, 태스크확인부(161)는 제2 태스크 실행신호에서 IGMP(internet group management protocol) Message가 검출되면, Multi-cast IP로 수신되는 TV데이터에 대해 제2 코어(164)를 할당하도록 설정된 상태임을 확인할 수 있다. 확인결과, 제2 태스크 실행 시 제2 코어(164)를 할당하도록 설정되어 있으면, 태스크확인부(161)는 제2 태스크 실행을 위해 제2 코어(164)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제2 코어(164)를 활성화한다. 코어할당부(162)는 활성화된 제2 코어(164)에서 제2 태스크를 실행하도록 제2 코어(164)를 제어한다. 이를 통해, TV서비스 제공 시에 TV서비스를 위해 제2 코어(164)를 할당함으로써 TV서비스에 대한 품질을 보장할 수 있는 효과가 있다. When the second task execution signal for executing the second task is received from the external device or the
반대로, 태스크확인부(161)는 제2 태스크 실행 시 제2 코어(164)를 할당하도록 설정되어 있지 않으면 제2 태스크를 실행할 때 필요한 트래픽 양을 추측할 수 있다. 예컨대, 태스크확인부(161)는 제2 태스크 실행신호에서 외부장치가 전자장치(100)를 AP로 사용하기 위한 신호가 검출되면, 제2 태스크에 대해 추가코어의 할당이 설정되지 않은 것으로 확인할 수 있다. 이 경우, 태스크확인부(161)는 외부장치로부터 인터넷을 통해 이용하고자 하는 서비스에 대한 신호를 실시간 또는 주기적으로 확인하고, 서비스에 대한 신호를 기반으로 제2 태스크 실행 시에 이용될 트래픽 양을 예측한다. 태스크확인부(161)는 예측된 트래픽 양이 제1 코어(163)에서 실행할 수 있는 정도가 아니면 추가코어의 활성화가 필요한 것으로 확인한다. 확인결과에 따라, 태스크확인부(161)는 제2 태스크 실행을 위해 추가코어 예컨대, 제2 코어(164)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공하고, 코어할당부(162)는 활성화신호를 기반으로 제2 코어(164)를 활성화한다. 코어할당부(162)는 활성화된 제2 코어(164)에서 제2 태스크를 실행하도록 제2 코어(164)를 제어한다. 반대로, 확인결과에 따른 추측된 트래픽 양이 제1 코어(163)에서 실행할 수 있는 정도이면 태스크확인부(161)는 이를 코어할당부(162)로 제공하고, 코어할당부(162)는 제1 코어(163)에서 제2 태스크를 실행하도록 제1 코어(163)를 제어한다. Conversely, if the
아울러, 제2 코어(164)에서 제2 태스크를 실행하는 중에 태스크확인부(161)가 통신부(110)를 통해 외부장치로부터 또는 입력부(120)로부터 복수개의 제3 태스크 중 적어도 하나의 제3 태스크에 대한 실행신호가 수신되면, 복수개의 코어 즉, 제3 코어(165) 및 제4 코어(166) 중 적어도 하나의 코어에 대한 활성화 필요여부를 확인한다. 확인결과, 적어도 하나의 코어에 대한 활성화가 필요하면 태스크확인부(161)는 적어도 하나의 코어에 대한 활성화신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제3 코어(165) 및 제4 코어(166) 중 적어도 하나의 코어를 활성화하고, 활성화된 코어는 제3 태스크를 실행한다. In addition, while executing the second task in the second core 164, the
반대로, 적어도 하나의 제3 태스크의 실행을 위해 적어도 하나의 코어에 대한 활성화가 필요하지 않으면 태스크확인부(161)는 코어할당부(162)로 추가코어의 활성화가 필요하지 않음을 알리는 신호를 제공한다. 코어할당부(162)는 제공된 신호를 기반으로 활성화상태인 제1 코어(163) 및 제2 코어(164) 중 적어도 하나의 코어를 이용하여 제3 태스크를 실행할 수 있도록 제1 코어(163) 및 제2 코어(164) 중 적어도 하나의 코어를 제어한다. Conversely, if activation of at least one core is not required for execution of at least one third task, the
이어서, 태스크확인부(161)는 적어도 하나의 제3 태스크의 종료신호가 수신되면, 제3 태스크를 종료하고 제3 태스크를 실행 중이던 코어를 비활성화하도록 코어할당부(162)로 비활성화신호를 제공한다. 예컨대, 제3 태스크가 제3 코어(165) 및 제4 코어(166) 중 적어도 하나의 코어에서 실행 중이면, 코어할당부(162)는 제3 코어(165) 및 제4 코어 중 적어도 하나의 코어를 비활성화한다. 반대로, 제3 태스크가 제1 코어(163) 및 제2 코어(164) 중 적어도 하나의 코어에서 실행 중이면, 코어할당부(162)는 제3 태스크의 실행을 종료하도록 제1 코어(163) 및 제2 코어(164)를 제어한다. 이때, 제1 코어(163) 및 제2 코어(164)는 제1 태스크 및 제2 태스크를 실행 중이므로, 각 코어의 활성화 상태를 유지한다. Subsequently, when the end signal of at least one third task is received, the
태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 제2 태스크의 종료신호가 수신되면 태스크확인부(161)는 제2 태스크의 종료신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 제2 태스크가 제2 코어(164)에서 실행 중이면, 제2 코어(164)를 제어하여 제2 태스크의 실행을 종료한 후, 제2 코어(164)를 비활성화한다. 또한, 코어할당부(162)는 제2 태스크가 제1 코어(163)에서 실행 중이면, 제1 코어(163)를 제어하여 제1 태스크의 실행을 종료한다. 아울러, 본 발명의 실시 예에서는 제2 코어(164)를 추가코어로 설명하고 있으나, 반드시 이에 한정되는 것은 아니며, 제2 태스크의 종류 및 트래픽 양 등에 따라 추가코어는 제3 코어(165), 제4 코어(166) 중 적어도 하나의 코어로 변경적용이 가능하다. When the end signal of the second task is received from the
도 2는 본 발명의 실시 예에 따른 멀티 코어를 갖는 전자장치에서의 자원 할당 방법을 설명하기 위한 순서도이다. 2 is a flowchart illustrating a method for allocating resources in an electronic device having multi-cores according to an embodiment of the present invention.
도 2를 참조하면, 201단계에서 제어부(160)는 제1 태스크 실행을 위해 제1 코어(163)를 활성화한다. 보다 구체적으로, 태스크확인부(161)는 전자장치(100)에 대기전력을 포함하는 전력이 인입되는 것으로 확인되면, 제1 태스크를 실행하기 위해 제1 코어(163)를 활성화하도록 코어 활성화신호(이하, 활성화신호라 함)를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제1 코어(163)를 활성화한다. 이때, 제1 태스크는 전자장치(100)가 인터넷을 사용할 수 있도록 하는 인터넷 모뎀 기능을 의미한다. Referring to FIG. 2, in
203단계에서 태스크확인부(161)는 입력부(120) 또는 외부장치와 통신을 수행하는 통신부(110)로부터 제2 태스크를 실행하기 위한 제2 태스크 실행신호가 수신되면 205단계를 수행하고, 제2 태스크 실행신호가 수신되지 않으면, 제2 태스크 실행신호의 수신을 대기한다. 예컨대, 제2 태스크 실행신호는 전자장치(100)의 기능 중 텔레비전 기능을 실행하기 위한 실행신호일 수 있고, 스마트 폰 등의 외부장치로부터 전자장치(100)를 AP(access point)로 이용하기 위한 신호일 수 있다. In
205단계에서 태스크확인부(161)는 추가코어의 활성화 필요여부를 확인한다. 보다 구체적으로, 태스크확인부(161)는 제2 태스크 실행 시 제2 코어(164)를 할당하도록 설정되어 있는지를 우선적으로 확인할 수 있다. 확인결과, 제2 태스크 실행 시 제2 코어(164)를 할당하도록 설정되어 있으면, 태스크확인부(161)는 제2 태스크를 실행하기 위해 추가코어의 활성화가 필요한 것으로 확인하여 207단계를 수행할 수 있다. 또한, 태스크확인부(161)는 제2 태스크 실행 시 제2 코어(164)를 할당하도록 설정되어 있지 않으면 제2 태스크를 실행할 때 필요한 트래픽 양을 예측할 수 있다. 태스크확인부(161)는 예측된 트래픽 양이 제1 코어(163)에서 실행할 수 있는 정도가 아니면 추가코어의 활성화가 필요한 것으로 확인하여 207단계를 수행할 수 있다. 반대로, 태스크확인부(161)는 예측된 트래픽 양이 제1 코어(163)에서 실행할 수 있는 정도이면 태스크확인부(161)는 추가코어의 활성화가 필요하지 않은 것으로 확인하여 217단계를 수행한다. In
217단계에서 태스크확인부(161)는 추가코어의 활성화가 필요하지 않음을 알리는 신호를 코어할당부(162)로 제공하고, 코어할당부(162)는 기활성화된 제1 코어(163)에서 제2 태스크를 실행하도록 제1 코어(163)를 제어한다. 219단계에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 제2 태스크의 종료신호가 수신되면 221단계를 수행하고, 제2 태스크의 종료신호가 수신되지 않으면 제1 코어(163)를 이용하여 제2 태스크를 지속적으로 실행한다. 221단계에서 태스크확인부(161)는 제2 태스크의 종료신호를 코어할당부(162)로 제공하고, 코어할당부(162)는 제1 코어(163)를 제어하여 제2 태스크의 실행을 종료한 후, 상기 프로세스를 종료한다. In
207단계에서 태스크확인부(161)는 제2 태스크 실행을 위해 제2 코어(164)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공하고, 코어할당부(162)는 활성화신호를 기반으로 제2 코어(164)를 활성화한다. 209단계에서 코어할당부(162)는 활성화된 제2 코어(164)에서 제2 태스크를 실행하도록 제2 코어(164)를 제어한다. 211단계에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 제2 태스크의 종료신호가 수신되면 213단계를 수행하고, 제2 태스크의 종료신호가 수신되지 않으면 제2 코어(164)를 이용하여 제2 태스크를 지속적으로 실행한다. 213단계에서 태스크확인부(161)는 제2 태스크의 종료신호를 코어할당부(162)로 제공한다. 215단계에서 코어할당부(162)는 제2 태스크를 실행 중인 제2 코어(164)를 제어하여 제2 태스크의 실행을 종료한 후, 제2 코어(164)를 비활성화한다. 아울러, 본 발명의 실시 예에서는 제2 코어(164)를 추가코어로 설명하고 있으나, 반드시 이에 한정되는 것은 아니며, 제2 태스크의 종류 및 트래픽 양 등에 따라 추가코어는 제3 코어(165), 제4 코어(166) 중 적어도 하나의 코어로 변경적용이 가능하다. In
도 3은 본 발명의 일 실시 예에 따른 멀티 코어를 갖는 전자장치에서 텔레비전 시청 시 자원 할당 방법을 설명하기 위한 순서도이다. 3 is a flowchart illustrating a method for allocating resources when watching television in an electronic device having a multi-core according to an embodiment of the present invention.
도 3을 참조하면, 301단계에서 전자장치(100)에 대기전력을 포함한 전력이 인입됨이 감지되면, 제어부(160)에 포함된 태스크확인부(161)는 제1 태스크를 실행하기 위한 실행신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 제1 코어(163)를 활성화하여 제1 태스크를 실행한다. 이때, 제1 태스크는 전자장치(100)가 인터넷에 접속하도록 할 수 있는 모뎀 기능을 의미한다. Referring to FIG. 3, when it is detected in
303단계에서 태스크확인부(161)는 리모컨, 스마트 폰 등의 외부장치와 통신을 수행하는 통신부(110) 또는 입력부(120)로부터 텔레비전을 활성화하기 위한 TV ON 신호가 수신되면 305단계를 수행한다. 반대로, 태스크확인부(161)는 TV ON 신호가 수신되지 않으면 TV ON 신호의 수신을 대기한다. 태스크확인부(161)는 TV ON신호에서 IGMP Message를 검출할 수 있고, 태스크확인부(161)는 IGMP Message를 기반으로 Multi-cast IP로 수신되는 TV데이터에 대해 추가코어 즉, 제2 코어(164)를 할당하도록 설정된 상태임을 확인할 수 있다.In
305단계에서 태스크확인부(161)는 전자장치(100)에서 TV기능을 실행하기 위해 제2 코어(163)의 활성화신호를 코어할당부(162)로 제공하여 제2 코어(163)를 활성화한다. 이때, 제2 코어(163)를 포함하는 추가코어를 활성화하기 위한 동작은 하기의 도 4를 이용하여 보다 구체적으로 설명하기로 한다. 도 4는 본 발명의 일 실시 예에 따른 추가코어를 활성화하는 자원 할당 방법을 설명하기 위한 상세순서도이다. In
도 4를 참조하면, 401단계에서 코어할당부(162)는 TV기능 실행을 위해 제2 코어(164)의 활성화를 제어한다. 403단계에서 제2 코어(164)는 TV기능을 실행하여 외부로부터 제1 TV데이터를 수신한다. 제어부(160)는 수신된 제1 TV데이터에 포함된 제1 영상데이터를 표시부(130)에 표시한다. 아울러, 제어부(160)는 수신된 제1 TV데이터에 포함된 제1 음향데이터를 오디오처리부(150)의 스피커(SPK)로 출력한다. Referring to FIG. 4, in
405단계에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 제1 영상데이터가 표시된 표시부(130)에서 제1 영상데이터와 함께 다른 TV채널 즉, 제2 TV데이터를 확인하기 위한 TV채널 추가신호가 수신되면 407단계를 수행한다. 반대로, TV채널 추가신호가 수신되지 않으면 도 3의 307단계로 리턴한다. 407단계에서 코어할당부(162)는 제3 코어(165) 또는 제4 코어(166) 중 적어도 하나의 코어를 활성화한다. 보다 구체적으로, 태스크확인부(161)는 제2 TV데이터의 트래픽 양을 확인한다. 태스크확인부(161)는 확인된 트래픽 양이 제1 TV데이터를 위해 사용하고 남은 제2 코어(164)의 리소스 양보다 적으면 추가코어를 활성화하지 않고, 제2 코어(164)를 이용하여 제2 TV데이터를 수신할 수 있다. 반대로, 태스크확인부(161)는 확인된 트래픽 양이 제1 TV데이터를 위해 사용하고 남은 제2 코어(164)의 리소스 양보다 많거나 동일하면 제3 코어(165) 또는 제4 코어(166) 중 적어도 하나의 코어를 활성화하도록 코어할당부(162)로 활성화신호를 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제3 코어(165) 또는 제4 코어(166) 중 적어도 하나의 코어를 활성화한다. 본 발명에서는 제3 코어(165)를 활성화하는 것을 예로 설명한다. In
409단계에서 코어할당부(162)에 의해 활성화된 제3 코어(165)는 외부로부터 제2 TV데이터를 수신한다. 제어부(160)는 수신된 제2 TV데이터에 포함된 제2 영상데이터를 표시부(130)에 표시한다. 이때, 제어부(160)는 제1 영상데이터의 일부에 제2 영상데이터를 배치하여 표시부(130)에 표시한다. 이때, 제어부(160)는 제1 영상데이터의 일부에 제2 영상데이터를 오버레이하여 표시할 수 있다. 아울러, 제어부(160)는 수신된 제2 TV데이터에 포함된 제2 음향데이터를 오디오처리부(150)의 스피커(SPK)를 통해 출력하지 않을 수 있다. The third core 165 activated by the
411단계에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 추가된 TV채널 즉, 제2 TV데이터의 수신을 종료하기 위한 신호가 수신되면 413단계를 수행한다. 413단계에서 태스크확인부(161)는 제2 TV데이터를 수신하는 제3 코어(165)의 비활성화 신호를 코어할당부(162)로 제공하고, 코어할당부(162)는 비활성화 신호를 기반으로 제3 코어(165)를 비활성화한다. 415단계에서 제어부(160)는 제1 영상데이터에 오버레이 형태로 표시된 제2 영상데이터를 삭제하여 표시부(130)에 표시된 영상데이터를 재배치하고, 도 3의 307단계로 리턴한다.In
307단계에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 텔레비전을 비활성화하기 위한 TV OFF 신호가 수신되면 309단계를 수행한다. 반대로, 태스크확인부(161)는 TV OFF 신호가 수신되지 않으면 TV OFF신호의 수신을 대기한다. 309단계에서 태스크확인부(161)는 전자장치(100)에서 실행 중인 TV기능을 종료하기 위한 신호를 코어할당부(162)로 제공한다. 코어할당부(162)의 제어에 의해 제2 코어(164)는 TV데이터의 수신을 종료하여 TV기능을 종료한다. 311단계에서 코어할당부(162)는 TV기능의 실행을 위해 활성화한 제2 코어(164)를 비활성화한다. In
도 5는 본 발명의 일 실시 예에 따른 멀티 코어를 갖는 전자장치에서 표시되는 텔레비전 화면을 설명하기 위한 화면예시도이다.5 is a screen example illustrating a television screen displayed on an electronic device having a multi-core according to an embodiment of the present invention.
도 5를 참조하면, 대기전력을 포함하는 전력이 전자장치(100)로 인입되면, 코어할당부(162)는 제1 코어(163)를 활성화한다. 이후에, 태스크확인부(161)가 리모컨, 스마트 폰 등의 외부장치와 통신을 수행하는 통신부(110) 또는 입력부(120)로부터 텔레비전을 활성화하기 위한 TV ON 신호를 수신할 수 있다. TV ON신호 수신 시 제1 코어(163)를 제외한 추가코어 즉, 제2 코어(164)를 활성화하도록 설정된 상태이면 태스크확인부(161)는 제2 코어(164)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공한다. 이에 따라, 코어할당부(162)는 활성화신호를 기반으로 제2 코어(164)를 활성화한다. 활성화된 제2 코어(164)는 외부 네트워크 망 등으로부터 제1 TV데이터를 수신하고, 제어부(160)는 제2 코어(164)로부터 수신된 제1 TV데이터에 포함된 제1 영상데이터(510)를 도 5의 (a)와 같이 표시부(130)에 표시한다. 이때, 제어부(160)는 제1 TV데이터에 포함된 포함된 제1 음향데이터를 오디오처리부(150)의 스피커(SPK)로 출력한다. Referring to FIG. 5, when power including standby power is drawn into the
도 5의 (a)와 같이 제1 영상데이터가 표시부(130)에 표시된 상태에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 제1 TV데이터와 다른 제2 TV데이터를 확인하기 위한 TV채널 추가신호를 수신할 수 있다. 태스크확인부(161)는 TV채널 추가신호를 기반으로 제2 TV데이터의 트래픽 양을 확인할 수 있다. 태스크확인부(161)는 제2 TV데이터의 트래픽 양이 제1 TV데이터를 위해 사용하고 남은 제2 코어(164)의 리소스 양보다 적으면 추가코어를 활성화하지 않고, 제2 코어(164)를 이용하여 제2 TV데이터를 수신할 수 있다. 반대로, 태스크확인부(161)는 확인된 트래픽 양이 제1 TV데이터를 위해 사용하고 남은 제2 코어(164)의 리소스 양보다 많거나 동일하면 제3 코어(165) 또는 제4 코어(166) 중 적어도 하나의 코어를 활성화하도록 코어할당부(162)로 활성화신호를 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제3 코어(165) 또는 제4 코어(166) 중 적어도 하나의 코어를 활성화한다. 본 발명에서는 제3 코어(165)를 활성화하는 것을 예로 설명한다. 제3 코어(165)는 외부 네트워크 망 등으로부터 제2 TV데이터를 수신하고, 제어부(160)는 제3 코어(165)를 통해 수신된 제2 TV데이터에 포함된 제2 영상데이터(520)를 도 5의 (b)와 같이 제1 영상데이터(510)의 상부에 오버레이하여 표시한다. As shown in (a) of FIG. 5, while the first image data is displayed on the
표시부(130)에 도 5의 (b)와 같이 제1 영상데이터(510)와 제2 영상데이터(520)가 표시된 상태에서 태스크확인부(161)는 통신부(110) 또는 입력부(120)로부터 제3 TV데이터와 제4 TV데이터를 추가적으로 확인하기 위한 TV채널 추가신호를 순차적으로 수신할 수 있다. 태스크확인부(161)는 TV채널 추가신호를 기반으로 제3 TV데이터와 제4 TV데이터의 트래픽 양을 각각 확인할 수 있다. 제3 TV데이터와 제4 TV데이터의 트래픽 양의 확인 결과, 제3 코어(165)를 이용하여 제3 TV데이터와 제4 TV데이터의 수신이 가능하면, 제3 코어(165)는 제3 TV데이터 및 제4 데이터를 수신한다. 제어부(160)는 제3 코어(165)에서 수신된 제3 TV데이터와 제4 TV데이터에 각각 포함된 제3 영상데이터와 제4 영상데이터를 도 5의 (c) 및 도 5의 (d)와 같이 제1 영상데이터(510)에 오버레이하여 표시할 수 있다. In the state in which the
아울러, 제3 TV데이터와 제4 TV데이터의 트래픽 양 확인 결과, 제3 코어(165)를 이용하여 제3 TV데이터의 수신만이 가능하면 태스크확인부(161)는 제4 코어(166)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제4 코어(166)를 활성화한다. 활성화된 제4 코어(166)는 제4 TV데이터를 수신하고 제어부(160)는 제4 코어(166)에서 수신된 제4 TV데이터에 포함된 제4 영상데이터(540)를 도 5의 (d)에서와 같이 제1 영상데이터(510)에 오버레이하여 표시할 수 있다. 이때, 제1 TV데이터 내지 제4 TV데이터는 UHD, Pre-UHD, Full HD 등 채널의 종류에 따라 네트워크의 밴드위스(bandwidth)가 상이하기 때문에 채널의 종류에 따라 트래픽 양이 상이하다. In addition, as a result of checking the amount of traffic between the third TV data and the fourth TV data, if only the reception of the third TV data is possible using the third core 165, the
또한, TV ON 신호 수신 시 추가코어의 활성화가 설정되지 않은 상태이면 태스크확인부(161)는 제1 코어(163)를 이용하여 외부 네트워크 망으로부터 제1 TV데이터를 수신할 수 있는지 여부를 확인한다. 이를 위해, 태스크확인부(161)는 제1 TV데이터 수신에 필요한 트래픽 양과 제1 코어(163)에서 사용할 수 있는 리소스 양을 비교할 수 있다. 비교결과, 제1 코어(163)를 이용하여 제1 TV데이터를 수신할 수 있으면 제1 코어(163)는 제1 TV데이터를 수신하고, 제어부(160)는 수신된 제1 TV 데이터에 포함된 제1 영상데이터(510)를 도 5의 (a)와 같이 표시부(130)에 표시한다. 이때, 제어부(160)는 제1 TV데이터에 포함된 포함된 제1 음향데이터를 오디오처리부(150)의 스피커(SPK)로 출력한다.In addition, when the activation of the additional core is not set when the TV ON signal is received, the
도 6은 본 발명의 다른 실시 예에 따른 멀티 코어를 갖는 전자장치를 AP로 사용 시 자원 할당 방법을 설명하기 위한 순서도이다.6 is a flowchart illustrating a resource allocation method when using an electronic device having a multi-core as an AP according to another embodiment of the present invention.
도 6을 참조하면, 601단계에서 전자장치(100)에 대기전력을 포함한 전력이 인입됨이 감지되면, 제어부(160)에 포함된 태스크확인부(161)는 제1 태스크를 실행하기 위한 실행신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 제1 코어(163)를 활성화하여 제1 태스크를 실행한다. 이때, 제1 태스크는 전자장치(100)가 인터넷을 사용할 수 있도록 하는 모뎀 기능을 의미한다.Referring to FIG. 6, when it is detected in
603단계에서 제어부(160)는 스마트 폰, 노트북 등의 외부장치와 통신을 수행하는 통신부(110)를 통해 외부장치로부터 전자장치(100)를 AP로 사용하여 무선 인터넷을 사용하기 위한 WiFi 접속신호가 수신되면 605단계를 수행한다. 605단계에서 제어부(160)는 외부장치에서 전자장치(100)를 통해 무선 인터넷을 사용할 수 있도록 WiFi에 접속을 수행한다. In
607단계에서 태스크확인부(161)는 외부장치에서 사용하는 무선 인터넷의 트래픽 양을 실시간 또는 주기적으로 확인하여 추가코어의 할당이 필요한지 여부를 확인한다. 예컨대, 외부장치가 전자장치(100)를 통해 무선 인터넷에 접속하여 사용하는 트래픽 양이 제1 코어(163)의 잔여 리소스 양보다 적으면 추가코어가 필요하지 않은 것으로 확인하여 상기 프로세스를 종료할 수 있다. 반대로, 외부장치가 전자장치(100)를 통해 무선 인터넷에 접속하여 사용하는 트래픽 양이 제1 코어(163)의 잔여 리소스 양보다 많으면 추가코어가 필요한 것으로 확인하여 609단계를 수행한다. In
609단계에서 태스크확인부(161)는 외부장치가 사용하는 트래픽 양을 확인하고, 확인된 트래픽 양보다 리소스 양이 큰 추가코어 예컨대, 제2 코어(164)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제2 코어(164)를 활성화하고 외부장치로부터 수신되는 무선 인터넷 사용 요청신호에 대응되는 동작을 실행한다.In
611단계에서 태스크확인부(161)는 외부장치로부터 무선 인터넷으로의 접속을 종료하기 위한 신호가 수신되면 613단계를 수행하여 제2 코어(164)를 비활성화한다. 반대로, 무선 인터넷으로의 접속을 종료하기 위한 신호가 수신되지 않으면 607단계로 회귀하여 상기의 동작을 지속적으로 수행할 수 있다. In
본 명세서와 도면에 개시된 본 발명의 실시 예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 범위는 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The embodiments of the present invention disclosed in the present specification and drawings are merely intended to easily describe the technical contents of the present invention and to provide specific examples to help understanding of the present invention, and are not intended to limit the scope of the present invention. Therefore, the scope of the present invention should be interpreted to include all the modified or modified forms derived on the basis of the technical spirit of the present invention in addition to the embodiments disclosed herein.
Claims (14)
상기 전자장치가 외부로부터 복수개의 태스크 중 제2 태스크에 대한 실행신호가 수신되면, 복수개의 코어 중 제2 코어를 활성화하는 단계;
상기 전자장치가 상기 제2 코어를 이용하여 상기 제2 태스크를 실행하는 단계; 및
상기 전자장치가 외부로부터 상기 제2 태스크의 종료신호가 수신되면 상기 제2 코어를 비활성화하는 단계;
를 포함하는 것을 특징으로 하는 자원 할당 방법. An electronic device activating a first core for executing a first task;
When the electronic device receives an execution signal for a second task among a plurality of tasks from the outside, activating a second core among the plurality of cores;
The electronic device executing the second task using the second core; And
When the electronic device receives an end signal of the second task from the outside, deactivating the second core;
Resource allocation method comprising a.
상기 제2 코어를 활성화하는 단계는,
상기 제2 코어의 활성화 필요여부를 확인하는 단계; 및
상기 확인결과에 따라 상기 제2 코어를 활성화하는 단계;
를 포함하는 것을 특징으로 하는 자원 할당 방법. According to claim 1,
Activating the second core,
Checking whether the second core needs to be activated; And
Activating the second core according to the confirmation result;
Resource allocation method comprising a.
상기 제2 코어의 활성화 필요여부를 확인하는 단계는,
상기 제2 태스크 실행 시 상기 제2 코어의 활성화에 대한 설정여부를 확인하는 단계; 및
상기 제2 태스크 실행 시 상기 제2 코어를 활성화하도록 설정된 상태이면, 상기 제2 코어의 활성화가 필요한 것으로 확인하는 단계;
를 포함하는 것을 특징으로 하는 자원 할당 방법. According to claim 2,
The step of checking whether the second core needs to be activated,
Checking whether activation of the second core is set when the second task is executed; And
If it is set to activate the second core when the second task is executed, confirming that activation of the second core is necessary;
Resource allocation method comprising a.
상기 제2 코어를 활성화하도록 설정된 상태가 아니면, 상기 제1 코어를 이용한 상기 제2 태스크의 실행가능 여부를 확인하는 단계; 및
상기 제1 코어를 이용한 상기 제2 태스크의 실행이 불가능하면 상기 제2 코어의 활성화가 필요한 것으로 확인하는 단계;
를 더 포함하는 것을 특징으로 하는 자원 할당 방법.According to claim 3,
If it is not set to activate the second core, checking whether the second task using the first core is executable; And
Confirming that activation of the second core is necessary when execution of the second task using the first core is impossible;
Resource allocation method further comprising a.
상기 제1 코어를 활성화하는 단계는,
상기 전자장치가 대기전력을 포함하는 전력 인입 시 상기 전자장치를 인터넷에 연결하는 상기 제1 태스크를 실행하기 위한 상기 제1 코어를 활성화하는 단계인 것을 특징으로 하는 자원 할당 방법.The method of claim 4,
Activating the first core,
And when the electronic device draws power including standby power, activating the first core for executing the first task of connecting the electronic device to the Internet.
상기 제2 태스크를 실행하는 단계 이후에,
상기 전자장치가 외부로부터 상기 복수개의 태스크 중 적어도 하나의 제3 태스크에 대한 실행신호가 수신되면, 상기 복수개의 코어 중 적어도 하나의 제3 코어의 활성화 필요여부를 확인하는 단계;
상기 전자장치가 상기 확인결과에 따라 상기 적어도 하나의 제3 코어의 활성화가 필요하면 상기 적어도 하나의 제3 코어를 활성화하는 단계; 및
상기 적어도 하나의 제3 코어를 이용하여 상기 적어도 하나의 제3 태스크를 실행하는 단계;
를 더 포함하는 것을 특징으로 하는 자원 할당 방법. The method of claim 4,
After the step of executing the second task,
When the electronic device receives an execution signal for at least one third task among the plurality of tasks from outside, checking whether activation of at least one third core among the plurality of cores is necessary;
Activating the at least one third core when the electronic device needs to activate the at least one third core according to the confirmation result; And
Executing the at least one third task using the at least one third core;
Resource allocation method further comprising a.
상기 적어도 하나의 제3 태스크를 실행하는 단계 이후에,
상기 전자장치가 외부로부터 상기 적어도 하나의 제3 태스크의 종료신호가 수신되면 상기 적어도 하나의 제3 코어를 비활성화하는 단계;
를 더 포함하는 것을 특징으로 하는 자원 할당 방법. The method of claim 6,
After the step of executing the at least one third task,
When the electronic device receives an end signal of the at least one third task from the outside, deactivating the at least one third core;
Resource allocation method further comprising a.
제1 태스크를 실행하는 제1 코어, 상기 입력부로부터 수신된 복수의 태스크 중 제2 태스크에 대한 실행신호에 따라 활성화되는 제2 코어를 포함하고,
상기 제2 코어를 이용하여 상기 제2 태스크를 실행하고, 상기 입력부로부터 수신된 상기 제2 태스크에 대한 종료신호에 따라 상기 제2 코어를 비활성화시키는 코어할당부를 포함하는 제어부;
를 포함하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치. An input unit generating a task execution signal according to an input from the outside; And
A first core that executes the first task, and a second core that is activated according to an execution signal for the second task among a plurality of tasks received from the input unit,
A control unit including a core allocating unit that executes the second task using the second core and deactivates the second core according to an end signal for the second task received from the input unit;
Electronic device having a multi-core comprising a.
상기 제어부는,
상기 제2 코어의 활성화 필요여부를 확인하는 태스크확인부;
를 더 포함하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치. The method of claim 8,
The control unit,
A task confirmation unit that checks whether the second core needs to be activated;
Electronic device having a multi-core, characterized in that it further comprises.
상기 태스크확인부는,
상기 제2 태스크 실행 시 상기 제2 코어의 활성화가 설정된 상태이면, 상기 제2 코어의 활성화가 필요한 것으로 확인하여 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치. The method of claim 9,
The task confirmation unit,
If the activation of the second core is set when the second task is executed, it is determined that activation of the second core is necessary, and an electronic device having a multi-core is provided to provide an activation signal to the core allocating unit.
상기 태스크확인부는,
살기 제2 코어의 활성화가 설정된 상태가 아니면, 상기 제1 코어를 이용하여 상기 제2 태스크의 실행이 불가능하면 상기 제2 코어의 활성화가 필요한 것으로 확인하여 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치.The method of claim 10,
The task confirmation unit,
If the activation of the living second core is not set, if it is impossible to execute the second task using the first core, it is determined that activation of the second core is necessary and provides an activation signal to the core allocating unit Electronic device having a multi-core characterized by.
상기 태스크확인부는,
대기전력을 포함하는 전력 인입 시 인터넷에 연결하는 상기 제1 태스크를 실행하기 위한 상기 제1 코어를 활성화하도록 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치. The method of claim 11,
The task confirmation unit,
An electronic device having a multi-core, characterized by providing an activation signal to the core allocating unit to activate the first core for executing the first task that connects to the Internet when power is included, including standby power.
상기 태스크확인부는,
상기 입력부로부터 상기 복수개의 태스크 중 적어도 하나의 제3 태스크에 대한 실행신호가 수신되면, 상기 복수개의 코어 중 적어도 하나의 제3 코어의 활성화 필요여부를 확인하고, 상기 확인결과에 따라 상기 적어도 하나의 제3 코어를 활성화하도록 상기 코어할당부로 활성화신호를 제공하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치. The method of claim 11,
The task confirmation unit,
When an execution signal for at least one third task among the plurality of tasks is received from the input unit, it is checked whether or not activation of at least one third core among the plurality of cores is necessary, and the at least one of the plurality of tasks is activated. An electronic device having a multi-core, characterized by providing an activation signal to the core allocating unit to activate a third core.
상기 태스크확인부는,
상기 입력부로부터 상기 적어도 하나의 제3 태스크의 종료신호가 수신되면 상기 적어도 하나의 제3 코어를 비활성화하도록 상기 코어할당부로 비활성화신호를 제공하는 것을 특징으로 하는 멀티 코어를 갖는 전자장치. The method of claim 13,
The task confirmation unit,
When the end signal of the at least one third task is received from the input unit, an electronic device having a multi-core, characterized in that the deactivation signal is provided to the core allocating unit to deactivate the at least one third core.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180150946A KR20200064632A (en) | 2018-11-29 | 2018-11-29 | Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180150946A KR20200064632A (en) | 2018-11-29 | 2018-11-29 | Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20200064632A true KR20200064632A (en) | 2020-06-08 |
Family
ID=71089558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180150946A KR20200064632A (en) | 2018-11-29 | 2018-11-29 | Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20200064632A (en) |
-
2018
- 2018-11-29 KR KR1020180150946A patent/KR20200064632A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11115867B2 (en) | Method and system for managing utilization of slices in a virtual network function environment | |
US11050683B2 (en) | System for providing dialog content | |
US10003654B2 (en) | Universal internet of things (IoT) smart translator | |
JP6246796B2 (en) | System and method for wireless docking using a wireless docking profile | |
JP7162135B2 (en) | COMMUNICATION METHODS, NETWORK FUNCTIONAL ENTITIES, NETWORK DEVICES AND COMPUTER PROGRAMS | |
US20100248698A1 (en) | Mobile terminal device inlcuding mobile cloud platform | |
US11012260B2 (en) | Methods, systems, and devices for managing client devices using a virtual anchor manager | |
US20200053144A1 (en) | Method and system for coordination of inter-operable infrastructure as a service (iaas) and platform as a service (paas) systems | |
US10659535B2 (en) | Methods, systems, and devices for multiplexing service information from sensor data | |
US20160373833A1 (en) | Digital device and method for processing application thereon | |
KR101594105B1 (en) | The method and apparatus for implementing multy-screen by distributing screen and sharing input interface between user equipments | |
US20110055380A1 (en) | Network providing automatic connections between devices based on user task | |
KR101842256B1 (en) | Method and apparatus for executing application installed in remote device | |
JP7100154B6 (en) | Processor core scheduling method, device, terminal and storage medium | |
WO2023000888A1 (en) | Cloud application implementing method and apparatus, electronic device, and storage medium | |
JP2016033811A (en) | Session management method, session management device, session management program and communication processing method | |
WO2018209869A1 (en) | Information sharing method and device during miracast, and storage medium | |
WO2021078208A1 (en) | Information acquisition method, cloudified set top box system, entity set top box, and storage medium | |
CN112953992B (en) | Network system, communication and networking method, device and storage medium | |
JP5254401B2 (en) | Rich application based multi-screen IPTV service providing system, terminal, server, and method | |
KR101262849B1 (en) | Apparatus and method for allocating and releasing of image device in virtualization system | |
KR20200064632A (en) | Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof | |
CN114143569B (en) | Webpage recording and live broadcasting method and system | |
KR102230266B1 (en) | Method and electronic device for sharing applications among a plurality of electronic devices | |
KR20130078300A (en) | Server and method for executing virtual application requested from device, and the device |