CN113645228B - Video distribution method and system with self-adaptive code rate - Google Patents

Video distribution method and system with self-adaptive code rate Download PDF

Info

Publication number
CN113645228B
CN113645228B CN202110909370.7A CN202110909370A CN113645228B CN 113645228 B CN113645228 B CN 113645228B CN 202110909370 A CN202110909370 A CN 202110909370A CN 113645228 B CN113645228 B CN 113645228B
Authority
CN
China
Prior art keywords
video
module
distribution
code rate
platform
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
CN202110909370.7A
Other languages
Chinese (zh)
Other versions
CN113645228A (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.)
Beijing Lingyi Century Technology Co ltd
Original Assignee
Beijing Lingyi Century Technology 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 Beijing Lingyi Century Technology Co ltd filed Critical Beijing Lingyi Century Technology Co ltd
Priority to CN202110909370.7A priority Critical patent/CN113645228B/en
Publication of CN113645228A publication Critical patent/CN113645228A/en
Application granted granted Critical
Publication of CN113645228B publication Critical patent/CN113645228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities

Abstract

The invention relates to the technical field of video distribution, in particular to a video distribution method and system with self-adaptive code rate. The method comprises the steps of accessing a platform by a user, acquiring corresponding operation rights, connecting a partner platform, managing a protocol, transmitting video, auditing, dividing, cloud uploading and storage backup, calling a distribution protocol to distribute the video, converting the code rate of the video, intelligently distributing the video by the partner platform and the like. According to the invention, the video is converted into video files with different code rates at the cloud end by an intelligent code rate self-adaptive technology, and in the video distribution process, a client can automatically and smoothly switch to a video stream matched with the bandwidth according to the network quality change condition, so that a user can automatically access video content with the most suitable code rate, and the best viewing experience is obtained; meanwhile, the video can be synchronized to a plurality of terminal platforms at one time, so that the working efficiency of a video content provider is improved, the service quality is improved, and the running cost is reduced.

Description

Video distribution method and system with self-adaptive code rate
Technical Field
The invention relates to the technical field of video distribution, in particular to a video distribution method and system with self-adaptive code rate.
Background
Today, with the continuous increase of internet bandwidth, the distribution and playing of video content is becoming more and more popular in news entertainment, online education, social networking and self-media scenarios. Under the condition of meeting the cost budget, the quick distribution and playing of the video are guaranteed, and the method is also a continuously optimized direction of each video content provider. However, because the user terminals are various and the access network quality is uneven, the video code rates suitable for the user terminals are different, and the video with the fixed code rate cannot be smoothly played on different user terminals, the content service provider needs to provide video content with various code rates for users to select, so that the running cost of the service provider is increased. The code rate refers to the number of bits passing through per second of the code stream, i.e., the MPEG file, where the compression rate of the MPEG is generally achieved by specifying the code rate, the higher the code rate, the better the image quality and audio quality, and the lower the compression rate. However, the current common video distribution system cannot provide a fast and accurate video code rate self-adaptive method and system, which results in reduced video watching experience for users, and many times, a video receiving end system platform is required to additionally perform code rate switching operation after receiving the video, which results in reduced service quality and affects timeliness of video distribution.
Disclosure of Invention
The invention aims to provide a video distribution method and system with self-adaptive code rate, which are used for solving the problems in the background technology.
In order to solve the above technical problems, one of the purposes of the present invention is to provide a video distribution method with adaptive code rate, which includes the following steps:
s1, a user accesses a login video distribution system platform, the system authenticates legal identity of the user, and corresponding operation authorities are distributed according to the identity of the user;
s2, connecting the user with a partner platform after platform authorization in the operable right, and managing the associated account;
s3, loading a plurality of video distribution protocols into the system, managing the protocols, and presetting and configuring code rate parameters such as bandwidth, buffer length, content limitation and the like;
s4, the user acquires videos, the recorded videos are transmitted to a video distribution system after being locally buffered, the system automatically checks the content of the videos, the types of the videos are divided, and the divided videos are cloud-up in time and automatically stored for backup;
s5, according to the type of the video, an applicable distribution protocol is called, and the video is rapidly distributed to each cooperation platform which is connected and selected;
s6, in the video distribution process, transmitting a video code stream according to the type of the video;
s7, the video code stream reaches the cooperation platform, the system automatically selects and invokes a proper transcoding mode according to the configuration of the platform player to convert the code rate of the video, so that the video can be played smoothly and clearly with low time delay, and the situation is fed back to the video distribution system platform in real time;
and S8, the collaboration platform performs balance operations such as flow recommendation, flow pool grading, weight number distribution, decentralization and the like on the newly acquired video, and intelligent distribution of the video on the platform is realized.
It is an object of the present invention to provide a rate adaptive video distribution system, which is operative to implement the above rate adaptive video distribution method, comprising the steps of
The system comprises a basic building management unit, a video data unit, a code rate self-adaptive unit and a distribution management and control unit; the infrastructure management unit, the video data unit, the code rate self-adaptive unit and the distribution management and control unit are sequentially connected through network communication; the foundation management unit is used for managing and distributing foundation equipment, platforms and the like running in the support system; the video data unit is used for managing video data to be distributed; the code rate self-adaptive unit is used for providing a multi-code rate self-adaptive function for users to meet the use requirements of different user terminals and access networks; the distribution management and control unit is used for managing and monitoring the whole video distribution process;
the infrastructure management unit comprises a platform management module, an account management module, a user management module and a permission distribution module;
the video data unit comprises a shooting transmission module, an auditing and classifying module, a video cloud module and a storage and backup module;
the code rate self-adaptive unit comprises a code rate switching module, an algorithm management module, a parameter configuration module and a machine learning module;
the distribution management and control unit comprises a protocol management module, a transcoding mode module, an execution feedback module and an intelligent distribution module.
As a further improvement of the technical scheme, the platform management module, the account management module, the user management module and the permission distribution module are connected in sequence through network communication; the platform management module is used for managing a cooperative content service provider platform which is connected with the distribution system through authorization; the account management module is used for carrying out safety management on the account of the user accessing the video distribution system and providing a function of setting sub-accounts; the user management module is used for managing, identifying and authenticating the user identities of the using account and the sub-account; the permission distribution module is used for distributing corresponding operation permissions aiming at real-name identities of different users so as to avoid the account from being abused.
The collaboration content provider platform is mainly a mainstream video software platform, such as a cool platform, a second beat platform, a tremble platform and the like.
The account management items include, but are not limited to, secure login (account password, mobile phone verification code, fingerprint, face recognition, etc.), information management (adding, deleting, and modifying), video draft, video authority, etc.
Among them, the objects managed by the user include, but are not limited to, a main user, a sub user, an assistant, etc.
The limit items of the authority allocation include, but are not limited to, information adding and deleting and checking, platform authorization connection, video distribution and the like.
As a further improvement of the technical scheme, the signal output end of the video recording transmission module is connected with the signal input end of the auditing and classifying module, the signal output end of the auditing and classifying module is connected with the signal input end of the video cloud module, and the signal output end of the video cloud module is connected with the signal input end of the storage backup module; the shooting transmission module is used for acquiring videos shot by the shooting terminal and transmitting the videos to the system platform; the auditing and classifying module is used for intelligently identifying auditing video contents through a system and performing type classification operation on the video according to a video distribution mode; the video cloud module is used for uploading the acquired video to the cloud platform, and outputting a plurality of video files without code rate by means of video transcoding according to the agreed requirements, so that nested protocol index files are produced for access by a terminal user; the storage backup module is used for carrying out storage backup on video files with different code rates so as to cope with transmission interruption or file loss situations in the video transmission process.
The video can be classified into types of live broadcast, on-demand broadcast, recorded broadcast and the like according to a distribution mode.
The protocol index file output in the video transcoding process comprises an M3u8 file (index file of HLS protocol), an MPD file (index file of DASH protocol) and the like; specifically, the client can automatically and smoothly switch to the video stream matched with the bandwidth according to the network quality change condition.
As a further improvement of the technical scheme, the auditing and classifying module adopts an ID3 algorithm, and the algorithm flow is as follows:
let S be a set of S video data samples defining 3 different classes C i (i=1, 2, 3), let s be i Is C i The number of samples in the class, the calculation formula for the expected information value for a given sample S is:
Figure BDA0003203139350000041
wherein p is i Is any sample belonging to C i Probability of p i =s i /s。
As a further improvement of the technical scheme, the code rate switching module, the algorithm management module, the parameter configuration module and the machine learning module are connected in sequence through network communication and run in parallel; the code rate switching module is used for carrying out dynamic code rate seamless switching according to the condition of the video transmission network so as to improve the somatosensory of a user watching the video online; the algorithm management module is used for respectively managing the algorithms for code rate switching according to different categories; the parameter configuration module is used for presetting and configuring parameters of multi-code rate self-adaptive operation so as to be selected and invoked when a user uploads a video file, and can be matched with functions such as video transcoding, video encapsulation, audio/video operation and the like; the machine learning module is used for improving the automatic recognition, calling and switching of the system through machine learning, so that the switching process of the code rate self-adaption is more intelligent and smooth.
Parameters configurable for multi-rate adaptive operation include, but are not limited to, bandwidth, buffer length, rate switching frequency, switching amplitude, content limitations, etc.
As a further improvement of the technical scheme, in the algorithm management module, an exponential weighted moving average method EWMA algorithm is adopted when bandwidth is predicted through HLS protocol, and the calculation expression is as follows:
ewma(t)=βv t +(1-β)ewma(t-1);
HLS is a slice download, which can optimize the algorithm according to the download speed and download duration of each piece of data.
As a further improvement of the technical scheme, in the algorithm management module, a smooth flow sf algorithm is adopted when bandwidth is predicted through a DASH protocol, and the calculation expression is as follows:
Figure BDA0003203139350000042
where δ is a bandwidth change coefficient, which dynamically changes according to bandwidth.
In addition, the algorithm combining the information of both HLS and DASH can preferably adopt a model predictive control algorithm MPC, and a relatively good effect can also be obtained.
As a further improvement of the technical scheme, the protocol management module, the transcoding mode module, the execution feedback module and the intelligent distribution module are connected through network communication in sequence; the protocol management module is used for loading and managing a plurality of different video distribution protocols; the transcoding mode module is used for providing a plurality of transcoding modes for users or systems to intelligently select and call; the execution feedback module identifies the condition of the video cooperation service platform in the video receiving and code rate self-adaptive playing process and feeds back the condition to the video distribution system; the intelligent distribution module is used for managing and monitoring the intelligent video distribution process of the video content service provider.
Among them, the video protocol distribution protocol mainly includes HLS, DASH, RTMP and the like.
The transcoding mode comprises, but is not limited to, asynchronous transcoding, timing stream transcoding, single code rate video distribution, multi-code rate self-adaptive transcoding and the like.
As a further improvement of the technical scheme, the intelligent distribution module comprises a flow recommendation module, a grading module, a lowest weight module and a decentralization module; the flow recommendation module, the grading module, the lowest weight module and the decentralization module are sequentially connected through network communication and run in parallel; the flow recommendation module is used for recommending flows in different directions aiming at newly released videos; the grading module is used for placing videos with the same type of content into the same flow, and grading a flow pool into three grades of high, medium and low through user feedback; the lowest weight module is used for carrying out statistical analysis on user feedback of the video to determine the weight of the video account, and intelligently distributing the video according to the account weight; the decentralizing module is used for decentralizing rules of video traffic issued by each video account to ensure platform balance of the content server.
The flow recommendation comprises four parts, namely: fan, address book friends or possibly known people, same city and same label user flow pool.
It is a further object of the present invention to provide an apparatus for operating a rate adaptive video distribution system, comprising a processor, a memory, and a computer program stored in the memory and running on the processor, the processor being configured to implement any of the rate adaptive video distribution systems and method steps described above when executing the computer program.
It is a fourth object of the present invention to provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the video distribution system and method steps of any of the above code rate adaptation.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the video distribution method with the self-adaptive code rate, a plurality of video distribution protocols are loaded on a video distribution platform, an intelligent code rate self-adaptive technology is embedded, videos are stored in a cloud in real time, the videos are converted into video files with different code rates at a cloud end, in the video distribution process, a client can automatically and smoothly switch to video streams matched with bandwidths according to the quality change condition of a network, smooth and smooth video playing is ensured, a user can automatically access video contents with the most suitable code rate, and the best watching experience is obtained;
2. in the video distribution system with the self-adaptive code rate, the video distribution system which can be connected with a plurality of video user terminals is arranged, the system can synchronize videos to a plurality of terminal platforms at one time, can manage sub-accounts and users, improves account safety, simultaneously provides video management, code rate self-adaptive management and video distribution management and control functions for the video distribution platforms, provides intelligent distribution auxiliary services for video content service providers, improves the working efficiency of the video content providers, improves the service quality and reduces the operation cost.
Drawings
FIG. 1 is a flow chart of an exemplary method of the present invention;
FIG. 2 is a block diagram of the overall system set-up of the present invention;
FIG. 3 is a block diagram of a local system device according to the present invention;
FIG. 4 is a second block diagram of a local system device according to the present invention;
FIG. 5 is a third block diagram of a local system device according to the present invention;
FIG. 6 is a fourth block diagram of a local system device of the present invention;
FIG. 7 is a fifth block diagram of a local system device of the present invention;
fig. 8 is a schematic diagram of an exemplary electronic computer device of the present invention.
In the figure:
100. a infrastructure management unit; 101. a platform management module; 102. an account management module; 103. a user management module; 104. a rights allocation module;
200. video data units; 201. a recording transmission module; 202. an audit classification module; 203. a video cloud module; 204. a storage backup module;
300. a code rate self-adaptive unit; 301. a code rate switching module; 302. an algorithm management module; 303. a parameter configuration module; 304. a machine learning module;
400. a distribution management and control unit; 401. a protocol management module; 402. a transcoding mode module; 403. executing a feedback module; 404. an intelligent distribution module; 4041. a flow recommendation module; 4042. a grading module; 4043. a lowest weight module; 4044. the module is decentered.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
As shown in fig. 1, this embodiment provides a video distribution method with adaptive code rate, which includes the following steps:
s1, a user accesses a login video distribution system platform, the system authenticates legal identity of the user, and corresponding operation authorities are distributed according to the identity of the user;
s2, connecting the user with a partner platform after platform authorization in the operable right, and managing the associated account;
s3, loading a plurality of video distribution protocols into the system, managing the protocols, and presetting and configuring code rate parameters such as bandwidth, buffer length, content limitation and the like;
s4, the user acquires videos, the recorded videos are transmitted to a video distribution system after being locally buffered, the system automatically checks the content of the videos, the types of the videos are divided, and the divided videos are cloud-up in time and automatically stored for backup;
s5, according to the type of the video, an applicable distribution protocol is called, and the video is rapidly distributed to each cooperation platform which is connected and selected;
s6, in the video distribution process, transmitting a video code stream according to the type of the video;
s7, the video code stream reaches the cooperation platform, the system automatically selects and invokes a proper transcoding mode according to the configuration of the platform player to convert the code rate of the video, so that the video can be played smoothly and clearly with low time delay, and the situation is fed back to the video distribution system platform in real time;
and S8, the collaboration platform performs balance operations such as flow recommendation, flow pool grading, weight number distribution, decentralization and the like on the newly acquired video, and intelligent distribution of the video on the platform is realized.
As shown in fig. 2-8, the present embodiment provides a video distribution system with adaptive code rate, which is operated to implement the above-mentioned video distribution method with adaptive code rate, and includes the following steps
The video data distribution system comprises a basic building management unit 100, a video data unit 200, a code rate self-adaptive unit 300 and a distribution management and control unit 400; the basic building management unit 100, the video data unit 200, the code rate self-adaptive unit 300 and the distribution management and control unit 400 are sequentially connected through network communication; the infrastructure management unit 100 is used for managing and distributing infrastructure equipment, platforms and the like running on the support system; the video data unit 200 is used for managing video data to be distributed; the code rate self-adaptive unit 300 is used for providing a multi-code rate self-adaptive function for users to meet the use requirements of different user terminals and access networks; the distribution management and control unit 400 is used for managing and monitoring the video distribution whole process;
the infrastructure management unit 100 includes a platform management module 101, an account management module 102, a user management module 103, and a rights allocation module 104;
the video data unit 200 comprises a recording transmission module 201, an auditing and classifying module 202, a video cloud module 203 and a storage backup module 204;
the code rate self-adaptation unit 300 comprises a code rate switching module 301, an algorithm management module 302, a parameter configuration module 303 and a machine learning module 304;
the distribution management and control unit 400 includes a protocol management module 401, a transcoding mode module 402, an execution feedback module 403, and an intelligent distribution module 404.
In this embodiment, the platform management module 101, the account management module 102, the user management module 103 and the rights allocation module 104 are sequentially connected through network communication; the platform management module 101 is used for managing a collaborative content service provider platform which is connected with the distribution system through authorization; the account management module 102 is used for performing security management on an account of a user accessing the video distribution system and providing a function of setting sub-accounts; the user management module 103 is used for managing, identifying and authenticating the user identity of the using account and sub-account; the permission distribution module 104 is configured to distribute corresponding operation permissions for real-name identities of different users to avoid misuse of accounts.
The collaboration content provider platform is mainly a mainstream video software platform, such as a cool platform, a second beat platform, a tremble platform and the like.
The account management items include, but are not limited to, secure login (account password, mobile phone verification code, fingerprint, face recognition, etc.), information management (adding, deleting, and modifying), video draft, video authority, etc.
Among them, the objects managed by the user include, but are not limited to, a main user, a sub user, an assistant, etc.
The limit items of the authority allocation include, but are not limited to, information adding and deleting and checking, platform authorization connection, video distribution and the like.
In this embodiment, a signal output end of the recording transmission module 201 is connected with a signal input end of the auditing and classifying module 202, a signal output end of the auditing and classifying module 202 is connected with a signal input end of the video cloud module 203, and a signal output end of the video cloud module 203 is connected with a signal input end of the storage backup module 204; the shooting transmission module 201 is used for acquiring videos shot by the shooting terminal and transmitting the videos to the system platform; the auditing and classifying module 202 is used for intelligently identifying auditing video contents through a system and performing type classification operation on the video according to a video distribution mode; the video cloud module 203 is configured to upload the acquired video to a cloud platform, and output a plurality of video files without code rate by means of video transcoding according to the agreed requirements, so as to produce a nested protocol index file for access by a terminal user; the storage backup module 204 is used for carrying out storage backup on video files with different code rates so as to cope with transmission interruption or file loss situations in the video transmission process.
The video can be classified into types of live broadcast, on-demand broadcast, recorded broadcast and the like according to a distribution mode.
The protocol index file output in the video transcoding process comprises an M3u8 file (index file of HLS protocol), an MPD file (index file of DASH protocol) and the like; specifically, the client can automatically and smoothly switch to the video stream matched with the bandwidth according to the network quality change condition.
Specifically, the audit classification module 202 adopts an ID3 algorithm, and the algorithm flow is as follows:
let S be a set of S video data samples defining 3 different classes C i (i=1, 2, 3), let s be i Is C i The number of samples in the class, the calculation formula for the expected information value for a given sample S is:
Figure BDA0003203139350000091
wherein p is i Is any sample belonging to C i Probability of p i =s i /s。
In this embodiment, the code rate switching module 301, the algorithm management module 302, the parameter configuration module 303 and the machine learning module 304 are sequentially connected through network communication and operate in parallel; the code rate switching module 301 is configured to perform dynamic code rate seamless switching according to a video transmission network condition so as to improve a sense of body of a user watching a video online; the algorithm management module 302 is used for respectively managing the algorithms of the code rate switching according to different categories; the parameter configuration module 303 is configured to preset parameters for configuring multi-rate adaptive operation for selection and call when a user uploads a video file, and can cooperate with functions such as video transcoding, video encapsulation, audio/video operation, and the like; the machine learning module 304 is used for improving the automatic recognition, calling and switching of the system through machine learning, so that the switching process of the code rate self-adaption is more intelligent and smooth.
Parameters configurable for multi-rate adaptive operation include, but are not limited to, bandwidth, buffer length, rate switching frequency, switching amplitude, content limitations, etc.
Specifically, in the algorithm management module 302, an exponentially weighted moving average EWMA algorithm is used when predicting bandwidth through HLS protocol, and the calculation expression is as follows:
ewma(t)=βv t +(1-β)ewma(t-1);
HLS is a slice download, which can optimize the algorithm according to the download speed and download duration of each piece of data.
Specifically, in the algorithm management module 302, a smooth flow sf algorithm is adopted when bandwidth is predicted by DASH protocol, and the calculation expression is:
Figure BDA0003203139350000101
where δ is a bandwidth change coefficient, which dynamically changes according to bandwidth.
In addition, the algorithm combining the information of both HLS and DASH can preferably adopt a model predictive control algorithm MPC, and a relatively good effect can also be obtained.
In this embodiment, the protocol management module 401, the transcoding mode module 402, the execution feedback module 403 and the intelligent distribution module 404 are sequentially connected through network communication; the protocol management module 401 is used for loading and managing a plurality of different video distribution protocols; the transcoding mode module 402 is configured to provide multiple transcoding modes for the user or the system to intelligently make a selection call; the execution feedback module 403 identifies the condition of the video cooperation service platform in the video receiving and code rate self-adaptive playing process and feeds back the condition to the video distribution system; the intelligent distribution module 404 is used for performing management and monitoring on the process of intelligently distributing videos to video content service providers.
Among them, the video protocol distribution protocol mainly includes HLS, DASH, RTMP and the like.
The transcoding mode comprises, but is not limited to, asynchronous transcoding, timing stream transcoding, single code rate video distribution, multi-code rate self-adaptive transcoding and the like.
Further, the intelligent distribution module 404 includes a traffic recommendation module 4041, a ranking module 4042, a lowest weight module 4043, and a decentralization module 4044; the flow recommendation module 4041, the grading module 4042, the lowest weight module 4043 and the decentralization module 4044 are sequentially connected through network communication and run in parallel; the flow recommendation module 4041 is used for recommending flows in different directions for the newly released video; the grading module 4042 is used for putting videos with the same content type into the same flow, and grading the flow pool into three grades of high, medium and low through user feedback; the lowest weight module 4043 is configured to perform statistical analysis on user feedback of the video to determine a weight of the video account, and intelligently perform video distribution according to the account weight; the decentralizing module 4044 is configured to perform a decentralizing rule on the video traffic issued by each video account to ensure platform balance of the content server.
The flow recommendation comprises four parts, namely: fan, address book friends or possibly known people, same city and same label user flow pool.
As shown in fig. 8, the present embodiment further provides an operation apparatus of the video distribution system with adaptive code rate, where the apparatus includes a processor, a memory, and a computer program stored in the memory and running on the processor.
The processor comprises one or more processing cores, the processor is connected with the memory through a bus, the memory is used for storing program instructions, and the video distribution system and the method steps for realizing the code rate self-adaption when the processor executes the program instructions in the memory.
Alternatively, the memory may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
In addition, the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the video distribution system and the method steps of code rate self-adaption when being executed by a processor.
Optionally, the present invention also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the video distribution system and method steps of the above aspect of rate adaptation.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by hardware related to a program, and the program may be stored in a computer readable storage medium, where the above storage medium may be a read only memory, a magnetic disk or an optical disk, etc.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the above-described embodiments, and that the above-described embodiments and descriptions are only preferred embodiments of the present invention, and are not intended to limit the invention, and that various changes and modifications may be made therein without departing from the spirit and scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (8)

1. A video distribution method with self-adaptive code rate is characterized in that: the method comprises the following steps:
s1, a user accesses a login video distribution system platform, the system authenticates legal identity of the user, and corresponding operation authorities are distributed according to the identity of the user;
s2, connecting the user with a partner platform after platform authorization in the operable right, and managing the associated account;
s3, loading a plurality of video distribution protocols into the system, managing the protocols, and presetting and configuring parameters of an incoming bandwidth, a buffer length and a content limiting code rate;
s4, the user acquires videos, the recorded videos are transmitted to a video distribution system after being locally buffered, the system automatically checks the content of the videos, the types of the videos are divided, and the divided videos are cloud-up in time and automatically stored for backup;
s5, according to the type of the video, an applicable distribution protocol is called, and the video is rapidly distributed to each connected and selected cooperation platform;
s6, in the video distribution process, transmitting a video code stream according to the type of the video;
s7, the video code stream reaches the cooperation platform, the system automatically selects and invokes a transcoding mode according to the configuration of the platform player to convert the code rate of the video, so that the video can be played smoothly and clearly with low time delay, and the situation is fed back to the video distribution system platform in real time;
s8, the collaboration platform carries out flow recommendation, flow pool grading, weight number distribution and decentralization balancing operation on the newly acquired video, and intelligent distribution of the video on the platform is achieved.
2. A rate-adaptive video distribution system operative to implement the rate-adaptive video distribution method steps of claim 1, characterized by: comprising
The video data distribution system comprises a basic building management unit (100), a video data unit (200), a code rate self-adaptive unit (300) and a distribution management control unit (400); the infrastructure management unit (100), the video data unit (200), the code rate self-adaptive unit (300) and the distribution management and control unit (400) are sequentially connected through network communication; the foundation management unit (100) is used for managing and distributing foundation equipment and platforms operated by the support system; the video data unit (200) is used for managing video data to be distributed; the code rate self-adaptive unit (300) is used for providing a multi-code rate self-adaptive function for users to meet the use requirements of different user terminals and access networks; the distribution management and control unit (400) is used for managing and monitoring the video distribution whole process;
the infrastructure management unit (100) comprises a platform management module (101), an account management module (102), a user management module (103) and a permission distribution module (104);
the video data unit (200) comprises a shooting transmission module (201), an auditing and classifying module (202), a video cloud module (203) and a storage backup module (204);
the code rate self-adaptive unit (300) comprises a code rate switching module (301), an algorithm management module (302), a parameter configuration module (303) and a machine learning module (304);
the distribution management and control unit (400) comprises a protocol management module (401), a transcoding mode module (402), an execution feedback module (403) and an intelligent distribution module (404).
3. The rate adaptive video distribution system according to claim 2, wherein: the platform management module (101), the account management module (102), the user management module (103) and the authority allocation module (104) are connected through network communication in sequence; the platform management module (101) is used for managing a cooperative content service provider platform which is connected with the distribution system through authorization; the account management module (102) is used for carrying out safety management on the account of the user accessing the video distribution system and providing a function of setting sub-accounts; the user management module (103) is used for managing, identifying and authenticating the user identity of the using account and the sub-account; the permission distribution module (104) is used for distributing corresponding operation permissions for real-name identities of different users so as to avoid the account from being abused.
4. The rate adaptive video distribution system according to claim 2, wherein: the signal output end of the video recording transmission module (201) is connected with the signal input end of the auditing and classifying module (202), the signal output end of the auditing and classifying module (202) is connected with the signal input end of the video cloud-up module (203), and the signal output end of the video cloud-up module (203) is connected with the signal input end of the storage backup module (204); the shooting transmission module (201) is used for acquiring videos shot by the shooting terminal and transmitting the videos to the system platform; the auditing and classifying module (202) is used for intelligently identifying auditing video contents through a system and performing type classification operation on the video according to a video distribution mode; the video cloud module (203) is used for uploading the acquired video to a cloud platform, and outputting a plurality of video files without code rate by means of video transcoding according to the agreed requirements, so as to produce nested protocol index files for access of terminal users; the storage backup module (204) is used for carrying out storage backup on video files with different code rates so as to cope with transmission interruption or file loss situations in the video transmission process.
5. The rate adaptive video distribution system according to claim 4, wherein: the auditing and classifying module (202) adopts an ID3 algorithm, and the algorithm flow is as follows:
let S be the set of S video data samples, m be the number of video data samples, define 3 different classes C i (i=1, 2, 3), let s be i Is C i The number of samples in the class, the calculation formula for the expected information value for a given sample S is:
Figure FDA0004189230580000031
wherein p is i Is any sample belonging to C i Probability of p i =s i /s。
6. The rate adaptive video distribution system according to claim 2, wherein: the code rate switching module (301), the algorithm management module (302), the parameter configuration module (303) and the machine learning module (304) are sequentially connected through network communication and run in parallel; the code rate switching module (301) is used for performing dynamic code rate seamless switching according to the condition of a video transmission network so as to improve the somatosensory of a user watching video online; the algorithm management module (302) is used for respectively managing the algorithms for code rate switching according to different categories; the parameter configuration module (303) is used for presetting and configuring parameters of multi-code rate self-adaptive operation so as to be selected and invoked when a user uploads a video file, and simultaneously matching with the functions of video transcoding, video encapsulation and audio/video operation; the machine learning module (304) is used for improving the automatic recognition, calling and switching of the system through machine learning, so that the switching process of the code rate self-adaption is more intelligent and smooth.
7. The rate adaptive video distribution system according to claim 2, wherein: the protocol management module (401), the transcoding mode module (402), the execution feedback module (403) and the intelligent distribution module (404) are sequentially connected through network communication; the protocol management module (401) is used for loading and managing a plurality of different video distribution protocols; the transcoding mode module (402) is used for providing a plurality of transcoding modes for users or systems to intelligently select and call; the execution feedback module (403) identifies the condition of the video cooperation service platform in the video receiving and code rate self-adaptive playing process and feeds back the condition to the video distribution system; the intelligent distribution module (404) is used for performing management and monitoring on the process of intelligently distributing videos to video content service providers.
8. The rate adaptive video distribution system according to claim 7, wherein: the intelligent distribution module (404) comprises a flow recommendation module (4041), a grading module (4042), a lowest weight module (4043) and a decentralization module (4044); the flow recommendation module (4041), the grading module (4042), the lowest weight module (4043) and the decentralization module (4044) are sequentially connected through network communication and operate in parallel;
the flow recommendation module (4041) is used for recommending flows in different directions for newly released videos; the grading module (4042) is used for putting videos with the same type of content into the same flow, and grading a flow pool into three grades of high, medium and low through user feedback; the lowest weight module (4043) is used for performing statistical analysis on user feedback of the video to determine the weight of the video account, and intelligently distributing the video according to the account weight; the decentralizing module (4044) is configured to perform a decentralizing rule on video traffic issued by each video account to ensure platform balance of the content server.
CN202110909370.7A 2021-08-09 2021-08-09 Video distribution method and system with self-adaptive code rate Active CN113645228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110909370.7A CN113645228B (en) 2021-08-09 2021-08-09 Video distribution method and system with self-adaptive code rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110909370.7A CN113645228B (en) 2021-08-09 2021-08-09 Video distribution method and system with self-adaptive code rate

