CN101662655B - Audio/video on-demand system - Google Patents

Audio/video on-demand system Download PDF

Info

Publication number
CN101662655B
CN101662655B CN2009100345330A CN200910034533A CN101662655B CN 101662655 B CN101662655 B CN 101662655B CN 2009100345330 A CN2009100345330 A CN 2009100345330A CN 200910034533 A CN200910034533 A CN 200910034533A CN 101662655 B CN101662655 B CN 101662655B
Authority
CN
China
Prior art keywords
data
audio
video
unit
program request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009100345330A
Other languages
Chinese (zh)
Other versions
CN101662655A (en
Inventor
洪胜峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN2009100345330A priority Critical patent/CN101662655B/en
Publication of CN101662655A publication Critical patent/CN101662655A/en
Application granted granted Critical
Publication of CN101662655B publication Critical patent/CN101662655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to an audio/video on-demand system, comprising an audio/video data memory, a data reading unit and an on-demand terminal, wherein the data reading unit is used for reading corresponding audio/video data from the audio/video data memory according to the demand of the on-demand terminal. The audio/video on-demand system is characterized by also comprising at least two data caching units, the data reading unit saves the read audio/video data into the data caching units, and data distributing units read the audio/video data from the data caching units and sequentially distribute the audio/video data to the on-demand terminal for broadcasting. The invention has the advantages of simple structure, strong adaption, and can adopt hardware description language to design logic circuits on FPGA so as to save designing time and cost to the full extent.

Description

A kind of audio/video on-demand system
Technical field
The present invention relates to a kind of audio/video on-demand system, relate in particular to a kind of transfer of data of the simple audio/video on-demand system based on single audio-video document form.
Background technology
VOD (VideoonDemand) is video request program, also claims the interactive television VOD system.Traditional television system information one-way transmission, the user can only passively receive.And VOD is the bidirectional video and audio information system based on the brand new conception of " user is autonomous ", has realized need playing by the user ideal of video-audio program.VOD is the important component part of following information superhighway framework, is the soul of broadband services in the following information service.This technology is the product of multidisciplinary, multi-field fusion cross coupled such as computer technology, the network communications technology, multimedia technology, TV tech and digital compression technology.
The VOD service that external late nineteen nineties rises has been widely used in each big star hotel and high-end residential sub-district etc., becomes it and improves excellent service standard, increases the indispensable facility of competitiveness.By the VOD system, people are home-confined just can to view and admire most popular movie and video programs, inquires about numerous information on services, carries out shopping online, and it is dynamic to understand up-to-date finance and economics, appreciates high-quality multimedia video program ... enjoy the information service of all direction multifunctional.
Audio/video on-demand is one of the most popular in the world current high-tech application item, and it combines multinomial modern advanced achievements such as computer, communication, multimedia, TV tech, is representing the direction of entertainment life Informatization Development.A kind of multimedia service during video request program, the user can browse, search for available movie program database or other content of multimedia.
At present, text, image and arrowband video/audio signal can be digitized, and can be by the network storage, transmission and reproduction; But these traditional means can not fully satisfy the application requirements of current society to high-quality, continuous multimedia such as HD Audio and television-quality video, comprise mass data storage and continuous requirement of playing.They require mass-memory unit, require the broadband network environment, the most important thing is to guarantee real-time Transmission.Traditional technology can not satisfy hard real time and big capacity requirement, and its technical bottleneck is reflected in these three aspects of the network bandwidth, file system and memory device I/O performance especially.
Audio/video on-demand system is used under places such as hotel, KTV, airliner, high-grade bus and environment in a large number.At present many audio/video on-demand systems all are based on two PC frameworks, and promptly server and program request client all adopt PC, but the cost height of this framework, and stability and efficient are all poor.
Summary of the invention
Based on above-mentioned defective, the purpose of this invention is to provide a kind of simple structure, adaptability is strong, can adopt hardware description language to carry out the audio/video on-demand system of Logic Circuit Design on FPGA, has saved design time and cost to the full extent.
Another object of the present invention provides a kind of audio/video on-demand system, mainly is a kind of simple audio/video on-demand system Data Transport Protocol based on single video file format.
Technical scheme of the present invention is, a kind of audio/video on-demand system, comprise: audio, video data memory, data-reading unit and program request terminal, data-reading unit reads corresponding audio, video data according to the request of program request terminal from the audio, video data memory, it is characterized in that, also comprise first, second two data buffer units at least, data-reading unit is stored to data buffer storage unit with the audio, video data that reads, and the data allocations unit reads audio, video data and audio, video data order assignment to program request terminal is play from data buffer storage unit.
As a preferred embodiment of the invention, at first the audio, video data that reads is stored to first data buffer storage unit in described data-reading unit, after first data buffer storage unit is finished the audio, video data storage, data-reading unit sends first and instructs to the data allocations unit, and the data allocations unit begins to read the audio, video data in first data buffer storage unit and is dispensed to the program request terminal according to first instruction.
As a preferred embodiment of the invention, in described data allocations unit when beginning to read the audio, video data of first data buffer storage unit, send first response instruction to data-reading unit, after data-reading unit receives first response instruction, begin from the audio, video data memory, to read audio, video data and be stored to second data buffer storage unit.
As a preferred embodiment of the invention, after described second data buffer storage unit is finished the audio, video data storage, data-reading unit sends second and instructs to the data allocations unit, if the data allocations unit, does not then temporarily respond this second instruction in the data that read first data buffer storage unit; Read the data of first data buffer storage unit up to the data allocations unit after, this second instruction of data allocations cell response also sends second response instruction to data-reading unit, and the data allocations unit begins to read the audio, video data of second data buffer storage unit.
As a preferred embodiment of the invention, described program request terminal comprises N, and described first data buffer storage unit and second data buffer storage unit all are divided into N buffering area, and described each buffering area is divided into P packet.
As a preferred embodiment of the invention, in the request of N program request terminal of described data-reading unit sequential scanning, and respond the request of program request terminal accordingly, read audio, video data from the audio, video data memory.
As a preferred embodiment of the invention, when responding current program request terminal request and reading audio, video data, accordingly audio, video data is stored to and current program request terminal order number consistent buffering area in described data-reading unit.
As a preferred embodiment of the invention, after described data-reading unit is filled with the data buffer zone of current program request terminal correspondence, next program request terminal of sequential scanning, until the scanning of finishing all program request terminals, finish the storage of first data buffer storage unit and send first to instruct to the data allocations unit.
As a preferred embodiment of the invention, between described data allocations unit and program request terminal, adopt the topological structure of bus type to carry out transfer of data.
As a preferred embodiment of the invention, in described data allocations unit the packet that reads is uploaded to bus in batches, the program request terminal receives packet as required.
Simple structure of the present invention, adaptability is strong, can adopt hardware description language to carry out Logic Circuit Design on FPGA, has saved design time and cost to the full extent.The audio/video on-demand system that the present invention discloses can be realized under the single form audio/video on-demand condition, and the reception of reading with each terminal of audio, video data has realized continual real-time operation, has improved data transmission efficiency, has guaranteed the demonstration continuity.
Description of drawings
Accompanying drawing 1 is the system block diagram of preferred embodiment of the present invention;
Accompanying drawing 2 is spatial cache method of salary distribution schematic diagram in the preferred embodiment of the present invention;
Accompanying drawing 3 sends the form principle schematic for preferred embodiment middle pitch video data of the present invention;
Accompanying drawing 4 is time division multiplexing schematic diagram in the preferred embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present invention is described in detail, thereby protection scope of the present invention is made more explicit defining so that advantages and features of the invention can be easier to be it will be appreciated by those skilled in the art that.
The present invention is mainly used in television set, and the multimedia display terminal network that also can be used for other audio/video on-demand system and have the audio/video on-demand function is fit to be applied to the environment of audio frequency and video interaction.In the embodiment of the invention, be that example schematically illustrates with the television set, but the present invention is not limited to this.
As shown in Figure 1, in the embodiment of the invention, VOD system mainly is divided into five functional units: the audio, video data memory, and for example hard disk or similar storage medium are mainly used in all kinds of audio and video resources of storage, for example various films, MTV or song etc.; Data-reading unit is DMA1 in the present embodiment; Data buffer storage unit is two dual port RAMs in the present embodiment, also a plurality of RAM can be set, and can adopt other storage mediums; The data allocations unit is DMA2 in the present embodiment; And the program request terminal, be n in the present embodiment, be applicable to the public place of entertainment.It is RAM1 that two data buffer units are respectively first data buffer storage unit, and second data buffer storage unit is RAM2.
When audio/video on-demand system is started working, after data-reading unit DMA1 receives the order request of each program request terminal by the CAN bus interface, from the audio, video data memory, read the audio, video data of being chosen by the user, store into then wherein in a slice dual port RAM (this sentences the first data buffer storage unit RAM1 is example), in the present embodiment, every dual port RAM all is divided into and the corresponding equal-sized metadata cache of program request terminal number space.Data-reading unit DMA1 is according to the pre-sorting of each program request terminal, the audio, video data of the different program request terminals that read in the audio, video data memory is write in the designated space of the first data buffer storage unit RAM1, when data-reading unit finish to the scanning of whole program request terminals and with the data of corresponding program request terminal request after the first data buffer storage unit RAM1 stores, data-reading unit DMA1 is by CAN bus notification data allocation units DMA2, make it read data among the first data buffer storage unit RAM1, and deliver to each program request terminal and carry out decoding and displaying.
When data allocations cells D MA2 begins to read among the first data buffer storage unit RAM1 data, can return response signal to data-reading unit DMA1, show that oneself has received audio, video data, and begin to read.At this moment, after data-reading unit DMA1 receives this response signal, the ensuing audio, video data of each program request terminal in the hard disk can be read out to write among the second data buffer storage unit RAM2 and carry out buffer memory.As similar to first data buffer storage unit storage data, data-reading unit has scanned whole program request terminals, after finishing storage to the second data buffer storage unit RAM2, data-reading unit DMA1 can send order to data allocations cells D MA2 equally, at this moment, if data allocations cells D MA2 is data in reading the first data buffer storage unit RAM1 still, the then temporary transient not order of response data reading unit DMA1, up to the first data buffer storage unit RAM1 read finish after, the just order of response data reading unit DMA1, and reply, begin to read the data among the second data buffer storage unit RAM2 simultaneously.
According to the method for designing of above-mentioned ping-pong operation, the reception of reading with each program request terminal of audio, video data memory has realized continual real-time operation, has improved data transmission efficiency, has guaranteed the demonstration continuity.
As shown in Figure 2, be the distribution method schematic diagram of data space in the dual port RAM data buffer storage unit of the present invention.
In the present embodiment, suppose that two dual port RAMs are the byte of N K (N is the program request terminal number), it is divided into N continuous data space, respectively as the data buffer zone of N terminal.For making things convenient for data allocations cells D MA2 reading of data and send to each corresponding terminal from dual port RAM, again each data field is divided into P the packet that size is identical, each transmission is disposable continuous transmission data volume with a packet all.
In working order down, the order request that data-reading unit DMA1 sends according to the program request terminal, the data of this program request terminal are read from the audio, video data memory, and be written as (1KB altogether) in the RAM metadata cache space of this program request terminal distribution, be filled until this segment space.After DMA1 finishes reading of this terminal data piece,,, from hard disk, read corresponding data and send into buffer area if the application program request then repeats above-mentioned steps with the operating state of the next terminal of scanning; If no IP Information On Demand, then skip this program request terminal, continue to scan next program request terminal, finish scanning up to data-reading unit DMA1 to whole program request terminals.
As shown in Figure 3, send the form principle schematic for audio, video data of the present invention.
In the design of the high-speed video packed data transmission channel of system, the present invention adopts the topological structure of bus type, send packet in " broadcasting " mode to all terminals by server, each terminal is carried out selectivity in " listening to " mode to packet and is received, as shown in Figure 1.
In order to improve channel utilization, a plurality of signals are not disturbed mutually along same Channel Transmission, claim multiplexed.Time division multiplexing is used for digital communication, for example PCM communication.Time division multiplexing communication is that each road signal occupies the different time gap and communicates on same channel.Specifically, exactly the time is divided into some uniform time slots, transmission time of each road signal is distributed in different time slots, to reach separated from each other, non-interfering purpose.
Fig. 4 is the time division multiplexing schematic diagram, each road signal through low pass filter with frequency band limits below 3400Hz, be added to swift electron rotary switch (title distributor) k then 1, k 1Switch is constantly repeatedly done at the uniform velocity rotation, the time that whenever rotates a circle equal one sampling period T, so just accomplish every the period T time sample once each road signal.This shows that the distributor of making a start not only plays the effect of sampling, also play multiplexing effect of closing the road simultaneously.Close sampled signal behind the road and deliver to PCM encoder and quantize and encode, then numeral letter sign indicating number is sent to channel.In receiving end these each road letter sign indicating numbers of sending here from transmitting terminal are decoded successively, the PAM signal after the reduction, K2 connects each road signal successively by receiving end distributor rotary switch, and is level and smooth through low pass again, is reconstructed into voice signal.The distributor that this shows receiving end plays time-multiplexed by-passing, so the receiving end distributor is distributed channel gate again.
Being the MPEG-1 form with the file of all terminal plays is example, and the streaming rate that requires to play is 1.416Mb/s, i.e. 177KB/s.Under the condition that transmission medium allows, adopt time division multiplexing (TDM) technology, the order program data of each program request terminal is by certain scale piecemeal packing ordering, and according to the packet adding packet header ID of different program request terminals to each transmission, timing is broadcasted away on bus then.Its data transmission format as shown in Figure 3.
In Fig. 3, the length of timing cycle is big or small well-determined by packet.Because each program request terminal all needs to satisfy the data rate request of 1.416Mb/s, therefore, timing cycle can be calculated by following formula:
T=P÷177(KB/s)
Wherein, T is a timing cycle, and unit is s; P is the size of each packet, and unit is " Kbyte ".
When N program request terminal was in the program request state simultaneously, establishing bus transfer rate was v, and unit is " Kbit/s ", and the time that sends N packet continuously is
t = [ ( P × 8 ) ÷ v ) ] × N = P ÷ v 8 N
Wherein, t is the time that sends N packet continuously, and unit is s.
If will realize N program request terminal normal play MPEG-1 audio-video document, then must satisfy t<T, promptly If in the course of work, certain terminal does not have order program data to be needed to send, and then the transmitting time section of this terminal will be retained, shown in the packet 3 of the packet 2 of terminal among Fig. 33 and terminal 1, terminal 2.
After the program request terminal receives broadcast data packet on the channel, with packet header ID number of judgment data bag at first, if the ID of this packet number identical with the ID numbering of this terminal, then this program request starting terminal receives this packet, program request terminal is then handled and is play corresponding data, otherwise will continue data transmission channel is monitored.
From the announcement of the invention described above embodiment, simple structure of the present invention as can be seen, adaptability is strong, can adopt hardware description language to carry out Logic Circuit Design on FPGA, has saved design time and cost to the full extent.And the audio/video on-demand system that discloses of the present invention, can realize under the single form audio/video on-demand condition that the reception of reading with each terminal of audio, video data has realized continual real-time operation, has improved data transmission efficiency, has guaranteed the demonstration continuity.
The above; it only is the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; any those of ordinary skill in the art are in the disclosed technical scope of the present invention; variation or the replacement that can expect without creative work all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range that claims were limited.

