CN107241650A - A kind of method of quick positioning playing Caton phenomenon reason - Google Patents
A kind of method of quick positioning playing Caton phenomenon reason Download PDFInfo
- Publication number
- CN107241650A CN107241650A CN201710675876.XA CN201710675876A CN107241650A CN 107241650 A CN107241650 A CN 107241650A CN 201710675876 A CN201710675876 A CN 201710675876A CN 107241650 A CN107241650 A CN 107241650A
- Authority
- CN
- China
- Prior art keywords
- value
- real
- threshold value
- audio
- caton phenomenon
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4425—Monitoring of client processing errors or hardware failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
Abstract
The invention discloses a kind of method of quick positioning playing Caton phenomenon reason, including:First in audio-video document playing process, the real-time code rate value to audio-video document carries out extract real-time with preserving, and the initialization system CPU usage threshold value threshold value idle with internal memory;In audio-video document playing process, the real-time reading rate that player reads audio-video document is calculated in real time;By constantly comparing code check value and reading rate value;Compare the rate value that code check value is read with file;Compare CPU usage value and CPU usage threshold value;Idle threshold value of comparison system internal memory free value and internal memory etc., the reason for judge various broadcasting interim cards and is pointed out.The present invention can make developer's quick obtaining to the basic reason of Caton phenomenon, and carry out secondary analysis according to suggested direction, greatly improve the efficiency for solving the problems, such as that audio-video document plays Caton phenomenon.
Description
Technical field
The present invention relates to a kind of method of positioning playing interim card reason, and in particular to a kind of quick positioning playing Caton phenomenon
The method of reason, belongs to multimedia play technology field.
Background technology
In recent years, developing rapidly with mobile Internet, consumer electronics product presents explosive growth, every year
The shipment amount of consumer electronics product has all reached more than hundred million.Audio-video frequency content playing function is the core of consumer electronics product
One of heart function, is also one of user's routine use frequency highest function, therefore the effect that audio-video frequency content is played is just direct
Experience and evaluation of the user to product have been related to it, how have lifted the result of broadcast of audio-video frequency content, so as to improves user's audiovisual
Experience becomes one of core demand of consumption electronic product.It is just necessary in order to lift the audiovisual experience of audio-video frequency content broadcasting
Solve produced problem in audio-video frequency content playing process, only quickly navigate to the root of problem, could problem of implementation it is fast
Speed is solved.
How audio-video document play Caton phenomenon the reason for is quickly positioned, what current those skilled in the art of the present technique used
Technical way is, by being monitored in real time to player bottom buffering area, and to obtain the various exceptions returned in buffering area
Information carries out the investigation of reason, analysis and positioned step by step, and the use of such method needs complete to grasp player technology
The professional knowledge and professional skill in field, common developer and tester can not use such method to be analyzed and determined
Position, so that limit the popularization of such method and use, meanwhile, such method analytical procedure is cumbersome, and execution efficiency is low, also hinders
The quick solution of problem.
The content of the invention
The purpose of the present invention is the interim card occurred for audio-video document on current consumer electronic product in playing process
A kind of phenomenon, it is proposed that method that can quickly position such Caton phenomenon reason.
The purpose of the present invention is realized by following technical proposals:
A kind of method of quick positioning playing Caton phenomenon reason, comprises the following steps:
Step 1:In audio-video document playing process, the real-time code rate value to audio-video document carries out extract real-time with protecting
Deposit, and the initialization system CPU usage threshold value threshold value idle with internal memory;
Step 2:In audio-video document playing process, the real-time reading speed that player reads audio-video document is calculated in real time
Rate;
Step 3:The code check value and reading rate value of gained in comparison step 1, step 2, whether the code check value of judgment step 1
More than the reading rate value of step 2, and record comparative result;If result of the comparison be less than when, continue back at step 1, after
Caton phenomenon is played in continuous monitoring;If result of the comparison be more than when, continue executing with step 4;
Step 4:The file reading performance of real-time testing audio-video document storage device, and the average speed that log file is read
Rate value;
Step 5:The rate value that the real-time code rate value of comparison step 1 is read with the file of step 4, and record comparative result;
If comparative result be more than when, provide the dominant prompting of Caton phenomenon reason, storage device reading performance is not enough;If comparing knot
Fruit is less than or equal to then continuing executing with below step 6;
Step 6:Real-time acquisition system CPU usage value, and keeping records value;
Step 7:The CPU usage value that comparison step 6 is recorded and the CPU usage threshold value set by step 1, and remember
Record comparative result;If comparative result is more than CPU usage threshold value, dominant Caton phenomenon reason prompting, system are provided
Caused by busy;If comparative result is less than threshold value, below step 8 is continued executing with;
Step 8:Real-time acquisition system internal memory free value, and record;
Step 9:The threshold value of internal memory free time by the value of step 8 with being set in step 1 is compared, and records result;
If result is the threshold value idle less than internal memory, dominant Caton phenomenon reason prompting is provided, system memory resource is not enough;If
As a result it is the threshold value idle more than internal memory, does not then point out, and return to step 1, proceeds next round Caton phenomenon prison
Control;
Above step circular flow always, plays until audio-video document and exits.
Further scheme is:
Real-time code rate value in step 1, unit is bits per second (bps).
Further scheme is:
Real-time reading rate in step 2, unit is bits per second (bps).
Further scheme is:
In step 1, the size of the idle threshold value of system CPU occupancy rate threshold value and internal memory is clever according to the different configurations of system
It is living to set, it can also repeatedly monitor taking-up reasonable value and be set.
What the present invention was used, such as in step one, the method for audio-video document real-time code rate information extraction;In step 2,
Obtain the method that player reads file real time rate;In step 6, the method for obtaining system CPU occupancy rate;In step 8, obtain
The method for taking Installed System Memory free value, is the conventional method of this area, will not be repeated here.
By using above technical scheme, the present invention possesses following beneficial effect:
In audio-video document playing process, analyzed by monitoring broadcasting Caton phenomenon in real time, and in real time, to card release
The analysis of the reason for phenomenon of pausing and dominant prompting, by such dominant prompt message, developer can be with quick obtaining to card
The basic reason of phenomenon, and carry out secondary analysis according to suggested direction, it is to avoid multi-direction analysis reason, it is basic to focus on
Reason, greatly improves the efficiency for solving the problems, such as that audio-video document plays Caton phenomenon.
Brief description of the drawings
Accompanying drawing 1 is that the quick positioning playing Caton phenomenon reason of the present invention implements flow chart.
Embodiment
Below in conjunction with the implementation process figure of accompanying drawing 1, the embodiment to the present invention is described in detail.The present invention
A kind of method that quick positioning audio-video document plays Caton phenomenon reason is disclosed, its specific implementation comprises the following steps:
The video player of starting device, plays a video file being stored in local memory device, video text
The name of part is " Test.ts ":
Step one, in " Test.ts " file playing process, the real-time code rate information to " Test.ts " file is carried out in fact
When extract and preserve, record the value for BR, and the threshold value threshold value idle with internal memory of initialization system CPU usage, respectively
It is recorded as CPS and MFS;
Step 2, in " Test.ts " file playing process, calculates the reality that player reads " Test.ts " file in real time
When reading rate, be recorded as DR;
Two rate values of gained, i.e. BR and DR, the BR values of judgment step one in step 3, comparison step one, step 2
Whether it is more than the DR values of step 2, and records comparative result;If BR<During=DR, then step one is continued back at, continue to monitor and play
The Caton phenomenon of " Test.ts " file;If BR>During DR, then step 4 is continued executing with;
It is flat that step 4, the file reading performance of real-time testing " Test.ts " file-storage device, and log file are read
Equal rate value, is recorded as DR2;
Step 5, the real-time code rate value of information BR of comparison step one and the file reading rate value DR2 of step 4, and record
Comparative result;If BR>During DR2, then the dominant prompting of Caton phenomenon reason is provided, storage device reading performance is not enough;If BR<=
During DR2, then below step six is continued executing with;
Step 6, real-time acquisition system CPU usage value, and the keeping records value, are recorded as CP;
Step 7, the CPU usage value CP that comparison step six the is recorded and CPU threshold value CPS set by step one, and
Record comparative result;If CP>During CPS, then dominant Caton phenomenon reason prompting is provided, caused by system is busy;If CP<=CPS
When, then continue executing with below step eight;
Step 8, real-time acquisition system internal memory free value, and the value is recorded, it is recorded as MF;
Step 9, the value MF of the step 8 and internal memory threshold value MFS that is set in step one is compared, and record knot
Really;If MF<During MFS, then dominant Caton phenomenon reason prompting is provided, system memory resource is not enough;If MF>=MFS, then do not do
Prompting, and step one is returned to, proceed the monitoring of next round Caton phenomenon.
Constantly circulate, exited until video file " Test.ts " is finished according to this flow.
Although reference be made herein to invention has been described for explanatory embodiment of the invention, and above-described embodiment is only this hair
Bright preferably embodiment, embodiments of the present invention are simultaneously not restricted to the described embodiments, it should be appreciated that people in the art
Member can be designed that a lot of other modification and embodiment, and these modifications and embodiment will fall in principle disclosed in the present application
Within scope and spirit.
Claims (4)
1. a kind of method of quick positioning playing Caton phenomenon reason, it is characterised in that comprise the following steps:
Step 1:In audio-video document playing process, the real-time code rate value to audio-video document carries out extract real-time with preserving,
And the initialization system CPU usage threshold value threshold value idle with internal memory;
Step 2:In audio-video document playing process, the real-time reading rate that player reads audio-video document is calculated in real time;
Step 3:Whether the code check value and reading rate value of gained in comparison step 1, step 2, the code check value of judgment step 1 are more than
The reading rate value of step 2, and record comparative result;If result of the comparison be less than when, continue back at step 1, continue to supervise
Survey and play Caton phenomenon;If result of the comparison be more than when, continue executing with step 4;
Step 4:The file reading performance of real-time testing audio-video document storage device, and the Mean Speed that log file is read
Value;
Step 5:The rate value that the real-time code rate value of comparison step 1 is read with the file of step 4, and record comparative result;If than
Relatively result be more than when, then provide the dominant prompting of Caton phenomenon reason, storage device reading performance is not enough;If comparative result is
It is less than or equal to, then continues executing with below step 6;
Step 6:Real-time acquisition system CPU usage value, and keeping records value;
Step 7:The CPU usage value that comparison step 6 is recorded and the CPU usage threshold value set by step 1, and record ratio
Relatively result;If comparative result is more than CPU usage threshold value, dominant Caton phenomenon reason prompting is provided, system is busy
It is caused;If comparative result is less than threshold value, below step 8 is continued executing with;
Step 8:Real-time acquisition system internal memory free value, and record;
Step 9:The threshold value of internal memory free time by the value of step 8 with being set in step 1 is compared, and records result;If knot
Fruit is the threshold value idle less than internal memory, then provides dominant Caton phenomenon reason prompting, system memory resource is not enough;If result
For the threshold value idle more than internal memory, then do not point out, and return to step 1, proceed the monitoring of next round Caton phenomenon;
Above step circular flow always, plays until audio-video document and exits.
2. the method for quick positioning playing Caton phenomenon reason according to claim 1, it is characterised in that:
Real-time code rate value in step 1, unit is bits per second.
3. the method for quick positioning playing Caton phenomenon reason according to claim 1, it is characterised in that:
Real-time reading rate in step 2, unit is bits per second.
4. the method for quick positioning playing Caton phenomenon reason according to claim 1, it is characterised in that:
In step 1, system CPU occupancy rate threshold value is flexibly set from the size for the threshold value that internal memory is idle according to different configure of system
Put, can also repeatedly monitor taking-up reasonable value and be set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710675876.XA CN107241650B (en) | 2017-08-09 | 2017-08-09 | Method for quickly positioning playback pause phenomenon reason |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710675876.XA CN107241650B (en) | 2017-08-09 | 2017-08-09 | Method for quickly positioning playback pause phenomenon reason |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107241650A true CN107241650A (en) | 2017-10-10 |
CN107241650B CN107241650B (en) | 2020-06-30 |
Family
ID=59988583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710675876.XA Active CN107241650B (en) | 2017-08-09 | 2017-08-09 | Method for quickly positioning playback pause phenomenon reason |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107241650B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640094A (en) * | 2018-11-27 | 2019-04-16 | Oppo广东移动通信有限公司 | Video encoding/decoding method, device and electronic equipment |
CN111354383A (en) * | 2018-12-20 | 2020-06-30 | 深圳市优必选科技有限公司 | Audio defect positioning method and device and terminal equipment |
CN112423096A (en) * | 2020-11-03 | 2021-02-26 | 上海哔哩哔哩科技有限公司 | Playing optimization method and system |
CN113114843A (en) * | 2021-03-25 | 2021-07-13 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6075552A (en) * | 1996-06-12 | 2000-06-13 | Nec Corporation | Monitoring system of multimedia communication terminal |
CN101202873A (en) * | 2006-12-13 | 2008-06-18 | 株式会社日立制作所 | Method and device for information record reproduction |
CN105824733A (en) * | 2016-03-14 | 2016-08-03 | 北京小米移动软件有限公司 | Method and device for monitoring terminal |
CN106383851A (en) * | 2016-08-31 | 2017-02-08 | 福建星网视易信息系统有限公司 | Multimedia playing concurrent connection number optimization method, apparatus and system |
CN106533782A (en) * | 2016-12-01 | 2017-03-22 | 北京雷石天地电子技术有限公司 | Method and system for discovering service faults of offline places in real time |
CN106559707A (en) * | 2015-09-29 | 2017-04-05 | 华为技术有限公司 | Video quality detection method, device and Quality management center |
CN106803951A (en) * | 2015-11-26 | 2017-06-06 | 德科仕通信(上海)有限公司 | The live interim card method for diagnosing faults of HLS |
-
2017
- 2017-08-09 CN CN201710675876.XA patent/CN107241650B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6075552A (en) * | 1996-06-12 | 2000-06-13 | Nec Corporation | Monitoring system of multimedia communication terminal |
CN101202873A (en) * | 2006-12-13 | 2008-06-18 | 株式会社日立制作所 | Method and device for information record reproduction |
CN106559707A (en) * | 2015-09-29 | 2017-04-05 | 华为技术有限公司 | Video quality detection method, device and Quality management center |
CN106803951A (en) * | 2015-11-26 | 2017-06-06 | 德科仕通信(上海)有限公司 | The live interim card method for diagnosing faults of HLS |
CN105824733A (en) * | 2016-03-14 | 2016-08-03 | 北京小米移动软件有限公司 | Method and device for monitoring terminal |
CN106383851A (en) * | 2016-08-31 | 2017-02-08 | 福建星网视易信息系统有限公司 | Multimedia playing concurrent connection number optimization method, apparatus and system |
CN106533782A (en) * | 2016-12-01 | 2017-03-22 | 北京雷石天地电子技术有限公司 | Method and system for discovering service faults of offline places in real time |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640094A (en) * | 2018-11-27 | 2019-04-16 | Oppo广东移动通信有限公司 | Video encoding/decoding method, device and electronic equipment |
CN109640094B (en) * | 2018-11-27 | 2021-06-15 | Oppo广东移动通信有限公司 | Video decoding method and device and electronic equipment |
CN111354383A (en) * | 2018-12-20 | 2020-06-30 | 深圳市优必选科技有限公司 | Audio defect positioning method and device and terminal equipment |
CN111354383B (en) * | 2018-12-20 | 2021-07-27 | 深圳市优必选科技有限公司 | Audio defect positioning method and device and terminal equipment |
CN112423096A (en) * | 2020-11-03 | 2021-02-26 | 上海哔哩哔哩科技有限公司 | Playing optimization method and system |
CN112423096B (en) * | 2020-11-03 | 2022-10-04 | 上海哔哩哔哩科技有限公司 | Playing optimization method and system |
CN113114843A (en) * | 2021-03-25 | 2021-07-13 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
CN113114843B (en) * | 2021-03-25 | 2022-06-10 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107241650B (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107241650A (en) | A kind of method of quick positioning playing Caton phenomenon reason | |
US20210287012A1 (en) | Detection of demarcating segments in video | |
US10269390B2 (en) | Game video processing systems and methods | |
EP3473016B1 (en) | Method and system for automatically producing video highlights | |
JP2021168940A5 (en) | ||
CN105589783A (en) | Application program lag problem data obtaining method and device | |
CN103594104A (en) | Method and system for acquiring multimedia interest point, method and device for multimedia playing | |
US11141665B2 (en) | Method of determining exciting moments in a game video and method of playing a game video | |
CN109388556A (en) | A kind of analysis method and device of test process | |
CN110019954A (en) | A kind of recognition methods and system of the user that practises fraud | |
CN104427351B (en) | Method for rapidly positioning and system for the time-interleaving video flowing of video monitoring | |
CN110049318B (en) | Learning quality evaluation method and related device | |
CN107977394A (en) | Paint this recognition methods and electronic equipment | |
WO2016062220A1 (en) | Video playing detection method and device | |
CN104270608A (en) | Intelligent video player and playing method thereof | |
CN110881131B (en) | Classification method of live review videos and related device thereof | |
CN108509931B (en) | Football wonderful video capturing method and system | |
CN104298739B (en) | A kind of data processing method and device | |
CN104170367A (en) | Virtual shutter image capture | |
Zhao et al. | Matching logos for slow motion replay detection in broadcast sports video | |
CN110110502A (en) | Anti-copy method, device and the removable storage device of audio file | |
CN113569719A (en) | Video infringement judgment method and device, storage medium and electronic equipment | |
JP4214990B2 (en) | Event detection method, apparatus and program | |
CN109191173A (en) | A kind of one-stop full frame accurate programming data management method | |
CN113537052B (en) | Video clip extraction method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |