[go: up one dir, main page]

KR102532298B1 - Apparatus and method for managing an application - Google Patents

Apparatus and method for managing an application Download PDF

Info

Publication number
KR102532298B1
KR102532298B1 KR1020160117367A KR20160117367A KR102532298B1 KR 102532298 B1 KR102532298 B1 KR 102532298B1 KR 1020160117367 A KR1020160117367 A KR 1020160117367A KR 20160117367 A KR20160117367 A KR 20160117367A KR 102532298 B1 KR102532298 B1 KR 102532298B1
Authority
KR
South Korea
Prior art keywords
time
application
mode
working
external input
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020160117367A
Other languages
Korean (ko)
Other versions
KR20170035799A (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 US15/273,204 priority Critical patent/US10397366B2/en
Publication of KR20170035799A publication Critical patent/KR20170035799A/en
Application granted granted Critical
Publication of KR102532298B1 publication Critical patent/KR102532298B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

전자 장치에서 실행되는 복수의 애플리케이션들의 관리 방법에 있어서, 상기 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 상기 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신하는 단계; 상기 제 1 외부 입력에 기초하여, 상기 적어도 하나의 애플리케이션 이외의 다른 애플리케이션의 모드를 작업 모드에서 비작업 모드로 갱신하는 단계; 및 상기 제 1 외부 입력의 획득 시점 및 작업 모드로의 갱신 시점 중 적어도 하나에 기초하여 결정된 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 표시하는 단계를 포함하는, 관리 방법이 제공된다.A method for managing a plurality of applications running on an electronic device, wherein a mode of at least one application is updated from a non-working mode to a working mode based on a first external input to at least one of the plurality of applications. doing; updating a mode of an application other than the at least one application from a working mode to a non-working mode based on the first external input; and displaying a working time for the at least one application determined based on at least one of a time of acquiring the first external input and a time of updating to a work mode.

Figure R1020160117367
Figure R1020160117367

Description

애플리케이션을 관리하는 방법 및 장치{Apparatus and method for managing an application}Apparatus and method for managing an application}

본 개시는 전자 장치에서 실행되는 복수의 애플리케이션에 대한 작업 시간 또는 복수의 전자 장치에서 실행되는 복수의 애플리케이션에 대한 작업 시간을 시구간의 중첩 없이 결정하는 방법 및 전자 장치에 관한 것이다.The present disclosure relates to a method and an electronic device for determining working times for a plurality of applications running on an electronic device or working times for a plurality of applications running on a plurality of electronic devices without overlapping time intervals.

웹 애플리케이션을 이용한 원격 진료 등의 원격 서비스를 제공하는 사업이 증가함에 따라, 원격 서비스의 제공에 따른 비용 청구 시, 객관적 기준이 되는 작업 시간 산출방법이 필요하게 되었다. 그러나 기존 기술은 단일 또는 복수의 전자 장치에서 여러 웹 브라우저의 탭/윈도우가 실행 중인 경우, 실제로 사용자가 작업하고 있는 웹 브라우저의 탭/윈도우를 판단하지 않아, 작업 시간을 중첩적으로 합산하여, 신뢰할 수 있는 작업 시간을 산출할 수 없는 문제가 있다.As the business of providing remote services such as telemedicine using web applications increases, a work time calculation method that serves as an objective standard when billing for the provision of remote services has become necessary. However, existing technologies do not determine which web browser tabs/windows the user is actually working on when tabs/windows of multiple web browsers are running on a single or multiple electronic devices, overlapping the work time, I have a problem where I can't calculate the amount of work I can do.

따라서, 전자 장치에서 실행 중인 복수의 애플리케이션들 중 실제 사용자가 작업을 수행하는 애플리케이션을 결정하여, 결정된 애플리케이션에 대한 작업 시간을 산출 함으로써 산출된 작업 시간의 신뢰성을 높일 수 있는 방법이 필요하다.Therefore, there is a need for a method of determining an application for which an actual user performs a task among a plurality of applications running in an electronic device and calculating a work time for the determined application, thereby increasing the reliability of the calculated work time.

본 개시의 일 실시 예에 따라, 단일 전자 장치에서 복수의 애플리케이션이 실행 중인 경우 또는 복수의 전자 장치에서 복수의 애플리케이션이 실행 중인 경우 사용자에 의하여 실제로 작업이 수행되고 있는 애플리케이션에 대한 작업 시간을 결정함으로써, 신뢰할 수 있는 작업 시간 산출 방법이 제공된다.According to an embodiment of the present disclosure, when a plurality of applications are running in a single electronic device or a plurality of applications are running in a plurality of electronic devices, by determining a working time for an application in which a task is actually performed by a user , a reliable work time calculation method is provided.

상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 본 개시의 제 1 측면은, 전자 장치에서 실행되는 복수의 애플리케이션들의 관리 방법에 있어서, 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신하는 단계, 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션 이외의 다른 애플리케이션의 모드를 작업 모드에서 비작업 모드로 갱신하는 단계, 및 제 1 외부 입력의 획득 시점 및 작업 모드로의 갱신 시점 중 적어도 하나에 기초하여 결정된 적어도 하나의 애플리케이션에 대한 작업 시간을 표시하는 단계를 포함하는 관리 방법을 제공할 수 있다.As a technical means for achieving the above-described technical problem, a first aspect of the present disclosure is a method for managing a plurality of applications running on an electronic device, based on a first external input for at least one of the applications. , updating a mode of at least one application from a non-working mode to a working mode, updating a mode of an application other than the at least one application from a working mode to a non-working mode based on a first external input, and A management method may include displaying a working time for at least one application determined based on at least one of a time point of obtaining a first external input and a time point of updating to a work mode.

또한, 본 개시의 제 2 측면은, 복수의 애플리케이션들을 실행하는 전자 장치에 있어서, 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신하고, 적어도 하나의 애플리케이션 이외의 다른 애플리케이션의 모드를 작업 모드에서 비작업 모드로 갱신하는 프로세서, 및 제 1 외부 입력의 획득 시점 또는 작업 모드로의 갱신 시점 중 적어도 하나에 기초하여 결정된 적어도 하나의 애플리케이션에 대한 작업 시간을 표시하는 디스플레이부를 포함하는 전자 장치를 제공할 수 있다.Also, according to a second aspect of the present disclosure, in an electronic device that executes a plurality of applications, a mode of at least one application is set to a non-working mode based on a first external input for at least one application among the plurality of applications. Based on at least one of a processor for updating to a work mode and updating a mode of an application other than the at least one application from a work mode to a non-work mode, and a time point of acquiring the first external input or a time point of updating to the work mode An electronic device including a display unit displaying a working time for the determined at least one application may be provided.

또한, 본 개시의 제 3 측면은, 제 1 전자 장치 및 제 2 전자 장치에서 실행되는 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 외부 입력의 획득 시점을 나타내는 정보를 포함하는 시점 정보를 획득하는 단계, 시점 정보에 기초하여, 적어도 하나의 애플리케이션에 대한 작업 시간을 결정하는 단계, 및 결정된 작업 시간을 나타내는 정보를 포함하는 메시지를 제 1 전자 장치 및 제 2 전자 장치 중 적어도 하나에 송신하는 단계를 포함하는 방법을 제공할 수 있다.In addition, a third aspect of the present disclosure includes obtaining view information including information indicating an acquisition time point of an external input for at least one application among a plurality of applications executed in a first electronic device and a second electronic device. , determining a working time for at least one application based on the time point information, and transmitting a message including information indicating the determined working time to at least one of the first electronic device and the second electronic device. can provide a way to do it.

또한, 시점 정보는, 외부 입력에 기초하여 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 정보를 포함할 수 있다.Also, the timing information may include information indicating a timing when the mode of at least one application is updated from a non-working mode to a working mode based on an external input.

또한, 작업 시간을 결정하는 단계는, 외부 입력의 획득 시점을 나타내는 정보 및 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나에 기초하여 작업 시간을 결정하는 단계를 포함할 수 있다.In addition, the determining of the working time may include determining the working time based on at least one of information indicating when an external input is obtained and information indicating when the mode of at least one application is updated from a non-working mode to a working mode. steps may be included.

또한, 작업 시간을 결정하는 단계는, 제 1 전자 장치에서 실행되는 적어도 하나의 애플리케이션에 대한 작업 시간인 제 1 작업 시간을 획득하는 단계, 제 2 전자 장치에서 실행되는 적어도 하나의 애플리케이션에 대한 작업 시간인 제 2 작업 시간을 획득하는 단계, 및 제 1 작업 시간과 제 2 작업 시간의 합에서 제 1 작업 시간 및 제 2 작업 시간간에 중첩되는 시간을 제외한 시간을 작업 시간으로 결정하는 단계를 포함할 수 있다.The determining of the working time may include obtaining a first working time, which is a working time for at least one application executed in the first electronic device, and a working time for at least one application executed in the second electronic device. obtaining a second working time, and determining, as the working time, a time minus the overlapping time between the first working time and the second working time from the sum of the first working time and the second working time. there is.

또한, 시점 정보를 획득하는 단계는 적어도 하나의 애플리케이션 중 제 1 전자 장치에서 실행되는 애플리케이션에 대한 제 1 외부 입력의 획득 시점을 나타내는 제 1 시점 정보를 획득하는 단계, 및 적어도 하나의 애플리케이션 중 제 2 전자 장치에서 실행되는 애플리케이션에 대한 제 2 외부 입력의 획득 시점을 나타내는 제 2 시점 정보를 획득하는 단계를 포함할 수 있다.Also, the obtaining of viewpoint information may include obtaining first viewpoint information representing a timing of obtaining a first external input for an application executed in a first electronic device from among at least one application, and obtaining a second of at least one application. The method may include acquiring second viewpoint information indicating an acquisition timing of a second external input for an application executed in the electronic device.

또한, 시점 정보를 획득하는 단계는 적어도 하나의 애플리케이션 중 제 1 전자 장치에서 실행되는 애플리케이션에 대한 제 1 외부 입력 이외에 다른 외부 입력의 획득하는 시점을 나타내는 제 3 시점 정보를 획득하는 단계, 및 적어도 하나의 애플리케이션 중 제 2 전자 장치에서 실행되는 애플리케이션에 대한 제 2 외부 입력 이외에 다른 외부 입력의 획득 시점을 나타내는 제 4 시점 정보를 획득하는 단계를 더 포함할 수 있다. The obtaining of viewpoint information may include obtaining third viewpoint information indicating a timing of obtaining an external input other than the first external input for an application executed in the first electronic device among at least one application; and The method may further include acquiring fourth viewpoint information indicating acquisition timing of an external input other than the second external input for an application executed in the second electronic device among applications of the .

또한, 작업 시간을 결정하는 단계는, 제 1 내지 제 4 시점 정보들에 기초하여 작업 시간을 결정할 수 있다.Also, in the step of determining the working time, the working time may be determined based on information of first to fourth viewpoints.

또한, 작업 시간을 결정하는 단계는 제 1 시점이 제 2 시점보다 앞서고, 제 2 시점이 제 3 시점보다 앞서는 경우, 제 1 시점으로부터 제 4 시점까지의 시간을 작업 시간으로 결정하는 단계를 포함할 수 있다.In addition, the step of determining the working time may include determining a time from the first time point to the fourth time point as the working time when the first time point is ahead of the second time point and the second time point is ahead of the third time point. can

또한, 작업 시간을 결정하는 단계는, 제 3 시점이 제 2 시점보다 앞서는 경우, 제 1 외부 입력의 획득 시점으로부터 제 3 시점까지의 시간과 제 2 시점으로부터 제 4 시점까지의 시간의 합을 작업 시간으로 결정하는 단계를 포함할 수 있다.In addition, the step of determining the work time may include, when the third time point precedes the second time point, the sum of the time from the acquisition time of the first external input to the third time point and the time from the second time point to the fourth time point. It may include determining by time.

또한, 작업 시간을 결정하는 단계는, 제 1 시점이 제 2 시점보다 앞서고, 제 4 시점이 제 3 시점보다 앞서는 경우, 제 1 시점으로부터 제 3 시점까지의 시간을 작업 시간으로 결정하는 단계를 포함할 수 있다.In addition, the step of determining the working time includes determining a time from the first time point to the third time point as the working time when the first time point is ahead of the second time point and the fourth time point is ahead of the third time point. can do.

또한, 시점 정보를 획득하는 단계는 제 1 전자 장치 및 제 2 전자 장치 각각으로부터 시점 정보를 포함하는 하트비트 메시지를 수신하는 단계를 포함할 수 있다.Also, acquiring the viewpoint information may include receiving a heartbeat message including the viewpoint information from each of the first electronic device and the second electronic device.

또한, 본 개시의 제 4 측면은, 제 1 측면의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공할 수 있다.In addition, a fourth aspect of the present disclosure may provide a computer-readable recording medium recording a program for executing the method of the first aspect in a computer.

도 1은 일 실시 예에 따른 전자 장치 또는 서버가 상호 연계하여 전자 장치에서 실행되는 하나 이상의 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 도면이다.
도 2는 일 실시 예에 따른 전자 장치가 전자 장치에서 실행되는 복수의 애플리케이션 중 적어도 하나의 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.
도 3은 일 실시 예에 따른 서버가 전자 장치에서 실행되는 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.
도 4는 일 실시 예에 따른, 전자 장치가 복수의 외부 입력에 기초하여, 전자 장치에서 실행되는 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.
도 5는 외부 입력에 기초하여, 애플리케이션의 모드가 작업 모드 또는 비작업 모드로 갱신됨에 따라 전자 장치가 수행하는 프로세스를 도시한 흐름도이다.
도 6은 일 실시 예에 따른, 서버가 복수의 전자 장치 각각으로부터 수신한 복수의 외부 입력 각각의 획득 시점을 나타내는 정보에 기초하여, 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.
도 7은 일 실시 예에 따른, 서버가 하나 이상의 전자 장치로부터 수신한 하나 이상의 작업시간레코드에 기초하여, 애플리케이션 대한 작업 시간을 결정하는 흐름도를 도시한 도면이다.
도 8은 일 실시 예에 따른, 전자 장치 또는 서버가 상호 연계하여 전자 장치에서 실행되는 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 신호 흐름도이다.
도 9는 일 실시 예에 따른, 전자 장치 또는 서버가 상호 연계하여 유휴 상태(idle state)를 처리하는 방법을 도시한 신호 흐름도이다.
도 10은 정상 상태에서 유휴 상태로 변함에 따라, 애플리케이션을 디스플레이 하는 영역의 불투명도가 변하는 일 예를 도시한 도면이다.
도 11은 일 실시 예에 따른 유휴 시간에 대한, 애플리케이션이 디스플레이 되는 영역의 불투명도의 관계를 나타내는 그래프를 도시한 도면이다.
도 12는 일 실시 예에 따른 전자 장치의 구조를 도시한 블록도이다.
1 is a diagram illustrating a method of determining working time for one or more applications executed in an electronic device in association with each other by an electronic device or a server according to an embodiment.
2 is a flowchart illustrating a method of determining, by an electronic device, a working time for at least one application among a plurality of applications executed in the electronic device according to an embodiment.
3 is a flowchart illustrating a method of determining, by a server, an operating time for an application executed in an electronic device according to an exemplary embodiment.
4 is a flowchart illustrating a method of determining, by an electronic device, a working time for an application executed in the electronic device based on a plurality of external inputs, according to an embodiment.
5 is a flowchart illustrating a process performed by an electronic device when an application mode is updated to a working mode or a non-working mode based on an external input.
FIG. 6 is a flowchart illustrating a method of determining, by a server, working time for an application based on information indicating an acquisition time point of each of a plurality of external inputs received from each of a plurality of electronic devices, according to an embodiment.
FIG. 7 is a flowchart illustrating a process in which a server determines work hours for an application based on one or more work time records received from one or more electronic devices, according to an embodiment.
8 is a signal flow diagram illustrating a method of determining a working time for an application executed in an electronic device in association with each other by an electronic device or a server, according to an embodiment.
9 is a signal flow diagram illustrating a method of processing an idle state in association with each other by an electronic device or a server, according to an embodiment.
FIG. 10 is a diagram illustrating an example in which the opacity of an area displaying an application changes according to a change from a normal state to an idle state.
11 is a graph illustrating a relationship between opacity of an area where an application is displayed with respect to idle time according to an exemplary embodiment.
12 is a block diagram illustrating a structure of an electronic device according to an exemplary embodiment.

아래에서는 첨부된 도면을 참조하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본원 개시의 실시 예를 상세히 설명한다. 그러나 본 개시는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 개시를 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, embodiments of the present disclosure will be described in detail so that those skilled in the art can easily implement the present disclosure with reference to the accompanying drawings. However, the present disclosure may be implemented in many different forms and is not limited to the embodiments described herein. And in order to clearly describe the present disclosure in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

이하 첨부된 도면을 참고하여 본 개시를 상세히 설명하기로 한다.Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.

도 1은 일 실시 예에 따른 전자 장치(100) 또는 서버(150)가 상호 연계하여 전자 장치(100)에서 실행되는 하나 이상의 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 도면이다.1 is a diagram illustrating a method in which an electronic device 100 or a server 150 determines working hours for one or more applications executed in the electronic device 100 in association with each other according to an embodiment.

본원에서, 애플리케이션은, 예를 들어, 웹 브라우저를 통해 실행되는 웹 애플리케이션, 게임 애플리케이션, 원격 서비스 제공 애플리케이션 등 특정 목적을 갖는 모든 애플리케이션을 포함할 수 있다.In the present application, the application may include any application having a specific purpose, such as, for example, a web application executed through a web browser, a game application, and a remote service providing application.

또한, 전자 장치(100)에서 실행되는 애플리케이션의 모드가 작업 모드인 경우 해당 애플리케이션에서 작업이 수행 중임을 의미할 수 있다. 예를 들어, 애플리케이션의 모드가 작업 모드인 경우, 해당 애플리케이션은 전자기기에서 실행되어 현재 포커스를 획득한 상태를 의미할 수 있다. 반대로, 애플리케이션의 모드가 비작업 모드인 경우, 해당 애플리케이션에서 작업이 수행 되지 않는다는 것을 의미할 수 있다. 예를 들어, 전자기기에서 실행되어 활성화된 애플리케이션이라도 현재 포커스를 획득하지 못한 상태인 경우, 해당 애플리케이션의 모드는 비작업 모드일 수 있다.Also, when the mode of an application executed in the electronic device 100 is a work mode, it may mean that a work is being performed in the corresponding application. For example, when the mode of an application is a work mode, it may mean a state in which the application is executed in an electronic device and currently has focus. Conversely, if the mode of an application is non-working mode, it may mean that no work is performed in the corresponding application. For example, when an application that is executed and activated in an electronic device is not currently focused, the mode of the corresponding application may be a non-working mode.

본원에서, 일 실시 예에 따른, 외부 입력은 외부 입력의 대상이 되는 적어도 하나의 애플리케이션을 호출하는 입력 또는 외부 입력의 대상이 되는 적어도 하나의 애플리케이션에 대응하는 일정 영역을 클릭하는 입력을 포함할 수 있으나 이에 제한되지 아니한다. 예를 들어 애플리케이션이 특정 애플리케이션의 실행 창인 경우, 실행 창을 호출하는 입력, 실행 창을 활성화 하는 입력 또는 실행 창에 대응하는 일정 영역을 클릭하는 입력을 포함할 수 있다.In the present application, according to an embodiment, the external input may include an input of calling at least one application that is a target of the external input or an input of clicking a certain area corresponding to at least one application that is a target of the external input. but not limited thereto. For example, if the application is an execution window of a specific application, it may include an input for calling the execution window, an input for activating the execution window, or an input for clicking a certain area corresponding to the execution window.

일 실시 예에 따른 전자 장치(100)는 복수의 애플리케이션을 실행할 수 있다. 예를 들면, 전자 장치(100)는 제 1 애플리케이션(115) 및 제 2 애플리케이션(125)을 실행할 수 있다. 또한, 일 실시 예에 따른 전자 장치(140)는 하나 이상의 애플리케이션을 실행할 수 있다. 또한, 일 실시 예에 따른, 서버(150)는 전자 장치(100) 및 전자 장치(140)와 송수신부를 통하여 데이터를 송수신할 수 있다.The electronic device 100 according to an embodiment may execute a plurality of applications. For example, the electronic device 100 may execute the first application 115 and the second application 125 . Also, the electronic device 140 according to an embodiment may execute one or more applications. Also, according to an embodiment, the server 150 may transmit/receive data with the electronic device 100 and the electronic device 140 through a transceiver.

