KR101470744B1 - A user terminal and method for managing process of the user terminal - Google Patents

A user terminal and method for managing process of the user terminal Download PDF

Info

Publication number
KR101470744B1
KR101470744B1 KR20130078923A KR20130078923A KR101470744B1 KR 101470744 B1 KR101470744 B1 KR 101470744B1 KR 20130078923 A KR20130078923 A KR 20130078923A KR 20130078923 A KR20130078923 A KR 20130078923A KR 101470744 B1 KR101470744 B1 KR 101470744B1
Authority
KR
South Korea
Prior art keywords
mode
user
execution mode
operating
state
Prior art date
Application number
KR20130078923A
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 KR20130078923A priority Critical patent/KR101470744B1/en
Application granted granted Critical
Publication of KR101470744B1 publication Critical patent/KR101470744B1/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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • 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]

Abstract

The present invention relates to a user terminal and a method for managing a process. The user terminal comprises a control unit and a task scheduler unit. The control unit generates a first process matched with one or more programs and removes the first process according to the termination of a program. The task scheduler unit controls the first process to be operated as a preparation mode, an execution mode, and a standby mode during each setting time; is in a user standby state for outputting signals inputted from a user while the first process is operated in the execution mode; and extends the execution mode operation time of the first process when the first process is displayed on a display. The present invention is provided to perform exclusive execution for a low process when the performance of the corresponding process is higher than the performance of the other process until the input of a user of the present invention is outputted, thereby remarkably reducing execution time from the input of the user to the output of the user and reducing standby time of the user.

Description

사용자 단말기 및 그의 프로세스 관리 방법{A USER TERMINAL AND METHOD FOR MANAGING PROCESS OF THE USER TERMINAL}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a user terminal,

본 발명은 사용자 단말기 및 그의 프로세스 관리 방법에 관한 것으로, 더욱 상세하게는 여러 프로세스가 동시에 동작하는 경우에, 프로세스의 효율적인 자원 할당을 통해 사용자 대기 시간을 최소화할 수 있는 사용자 단말기 및 그의 프로세스 관리 방법에 관한 것이다. The present invention relates to a user terminal and a method for managing a process thereof, and more particularly, to a user terminal and a method for managing a process thereof, which can minimize user latency through efficient resource allocation of a process .

일반적으로 여러 프로그램을 동시에 수행하는 유닉스, 리눅스, 윈도우즈, 안드로이드 등과 같이 다수의 프로그램을 수행하는 운영체제를 사용하는 사용자 단말기는 여러 프로그램을 동시에 수행할 수 있는 멀티 태스킹 기능을 가지고 있다.In general, a user terminal using an operating system that executes a plurality of programs such as Unix, Linux, Windows, and Android which performs a plurality of programs at the same time has a multi-tasking function capable of executing a plurality of programs at the same time.

이러한, 멀티 태스킹 기능을 갖는 운영체제는 여러 프로그램을 번갈아 가면서 수행함으로써, 여러 프로그램이 동시에 수행되는 것과 같은 효과를 얻는데, 실제적으로는 각 프로그램이 실행 시작되면 프로그램을 수행하는 실체인 프로세스를 만들고, 이 프로세스를 번갈아가며 수행하면서 멀티 태스킹을 하게 된다. Such an operating system having a multitasking function performs various programs alternately, thereby achieving the same effect as when a plurality of programs are simultaneously executed. In practice, when each program starts to be executed, a process which is an entity that executes the program is created, To perform multitasking.

프로세스는 프로그램의 실행으로 시작되어, 실행상태, 준비상태, 대기상태를 전환하면서 동작하고, 실행상태일 때 실제 프로그램이 수행되며, 준비 또는 대기상태에서는 프로그램의 수행을 기다리거나 다른 자원을 위해 대기한다. The process starts with the execution of the program, and operates while switching between the execution state, the preparation state, and the standby state. When the execution state, the actual program is executed. In the preparation or standby state, the program waits for execution or waits for another resource .

한편, 프로세스의 상태 전환은 운영체제의 핵심 기능에 해당되는 태스크 스케줄러에 의해 제어되며, 프로그램 수행이 실제로 일어나는 것은 프로세스가 실행상태에 있을 때만 해당되고, 기타 상태의 경우 프로그램의 진행이 멈춰있게 된다.On the other hand, the state transition of a process is controlled by a task scheduler corresponding to a core function of the operating system, and the actual execution of the program is only performed when the process is in the execution state. In other cases, the program is stopped.

현재 태스크 스케줄러에서 동작하는 한 프로그램의 실행은 다른 프로그램과 경쟁하며 수행하게 된다. 이로 인해, 사용자와 상호 대화식으로 동작하는 프로그램의 경우, 타 프로그램과 경쟁하여 수행하기 때문에, 사용자의 입력에 대한 결과를 표시하는 동안 타 프로그램이 수행되면 타 프로그램에 의해 방해 받게 되어 결과 표시에 대한 응답이 지연되는 문제점이 있다. The execution of one program currently running in the task scheduler is performed in competition with another program. Accordingly, in the case of a program that interacts with the user, the program is performed in competition with another program. Therefore, if another program is executed while displaying the result of the user's input, the program is interrupted by another program, There is a problem of delay.

본 발명의 배경이 되는 기술은 대한민국 특허등록번호 제10-0668228호(2007. 01. 16 공고)에 기재되어 있다.The technology to be the background of the present invention is described in Korean Patent Registration No. 10-0668228 (published on Jan. 16, 2007).

따라서 본 발명이 이루고자 하는 기술적 과제는 여러 프로세스가 동시에 동작하는 경우에, 프로세스의 효율적인 자원 할당을 통해 사용자 대기 시간을 최소화할 수 있는 사용자 단말기 및 그의 프로세스 관리 방법에 관한 것이다.SUMMARY OF THE INVENTION Accordingly, the present invention is directed to a user terminal and a method for managing the same, which can minimize a user's waiting time through efficient resource allocation of a process when several processes simultaneously operate.

이러한 기술적 과제를 이루기 위한 본 발명의 실시예에 따른 사용자 단말기는, 적어도 하나의 프로그램에 매칭되는 제1 프로세스를 생성하고, 상기 프로그램의 종료에 따라 상기 제1 프로세스를 소멸시키는 제어부; 및 상기 제1 프로세스가 준비, 실행 및 대기 모드로 각각 설정 시간 동안 동작하도록 제어하며, 상기 제1 프로세스가 실행 모드로 동작하는 동안에, 사용자로부터 입력된 신호를 출력하기 위한 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있으면, 상기 제1 프로세스의 실행 모드 동작 시간을 연장하는 태스크 스케줄러부를 포함한다.According to an aspect of the present invention, there is provided a user terminal, comprising: a control unit for generating a first process matching at least one program and for canceling the first process upon termination of the program; And a control unit for controlling the first process to operate in a standby mode and a standby mode, respectively, during a set time period, while the first process is operating in an execution mode, And if the process occupies the display, extends the execution mode operating time of the first process.

