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 PDF

Info

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
Application number
KR1020180150946A
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 KR1020180150946A priority Critical patent/KR20200064632A/en
Publication of KR20200064632A publication Critical patent/KR20200064632A/en

Links

Images

Classifications

    • 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
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation 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/5038Allocation 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
    • 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
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria

Abstract

The present invention relates to a method for allocating resources in an electronic device having a multi-core and an electronic device therefor. The method comprises the steps of: activating, by the electronic device, a first core for executing a first task; activating, by the electronic device, a second core among a plurality of cores when receiving an execution signal for a second task among a plurality of tasks from the outside; executing, by the electronic device, the second task by using the second core; and deactivating the second core when receiving an end signal of the second task from the outside. Other embodiments are applicable.

Description

멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치{Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof}A method for allocating resources in an electronic device having a multi-core, and an electronic device therefor {Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof}

본 발명은 멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치에 관한 것으로서, 실행하고자 하는 태스크에 따라 복수개의 코어 중 적어도 하나의 코어를 가변적으로 활성화하는 멀티 코어를 갖는 전자장치에서의 자원 할당 방법 및 그 전자장치에 관한 것이다.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 electronic device 100 according to the present invention may include a communication unit 110, an input unit 120, a display unit 130, a memory 140, an audio processing unit 150, and a control unit 160. have. In addition, the electronic device 100 according to the present invention operates based on the Internet, such as an Internet modem, an IPTV (or digital cable TV), an Internet router (hereinafter referred to as an AP; access point) and an AI speaker for Internet access. It is a device that can integrate and use the functions of various devices.

통신부(110)는 외부 네트워크 망과의 통신을 통해 전자장치(100)가 인터넷에 접속할 수 있도록 한다. 이를 위해, 통신부(110)는 5G(5th generation), LTE-A(long term evolution-advanced), LTE(long term evolution) 등의 인터넷 통신을 수행할 수 있다.The communication unit 110 allows the electronic device 100 to access the Internet through communication with an external network. To this end, the communication unit 110 can perform Internet communication, such as 5G (5 th generation), LTE-A (long term evolution-advanced), LTE (long term evolution).

아울러, 통신부(110)는 외부장치(미도시)와 WiFi(wireless fidelity) 통신을 수행하여 외부장치가 전자장치(100)를 AP로 사용할 수 있도록 한다. 이때, 외부장치는 DVD(digital versatile disk), 블루레이(bluray), 게임기기, 스마트 폰, 노트북, 태블릿 PC(personal computer) 등의 기기일 수 있고, 리모트 컨트롤 등 전자장치(100)의 동작을 제어하는 제어신호를 제공하는 기기를 포함할 수 있다. In addition, the communication unit 110 performs a wireless fidelity (WiFi) communication with an external device (not shown) so that the external device can use the electronic device 100 as an AP. At this time, the external device may be a device such as a digital versatile disk (DVD), a bluray, a game device, a smart phone, a laptop, or a tablet PC (personal computer), and the operation of the electronic device 100 such as a remote control may be performed. It may include a device that provides a control signal to control.

또한, 통신부(110)는 방송수신부(미도시) 등을 추가로 포함하여 안테나를 통해 TV데이터를 수신하고, 수신된 TV데이터를 제어부(160)로 제공한다. In addition, the communication unit 110 further includes a broadcast receiving unit (not shown) and the like to receive TV data through an antenna, and provides the received TV data to the control unit 160.

입력부(120)는 전자장치(100)를 사용하는 사용자 입력에 대응하여 입력 데이터를 발생시킨다. 이를 위해, 입력부(120)는 적어도 하나의 입력수단을 포함한다. 입력부(120)는 키패드(key pad), 터치 패널(touch panel), 센서(sensor), 터치 키(touch key) 및 물리 버튼 등을 포함한다. The input unit 120 generates input data in response to a user input using the electronic device 100. To this end, the input unit 120 includes at least one input means. The input unit 120 includes a keypad, a touch panel, a sensor, a touch key, and a physical button.

