CN102968366B - The local storage means of a kind of Blu-ray player daily record and device - Google Patents
The local storage means of a kind of Blu-ray player daily record and device Download PDFInfo
- Publication number
- CN102968366B CN102968366B CN201210505330.7A CN201210505330A CN102968366B CN 102968366 B CN102968366 B CN 102968366B CN 201210505330 A CN201210505330 A CN 201210505330A CN 102968366 B CN102968366 B CN 102968366B
- Authority
- CN
- China
- Prior art keywords
- blu
- daily record
- ray player
- log
- 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.)
- Expired - Fee Related
Links
- 239000000872 buffer Substances 0.000 claims abstract description 39
- 230000006870 function Effects 0.000 claims description 16
- 125000004122 cyclic group Chemical group 0.000 claims description 7
- 238000013500 data storage Methods 0.000 claims description 6
- 230000007547 defect Effects 0.000 abstract description 5
- 238000000034 method Methods 0.000 abstract description 5
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses the local storage means of a kind of Blu-ray player daily record and device, described method comprises: A, receive user instruction after, linux kernel loads virtual terminal device driver, create a virtual terminal equipment, be also all written in same kernel buffers by virtual console reception kernel log and application log; B, receive user instruction after, from described kernel buffers, read log information being saved in the form of a file in local memory device.Enforcement the invention has the beneficial effects as follows, obtain while realizing kernel log and application log, simple to operate, without the need to just can journal file be got by professional tool, correlation engineering teacher effectively can be helped to understand Blu-ray player produced problem and defect, thus product quality is got a promotion.
Description
Technical field
The present invention relates to application maintenance field, more particularly, relate to the local storage means of a kind of Blu-ray player daily record and device.
Background technology
User is when using Blu-ray player, may occur some problems and defect when playing some specific video disc or connecting the power amplifier of some brand, and correlation engineering teacher is owing to lacking these video discs or equipment cannot confirm phenomenon and then be difficult to solve produced problem and defect.Therefore, it is very necessary that journal file when user provides portion to make a mistake is analyzed to correlation engineering teacher.
The operating system that general PC installs all can have the program of the log carried, and resource is very limited on the embedded devices such as Blu-ray player, and system will extremely be simplified, and usually can not carry these programs.
On the other hand, Blu-ray player overwhelming majority function is all realized by application program, therefore kernel log and application log intactly will be kept in identical file in chronological order.But traditional log recording program can only separately preserve kernel log and application log, cannot realize demand.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned Blu-ray player for prior art does not have log recording function and a traditional log recording can not preserve the defect of kernel log and application log simultaneously, provides the local storage means of a kind of Blu-ray player daily record and device.
The technical solution adopted for the present invention to solve the technical problems is: construct the local storage means of a kind of Blu-ray player daily record, described Blu-ray player is the embedded device based on (SuSE) Linux OS, it is characterized in that, comprising:
A, receive user instruction after, linux kernel loads virtual terminal device driver, creates a virtual terminal equipment, receives kernel log and application log is also all written in same kernel buffers by virtual console;
B, receive user instruction after, from described kernel buffers, read log information being saved in the form of a file in local memory device.
In steps A and step B, described user instruction is that user is undertaken by the UI operation interface of Blu-ray player operating the instruction produced.
Application log described in steps A is the application program realizing Blu-ray player function, the mode of employing cyclic buffer, described buffer zone.
Local memory device described in step B is the hardware device with data storage function that can be connected with blue light player, conveniently can give correlation engineering teacher by local memory device storing daily record file.
On the other hand, construct a kind of Blu-ray player daily record local storage, described Blu-ray player is the embedded device based on (SuSE) Linux OS, comprising:
Daily record writing module, after receiving user instruction, linux kernel loads virtual terminal device driver, creates a virtual terminal equipment, is also all written in same kernel buffers by virtual console reception kernel log and application log;
Daily record memory module, after receiving user instruction, reads log information and is saved in the form of a file in local memory device from described kernel buffers.
In daily record writing module and daily record memory module, described user instruction is that user is undertaken by the UI operation interface of Blu-ray player operating the instruction produced.
Application log described in daily record writing module is the application program realizing Blu-ray player function, the mode of employing cyclic buffer, described buffer zone.
Local memory device described in daily record memory module is the hardware device with data storage function that can be connected with blue light player.
Implement the local storage means of a kind of Blu-ray player daily record of the present invention and device, be applied in the Blu-ray player based on (SuSE) Linux OS, there is following beneficial effect: obtain while realizing kernel log and application log, simple to operate, without the need to just can journal file be got by professional tool, correlation engineering teacher effectively can be helped to understand Blu-ray player produced problem and defect, thus product quality is got a promotion.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the local storage means process flow diagram of Blu-ray player daily record of one embodiment of the invention;
Fig. 2 is the Blu-ray player UI Operation interface diagram of one embodiment of the invention;
Fig. 3 is the Blu-ray player daily record local storage structural drawing of one embodiment of the invention.
Embodiment
In order to there be understanding clearly to technical characteristic of the present invention, object and effect, now contrast accompanying drawing and describe the specific embodiment of the present invention in detail.
Described Blu-ray player is the embedded device based on (SuSE) Linux OS.
Be illustrated in figure 1 the process flow diagram of the local storage means of a kind of Blu-ray player daily record of one embodiment of the invention, comprise:
100, after receiving user instruction, linux kernel loads virtual terminal device driver, creates a virtual terminal equipment, is also all written in same kernel buffers by virtual console reception kernel log and application log;
101, after receiving user instruction, from described kernel buffers, read log information and be saved in the form of a file in local memory device.
In step 100 and step 101, described user instruction is that user is undertaken by the UI operation interface of Blu-ray player operating the instruction produced.
Application log described in step 100 is the application program realizing Blu-ray player function, and blue light player is a kind of embedded device based on (SuSE) Linux OS.
The mode of employing cyclic buffer, described buffer zone.
Local memory device described in step 101 is the hardware device with data storage function that can be connected with blue light player, as USB flash disk etc.Conveniently correlation engineering teacher can be given by local memory device storing daily record file.
When user needs log information this locality to store, open this function by the UI operation of player, kernel loads virtual terminal driver, creates a virtual terminal equipment and in kernel, distributes a block buffer.When kernel print log, virtual console can receive this message and write buffer zone.Meanwhile, if application program print log, then the standard output stdout of application program is redirected to virtual terminal equipment, log information is written into buffer zone.
The size of buffer zone can be specified, and such as, in use, can the size of appointed buffer be 2M.The mode of employing cyclic buffer, buffer zone, the storage unit backpointer writing the end of buffer zone points to the first address of this storage unit, namely, after log information exceedes the size of buffer zone, the information write at first will be eliminated the new daily record of guarantee and can be written into.During due to Blu-ray player program appearance mistake, log information will stop, so the log information that can react when making a mistake always in the end just is written into, can not being capped.So the log information preserved can react situation when making a mistake.
End user is undertaken operating by Embedded UI interface again and from this equipment, reads log information and be saved in local memory device with document form, is supplied to correlation engineering teacher.
As shown in Figure 2, for the Blu-ray player of one embodiment of the invention arranges surface chart and the UI operation interface of menu.There is provided respective selection to make user open or closing journal record and preserve journal file to the function of memory device arranging in menu 200 of Blu-ray player.For the consideration of security, described option is set to hide, and user inputs specific cryptosystem will eject interface 202.Journal file for user's unlatching or closing journal record and can be preserved to memory device in interface 202, and what Fig. 2 median surface 202 showed is preserving journal file to situation during local memory device.In Fig. 2,201 is the setting options of other conventional design.
Fig. 3 is a kind of Blu-ray player daily record local storage structural drawing of one embodiment of the invention, comprising:
Daily record writing module 300, after receiving user instruction, linux kernel loads virtual terminal device driver, creates a virtual terminal equipment, is also all written in same kernel buffers by virtual console reception kernel log and application log;
Daily record memory module 301, after receiving user instruction, reads log information and is saved in the form of a file in local memory device from described kernel buffers.
In daily record writing module 300 and daily record memory module 301, described user instruction is that user is undertaken by the UI operation interface of Blu-ray player operating the instruction produced.
Application log described in daily record writing module 300 is the application program realizing Blu-ray player function, the mode of employing cyclic buffer, described buffer zone.
Local memory device described in daily record memory module 301 is the hardware device with data storage function that can be connected with blue light player.
Should be understood that the specific implementation process of each device above-mentioned can be corresponding with the description of said method embodiment, be not described in detail herein.
Be understood that, although this invention is based on Blu-ray player Realization of Product, but only need change on a small quantity it, be applicable to other embedded devices based on (SuSE) Linux OS too, make user without the need to just can journal file be got by professional tool and feed back to slip-stick artist, effectively can help to solve the problem being difficult to copy to occurred in product, product quality is promoted further.
By reference to the accompanying drawings embodiments of the invention are described above; but the present invention is not limited to above-mentioned embodiment; above-mentioned embodiment is only schematic; instead of it is restrictive; those of ordinary skill in the art is under enlightenment of the present invention; do not departing under the ambit that present inventive concept and claim protect, also can make a lot of form, these all belong within protection of the present invention.
Claims (6)
1. the local storage means of Blu-ray player daily record, described Blu-ray player is the embedded device based on (SuSE) Linux OS, it is characterized in that, comprising:
A, receive user instruction after, linux kernel loads virtual terminal device driver, create a virtual terminal equipment, when kernel print log, virtual console can receive log information and write buffer zone, if application program print log, then the standard output stdout of application program is redirected to virtual terminal equipment and is written into buffer zone to make log information, the mode of employing cyclic buffer, described buffer zone is to make after log information exceedes the size of buffer zone, and the information write at first is eliminated and new daily record is written into;
B, receive user instruction after, from described kernel buffers, read log information being saved in the form of a file in local memory device, described local memory device is the hardware device with data storage function that can be connected with blue light player.
2. the local storage means of a kind of Blu-ray player daily record according to claim 1, is characterized in that, in steps A and step B, described user instruction is that user is undertaken by the UI operation interface of Blu-ray player operating the instruction produced.
3. the local storage means of a kind of Blu-ray player daily record according to claim 1, it is characterized in that, application log described in steps A is the application program realizing Blu-ray player function.
4. a Blu-ray player daily record local storage, described Blu-ray player is the embedded device based on (SuSE) Linux OS, it is characterized in that, comprising:
Daily record writing module (300), after receiving user instruction, linux kernel loads virtual terminal device driver, create a virtual terminal equipment, when kernel print log, virtual console can receive log information and write buffer zone, if application program print log, then the standard output stdout of application program is redirected to virtual terminal equipment and is written into buffer zone to make log information, the mode of employing cyclic buffer, described buffer zone is to make after log information exceedes the size of buffer zone, the information write at first is eliminated and new daily record is written into,
Daily record memory module (301), after receiving user instruction, from described kernel buffers, read log information and be saved in the form of a file in local memory device, described local memory device is the hardware device with data storage function that can be connected with blue light player.
5. a kind of Blu-ray player daily record local storage according to claim 4, it is characterized in that, in daily record writing module (300) and daily record memory module (301), described user instruction is that user is undertaken by the UI operation interface of Blu-ray player operating the instruction produced.
6. a kind of Blu-ray player daily record local storage according to claim 4, it is characterized in that, described in daily record writing module (300), application log is the application program realizing Blu-ray player function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210505330.7A CN102968366B (en) | 2012-11-30 | 2012-11-30 | The local storage means of a kind of Blu-ray player daily record and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210505330.7A CN102968366B (en) | 2012-11-30 | 2012-11-30 | The local storage means of a kind of Blu-ray player daily record and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102968366A CN102968366A (en) | 2013-03-13 |
CN102968366B true CN102968366B (en) | 2015-10-28 |
Family
ID=47798518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210505330.7A Expired - Fee Related CN102968366B (en) | 2012-11-30 | 2012-11-30 | The local storage means of a kind of Blu-ray player daily record and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102968366B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489465A (en) * | 2013-09-12 | 2014-01-01 | 广东明创软件科技有限公司 | Method for automatically recording random events of locating blue-ray player |
CN104598258B (en) * | 2013-10-31 | 2020-05-26 | 腾讯科技(深圳)有限公司 | Application software starting method and device |
CN106155875A (en) * | 2016-06-29 | 2016-11-23 | 北京小米移动软件有限公司 | A kind of method and apparatus of guiding system daily record |
CN110764962B (en) * | 2018-07-26 | 2024-02-20 | 杭州海康存储科技有限公司 | Log processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216800A (en) * | 2008-01-02 | 2008-07-09 | 中兴通讯股份有限公司 | LINUX log controller and method |
CN102096626A (en) * | 2010-12-27 | 2011-06-15 | 意法·爱立信半导体(北京)有限公司 | Mobile terminal and processing method of test log thereof |
US8046639B1 (en) * | 2010-07-29 | 2011-10-25 | Oracle International Corporation | Cycle accurate fault log modeling for a digital system |
-
2012
- 2012-11-30 CN CN201210505330.7A patent/CN102968366B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216800A (en) * | 2008-01-02 | 2008-07-09 | 中兴通讯股份有限公司 | LINUX log controller and method |
US8046639B1 (en) * | 2010-07-29 | 2011-10-25 | Oracle International Corporation | Cycle accurate fault log modeling for a digital system |
CN102096626A (en) * | 2010-12-27 | 2011-06-15 | 意法·爱立信半导体(北京)有限公司 | Mobile terminal and processing method of test log thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102968366A (en) | 2013-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1983519A3 (en) | System and method for providing program information, and recording medium used therefor | |
US9161006B1 (en) | Systems and methods for efficient screen capture | |
CN102968366B (en) | The local storage means of a kind of Blu-ray player daily record and device | |
WO2007111751A3 (en) | Architecture for a smart enterprise framework and methods thereof | |
TW200610399A (en) | Storage medium storing multimedia data for reproduction of AV data and programming function, and reproducing apparatus and method thereof | |
KR102091961B1 (en) | GPU resource reconstruction method, user device, system and storage medium | |
CN101542480A (en) | Combination journaling/non-journaling file system | |
CN103226448B (en) | The driving method of solid state hard disc and device | |
CN102136274B (en) | Mobile hard disk with two storage media | |
TW200732918A (en) | Method and system for accessing non-volatile storage devices | |
CN103927215A (en) | kvm virtual machine scheduling optimization method and system based on memory disk and SSD disk | |
CN103745682A (en) | Method of asynchronous cascade | |
CN102301369B (en) | Data storage device access method and device | |
US10002009B2 (en) | Electronic device performing emulation-based forensic analysis and method of performing forensic analysis using the same | |
CN101710237A (en) | Equipment production flow using flash memory as storage medium | |
CN204463134U (en) | SATA hard disc Write-protect system | |
CN100365572C (en) | Software packaging method | |
US20170171630A1 (en) | Sharing Portions of a Video | |
CN102724426A (en) | Method for carrying out real-time interaction on special effect processing system and clip system and system thereof | |
CN109660576B (en) | User data real-time migration method, storage medium, electronic device and system | |
CN202454283U (en) | Solid state disk and system based on same | |
CN101950275B (en) | Protection method and system of data in USB memory device and memory device | |
US9348729B2 (en) | Secured management of traces in a mail processing device | |
US20100185872A1 (en) | System, method and apparatus for reading content of external storage device | |
CN201654764U (en) | Embedded download-free USB game client |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151028 |
|
CF01 | Termination of patent right due to non-payment of annual fee |