여기서, 태스크 스케줄러부는 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 데이터 입출력에 대해 설정된 시간 동안 대기가 발생하면, 상기 제1 프로세스를 대기 모드로 전환한 후 상기 준비 모드로 동작 중인 상기 사용자 대기 상태의 제2 프로세스를 실행 모드로 동작시킬 수 있다.Here, the task scheduler unit may switch the first process to the standby mode when the first process is operating in the execution mode and wait for the set time for the data input / output, The second process of FIG.

여기서, 상기 태스크 스케줄러부는, 상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 데이터 입출력에 대해 설정된 시간 동안 대기가 발생하면서 상기 준비 모드로 동작중인 상기 사용자 대기 상태의 프로세스가 없으면, 상기 준비 모드로 동작 중인 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시킬 수 있다.Here, the task scheduler may be configured such that, while the first process is operating in the execution mode, if there is no process in the user waiting state that is operating in the preparation mode while waiting for a predetermined time for the data input / output, It is possible to operate in a run mode with a process having a long time being operated as a priority.

여기서, 상기 태스크 스케줄러부는, 상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있지 않고, 상기 준비 모드 상태의 프로세스들 중 상기 사용자 대기 상태의 프로세스가 없으면, 상기 준비 모드로 동작 중인 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시킬 수 있다.Here, the task scheduler may be configured such that, while the first process is operating in the execution mode, when the first process is not occupying the display while the user is in the standby state and the process is in the standby state If there is no process, it is possible to operate the process in the execution mode with the process having a long time in the preparation mode as a priority.

여기서, 상기 태스크 스케줄러부는, 상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있지 않고, 상기 준비 모드 상태의 프로세스가 존재하지 않으면, 상기 제1 프로세스의 실행 모드 동작을 유지할 수 있다.Here, if the first process is not occupying the display and the process in the ready mode state does not exist while the first process is operating in the execution mode, and the task scheduler unit is in the user waiting state and the first process is not occupying the display, 1 < / RTI > process.

여기서, 상기 태스크 스케줄러부는, 상기 제1 프로세스가 상기 실행 모드의 동작이 끝난 후 상기 준비 모드 상태 프로세스 들 중 상기 사용자 대기 상태의 프로세스가 존재하면, 상기 제2 프로세스를 실행 모드로 동작시키며, 상기 제1 프로세스가 상기 실행 모드의 동작이 끝난 후 상기 준비 모드 상태의 프로세스들 중 상기 사용자 대기 상태의 프로세스가 존재하지 않으면, 상기 준비 모드 상태의 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시킬 수 있다.Here, the task scheduler may operate the second process in an execution mode when the first process is in the user standby state among the ready mode state processes after the operation of the execution mode is finished, If the process is not in the user waiting state among the processes in the ready mode state after the operation of the execution mode is finished, the process can be operated in the execution mode with the long time process in the ready mode state as a priority have.

여기서, 상기 태스크 스케줄러부는 상기 제2 프로세스가 복수인 경우에, 사용자 입력 대기 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시킬 수 있다.Here, the task scheduler unit may operate in a run mode with a process having a long user input waiting time as a priority when the second process is a plurality of processes.

여기서, 사용자 단말기는 상기 제1 프로세스 및 상기 제2 프로세스의 변경된 모드 동작에 대한 상태를 확인하여 상기 태스크 스케줄러부로 제공하는 상태 확인부를 더 포함할 수 있다.Here, the user terminal may further include a status confirmation unit for checking the status of the changed mode operation of the first process and the second process and providing the status to the task scheduler unit.

본 발명의 다른 실시예에 따른 적어도 하나의 프로그램을 포함하는 사용자 단말기의 프로세스 관리 방법은, 상기 프로그램에 매칭되는 적어도 하나의 프로세스가 준비, 실행 및 대기 모드로 각각 설정 시간 동안 동작하도록 제어하는 단계; 및 상기 복수의 프로세스 중에서 제1 프로세스가 실행 모드로 동작하는 동안에, 사용자로부터 입력된 신호를 출력하기 위해 대기하는 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있으면, 상기 제1 프로세스의 실행 모드 동작 시간을 연장하는 단계를 포함한다.A method of managing a process of a user terminal including at least one program according to another embodiment of the present invention includes the steps of: controlling at least one process matched to the program to operate in a standby mode and a standby mode, respectively, for a set time; And when the first process occupies the display while the first process is operating in the execution mode and the user is waiting to output a signal input from the user and the first process occupies the display, And extending the operating time.

이와 같이 본 발명에 따르면, 사용자로부터 입력된 정보를 출력할 때까지 해당 프로세스의 수행이 타 프로세스보다 높게 설정되어 낮은 프로세스에 대한 배타적인 실행이 가능함으로써, 사용자의 입력으로부터 출력까지의 실행 시간을 현저히 줄여 사용자의 대기 시간을 크게 줄일 수 있는 효과를 기대할 수 있다.As described above, according to the present invention, execution of a process is set higher than that of other processes until output of information input from a user is possible, so that execution can be performed exclusively for a lower process, The waiting time of the user can be greatly reduced.

또한, 프로그램 동작에 따라 프로세스 생성, 준비, 실행, 대기, 소멸 모드로 동작하여, 복수의 프로세스 운용에 따른 프로세서의 동작을 효율적으로 관리할 수 있는 장점이 있다. In addition, there is an advantage in that the operation of the processor according to a plurality of process operations can be efficiently managed by operating in the process creation, preparation, execution, standby, and extinction modes according to the program operation.

도1은 본 발명의 실시예에 따른 태스크 스케줄러부가 적용된 사용자 단말기를 도시한 도면이다.
도 2는 본 발명의 실시예에 따른 사용자 단말기에 적용된 태스크 스케줄러부의 프로세스 관리 동작을 개략적으로 도시한 도면이다.
도 3은 본 발명의 실시예에 따른 태스크 스케줄러부의 프로세스 관리 방법을 나타낸 순서도이다.
도 4는 본 발명의 실시예에 따른 태스크 스케줄러부의 프로세스 실행 모드의 시간 연장을 설명하기 위한 도면이다.
도 5는 본 발명의 실시예에 따른 태스크 스케줄러부의 프로세스 관리를 설명하기 위한 도면이다.
1 is a diagram illustrating a user terminal to which a task scheduler unit according to an embodiment of the present invention is applied.
2 is a diagram schematically illustrating a process management operation of a task scheduler unit applied to a user terminal according to an embodiment of the present invention.
3 is a flowchart illustrating a process management method of the task scheduler unit according to an embodiment of the present invention.
FIG. 4 is a view for explaining an extension of time of the process execution mode of the task scheduler unit according to the embodiment of the present invention. FIG.
5 is a diagram for explaining process management of a task scheduler unit according to an embodiment of the present invention.

아래에서는 첨부한 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, which will be readily apparent to those skilled in the art. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. Throughout the specification, when an element is referred to as "comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention.

도1은 본 발명의 실시예에 따른 태스크 스케줄러부가 적용된 사용자 단말기를 도시한 도면이다. 1 is a diagram illustrating a user terminal to which a task scheduler unit according to an embodiment of the present invention is applied.

도 1에 나타낸 바와 같이, 본 발명의 실시예에 따른 사용자 단말기(100)는 사용자 입력부(110), 데이터 입출력부(120), 제어부(130), 상태 확인부(140), 태스크 스케줄러부(150) 및 디스플레이부(160)를 포함한다.1, a user terminal 100 according to an exemplary embodiment of the present invention includes a user input unit 110, a data input / output unit 120, a controller 130, a status check unit 140, a task scheduler 150 And a display unit 160.