Publications (2)

Publication Number Publication Date
CN113645228A CN113645228A (en) 2021-11-12
CN113645228B true CN113645228B (en) 2023-06-16

Family

ID=78420340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110909370.7A Active CN113645228B (en) 2021-08-09 2021-08-09 Video distribution method and system with self-adaptive code rate

Country Status (1)

Country Link
CN (1) CN113645228B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363674B (en) * 2021-12-09 2024-02-09 北京快乐茄信息技术有限公司 Video playing method, device, terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8464304B2 (en) * 2011-01-25 2013-06-11 Youtoo Technologies, LLC Content creation and distribution system
CN104349178B (en) * 2014-11-21 2018-02-09 赛特斯信息科技股份有限公司 Realize real-time transcoding and the system and method for self-adaption code rate streaming media playing on demand
CN104702987B (en) * 2015-03-27 2018-04-10 南京视海网络科技有限公司 A kind of highly compatible services the bandwidth self-adaption stream media system and method for a variety of different terminals
CN106791860B (en) * 2016-12-28 2019-07-30 重庆邮电大学 A kind of adaptive video coding control system and method
CN106993237B (en) * 2017-04-13 2019-05-10 中北大学 Dynamic self-adapting code rate selection method based on MPEG-DASH agreement
CN108184152B (en) * 2018-01-03 2020-01-24 湖北大学 Two-stage client code rate selection method for DASH transmission system

