CN103347212A - VOD program playing method and VOD program playing device - Google Patents

VOD program playing method and VOD program playing device Download PDF

Info

Publication number
CN103347212A
CN103347212A CN2013102177270A CN201310217727A CN103347212A CN 103347212 A CN103347212 A CN 103347212A CN 2013102177270 A CN2013102177270 A CN 2013102177270A CN 201310217727 A CN201310217727 A CN 201310217727A CN 103347212 A CN103347212 A CN 103347212A
Authority
CN
China
Prior art keywords
vod program
data
peripheral hardware
buffering area
playing
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.)
Granted
Application number
CN2013102177270A
Other languages
Chinese (zh)
Other versions
CN103347212B (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 Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201310217727.0A priority Critical patent/CN103347212B/en
Publication of CN103347212A publication Critical patent/CN103347212A/en
Application granted granted Critical
Publication of CN103347212B publication Critical patent/CN103347212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a VOD program playing method and a VOD program playing device. The VOD program playing method includes the first step of building a peripheral buffering area in a peripheral device after the VOD program playing device displays a VOD program menu and after the eligible peripheral device is detected, the second step of enabling the VOD program playing device to send VOD program data request information to a VOD program server, and buffering VOD program data returned by the VOD program server to the peripheral buffering area after receiving the VOD program data returned by the VOD program server, and the third step of reading cached data in the peripheral buffering area and playing the data when the data in the peripheral buffering area is judged to reach a playable condition. According to the technical scheme, the capacity of the periphery buffering area is big enough, even through the internet speed is slow or unstable within a short time, the immediate velocity of the VOD program data in the process that the VOD program data is read from the periphery buffering area to the process of module playing is larger than a program playing code rate, and therefore stop and pause in the program playing process can be avoided.

Description

The playing method and device of VOD program
Technical field
The present invention relates to the set-top box technique field, relate in particular to a kind of playing method and device of VOD program.
Background technology
In recent years, the digitlization of cable TV has obtained popularization, and digitized cable television system is disposed widely.Each digital cable TV system generally comprises the set-top box of One's name is legion.Set-top box can be used for receive and play common TV programme, but the time of these TV programme and broadcast thereof all be predefined by each cable TV station, the user can't independently select time of watching specific program and watching.Thereby set-top box also provides VOD(Video On Demand, video request program usually) service, use for user's program request independently and watch specific program, simultaneously the selected time of watching; Wherein, program comprises: TV programme, Internet video or other network media information.
Support the VOD system of VOD service generally to be formed by VOD front-end processing system, transmission network and user's set-top box.Wherein, the VOD front-end processing system comprises VOD program server and disk array, and the VOD program server is used for and user interactions, management data, supervising the network and charging, and disk array is used for stored data base.Interconnect by transmission network between user's set-top box and the VOD front-end processing system.For ease of describing, present specification will can abbreviate the VOD program as for the program of program request in the VOD system.
At present, existing VOD system provides the flow process of order program service at user's order request, usually as shown in Figure 1a, comprises the steps:
The propelling movement of S001:VOD program guide.
Particularly, set-top box a order request that the user is created sends to one of them VOD program server in the VOD front-end processing system by transmission network; The VOD program server inquires the information of each VOD program from the database of storage, and described each information is sent to set-top box; Set-top box becomes corresponding VOD program guide to present to the user described each information editing, selects program for the user
The program request of S002:VOD program.
Particularly, treat that the user finishes the VOD program and selects after, set-top box is returned user selected program information to the VOD program server; The VOD program server inquires corresponding VOD program data according to the programme information that receives in database, and these data are sent to this set-top box; Set-top box is play the VOD program according to the VOD program data that receives.
Fluency for guaranteeing to play can arrange buffering area in set-top box; The data of this VOD program that set-top box will receive are buffered in the built-in buffering area of this set-top box, read the data of this program again and play from this buffering area; When the network speed of transmission network is slower or unstable, can guarantee the fluency play by reading data in the buffering area.
Yet the present inventor finds, because cost, the built-in common capacity of buffering area of set-top box is less, and along with the development of video technique, such as the appearance of 3D video, HD video technology, the data of single VOD program are increasing; Make the built-in buffering area of set-top box can not guarantee the fluency of the broadcast of VOD program, a card phenomenon that maybe can't continue to play often occurs.
Summary of the invention
At the defective that above-mentioned prior art scheme exists, the invention provides a kind of playing method and device of VOD program, a card phenomenon that maybe can't continue to play takes place in order to the program in avoiding playing, improve the fluency of playing.
Technical scheme of the present invention discloses a kind of VOD program broadcasting method, comprising:
VOD program playing device sends order request to the VOD program server, and after showing the VOD program guide according to the programme information that described VOD program server is returned, detects Peripheral Interface; After detecting described Peripheral Interface and being connected with qualified peripheral hardware, in described peripheral hardware, create the peripheral hardware buffering area;
VOD program playing device sends VOD program data request information according to user's selected VOD program in described VOD program guide to described VOD program server; And
After receiving the VOD program data that described VOD program server returns, with the data buffering that receives in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read in the described peripheral hardware buffering area data in buffer and play.
Preferably, described after detecting described Peripheral Interface and being connected with qualified peripheral hardware, in described peripheral hardware, create the peripheral hardware buffering area and be specially:
Greater than the preset threshold capacity, then confirm to detect qualified peripheral hardware at the remaining space that detects the peripheral hardware that described Peripheral Interface connects; Afterwards, in described peripheral hardware, create the peripheral hardware buffering area.
Preferably, described after receiving the VOD program data that described VOD program server returns, the data buffering that receives is specially in described peripheral hardware buffering area:
Described VOD program playing device namely triggers described with the operation in the described peripheral hardware buffering area of the data buffering that receives after receiving described VOD program data;
Perhaps, described VOD program playing device is directly play according to the data that receive after receiving described VOD program data; Less than after playing code check, trigger described with the operation in the described peripheral hardware buffering area of the data buffering that receives at the transmission code rate that detects described VOD program data.
Preferably, the described data that are buffered in the described peripheral hardware buffering area are stored in a plurality of the setting in the big or small buffer culture successively by the sequencing that cushions; And
Described with the data buffering that receives in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read in the described peripheral hardware buffering area data in buffer and play and be specially:
Described VOD program playing device carries out following operation every setting-up time: judge whether the data that cushion in the described peripheral hardware buffering area reach the described condition of playing; If then the data that read in the buffer culture in the described peripheral hardware buffering area according to the first-in first-out order are play;
Afterwards, described VOD program playing device is buffered to the VOD program data that receives in the described peripheral hardware buffering area.
Preferably, described the data buffering that receives is specially to described peripheral hardware buffering area:
When there is remaining space in described VOD program playing device in detecting described peripheral hardware buffering area, the buffer culture that establishment can be write;
The described VOD program data that described VOD program playing device will receive is written in the described buffer culture of writing;
After the described buffer culture of writing was fully written, described VOD program playing device was labeled as the described buffer culture of writing read-only, and will be labeled as read-only buffer culture and join in the First Input First Output.
Preferably, the described condition of playing specifically comprises:
The data of setting data amount have been cushioned in the described peripheral hardware buffering area;
Perhaps, described VOD program playing device receives the startup play instruction that the user sends by remote controller;
Perhaps, described VOD program playing device detects described peripheral hardware buffering area has not had remaining space.
Technical scheme of the present invention also discloses a kind of VOD program playing device, comprising:
The point broadcasting module sends order request to the VOD program server, and after showing the VOD program guide according to the programme information that described VOD program server is returned, sends buffering area and create notice; And according to user's selected VOD program in described VOD program guide, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server is returned;
Peripheral hardware buffering area creation module after receiving described buffering area establishment notice, detects Peripheral Interface; After detecting described Peripheral Interface and being connected with qualified peripheral hardware, in described peripheral hardware, create the peripheral hardware buffering area;
The data buffering module is used for obtaining the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read that data in buffer sends in the described peripheral hardware buffering area;
Playing module is used for playing according to the data that described data buffering module sends.
Wherein, described data buffering module specifically comprises:
Data-reading unit is used for every setting-up time, after transmission stops to deposit notice in, judges whether the data that cushion in the described peripheral hardware buffering area reach the described condition of playing; If then the data that read in the buffer culture in the described peripheral hardware buffering area according to the first-in first-out order send; Afterwards, transmission continues to deposit in notice;
Data deposit the unit in, be used for receiving described continue to deposit notice in after, obtain the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And receive described stop to deposit notice in after, stop to obtain the VOD program data that described VOD program server is returned from described some broadcasting module.
Technical scheme of the present invention also discloses a kind of VOD program playing device, comprising:
The point broadcasting module sends order request to the VOD program server, and after showing the VOD program guide according to the programme information that described VOD program server is returned, sends buffering area and create notice; And according to user's selected VOD program in described VOD program guide, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server is returned;
Peripheral hardware buffering area creation module after being used for receiving described buffering area and creating notice, detects Peripheral Interface, after detecting described Peripheral Interface and being connected with qualified peripheral hardware, creates the peripheral hardware buffering area in described peripheral hardware;
Playing module is used for playing according to obtain the VOD program data that described VOD program server returns from described some broadcasting module; And at the code check that obtains data when playing code check, send the buffering notice, and stop to obtain data from described some broadcasting module;
The data buffering module, be used for receiving the buffering notice that described playing module sends after, obtain the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read that data in buffer sends to described playing module in the described peripheral hardware buffering area;
Described playing module is used for playing according to the data that described data buffering module sends.
Wherein, described data buffering module specifically comprises:
Data-reading unit is used for every setting-up time, after transmission stops to deposit notice in, judges whether the data that cushion in the described peripheral hardware buffering area reach the described condition of playing; If then the data that read in the buffer culture in the described peripheral hardware buffering area according to the first-in first-out order send; Afterwards, transmission continues to deposit in notice;
Data deposit the unit in, be used for receiving described continue to deposit in notice or described buffering notice after, obtain the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And receive described stop to deposit notice in after, stop to obtain the VOD program data that described VOD program server is returned from described some broadcasting module.
Technical scheme of the present invention, by the peripheral hardware buffering area that in peripheral hardware, arranges, the function that realization is play VOD program limit buffer edge, because the capacity of peripheral hardware buffering area is enough big, even network speed causes occurring the instantaneous transmission code check of VOD program less than the situation of playing code check than slow or instability in the short time, the instant speed that also can make the data of this VOD program be read from the peripheral hardware buffering area the playing module process is play code check greater than this program, pause thereby occur card when avoiding occurring playing this program, improve the fluency of playing.
Description of drawings
Fig. 1 a is the flow chart of the VOD program broadcasting method of prior art;
Fig. 1 b is the flow chart that the VOD program playing device of the embodiment of the invention is created the peripheral hardware buffering area;
Fig. 2 is the flow chart of the VOD program broadcasting method of the embodiment of the invention;
Fig. 3 is the internal structure block diagram of a kind of VOD program playing device of the embodiment of the invention;
Fig. 4 is the internal structure block diagram of the another kind of VOD program playing device of the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to accompanying drawing and enumerate preferred embodiment, the present invention is described in more detail.Yet, need to prove that many details of listing in the specification only are in order to make the reader to one or more aspects of the present invention a thorough understanding be arranged, even if there are not these specific details also can realize these aspects of the present invention.
Terms such as " module " used in this application, " system " are intended to comprise the entity relevant with computer, such as but not limited to hardware, firmware, combination thereof, software or executory software.For example, module can be, but be not limited in: the thread of the process of moving on the processor, processor, object, executable program, execution, program and/or computer.For instance, the application program of moving on the computing equipment and this computing equipment can be modules.One or more modules can be positioned at an executory process and/or thread, and module also can be on the computer and/or be distributed between two or more the computers.
The present inventor considers that the memory capacity of external storage (being called for short peripheral hardware in the present specification) is bigger at present, and a part of peripheral hardware is enough stored the total amount of data of several programs simultaneously; And the message transmission rate of Peripheral Interface also is enough to satisfy the high data of playing code rate V OD program of transmission.Therefore, can utilize peripheral hardware as buffering area, with the data buffering of VOD program to the peripheral hardware buffering area, and the program data that reads in the peripheral hardware buffering area is play, even make under the slower or unsettled situation of the network speed of transmission network, guarantee the broadcast code check of VOD program, avoid occurring the VOD program and play Caton phenomenon, for the user provides better experience.
Following mask body is introduced the disclosed VOD program broadcasting method of the embodiment of the invention.
In an embodiment of the present invention, before the VOD program was play, VOD program playing device need be created the peripheral hardware buffering area and set relevant parameter, and flow chart is shown in Fig. 1 b, and concrete steps comprise:
S101:VOD program playing device sends order request to the VOD program server, and shows the VOD program guide according to the programme information that this VOD program server is returned.
Concrete, VOD program playing device sends to the VOD program server with the order request that the user creates by transmission network; This VOD server inquires the information of each VOD program from the database of storage, and the information of described each program is sent to this VOD program playing device; This VOD program playing device becomes corresponding VOD program guide to present to the user information editing of described each program, selects program for the user.
S102:VOD program playing device detects Peripheral Interface, and determines the relevant information of peripheral hardware.
Concrete, VOD program playing device detects the Peripheral Interface of set-top box or display device, if detecting Peripheral Interface is connected with peripheral hardware, then further determines the relevant information of this peripheral hardware of connection.For example, the relevant information of the peripheral hardware of determining can comprise: information such as the capacity of peripheral hardware, remaining space and form, and the relevant information of this peripheral hardware shown by TV screen.
S103:VOD program playing device is created the peripheral hardware buffering area and is set relevant parameter according to the relevant information of the peripheral hardware of determining.
Concrete, VOD program playing device is according to the remaining space of peripheral hardware, with the pre-set threshold capacity, determine the peripheral hardware buffer pool size: the capacity of the remaining space of peripheral hardware is compared with threshold capacity, if the capacity of the remaining space of peripheral hardware is more than or equal to threshold capacity, then create a peripheral hardware buffering area, the capacity of this peripheral hardware buffering area is more than or equal to threshold capacity and less than the capacity of the remaining space of peripheral hardware.For example, with a USB(Universal Serial BUS, USB) external hard disk of interface is connected with set-top box, the capacity that VOD program playing device in the disclosed set-top box of technical solution of the present invention is determined the remaining space of this external hard disk is 500GB(GigaByte, gigabyte), according to the threshold capacity of default 30GB, the 300GB space in the remaining space of this external hard disk drawn make the peripheral hardware buffering area; A common 1080P(Progressive Scan detects line by line) data volume of Internet video is no more than 30GB, and then this buffering area then can cushion the data of 10 1080P Internet videos simultaneously; If the capacity of the remaining space of peripheral hardware is then exported information less than threshold capacity, for example, prompting " remaining space can not satisfy the video buffer needs, please change the bigger equipment of capacity ";
After creating the peripheral hardware buffering area, this VOD program playing device is set the size of the single buffer culture in the peripheral hardware buffering area according to predefined capacity; For example, set the size of single buffer culture for 8MB(Million Byte, Mbytes); And the average bit rate of the Internet video that the H264 coded system that adopts current popular is encoded, generally be no more than 8Mbps(Million bit per second, the megabit per second), namely be no more than 1MB/S(Million Byte/second, megabyte/second), can cushion the data of the several seconds duration of this Internet video in the single buffer culture.
After creating the peripheral hardware buffering area, this VOD program playing device is set the display resolution when playing the VOD program.For example, be original resolution with the display resolution default setting; Wherein, original resolution is the resolution of this VOD program in the server; The display resolution of same VOD program can not be greater than original resolution;
Further, VOD program playing device is after the capacity of the remaining space of determining peripheral hardware is more than or equal to threshold capacity, also allow the user manually to set the capacity of peripheral hardware buffering area: if the capacity of user's input is greater than the capacity of the remaining space of peripheral hardware, then export information, for example, prompting " buffer size is set crosses the border, buffer device does not have enough spaces to use "; If the capacity of user input is then exported information less than threshold capacity, for example, if the preset threshold value capacity is 512MB, then prompting " arrange between buffer empty too small, the numerical value greater than 512MB please be set "; Otherwise, the capacity of user input is set for the capacity of buffering area;
Further, the on-demand device of VOD program also supports the user manually to set the display resolution of VOD program: in selected VOD program, selected resolution setting becomes display resolution with the user; Wherein, each resolution of selecting for the user is predefined; For example, resolution such as 352 * 288,720 * 576,1280 * 720,1920 * 1080.
After VOD program playing device has been created the peripheral hardware buffering area, utilize this peripheral hardware buffering area to carry out the method that the VOD program is play, idiographic flow comprises following concrete steps as shown in Figure 2:
S201:VOD program playing device sends VOD program data request information according to user's selected VOD program in described VOD program guide to the VOD program server.
Concrete, behind selected arbitrary VOD program, the request of data information of the VOD program that VOD program playing device will be selected sends to the VOD program server user in described VOD program guide.
The S202:VOD program server inquires corresponding VOD program data according to the VOD program data request information that receives in database, and these data are sent to this VOD program playing device.
Wherein, the data of VOD program are that sequencing according to reproduction time is sent out.
S203:VOD program playing device is buffered to the VOD program data that receives in the peripheral hardware buffering area, and the data that cushion in judging the peripheral hardware buffering area reach in the time of can playing condition, reads in the peripheral hardware buffering area data in buffer and plays.
Particularly, VOD program playing device carries out following operation every setting-up time: judge whether the data that cushion in the peripheral hardware buffering area reach the condition of can playing; If then the data that read in the buffer culture in the peripheral hardware buffering area according to the first-in first-out order are play; Afterwards, VOD program playing device with the data buffering of the VOD program that receives in the peripheral hardware buffering area.
Wherein, can play condition can be the data that VOD program playing device detects the setting reproduction time length that has cushioned current VOD program in the peripheral hardware buffering area; The condition of can playing can also be that VOD program playing device receives the startup play instruction that the user sends by remote controller; The condition of can playing can also be that VOD program playing device detects the peripheral hardware buffering area and do not had remaining space.
VOD program playing device with the data buffering of the VOD program that receives in the peripheral hardware buffering area, wherein, the data that are buffered in this peripheral hardware buffering area are to be stored in a plurality of the setting in the big or small buffer culture successively by the sequencing that cushions, detailed process comprises: when there is remaining space in VOD program playing device in detecting the peripheral hardware buffering area, create the buffer culture that can write; The data of the VOD program that receives are write in this buffer culture; After this buffer culture is fully written, this buffer culture is labeled as read-only, and the sign of this buffer culture is joined First Input First Output; Create the buffer culture that another can be write again, the follow-up data of this VOD program that continuation will receive is written in this buffer culture, after this buffer culture also is fully written, this buffer culture also is labeled as read-only, and the sign of this buffer culture is also joined First Input First Output.
Reading the detailed process that the data in the buffer culture in the peripheral hardware buffering area play according to the first-in first-out order comprises: VOD program playing device is according to described First Input First Output, determine the buffer culture of ordering sign correspondence at first, the data that read in this buffer culture are play, after data in this buffer culture are read and finish, discharge the space of the shared peripheral hardware buffering area of this buffer culture, and with the sign deletion of this buffer culture in First Input First Output; Continue to read in the First Input First Output data in the corresponding buffer culture of next sign simultaneously and play, after data are read and finish in this buffer culture, also discharge the space of the shared peripheral hardware buffering area of this buffer culture, with the sign deletion of this buffer culture in First Input First Output.
In fact, among the above-mentioned steps S203, VOD program playing device is the operation to the peripheral hardware buffering area of the data buffering of the VOD program that receives, can be just to trigger automatically immediately when VOD program playing device receives the data of the VOD program that described VOD program server sends;
Perhaps, VOD program playing device does not cushion the data that receive, but directly plays after the data of the VOD program that receives described VOD program server transmission; Less than after playing code check, trigger the data buffering of the VOD program that will receive to the operation of peripheral hardware buffering area at the transmission code rate that detects current VOD program; And VOD program playing device output information.For example, prompting " unstable networks, the log-on data buffering is please appreciated other splendid contents earlier, continues after a while ".
Wherein, the transmission code rate of VOD program, for this VOD program is transferred to the code check of this VOD program the VOD program playing device process from the VOD program server, the transmission code rate of this VOD program calculates according to original resolution and the frame per second of this VOD program in the transmission course; The broadcast code check of VOD program, for playing the code check that this VOD program needs, the broadcast code check of this VOD program calculates according to display resolution and the frame per second of this VOD program when playing.
As a kind of more excellent execution mode, VOD program playing device is in above-mentioned steps 203, and whether the data that can also detect current VOD program cushion and finish, if then finish the buffering to the data of current VOD program.
Further, whether the on-demand device of VOD program also can detect the peripheral hardware buffering area does not have remaining space, if, then send program data to the VOD program server and suspend the request of transmission, notify described VOD program server to suspend to this VOD program playing device and send data; The on-demand device of VOD program remaining space occurs as if detecting in the peripheral hardware buffering area, then sends program data to the VOD program server and continues to send request, notifies described VOD program server continuation to send data to this VOD program playing device.
The average transmission code check of current VOD program is that the Mean Speed that makes this program be buffered to the data of peripheral hardware buffering area is greater than the Mean Speed that reads the data of this program from the peripheral hardware buffering area greater than the broadcast code check of this program generally speaking; Because the capacity of peripheral hardware buffering area is enough big, therefore can in the peripheral hardware buffering area, cushion the data of more VOD program, even make interior network speed of short time cause occurring the instantaneous transmission code check of this program less than the situation of playing code check than slow or instability, the data that also can guarantee this VOD program are play code check by the instant speed that reads out from the peripheral hardware buffering area immediately greater than this program, occur card when avoiding occurring playing this program and pause.
More excellent, VOD program playing device adopts the socket(socket aperture) the blocking model reception server data of sending.
More excellent, in above-mentioned steps 203, if VOD program playing device detects current display resolution less than the original resolution of this program, the data transaction of the current VOD program that VOD program playing device will receive becomes the data of the corresponding code check of this display resolution, data buffering after will changing again makes the zone of same capacity in the peripheral hardware buffering area can cushion the program data of longer reproduction time in the peripheral hardware buffering area.Wherein, how to convert the high-resolution program data to the lower resolution programs data and be well known to those skilled in the art, repeat no more herein.
More excellent, in above-mentioned steps 203, VOD program playing device can also arrange a built-in buffering area in the built-in buffer memory of set-top box, after VOD program playing device reads the data of current VOD program in the peripheral hardware buffering area, be first written in this built-in buffering area, after writing completely this built-in buffering area, according to the first-in first-out rule, the data that read in this built-in buffering area are play, the space of the built-in buffering area that the played data of release take, and continue from the peripheral hardware buffering area, to read the follow-up data of current VOD program, be written in this built-in buffering area.Wherein, the capacity of built-in buffering area can hold in the peripheral hardware buffering area data volume more than 1 read-only buffer culture.In the time of can avoiding before reading switching read-only buffer culture, issuable delay, thus Caton phenomenon appears when further avoiding broadcast program.
Embodiments of the invention also disclose a kind of VOD program playing device, and the internal structure block diagram specifically comprises as shown in Figure 3: some broadcasting module 301, peripheral hardware buffering area creation module 302, data buffering module 303, playing module 304.
Wherein, some broadcasting module 301 is used for sending order request to the VOD program server, and after showing the VOD program guide according to the programme information that this VOD program server is returned, sends buffering area and create notice; And according to user's selected VOD program in this VOD program guide, send VOD program data request information to this VOD program server; And receive the VOD program data that this VOD program server is returned.
Peripheral hardware buffering area creation module 302 detects Peripheral Interface after being used for receiving the buffering area establishment notice of a broadcasting module 301 transmissions; After detecting this Peripheral Interface and being connected with qualified peripheral hardware, in this peripheral hardware, create the peripheral hardware buffering area.
Data buffering module 303 is used for obtaining the VOD program data that this VOD program server is returned from a broadcasting module 301, with the data buffering that obtains in this peripheral hardware buffering area; And the data that cushion in judging this peripheral hardware buffering area reach in the time of can playing condition, read that data in buffer sends to playing module 304 in this peripheral hardware buffering area.Wherein, can play the particular content of condition, referring to corresponding content among the above-mentioned steps S203.
Playing module 304 is used for playing according to the data that data buffering module 303 sends.
Above-mentioned data buffering module 303 specifically can comprise: data-reading unit 311 and data deposit unit 312 in.
Wherein, data-reading unit 311 is used for every setting-up time, after transmission stops to deposit notice in, judges whether the data that cushion in this peripheral hardware buffering area reach this and can play condition; If then the data that read in the buffer culture in this peripheral hardware buffering area according to the first-in first-out order send; Afterwards, transmission continues to deposit in notice; Wherein, how read the concrete grammar of the data in the buffer culture in this peripheral hardware buffering area according to the first-in first-out order, referring to corresponding content among the above-mentioned steps S203.
Data deposit in unit 312 be used for receiving data-reading unit 311 sends continue to deposit notice in after, obtain the VOD program data that this VOD program server is returned from a broadcasting module 301, with the data buffering that obtains in this peripheral hardware buffering area; And after stopping of receiving that data-reading unit 311 sends deposit notice in, stop to obtain the VOD program data that this VOD program server is returned from a broadcasting module 301.Wherein, how the VOD program data that obtains is buffered to the concrete grammar in this peripheral hardware buffering area, referring to corresponding content among the above-mentioned steps S203.
Embodiments of the invention also disclose a kind of VOD program playing device, and the internal structure block diagram specifically comprises as shown in Figure 4: some broadcasting module 401, peripheral hardware buffering area creation module 402, playing module 403 and data buffering module 404.
Wherein, some broadcasting module 401 is used for sending order request to the VOD program server, and after showing the VOD program guide according to the programme information that this VOD program server is returned, sends buffering area and create notice; And according to user's selected VOD program in this VOD program guide, send VOD program data request information to this VOD program server; And receive the VOD program data that this VOD program server is returned.
Peripheral hardware buffering area creation module 402 is used for receiving buffering area that a broadcasting module 401 sends create notice after, detect Peripheral Interface, after detecting this Peripheral Interface and being connected with qualified peripheral hardware, in this peripheral hardware, create the peripheral hardware buffering area.
Playing module 403 is used for playing according to obtain the VOD program data that this VOD program server returns from a broadcasting module 401; And at the code check that obtains data when playing code check, send the buffering notice, and stop to obtain data from a broadcasting module 401.
Data buffering module 404 is obtained the VOD program data that this VOD program server is returned from a broadcasting module 401 after being used for receiving the buffering notice that playing module 401 sends, with the data buffering that obtains in this peripheral hardware buffering area; And the data that cushion in judging this peripheral hardware buffering area reach in the time of can playing condition, read that data in buffer sends to playing module 403 in this peripheral hardware buffering area.Wherein, can play the particular content of condition, referring to corresponding content among the above-mentioned steps S203.
Playing module 403 is used for playing according to the data that data buffering module 404 sends.
Above-mentioned data buffering module 404 specifically comprises: data-reading unit 411 and data deposit unit 412 in.
Wherein, data-reading unit 411 is used for every setting-up time, after transmission stops to deposit notice in, judges whether the data that cushion in this peripheral hardware buffering area reach this and can play condition; If then the data that read in the buffer culture in this peripheral hardware buffering area according to the first-in first-out order send; Afterwards, transmission continues to deposit in notice; Wherein, how read the concrete grammar of the data in the buffer culture in this peripheral hardware buffering area according to the first-in first-out order, referring to corresponding content among the above-mentioned steps S203.
Data deposit in unit 412 be used for receiving data-reading unit 411 sends continue to deposit in the buffering notice that notice or playing module 403 send after, obtain the VOD program data that this VOD program server is returned from a broadcasting module 401, with the data buffering that obtains in this peripheral hardware buffering area; And after stopping of receiving that data-reading unit 411 sends deposit notice in, stop to obtain the VOD program data that this VOD program server is returned from a broadcasting module 401.Wherein, how the VOD program data that obtains is buffered to the concrete grammar in this peripheral hardware buffering area, referring to corresponding content among the above-mentioned steps S203.
In the technical scheme of the present invention, by the peripheral hardware buffering area that in peripheral hardware, arranges, the function that realization is play VOD program limit buffer edge, because the capacity of peripheral hardware buffering area is enough big, even network speed causes occurring the instantaneous transmission code check of VOD program less than the situation of playing code check than slow or instability in the short time, the instant speed that also can make the data of this VOD program be read from the peripheral hardware buffering area the playing module process is play code check greater than this program, thereby occurs card when avoiding occurring playing this program.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a VOD program broadcasting method is characterized in that, comprising:
VOD program playing device sends order request to video request program VOD program server, and after showing the VOD program guide according to the programme information that described VOD program server is returned, detects Peripheral Interface; After detecting described Peripheral Interface and being connected with qualified peripheral hardware, in described peripheral hardware, create the peripheral hardware buffering area;
VOD program playing device sends VOD program data request information according to user's selected VOD program in described VOD program guide to described VOD program server; And
After receiving the VOD program data that described VOD program server returns, with the data buffering that receives in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read in the described peripheral hardware buffering area data in buffer and play.
2. the method for claim 1 is characterized in that, and is described after detecting described Peripheral Interface and being connected with qualified peripheral hardware, creates the peripheral hardware buffering area and be specially in described peripheral hardware:
Greater than the preset threshold capacity, then confirm to detect qualified peripheral hardware at the remaining space that detects the peripheral hardware that described Peripheral Interface connects; Afterwards, in described peripheral hardware, create the peripheral hardware buffering area.
3. the method for claim 1 is characterized in that, and is described after receiving the VOD program data that described VOD program server returns, and the data buffering that receives is specially in described peripheral hardware buffering area:
Described VOD program playing device namely triggers described with the operation in the described peripheral hardware buffering area of the data buffering that receives after receiving described VOD program data;
Perhaps, described VOD program playing device is directly play according to the data that receive after receiving described VOD program data; Less than after playing code check, trigger described with the operation in the described peripheral hardware buffering area of the data buffering that receives at the transmission code rate that detects described VOD program data.
4. the method for claim 1 is characterized in that, the described data that are buffered in the described peripheral hardware buffering area are stored in a plurality of the setting in the big or small buffer culture successively by the sequencing that cushions; And
Described with the data buffering that receives in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read in the described peripheral hardware buffering area data in buffer and play and be specially:
Described VOD program playing device carries out following operation every setting-up time: judge whether the data that cushion in the described peripheral hardware buffering area reach the described condition of playing; If then the data that read in the buffer culture in the described peripheral hardware buffering area according to the first-in first-out order are play;
Afterwards, described VOD program playing device is buffered to the VOD program data that receives in the described peripheral hardware buffering area.
5. method as claimed in claim 4 is characterized in that, described the data buffering that receives is specially to described peripheral hardware buffering area:
When there is remaining space in described VOD program playing device in detecting described peripheral hardware buffering area, the buffer culture that establishment can be write;
The described VOD program data that described VOD program playing device will receive is written in the described buffer culture of writing;
After the described buffer culture of writing was fully written, described VOD program playing device was labeled as the described buffer culture of writing read-only, and will be labeled as read-only buffer culture and join in the First Input First Output.
6. method as claimed in claim 4 is characterized in that, the described condition of playing specifically comprises:
The data of setting data amount have been cushioned in the described peripheral hardware buffering area;
Perhaps, described VOD program playing device receives the startup play instruction that the user sends by remote controller;
Perhaps, described VOD program playing device detects described peripheral hardware buffering area has not had remaining space.
7. a VOD program playing device is characterized in that, comprising:
The point broadcasting module sends order request to the VOD program server, and after showing the VOD program guide according to the programme information that described VOD program server is returned, sends buffering area and create notice; And according to user's selected VOD program in described VOD program guide, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server is returned;
Peripheral hardware buffering area creation module after receiving described buffering area establishment notice, detects Peripheral Interface; After detecting described Peripheral Interface and being connected with qualified peripheral hardware, in described peripheral hardware, create the peripheral hardware buffering area;
The data buffering module is used for obtaining the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read that data in buffer sends in the described peripheral hardware buffering area;
Playing module is used for playing according to the data that described data buffering module sends.
8. device as claimed in claim 7 is characterized in that, described data buffering module specifically comprises:
Data-reading unit is used for every setting-up time, after transmission stops to deposit notice in, judges whether the data that cushion in the described peripheral hardware buffering area reach the described condition of playing; If then the data that read in the buffer culture in the described peripheral hardware buffering area according to the first-in first-out order send; Afterwards, transmission continues to deposit in notice;
Data deposit the unit in, be used for receiving described continue to deposit notice in after, obtain the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And receive described stop to deposit notice in after, stop to obtain the VOD program data that described VOD program server is returned from described some broadcasting module.
9. a VOD program playing device is characterized in that, comprising:
The point broadcasting module sends order request to the VOD program server, and after showing the VOD program guide according to the programme information that described VOD program server is returned, sends buffering area and create notice; And according to user's selected VOD program in described VOD program guide, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server is returned;
Peripheral hardware buffering area creation module after being used for receiving described buffering area and creating notice, detects Peripheral Interface, after detecting described Peripheral Interface and being connected with qualified peripheral hardware, creates the peripheral hardware buffering area in described peripheral hardware;
Playing module is used for playing according to obtain the VOD program data that described VOD program server returns from described some broadcasting module; And at the code check that obtains data when playing code check, send the buffering notice, and stop to obtain data from described some broadcasting module;
The data buffering module, be used for receiving the buffering notice that described playing module sends after, obtain the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And the data that cushion in judging described peripheral hardware buffering area reach in the time of can playing condition, read that data in buffer sends to described playing module in the described peripheral hardware buffering area;
Described playing module is used for playing according to the data that described data buffering module sends.
10. device as claimed in claim 9 is characterized in that, described data buffering module specifically comprises:
Data-reading unit is used for every setting-up time, after transmission stops to deposit notice in, judges whether the data that cushion in the described peripheral hardware buffering area reach the described condition of playing; If then the data that read in the buffer culture in the described peripheral hardware buffering area according to the first-in first-out order send; Afterwards, transmission continues to deposit in notice;
Data deposit the unit in, be used for receiving described continue to deposit in notice or described buffering notice after, obtain the VOD program data that described VOD program server is returned from described some broadcasting module, with the data buffering that obtains in described peripheral hardware buffering area; And receive described stop to deposit notice in after, stop to obtain the VOD program data that described VOD program server is returned from described some broadcasting module.
CN201310217727.0A 2013-06-04 2013-06-04 The playing method and device of VOD program Active CN103347212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310217727.0A CN103347212B (en) 2013-06-04 2013-06-04 The playing method and device of VOD program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310217727.0A CN103347212B (en) 2013-06-04 2013-06-04 The playing method and device of VOD program

Publications (2)

Publication Number Publication Date
CN103347212A true CN103347212A (en) 2013-10-09
CN103347212B CN103347212B (en) 2016-04-27

Family

ID=49281983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310217727.0A Active CN103347212B (en) 2013-06-04 2013-06-04 The playing method and device of VOD program

Country Status (1)

Country Link
CN (1) CN103347212B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618919A (en) * 2013-11-19 2014-03-05 深圳Tcl新技术有限公司 Video loading method and device for network television
WO2015113243A1 (en) * 2014-01-29 2015-08-06 华为终端有限公司 Method, apparatus and electronic device for playing network video
CN105245946A (en) * 2014-07-10 2016-01-13 中兴通讯股份有限公司 Variable-bit-rate media stream flow control method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558665A (en) * 2004-01-20 2004-12-29 大唐微电子技术有限公司 A method of quick network multimedia information playing and corresponding set-top box equipment
CN101106637A (en) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 Method for playing media files in external storage device via STB
US20100115121A1 (en) * 2008-10-29 2010-05-06 Edgeware Ab (Se) Method and an apparatus for data recording and streaming
CN102006368A (en) * 2010-12-03 2011-04-06 重庆新媒农信科技有限公司 Streaming media audio file play method based on mobile terminal memory card cache technology
CN102868908A (en) * 2011-07-04 2013-01-09 哈尔滨融智达网络科技有限公司 High-efficiency streaming media playing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558665A (en) * 2004-01-20 2004-12-29 大唐微电子技术有限公司 A method of quick network multimedia information playing and corresponding set-top box equipment
CN101106637A (en) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 Method for playing media files in external storage device via STB
US20100115121A1 (en) * 2008-10-29 2010-05-06 Edgeware Ab (Se) Method and an apparatus for data recording and streaming
CN102006368A (en) * 2010-12-03 2011-04-06 重庆新媒农信科技有限公司 Streaming media audio file play method based on mobile terminal memory card cache technology
CN102868908A (en) * 2011-07-04 2013-01-09 哈尔滨融智达网络科技有限公司 High-efficiency streaming media playing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618919A (en) * 2013-11-19 2014-03-05 深圳Tcl新技术有限公司 Video loading method and device for network television
CN103618919B (en) * 2013-11-19 2017-09-05 深圳Tcl新技术有限公司 The method and apparatus that Web TV loads video
WO2015113243A1 (en) * 2014-01-29 2015-08-06 华为终端有限公司 Method, apparatus and electronic device for playing network video
CN105245946A (en) * 2014-07-10 2016-01-13 中兴通讯股份有限公司 Variable-bit-rate media stream flow control method, device and system

Also Published As

Publication number Publication date
CN103347212B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
US11930197B2 (en) Video decoding method and apparatus, computer device, and storage medium
US10225613B2 (en) Method and apparatus for video playing processing and television
US20160269803A1 (en) Smart tv media player and playback progress adjustment method thereof, and smart tv
US10602240B2 (en) Decoding method switching for preview image processing using a bundle of preview images
US20070058926A1 (en) Optimizing trick modes for streaming media content
KR102255223B1 (en) Video system and video processing method, device and computer readable medium
CN103166941A (en) Data sharing method and device
CN108462899B (en) Streaming media code stream self-adaptive transmission method based on equipment capability, playing equipment and playing system
CN102137279B (en) Method for realizing disconnection continuous playing of on-line video of portable electronic equipment
KR20150080580A (en) Electronic device and resource display method
WO2017080175A1 (en) Multi-camera used video player, playing system and playing method
CN113424553B (en) Method and system for playback of media items
WO2019164753A1 (en) Efficient streaming video for static video content
CN108337553A (en) A kind of multi-medium data pre-download method
CN104080006A (en) Video processing device and method
CN103347212A (en) VOD program playing method and VOD program playing device
CN102609048B (en) Computer and method for playing audio and video files on demand
JP2009540758A (en) Reference providing method and reference providing apparatus for providing reference related to data stream
CN106254961B (en) Video broadcasting method and TV in TV
CN110740374B (en) Multimedia data processing method and device, computer equipment and storage medium
CN101594477B (en) Processing system of ultralong caption rendering
CN106488271A (en) A kind of net cast method and device
JP5506250B2 (en) Stream decoding apparatus and stream decoding method
CN114710702A (en) Video playing method and device
CN111107296B (en) Audio data acquisition method and device, electronic equipment and readable storage medium

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