Claims (7)

1. audio/video on-demand system, comprise: the audio, video data memory, data-reading unit and program request terminal, data-reading unit reads corresponding audio, video data according to the request of program request terminal from the audio, video data memory, it is characterized in that, also comprise at least the first, the second two data buffer units, data-reading unit is stored to data buffer storage unit with the audio, video data that reads, the data allocations unit reads audio, video data and audio, video data order assignment to program request terminal is play from data buffer storage unit, data-reading unit at first is stored to first data buffer storage unit with the audio, video data that reads, after first data buffer storage unit is finished the audio, video data storage, data-reading unit sends first and instructs to the data allocations unit, the data allocations unit begins to read the audio, video data in first data buffer storage unit and is dispensed to the program request terminal according to first instruction, the data allocations unit is when beginning to read the audio, video data of first data buffer storage unit, send first response instruction to data-reading unit, after data-reading unit receives first response instruction, begin from the audio, video data memory, to read audio, video data and be stored to second data buffer storage unit, after second data buffer storage unit is finished the audio, video data storage, data-reading unit sends second and instructs to the data allocations unit, if the data allocations unit, does not then temporarily respond this second instruction in the data that read first data buffer storage unit; Read the data of first data buffer storage unit up to the data allocations unit after, this second instruction of data allocations cell response also sends second response instruction to data-reading unit, and the data allocations unit begins to read the audio, video data of second data buffer storage unit.
2. audio/video on-demand system according to claim 1, it is characterized in that, described program request terminal comprises N, and described first data buffer storage unit and second data buffer storage unit all are divided into N buffering area, and described each buffering area is divided into P packet.
3. audio/video on-demand system according to claim 2 is characterized in that, the request of N program request terminal of described data-reading unit sequential scanning, and respond the request of program request terminal accordingly, read audio, video data from the audio, video data memory.
4. audio/video on-demand system according to claim 3, it is characterized in that, described data-reading unit is stored to audio, video data and current program request terminal order number consistent buffering area when responding current program request terminal request and reading audio, video data accordingly.
5. audio/video on-demand system according to claim 4, it is characterized in that, after described data-reading unit is filled with the data buffer zone of current program request terminal correspondence, next program request terminal of sequential scanning, until the scanning of finishing all program request terminals, finish the storage of first data buffer storage unit and send first to instruct to the data allocations unit.
6. audio/video on-demand system according to claim 2 is characterized in that, between described data allocations unit and the program request terminal, adopts the topological structure of bus type to carry out transfer of data.
7. audio/video on-demand system according to claim 2 is characterized in that, the data allocations unit uploads to bus in batches with the packet that reads, and the program request terminal receives packet as required.
CN2009100345330A 2009-09-17 2009-09-17 Audio/video on-demand system Active CN101662655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100345330A CN101662655B (en) 2009-09-17 2009-09-17 Audio/video on-demand system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100345330A CN101662655B (en) 2009-09-17 2009-09-17 Audio/video on-demand system

