CN106454396A - Method for improving concurrency of live broadcast time shifted TV - Google Patents

Method for improving concurrency of live broadcast time shifted TV Download PDF

Info

Publication number
CN106454396A
CN106454396A CN201610945223.4A CN201610945223A CN106454396A CN 106454396 A CN106454396 A CN 106454396A CN 201610945223 A CN201610945223 A CN 201610945223A CN 106454396 A CN106454396 A CN 106454396A
Authority
CN
China
Prior art keywords
file
internal memory
time
live
video
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
Application number
CN201610945223.4A
Other languages
Chinese (zh)
Inventor
赵明
房兰涛
刘凯
刘磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201610945223.4A priority Critical patent/CN106454396A/en
Publication of CN106454396A publication Critical patent/CN106454396A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/2312Data placement on disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention provides a method for improving the concurrency of a live broadcast time shifted TV, and relates to concurrent technology of time shifted TVs. The method provided by the invention comprises an internal memory partition system, file synchronization software, file expiration management and file request heat analysis; on the respect of live broadcast time shifted video slice file distribution, popular channels and video slices thereof should be stored in a content partition as many as possible, and unpopular channels and the video slices thereof should not occupy excessive internal memory. The time shifted lengths of different channels in the internal memory partitions are dynamically adjusted according to the popularity of the channels, therefore the utilization rate of the internal memory partitions can be further improved, the reading pressure of a magnetic disk is reduced, and the publish concurrency of live broadcast time shifted video contents is effectively improved.

Description

A kind of implementation method improving direct broadcast time-shift TV concurrent capability
Technical field
The present invention relates to the concurrent technology of time-moving television, more particularly, to a kind of realization improving direct broadcast time-shift TV concurrent capability Method.
Background technology
Popular with two-way IP direct broadcast time-shift TV, its viewer amount is increasing, improves separate unit video stream pushing clothes The work of the concurrent capability of business device seems increasingly important.
In video stream pushing server, limit the concurrent bottleneck of plug-flow and be typically the network bandwidth and magnetic disc i/o.Current network Equipment using multiple PCI-Express bindings, or would generally be introduced directly into ten thousand Broadcoms, and the network bandwidth is no longer bottleneck already.And The random read-write speed of magnetic disc i/o equipment is it will usually be significantly lower than the network bandwidth, thus becoming restriction video stream pushing server simultaneously The basic bottleneck of the ability of sending out.Even with the storage of expensive straight-through SSD hard disk array composition, its reading speed is also difficult to surpass Cross the speed of ten thousand Broadcoms.Still more in direct broadcast time-shift TV stream pushing server, storage also can constantly write live in the moment Video segment file (video flowing), stream pushing server be stored in constantly in a large number write data while, be also performed to random write Take, its actual reading capability is had a greatly reduced quality.Therefore, for direct broadcast time-shift video server, improve the random write of its storage Writing rate or mode, are only and improve the concurrent effective way of stream pushing server.
Content of the invention
For improving the concurrent capability of two-way direct broadcast time-shift TV, and the hardware cost of reduction stream pushing server, the present invention Providing one kind and enter row cache Hot Contents using memory partitioning system, reducing disk read-write frequency, thus reducing server The high performance demand to hard disk, and the method bringing the raising of server concurrent capability.
The effective way reducing disk reading pressure is exactly to be cached using internal memory as much as possible, and the present invention is from this Point is set about it is proposed that a kind of implementation method improving direct broadcast time-shift TV concurrent capability, by a kind of method simply easily realized, To complete caching on internal memory for the video content.
The video stream pushing server of direct broadcast time-shift TV, except the data when asking video content for the viewer to be considered Read pressure, it is also contemplated that live video source is to the real-time write pressure of stream pushing server.Assume live TV stream by 100 channel groups Become, averagely each channel be 5Mbps code check (because the self-adaption code rate of various code rate may be comprised, and HDTV content, To estimate by higher code check situation herein), it will 500Mbps is formed to server storage, that is, the write of 62.5MB/s Pressure.If using traditional SATA storage, only file write just occupies huge expense.
For above-mentioned 100 road channels, the example of every channel 5Mbps, press the stream pushing server 16G internal memory of middle-end configuration at present Consider, the time-moving television content of about 4.3 minutes (16000MB ÷ 62.5MB/s ÷ 60 second/minute=8.5 minute) can be preserved. The time shift of 4.3 minutes obviously can not meet the common requirements of time-moving television, and it is little that modern time-moving television generally will meet 30 minutes~4 When time shift demand.To calculate according to maximum 4 hours, (4 is little to preserve these television contents to take around the storage of 900GB When × 3600 seconds/hour × 62.5MB/s=900000MB).These contents can be hard using higher SSD or SAS of readwrite performance Disk forms Raid to realize.The relatively low SATA hard disc of use cost can also form the bigger memory space of capacity, to preserve More channels, more long time-shifted contents or higher video code rate.
In order to improve the utilization rate of memory storage subregion in addition it is also necessary to the temperature of analysis channel program, dynamically to adjust each The duration that channel retains in memory partitioning.For example, relatively more popular CCTV and satellite TV channel are it should retain in memory partitioning Longer time-moving television duration, and the committed memory space that the channel of unexpected winner should be as few as possible, or even the channel of unexpected winner do not need Internal memory retains, but is saved directly in hard disk.
For the distribution of content temperature, the channel hot topic analysis result that can be provided by audience statistical system is simple to do Default adjustment.Dynamic analysis scheduler program can also be increased in stream pushing server, to determine the hot topic of each video segment Degree and the life cycle retaining in internal memory.
The technical scheme is that:
A kind of implementation method improving direct broadcast time-shift TV concurrent capability,
Including memory partitioning system, file synchronization software, file expiration management and the analysis of file request temperature;Wherein,
First internal memory is divided into live and time shift memory partitioning in short-term, time shift fdisk when storage is divided into long;
After the subregion completing internal memory and hard disk divides, direct broadcast time-shift video server will be carried out with live central server Docking, in real time from live source server pull or by live source server push live content, and is saved in live interior Deposit in subregion;
Used here as file synchronization software, by the file real-time synchronization of memory partitioning in fdisk;And file is deleted Can be using by timed task and script, when disk size exceedes specific threshold, by the section video file out of date for early stage Batch is deleted.
In internal memory, the process of cache file is, video source file is stored in internal memory first, then unloading from internal memory To in hard disk, popular piece rapid lapse of time in internal memory is retained, the fragment short time of unexpected winner retains simultaneously.Its process can be as far as possible Ground reduces number of times and the possibility that hard disk reads.
When synchronous, only do increment synchronization, do not do deletion synchronous.File synchronization software include Windows SyncToy or FreeFileSync, and the Inotify+Rsync of Linux.
The method optionally file can be retained in internal memory and caches according to file access temperature;
The video segment being cached in internal memory is to be preserved based on time inverted order;
Retain more popular file fragment in internal memory, the number that unexpected winner file fragment caches in internal memory can be reduced simultaneously Amount;
Brief description
Fig. 1 is live stream pushing server deployment architecture and user's playing request overall schematic.
Specific embodiment
Below more detailed elaboration is carried out to present disclosure:
The hardware configuration of hypothesis stream pushing server is 32GB internal memory, 1TB stores (being only used for preserving time shift program), 10,000,000,000 nets Card.First the 16GB in internal memory is divided into live and time shift memory partitioning in short-term, will storage 1TB time shift hard disk when being divided into long Subregion.The RamDisk of common memory partitioning software such as Windows, and the TmpFS of Linux all can create memory partitioning System.
After the subregion completing internal memory and hard disk divides, direct broadcast time-shift video server will be carried out with live central server Docking, in real time from live source server pull (or by live source server push) live content, and is saved in live In memory partitioning.Calculate according to the 5Mbps code check estimated above, in the case of 100 direct broadcast bands, stream pushing server interior Deposit the live and time-shifted contents that subregion can preserve 4.3 minutes.For the time-shifted contents more than 4.3 minutes, then need to be saved in In fdisk.
Used here as file synchronization program, by the file real-time synchronization of memory partitioning in fdisk.When synchronous, should Note only doing increment synchronization, do not do deletion synchronous.SyncToy or FreeFileSync of file synchronization software such as Windows, And the Inotify+Rsync of Linux.And file is deleted and can be used by timed task and script, when disk size is more than one Determine during threshold values (such as 90%), the section video file batch out of date for early stage is deleted.
It is proposed that Nginx is used as HTTP server in terms of direct broadcast time-shift video segment file program request download.Use Nginx issues the video segment file of the live/time shift in short-term of memory partitioning respectively, and the length of fdisk constantly video shift is cut Piece file, as two HTTP service.By the live of all users and time shifting request, all live/time shifts in short-term of acquiescence guiding Issue port, if user's request is time shift in live content, or short time, server will be directly from memory partitioning Middle reading file, is not take up magnetic disc i/o.When user's request during time time-shifted contents earlier, cannot look in memory partitioning To the file of early stage, therefore can trigger 404 error conditions, thus the request of user can be redirected in the time shift of fdisk Hold.The following is Nginx to live and time shift concrete configuration method example.
In brief, for the content of 100 channel 5Mbps code checks above, for the live of user and 4.3 minutes with Interior time shifting request, server, when providing the user HTTP download, does not interfere with magnetic disc i/o speed.Only when user's request ratio During 4.3 minutes contents earlier, just can read file from disk.
In terms of direct broadcast time-shift video segment file distribution, popular channel and its video segment should be deposited as much as possible In content partition, and unexpected winner channel and its section should not take excessive internal memory.Different frequencies are dynamically adjusted according to channel temperature Road, in the time shift length of memory partitioning, can improve the utilization rate of memory partitioning further, and reduce the pressure of disk reading.