일 실시 예에 따른, 제 1 애플리케이션(115) 및 제 2 애플리케이션(125)은 각각 특정 애플리케이션의 제 1 실행 창 및 제 2 실행 창에서 디스플레이 될 수 있다. 예를 들면, 특정 애플리케이션이 웹 브라우저인 경우 제 1 애플리케이션(115)은 제 1 웹 브라우저 인스턴스이고 제 2 애플리케이션(125)은 제 2 웹 브라우저 인스턴스(instance)일 수 있다. 이 때, 웹 브라우저 인스턴스란 웹 브라우저가 구체화된 개체, 예를 들어, 웹 브라우저 윈도우/탭(tab)을 포함할 수 있다.According to an embodiment, the first application 115 and the second application 125 may be displayed in the first execution window and the second execution window of a specific application, respectively. For example, when a specific application is a web browser, the first application 115 may be a first web browser instance and the second application 125 may be a second web browser instance. In this case, the web browser instance may include an object in which a web browser is embodied, for example, a web browser window/tab.

전자 장치(100)는, 전자 장치(100)에서 실행되는 제 1 애플리케이션(115)에 대한 제 1 외부 입력(110)에 기초하여, 제 1 애플리케이션(115)의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다. 예를 들어, 제 1 애플리케이션(115)의 모드가 비작업 모드인 때에, 전자 장치(100)가 제 1 애플리케이션(115)에 대한 제 1 외부 입력(110)을 획득하는 경우, 전자 장치(100)는 제 1 애플리케이션(115)의 모드를 작업 모드로 갱신할 수 있다.The electronic device 100 changes the mode of the first application 115 from the non-working mode to the working mode based on the first external input 110 to the first application 115 executed on the electronic device 100. can be renewed For example, when the electronic device 100 obtains the first external input 110 for the first application 115 when the mode of the first application 115 is a non-working mode, the electronic device 100 may update the mode of the first application 115 to a working mode.

일 실시 예에 따른 전자 장치(100)는, 제 1 외부 입력(110)을 획득한 때에, 제 1 애플리케이션(115)의 모드가 작업 모드인지 또는 비작업 모드인지 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 제 1 외부 입력(110)을 획득한 때에 제 1 애플리케이션(115)의 모드가 작업 모드라고 결정한 경우, 제 1 애플리케이션(115)의 모드를 작업 모드로 유지할 수 있다. 또한, 전자 장치(100)는, 제 1 외부 입력(110)을 획득한 때에, 제 1 애플리케이션(115)의 모드가 비작업 모드라고 결정한 경우, 제 1 애플리케이션(115)의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다.When obtaining the first external input 110, the electronic device 100 according to an embodiment may determine whether the mode of the first application 115 is a working mode or a non-working mode. According to an embodiment, when the electronic device 100 determines that the mode of the first application 115 is the work mode when the first external input 110 is obtained, the electronic device 100 sets the mode of the first application 115 to the work mode. can be maintained as In addition, when the electronic device 100 obtains the first external input 110 and determines that the mode of the first application 115 is the non-working mode, the electronic device 100 sets the mode of the first application 115 to the non-working mode. It can be updated in working mode.

일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력(110)의 대상인 제 1 애플리케이션(115)의 ID를 메모리(130)에 저장할 수 있다. 일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력(110)의 획득 시점을 나타내는 정보 및 제 1 외부 입력(110)에 기초하여 제 1 애플리케이션(115)의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 메모리(130)에 저장할 수 있다. According to an embodiment, the electronic device 100 may store the ID of the first application 115 that is the target of the first external input 110 in the memory 130 . According to an embodiment, the electronic device 100 updates the mode of the first application 115 to a work mode based on the information indicating the acquisition time of the first external input 110 and the first external input 110 . At least one piece of information representing a viewpoint may be stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력(110)의 획득 시점을 나타내는 정보 및 제 1 외부 입력에 기초하여 제 1 애플리케이션(115)의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 제 1 애플리케이션(115)의 ID와 결합하여 메모리(130)에 저장할 수 있다.According to an embodiment, the electronic device 100 includes information indicating a time point at which the first external input 110 was acquired and information indicating a time point when the mode of the first application 115 was updated to a work mode based on the first external input. At least one of the pieces of information may be combined with the ID of the first application 115 and stored in the memory 130 .

용어 "메모리" 는 전자 정보를 저장 가능한 임의의 전자 컴포넌트를 포함하도록 넓게 해석되어야 한다. 용어 메모리는 임의 액세스 메모리 (RAM), 판독-전용 메모리 (ROM), 비-휘발성 임의 액세스 메모리 (NVRAM), 프로그램가능 판독-전용 메모리 (PROM), 소거-프로그램가능 판독 전용 메모리 (EPROM), 전기적으로 소거가능 PROM (EEPROM), 플래쉬 메모리, 자기 또는 광학 데이터 저장장치, 레지스터들, 등과 같은 프로세서-판독가능 매체의 다양한 유형들을 지칭할 수도 있다. 프로세서가 메모리에 메모리로부터 정보를 판독하고/하거나 메모리에 정보를 기록할 수 있다면 메모리는 프로세서와 전자 통신 상태에 있다고 불린다. 프로세서에 집적된 메모리는 프로세서와 전자 통신 상태에 있다.The term "memory" should be interpreted broadly to include any electronic component capable of storing electronic information. The term memory includes random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erasable-programmable read-only memory (EPROM), electrical may refer to various types of processor-readable media, such as erasable PROM (EEPROM), flash memory, magnetic or optical data storage, registers, and the like. A memory is said to be in electronic communication with the processor if the processor can read information from and/or write information to the memory to the memory. Memory integrated with the processor is in electronic communication with the processor.

일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 1 애플리케이션(115)의 모드가 작업 모드인 동안, 제 1 애플리케이션(115)에서 작업이 수행 중이라고 결정할 수 있다. 또한, 전자 장치(100)는, 제 1 애플리케이션(115)의 모드가 작업 모드인 동안, 제 1 애플리케이션(115)의 실행시간에 기초하여 작업 시간을 결정할 수 있다.According to an embodiment, the electronic device 100 may determine that a task is being performed in the first application 115 while the mode of the first application 115 executed in the electronic device 100 is a work mode. Also, while the mode of the first application 115 is the work mode, the electronic device 100 may determine the work time based on the execution time of the first application 115 .

일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 1 애플리케이션(115)에 대한 제 1 외부 입력(110)에 기초하여, 제 2 애플리케이션(125)의 모드를 작업 모드에서 비작업 모드로 갱신할 수 있다. 예를 들어, 제 2 애플리케이션(115)의 모드가 작업 모드인 때에, 전자 장치(100)가 제 1 애플리케이션(115)에 대한 제 1 외부 입력(110)을 획득하는 경우, 전자 장치(100)는 제 2 애플리케이션(115)의 모드를 비작업 모드로 갱신할 수 있다.According to an embodiment, the electronic device 100 operates the mode of the second application 125 based on the first external input 110 for the first application 115 executed in the electronic device 100. You can update from mode to non-working mode. For example, when the electronic device 100 acquires the first external input 110 for the first application 115 when the mode of the second application 115 is the work mode, the electronic device 100 The mode of the second application 115 may be updated to a non-working mode.

일 실시 예에 따른 전자 장치(100)는, 제 1 외부 입력(110)을 획득한 때에, 제 2 애플리케이션(125)의 모드가 작업 모드인지 또는 비작업 모드인지 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력(110)을 획득한 때에 제 2 애플리케이션(125)의 모드가 작업 모드라고 결정한 경우, 제 2 애플리케이션(125)의 모드를 비작업 모드로 갱신할 수 있다. 또한, 전자 장치(100)는, 제 1 외부 입력(110)을 획득한 때에 제 2 애플리케이션(125)의 모드가 비작업 모드라고 결정한 경우, 제 2 애플리케이션(125)의 모드를 비작업 모드로 유지할 수 있다.When obtaining the first external input 110, the electronic device 100 according to an embodiment may determine whether the mode of the second application 125 is a working mode or a non-working mode. According to an embodiment, when the electronic device 100 determines that the mode of the second application 125 is a working mode when obtaining the first external input 110, the mode of the second application 125 is a non-working mode. can be updated with In addition, when the electronic device 100 determines that the mode of the second application 125 is the non-working mode when the first external input 110 is obtained, the electronic device 100 maintains the mode of the second application 125 as the non-working mode. can

일 실시 예에 따른, 전자 장치(100)는 제 2 외부입력의 대상인 제 2 애플리케이션(125)의 ID를 메모리(130)에 저장할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 제 1 외부 입력(110)의 획득 시점을 나타내는 정보 및 제 1 외부 입력(110)에 기초하여 제 2 애플리케이션(125)의 모드가 비작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 메모리(130)에 저장할 수 있다. According to an embodiment, the electronic device 100 may store the ID of the second application 125 that is the target of the second external input in the memory 130 . According to an embodiment, the electronic device 100 changes the mode of the second application 125 to the non-working mode based on the information indicating the acquisition time of the first external input 110 and the first external input 110 . At least one piece of information indicating an updated time may be stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는, 제 1 외부 입력(110)의 획득 시점을 나타내는 정보 및 제 1 외부 입력(110)에 기초하여 제 2 애플리케이션(125)의 모드가 비작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 제 2 애플리케이션(125)의 ID와 결합하여 메모리(130)에 저장할 수 있다.According to an embodiment, the electronic device 100 changes the mode of the second application 125 to the non-working mode based on the information indicating the acquisition time of the first external input 110 and the first external input 110 . At least one piece of information indicating the updated time may be combined with the ID of the second application 125 and stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 2 애플리케이션(125)의 모드가 비작업 모드인 동안, 제 2 애플리케이션(125)에서 작업이 수행되지 않는다고 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 2 애플리케이션(125)의 모드가 비작업 모드인 동안, 제 2 애플리케이션(125)의 실행시간을 작업 시간 결정 시 고려하지 않을 수 있다.According to an embodiment, the electronic device 100 may determine that a task is not performed in the second application 125 while the mode of the second application 125 executed in the electronic device 100 is a non-working mode. there is. According to an embodiment, while the mode of the second application 125 executed in the electronic device 100 is the non-working mode, the electronic device 100 determines the running time of the second application 125 as the working time. may not be considered.

전자 장치(100)는, 전자 장치(100)에서 실행되는 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)에 기초하여, 제 2 애플리케이션(125)의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다. 예를 들어, 제 2 애플리케이션(115)의 모드가 비작업 모드인 때에, 전자 장치(100)가 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)을 획득하는 경우, 전자 장치(100)는 제 2 애플리케이션(121)의 모드를 작업 모드로 갱신할 수 있다.The electronic device 100 changes the mode of the second application 125 from the non-working mode to the working mode based on the second external input 120 to the second application 125 executed on the electronic device 100. can be renewed For example, when the electronic device 100 acquires the second external input 120 for the second application 125 when the mode of the second application 115 is the non-working mode, the electronic device 100 may update the mode of the second application 121 to a work mode.

일 실시 예에 따른, 전자 장치(100)는, 제 2 외부 입력(120)을 획득한 때에, 제 2 애플리케이션(125)의 모드가 작업 모드인지 또는 비작업 모드인지 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 제 2 외부 입력(120)을 획득한 때에 제 2 애플리케이션(125)의 모드가 작업 모드라고 결정한 경우, 제 2 애플리케이션(125)의 모드를 작업 모드로 유지할 수 있다. 또한, 전자 장치(100)는, 제 2 외부 입력(120)을 획득한 때에 제 2 애플리케이션(125)의 모드가 비작업 모드라고 결정한 경우, 제 2 애플리케이션(125)의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다. According to an embodiment, when obtaining the second external input 120, the electronic device 100 may determine whether the mode of the second application 125 is a working mode or a non-working mode. According to an embodiment, when the electronic device 100 determines that the mode of the second application 125 is the work mode when the second external input 120 is obtained, the mode of the second application 125 is the work mode. can be maintained as Also, when the electronic device 100 determines that the mode of the second application 125 is the non-working mode when the second external input 120 is obtained, the mode of the second application 125 is set to work in the non-working mode. The mod can be updated.

일 실시 예에 따른, 전자 장치(100)는 제 2 외부 입력(120)의 대상인 제 2 애플리케이션(125)의 ID를 메모리(130)에 저장할 수 있다. 일 실시 예에 따른, 전자 장치(100)는 제 2 외부 입력(120)의 획득 시점을 나타내는 정보 및 제 2 외부 입력(120)에 기초하여 제 2 애플리케이션(125)의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 메모리(130)에 저장할 수 있다. According to an embodiment, the electronic device 100 may store the ID of the second application 125 that is the target of the second external input 120 in the memory 130 . According to an embodiment, the electronic device 100 updates the mode of the second application 125 to a working mode based on the information indicating the acquisition time of the second external input 120 and the second external input 120 . At least one piece of information representing a viewpoint may be stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는 제 2 외부 입력(120)의 획득 시점을 나타내는 정보 및 제 2 외부 입력에 기초하여 제 2 애플리케이션(125)의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 제 2 애플리케이션(125)의 ID와 결합하여 메모리(130)에 저장할 수 있다.According to an embodiment, the electronic device 100 includes information representing the acquisition time of the second external input 120 and information indicating the time when the mode of the second application 125 is updated to the work mode based on the second external input. At least one of the pieces of information may be combined with the ID of the second application 125 and stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 2 애플리케이션(125)의 모드가 작업 모드인 동안, 제 2 애플리케이션(125)에서 작업이 수행 중이라고 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 제 2 애플리케이션(125)의 모드가 작업 모드인 동안, 제 2 애플리케이션(125)의 실행시간에 기초하여, 작업 시간을 결정할 수 있다.According to an embodiment, the electronic device 100 may determine that a task is being performed in the second application 125 while the mode of the second application 125 executed in the electronic device 100 is a work mode. According to an embodiment, while the mode of the second application 125 is the work mode, the electronic device 100 may determine the work time based on the execution time of the second application 125 .

일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)에 기초하여, 제 1 애플리케이션(115)의 모드를 작업 모드에서 비작업 모드로 갱신할 수 있다. 예를 들어, 제 1 애플리케이션(115)의 모드가 작업 모드인 때에, 전자 장치(100)가 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)을 획득하는 경우, 전자 장치(100)는 제 1 애플리케이션(121)의 모드를 비작업 모드로 갱신할 수 있다.According to an embodiment, the electronic device 100 operates the mode of the first application 115 based on the second external input 120 for the second application 125 executed in the electronic device 100. You can update from mode to non-working mode. For example, when the electronic device 100 obtains the second external input 120 for the second application 125 when the mode of the first application 115 is the work mode, the electronic device 100 The mode of the first application 121 may be updated to a non-working mode.

일 실시 예에 따른, 전자 장치(100)는 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)을 획득함에 따라, 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)을 획득한 때에 제 1 애플리케이션(115)의 모드가 작업 모드인지 또는 비작업 모드인지 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)을 획득한 때에 제 1 애플리케이션(115)의 모드가 작업 모드라고 결정한 경우, 제 1 애플리케이션(115)의 모드를 작업 모드에서 비작업 모드로 갱신할 수 있다.According to an embodiment, the electronic device 100 obtains the second external input 120 for the second application 125 as the second external input 120 for the second application 125 is obtained. At this time, it may be determined whether the mode of the first application 115 is a working mode or a non-working mode. According to an embodiment, when the electronic device 100 determines that the mode of the first application 115 is a work mode when obtaining the second external input 120 for the second application 125, the first application ( 115) can be updated from working mode to non-working mode.

일 실시 예에 따른, 전자 장치(100)는 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)을 획득한 때에 제 1 애플리케이션(115)의 모드가 비작업 모드라고 결정한 경우, 제 1 애플리케이션(115)의 모드를 비작업 모드로 유지할 수 있다.According to an embodiment, when the electronic device 100 obtains the second external input 120 for the second application 125 and determines that the mode of the first application 115 is the non-work mode, the first application The mode of (115) can be maintained as a non-working mode.

일 실시 예에 따른, 전자 장치(100)는 제 1 애플리케이션(115)의 ID를 메모리(130)에 저장할 수 있다. 일 실시 예에 따른, 제 2 외부 입력(120)의 획득 시점을 나타내는 정보 및 제 2 외부 입력(120)에 기초하여 제 1 애플리케이션(115)의 모드가 비작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 메모리(130)에 저장할 수 있다. According to an embodiment, the electronic device 100 may store the ID of the first application 115 in the memory 130 . According to an embodiment, information indicating a time point when the second external input 120 was obtained and information indicating a time point when the mode of the first application 115 was updated to a non-working mode based on the second external input 120 At least one piece of information may be stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는, 제 2 외부 입력(120)의 획득 시점을 나타내는 정보 및 제 2 외부 입력(120)에 기초하여 제 1 애플리케이션(115)의 모드가 비작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 제 1 애플리케이션(115)의 ID와 결합하여 메모리(130)에 저장할 수 있다.According to an embodiment, the electronic device 100 changes the mode of the first application 115 to a non-working mode based on the information indicating the acquisition time of the second external input 120 and the second external input 120 . At least one piece of information indicating the updated time may be combined with the ID of the first application 115 and stored in the memory 130 .

일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 1 애플리케이션(115)의 모드가 비작업 모드인 동안, 제 1 애플리케이션(115)에서 작업이 수행되지 않는다고 결정할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되는 제 1 애플리케이션(115)의 모드가 비작업 모드인 동안, 제 1 애플리케이션(115)의 실행시간을 작업 시간 결정 시 고려하지 않을 수 있다.According to an embodiment, the electronic device 100 may determine that a task is not performed in the first application 115 while the mode of the first application 115 executed in the electronic device 100 is a non-working mode. there is. According to an embodiment, while the mode of the first application 115 executed in the electronic device 100 is in the non-working mode, the electronic device 100 determines the running time of the first application 115 as the working time. may not be considered.

일 실시 예에 따른, 전자 장치(100)는 메모리(130)에 저장된 시점 정보에 기초하여 결정된 전자 장치(100)에서 실행되는 제 1 애플리케이션(115) 및 제 2 애플리케이션(125)에 대한 작업 시간을 표시할 수 있다.According to an embodiment, the electronic device 100 determines working times for the first application 115 and the second application 125 executed in the electronic device 100 based on time information stored in the memory 130. can be displayed

일 실시 예에 따른, 작업 시간은 제 1 애플리케이션(115)에 대한 작업 시간 및 제 2 애플리케이션(125)에 대한 작업 시간을 합한 시간일 수 있다. 일 실시 예에 따른, 제 1 애플리케이션(115)에 대한 작업 시간은 제 1 애플리케이션(115)의 모드가 작업 모드를 유지한 시간일 수 있다. According to an embodiment, the working time may be the sum of the working time for the first application 115 and the working time for the second application 125 . According to an embodiment, the working time for the first application 115 may be a time during which the mode of the first application 115 maintains the working mode.

예를 들어, 제 1 애플리케이션(115)에 대한 작업 시간은 제 1 외부입력 시점 및 제 1 외부입력(110)에 기초하여 제 1 애플리케이션(115)의 모드가 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 제 2 외부입력 시점 및 제 2 외부입력(110)에 기초하여 제 1 애플리케이션(115)의 모드가 비작업 모드로 갱신된 시점 중 어느 하나의 시점까지의 시간일 수 있다. For example, the working time for the first application 115 is any one of a first external input time and a time when the mode of the first application 115 is updated to the working mode based on the first external input 110. It may be the time from the point of time to the point of time of the second external input and the point of time when the mode of the first application 115 is updated to the non-working mode based on the second external input 110 .

일 실시 예에 따른, 제 2 애플리케이션(125)에 대한 작업 시간은 제 1 애플리케이션(115)의 모드가 작업 모드를 유지한 시간일 수 있다. 일 실시예에 따른 제 1 애플리케이션(115) 및 제 2 애플리케이션(125)에 대한 작업 시간은 제 1 애플리케이션(115)이 작업 모드를 유지한 시간과 제 2 애플리케이션(125)이 작업 모드를 유지한 시간을 합한 시간일 수 있다.According to an embodiment, the working time for the second application 125 may be a time during which the mode of the first application 115 maintains the working mode. The working time for the first application 115 and the second application 125 according to an embodiment is the time the first application 115 maintains the working mode and the time the second application 125 maintains the working mode. may be the sum of

일 실시 예에 따른, 전자 장치(100)에서 실행되는 제 1 애플리케이션(115) 및 제 2 애플리케이션(125)에 대한 작업 시간은 전자 장치(100) 및/또는 서버(150)에서 결정될 수 있다.According to an embodiment, working times for the first application 115 and the second application 125 executed on the electronic device 100 may be determined by the electronic device 100 and/or the server 150 .