Publications (2)

Publication Number Publication Date
CN101662655A CN101662655A (en) 2010-03-03
CN101662655B true CN101662655B (en) 2011-06-08

Family

ID=41790380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100345330A Active CN101662655B (en) 2009-09-17 2009-09-17 Audio/video on-demand system

Country Status (1)

Country Link
CN (1) CN101662655B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841455A (en) * 2012-11-20 2014-06-04 齐达巍 Interactive video-on-demand system
CN103888789A (en) * 2012-12-20 2014-06-25 中山大学深圳研究院 Content distribution method in information distribution system
CN105706419A (en) * 2016-01-22 2016-06-22 张阳 Song playing method and sytem for KTV
CN107122320B (en) * 2016-02-25 2021-02-09 邦彦技术股份有限公司 Device, system and method for realizing PCM audio playing based on FPGA
WO2023150901A1 (en) * 2022-02-08 2023-08-17 深圳Tcl新技术有限公司 Data processing method and apparatus, and storage medium and computer device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777278A (en) * 2005-11-29 2006-05-24 中国科学技术大学 Method for realizing flow media server supporting long-distance storage mode
CN101207795A (en) * 2006-12-22 2008-06-25 长江计算机(集团)公司 Live broadcast server with time shift function and implementation method thereof
CN101236528A (en) * 2008-02-20 2008-08-06 华为技术有限公司 Ping-pong control method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777278A (en) * 2005-11-29 2006-05-24 中国科学技术大学 Method for realizing flow media server supporting long-distance storage mode
CN101207795A (en) * 2006-12-22 2008-06-25 长江计算机(集团)公司 Live broadcast server with time shift function and implementation method thereof
CN101236528A (en) * 2008-02-20 2008-08-06 华为技术有限公司 Ping-pong control method and apparatus

Also Published As

Publication number Publication date
CN101662655A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
CN101184195B (en) Audio/video living broadcast system and method
CN102123303B (en) Audio/video file playing method and system as well as transmission control device
RU2378765C1 (en) Device and method for receiving multiple streams in mobile transmission system
CN101917390B (en) Multifunctional network player
CN101083756A (en) internet based TV stream data real time transmission and service apparatus and method
CN102131106A (en) Method, device and system for playing streaming media contents
CN101917613B (en) Acquiring and coding service system of streaming media
CN202334795U (en) Satellite broadcasting-based mobile wireless video service system
CN102510541A (en) Multi-screen interaction video and audio content switching method and media player
CN101098470A (en) P2P technique based stream media program broadcasting/receiving method and apparatus
CN100515079C (en) An implementation method for picture-in-picture in IPTV
CN101448152B (en) Multipath video processing method and system, terminal and medium server thereof
CN101662655B (en) Audio/video on-demand system
CN1497876A (en) Equipment and method for transmitting and receiving multi-medium broadcast
CN1997160A (en) A multi-channel program receiving and displaying system and method
CN101267541B (en) A stream media distribution server applicable to online VoD or living broadcast
CN103313095A (en) Video transmission method, play method, terminal and server
CN101616060B (en) Method and system for switching multicast to unicast for IPTV terminal
CN102404646A (en) Wireless television live broadcasting system and live broadcasting method thereof
CN109845280A (en) Audio and video playing method and device based on Streaming Media
CN102223569A (en) Multi-path video processing method
CN203387627U (en) Live broadcast and order system of mobile streaming media
CN102664900B (en) Media business supplying method and device, media business display packing and device
JP2013517715A (en) Method and apparatus for recording multimedia broadcast program
CN102710967A (en) Cloud television system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: HISENSE ELECTRIC Co.,Ltd.

CP01 Change in the name or title of a patent holder