먼저, 본 발명의 실시예에 따른 사용자 단말기(100)는 스마트폰, 패드, 탭, 노트북 등과 같이 적어도 하나의 프로세서를 포함하여, 운영 체제하에서 특정 프로그램들을 동작 시킬 수 있는 환경을 갖는 모든 단말기를 포함한다.First, the user terminal 100 according to an embodiment of the present invention includes all terminals having an environment capable of operating specific programs under an operating system, including at least one processor such as a smart phone, a pad, a tap, do.

사용자 입력부(110)는 사용자로부터 입력받는 정보를 제어부(130)에 포함된 프로그램의 프로세스로 제공한다. The user input unit 110 provides information received from a user to a process of a program included in the control unit 130.

데이터 입출력부(120)는 제어부(130)의 데이터 입출력(Input/Output)을 관리하며, 네트워크를 통해 서버들(생략)로부터 수신한 데이터를 제어부(130)로 제공하고, 그에 따른 결과를 수신하여 해당 서버로 제공한다. The data input / output unit 120 manages data input / output of the control unit 130 and provides data received from the servers (omitted) through the network to the control unit 130 and receives the results thereof Provided to the server.

제어부(130)는 프로세서를 포함하여, 윈도우, 맥(Mac), 리눅스 등의 운영 체제(Operating System)와 운영 체제 하에서 동작하는 복수의 응용 프로그램들을 제어 및 관리하며, 운영 체제를 실행시키고, 운영 체제 하에서 사용자로부터 입력된 신호를 통해 응용 프로그램을 실행시키거나 종료시킨다.The control unit 130 controls and manages a plurality of application programs operating under an operating system such as a Windows, a Mac, and a Linux, including a processor, executes an operating system, The application program is executed or terminated through a signal input from the user under the control of the user.

또한, 제어부(130)는 태스크 스케줄러부(150)에 의해 할당된 프로세스들의 동작에 대한 연산을 수행하며, 사용자 입력부(110)와 데이터 입출력부(120)를 통해 입력되는 데이터를 수신하여 복수의 프로세스 동작을 제어한다.The control unit 130 performs an operation on the operations of the processes allocated by the task scheduler unit 150 and receives data input through the user input unit 110 and the data input and output unit 120, And controls the operation.

또한, 제어부(130)는 운영 체제를 통해 프로세스의 동작 부하에 따라, 프로세서의 클럭(Clock)을 조절하며, 고성능이 필요한 프로세스인 경우에는 높은 속도로 프로세서가 동작하도록 클럭을 제어할 수도 있다.In addition, the controller 130 controls the clock of the processor according to the operation load of the process through the operating system, and may control the clock to operate the processor at a high speed in case of a process requiring high performance.

한편, 본 발명의 실시예에 따른 제어부(130)의 각 프로그램은 사용자 입력을 진행하는 중에 설정된 시간 동안 사용자로부터 입력되는 정보가 없으면, 사용자 대기가 있음을 운영 체제로 알리는 호출을 하며, 사용자에 대한 응답 처리 부분까지 프로그램을 수행한 후에 사용자 대기가 종결되었음을 운영체체로 알리는 호출을 한다.Meanwhile, each program of the control unit 130 according to the embodiment of the present invention makes a call to inform the operating system that there is a user waiting, if there is no information input from the user during the set time during user input, After executing the program up to the response processing part, it makes a call to inform the operating system that the user wait is terminated.

상태 확인부(140)는 운영체제 하에서 동작되는 프로그램들의 프로세스 생성, 준비, 대기, 실행, 소멸 모드 동작에 대한 프로세스 상태 정보를 실시간으로 확인하여 태스크 스케줄러부(150)로 제공한다.The status verifying unit 140 checks the process status information of the processes for preparing, preparing, waiting, executing, and extinguishing mode of programs operating under the operating system in real time and provides them to the task scheduler unit 150.

태스크 스케줄러부(150)는 적어도 하나의 태스크 스케줄러를 포함하며, 상태 확인부(140)를 통해 확인된 복수의 프로세스들의 상태 정보(프로세스 생성, 준비, 대기, 실행, 소멸 모드)를 수신하고, 각 수신된 상태 정보를 기초로 프로세스들의 동작을 제어하는 기능을 한다. 이때, 태스크 스케줄러부(150)는 프로세스를 준비, 대기, 실행 모드로 동작하는 경우, 각각 동일하게 설정된 시간 동안 해당 모드를 수행한다. The task scheduler unit 150 includes at least one task scheduler and receives status information (process generation, preparation, standby, execution, and extinction modes) of a plurality of processes identified through the status check unit 140, And controls the operation of the processes based on the received status information. At this time, when the task scheduler unit 150 operates in the preparation mode, standby mode, and execution mode, the task scheduler unit 150 performs the corresponding mode for the same set time.

또한, 태스크 스케줄러부(150)는 디스플레이부(160)와의 연동을 통해 디스플레이부(160)를 점유하는 프로세스와 디스플레이부(160)를 점유하고 있지 않은 프로세스를 구분하여 프로세스 동작을 제어하는 기능을 한다. The task scheduler unit 150 functions to control a process operation by distinguishing a process occupying the display unit 160 and a process not occupying the display unit 160 through interlocking with the display unit 160 .

여기서, 본 발명의 실시예에 따른 태스크 스케줄러부(150)는 하나의 태스크 스케줄러를 포함하여 통합적인 관리를 하지만, 복수의 태스크 스케줄러를 포함하여 프로그램 종류별 혹은 분야별로 나누어 프로그램들을 제어 및 관리할 수도 있다.Here, the task scheduler unit 150 according to the embodiment of the present invention includes one task scheduler to perform integrated management, but may also control and manage programs by dividing the task scheduler by program type or field .

디스플레이부(160)는 사용자에게 정보를 출력하여 제공할 수 있는 디스플레이 기기를 포함하며, 사용자 입력부(110)로부터 입력되는 정보를 출력하여 사용자에게 제공한다. 또한, 디스플레이부(160)는 제어부(130) 및 태스크 스케줄러부(150)에서 처리되는 정보를 출력하여 사용자에게 제공한다.The display unit 160 includes a display device capable of outputting information to a user, and outputs information input from the user input unit 110 to the user. Also, the display unit 160 outputs information processed by the control unit 130 and the task scheduler unit 150 and provides the information to the user.

한편, 본 발명의 실시예에서는 사용자 입력부(110)와 디스플레이부(160)를 별도의 장치로 구분하였지만, 터치 패널이 구비된 디스플레이 기기와 같이 하나의 기기로 구현될 수 있으며, 동시에 입출력 기능이 가능한 다양한 디스플레이를 이용하여 구현될 수도 있다.In the embodiment of the present invention, the user input unit 110 and the display unit 160 are classified into separate devices. However, the present invention can be implemented as a single device, such as a display device having a touch panel, Or may be implemented using a variety of displays.

다음은 도2 내지 도 5를 통해 본 발명의 실시예에 따른 사용자 단말기에 적용된 태스크 스케줄러부의 동작 방법에 대하여 상세히 설명한다.Next, an operation method of the task scheduler unit applied to the user terminal according to the embodiment of the present invention will be described in detail with reference to FIG. 2 through FIG.

