JP6356857B1 - Log recording apparatus, log recording method, and log recording program - Google Patents
Log recording apparatus, log recording method, and log recording program Download PDFInfo
- Publication number
- JP6356857B1 JP6356857B1 JP2017067425A JP2017067425A JP6356857B1 JP 6356857 B1 JP6356857 B1 JP 6356857B1 JP 2017067425 A JP2017067425 A JP 2017067425A JP 2017067425 A JP2017067425 A JP 2017067425A JP 6356857 B1 JP6356857 B1 JP 6356857B1
- Authority
- JP
- Japan
- Prior art keywords
- log
- application
- foreground
- time
- display device
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 29
- 230000004913 activation Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
【課題】より正確にユーザのアプリケーションの利用時間を取得するログ記録装置、方法及びプログラムを提供する。【解決手段】表示装置2に接続され、アプリケーションをインストールして実行可能な情報端末1の備えるログ取得部12が、フォアグラウンドで実行されているアプリケーションの情報を取得し、HDMI(登録商標)信号を監視して表示装置2に情報端末1の画面が表示されているか否か検出し、アプリケーションがフォアグラウンドで実行されている時間から、表示装置2に情報端末1の画面が表示されていない時間を除いた時間をアプリケーションの利用時間として記録する。【選択図】図1A log recording apparatus, method, and program for more accurately acquiring the usage time of a user's application are provided. A log acquisition unit provided in an information terminal connected to a display device and capable of installing and executing an application acquires information on the application being executed in the foreground and outputs an HDMI (registered trademark) signal. It monitors and detects whether the screen of the information terminal 1 is displayed on the display device 2, and excludes the time when the screen of the information terminal 1 is not displayed on the display device 2 from the time when the application is executed in the foreground. Record the time spent as application usage. [Selection] Figure 1
Description
本発明は、アプリケーションのログを取得・記録する技術に関する。 The present invention relates to a technique for acquiring and recording an application log.
スマートフォン、タブレット端末、及びセットトップボックスなどの情報端末では、ユーザはアプリケーションストアからアプリケーションをダウンロードして利用することができる。アプリケーションストアを運営する事業者にとっては、ユーザに人気のアプリケーションを把握することが重要である。 In information terminals such as smartphones, tablet terminals, and set top boxes, the user can download and use applications from an application store. It is important for a company that operates an application store to grasp popular applications among users.
ユーザの人気指標としてダウンロード数やユーザによる評価を用いることが一般的であるが、ダウンロード数やユーザによる評価は不正操作が簡単に実行できてしまう。そこで、特許文献1では、アプリケーションの起動及び終了に基づく利用実績から人気指標を求めている。 Although it is common to use the number of downloads and user evaluation as a user's popularity index, the number of downloads and evaluation by the user can easily perform unauthorized operations. Therefore, in Patent Document 1, the popularity index is obtained from the usage record based on the activation and termination of the application.
ユーザの利用時間を正確に算出するために、OS(オペレーティングシステム)が備える実行中のプロセスのログを出力する機能を用いてログを出力し、そのログを解析する方法が考えられる。しかしながら、実行中の全てのプロセスに関する情報をログとして記録すると、ログデータが莫大になり、端末負荷が高くなるという問題があった。 In order to accurately calculate the usage time of the user, a method of outputting a log by using a function of outputting a log of a running process provided in the OS (operating system) and analyzing the log can be considered. However, if information about all processes being executed is recorded as a log, there is a problem that the log data becomes enormous and the terminal load increases.
特許文献1は、アプリケーションの利用実績として、アプリケーションの起動から終了までの実行時間を収集している。アプリケーションはバックグラウンドで実行されることがあり、アプリケーションの実行時間とユーザの利用時間が必ずしも一致するものではない。特許文献1のアプリケーションの利用実績は、ユーザの利用時間を正確に表すものではないという問題があった。 Patent Document 1 collects the execution time from the start to the end of the application as the application usage record. The application may be executed in the background, and the execution time of the application does not necessarily match the user's usage time. There has been a problem that the usage record of the application of Patent Document 1 does not accurately represent the usage time of the user.
特許文献2には、アクティブなアプリケーションの識別情報をログに記録することで、情報処理装置にインストールされているアプリケーションを検出することが記載されている。特許文献2には、識別情報をログに記録する際に時刻情報も記録することが記載されているが、アクティブなアプリケーションを終了したことを示すログは記録しておらず、アプリケーションの利用時間を正確に求めることはできないという問題かあった。
また、テレビなどの外部の表示装置に接続する情報端末では、情報端末の電源をオフせずにテレビの電源のみをオフする場合や、テレビが情報端末からの映像を表示せずに他のソース(例えば、地デジ放送や他の映像機器)からの映像を表示する場合がある。この場合、情報端末で検出したアクティブなアプリケーションは実際にはユーザが利用しておらず、ユーザの利用時間を正確に示すものではないという問題があった。 For information terminals connected to an external display device such as a TV, when the power of the information terminal is not turned off, only the TV is turned off, or the TV does not display video from the information terminal and other sources. There are cases where video from (for example, terrestrial digital broadcasting or other video equipment) is displayed. In this case, there is a problem in that the active application detected by the information terminal is not actually used by the user and does not accurately indicate the usage time of the user.
本発明は、上記に鑑みてなされたものであり、より正確にユーザのアプリケーションの利用時間を取得することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to more accurately acquire the usage time of a user's application.
第1の本発明に係るログ記録装置は、自装置の表示状態を示す出力情報を自装置に接続された機器に対して送信する表示装置に接続され、アプリケーションをインストールして実行可能な情報端末が備えるログ記録装置であって、フォアグラウンドで実行されているアプリケーションの情報を取得するフォアグラウンドアプリ取得手段と、前記出力情報に基づいて前記表示装置に当該情報端末の画面が表示されているか否かを検出する表示状態取得手段と、アプリケーションがフォアグラウンドで実行されている時間から前記表示装置に当該情報端末の画面が表示されていない時間を除いた時間を前記アプリケーションの利用時間としてログに記録するログ記録手段と、前記ログを保持するログ保持手段と、を有することを特徴とする。 A log recording apparatus according to a first aspect of the present invention is an information terminal that is connected to a display device that transmits output information indicating a display state of the own device to a device connected to the own device, and is capable of installing and executing an application A foreground application acquisition means for acquiring information of an application being executed in the foreground, and whether or not the screen of the information terminal is displayed on the display device based on the output information. Display status acquisition means for detecting, and log recording for recording in the log a time obtained by excluding a time when the screen of the information terminal is not displayed on the display device from a time when the application is executed in the foreground And log holding means for holding the log.
第2の本発明に係るログ記録方法は、自装置の表示状態を示す出力情報を自装置に接続された機器に対して送信する表示装置に接続され、アプリケーションをインストールして実行可能な情報端末によって実行されるログ記録方法であって、フォアグラウンドで実行されているアプリケーションの情報を取得するステップと、前記出力情報に基づいて前記表示装置に当該情報端末の画面が表示されているか否かを検出するステップと、アプリケーションがフォアグラウンドで実行されている時間から前記表示装置に当該情報端末の画面が表示されていない時間を除いた時間を前記アプリケーションの利用時間としてログ保持手段のログに記録するステップと、を有することを特徴とする。 The log recording method according to the second aspect of the present invention is an information terminal that is connected to a display device that transmits output information indicating a display state of the device itself to a device connected to the device, and can be executed by installing an application. A step of acquiring information on an application running in the foreground, and detecting whether the screen of the information terminal is displayed on the display device based on the output information Recording the time when the application is executed in the foreground, excluding the time when the screen of the information terminal is not displayed on the display device, as the usage time of the application, It is characterized by having.
第3の本発明に係るログ記録プログラムは上記情報端末の各手段としてコンピュータを動作させることを特徴とする。 A log recording program according to a third aspect of the present invention is characterized in that a computer is operated as each means of the information terminal.
本発明によれば、より正確にユーザのアプリケーションの利用時間を取得することができる。 ADVANTAGE OF THE INVENTION According to this invention, the utilization time of a user's application can be acquired more correctly.
以下、本発明の実施の形態について図面を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本実施の形態における情報端末の構成を示す機能ブロック図である。図1の情報端末1はテレビなどの表示装置2に接続されるセットトップボックスであり、HDMIケーブルにより表示装置2に接続されている。
FIG. 1 is a functional block diagram showing the configuration of the information terminal in the present embodiment. An information terminal 1 in FIG. 1 is a set-top box connected to a
図1に示す情報端末1は、オペレーティングシステム11、オペレーティングシステム11上で動作するログ取得部12、HDMIインタフェース14(表示状態取得手段)、及びネットワークインタフェース15を備える。情報端末1には、オペレーティングシステム11上で動作する複数のアプリ13A,13B,13Cがインストールされて、ユーザはアプリ13A,13B,13Cを利用する。情報端末1が備える各部は、演算処理装置、記憶装置等を備えたコンピュータにより構成して、各部の処理がプログラムによって実行されるものとしてもよい。このプログラムは情報端末1が備える記憶装置に記憶されており、磁気ディスク、光ディスク、半導体メモリ等の記録媒体に記録することも、ネットワークを通して提供することも可能である。
The information terminal 1 shown in FIG. 1 includes an
オペレーティングシステム11は、プロセス管理部111(フォアグラウンドアプリ取得手段)とアプリケーション処理部112を備える。プロセス管理部111は、オペレーティングシステム11が実行するプロセスを管理し、ログ取得部12の問い合わせに応じてフォアグラウンドで実行中のアプリケーション(以下、「フォアグラウンドアプリ」と称する)の情報を返信する。フォアグラウンドアプリは、ユーザの操作対象となるアプリケーションであり、多くの場合、情報端末1の表示部に最前面で表示される。アプリケーション処理部112は、情報端末1にインストールされたアプリ13A,13B,13C及びログ取得部12を動作させる。
The
ログ取得部12は、ログデータ記録部121(ログ記録手段)、ログデータ保持部122(ログ保持手段)、及びログデータ送信部123を備える。ログ取得部12は、他のアプリ13A,13B,13Cと同様にオペレーティングシステム11上で動作する。あるいは、オペレーティングシステム11にログ取得部12の機能を備えてもよい。
The
ログデータ記録部121は、所定の間隔で、現在のフォアグラウンドアプリの情報をプロセス管理部111に問い合わせて、タイムスタンプとフォアグラウンドアプリの情報をログデータ保持部122に記録する。
The log
また、ログデータ記録部121は、HDMIインタフェース14を監視し、表示装置2の表示が切り替わったときに、タイムスタンプ、フォアグラウンドアプリの情報及びHDMI信号の情記録部報をログデータ保持部122に記録する。ログデータ記録部121は、アプリケーションがフォアグラウンドで実行されている時間から表示装置2に情報端末1の画面が表示されていない時間を除いた時間をアプリケーションの利用時間とするように、表示装置2の表示状態の変化に応じてログを記録する。表示装置2は、電源がオン・オフされると、電源のオン・オフ情報をHDMIインタフェース14に送信し、出力映像のソースを切り替えると、表示装置2に接続された機器に対して映像出力情報を送信する。
The log
ログデータ保持部122は、タイムスタンプ、起動又は終了したアプリケーションの情報、アプリケーションの利用時間、及びHDMI信号の情報を記載したログを保持する。タイムスタンプは、アプリケーションを起動又は終了したときの時刻である。起動又は終了したアプリケーションの情報は、例えば、起動したアプリケーションの名称、終了したアプリケーションの名称である。アプリケーションの利用時間は、アプリケーションの名称とそのアプリケーションを利用していた時間の情報である。HDMI信号の情報は、表示装置2での表示状態が変化したときに記録されるログであり、表示装置2の電源のオン・オフの状態や情報端末1の画面を表示しているか否かを示す情報である。
The log
ログデータ送信部123は、ログデータ保持部122からログを読み出し、ネットワークインタフェース15を介して、ログをログ管理DB3へ送信する。ログデータ送信部123は、アプリ13A,13B,13Cごとに利用時間を集計し、集計結果をログ管理DB3へ送信してもよい。
The log
ログ管理DB3は、情報端末1からログを受信して格納し、ログを集計してアプリ13A,13B,13Cごとの利用時間を求める。なお、図1では情報端末1を1つのみ図示しているが、ログ管理DB3は複数の情報端末1と接続し、複数の情報端末1のそれぞれからログを受信する。
The log management DB 3 receives and stores logs from the information terminal 1 and totals the logs to obtain the usage time for each of the
次に、本実施の形態におけるログ収集アプリの動作について説明する。 Next, the operation of the log collection application in the present embodiment will be described.
図2は、本実施の形態におけるログ収集アプリの処理の流れを示すフローチャートである。 FIG. 2 is a flowchart showing a flow of processing of the log collection application in the present embodiment.
ログ取得部12が動作を開始すると、ログデータ記録部121は、所定のタイミングで、現在フォアグラウンドで実行しているアプリケーションの情報をプロセス管理部111に問い合わせる(ステップS11)。この問い合わせに対して、プロセス管理部111は、フォアグラウンドアプリの名称を返答する。
When the
ログデータ記録部121は、ログデータ保持部122から、前回記録した最新のログに記録されたフォアグラウンドアプリの名称とタイムスタンプを取得する(ステップS12)。
The log
ログデータ記録部121は、ログが取得できない、あるいはステップS12で取得したログにフォアグラウンドアプリの名称が記録されているか否か判定する(ステップS13)。例えば、ログデータ記録部121の処理が1回目であってログデータ保持部122にログが記録されていない場合や、前回記録時にはフォアグラウンドでアプリケーションが実行されていなかった場合、例えば、アプリ選択メニューが表示されておりフォアグラウンドで実行されているアプリケーションが無い場合は、ログにフォアグラウンドアプリの名称が記録されていない。
The log
ステップS12でログが取得できないか、取得したログにフォアグラウンドアプリの名称が記録されていない場合(ステップS13のNO)、ログデータ記録部121は、ステップS11で得たフォアグラウンドアプリを起動したアプリとしてタイムスタンプとともにログデータ保持部122に記録する(ステップS14)。
When the log cannot be acquired in step S12 or the name of the foreground application is not recorded in the acquired log (NO in step S13), the log
一方、ステップS12で取得したログにフォアグラウンドアプリの名称が記録されている場合(ステップS13のYES)、ログデータ記録部121は、ステップS11で得たフォアグラウンドアプリとステップS12で取得したログに記録されたフォアグラウンドアプリが一致するか否か判定する(ステップS15)。
On the other hand, when the name of the foreground application is recorded in the log obtained in step S12 (YES in step S13), the log
ステップS11で得たフォアグラウンドアプリとログに記録されたフォアグラウンドアプリが一致しない場合(ステップS15のNO)、ログデータ記録部121は、ステップS11で得たフォアグラウンドアプリを起動したアプリとしてタイムスタンプとともにログデータ保持部122に記録し、ステップS12で取得したログに記録されたフォアグラウンドアプリを終了したアプリとして利用時間とともにログデータ保持部122に記録する(ステップS16)。終了したアプリの利用時間は、ステップS12で取得したログに記録されたタイムスタンプから現在時刻までの経過時間により求める。
When the foreground application obtained in step S11 and the foreground application recorded in the log do not match (NO in step S15), the log
ステップS11で得たフォアグラウンドアプリとログに記録されたフォアグラウンドアプリが一致する場合は(ステップS15のYES)、ログ取得部12は、ログを記録しないで処理を終える。
When the foreground application obtained in step S11 matches the foreground application recorded in the log (YES in step S15), the
ログ取得部12は、以上の処理を所定の間隔で実行する。
The
続いて、表示装置2からHDMI信号を受信したときの処理について説明する。
Next, processing when an HDMI signal is received from the
図3は、情報端末1が表示装置2からHDMI信号を受信したときの処理の流れを示すフローチャートである。情報端末1がHDMI信号を受信すると図3に示す割り込み処理が発生する。
FIG. 3 is a flowchart showing a process flow when the information terminal 1 receives an HDMI signal from the
ログ取得部12は、HDMI信号を取得し(ステップS21)、表示装置2の表示画面が切り替わったか否か判定する(ステップS22)。表示画面が切り替わっていないときは処理を終了する(ステップS22のNO)。
The
表示装置2の表示画面が切り替わった場合(ステップS22のYES)、ログ取得部12は、HDMI信号に基づいて、表示装置2が情報端末1の画面を表示しているか否か判定する(ステップS23)。
When the display screen of the
表示装置2が情報端末1の画面を表示している場合(ステップS23のYES)、例えば、表示装置2の電源がオンになり、表示装置2の入力ソースが情報端末1である場合、ログ取得部12は、タイムスタンプとフォアグラウンドアプリの情報を取得し、タイムスタンプ、フォアグラウンドアプリの名称、及びHDMI信号の情報をログデータ保持部122に記録する(ステップS24)。
When the
表示装置2が情報端末1の画面を表示していない場合(ステップS23のNO)、例えば、表示装置2の電源がオフになった、あるいは表示装置2の入力ソースが情報端末1から別の映像機器に切り替わった場合、ログ取得部12は、ログデータ保持部122の最新のログに記載されたフォアグラウンドアプリを終了したアプリとして、タイムスタンプ、終了したアプリケーションの名称、利用時間、及びHDMI信号の情報をログデータ保持部122に記録する(ステップS25)。
When the
図4は、本実施の形態における情報端末がログを取得するタイミングを示す図である。同図には、フォアグラウンドで実行されているアプリケーションと画面の表示状態(表示ON又は表示OFF)を示している。 FIG. 4 is a diagram illustrating the timing at which the information terminal according to the present embodiment acquires a log. In the figure, an application executed in the foreground and a screen display state (display ON or display OFF) are shown.
ログ取得部12は、所定の間隔で、フォアグラウンドアプリの情報を取得する。図4では、時刻t1〜t9のそれぞれの時刻において、フォアグラウンドアプリの情報を取得している。また、ログ取得部12は、HDMIインタフェース14を監視し、表示装置2において情報端末1の画面の表示状態が変化したときにログを記録する。
The
表示装置2の電源がONにされて、アプリAがフォアグラウンドで実行される。
The
ログ取得部12は、画面の表示状態が表示OFFから表示ONに変化したことを検知すると、フォアグラウンドアプリ(ここではアプリA)の情報を取得し、表示ONになったこととアプリAの利用が開始されたことをログに記録する(ログL1)。
When the
時刻t1,t2,t3では、表示状態に変化はなく、フォアグラウンドアプリも変更されていないので、ログ取得部12はログを記録しない。
At times t1, t2, and t3, the display state does not change and the foreground application is not changed, so the
その後、アプリBがフォアグラウンドで実行されると、アプリAはバックグラウンドで実行される。 Thereafter, when the app B is executed in the foreground, the app A is executed in the background.
時刻t4では、フォアグラウンドアプリがアプリAからアプリBに変更されたので、アプリAの利用が終了したこと及びアプリBの利用が開始されたことをログに記録する(ログL2)。 At time t4, since the foreground app is changed from app A to app B, it is recorded in the log that use of app A has ended and use of app B has started (log L2).
時刻t5ではアプリBがそのままフォアグラウンドで実行されているので、ログ取得部12はログを記録しない。
At time t5, since the application B is executed as it is in the foreground, the
その後、アプリBが終了し、アプリAが再びフォアグラウンドで実行される。 Thereafter, the application B ends and the application A is executed again in the foreground.
時刻t6では、フォアグラウンドアプリがアプリBからアプリAに変更されたので、アプリBの利用が終了したこと及びアプリAの利用が開始されたことをログに記録する(ログL3)。 At time t6, since the foreground application has been changed from application B to application A, it is recorded in the log that application B has been used and application A has been started (log L3).
その後、表示装置2の電源がオフにされる、あるいは表示装置2の入力ソースが変更されて情報端末1の画面の表示されなくなる。
Thereafter, the power of the
ログ取得部12は、画面の表示状態が表示ONから表示OFFに変化したことを検知すると、表示OFFになったこととアプリAの利用が終了したことをログに記録する(ログL4)。情報端末1の画面が表示OFFになった後は、アプリAはフォアグラウンドで実行されているが、利用時間としてカウントされないように、アプリAは終了したものとして扱う。
When the
時刻t7では、アプリAがフォアグラウンドで実行されているが、情報端末1の画面は表示装置2で表示されていないので、ログ取得部12はログを記録しない。
At time t7, the application A is executed in the foreground, but the screen of the information terminal 1 is not displayed on the
その後、表示装置2の電源がオンにされる、あるいは表示装置2の入力ソースが変更されて情報端末1の画面が表示される。
Thereafter, the power of the
ログ取得部12は、画面の表示状態が表示OFFから表示ONに変化したことを検知すると、フォアグラウンドアプリ(ここではアプリA)の情報を取得し、表示ONになったこととアプリAの利用が開始されたことをログに記録する(ログL5)。
When the
その後、アプリAが終了する。 Thereafter, the application A ends.
時刻t9では、フォアグラウンドで実行されていたアプリAが終了していたので、アプリAの利用が終了したことをログに記録する(ログL6)。 At time t9, since the application A that has been executed in the foreground has ended, it is recorded in the log that the use of the application A has ended (log L6).
なお、ログを収集する収集間隔を長くしてログの量を減らす、あるいは、収集間隔を短くし、より正確にアプリケーションの利用時間を算出することができる。また、フォアグラウンドで実行されているアプリケーションが変更されたタイミングでログを記録してもよい。表示状態の変化に基づいてログを記録する場合も、時刻t1〜t9のタイミングでログを記録してもよい。 Note that the collection interval for collecting logs can be lengthened to reduce the amount of logs, or the collection interval can be shortened to calculate the application usage time more accurately. Further, a log may be recorded at a timing when an application running in the foreground is changed. Even when the log is recorded based on the change in the display state, the log may be recorded at timings t1 to t9.
続いて、記録されるログについて説明する。 Next, the recorded log will be described.
図5は、ユーザの操作により変化したフォアグラウンドアプリを示す図であり、図6は、図5のようにフォアグラウンドアプリが変化したときに、ログデータ保持部122に記録されるデータの例を示す図である。
FIG. 5 is a diagram illustrating the foreground application changed by the user's operation. FIG. 6 is a diagram illustrating an example of data recorded in the log
最初は、ログは記録されていないものとする。 Initially, no log is recorded.
ユーザの操作によりアプリAが起動してフォアグラウンドで実行されているときに、ログ取得部12が図2の処理を開始すると、ステップS11において、「アプリA」がフォアグラウンドで実行されていることを検出する。
When the application A is activated by the user's operation and is executed in the foreground, when the
ステップS12でログを取得できないので、ステップS14へ進み、現在時刻をタイムスタンプに記録し、アプリ起動ログにフォアグラウンドアプリの名称「アプリA」を記録する(図6の通番1)。 Since the log cannot be acquired in step S12, the process proceeds to step S14, where the current time is recorded in the time stamp, and the name “application A” of the foreground application is recorded in the application activation log (serial number 1 in FIG. 6).
その後、「アプリA」がログに記録されてからアプリBがフォアグラウンドで実行されるまでの間に、ログ取得部12が図2の処理を開始した場合、ステップS11では「アプリA」がフォアグラウンドで実行されていることを検出し、ステップS12では「アプリA」がアプリ起動ログに記録された通番1のログを取得する。ステップS11,S12で取得したアプリケーションは共に「アプリA」となるので、ステップS15において、フォアグラウンドで実行中のアプリケーションとログに記録されたアプリケーションが一致すると判定されて、新たなログは記録されない。
After that, when “App A” is recorded in the log and before App B is executed in the foreground, when the
フォアグラウンドで実行されるアプリケーションがアプリAからアプリBに変更された後、ログ取得部12が図2の処理を開始すると、ステップS11では「アプリB」がフォアグラウンドで実行されていることを検出し、ステップS12では「アプリA」がアプリ起動ログに記録された通番1のログを取得する。
After the application executed in the foreground is changed from the app A to the app B, when the
ステップS15において、ステップS11,S12で取得したアプリケーションが異なると判定され、ステップS16へ進む。ステップS16では、現在時刻をタイムスタンプに記録し、アプリ起動ログに「アプリB」を記録するとともに、アプリ終了ログに「アプリA」と記録し、現在時刻と前回記録したログのタイムスタンプとの差分をとって「アプリA」のアプリ利用時間ログを算出し、ログに記録する(図6の通番2)。
In step S15, it is determined that the applications acquired in steps S11 and S12 are different, and the process proceeds to step S16. In step S16, the current time is recorded in a time stamp, “App B” is recorded in the application start log, “App A” is recorded in the application end log, and the current time and the time stamp of the previously recorded log are recorded. The application usage time log of “application A” is calculated by taking the difference and recorded in the log (
以上の処理を繰り返し、フォアグラウンドアプリが変化したタイミングでのみログを記録する。このとき、アプリケーションがフォアグラウンドで実行されている間の時間をそのアプリケーションの利用時間として算出する。 The above processing is repeated, and a log is recorded only when the foreground application changes. At this time, the time during which the application is being executed in the foreground is calculated as the usage time of the application.
その後、ユーザが表示装置2の電源をオフにすると、表示装置2から情報端末1へHDMI信号が送信されて、ログ取得部12は、図3の処理を開始する。
Thereafter, when the user turns off the power of the
表示装置2の表示画面がオンからオフになり、情報端末1の画面が表示されていないので、ログ取得部12は処理をステップS25へ進める。ログ取得部12は、直前のログでアプリ起動ログに記録された「アプリA」をアプリ終了ログに記録し、現在時刻と直前のログのタイムスタンプとの差分をとって「アプリA」のアプリ利用時間ログを算出し、表示装置2の電源がオフになったことを示すHDMI信号ログを記録する(図6の通番6)。
Since the display screen of the
その後、ユーザが表示装置2の電源をオンにすると、表示装置2から情報端末1へHDMI信号が送信されて、ログ取得部12は、図3の処理を開始する。
Thereafter, when the user turns on the power of the
表示装置2の表示画面がオフからオンになり、情報端末1の画面が表示されているので、ログ取得部12は処理をステップS24へ進める。ログ取得部12は、「アプリA」がフォアグラウンドで実行されていることを検出し、現在時刻をタイムスタンプに記録し、アプリ起動ログに「アプリA」を記録するとともに、表示装置2の電源がオンになったことを示すHDMI信号ログを記録する(図6の通番7)。
Since the display screen of the
以上のように蓄積されたログデータは、所定のタイミングでログデータ保持部122から読み出され、ログデータ送信部123によりログ管理DB3へ送信される。
The log data accumulated as described above is read from the log
ログ管理DB3は、複数の情報端末1から受信したログを集計し、アプリケーション毎の利用時間を求め、求めた利用時間を人気指標としたアプリケーションのランキングを提供する。 The log management DB 3 aggregates the logs received from the plurality of information terminals 1, obtains the usage time for each application, and provides the ranking of applications using the obtained usage time as a popularity index.
なお、本実施の形態では、情報端末1がアプリケーションの利用時間を算出しているが、情報端末1は、タイムスタンプとフォアグラウンドアプリのみを記載し、ログ管理DB3がログに基づいてアプリケーションの利用時間を算出してもよい。 In this embodiment, the information terminal 1 calculates the application usage time, but the information terminal 1 describes only the time stamp and the foreground application, and the log management DB 3 uses the application usage time based on the log. May be calculated.
以上説明したように、本実施の形態によれば、表示装置2に接続され、アプリケーションをインストールして実行可能な情報端末1の備えるログ取得部12が、フォアグラウンドで実行されているアプリケーションの情報を取得し、HDMI信号を監視して表示装置2に情報端末1の画面が表示されているか否か検出し、アプリケーションがフォアグラウンドで実行されている時間から、表示装置2に情報端末1の画面が表示されていない時間を除いた時間をアプリケーションの利用時間として記録することにより、ユーザのアプリケーションの利用時間をより正確に取得することができる。その結果、アプリケーションの利用時間に基づく信頼度の高いランキングを提供できる。
As described above, according to the present embodiment, the
実行中のプロセスの全てについて、プロセスネームとプロセス順を取得してログに記録した場合、実行中のプロセスは数十から数百に及ぶためにログが莫大な量となってしまう。本実施の形態では、フォアグラウンドで実行中のアプリケーションの情報を取得し、フォアグラウンドアプリが変化したときのみログに記録するため、ログの量を大幅に削減することができる。また、情報端末1の画面が表示されていないときは、アプリケーションの利用時間としてカウントしないことで、より正確にアプリケーションの利用時間を計測できる。 When the process name and the process order are acquired and recorded in the log for all the processes being executed, the number of logs being processed is enormous because the number of processes being executed ranges from tens to hundreds. In the present embodiment, information on the application being executed in the foreground is acquired and recorded in the log only when the foreground application changes, so that the amount of log can be greatly reduced. Further, when the screen of the information terminal 1 is not displayed, the usage time of the application can be measured more accurately by not counting the usage time of the application.
1…情報端末
11…オペレーティングシステム
111…プロセス管理部
112…アプリケーション処理部
12…ログ取得部
121…ログデータ記録部
122…ログデータ保持部
123…ログデータ送信部
13A,13B,13C…アプリ
14…HDMIインタフェース
15…ネットワークインタフェース
2…表示装置
3…ログ管理DB
DESCRIPTION OF SYMBOLS 1 ...
Claims (5)
フォアグラウンドで実行されているアプリケーションの情報を取得するフォアグラウンドアプリ取得手段と、
前記出力情報に基づいて前記表示装置に当該情報端末の画面が表示されているか否かを検出する表示状態取得手段と、
アプリケーションがフォアグラウンドで実行されている時間から前記表示装置に当該情報端末の画面が表示されていない時間を除いた時間を前記アプリケーションの利用時間としてログに記録するログ記録手段と、
前記ログを保持するログ保持手段と、
を有することを特徴とするログ記録装置。 A log recording device provided in an information terminal that is connected to a display device that transmits output information indicating a display state of the own device to a device connected to the own device, and that can be installed and executed,
Foreground application acquisition means for acquiring information of applications running in the foreground;
Display state acquisition means for detecting whether a screen of the information terminal is displayed on the display device based on the output information ;
Log recording means for recording in the log the time when the application is executed in the foreground, excluding the time when the screen of the information terminal is not displayed on the display device, as the usage time of the application;
Log holding means for holding the log;
A log recording apparatus comprising:
フォアグラウンドで実行されているアプリケーションの情報を取得するステップと、
前記出力情報に基づいて前記表示装置に当該情報端末の画面が表示されているか否かを検出するステップと、
アプリケーションがフォアグラウンドで実行されている時間から前記表示装置に当該情報端末の画面が表示されていない時間を除いた時間を前記アプリケーションの利用時間としてログ保持手段のログに記録するステップと、
を有することを特徴とするログ記録方法。 A log recording method executed by an information terminal connected to a display device that transmits output information indicating a display state of the own device to a device connected to the own device and capable of installing and executing an application,
Obtaining information about applications running in the foreground;
Detecting whether the screen of the information terminal is displayed on the display device based on the output information ;
Recording the time when the application is executed in the foreground from the time when the screen of the information terminal is not displayed on the display device as the usage time of the application in the log holding unit;
A log recording method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017067425A JP6356857B1 (en) | 2017-03-30 | 2017-03-30 | Log recording apparatus, log recording method, and log recording program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017067425A JP6356857B1 (en) | 2017-03-30 | 2017-03-30 | Log recording apparatus, log recording method, and log recording program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6356857B1 true JP6356857B1 (en) | 2018-07-11 |
JP2018169862A JP2018169862A (en) | 2018-11-01 |
Family
ID=62843731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017067425A Active JP6356857B1 (en) | 2017-03-30 | 2017-03-30 | Log recording apparatus, log recording method, and log recording program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6356857B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111814057A (en) * | 2020-08-12 | 2020-10-23 | 深圳市欢太科技有限公司 | Application program searching method and device, storage medium and electronic equipment |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210057354A (en) | 2019-11-12 | 2021-05-21 | 삼성전자주식회사 | Electronic apparatus and control method thereof |
JP7514694B2 (en) | 2020-08-18 | 2024-07-11 | 株式会社マクロミル | Information processing device, determination method, and program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013161412A (en) * | 2012-02-08 | 2013-08-19 | Ntt Docomo Inc | User interface device, user interface method and program |
JP2013228820A (en) * | 2012-04-24 | 2013-11-07 | Kyocera Corp | Information providing system, information providing method and portable electronic device |
JP2015192390A (en) * | 2014-03-28 | 2015-11-02 | Kddi株式会社 | Viewing situation measurement system, viewing situation measurement server, and reception terminal |
JP2016173830A (en) * | 2011-12-12 | 2016-09-29 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Selective mirroring of media output |
JP2017034514A (en) * | 2015-08-03 | 2017-02-09 | 株式会社ビデオリサーチ | Program analyzing device and program analyzing method |
-
2017
- 2017-03-30 JP JP2017067425A patent/JP6356857B1/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016173830A (en) * | 2011-12-12 | 2016-09-29 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Selective mirroring of media output |
JP2013161412A (en) * | 2012-02-08 | 2013-08-19 | Ntt Docomo Inc | User interface device, user interface method and program |
JP2013228820A (en) * | 2012-04-24 | 2013-11-07 | Kyocera Corp | Information providing system, information providing method and portable electronic device |
JP2015192390A (en) * | 2014-03-28 | 2015-11-02 | Kddi株式会社 | Viewing situation measurement system, viewing situation measurement server, and reception terminal |
JP2017034514A (en) * | 2015-08-03 | 2017-02-09 | 株式会社ビデオリサーチ | Program analyzing device and program analyzing method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111814057A (en) * | 2020-08-12 | 2020-10-23 | 深圳市欢太科技有限公司 | Application program searching method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2018169862A (en) | 2018-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102158557B1 (en) | Method and device for determining response time | |
US20160323647A1 (en) | Video sharing method and system in smart tv | |
JP6356857B1 (en) | Log recording apparatus, log recording method, and log recording program | |
JPWO2013157440A1 (en) | Reception device, reception method, transmission device, transmission method, and program | |
CN107481009B (en) | Method, device and terminal for identifying abnormal recharging user of live broadcast platform | |
CN110830823B (en) | Play progress correction method and device, electronic equipment and readable storage medium | |
EP2782335B1 (en) | Terminal device, server device, information processing method, program, and collaborative application supply system | |
US9472241B2 (en) | Identifying and rerecording only the incomplete units of a program broadcast recording | |
EP3754998B1 (en) | Streaming media quality monitoring method and system | |
CN111198859A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN112583898A (en) | Business process arranging method and device and readable medium | |
CN103634647A (en) | Method and device for synchronizing playing records of mobile terminal and smart television | |
CN111355995A (en) | Method and device for determining sound delay time of Bluetooth device and terminal device | |
CN102460434A (en) | Method for selecting versions of a document from a plurality of versions received after a search, and related receiver | |
CN113645481A (en) | Video recording method, camera equipment, control terminal and video recording system | |
CN114339419B (en) | Video stream pulling processing method, device and storage medium | |
CN113392005A (en) | Large file processing test method and system | |
US10360089B2 (en) | System for monitoring a plurality of distributed devices | |
CN111324576B (en) | Recording data storage method and device, storage medium and terminal equipment | |
CN110298001B (en) | Method and device for acquiring log data packet and computer readable storage medium | |
CN112799910A (en) | Hierarchical monitoring method and device | |
CN107342981B (en) | Sensor data transmission method and device and virtual reality head-mounted equipment | |
CN108170576A (en) | log processing method, device, terminal device and storage medium | |
US20130081080A1 (en) | Television receiver | |
CN111159244A (en) | Data query method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180612 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180614 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6356857 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |