CN115567734B - 5G high-definition video playing system and method - Google Patents

5G high-definition video playing system and method Download PDF

Info

Publication number
CN115567734B
CN115567734B CN202211156258.1A CN202211156258A CN115567734B CN 115567734 B CN115567734 B CN 115567734B CN 202211156258 A CN202211156258 A CN 202211156258A CN 115567734 B CN115567734 B CN 115567734B
Authority
CN
China
Prior art keywords
module
preset
network speed
video
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211156258.1A
Other languages
Chinese (zh)
Other versions
CN115567734A (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.)
Xinguomai Digital Culture Co ltd
Original Assignee
Xinguomai Digital Culture Co ltd
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 Xinguomai Digital Culture Co ltd filed Critical Xinguomai Digital Culture Co ltd
Priority to CN202211156258.1A priority Critical patent/CN115567734B/en
Publication of CN115567734A publication Critical patent/CN115567734A/en
Application granted granted Critical
Publication of CN115567734B publication Critical patent/CN115567734B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • 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/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/442Monitoring 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/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • 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/442Monitoring 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/44245Monitoring the upstream path of the transmission network, e.g. its availability, bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a playing system and a playing method of a 5G high-definition video, wherein the playing system comprises a playing module; the judging module is used for comparing the acquired network speed change in the first preset time with the preset network speed change and judging the starting of the cache module; the system comprises a buffer module, a switching module and a playing module, wherein the buffer module is used for comparing the uniformity of the network speed change in a first preset time with the preset uniformity, and adjusting the time length of the buffer video once; the switching module is used for judging whether the cache video is played to the playing module according to the comparison of the acquired network speed and the replacement network speed; and the adjusting module is used for comparing the acquired recovery degree with a preset recovery degree and correcting the number of the first preset time segment segments.

Description

5G high-definition video playing system and method
Technical Field
The invention relates to the field of communication, in particular to a playing system of a 5G high-definition video.
Background
Along with the development of science and technology, 5G technique starts to get into people's life, watches the video through 5G network and has become a common leisure mode, and people generally can select the high definition mode when watching the video, but when watching, because external environment to the influence of net speed, often can take place to block situations such as, in order to guarantee to watch, at present often can guarantee the smoothness of broadcast through reducing the image quality, influence people's viewing experience.
The Chinese patent ZL 201910920193.5 discloses a system for realizing real-time round playing of multi-channel 4K high-definition video of a public transport television based on 5G, which is characterized in that a multi-channel 4K high-definition video stream is generated through a high-definition 4K camera and is transmitted to a streaming media server for storage, a recording server pulls the video stream and slices the video stream, and then a playing APP terminal is provided with slices; the play APP terminal downloads the video stream slice from the recording server through the 5G network according to the editing list setting to play, the whole video is downloaded, more storage space is occupied, the video cannot be pre-stored in advance according to the network speed change, accurate replacement is achieved, and the user can smoothly watch the video.
Disclosure of Invention
Therefore, the invention provides a playing system of 5G high-definition video, which can solve the technical problem that the buffer time duty ratio cannot be controlled according to the network speed and the network speed uniformity so that the playing of the high-definition video accords with the preset standard.
In order to achieve the above object, in one aspect, the present invention provides a playing system of a 5G high definition video, including:
a play module for playing video;
the judging module is used for judging the starting of the cache module, wherein when the judging module obtains that the network speed change in the first preset time is less than or equal to the preset network speed change, the judging module judges to start the cache module;
the system comprises a buffer module, a switching module and a playing module, wherein the buffer module is used for comparing the uniformity of the network speed change in a first preset time with the preset uniformity, and adjusting the time length of the buffer video once;
the switching module is used for judging whether the cache video is called to be played by the playing module, wherein when the network speed acquired by the switching module is smaller than or equal to a preset replacement network speed, the switching module judges that the cache video is called to be played by the playing module;
the adjusting module is used for correcting the number of the first preset time segment, wherein when the switching module judges that the cached video is fetched to the playing module to be played, the adjusting module obtains the recovery degree according to the network speed change amount in the second preset time and the time length occupied ratio of the cached video of the caching module, and when the recovery degree obtained by the adjusting module does not meet the preset standard, the adjusting module adjusts the number of the first preset time segment.
Further, the judging module obtains the network speed change Deltad within a first preset time t, and sets Deltad=d2-D1, wherein D1 is the network speed obtained by the judging module when the first preset time starts, D2 is the network speed obtained by the judging module when the first preset time ends, the judging module compares the obtained network speed change with the preset network speed change DeltaD, and judges whether to start the caching module or not, wherein,
when Deltad is less than or equal to DeltaD, the judging module judges to start the caching module;
when Deltad > DeltaD, the judging module judges that the caching module is not started, and the playing module continues to play the online video.
Further, when the judging module judges to start the caching module, the caching module presets uniformity R, the caching module compares the acquired network speed change uniformity R within a first preset time with preset uniformity, adjusts the time duration ratio of the cached video once, wherein,
when R is less than or equal to R1, the caching module judges that the time length duty ratio of the cached video is increased;
when R1 is more than R and less than R2, the buffer module does not adjust the time duration duty ratio of the buffer module to buffer the video;
when R is more than or equal to R2, the caching module judges that the duration duty ratio of the cached video is reduced;
the method comprises the steps that a cache module presets uniformity R, a first preset uniformity R1 and a second preset uniformity R2 are set, the time length of the cache module for caching videos is determined according to the total time length S of the videos and the time length S of the played videos, and P=l/(S-S) is set, wherein l is the standard time length of the cache module preset for caching the videos.
Further, when the uniformity of the network speed change in the first preset time acquired by the caching module is smaller than or equal to the first preset uniformity, the caching module determines that the time length duty ratio P of the cached video is increased to P1, p1=p× (1+|r1-r|/R1) is set, and when the uniformity of the network speed change in the first preset time acquired by the caching module is larger than or equal to the second preset uniformity, the caching module determines that the time length duty ratio P of the cached video is reduced to P2, and p2=p× (1- |r2-r|/R2) is set.
Further, the uniformity r is determined according to the first preset time intranet speed change, and r= (|Δd1- Δd' |is set 2 /△d’)×(|△d2-△d’| 2 /△d’)×···×(|△dn-△d’| 2 And/. DELTA.dL '), wherein the buffer module equally divides the first preset time into n sections, DELTA.d1 is the network speed change acquired by the buffer module at the first preset time and the first section preset time t1, DELTA.d2 is the network speed change, delta dn, acquired by the buffer module at the first preset time and the second section preset time t2, is the network speed change acquired by the buffer module at the first preset time and the nth section preset time tn, wherein DELTA.d ' is the average network speed change acquired by the buffer module, and the setting DELTA.d ' = (DELTAd 1+ [ DELTA.d2+ & DEG+ & DELTA.d2)/n is a natural number which is not zero.
Further, the switching module presets the replacement network speed D0, compares the obtained network speed D with the preset replacement network speed, judges whether to call the cache video to the playing module for playing, wherein,
when D is less than or equal to D0, the switching module judges that the cache video is called to the playing module for playing;
when D is more than D0, the switching module judges that the cache video is not called to the playing module for playing.
Further, when the switching module determines to call the cache video to the playing module for playing, the cache module obtains the real-time network speed D 'at the moment and compares the real-time network speed D' with the preset network speed D, and adjusts the time duration duty ratio of the cache video for the second time, wherein,
when D is less than or equal to D1, the buffer module judges that the time period of the buffered video is reduced to be the ratio Pi to Pi1, and sets
Figure BDA0003858807660000031
When D1 is more than D and less than D2, the buffer module does not adjust the duration duty ratio of the buffered video;
when D is greater than or equal to D2, theThe buffer module judges that the time period duty ratio Pi of the buffer video is increased to Pi2, and sets
Figure BDA0003858807660000032
The cache module presets a network speed D, a first preset network speed D1 and a second preset network speed D2, i=1, 2.
Further, when the switching module determines to call the cache video to the playing module for playing, the adjusting module obtains the real-time restoration degree E and compares the real-time restoration degree E with the preset restoration degree E to correct the number of the first preset time segment segments, wherein,
when E is less than or equal to E1, the adjusting module selects a first preset adjusting parameter G1 to increase the number of first preset time segment segments n to n1, n1=n×G1 is set, and the caching module increases the duration ratio of the cached video;
when E1 is less than E and less than E2, the adjusting module does not correct the first preset time segment number;
when E is more than or equal to E2, the adjusting module selects a second preset adjusting parameter G2 to increase the number of the first preset time segment segments n to n2, and sets n2=n×G2, and when the playing of the cache video is finished, the playing module starts to play the online video;
the adjusting module presets the restoration degree E, sets a first preset restoration degree E1 and a second preset restoration degree E2, presets an adjusting parameter G, sets a first preset adjusting parameter G1 and a second preset adjusting parameter G2, wherein the first preset adjusting parameter and the second preset adjusting parameter are positive integers. Further, the restoration degree e is determined according to the network speed variation Deltaw in a second preset time and the duration ratio Pij of the video cached by the caching module, and is set
Figure BDA0003858807660000041
Where j=1, 2.
On the other hand, the invention provides a playing method of 5G high definition video, comprising the steps of,
step S1, the judging module compares the acquired network speed change in the first preset time with the preset network speed change and judges the starting of the cache module;
step S2, when the judging module judges that the caching module is started to cache the video, the caching module compares the uniformity of the network speed change in the first preset time with the preset uniformity, and adjusts the time duration ratio of the cached video once;
step S3, the switching module judges that the cache video is called to be played by the playing module according to the comparison of the acquired network speed and the replacement network speed, and when the switching module judges that the cache video is called to be played by the playing module, the caching module compares the acquired real-time network speed with the preset network speed and secondarily adjusts the duration ratio of the cache video;
and S4, when the switching module judges that the cached video is called to the playing module for playing, the adjusting module acquires the recovery degree according to the network speed change amount in the second preset time and the time length occupied by the cached video of the caching module, compares the acquired recovery degree with the preset recovery degree, and corrects the number of the first preset time segment segments.
Compared with the prior art, the method has the advantages that the playing module is arranged, the judging module, the caching module, the switching module and the adjusting module are used for comparing the acquired network speed change in the first preset time with the preset network speed change, judging the starting of the caching module, not caching all videos and saving storage space, when the judging module judges that the caching module is started, the caching module compares the acquired network speed change uniformity in the first preset time with the preset uniformity, once adjusts the time length ratio of the caching videos, compares the acquired network speed with the preset replacement network speed, judges that the caching videos are played to the playing module, when the switching module judges that the caching videos are played to the playing module, the caching module compares the acquired real-time network speed with the preset network speed, adjusts the time length ratio of the caching videos for the second time, guarantees the quality and the speed of the caching videos, when the switching module judges that the caching videos are played to the playing module judges that the caching videos are played, the second time length ratio of the caching module is adjusted to the high-definition time ratio of the caching module is adjusted to the playing module, and the user can restore the full-time length ratio of the caching module to the first time length ratio is recovered, and the user can restore the full-length ratio of the playing module to the high-time ratio is recovered according to the preset time ratio of the first time ratio.
In particular, the judging module obtains the network speed and calculates the network speed change within a first preset time, the judging module compares the obtained network speed change with the preset network speed change, and judges the starting of the cache module, wherein when the network speed change obtained by the judging module is smaller than or equal to the preset network speed change, the trend of the network speed reduction at this time is indicated, after a period of time, the network speed cannot support playing of the high-definition video, so that the judging module judges to start the cache module, and starts to cache the video after the current user watches progress, when the network speed change obtained by the judging module is larger than the preset network speed change, the network speed is good at this time, the cache is not required, and the judging module judges not to start the cache module, and keeps playing the real-time video through the playing module.
In particular, the cache module obtains the uniformity of the network speed change according to the network speed change in the first preset time, the cache module compares the obtained uniformity with the preset uniformity, and primarily adjusts the time length proportion of the cached video, wherein when the uniformity of the network speed change obtained by the cache module is smaller than or equal to the first preset uniformity, the network speed is reduced, but the speed of the reduction is smaller, the fluctuation of the network speed is gentle, and more high-definition video can be cached, so that the cache module judges that the time length proportion of the cached video is increased, when the uniformity of the network speed change obtained by the cache module is larger than or equal to the second preset uniformity, the speed of the network speed reduction is larger, the fluctuation of the network speed is more severe, and in order to ensure that the cached video is high-definition video, the cache module judges that the time length proportion of the cached video is reduced.
In particular, the switching module compares the acquired network speed with a preset replacement network speed, and judges that the cache video is called to play the playing module, wherein when the network speed acquired by the switching module is smaller than or equal to the replacement network speed, the network speed is poor, and the real-time playing of the high-definition video is not supported, the switching module judges that the cache video is called to play the playing module, so as to ensure the video quality, when the network speed acquired by the switching module is larger than the replacement network speed, the network speed is good, the switching module judges that the cache video is not called to play the playing module, and in the process of playing the cache video, if the network speed is recovered to be larger than the replacement network speed, the switching module switches to the playing module to play the online video after the cache video is completely played.
In particular, when the switching module determines that the cache video is invoked to the playing module to be played, the cache module obtains the real-time network speed at the moment and compares the real-time network speed with the preset network speed, and the time length of the cache video is secondarily adjusted, wherein when the real-time network speed obtained by the cache module is smaller than or equal to the first preset network speed, the network speed at the moment is poorer, in order to ensure the quality of the cache video of the cache module, the cache module determines to reduce the time length of the cache video, and when the real-time network speed obtained by the cache module is larger than or equal to the second preset network speed, the cache module determines that the network speed at the moment is higher, and more cache videos can be obtained, so that the cache module increases the time length of the cache video.
In particular, the adjustment module obtains the restoration degree according to the network speed variation in the second preset time and the time length occupied by the video cached by the cache module, and the adjustment module compares the obtained restoration degree with the preset restoration degree, so as to correct the number of segments of the first preset time, wherein when the restoration degree obtained by the adjustment module is smaller than or equal to the first preset restoration degree, the adjustment module indicates that the time length occupied by the video cached by the cache module is smaller than or equal to the first preset restoration degree, so that the user can not watch the high-definition cache video in a period of poor network speed, and therefore the time length occupied by the cache module can be properly increased to meet the current playing requirement, when the restoration degree obtained by the adjustment module is larger than or equal to the second preset restoration degree, the time length occupied by the cache module is longer than the time length occupied by the video cached by the adjustment module, so as to avoid the problem of adjustment of the time length occupied by the cache module when the video cached by the adjustment module is played, namely, the time length occupied by the user is longer than or equal to the second preset restoration degree, in this playing, and the time length occupied by the adjustment module is more accurate, so that the time length occupied by the user is not equal to the time length occupied by the adjustment module when the adjustment module is needed again.
Drawings
Fig. 1 is a schematic diagram of a playing system of a high-definition video according to embodiment 5G of the present invention;
fig. 2 is a flowchart of a playing method of a high-definition video according to embodiment 5G of the present invention.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Fig. 1 is a schematic diagram of a playing system of a high-definition video according to embodiment 5G of the present invention, including a playing module for playing the video;
the judging module is used for judging the starting of the cache module, wherein when the judging module obtains that the network speed change in the first preset time is less than or equal to the preset network speed change, the judging module judges to start the cache module;
the system comprises a buffer module, a switching module and a playing module, wherein the buffer module is used for comparing the uniformity of the network speed change in a first preset time with the preset uniformity, and adjusting the time length of the buffer video once;
the switching module is used for judging whether the cache video is called to be played by the playing module, wherein when the network speed acquired by the switching module is smaller than or equal to a preset replacement network speed, the switching module judges that the cache video is called to be played by the playing module;
the adjusting module is used for correcting the number of the first preset time segment, wherein when the switching module judges that the cached video is fetched to the playing module to be played, the adjusting module obtains the recovery degree according to the network speed change amount in the second preset time and the time length occupied ratio of the cached video of the caching module, and when the recovery degree obtained by the adjusting module does not meet the preset standard, the adjusting module adjusts the number of the first preset time segment.
The judging module obtains the network speed change Deltad within a first preset time t, and sets Deltad=d2-D1, wherein D1 is the network speed obtained by the judging module when the first preset time starts, D2 is the network speed obtained by the judging module when the first preset time ends, the judging module compares the obtained network speed change with the preset network speed change Deltad, and judges whether to start the buffer module or not, wherein,
when Deltad is less than or equal to DeltaD, the judging module judges to start the caching module;
when Deltad > DeltaD, the judging module judges that the caching module is not started, and the playing module continues to play the online video.
Specifically, the judging module obtains the network speed and calculates to obtain the network speed change in the first preset time, the judging module compares the obtained network speed change with the preset network speed change and judges the starting of the cache module, wherein when the network speed change obtained by the judging module is smaller than or equal to the preset network speed change, the trend of the network speed reduction at this time is indicated, after a period of time, the network speed cannot support playing of the high-definition video, so that the judging module judges to start the cache module and starts to cache the video after the current user watches progress, when the network speed change obtained by the judging module is larger than the preset network speed change, the network speed is good at this time, the cache is not needed, and the judging module judges not to start the cache module and keeps playing the real-time video through the playing module.
When the judging module judges that the caching module is started, the caching module presets uniformity R, the caching module compares the acquired network speed change uniformity R within a first preset time with preset uniformity, adjusts the time length occupied ratio of the cached video once, wherein,
when R is less than or equal to R1, the caching module judges that the time length duty ratio of the cached video is increased;
when R1 is more than R and less than R2, the buffer module does not adjust the time duration duty ratio of the buffer module to buffer the video;
when R is more than or equal to R2, the caching module judges that the duration duty ratio of the cached video is reduced;
the method comprises the steps that a cache module presets uniformity R, a first preset uniformity R1 and a second preset uniformity R2 are set, the time length of the cache module for caching videos is determined according to the total time length S of the videos and the time length S of the played videos, and P=l/(S-S) is set, wherein l is the standard time length of the cache module preset for caching the videos.
When the uniformity of the network speed change in the first preset time acquired by the caching module is smaller than or equal to the first preset uniformity, the caching module judges that the time length duty ratio P of the cached video is increased to P1, P1=Px (1+|R1-r|/R1) is set, and when the uniformity of the network speed change in the first preset time acquired by the caching module is larger than or equal to the second preset uniformity, the caching module judges that the time length duty ratio P of the cached video is reduced to P2, and P2=Px (1- |R2-r|/R2) is set.
The uniformity r is determined according to the first preset time intranet speed change, and r= (|Δd1- Δd' |is set 2 /△d’)×(|△d2-△d’| 2 /△d’)×···×(|△dn-△d’| 2 And/. DELTA.dL '), wherein the buffer module equally divides the first preset time into n sections, DELTA.d1 is the network speed change acquired by the buffer module at the first preset time and the first section preset time t1, DELTA.d2 is the network speed change, delta dn, acquired by the buffer module at the first preset time and the second section preset time t2, is the network speed change acquired by the buffer module at the first preset time and the nth section preset time tn, wherein DELTA.d ' is the average network speed change acquired by the buffer module, and the setting DELTA.d ' = (DELTAd 1+ [ DELTA.d2+ & DEG+ & DELTA.d2)/n is a natural number which is not zero.
Specifically, the cache module obtains the uniformity of the network speed change according to the network speed change in the first preset time, the cache module compares the obtained uniformity with the preset uniformity, and primarily adjusts the time length proportion of the cached video, wherein when the uniformity of the network speed change obtained by the cache module is smaller than or equal to the first preset uniformity, the network speed is reduced, but the speed of the reduction is smaller, the fluctuation of the network speed is gentle, and more high-definition video can be cached, so that the cache module judges that the time length proportion of the cached video is increased, when the uniformity of the network speed change obtained by the cache module is larger than or equal to the second preset uniformity, the speed of the network speed reduction is larger, the fluctuation of the network speed is more severe, and in order to ensure that the cached video is high-definition video, the cache module judges that the time length proportion of the cached video is reduced.
The switching module presets the replacement network speed D0, compares the acquired network speed D with the preset replacement network speed, judges whether to call the cache video to the playing module for playing, wherein,
when D is less than or equal to D0, the switching module judges that the cache video is called to the playing module for playing;
when D is more than D0, the switching module judges that the cache video is not called to the playing module for playing.
Specifically, the switching module compares the acquired network speed with a preset replacement network speed, and plays the cache video to the playing module to judge, wherein when the network speed acquired by the switching module is smaller than or equal to the replacement network speed, the network speed is poor, and the real-time playing of the high-definition video is not enough, the switching module judges that the cache video is called to play the playing module to ensure the video quality, when the network speed acquired by the switching module is larger than the replacement network speed, the network speed at the moment is good, the switching module judges that the cache video is not called to play the playing module, and in the process of playing the cache video, if the network speed is recovered to be larger than the replacement network speed, the switching module switches to the playing module to play the online video after the cache video is completely played.
When the switching module judges that the cache video is called to the playing module for playing, the cache module obtains the real-time network speed D 'at the moment and compares the real-time network speed D' with the preset network speed D, and the time length proportion of the cache video is adjusted for the second time, wherein,
when D is less than or equal to D1, the buffer module judges that the time period of the buffered video is reduced to be the ratio Pi to Pi1, and sets
Figure BDA0003858807660000091
When D1 is more than D and less than D2, the buffer module does not adjust the duration duty ratio of the buffered video;
when D is more than or equal to D2, the buffer module judges that the time period of increasing the buffer video is from the time ratio Pi to Pi2, and sets
Figure BDA0003858807660000092
The cache module presets a network speed D, a first preset network speed D1 and a second preset network speed D2, i=1, 2.
Specifically, when the switching module determines that the cache video is invoked to the playing module to be played, the cache module obtains the real-time network speed at the moment and compares the real-time network speed with the preset network speed, and the time length of the cache video is secondarily adjusted, wherein when the real-time network speed obtained by the cache module is smaller than or equal to the first preset network speed, the network speed at the moment is poorer, in order to ensure the quality of the cache video of the cache module, the cache module determines to reduce the time length of the cache video, and when the real-time network speed obtained by the cache module is larger than or equal to the second preset network speed, the cache module determines that the network speed at the moment is higher, and more cache videos can be obtained, so that the cache module increases the time length of the cache video.
When the switching module judges that the cache video is called to the playing module for playing, the adjusting module obtains the real-time restoration degree E and compares the real-time restoration degree E with the preset restoration degree E to correct the number of the first preset time segment segments, wherein,
when E is less than or equal to E1, the adjusting module selects a first preset adjusting parameter G1 to increase the number of first preset time segment segments n to n1, n1=n×G1 is set, and the caching module increases the duration ratio of the cached video;
when E1 is less than E and less than E2, the adjusting module does not correct the first preset time segment number;
when E is more than or equal to E2, the adjusting module selects a second preset adjusting parameter G2 to increase the number of the first preset time segment segments n to n2, and sets n2=n×G2, and when the playing of the cache video is finished, the playing module starts to play the online video;
the adjusting module presets the restoration degree E, sets a first preset restoration degree E1 and a second preset restoration degree E2, presets an adjusting parameter G, sets a first preset adjusting parameter G1 and a second preset adjusting parameter G2, wherein the first preset adjusting parameter and the second preset adjusting parameter are positive integers.
Specifically, the present invention does not specifically limit the adjustment parameters, and the embodiment of the present invention provides a preferred embodiment, in which g1=4-10 and g2=3-9.
The restoration degree e is determined according to the network speed variation Deltaw in a second preset time and the duration ratio Pij of the video cached by the caching module, and is set
Figure BDA0003858807660000101
Where j=1, 2.
Specifically, the adjustment module obtains the restoration degree according to the network speed variation in the second preset time and the time length occupied by the video cached by the cache module, the adjustment module compares the obtained restoration degree with the preset restoration degree, and corrects the number of the segments of the first preset time, wherein when the restoration degree obtained by the adjustment module is smaller than or equal to the first preset restoration degree, the adjustment module indicates that the time length occupied by the video cached by the cache module is smaller than or equal to the first preset restoration degree, and is insufficient to ensure that a user watches the high-definition cache video in a period of poor network speed, so that the time length occupied by the cache module can be properly increased to meet the current playing requirement, when the restoration degree obtained by the adjustment module is larger than or equal to the second preset restoration degree, the time length occupied by the cache module is longer than the time length occupied by the video cached by the adjustment module, the waste storage space is caused, and when the video cached by the adjustment module starts to play the video, but the online condition can influence the watching experience of the user, the time length occupied by the cache module is prevented, and the time length occupied by the cache module is adjusted to be more accurately divided according to the time length occupied by the adjustment module when the time length occupied by the cache module is more than or equal to the second preset restoration degree.
Fig. 2 is a flowchart of a playing method of a high-definition video of embodiment 5G of the present invention, which includes,
step S1, the judging module compares the acquired network speed change in the first preset time with the preset network speed change and judges the starting of the cache module;
step S2, when the judging module judges that the caching module is started to cache the video, the caching module compares the uniformity of the network speed change in the first preset time with the preset uniformity, and adjusts the time duration ratio of the cached video once;
step S3, the switching module judges that the cache video is called to be played by the playing module according to the comparison of the acquired network speed and the replacement network speed, and when the switching module judges that the cache video is called to be played by the playing module, the caching module compares the acquired real-time network speed with the preset network speed and secondarily adjusts the duration ratio of the cache video;
and S4, when the switching module judges that the cached video is called to the playing module for playing, the adjusting module acquires the recovery degree according to the network speed change amount in the second preset time and the time length occupied by the cached video of the caching module, compares the acquired recovery degree with the preset recovery degree, and corrects the number of the first preset time segment segments.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.

Claims (10)

1. A playback system for 5G high definition video, comprising:
a play module for playing video;
the judging module is used for judging the starting of the cache module, wherein when the judging module obtains that the network speed change in the first preset time is less than or equal to the preset network speed change, the judging module judges to start the cache module;
the buffer memory module is used for buffering videos, wherein the buffer memory module averagely divides a first preset time into n sections, acquires the uniformity of network speed change in a section and compares the uniformity with the preset uniformity, adjusts the time length of the buffered videos once, and when the switching module judges that the buffered videos are called to the playing module to be played, the buffer memory module compares the acquired real-time network speed with the preset network speed, and adjusts the time length of the buffered videos twice;
the switching module is used for judging whether the cache video is called to be played by the playing module, wherein when the network speed acquired by the switching module is smaller than or equal to a preset replacement network speed, the switching module judges that the cache video is called to be played by the playing module;
the adjusting module is used for correcting the first preset time segment number n, wherein when the switching module judges that the cached video is transferred to the playing module for playing, the adjusting module obtains the recovery degree according to the network speed change amount in the second preset time and the time length occupied ratio of the cached video of the caching module, and when the recovery degree obtained by the adjusting module does not meet the preset standard, the adjusting module adjusts the first preset time segment number.
2. The playback system of 5G high-definition video according to claim 1, wherein the determination module obtains a change Δd in a first preset time t, and sets Δd=d2-D1, wherein D1 is a network speed obtained by the determination module at the start of the first preset time, D2 is a network speed obtained by the determination module at the end of the first preset time, and the determination module compares the obtained change Δd in network speed with a preset change Δd in network speed, and determines whether to start the buffer module,
when Deltad is less than or equal to DeltaD, the judging module judges to start the caching module;
when Deltad > DeltaD, the judging module judges that the caching module is not started, and the playing module continues to play the online video.
3. The system for playing 5G high definition video according to claim 2, wherein the determining module determines that when the buffering module is started, the buffering module presets uniformity R, the buffering module compares the acquired uniformity R of the network speed change in the first preset time with the preset uniformity, adjusts the duration duty ratio P of the buffered video once to P1, wherein,
when R is less than or equal to R1, the caching module judges that the time length duty ratio of the cached video is increased;
when R1 is more than R and less than R2, the buffer module does not adjust the time duration duty ratio of the buffer module to buffer the video;
when R is more than or equal to R2, the caching module judges that the duration duty ratio of the cached video is reduced;
the method comprises the steps that a cache module presets uniformity R, a first preset uniformity R1 and a second preset uniformity R2 are set, the time length of the cache module for caching videos is determined according to the total time length S of the videos and the time length S of the played videos, and P=l/(S-S) is set, wherein l is the standard time length of the cache module preset for caching the videos;
when the uniformity of the network speed change acquired by the cache module is smaller than or equal to the first preset uniformity, the network speed is reduced, the speed of the reduction is small, the fluctuation of the network speed is gentle, and when the uniformity of the network speed change acquired by the cache module is larger than or equal to the second preset uniformity, the speed of the reduction of the network speed is large, and the fluctuation of the network speed is severe.
4. The system of claim 3, wherein p1=p× (1+|r1-r|/R1) when the uniformity of the network speed variation in the first preset time obtained by the buffer module is less than or equal to the first preset uniformity, p1=p× (1- |r2-r|/R2) when the uniformity of the network speed variation in the first preset time obtained by the buffer module is greater than or equal to the second preset uniformity, and p1=p when R1 < R2.
5. The system for playing 5G high definition video according to claim 4, wherein the uniformity r is according to the first preset timeInter-intranet speed change determination, setting r= (|Δd1- Δd' | 2 /△d’)×(|△d2-△d’|2/△d’)×···×(|△dn-△d’| 2 And/. DELTA.dL '), wherein the buffer module equally divides the first preset time into n sections, DELTA.d1 is the network speed change acquired by the buffer module at the first preset time and the first section preset time t1, DELTA.d2 is the network speed change, delta dn, acquired by the buffer module at the first preset time and the second section preset time t2, is the network speed change acquired by the buffer module at the first preset time and the nth section preset time tn, wherein DELTA.d ' is the average network speed change acquired by the buffer module, and the setting DELTA.d ' = (DELTAd 1+ [ DELTA.d2+ & DEG+ & DELTA.d2)/n is a natural number which is not zero.
6. The system of claim 5, wherein the switching module presets a replacement network speed D0, compares the obtained network speed D with the preset replacement network speed, and determines whether to call the cache video to the playing module for playing, wherein,
when D is less than or equal to D0, the switching module judges that the cache video is called to the playing module for playing;
when D is more than D0, the switching module judges that the cache video is not called to the playing module for playing.
7. The system of claim 6, wherein the switching module determines that the buffer video is fetched to the playing module for playing, the buffer module obtains the real-time network speed D 'at the moment and compares the real-time network speed D' with a preset network speed D, and adjusts the time duration duty ratio P1 of the buffer video to P2 for two times, wherein,
when D is less than or equal to D1, the buffer module judges to reduce the time duration duty ratio P1 to P2 of the buffer video, and sets
Figure QLYQS_1
When D1 is less than D2, the buffer module does not adjust the duration duty ratio of the buffered video, and p2=p1;
when D is more than or equal to D2, the caching module judges that the time length of the cached video is increased by the time ratio P1 to P2, and sets
Figure QLYQS_2
The cache module presets a network speed D, a first preset network speed D1 and a second preset network speed D2.
8. The system of claim 7, wherein the switching module determines that the real-time restoration degree E is compared with a preset restoration degree E when the switching module calls the buffer video to play the buffer video, and corrects the first preset time segment number, wherein,
when E is less than or equal to E1, the adjusting module selects a first preset adjusting parameter G1 to increase the number of first preset time segment segments n to n1, n1=n×G1 is set, and the caching module increases the duration ratio of the cached video;
when E1 is less than E and less than E2, the adjustment module does not correct the uniformity;
when E is more than or equal to E2, the adjusting module selects a second preset adjusting parameter G2 to increase the number of the first preset time segment segments n to n2, and sets n2=n×G2, and when the playing of the cache video is finished, the playing module starts to play the online video;
the adjusting module presets the restoration degree E, sets a first preset restoration degree E1 and a second preset restoration degree E2, presets an adjusting parameter G, sets a first preset adjusting parameter G1 and a second preset adjusting parameter G2, wherein the first preset adjusting parameter and the second preset adjusting parameter are positive integers.
9. The system of claim 8, wherein the recovery degree e is determined according to a network speed variation Δw in a second preset time and a duration ratio P2 of the video buffered by the buffering module, and is set
Figure QLYQS_3
Wherein.
10. A playing method of 5G high definition video, the playing system of 5G high definition video adopts the system of any one of claims 1-9, comprising,
step S1, the judging module compares the acquired network speed change in the first preset time with the preset network speed change and judges the starting of the cache module;
step S2, when the judging module judges that the caching module is started to cache the video, the caching module averagely divides the first preset time into n sections, obtains the uniformity of the network speed change in the first preset time in the sections, compares the uniformity with the preset uniformity, and adjusts the duration ratio of the cached video once;
step S3, the switching module judges that the cache video is called to be played by the playing module according to the comparison of the acquired network speed and the replacement network speed, and when the switching module judges that the cache video is called to be played by the playing module, the caching module compares the acquired real-time network speed with the preset network speed and secondarily adjusts the duration ratio of the cache video;
and S4, when the switching module judges that the cached video is called to the playing module for playing, the adjusting module acquires the recovery degree according to the network speed change amount in the second preset time and the time length occupied by the cached video of the caching module, compares the acquired recovery degree with the preset recovery degree, and corrects the number of the first preset time segment segments.
CN202211156258.1A 2022-09-22 2022-09-22 5G high-definition video playing system and method Active CN115567734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211156258.1A CN115567734B (en) 2022-09-22 2022-09-22 5G high-definition video playing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211156258.1A CN115567734B (en) 2022-09-22 2022-09-22 5G high-definition video playing system and method

Publications (2)

Publication Number Publication Date
CN115567734A CN115567734A (en) 2023-01-03
CN115567734B true CN115567734B (en) 2023-06-13

Family

ID=84741146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211156258.1A Active CN115567734B (en) 2022-09-22 2022-09-22 5G high-definition video playing system and method

Country Status (1)

Country Link
CN (1) CN115567734B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466498A2 (en) * 2010-12-20 2012-06-20 Comcast Cable Communications, LLC Cache management in a video content distribution network
CN103152651A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method and system of automatically adjusting play threshold of streaming media buffering area
CN103905820A (en) * 2012-12-28 2014-07-02 中国科学院声学研究所 Client side video quality self-adaption method and system based on SVC
CN107666593A (en) * 2017-08-28 2018-02-06 中国电子科技集团公司第二十八研究所 A kind of realtime video transmission method under fluctuation network environment
CN112822502A (en) * 2020-12-28 2021-05-18 阿里巴巴(中国)有限公司 Live broadcast jitter removal intelligent caching and live broadcast method, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101818577B1 (en) * 2011-04-05 2018-01-15 삼성전자 주식회사 Operation Method For Saving Power Consumption during a Communication Service And Portable Device supporting the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466498A2 (en) * 2010-12-20 2012-06-20 Comcast Cable Communications, LLC Cache management in a video content distribution network
CN103905820A (en) * 2012-12-28 2014-07-02 中国科学院声学研究所 Client side video quality self-adaption method and system based on SVC
CN103152651A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method and system of automatically adjusting play threshold of streaming media buffering area
CN107666593A (en) * 2017-08-28 2018-02-06 中国电子科技集团公司第二十八研究所 A kind of realtime video transmission method under fluctuation network environment
CN112822502A (en) * 2020-12-28 2021-05-18 阿里巴巴(中国)有限公司 Live broadcast jitter removal intelligent caching and live broadcast method, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
强化学习在自适应视频码率控制算法中的应用;肖强;白光伟;沈航;;小型微型计算机系统(02);全文 *

Also Published As

Publication number Publication date
CN115567734A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
US6707852B1 (en) Digital video signal encoder and encoding method
US6480541B1 (en) Method and apparatus for providing scalable pre-compressed digital video with reduced quantization based artifacts
US6469744B1 (en) Methods and apparatus for encoding, decoding and displaying images in a manner that produces smooth motion
JP4157617B2 (en) Method and apparatus for information stream frame synchronization
US6118817A (en) Digital video signal encoder and encoding method having adjustable quantization
US9060178B2 (en) Dynamic encode setting adjustment
CN110769296B (en) Video code rate self-adaptive adjusting mode based on local cache during transmission
US7394850B1 (en) Method and apparatus for performing digital-to-digital video insertion
US8831402B2 (en) Media stream processing
CN111182352B (en) Adaptive code stream control device and method for video playing
US7283175B2 (en) System and method for determining lip synchronization between audio and video in a digitized environment using buffer calculation
CN115567734B (en) 5G high-definition video playing system and method
JPH10285529A (en) Image editing device and image editing method
US8612552B2 (en) Method for buffering streaming data and a terminal device
US10659722B2 (en) Video signal receiving apparatus and video signal receiving method
US8938007B2 (en) Encoding apparatus, electronic device, imaging apparatus, and imaging system
JP4447443B2 (en) Image compression processor
CN113852855B (en) Method for self-adaptively starting rapid channel switching function
CA2388944C (en) Method and apparatus for performing digital-to-digital video insertion
CN117729376A (en) Video playing method, device, equipment and storage medium
JP2021158614A (en) Image processing apparatus and program
WO2005122585A1 (en) Method and apparatus for editing data streams
JPH10108171A (en) Image coding and multiplexer

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