도 2는 본 발명의 실시예에 따른 사용자 단말기에 적용된 태스크 스케줄러부의 프로세스 관리 동작을 개략적으로 도시한 도면이다.2 is a diagram schematically illustrating a process management operation of a task scheduler unit applied to a user terminal according to an embodiment of the present invention.

도 2에 나타낸 바와 같이, 본 발명의 실시예에 따른 사용자 단말기(100)에 적용된 태스크 스케줄러부(150)는 상태 확인부(140)와의 연동을 통해 실시간으로 제어부(130)에 의해 실행된 복수의 프로세스들에 대한 상태를 확인하고, 이를 통해 각 프로세스들의 동작을 제어 및 관리한다.2, the task scheduler unit 150 applied to the user terminal 100 according to an exemplary embodiment of the present invention includes a plurality of Checks the status of processes and controls and manages the behavior of each process.

먼저, 태스크 스케줄러부(150)는 준비, 실행 및 대기 모드를 포함하여, 각각의 모드에 대하여 설정된 시간 동안 해당 모드의 동작을 수행하게 된다.First, the task scheduler unit 150 performs the operation of the corresponding mode for the set time for each mode, including preparation, execution, and standby mode.

태스크 스케줄러부(150)는 제어부(130)에 의해 실행된 프로그램에 매칭되어 프로세스가 생성되면, 생성된 프로세스를 설정된 시간 동안 준비 모드로 프로세스를 동작시킨다. 구체적으로, 태스크 스케줄러부(150)는 제어부(130)에 의해 실행된 프로그램들에 매칭되는 프로세스들을 각각 설정된 시간 동안에 준비 모드로 동작하도록 제어하고(S200), 준비 모드의 프로세스들에 순차적으로 프로세서를 할당하여 실행 모드로 변경한다(S202). 여기서, 준비 모드는 프로세스가 대기(Stand by)된 상태로, 언제든 다시 실행 모드로 진행할 수 있는 준비 상태이며, 실행 모드는 운영체제에 의해 프로세서가 할당되어 프로그램이 실행 중인 상태이다. The task scheduler unit 150 matches the program executed by the control unit 130 to generate a process, and operates the process in the prepared mode for a predetermined time. Specifically, the task scheduler unit 150 controls the processes matched with the programs executed by the controller 130 to operate in the ready mode for each set time (S200), and sequentially transmits the processors to the processes in the ready mode And changes to the execution mode (S202). Here, the ready mode is a state in which the process is in a standby state and can always proceed to the execution mode again. The execution mode is a state in which the processor is allocated by the operating system and the program is running.

여기서, 태스크 스케줄러부(150)는 준비 모드로 동작하고 있는 프로세스들 중에, 사용자 대기 상태를 갖는 프로세스를 포함할 수 있다. 이때, 사용자 대기 상태는 프로세스가 실행 중일 때 사용자로부터 입력된 신호에 대한 출력이 늦어 준비 모드로 변경된 상태로, 해당 프로세스의 동작에 대한 입력 신호를 사용자로부터 수신하는 경우에, 프로세스를 준비 모드에서 실행 모드로 변경할 수도 있다. 여기서, 태스크 스케줄러부(150)는 준비 모드로 동작하는 프로세스들 중 준비 모드로 동작하는 시간이 긴 순서(오래된 순서)를 우선 순위로 실행 모드로 변경할 수 있다. Here, the task scheduler unit 150 may include a process having a user waiting state among the processes operating in the ready mode. At this time, in the user standby state, when the process is being executed, the output of the signal inputted by the user is delayed and changed to the ready mode, and when the input signal for the operation of the process is received from the user, Mode. Here, the task scheduler unit 150 may change the order of the long-time (old order) operating in the ready mode among the processes operating in the ready mode to the execution mode with priority.

그리고, 태스크 스케줄러부(150)는 프로세스가 실행모드로 동작하면, 설정된 시간 동안 프로세스를 활성화하고, 설정된 시간이 지나면, 프로세서 할당을 해제하여 준비 모드로 변경한다(S204). When the process operates in the execution mode, the task scheduler unit 150 activates the process for the set time, and when the set time has elapsed, the task scheduler unit 150 cancels the processor assignment and changes to the ready mode (S204).

여기서, 태스크 스케줄러부(150)는 아래에서 설명하는 2가지 경우에, 실행 모드인 프로그램을 준비 모드 또는 대기 모드로 변환시킬 수 있다. Here, the task scheduler unit 150 can convert a program, which is an execution mode, into a preparation mode or a standby mode in the following two cases.

첫 번째로, 태스크 스케줄러부(150)는 프로세스가 실행 모드로 동작할 수 있는 시간을 할당하여, 실행 모드의 프로세스에 대해 할당된 시간이 종료되면 준비 모드로 변환시키고, 준비모드에 있는 다른 프로세스를 실행 모드로 변환시킨다. First, the task scheduler unit 150 allocates a time for the process to operate in the execution mode, converts the process into the ready mode when the allocated time for the process in the execution mode ends, Into the execution mode.

예를 들면, 태스크 스케줄러부(150)는 실행 모드인 A라는 프로세스에 대해 2ms 동안 실행시킨 뒤 준비 모드로 전환하고, 그 뒤, 준비 모드였던 B라는 프로세스에 대해 마찬가지로 2ms 동안 실행시킨다. For example, the task scheduler unit 150 executes the process A for 2 ms and then switches to the ready mode. Then, the task scheduler unit 150 executes the process B for 2 ms in the preparation mode.

두 번째로, 태스크 스케줄러부(150)는 프로세스가 실행 모드로 동작하는 중에 동작 지연에 대한 데이터 입출력(I/O; Input/Output) 대기 명령(데이터 입출력에 대한 대기 모드) 또는 기 설정된 시간에 동작하는 이벤트 명령(설정된 시간에 동작되는 특정 이벤트 시작/종료 등)을 데이터 입출력(I/O)부(120)나 제어부(130)로부터 수신하면, 실행중인 프로세스를 대기 모드로 변경한다(S206). Second, the task scheduler unit 150 may execute a data input / output (I / O) wait command (a standby mode for data input / output) for an operation delay while the process is operating in an execution mode, (I / O) unit 120 or the control unit 130, the process being executed is changed to the idle mode (S206).

예를 들면, 사용자가 스마트 폰에서 DMB 어플리케이션을 터치하면, DMB 프로그램에 대한 프로세스는 실행 모드가 되는데, 기지국으로부터 방송 신호를 수신하기 전까지는 실질적으로 DMB 프로세스가 바로 실행 모드로 동작할 수 없으므로, 태스크 스케줄러부(150)는 DMB 프로세스를 대기 모드로 전환시킨다. 여기서, 태스크 스케줄러부(150)는 할당된 시간인 2ms가 되기 전이라도 DMB 프로 세스를 대기 모드로 전환시킬 수 있다. For example, if the user touches the DMB application in the smartphone, the process for the DMB program becomes the execution mode. Since the DMB process can not operate in the execution mode until the broadcast signal is received from the base station, The scheduler unit 150 switches the DMB process to the standby mode. Here, the task scheduler unit 150 may switch the DMB process to the standby mode even before the allocated time is 2 ms.

