CN111726458A - Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears - Google Patents

Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears Download PDF

Info

Publication number
CN111726458A
CN111726458A CN202010504224.1A CN202010504224A CN111726458A CN 111726458 A CN111726458 A CN 111726458A CN 202010504224 A CN202010504224 A CN 202010504224A CN 111726458 A CN111726458 A CN 111726458A
Authority
CN
China
Prior art keywords
interference
speed
playing
time
played
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
Application number
CN202010504224.1A
Other languages
Chinese (zh)
Other versions
CN111726458B (en
Inventor
肖蔼玲
王博
吴胜
陈浩挺
马礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
North China University of Technology
Original Assignee
North China University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by North China University of Technology filed Critical North China University of Technology
Priority to CN202010504224.1A priority Critical patent/CN111726458B/en
Publication of CN111726458A publication Critical patent/CN111726458A/en
Application granted granted Critical
Publication of CN111726458B publication Critical patent/CN111726458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method for controlling playback video stream to be complete and played on time by a mobile phone after interference disappears belongs to the field of video information control, it is characterized by that at the moment of disappearance of interference the temporary storage device is closed, in the following time slot delta t the memory can output the undisturbed video stream to the temporary storage device, and in the rest time length the temporary storage device can be opened, and the video stream to be replayed and newly-played can be played at the playback speed higher than rated speed, monitoring the difference between the output code streams in the same monitoring period during normal playing and during replay by using the monitoring period obtained by dividing the replay duration randomly and gradually and using the replay speed of 5 percent as the step length, so as to lead the rebroadcast to be close to the rated broadcasting speed quickly, realize the purpose of playing the rest code stream at the rated broadcasting speed at a constant speed, allow the error to be +5 percent of the rated code stream, solve the problem that the commercial mobile phone can not play the code stream in the rebroadcast time period, in the replay phase, the entire video content cannot be played uniformly at the nominal play rate for the remaining down period.

Description

Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears
Technical Field
A method for controlling playback of a video stream to be complete and played on time by a mobile phone after interference disappears belongs to the technical field of mobile phone output code stream control
Background
As a portable computer, the mobile phone has the functions of real-time recording and timing playback, and can store various real-time results of different contents and different expression forms which are recorded and stored in the mobile phone memory in the form of video streams, and then the real-time results are played back by a mobile phone video player through a mobile phone temporary storage device and a temporary storage device for short at specified time and time intervals so as to meet the requirements of different types of audiences. However, the disadvantage is that the complete video content cannot be completely played within the set playing time length when sudden human interference or electronic interference is encountered during the playback process, and the lack of integrity is time-consuming. In the remaining playing time after the interference disappears, the contradiction between the integrity of the playing content and the instability of the playing speed cannot be solved. For the mobile phone user, the incomplete video content can only be accepted indefinitely, because various types of mobile phones sold in the market at present lack the method for solving the problem under the condition of not changing a mobile phone hardware system, so that the mobile phone cannot completely realize all functions of the mobile phone.
Disclosure of Invention
The invention aims to provide a method for controlling a playback video stream to be complete and played on time by a mobile phone after interference disappears, which can completely realize the functions of the mobile phone.
The invention is characterized in that the method for completely playing the video stream according to the rated playing speed before the interference according to the original code length after the interference disappears is realized under the control of the CPU of the mobile phone according to the following steps:
step (1), initialization
The interference is defined as: besides the man-made interference, the method also comprises the following steps:
multipath interference, which is characterized in that the output of the dynamic temporary memory of the mobile phone, hereinafter referred to as temporary memory, is an interrupted code stream,
blind zone disturbance, characterized by the output of said register being zeroed,
thunder and lightning interference, and is characterized by that the output of the described temporary storage is discontinuous code stream,
strong electric interference, characterized in that the output of said register is a strong electric pulse signal,
the CPU sets: video code stream length L, rated playing speed XHRated playing time TH
A mobile phone APP for adjusting the playing speed of the video frame,
and (2) under the control of the CPU, realizing a playing method with a playing code length of L according to a rated playing speed and completely after the interference disappears according to the following steps:
step (2.1), CPU fetches the video stream with code length L controlled in advance from the mobile phone memory, hereinafter referred to as memory, and inputs it into the temporary memory,
step (2.2), at rated playing speed XHSending the video stream with the code length L in the temporary storage into a mobile phone video player to play at the limit playing speed XHThe normal-state playing is carried out,
step (2.3), during the interference action, recording the interference occurrence type and the occurrence time t1Moment t of disappearance, i.e. reappearance of normal video2The length of the code played when interference occurs, L1The output code length L of the register before the interference disappears2Calculating the interference duration (t)2-t1) Code length segment (L) to be interfered with2-L1) At time t2The output of the register is controlled to be zero,
a step (2.4) of fetching said code length segment (L) from said memory2-L1) The code length L stored in the temporary memory is embedded and linked1Then, the steps are as follows:
step (2.4.1), finding out the starting point of the code length L waiting for playback from the memory, and finding out the code length L in sequence1、L2And the address of the location of their memory,
a step (2.4.2) of finding code length segments (L) not affected by interference from said memory2-L1) The code length (L) not affected by interference is determined according to the address in the register2-L1) Inserting the code length L according to the storage address in the temporary storage1After that, the air conditioner is started to work,
step (2.5) of calculating the playback length (L) of the remaining time period2-L1) And a new broadcast code length (L-L)2) Within Δ t, no code stream output, these two code length segments (L-L)1) Is called as the to-be-selected play speed, hereinafter referred to as the to-be-selected play speed X'H,
Figure BDA0002525928140000011
Recording the time period delta t required for executing the steps (2.4) to (2.5),
step (2.6), at time t3=t2+ Δ t, at speed X'HPlaying residual code length (L-L)1),
Step (2.7), respectively calculating the set monitoring time period TnRespectively at a speed XH、X′HCode stream segment for broadcasting
Figure BDA0002525928140000012
The method comprises the following steps:
step (2.7.1), dividing the rest playing time into N segments equally, wherein N is an optional positive integer and is a finite value, and obtaining a playing speed monitoring time interval sequence TN,TN={Tn},n=1,2....n....N,TnReferred to as the monitoring period of time,
step (2.7.2), during the monitoring period TnRespectively calculated at a speed XHCode stream segment played during playing
Figure BDA0002525928140000021
Is constant value,
Figure BDA0002525928140000022
To take the speed
Figure 1
When in playing, the code stream segment is played,
step (2.8) judgment
Figure BDA0002525928140000024
Value of, aboveThe notation is: the serial number of the code stream segment,
if:
Figure BDA0002525928140000025
step (2.9) is performed,
if:
Figure BDA0002525928140000026
step (2.10) is performed,
step (2.9), at the next monitoring time T(n+1)Down-regulated of X'HTo 0.95X'HRepeating the steps (2.7) to (2.8), and circularly iterating until a certain time T is metnWhen the temperature of the water is higher than the set temperature,
Figure BDA0002525928140000027
in the above-mentioned order of magnitude,
step (2.10), thereafter, at speed
Figure 2
The rest of the time length is played at the same speed until the code length is played.
The invention has the advantages that: under the condition that delta T is approximately equal to 0 and no code stream is output in delta T, the code stream can be output at THWithin the playing time of the code stream, the adjusted code stream can be at the set original code stream speed XHThe code stream of the rated content in the original code length L is completely played within the allowable error range, and the code stream can also be played at the speed X expected by the user after the interference disappearsExpectation of,Expectation of-XH)<0.5XHI.e. by
Figure BDA0002525928140000029
Figure BDA00025259281400000210
To achieve the same object.
Description of the drawings:
FIG. 1 is a flowchart of the process of the present invention
FIG. 2. undisturbed code stream (L)2-L1) The filling process of (1).
FIG. 3 shows the whole process of code length L playing
Fig. 4. control procedure of replay
The specific implementation mode is as follows:
the output time of the interference disappearance moment cutting-off temporary storage is used as an entry point, and the subsequent playing time length is divided into two sections, namely a compensation stage and a replay stage of the interfered code stream.
Utilizes △ t time slot of two-stage intermediate codeless stream output to compensate interfered codestream, and uses △ t end point as XHStart of + -5% split-rate replay.
In the compensation phase, the undisturbed code stream (L) in the memory is modified by the address field in the memory2-L1) The compensation is realized by filling the register with the memory address segment of the register.
During re-broadcasting, the remaining broadcasting time is divided into a plurality of monitoring time intervals at will, the output code stream difference between the rated broadcasting speed and the re-broadcasting speed is monitored in the opened monitoring time interval, and the re-broadcasting speed is quickly reduced by taking 5 percent of the re-broadcasting speed as a step length, so that the re-broadcasting speed is quickly closed to the broadcasting speed, and the purpose of uniformly broadcasting the remaining code length at the rated broadcasting speed is realized more quickly. The error is 5% of the output code stream segment when playing according to the rated playing time, so that the error is consistent with the down-regulation step length.

Claims (1)

1. The method for controlling the playback of the video stream to be complete and played on time by the mobile phone after the interference disappears is characterized in that the method for enabling the video stream to be completely played at the rated playing speed before the interference according to the original code length after the interference disappears is realized under the control of a mobile phone CPU according to the following steps:
step (1), initialization
The interference is defined as: besides the man-made interference, the method also comprises the following steps:
multipath interference, which is characterized in that the output of the dynamic temporary memory of the mobile phone, hereinafter referred to as temporary memory, is an interrupted code stream,
blind zone disturbance, characterized by the output of said register being zeroed,
thunder and lightning interference, and is characterized by that the output of the described temporary storage is discontinuous code stream,
strong electric interference, characterized in that the output of said register is a strong electric pulse signal,
the CPU sets: video code stream length L, rated playing speed XHRated playing time TH
A mobile phone APP for adjusting the playing speed of the video frame,
and (2) under the control of the CPU, realizing a playing method with a playing code length of L according to a rated playing speed and completely after the interference disappears according to the following steps:
step (2.1), CPU fetches the video stream with code length L controlled in advance from the mobile phone memory, hereinafter referred to as memory, and inputs it into the temporary memory,
step (2.2), at rated playing speed XHSending the video stream with the code length L in the temporary storage into a mobile phone video player to play at the limit playing speed XHThe normal-state playing is carried out,
step (2.3), during the interference action, recording the interference occurrence type and the occurrence time t1Moment t of disappearance, i.e. reappearance of normal video2The length of the code played when interference occurs, L1The output code length L of the register before the interference disappears2Calculating the interference duration (t)2-t1) Code length segment (L) to be interfered with2-L1) At time t2The output of the register is controlled to be zero,
a step (2.4) of fetching said code length segment (L) from said memory2-L1) The code length L stored in the temporary memory is embedded and linked1Then, the steps are as follows:
step (2.4.1), finding out the starting point of the code length L waiting for playback from the memory, and finding out the code length L in sequence1、L2And the address of the location of their memory,
step (2.4.2) of finding code length segments (L) not affected by interference in the memory2-L1) The code length (L) not affected by interference is determined according to the address in the register2-L1) Inserting the code length L according to the storage address in the temporary storage1After that, the air conditioner is started to work,
step (2.5) of calculating the playback length (L) of the remaining time period2-L1) And a new broadcast code length (L-L)2) Within Δ t, no code stream output, these two code length segments (L-L)1) Is called as the to-be-selected play speed, hereinafter referred to as the to-be-selected play speed X'H,
Figure FDA0002525928130000011
X′H>XHRecording the time period delta t required for executing the steps (2.4) to (2.5),
step (2.6), at time t3=t2+ Δ t, at speed X'HPlaying residual code length (L-L)1),
Step (2.7), respectively calculating the set monitoring time period TnRespectively at a speed XH、X′HCode stream segment for broadcasting
Figure FDA0002525928130000012
The method comprises the following steps:
step (2.7.1), dividing the rest playing time into N segments equally, wherein N is an optional positive integer and is a finite value, and obtaining a playing speed monitoring time interval sequence TN,TN={Tn},n=1,2....n....N,TnReferred to as the monitoring period of time,
step (2.7.2), during the monitoring period TnRespectively calculated at a speed XHCode stream segment played during playing
Figure FDA0002525928130000013
The value of the water-soluble polymer is a constant value,
Figure FDA0002525928130000014
Figure FDA0002525928130000015
to take the speed
Figure FDA0002525928130000016
When in playing, the code stream segment is played,
step (2.8) judgment
Figure FDA0002525928130000017
The values, superscript are: the serial number of the code stream segment,
if:
Figure FDA0002525928130000018
step (2.9) is performed,
if:
Figure FDA0002525928130000019
step (2.10) is performed,
step (2.9), at the next monitoring time T(n+1)Down-regulated of X'HTo 0.95X'HRepeating the steps (2.7) to (2.8), and circularly iterating until a certain time T is metnWhen the temperature of the water is higher than the set temperature,
Figure FDA00025259281300000110
in the above-mentioned order of magnitude,
step (2.10), thereafter, at speed
Figure FDA0002525928130000021
The rest of the time length is played at the same speed until the code length is played.
CN202010504224.1A 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears Active CN111726458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010504224.1A CN111726458B (en) 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010504224.1A CN111726458B (en) 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears

Publications (2)

Publication Number Publication Date
CN111726458A true CN111726458A (en) 2020-09-29
CN111726458B CN111726458B (en) 2021-09-14

Family

ID=72565944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010504224.1A Active CN111726458B (en) 2020-06-05 2020-06-05 Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears

Country Status (1)

Country Link
CN (1) CN111726458B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2768327Y (en) * 2005-01-14 2006-03-29 北京蓝拓扑电子技术有限公司 Code stream comparison device and system for digital signal transmission
CN106162022A (en) * 2015-04-08 2016-11-23 深圳市尼得科技有限公司 Method, system and the mobile terminal of a kind of quick broadcasting video
CN106851044A (en) * 2016-12-13 2017-06-13 深圳英飞拓科技股份有限公司 A kind of audio video synchronization back method and device
CN108600803A (en) * 2018-04-10 2018-09-28 普联技术有限公司 Back method, device, terminal device and the storage medium of multi-channel video code stream
CN109147831A (en) * 2018-09-26 2019-01-04 深圳壹账通智能科技有限公司 A kind of voice connection playback method, terminal device and computer readable storage medium
EP3544305A1 (en) * 2015-05-15 2019-09-25 Spotify AB A method and a system for performing scrubbing in a video stream
CN110581973A (en) * 2019-09-30 2019-12-17 普联技术有限公司 data playback method and device, terminal equipment and storage medium
CN110719535A (en) * 2019-09-02 2020-01-21 北方工业大学 Adaptive equalization adjustment method for downlink video stream code rate at video source end
WO2020043104A1 (en) * 2018-08-30 2020-03-05 华为技术有限公司 Video screen projection method, device, computer equipment and storage medium
CN111163364A (en) * 2019-12-31 2020-05-15 北方工业大学 Method for implementing equalization control of signal code rate sent to base station by video playing website

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2768327Y (en) * 2005-01-14 2006-03-29 北京蓝拓扑电子技术有限公司 Code stream comparison device and system for digital signal transmission
CN106162022A (en) * 2015-04-08 2016-11-23 深圳市尼得科技有限公司 Method, system and the mobile terminal of a kind of quick broadcasting video
EP3544305A1 (en) * 2015-05-15 2019-09-25 Spotify AB A method and a system for performing scrubbing in a video stream
CN106851044A (en) * 2016-12-13 2017-06-13 深圳英飞拓科技股份有限公司 A kind of audio video synchronization back method and device
CN108600803A (en) * 2018-04-10 2018-09-28 普联技术有限公司 Back method, device, terminal device and the storage medium of multi-channel video code stream
WO2020043104A1 (en) * 2018-08-30 2020-03-05 华为技术有限公司 Video screen projection method, device, computer equipment and storage medium
CN109147831A (en) * 2018-09-26 2019-01-04 深圳壹账通智能科技有限公司 A kind of voice connection playback method, terminal device and computer readable storage medium
CN110719535A (en) * 2019-09-02 2020-01-21 北方工业大学 Adaptive equalization adjustment method for downlink video stream code rate at video source end
CN110581973A (en) * 2019-09-30 2019-12-17 普联技术有限公司 data playback method and device, terminal equipment and storage medium
CN111163364A (en) * 2019-12-31 2020-05-15 北方工业大学 Method for implementing equalization control of signal code rate sent to base station by video playing website

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AILING XIAO等: "Two-phase rate adaptation strategy for improving real-time video QoE in mobile networks", 《CHINA COMMUNICATIONS》 *
冯毅 等: "基于用户体验的视频网络规划建设方法研究", 《邮电设计技术》 *

