WO2017101363A1 - 视频直播转点播方法及系统 - Google Patents
视频直播转点播方法及系统 Download PDFInfo
- Publication number
- WO2017101363A1 WO2017101363A1 PCT/CN2016/088835 CN2016088835W WO2017101363A1 WO 2017101363 A1 WO2017101363 A1 WO 2017101363A1 CN 2016088835 W CN2016088835 W CN 2016088835W WO 2017101363 A1 WO2017101363 A1 WO 2017101363A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- demand
- file
- live
- source
- 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.)
- Ceased
Links
Images
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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- 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/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- 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/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234336—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
-
- 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/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
-
- 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/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- 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/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4345—Extraction or processing of SI, e.g. extracting service information from an MPEG stream
-
- 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/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
Definitions
- the embodiments of the present invention relate to the field of video technologies, and in particular, to a video live broadcast on-demand method and system.
- Video live broadcast refers to the simultaneous production and broadcast of video as the event occurs and develops, and video production and broadcast occur simultaneously.
- Video on demand refers to playing a finished video according to the user's needs. The production and broadcast of the video do not occur at the same time.
- users watch videos they may switch between live and on-demand. For example, the user is watching the live content of a video site, but suddenly wants to look back at the clips in the live stream to relive the highlights.
- the video service provider provides a live broadcast system for processing the live broadcast request of the user and provides an on-demand system for processing the user's on-demand request.
- the video service provider's live broadcast system and the on-demand system communicate via an interface.
- the live broadcast system sends the source live video file to the on-demand system.
- the live broadcast system receives the on-demand live broadcast command of the on-demand system, obtains the source live video file according to the on-demand live broadcast command of the on-demand system, and generates an on-demand file according to the source live video file in the on-demand system.
- the inventor finds that when a live broadcast-to-on-demand service provider provides a live video-on-demand service, the network transmission speed of the live broadcast system and the on-demand system is regarded as an important influence condition affecting the live broadcast of the video. .
- Video service providers tend to optimize the network transmission speed between the live broadcast system and the on-demand system, ignoring the time taken by the on-demand system to query the system database for the received live broadcast command to obtain the source live video file.
- the number of live broadcast videos stored in the system database can reach more than one million. Querying the source live video file matching the on-demand live broadcast command from a large number of source live video files seriously consumes system resources, and the system may repeatedly query the source live video files in the occupied state, and may even cause the system in serious cases. Collapse Crush.
- Querying the source live video file matched by the live broadcast video file from a large number of source live video files reduces the conversion efficiency between the live video and the on-demand video.
- the system repeatedly queries the occupied state. Source live video file. This situation makes the system spend a lot of time in the process of querying.
- the response time of the on-demand system can reach more than ten seconds. This delays the generation time of the on-demand video corresponding to the source live video to be converted, which seriously affects the user experience.
- the embodiment of the invention provides a video live-to-on-demand method and system, which is used to solve the defect that the video live-to-on-demand speed is too slow in the prior art, and the speed of the live broadcast of the video is improved.
- the embodiment of the invention provides a method for video live broadcast to on-demand, which is characterized in that it comprises:
- index table stores a correspondence between a video feature parameter and a storage address of the source live video file, and determines a storage address of the video file corresponding to the video feature parameter of the video to be videoned;
- An on-demand file is generated by using the corresponding source live video file.
- the embodiment of the invention provides a video live broadcast on-demand system, which is characterized in that it comprises:
- the live broadcast-on-demand retrieval unit is configured to receive a live-to-on-demand request, parse the video feature parameter of the video to be on-demand, and query the index table, where the index table stores the correspondence between the video feature parameter and the storage address of the source live video file. Determining a storage address of the video file corresponding to the video feature parameter of the video to be on-demand; and using the determined storage address of the video file to find a corresponding source live video file;
- An on-demand file generating unit configured to generate an on-demand file by using the corresponding source live video file.
- the video live-to-on-demand method and system provided by the embodiment of the present invention, by establishing an index table including video feature parameters and a storage address, querying the index table according to the video feature parameters included in the received live-on-demand request
- the live video file is obtained by comparing the source video files of the plurality of source live video files in the database according to the received live-on-on-demand request in the prior art.
- the video file is broadcasted to avoid the global retrieval query of the system database, and the source live video file in the occupied state of the system database is repeatedly checked, which reduces the resource consumption of the system during the live broadcast of the video and effectively reduces the resource consumption of the system.
- the speed of converting the source live video file into the on-demand file is greatly improved, and the generation time difference between the on-demand file and the source live video file is shortened.
- the actual working test result shows that: in the prior art, the live video from the source of the million-level source is obtained.
- the method for calculating the response time of the source video file and generating the corresponding on-demand file in the file is ten seconds. In the case that the system network transmission speed is the same, the method and system according to the embodiment of the present invention are used.
- the response time of querying one of the source live video files and generating the corresponding on-demand file from the source-level live video file is a millisecond.
- FIG. 1 is a flowchart of a live video on-demand method according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a live video on-demand system according to an embodiment of the present invention.
- FIG. 3 is a schematic structural view of an electronic device according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for video live streaming to on-demand according to an embodiment of the present invention, including:
- the on-demand system receives the live-on-on-demand request, and parses the video feature parameters of the video to be on-demand number;
- the on-demand system queries an index table, where the index table stores a correspondence between a video feature parameter and a storage address of the source live video file, and determines a storage address of the video file corresponding to the video feature parameter of the to-be-on video;
- S103 The on-demand system finds a corresponding source live video file according to the determined storage address of the video file.
- S104 The on-demand system generates an on-demand file by using the corresponding source live video file.
- the on-demand system queries the index table to obtain the source according to the video feature parameters included in the received live-on-demand request by establishing an index table including video feature parameters and a storage address.
- Live video files are obtained by querying the plurality of source live video files in the system database according to the received live turn-on request system, thereby avoiding the global search query for the system database.
- it also avoids repeatedly querying the source live video file in the occupied state in the system database, which reduces the resource consumption of the system during the live broadcast-to-on-demand process and effectively reduces the possibility of system crash during the live broadcast-on-demand process.
- the speed of converting live video files into on-demand files is greatly improved, and the generation time difference between the on-demand files and the source live video files is shortened.
- the response time for querying one of the source live video files and generating the corresponding on-demand file from the source live video file of the order of one million is ten seconds.
- the method of the embodiment of the present invention is used to query and retrieve the source video file of one source and generate the corresponding on-demand file from the source video file of the million-level source.
- the response time is in the order of milliseconds.
- the on-demand system obtains video feature parameters and storage addresses of the source live video file, and generates an index table including video feature parameters and storage addresses of the source live video file.
- the on-demand system receives and stores a source live video file, obtains a video feature parameter and a storage address of the source live video, and fills the video feature parameter and the storage address into an index table.
- the real-time update of the index table is realized, and the real-time synchronous update is implemented.
- the on-demand system generates the on-demand file by using the corresponding source live video file, including:
- the on-demand system encapsulates source live video files of different code rates into an on-demand file for switching code rates.
- a live broadcast file with multiple definitions is generated by one live broadcast, and multiple source live files under the same video feature parameter are encapsulated to generate an on-demand file, and an on-demand file that can switch multiple definitions is generated.
- the plurality of source live video files to be encapsulated can be queried faster than the prior art, and the generation duration of the on-demand files corresponding to the plurality of source live video files is shortened.
- the video feature parameter is a media asset ID.
- FIG. 2 is a schematic structural diagram of a live video on-demand system according to an embodiment of the present invention, including:
- the live-to-on-demand retrieval unit is configured to receive a live-on-on-demand request, parse the video feature parameter of the video to be on-demand, query the index table, and determine a storage address of the video file corresponding to the video feature parameter of the video to be on-demand; The storage address of the determined video file finds the corresponding source live video file.
- An on-demand file generating unit configured to generate an on-demand file by using the corresponding source live video file.
- the live broadcast video on-demand system obtained by the embodiment of the present invention obtains a source live video by querying the index table according to the video feature parameters included in the received live-on-demand request by establishing an index table including video feature parameters and a storage address. file.
- the source live video file is obtained by querying the plurality of source live video files in the system database according to the received live turn-on request system, thereby avoiding the global search query for the system database.
- it also avoids repeatedly querying the source live video file in the occupied state in the system database, which reduces the resource consumption of the system during the live broadcast of the video to the on-demand process and effectively reduces the possibility of system collapse during the live broadcast to the on-demand process;
- the speed of converting live video files into on-demand files is greatly improved, and the generation time difference between the on-demand files and the source live video files is shortened.
- the response time for querying one of the source live video files and generating the corresponding on-demand file from the source live video file of the order of one million is ten seconds.
- the system described in the embodiment of the present invention broadcasts a video file from a source of a million levels.
- the response time taken by the middle query to retrieve one of the source live video files and generate the corresponding source live video file is in milliseconds.
- the video live broadcast system can be a separate server or a server cluster.
- Each of the above units may be a separate server or server cluster.
- the interaction between the units is reflected by the interaction between the servers or server clusters corresponding to the units.
- the server or server cluster corresponding to each unit constitutes the video live broadcast on-demand system of the present invention.
- the video live broadcast on-demand system formed by the server or the server cluster corresponding to each unit includes:
- the live broadcast-to-on-demand search server or the server cluster is configured to receive a live broadcast-on-demand request, parse the video feature parameter of the video to be on-demand, query the index table, and determine the storage of the video file corresponding to the video feature parameter of the video to be video-on-demand Address; use the determined storage address of the video file to find the corresponding source live video file.
- An on-demand file generation server or a server cluster is configured to generate an on-demand file by using the corresponding source live video file.
- several of the plurality of modules described above may collectively form a server or cluster of servers.
- the live broadcast on-demand retrieval unit and the on-demand file generation unit together constitute a server or a server cluster.
- the method further includes: an index table generating unit, configured to acquire a video feature parameter and a storage address of the source live video file, and generate the source An index table of video feature parameters and storage addresses of live video files.
- the real-time update of the index table is realized, and the on-demand file corresponding to the source live video file in the system database is updated in real time.
- the live video on-demand system of the embodiment includes a live-on-on-demand retrieval unit, an on-demand file generation unit, and an index table generation unit.
- Each of the above units may be a separate server or server cluster.
- the interaction between the units is reflected by the interaction between the servers or server clusters corresponding to the units.
- the server or server cluster corresponding to each unit constitutes the video live broadcast on-demand system of the present invention.
- the video live broadcast on-demand system formed by the server or the server cluster corresponding to each unit includes:
- the index table generation server or the server cluster is used to obtain the video of the source live video file.
- the parameter and the storage address are generated, and an index table containing video feature parameters and a storage address of the source live video file is generated.
- the live broadcast-to-on-demand search server or the server cluster is configured to receive a live broadcast-on-demand request, parse the video feature parameter of the video to be on-demand, query the index table, and determine the storage of the video file corresponding to the video feature parameter of the video to be video-on-demand Address; use the determined storage address of the video file to find the corresponding source live video file.
- An on-demand file generation server or a server cluster is configured to generate an on-demand file by using the corresponding source live video file.
- the live video-on-demand service provider provides a sub-live system for processing user live access requests and an on-demand subsystem for processing user-on-demand access requests.
- the live video to on-demand system is arranged on the on-demand subsystem.
- the index table generating unit is disposed on the communication interface of the on-demand subsystem for receiving the source live video file.
- the communication interface is used for information interaction with a live subsystem.
- the video feature information of the source live video file and the address to be stored are recorded on the index table while the source live video file is transmitted to the on-demand subsystem, which simplifies generating the
- the operation of the index table facilitates the real-time synchronization of the source live video file and the on-demand file.
- the on-demand file generating unit is configured to encapsulate source live video files of different code rates into an on-demand file for switching code rates.
- a live broadcast file with multiple definitions is generated in one live broadcast. Encapsulating multiple source live files under the same video feature parameter to generate an on-demand file, and generating an on-demand file that can switch multiple definitions.
- the plurality of source live video files to be encapsulated can be queried faster than the prior art, and the generation duration of the on-demand files corresponding to the plurality of source live video files is shortened.
- the video feature parameter is a media asset ID.
- the embodiment of the present invention further provides a computer readable non-transitory storage medium, where the storage medium stores one or more programs including execution instructions, which can be used by an electronic device (including but not limited to a computer, The server, or network device, etc., reads and executes for performing the relevant steps in the above method embodiments, for example:
- index table stores a correspondence between a video feature parameter and a storage address of the source live video file, and determines a storage address of the video file corresponding to the video feature parameter of the video to be videoned;
- An on-demand file is generated by using the corresponding source live video file.
- the present invention further provides an electronic device (including but not limited to a computer, a server, or a network device, etc.), and the specific embodiment of the present application does not limit the specific implementation of the video live broadcast device.
- the live video to on-demand device 300 can include:
- a processor 310 a communications interface 320, a memory 330, and a communication bus 340. among them:
- the processor 310, the communication interface 320, and the memory 330 complete communication with each other via the communication bus 340.
- the communication interface 320 is configured to communicate with a network element such as a client.
- the processor 310 is configured to execute the program 332 in the memory 330, and specifically may perform the related steps in the foregoing method embodiments.
- program 332 can include program code, the program code including computer operating instructions.
- the processor 310 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
- CPU central processing unit
- ASIC Application Specific Integrated Circuit
- the video live broadcast on-demand device in the above implementation includes:
- a memory for storing computer operating instructions
- a processor configured to execute the computer operating instructions of the memory storage to perform:
- index table stores a correspondence between a video feature parameter and a storage address of the source live video file, and determines a storage address of the video file corresponding to the video feature parameter of the video to be videoned;
- An on-demand file is generated by using the corresponding source live video file.
- the device embodiments described above are merely illustrative, wherein the description as separate components
- the units may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明实施例提供一种视频直播转点播方法,其特征在于,包括:接收直播转点播请求,解析出待点播视频的视频特征参数;查询索引表,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;根据所确定的视频文件的存储地址找到相应的源直播视频文件;利用所述相应的源直播视频文件生成点播文件。本发明实施例还提供一种视频直播转点播系统,解决了现有技术中视频直播转点播的速度过慢的缺陷。
Description
本发明实施例涉及视频技术领域,尤其涉及一种视频直播转点播方法及系统。
网络视频的播放方式分为直播和点播两种播放方式。视频直播是指随着事件的发生、发展进程,同步制作和播出视频,视频的制作和播出同时发生。视频点播是指根据用户的需求播放已制作完成的视频,视频的制作和播出非同时发生。用户在收看视频的时候,有时候可能会在直播与点播之间进行切换。例如,用户正在收看某视频网站的直播内容,但是突然想要回看之前直播中的片段以重温精彩时刻。
为了实现直播转点播的用户体验,现有技术中的解决方案是:视频服务商提供用于处理用户直播请求的直播系统和提供用于处理用户点播请求的点播系统。视频服务商的直播系统和点播系统之间通过接口进行通讯。目前,直播系统将源直播视频文件发送至点播系统。直播系统接收点播系统的点播转直播指令,根据点播系统的点播转直播指令获取源直播视频文件,并在点播系统中根据源直播视频文件生成点播文件。
发明人在实现本发明的过程中发现,通常直播转点播服务提供商在提供视频直播转点播服务时,会将直播系统和点播系统的网络传输速度看做是影响视频直播转点播的重要影响条件。视频服务提供商往往会极力优化直播系统和点播系统之间的网络传输速度,而忽略了点播系统针对所接收的点播转直播指令查询系统数据库以获取源直播视频文件所消耗的时间。
但是,在大型的网络公司中,系统数据库中所存储的源直播视频的数量可以达到百万级以上。从数量众多的源直播视频文件中查询与点播转直播指令相匹配的源直播视频文件严重消耗了系统资源,并且系统可能会反复查询处于被占用状态的源直播视频文件,严重时甚至可能导致系统崩
溃。
从数量众多的源直播视频文件中查询点播转直播指令相匹配的源直播视频文件降低了直播视频和点播视频之间的转换效率,在一种情况下,系统会反复查询处于被调占用状态的源直播视频文件。这种情况使得系统在查询的过程中耗费了大量的时间。通过实际工作测试结果可知,当从数量级为百万条的源视频文件中查询其中一个源直播视频并生成相应的点播视频时,点播系统的响应时长能达到十秒以上。这就拖后了待转换的源直播视频所对应的点播视频的生成时间,严重影响了用户体验。
发明内容
本发明实施例提供一种视频直播转点播方法及系统,用以解决现有技术中视频直播转点播速度过慢的缺陷,提高了视频直播转点播的速度。
本发明实施例提供一种视频直播转点播方法,其特征在于,包括:
接收直播转点播请求,解析出待点播视频的视频特征参数;
查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;
根据所确定的视频文件的存储地址找到相应的源直播视频文件;
利用所述相应的源直播视频文件生成点播文件。
本发明实施例提供一种视频直播转点播系统,其特征在于,包括:
直播转点播检索单元,用于接收直播转点播请求,解析出待点播视频的视频特征参数;查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;利用所确定的视频文件的存储地址找到相应的源直播视频文件;
点播文件生成单元,用于利用所述相应的源直播视频文件生成点播文件。
通过本发明实施例提供的视频直播转点播方法及系统,通过建立含视频特征参数和存储地址的索引表,根据所接收的直播转点播请求中所包含的视频特征参数查询所述索引表获取源直播视频文件,相比于现有技术中的根据所接收的直播转点播请求查询系统数据库中的多个源直播视频文件获取源直
播视频文件,实现了避免对系统数据库的全局检索查询,同时也避免了反复查询系统数据库中处于被占用状态的源直播视频文件,减少了视频直播转点播过程对系统的资源消耗并有效降低了在直播转点播过程中系统崩溃的可能性;
大大提高了源直播视频文件转换为点播文件的速度,缩短了点播文件和源直播视频文件的生成时间差,通过实际工作测试结果可知:在现有技术中,从数量为百万级的源直播视频文件中查询调取其中一个源直播视频文件并生成相应的点播文件所耗费的响应时长为十秒级,在系统网络传输速度相同的情况下,而利用本发明实施例所述的方法及系统,从数量为百万级的源直播视频文件中查询调取其中一个源直播视频文件并生成相应的点播文件所耗费的响应时长为毫秒级。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出的是本发明一实施例的视频直播转点播方法的流程图;
图2示出的是本发明一实施例的视频直播转点播系统的结构示意图;
图3示出的是本发明一实施例的电子设备的结构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参见图1示出的是本发明一实施例的视频直播转点播的方法的流程图,包括:
S101:点播系统接收直播转点播请求,解析出待点播视频的视频特征参
数;
S102:点播系统查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;
S103:点播系统根据所确定的视频文件的存储地址找到相应的源直播视频文件;
S104:点播系统利用所述相应的源直播视频文件生成点播文件。
通过本发明实施例提供的视频直播转点播方法,点播系统通过建立含视频特征参数和存储地址的索引表,根据所接收的直播转点播请求中所包含的视频特征参数查询所述索引表获取源直播视频文件。相比于现有技术中的根据所接收的直播转点播请求查询系统数据库中的多个源直播视频文件获取源直播视频文件,实现了避免了对系统数据库的全局检索查询。同时也避免了反复查询系统数据库中处于被占用状态的源直播视频文件,减少了视频直播转点播过程对系统的资源消耗并有效降低了在直播转点播过程中系统崩溃的可能性。
大大提高了源直播视频文件转换为点播文件的速度,缩短了点播文件和源直播视频文件的生成时间差。通过实际工作测试结果可知:在现有技术中,从数量为百万级的源直播视频文件中查询调取其中一个源直播视频文件并生成相应的点播文件所耗费的响应时长为十秒级。在系统网络传输速度相同的情况下,利用本发明实施例所述的方法,从数量为百万级的源直播视频文件中查询调取其中一个源直播视频文件并生成相应的点播文件所耗费的响应时长为毫秒级。
作为图1所示实施例方法的进一步优化,在本发明另一实施例中,还包括
点播系统获取源直播视频文件的视频特征参数和存储地址,生成包含所述源直播视频文件的视频特征参数和存储地址的索引表。
关于本优选实施例方法。点播系统每接收并存储一个源直播视频文件,获取该源直播视频的视频特征参数和存储地址,将所述视频特征参数和所述存储地址填充到索引表。
通过本发明方法优选实施例,实现了索引表的实时更新,实时同步更新
了系统数据库中源直播视频文件所对应的点播文件。
作为图1所示实施例方法的进一步优化,所述点播系统利用所述相应的源直播视频文件生成点播文件包括:
点播系统将不同码率的源直播视频文件封装成一个供切换码率的点播文件。
在一种情况下,一次直播所生成具有多个清晰度的源直播文件,封装同一视频特征参数下的多个源直播文件以生成点播文件,生成可切换多个清晰度的点播文件。通过本发明方法优选实施例,相比于现有技术能更快查询到待封装的多个源直播视频文件,更缩短了上述多个源直播视频文件所对应的点播文件的生成时长。
作为图1所示实施例方法的进一步优化,所述视频特征参数为媒资ID。
参见图2示出的是本发明一实施例的视频直播转点播系统的结构示意图,包括:
直播转点播检索单元,用于接收直播转点播请求,解析出待点播视频的视频特征参数;查询所述索引表,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;利用所确定的视频文件的存储地址找到相应的源直播视频文件。
点播文件生成单元,用于利用所述相应的源直播视频文件生成点播文件。
通过本发明实施例提供的视频直播转点播系统,通过建立含视频特征参数和存储地址的索引表,根据所接收的直播转点播请求中所包含的视频特征参数查询所述索引表获取源直播视频文件。相比于现有技术中的根据所接收的直播转点播请求查询系统数据库中的多个源直播视频文件获取源直播视频文件,实现了避免了对系统数据库的全局检索查询。同时也避免了反复查询系统数据库中处于被占用状态的源直播视频文件,减少了视频直播转点播过程对系统的资源消耗并有效降低了在直播转点播过程中系统崩溃的可能性;
大大提高了源直播视频文件转换为点播文件的速度,缩短了点播文件和源直播视频文件的生成时间差。通过实际工作测试结果可知:在现有技术中,从数量为百万级的源直播视频文件中查询调取其中一个源直播视频文件并生成相应的点播文件所耗费的响应时长为十秒级。在系统网络传输速度相同的情况下,利用本发明实施例所述的系统,从数量为百万级的源直播视频文件
中查询调取其中一个源直播视频文件并生成相应的源直播视频文件所耗费的响应时长为毫秒级。
在本实施例中,所述视频直播转点播系统可以为单独的服务器或者服务器集群。上述各单元可以为单独的服务器或者服务器集群。此时,各单元之间的交互体现为各单元所对应的服务器或者服务器集群之间的交互。各单元所对应的服务器或者服务器集群共同构成了本发明的视频直播转点播系统。
具体地,各单元所对应的服务器或者服务器集群共同构成的视频直播转点播系统包括:
直播转点播检索服务器或者服务器集群,用于接收直播转点播请求,解析出待点播视频的视频特征参数;查询所述索引表,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;利用所确定的视频文件的存储地址找到相应的源直播视频文件。
点播文件生成服务器或者服务器集群,用于利用所述相应的源直播视频文件生成点播文件。
在一种替代实施例中,可以是上述多个模块中的几个模块共同组成一个服务器或者服务器集群。例如:直播转点播检索单元和点播文件生成单元共同构成服务器或者服务器集群。
作为图2所示实施例系统的进一步优化,在本发明的另一实施例中,还包括:索引表生成单元,用于获取源直播视频文件的视频特征参数和存储地址,生成包含所述源直播视频文件的视频特征参数和存储地址的索引表。
通过本发明方法优选实施例,实现了索引表的实时更新,实时同步更新了系统数据库中源直播视频文件所对应的点播文件。
本实施例的视频直播转点播系统包括直播转点播检索单元、点播文件生成单元和索引表生成单元。上述各单元可以为单独的服务器或者服务器集群。此时,各单元之间的交互体现为各单元所对应的服务器或者服务器集群之间的交互。各单元所对应的服务器或者服务器集群共同构成了本发明的视频直播转点播系统。
具体地,各单元所对应的服务器或者服务器集群共同构成的视频直播转点播系统包括:
索引表生成服务器或者服务器集群,用于获取源直播视频文件的视频特
征参数和存储地址,生成包含所述源直播视频文件的视频特征参数和存储地址的索引表。
直播转点播检索服务器或者服务器集群,用于接收直播转点播请求,解析出待点播视频的视频特征参数;查询所述索引表,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;利用所确定的视频文件的存储地址找到相应的源直播视频文件。
点播文件生成服务器或者服务器集群,用于利用所述相应的源直播视频文件生成点播文件。
关于本发明系统优选实施例,更具体地,视频直播转点播服务提供商提供用于处理用户直播访问请求的子直播系统和用于处理用户点播访问请求的点播子系统。视频直播转点播系统布置在点播子系统上。所述索引表生成单元布置在点播子系统的用于接收所述源直播视频文件通讯接口上。所述通讯接口用于与直播子系统进行信息交互。由此实现了在所述源直播视频文件传入所述点播子系统的同时便将所述源直播视频文件的视频特征信息和待存储的地址记录于所述索引表上,简化了生成所述索引表的操作,更方便了源直播视频文件与点播文件的实时同步的操作。
作为图2所示实施例系统的进一步优化,所述点播文件生成单元用于将不同码率的源直播视频文件封装成一个供切换码率的点播文件。
在一种情况下,一次直播所生成具有多个清晰度的源直播文件。封装同一视频特征参数下的多个源直播文件以生成点播文件,生成可切换多个清晰度的点播文件。通过本发明方法优选实施例,相比于现有技术能更快查询到待封装的多个源直播视频文件,更缩短了上述多个源直播视频文件所对应的点播文件的生成时长。
作为图2所示实施例系统的进一步优化,所述视频特征参数为媒资ID。
本发明实施例中可以通过硬件处理器来实现相关功能模块和单元。
本发明实施例还提供一种计算机可读的非瞬时性存储介质,所述存储介质中存储有一个或多个包括执行指令的程序,所述执行指令能够被电子设备(包括但不限于计算机,服务器,或者网络设备等)读取并执行,以用于执行上述方法实施例中的相关步骤,例如:
接收直播转点播请求,解析出待点播视频的视频特征参数;
查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;
根据所确定的视频文件的存储地址找到相应的源直播视频文件;
利用所述相应的源直播视频文件生成点播文件。
如图3所示,本发明还供开一种电子设备(包括但不限于计算机,服务器,或者网络设备等),本申请具体实施例并不对视频直播转点播装置300的具体实现做限定。该视频直播转点播装置300可以包括:
处理器(processor)310、通信接口(Communications Interface)320、存储器(memory)330、以及通信总线340。其中:
处理器310、通信接口320、以及存储器330通过通信总线340完成相互间的通信。
通信接口320,用于与比如客户端等的网元通信。
处理器310,用于执行存储器330中的程序332,具体可以执行上述方法实施例中的相关步骤。
具体地,程序332可以包括程序代码,所述程序代码包括计算机操作指令。
处理器310可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。
上述实施中的视频直播转点播装置包括:
存储器,用于存放计算机操作指令;
处理器,用于执行所述存储器存储的计算机操作指令,以执行:
接收直播转点播请求,解析出待点播视频的视频特征参数;
查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;
根据所确定的视频文件的存储地址找到相应的源直播视频文件;
利用所述相应的源直播视频文件生成点播文件。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明
的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims (8)
- 一种视频直播转点播方法,其特征在于,包括:接收直播转点播请求,解析出待点播视频的视频特征参数;查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;根据所确定的视频文件的存储地址找到相应的源直播视频文件;利用所述相应的源直播视频文件生成点播文件。
- 根据权利要求1所述的方法,其特征在于,还包括:获取源直播视频文件的视频特征参数和存储地址,生成包含所述源直播视频文件的视频特征参数和存储地址的索引表。
- 根据权利要求1所述的方法,其特征在于,所述利用所述相应的源直播视频文件生成点播文件包括:将不同码率的源直播视频文件封装成一个供切换码率的点播文件。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述视频特征参数为媒资ID。
- 一种视频直播转点播系统,其特征在于,包括:直播转点播检索单元,用于接收直播转点播请求,解析出待点播视频的视频特征参数;查询索引表,所述索引表保存所述源直播视频文件的视频特征参数和存储地址的对应关系,确定与所述待点播视频的视频特征参数对应的视频文件的存储地址;利用所确定的视频文件的存储地址找到相应的源直播视频文件;点播文件生成单元,用于利用所述相应的源直播视频文件生成点播文件。
- 根据权利要求5所述的系统,其特征在于,还包括:索引表生成单元,用于获取源直播视频文件的视频特征参数和存储地址, 生成包含所述源直播视频文件的视频特征参数和存储地址的索引表。
- 根据权利要求5所述的系统,其特征在于,所述点播文件生成单元用于将不同码率的源直播视频文件封装成一个供切换码率的点播文件。
- 根据权利要求5所述的系统,其特征在于,所述视频特征参数为媒资ID。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/246,150 US20170171574A1 (en) | 2015-12-15 | 2016-08-24 | Method and system for switching video live broadcasting to on-demand broadcasting |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510933021.3A CN105898372A (zh) | 2015-12-15 | 2015-12-15 | 视频直播转点播方法及系统 |
| CN201510933021.3 | 2015-12-15 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/246,150 Continuation US20170171574A1 (en) | 2015-12-15 | 2016-08-24 | Method and system for switching video live broadcasting to on-demand broadcasting |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017101363A1 true WO2017101363A1 (zh) | 2017-06-22 |
Family
ID=57002495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/088835 Ceased WO2017101363A1 (zh) | 2015-12-15 | 2016-07-06 | 视频直播转点播方法及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105898372A (zh) |
| WO (1) | WO2017101363A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108153803B (zh) * | 2017-11-17 | 2021-04-02 | 北京奇艺世纪科技有限公司 | 一种数据获取方法、装置及电子设备 |
| CN109922375A (zh) * | 2017-12-13 | 2019-06-21 | 上海聚力传媒技术有限公司 | 直播中的事件展示方法、播放终端、视频系统及存储介质 |
| CN115052167B (zh) * | 2022-03-15 | 2025-02-28 | 北京新流万联网络技术有限公司 | 支持多协议视频直播的视频生成方法、装置、介质及设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7330875B1 (en) * | 1999-06-15 | 2008-02-12 | Microsoft Corporation | System and method for recording a presentation for on-demand viewing over a computer network |
| CN101795297A (zh) * | 2010-03-19 | 2010-08-04 | 北京天天宽广网络科技有限公司 | 基于p2p技术的直播时移系统及其方法 |
| US20130016955A1 (en) * | 2011-07-12 | 2013-01-17 | Comcast Cable Communications, Llc | Synchronized Viewing of Media Content |
| CN104168516A (zh) * | 2014-09-01 | 2014-11-26 | 上海下一代广播电视网应用实验室有限公司 | 一种在流媒体直播平台上实现电视回看系统和方法 |
| CN104427354A (zh) * | 2013-08-28 | 2015-03-18 | 中兴通讯股份有限公司 | 一种直播媒体共享的方法、流媒体服务器及节点子系统 |
| CN104506967A (zh) * | 2015-01-05 | 2015-04-08 | 百视通网络电视技术发展有限责任公司 | Udp直播流到hls直播流的实时转换方法及系统 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102710966A (zh) * | 2012-06-13 | 2012-10-03 | 百视通网络电视技术发展有限责任公司 | 基于http协议的视频直播方法及系统 |
| CN103729407A (zh) * | 2013-12-09 | 2014-04-16 | 乐视网信息技术(北京)股份有限公司 | 一种直播流媒体的播放方法及装置 |
| CN103945276A (zh) * | 2014-04-18 | 2014-07-23 | 海信集团有限公司 | 一种视频直播模式与视频点播模式交互的方法及装置 |
| CN104023273B (zh) * | 2014-06-27 | 2017-03-15 | 北京奇艺世纪科技有限公司 | 视频点播方法及装置 |
| CN104333765B (zh) * | 2014-10-23 | 2018-04-10 | 无锡天脉聚源传媒科技有限公司 | 一种视频直播流的处理方法及处理装置 |
-
2015
- 2015-12-15 CN CN201510933021.3A patent/CN105898372A/zh active Pending
-
2016
- 2016-07-06 WO PCT/CN2016/088835 patent/WO2017101363A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7330875B1 (en) * | 1999-06-15 | 2008-02-12 | Microsoft Corporation | System and method for recording a presentation for on-demand viewing over a computer network |
| CN101795297A (zh) * | 2010-03-19 | 2010-08-04 | 北京天天宽广网络科技有限公司 | 基于p2p技术的直播时移系统及其方法 |
| US20130016955A1 (en) * | 2011-07-12 | 2013-01-17 | Comcast Cable Communications, Llc | Synchronized Viewing of Media Content |
| CN104427354A (zh) * | 2013-08-28 | 2015-03-18 | 中兴通讯股份有限公司 | 一种直播媒体共享的方法、流媒体服务器及节点子系统 |
| CN104168516A (zh) * | 2014-09-01 | 2014-11-26 | 上海下一代广播电视网应用实验室有限公司 | 一种在流媒体直播平台上实现电视回看系统和方法 |
| CN104506967A (zh) * | 2015-01-05 | 2015-04-08 | 百视通网络电视技术发展有限责任公司 | Udp直播流到hls直播流的实时转换方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105898372A (zh) | 2016-08-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102133951B1 (ko) | 짧은 링크 처리 방법, 디바이스, 및 서버 | |
| CN110677727B (zh) | 音视频播放方法、装置、电子设备及存储介质 | |
| TWI602415B (zh) | 用於受遞送媒體之彈性快取的方法及裝置 | |
| CN111447103B (zh) | 虚拟设备的管理系统及方法、电子设备及介质 | |
| US20200336769A1 (en) | Video Live Broadcast Method and Apparatus | |
| CN110636340B (zh) | 视频文件的上传方法、存储设备、终端设备及存储介质 | |
| CN111355971B (zh) | 直播流传输方法、装置、cdn服务器及计算机可读介质 | |
| US11310066B2 (en) | Method and apparatus for pushing information | |
| CN110109953A (zh) | 一种数据查询方法、装置及设备 | |
| CN103051646A (zh) | 信息同步方法和设备 | |
| WO2017101488A1 (zh) | 实时转码的监控方法和实时转码系统 | |
| CN112416964A (zh) | 一种数据处理的方法、装置、系统、计算机设备及计算机可读存储介质 | |
| CN106161569A (zh) | 网络内容的推荐、缓存替换方法和设备 | |
| CN105847398A (zh) | 业务调度方法、调度服务器及业务服务器 | |
| CN105916030A (zh) | 一种记录点播视频断点信息的方法、装置及系统 | |
| CN106302362B (zh) | 多媒体内容发送方法、分享方法、接收方法及对应装置 | |
| WO2017161757A1 (zh) | 一种流媒体文件分发方法及系统 | |
| CN108268468B (zh) | 一种大数据的分析方法及系统 | |
| WO2017101363A1 (zh) | 视频直播转点播方法及系统 | |
| EP3754998B1 (en) | Streaming media quality monitoring method and system | |
| CN109902067B (zh) | 文件处理方法、装置、存储介质及计算机设备 | |
| CN105847382A (zh) | Cdn文件分发方法及系统 | |
| US11470368B2 (en) | Ascription based modeling of video delivery system data in a database | |
| US10067955B1 (en) | Custom video metrics management platform | |
| US10469606B2 (en) | Method for web service supporting synchronous hosting of multiple devices |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16874425 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16874425 Country of ref document: EP Kind code of ref document: A1 |