CN118264820A - Video playing method and system, storage medium and electronic equipment - Google Patents
Video playing method and system, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN118264820A CN118264820A CN202211689257.3A CN202211689257A CN118264820A CN 118264820 A CN118264820 A CN 118264820A CN 202211689257 A CN202211689257 A CN 202211689257A CN 118264820 A CN118264820 A CN 118264820A
- Authority
- CN
- China
- Prior art keywords
- multicast
- video
- service request
- stream
- live
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 9
- 238000007726 management method Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 5
- 239000003795 chemical substances by application Substances 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
- H04N21/2353—Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6405—Multicasting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Library & Information Science (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The disclosure relates to a video playing method and system, a storage medium and electronic equipment, and relates to the technical field of video processing, wherein the method comprises the following steps: the multicast server receives service request information sent by a video playing terminal through a multicast proxy, and according to the service request information and a preset multicast channel list, media description information corresponding to the service request information is called; the multicast server feeds back the media description information to a video playing terminal through the multicast proxy; and the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information and plays the multicast video stream. The present disclosure reduces the performance consumption of the server.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of video processing, in particular to a video playing method, a video playing system, a computer readable storage medium and electronic equipment.
Background
In the existing video playing method, each video playing terminal needs to establish a link with a server, so that the performance consumption of the server is larger.
It should be noted that the information of the present invention in the above background section is only for enhancing understanding of the background of the present disclosure, and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a video playback method, a video playback system, a computer-readable storage medium, and an electronic device, which further overcome, at least to some extent, the problem of greater performance consumption of a server due to limitations and drawbacks of the related art.
According to one aspect of the present disclosure, there is provided a video playing method including:
The multicast server receives service request information sent by a video playing terminal through a multicast proxy, and according to the service request information and a preset multicast channel list, media description information corresponding to the service request information is called;
The multicast server feeds back the media description information to a video playing terminal through the multicast proxy;
And the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information and plays the multicast video stream.
In an example embodiment of the present disclosure, feeding back, by the multicast proxy, the media description information to a video playing terminal includes:
Determining a user group of the video playing terminal according to a terminal user identifier of the video playing terminal, and converting multicast stream information included in the media description information into an OTT multicast stream corresponding to OTT media according to the user group;
and accessing the OTT multicast stream into a target router connected with the multicast server, and feeding back the OTT multicast stream to the video playing terminal through the target router.
In an example embodiment of the present disclosure, obtaining a multicast video stream corresponding to the service request information according to the media description information includes:
Receiving a multicast data packet according to the OTT multicast stream; wherein, the multicast data packet comprises a media index file corresponding to the service request information and/or data which is formed by packaging media content corresponding to the service request information;
and analyzing the multicast data packet according to the OTT multicast stream to obtain a multicast video stream corresponding to the service request information.
In an example embodiment of the present disclosure, according to the service request information and a preset multicast channel list, invoking media description information corresponding to the service request information includes:
Analyzing the service request information to obtain a current stream identifier included in the service request information, and determining a current live channel where the requested multicast video stream is located according to the current stream identifier;
Matching a target live channel corresponding to the current live channel in the preset multicast channel list, and acquiring media description information of the target live channel when the target live channel corresponding to the current live channel exists in the preset multicast channel list;
And when the target live channel corresponding to the current live channel does not exist in the preset multicast channel list, acquiring media description information corresponding to the requested multicast video stream from the video source station according to the current stream identification and the current live channel.
In one example embodiment of the present disclosure, the method further comprises:
the multicast management platform receives a channel creation instruction sent by an OTT live broadcast platform, and analyzes the channel creation instruction to obtain live broadcast channels and the number of the live broadcast channels included in the OTT live broadcast platform;
The multicast management platform creates the preset multicast channel list according to the live broadcast channels and the live broadcast channel quantity, and synchronizes the preset multicast channel list to the multicast server and the multicast proxy.
In one example embodiment of the present disclosure, the method further comprises:
And the multicast server acquires the video live stream from the video source station, and stores the video live stream corresponding to the live channel included in the preset multicast channel list according to the preset multicast channel list.
In one example embodiment of the present disclosure, the method further comprises:
The OTT live broadcast platform receives live broadcast content sent by a live broadcast content provider and multicasts the live broadcast content to obtain a video live broadcast stream;
And the OTT live broadcast platform stores the video live broadcast stream corresponding to the live broadcast channel to a video source station according to the live broadcast channel and the number of the live broadcast channels of the live broadcast content provider.
According to one aspect of the present disclosure, there is provided a video playback system including:
the multicast server is used for receiving service request information sent by the video playing terminal through the multicast proxy and calling media description information corresponding to the service request information according to the service request information and a preset multicast channel list; feeding back the media description information to a video playing terminal through the multicast proxy;
And the video playing terminal is used for obtaining the multicast video stream corresponding to the service request information according to the media description information and playing the multicast video stream.
According to one aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the video playback method of any one of the foregoing example embodiments.
According to one aspect of the present disclosure, there is provided an electronic device including:
A processor; and
A memory for storing executable instructions of the processor;
Wherein the processor is configured to perform the video playback method of any of the preceding example embodiments via execution of the executable instructions.
According to the video playing method provided by the embodiment of the disclosure, on one hand, the multicast server can call media description information corresponding to service request information according to the received service request information sent by the video playing terminal through the multicast proxy and a preset multicast channel list, and then feeds the media description information back to the video playing terminal through the multicast proxy; the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information, plays the multicast video stream, and can reduce the performance consumption of a multicast server due to the small resource requirement of the multicast agent, so that the problem of larger performance consumption of the server due to the fact that each video playing terminal needs to establish a link with the server in the prior art can be solved; on the other hand, because the information fed back to the video playing terminal is media description information and not directly feeds back the video stream, the problem of bandwidth resource waste caused by the need of feeding back the video stream to the video playing terminal can be avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 schematically illustrates a flowchart of a live video method according to an example embodiment of the present disclosure.
Fig. 2 schematically illustrates an example diagram of a live video system according to an example embodiment of the disclosure.
Fig. 3 schematically illustrates an example diagram of another video live system according to an example embodiment of the present disclosure.
Fig. 4 schematically illustrates an example diagram of another video live system according to an example embodiment of the present disclosure.
Fig. 5 schematically illustrates a flowchart of a method for retrieving media description information corresponding to the service request information according to the service request information and a preset multicast channel list according to an exemplary embodiment of the present disclosure.
Fig. 6 schematically illustrates a flowchart of another video live method according to an example embodiment of the present disclosure.
Fig. 7 schematically illustrates a block diagram of a live video device according to an example embodiment of the present disclosure.
Fig. 8 schematically illustrates an electronic device for implementing the video live method described above, according to an example embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
With popularization and development of IPv6, a large number of enterprises are also greatly pushing scale deployment and application work of IPv6 to land, and are aiming at research and application of cloud network convergence IPTV (interactive network television) large video network bearing of IPv6 plus innovative technology. With the rapid development of OTT (Over The Top) video services, the transmission and playing of video streams based on file downloading become the scheme adopted by most video websites. However, if the OTT medium is used to transmit and play the video stream, multiple short chains need to be established between each terminal player and the server, and each media index file and media fragment file need to be subjected to the processes of once chain establishment, file downloading and link release, so that the performance consumption of the server is huge, and in order to ensure reliable viewing quality, a large number of media servers and distributed networks need to be deployed by the server, so that the investment is huge.
Based on this, a video playing method is first provided in the present exemplary embodiment. Specifically, referring to fig. 1, the video playing method may include the following steps:
s110, the multicast server receives service request information sent by a video playing terminal through a multicast proxy, and according to the service request information and a preset multicast channel list, media description information corresponding to the service request information is called;
S120, the multicast server feeds back the media description information to a video playing terminal through the multicast proxy;
And S130, the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information, and plays the multicast video stream.
In the video playing method, on one hand, the multicast server can call the media description information corresponding to the service request information according to the service request information and the preset multicast channel list which are sent by the received video playing terminal through the multicast proxy, and then feeds the media description information back to the video playing terminal through the multicast proxy; the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information, plays the multicast video stream, and can reduce the performance consumption of a multicast server due to the small resource requirement of the multicast agent, so that the problem of larger performance consumption of the server due to the fact that each video playing terminal needs to establish a link with the server in the prior art can be solved; on the other hand, because the information fed back to the video playing terminal is media description information and not directly feeds back the video stream, the problem of bandwidth resource waste caused by the need of feeding back the video stream to the video playing terminal can be avoided.
Hereinafter, a video playing method according to an exemplary embodiment of the present disclosure will be explained and illustrated in detail with reference to the accompanying drawings.
First, terms involved in the exemplary embodiments of the present disclosure are explained and illustrated.
IPv6, internet Protocol Version, internet protocol version 6, is a next generation IP protocol designed by the internet engineering task Force (IETF, he Internet Engineering Task Force) to replace IPv4, and its number of addresses is said to be one address for each sand worldwide. In the practical application process, the biggest problem of IPv4 is that the application and development of the Internet are severely restricted due to insufficient network address resources, and the use of IPv6 not only can solve the problem of the quantity of the network address resources, but also solves the obstacle that various access devices are connected to the Internet.
IPTV, interactive network television, is a new technology which utilizes broadband cable television network, integrates various technologies such as Internet, multimedia, communication and the like, and provides various interactive services including digital television for home users.
Next, the objects of the exemplary embodiments of the present disclosure will be explained and illustrated. Specifically, the video playing method according to the exemplary embodiment of the present disclosure may be based on convection control and automatic configuration of IPv6, and the multicast proxy is used to send service request information to the multicast server, and then the multicast proxy is used to feed back media description information that is called from the multicast server to the IPTV playing terminal (i.e., the video playing terminal), so that consumption of performance of the server itself may be reduced, the multicast proxy may be flexibly deployed, and a situation of deploying a large number of servers is avoided; furthermore, the IPTV playing terminal can receive the multicast data packet according to the multicast stream information, and meanwhile, according to the multicast stream information, analyze the multicast data packet to obtain a live video and play the live video; in addition, the problem of leakage of the multicast video stream can be effectively avoided through the form of the multicast data packet; furthermore, the cloud network convergence IPTV video secure playing method and system based on IPv6 can solve the problem of huge consumption of IPTV on server performance, and can avoid the problems of huge investment and large deployment of a large number of media servers and distributed networks required by operators on the basis of ensuring reliable watching quality and high-quality large video service.
Next, a video playback system described in an exemplary embodiment of the present disclosure will be explained and explained. Specifically, referring to fig. 2, the video playing system may include a multicast server 210 and a video playing terminal 220; the multicast server and the video playing terminal can be connected through a wired network or a wireless network. Specifically, the multicast server may be configured to receive service request information sent by a video playing terminal through a multicast proxy, and according to the service request information and a preset multicast channel list, invoke media description information corresponding to the service request information, and feed back the media description information to the video playing terminal through the multicast proxy; the video playing terminal can obtain the multicast video stream corresponding to the service request information according to the media description information and play the multicast video stream.
Further, referring to fig. 3, the video playing system may further include a multicast agent 301, where the multicast agent may be deployed on an edge CDN (Content Delivery Network ) or a gateway; meanwhile, the multicast proxy can be used for receiving the service request information sent by the video playing terminal and sending the service request information to the multicast server; the multicast proxy may also be configured to receive media description information sent by the multicast server and send the media description information to the video playing terminal. It should be noted that, the IPTV playing terminal sends the service request information to the multicast server through the multicast proxy, and because the multicast proxy has a small demand on resources, the multicast proxy is used to send the service request information to the multicast server, and the multicast proxy is used to feed back the media description information called from the multicast server to the IPTV playing terminal, so that the consumption of the performance of the server itself can be reduced, and because the multicast proxy can be flexibly deployed, the situation of deploying a large number of servers is avoided.
In an example embodiment, referring to fig. 4, the video playing system may further include an OTT live platform 401, a multicast management platform 402, and a video source station 403; the multicast management platform is used for receiving a channel creation instruction sent by the OTT live broadcast platform, creating the preset multicast channel list, and synchronizing the preset multicast channel list to the multicast server and the multicast proxy; further, the video source station is used for storing the video live stream; the OTT live broadcast platform can be used for receiving live broadcast content sent by a live broadcast content provider and multicasting the live broadcast content to obtain a video live broadcast stream; and storing the video live stream corresponding to the live channel to a video source station according to the live channel and the number of the live channels of the live content provider.
Hereinafter, a specific creation process of a preset multicast channel list, which is referred to in an exemplary embodiment of the present disclosure, will be explained and explained. Specifically, the specific construction process of the preset multicast channel list can be realized in the following manner: firstly, a multicast management platform receives a channel creation instruction sent by an OTT live broadcast platform, and analyzes the channel creation instruction to obtain live broadcast channels and the number of live broadcast channels included in the OTT live broadcast platform; and then, the multicast management platform creates the preset multicast channel list according to the live broadcast channels and the live broadcast channel quantity, and synchronizes the preset multicast channel list to the multicast server and the multicast proxy. That is, in the actual application process, firstly, the OTT live broadcast platform may multicast original live broadcast content sent by the providers of the multiple live broadcast content, so as to obtain actual live broadcast channels and the number of the actual live broadcast channels of the providers of the live broadcast content; then, constructing a channel creation instruction according to the actual live channel and the number of the actual live channels, and sending the channel creation instruction to a multicast management platform; further, after receiving the channel creation command (i.e., the channel creation command), the multicast management platform creates a preset multicast channel list according to the actual channel data (the actual live channels and the number of the actual live channels), and synchronizes the preset multicast channel list to the multicast server and the multicast proxy to complete the configuration of the multicast proxy.
It should be noted that, the provider of the live content described herein may include a video application program or a video platform with a live broadcast function, for example, an XX video playing website, an XX video playing web page, or an XX video client, which is not particularly limited in this example; meanwhile, the configuration of the multicast server and the multicast proxy can be realized by synchronizing the preset multicast channel list to the multicast server and the multicast proxy, so that after service request information is received, media description information can be fed back to the video playing terminal, and video playing is realized; in addition, the multicast proxy has smaller resource requirement on the multicast server, so that the resource waste of the server can be reduced while the video loading efficiency is ensured.
Further, the video playing method further comprises the following steps: the OTT live broadcast platform receives live broadcast content sent by a live broadcast content provider and multicasts the live broadcast content to obtain a video live broadcast stream; and the OTT live broadcast platform stores the video live broadcast stream corresponding to the live broadcast channel to a video source station according to the live broadcast channel and the number of the live broadcast channels of the live broadcast content provider. Further, the video playing method further comprises the following steps: and the multicast server acquires the video live stream from the video source station, and stores the video live stream corresponding to the live channel included in the preset multicast channel list according to the preset multicast channel list. That is, after the OTT live broadcast platform receives the live broadcast content sent by the live broadcast content provider, the live broadcast content can be multicast to obtain a video live broadcast stream, and the video live broadcast stream is sent to a video source station for temporary storage; the video source station described herein may provide content storage and streaming services, and may also provide node management and node scheduling functions, among other things. Further, after the preset multicast channel list is synchronously completed in the multicast server, the multicast server can acquire the video live streams of all channels from the food video source station, and arrange and store all the food live streams according to the multicast channel list, so that the aim of synchronously injecting the video live streams of the OTT live platform into the multicast server according to the multicast channel list is fulfilled, and the configuration of the multicast server is completed.
It should be noted that, in the process of storing the live video stream in the video source station, the following manner may be implemented: firstly, as a video source station provides a node management function, a summary point corresponding to a live broadcast content provider corresponding to a video live broadcast stream can be searched first, then sub-nodes under the summary point are traversed in sequence, corresponding sub-nodes are searched, and the video live broadcast stream is stored under the sub-nodes of the corresponding live broadcast channel; in another possible example embodiment, the corresponding child node may also be determined and stored according to the video category of the video live stream; or the corresponding child node may be determined according to the update time and stored, which is not particularly limited in this example. It should be further noted that, because the video source station also provides a node scheduling function, if the node corresponding to a video live stream of a certain category has a problem of too few node resources, the node scheduling function can also perform node scheduling.
Hereinafter, the video playing method shown in fig. 1 will be explained and explained with reference to fig. 2 to 4. Specific:
in step S110, the multicast server receives service request information sent by the video playing terminal through the multicast proxy, and according to the service request information and a preset multicast channel list, invokes media description information corresponding to the service request information.
In this example embodiment, first, when a user needs to watch a certain video live stream, a corresponding video live stream may be selected through an interactive interface displayed on a display interface of a video playing terminal; when the video playing terminal receives a screen input event acted on the interactive interface by a user, service request information can be generated, the service request information is sent to a multicast proxy, and then the service request information is sent to a multicast server through the multicast proxy; further, after receiving the service request information, the multicast server may invoke corresponding media description information based on a preset multicast channel list. Specifically, referring to fig. 5, according to the service request information and a preset multicast channel list, the method for retrieving media description information corresponding to the service request information may include the following steps:
Step S510, analyzing the service request information to obtain a current stream identifier included in the service request information, and determining a current live channel where the requested multicast video stream is located according to the current stream identifier;
step S520, matching a target live channel corresponding to the current live channel in the preset multicast channel list, and acquiring media description information of the target live channel when determining that the target live channel corresponding to the current live channel exists in the preset multicast channel list;
Step S530, when it is determined that the target live channel corresponding to the current live channel does not exist in the preset multicast channel list, media description information corresponding to the requested multicast video stream is obtained from the video source station according to the current stream identifier and the current live channel.
Hereinafter, step S510 to step S530 will be explained and explained. Specifically, after receiving the service request information, the multicast server can analyze the service request information to obtain a current stream identifier to be acquired, determine a current live channel where the requested multicast video stream is located according to the current stream identifier, and determine whether the current live channel exists in a preset multicast channel list; if the current live broadcast channel exists in a preset multicast channel list, determining that corresponding multicast stream information is cached in a multicast server; if the current live broadcast channel does not exist in the preset multicast channel list, determining that the corresponding multicast stream information is not cached in the multicast server; further, if the corresponding multicast stream information is not cached, the IPTV playing terminal sends service request information to the video source station in a unicast mode through the multicast proxy so as to call the corresponding live stream from the source station; and finally, returning the live broadcast stream to the IPTV playing terminal. That is, when the multicast stream information corresponding to the service request information is not cached in the multicast server, the IPTV playing terminal invokes the corresponding live stream from the source station by using the unicast manner through the multicast proxy, so that it is further ensured that the multicast proxy can invoke the live stream corresponding to the service request information.
In step S120, the multicast server feeds back the media description information to the video playing terminal through the multicast proxy.
Specifically, the feedback of the media description information to the video playing terminal through the multicast proxy can be realized by the following modes: firstly, determining a user group of the video playing terminal according to a terminal user identifier of the video playing terminal, and converting multicast stream information included in the media description information into an OTT multicast stream corresponding to OTT media according to the user group; and secondly, the OTT multicast stream is accessed into a target router connected with the multicast server, and the OTT multicast stream is fed back to the video playing terminal through the target router. That is, firstly, according to the user packet, converting the multicast stream into an OTT multicast stream corresponding to the OTT media by using a multicast server; then, the OTT multicast stream is accessed into a router connected with an OTT multicast server, and the OTT multicast stream is fed back to an IPTV playing terminal through the router; by the method, the aim of providing multicast capability for a plurality of live broadcast content providers through OTT multicast capability is fulfilled.
In step S130, the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information, and plays the multicast video stream.
Specifically, obtaining the multicast video stream corresponding to the service request information according to the media description information can be achieved by the following modes: firstly, receiving multicast data packets according to the OTT multicast stream; wherein, the multicast data packet comprises a media index file corresponding to the service request information and/or data which is formed by packaging media content corresponding to the service request information; and secondly, analyzing the multicast data packet according to the OTT multicast stream to obtain a multicast video stream corresponding to the service request information. That is, the IPTV playing terminal may receive the multicast data packet according to the multicast stream information, and parse the multicast data packet according to the multicast stream information to obtain a live video, and play the live video; meanwhile, the problem of leakage of the multicast video stream can be effectively avoided through the form of the multicast data packet.
So far, the video playing method described in the exemplary embodiments of the present disclosure has been fully implemented. Based on the foregoing description, it can be known that, according to the video playing method described in the exemplary embodiment of the present disclosure, on one hand, live broadcast contents of a plurality of content parties are multicast through OTT multicast capability, and live broadcast streams of each channel are sent to a source station for temporary storage according to actual channel data of the plurality of content parties; meanwhile, the multicast management platform creates a multicast channel list according to the actual channel data so that the data in the multicast channel list corresponds to the actual channel data one by one; and synchronizing the multicast channel list to the multicast server and the multicast proxy to complete the configuration of the multicast proxy; on the other hand, the multicast server acquires the live streams of all channels from the source station according to the multicast channel list, and arranges and stores all the live streams, so that the aim of synchronously injecting the live streams of the OTT live platform into the multicast server according to the multicast channel list is fulfilled, and the configuration of the multicast server is completed; furthermore, because the multicast proxy has small resource demand, the multicast proxy is utilized to send service request information to the multicast server, and the multicast proxy is utilized to feed back the media description information which is called from the multicast server to the IPTV playing terminal, the consumption of the performance of the server can be reduced, and because the multicast proxy can be flexibly deployed, the situation of deploying a large number of servers is avoided; meanwhile, the problem of leakage of the multicast video stream can be effectively avoided through the form of the multicast data packet.
Hereinafter, a video playing method according to an exemplary embodiment of the present disclosure will be further explained and illustrated with reference to fig. 6. Specifically, referring to fig. 6, the video playing method may include the following steps:
Step S601, according to actual channel data, an OTT live broadcast platform sends a channel creation command to a multicast management platform, and simultaneously the OTT live broadcast platform sends live broadcast streams of all channels to a source station for temporary storage;
Step S602, after receiving the command of creating channels, the multicast management platform creates a multicast channel list according to the actual channel data, and simultaneously synchronizes the multicast channel list to the multicast server and the multicast proxy;
Step S603, the multicast server acquires live streams of all channels from the source station, and arranges and stores all live streams according to a multicast channel list;
step S604, responding to the service request initiated by the user, the IPTV playing terminal sends service request information to the multicast server through the multicast proxy;
step S605, the multicast server calls the corresponding media description information based on the multicast channel list according to the service request information, and feeds the media description information back to the IPTV playing terminal through the multicast proxy, wherein the media description information comprises multicast stream information and multicast data packets;
In step S606, the IPTV playing terminal receives the multicast data packet according to the multicast stream information, and meanwhile, parses the multicast data packet according to the multicast stream information to obtain a live video, and plays the live video.
In the video playing method shown in fig. 6, on one hand, the multicast server acquires live streams of all channels from the source station according to the multicast channel list, and arranges and stores all the live streams, so that the aim of synchronously injecting the live streams of the OTT live platform into the multicast server according to the multicast channel list is fulfilled, and the configuration of the multicast server is completed; on the other hand, because the multicast proxy has small resource demand, the multicast proxy is utilized to send service request information to the multicast server, and the multicast proxy is utilized to feed back the media description information which is called from the multicast server to the IPTV playing terminal, so that the consumption of the performance of the server can be reduced, and because the multicast proxy can be flexibly deployed, the situation of deploying a large number of servers is avoided.
The disclosure also provides a video playing device. Specifically, referring to fig. 7, the video playing device may include a media description information retrieving module 710, a media description information feedback module 720, and a multicast video stream playing module 730. Wherein:
the media description information retrieving module 710 may be configured to receive, by using a multicast server, service request information sent by a video playing terminal through a multicast proxy, and retrieve media description information corresponding to the service request information according to the service request information and a preset multicast channel list;
the media description information feedback module 720 may be configured to feedback the media description information to a video playing terminal through the multicast proxy by using the multicast server;
The multicast video stream playing module 730 may be configured to obtain a multicast video stream corresponding to the service request information according to the media description information by using the video playing terminal, and play the multicast video stream.
In an example embodiment of the present disclosure, feeding back, by the multicast proxy, the media description information to a video playing terminal includes: determining a user group of the video playing terminal according to a terminal user identifier of the video playing terminal, and converting multicast stream information included in the media description information into an OTT multicast stream corresponding to OTT media according to the user group; and accessing the OTT multicast stream into a target router connected with the multicast server, and feeding back the OTT multicast stream to the video playing terminal through the target router.
In an example embodiment of the present disclosure, obtaining a multicast video stream corresponding to the service request information according to the media description information includes: receiving a multicast data packet according to the OTT multicast stream; wherein, the multicast data packet comprises a media index file corresponding to the service request information and/or data which is formed by packaging media content corresponding to the service request information; and analyzing the multicast data packet according to the OTT multicast stream to obtain a multicast video stream corresponding to the service request information.
In an example embodiment of the present disclosure, according to the service request information and a preset multicast channel list, invoking media description information corresponding to the service request information includes: analyzing the service request information to obtain a current stream identifier included in the service request information, and determining a current live channel where the requested multicast video stream is located according to the current stream identifier; matching a target live channel corresponding to the current live channel in the preset multicast channel list, and acquiring media description information of the target live channel when the target live channel corresponding to the current live channel exists in the preset multicast channel list; and when the target live channel corresponding to the current live channel does not exist in the preset multicast channel list, acquiring media description information corresponding to the requested multicast video stream from the video source station according to the current stream identification and the current live channel.
In one example embodiment of the present disclosure, the apparatus further comprises:
the channel creation instruction receiving module can be used for receiving a channel creation instruction sent by an OTT live broadcast platform through the multicast management platform, and analyzing the channel creation instruction to obtain live broadcast channels and the number of live broadcast channels included in the OTT live broadcast platform;
the multicast channel list creation module may be configured to create the preset multicast channel list by using the multicast management platform according to the live channel and the number of live channels, and synchronize the preset multicast channel list to the multicast server and the multicast proxy.
In one example embodiment of the present disclosure, the apparatus further comprises:
the first video live stream storage module can be used for acquiring video live streams from a video source station through the multicast server and storing the video live streams corresponding to live channels included in the preset multicast channel list according to the preset multicast channel list.
In one example embodiment of the present disclosure, the apparatus further comprises:
The live broadcast content multicast module can be used for receiving live broadcast content sent by a live broadcast content provider through an OTT live broadcast platform and multicasting the live broadcast content to obtain a video live broadcast stream;
The second video live stream storage module can be used for storing the video live stream corresponding to the live channel to a video source station through the OTT live platform according to the live channel and the number of the live channels of the live content provider.
The specific details of each module in the video playing device are described in detail in the corresponding video playing method, so that the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to such an embodiment of the present disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 8, the electronic device 800 is embodied in the form of a general purpose computing device. Components of electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting the different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
Wherein the storage unit stores program code that is executable by the processing unit 810 such that the processing unit 810 performs steps according to various exemplary embodiments of the present disclosure described in the above section of the present specification. For example, the processing unit 810 may perform step S110 as shown in fig. 1: the multicast server receives service request information sent by a video playing terminal through a multicast proxy, and according to the service request information and a preset multicast channel list, media description information corresponding to the service request information is called; step S120: the multicast server feeds back the media description information to a video playing terminal through the multicast proxy; step S130: and the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information and plays the multicast video stream.
The storage unit 820 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 8201 and/or cache memory 8202, and may further include Read Only Memory (ROM) 8203.
Storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 830 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 800, and/or any device (e.g., router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 850. Also, electronic device 800 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 860. As shown, network adapter 860 communicates with other modules of electronic device 800 over bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 800, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible implementations, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
A program product for implementing the above-described method according to an embodiment of the present disclosure may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described figures are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (10)
1. A video playing method, comprising:
The multicast server receives service request information sent by a video playing terminal through a multicast proxy, and according to the service request information and a preset multicast channel list, media description information corresponding to the service request information is called;
The multicast server feeds back the media description information to a video playing terminal through the multicast proxy;
And the video playing terminal obtains the multicast video stream corresponding to the service request information according to the media description information and plays the multicast video stream.
2. The method of claim 1, wherein feeding back the media description information to the video playback terminal via the multicast proxy comprises:
Determining a user group of the video playing terminal according to a terminal user identifier of the video playing terminal, and converting multicast stream information included in the media description information into an OTT multicast stream corresponding to OTT media according to the user group;
and accessing the OTT multicast stream into a target router connected with the multicast server, and feeding back the OTT multicast stream to the video playing terminal through the target router.
3. The method of claim 2, wherein obtaining a multicast video stream corresponding to the service request information based on the media description information, comprises:
Receiving a multicast data packet according to the OTT multicast stream; wherein, the multicast data packet comprises a media index file corresponding to the service request information and/or data which is formed by packaging media content corresponding to the service request information;
and analyzing the multicast data packet according to the OTT multicast stream to obtain a multicast video stream corresponding to the service request information.
4. The method of claim 1, wherein retrieving media description information corresponding to the service request information according to the service request information and a preset multicast channel list, comprises:
Analyzing the service request information to obtain a current stream identifier included in the service request information, and determining a current live channel where the requested multicast video stream is located according to the current stream identifier;
Matching a target live channel corresponding to the current live channel in the preset multicast channel list, and acquiring media description information of the target live channel when the target live channel corresponding to the current live channel exists in the preset multicast channel list;
And when the target live channel corresponding to the current live channel does not exist in the preset multicast channel list, acquiring media description information corresponding to the requested multicast video stream from the video source station according to the current stream identification and the current live channel.
5. The method according to claim 1, wherein the method further comprises:
the multicast management platform receives a channel creation instruction sent by an OTT live broadcast platform, and analyzes the channel creation instruction to obtain live broadcast channels and the number of the live broadcast channels included in the OTT live broadcast platform;
The multicast management platform creates the preset multicast channel list according to the live broadcast channels and the live broadcast channel quantity, and synchronizes the preset multicast channel list to the multicast server and the multicast proxy.
6. The method of claim 5, wherein the method further comprises:
And the multicast server acquires the video live stream from the video source station, and stores the video live stream corresponding to the live channel included in the preset multicast channel list according to the preset multicast channel list.
7. The method of claim 5, wherein the method further comprises:
The OTT live broadcast platform receives live broadcast content sent by a live broadcast content provider and multicasts the live broadcast content to obtain a video live broadcast stream;
And the OTT live broadcast platform stores the video live broadcast stream corresponding to the live broadcast channel to a video source station according to the live broadcast channel and the number of the live broadcast channels of the live broadcast content provider.
8. A video playback system, comprising:
the multicast server is used for receiving service request information sent by the video playing terminal through the multicast proxy and calling media description information corresponding to the service request information according to the service request information and a preset multicast channel list; feeding back the media description information to a video playing terminal through the multicast proxy;
And the video playing terminal is used for obtaining the multicast video stream corresponding to the service request information according to the media description information and playing the multicast video stream.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the video playback method of any one of claims 1 to 7.
10. An electronic device, comprising:
A processor; and
A memory for storing executable instructions of the processor;
wherein the processor is configured to perform the video playback method of any one of claims 1-7 via execution of the executable instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211689257.3A CN118264820A (en) | 2022-12-27 | 2022-12-27 | Video playing method and system, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211689257.3A CN118264820A (en) | 2022-12-27 | 2022-12-27 | Video playing method and system, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118264820A true CN118264820A (en) | 2024-06-28 |
Family
ID=91600927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211689257.3A Pending CN118264820A (en) | 2022-12-27 | 2022-12-27 | Video playing method and system, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118264820A (en) |
-
2022
- 2022-12-27 CN CN202211689257.3A patent/CN118264820A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150172345A1 (en) | System and method for efficient delivery of repetitive multimedia content | |
EP3996355B1 (en) | Method for transferring media stream and user equipment | |
CN109981560B (en) | Television receiver and apparatus | |
CN101207501A (en) | IP broadcasting system and multicast group management device for IP broadcasting | |
KR102149445B1 (en) | Method and apparatus for flexible broadcast service based on multimedia broadcast multicast service | |
CN101990111B (en) | Message pushing method and system for internet protocol television system | |
RU2656093C2 (en) | Content supply device, content supply method, program, terminal device and content supply system | |
CN113490155B (en) | Communication method, device, medium and electronic equipment for multicast broadcast service | |
WO2020248649A1 (en) | Audio and video data synchronous playback method, apparatus and system, electronic device and medium | |
WO2015180446A1 (en) | System and method for maintaining connection channel in multi-device interworking service | |
CN114040232A (en) | Screen projection system, method, electronic device and storage medium | |
CN102571409B (en) | Service request management system and method for realizing service across-terminal application | |
CN107332894B (en) | Live broadcast method, device and system, server and storage medium | |
US20080141320A1 (en) | System and method of providing public video content | |
JP2012533959A (en) | Effective host management protocol for multicast routers | |
US12425468B2 (en) | Multimedia content transmission method and apparatus, device, and storage medium | |
CN101577630A (en) | Data sharing method and server | |
Hammershøj et al. | Next-generation ott distribution architecture supporting multicast-assisted abr (mabr) and http/3 over quic | |
CN118264820A (en) | Video playing method and system, storage medium and electronic equipment | |
WO2023071277A1 (en) | Video transmission method and system, and related device | |
CN116233085A (en) | Multi-terminal streaming media transmission method, system and streaming media server cluster | |
CN113347138B (en) | Transmission method, device, computer equipment and storage medium for transcoding data stream | |
Vénot et al. | On-demand mobile peer-to-peer streaming over the JXTA overlay | |
JP2010148092A (en) | Iptv service method and apparatus for channel change | |
CN113381864B (en) | Digital audiovisual site control method, system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |