KR102088006B1 - A method for power saving of computer system by using resource monitor analysis - Google Patents

A method for power saving of computer system by using resource monitor analysis Download PDF

Info

Publication number
KR102088006B1
KR102088006B1 KR1020190134573A KR20190134573A KR102088006B1 KR 102088006 B1 KR102088006 B1 KR 102088006B1 KR 1020190134573 A KR1020190134573 A KR 1020190134573A KR 20190134573 A KR20190134573 A KR 20190134573A KR 102088006 B1 KR102088006 B1 KR 102088006B1
Authority
KR
South Korea
Prior art keywords
app
processor
manager
result
resource monitor
Prior art date
Application number
KR1020190134573A
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 KR1020190134573A priority Critical patent/KR102088006B1/en
Application granted granted Critical
Publication of KR102088006B1 publication Critical patent/KR102088006B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a system for saving energy of a computer system through resource monitor analysis and a method thereof. The system disables processes other than currently running applications, and especially when the currently running applications do not require a security tool, disables a security process which takes a relatively large load to save power consumption required in a computer system. In addition, the system efficiently manages power by identifying the processes other than currently running applications in a simple manner through resource monitor analysis of a computer. The system comprises a user space (100); and a kernel space (200).

Description

리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법{A method for power saving of computer system by using resource monitor analysis}A method for power saving of computer system by using resource monitor analysis}

본 발명은 컴퓨터의 리소스모니터 분석을 통하여 효율적으로 전력을 관리하기 위한 기술에 관한 것으로, 컴퓨터의 리소스모니터 분석을 통하여 현재 실행중인 앱 이외의 프로세스들을 디제이블시키고 특히 현재 실행중인 프로그램이 보안 툴을 필요로 하지 않는 경우에는 비교적 많은 로드가 걸리는 보안 프로세서를 디제이블 시킴으로써, 컴퓨터 시스템에서 소요되는 소비 전력을 간단한 방식으로 절감하기 위한 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법에 관한 것이다.The present invention relates to a technique for efficiently managing power through a resource monitor analysis of a computer, disabling processes other than the currently running app through a resource monitor analysis of the computer, and in particular, a currently running program needs a security tool When it does not, it relates to a method of saving energy in a computer system through resource monitor analysis to reduce power consumption in a computer system in a simple manner by disabling a security processor that takes a relatively large load.

운영체제(OS: Operating System)는, 모든 하드웨어와 모든 소프트웨어를 관리하는 컴퓨터시스템의 한 부분으로서, 누가 시스템을 사용할 수 있고, 어떻게 사용할 수 있는지를 관리한다.An operating system (OS) is a part of a computer system that manages all hardware and all software, and manages who can use the system and how.

운영체제는, 하드웨어를 제어하고 컴퓨터 자원을 관리하며, 컴퓨터 사용을 편리하게 해주고 응용 프로그램들의 수행을 도와주며, 사용자와 하드웨어 사이의 매개체 역할을 하는바, 하드웨어와 소프트웨어의 중간 영역이라고 말할 수 있다.The operating system can be said to be an intermediate area between hardware and software, controlling hardware, managing computer resources, facilitating computer use, helping applications to perform, and acting as an intermediary between users and hardware.

운영 체제의 조직화를 위한 특별한 표준 모델은 없으나, 전반적으로, 대부분의 운영 체제의 조직은, 일반적으로 세 가지 구성 모델 중 하나로 작성할 수 있다. 즉, i) 단일 구성 계층, ii) 계층 구성 및 iii) 마이크로 커널 구성으로 분류될 수 있다. There is no specific standard model for the organization of the operating system, but overall, most operating system organizations can generally be written in one of three configuration models. That is, it can be classified into i) single component layer, ii) layer component and iii) microkernel component.

운영 시스템 프로그램은, 메모리 상주 또는 비상주이며, 상주 프로그램 중 일부는 보호 모드에서 작동하며 많은 경우 커널 모드라고 라고, 나머지는 기존의 사용자 모드이다.Operating system programs are either memory-resident or non-resident, some of the resident programs operate in protected mode, and in many cases called kernel mode, others are traditional user modes.

이중, 단일 구성 모델은 다양한 메모리 상주 운영 체제 기능이 단일 커널에 표시되며 특정 조직은 없다. 커널의 중요한 기능은 보호 모드에서 동작하고 나머지는 사용자 모드에서 작동한다. 쉘은 커널과는 독립적이며 사용자, 유틸리티 및 사용자 프로그램과 커널과의 인터페이스 역할을 한다. 따라서 쉘은 커널 조작에 영향을 주지 않고 교체할 수 있다. 단일 구성의 주요 어려움은 전체 시스템의 안정성과 일관성인바, 커널의 프로그램은 전체 시스템이 정지될 수 있다. In the dual, single configuration model, various memory-resident operating system features are presented in a single kernel, with no specific organization. An important function of the kernel operates in protected mode, the rest in user mode. The shell is independent of the kernel and acts as an interface between the user, utilities, and user programs and the kernel. Thus, the shell can be replaced without affecting kernel operation. The main difficulty of a single configuration is the stability and consistency of the entire system, so the program in the kernel can hang the entire system.

한편, 마이크로 커널 구성은 클라이언트와 서버가 동일한 시스템에 있는 클라이언트 서버 시스템을 구성한다. 기본 모드 이외의 운영 체제 서비스는 사용자 모드 프로그램에 의해 실행된다. 각 프로그램은 응용 프로그램 모델과 다른 운영 체제 프로그램 (이 모델의 클라이언트)의 요청에 따라 특정 운영 체제 작업을 수행하는 서버 역할을 한다. 클라이언트는 마이크로 커널에 직접 메시지를 전송하여 서비스를 요청한다. 마이크로 커널은 필요한 기능을 수행할 적절한 서버에 메시지를 전달하고 클라이언트에 메시지를 다시 보낼 요청에 응답하고, 응답도 마이크로 커널을 통과한다. 모든 통신이 마이크로 커널을 통과해야 하기 때문에 시스템의 보안과 무결성이 유지됩니다. 마이크로 커널 구성의 장점 중 하나는 마이크로 커널의 보안과 안정성을 유지하면서 마이크로 커널의 외부에 있는 서비스 프로그램을 변경하기만 하면 다른 운영 체제의 디자인을 만들 수 있습니다. 예를 들어, Macintosh OS X은 Mach 마이크로 커널에 구축된 많은 운영 체제 중 하나입니다. 마이크로 커널 접근 방식은 신뢰성, 유연성, 확장성 및 이동성을 제공하지만, 마이크로 커널 구성에서 필요로 하는 다양한 메시지를 전달하면 다른 종류의 디자인보다 성능이 저하될 수 있다.On the other hand, the microkernel configuration constitutes a client server system in which the client and server are on the same system. Operating system services other than the basic mode are executed by user mode programs. Each program acts as a server that performs specific operating system tasks at the request of the application model and other operating system programs (clients of this model). The client requests a service by sending a message directly to the microkernel. The microkernel delivers a message to the appropriate server to perform the required function, responds to the request to send the message back to the client, and the response also passes through the microkernel. The security and integrity of the system is maintained because all communication must pass through the microkernel. One of the advantages of microkernel configuration is that while maintaining the security and stability of the microkernel, you can create designs for other operating systems simply by changing service programs outside the microkernel. Macintosh OS X, for example, is one of many operating systems built on the Mach microkernel. The microkernel approach provides reliability, flexibility, scalability, and mobility, but delivering a variety of messages required by the microkernel configuration can degrade performance over other types of designs.

다른 한편, 계층 구성의 운영 체제는, 도 1에서 보는 바와 같이, 운영 체제를 여러 레이어로 분할한 것을 보여준다. 상위 레이어(유저 스페이스)(100)는 사용자에게 표시되며, 중간 레이어는 커널 스페이스(200)를 나타내며, 그 중에서도 최하층은 하드웨어와 상호 작용하는 I/O 장치 드라이버(260)이다. On the other hand, the hierarchical operating system shows that the operating system is divided into several layers, as shown in FIG. 1. The upper layer (user space) 100 is displayed to the user, the middle layer represents the kernel space 200, and the lowermost layer is the I / O device driver 260 that interacts with hardware.

유저 스페이스(100)는, OS(110)와 유저 인터페이스(120) 및 명령 및 유틸리티(130)로 나타내어질 수 있고, 커널 스페이스(200)는, 최상층의 파일 서비스(210)와, 최하층의 I/O 장치 드라이버(260) 및 중간층의 네트워크 서비스(220), 프로세스 관리자(230), 리소스 할당(240) 및 버츄얼메모리 관리자(250)로 구성된다.The user space 100 may be represented by the OS 110, the user interface 120, and commands and utilities 130, and the kernel space 200 may include a file service 210 at the top layer and I / at the bottom layer. It consists of the O device driver 260 and the network service 220 of the middle layer, the process manager 230, the resource allocation 240, and the virtual memory manager 250.

참고로, 파일 서비스(210)는 유저와 파일을 저장하고 공유할 수 있는 파일 서버를 설정하고 관리하며, 네트워크 서비스(220)는 네트워크와 직접 접속되어 데이터 저장, 조작, 프리젠테이션, 통신 등의 기능을 제공하며, 프로세스 관리자(230)는 PID (process ID)를 관리하는 작업 관리자와 비슷하며, 리소스 할당(240)은 유저에게 자원(resource)을 동적으로 분배 및 할당한다.For reference, the file service 210 sets and manages a file server capable of storing and sharing files with a user, and the network service 220 is directly connected to a network to store data, operate, present, and communicate functions. Provides, the process manager 230 is similar to the task manager managing the PID (process ID), the resource allocation 240 dynamically allocates and allocates resources to the user.

이 모델에서는, 각 레이어는 다른 레이어와 상대적으로 독립적이며, 따라서 파일 관리자는, 논리명으로 식별된 파일 위치를 정의하고 리퀘스트의 특성을 해석하지만, 하드웨어에 직접 액세스하려고는 하지 않는다. 대신에 커널에 요청한다. 그 후, 로컬 리퀘스느는 I/O 장치 드라이버 레벨에 전달되어 하드웨어로 액세스한다. 네트워크 리퀘스트는 서비스를 제공하는 시스템의 I/O 장치 드라이버에 전달된다. 상기 계층은, 운영 체제의 다양한 레이어에 대한 액세스가 탑(top)으로부터 유래되도록 배치되어 있다. 각 레이어는 다음 하위 레이어를 호출한다. 오늘날 대부분의 컴퓨터 시스템은, 운영 체제의 설계에서 이 절차를 수행할 수 있는 적절한 하드웨어 명령을 제공한다. 이는, 운영 체제의 서로 다른 기능 사이의 인터페이스뿐만 아니라 보안도 제공되는 비교적 바람직한 운영 체제이다.In this model, each layer is relatively independent of the other layers, so the file manager defines the file location identified by the logical name and interprets the characteristics of the request, but does not attempt to access the hardware directly. Instead, it asks the kernel. After that, the local request is passed to the I / O device driver level to access the hardware. The network request is passed to the I / O device driver of the system providing the service. The layer is arranged such that access to various layers of the operating system originates from the top. Each layer calls the next lower layer. Most computer systems today provide the proper hardware instructions to perform this procedure in the design of the operating system. This is a relatively desirable operating system that provides security as well as an interface between different functions of the operating system.

그러나, 계층화된 운영 체제는, 모든 요구가 아래로 이동하도록 서비스를 계층화할 필요가 있기 때문에 신중하게 설계해야 하며, 특정 계층의 프로그램은 시스템의 무결성을 손상시킬 수 있으며, 최하층에서 서비스를 받기 위해 중간 계층을 통해 요청을 전달하는 데 시간이 많이 소요된다는 점이다. However, a layered operating system needs to be carefully designed because it is necessary to layer the service so that all requests go down, and a particular layer of programs can compromise the integrity of the system, and intermediate to receive services at the lowest layer. It takes a lot of time to pass the request through the layer.

이에 따라, 도 1의 계층화된 운영 체제(OS)에서는, 응답성을 빠르게 하기 위하여, 지금 당장 사용되지는 않으나, 현재 실행 중인 프로그램인 프로세스와 관련된 여러 리소스 및 특히 보안 프로세서들을 미리 로딩하여 두고, 심지어 현재 실행 중인 앱과 무관하게 이들을 직접 실행하기도 하는바, 이는 많은 불필요한 에너지를 낭비하는 원인이 되기도 한다.Accordingly, in the layered operating system (OS) of FIG. 1, in order to increase responsiveness, various resources related to processes, which are not currently used, but currently running programs, and in particular secure processors, are preloaded, and even They also run them directly, regardless of the app they're currently running, which can cause a lot of unnecessary energy to be wasted.

참고로, 도 2는 프로세스, 서비스 연결된 핸들 및 모듈에 대한 리소스 모니터 화면의 일 예이고, 도 3은 프로세스에 대한 리소스 모니터 화면의 일 예이며, 도 7은 작업 관리자 화면의 일예이다.For reference, FIG. 2 is an example of a resource monitor screen for a process, a service connected handle, and a module, FIG. 3 is an example of a resource monitor screen for a process, and FIG. 7 is an example of a job manager screen.

이에, 본 발명자들은, 도 1의 계층화된 운영 체제(OS)에서, 현재 실행중인 앱 이외의 프로세스들을 디제이블시키고 특히 현재 실행중인 프로그램이 보안 툴을 필요로 하지 않는 경우에는 비교적 많은 로드가 걸리는 보안 프로세서를 디제이블 시킴으로써, 컴퓨터 시스템에서 소요되는 소비 전력을 절약하되, 특히 컴퓨터의 리소스모니터 분석을 통하여 간단한 방식으로 현재 실행중인 앱 이외의 프로세스들을 파악하여 효율적으로 전력을 관리하기 위한, 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법에 관한 것이다.Accordingly, the present inventors, in the layered operating system (OS) of FIG. 1, disable processes other than the currently running app, and a relatively heavy load, especially when the currently running program does not require a security tool. By disabling the processor, it saves power consumption in the computer system, but in particular, it analyzes the resource monitor to manage power efficiently by identifying processes other than the currently running app in a simple manner through the analysis of the resource monitor of the computer. It relates to the energy saving method of the computer system through.

상기의 목적을 달성하기 위한 본 발명의 일 측면에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템은, 상위 레이어로서의 유저 스페이스(100); 및 중간 레이어로서의 커널 스페이스(200)를 포함하되, 상기 유저 스페이스(100)는 OS(110)와 유저 인터페이스(120) 및 명령 및 유틸리티(130)를 포함하며, 상기 커널 스페이스(200)는 최상층의 파일 서비스(210)와, 최하층의 I/O 장치 드라이버(260) 및 중간층의 네트워크 서비스(220), 프로세스 관리자(230), 리소스 할당(240) 및 버츄얼메모리 관리자(250)를 포함하여 이루어지는 컴퓨터 시스템의 에너지 절감 시스템으로서, 상기 유저 스페이스(100)는, 프로세서 관리자 앱(160) 및 프로세서 스레드 세이브 에어리어(170)를 더 포함하며, 상기 프로세서 관리자 앱(160)은 앱 연관 DB(150)와 리소스 모니터링(140) 기능과 접속되며, 상기 프로세서 관리자 앱(160)은 리소스 모니터(140) 기능을 사용하여 리소스모니터를 모니터링함으로써 현재 실행 앱(프로세스)을 확인하고, 앱 연관 DB(150)로부터 현재 실행 앱과 연관된 프로그램 DB를 콜하며, 현재 실행 중이 아닌 앱 및 프로세서들을 중지시키게 되며, 상기 프로세서 스레드 세이브 에어리어(170)는, 현재 실행 앱의 현재 상태 정보를 저장한 후, 리턴시 콜하여 복귀시키는데 사용되는 정보를 임시 저장하며, 상기 커널 공간(200)은, 커런트 프로세서 제어부(270), 디스플레이 제어부(280) 및 I/O 장치 PM 제어부(290)를 더 포함하며, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)는, 현재 진정한 실행 중이 아닌 앱이나 프로세스들의 현재 상태 정보를 상기 프로세서 스레드 세이브 에어리어(170)에 저장한 후, 커런트 프로세서 제어부(270)를 통해 실제 실행되는 앱이나 프로세스들을 제어하면서 현재 실제 실행되는 앱이나 프로세스들과 무관한 프로세스들은 비활성화하며, 상기 디스플레이 제어부(280)는, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)로부터의 지시에 따라 I/O 장치 드라이버(260)를 통해 하드웨어 중 디스플레이 장치를 끄거나 중지시키며, 상기 I/O 장치 PM 제어부(290)는, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)로부터의 지시에 따라 I/O 장치 드라이버(260)를 통해 하드웨어 중 I/O 장치를 끄거나 중지시키게 되는 것을 특징으로 한다.An energy saving system of a computer system through resource monitor analysis according to an aspect of the present invention for achieving the above object includes: a user space 100 as an upper layer; And a kernel space 200 as an intermediate layer, wherein the user space 100 includes an OS 110, a user interface 120, and commands and utilities 130, and the kernel space 200 is a top layer. A computer system comprising a file service 210, a lower layer I / O device driver 260, a middle layer network service 220, a process manager 230, resource allocation 240, and a virtual memory manager 250 As an energy saving system of the, the user space 100 further includes a processor manager app 160 and a processor thread save area 170, wherein the processor manager app 160 monitors resources associated with the app related DB 150 and resources. (140) is connected to the function, the processor manager app 160 monitors the resource monitor using the resource monitor 140 function to check the currently running app (process), and the current running app from the app association DB 150 It calls the program DB associated with, and stops apps and processors that are not currently running, and the processor thread save area 170 is used to store the current state information of the currently running app and then call it to return upon return Temporarily stores information, and the kernel space 200 further includes a current processor control unit 270, a display control unit 280, and an I / O device PM control unit 290, and a file in the processor manager app 160. The manager and the device manager 165 store the current state information of apps or processes that are not currently running in the processor thread save area 170, and then execute the apps or processes that are actually executed through the current processor control unit 270. While controlling, the processes that are not actually related to the currently executed app or processes are deactivated, and the display control unit 280, according to instructions from the file manager and the device manager 165 in the processor manager app 160, performs I / O. Device Driver (260) Turn off or stop the display device among hardware through the I / O device PM control unit 290, according to the instructions from the file manager and device manager 165 in the processor manager app 160, the I / O device driver It is characterized in that the I / O device among hardware is turned off or stopped through 260.

바람직하게는, 상기 앱 연관 DB(150)는, 특정 앱 실행에 필요한 정보를 저장하고 있으며, 상기 프로세서 스레드 세이브 에어리어(170)는 현재 상태를 저장한 후에 복귀할 때 필요한 정보를 가지고 있으며, 상기 파일 관리자 및 장치 관리자(165)는, 상기 프로세서 관리자 앱(160)이 특정 프로세스를 중지 후 재실행시 파일들이 로드되고 디바이스를 슬립시키는 것을 특징으로 한다.Preferably, the app-related DB 150 stores information necessary to execute a specific app, and the processor thread save area 170 has necessary information when returning after saving the current state, and the file The manager and the device manager 165 are characterized in that files are loaded and the device sleeps when the processor manager app 160 stops a specific process and then re-executes it.

한편, 상기의 목적을 달성하기 위한 본 발명의 다른 측면에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법은, 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템을 이용한 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법으로서, (a) 상기 프로세서 관리자 앱(160)은 리소스 모니터(140) 기능을 사용하여 리소스모니터를 모니터링하는 단계(S1); (b) 상기 (a) 단계에서의 모니터링 결과, 현재 실행 중인 앱 및 프로세서('A')를 확인하고, 앱 연관 DB(150)로부터 현재 실행 앱과 연관된 프로그램 DB('B')를 콜하게 되는 단계(S2); (c) 상기 (b) 단계에서 확인한 실행 앱 및 프로세서('A')와 상기 (b) 단계에서 콜한 현재 실행 앱과 연관된 프로그램 DB('B')가 일치하는지 여부를 체크하는 단계(S3); (d) 상기 (c) 단계에서의 판단 결과, 일치하지 않는 경우에는, 리스트에 없는 앱 및 프로세서들을 비사용(unused)으로 세팅하여 양자를 일치시키는 단계(S4); (e) 상기 (c) 단계에서의 판단 결과, 일치하는 경우에는, 로드가 많이 걸리는 프로세서 순으로 소팅을 행하게 되는 단계(S5); (f) 상기 (e) 단계 후, 현재 사용 중인 프로그램이 가장 로드가 많은가? 여부를 체크하게 되는 단계(S6); 및 (g) 상기 (f) 단계에서의 판단 결과, 그렇지 않은 경우에는, 바이러스 체크 공정(S7 내지 S9 단계)을 실행하는 단계; 를 포함하는 것을 특징으로 한다.On the other hand, the energy saving method of the computer system through the resource monitor analysis according to another aspect of the present invention for achieving the above object, the computer system through the resource monitor analysis using the energy saving system of the computer system through the resource monitor analysis As an energy saving method, (a) the processor manager app 160 monitors the resource monitor using the resource monitor 140 function (S1); (b) The monitoring result in step (a), check the currently running app and processor ('A'), and call the program DB ('B') associated with the currently running app from the app related DB 150 Becoming step (S2); (c) checking whether the execution app and processor ('A') checked in step (b) and the program DB ('B') associated with the current running app called in step (b) match (S3). ; (d) the result of the determination in step (c), if they do not match, setting the apps and processors not in the list to unused to match both (S4); (e) the result of the determination in the step (c), if it matches, the step of performing sorting in the order of the processor that is heavily loaded (S5); (f) After step (e), is the program currently being used the most loaded? Step S6 to check whether or not; And (g) performing a virus check process (steps S7 to S9), as a result of the determination in step (f); It characterized in that it comprises.

바람직하게는, (h) 상기 (f) 단계에서의 판단 결과, 현재 사용 중인 프로그램이 가장 로드가 많은 것으로 판단되는 경우에는, 사용중인 프로그램이 인터넷인가? 여부를 체크하게 되는 단계(S11); 및 (j) 상기 (h) 단계에서의 판단 결과, 인터넷 사용중이 아니면 은행 보안용 프로세서를 디제이블시키는 단계(S12); 를 더 포함하는 것을 특징으로 한다.Preferably, (h) when the result of the determination in step (f) determines that the program currently being used is the most loaded, is the program being used the Internet? Checking whether or not (S11); And (j) disabling the bank security processor if the Internet is not being used as a result of the determination in step (h) (S12); Characterized in that it further comprises.

더욱 바람직하게는, (k) 상기 (h) 단계에서의 판단 결과, 인터넷 사용중인 경우에는, 상기 앱 연관 DB(150)에 보안에 필요한 프로세서 정보들이 저장되어 있는지 여부를 조사하여, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트인지? 여부를 체크하게 되는 단계(S13); (m) 상기 (k) 단계에서의 판단 결과, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트가 아닌 것으로 판단되면, 시스템 일반보안 프로세서 외의 보안 프로세서를 디제이블시키는 단계(S14); (n) 상기 (k) 단계에서의 판단 결과, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트인 것으로 판단되거나 상기 (m) 단계 이후, 보안 툴이 필요한 사이트가 종료되었는지? 여부를 체크하게 되는 단계(S15); 및 (p) 상기 (n) 단계에서의 판단 결과, 보안 툴이 필요한 사이트가 종료되지 않았으면 계속해서 체크하고, 보안 툴이 필요한 사이트가 종료되었으면 시스템 보안 외의 보안 프로세서를 디제이블시키는 단계(S16); 를 더 포함하는 것을 특징으로 한다.More preferably, (k) as a result of the determination in step (h), when using the Internet, it is checked whether processor information necessary for security is stored in the app-related DB 150, and the Internet site being used. Is a site that needs security tools? Checking whether or not (S13); (m) when it is determined in step (k) that the Internet site being used is not a site requiring a security tool, disabling a security processor other than the system general security processor (S14); (n) As a result of the determination in the step (k), is it determined that the Internet site being used is a site requiring a security tool or has the site requiring the security tool been terminated after the step (m)? Checking whether or not (S15); And (p) as a result of the determination in step (n), if a site requiring a security tool is not terminated, it is continuously checked, and when a site requiring the security tool is terminated, disabling a security processor other than system security (S16). ; Characterized in that it further comprises.

가장 바람직하게는, (q) 상기 (b) 단계 내지 상기 (p) 단계를 실행되는 각각의 앱에 대해 반복해서 수행하는 단계(S17); 및 (r) 상기 (q) 단계 후에, 컴퓨터가 아이들(Idle) 상태를 일정 시간 유지하고 나서, PCI Ex 버스 및 I/O 장치를 슬립 모드로 설정한 후에, 전체 컴퓨터 시스템을 종료하게 되는 단계; 를 더 포함하는 것을 특징으로 한다.Most preferably, (q) step (S17) of repeatedly performing steps (b) to (p) for each app executed; And (r) after the step (q), the computer maintains an idle state for a certain period of time, and then sets the PCI Ex bus and I / O device to sleep mode, thereby shutting down the entire computer system; Characterized in that it further comprises.