여기서, 태스크 스케줄러부(150)는 기 설정된 시간에 의한 이벤트 발생 또는 설정된 데이터 입출력 발생 등을 수신하기 전까지 해당 프로세스는 동작하지 않는 상태가 된다.Here, the task scheduler unit 150 is in a state in which the corresponding process does not operate until the event scheduler unit 150 receives an event generated by a preset time or a set data input / output occurrence.

또한, 태스크 스케줄러부(150)는 프로세스가 대기 모드로 동작하는 중에 대기 중인 프로세스의 실행에 대한 데이터 입출력(I/O) 또는 이벤트를 수신하면, 해당 프로세스를 준비 모드로 변경한다(S208).When the task scheduler unit 150 receives a data input / output (I / O) or an event for execution of a waiting process while the process is operating in the standby mode, the task scheduler unit 150 changes the process to the ready mode (S208).

그리고, 실행 모드 중 사용자로부터 프로세스 종료 명령을 수신하면, 해당 프로세스를 소멸 모드로 진행하여 소멸시킨다(S210). Upon receiving the process end command from the user in the execution mode, the process advances to the extinction mode and extinguishes the process (S210).

한편, 태스크 스케줄러부(150)는 각 프로세스의 동작에 대한 우선 순위를 갖고, 우선 순위를 기초로 프로세스의 각 모드를 동작시킨다. 예를 들어, 각 모드에 복수의 프로세스가 실행 모드로 동작하기 위해 준비 모드로 대기 중인 경우, 태스크 스케줄러부(150)는 준비 모드의 각 프로세스들을 저장된 순서(준비 모드 상태의 시간이 긴 순서)로 순차적인 실행을 한다.On the other hand, the task scheduler unit 150 has priority for the operation of each process, and operates each mode of the process on the basis of the priority. For example, in a case where a plurality of processes are waiting in the ready mode for operating in the execution mode in each mode, the task scheduler unit 150 stores each process in the ready mode in a stored order Perform sequential execution.

여기서, 태스크 스케줄러부(150)는 프로세스에 대하여 준비 모드와 실행 모드를 반복함으로써, 하나의 프로세스의 프로세서 독점을 효율적으로 차단할 수 있다.Here, the task scheduler unit 150 can efficiently block the processor monopoly of one process by repeating the preparation mode and the execution mode for the process.

이러한, 본 발명의 실시예에 따른 태스크 스케줄러부(150)는 프로그램 동작에 따라 프로세스 생성, 준비, 실행, 대기, 소멸 모드로 동작하여, 복수의 프로세스 운용에 따른 프로세서의 동작을 효율적으로 관리할 수 있는 장점이 있다.The task scheduler unit 150 according to the embodiment of the present invention operates in a process of creating, preparing, executing, waiting, and disappearing according to a program operation, thereby efficiently managing the operation of the processor according to a plurality of processes There is an advantage.

다음의 도 3을 통해 태스크 스케줄러부의 동작을 보다 상세히 설명한다. The operation of the task scheduler unit will be described in more detail with reference to FIG.

도 3은 본 발명의 실시예에 따른 사용자 단말기에 적용된 태스크 스케줄러부의 프로세스 관리 방법을 나타낸 순서도이고, 도4 는 본 발명의 실시예에 따른 태스크 스케줄러부의 프로세스 실행 모드의 시간 연장을 설명하기 위한 도면이고, 도 5는 본 발명의 실시예에 따른 태스크 스케줄러부의 프로세스 관리를 설명하기 위한 도면이다.FIG. 3 is a flowchart illustrating a process management method of a task scheduler unit applied to a user terminal according to an exemplary embodiment of the present invention. FIG. 4 is a diagram for explaining a time extension of a process execution mode of the task scheduler unit according to an embodiment of the present invention And FIG. 5 is a diagram for explaining the process management of the task scheduler unit according to the embodiment of the present invention.

도 3에 나타낸 바와 같이, 본 발명의 실시예에 따른 사용자 단말기(100)의 태스크 스케줄러부(150)는 현재 실행 모드로 동작 중인 프로세스가 설정된 시간 동안(예를 들면, 실행 모드 동작 시간이 2ms 인 경우, 0.5ms초과시 대기 중인 상태임) 데이터 입출력(Input/Output)을 위해 대기 중인지 여부를 판단한다(S300). As shown in FIG. 3, the task scheduler unit 150 of the user terminal 100 according to the embodiment of the present invention determines whether a process currently operating in the current execution mode is in a predetermined period (for example, , It is in a standby state when it exceeds 0.5 ms), it is determined whether it is waiting for data input / output (S300).

상기 S300 단계의 판단 결과, 데이터 입출력을 위한 대기 중 상태인 경우에, 태스크 스케줄러부(150)는 현 프로세스를 대기 모드로 전환하고, 사용자로부터의 입력 신호를 대기하고 있는 준비 모드 동작 시간이 긴(준비 모드가 가장 오래된) 프로세스를 우선 순위로 하여 해당되는 최우선 순위의 프로세스를 실행한다(S302). 이때, 태스크 스케줄러부(150)는 사용자로부터의 입력 신호를 대기하고 있는 프로세스가 없으면, 준비 모드의 프로세스들 중 준비 모드로 가장 오래 동작한 프로세스를 우선 순위로 하여 해당하는 최우선 순위의 프로세스를 실행한다.As a result of the determination in step S300, if the task scheduler unit 150 is in the standby state for data input / output, the task scheduler unit 150 switches the current process to the standby mode. If the ready mode operation time waiting for the input signal from the user is long (The oldest in the preparation mode) is the priority and executes the corresponding highest priority process (S302). At this time, if there is no process waiting for the input signal from the user, the task scheduler unit 150 executes the process having the highest priority in the priority mode, with the process that is the longest in the preparation mode as a priority .

상기 S300 단계의 판단 결과, 실행 중인 프로세스가 데이터 입출력을 위한 대기 중 상태가 아닌 경우, 태스크 스케줄러부(150)는 실행 중인 프로세스가 사용자로부터 입력된 신호를 출력하기 위한 사용자 대기 상태인지 여부를 판단한다(S304). 즉, 사용자 대기 상태는 사용자로부터 신호를 입력받고, 입력된 신호를 출력하기 전까지의 대기 상태를 의미한다. 예를 들면, 사용자가 문자 메시지를 입력하는 경우, "ㄱ"을 입력하고 난 뒤, "ㄱ"이 화면에 출력되기 전까지의 상태를 사용자 대기 상태로 나타낸다. If it is determined in step S300 that the process being executed is not in the waiting state for data input / output, the task scheduler unit 150 determines whether the process being executed is in a user waiting state for outputting a signal input from the user (S304). That is, the user standby state means a standby state until a signal is received from the user and the input signal is output. For example, when the user inputs a text message, after inputting the letter "a ", the state until the letter" a "

상기 S304 단계의 판단 결과, 사용자로부터 입력된 신호를 출력하기 위한 사용자 대기 상태가 아닌 경우, 태스크 스케줄러부(150)는 하기 S310 단계를 수행한다.If it is determined in step S304 that the user is not in a waiting state for outputting a signal input from the user, the task scheduler unit 150 performs step S310.