표시부(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 display unit 130 outputs output data according to the operation of the electronic device 100. In particular, the display unit 130 outputs image data included in TV data received through the communication unit 110. To this end, the display unit 130 includes a liquid crystal display (LCD), a light emitting diode (LED) display, an organic LED (OLED) display, a micro electromechanical system (MEMS) systems) and electronic paper displays. The display unit 130 may be combined with the input unit 120 to be implemented as a touch screen.

메모리(140)는 전자장치(100)의 동작 프로그램들을 저장한다. 메모리(140)는 태스크에 따라 서로 다른 코어가 할당되도록 설정된 경우, 각 태스크와 할당될 코어가 매핑되어 저장될 수 있다. 또한, 메모리(140)는 외부장치가 전자장치(100)를 AP(access point)로 사용하기 위해 전자장치(100)에 등록한 외부장치의 정보 등을 저장할 수 있다. The memory 140 stores operation programs of the electronic device 100. When the memory 140 is set to allocate different cores according to tasks, each task and the cores to be allocated may be mapped and stored. Also, the memory 140 may store information of an external device registered in the electronic device 100 in order for the external device to use the electronic device 100 as an access point (AP).

오디오처리부(150)는 오디오 신호를 처리한다. 이때, 오디오처리부(150)는 마이크(MIC)와 스피커(SPK)를 포함한다. 오디오처리부(150)는 마이크에서 발생되는 오디오 신호를 제어부(160)로 전달한다. 오디오처리부(150)는 제어부(160)에서 출력되는 오디오 신호 예컨대, TV데이터에 포함된 음향데이터 등을 스피커를 통해 재생한다.The audio processing unit 150 processes an audio signal. At this time, the audio processing unit 150 includes a microphone (MIC) and a speaker (SPK). The audio processing unit 150 transmits an audio signal generated from the microphone to the control unit 160. The audio processing unit 150 reproduces an audio signal output from the control unit 160, for example, sound data included in TV data through a speaker.