또한 바람직하게는, 상기 바이러스 체크 공정은, (g1) 먼저 시스템 유휴시간 프로세스(System Idle Process)의 PID(Process ID)가 '0' 인가? 여부를 체크하게 되는 단계(S7); (g2) 상기 (g1) 단계에서의 판단 결과, 시스템 유휴시간 프로세스의 PID가 '0'이 아니라고 판단되면, 바이러스 체크 프로그램을 실행하게 되는 단계(S8); 및 (g3) 상기 (g2) 단계 이후, 바이러스가 검출되는지 여부를 체크하는 단계(S9); 로 이루어지며, 상기 (g3) 단계에서의 판단 결과, 바이러스가 발견되면 프로세스를 종료하고 컴퓨터 시스템을 바이러스 치료 혹은 바이러스 경고 및 치료대기와 같은 기타 일반적으로 정해진 프로세스로 리턴하며, 상기 (g3) 단계에서의 판단 결과 바이러스가 발견되지 않거나, 상기 (g1) 단계에서의 판단 결과 시스템 유휴시간 프로세스의 PID가 '0'인 경우, 및 상기 (f) 단계에서의 판단 결과 사용중인 프로그램이 가장 로드가 많은 경우에는, 상기 (h) 단계로 진행하게 되는 것을 특징으로 한다.Also preferably, in the virus check process, (g1) first, is the PID (Process ID) of the system idle process (System Idle Process) '0'? Step (S7) to check whether or not; (g2) when it is determined in step (g1) that the PID of the system idle time process is not '0', executing a virus check program (S8); And (g3) after step (g2), checking whether a virus is detected (S9); As a result of the determination in step (g3), if a virus is found, the process is terminated and the computer system is returned to other generally defined processes such as virus treatment or virus warning and waiting for treatment, in step (g3). If no virus is found as a result of the determination, or if the PID of the system idle time process is '0' as a result of the determination in step (g1), and when the program being used is the most loaded as a result of the determination in the step (f) In, it characterized in that it proceeds to the step (h).

본 발명에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법에 따르면, 컴퓨터의 리소스모니터 분석을 통하여 현재 실행중인 앱 이외의 프로세스들을 간단하고 효율적으로 분석하여, 이들을 디제이블시킴으로써, 컴퓨터 시스템에서 소요되는 소비 전력을 간단한 방식으로 절감하는 것이 가능하다.According to the energy saving method of the computer system through the analysis of the resource monitor according to the present invention, the process other than the currently running app is analyzed simply and efficiently through the analysis of the resource monitor of the computer, and by disabling them, it is required in the computer system. It is possible to reduce power consumption in a simple manner.

즉, OS에서 제공하는 리소스 모니터의 값을 분석하므로 수치의 정확성 및 프로그램 간소화가 가능하고, 리소스 모니터에서 사용 중인 앱 이외의 프로세스들을 액티브 상태로부터 디제이블시킴으로써, 그리고 스레드(Thread) 변화 및 프로세스 사용율 변화를 통한 사용자의 사용 유무 판단으로 단계별 절전이 용이하며, 앱 사용 후 닫기를 할 경우에도, 키보드 보안 및 은행 보안용 프로그램 등의 사용제한을 통하여 해당 프로세스의 사용정보 모니터링을 통하여 부가적인 앱 제어를 통하여 에너지 효율화가 가능하며, 실행 중인 앱 관련 DB를 통한 관리의 효율성 및 실제 사용하지 않는 앱의 활성화 방지 및 주변장치 제어를 통하여서도 효율적인 절전이 가능하다. In other words, by analyzing the value of the resource monitor provided by the OS, it is possible to perform numerical accuracy and program simplification, by disabling processes other than the app being used in the resource monitor from the active state, and changing threads and changing the process utilization rate. It is easy to save power step-by-step by judging whether the user is using or not, and when closing the app after using it, through additional app control through monitoring the usage information of the process through restrictions on the use of keyboard security and bank security programs, etc. Energy efficiency is possible, and efficient power saving is possible through management efficiency through application-related DB and prevention of activation of unused apps and control of peripheral devices.

상기 목적 및 효과 외에 본 발명의 다른 목적 및 이점들은 첨부한 도면을 참조한 실시예에 대한 상세한 설명을 통하여 명백하게 드러나게 될 것이다.Other objects and advantages of the present invention in addition to the above objects and effects will be apparent through the detailed description of the embodiments with reference to the accompanying drawings.

도 1은 종래의 계층 구조의 운영 체제의 개념도.
도 2는 프로세스, 서비스 연결된 핸들 및 모듈에 대한 리소스 모니터 화면의 일예.
도 3은 프로세스에 대한 리소스 모니터 화면의 일 예.
도 4는 본 발명에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템의 블록도.
도 5 및 도 6은, 본 발명에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법의 흐름도.
도 7은 작업 관리자 화면의 일 예.
1 is a conceptual diagram of a conventional hierarchical operating system.
2 is an example of a resource monitor screen for a process, a service connected handle, and a module.
3 is an example of a resource monitor screen for a process.
4 is a block diagram of an energy saving system of a computer system through resource monitor analysis according to the present invention.
5 and 6 are flow charts of a method for saving energy in a computer system through resource monitor analysis according to the present invention.
7 is an example of a job manager screen.

이하에서는, 첨부도면을 참고하여 본 발명에 따른 바람직한 실시예들을 상세하게 설명하기로 한다. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템의 블록도리고, 도 5 및 도 6은, 본 발명에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법의 흐름도이며, 도 7은 작업 관리자 화면의 일예이다.4 is a block diagram of an energy saving system of a computer system through analysis of a resource monitor according to the present invention, and FIGS. 5 and 6 are flowcharts of an energy saving method of a computer system through analysis of a resource monitor according to the present invention. 7 is an example of the job manager screen.

다만, 첨부된 도면은 본 발명의 내용을 보다 쉽게 개시하기 위하여 설명되는 것일 뿐, 본 발명의 범위가 첨부된 도면의 범위로 한정되는 것이 아님은 당해 기술 분야의 통상의 지식을 가진 자라면 용이하게 알 수 있을 것이다.However, the accompanying drawings are only described to more easily disclose the contents of the present invention, and the scope of the present invention is not limited to the scope of the accompanying drawings, and is easily understood by those skilled in the art. You will know.

(본 발명의 최적 실시예에 따른 컴퓨터 시스템의 에너지 절감 시스템) (Energy saving system of a computer system according to an exemplary embodiment of the present invention)

우선, 본 발명의 최적 실시예에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템에 대하여, 도 4를 참조하여 설명한다.First, an energy saving system of a computer system through resource monitor analysis according to an exemplary embodiment of the present invention will be described with reference to FIG. 4.

본 발명의 최적 실시예에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템 역시, 도 1 및 도 4에서 보는 바와 같이, 상위 레이어로서의 유저 스페이스(100)는, OS(110)와 유저 인터페이스(120) 및 명령 및 유틸리티(130)로 나타내어질 수 있고, 중간 레이어로서의 커널 스페이스(200)는, 최상층의 파일 서비스(210)와, 최하층의 I/O 장치 드라이버(260) 및 중간층의 네트워크 서비스(220), 프로세스 관리자(230), 리소스 할당(240) 및 버츄얼메모리 관리자(250)를 포함한다.The energy saving system of the computer system through the analysis of the resource monitor according to the best embodiment of the present invention, as shown in FIGS. 1 and 4, the user space 100 as an upper layer includes the OS 110 and the user interface 120 ) And commands and utilities 130, the kernel space 200 as an intermediate layer includes a file service 210 at the top layer, an I / O device driver 260 at the bottom layer, and a network service 220 at the middle layer. ), Process manager 230, resource allocation 240, and virtual memory manager 250.

본 발명의 최적 실시예에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템은, 여기에 추가하여, 프로세서 관리자 앱(160) 및 프로세서 스레드 세이브 에어리어(170)가 필요하며, 다시 상기 프로세서 관리자 앱(160)은 앱 연관 DB(150)와 리소스 모니터링(140) 기능과 접속되어 진다.The energy saving system of the computer system through the analysis of the resource monitor according to the optimal embodiment of the present invention, in addition, the processor manager app 160 and the processor thread save area 170 are required, and the processor manager app ( 160) is connected to the app-related DB 150 and the resource monitoring 140 function.