상기 S304 단계의 판단 결과, 사용자로부터 입력된 신호를 출력하기 위한 사용자 대기 상태인 경우에, 태스크 스케줄러부(150)는 실행 중인 프로세스가 디스플레이를 점유 중인지 여부를 판단한다(S306).If it is determined in operation S304 that the user is in a standby state for outputting a signal input from the user, the task scheduler unit 150 determines whether the running process is occupying the display (S306).

상기 S306 단계의 판단 결과, 디스플레이를 점유하고 있는 경우에, 태스크 스케줄러부(150)는 현 프로세스의 실행 모드를 계속 유지시킨다(S308). 이때, 태스크 스케줄러부(150)는 현 프로세스의 실행 모드의 동작을 유지하기 위하여 실행 모드로 동작 시간 내에 사용자로부터 입력된 신호를 디스플레이로 출력하기 위한 시간을 추가 연장하여 실행 모드의 동작을 유지한다(S308). If it is determined in step S306 that the display is occupied, the task scheduler unit 150 continues to maintain the execution mode of the current process (S308). At this time, the task scheduler unit 150 further extends the time for outputting the signal input from the user in the run time mode to the display in the run mode to maintain the operation mode of the current process, thereby maintaining the operation of the run mode S308).

이에 대하여, 도 4를 참조하면, 프로세스 A 내지 D 중 A가 현재 실행 모드로 동작하고 있는 중에, 사용자로부터 입력된 신호를 출력하기 위해 기다리고 있는 상태이면서 해당 프로세스가 디스플레이를 점유하고 있으면, 태스크 스케줄러부(150)는 사용자로부터 입력된 신호를 출력하기 위해 실행 모드의 동작 시간에 일정 시간을 연장하여 디스플레이한다.On the other hand, referring to FIG. 4, if A of the processes A to D is in the current execution mode and the process is waiting for outputting a signal input from the user and the process occupies the display, The controller 150 extends and displays the operation time of the execution mode for a predetermined time in order to output a signal input from the user.

이러한 동작에 대한 예를 들면, 각 모드의 동작시간이 2ms이고, A 프로세스가 실행 모드로 동작하는 중에, 사용자로부터 입력된 신호를 출력하기 위해 기다리고 있는 상태이면서 해당 프로세스가 디스플레이를 점유하고 있으면, 실행 모드(2ms) 동작 중에1.8ms지점에서 사용자 입력"ㄱ"을 수신하고, 수신된 사용자 입력"ㄱ"을 디스플레이로 출력하기 위해 2.3ms까지 실행 모드 동작 시간을 연장하게 된다. 이때, 사용자로부터 입력된 신호를 출력하기까지 내부 프로세싱 시간은 0.5ms라고 가정한다.For example, when the operation time of each mode is 2 ms and the process is operating in the execution mode, while waiting for outputting the signal input from the user while the process is operating in the execution mode, Receive the user input "" at 1.8 ms during mode (2 ms) operation and extend the run mode operation time up to 2.3 ms to output the received user input "a " to the display. At this time, it is assumed that the internal processing time until outputting the input signal from the user is 0.5 ms.

그리고, A 프로세스의 동작으로 인해 추가된 시간 0.3ms는 A 모드 이후 프로세스 B, C, D를 각각 0.3ms씩 지연하여 동작하게 한다. 이때, B, C, D 프로세스는 각각 설정된 2ms로 동작하게 된다. 즉, B 프로세스는 연장 시간이 이후 2.3ms에서 4.3ms까지 2ms로 동작하고, C 프로세스는 4.3ms에서 6.3ms까지 동작하고, D 프로세스는 6.3ms에서 8.3ms까지 동작하여, A 프로세스의 동작 시간 연장에 따라 B, C, D 프로세스의 동작 시간이 일정시간 일괄적으로 지연된다. Then, the added time of 0.3 ms due to the operation of the A process is delayed by 0.3 ms for each of the processes B, C, and D after the A mode. At this time, the B, C, and D processes operate at the set 2ms, respectively. That is, the B process operates from 2.3 ms to 4.3 ms at 2 ms, the C process operates from 4.3 ms to 6.3 ms, the D process operates from 6.3 ms to 8.3 ms, and the operation time extension of the A process , The operation time of the B, C, and D processes is collectively delayed for a predetermined time.

상기 S306 단계의 판단 결과, 디스플레이를 점유하고 있지 않은 경우에, 태스크 스케줄러부(150)는 준비 모드 내 프로세스들 중 사용자 대기 상태의 프로세스가 있는지 여부를 판단한다(S310).If it is determined in operation S306 that the display is not occupied, the task scheduler unit 150 determines whether there is a process in the user waiting state among the processes in the ready mode (S310).

상기 S310 단계의 판단 결과, 사용자 대기 상태의 프로세스가 있는 경우에, 태스크 스케줄러부(150)는 현 프로세스를 준비 모드로 전환하고(S312), 준비 모드의 프로세스들 중 사용자 대기 상태의 시간이 긴 프로세스(가장 오래된 프로세스)를 우선 순위로 하여 최우선 프로세스를 동작시킨다(S314). If it is determined in step S310 that there is a process in the user waiting state, the task scheduler unit 150 changes the current process to the ready mode (S312) (The oldest process) as a priority and operates the highest priority process (S314).

상기 S310 단계의 판단 결과, 사용자 대기 상태의 프로세스가 없는 경우에, 태스크 스케줄러부(150)는 현 프로세스를 유지한다(S316).If it is determined in step S310 that there is no process in the user waiting state, the task scheduler unit 150 maintains the current process (S316).

이러한, 동작 방법에 대하여 도5를 참조하여 정리하면, 태스크 스케줄러부(150)는 먼저 프로세스가 실행 모드로 동작하는 중에, 데이터 입출력(I/O) 대기 중 상태인지 여부를 판단하여, 스케줄러 수행 시간 주기로 동작할 것인지 여부를 판단한다. 즉, 태스크 스케줄러부(150)는 현 프로세스가 실행 모드로 동작하는 중에 데이터 입출력(I/O) 대기 중인 상태이면서 준비 모드로 동작하는 사용자 대기 상태의 프로세스가 존재하면 사용자 대기 상태의 최우선 순위를 프로세스를 선택하고, 존재하지 않으면 스케줄러 수행 시간 주기로 차기 프로세스를 선택한다. 그리고 나서, 스케줄러 수행 시간 주기로 상기 도 3에 나타낸 상기 S304 단계 내지 S314 단계를 수행하여 차기 수행할 프로세스를 선정하게 된다.Referring to FIG. 5, the task scheduler unit 150 first determines whether a data input / output (I / O) is in a standby state while a process is operating in an execution mode, It is determined whether or not to operate in a cycle. That is, when there is a process in a user waiting state in which a data input / output (I / O) waiting state while the current process is operating in the execution mode and operates in the preparation mode exists, the task scheduler unit 150 sets the highest priority of the user waiting state as a process And if not, selects the next process at the scheduler execution time period. Then, the process to be performed next is performed by performing the steps S304 to S314 shown in FIG. 3 at a scheduler execution time period.