일 실시 예에 따른, 전자 장치(100)는, 메모리(130)에 저장된 애플리케이션의 ID 및 시점 정보를 서버(150)에 송신할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 메모리(130)에 저장된 애플리케이션의 ID 및 시점 정보를 포함하는 하트비트 메시지를 서버(150)에 송신할 수 있다. 하트비트 메시지는 브라우저에 의하여 생성되는 주기적인 시그날(signal)을 포함할 수 있다. According to an embodiment, the electronic device 100 may transmit the ID and viewpoint information of the application stored in the memory 130 to the server 150 . According to an embodiment, the electronic device 100 may transmit a heartbeat message including an ID of an application stored in the memory 130 and time information to the server 150 . The heartbeat message may include a periodic signal generated by the browser.

일 실시 예에 따른, 전자 장치(100)가 서버(150)에 송신하는 시점 정보는, 제 1 애플리케이션(115)에 대한 제 1 외부 입력(110)의 획득 시점, 제 1 애플리케이션(115)의 모드가 비작업 모드에서 작업 모드로 갱신된 시점, 및 제 1 애플리케이션(115)의 모드가 작업 모드에서 비작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 포함할 수 있다. According to an embodiment, the timing information transmitted by the electronic device 100 to the server 150 includes the acquisition timing of the first external input 110 for the first application 115 and the mode of the first application 115. may include at least one of information representing a time point when the non-working mode is updated to a working mode and a time point when the mode of the first application 115 is updated from the working mode to the non-working mode.

일 실시 예에 따른, 전자 장치(100)가 서버(150)에 송신하는 시점 정보는, 제 2 애플리케이션(125)에 대한 제 2 외부 입력(120)의 획득 시점, 제 2 애플리케이션(125)의 모드가 비작업 모드에서 작업 모드로 갱신된 시점, 및 제 2 애플리케이션(125)의 모드가 작업 모드에서 비작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 포함할 수 있다.According to an embodiment, the timing information transmitted by the electronic device 100 to the server 150 includes the acquisition timing of the second external input 120 for the second application 125 and the mode of the second application 125. It may include at least one of information representing a time point when the non-working mode is updated to a working mode and a time point when the mode of the second application 125 is updated from the working mode to the non-working mode.

일 실시 예에 따른, 서버(150)는, 전자 장치(100)로부터 시점 정보를 수신할 수 있다. 또한, 서버(150)는 전자 장치(100)로부터 수신한 시점 정보에 대응하는 시점 정보를 제 2 전자 장치(140)로부터 수신할 수 있다. 일 실시 예에 따른, 서버(150)는 전자 장치(100) 및 전자 장치(140) 각각으로부터 수신한 시점 정보를 메모리(170)에 저장할 수 있다. According to an embodiment, the server 150 may receive viewpoint information from the electronic device 100 . In addition, the server 150 may receive viewpoint information corresponding to the viewpoint information received from the electronic device 100 from the second electronic device 140 . According to an embodiment, the server 150 may store point information received from each of the electronic device 100 and the electronic device 140 in the memory 170 .

일 실시 예에 따른, 서버(150)는 전자 장치(100) 및 전자 장치(140) 각각으로부터 수신한 시점 정보에 기초하여, 전자 장치(100) 및 제 2 전자 장치(140) 각각에서 실행되는 하나 이상의 애플리케이션에 대한 작업 시간을 결정할 수 있다. 일 실시 예에 따른, 서버(150)는 결정된 작업 시간을 나타내는 정보를 전자 장치(100) 및 전자 장치(140) 각각에 송신할 수 있다. 일 실시 예에 따른, 서버(150)는 결정된 작업 시간을 나타내는 정보를 포함한 하트비트 메시지를 전자 장치(100) 및 전자 장치(140) 각각에 송신할 수 있다.According to an embodiment, the server 150 includes one server executed in each of the electronic device 100 and the second electronic device 140 based on the timing information received from each of the electronic device 100 and the electronic device 140. You can determine working hours for the above applications. According to an embodiment, the server 150 may transmit information indicating the determined work time to the electronic device 100 and the electronic device 140, respectively. According to an embodiment, the server 150 may transmit a heartbeat message including information indicating the determined working time to the electronic device 100 and the electronic device 140, respectively.

도 2는 일 실시 예에 따른 전자 장치(100)가 전자 장치(100)에서 실행되는 복수의 애플리케이션 중 적어도 하나의 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.2 is a flowchart illustrating a method of determining, by the electronic device 100, a working time for at least one application among a plurality of applications executed in the electronic device 100 according to an embodiment.

단계 S210에서, 일 실시 예에 따른, 전자 장치(100)는 전자 장치(100)에서 실행되는 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다. In step S210, according to an embodiment, the electronic device 100 selects a mode of at least one application based on a first external input for at least one application among a plurality of applications executed in the electronic device 100. You can update from non-working mode to working mode.

전자 장치(100)는, 전자 장치(100)를 구성하는 입출력 장치를 통하여, 적어도 하나의 애플리케이션에 대한 제 1 외부 입력을 획득할 수 있다. 예를 들어 제 1 외부 입력은, 키보드 버튼의 클릭 입력, 또는 마우스 버튼의 클릭 입력을 포함하나 이에 제한되지 아니한다.The electronic device 100 may obtain a first external input for at least one application through an input/output device constituting the electronic device 100 . For example, the first external input includes, but is not limited to, a click input of a keyboard button or a click input of a mouse button.

또한, 전자 장치(100)는, 제 1 외부 입력을 획득함에 따라, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션을 결정할 수 있다.Also, as the electronic device 100 obtains the first external input, it may determine at least one application that is a target of the first external input.

또한, 전자 장치(100)는, 제 1 외부 입력을 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드를 결정할 수 있다. 적어도 하나의 애플리케이션의 모드는 작업 모드 또는 비작업 모드일 수 있다. 도 2에서, 일 실시 예에 따른, 제 1 외부 입력을 획득한 때에, 전자 장치(100)는 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드를 비작업 모드라고 결정할 수 있다.Also, when obtaining the first external input, the electronic device 100 may determine the mode of at least one application that is a target of the first external input. The mode of at least one application may be a working mode or a non-working mode. In FIG. 2 , when obtaining a first external input according to an embodiment, the electronic device 100 may determine a mode of at least one application that is a target of the first external input as a non-working mode.

또한, 전자 장치(100)는, 제 1 외부 입력을 획득한 때에 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드를 결정함에 따라, 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신하거나 적어도 하나의 애플리케이션의 모드를 작업 모드로 유지할 수 있다. Also, when obtaining the first external input, the electronic device 100 determines the mode of at least one application that is the target of the first external input, and updates the mode of the at least one application from a non-working mode to a working mode, or The mode of at least one application may be maintained as a working mode.

제 1 외부 입력을 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 비작업 모드라고 결정한 경우, 전자 장치(100)는 적어도 하나의 애플리케이션의 모드를 작업 모드로 갱신할 수 있다. 또한, 제 1 외부 입력을 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드라고 결정한 경우, 전자 장치(100)는 적어도 하나의 애플리케이션의 모드를 작업 모드로 유지할 수 있다. Upon obtaining the first external input, if it is determined that the mode of at least one application that is the target of the first external input is a non-working mode, the electronic device 100 may update the mode of the at least one application to a working mode. Also, when obtaining the first external input, if it is determined that the mode of at least one application that is the target of the first external input is the work mode, the electronic device 100 may maintain the mode of the at least one application as the work mode.

도 2에서, 일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력을 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 비작업 모드라고 결정함에 따라, 적어도 하나의 애플리케이션의 모드를 작업 모드로 갱신할 수 있다.In FIG. 2 , when the electronic device 100 obtains the first external input, the electronic device 100 determines that the mode of the at least one application that is the target of the first external input is a non-working mode, and thus at least one application You can update the mode of to the working mode.

단계 S220에서, 일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력에 기초하여, 복수의 애플리케이션들 중 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외의 다른 애플리케이션의 모드를 작업 모드에서 비작업 모드로 갱신할 수 있다.In step S220, based on the first external input, the electronic device 100, according to an embodiment, disables a mode of an application other than at least one application that is the target of the first external input among a plurality of applications from the work mode. It can be updated in working mode.

전자 장치(100)는, 제 1 외부 입력을 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션의 모드가 작업 모드인지 또는 비작업 모드인지 결정할 수 있다. 도 2에서, 일 실시 예에 따른, 전자 장치(100)는, 제 1 외부 입력을 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션의 모드가 작업 모드라고 결정할 수 있다.When obtaining the first external input, the electronic device 100 may determine whether a mode of an application other than at least one application that is a target of the first external input is a working mode or a non-working mode. In FIG. 2 , when obtaining the first external input, the electronic device 100 according to an embodiment may determine that a mode of an application other than at least one application that is a target of the first external input is a work mode.

또한, 전자 장치(100)는, 제 1 외부 입력을 획득한 때에 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션의 모드를 결정함에 따라, 다른 애플리케이션의 모드를 비작업 모드로 갱신하거나 적어도 하나의 애플리케이션의 모드를 비작업 모드로 유지할 수 있다. In addition, when the electronic device 100 obtains the first external input, by determining the mode of an application other than at least one application that is the target of the first external input, the electronic device 100 updates the mode of the other application to a non-working mode or at least one application. can keep the application's mode in non-working mode.

제 1 외부 입력을 획득한 때에, 다른 애플리케이션의 모드를 작업 모드라고 결정한 경우, 전자 장치(100)는 다른 애플리케이션의 모드를 비작업 모드로 갱신할 수 있다. 제 1 외부 입력을 획득한 때에, 다른 애플리케이션의 모드가 비작업 모드라고 결정한 경우, 전자 장치(100)는 다른 애플리케이션의 모드를 비작업 모드로 유지할 수 있다. Upon obtaining the first external input, if the mode of the other application is determined to be the working mode, the electronic device 100 may update the mode of the other application to a non-working mode. If it is determined that the mode of another application is the non-working mode when the first external input is obtained, the electronic device 100 may maintain the mode of the other application as the non-working mode.

도 2에서, 일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력을 획득한 때에, 다른 애플리케이션의 모드가 비작업 모드라고 결정함에 따라, 다른 애플리케이션의 모드를 비작업 모드로 갱신할 수 있다.In FIG. 2 , upon obtaining the first external input, the electronic device 100 may update the mode of the other application to the non-working mode according to determining that the mode of the other application is the non-working mode. there is.

단계 S230에서, 전자 장치(100)는 제 1 외부 입력의 획득 시점을 나타내는 정보 및 제 1 외부입력에 기초하여 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보에 기초하여 결정된, 적어도 하나의 애플리케이션에 대한 작업 시간을 표시할 수 있다. In step S230, the electronic device 100 sends at least one piece of information out of information indicating when a first external input was acquired and information indicating when the mode of at least one application was updated to a work mode based on the first external input. Working hours for at least one application determined based on the above may be displayed.

전자 장치(100)는 제 1 외부 입력의 획득 시점을 나타내는 정보 및 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 획득할 수 있다. 예를 들어, 전자 장치(100)는 제 1 외부 입력 획득 시점을 나타내는 타임 스탬프(time stamp) 및 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 타임 스탬프(time stamp) 중 적어도 하나를 획득할 수 있다. 이 때, 타임 스탬프(time stamp)는 어느 시점에 데이터가 존재했다는 사실을 증명하기 위하여 특정 위치에 표시되는 시각 정보를 의미한다The electronic device 100 may obtain at least one of information indicating a time point of obtaining the first external input and information indicating a time point when the mode of at least one application that is a target of the first external input is updated to a work mode. For example, the electronic device 100 may set a time stamp indicating when a first external input was obtained and a time stamp indicating when the mode of at least one application that is a target of the first external input is updated to a working mode. stamp) can be acquired. At this time, the time stamp means time information displayed at a specific location to prove that data existed at a certain point in time.

또한, 전자 장치(100)는, 전자 장치(100)가 제 1 외부 입력의 획득 시점 및 제 1 외부 입력에 기초하여 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로의 갱신된 시점 중 적어도 하나의 시점으로부터 작업 시간을 결정하는 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. In addition, the electronic device 100 changes the mode of at least one application that is the target of the first external input from the non-working mode to the working mode based on the timing at which the electronic device 100 obtains the first external input and the first external input. A time from at least one of the updated points in time to a point in time at which the work time is determined may be determined as the work time for at least one application.

또한, 전자 장치(100)는 제 1 외부 입력의 획득 시점 및 제 1 외부 입력에 기초하여 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로의 갱신된 시점 중 적어도 하나의 시점으로부터 작업 모드인 적어도 하나의 애플리케이션에 대한 다른 외부 입력의 획득 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. Also, the electronic device 100 may perform at least one of a time point when the first external input is acquired and a time point when the mode of at least one application that is a target of the first external input is updated from a non-work mode to a work mode based on the first external input. A time from the point of time to the point of acquiring another external input for at least one application in a work mode may be determined as the work time for the at least one application.

일 실시 예에 따른 전자 장치(100)는 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간과 이전 작업 시간을 합한 시간을 전자 장치(100)에서 실행된 복수의 애플리케이션에 대한 수행된 작업 시간으로 결정할 수 있다.According to an embodiment, the electronic device 100 calculates the sum of the work time for at least one application that is the target of the first external input and the previous work time, and the work time performed for the plurality of applications executed in the electronic device 100. can be determined by

또한, 전자 장치(100)는, 적어도 하나의 애플리케이션에 대한 작업 시간을 디스플레이 할 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 복수의 애플리케이션에 대한 작업 시간을 디스플레이 할 수 있다. Also, the electronic device 100 may display a working time for at least one application. According to an embodiment, the electronic device 100 may display work times for a plurality of applications.

도 3은 일 실시 예에 따른 서버(150)가 전자 장치(100)에서 실행되는 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.FIG. 3 is a flowchart illustrating a method of determining, by the server 150, an operating time for an application executed in the electronic device 100 according to an embodiment.

도 3의 단계 SS310 및 S320은 각각 도 2의 단계 S210 및 S220에 대응되므로, 전체적인 설명을 간단히 하기 위해 상세한 설명을 생략한다.Since steps SS310 and S320 of FIG. 3 correspond to steps S210 and S220 of FIG. 2, respectively, detailed descriptions are omitted to simplify the overall description.

단계 S330에서, 전자 장치(100)는 제 1 외부 입력 획득 시점을 나타내는 정보 및 제 1 외부 입력에 기초하여 제 1 외부입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신 시점을 나타내는 정보 중 적어도 하나의 정보를 포함하는 메시지를 서버(150)에 송신할 수 있다.In step S330, the electronic device 100 performs at least one of information indicating a time point of obtaining a first external input and information indicating a time point when the mode of at least one application that is a target of the first external input is updated to a work mode based on the first external input. A message including one piece of information may be transmitted to the server 150 .

일 실시 예에 따른, 전자 장치(100)가 서버(150)에 송신하는 제 1 외부 입력 획득 시점을 나타내는 정보 및 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보는 전자 장치(100)의 메모리(130)에 저장될 수 있다. According to an embodiment, at least one of information indicating when a first external input is acquired and transmitted from the electronic device 100 to the server 150 and information indicating when the mode of at least one application is updated to a work mode. may be stored in the memory 130 of the electronic device 100.

일 실시 예에 따른, 전자 장치(100)는, 제 1 외부 입력 획득 시점을 나타내는 정보 및 제 1 외부 입력에 기초하여 제 1 외부입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 적어도 하나의 시점을 나타내는 정보를 포함하는 하트비트 메시지(heartbeat message)를 서버(150)에 송신할 수 있다. According to an embodiment, the electronic device 100 determines whether a mode of at least one application that is a target of the first external input is updated to a work mode based on the information indicating the time of obtaining the first external input and the first external input. A heartbeat message including information representing at least one time point may be transmitted to the server 150 .

일 실시 예에 따른, 하트비트 메시지는 작업 모드인 적어도 하나의 애플리케이션에 할당된 카운터에 기초하여, 전자 장치(100)로부터 서버(150)에 송신될 수 있다. 하트비트 메시지는 작업 모드인 적어도 하나의 애플리케이션에 기초하여, 미리 결정된 주기마다, 전자 장치(100)로부터 서버(150)에 송신될 수 있다.According to an embodiment, the heartbeat message may be transmitted from the electronic device 100 to the server 150 based on a counter assigned to at least one application in a working mode. The heartbeat message may be transmitted from the electronic device 100 to the server 150 at predetermined intervals based on at least one application in a work mode.

단계 S340에서, 일 실시 예에 따른 전자 장치(100)는 제 1 외부 입력의 획득 시점을 나타내는 정보 및 작업 모드로의 갱신 시점을 나타내는 정보 중 적어도 하나의 정보에 기초하여 결정된 적어도 하나의 애플리케이션에 대한 작업 시간을 서버(150)로부터 수신할 수 있다.In operation S340, the electronic device 100 according to an embodiment determines information about at least one application determined based on at least one of information indicating a time point of obtaining a first external input and information indicating a time point of updating to a work mode. The working time may be received from the server 150 .

예를 들어, 서버(150)는 제 1 외부 입력의 획득 시점 및 적어도 하나의 애플리케이션의 모드가 작업 모드로의 갱신된 시점 중 하나의 시점으로부터 작업 시간 결정 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. 또는, 서버(150)는 제 1 외부 입력의 획득 시점 및 적어도 하나의 애플리케이션의 모드가 작업 모드로의 갱신된 시점 중 하나의 시점으로부터 작업 모드인 적어도 하나의 애플리케이션에 대한 다른 외부 입력의 획득 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.For example, the server 150 may set the time from one of the time of acquiring the first external input and the time of updating the mode of the at least one application to the work mode to the time of determining the work time for the at least one application. It can be determined by working hours. Alternatively, the server 150 may be configured from one of the time of acquiring the first external input and the time of updating the mode of the at least one application to the work mode to the time of acquiring the other external input for the at least one application in the work mode. The time of can be determined as the working time for at least one application.

또한, 서버(150)는 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간과 이전 작업 시간을 합한 시간을 복수의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. 예를 들어, 도 3에서, 제 1 외부 입력에 기초하여, 다른 애플리케이션의 모드가 작업 모드에서 비작업 모드로 갱신되기 전, 다른 애플리케이션에 대한 작업 시간과 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 후, 적어도 하나의 애플리케이션에 대한 작업 시간을 합한 시간을 복수의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.In addition, the server 150 may determine, as the working time for the plurality of applications, the sum of the working time for at least one application that is the target of the first external input and the previous working time. For example, in FIG. 3 , based on the first external input, before the mode of the other application is updated from the working mode to the non-working mode, based on the working time of the other application and the first external input, at least one After the mode of the application is updated from the non-work mode to the work mode, the sum of the work times for at least one application may be determined as the work time for the plurality of applications.

또한, 전자 장치(100)는, 적어도 하나의 애플리케이션에 대한 작업 시간을 서버(150)로부터 수신할 수 있다. 일 실시 예에 따른 전자 장치(100)는, 복수의 애플리케이션에 대한 작업 시간을 서버(150)로부터 수신할 수 있다.Also, the electronic device 100 may receive a working time for at least one application from the server 150 . The electronic device 100 according to an embodiment may receive work times for a plurality of applications from the server 150 .

단계 S350에서, 전자 장치(100)는 서버(150)로부터 수신한 작업 시간을 디스플레이 할 수 있다. 전자 장치(100)는 서버(150)로부터 수신한 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간을 디스플레이부에 디스플레이 할 수 있다. 또한, 전자 장치(100)는 서버(150)로부터 수신한 복수의 애플리케이션에 대한 작업 시간을 디스플레이부에 디스플레이 할 수 있다.In step S350, the electronic device 100 may display the work hours received from the server 150. The electronic device 100 may display the working time of at least one application that is the target of the first external input received from the server 150 on the display unit. Also, the electronic device 100 may display working times for a plurality of applications received from the server 150 on the display unit.

도 4는 일 실시 예에 따른, 전자 장치(100)가 복수의 외부 입력에 기초하여, 전자 장치(100)에서 실행되는 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 흐름도이다.4 is a flowchart illustrating a method of determining, by the electronic device 100, a working time for an application executed in the electronic device 100 based on a plurality of external inputs, according to an embodiment.

도 4의 단계 SS410 및 S420은 각각 도 2의 단계 SS210 및 S220에 대응되므로, 전체적인 설명을 간단히 하기 위해 상세한 설명을 생략한다.Since steps SS410 and S420 of FIG. 4 correspond to steps SS210 and S220 of FIG. 2, respectively, detailed descriptions are omitted to simplify the overall description.