그리하여, 상기 프로세서 관리자 앱(160)은 리소스 모니터(140) 기능을 사용하여 도 3 및 도 4에서 보는 바와 같은 리소스모니터를 모니터링함으로써 현재 실행 앱(프로세스)을 확인하고, 앱 연관 DB(150)로부터 현재 실행 앱과 연관된 프로그램 DB를 콜하며, 현재 실행 중이 아닌 앱 및 프로세서들을 중지시키게 된다. 일예로, 프로세스들을 로드가 많이 걸리는 순서대로 소팅하여 스레드 숫자에 따라 진정한 실행 여부를 확인함으로써, 이루어질 수 있다.Thus, the processor manager app 160 checks the currently running app (process) by monitoring the resource monitor as shown in FIGS. 3 and 4 using the resource monitor 140 function, and from the app association DB 150 It calls the program DB associated with the currently running app, and stops apps and processors that are not currently running. For example, this can be done by sorting the processes in the order of the most loads to see if they are truly running according to the number of threads.

상기 프로세서 스레드 세이브 에어리어(170)는, 현재 실행 앱의 현재 상태 정보를 저장한 후, 리턴시 콜하여 복귀시키는데 사용되는 임시 저장공간이다.The processor thread save area 170 is a temporary storage space used to store the current state information of the currently running app and then call it upon return to return.

한편, 본 발명에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 시스템의 커널 공간(200)에는, 커런트 프로세서 제어부(270), 디스플레이 제어부(280) 및 I/O 장치 PM 제어부(290)가 추가되는바, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)는, 현재 진정한 실행 중이 아닌 앱이나 프로세스들의 현재 상태 정보를 상기 프로세서 스레드 세이브 에어리어(170)에 저장한 후, 커런트 프로세서 제어부(270)를 통해 실제 실행되는 앱이나 프로세스들을 제어하면서 현재 실제 실행되는 앱이나 프로세스들과 무관한 프로세스들은 비활성화하며, 추가적으로 상기 디스플레이 제어부(280)는, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)로부터의 지시에 따라 I/O 장치 드라이버(260)를 통해 하드웨어 중 디스플레이 장치를 끄거나 중지시키며, 상기 I/O 장치 PM 제어부(290)는, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)로부터의 지시에 따라 I/O 장치 드라이버(260)를 통해 하드웨어 중 I/O 장치를 끄거나 중지시키게 된다.Meanwhile, a current processor control unit 270, a display control unit 280, and an I / O device PM control unit 290 are added to the kernel space 200 of the energy saving system of the computer system through the resource monitor analysis according to the present invention. The file manager and the device manager 165 in the processor manager app 160 store current state information of apps or processes that are not currently running in the processor thread save area 170, and then perform a current processor control unit ( 270) while controlling an app or process that is actually executed, processes that are not actually related to the currently executed app or processes are deactivated, and additionally, the display control unit 280 is a file manager and device in the processor manager app 160. Turn off or stop the display device among the hardware through the I / O device driver 260 according to the instruction from the manager 165, and the I / O device PM control unit 290 is a file in the processor manager app 160 The I / O device among hardware is turned off or stopped through the I / O device driver 260 according to instructions from the manager and the device manager 165.

즉, 상기 앱 연관 DB(150)는, 특정 앱 실행에 필요한 정보를 저장하고 있으며, 상기 프로세서 스레드 세이브 에어리어(170)는 현재 상태를 저장한 후에 복귀할 때 필요한 정보를 가지고 있으며, 상기 파일 관리자 및 장치 관리자(165)는, 상기 프로세서 관리자 앱(160)이 특정 프로세스를 중지 후 재실행시 파일들이 로드되고 디바이스를 슬립시킬 때 필요하게 된다.That is, the app-related DB 150 stores information required to execute a specific app, and the processor thread save area 170 has information necessary to return after saving the current state, and includes the file manager and The device manager 165 is required when the processor manager app 160 stops a specific process and then re-executes files and sleeps the device.

(본 발명의 최적 실시예에 따른 컴퓨터 시스템 에너지 절감 방법)(Computer system energy saving method according to an exemplary embodiment of the present invention)

이제, 본 발명의 최적 실시예에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법에 대하여, 도 5 및 도 6을 참조하여 설명한다.Now, a method for saving energy of a computer system through resource monitor analysis according to an exemplary embodiment of the present invention will be described with reference to FIGS. 5 and 6.

본 발명의 최적 실시예에 따른 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법은, 우선, 도 5에서 보는 바와 같이, 상기 프로세서 관리자 앱(160)은 리소스 모니터(140) 기능을 사용하여 도 3 및 도 4에서 보는 바와 같은 리소스모니터를 모니터링함으로써(S1), 현재 실행 중인 앱 및 프로세서('A')를 확인하고, 앱 연관 DB(150)로부터 현재 실행 앱과 연관된 프로그램 DB('B')를 콜하게 된다(S2).The energy saving method of the computer system through the analysis of the resource monitor according to the best embodiment of the present invention, first, as shown in FIG. 5, the processor manager app 160 uses the resource monitor 140 function in FIG. 3 and As shown in FIG. 4, by monitoring the resource monitor (S1), the currently running app and processor ('A') are identified, and the program DB ('B') associated with the currently running app is checked from the app association DB 150. You will be called (S2).

이때, 상기 앱 연관 DB(150)에는, 실행 프로그램인 프로세스 및 응용 앱 정보, 시스템 운영에 필요한 프로세서, 보안에 필요한 프로세서 정보들이 저장되어 있어야 한다.At this time, in the app-related DB 150, process and application app information that is an execution program, a processor required for system operation, and processor information required for security must be stored.

계속해서, 상기 S2 단계에서 확인한 실행 앱 및 프로세서('A')와 상기 S2 단계에서 콜한 현재 실행 앱과 연관된 프로그램 DB('B')가 일치하는지 여부를 체크하는바(S3), 상기 S3 단계에서의 판단 결과, 일치하는 경우에는, 다음 단계(S5)로 진행하여 로드가 많이 걸리는 프로세서 순으로 소팅을 행하게 된다. 이때, 로드가 많이 걸리는 정도는, CPU 사용량, CPU 평균 사용량, 스레드 등을 참조하는바, 스레드 숫자에 따라서 진정한 실행 앱인지 여부를 확인하도록 한다.Subsequently, it is checked whether the execution app and processor ('A') checked in step S2 and the program DB ('B') associated with the current running app called in step S2 match (S3), and step S3. As a result of judging from, if there is a match, the process proceeds to the next step (S5) and sorting is performed in the order of the processor that is heavily loaded. At this time, the degree of heavy load refers to CPU usage, CPU average usage, threads, etc., so it is checked whether it is a true running app according to the number of threads.

한편, 상기 S3 단계에서의 판단 결과, 양자가 일치하지 않는 경우에는, 리스트에 없는 앱 및 프로세서들을 비사용(unused)으로 세팅하여 양자를 일치시킨 후에(S4), 상기 S5 단계로 진행하게 된다.On the other hand, as a result of the determination in step S3, when the two do not match, the apps and processors not in the list are set to unused to match the two (S4), and then the process proceeds to step S5.

계속해서, 현재 사용 중인 프로그램이 가장 로드가 많은가? 여부를 체크하게 되는바(S6), 그렇지 않은 경우에는 바이러스 프로그램 실행일 가능성이 있으므로, 바이러스 체크 공정(S7 내지 S9 단계)을 실행하며, 상기 S6 단계에서의 판단 결과, 현재 사용 중인 프로그램이 가장 로드가 많은 것으로 판단되는 경우에는, 도 6의 S11 단계로 진행하게 된다.Continuing, is the program currently being used the most loaded? It is checked whether it is checked (S6), otherwise, it is possible that the virus program is executed. Therefore, the virus check process (steps S7 to S9) is executed. As a result of the determination in step S6, the currently used program is loaded most If it is determined that there are many, the process proceeds to step S11 of FIG. 6.

상기 바이러스 체크 공정은, 먼저 시스템 유휴시간 프로세스(System Idle Process)의 PID(Process ID)가 '0' 인가? 여부를 체크하게 된다(S7). 도 7의 작업 관리자 실행 화면에서 보듯이, 대부분의 정상적인 프로그램 시행시에는, 시스템 유휴시간 프로세스(System Idle Process)의 PID가 '0'이며, 만약 시스템 유휴시간 프로세스의 PID가 '0'이 아니면 바이러스 프로그램의 실행 중일 가능성이 크다.In the virus check process, is the PID (Process ID) of the system idle process (0) first? It is checked whether or not (S7). As shown in the task manager execution screen of FIG. 7, when most normal programs are executed, the PID of the system idle process is '0', and if the PID of the system idle process is not '0', the virus It is likely that the program is running.