Also Published As

Publication number Publication date
CN111726458B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
EP2023627A2 (en) Content playback device, content playback method, computer-readable storage medium, and content playback system
CN109218847B (en) Download control method and device and multimedia terminal
WO2013052265A1 (en) Method to match input and output timestamps in a video encoder and advertisement inserter
CN101516037B (en) Data processor
TW200735046A (en) Recording device, recording method, reproducing device, reproducing method, program, and recording medium
CN105448312A (en) Audio synchronous play method, device and system
CN110677774B (en) Volume self-adaptive adjusting method and device, computer equipment and storage medium
CN104918101B (en) A kind of method, playback terminal and the system of automatic recording program
CN106658135A (en) Audio and video playing method and device
CN107333147A (en) A kind of video buffer control method, terminal and storage device
WO2017124447A1 (en) Method and system for controlling sound volume in theatre
CN103428584A (en) Method and device for keeping synchronization of audio and video on multimedia playing platform
CN111726458B (en) Method for controlling playback video stream to be complete and played on time by mobile phone after interference disappears
CN106331820B (en) Audio and video synchronization processing method and device
CN104104997A (en) Television silent starting control method, device and system
US20170034575A1 (en) Camera-connection-type sound recording apparatus
CN109524024B (en) Audio playing method, medium, device and computing equipment
CN104516720B (en) Volume adjusting method, device and electronic equipment
CN103595363B (en) A kind of method for controlling volume, device and terminal
CN112954397B (en) Data transmission adjusting method and device
CN111556467B (en) Mobile phone interconnection audio playing processing method
JP2006019888A (en) Recorder and recording control method
WO2021008350A1 (en) Audio playback method and apparatus and computer readable storage medium
CN105677289A (en) Information processing method and electronic equipment
CN106708463B (en) Method and device for adjusting volume of shot video file

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