단계 S430에서, 일 실시 예에 따른, 전자 장치(100)는, 적어도 하나의 애플리케이션의 모드가 작업 모드인 동안, 적어도 하나의 애플리케이션에 대한 제 2 외부 입력을 획득할 수 있다.In step S430, according to an embodiment, the electronic device 100 may obtain a second external input for at least one application while the mode of the at least one application is a work mode.

일 실시 예에 따른, 전자 장치(100)는, 입력부를 통하여, 적어도 하나의 애플리케이션에 대한 제 2 외부 입력을 획득할 수 있다.According to an embodiment, the electronic device 100 may obtain a second external input for at least one application through an input unit.

단계 S440에서, 전자 장치(100)는 제 1 외부 입력의 획득 시점 및 제 2 외부 입력의 획득 시점에 기초하여 결정된 적어도 하나의 애플리케이션에 대한 작업 시간을 표시할 수 있다.In step S440, the electronic device 100 may display a working time for at least one application determined based on the acquisition time of the first external input and the acquisition time of the second external input.

전자 장치(100)는 제 1 외부 입력의 획득 시점 및 제 2 외부 입력의 획득 시점에 기초하여 적어도 하나의 애플리케이션에 대한 작업 시간을 결정할 수 있다. 예를 들어, 전자 장치(100)는 제 1 외부 입력의 획득 시점 및 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 적어도 하나의 시점으로부터 제 2 외부 입력의 획득 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.The electronic device 100 may determine a working time for at least one application based on the acquisition time of the first external input and the acquisition time of the second external input. For example, the electronic device 100 may receive a second external input from at least one of a time point when a first external input is acquired and a time point when the mode of at least one application is updated to a work mode based on the first external input. The time until the point of acquisition may be determined as the working time for at least one application.

도 2에서, 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 따라 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 후, 적어도 하나의 애플리케이션의 모드가 작업 모드를 유지하는 동안, 적어도 하나의 애플리케이션에 대한 제 2 외부 입력을 획득한 경우, 전자 장치(100)는 제 1 외부 입력의 획득 시점 및 제 1 외부 입력에 따라 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점 중 적어도 하나의 시점으로부터 제 2 외부 입력의 획득 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.In FIG. 2 , after the mode of at least one application is updated from a non-working mode to a working mode according to a first external input for the at least one application, while the mode of the at least one application maintains the working mode, at least one application When the second external input for the application of , the electronic device 100 obtains the first external input and when the mode of at least one application is updated from the non-work mode to the work mode according to the first external input A time from at least one point of time to a point of time when the second external input is obtained may be determined as a working time for at least one application.

또한, 전자 장치(100)는 적어도 하나의 애플리케이션에 대한 작업 시간을 디스플레이 할 수 있다. Also, the electronic device 100 may display a working time for at least one application.

도 5는 외부 입력에 기초하여, 애플리케이션의 모드가 작업 모드 또는 비작업 모드로 갱신됨에 따라 전자 장치(100)가 수행하는 프로세스를 도시한 흐름도이다.5 is a flowchart illustrating a process performed by the electronic device 100 when an application mode is updated to a working mode or a non-working mode based on an external input.

단계 S510에서, 전자 장치(100)는 제 1 외부 입력을 획득할 수 있다.In step S510, the electronic device 100 may obtain a first external input.

단계 S520에서, 전자 장치(100)는 전자 장치(100)에서 실행되는 복수의 애플리케이션 중 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션을 결정할 수 있다.In step S520, the electronic device 100 may determine at least one application that is a target of the first external input from among a plurality of applications executed in the electronic device 100.

단계 S530에서, 전자 장치(100)는 복수의 애플리케이션 각각에 할당되고, 서버(150)에 메시지 송신을 트리거(trigger)하는 적어도 하나의 카운터 중 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 할당된 카운터를 활성화 할 수 있다. 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 할당되고, 서버(150)에 메시지 송신을 트리거하는 카운터가 활성화 되는 것은, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신되는 것을 의미할 수 있다.In step S530, the electronic device 100 sets a counter assigned to at least one application that is the target of the first external input among at least one counter assigned to each of a plurality of applications and triggering message transmission to the server 150. can be activated. Activation of a counter allocated to at least one application that is the target of the first external input and triggering message transmission to the server 150 means that the mode of the at least one application that is the target of the first external input is updated to a work mode. can do.

일 실시 예에 따른, 전자 장치(100)는 외부 입력을 획득하는 경우, 외부 입력의 획득 시점을 나타내는 정보를 전자 장치(100)에서 실행되는 복수의 애플리케이션에 의하여 공유되는 공유 메모리에 저장할 수 있다. 또한, 전자 장치(100)는, 외부 입력을 획득하는 경우, 복수의 애플리케이션 각각에 할당된 로컬 메모리 중 외부 입력의 대상인 적어도 하나의 애플리케이션에 할당된 로컬 메모리에 외부 입력의 획득 시점을 저장할 수 있다.According to an embodiment, when obtaining an external input, the electronic device 100 may store information indicating an acquisition time of the external input in a shared memory shared by a plurality of applications running in the electronic device 100 . In addition, when acquiring an external input, the electronic device 100 may store the acquisition time of the external input in a local memory allocated to at least one application that is a target of the external input among local memories allocated to each of a plurality of applications.

예를 들어, 전자 장치(100)는 제 1 외부 입력을 획득함에 따라, 제 1 외부 입력의 획득 시점을 나타내는 정보를 공유 메모리에 저장할 수 있다. 또한, 전자 장치(100)는 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 할당된 로컬 메모리에 제 1 외부 입력의 획득 시점을 나타내는 정보를 저장할 수 있다.For example, as the electronic device 100 obtains the first external input, it may store information indicating the acquisition time point of the first external input in a shared memory. In addition, the electronic device 100 may store information indicating an acquisition time of the first external input in a local memory allocated to at least one application that is a target of the first external input.

또한, 전자 장치(100)는 공유 메모리에 저장된 최신 외부 입력 획득 시점과 각각의 로컬 메모리에 저장된 각각의 애플리케이션에 대한 최신 외부 입력 획득 시점을 비교할 수 있다. 애플리케이션에 할당된 로컬 메모리에 저장된 최신 외부 입력 획득 시점이 공유 메모리에 저장된 최신 외부 입력 획득 시점과 같은 경우, 애플리케이션에 할당된 적어도 하나의 카운터를 활성화 할 수 있다. In addition, the electronic device 100 may compare the latest external input acquisition time stored in the shared memory with the latest external input acquisition time for each application stored in each local memory. When the latest external input acquisition time stored in the local memory allocated to the application is the same as the latest external input acquisition time stored in the shared memory, at least one counter allocated to the application may be activated.

예를 들어 적어도 하나의 애플리케이션에 대한 제 1 외부 입력이 획득된 때에, 공유 메모리에 저장된 최신 외부 입력 획득 시점을 나타내는 정보는 제 1 외부 입력의 획득 시점을 나타내는 정보이고, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 할당된 로컬 메모리에 저장된 적어도 하나의 애플리케이션에 대한 최신 외부 입력의 획득 시점을 나타내는 정보도 제 1 외부 입력의 획득 시점을 나타내는 정보이므로, 전자 장치(100)는 적어도 하나의 애플리케이션에 할당되고, 서버(150)에 메시지 송신을 트리거하는 카운터를 활성화 할 수 있다.For example, when the first external input for at least one application is acquired, the information indicating the acquisition time of the latest external input stored in the shared memory is information indicating the acquisition time of the first external input, and the target of the first external input is at least Since the information indicating the acquisition time of the latest external input for at least one application stored in the local memory allocated to one application is also the information indicating the acquisition time of the first external input, the electronic device 100 allocates the information to the at least one application. and a counter triggering message transmission to the server 150 may be activated.

일 실시 예에 따른 전자 장치(100)는, 서버(150)에 메시지 송신을 트리거하는 카운터가 활성화 됨에 따라, 활성화된 카운터가 할당된 적어도 하나의 애플리케이션에 대한 제 1 외부 입력의 획득 시점을 나타내는 정보를 서버(150)에 송신할 수 있다. 또한, 일 실시 예에 따른 전자 장치(100)는 서버(150)에 메시지 송신을 트리거하는 카운터가 활성화 된 동안, 일정 주기마다, 각각의 주기 내에서 가장 나중에 획득된 적어도 하나의 애플리케이션에 대한 외부 입력의 획득 시점을 나타내는 정보를 서버(150)에 송신할 수 있다. 그러나 이에 제한되지 아니한다.According to an embodiment, when a counter triggering message transmission to the server 150 is activated, the electronic device 100 according to an embodiment, information indicating the acquisition time point of the first external input for at least one application to which the activated counter is assigned is activated. may be transmitted to the server 150. In addition, the electronic device 100 according to an embodiment, while a counter triggering message transmission to the server 150 is activated, every predetermined period, an external input for at least one application acquired most recently within each period Information indicating the acquisition time of can be transmitted to the server 150. However, it is not limited thereto.

단계 S540에서, 전자 장치(100)는 복수의 애플리케이션 각각에 할당되고, 서버(150)에 메시지 송신을 트리거하는 적어도 하나의 카운터 중 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션에 할당된 카운터를 비활성화 할 수 있다. 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션에 할당되고, 서버(150)에 메시지 송신을 트리거하는 카운터가 활성화 되는 것은, 다른 애플리케이션의 모드가 비작업 모드로 갱신되는 것을 의미할 수 있다.In step S540, the electronic device 100 sets a counter assigned to an application other than the at least one application that is the target of the first external input among at least one counter assigned to each of a plurality of applications and triggering message transmission to the server 150. can be disabled. Activation of a counter allocated to an application other than at least one application that is the target of the first external input and triggering message transmission to the server 150 may mean that the mode of the other application is updated to a non-working mode.

예를 들어, 적어도 하나의 애플리케이션에 대한 제 1 외부 입력이 획득한 때에, 공유 메모리에 저장된 최신 외부 입력 획득 시점을 나타내는 정보는 제 1 외부 입력의 획득 시점을 나타내는 정보이고, 다른 애플리케이션에 할당된 로컬 메모리에 저장된 다른 애플리케이션에 대한 최신 외부 입력의 획득 시점을 나타내는 정보는 제 1 외부 입력의 획득 시점을 나타내는 정보와 다르므로, 전자 장치(100)는 다른 애플리케이션에 할당되고, 서버(150)에 메시지 송신을 트리거하는 카운터를 비활성화 할 수 있다.For example, when a first external input for at least one application is acquired, the information indicating the acquisition time of the latest external input stored in the shared memory is information indicating the acquisition time of the first external input, and the local Since the information indicating the acquisition time of the latest external input for the other application stored in the memory is different from the information indicating the acquisition time of the first external input, the electronic device 100 is allocated to the other application and transmits a message to the server 150. You can disable counters that trigger

도 6은 일 실시 예에 따른 서버(150)가 전자 장치(100) 및 전자 장치(140) 각각으로부터 수신한 복수의 외부 입력 각각의 획득 시점을 나타내는 정보에 기초하여, 작업 시간을 결정하는 방법을 도시한 흐름도이다.6 illustrates a method for determining working hours based on information indicating acquisition time points of each of a plurality of external inputs received from each of the electronic device 100 and the electronic device 140 by the server 150 according to an embodiment. It is the flow chart shown.

도 6에서, 일 실시 예에 따른 전자 장치(100)는 전자 장치(100)에서 실행되는 제 1 애플리케이션에 대한 제 1 외부 입력 및 제 3 외부 입력을 획득할 수 있다. 일 실시 예에 따른 전자 장치(100)는, 제 1 애플리케이션에 대한 제 1 외부 입력에 기초하여, 제 1 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다. 또한, 제 1 애플리케이션이 작업 모드를 유지하는 동안, 전자 장치(100)는 제 1 애플리케이션에 대한 제 3 외부 입력을 획득할 수 있다.In FIG. 6 , the electronic device 100 according to an embodiment may obtain a first external input and a third external input for a first application executed on the electronic device 100 . The electronic device 100 according to an embodiment may update the mode of the first application from a non-work mode to a work mode based on a first external input for the first application. Also, while the first application maintains the work mode, the electronic device 100 may obtain a third external input for the first application.

또한, 전자 장치(140)는 전자 장치(140)에서 실행되는 제 2 애플리케이션에 대한 제 2 외부 입력 및 제 4 외부 입력을 획득할 수 있다. 일 실시 예에 따른 전자 장치(140)는, 제 2 애플리케이션에 대한 제 2 외부 입력에 기초하여, 제 2 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신될 수 있다. 또한, 제 2 애플리케이션이 작업 모드를 유지하는 동안, 전자 장치(140)는 제 2 애플리케이션에 대한 제 4 외부 입력을 획득할 수 있다.Also, the electronic device 140 may obtain a second external input and a fourth external input for a second application executed in the electronic device 140 . The electronic device 140 according to an embodiment may update the mode of the second application from a non-working mode to a working mode based on a second external input for the second application. Also, while the second application maintains the work mode, the electronic device 140 may obtain a fourth external input for the second application.

단계 S610에서, 서버(150)는 제 1 외부 입력의 획득 시점을 나타내는 제 1 시점 정보 및 제 3 외부 입력의 획득 시점을 나타내는 제 3 시점 정보를 전자 장치(100)로부터 수신 할 수 있다. 도 6의 일 실시 예에서, 제 1 시점은 제 3 시점보다 앞설 수 있다. In step S610, the server 150 may receive first view information indicating the acquisition time of the first external input and third view information indicating the acquisition time of the third external input from the electronic device 100. In an embodiment of FIG. 6 , the first viewpoint may precede the third viewpoint.

단계 S620에서, 서버(150)는 제 2 외부 입력의 획득 시점을 나타내는 제 2 시점 정보 및 제 4 외부 입력의 획득 시점을 나타내는 제 4 시점 정보를 전자 장치(140)로부터 수신 할 수 있다. 도 6의 일 실시 예에서, 제 2 시점은 제 4 시점보다 앞설 수 있다. 또한, 제 1 시점은 제 2 시점보다 앞설 수 있다.In step S620, the server 150 may receive second view information indicating the acquisition time of the second external input and fourth view information indicating the acquisition time of the fourth external input from the electronic device 140. In an embodiment of FIG. 6 , the second viewpoint may precede the fourth viewpoint. Also, the first viewpoint may precede the second viewpoint.

단계 S630에서, 서버(150)는 제 2 시점이 제 3 시점보다 앞서는지 결정할 수 있다. In step S630, the server 150 may determine whether the second time point precedes the third time point.

단계 S630에서 제 3 시점이 제 2 시점보다 앞선다고 결정한 경우, 단계 S640에서 서버(150)는 제 1 시점으로부터 제 3 시점까지의 시간과 제 2 시점으로부터 제 4 시점까지의 시간을 합한 시간을 복수의 전자 장치(100)에서 실행되는 복수의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.If it is determined in step S630 that the third point in time precedes the second point in time, in step S640, the server 150 calculates the sum of the time from the first point in time to the third point in time and the time from the second point in time to the fourth point in time. It can be determined as the working time for a plurality of applications executed in the electronic device 100 of the .

단계 S630단계에서, 제 2 시점이 제 3 시점보다 앞선다고 결정한 경우, S650에서 서버(150)는 제 3 시점이 제 4 시점보다 앞서는지 결정할 수 있다. In step S630, when it is determined that the second viewpoint precedes the third viewpoint, the server 150 may determine whether the third viewpoint precedes the fourth viewpoint in S650.

단계 S650에서 제 3 시점이 제 4 시점보다 앞선다고 결정한 경우, 단계 S660에서 제 1 시점으로부터 제 4시점까지의 시간을 복수의 전자 장치(100, 제 140)에서 실행되는 복수의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. 단계 S650에서 제 4 시점이 제 3 시점보다 앞선다고 결정한 경우, 단계 S670에서 제 4 시점이 제 2 시점보다 앞서지 않는다고 결정한 경우, 제 1 시점으로부터 제 3 시점까지의 시간을 복수의 전자 장치(100, 140)에서 실행되는 복수의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.If it is determined in step S650 that the third point in time precedes the fourth point in time, in step S660, the time from the first point in time to the fourth point in time is set as working time for a plurality of applications executed in the plurality of electronic devices 100 and 140 . can be determined by If it is determined in step S650 that the fourth point in time precedes the third point in time, and if it is determined in step S670 that the fourth point in time does not precede the second point in time, the time from the first point in time to the third point in time is determined by the plurality of electronic devices 100, 140) can be determined as the working time for a plurality of applications executed.

도 7은, 일 실시 예에 따른, 서버(150)가 전자 장치(100)를 포함하는 하나 이상의 전자 장치 각각으로부터 수신한 하나 이상의 작업시간레코드에 기초하여, 애플리케이션에 대한 작업 시간을 결정하는 흐름도를 도시한 도면이다.7 is a flowchart illustrating a process in which the server 150 determines work hours for an application based on one or more work time records received from each of one or more electronic devices including the electronic device 100, according to an embodiment. It is an illustrated drawing.

도 7에서, 연속작업구간은 구간 내에 모든 시점에서, 전자 장치(100)를 포함하는 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 중 적어도 하나의 애플리케이션의 모드가 작업 모드인 구간을 나타낼 수 있다. 예를 들어 전자 장치(100)에서 제 1 애플리케이션 및 제 2 애플리케이션이 실행되고 전자 장치(140)에서 제 3 애플리케이션만이 실행되는 경우, 연속작업구간 내에서 제 1 내지 제 3 애플리케이션 중 적어도 하나의 애플리케이션의 모드는 작업 모드일 수 있다.In FIG. 7 , the continuous work section may indicate a section in which the mode of at least one application among one or more applications executed in one or more electronic devices including the electronic device 100 is a work mode at all times within the section. For example, when the first application and the second application are executed in the electronic device 100 and only the third application is executed in the electronic device 140, at least one of the first to third applications is selected within the continuous work section. The mode of may be a working mode.

또한, 연속작업구간은 "시작 시각"과 "종료 시각"을 포함할 수 있다.In addition, the continuous work section may include "start time" and "end time".

연속작업구간의 "시작 시각"은 전자 장치(100)를 포함하는 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 전체의 모드가 비작업 모드인 구간에서 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 중 적어도 하나의 애플리케이션의 모드가 작업 모드인 구간으로 변경되는 시점을 나타내는 시각일 수 있다.The "start time" of the continuous work section is at least one of one or more applications running in one or more electronic devices in a section in which the entire mode of one or more applications running in one or more electronic devices including the electronic device 100 is a non-work mode. It may be a time indicating a point in time when the mode of the application of is changed to a working mode section.

일 실시 예에 따른, 전자 장치(100)를 포함하는 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 전체의 모드가 비작업 모드인 때, 적어도 하나의 애플리케이션에 대한 외부 입력이 획득됨에 따라, 외부 입력에 대응하는 적어도 하나의 애플리케이션 모드가 비작업 모드에서 작업 모드로 갱신되는 경우, 연속작업구간의 "시작 시각"은 외부 입력의 획득 시점을 나타내는 시각 및 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 시각 중 적어도 하나의 시각으로 설정될 수 있다.According to an embodiment, when an entire mode of one or more applications executed in one or more electronic devices including the electronic device 100 is a non-working mode, as an external input for at least one application is obtained, an external input is received. When the corresponding at least one application mode is updated from the non-working mode to the working mode, the "start time" of the continuous working section is the time indicating the acquisition of external input and the time when the mode of at least one application is updated to the working mode. It may be set to at least one of the times indicating the.

예를 들어, 전자 장치(100)에서 실행되는 제 1 애플리케이션 및 제 2 애플리케이션 각각의 모드가 비작업 모드고, 전자 장치(140)에서 실행되는 제 3 애플리케이션의 모드도 비작업 모드인 때, 전자 장치(100)가 제 1 애플리케이션에 대한 제 1 외부 입력을 획득함에 따라, 제 1 애플리케이션의 모드가 작업 모드로 갱신되는 경우, 연속작업구간의 "시작 시각"은 제 1 외부 입력 획득 시점을 나타내는 시각 및 제 1 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 시각 중 적어도 하나의 시각으로 설정될 수 있다.For example, when the mode of each of the first application and the second application executed in the electronic device 100 is a non-working mode and the mode of a third application executed in the electronic device 140 is also a non-working mode, the electronic device When the mode of the first application is updated to the work mode as the 100 obtains the first external input for the first application, the "start time" of the continuous work section is the time indicating the first external input acquisition time and It may be set to at least one of times indicating when the mode of the first application is updated to the work mode.

연속작업구간의 "종료 시각"은 전자 장치(100)를 포함하는 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 중 적어도 하나의 애플리케이션의 모드가 작업 모드인 구간에서 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 전체의 모드가 비작업 모드인 구간으로 변경되는 시점을 나타내는 시각일 수 있다. The "end time" of the continuous work section refers to one or more applications executed in one or more electronic devices in a section in which the mode of at least one application among one or more applications executed in one or more electronic devices including the electronic device 100 is the work mode. It may be a time indicating a time point when the entire mode is changed to a non-work mode section.