Claims (4)

1. a kind of improve direct broadcast time-shift TV concurrent capability implementation method it is characterised in that
Including memory partitioning system, file synchronization software, file expiration management and the analysis of file request temperature;Wherein,
First internal memory is divided into live and time shift memory partitioning in short-term, time shift fdisk when storage is divided into long;
Complete internal memory and hard disk subregion divide after, direct broadcast time-shift video server will with live central server carry out right Connect, in real time from live source server pull or by live source server push live content, and be saved in live internal memory In subregion;
Using file synchronization software, by the file real-time synchronization of memory partitioning in fdisk;And file is deleted to use and is led to Cross timed task and script, when disk size exceedes specific threshold, the section video file batch out of date for early stage is deleted.
2. method according to claim 1 it is characterised in that in internal memory the process of cache file be, video source file It is stored in first in internal memory, then dumps in hard disk from internal memory, popular piece rapid lapse of time in internal memory is retained simultaneously, cold The fragment short time of door retains.
3. method according to claim 1, it is characterised in that when synchronous, only doing increment synchronization, does not do deletion synchronous.
4. method according to claim 3 it is characterised in that file synchronization software include Windows SyncToy or FreeFileSync, and the Inotify+Rsync of Linux.
CN201610945223.4A 2016-10-26 2016-10-26 Method for improving concurrency of live broadcast time shifted TV Pending CN106454396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610945223.4A CN106454396A (en) 2016-10-26 2016-10-26 Method for improving concurrency of live broadcast time shifted TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610945223.4A CN106454396A (en) 2016-10-26 2016-10-26 Method for improving concurrency of live broadcast time shifted TV

Publications (1)

Publication Number Publication Date
CN106454396A true CN106454396A (en) 2017-02-22

Family

ID=58177664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610945223.4A Pending CN106454396A (en) 2016-10-26 2016-10-26 Method for improving concurrency of live broadcast time shifted TV

Country Status (1)