이러한, 본 발명에 따르면, 사용자로부터 입력된 정보를 출력할 때까지 해당 프로세스의 수행이 타 프로세스보다 높게 설정되어 낮은 프로세스에 대한 배타적인 실행이 가능함으로써, 사용자의 입력으로부터 출력까지의 실행 시간을 현저히 줄여 사용자의 대기 시간을 크게 줄일 수 있는 큰 장점이 있다.According to the present invention, execution of a corresponding process is set to be higher than that of other processes until output of information input from a user, so that execution can be performed exclusively for a lower process, There is a great advantage that the waiting time of the user can be greatly reduced.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다. While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

100: 사용자 단말기 110: 사용자 입력부
120: 데이터 입출력부 130: 제어부
140: 상태 확인부 150: 태스크 스케줄러부
160: 디스플레이부
100: user terminal 110: user input unit
120: data input / output unit 130:
140: status checker 150: task scheduler
160:

Claims (16)

적어도 하나의 프로그램에 매칭되는 제1 프로세스를 생성하고, 상기 프로그램의 종료에 따라 상기 제1 프로세스를 소멸시키는 제어부; 및
상기 제1 프로세스가 준비, 실행 및 대기 모드로 각각 설정 시간 동안 동작하도록 제어하며, 상기 제1 프로세스가 실행 모드로 동작하는 동안에, 사용자로부터 입력된 신호를 출력하기 위한 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있으면, 상기 제1 프로세스의 실행 모드 동작 시간을 연장하는 태스크 스케줄러부
를 포함하는 사용자 단말기.
A control unit for generating a first process matching at least one program and for destroying the first process upon termination of the program; And
Wherein the control unit controls the first process to operate in the preparation, execution, and standby modes for a predetermined time, respectively, while the first process is operating in the execution mode, A task scheduler unit that extends the execution mode operating time of the first process,
Lt; / RTI >
제1항에 있어서,
상기 태스크 스케줄러부는,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 데이터 입출력에 대해 설정된 시간 동안 대기가 발생하면, 상기 제1 프로세스를 대기 모드로 전환한 후 상기 준비 모드로 동작 중인 상기 사용자 대기 상태의 제2 프로세스를 실행 모드로 동작시키는 사용자 단말기.
The method according to claim 1,
The task scheduler,
When the first process is operating in the execution mode and a wait occurs for a set time for data input / output, the first process is switched to the standby mode, and the second process in the user waiting state In the execution mode.
제2항에 있어서,
상기 태스크 스케줄러부는,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 데이터 입출력에 대해 설정된 시간 동안 대기가 발생하면서 상기 준비 모드로 동작중인 상기 사용자 대기 상태의 프로세스가 없으면, 상기 준비 모드로 동작 중인 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시키는 사용자 단말기.
3. The method of claim 2,
The task scheduler,
When there is no process in the user waiting state that is operating in the ready mode while waiting for the set time for the data input and output while the first process is operating in the execution mode, As a priority order.
제2항에 있어서,
상기 태스크 스케줄러부는,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있지 않고, 상기 준비 모드 상태의 프로세스들 중 상기 사용자 대기 상태의 프로세스가 없으면, 상기 준비 모드로 동작 중인 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시키는 사용자 단말기.
3. The method of claim 2,
The task scheduler,
If the first process is not occupying the display while the user is in the standby state and the process is not in the user waiting state among the processes in the ready mode state while the first process is operating in the execution mode, To operate in the execution mode with priority being given to the long-running process.
제2항에 있어서,
상기 태스크 스케줄러부는,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있지 않고, 상기 준비 모드 상태의 프로세스가 존재하지 않으면, 상기 제1 프로세스의 실행 모드 동작을 유지하는 사용자 단말기.
3. The method of claim 2,
The task scheduler,
If the first process is not occupying the display while the first process is operating in the execution mode and the user is waiting and there is no process in the ready mode state, User terminal.
제2항에 있어서,
상기 태스크 스케줄러부는,
상기 제1 프로세스가 상기 실행 모드의 동작이 끝난 후 상기 준비 모드 상태 프로세스 들 중 상기 사용자 대기 상태의 프로세스가 존재하면, 상기 제2 프로세스를 실행 모드로 동작시키며,
상기 제1 프로세스가 상기 실행 모드의 동작이 끝난 후 상기 준비 모드 상태의 프로세스들 중 상기 사용자 대기 상태의 프로세스가 존재하지 않으면, 상기 준비 모드 상태의 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시키는 사용자 단말기.
3. The method of claim 2,
The task scheduler,
Operating the second process in an execution mode when the first process is in the user waiting state among the ready mode state processes after the execution of the execution mode is finished,
When the first process does not exist in the user standby state among the processes in the ready mode state after the operation of the execution mode is finished, .
제2항, 제4항 및 제6항 중 어느 한 항에 있어서,
상기 태스크 스케줄러부는,
상기 제2 프로세스가 복수인 경우에, 사용자 입력 대기 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시키는 사용자 단말기.
The method according to any one of claims 2, 4, and 6,
The task scheduler,
And when the second process is a plurality of processes, a process having a long user input waiting time is a priority and operates in an execution mode.
제2항 내지 제6항 중 어느 한 항에 있어서,
상기 제1 프로세스 및 상기 제2 프로세스의 변경된 모드 동작에 대한 상태를 확인하여 상기 태스크 스케줄러부로 제공하는 상태 확인부를 더 포함하는 사용자 단말기.
7. The method according to any one of claims 2 to 6,
Further comprising a state checking unit for checking the state of the changed mode operation of the first process and the second process and providing the state to the task scheduler unit.
적어도 하나의 프로그램을 포함하는 사용자 단말기의 프로세스 관리 방법에 있어서,
상기 프로그램에 매칭되는 적어도 하나의 프로세스가 준비, 실행 및 대기 모드로 각각 설정 시간 동안 동작하도록 제어하는 단계; 및
상기 적어도 하나의 프로세스 중에서 제1 프로세스가 실행 모드로 동작하는 동안에, 사용자로부터 입력된 신호를 출력하기 위해 대기하는 사용자 대기 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있으면, 상기 제1 프로세스의 실행 모드 동작 시간을 연장하는 단계
를 포함하는 프로세스 관리 방법.
A method for managing a process of a user terminal including at least one program,
Controlling at least one process that matches the program to operate in a standby mode and a standby mode, respectively, for a set time; And
If the first process occupies the display while the first process is operating in the execution mode and the user is waiting to output a signal input from the user and the first process occupies the display, Extending the operating time
Lt; / RTI >
제9항에 있어서,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 데이터 입출력에 대해 설정된 시간 동안 대기가 발생하면, 상기 제1 프로세스를 대기 모드로 전환한 후 상기 준비 모드로 동작 중인 상기 사용자 대기 상태의 제2 프로세스를 상기 실행 모드로 동작시키는 단계
를 더 포함하는 프로세스 관리 방법.
10. The method of claim 9,
When the first process is operating in the execution mode and a wait occurs for a set time for data input / output, the first process is switched to the standby mode, and the second process in the user waiting state Operating in the execution mode
Further comprising the steps of:
제10항에 있어서,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 데이터 입출력에 대해 설정된 시간 동안 대기가 발생하면서 상기 준비 모드로 동작 중인 프로세스가 없으면, 상기 준비 모드로 동작 중인 시간이 긴 프로세스를 우선 순위로 하여 상기 실행 모드로 동작시키는 단계
를 더 포함하는 프로세스 관리 방법.
11. The method of claim 10,
If there is no process in the ready mode while waiting for the set time for the data input / output while the first process is operating in the execution mode, a process having a long time in the ready mode is prioritized Operating in the execution mode
Further comprising the steps of:
제10항에 있어서,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 상기 사용자 대기 상태 이면서, 상기 제1 프로세스가 디스플레이를 점유하고 있지 않고, 상기 준비 모드로 동작 중인 프로세스들 중 상기 사용자 대기 상태의 프로세스가 없으면, 상기 준비 모드로 동작 중인 시간이 긴 프로세스를 우선 순위로 하여 상기 실행 모드로 동작시키는 단계
를 더 포함하는 프로세스 관리 방법.
11. The method of claim 10,
If the first process is not occupying the display and there is no process in the user waiting state among the processes operating in the preparation mode while the first process is operating in the execution mode, A step of operating in the execution mode with a process having a long time running in the preparation mode as a priority
Further comprising the steps of:
제10항에 있어서,
상기 제1 프로세스가 상기 실행 모드로 동작하는 동안에, 사용자로부터의 입력을 대기하는 상태이면서 상기 제1 프로세스가 디스플레이를 점유하고 있지 않고, 상기 준비 모드 상태의 프로세스가 존재하지 않으면, 상기 제1 프로세스의 실행 모드 동작을 유지하는 단계
를 더 포함하는 프로세스 관리 방법.
11. The method of claim 10,
If the first process is not occupying the display and the process in the ready mode state does not exist while the first process is operating in the execution mode and waiting for input from the user, Steps to Maintain Run Mode Operation
Further comprising the steps of:
제10항에 있어서,
상기 제1 프로세스가 상기 실행 모드의 동작이 끝난 후 상기 준비 모드 상태 프로세스 들 중 상기 사용자 대기 상태의 프로세스가 존재하면, 상기 제2 프로세스를 실행 모드로 동작시키는 단계; 및
상기 제1 프로세스가 실행 모드의 동작이 끝난 후 상기 준비 모드 상태의 프로세스들 중 상기 사용자 대기 상태의 프로세스가 존재하지 않으면, 상기 준비 모드 상태의 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시키는 단계를 더 포함하는 프로세스 관리 방법.
11. The method of claim 10,
Operating the second process in an execution mode when the first process is in the user waiting state among the ready mode state processes after the execution of the execution mode is finished; And
If there is no process in the user waiting state among the processes in the ready mode state after the first process is finished in the execution mode, the long process in the ready mode state is operated in the execution mode Further comprising the steps of:
제10항, 제12항 및 제14항 중 어느 한 항에 있어서,
상기 제2 프로세스가 복수인 경우에, 사용자 입력 대기 시간이 긴 프로세스를 우선 순위로 하여 실행 모드로 동작시키는 단계
를 더 포함하는 프로세스 관리 방법.
15. The method according to any one of claims 10, 12 and 14,
When the second process is a plurality of processes, operating in an execution mode with a process having a long user input waiting time as a priority
Further comprising the steps of:
제10항 내지 제14항 중 어느 한 항에 있어서,
상기 제1 프로세스 및 상기 제2 프로세스의 변경된 모드 동작에 대한 상태를 확인하는 단계를 더 포함하는 프로세스 관리 방법.
15. The method according to any one of claims 10 to 14,
Further comprising confirming a status of the first process and the modified mode of operation of the second process.
KR20130078923A 2013-07-05 2013-07-05 A user terminal and method for managing process of the user terminal KR101470744B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130078923A KR101470744B1 (en) 2013-07-05 2013-07-05 A user terminal and method for managing process of the user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130078923A KR101470744B1 (en) 2013-07-05 2013-07-05 A user terminal and method for managing process of the user terminal

Publications (1)

Publication Number Publication Date
KR101470744B1 true KR101470744B1 (en) 2014-12-08

Family

ID=52678209

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130078923A KR101470744B1 (en) 2013-07-05 2013-07-05 A user terminal and method for managing process of the user terminal

Country Status (1)

Country Link
KR (1) KR101470744B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060078224A (en) * 2004-12-30 2006-07-05 주식회사 케이티 Multitasking system of wipi platform implemented in operating system for supporting multitasking operation and method thereof
KR20070084355A (en) * 2005-06-30 2007-08-24 후아웨이 테크놀러지 컴퍼니 리미티드 Method, system and device for processing tasks in device management
KR20090116184A (en) * 2008-05-06 2009-11-11 엘지전자 주식회사 Data processing device and method for controlling the operating period thereof
KR20120073715A (en) * 2010-12-27 2012-07-05 재단법인대구경북과학기술원 Method for monitoring running time of os task framework and apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060078224A (en) * 2004-12-30 2006-07-05 주식회사 케이티 Multitasking system of wipi platform implemented in operating system for supporting multitasking operation and method thereof
KR20070084355A (en) * 2005-06-30 2007-08-24 후아웨이 테크놀러지 컴퍼니 리미티드 Method, system and device for processing tasks in device management
KR20090116184A (en) * 2008-05-06 2009-11-11 엘지전자 주식회사 Data processing device and method for controlling the operating period thereof
KR20120073715A (en) * 2010-12-27 2012-07-05 재단법인대구경북과학기술원 Method for monitoring running time of os task framework and apparatus thereof

Similar Documents

Publication Publication Date Title
US10628216B2 (en) I/O request scheduling method and apparatus by adjusting queue depth associated with storage device based on hige or low priority status
US8868899B2 (en) System and method for switching between environments in a multi-environment operating system
CN104898952B (en) A kind of terminal split screen implementation method and terminal
US9348633B2 (en) Multi-environment operating system
US9372711B2 (en) System and method for initiating a multi-environment operating system
CN110300328B (en) Video playing control method and device and readable storage medium
US20120173986A1 (en) Background synchronization within a multi-environment operating system
CN103793176A (en) Method and device for fast switching between application programs
CN103593234A (en) Adaptive process importance
CN108762831A (en) Application program preloads method, apparatus, storage medium and terminal
CN104572285B (en) Screen prjection method, projection arrangement and the terminal of terminal
CN110008027B (en) Process running method and device, terminal and storage medium
WO2015117445A1 (en) Method and device for processing task window
CN105786340A (en) Terminal screen display method and apparatus
CN113515366B (en) Bus load balancing processing method, device and storage medium
KR101470744B1 (en) A user terminal and method for managing process of the user terminal
CN104699535A (en) Information processing method and electronic equipment
CN105843672A (en) Control method, device and system for application program
US9225818B2 (en) Mobile terminal
CN113849284A (en) Task running method and device, storage medium and terminal
CN106997273B (en) Information input method and device
CN111190744B (en) Virtual character control method and device and mobile terminal
CN109582265A (en) More computer method for handover control, storage medium, control device and its system
WO2019119438A1 (en) Method and apparatus for screen locking of operating system, and electronic device
CN113296900A (en) Task switching method and device

Legal Events

Date Code Title Description
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20181203

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20191113

Year of fee payment: 6