예를 들어, 전자 장치(100) 및 전자 장치(140) 각각에서 실행되는 제 1 내지 제 3 애플리케이션들 중 제 1 애플리케이션의 모드만 작업 모드인 때, 전자 장치(100)가 제 1 애플리케이션을 종료하는 입력 및 애플리케이션 이외의 애플리케이션에 대한 외부 입력 등을 획득함에 따라, 제 1 애플리케이션의 모드가 비작업 모드로 갱신되는 경우, 전자 장치(100) 및 전자 장치(140)에서 실행되는 제 1 내지 제 3 애플리케이션 각각의 모드는 비작업 모드며, 연속작업구간의 "종료 시각"은 외부 입력 획득 시점을 나타내는 시각 또는 제 1 애플리케이션의 모드가 작업 모드에서 비작업 모드로 갱신된 시점을 타내는 시각으로 설정될 수 있다. For example, when only a first application among first to third applications executed in the electronic device 100 and the electronic device 140 is in a work mode, the electronic device 100 terminates the first application. When the mode of the first application is updated to the non-working mode as an input and an external input for an application other than the application are acquired, the first to third applications executed in the electronic device 100 and the electronic device 140 Each mode is a non-working mode, and the "end time" of the continuous work section may be set to a time indicating the time of external input acquisition or a time indicating the time when the mode of the first application is updated from the working mode to the non-working mode. .

작업시간레코드는 전자 장치(100)를 포함하는 하나 이상의 전자 장치 각각에서 실행되는 각각의 애플리케이션의 모드가 작업 모드로 갱신된 시점 이후부터 비작업 모드로 갱신된 시점 이전까지, 애플리케이션에 대한 작업 시간의 결정에 필요한 시각 정보를 포함할 수 있다. 구체적으로, 일 실시 예에 따른, 작업시간레코드는 작업시간레코드의 대상인 애플리케이션에 대한 작업의 "시작 시각"과 "종료 시각"을 포함할 수 있다.The work time record is the amount of work time for an application from the time when the mode of each application executed in each of one or more electronic devices including the electronic device 100 is updated to the work mode and before the time is updated to the non-work mode. It may contain visual information necessary for decision-making. Specifically, according to an embodiment, the work time record may include “start time” and “end time” of a task for an application that is a target of the work time record.

작업시간레코드의 "시작 시각"은 각각의 작업시간레코드의 대상인 애플리케이션의 모드가 비작업 모드인 때, 애플리케이션에 대한 외부 입력의 획득 시점 나타내는 시각 또는 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 시각일 수 있다.The "start time" of the work time record is the time indicating the acquisition of external input for the application when the mode of the application, which is the target of each work time record, is non-working mode, or the mode of the application is updated from non-working mode to working mode. It may be a time indicating a viewpoint.

예를 들어, 전자 장치(100)가 전자 장치(100)에서 실행되는 제 1 애플리케이션에 대한 제 1 외부 입력을 획득함에 따라, 제 1 애플리케이션의 모드가 작업 모드로 갱신된 경우, 작업시간레코드의 대상인 애플리케이션은 제 1 애플리케이션이고, 작업시간레코드의 "시작 시각"은, 작업시간레코드의 대상인 제 1 애플리케이션에 대한 제 1 외부 입력 획득 시점을 나타내는 시각 및 제 1 애플리케이션이 작업 모드로 갱신된 시점을 나타내는 시각 중 적어도 하나의 시각일 수 있다.For example, when the mode of the first application is updated to the work mode as the electronic device 100 obtains the first external input for the first application running on the electronic device 100, the target of the work time record The application is the first application, and the "start time" of the work time record is the time indicating the time of obtaining the first external input for the first application, which is the target of the work time record, and the time of the first application being updated to the work mode. It may be at least one of the views.

또한, 작업시간레코드의 대상인 애플리케이션 이외에 다른 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 때, 작업시간레코드의 "시작 시각"이 변경될 수 있다. In addition, when the mode of an application other than the target application of the working hours record is updated from the non-working mode to the working mode, the "start time" of the working hours record may be changed.

작업시간레코드의 대상인 애플리케이션이 제 1 애플리케이션인 때, 전자 장치(100)가 제 2 애플리케이션에 대한 제 2 외부 입력을 획득함에 따라, 제 1 애플리케이션의 모드가 비작업 모드로 갱신되고, 제 2 애플리케이션의 모드가 작업 모드로 갱신된 경우, 작업시간레코드의 대상인 애플리케이션은 제 2 애플리케이션으로 변경되고, 작업시간레코드의 "시작 시각"은 제 2 외부 입력의 획득 시점을 나타내는 시각 및 제 2 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 시각 중 적어도 하나의 시각으로 변경될 수 있다.When the application that is the target of the working hours record is the first application, and the electronic device 100 obtains a second external input for the second application, the mode of the first application is updated to a non-working mode, and the second application When the mode is updated to the work mode, the application that is the target of the work time record is changed to the second application, and the "start time" of the work time record is the time indicating the acquisition time of the second external input and the mode of the second application is work. It may be changed to at least one of the times indicating the time when the mode is updated.

또한, 작업시간레코드의 "종료 시각"은 작업시간레코드의 대상인 애플리케이션의 모드가 작업 모드인 동안 작업시간레코드의 대상인 애플리케이션에 대한 외부 입력의 획득 시점을 나타내는 시각 및 애플리케이션의 모드가 작업 모드에서 비작업 모드로 갱신된 시점을 나타내는 시각 중 적어도 하나의 시각일 수 있다. 또한, 작업시간레코드의 대상인 애플리케이션의 모드가 작업 모드인 동안, 작업시간레코드의 대상인 애플리케이션에 대한 외부 입력이 획득될 때마다, 작업시간레코드의 "종료 시각"은 외부 입력의 획득 시점을 나타내는 시각으로 갱신될 수 있다. In addition, the "end time" of the work time record indicates the time of acquisition of external input for the application that is the target of the work time record while the mode of the application that is the target of the work time record is in working mode, and the mode of the application is in non-working mode. It may be at least one of times indicating the time when the mode is updated. In addition, while the mode of the application that is the target of the work time record is the work mode, whenever an external input to the application that is the target of the work time record is obtained, the "end time" of the work time record is the time indicating the acquisition time of the external input. can be updated

예를 들어 전자 장치(100)의 제 1 애플리케이션의 모드가 작업 모드인 동안, 작업시간레코드의 대상은 제 1 애플리케이션이고, 전자 장치가 제 1 애플리케이션에 대한 제 2 외부 입력을 획득함에 따라, 작업시간레코드의 "종료 시각"은 제 2 외부 입력의 획득 시점을 나타내는 시각, 예를 들어, "13:00"로 설정될 수 있다. 이어서, 전자 장치(100)가 제 1 애플리케이션에 대한 제 3 외부 입력을 획득하는 경우, 작업시간레코드의 "종료 시각"은 제 3 외부 입력의 획득 시점을 나타내는 시각, 예를 들어, "14:00"로 변경될 수 있다.For example, while the mode of the first application of the electronic device 100 is the work mode, the target of the work time record is the first application, and as the electronic device obtains the second external input for the first application, the work time record The “end time” of the record may be set to a time indicating acquisition time of the second external input, for example, “13:00”. Next, when the electronic device 100 obtains the third external input for the first application, the "end time" of the work time record is the time indicating the acquisition time of the third external input, for example, "14:00 " can be changed to

또한, 작업시간레코드는 전자 장치(100)를 포함하는 하나 이상의 전자 장치 각각에 할당된 메모리(130)의 일정 영역에 저장될 수 있고, 하나 이상의 전자 장치 각각으로부터 서버(150)에 송신될 수 있다. In addition, the work time record may be stored in a predetermined area of the memory 130 allocated to each of one or more electronic devices including the electronic device 100, and may be transmitted to the server 150 from each of the one or more electronic devices. .

작업시간레코드 리스트는 서버(150)가 전자 장치(100)를 포함하는 하나 이상의 전자 장치 각각으로부터 수신한 하나 이상의 작업시간레코드의 리스트일 수 있다. 예를 들어, 작업시간레코드 리스트는 서버(150) 내의 DB에 저장된 하나 이상의 작업시간레코드가 "시작 시각"을 기준으로 오름차순으로 정렬된 리스트일 수 있다.The work time record list may be a list of one or more work time records received by the server 150 from each of one or more electronic devices including the electronic device 100 . For example, the work time record list may be a list in which one or more work time records stored in the DB in the server 150 are sorted in ascending order based on “start time”.

이하 단계 SS710 내지 SS770를 참조하여, 작업시간레코드 리스트에 저장된 하나 이상의 작업시간레코드를 이용하여, 서버(150)가 전자 장치(100)를 포함하는 하나 이상의 전자 장치에서 실행되는 하나 이상의 애플리케이션 에 대한 작업 시간을 결정하는 방법을 설명한다.Referring to steps SS710 to SS770 below, using one or more work time records stored in the work time record list, the server 150 processes one or more applications that are executed in one or more electronic devices including the electronic device 100. Explain how to determine time.

단계 S710에서, 서버(150)는 작업시간레코드 리스트로부터 작업시간레코드를 획득할 수 있다. 상기 설명한 바와 같이 작업시간레코드 리스트 내에서 작업시간레코드는 작업시간레코드의 "시작 시각"을 기준으로 오름차순으로 정렬될 수 있다. 예를 들어, 서버(150)는 서버(150)내의 DB 상에 저장되고 "시작 시각"을 기준으로 오름차순으로 정렬된 하나 이상의 작업시간레코드로 구성된 작업시간레코드 리스트로부터 각각의 작업시간레코드를 차례대로 획득할 수 있다.In step S710, the server 150 may obtain a working time record from the working time record list. As described above, the work time records in the work time record list may be sorted in ascending order based on the "start time" of the work time records. For example, the server 150 sequentially selects each work time record from a work time record list composed of one or more work time records stored on a DB in the server 150 and sorted in ascending order based on "start time". can be obtained

단계 S715에서, 서버(150)는 연속작업구간의 시작 시각이 존재하는지 결정할 수 있다. 예를 들어, 작업시간레코드가 작업시간레코드 리스트 내의 작업시간레코드 중 첫 번째 작업시간레코드인 경우, 연속작업구간의 시작 시각이 존재하지 않을 수 있다.In step S715, the server 150 may determine whether the start time of the continuous work section exists. For example, if the work time record is the first work time record among the work time records in the work time record list, the start time of the continuous work section may not exist.

단계 S715에서, 연속작업구간의 시작 시각이 존재하지 않는다고 결정한 경우, 단계 S720에서, 서버(150)는 연속작업구간의 시작 시각을 현재 작업시간레코드의 시작 시각으로 설정하고, 단계 S725를 수행한다.In step S715, if it is determined that the start time of the continuous work section does not exist, in step S720, the server 150 sets the start time of the continuous work section as the start time of the current work time record, and performs step S725.

단계 S720에서, 연속작업구간의 시작 시각이 존재한다고 결정한 경우, 서버(150)는 바로 단계 S725를 수행한다.In step S720, if it is determined that the start time of the continuous work section exists, the server 150 immediately performs step S725.

단계 S725에서, 서버(150)는 연속작업구간의 종료 시각이 존재하는지 결정할 수 있다. 예를 들어, 작업시간레코드가 작업시간레코드 리스트의 작업시간레코드 중 첫 번째 작업시간레코드인 경우, 연속작업구간의 종료 시각이 존재하지 않을 수 있다.In step S725, the server 150 may determine whether there is an end time of the continuous work section. For example, if the work time record is the first work time record among the work time records of the work time record list, the end time of the continuous work section may not exist.

단계 S725에서, 서버(150)가 연속작업구간의 종료 시각이 존재하지 않는다고 결정한 경우, 단계 S730에서, 서버(150)는 연속작업구간의 종료 시각을 현재 작업시간레코드의 종료 시각으로 설정하고, 단계 S735를 수행한다.In step S725, if the server 150 determines that the end time of the continuous work section does not exist, in step S730, the server 150 sets the end time of the continuous work section as the end time of the current work time record, and S735 is performed.

단계 S725에서, 서버(150)가 연속작업구간의 종료 시각이 존재한다고 결정한 경우, 서버(150)는 바로 단계 S735를 수행한다.In step S725, when the server 150 determines that the end time of the continuous work section exists, the server 150 immediately performs step S735.

단계 S735에서, 서버(150)는 작업시간레코드의 시작 시각이 연속작업구간의 시작 시각 이후이고 연속작업구간의 종료 시각 이전인지 결정할 수 있다.In step S735, the server 150 may determine whether the start time of the working time record is after the start time of the continuous work section and before the end time of the continuous work section.

단계 S735에서, 작업시간레코드의 시작 시각이 연속작업구간의 시작 시각 이후이고 연속작업구간의 종료 시각 이전이라고 결정한 경우, 서버(150)는 단계 S740에서 작업시간레코드의 종료 시각이 연속작업구간의 종료 시각 이후인지 결정할 수 있다. 단계 S740에서, 작업시간레코드의 종료 시각이 연속작업구간의 종료 시각 이후라고 결정한 경우 연속작업구간의 종료 시각을 작업시간레코드의 종료 시각으로 업데이트할 수 있다. 단계 S740에서, 작업시간레코드의 종료 시각이 연속작업구간의 종료 시각 이후가 아니라고 결정한 경우 서버(150)는 단계 S750을 수행한다.In step S735, when it is determined that the start time of the work time record is after the start time of the continuous work section and before the end time of the continuous work section, the server 150 determines that the end time of the work time record is the end of the continuous work section in step S740. You can decide if it is after the time. In step S740, when it is determined that the end time of the work time record is after the end time of the continuous work section, the end time of the continuous work section may be updated to the end time of the work time record. In step S740, if it is determined that the end time of the work time record is not after the end time of the continuous work section, the server 150 performs step S750.

단계 S750에서, 서버(150)는 연속작업구간 종료 시각이 작업시간레코드의 시작 시각보다 빠른지 결정할 수 있다.In step S750, the server 150 may determine whether the end time of the continuous work section is earlier than the start time of the work time record.

단계 S750에서, 연속작업구간의 종료 시각이 작업시간레코드의 시작 시각보다 빠르다고 결정한 경우, 서버(150)는 단계 S755부터 단계 S765을 수행한 뒤 단계 S770를 수행한다. 서버(150)는 단계 S755에서 작업 시간을 연속작업구간의 시작 시각으로부터 연속작업구간의 종료 시각까지의 시간과 기존 작업 시간을 합한 시간으로 업데이트할 수 있다. 또한, 단계 S760에서, 서버(150)는 연속작업구간의 시작 시각을 작업시간레코드의 시작 시각으로 업데이트할 수 있다. 또한, 단계 S765에서, 서버(150)는 연속작업구간의 종료 시각을 작업시간레코드의 종료 시각으로 업데이트할 수 있다. 이후 단계 S770를 수행한다.In step S750, when it is determined that the end time of the continuous work section is earlier than the start time of the work time record, the server 150 performs steps S755 to S765 and then performs step S770. The server 150 may update the working time to the sum of the time from the start time of the continuous work section to the end time of the continuous work section and the existing work time in step S755. In addition, in step S760, the server 150 may update the start time of the continuous work section to the start time of the work time record. Also, in step S765, the server 150 may update the end time of the continuous work section to the end time of the work time record. Afterwards, step S770 is performed.

단계 S750에서, 연속작업구간의 종료 시각이 작업시간레코드의 시작 시각보다 빠르지 않다고 결정한 경우, 서버(150)는 바로 단계 S770을 수행한다. In step S750, when it is determined that the end time of the continuous work section is not earlier than the start time of the work time record, the server 150 immediately performs step S770.

단계 S770에서, 서버(150)는 작업시간레코드 리스트에 다음 작업시간레코드가 존재하는지 결정할 수 있다.In step S770, the server 150 may determine whether the next working time record exists in the working time record list.

단계 S770에서, 서버(150)가 작업시간레코드 리스트에 다음 작업시간레코드가 존재한다고 결정한 경우, 단계 S710 로 되돌아가 이후의 단계를 수행한다. 또한, 단계 S770에서 작업시간레코드 리스트에 다음 작업시간레코드가 존재하지 않는다고 결정한 경우, 단계 S775에서, 서버(150)는 작업 시간을 연속작업구간의 시작 시각으로부터 연속작업구간의 종료 시각까지의 시간과 기존 작업 시간을 합한 시간으로 업데이트할 수 있다.In step S770, when the server 150 determines that the next work time record exists in the work time record list, it returns to step S710 and performs subsequent steps. In addition, when it is determined in step S770 that the next work time record does not exist in the work time record list, in step S775, the server 150 divides the work time from the start time of the continuous work section to the end time of the continuous work section and It can be updated with the sum of the existing working hours.

도 8은 일 실시 예에 따른, 전자 장치(100) 또는 서버(150)가 상호 연계하여 전자 장치(100)에서 실행되는 애플리케이션에 대한 작업 시간을 결정하는 방법을 도시한 신호 흐름도이다.FIG. 8 is a signal flow diagram illustrating a method in which the electronic device 100 or the server 150 determines a working time for an application executed in the electronic device 100 in association with each other, according to an embodiment.

단계 S820에서, 전자 장치(100)는 제 1 외부 입력을 획득할 수 있다. 일 실시 예에 따른, 전자 장치(100)는 제 1 외부 입력에 기초하여, 제 1 외부 입력의 대상인 애플리케이션의 모드를 작업 모드로 갱신할 수 있다. In step S820, the electronic device 100 may obtain a first external input. According to an embodiment, the electronic device 100 may update the mode of an application that is a target of the first external input to a work mode based on the first external input.

단계 S825에서, 전자 장치(100)는 작업 모드로 갱신된 애플리케이션의 ID를 요청하는 메시지를 서버(150)에 송신할 수 있다. 일 실시 예에 따른, ID 요청 메시지는 제 1 외부 입력 획득 시점, 제 1 외부 입력의 대상인 애플리케이션의 모드가 작업 모드로 갱신된 시점, 또는 ID 요청 메시지를 서버(150)에 송신한 시점을 나타내는 정보를 포함할 수 있다.In step S825, the electronic device 100 may transmit to the server 150 a message requesting an ID of an application updated in work mode. According to an embodiment, the ID request message is information indicating a time point when a first external input is obtained, a time point when the mode of an application that is a target of the first external input is updated to a working mode, or a time point when an ID request message is transmitted to the server 150 can include

단계 S830에서, 서버(150)는 전자 장치(100)로부터 ID를 요청하는 메시지를 수신함에 따라, 작업 모드로 갱신된 애플리케이션의 ID를 생성할 수 있다.In step S830, the server 150 may generate an ID of an application updated in work mode upon receiving a message requesting an ID from the electronic device 100.

단계 S835에서, 일 실시 예에 따른, 서버(150)는 생성한 ID를 메모리(170)에 저장할 수 있다. 일 실시 예에 따른, 서버(150)는 생성한 ID를 전자 장치(100)로부터 수신한 ID 요청 메시지에 포함된 제 1 외부 입력 획득 시점, 제 1 외부 입력의 대상인 애플리케이션의 모드가 작업 모드로 갱신된 시점 또는 전자 장치(100)가 서버(150)에 ID 요청 메시지의 송신한 시점을 나타내는 정보와 결합하여 메모리(170)에 저장할 수 있다. In step S835, according to an embodiment, the server 150 may store the generated ID in the memory 170. According to an embodiment, the server 150 updates the mode of the application that is the target of the first external input to the working mode at the time of obtaining the first external input included in the ID request message received from the electronic device 100 with the generated ID. It can be stored in the memory 170 in combination with information indicating the time when the ID request message is transmitted to the server 150 by the electronic device 100 or when the ID request message is transmitted to the server 150.

일 실시 예에 따른, 서버(150)는, 생성한 ID를 전자 장치(100)로부터 ID 요청 메시지를 수신한 시점을 나타내는 정보 결합하여 메모리(170)에 저장할 수 있다. 일 실시 예에 따른, 서버(150)는, 생성한 ID를 생성한 ID가 메모리(170)에 저장된 시점을 나타내는 정보와 결합하여 메모리에 저장할 수 있다.According to an embodiment, the server 150 may store the generated ID in the memory 170 by combining the generated ID with information indicating the time of receiving the ID request message from the electronic device 100 . According to an embodiment, the server 150 may combine the generated ID with information indicating the time when the generated ID was stored in the memory 170 and store it in the memory.