Country Link
CN (1) CN106454396A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582004A (en) * 2018-06-07 2019-12-17 青岛海尔多媒体有限公司 television system of hotel, video playing method and information sharing method
CN111372103A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Multicast method, device, equipment and computer storage medium
CN112492341A (en) * 2020-11-30 2021-03-12 深圳前海微众银行股份有限公司 Live broadcast time shifting caching method, device and system and computer readable storage medium
CN112788352A (en) * 2019-11-01 2021-05-11 海信电子科技(深圳)有限公司 Live broadcast time shifting method, terminal and storage medium
CN112995268A (en) * 2019-12-16 2021-06-18 现代自动车株式会社 Method of managing memory of vehicle multimedia system, recording medium, and playback apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007027891A (en) * 2005-07-12 2007-02-01 Canon Inc Recording/reproducing device, recording/reproducing method, and computer program
CN101141623A (en) * 2007-10-17 2008-03-12 华中科技大学 P2P technique based video on-demand program caching method
CN101232600A (en) * 2008-03-04 2008-07-30 华为技术有限公司 Device, system and method for providing order program contents
CN101795297A (en) * 2010-03-19 2010-08-04 北京天天宽广网络科技有限公司 Live broadcasting time shifting system based on P2P (peer-to-peer) technology and method thereof
CN102333243A (en) * 2010-07-14 2012-01-25 北京泓润光谷数字媒体技术有限责任公司 VOD (video on demand) device of streaming media in live broadcast
CN104410879A (en) * 2014-12-04 2015-03-11 百视通网络电视技术发展有限责任公司 Time-shifting implementation method and device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007027891A (en) * 2005-07-12 2007-02-01 Canon Inc Recording/reproducing device, recording/reproducing method, and computer program
CN101141623A (en) * 2007-10-17 2008-03-12 华中科技大学 P2P technique based video on-demand program caching method
CN101232600A (en) * 2008-03-04 2008-07-30 华为技术有限公司 Device, system and method for providing order program contents
CN101795297A (en) * 2010-03-19 2010-08-04 北京天天宽广网络科技有限公司 Live broadcasting time shifting system based on P2P (peer-to-peer) technology and method thereof
CN102333243A (en) * 2010-07-14 2012-01-25 北京泓润光谷数字媒体技术有限责任公司 VOD (video on demand) device of streaming media in live broadcast
CN104410879A (en) * 2014-12-04 2015-03-11 百视通网络电视技术发展有限责任公司 Time-shifting implementation method and device and server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582004A (en) * 2018-06-07 2019-12-17 青岛海尔多媒体有限公司 television system of hotel, video playing method and information sharing method
CN111372103A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Multicast method, device, equipment and computer storage medium
CN111372103B (en) * 2018-12-26 2023-05-26 中兴通讯股份有限公司 Multicast method, device, equipment and computer storage medium
CN112788352A (en) * 2019-11-01 2021-05-11 海信电子科技(深圳)有限公司 Live broadcast time shifting method, terminal and storage medium
CN112788352B (en) * 2019-11-01 2023-04-25 Vidaa(荷兰)国际控股有限公司 Live broadcast time shifting method, terminal and storage medium
CN112995268A (en) * 2019-12-16 2021-06-18 现代自动车株式会社 Method of managing memory of vehicle multimedia system, recording medium, and playback apparatus
CN112492341A (en) * 2020-11-30 2021-03-12 深圳前海微众银行股份有限公司 Live broadcast time shifting caching method, device and system and computer readable storage medium
CN112492341B (en) * 2020-11-30 2024-02-23 深圳前海微众银行股份有限公司 Live broadcast time shift caching method, device and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106454396A (en) Method for improving concurrency of live broadcast time shifted TV
US7640274B2 (en) Distributed storage architecture based on block map caching and VFS stackable file system modules
CN100568957C (en) A kind of video frequency request program caching method based on the p2p technology
US9483191B2 (en) Multi-tier storage for delivery of services
US9043822B1 (en) Remote time shift buffering with shadow tuning
US20050086386A1 (en) Shared running-buffer-based caching system
CN101060418B (en) Special disk reading and writing system suitable for IPTV direct broadcast server with time shift
US8578431B2 (en) Adaptive timeshift service
US8578089B2 (en) Storage device cache
WO2009062385A1 (en) A storage system and method of stream media file
CN103096126B (en) Towards the cooperative caching method and system of video-on-demand service in cooperative caching cluster
CN103546698B (en) A kind of mobile terminal recorded video store method and device
CN205430501U (en) Mobile terminal web advertisement video and positive video seamless handover device
CN102521279A (en) Playing method, playing system and player of streaming media files
Juhn et al. Fast broadcasting for hot video access
CN103414747A (en) Adaptive streaming media caching method
CN105072489B (en) A kind of method and system that rapid file is read
CN104811646B (en) The storage method of the modulation of multiple video strems Data Concurrent and buffering based on Coutinuous store model
DE102012201534A1 (en) Device for intermediate storage of scalable original data file, has proxy file-generator to read and insert basic-information-plane from original data file into proxy file at location specified by second structure
DE102008003894B4 (en) Data dissemination and caching
US20170178682A1 (en) Systems and processes for efficiently storing and retrieving video content
KR100896726B1 (en) Method for Near Video-on-Demand using partial staircase patching
KR100855021B1 (en) Method for video data delivery using partial harmonic broadcasting
EP2885919B1 (en) Program identifier based recording
CN100424778C (en) Process and device for recording multimedia digital data, associated hard disk, recording medium and digital data string

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222