Also Published As

Publication number Publication date
CN113645228A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN105915953B (en) Method, device, system, server and storage medium for live video identification
CN113068052B (en) Method for determining brushing amount of live broadcast room, live broadcast method and data processing method
US9923771B2 (en) Adaptive bitrate modification of a manifest file
Karagkioules et al. Online learning for low-latency adaptive streaming
Gao et al. Optimizing quality of experience for adaptive bitrate streaming via viewer interest inference
CN107071584A (en) Live even wheat method and device
US9626364B2 (en) Streaming media
Bentaleb et al. Catching the Moment With LoL $^+ $ in Twitch-Like Low-Latency Live Streaming Platforms
KR101103994B1 (en) Streaming video communication
Liu et al. When wireless video streaming meets AI: A deep learning approach
TW201210266A (en) Method and system for content filtering in a broadband gateway
CN111371954A (en) Method and device for dynamically adjusting cloud mobile phone resource configuration
CN113630625B (en) Video distribution system and video distribution method
CN113645228B (en) Video distribution method and system with self-adaptive code rate
Sun et al. Live 360 degree video delivery based on user collaboration in a streaming flock
Belmoukadam et al. On accounting for screen resolution in adaptive video streaming: QoE‐driven bandwidth sharing framework
CN107277640A (en) Interactive approach, device and storage medium based on live platform
CN116193197A (en) Data processing method, device, equipment and readable storage medium
CN111869225B (en) Information processing apparatus, information processing method, and non-transitory computer readable storage medium
Bouraqia et al. Solving startup-delay-QoE dilemma for video streaming services in 5G networks
Zhang et al. Modeling and analyzing live streaming performance
CN106815074A (en) Multimedia file downloading method and electronic installation
Wu et al. Reinforcement learning based adaptive bitrate algorithm for transmitting panoramic videos
Leetch et al. A multi-agent system to stream multimedia to handheld devices
US20240089244A1 (en) Integrated content portal for accessing aggregated content

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