CN103489465A - Method for Automatically Recording and Locating Random Events of Blu-ray Players - Google Patents
Method for Automatically Recording and Locating Random Events of Blu-ray Players Download PDFInfo
- Publication number
- CN103489465A CN103489465A CN201310415368.XA CN201310415368A CN103489465A CN 103489465 A CN103489465 A CN 103489465A CN 201310415368 A CN201310415368 A CN 201310415368A CN 103489465 A CN103489465 A CN 103489465A
- Authority
- CN
- China
- Prior art keywords
- log
- blu
- logs
- automatically recording
- kernel
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000012216 screening Methods 0.000 abstract description 3
- 241001025261 Neoraja caerulea Species 0.000 abstract 1
- 230000006399 behavior Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
Description
技术领域technical field
本发明涉及应用程序领域,尤其涉及蓝光播放器日志存储方法。The invention relates to the field of application programs, in particular to a log storage method of a Blu-ray player.
背景技术Background technique
在日常的使用蓝光播放器中,多少会存在一些随机性问题的出现,特别是软件开发初期。既然是随机性出现就存在一定偶然性,而往往是等问题点出现了后,再去回想前面所测试的步骤和所播放过的片源内容,已经显得“为时已晚”了。为此,现有专利CN201210505330.7中公开了一种蓝光播放器日志本地存储方法,该方法进行记录时,会将所有相关的内核日志和应用程序日志进行记录,具体记录时还会出现大量与操作步骤不相干的log,不但增加了阅读的不便、降低了工作效率,特别对于不懂程序代码的人员更加不知道如何理解阅读。再者,即使专业人士理解阅读相关的内核日志和应用程序日志,也仅能了解用户干了些什么事情,而不是主动说你具体是怎样操作的,即无法将具体时间和当时的使用场景联系起来,不易判断,使得故障发生时,要找到相关的规律或是出现的概率,仅凭人脑有限的记忆点和逻辑思维去回想操作来进行,费时费力和,且困难重重。In the daily use of Blu-ray players, there will be some random problems, especially in the early stages of software development. Since it appears randomly, there is a certain chance, and it is often "too late" to recall the previously tested steps and the content of the film source after the problem appears. For this reason, the existing patent CN201210505330.7 discloses a local storage method of a Blu-ray player log. When the method is recorded, all relevant kernel logs and application program logs will be recorded, and a large number of related logs will also appear during the specific recording. Logs with irrelevant operation steps not only increase the inconvenience of reading and reduce work efficiency, especially for those who do not understand program codes, they do not know how to understand and read. Furthermore, even if professionals know how to read the relevant kernel logs and application logs, they can only understand what the user has done, instead of actively telling how you did it, that is, it is impossible to link the specific time with the usage scenario at that time It is not easy to judge, so that when a fault occurs, it is time-consuming, laborious and difficult to find the relevant law or the probability of occurrence, and only rely on the limited memory points and logical thinking of the human brain to recall the operation.
故,急需一种可简单直观记录蓝光播放器随机事件的方法。Therefore, there is an urgent need for a method for simply and intuitively recording random events of a Blu-ray player.
发明内容Contents of the invention
本发明的目的是提供一种记录蓝光播放器随机事件的方法,该方法简单且可便于直观的蓝光播放器的故障原因。The purpose of the present invention is to provide a method for recording random events of a Blu-ray player, which is simple and can facilitate the intuitive cause of failure of the Blu-ray player.
为了实现上述目的,本发明提供了一种自动记录定位蓝光播放器随机事件的方法,包括:(1)内核依据用户指令信号加载虚拟终端驱动程序,创建一虚拟终端设备,通过所述虚拟终端设备接收内核日志和应用程序日志;(2)使用预设的关键词对所述内核日志和应用程序日志进行筛选获得操作信息和使用场景,将所述使用场景与所述操作信息进行对应以获得播放日志;(3)按照时间顺序排列并存储所述播放日志。In order to achieve the above object, the present invention provides a method for automatically recording and locating random events of a Blu-ray player, including: (1) The kernel loads a virtual terminal driver program according to a user instruction signal, creates a virtual terminal device, and passes through the virtual terminal device Receive kernel logs and application logs; (2) use preset keywords to filter the kernel logs and application logs to obtain operation information and usage scenarios, and match the usage scenarios to the operation information to obtain playback Logs; (3) arrange and store the playback logs in chronological order.
与现有技术相比,本发明不但通过虚拟终端设备接收内核日志和应用程序日志,还将内核日志和应用程序日志进行关键词筛选,获得与操作有关的操作信息和使用场景(碟片的播放进程等),并将使用场景是相关的操作信息进行对应,获得播放日志,从而可以通过所述播放日志得知上电后用户按照时间顺序进行的操作行为(例如播放了什么片源、操作了什么按键、进入的片源路径、连接的设备等等),了解上电后相关使用场景中对应的操作行为,不但使得阅读更加简洁和直观,省去并简化了大量不必要和不相干的日志信息,而且在随机事件发生后可通过查看第一时间了解问题出现在哪里,从而选择性帮助用户去规避一些问题,快速的响应用户的需求。同时也对问题点的重现和规律的寻找提供了有价值的参考,使得软件开发能够快速定位问题所在,并提升产品系统的稳定性和可靠性。Compared with the prior art, the present invention not only receives the kernel log and the application program log through the virtual terminal device, but also performs keyword screening on the kernel log and the application program log to obtain operation information and usage scenarios related to the operation (disc playing process, etc.), and correspond to the operation information related to the usage scenario to obtain the playback log, so that the user's operation behaviors in chronological order after power-on can be known through the playback log (for example, what source is played, what is the operation What button, the source path entered, the connected device, etc.), understand the corresponding operation behavior in the relevant use scene after power-on, not only makes the reading more concise and intuitive, saves and simplifies a lot of unnecessary and irrelevant logs information, and after a random event occurs, you can find out where the problem occurs at the first time, so as to selectively help users avoid some problems and quickly respond to user needs. At the same time, it also provides a valuable reference for the recurrence of problem points and the search for rules, so that software development can quickly locate the problem and improve the stability and reliability of the product system.
较佳地,所述步骤(2)之前还包括设置所述关键词的步骤:显示所述关键词组选项以供用户选择,并将用户选择的关键词组内的关键词以作为步骤(2)中的所述预设的关键词。本发明不但可以直接通过出厂设置默认的关键词组选项选择预设的关键词,还可以人为的选择需要的关键词信息,增加随机事件记录的灵活性。Preferably, before the step (2), there is also a step of setting the keyword: displaying the keyword group option for the user to select, and using the keyword in the keyword group selected by the user as the keyword in the step (2). The preset keywords. The present invention not only can directly select the preset keyword through the default keyword group option set in the factory, but also can artificially select the required keyword information, increasing the flexibility of random event recording.
较佳地,所述关键词包括按键信息和/或片源信息和/或路径信息和/或连接设备信息。Preferably, the keyword includes key information and/or source information and/or path information and/or connection device information.
较佳地,所述步骤(3)具体包括:(41)将所述播放日志写入缓冲区;(42)将所述缓冲区内的播放日志按照时序保存至本地存储设备内作为本地日志文件。Preferably, the step (3) specifically includes: (41) writing the playback log into a buffer; (42) saving the playback log in the buffer into a local storage device in time sequence as a local log file .
较佳地,所述步骤(3)中还包括将所述播放日志转换流程图形式存储,以使蓝光播放器随机事件的播放记录呈流程图形式。Preferably, the step (3) further includes converting the playing log into a flow chart and storing it, so that the playback record of random events of the Blu-ray player is in the form of a flow chart.
附图说明Description of drawings
图1是本发明所述自动记录定位蓝光播放器随机事件的方法的流程图。Fig. 1 is a flow chart of the method for automatically recording and locating random events of a Blu-ray player according to the present invention.
图2是本发明第一实施例中所述播放日志显示图。Fig. 2 is a display diagram of the playing log in the first embodiment of the present invention.
具体实施方式Detailed ways
为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合实施方式并配合附图详予说明。In order to describe the technical content, structural features, achieved goals and effects of the present invention in detail, the following will be described in detail in conjunction with the embodiments and accompanying drawings.
本发明提供了一种自动记录定位蓝光播放器随机事件的方法,包括:(11)内核依据用户指令信号加载虚拟终端驱动程序,(12)创建一虚拟终端设备,(13)通过所述虚拟终端设备接收内核日志和应用程序日志;(14)使用预设的关键词对所述内核日志和应用程序日志进行筛选获得操作信息和使用场景,(15)将所述使用场景与所述操作信息进行对应以获得播放日志;(16)按照时间顺序排列并存储所述播放日志。与现有技术相比,本发明不但通过虚拟终端设备接收内核日志和应用程序日志,还将内核日志和应用程序日志进行关键词筛选,获得与操作有关的操作信息和使用场景(碟片的播放进程等),并将使用场景是相关的操作信息进行对应,获得播放日志,从而可以通过所述播放日志得知上电后用户按照时间顺序进行的操作行为(例如播放了什么片源、操作了什么按键、进入的片源路径、连接的设备等等),了解上电后相关使用场景中对应的操作行为,不但使得阅读更加简洁和直观,省去并简化了大量不必要和不相干的日志信息,而且在随机事件发生后可通过查看第一时间了解问题出现在哪里,从而选择性帮助用户去规避一些问题,快速的响应用户的需求。同时也对问题点的重现和规律的寻找提供了有价值的参考,使得软件开发能够快速定位问题所在,并提升产品系统的稳定性和可靠性。较佳者,所述步骤(15)中所述播放日志为流程图形式。The present invention provides a method for automatically recording and locating random events of a Blu-ray player, including: (11) the kernel loads a virtual terminal driver according to user instruction signals, (12) creates a virtual terminal device, and (13) passes through the virtual terminal The device receives kernel logs and application logs; (14) uses preset keywords to filter the kernel logs and application logs to obtain operation information and usage scenarios; (15) compares the usage scenarios to the operation information Corresponding to obtain play logs; (16) arrange and store the play logs in chronological order. Compared with the prior art, the present invention not only receives the kernel log and the application program log through the virtual terminal device, but also performs keyword screening on the kernel log and the application program log to obtain operation information and usage scenarios related to the operation (disc playing process, etc.), and correspond to the operation information related to the usage scenario to obtain the playback log, so that the user's operation behaviors in chronological order after power-on can be known through the playback log (for example, what source is played, what is the operation What button, the source path entered, the connected device, etc.), understand the corresponding operation behavior in the relevant use scene after power-on, not only makes the reading more concise and intuitive, saves and simplifies a lot of unnecessary and irrelevant logs information, and after a random event occurs, you can find out where the problem occurs at the first time, so as to selectively help users avoid some problems and quickly respond to user needs. At the same time, it also provides a valuable reference for the recurrence of problem points and the search for rules, so that software development can quickly locate the problem and improve the stability and reliability of the product system. Preferably, the playing log in the step (15) is in the form of a flow chart.
较佳者,所述步骤(14)之前还包括设置所述关键词的步骤:显示所述关键词组选项以供用户选择,并将用户选择的关键词组内的关键词以作为步骤(2)中的所述预设的关键词。本发明不但可以直接通过出厂设置默认的关键词组选项选择预设的关键词,还可以人为的选择需要的关键词信息,增加随机事件记录的灵活性。Preferably, before the step (14), it also includes the step of setting the keyword: displaying the keyword group option for the user to choose, and using the keyword in the keyword group selected by the user as the keyword in the step (2). The preset keywords. The present invention not only can directly select the preset keyword through the default keyword group option set in the factory, but also can artificially select the required keyword information, increasing the flexibility of random event recording.
较佳者,所述关键词包括按键信息和/或片源信息和/或路径信息和/或连接设备信息。Preferably, the keywords include key information and/or film source information and/or path information and/or connection device information.
较佳者,所述步骤(16)具体包括:(41)将所述播放日志写入缓冲区;(42)将所述缓冲区内的播放日志按照时序保存至本地存储设备内作为本地日志文件。具体地,本发明为循环缓冲方式。Preferably, the step (16) specifically includes: (41) writing the play log into a buffer; (42) saving the play log in the buffer to a local storage device in time sequence as a local log file . Specifically, the present invention is a circular buffering method.
参考图2,描述本发明所述播放日志显示图,本实施例中自定义的关键词组为:按键信息、片源信息、路径信息和连接设备信息,上电后,用户开仓,此时通过预设的关键词筛选获得所需要的操作信息(开仓)和使用场景(无),将所述使用场景(无)和操作信息(开仓)进行对应后获得相应的播放日志,存储所述播放日志(开仓),用户将光盘放入后关仓门,相应的,通过预设的关键词筛选后存储播放日志(关仓),并按照时间顺序将该播放日志(关仓)存储至播放日志(开仓)后,接着蓝光播放器加载光盘信息,相应的获得播放日志(加载)并将其存储至播放日志(关仓)后,加载完成后蓝光播放器开始播放光盘,此时通过预设的关键词筛选获得所需要的操作信息(具体片源信息:光盘M)和使用场景(播放了00分钟00秒),将该操作信息“光盘M”和使用场景“播放00:00”一一对应后获得片源信息类型的播放日志“光盘M(播放00:00)”,将该播放日志按时间存储至播放日志(加载)后;同样的,在光盘M的播放完成后返回主界面,生成路径信息类型的播放日志“正跳(播放18:00)”和“主界面”,此时用户点击主界面的左键导航,获得按键信息类型的播放日志“左导航键”和“确认”,此时,本地日志文件内存储的播放记录呈图2所示的流程图形式。Referring to Fig. 2, it describes the play log display diagram of the present invention. The self-defined keyword groups in this embodiment are: button information, film source information, path information and connection device information. The preset keywords are screened to obtain the required operation information (opening a position) and usage scenarios (none), and after corresponding the usage scenarios (none) and operation information (opening a position), the corresponding playback logs are obtained, and the To play the log (open warehouse), the user puts the disc in and closes the warehouse door. Correspondingly, the playback log (close warehouse) is stored after filtering through the preset keywords, and the play log (close warehouse) is stored in chronological order. After playing the log (opening), then the Blu-ray player loads the disc information, obtains the playing log (loading) and stores it in the playing log (closing), after the loading is complete, the Blu-ray player starts to play the disc, at this time through The preset keywords are filtered to obtain the required operation information (specific source information: disc M) and usage scenarios (00 minutes and 00 seconds played), and the operation information "disc M" and usage scenario "play 00:00" After one-to-one correspondence, obtain the play log "disc M (playing 00:00)" of the source information type, and store the play log in the play log according to time (loading); similarly, return to the main interface to generate playback logs of the path information type "jumping (playing at 18:00)" and "main interface". Confirm", at this time, the playback record stored in the local log file is in the form of the flow chart shown in Figure 2.
以上所揭露的仅为本发明的优选实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明申请专利范围所作的等同变化,仍属本发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the patent scope of the present invention still fall within the scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310415368.XA CN103489465A (en) | 2013-09-12 | 2013-09-12 | Method for Automatically Recording and Locating Random Events of Blu-ray Players |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310415368.XA CN103489465A (en) | 2013-09-12 | 2013-09-12 | Method for Automatically Recording and Locating Random Events of Blu-ray Players |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103489465A true CN103489465A (en) | 2014-01-01 |
Family
ID=49829637
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310415368.XA Pending CN103489465A (en) | 2013-09-12 | 2013-09-12 | Method for Automatically Recording and Locating Random Events of Blu-ray Players |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103489465A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107851275A (en) * | 2015-08-18 | 2018-03-27 | 谷歌有限责任公司 | Time series explorer |
| CN110580626A (en) * | 2018-05-22 | 2019-12-17 | 北京京东尚科信息技术有限公司 | Method and apparatus for generating information |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020150385A1 (en) * | 1998-10-13 | 2002-10-17 | Lg Electronics Inc. | Method and apparatus for creating search information for recorded digital broadcast streams |
| CN102968366A (en) * | 2012-11-30 | 2013-03-13 | 广东欧珀移动通信有限公司 | Local storage method and device of logs of blu-ray player |
| CN103257987A (en) * | 2012-12-30 | 2013-08-21 | 北京讯鸟软件有限公司 | Rule-based distributed log service implementation method |
-
2013
- 2013-09-12 CN CN201310415368.XA patent/CN103489465A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020150385A1 (en) * | 1998-10-13 | 2002-10-17 | Lg Electronics Inc. | Method and apparatus for creating search information for recorded digital broadcast streams |
| CN102968366A (en) * | 2012-11-30 | 2013-03-13 | 广东欧珀移动通信有限公司 | Local storage method and device of logs of blu-ray player |
| CN103257987A (en) * | 2012-12-30 | 2013-08-21 | 北京讯鸟软件有限公司 | Rule-based distributed log service implementation method |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107851275A (en) * | 2015-08-18 | 2018-03-27 | 谷歌有限责任公司 | Time series explorer |
| CN110580626A (en) * | 2018-05-22 | 2019-12-17 | 北京京东尚科信息技术有限公司 | Method and apparatus for generating information |
| CN110580626B (en) * | 2018-05-22 | 2024-10-22 | 北京京东尚科信息技术有限公司 | Method and device for generating information |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9438491B1 (en) | Service monitor for monitoring a network connection to track the performance of an application running on different mobile devices | |
| US9195571B2 (en) | Automatic testing apparatus for embedded software, automatic testing method thereof and test scenario composing method | |
| US9578158B2 (en) | System and method for starting up application of electronic device | |
| CN104216811B (en) | The log collecting method and system of application program | |
| CN104503875A (en) | Test method and test system of Android device | |
| CN103019899A (en) | A method, system, and intelligent terminal for event playback on an intelligent terminal | |
| US12161942B2 (en) | Videogame telemetry data and game asset tracker for session recordings | |
| CN110610089A (en) | User behavior simulation method and device and computer equipment | |
| CN114490285A (en) | A playback system and method of RPA process execution process | |
| CN103489465A (en) | Method for Automatically Recording and Locating Random Events of Blu-ray Players | |
| US20140376885A1 (en) | Method for playing video file and electronic device using the same | |
| US9645697B2 (en) | Translating events in a user interface | |
| US20190306212A1 (en) | Sharing content with a detected device | |
| CN117241276B (en) | Detection tool, detection method, detection system and detection equipment for mobile application | |
| US8255876B2 (en) | Execution difference identification tool | |
| CN110062927B (en) | Method, system and storage device for parallel replay of executable code | |
| WO2007047057A3 (en) | Scheme for use in testing software for computer entertainment systems | |
| CN108829598B (en) | A kind of consumption detection method and system of mobile application | |
| JP2023158779A (en) | program learning device | |
| CN102801909A (en) | Method for prompting operation action of digital camera by voice and digital camera thereof | |
| US20130285817A1 (en) | Customizable alarm sytem and method for computer | |
| CN115248770B (en) | Application performance testing method, device and equipment | |
| CN117827526A (en) | Voice algorithm verification method and device based on audio playback | |
| KR20140023745A (en) | Optical disk drive, user terminal and file processing method | |
| JP2009200948A (en) | Mobile phone terminal, music reproduction method, and music reproduction program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140101 |
|
| RJ01 | Rejection of invention patent application after publication |