따라서, 상기 S7 단계에서의 판단 결과, 시스템 유휴시간 프로세스의 PID가 '0'이 아니라고 판단되면, 바이러스 체크 프로그램을 실행하게 되며(S8), 이후 바이러스가 검출되는지 여부를 체크하여(S9), 바이러스가 발견되면 프로세스를 종료하고 컴퓨터 시스템을 바이러스 치료 혹은 바이러스 경고 및 치료대기와 같은 기타 일반적으로 정해진 프로세스로 리턴하며, 상기 S9 단계에서 바이러스가 발견되지 않으면 (상기 S7 단계에서의 판단 결과, 시스템 유휴시간 프로세스의 PID가 '0'인 경우; 및 상기 S6 단계에서의 판단 결과, 사용중인 프로그램이 가장 로드가 많은 경우도 마찬가지임), 이제, 도 6의 S11 단계로 진행하여, 사용중인 프로그램이 인터넷인가? 여부를 체크하게 된다.Therefore, when it is determined in step S7 that the PID of the system idle time process is not '0', a virus check program is executed (S8), and then it is checked whether or not a virus is detected (S9). If is found, the process is terminated and the computer system is returned to other generally defined processes such as virus treatment or virus warning and waiting for treatment.If no virus is found in step S9 (as a result of the determination in step S7, the system idle time) If the PID of the process is '0'; and as a result of the determination in step S6, the same is the case when the program being used has the most load) Now, proceeding to step S11 of FIG. 6, is the program being used the Internet? ? Is checked.

상기 S11 단계에서의 판단 결과, 인터넷 사용중이 아니면 은행 보안용 프로세서를 디제이블시킨 후(S12), 인터넷 사용중이면 곧바로, 보안 툴이 필요한 사이트인지? 여부를 체크하게 된다(S13).As a result of the determination in step S11, if the Internet is not in use, the processor for bank security is disabled (S12), and if the Internet is in use, is it a site that needs a security tool? It is checked whether or not (S13).

그리하여, 상기 S13 단계에서의 판단 결과, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트가 아니면 시스템 일반보안 프로세서 외의 보안 프로세서를 디제이블시킨 후(S14), 보안 툴이 필요한 사이트이면 곧바로, 보안 툴이 필요한 사이트가 종료되었는지? 여부를 체크하게 된다(S15).Thus, as a result of the determination in step S13, if the Internet site in use is not a site requiring a security tool, after disabling a security processor other than the system general security processor (S14), immediately after the site requiring the security tool, a security tool is required. Is the site closed? It is checked whether or not (S15).

그리하여, S15 단계에서의 판단 결과, 보안 툴이 필요한 사이트가 종료되지 않았으면 계속해서 체크하고, 보안 툴이 필요한 사이트가 종료되었으면 시스템 보안(일례로 알약) 외의 보안 프로세서를 디제이블시키고(S16), 이제 새로운 앱이 실행되었는지? 여부를 체크하여(S17), 새로운 앱이 발견되었으면 상기 도 5의 S2 단계로 진해하여 상기 S2 ~ S17 단계를 반복해서 수행하고, 상기 S17 단계에서의 판단 결과 새로운 앱이 발견되지 않으면, 시스템을 종료하게 되는바, 일단 컴퓨터가 아이들(Idle) 상태를 일정 시간(일례로 3분간) 유지하고 나서, PCI Ex 버스 및 I/O 장치를 슬립 모드로 설정한 후에, 전체 컴퓨터 시스템을 종료하게 된다.Thus, as a result of the determination in step S15, if a site requiring a security tool has not been terminated, it is continuously checked, and if a site requiring the security tool has been terminated, a security processor other than system security (eg, a pill) is disabled (S16), Is the new app launched now? If it is checked (S17), if a new app is found, the process proceeds to step S2 of FIG. 5 and the steps S2 to S17 are repeatedly performed, and if a new app is not found as a result of the determination in step S17, the system is terminated. As a result, once the computer maintains the idle state for a certain period of time (for example, 3 minutes), the PCI Ex bus and I / O devices are put into sleep mode, and then the entire computer system is shut down.

상기 S18 단계에서의 아이들(Idle) 상태는, 일례로 키보드니 마우스 등의 키 입력이 없고 작업관리자의 대기 IP가 없으며, CPU 사용량이 15% 미만인 경우로 정할 수 있으나, 반드시 이에 한정되는 것은 아니다.The idle state in the step S18 may be determined, for example, when there is no key input such as a keyboard or mouse, there is no standby IP of the work manager, and the CPU usage is less than 15%, but is not limited thereto.

이와 같은 본 발명의 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법에 의하면, 리소스모니터 분석을 통한다는 매우 간단한 방법으로 현재 실행 앱을 파악할 수 있고, 그와 연관된 자원 이외의 자원은 디제이블시키게 되므로 불필요한 앱 실행으로 인한 에너지 절감을 꾀할 수 있으며, 특히 많은 에너지를 소비하는 은행 보안용 프로세서 및 기타 보안용 프로세스가 불필요할 경우, 이들 프로세서를 디제이블 시킴으로써, 더욱이 바이러스 실행으로 인한 위험성과 불필요한 에너지 사용의 가능성을 획기적으로 줄임으로써, 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법을 제공하는 것이 가능하다.According to the energy saving method of the computer system through the resource monitor analysis of the present invention, it is possible to identify the currently running app in a very simple way through the resource monitor analysis, and resources other than the resources associated with it can be disabled because it is unnecessary. You can try to save energy by running the app, and if you don't need a processor for bank security and other security processes that consume a lot of energy, you can disable these processors, furthermore, the risk of virus execution and the possibility of unnecessary energy use. By drastically reducing, it is possible to provide a method for saving energy in a computer system through resource monitor analysis.

이상에서는 본 발명의 일 실시예에 따라 본 발명을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 변경 및 변형한 것도 본 발명에 속함은 당연하다.In the above, the present invention has been described in accordance with an embodiment of the present invention, but those skilled in the art to which the present invention pertains also include modifications and modifications within the scope of the present invention without departing from the technical spirit of the present invention. Of course it is.

(종래기술)
100 : 유저 스페이스 110 : OS (Operating System)
120 : 유저 인터페이스 130 : 명령 및 유틸리티
200 : 커널 스페이스 210 : 파일 서비스
220 : 네트워크 서비스 230 : 프로세스 관리자
240 : 리소스 할당 250 : 버츄얼메모리 관리자
260 : I/O 장치 드라이버
(본 발명)
100 : 유저 스페이스 110 : OS (Operating System)
120 : 유저 인터페이스 130 : 명령 및 유틸리티
140 : 리소스 모니터링 150 : 앱 연관(connected) DB
160 : 프로세서 관리자 앱 165 : 파일 관리자 및 장치 관리자
170 : 프로세서 스레드 세이브 에어리어
200 : 커널 스페이스 210 : 파일 서비스
220 : 네트워크 서비스 230 : 프로세스 관리자
240 : 리소스 할당 250 : 버츄얼메모리 관리자
260 : I/O 장치 드라이버 270 : 커런트 프로세서 제어부
280 : 디스플레이 제어부 290 : I/O 장치 PM 제어부
(Prior Art)
100: User space 110: OS (Operating System)
120: user interface 130: commands and utilities
200: kernel space 210: file service
220: network service 230: process manager
240: resource allocation 250: virtual memory manager
260: I / O device driver
(Invention)
100: User space 110: OS (Operating System)
120: user interface 130: commands and utilities
140: resource monitoring 150: app connected (DB)
160: processor manager app 165: file manager and device manager
170: processor thread save area
200: kernel space 210: file service
220: network service 230: process manager
240: resource allocation 250: virtual memory manager
260: I / O device driver 270: Current processor control unit
280: display control unit 290: I / O device PM control unit

Claims (7)

상위 레이어로서의 유저 스페이스(100); 및 중간 레이어로서의 커널 스페이스(200)를 포함하되, 상기 유저 스페이스(100)는 OS(110)와 유저 인터페이스(120) 및 명령 및 유틸리티(130)를 포함하며, 상기 커널 스페이스(200)는 최상층의 파일 서비스(210)와, 최하층의 I/O 장치 드라이버(260) 및 중간층의 네트워크 서비스(220), 프로세스 관리자(230), 리소스 할당(240) 및 버츄얼메모리 관리자(250)를 포함하여 이루어지는 컴퓨터 시스템의 에너지 절감 시스템을 이용한 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법으로서,
상기 유저 스페이스(100)는, 프로세서 관리자 앱(160) 및 프로세서 스레드 세이브 에어리어(170)를 더 포함하며, 상기 프로세서 관리자 앱(160)은 앱 연관 DB(150)와 리소스 모니터링(140) 기능과 접속되며,
상기 앱 연관 DB(150)는, 특정 앱 실행에 필요한 정보를 저장하고 있으며,
상기 프로세서 관리자 앱(160)은 리소스 모니터(140) 기능을 사용하여 리소스모니터를 모니터링함으로써 현재 실행 앱(프로세스)을 확인하고, 앱 연관 DB(150)로부터 현재 실행 앱과 연관된 프로그램 DB를 콜하며, 현재 실행 중이 아닌 앱 및 프로세서들을 중지시키게 되며,
상기 프로세서 스레드 세이브 에어리어(170)는, 현재 실행 앱의 현재 상태 정보를 저장한 후, 리턴시 콜하여 복귀시키는데 사용되는 정보를 임시 저장하며,
상기 커널 스페이스(200)은, 커런트 프로세서 제어부(270), 디스플레이 제어부(280) 및 I/O 장치 PM 제어부(290)를 더 포함하며,
상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)는, 현재 진정한 실행 중이 아닌 앱이나 프로세스들의 현재 상태 정보를 상기 프로세서 스레드 세이브 에어리어(170)에 저장한 후, 커런트 프로세서 제어부(270)를 통해 실제 실행되는 앱이나 프로세스들을 제어하면서 현재 실제 실행되는 앱이나 프로세스들과 무관한 프로세스들은 비활성화하며,
상기 디스플레이 제어부(280)는, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)로부터의 지시에 따라 I/O 장치 드라이버(260)를 통해 하드웨어 중 디스플레이 장치를 끄거나 중지시키며,
상기 I/O 장치 PM 제어부(290)는, 상기 프로세서 관리자 앱(160) 내의 파일 관리자 및 장치 관리자(165)로부터의 지시에 따라 I/O 장치 드라이버(260)를 통해 하드웨어 중 I/O 장치를 끄거나 중지시키게 되며,
상기 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법은,
(a) 상기 프로세서 관리자 앱(160)은 리소스 모니터(140) 기능을 사용하여 리소스모니터를 모니터링하는 단계(S1);
(b) 상기 (a) 단계에서의 모니터링 결과, 현재 실행 중인 앱 및 프로세서('A')를 확인하고, 앱 연관 DB(150)로부터 현재 실행 앱과 연관된 프로그램 DB('B')를 콜하게 되는 단계(S2);
(c) 상기 (b) 단계에서 확인한 실행 앱 및 프로세서('A')와 상기 (b) 단계에서 콜한 현재 실행 앱과 연관된 프로그램 DB('B')가 일치하는지 여부를 체크하는 단계(S3);
(d) 상기 (c) 단계에서의 판단 결과, 일치하지 않는 경우에는, 리스트에 없는 앱 및 프로세서들을 비사용(unused)으로 세팅하여 양자를 일치시키는 단계(S4);
(e) 상기 (c) 단계에서의 판단 결과, 일치하는 경우에는, 로드가 많이 걸리는 프로세서 순으로 소팅을 행하게 되는 단계(S5);
(f) 상기 (e) 단계 후, 현재 사용 중인 프로그램이 가장 로드가 많은가? 여부를 체크하게 되는 단계(S6);
(g) 상기 (f) 단계에서의 판단 결과, 그렇지 않은 경우에는, 바이러스 체크 공정(S7 내지 S9 단계)을 실행하는 단계;
(h) 상기 (f) 단계에서의 판단 결과, 현재 사용 중인 프로그램이 가장 로드가 많은 것으로 판단되는 경우에는, 사용중인 프로그램이 인터넷인가? 여부를 체크하게 되는 단계(S11);
(j) 상기 (h) 단계에서의 판단 결과, 인터넷 사용중이 아니면 은행 보안용 프로세서를 디제이블시키는 단계(S12);
(k) 상기 (h) 단계에서의 판단 결과, 인터넷 사용중인 경우에는, 상기 앱 연관 DB(150)에 보안에 필요한 프로세서 정보들이 저장되어 있는지 여부를 조사하여, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트인지? 여부를 체크하게 되는 단계(S13);
(m) 상기 (k) 단계에서의 판단 결과, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트가 아닌 것으로 판단되면, 시스템 일반보안 프로세서 외의 보안 프로세서를 디제이블시키는 단계(S14);
(n) 상기 (k) 단계에서의 판단 결과, 사용중인 인터넷 사이트가 보안 툴이 필요한 사이트인 것으로 판단되거나 상기 (m) 단계 이후, 보안 툴이 필요한 사이트가 종료되었는지? 여부를 체크하게 되는 단계(S15); 및
(p) 상기 (n) 단계에서의 판단 결과, 보안 툴이 필요한 사이트가 종료되지 않았으면 계속해서 체크하고, 보안 툴이 필요한 사이트가 종료되었으면 시스템 보안 외의 보안 프로세서를 디제이블시키는 단계(S16);
를 포함하는 것을 특징으로 하는 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법.
User space 100 as an upper layer; And a kernel space 200 as an intermediate layer, wherein the user space 100 includes an OS 110, a user interface 120, and commands and utilities 130, and the kernel space 200 is a top layer. A computer system comprising a file service 210, a lower layer I / O device driver 260, a middle layer network service 220, a process manager 230, resource allocation 240, and a virtual memory manager 250 As an energy saving method of computer system through resource monitor analysis using energy saving system,
The user space 100 further includes a processor manager app 160 and a processor thread save area 170, and the processor manager app 160 is connected to an app related DB 150 and a resource monitoring 140 function. And
The app-related DB 150 stores information necessary to execute a specific app,
The processor manager app 160 monitors the resource monitor using the resource monitor 140 function to check the currently running app (process), and calls the program DB associated with the currently running app from the app association DB 150. Will stop apps and processors that are not currently running,
The processor thread save area 170 temporarily stores information used to call and return upon returning after storing current state information of the currently executing app,
The kernel space 200 further includes a current processor control unit 270, a display control unit 280, and an I / O device PM control unit 290,
The file manager and the device manager 165 in the processor manager app 160 store current state information of apps or processes that are not currently running in the processor thread save area 170, and then the current processor control unit 270 While controlling the apps or processes that are actually running, disable processes that are not related to the currently running apps or processes,
The display control unit 280 turns off or stops the display device among hardware through the I / O device driver 260 according to the instructions from the file manager and the device manager 165 in the processor manager app 160,
The I / O device PM control unit 290, through the I / O device driver 260 according to the instructions from the file manager and the device manager 165 in the processor manager app 160, displays the I / O device in hardware. Will be turned off or stopped,
The energy saving method of the computer system through the analysis of the resource monitor,
(a) the processor manager app 160 monitors the resource monitor using the resource monitor 140 function (S1);
(b) The monitoring result in step (a), check the currently running app and processor ('A'), and call the program DB ('B') associated with the currently running app from the app related DB 150 Step (S2);
(c) checking whether the execution app and processor ('A') checked in step (b) and the program DB ('B') associated with the current running app called in step (b) match (S3). ;
(d) the result of the determination in step (c), if they do not match, setting the apps and processors not in the list to unused to match both (S4);
(e) the result of the determination in the step (c), if it matches, the step of performing sorting in the order of the processor that is heavily loaded (S5);
(f) After step (e), is the program currently being used the most loaded? Step S6 to check whether or not;
(g) as a result of the determination in step (f), if not, executing a virus check process (steps S7 to S9);
(h) If, as a result of the determination in step (f), it is determined that the program currently being used is the most loaded, is the program being used the Internet? Checking whether or not (S11);
(j) as a result of the determination in step (h), if the Internet is not in use, disabling the processor for bank security (S12);
(k) As a result of the determination in step (h), when using the Internet, it is checked whether processor information necessary for security is stored in the app-related DB 150, and the Internet site being used needs a security tool. Is it a site? Checking whether or not (S13);
(m) when it is determined in step (k) that the Internet site being used is not a site requiring a security tool, disabling a security processor other than the system general security processor (S14);
(n) As a result of the determination in the step (k), is it determined that the Internet site being used is a site requiring a security tool or has the site requiring the security tool been terminated after the step (m)? Checking whether or not (S15); And
(p) as a result of the determination in step (n), if a site requiring a security tool is not terminated, it is continuously checked, and when a site requiring the security tool is terminated, disabling a security processor other than system security (S16);
Containing Energy saving method of the computer system through the analysis of the resource monitor, characterized in that.
제 1 항에 있어서,
상기 파일 관리자 및 장치 관리자(165)는, 상기 프로세서 관리자 앱(160)이 특정 프로세스를 중지 후 재실행시 파일들이 로드되고 디바이스를 슬립시키는 것을 특징으로 하는 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법.
According to claim 1,
The file manager and the device manager 165, the processor manager app 160 is a method of saving energy in a computer system through resource monitor analysis, characterized in that files are loaded and the device sleeps when re-running after stopping a specific process.
삭제delete 삭제delete 삭제delete 제 1 항에 있어서,
(q) 상기 (b) 단계 내지 상기 (p) 단계를 실행되는 각각의 앱에 대해 반복해서 수행하는 단계(S17); 및
(r) 상기 (q) 단계 후에, 컴퓨터가 아이들(Idle) 상태를 일정 시간 유지하고 나서, PCI Ex 버스 및 I/O 장치를 슬립 모드로 설정한 후에, 전체 컴퓨터 시스템을 종료하게 되는 단계;
를 더 포함하는 것을 특징으로 하는 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법.
According to claim 1,
(q) step (S17) of repeatedly performing steps (b) to (p) for each app executed; And
(r) after the step (q), the computer maintains the idle state for a certain period of time, and then sets the PCI Ex bus and I / O device to sleep mode, and then shuts down the entire computer system;
Energy saving method of the computer system through a resource monitor analysis, characterized in that it further comprises.
제 1 항에 있어서,
상기 바이러스 체크 공정은,
(g1) 먼저 시스템 유휴시간 프로세스(System Idle Process)의 PID(Process ID)가 '0' 인가? 여부를 체크하게 되는 단계(S7);
(g2) 상기 (g1) 단계에서의 판단 결과, 시스템 유휴시간 프로세스의 PID가 '0'이 아니라고 판단되면, 바이러스 체크 프로그램을 실행하게 되는 단계(S8); 및
(g3) 상기 (g2) 단계 이후, 바이러스가 검출되는지 여부를 체크하는 단계(S9);
로 이루어지며,
상기 (g3) 단계에서의 판단 결과, 바이러스가 발견되면 프로세스를 종료하고 컴퓨터 시스템을 바이러스 치료 혹은 바이러스 경고 및 치료대기와 같은 기타 일반적으로 정해진 프로세스로 리턴하며,
상기 (g3) 단계에서의 판단 결과 바이러스가 발견되지 않거나, 상기 (g1) 단계에서의 판단 결과 시스템 유휴시간 프로세스의 PID가 '0'인 경우, 및 상기 (f) 단계에서의 판단 결과 사용중인 프로그램이 가장 로드가 많은 경우에는, 상기 (h) 단계로 진행하게 되는 것을 특징으로 하는 리소스모니터 분석을 통한 컴퓨터 시스템의 에너지 절감 방법.
According to claim 1,
The virus check process,
(g1) Is the PID (Process ID) of the system idle process (0) first? Step (S7) to check whether or not;
(g2) when it is determined in step (g1) that the PID of the system idle time process is not '0', executing a virus check program (S8); And
(g3) after step (g2), checking whether a virus is detected (S9);
Is made of,
As a result of the determination in step (g3), if a virus is found, the process is terminated and the computer system is returned to other generally defined processes such as virus treatment or virus warning and waiting for treatment,
If the virus is not found as a result of the judgment in the step (g3), or the PID of the system idle time process is '0' as a result of the judgment in the step (g1), and the program being used as a result of the judgment in the step (f) When the load is the most, the energy saving method of the computer system through the analysis of the resource monitor, characterized in that to proceed to the step (h).
KR1020190134573A 2019-10-28 2019-10-28 A method for power saving of computer system by using resource monitor analysis KR102088006B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190134573A KR102088006B1 (en) 2019-10-28 2019-10-28 A method for power saving of computer system by using resource monitor analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190134573A KR102088006B1 (en) 2019-10-28 2019-10-28 A method for power saving of computer system by using resource monitor analysis

