KR101507353B1 - Method, server and computer-readable recording media for managing memory of mobile devices - Google Patents

Method, server and computer-readable recording media for managing memory of mobile devices Download PDF

Info

Publication number
KR101507353B1
KR101507353B1 KR20130055109A KR20130055109A KR101507353B1 KR 101507353 B1 KR101507353 B1 KR 101507353B1 KR 20130055109 A KR20130055109 A KR 20130055109A KR 20130055109 A KR20130055109 A KR 20130055109A KR 101507353 B1 KR101507353 B1 KR 101507353B1
Authority
KR
South Korea
Prior art keywords
application
state
execution
time
average
Prior art date
Application number
KR20130055109A
Other languages
Korean (ko)
Other versions
KR20140121748A (en
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 CN201410113368.9A priority Critical patent/CN104102324B/en
Publication of KR20140121748A publication Critical patent/KR20140121748A/en
Application granted granted Critical
Publication of KR101507353B1 publication Critical patent/KR101507353B1/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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

본 발명은 모바일 디바이스의 메모리를 관리하는 방법, 서버 및 컴퓨터 판독 가능한 기록 매체에 관한 것이다. 본 발명의 따른 복수의 어플리케이션이 설치된 모바일 디바이스의 메모리를 관리하는 방법은, (a) 상기 복수의 어플리케이션 중 어느 하나가 실행된 경우 실행 상태가 유지되는 시간을 획득하는 단계, (b) 상기 실행 중인 어플리케이션이 휴면 상태 - 상기 휴면 상태는 실행 상태가 일시적으로 중지되었으나 상기 모바일 디바이스의 메모리에는 탑재된 상태에 해당함 - 가 된 경우, 상기 휴면 상태가 유지되는 시간을 획득하는 단계, (c) 상기 어플리케이션이 재실행되면 이를 감지하는 단계, 및 (d) 소정의 시간 동안 상기 (a) 내지 (c) 단계로부터 획득한 정보를 참조로 하여 상기 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 단계를 포함하며, 상기 평균 실행 시간, 평균 휴면 시간 또는 평균 재실행 횟수를 참조로 하여 상기 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료할 수 있다. The present invention relates to a method for managing a memory of a mobile device, a server, and a computer-readable recording medium. A method of managing a memory of a mobile device having a plurality of applications according to the present invention includes the steps of: (a) obtaining a time at which an execution state is maintained when any one of the plurality of applications is executed; (b) The application is in a sleep state, the sleep state is temporarily stopped, but the mobile device is in a state of being mounted on the mobile device; obtaining a time when the sleep state is maintained; (c) And (d) comparing the average execution time, the average sleep time, and the average number of times of redoing of each of the plurality of applications with reference to the information obtained from the steps (a) to (c) Wherein the average execution time, the average sleep time, or the average number of times of re-execution is referred to To terminate the sleeping application among the plurality of applications.

Description

모바일 디바이스의 메모리를 관리하는 방법, 서버 및 컴퓨터 판독 가능한 기록 매체{METHOD, SERVER AND COMPUTER-READABLE RECORDING MEDIA FOR MANAGING MEMORY OF MOBILE DEVICES}[0001] METHOD, SERVER AND COMPUTER READABLE RECORDING MEDIA FOR MANAGING MEMORY OF MOBILE DEVICES [0002] BACKGROUND OF THE INVENTION [0003]

본 발명은 모바일 디바이스의 메모리를 관리하는 방법, 서버 및 컴퓨터 판독 가능한 기록 매체에 관한 것으로, 보다 상세하게는, 복수의 어플리케이션 각각의 실행 상태가 유지되는 시간 및 어플리케이션이 휴면 상태 - 상기 휴면 상태는 실행 상태가 일시적으로 중지되었으나 상기 모바일 디바이스의 메모리에는 탑재된 상태에 해당함 - 가 유지되는 시간을 획득하고, 어플리케이션이 재실행되면 이를 감지하여, 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하며, 평균 실행 시간, 평균 휴면 시간 또는 평균 재실행 횟수를 참조로 하여 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 하는 모바일 디바이스의 메모리를 관리하는 방법, 서버 및 컴퓨터 판독 가능한 기록 매체에 관한 것이다. The present invention relates to a method of managing a memory of a mobile device, a server, and a computer-readable recording medium. More particularly, An average sleeping time and an average number of times of redoing of each of the plurality of applications is calculated based on the average execution time of each of the plurality of applications, A method of managing a memory of a mobile device that terminates a sleeping application among a plurality of applications with reference to an average execution time, an average sleeping time, or an average number of times of reoccurrence, Server and And a computer readable recording medium.

일반적인 운영체제에서는 사용자가 프로그램을 종료하면 그 프로그램이 운영체제상에서도 완전히 종료되는 것과 달리, 스마트폰 운영체제에서는 해당 프로그램의 즉각적인 종료가 이루어지지 않는다. 특히, 안드로이드 등에서는 프로그램의 상태를 활성화, 비활성화, 종료의 세 단계로 구분하여 관리하는데, 이때 비활성화 상태에서도 활성화 상태와 마찬가지로 시스템의 리소스를 차지하게 되어 시스템상에 비활성화 프로그램이 많은 경우, 실행메모리가 부족하게 된다. In a typical operating system, when a user exits a program, the program is completely terminated on the operating system. On the smartphone operating system, however, the program is not immediately terminated. In particular, in the case of Android, etc., the state of the program is divided into three stages of activation, deactivation, and termination. In this case, inactivated state occupies system resources as in the activation state. Becomes insufficient.

한국공개특허공보 제10-2006-0030269호는 스마트폰에서 메모리 관리 방법에 대한 내용을 포함하는 것으로, 메모리 부족 현상으로 인하여 실행 중인 어플리케이션이 강제 종료되는 것을 방지하기 위하여, 스마트폰에서 PDA 어플리케이션 사용 시 사용 가능한 메모리 용량을 체크하여 가용 메모리 용량이 임계치 이하일 경우 폰 모듈을 통해 읽어온 데이터를 삭제함으로써 메모리 용량을 확보 하는 구성을 포함한다. 또한, 한국공개특허공보 제10-2006-0030269호 외에 실행메모리 부족 현상을 해결하기 위해 종래 스마트폰 운영체제에서는 가장 오래된 태스크부터 차례대로 종료하는 구조를 가지고 있었다. Korean Patent Laid-Open No. 10-2006-0030269 discloses a method of managing memory in a smart phone. In order to prevent a running application from being forcibly terminated due to a memory shortage, The available memory capacity is checked to secure the memory capacity by deleting the data read through the phone module when the available memory capacity is below the threshold value. In addition to Korean Patent Laid-Open Publication No. 10-2006-0030269, in order to solve the running memory shortage problem, the conventional smartphone operating system has a structure in which the oldest tasks are sequentially terminated.

다만, 이러한 구조를 따를 경우 사용자가 자주 사용하는 프로그램임에도 사용자가 그 프로그램을 먼저 실행시켰다는 이유로 재사용할 때 다시 실행해야 하는 불편이 있다. 그리고, 자주 사용하지 않는 프로그램이 메모리를 크게 차지하는 경우 상기 프로그램이 정리되려면, 먼저 실행되었던 다른 비활성화 프로그램들이 모두 종료되어야 하기 때문에 메모리 관리의 효율을 떨어뜨리는 단점이 있었다.However, there is an inconvenience to re-execute the program when reusing the program because the user first executes the program even if the program is frequently used by the user. If a program that is not frequently used occupies a large amount of memory, there is a disadvantage that the efficiency of memory management is lowered because all the other inactivated programs that have been executed first must be terminated before the program is organized.

본 발명은 상기 문제점을 해결하기 위한 것으로, 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 재실행 횟수를 획득하고, 획득한 평균 실행 시간, 평균 휴면 시간 및 재실행 횟수를 참조로 하여 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 함으로써, 휴면 상태인 어플리케이션이 모바일 디바이스의 메모리를 불필요하게 점유하는 상황을 방지하고, 메모리를 효율적으로 관리할 수 있다. SUMMARY OF THE INVENTION The present invention has been made in order to solve the above problem, and it is an object of the present invention to provide a method and apparatus for acquiring an average execution time, an average sleep time and a number of times of redo of each of a plurality of applications, Or the terminated application is brought into the sleeping state, thereby preventing a situation in which the sleeping application unnecessarily occupies the memory of the mobile device, and efficiently manage the memory.

본 발명의 제1 기술적인 측면에 따르면, 복수의 어플리케이션이 설치된 모바일 디바이스의 메모리를 관리하는 방법에 있어서, (a) 상기 복수의 어플리케이션 중 어느 하나가 실행된 경우 실행 상태가 유지되는 시간을 획득하는 단계, (b) 상기 실행 중인 어플리케이션이 휴면 상태 - 상기 휴면 상태는 실행 상태가 일시적으로 중지되었으나 상기 모바일 디바이스의 메모리에는 탑재된 상태에 해당함 - 가 된 경우, 상기 휴면 상태가 유지되는 시간을 획득하는 단계, (c) 상기 어플리케이션이 재실행되면 이를 감지하는 단계 및 (d) 소정의 시간 동안 상기 (a) 내지 (c) 단계로부터 획득한 정보를 참조로 하여 상기 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 단계를 포함하며, 상기 평균 실행 시간, 평균 휴면 시간 또는 평균 재실행 횟수를 참조로 하여 상기 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 하는 모바일 디바이스의 메모리를 관리하는 방법을 제안한다.According to a first technical aspect of the present invention, there is provided a method of managing a memory of a mobile device in which a plurality of applications are installed, the method comprising the steps of: (a) acquiring a time at which the execution state is maintained when any one of the plurality of applications is executed (B) if the running application is in a sleep state, the sleep state is obtained when the sleep state is temporarily suspended but corresponds to a state of being mounted on the memory of the mobile device; (C) checking if the application is re-executed, and (d) comparing the average execution time, the average of the average execution time, and the average of the plurality of applications with reference to the information obtained from the steps (a) Obtaining a sleep time and an average number of times of re-execution, wherein the average execution time, the average sleep time Or an average number of times of re-execution is referred to as a sleep state, or a terminated application is put into the sleep state among the plurality of applications.

본 발명의 제2 기술적인 측면에 따르면, 복수의 어플리케이션이 설치된 모바일 디바이스의 메모리를 관리하는 서버에 있어서, 상기 복수의 어플리케이션 중 어느 하나가 실행된 경우 실행 상태가 유지되는 시간을 획득하고, 상기 실행 중인 어플리케이션이 휴면 상태 - 상기 휴면 상태는 실행 상태가 일시적으로 중지되었으나 상기 모바일 디바이스의 메모리에는 탑재된 상태에 해당함 - 가 된 경우, 상기 휴면 상태가 유지되는 시간을 획득하며, 상기 어플리케이션이 재실행되면 이를 감지하고, 이를 참조로 하여 상기 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 어플리케이션 모니터링부; 상기 평균 실행 시간, 상기 평균 휴면 시간 및 상기 평균 재실행 횟수를 어플리케이션별로 기록하는 데이터베이스부; 및 상기 평균 실행 시간, 상기 평균 휴면 시간 또는 상기 평균 재실행 횟수를 참조로 하여 상기 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 하는 제어부를 포함하는 모바일 디바이스의 메모리 관리 서버를 제안한다.According to a second technical aspect of the present invention, there is provided a server for managing a memory of a mobile device in which a plurality of applications are installed, the server comprising: The application is in a sleep state. When the sleep state is temporarily stopped, but the mobile device is in a mounted state, the sleep state is maintained. When the application is re-executed, An application monitoring unit for detecting an average execution time, an average sleep time, and an average number of times of re-execution of each of the plurality of applications with reference thereto; A database unit for recording the average execution time, the average sleep time, and the average number of times of redo for each application; And a controller for terminating an application that is in a sleep state among the plurality of applications with reference to the average execution time, the average sleep time, or the average number of times of re-execution, We propose a management server.

본 발명에 따르면, 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 재실행 횟수를 획득하고, 획득한 평균 실행 시간, 평균 휴면 시간 및 재실행 횟수를 참조로 하여 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 함으로써, 휴면 상태인 어플리케이션이 모바일 디바이스의 메모리를 불필요하게 점유하는 상황을 방지하고, 메모리를 효율적으로 관리할 수 있는 효과가 있다. According to the present invention, the average execution time, the average sleep time, and the number of times of re-execution of each of the plurality of applications are obtained, and the application in the sleep state is terminated with reference to the obtained average execution time, average sleep time, By allowing the application to be in the sleep state, it is possible to prevent a situation in which the sleeping application unnecessarily occupies the memory of the mobile device and efficiently manage the memory.

도 1은 본 발명의 일 실시예에 따른 모바일 디바이스의 메모리 관리 서버의 구성을 나타낸 블록도이다. 1 is a block diagram illustrating a configuration of a memory management server of a mobile device according to an embodiment of the present invention.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with an embodiment. It is also to be understood that the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is to be limited only by the appended claims, along with the full scope of equivalents to which such claims are entitled, if properly explained. In the drawings, like reference numerals refer to the same or similar functions throughout the several views.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, preferred 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 block diagram illustrating a configuration of a memory management server of a mobile device according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 모바일 디바이스의 메모리 관리 서버는 실행 시간 획득부(100), 휴면 시간 획득부(110), 재실행 감지부(120), 평균값 산출부(130), 데이터베이스부(140) 및 제어부(150)를 포함한다. 참고로, 본 명세서의 대부분에서는 실행 시간 획득부(100), 휴면 시간 획득부(110), 재실행 감지부(120), 평균값 산출부(130)를 편의상 구분하여 설명하지만, 실행 시간 획득부(100), 휴면 시간 획득부(110), 재실행 감지부(120), 평균값 산출부(130)로 구분하지 않고 가령 어플리케이션 모니터링부(미도시)로 통합되어 있는 경우를 상정할 수도 있음은 물론이라 할 것이다.Referring to FIG. 1, a memory management server of a mobile device according to an embodiment of the present invention includes an execution time obtaining unit 100, a sleep time obtaining unit 110, a replay detecting unit 120, an average value calculating unit 130, A database unit 140, and a control unit 150. The execution time obtaining unit 100, the sleep time obtaining unit 110, the re-execution detecting unit 120 and the average value calculating unit 130 will be described for convenience of description. However, the execution time obtaining unit 100 (Not shown), instead of dividing into the sleep time acquisition unit 110, the re-execution sense unit 120, and the average value calculation unit 130, .

본 명세서에서 모바일 디바이스는 복수의 응용 프로그램, 즉, 어플리케이션이 설치된 기기로서, 각각의 어플리케이션은 이메일, 메시지, 카메라, 동영상, 음악, 사진, 전화, 게임, 인터넷, 금융 거래 등의 기능을 수행할 수 있으며, 태블릿 PC, 스마트폰 등과 같은 기기를 포함할 수 있다. 본 발명의 일 실시예에 따른 모바일 디바이스의 운영체제에서는 어플리케이션이 실행되면 상기 어플리케이션이 모바일 디바이스의 메모리에 탑재되고, 종료되면 메모리에서 제거되며 어플리케이션의 상태를 실행 상태, 휴면 상태, 종료 상태로 분류할 수 있다. 실행 상태는 어플리케이션이 모바일 디바이스의 화면에 표시되어 사용자가 실제로 어플리케이션을 사용하고 있는 상태이며, 휴면 상태는 실행 상태가 일시적으로 중지되었으나 모바일 디바이스의 메모리에는 탑재된 상태이고, 종료 상태는 실행 상태 또는 휴면 상태가 종료된 것으로 모바일 디바이스의 메모리에서 제거된 상태일 수 있다. In this specification, a mobile device is a device in which a plurality of application programs, i.e., applications, are installed, and each application can perform functions such as email, message, camera, video, music, And may include devices such as tablet PCs, smart phones, and the like. In an operating system of a mobile device according to an exemplary embodiment of the present invention, when an application is executed, the application is loaded into a memory of the mobile device. When the application is terminated, the application is removed from the memory and classified into an execution state, a sleep state, have. The execution state is a state in which the application is displayed on the screen of the mobile device so that the user is actually using the application, the sleep state is temporarily stopped, but the mobile device is mounted in the memory, and the end state is the execution state or sleep state The state may have been terminated and removed from the memory of the mobile device.

본 발명의 일 실시예에 따른 실행 시간 획득부(100)는 복수의 어플리케이션 중 어느 하나가 실행된 경우, 각각의 실행 유지 시간을 측정하는 기능을 수행한다. 실행 시간 획득부(100)는 어플리케이션의 실행 시작 시점, 휴면 시작 시점 또는 종료 시점을 측정하여 어플리케이션의 실행 상태가 유지되는 시간을 획득할 수 있다. 즉, 어플리케이션이 실행 후 휴면 상태가 된 경우 실행 시작 시점부터 휴면 시작 시점 사이의 시간을 산출하고, 어플리케이션이 실행 후 휴면 상태 없이 바로 종료된 경우 어플리케이션의 실행 시작 시점부터 종료 시점 사이의 시간을 산출함으로써 어플리케이션의 실행 유지 시간을 측정할 수 있다. 실행 시간 획득부(100)는 모바일 디바이스에 설치된 각각의 어플리케이션에 대하여 실행 유지 시간을 측정하며, 실행 시간 획득부(100)에서 획득한 어플리케이션의 실행 유지 시간은 데이터베이스부(140)에 저장될 수 있다. The execution time obtaining unit 100 according to an embodiment of the present invention performs a function of measuring the execution holding time when any one of a plurality of applications is executed. The execution time acquisition unit 100 may measure the start time, the start time, or the end time of the execution of the application to obtain the time at which the execution state of the application is maintained. That is, if the application is in the sleep state after execution, the time between the execution start time and the sleep start time is calculated. If the application is immediately terminated without executing the sleep state after the execution, the time between the execution start time and the end time of the application is calculated The execution holding time of the application can be measured. The execution time obtaining unit 100 measures the execution holding time for each application installed in the mobile device and the execution holding time of the application acquired by the execution time obtaining unit 100 can be stored in the database unit 140 .

다음으로, 본 발명의 일 실시예에 따른 휴면 시간 획득부(110)는 복수의 어플리케이션 중 어느 하나가 휴면 상태가 된 경우, 각각의 휴면 유지 시간을 측정하는 기능을 수행한다. 휴면 시간 획득부(110)는 어플리케이션의 휴면 시작 시점, 실행 시작 시점 또는 종료 시점을 측정하여 어플리케이션의 휴면 상태가 유지되는 시간을 획득할 수 있다. 즉, 어플리케이션이 휴면 상태에서 실행 상태가 된 경우에는 휴면 시작 시점부터 실행 시작 시점 사이의 시간을 산출하고, 어플리케이션이 휴면 상태에서 종료가 된 경우 휴면 시작 시점부터 종료 시점 사이의 시간을 산출하여 어플리케이션의 휴면 상태가 유지되는 시간을 획득할 수 있다. 휴면 시간 획득부(110)는 모바일 디바이스에 설치된 각각의 어플리케이션에 대하여 휴면 유지 시간을 측정하며, 휴면 시간 획득부(110)에서 획득한 어플리케이션의 휴면 유지 시간은 데이터베이스부(140)에 저장될 수 있다. Next, the sleep time acquiring unit 110 according to an embodiment of the present invention performs a function of measuring each sleep time when one of the plurality of applications becomes a sleep state. The sleep time acquiring unit 110 may measure a sleep start time, an execution start time, or an end time of the application so as to obtain a time during which the sleep state of the application is maintained. That is, when the application is in the sleep state, the time between the sleep start time and the execution start time is calculated. If the application is terminated in the sleep state, the time between the sleep start time and the end time is calculated, It is possible to obtain a time at which the sleep state is maintained. The dormant time acquisition unit 110 measures the dormant holding time for each application installed in the mobile device and the dormant holding time of the application acquired by the dormant time obtaining unit 110 can be stored in the database unit 140 .

다음으로, 본 발명의 일 실시예에 따른 재실행 감지부(120)는 어플리케이션이 재실행되면 이를 감지하는 기능을 수행한다. 재실행 감지부(120)는 어플리케이션이 휴면 상태에서 실행 상태로 변화되거나 종료 상태에서 실행 상태로 변화되는 경우 어플리케이션이 재실행된 것으로 감지하며, 휴면 상태에서 실행 상태로 변화되거나 종료 상태에서 실행 상태로 변화하는 횟수를 측정할 수 있다. 재실행 감지부(120)는 모바일 디바이스에 설치된 각각의 어플리케이션에 대하여 재실행 여부를 감지하여 그 횟수를 측정하며, 측정한 재실행 횟수는 데이터베이스부(140)에 저장될 수 있다. Next, the re-execution detecting unit 120 according to an embodiment of the present invention performs a function of detecting the re-execution of the application. The re-execution detecting unit 120 detects that the application is re-executed when the application is changed from the sleep state to the execution state or from the end state to the execution state, and changes from the sleep state to the execution state or from the end state to the execution state The number of times can be measured. The re-execution detector 120 detects whether the application is re-executed for each application installed in the mobile device, and measures the number of re-execution. The number of times of re-execution can be stored in the database unit 140.

다음으로, 본 발명의 일 실시예에 따른 평균값 산출부(130)는 소정의 시간 동안 실행 시간 획득부(100), 휴면 시간 획득부(110) 및 재실행 감지부(120)로부터 획득한 정보를 참조로 하여 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 기능을 수행한다. 예를 들어, 소정의 시간을 일주일로 설정한 경우, 평균값 산출부(130)는 일주일 동안 어플리케이션이 실행 상태에 있을 때마다 실행 시간 획득부(100)가 획득한 각각의 어플리케이션의 실행 유지 시간의 평균값을 산출하여 평균 실행 시간을 획득하며, 어플리케이션이 휴면 상태에 있을 때마다 휴면 시간 획득부(110)가 획득한 휴면 유지 시간의 평균값을 산출하여 평균 휴면 시간을 획득할 수 있다. 또한, 일주일 동안 재실행 감지부(120)가 획득한 정보로부터 어플리케이션이 재실행 되는 평균 재실행 횟수를 획득할 수 있다. 본 명세서에서는 설명의 편의를 위해 소정의 시간이 일주일인 것으로 설명하였으나 이에 제한되는 것은 아니며, 소정의 시간이 길수록 평균값 산출부(130)가 획득한 평균 실행 시간, 평균 휴면 시간 및 재실행 횟수의 오차 범위가 작아질 수 있다. Next, the average value calculation unit 130 according to an embodiment of the present invention refers to the information acquired from the execution time acquisition unit 100, the dormancy time acquisition unit 110 and the replay detection unit 120 for a predetermined time And obtains the average execution time, the average sleep time, and the average number of times of re-execution of each of the plurality of applications. For example, when the predetermined time is set to one week, the average value calculating unit 130 calculates the average value of the execution holding times of the respective applications acquired by the execution time obtaining unit 100 every time the application is in the execution state for one week To obtain an average execution time, and to calculate an average value of the sleep duration obtained by the sleep duration acquiring unit 110 every time the application is in the sleep state to obtain the average sleep time. In addition, it is possible to obtain the average number of times of re-execution that the application is re-executed from the information acquired by the re-execution detecting unit 120 for a week. For the sake of convenience of explanation, the predetermined time is one week. However, the present invention is not limited to this, but the present invention is not limited thereto, and the error range of the average execution time, the average sleep time, Can be reduced.

본 발명의 일 실시예에 따른 제어부(150)는 평균값 산출부(130)로부터 획득한 평균 실행 시간, 평균 휴면 시간 또는 평균 재실행 횟수를 참조로 하여 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 휴면 상태가 되도록 하는 기능을 수행한다. 이하, 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 휴면 상태가 되도록 하는 조건에 대하여 상세히 설명하도록 한다. The control unit 150 according to an embodiment of the present invention terminates an application that is in a sleep state among a plurality of applications with reference to an average execution time, an average sleep time, or an average number of times of re-execution obtained from the average value calculation unit 130, The application is brought to a sleep state. Hereinafter, a condition for terminating an application that is in a sleep state among a plurality of applications or causing a terminated application to go into a dormant state will be described in detail.

모바일 디스플레이에 탑재된 복수의 어플리케이션 중 평균 재실행 횟수가 기설정된 수치 미만인 어플리케이션이 실행 상태에서 휴면 상태로 진입하는 경우, 어플리케이션의 상태를 저장하고 어플리케이션을 종료할 수 있다. 예를 들어, 복수의 어플리케이션 중 하루에 평균적으로 재실행 되는 횟수가 1회인 어플리케이션의 경우에는, 어플리케이션이 실행 상태에서 휴면 상태로 진입한 후 다시 실행 상태로 진입할 확률이 낮음으로, 실행 상태에서 휴면 상태로 진입한 경우 종료시켜 모바일 디바이스의 메모리에서 제거되도록 할 수 있다. When an application whose average re-execution count is less than a predetermined value among a plurality of applications installed in the mobile display enters the sleep state from the execution state, the application state can be stored and the application can be terminated. For example, in the case of an application in which the average number of times of re-execution is one in a plurality of applications per day, the probability that the application enters the rest state after entering the sleep state from the execution state is low, It may be terminated and removed from the memory of the mobile device.

또한, 기설정된 시간 동안 메모리의 점유 상황이 동일한 경우, 메모리를 점유하는 휴면 상태인 어플리케이션을 종료시킬 수 있다. 즉, 제어부(150)는 기설정된 시간 동안 메모리의 점유 상황이 동일한 경우에는 사용자의 반응이 입력되지 않는 취침모드로 간주하며, 모바일 디바이스의 메모리에 탑재된 모든 어플리케이션 중 휴면 상태인 어플리케이션을 종료하여 모바일 디바이스의 메모리를 효율적으로 관리할 수 있다. In addition, when the occupation state of the memory is the same for a predetermined period of time, it is possible to terminate the sleeping application occupying the memory. In other words, when the memory occupation state is the same for a predetermined time, the controller 150 regards the sleep mode as a mode in which the user's reaction is not input, terminates the sleeping application among all the applications installed in the memory of the mobile device, The memory of the device can be efficiently managed.

또한, 복수의 어플리케이션 중 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수의 값을 획득하기 위한 소정의 시간 동안 종료된 횟수가 0인 어플리케이션이 해당 어플리케이션의 평균 재실행 횟수만큼 실행된 후 휴면 상태에 진입한 경우, 어플리케이션의 상태를 저장한 후 종료시킬 수 있다. 예를 들어, 일주일 동안 재실행 횟수를 감지한 결과, 하루에 평균적으로 10회 재실행 되지만 실행 상태와 휴면 상태를 반복할 뿐 종료된 바가 없는 어플리케이션의 경우, 상기 어플리케이션이 가령 10회째 재실행된 후에는 다시 실행할 확률이 낮다. 따라서, 어플리케이션이 휴면 상태에 진입하면 종료하여 모바일 디바이스의 메모리에서 제거함으로써 메모리를 효율적으로 관리할 수 있다. In addition, an application whose number of times of termination is 0 for a predetermined time to acquire the values of the average execution time, the average sleep time, and the average number of times of re-execution among the plurality of applications is executed for the average number of re- In this case, the state of the application can be saved and terminated. For example, if an application detects that the number of times it has been rerun for a week is rerun on average 10 times a day but repeats the execution state and the sleep state but has not been terminated, the application may be restarted after the 10th rerun Probability is low. Thus, when the application enters the sleep state, it is terminated and removed from the memory of the mobile device, thereby efficiently managing the memory.

또한, 복수의 어플리케이션 중 실행 또는 휴면 상태를 유지하기 위해 사용하는 메모리의 양이 소정의 값 이상인 어플리케이션이 기설정된 시간 동안 휴면 상태를 유지하는 경우 어플리케이션을 종료하도록 할 수 있다. 즉, 실행 또는 휴면 상태를 유지하기 위해 차지하는 모바일 디바이스의 메모리의 양이 많은 어플리케이션이 휴면 상태를 오래 지속하여 메모리를 비효율적으로 소모하는 것을 방지 하기 위하여, 휴면 상태에 진입한 후 기설정된 시간 동안 다시 재실행되지 않는 경우 종료하여 메모리에서 제거할 수 있다. In addition, the application may be terminated when an application having an amount of memory used for maintaining execution or a sleep state among a plurality of applications keeps the sleep state for a preset time. That is, in order to prevent an application having a large amount of memory on the mobile device occupying the execution or sleep state from being in a dormant state for a long period of time to consume memory inefficiently, If not, it can be terminated and removed from memory.

또한, 복수의 어플리케이션 중 평균 실행 시간 및 평균 휴면 시간에 따라 실행 상태 및 휴면 상태를 반복하는 어플리케이션이 실행 상태에서 휴면 상태로 진입하는 경우 상기 어플리케이션을 종료하고, 종료된 시점으로부터 평균 휴면 시간이 경과한 후에 종료된 어플리케이션이 다시 휴면 상태가 되도록 할 수 있다. 즉, 어플리케이션이 평균 실행 시간 및 평균 휴면 시간에 따라 실행 상태 및 휴면 상태를 반복하고, 앞으로도 사용자가 동일한 패턴으로 어플리케이션을 사용할 것으로 기대되는 경우, 즉, 평균 실행 시간 및 평균 휴면 시간에 따라 어플리케이션이 실행 상태 및 휴면 상태를 반복할 것으로 기대되는 경우에는, 어플리케이션이 휴면 상태로 진입하면 휴면 상태를 유지할 것으로 예상되는 시간(평균 휴면 시간) 동안 어플리케이션을 종료하여 메모리를 효율적으로 관리할 수 있다. 또한, 사용자가 종료된 어플리케이션을 재실행하는 경우에 로딩 시간이 발생하므로, 사용자가 어플리케이션을 다시 사용할 것으로 예상되는 시점(어플리케이션이 종료된 시점으로부터 평균 휴면 시간이 경과한 시점)에 어플리케이션이 종료될 때의 상태로 다시 메모리에 탑재하여 휴면 상태가 되도록 할 수 있다. If the application repeating the execution state and the sleeping state according to the average execution time and the average sleeping time among the plurality of applications enters the sleeping state from the execution state, the application is terminated, and when the average sleeping time has elapsed The application that has been terminated can be brought to a sleep state again. That is, if the application repeats the execution state and the sleep state according to the average execution time and the average sleep time, and the user is expected to use the application in the same pattern in the future, that is, When the application is expected to repeat the state and the sleep state, the application can be terminated for a time (average sleep time) expected to remain in the sleep state when the application enters the sleep state, thereby efficiently managing the memory. In addition, since the loading time occurs when the user re-executes the application that has been terminated, the time when the application is terminated when the user is expected to re-use the application (the point at which the average sleep time elapses from the end of the application) It is possible to mount it again in the memory and put it in the sleep state.

또한, 복수의 어플리케이션 중 적어도 어느 하나 이상의 어플리케이션이 실행 상태 또는 휴면 상태를 유지하기 위하여 사용하는 메모리의 양이 임계치를 초과하는 경우, 휴면 상태인 어플리케이션의 최초로 실행이 시작된 시각 및 평균 재실행 횟수를 참조로 하여 휴면 상태인 어플리케이션 중 적어도 어느 하나를 종료할 수 있다. 실행 또는 휴면 상태인 어플리케이션 외에 새로운 어플리케이션을 실행하고자 할 때, 실행 또는 휴면 상태인 어플리케이션이 차지하는 메모리의 양이 많은 경우 메모리 부족으로 새로운 어플리케이션이 사용할 메모리의 양이 부족할 수 있다. 따라서, 휴면 상태인 어플리케이션 중 최초로 실행된 시각이 빠르거나, 평균 재실행 횟수가 적거나 또는 최초로 실행된 시각이 빠른 순서로 나열한 것 중에서 평균 재실행 횟수가 적은 어플리케이션을 종료함으로써 새로운 어플리케이션이 사용할 메모리의 양을 확보할 수 있다. When the amount of memory used by at least one of the plurality of applications to maintain the execution state or the sleep state exceeds the threshold value, the time at which execution of the first application in the sleep state is started and the average number of times of re- Thereby terminating at least one of the applications in the sleep state. When you want to run a new application in addition to running or dormant applications, and the amount of memory occupied by an application running or dormant is large, the memory may be insufficient for new applications due to insufficient memory. Therefore, by terminating the application whose average number of times of redo is low among those listed in the order of quickest first execution time, less average re-execution number, or the first earliest execution time among applications that are in a dormant state, .

마지막으로, 본 발명의 일 실시예에 따른 제어부(150)는 실행 시간 획득부(100), 휴면 시간 획득부(110), 재실행 감지부(120), 평균값 산출부(130) 및 데이터베이스부(140) 간의 흐름을 제어하며, 제어부(150)로 인하여 실행 시간 획득부(100), 휴면 시간 획득부(110), 재실행 감지부(120), 평균값 산출부(130) 및 데이터베이스부(150)가 각각의 기능을 수행할 수 있다. 구체적으로, 제어부(150)는 상기에서 설명한 바와 같은 다양한 방법으로 메모리의 양을 확보하기 위하여 상기 평균 실행 시간, 평균 휴면 시간 또는 평균 재실행 횟수를 참조로 하여 상기 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 하는 기능을 수행할 수 있다.The control unit 150 includes an execution time obtaining unit 100, a sleep time obtaining unit 110, a re-execution detecting unit 120, an average value calculating unit 130, and a database unit 140 The sleep time acquiring unit 110, the re-execution sensing unit 120, the average value calculating unit 130, and the database unit 150 are controlled by the control unit 150, Can be performed. Specifically, the control unit 150 terminates the sleeping application among the plurality of applications with reference to the average execution time, the average sleeping time, or the average number of times of reoccurrence in order to secure the amount of memory by the various methods as described above Or to cause the terminated application to go into the sleep state.

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

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, Those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be construed as being limited to the above-described embodiments, and all of the equivalents or equivalents of the claims, as well as the following claims, I will say.

100: 실행 시간 획득부
110: 휴면 시간 획득부
120: 재실행 감지부
130: 평균값 산출부
140: 데이터베이스부
150: 제어부
100: execution time acquisition unit
110: sleeping time acquiring unit
120: Redo detection unit
130: average value calculation unit
140:
150:

Claims (18)

복수의 어플리케이션이 설치된 모바일 디바이스의 메모리를 관리하는 방법에 있어서,
(a) 상기 복수의 어플리케이션 중 어느 하나가 실행된 경우 실행 상태가 유지되는 시간을 획득하는 단계;
(b) 상기 실행 중인 어플리케이션이 휴면 상태 - 상기 휴면 상태는 실행 상태가 일시적으로 중지되었으나 상기 모바일 디바이스의 메모리에는 탑재된 상태에 해당함 - 가 된 경우, 상기 휴면 상태가 유지되는 시간을 획득하는 단계;
(c) 상기 어플리케이션이 재실행되면 이를 감지하는 단계;
(d) 소정의 시간 동안 상기 (a) 내지 (c) 단계로부터 획득한 정보를 참조로 하여 상기 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 단계;
를 포함하며,
상기 평균 실행 시간, 평균 휴면 시간 또는 평균 재실행 횟수를 참조로 하여 상기 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 하는 모바일 디바이스의 메모리를 관리하는 방법.
A method for managing a memory of a mobile device in which a plurality of applications are installed,
(a) obtaining a time at which the execution state is maintained when any one of the plurality of applications is executed;
(b) obtaining a time when the sleeping state is maintained when the running application is in a sleep state, and the sleep state is temporarily stopped but corresponds to a state of being mounted on the memory of the mobile device;
(c) detecting when the application is re-executed;
(d) obtaining an average execution time, an average sleep time, and an average number of times of re-execution of each of the plurality of applications with reference to information obtained from the steps (a) to (c) for a predetermined time;
/ RTI >
And terminating an application that is in a sleeping state among the plurality of applications with reference to the average execution time, the average sleeping time, or the average number of times of reoccurrence, or the terminated application is brought into the sleeping state.
제1항에 있어서,
상기 (c) 단계에서,
상기 어플리케이션이 상기 휴면 상태에서 상기 실행 상태로 변화되거나 종료 상태에서 상기 실행 상태로 변화되는 경우, 상기 어플리케이션이 재실행된 것으로 감지하는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
In the step (c)
When the application is changed from the sleep state to the execution state or from the end state to the execution state, detects that the application is re-executed.
제1항에 있어서,
상기 복수의 어플리케이션 중 상기 평균 재실행 횟수가 기설정된 수치 미만인 어플리케이션이 상기 실행 상태에서 상기 휴면 상태로 진입하는 경우,
상기 어플리케이션의 상태를 저장하고 상기 어플리케이션은 종료시키는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
When an application whose average number of times of re-execution among a plurality of applications is less than a predetermined value enters the dormancy state from the execution state,
Storing the state of the application and terminating the application.
제1항에 있어서,
기설정된 시간 동안 메모리의 점유 상황이 동일한 경우, 상기 메모리를 점유하는 상기 휴면 상태인 어플리케이션을 종료시키는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
And terminates the sleeping application occupying the memory if the occupation state of the memory is the same for a predetermined time period.
제1항에 있어서,
상기 복수의 어플리케이션 중 상기 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수의 값을 산출하기 위한 상기 소정의 시간 동안 종료된 횟수가 0인 어플리케이션이 상기 평균 재실행 횟수만큼 실행된 후 상기 휴면 상태에 진입한 경우 상기 어플리케이션의 상태를 저장한 후 종료시키는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
An application having the number of times of completion of the predetermined time to calculate the average execution time, the average sleep time, and the average number of times of re-execution among the plurality of applications is executed by the average number of times of re-execution, The method comprising: storing a state of the application and terminating the state of the application.
제1항에 있어서,
상기 복수의 어플리케이션 중 상기 실행 또는 휴면 상태를 유지하기 위하여 사용하는 메모리의 양이 소정의 값 이상인 어플리케이션이 기설정된 시간 동안 상기 휴면 상태를 유지하는 경우 상기 어플리케이션을 종료하는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
And terminates the application when an application having an amount of memory used to maintain the execution or sleep state among the plurality of applications maintains the sleep state for a preset time period. .
제1항에 있어서,
상기 복수의 어플리케이션 중 상기 평균 실행 시간 및 상기 평균 휴면 시간에 따라 상기 실행 상태 및 상기 휴면 상태를 반복하는 어플리케이션이 상기 실행 상태에서 상기 휴면 상태로 진입하는 경우 상기 어플리케이션을 종료하고, 상기 어플리케이션이 종료된 시점으로부터 상기 평균 휴면 시간이 경과한 후에 상기 종료된 어플리케이션이 다시 상기 휴면 상태가 되도록 하는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
When the application that repeats the execution state and the dormancy state enters the dormancy state from the execution state according to the average execution time and the average dormancy time among the plurality of applications, And cause the terminated application to go back to the sleep state after the average sleep time elapses from the time point.
제1항에 있어서,
상기 복수의 어플리케이션 중 적어도 어느 하나 이상의 어플리케이션이 상기 실행 상태 또는 상기 휴면 상태를 유지하기 위하여 사용하는 메모리의 양이 임계치를 초과하는 경우,
상기 휴면 상태인 어플리케이션의 최초로 실행이 시작된 시각 및 상기 평균 재실행 횟수를 참조로 하여 상기 휴면 상태인 어플리케이션 중 적어도 어느 하나를 종료하는 것을 특징으로 하는 모바일 디바이스의 메모리를 관리하는 방법.
The method according to claim 1,
When the amount of memory used by at least one of the plurality of applications to maintain the execution state or the sleep state exceeds a threshold value,
And terminating at least one of the sleeping application with reference to the time at which the first application of the sleeping application is started and the average number of times of re-execution.
복수의 어플리케이션이 설치된 모바일 디바이스의 메모리를 관리하는 서버에 있어서,
상기 복수의 어플리케이션 중 어느 하나가 실행된 경우 실행 상태가 유지되는 시간을 획득하고, 상기 실행 중인 어플리케이션이 휴면 상태 - 상기 휴면 상태는 실행 상태가 일시적으로 중지되었으나 상기 모바일 디바이스의 메모리에는 탑재된 상태에 해당함 - 가 된 경우, 상기 휴면 상태가 유지되는 시간을 획득하며, 상기 어플리케이션이 재실행되면 이를 감지하고, 이를 참조로 하여 상기 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 어플리케이션 모니터링부;
상기 평균 실행 시간, 상기 평균 휴면 시간 및 상기 평균 재실행 횟수를 어플리케이션별로 기록하는 데이터베이스부; 및
상기 평균 실행 시간, 상기 평균 휴면 시간 또는 상기 평균 재실행 횟수를 참조로 하여 상기 복수의 어플리케이션 중 휴면 상태인 어플리케이션을 종료하거나, 종료된 어플리케이션이 상기 휴면 상태가 되도록 하는 제어부
를 포함하는 모바일 디바이스의 메모리 관리 서버.
1. A server for managing a memory of a mobile device in which a plurality of applications are installed,
Wherein the application is in a sleep state and the sleep state is a state in which the execution state is temporarily stopped but the mobile device is in a state of being mounted in the memory of the mobile device The average sleep time and the average number of times of re-execution of the plurality of applications are obtained with reference to the detected time when the application is re-executed An application monitoring unit;
A database unit for recording the average execution time, the average sleep time, and the average number of times of redo for each application; And
A control unit for terminating an application in a sleep state among the plurality of applications with reference to the average execution time, the average sleep time, or the average number of times of re-execution,
The memory management server of the mobile device.
제9항에 있어서,
상기 어플리케이션 모니터링부는,
상기 복수의 어플리케이션 중 어느 하나가 실행된 경우 실행 상태가 유지되는 시간을 획득하는 실행 시간 획득부;
상기 실행 중인 어플리케이션이 휴면 상태가 된 경우, 상기 휴면 상태가 유지되는 시간을 획득하는 휴면 시간 획득부;
상기 어플리케이션이 재실행되면 이를 감지하는 재실행 감지부; 및
소정의 시간 동안 상기 실행 시간 획득부, 휴면 시간 획득부 및 재실행 감지부로부터 획득한 정보를 참조로 하여 상기 복수의 어플리케이션 각각의 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수를 획득하는 평균값 산출부;
를 포함하는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
10. The method of claim 9,
The application monitoring unit,
An execution time obtaining unit for obtaining a time at which the execution state is maintained when any one of the plurality of applications is executed;
A sleep time acquiring unit for acquiring a time at which the sleep state is maintained when the running application becomes a sleep state;
A replay detector for detecting the replay of the application; And
An average value calculating unit for obtaining an average execution time, an average sleep time, and an average number of times of re-execution of each of the plurality of applications with reference to information obtained from the execution time obtaining unit, the sleep time obtaining unit and the re-execution detecting unit during a predetermined time;
The memory management server comprising:
제10항에 있어서,
상기 재실행 감지부는,
상기 어플리케이션이 상기 휴면 상태에서 상기 실행 상태로 변화되거나 종료 상태에서 상기 실행 상태로 변화되는 경우, 상기 어플리케이션이 재실행된 것으로 감지하는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
The re-
And when the application is changed from the sleep state to the execution state or from the end state to the execution state, the application is detected as being re-executed.
제10항에 있어서,
상기 복수의 어플리케이션 중 상기 평균 재실행 횟수가 기설정된 수치 미만인 어플리케이션이 상기 실행 상태에서 상기 휴면 상태로 진입하는 경우,
상기 어플리케이션의 상태를 저장하고 상기 어플리케이션은 종료시키는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
When an application whose average number of times of re-execution among a plurality of applications is less than a predetermined value enters the dormancy state from the execution state,
Wherein the memory management server stores the state of the application and terminates the application.
제10항에 있어서,
기설정된 시간 동안 메모리의 점유 상황이 동일한 경우, 상기 메모리를 점유하는 상기 휴면 상태인 어플리케이션을 종료시키는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
And terminates the sleeping application occupying the memory when the occupation state of the memory is the same for a predetermined period of time.
제10항에 있어서,
상기 복수의 어플리케이션 중 상기 평균 실행 시간, 평균 휴면 시간 및 평균 재실행 횟수의 값을 산출하기 위한 상기 소정의 시간 동안 종료된 횟수가 0인 어플리케이션이 상기 평균 재실행 횟수만큼 실행된 후 상기 휴면 상태에 진입한 경우 상기 어플리케이션의 상태를 저장한 후 종료시키는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
An application having the number of times of completion of the predetermined time to calculate the average execution time, the average sleep time, and the average number of times of re-execution among the plurality of applications is executed by the average number of times of re-execution, Wherein the memory management server stores the status of the application and then terminates the process.
제10항에 있어서,
상기 복수의 어플리케이션 중 상기 실행 또는 휴면 상태를 유지하기 위하여 사용하는 메모리의 양이 소정의 값 이상인 어플리케이션이 기설정된 시간 동안 상기 휴면 상태를 유지하는 경우 상기 어플리케이션을 종료하는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
And terminates the application when an application having an amount of memory used to maintain the execution or sleep state among the plurality of applications maintains the sleep state for a preset time period. Management server.
제10항에 있어서,
상기 복수의 어플리케이션 중 상기 평균 실행 시간 및 상기 평균 휴면 시간에 따라 상기 실행 상태 및 상기 휴면 상태를 반복하는 어플리케이션이 상기 실행 상태에서 상기 휴면 상태로 진입하는 경우 상기 어플리케이션을 종료하고, 상기 어플리케이션이 종료된 시점으로부터 상기 평균 휴면 시간이 경과한 후에 상기 종료된 어플리케이션이 다시 상기 휴면 상태가 되도록 하는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
When the application that repeats the execution state and the dormancy state enters the dormancy state from the execution state according to the average execution time and the average dormancy time among the plurality of applications, And causes the terminated application to go back to the sleep state after the average sleep time elapses from the time point.
제10항에 있어서,
상기 복수의 어플리케이션 중 적어도 어느 하나 이상의 어플리케이션이 상기 실행 상태 또는 상기 휴면 상태를 유지하기 위하여 사용하는 메모리의 양이 임계치를 초과하는 경우,
상기 휴면 상태인 어플리케이션의 최초로 실행이 시작된 시각 및 상기 평균 재실행 횟수를 참조로 하여 상기 휴면 상태인 어플리케이션 중 적어도 어느 하나를 종료하는 것을 특징으로 하는 모바일 디바이스의 메모리 관리 서버.
11. The method of claim 10,
When the amount of memory used by at least one of the plurality of applications to maintain the execution state or the sleep state exceeds a threshold value,
Wherein the application terminates at least one of the sleeping application and the sleeping application with reference to the time at which the first sleeping application starts and the average number of times the sleeping application is restarted.
제1항 내지 제8항 중 어느 한 항에 따른 방법을 실행하기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체.9. A computer program for executing the method according to any one of claims 1 to 8.
KR20130055109A 2013-04-08 2013-05-15 Method, server and computer-readable recording media for managing memory of mobile devices KR101507353B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410113368.9A CN104102324B (en) 2013-04-08 2014-03-25 Method for managing memory of mobile device, server and computer readable medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020130038111 2013-04-08
KR20130038111 2013-04-08

Publications (2)

Publication Number Publication Date
KR20140121748A KR20140121748A (en) 2014-10-16
KR101507353B1 true KR101507353B1 (en) 2015-04-07

Family

ID=51993159

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130055109A KR101507353B1 (en) 2013-04-08 2013-05-15 Method, server and computer-readable recording media for managing memory of mobile devices

Country Status (1)

Country Link
KR (1) KR101507353B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200114233A (en) 2019-03-28 2020-10-07 연세대학교 산학협력단 Apparatus and Method of managing Mobile device memory for analyzing a user utilization pattern by a neural network algorithm to predict a next application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060023987A (en) * 2003-06-10 2006-03-15 소니 에릭슨 모빌 커뮤니케이션즈 재팬, 아이엔씨. Concurrence management program, storage medium containing the concurrence management program, concurrence management method, and electronic device
KR20080030830A (en) * 2006-10-02 2008-04-07 엘지전자 주식회사 Method of setting an expiration time of an application, method of ending an application, and mobile communication terminal thereof
KR20120070360A (en) * 2010-12-21 2012-06-29 엘지전자 주식회사 Mobile terminal and application information providing system
KR20120109745A (en) * 2011-03-25 2012-10-09 에스케이플래닛 주식회사 System and method for providing mobile contents based on application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060023987A (en) * 2003-06-10 2006-03-15 소니 에릭슨 모빌 커뮤니케이션즈 재팬, 아이엔씨. Concurrence management program, storage medium containing the concurrence management program, concurrence management method, and electronic device
KR20080030830A (en) * 2006-10-02 2008-04-07 엘지전자 주식회사 Method of setting an expiration time of an application, method of ending an application, and mobile communication terminal thereof
KR20120070360A (en) * 2010-12-21 2012-06-29 엘지전자 주식회사 Mobile terminal and application information providing system
KR20120109745A (en) * 2011-03-25 2012-10-09 에스케이플래닛 주식회사 System and method for providing mobile contents based on application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200114233A (en) 2019-03-28 2020-10-07 연세대학교 산학협력단 Apparatus and Method of managing Mobile device memory for analyzing a user utilization pattern by a neural network algorithm to predict a next application

Also Published As

Publication number Publication date
KR20140121748A (en) 2014-10-16

Similar Documents

Publication Publication Date Title
JP6017395B2 (en) Suspend postponed
US8601493B2 (en) Application controlling apparatus and storage medium which stores software for the apparatus
EP2613285A1 (en) Complex event processing apparatus and complex event processing method
US8839017B2 (en) Electronic device and method for detecting power statuses of electronic device
KR102028663B1 (en) Apparatus and method for error detection
EP3472684B1 (en) Wake lock aware system wide job scheduling for energy efficiency on mobile devices
JP2016224883A (en) Fault detection method, information processing apparatus, and fault detection program
CN112764959B (en) Method, device, equipment and storage medium for monitoring application program locking problem
KR101507353B1 (en) Method, server and computer-readable recording media for managing memory of mobile devices
CN105700656B (en) Standby abnormal power consumption detection system and method
CN104102324B (en) Method for managing memory of mobile device, server and computer readable medium
CN114003498A (en) Software anomaly detection method and device and electronic equipment
US9513685B2 (en) Measuring method of a processing load of a processor including a plurality of cores
US10311032B2 (en) Recording medium, log management method, and log management apparatus
US8856395B2 (en) Localized device missing delay timers in SAS/SATA topology
TW201539181A (en) Identifying power state changes
JP4562641B2 (en) Computer system, operation state determination program, and operation state determination method
US10387190B2 (en) System and method of executing a plurality of threads using thread switching on execution time-out using instruction re-write
JP2005293164A (en) Task monitoring system
CN114968716A (en) Multitask identification method, device, equipment and machine readable storage medium
CN116089098A (en) Thread endless loop detection method, device and apparatus
US10078474B1 (en) Method of maintaining list of scratch volumes in shared filesystems across multiple nodes
CN116028166A (en) Method, device, equipment and storage medium for task management
CA2830710A1 (en) Overloaded schedule detection and notification
KR20140144794A (en) Performance recorder method and system for record-replay mechanism

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
FPAY Annual fee payment

Payment date: 20180306

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20200304

Year of fee payment: 6