제어부(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 control unit 160 activates the first core 163 for executing the first task when the power including the standby power is drawn in. In addition, the controller 160 activates at least one core of the second core 164 to the fourth core 166 based on execution signals for a plurality of tasks received from the input unit to execute a task corresponding to the execution signal. do. To this end, the control unit 160 includes a task identification unit 161, a core allocation unit 162, a first core 163, a second core 164, a third core 165, and a fourth core 166. Includes. In addition, in the embodiment of the present invention, for convenience of explanation, it is described as including the first core 163 to the fourth core 166 as an example, but the present invention is not limited thereto, and the number of cores is the electronic device 100. It may be different depending on the performance of.

보다 구체적으로, 태스크확인부(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 task confirmation unit 161 provides an activation signal to the core allocation unit 162 to activate the first core 163. The core allocation unit 162 activates the first core 163 based on the activation signal, and the activated first core 163 executes the first task, the Internet modem function. Since the electronic device 100 is a device operating based on the Internet, the Internet modem function is the first task.

태스크확인부(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 input unit 120 through the communication unit 110, the task confirmation unit 161, for example, the second core of the additional core when the second task is executed Check if it is set to allocate (164). To this end, the task confirmation unit 161 may check the type of the second task corresponding to the second task execution signal. For example, when the IGMP (internet group management protocol) message is detected from the second task execution signal, the task confirmation unit 161 is set to allocate the second core 164 to the TV data received through the multi-cast IP. Can be confirmed. As a result of checking, if it is set to allocate the second core 164 when the second task is executed, the task confirmation unit 161 may assign an activation signal for activating the second core 164 to execute the second task. (162). The core allocating unit 162 activates the second core 164 based on the activation signal. The core allocating unit 162 controls the second core 164 to execute the second task on the activated second core 164. Through this, when the TV service is provided, the quality of the TV service can be guaranteed by allocating the second core 164 for the TV service.

반대로, 태스크확인부(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 task verification unit 161 is not set to allocate the second core 164 when the second task is executed, it may estimate the amount of traffic required when the second task is executed. For example, when a signal for an external device to use the electronic device 100 as an AP is detected from the second task execution signal, the task confirmation unit 161 may confirm that the allocation of the additional core is not set for the second task. have. In this case, the task confirmation unit 161 checks the signal for the service to be used from the external device through the Internet in real time or periodically, and predicts the amount of traffic to be used when executing the second task based on the signal for the service. do. The task confirmation unit 161 confirms that the activation of the additional core is necessary if the predicted traffic amount is not enough to be executed by the first core 163. According to the confirmation result, the task confirmation unit 161 provides an activation signal for activating the additional core, for example, the second core 164, to the core allocation unit 162 to execute the second task, and the core allocation unit 162 ) Activates the second core 164 based on the activation signal. The core allocating unit 162 controls the second core 164 to execute the second task on the activated second core 164. Conversely, if the estimated amount of traffic according to the result of verification can be executed in the first core 163, the task confirmation unit 161 provides it to the core allocation unit 162, and the core allocation unit 162 is the first. The core 163 controls the first core 163 to execute the second task.

아울러, 제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 task confirmation unit 161 is the third task of at least one of the plurality of third tasks from the external device or the input unit 120 through the communication unit 110. When the execution signal for is received, it is checked whether activation is required for at least one of the plurality of cores, that is, the third core 165 and the fourth core 166. As a result of confirmation, if activation of at least one core is required, the task confirmation unit 161 provides an activation signal for at least one core to the core allocation unit 162. The core allocating unit 162 activates at least one core of the third core 165 and the fourth core 166 based on the activation signal, and the activated core executes the third task.

반대로, 적어도 하나의 제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 task identification unit 161 provides a signal to the core allocation unit 162 indicating that activation of the additional core is not required. do. The core allocating unit 162 may use the first core 163 and the first core 163 to enable the third task to be executed using at least one of the first core 163 and the second core 164 that is activated based on the provided signal. At least one core of the second core 164 is controlled.

이어서, 태스크확인부(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 task confirmation unit 161 provides the deactivation signal to the core allocating unit 162 to end the third task and deactivate the core running the third task. . For example, if the third task is running on at least one of the third core 165 and the fourth core 166, the core allocating unit 162 may include at least one of the third core 165 and the fourth core. Deactivate the core. Conversely, if the third task is running on at least one of the first core 163 and the second core 164, the core allocating unit 162 is configured to terminate the execution of the third task, the first core 163 And the second core 164. At this time, since the first core 163 and the second core 164 are executing the first task and the second task, each core maintains an active state.

태스크확인부(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 communication unit 110 or the input unit 120, the task confirmation unit 161 provides the end signal of the second task to the core assignment unit 162. The core allocating unit 162 controls the second core 164 to terminate the execution of the second task when the second task is running on the second core 164 and then deactivates the second core 164. . In addition, if the second task is running on the first core 163, the core assignment unit 162 controls the first core 163 to end the execution of the first task. In addition, in the exemplary embodiment of the present invention, the second core 164 is described as an additional core, but is not limited thereto, and the additional core is the third core 165, the second core according to the type of the second task and the amount of traffic. Change can be applied to at least one of the four cores 166.

도 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 step 201, the controller 160 activates the first core 163 to execute the first task. More specifically, when it is determined that the power including standby power is input to the electronic device 100, the task confirmation unit 161 may activate the core activation signal () to activate the first core 163 to execute the first task ( Hereinafter, an activation signal) is provided to the core allocation unit 162. The core allocating unit 162 activates the first core 163 based on the activation signal. At this time, the first task refers to an Internet modem function that enables the electronic device 100 to use the Internet.

203단계에서 태스크확인부(161)는 입력부(120) 또는 외부장치와 통신을 수행하는 통신부(110)로부터 제2 태스크를 실행하기 위한 제2 태스크 실행신호가 수신되면 205단계를 수행하고, 제2 태스크 실행신호가 수신되지 않으면, 제2 태스크 실행신호의 수신을 대기한다. 예컨대, 제2 태스크 실행신호는 전자장치(100)의 기능 중 텔레비전 기능을 실행하기 위한 실행신호일 수 있고, 스마트 폰 등의 외부장치로부터 전자장치(100)를 AP(access point)로 이용하기 위한 신호일 수 있다. In step 203, the task confirmation unit 161 performs step 205 when the second task execution signal for executing the second task is received from the input unit 120 or the communication unit 110 that communicates with the external device. If the task execution signal is not received, the second task execution signal is received. For example, the second task execution signal may be an execution signal for executing a television function among functions of the electronic device 100, or a signal for using the electronic device 100 as an access point (AP) from an external device such as a smart phone. Can be.

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 step 205, the task confirmation unit 161 checks whether the additional core needs to be activated. More specifically, the task confirmation unit 161 may preferentially check whether the second core 164 is set to be allocated when the second task is executed. As a result of the check, if it is set to allocate the second core 164 when the second task is executed, the task verification unit 161 may perform step 207 by confirming that activation of the additional core is necessary to execute the second task. have. In addition, the task confirmation unit 161 may predict the amount of traffic required when executing the second task, unless it is set to allocate the second core 164 when the second task is executed. The task confirmation unit 161 may perform step 207 by confirming that the activation of the additional core is necessary if the predicted traffic amount is not sufficient to be executed by the first core 163. Conversely, if the predicted traffic amount is enough to be executed by the first core 163, the task confirmation unit 161 determines that activation of the additional core is not necessary and performs step 217.

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 step 217, the task confirmation unit 161 provides a signal to the core allocating unit 162 indicating that the activation of the additional core is not required, and the core allocating unit 162 is removed from the first activated core 163. 2 Control the first core 163 to execute the task. In step 219, the task confirmation unit 161 performs step 221 when the end signal of the second task is received from the communication unit 110 or the input unit 120, and if the end signal of the second task is not received, the first core 163 ) To continuously execute the second task. In step 221, the task confirmation unit 161 provides the termination signal of the second task to the core allocation unit 162, and the core allocation unit 162 controls the first core 163 to end the execution of the second task. After that, the process is terminated.

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 step 207, the task confirmation unit 161 provides an activation signal for activating the second core 164 to execute the second task to the core allocating unit 162, and the core allocating unit 162 is based on the activation signal. The second core 164 is activated. In step 209, the core allocating unit 162 controls the second core 164 to execute the second task in the activated second core 164. In step 211, the task confirmation unit 161 performs step 213 when the end signal of the second task is received from the communication unit 110 or the input unit 120, and if the end signal of the second task is not received, the second core 164 ) To continuously execute the second task. In step 213, the task confirmation unit 161 provides the end signal of the second task to the core assignment unit 162. In step 215, the core allocating unit 162 controls the second core 164 executing the second task to complete execution of the second task, and then deactivates the second core 164. In addition, in the exemplary embodiment of the present invention, the second core 164 is described as an additional core, but is not limited thereto, and the additional core is the third core 165, the second core according to the type of the second task and the amount of traffic. Change can be applied to at least one of the four cores 166.

도 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 step 301 that power including standby power is input to the electronic device 100, the task confirmation unit 161 included in the control unit 160 executes a signal for executing the first task. Is provided to the core allocation unit 162. The core assignment unit 162 activates the first core 163 to execute the first task. In this case, the first task refers to a modem function that allows the electronic device 100 to access the Internet.

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 step 303, the task confirmation unit 161 performs step 305 when a TV ON signal for activating a television is received from the communication unit 110 or the input unit 120 that communicates with an external device such as a remote control or a smart phone. Conversely, if the TV ON signal is not received, the task confirmation unit 161 waits to receive the TV ON signal. The task confirmation unit 161 may detect an IGMP message from the TV ON signal, and the task confirmation unit 161 may add an additional core, that is, a second core (for the TV data received through the multi-cast IP) based on the IGMP message. 164).

305단계에서 태스크확인부(161)는 전자장치(100)에서 TV기능을 실행하기 위해 제2 코어(163)의 활성화신호를 코어할당부(162)로 제공하여 제2 코어(163)를 활성화한다. 이때, 제2 코어(163)를 포함하는 추가코어를 활성화하기 위한 동작은 하기의 도 4를 이용하여 보다 구체적으로 설명하기로 한다. 도 4는 본 발명의 일 실시 예에 따른 추가코어를 활성화하는 자원 할당 방법을 설명하기 위한 상세순서도이다. In step 305, the task confirmation unit 161 provides the activation signal of the second core 163 to the core assignment unit 162 to execute the TV function in the electronic device 100 to activate the second core 163. . At this time, the operation for activating the additional core including the second core 163 will be described in more detail with reference to FIG. 4 below. 4 is a detailed flowchart illustrating a resource allocation method for activating an additional core according to an embodiment of the present invention.

도 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 step 401, the core allocating unit 162 controls activation of the second core 164 to execute the TV function. In step 403, the second core 164 executes the TV function to receive the first TV data from the outside. The control unit 160 displays the first image data included in the received first TV data on the display unit 130. In addition, the control unit 160 outputs the first sound data included in the received first TV data to the speaker SPK of the audio processing unit 150.

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 step 405, the task confirmation unit 161 is configured to check other TV channels, that is, second TV data, together with the first image data on the display unit 130 on which the first image data is displayed from the communication unit 110 or the input unit 120. When a TV channel additional signal is received, step 407 is performed. Conversely, if no additional TV channel signal is received, the process returns to step 307 of FIG. 3. In step 407, the core allocating unit 162 activates at least one of the third core 165 or the fourth core 166. More specifically, the task confirmation unit 161 checks the traffic amount of the second TV data. If the checked traffic amount is less than the resource amount of the remaining second core 164 used for the first TV data, the task confirmation unit 161 does not activate the additional core, and uses the second core 164 to remove the traffic. 2 TV data can be received. Conversely, if the checked traffic amount is greater than or equal to the resource amount of the remaining second core 164 used for the first TV data, the third core 165 or the fourth core 166 An activation signal is provided to the core allocating unit 162 to activate at least one core. The core allocating unit 162 activates at least one core of the third core 165 or the fourth core 166 based on the activation signal. In the present invention, activating the third core 165 will be described as an example.

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 core allocating unit 162 in step 409 receives second TV data from the outside. The control unit 160 displays the second image data included in the received second TV data on the display unit 130. At this time, the control unit 160 places the second image data on a part of the first image data and displays it on the display unit 130. In this case, the control unit 160 may overlay and display the second image data on a part of the first image data. In addition, the control unit 160 may not output the second sound data included in the received second TV data through the speaker SPK of the audio processing unit 150.

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 step 411, when the signal for terminating the reception of the added TV channel, that is, the second TV data, is received from the communication unit 110 or the input unit 120, the task confirmation unit 161 performs step 413. In step 413, the task confirmation unit 161 provides the deactivation signal of the third core 165 receiving the second TV data to the core allocating unit 162, and the core allocating unit 162 is configured based on the deactivation signal. 3 Deactivate the core 165. In step 415, the controller 160 deletes the second image data displayed in the form of an overlay on the first image data, rearranges the image data displayed on the display 130, and returns to step 307 of FIG. 3.

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 step 307, the task confirmation unit 161 performs step 309 when the TV OFF signal for deactivating the television is received from the communication unit 110 or the input unit 120. Conversely, if the TV OFF signal is not received, the task confirmation unit 161 waits to receive the TV OFF signal. In step 309, the task confirmation unit 161 provides a signal for terminating the TV function running in the electronic device 100 to the core allocation unit 162. Under the control of the core allocating unit 162, the second core 164 ends receiving TV data to end the TV function. In step 311, the core allocating unit 162 deactivates the second core 164 activated to execute the TV function.

도 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 electronic device 100, the core allocating unit 162 activates the first core 163. Thereafter, the task confirmation unit 161 may receive a TV ON signal for activating the television from the communication unit 110 or the input unit 120 that communicates with an external device such as a remote control or a smart phone. When the TV ON signal is received, when the additional core excluding the first core 163, that is, the second core 164 is set to be activated, the task confirmation unit 161 cores the activation signal for activating the second core 164 It is provided to the allocation unit 162. Accordingly, the core allocating unit 162 activates the second core 164 based on the activation signal. The activated second core 164 receives the first TV data from an external network or the like, and the controller 160 first video data 510 included in the first TV data received from the second core 164. Is displayed on the display unit 130 as shown in Fig. 5 (a). At this time, the control unit 160 outputs the first sound data included in the first TV data to the speaker SPK of the audio processing unit 150.

도 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 display unit 130, the task confirmation unit 161 checks the second TV data different from the first TV data from the communication unit 110 or the input unit 120. It can receive an additional signal for TV channels. The task confirmation unit 161 may check the traffic amount of the second TV data based on the TV channel additional signal. If the traffic amount of the second TV data is less than the resource amount of the remaining second core 164 after the second TV data is used for the first TV data, the task confirmation unit 161 does not activate the additional core and uses the second core 164. Can be used to receive the second TV data. Conversely, if the checked traffic amount is greater than or equal to the resource amount of the remaining second core 164 used for the first TV data, the third core 165 or the fourth core 166 An activation signal is provided to the core allocating unit 162 to activate at least one core. The core allocating unit 162 activates at least one core of the third core 165 or the fourth core 166 based on the activation signal. In the present invention, activating the third core 165 will be described as an example. The third core 165 receives second TV data from an external network or the like, and the control unit 160 receives the second image data 520 included in the second TV data received through the third core 165. As shown in (b) of FIG. 5, it is overlaid on the top of the first image data 510 for display.

표시부(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 first image data 510 and the second image data 520 are displayed on the display unit 130 as shown in FIG. 5(b), the task confirmation unit 161 is removed from the communication unit 110 or the input unit 120. The TV channel additional signal for additionally checking the 3 TV data and the 4th TV data may be sequentially received. The task confirmation unit 161 may check the traffic amount of the third TV data and the fourth TV data, respectively, based on the TV channel additional signal. As a result of checking the amount of traffic between the third TV data and the fourth TV data, if it is possible to receive the third TV data and the fourth TV data using the third core 165, the third core 165 is the third TV Data and fourth data are received. The control unit 160 receives the third image data and the fourth image data included in the third TV data and the fourth TV data received from the third core 165, respectively, in FIGS. 5(c) and 5(d). As described above, the first image data 510 may be overlaid and displayed.

아울러, 제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 task confirmation unit 161 may transmit the fourth core 166. An activation signal for activation is provided to the core allocation unit 162. The core allocating unit 162 activates the fourth core 166 based on the activation signal. The activated fourth core 166 receives the fourth TV data, and the controller 160 receives the fourth image data 540 included in the fourth TV data received from the fourth core 166 (d) As shown in ), the first image data 510 may be overlaid and displayed. At this time, since the first TV data to the fourth TV data have different network bandwidths according to channel types such as UHD, Pre-UHD, and Full HD, the amount of traffic is different according to the channel type.

또한, 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 task confirmation unit 161 checks whether the first TV data can be received from the external network using the first core 163. . To this end, the task confirmation unit 161 may compare the amount of traffic required for receiving the first TV data with the amount of resources available in the first core 163. As a result of comparison, if the first TV data can be received using the first core 163, the first core 163 receives the first TV data, and the control unit 160 is included in the received first TV data. The first image data 510 is displayed on the display unit 130 as shown in FIG. 5A. At this time, the control unit 160 outputs the first sound data included in the first TV data to the speaker SPK of the audio processing unit 150.

도 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 step 601 that power including standby power is input to the electronic device 100, the task confirmation unit 161 included in the control unit 160 executes a signal for executing the first task. Is provided to the core allocation unit 162. The core assignment unit 162 activates the first core 163 to execute the first task. At this time, the first task refers to a modem function that enables the electronic device 100 to use the Internet.

603단계에서 제어부(160)는 스마트 폰, 노트북 등의 외부장치와 통신을 수행하는 통신부(110)를 통해 외부장치로부터 전자장치(100)를 AP로 사용하여 무선 인터넷을 사용하기 위한 WiFi 접속신호가 수신되면 605단계를 수행한다. 605단계에서 제어부(160)는 외부장치에서 전자장치(100)를 통해 무선 인터넷을 사용할 수 있도록 WiFi에 접속을 수행한다. In step 603, the control unit 160 uses the electronic device 100 from the external device as an AP through the communication unit 110 that communicates with an external device such as a smart phone or a laptop, and a WiFi access signal for using the wireless Internet is provided. When received, step 605 is performed. In step 605, the control unit 160 accesses WiFi so that the external device can use the wireless Internet through the electronic device 100.

607단계에서 태스크확인부(161)는 외부장치에서 사용하는 무선 인터넷의 트래픽 양을 실시간 또는 주기적으로 확인하여 추가코어의 할당이 필요한지 여부를 확인한다. 예컨대, 외부장치가 전자장치(100)를 통해 무선 인터넷에 접속하여 사용하는 트래픽 양이 제1 코어(163)의 잔여 리소스 양보다 적으면 추가코어가 필요하지 않은 것으로 확인하여 상기 프로세스를 종료할 수 있다. 반대로, 외부장치가 전자장치(100)를 통해 무선 인터넷에 접속하여 사용하는 트래픽 양이 제1 코어(163)의 잔여 리소스 양보다 많으면 추가코어가 필요한 것으로 확인하여 609단계를 수행한다. In step 607, the task confirmation unit 161 checks in real time or periodically the amount of traffic of the wireless Internet used by the external device to determine whether additional core allocation is necessary. For example, when the amount of traffic used by the external device accessing the wireless Internet through the electronic device 100 is less than the remaining resource amount of the first core 163, the process may be terminated by determining that no additional core is needed. have. Conversely, if the amount of traffic used by the external device accessing the wireless Internet through the electronic device 100 is greater than the remaining resource amount of the first core 163, it is determined that an additional core is required and operation 609 is performed.

609단계에서 태스크확인부(161)는 외부장치가 사용하는 트래픽 양을 확인하고, 확인된 트래픽 양보다 리소스 양이 큰 추가코어 예컨대, 제2 코어(164)를 활성화하기 위한 활성화신호를 코어할당부(162)로 제공한다. 코어할당부(162)는 활성화신호를 기반으로 제2 코어(164)를 활성화하고 외부장치로부터 수신되는 무선 인터넷 사용 요청신호에 대응되는 동작을 실행한다.In step 609, the task verification unit 161 checks the amount of traffic used by the external device, and the core allocation unit activates an activation signal for activating the additional core, for example, the second core 164, which has a larger resource amount than the identified traffic amount. (162). The core allocating unit 162 activates the second core 164 based on the activation signal and executes an operation corresponding to a request signal for using the wireless Internet received from an external device.

611단계에서 태스크확인부(161)는 외부장치로부터 무선 인터넷으로의 접속을 종료하기 위한 신호가 수신되면 613단계를 수행하여 제2 코어(164)를 비활성화한다. 반대로, 무선 인터넷으로의 접속을 종료하기 위한 신호가 수신되지 않으면 607단계로 회귀하여 상기의 동작을 지속적으로 수행할 수 있다. In step 611, when the signal for terminating the connection to the wireless Internet is received from the external device, the task confirmation unit 161 performs step 613 to deactivate the second core 164. Conversely, if a signal for terminating the connection to the wireless Internet is not received, the process returns to step 607 to continuously perform the above operation.

본 명세서와 도면에 개시된 본 발명의 실시 예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 범위는 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.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)

전자장치가 제1 태스크 실행을 위한 제1 코어를 활성화하는 단계;
상기 전자장치가 외부로부터 복수개의 태스크 중 제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.
제1항에 있어서,
상기 제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 코어를 활성화하도록 설정된 상태이면, 상기 제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.
제3항에 있어서,
상기 제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.
제4항에 있어서,
상기 제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.
제4항에 있어서,
상기 제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.
제6항에 있어서,
상기 적어도 하나의 제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.
제8항에 있어서,
상기 제어부는,
상기 제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.
제9항에 있어서,
상기 태스크확인부는,
상기 제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.
제10항에 있어서,
상기 태스크확인부는,
살기 제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.
제11항에 있어서,
상기 태스크확인부는,
대기전력을 포함하는 전력 인입 시 인터넷에 연결하는 상기 제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.
제11항에 있어서,
상기 태스크확인부는,
상기 입력부로부터 상기 복수개의 태스크 중 적어도 하나의 제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.
제13항에 있어서,
상기 태스크확인부는,
상기 입력부로부터 상기 적어도 하나의 제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.
KR1020180150946A 2018-11-29 2018-11-29 Method for Allocation of Resource of Electric Apparatus has Multi-Core and Thereof KR20200064632A (en)

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)

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