Publications (1)

Publication Number Publication Date
KR102088006B1 true KR102088006B1 (en) 2020-05-26

Family

ID=70914830

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190134573A KR102088006B1 (en) 2019-10-28 2019-10-28 A method for power saving of computer system by using resource monitor analysis

Country Status (1)

Country Link
KR (1) KR102088006B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102148825B1 (en) 2020-04-29 2020-08-27 주식회사 에이치케이시스템 A method for energy saving by using program control signals of a monitor apparatus
CN117499442A (en) * 2023-12-27 2024-02-02 天津数智物联科技有限公司 Data efficient processing method for Internet of things energy monitoring device
CN118426975A (en) * 2024-07-04 2024-08-02 青岛大学 Control method for parallel operation of multi-user operating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150021378A (en) * 2013-08-20 2015-03-02 한국전자통신연구원 Apparatus and method for power saving of computer system
KR20150066083A (en) * 2013-12-06 2015-06-16 삼성전자주식회사 Multi tasking method of electronic apparatus and electronic apparatus thereof
KR20160104304A (en) * 2015-02-26 2016-09-05 삼성전자주식회사 Electronic device and method for managung power in electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150021378A (en) * 2013-08-20 2015-03-02 한국전자통신연구원 Apparatus and method for power saving of computer system
KR20150066083A (en) * 2013-12-06 2015-06-16 삼성전자주식회사 Multi tasking method of electronic apparatus and electronic apparatus thereof
KR20160104304A (en) * 2015-02-26 2016-09-05 삼성전자주식회사 Electronic device and method for managung power in electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102148825B1 (en) 2020-04-29 2020-08-27 주식회사 에이치케이시스템 A method for energy saving by using program control signals of a monitor apparatus
CN117499442A (en) * 2023-12-27 2024-02-02 天津数智物联科技有限公司 Data efficient processing method for Internet of things energy monitoring device
CN117499442B (en) * 2023-12-27 2024-05-10 天津数智物联科技有限公司 Data efficient processing method for Internet of things energy monitoring device
CN118426975A (en) * 2024-07-04 2024-08-02 青岛大学 Control method for parallel operation of multi-user operating system

Similar Documents

Publication Publication Date Title
US10788989B2 (en) Non-uniform memory access (NUMA) resource assignment and re-evaluation
KR102088006B1 (en) A method for power saving of computer system by using resource monitor analysis
US11181970B2 (en) System and method for performing distributed power management without power cycling hosts
US9864627B2 (en) Power saving operating system for virtual environment
US9800655B2 (en) Policy and identity based workload provisioning
US9977689B2 (en) Dynamic scaling of management infrastructure in virtual environments
US6901522B2 (en) System and method for reducing power consumption in multiprocessor system
US9558034B2 (en) Entitlement vector for managing resource allocation
US9098608B2 (en) Processor configured to allocate resources using an entitlement vector
EP3245587B1 (en) Systems and methods for providing dynamic cache extension in a multi-cluster heterogeneous processor architecture
US20090328058A1 (en) Protected mode scheduling of operations
JP2007220086A (en) Input/output controller, input/output control system, and input/output control method
JP4576452B2 (en) Operating system and information processing apparatus
EP2524312A1 (en) System and method of controlling power in an electronic device
KR102436071B1 (en) A system and method for power saving of computer system by using power regulating functions
US7765548B2 (en) System, method and medium for using and/or providing operating system information to acquire a hybrid user/operating system lock
US20220350668A1 (en) Function parallelism in a runtime container of a function-as-a-service (faas) system
KR20100113601A (en) System and method for managing a hybrid compute environment
US20150160973A1 (en) Domain based resource isolation in multi-core systems
Zhu et al. A thread-oriented memory resource management framework for mobile edge computing
Eibel et al. Empya: Saving energy in the face of varying workloads
KR101151591B1 (en) System for Providing Virtual Machine based on Location Information and Server and Method used in the System
KR101334842B1 (en) Virtual machine manager for platform of terminal having function of virtualization and method thereof
US8850447B2 (en) Managing resources in a multiprocessing computer system
KR102333693B1 (en) Method and apparatus for operating multi-processor system in electronic device