단계 S840에서, 서버(150)는 프로세서를 이용하여 ID가 부여된 애플리케이션에 대한 작업 시간을 결정할 수 있다.In step S840, the server 150 may determine the working time for the application to which the ID is assigned by using the processor.

일 실시 예에 따른, 서버(150)는 ID가 부여된 애플리케이션 초기 작업 시간을 0으로 결정할 수 있다. 일 실시 예에 따른, 서버(150)는 메모리(170)에 저장된, ID가 부여된 애플리케이션에 대한 제 1 외부 입력 획득 시점을 나타내는 정보 또는 ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점에 기초하여, ID가 부여된 애플리케이션에 대한 작업 시간을 결정할 수 있다. According to an embodiment, the server 150 may determine an initial working time of an application to which an ID is assigned as 0. According to an embodiment, the server 150 may store information stored in the memory 170 and indicate when a first external input is obtained for an application to which an ID is assigned, or when the mode of an application to which an ID is assigned is updated to a work mode. Based on this, it is possible to determine the working time for the application to which the ID is assigned.

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션에 대한 제 1 외부 입력 획득 시점 및 ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 전자 장치(100)가 서버(150)에 ID 요청 메시지를 송신한 시점까지의 시간을 초기 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 may perform the electronic device 100 from any one of the time of obtaining the first external input for the application to which the ID has been assigned and the time of updating the mode of the application to which the ID has been assigned to the work mode. ) may determine the time until the point at which the ID request message is transmitted to the server 150 as the initial working time.

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션에 대한 제 1 외부 입력 획득 시점 및 ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 서버(150)가 전자 장치(100)로부터 ID 요청 메시지를 수신한 시점까지의 시간을 초기 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150, from any one of the time of obtaining the first external input for the application to which the ID has been assigned and the time of updating the mode of the application to which the ID has been assigned to the work mode, the server 150 A time up to a point in time when the ID request message is received from the electronic device 100 may be determined as the initial working time.

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션에 대한 제 1 외부 입력 획득 시점 및 ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 ID를 메모리(170)에 저장한 시점까지의 시간을 초기 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 stores the ID from any one of the time of obtaining the first external input for the application to which the ID has been assigned and the time of updating the mode of the application to which the ID has been assigned to the work mode ( 170) can be determined as the initial working time.

단계 S845에서, 일 실시 예에 따른, 서버(150)는 생성한 ID 및 결정된 작업 시간을 전자 장치(100)에 송신할 수 있다.In step S845, according to an embodiment, the server 150 may transmit the generated ID and the determined work time to the electronic device 100.

단계 S850에서, 일 실시 예에 따른, 전자 장치(100)는, 서버(150)로부터 ID를 수신한 시점부터 미리 결정된 주기(T)에 이를 동안 서버(150)에 메시지를 송신하기 위하여 대기할 수 있다. 일 실시 예에 따른, 미리 결정된 주기(T)는 전자 장치(100)가 서버(150)에 메시지를 송신하는 송신 주기일 수 있다. 일 실시 예에 따른, 미리 결정된 주기(T)는 전자 장치(100)가 서버(150)에 송신하는 하트비트 메시지의 송신 주기일 수 있다.In step S850, according to an embodiment, the electronic device 100 may wait to transmit a message to the server 150 for a predetermined period (T) from the time of receiving the ID from the server 150. there is. According to an embodiment, the predetermined period T may be a transmission period in which the electronic device 100 transmits a message to the server 150. According to an embodiment, the predetermined period T may be a transmission period of a heartbeat message transmitted from the electronic device 100 to the server 150.

일 실시 예에 따른, 전자 장치(100)는, 단계 S850에서 미리 결정된 주기(T) 내에, ID가 부여된 작업 모드인 애플리케이션에 대한 제 2 외부 입력(미도시)을 획득할 수 있다.According to an embodiment, the electronic device 100 may obtain a second external input (not shown) for an application in a work mode to which an ID is assigned within a predetermined period (T) in step S850.

단계 S855에서, 일 실시 예에 따른, 전자 장치(100)는, 서버(150)로부터 ID를 수신한 시점으로부터 미리 결정된 주기(T)에 이른 경우, 서버(150)로부터 수신한 ID를 포함하는 작업 시간 업데이트 요청 메시지를 서버(150)에 송신할 수 있다.In step S855, according to an embodiment, the electronic device 100 performs a task including the ID received from the server 150 when a predetermined period T has reached from the time of receiving the ID from the server 150. A time update request message may be transmitted to the server 150 .

일 실시 예에 따른, 작업 시간 업데이트 요청 메시지는 애플리케이션의 ID 및 ID가 부여된 애플리케이션에 대한 제 2 외부 입력 획득 시점, 및 작업 시간 업데이트 요청 메시지를 서버(150)에 송신한 시점을 나타내는 정보 등을 포함할 수 있다.According to an embodiment, the work hours update request message includes an ID of an application, information indicating when a second external input is acquired for an application to which the ID is assigned, and information indicating a time when the work time update request message is transmitted to the server 150. can include

단계 S860에서, 서버(150)는, 전자 장치(100)로부터 작업 시간 업데이트 요청 메시지를 수신함에 따라, 작업 시간 업데이트 요청 메시지에 포함된 정보를 메모리(170)에 저장할 수 있다.In step S860, the server 150 may store information included in the working time update request message in the memory 170 as the server 150 receives the working time update request message from the electronic device 100.

일 실시 예에 따른, 서버(150)는 작업 시간 업데이트 요청 메시지에 포함된 애플리케이션의 ID 를 ID가 부여된 애플리케이션에 대한 제 2 외부 입력 획득 시점을 나타내는 정보 또는 전자 장치(100)가 작업 시간 업데이트 요청 메시지를 서버(150)에 송신한 시점을 나타내는 정보와 결합하여 메모리(170)에 저장할 수 있다.According to an embodiment, the server 150 uses the ID of the application included in the work hours update request message to obtain information indicating a second external input acquisition time point for the application to which the ID is assigned, or the electronic device 100 requests the work hours update. The message may be stored in the memory 170 in combination with information indicating the time when the message was transmitted to the server 150 .

일 실시 예에 따른, 서버(150)는 작업 시간 업데이트 요청 메시지에 포함된 애플리케이션의 ID를 작업 시간 업데이트 요청 메시지를 전자 장치(100)로부터 수신한 시점을 나타내는 정보와 결합하여 메모리(170)에 저장할 수 있다. 일 실시 예에 따른, 서버(150)는 작업 시간 업데이트 요청 메시지에 포함된 애플리케이션의 ID를 작업 시간 업데이트 요청 메시지를 메모리(170)에 저장하는 시점을 나타내는 정보와 결합하여 메모리(170)에 저장할 수 있다.According to an embodiment, the server 150 combines the ID of the application included in the work time update request message with information indicating the time when the work time update request message is received from the electronic device 100 and stores it in the memory 170. can According to an embodiment, the server 150 may store the ID of the application included in the working time update request message in the memory 170 by combining the information indicating the time of storing the working time update request message in the memory 170. there is.

단계 S865에서, 서버(150)는, 작업 시간 업데이트 메시지에 포함된 ID가 부여된 애플리케이션에 대한 작업 시간을 결정할 수 있다.In step S865, the server 150 may determine the working hours for the application to which the ID included in the working hours update message is assigned.

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션의 제 1 외부 입력 획득 시점 및 ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 ID가 부여된 애플리케이션에 대한 제 2 외부 입력 획득 시점까지의 시간을 작업 시간으로 결정할 수 있다. \According to an embodiment, the server 150 receives the application to which the ID is assigned from any one of the time of acquiring the first external input of the application to which the ID has been assigned and the time of updating the mode of the application to which the ID has been assigned to the work mode. A time until a point in time when the second external input is acquired for may be determined as a working time. \

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션의 제 1 외부 입력 획득 시점, ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점, 및 ID 요청 메시지를 전자 장치(100)가 서버(150)에 송신한 시점 중 어느 하나의 시점으로부터 작업 시간 업데이트 요청 메시지를 전자 장치(100)가 서버(150)에 송신한 시점까지의 시간을 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 transmits the first external input acquisition time of the application to which the ID is assigned, the time when the mode of the application to which the ID is assigned is updated to the work mode, and the ID request message to the electronic device 100 A time from any one of the times when the work time update request message is transmitted to the server 150 to the time when the electronic device 100 transmits the work time update request message to the server 150 may be determined as the working time.

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션의 제 1 외부 입력 획득 시점, ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점, 및 서버(150)가 ID 요청 메시지를 전자 장치(100)로부터 수신한 시점 중 어느 하나의 시점으로부터 작업 시간 업데이트 요청 메시지를 서버(150)가 전자 장치(100)로부터 수신한 시점까지의 시간을 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 receives a first external input of an application to which an ID is assigned, a time point when the mode of the application to which an ID is assigned is updated to a work mode, and the server 150 sends an ID request message. A time from any one of the times when the work time update request message is received from the electronic device 100 to the time when the server 150 receives the work time update request message from the electronic device 100 may be determined as the work time.

일 실시 예에 따른, 서버(150)는, ID가 부여된 애플리케이션의 제 1 외부 입력 획득 시점, ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점, 및 서버(150)가 ID 요청 메시지를 수신함에 따라 생성한 ID를 메모리(170)에 저장한 시점 중 어느 하나의 시점으로부터 서버(150)가 작업 시간 업데이트 요청 메시지에 포함된 정보를 메모리(170)에 저장한 시점까지의 시간을 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 receives a first external input of an application to which an ID is assigned, a time point when the mode of the application to which an ID is assigned is updated to a work mode, and the server 150 sends an ID request message. The time from any one of the points of time when the ID generated upon reception is stored in the memory 170 to the point when the server 150 stores the information included in the work time update request message in the memory 170 is the work time. can be determined by

단계 S870에서, 전자 장치(100)는, ID가 부여된 애플리케이션에 대한 작업 시간을 서버(150)로부터 수신할 수 있다.In step S870, the electronic device 100 may receive, from the server 150, the working time for the application to which the ID has been assigned.

일 실시 예에 따른, 단계 S855로부터 단계 S870까지의 단계는 ID가 부여된 애플리케이션의 모드가 작업 모드인 동안 반복될 수 있다.According to an embodiment, steps from step S855 to step S870 may be repeated while the mode of the application to which the ID is assigned is the work mode.

도 9는 일 실시 예에 따른, 전자 장치(100) 또는 서버(150)가 상호 연계하여 유휴 상태(idle state)를 처리하는 방법을 도시한 신호 흐름도이다.9 is a signal flow diagram illustrating a method of processing an idle state in association with each other by the electronic device 100 or the server 150, according to an embodiment.

일 실시 예에 따른 도 9에 도시된 신호 흐름도는 도 8에 도시된 단계 S820으로부터 단계 S870가 수행된 뒤, 전자 장치(100)가 ID가 부여된 애플리케이션이 유휴 상태임을 감지함에 따라 수행하는 프로세스를 설명하기 위한 것이다.The signal flow diagram shown in FIG. 9 according to an embodiment is a process performed when the electronic device 100 detects that an application to which an ID has been assigned is idle after steps S820 to S870 shown in FIG. 8 are performed. It is to explain.

단계 S920에서, 일 실시 예에 따른, 전자 장치(100)는 미리 결정된 최대 허용 유휴 시간(T1)에 기초하여, ID가 부여된 애플리케이션이 유휴 상태라고 결정할 수 있다.In step S920, according to an embodiment, the electronic device 100 may determine that the application to which the ID is assigned is in an idle state based on a predetermined maximum allowable idle time T1.

일 실시 예에 따른, 유휴 상태는 미리 결정된 최대 허용 유휴 시간(T1) 동안, ID가 부여된 작업 모드인 애플리케이션에 대한 외부 입력이 감지되지 않은 상태일 수 있다. According to an embodiment, the idle state may be a state in which an external input to an application in a work mode to which an ID is assigned is not sensed for a predetermined maximum allowable idle time T1.

단계 S925에서, 일 실시 예에 따른, 전자 장치(100)는 미리 결정된 최대 허용 유휴 시간(T1)의 경과를 알리는 메시지를 서버(150)에 송신할 수 있다.In step S925, according to an embodiment, the electronic device 100 may transmit a message informing the server 150 of the lapse of the predetermined maximum allowable idle time T1.

일 실시 예에 따른, 최대 허용 유휴 시간(T1)의 경과를 알리는 메시지는 유휴상태인 애플리케이션의 ID를 포함할 수 있다. 일 실시 예에 따른, 최대 허용 유휴 시간의 경과를 알리는 메시지는 최대 허용 유휴 시가(T1)을 포함할 수 있다.일 실시 예에 따른, 최대 허용 유휴 시간의 경과를 알리는 메시지는 유휴상태인 애플리케이션에 대한 마지막 외부 입력 획득 시점을 나타내는 정보를 포함할 수 있다. 일 실시 예에 따른, 최대 허용 유휴 시간의 경과를 알리는 메시지는 최대 허용 유휴 시간(T1)의 경과를 알리는 메시지를 전자 장치(100)가 서버(150)에 송신한 시점을 나타내는 정보를 포함할 수 있다.According to an embodiment, the message notifying the lapse of the maximum allowable idle time T1 may include an ID of an application in an idle state. According to an embodiment, the message notifying the lapse of the maximum allowable idle time may include the maximum allowable idle time T1. The message notifying the lapse of the maximum allowable idle time according to an embodiment may be sent to an application in an idle state. It may include information indicating the time of the last external input acquisition for According to an embodiment, the message notifying the lapse of the maximum allowable idle time may include information indicating a time when the electronic device 100 transmits a message notifying the lapse of the maximum allowable idle time T1 to the server 150. there is.

단계 S930에서, 일 실시 예에 따른, 서버(150)는 최대 허용 유휴 시간 경과 알림 메시지를 수신함에 따라, ID가 부여된 애플리케이션에 대한 작업 시간을 결정할 수 있다. In step S930, according to an embodiment, the server 150 may determine the working time for the application to which the ID is assigned according to receiving the maximum allowable idle time elapsed notification message.

일 실시 예에 따른, 서버(150)는 ID가 부여된 애플리케이션에 대한 최후의 외부 입력 획득 시점으로부터 최대 허용 유휴 시간(T1)동안 작업이 수행되지 않은 것으로 결정할 수 있다. 일 실시 예에 따른, 서버(150)는 ID가 부여된 애플리케이션에 대한 최초 외부 입력 획득 시점 및 ID가 부여된 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 ID가 부여된 애플리케이션에 대한 마지막 외부 입력 획득 시점까지의 시간을 작업 시간으로 결정할 수 있다. According to an embodiment, the server 150 may determine that the task has not been performed during the maximum allowable idle time T1 from the time of obtaining the last external input for the application to which the ID is assigned. According to an embodiment, the server 150 sends an application to which an ID has been assigned from any one of a time when the first external input is obtained for an application to which an ID is assigned and a time when the mode of the application to which an ID is assigned is updated to a work mode. The time until the last external input acquisition point for the task can be determined as the working time.

단계 S935에서, 일 실시 예에 따른, 서버(150)는 결정된 작업 시간을 전자 장치(100)에 송신할 수 있다.In step S935, according to an embodiment, the server 150 may transmit the determined work time to the electronic device 100.

단계 S940에서, 일 실시 예에 따른, 전자 장치(100)는 서버(150)에 작업 시간 업데이트 요청을 중단할 수 있다.In step S940, according to an embodiment, the electronic device 100 may discontinue the work time update request to the server 150.

유휴 상태가 해소되지 않은 경우(S945), 단계 S945 내지 단계 S950로 진행한다.If the idle state is not resolved (S945), the process proceeds to steps S945 to S950.

단계 S945에서, 전자 장치(100)는 유휴 상태 해소 허용 시간(T2)이 경과하였음을 감지할 수 있다. 유휴 상태 해소 허용 시간(T2)이란, 작업 모드인 애플리케이션에 대한 최후의 외부 입력 시점으로부터 최대 허용 유휴 시간(T1)이 경과한 시점으로부터, ID가 부여된 애플리케이션에 대한 외부 입력을 획득함으로써 유휴 상태를 해소할 수 있는 최대 허용 시간이다.In step S945, the electronic device 100 may detect that the idle state release allowable time T2 has elapsed. The idle state resolution allowable time T2 is the time when the maximum allowable idle time T1 elapses from the time of the last external input to the application in the work mode, by obtaining an external input to the application to which the ID is assigned, thereby resolving the idle state. This is the maximum allowable time to resolve.

단계 S950에서, 전자 장치(100)는, 전자 장치(100)에서 실행되는 ID가 부여된 애플리케이션을 종료시킬 수 있다. 일 실시 예에 따른, 전자 장치(100)는, 전자 장치(100)에서 실행되고 ID가 부여된 애플리케이션과 세션(session)을 공유하는 복수의 애플리케이션을 모두 종료시킬 수 있다.In step S950, the electronic device 100 may terminate an application to which an ID is assigned running on the electronic device 100. According to an embodiment, the electronic device 100 may terminate all of a plurality of applications running on the electronic device 100 and sharing a session with an application to which an ID is assigned.

유휴 상태가 해소된 경우(960), 단계 S965부터 단계 S980로 진행한다.When the idle state is resolved (960), the process proceeds from step S965 to step S980.

단계 S965에서, 전자 장치(100)는, 유휴 상태 해소 허용 시간(T2) 내에 작업 모드인 애플리케이션에 대한 외부 입력을 획득할 수 있다.In step S965, the electronic device 100 may obtain an external input for an application in a work mode within the allowable idle state release time T2.

단계 S970에서, 전자 장치(100)는, 유휴 상태 해소를 알리는 메시지를 서버(150)에 송신할 수 있다. 일 실시 예에 따른, 유휴 상태 해소를 알리는 메시지는 애플리케이션의 ID 및 유휴 상태를 해소하게 한 외부 입력의 획득 시점 또는 전자 장치(100)가 유휴 상태 해소를 알리는 메시지를 서버(150)에 송신한 시점을 나타내는 정보를 포함할 수 있다.In step S970, the electronic device 100 may transmit a message notifying the cancellation of the idle state to the server 150. According to an embodiment, the message notifying the cancellation of the idle state is the time when the ID of the application and the external input causing the cancellation of the idle state are acquired or the time when the electronic device 100 transmits the message notifying the cancellation of the idle state to the server 150 may include information indicating

단계 S975에서, 서버(150)는 유휴 상태 해소를 알리는 메시지를 전자 장치(100)로부터 수신함에 따라, ID가 부여된 애플리케이션에 대한 작업 시간을 결정할 수 있다.In step S975, the server 150 may determine the working time for the application to which the ID has been assigned, as the server 150 receives a message notifying the cancellation of the idle state from the electronic device 100.

일 실시 예에 따른 서버(150)는 ID가 부여된 애플리케이션에 대한 최초의 외부 입력 획득 시점 및 ID가 부여된 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점 중 어느 하나의 시점으로부터 유휴 상태를 해소하게 한 외부 입력 획득 시점까지의 시간을 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 is in an idle state from any one of the time of obtaining the first external input for the application to which the ID has been assigned and the time of updating the mode of the application to which the ID has been assigned from the non-work mode to the work mode. The time until the external input acquisition point that resolves can be determined as the working time.

일 실시 예에 따른 서버(150)는 ID가 부여된 애플리케이션에 대한 최초의 외부 입력 획득 시점 및 ID가 부여된 애플리케이션이 활성화된 시점 중 어느 하나의 시점으로부터 전자 장치(100)가 서버(150)에 유휴 상태 해소를 알리는 메시지를 송신한 시점까지의 시간을 작업 시간으로 결정할 수 있다.According to an embodiment, the server 150 is configured to send the electronic device 100 to the server 150 from any one of the time of obtaining the first external input for the application to which the ID has been assigned and the time of activation of the application to which the ID has been assigned. The time until the point at which the message informing of the cancellation of the idle state is transmitted may be determined as the working time.

단계 S980에서, 서버(150)는 결정된 작업 시간을 전자 장치(100)에 송신할 수 있다.In step S980, the server 150 may transmit the determined working time to the electronic device 100.

도 10은 정상상태에서 유휴 상태로 변함에 따라, 애플리케이션을 디스플레이 하는 영역의 불투명도가 변하는 일 예를 도시한 도면이다.FIG. 10 is a diagram illustrating an example in which opacity of an area displaying an application changes according to a change from a normal state to an idle state.

도 10에서, 일 실시 예에 따른 전자 장치(100)는 애플리케이션을 스크린 상에 디스플레이 할 수 있다. 도 10에서 도시된 바와 같이, 일 실시 예에 따른, 전자 장치(100)의 스크린의 영역은 애플리케이션이 디스플레이 되지 않는 영역(1010-1, 제 1010-2, 및 1010-3)과 애플리케이션이 디스플레이 되는 영역(1020-1, 제 1020-2, 및 1020-3)으로 구별될 수 있다.In FIG. 10 , the electronic device 100 according to an embodiment may display an application on a screen. As shown in FIG. 10 , the areas of the screen of the electronic device 100 according to an embodiment include areas 1010-1, 1010-2, and 1010-3 where applications are not displayed and areas where applications are displayed. Areas 1020-1, 1020-2, and 1020-3 may be distinguished.

일 실시 예에 따른, 정상 상태일 때 애플리케이션이 디스플레이 되지 않는 영역(1010-1)의 불투명도와 비교하여, 유휴 상태일 때 애플리케이션이 디스플레이 되지 않는 영역(1010-2)의 불투명도는 변화가 없을 수 있다. 반면, 정상 상태일 때, 애플리케이션이 디스플레이 되지 않는 영역(1020-1) 불투명도와 비교하여, 유휴 상태인 동안, 애플리케이션이 디스플레이 되는 영역(1020-2)의 불투명도는 증가할 수 있다.According to an embodiment, compared to the opacity of the area 1010-1 on which the application is not displayed in the normal state, the opacity of the area 1010-2 on which the application is not displayed may not change in the idle state. . On the other hand, the opacity of the area 1020-2 where the application is displayed may increase compared to the opacity of the area 1020-1 where the application is not displayed in the normal state.

또한 유휴 상태가 해소되어 정상상태로 되돌아가는 경우, 유휴 상태일 때 애플리케이션이 디스플레이 되지 않는 영역(1010-2)의 불투명도와 비교하여, 애플리케이션이 디스플레이 되지 않는 영역(1010-2)의 불투명도는 변화가 없을 수 있다. 반면, 유휴 상태가 해소되어 정상상태로 되돌아가는 경우, 유휴 상태일 때 애플리케이션이 디스플레이 되지 않는 영역(1020-2)의 불투명도와 비교하여, 애플리케이션이 디스플레이 되는 영역(1020-3)의 불투명도가 감소하여, 정상 상태일 때 애플리케이션이 디스플레이 되는 영역(1020-1)의 불투명도로 되돌아갈 수 있다.In addition, when the idle state is resolved and returns to the normal state, the opacity of the region 1010-2 on which the application is not displayed does not change compared to the opacity of the region 1010-2 on which the application is not displayed during the idle state. there may be no On the other hand, when the idle state is resolved and returns to the normal state, the opacity of the region 1020-3 where the application is displayed is reduced compared to the opacity of the region 1020-2 where the application is not displayed during the idle state. , the opacity of the area 1020-1 where the application is displayed may return to the normal state.

도 10에서 애플리케이션이 디스플레이 되는 영역의 투명도가 불연속적으로 변하는 일 예를 도시하였지만, 불투명도는 시간이 경과함에 따라 연속적으로 변할 수 있다.Although FIG. 10 shows an example in which the transparency of an area where an application is displayed discontinuously changes, the opacity may continuously change over time.

도 11은 일 실시 예에 따른, 유휴 시간에 대한, 애플리케이션이 디스플레이 되는 영역의 불투명도의 관계를 나타내는 그래프를 도시한 도면이다.11 is a graph illustrating a relationship between opacity of an area where an application is displayed with respect to idle time, according to an embodiment.

도 11에서, 그래프의 가로축은 유휴 시간을 의미할 수 있다. 상기 설명한 바와 같이, 유휴 시간은 전자 장치(100)가 애플리케이션에 대한 마지막 외부 입력을 획득한 시점으로부터 경과한 시간을 의미할 수 있다. 그러나 이에 제한되지 아니한다.In FIG. 11 , the horizontal axis of the graph may mean idle time. As described above, the idle time may refer to a time elapsed from the point at which the electronic device 100 obtains the last external input for an application. However, it is not limited thereto.

또한, 그래프의 세로축은 디스플레이부에 애플리케이션이 디스플레이 되는 영역의 불투명도를 의미할 수 있다. 불투명도의 최소 값은 0이고, 최대 값은 1일 수 있다. 예를 들어, 불투명도가 최소인 경우, 애플리케이션이 그대로 디스플레이 될 수 있다. 또한, 예를 들어, 불투명도가 최대인 경우, 애플리케이션이 완전히 디스플레이 되지 않을 수 있다. 그러나 이에 제한되지 아니한다.Also, a vertical axis of the graph may mean opacity of an area where an application is displayed on the display unit. The minimum value of opacity may be 0 and the maximum value may be 1. For example, if the opacity is minimal, the application may be displayed as it is. Also, for example, when the opacity is at maximum, the application may not be completely displayed. However, it is not limited thereto.

일 실시 예에 따른, 불투명도는 유휴 시간에 대한 단조증가함수일 수 있다. 예를 들어, 유휴 시간에 따른 불투명도는 기하급수적으로 증가할 수 있다. 또한, 예를 들어, 유휴 시간에 따른 불투명도는 특정시점에서 최소 값인 0에서 최대 값인 1로 불연속적으로 증가할 수 있다. 그러나 이에 제한되지 아니한다.According to an embodiment, opacity may be a monotonically increasing function with respect to idle time. For example, opacity may increase exponentially with idle time. Also, for example, the opacity according to the idle time may discontinuously increase from a minimum value of 0 to a maximum value of 1 at a specific point in time. However, it is not limited thereto.

또한, 불투명도는 유휴 시간이 시작될 때 최소 값이고, 유휴 시간이 최대 허용 유휴 시간일 때 최대 값일 수 있다. Also, the opacity may have a minimum value when the idle time starts and a maximum value when the idle time is the maximum allowable idle time.

도 12는 일 실시 예에 따른 전자 장치(100)의 구조를 도시한 블록도이다. 전자 장치(100)는 도 1 내지 도 11에서 상술한 바와 같이, 애플리케이션에 대한 작업 시간을 결정할 수 있다. 또한, 도 12에 도시된 전자 장치(100)는 도 1 내지 도 11에서 상술된 작업 시간을 결정하는 모든 실시 예를 구현할 수 있다.12 is a block diagram illustrating a structure of an electronic device 100 according to an exemplary embodiment. As described above with reference to FIGS. 1 to 11 , the electronic device 100 may determine a working time for an application. In addition, the electronic device 100 shown in FIG. 12 may implement all the embodiments of determining the work time described above in FIGS. 1 to 11 .

도 12을 참조하면, 전자 장치(100)는 입력부(1210), 프로세서(1220), 메모리(1230), 송수신부(1250), 및 디스플레이부(1240)를 포함할 수 있다. 일 실시 예에 따른 입력부(1210), 프로세서(1220), 메모리(1230), 송수신부(1250), 및 디스플레이부(1240)는 버스 등을 통하여 전기적으로 연결될 수 있다. 도 12에 도시된 전자 장치(100)에는 본 실시 예와 관련된 구성요소들만이 도시되어 있다. 따라서, 도 12에 도시된 구성요소들 외에 다른 범용적인 구성요소들이 더 포함될 수 있음을 본 실시 예와 관련된 기술분야에서 통상의 지식을 가진 자라면 이해할 수 있을 것이다. Referring to FIG. 12 , the electronic device 100 may include an input unit 1210, a processor 1220, a memory 1230, a transceiver 1250, and a display unit 1240. The input unit 1210, the processor 1220, the memory 1230, the transmission/reception unit 1250, and the display unit 1240 according to an embodiment may be electrically connected through a bus or the like. In the electronic device 100 shown in FIG. 12 , only elements related to the present embodiment are shown. Therefore, those of ordinary skill in the art related to the present embodiment will understand that other general-purpose components may be further included in addition to the components shown in FIG. 12 .

이하 상기 구성요소들에 대해 차례로 살펴본다.Hereinafter, the above components are examined in turn.

일 실시 예에 따른 입력부(1210)는 사용자가 전자 장치(100)를 제어하기 위한 데이터를 입력하는 수단을 의미한다. 입력부(1210)는 키보드, 마우스, 터치 패드(접촉식 정전 용량 방식, 압력식 저항막 방식, 적외선 감지 방식, 표면 초음파 전도 방식, 적분식 장력 측정 방식, 피에조 효과 방식 등), 키(key) 버튼 등, 외부 입력에 기초하여 전자 장치(100)를 조작할 수 있는 각종 입력 장치를 포함할 수 있으나 이에 제한되지 아니한다.The input unit 1210 according to an embodiment means a means through which a user inputs data for controlling the electronic device 100 . The input unit 1210 includes a keyboard, a mouse, a touch pad (contact capacitance method, pressure resistance film method, infrared detection method, surface ultrasonic conduction method, integral tension measurement method, piezo effect method, etc.), key buttons and the like, but is not limited thereto.

또한, 전자 장치(100)는 입력부(1210)를 통하여, 애플리케이션을 실행시키거나 애플리케이션에 대응하는 일정 영역을 클릭하는 입력과 같이 애플리케이션의 모드를 작업 모드 또는 비작업 모드로 갱신하는 외부 입력을 획득할 수 있다.In addition, the electronic device 100 obtains an external input for updating the mode of the application to a work mode or a non-work mode, such as an input of executing an application or clicking a certain area corresponding to the application, through the input unit 1210. can

일 실시 예에 따른, 프로세서(1220)는 CPU, GPU 등, 적어도 하나 이상의 프로세서를 포함할 수 있으나 이제 제한되지 아니한다. According to an embodiment, the processor 1220 may include at least one or more processors such as a CPU or a GPU, but is not limited thereto.

일 실시 예에 따른, 프로세서(1220)는 입력부를 통하여 획득된 전자 장치(100)에서 실행되는 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신할 수 있다. According to an embodiment, the processor 1220 selects a mode of at least one application based on a first external input for at least one application among a plurality of applications executed in the electronic device 100 obtained through an input unit. You can update from non-working mode to working mode.

또한, 프로세서(1220)는, 입력부(1210)를 통하여 제 1 외부 입력이 획득됨에 따라, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션을 결정할 수 있다.Also, as the first external input is obtained through the input unit 1210, the processor 1220 may determine at least one application that is a target of the first external input.

또한, 프로세서(1220)는, 입력부(1210)를 통하여 제 1 외부 입력이 획득됨에 따라, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드를 결정할 수 있다. 적어도 하나의 애플리케이션의 모드는 작업 모드 또는 비작업 모드일 수 있다. 도 12에서, 일 실시 예에 따른, 제 1 외부 입력을 획득한 때에, 프로세서(1220)는 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드를 비작업 모드라고 결정할 수 있다.Also, as the first external input is obtained through the input unit 1210, the processor 1220 may determine a mode of at least one application that is a target of the first external input. The mode of at least one application may be a working mode or a non-working mode. In FIG. 12 , when obtaining the first external input according to an embodiment, the processor 1220 may determine a mode of at least one application that is a target of the first external input as a non-working mode.

또한, 프로세서(1220)는, 입력부(1210)를 통하여 제 1 외부 입력이 획득된 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드를 결정함에 따라, 적어도 하나의 애플리케이션의 모드를 작업 모드로 갱신하거나 적어도 하나의 애플리케이션의 모드를 작업 모드로 유지할 수 있다. 제 1 외부 입력이 획득된 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 비작업 모드라고 결정한 경우, 프로세서(1220)는 적어도 하나의 애플리케이션의 모드를 작업 모드로 갱신할 수 있다.Further, when the first external input is obtained through the input unit 1210, the processor 1220 determines the mode of at least one application that is the target of the first external input, and sets the mode of the at least one application to the work mode. update or keep the mode of at least one application in working mode. When the first external input is acquired, if it is determined that the mode of at least one application that is the target of the first external input is a non-working mode, the processor 1220 may update the mode of the at least one application to a working mode.

또한 프로세서(1220)는, 입력부(1210)를 통하여 제 1 외부 입력이 획득된 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드라고 결정한 경우, 적어도 하나의 애플리케이션의 모드를 작업 모드로 유지할 수 있다.Also, when the processor 1220 determines that the mode of at least one application that is the target of the first external input is the work mode when the first external input is obtained through the input unit 1210, the processor 1220 sets the mode of the at least one application to the work mode. can be maintained as

예를 들어, 프로세서(1220)는, 입력부(1210)를 통하여 제 1 외부 입력이 획득된 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 비작업 모드라고 결정함에 따라, 적어도 하나의 애플리케이션의 모드를 작업 모드로 갱신할 수 있다.For example, when the first external input is obtained through the input unit 1210, the processor 1220 determines that the mode of the at least one application that is the target of the first external input is a non-working mode, and thus the at least one application You can update the mode of to the working mode.

일 실시 예에 따른, 프로세서(1220)는, 입력부를 통하여 획득된 제 1 외부 입력에 기초하여, 복수의 애플리케이션들 중 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외의 다른 애플리케이션의 모드를 작업 모드에서 비작업 모드로 갱신할 수 있다.According to an embodiment, the processor 1220, based on the first external input obtained through the input unit, sets a mode of an application other than at least one application that is a target of the first external input among a plurality of applications in a work mode. It can be updated in non-working mode.

프로세서(1220)는, 제 1 외부 입력이 획득된 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션의 모드가 작업 모드인지 또는 비작업 모드인지 결정할 수 있다. 예를 들어, 프로세서(1220)는, 제 1 외부 입력이 획득한 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션의 모드가 작업 모드라고 결정할 수 있다.When the first external input is obtained, the processor 1220 may determine whether a mode of an application other than at least one application that is a target of the first external input is a working mode or a non-working mode. For example, when the first external input is obtained, the processor 1220 may determine that a mode of an application other than at least one application that is a target of the first external input is a work mode.

또한, 프로세서(1220)는, 입력부를 통하여 제 1 외부 입력이 획득된 때에, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션 이외에 다른 애플리케이션의 모드를 결정함에 따라, 다른 애플리케이션의 모드를 비작업 모드로 갱신하거나 적어도 하나의 애플리케이션의 모드를 비작업 모드로 유지할 수 있다.In addition, when the first external input is obtained through the input unit, the processor 1220 determines the mode of an application other than at least one application that is the target of the first external input, and updates the mode of the other application to a non-working mode. Alternatively, the mode of at least one application may be maintained in a non-working mode.

프로세서(1220)는, 제 1 외부 입력이 획득된 때에, 다른 애플리케이션의 모드를 작업 모드라고 결정한 경우, 다른 애플리케이션의 모드를 비작업 모드로 갱신할 수 있다.When the processor 1220 determines that the mode of the other application is a working mode when the first external input is obtained, the processor 1220 may update the mode of the other application to a non-working mode.

또한, 프로세서(1220)는, 제 1 외부 입력이 획득된 때에, 다른 애플리케이션의 모드가 비작업 모드라고 결정한 경우, 다른 애플리케이션의 모드를 비작업 모드로 유지할 수 있다. 예를 들어, 프로세서(1220)는, 제 1 외부 입력이 획득된 때에, 다른 애플리케이션의 모드가 비작업 모드라고 결정함에 따라, 다른 애플리케이션의 모드를 비작업 모드로 갱신할 수 있다.Also, when the processor 1220 determines that the mode of the other application is the non-working mode when the first external input is obtained, the processor 1220 may maintain the mode of the other application as the non-working mode. For example, when the first external input is obtained, the processor 1220 may update the mode of the other application to the non-working mode according to determining that the mode of the other application is the non-working mode.

프로세서(1220)는, 메모리(1230)에 저장된, 제 1 외부 입력의 획득 시점을 나타내는 정보 및 제 1 외부 입력의 대상인 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나에 기초하여 결정된, 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간을 결정할 수 있다.The processor 1220 determines based on at least one of information indicating the acquisition time of the first external input and information indicating the time when the mode of the application that is the target of the first external input is updated to the work mode, stored in the memory 1230. , a working time for at least one application that is a target of the first external input may be determined.

또한, 프로세서(1220)는, 제 1 외부 입력의 획득 시점으로부터 작업 시간을 결정하는 시점까지의 시간을 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. 또한, 프로세서(1220)는 제 1 외부 입력의 대상인 애플리케이션의 모드가 비작업 모드에서 작업 모드로의 갱신된 시점으로부터 작업 시간을 결정하는 시점까지의 시간을 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.Also, the processor 1220 may determine the time from the acquisition of the first external input to the determination of the working time as the working time for at least one application that is the target of the first external input. In addition, the processor 1220 transmits the time from when the mode of the application, which is the target of the first external input, is updated from the non-working mode to the working mode, to the time when the working time is determined, to at least one application, which is the target of the first external input. It can be determined by the working time for

또한, 프로세서(1220)는 제 1 외부 입력의 획득 시점으로부터 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 다른 외부 입력의 획득 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.In addition, the processor 1220 may determine a time from the acquisition of the first external input to the acquisition of another external input for at least one application that is a target of the first external input as the working time for the at least one application.

또한, 프로세서(1220)는 제 1 외부 입력의 대상인 애플리케이션의 모드가 작업 모드로의 갱신된 시점으로부터 적어도 하나의 애플리케이션에 대한 다른 외부 입력의 획득 시점까지의 시간을 적어도 하나의 애플리케이션에 대한 작업 시간으로 결정할 수 있다. 일 실시 예에 따른 프로세서(1220)는 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션에 대한 작업 시간과 이전 작업 시간을 합한 시간을 전자 장치(100)에서 실행된 복수의 애플리케이션에 대한 작업 시간으로 결정할 수 있다.In addition, the processor 1220 defines the time from when the mode of the application that is the target of the first external input is updated to the working mode to the time when another external input for the at least one application is acquired as the working time for the at least one application. can decide According to an embodiment, the processor 1220 may determine, as the working time for a plurality of applications executed in the electronic device 100, the sum of the working time for at least one application that is the target of the first external input and the previous working time. there is.

일 실시예에 따른, 메모리(1230)는 제 1 외부 입력의 획득 시점을 나타내는 정보 및 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 저장할 수 있다. 예를 들어, 메모리(1230)는 제 1 외부 입력 획득 시점을 나타내는 타임 스탬프(time stamp) 및 제 1 외부 입력의 대상인 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점을 나타내는 타임 스탬프(time stamp) 중 적어도 하나를 저장할 수 있다.According to an embodiment, the memory 1230 stores at least one of information representing a time point when the first external input is acquired and information indicating a time point when a mode of at least one application that is a target of the first external input is updated to a work mode. can be saved For example, the memory 1230 may include a time stamp indicating when a first external input was acquired and a time stamp indicating when a mode of at least one application that is a target of the first external input was updated to a working mode. ) can store at least one of them.

상기 설명한 바와 같이, 타임 스탬프(time stamp)는 어느 시점에 데이터가 존재했다는 사실을 증명하기 위하여 특정 위치에 표시되는 시각 정보를 포함할 수 있다.As described above, the time stamp may include time information displayed at a specific location in order to prove that data exists at a certain point in time.

여기서, 메모리(1230)는 하드 디스크 드라이브(HDD: Hard Disk Drive)나 플래시 메모리 등 디지털 데이터를 저장하는 비 휘발성 저장매체를 포함할 수 있다.Here, the memory 1230 may include a non-volatile storage medium for storing digital data, such as a hard disk drive (HDD) or flash memory.

일 실시 예에 따른 디스플레이부(1240)는 LCD, LED 모듈 등 화면을 시각적으로 디스플레이 하기 위한 수단을 포함할 수 있다. 디스플레이부(1240)는, 적어도 하나의 애플리케이션에 대한 작업 시간을 디스플레이 할 수 있다. 일 실시 예에 따른, 디스플레이부(1240)는, 복수의 애플리케이션에 대한 작업 시간을 디스플레이 할 수 있다. The display unit 1240 according to an embodiment may include a means for visually displaying a screen such as an LCD or LED module. The display unit 1240 may display a working time for at least one application. According to an embodiment, the display unit 1240 may display work times for a plurality of applications.

일 실시 예에 따른 송수신부(1250)는 네트워크 인터페이스 카드(NIC: Network Interface Card)나 모뎀 등을 포함할 수 있다. 일 실시 예에 따른, 전자 장치(100)는 송수신부(1250)를 통하여 외부 전자 장치(100) 또는 서버(150)와 소정의 데이터를 송수신할 수 있다.The transceiver 1250 according to an embodiment may include a Network Interface Card (NIC) or a modem. According to an embodiment, the electronic device 100 may transmit/receive predetermined data with the external electronic device 100 or the server 150 through the transceiver 1250 .

본원에서, 용어 "프로세서" 는 범용 프로세서, 중앙 처리 장치 (CPU), 마이크로프로세서, 디지털 신호 프로세서 (DSP), 제어기, 마이크로제어기, 상태 머신, 및 등을 포함하도록 넓게 해석되어야 한다. 몇몇 환경에서는, "프로세서" 는 주문형 반도체 (ASIC), 프로그램가능 로직 디바이스 (PLD), 필드 프로그램가능 게이트 어레이 (FPGA), 등을 지칭할 수도 있다. 용어 "프로세서" 는, 예를 들어, DSP 와 마이크로프로세서의 조합, 복수의 마이크로프로세서들의 조합, DSP 코어와 결합한 하나 이상의 마이크로프로세서들의 조합, 또는 임의의 다른 그러한 구성들의 조합과 같은 처리 디바이스들의 조합을 지칭할 수도 있다.As used herein, the term "processor" should be interpreted broadly to include general purpose processors, central processing units (CPUs), microprocessors, digital signal processors (DSPs), controllers, microcontrollers, state machines, and the like. In some circumstances, “processor” may refer to an application specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), or the like. The term "processor" refers to a combination of processing devices, such as, for example, a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors in conjunction with a DSP core, or any other such configuration. may also refer to

본원에 설명된 기능들은 하드웨어, 소프트웨어, 펌웨어 또는 그들의 임의의 조합으로 구현될 수도 있다. 소프트웨어로 구현된다면, 기능들은 컴퓨터-판독가능 매체 상에 하나 이상의 명령들로 저장될 수도 있다. 용어 "컴퓨터-판독가능 매체" 또는 "컴퓨터-프로그램 제품" 은 컴퓨터에 의하여 액세스될 수 있는 임의의 이용가능한 매체를 지칭한다. 제한이 아닌, 예의 방법으로써, 컴퓨터-판독가능 매체는 RAM, ROM, EEPROM, CD-ROM 또는 다른 광학 디스크 저장장치, 자기 디스크 저장장치 또는 다른 자기 저장 디바이스들, 또는 명령들 또는 데이터 구조들의 형태로 원하는 프로그램 코드를 저장하거나 유지할 수 있고 컴퓨터에 의하여 액세스될 수 있는 임의의 다른 매체를 포함할 수도 있다. 디스크 (Disk) 및 디스크 (Disc) 는, 본원에 사용된 대로, 디스크 (disc) 가 레이저로 데이터를 광학적으로 재생하는 반면, 디스크 (disk) 는 보통 데이터를 자기적으로 재생하며 콤팩트 디스크 (CD), 레이저 디스크, 광학 디스크, 디지털 다용도 디스크 (DVD), 플로피 디스크 및 블루레이 (Blu-ray ®) 디스크를 포함한다.The functions described herein may be implemented in hardware, software, firmware or any combination thereof. If implemented in software, the functions may be stored as one or more instructions on a computer-readable medium. The term "computer-readable medium" or "computer-program product" refers to any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may be in the form of RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or instructions or data structures. It may also include any other medium that can store or hold desired program code and that can be accessed by a computer. Disk and Disc, as used herein, is a disc that reproduces data optically with a laser, whereas a disc usually reproduces data magnetically and is referred to as a compact disc (CD). , including laser discs, optical discs, digital versatile discs (DVD), floppy discs and Blu-ray ® discs.

소프트웨어 또는 명령들은 송신 매체 상에서 또한 송신될 수도 있다. 예를 들어, 소프트웨어가 동축 케이블, 광 섬유 케이블, 트위스티드 페어 (twisted pair), 디지털 가입자 회선 (DSL), 또는 적외선, 라디오, 및 마이크로파 (microwave) 와 같은 무선 기술들을 이용하여 웹사이트, 서버 또는 다른 원격 소스로부터 송신된다면, 동축 케이블, 광 섬유 케이블, 트위스티드 페어, DSL, 또는 적외선, 라디오, 및 마이크로파와 같은 무선 기술들은 송신 매체의 정의에 포함된다.Software or instructions may also be transmitted over a transmission medium. For example, the software may use coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave to connect to a website, server, or other If transmitted from a remote source, coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of transmission medium.

Claims (20)

전자 장치에서 실행되는 복수의 애플리케이션들의 관리 방법에 있어서,
상기 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 상기 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신하는 단계;
상기 제 1 외부 입력의 획득 시점을 나타내는 정보 및 상기 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보를 포함하는 메시지를 서버에 송신하는 단계;
상기 메시지에 포함된 상기 적어도 하나의 정보에 기초하여 결정된 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 상기 서버로부터 수신하는 단계;
상기 서버로부터 수신된 작업 시간 및 상기 적어도 하나의 애플리케이션의 이전 작업 시간의 합계를 상기 복수의 애플리케이션에 대한 작업 시간으로 결정하는 단계; 및
상기 결정된 작업 시간을 표시하는 단계를 포함하고,
상기 작업 모드로 갱신하는 단계는, 상기 복수의 애플리케이션들 각각에 할당되고, 상기 서버에 메시지 송신을 트리거하는 적어도 하나의 카운터 중 상기 적어도 하나의 애플리케이션 각각에 할당된 카운터를 활성화 하는 단계;를 포함하고,
상기 메시지를 서버에 송신하는 단계는, 상기 적어도 하나의 카운터가 활성화됨에 따라, 상기 메시지를 서버에 송신하는 관리 방법.
A method for managing a plurality of applications running on an electronic device,
updating a mode of the at least one application from a non-working mode to a working mode based on a first external input of the at least one application among the plurality of applications;
transmitting to a server a message including at least one of information indicating when the first external input was acquired and information indicating when the mode of the at least one application was updated from a non-working mode to a working mode;
receiving, from the server, an operating time for the at least one application determined based on the at least one piece of information included in the message;
determining the sum of the working time received from the server and the previous working time of the at least one application as the working time for the plurality of applications; and
Including the step of displaying the determined working time,
The updating to the work mode may include activating a counter assigned to each of the at least one application among at least one counter assigned to each of the plurality of applications and triggering message transmission to the server; ,
The transmitting of the message to the server may include transmitting the message to the server when the at least one counter is activated.
삭제delete 삭제delete 제 1 항에 있어서,
상기 작업 시간을 표시하는 단계는,
상기 제 1 외부 입력의 획득 시점 및 상기 적어도 하나의 애플리케이션의 모드가 작업 모드로 갱신된 시점 중 적어도 하나의 시점으로부터 상기 작업 시간을 결정하는 시점까지의 시간으로 결정된 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 표시하는 단계를 포함하는 관리 방법.
According to claim 1,
In the step of displaying the working time,
a working time for the at least one application determined as a time from at least one of a time of obtaining the first external input and a time of updating the mode of the at least one application to a time of determining the working time; A management method comprising the step of displaying.
제 1 항에 있어서,
상기 작업 시간을 표시하는 단계는,
상기 작업 모드로 갱신된 적어도 하나의 애플리케이션에 대한 제 2 외부 입력을 획득하는 경우, 상기 제 1 외부 입력의 획득 시점으로부터 상기 제 2 외부 입력의 획득 시점까지의 시간으로 결정된 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 표시하는 단계를 포함하는 관리 방법.
According to claim 1,
In the step of displaying the working time,
When the second external input for the at least one application updated to the work mode is obtained, the time from the acquisition time of the first external input to the acquisition time of the second external input is determined for the at least one application. A management method that includes the step of displaying working hours.
제 1 항에 있어서,
상기 작업 시간을 표시하는 단계는,
상기 제 1 외부 입력의 획득 시점으로부터 기 설정된 시간 내에, 상기 제 1 외부 입력 외에 다른 외부 입력이 획득되지 않는 경우, 상기 제 1 외부 입력 시점으로부터 상기 작업 시간을 결정하는 시점까지의 시간으로부터 상기 기 설정된 시간을 제외하여 결정된 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 표시하는 단계를 포함하는 관리 방법.
According to claim 1,
In the step of displaying the working time,
When an external input other than the first external input is not obtained within a predetermined time from the time of obtaining the first external input, the time from the time of the first external input to the time of determining the work time and displaying working hours for the at least one application determined excluding hours.
제 1 전자 장치 및 제 2 전자 장치에서 실행되는 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 외부 입력의 획득 시점을 나타내는 정보를 포함하는 시점 정보를 획득하는 단계;
상기 시점 정보에 기초하여, 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 결정하는 단계; 및
상기 결정된 작업 시간을 나타내는 정보를 포함하는 메시지를 상기 제 1 전자 장치 및 상기 제 2 전자 장치 중 적어도 하나에 송신하는 단계;를 포함하고,
상기 시점 정보는, 상기 외부 입력에 기초하여 상기 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 정보를 포함하고,
상기 작업 시간을 결정하는 단계는, 상기 외부 입력의 획득 시점을 나타내는 정보 및 상기 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나의 정보에 기초하여 상기 작업 시간을 결정하는 단계를 포함하고,
상기 작업 시간을 결정하는 단계는,
상기 제 1 전자 장치에서 실행되는 상기 적어도 하나의 애플리케이션에 대한 작업 시간인 제 1 작업 시간을 획득하는 단계;
상기 제 2 전자 장치에서 실행되는 상기 적어도 하나의 애플리케이션에 대한 작업 시간인 제 2 작업 시간을 획득하는 단계; 및
상기 제 1 작업 시간과 상기 제 2 작업 시간의 합에서 상기 제 1 작업 시간 및 상기 제 2 작업 시간 간에 중첩되는 시간을 제외한 시간을 상기 작업 시간으로 결정하는 단계;를 포함하는 전자 장치에서 실행되는 복수의 애플리케이션들의 관리 방법.
obtaining viewpoint information including information indicating an acquisition timing of an external input for at least one application among a plurality of applications executed in the first electronic device and the second electronic device;
determining a working time for the at least one application based on the timing information; and
Transmitting a message including information indicating the determined working time to at least one of the first electronic device and the second electronic device; includes,
The timing information includes information indicating a timing when the mode of the at least one application is updated from a non-working mode to a working mode based on the external input;
The determining of the working time may include performing the task based on at least one of information indicating a time point at which the external input was acquired and information indicating a time point when a mode of the at least one application was updated from a non-working mode to a working mode. Including the step of determining the time,
The step of determining the working time is,
obtaining a first working time that is a working time for the at least one application executed in the first electronic device;
obtaining a second working time that is a working time for the at least one application executed in the second electronic device; and
determining, as the working time, a time obtained by excluding the overlapping time between the first working time and the second working time from the sum of the first working time and the second working time; How to manage applications of.
삭제delete 삭제delete 제 7 항에 있어서,
상기 시점 정보를 획득하는 단계는,
상기 적어도 하나의 애플리케이션 중 상기 제 1 전자 장치에서 실행되는 애플리케이션에 대한 제 1 외부 입력의 획득 시점을 나타내는 제 1 시점에 대한 정보를 획득하는 단계; 및
상기 적어도 하나의 애플리케이션 중 상기 제 2 전자 장치에서 실행되는 애플리케이션에 대한 제 2 외부 입력의 획득 시점을 나타내는 제 2 시점에 대한 정보를 획득하는 단계;를 포함하는 관리 방법.
According to claim 7,
The step of obtaining the viewpoint information,
obtaining information about a first point in time representing a point in time of obtaining a first external input for an application executed in the first electronic device among the at least one application; and
and acquiring information about a second point in time indicating a point in time of acquiring a second external input for an application executed in the second electronic device from among the at least one application.
제 10 항에 있어서,
상기 시점 정보를 획득하는 단계는,
상기 적어도 하나의 애플리케이션 중 상기 제 1 전자 장치에서 실행되는 애플리케이션에 대한 상기 제 1 외부 입력 이외에 다른 외부 입력의 획득하는 시점을 나타내는 제 3 시점에 대한 정보를 획득하는 단계; 및
상기 적어도 하나의 애플리케이션 중 상기 제 2 전자 장치에서 실행되는 애플리케이션에 대한 상기 제 2 외부 입력 이외에 다른 외부 입력의 획득 시점을 나타내는 제 4 시점에 대한 정보를 획득하는 단계;를 더 포함하고,
상기 작업 시간을 결정하는 단계는, 상기 제 1 시점에 대한 정보 내지 상기 제 4 시점에 대한 정보에 기초하여 작업 시간을 결정하는 단계를 포함하는 관리 방법.
According to claim 10,
The step of obtaining the viewpoint information,
obtaining information about a third point in time representing a point in time at which an external input other than the first external input for an application executed in the first electronic device among the at least one application is obtained; and
Acquiring information on a fourth point in time representing a point in time of acquiring an external input other than the second external input for an application running on the second electronic device among the at least one application;
The determining of the working time may include determining the working time based on information about the first to fourth time points.
제 11 항에 있어서,
상기 작업 시간을 결정하는 단계는,
상기 제 1 시점이 상기 제 2 시점보다 앞서고, 상기 제 2 시점이 상기 제 3 시점보다 앞서는 경우, 상기 제 1 시점으로부터 상기 제 4 시점까지의 시간을 상기 작업 시간으로 결정하는 단계를 포함하는 관리 방법.
According to claim 11,
The step of determining the working time is,
and determining a time from the first point in time to the fourth point in time as the working time when the first point in time is ahead of the second point in time and the second point in time is ahead of the third point in time. .
제 11 항에 있어서,
상기 작업 시간을 결정하는 단계는,
상기 제 3 시점이 상기 제 2 시점보다 앞서는 경우, 상기 제 1 외부 입력의 획득 시점으로부터 상기 제 3 시점까지의 시간과 상기 제 2 시점으로부터 상기 제 4 시점까지의 시간의 합을 상기 작업 시간으로 결정하는 단계를 포함하는 관리 방법
According to claim 11,
The step of determining the working time is,
When the third point in time is earlier than the second point in time, the sum of the time from the acquisition of the first external input to the third point in time and the time from the second point in time to the fourth point in time is determined as the working time. A management method comprising the steps of
제 11 항에 있어서,
상기 작업 시간을 결정하는 단계는, 상기 제 1 시점이 상기 제 2 시점보다 앞서고, 상기 제 4 시점이 상기 제 3 시점보다 앞서는 경우, 상기 제 1 시점으로부터 상기 제 3 시점까지의 시간을 상기 작업 시간으로 결정하는 단계를 포함하는 관리 방법.
According to claim 11,
In the step of determining the working time, when the first time point is ahead of the second time point and the fourth time point is ahead of the third time point, the time from the first time point to the third time point is the working time A management method comprising the step of determining as.
제 7항에 있어서,
상기 시점 정보를 획득하는 단계는,
상기 제 1 전자 장치 및 상기 제 2 전자 장치 각각으로부터 상기 시점 정보를 포함하는 하트비트 메시지를 수신하는 단계를 포함하는 관리 방법.
According to claim 7,
The step of obtaining the viewpoint information,
and receiving a heartbeat message including the timing information from each of the first electronic device and the second electronic device.
복수의 애플리케이션들을 실행하는 전자 장치에 있어서,
상기 복수의 애플리케이션들 중 적어도 하나의 애플리케이션에 대한 제 1 외부 입력에 기초하여, 상기 적어도 하나의 애플리케이션의 모드를 비작업 모드에서 작업 모드로 갱신하고,
상기 제 1 외부 입력의 획득 시점을 나타내는 정보 및 상기 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점을 나타내는 정보 중 적어도 하나를 포함하는 메시지를 서버에 송신하고,
상기 메시지에 포함된 정보에 기초하여 결정된 상기 적어도 하나의 애플리케이션에 대한 작업 시간을 상기 서버로부터 수신하고,
상기 서버로부터 수신된 작업 시간 및 상기 적어도 하나의 애플리케이션의 이전 작업 시간의 합계를 상기 복수의 애플리케이션에 대한 작업 시간으로 결정하고,
상기 복수의 애플리케이션들 각각에 할당되고, 상기 서버에 메시지 송신을 트리거하는 적어도 하나의 카운터 중 상기 적어도 하나의 애플리케이션 각각에 할당된 카운터를 활성화 하여 상기 적어도 하나의 애플리케이션의 모드를 작업 모드로 갱신하고,
상기 적어도 하나의 카운터가 활성화됨에 따라, 상기 메시지를 서버에 송신하는 적어도 하나의 프로세서; 및
상기 결정된 작업 시간을 표시하는 디스플레이부;를 포함하는 전자 장치.
In an electronic device running a plurality of applications,
Based on a first external input for at least one application among the plurality of applications, updating the mode of the at least one application from a non-working mode to a working mode;
Transmitting a message including at least one of information indicating when the first external input was acquired and information indicating when the mode of the at least one application was updated from a non-working mode to a working mode, to a server;
receiving, from the server, an operating time for the at least one application determined based on information included in the message;
determining the sum of the working time received from the server and the previous working time of the at least one application as the working time for the plurality of applications;
updating a mode of the at least one application to a work mode by activating a counter allocated to each of the at least one application among at least one counter allocated to each of the plurality of applications and triggering message transmission to the server;
at least one processor transmitting the message to a server when the at least one counter is activated; and
Electronic device comprising a; display unit for displaying the determined work time.
삭제delete 삭제delete 제 16 항에 있어서,
상기 디스플레이부는 상기 제 1 외부 입력의 획득 시점 및 상기 적어도 하나의 애플리케이션의 모드가 비작업 모드에서 작업 모드로 갱신된 시점 중 적어도 하나의 시점으로부터 상기 작업 시간을 결정하는 시점까지의 시간으로 결정된 상기 작업 시간을 표시하는 전자 장치.
17. The method of claim 16,
The task determined by the display unit as a time from at least one of the time of acquiring the first external input and the time of updating the mode of the at least one application from the non-work mode to the work mode to the time of determining the work time An electronic device that displays the time.
제 1 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
A computer-readable recording medium recording a program for executing the method of claim 1 on a computer.
KR1020160117367A 2015-09-23 2016-09-12 Apparatus and method for managing an application Active KR102532298B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/273,204 US10397366B2 (en) 2015-09-23 2016-09-22 Method and apparatus for managing application

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201562222409P 2015-09-23 2015-09-23
US62/222,409 2015-09-23

Publications (2)

Publication Number Publication Date
KR20170035799A KR20170035799A (en) 2017-03-31
KR102532298B1 true KR102532298B1 (en) 2023-05-12

Family

ID=58501113

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160117367A Active KR102532298B1 (en) 2015-09-23 2016-09-12 Apparatus and method for managing an application

Country Status (1)

Country Link
KR (1) KR102532298B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101960061B1 (en) * 2012-05-21 2019-03-19 삼성전자주식회사 The method and apparatus for converting and displaying between executing screens of a plurality of applications being executed on a device
KR20140050198A (en) * 2012-10-18 2014-04-29 네이버 주식회사 System, apparatus, method and computer readable recording medium for providing an application for an mobile terminal by a usage based
KR101584218B1 (en) * 2013-10-17 2016-01-12 주식회사 씽크풀 Method for application control and control system thereof
KR102148948B1 (en) * 2013-12-06 2020-08-27 삼성전자주식회사 Multi tasking method of electronic apparatus and electronic apparatus thereof

Also Published As

Publication number Publication date
KR20170035799A (en) 2017-03-31

Similar Documents

Publication Publication Date Title
US10482411B2 (en) Dashboard for dynamic display of distributed transaction data
US9514162B2 (en) Smart polling frequency
JP5803910B2 (en) Region recommendation device, region recommendation method and program
EP3651007B1 (en) Method, apparatus, and device for enabling task management interface
JP2007226805A5 (en)
US20170004013A1 (en) Method and device for managing application
JP2016508268A (en) Personal real-time recommendation system
CN107222331B (en) method and device for monitoring performance of distributed application system, storage medium and equipment
JP5385459B2 (en) Management system and computer system management method
EP3222010A1 (en) Relevant communication mode selection
JP2015114970A (en) Information processor and information processing method
US10380867B2 (en) Alert management within a network based virtual collaborative space
CN111310044B (en) Method, device, equipment and storage medium for extracting page element information
US20160098753A1 (en) Monitoring an application on a processing device and generating rewards
JP5223372B2 (en) Information collection device
JP2017058710A (en) Storage control apparatus, storage control program, and storage control method
KR102532298B1 (en) Apparatus and method for managing an application
JP2012128547A (en) Information processor, information processing method, and program
CN108563744B (en) Slow query method, device and terminal device based on Redis database
JP7337017B2 (en) Return value setting system and return value setting method
US10848577B2 (en) Computing environment modification based on an impact curve
WO2014079231A1 (en) Method and device for multimedia resource management and player
CN107103707B (en) Information interaction method and device for self-service washing equipment
JP6127489B2 (en) Processing request device, control program for processing request device
CN109450874B (en) User account monitoring method and device

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20160912

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20210913

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20160912

Comment text: Patent Application

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20230215

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20230509

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20230510

End annual number: 3

Start annual number: 1

PG1601 Publication of registration