CN103347212B - The playing method and device of VOD program - Google Patents

The playing method and device of VOD program Download PDF

Info

Publication number
CN103347212B
CN103347212B CN201310217727.0A CN201310217727A CN103347212B CN 103347212 B CN103347212 B CN 103347212B CN 201310217727 A CN201310217727 A CN 201310217727A CN 103347212 B CN103347212 B CN 103347212B
Authority
CN
China
Prior art keywords
vod program
data
peripheral hardware
buffering area
buffering
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
CN201310217727.0A
Other languages
Chinese (zh)
Other versions
CN103347212A (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

Abstract

The invention discloses a kind of playing method and device of VOD program, wherein said method comprises: after VOD program playing device display VOD program menu; After qualified peripheral hardware having been detected, in described peripheral hardware, create peripheral hardware buffering area; VOD program playing device sends VOD program data request information to described VOD program server; And receiving VOD program data buffering that described VOD program server returns in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area are play.In technical solution of the present invention, the capacity of peripheral hardware buffering area is enough large, even if network speed is slower or unstable in the short time, also VOD program data can be made by the instant speed read in playing module process is greater than this program broadcasting code check from peripheral hardware buffering area, thus avoid occurring that card pauses when occurring playing this program.

Description

The playing method and device of VOD program
Technical field
The present invention relates to set-top box technique field, particularly relate to a kind of playing method and device of VOD program.
Background technology
In recent years, the digitlization of cable TV obtains popularization, and digitized cable television system is widely deployed.Each digital cable television system generally comprises the Set Top Box of One's name is legion.Set Top Box may be used for receiving and playing common TV programme, but the time of these TV programme and broadcasting thereof is all preset by each cable TV station, and user independently cannot select the time watching specific program and viewing.Thus, Set Top Box also provides VOD(VideoOnDemand usually, video request program) service, watch specific program with for user's independently program request, the time of selected viewing simultaneously; Wherein, program comprises: TV programme, Internet video or other network media information.
Support that the VOD system of VOD service is generally made up of the Set Top Box of VOD front-end processing system, transmission network and user.Wherein, VOD front-end processing system comprises VOD program server and disk array, and 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.Be interconnected by transmission network between the Set Top Box of user and VOD front-end processing system.For ease of describing, present specification will can supply the program of program request referred to as VOD program in VOD system.
At present, existing VOD system, for the order request of user, provides the flow process of order program service, usually as shown in Figure 1a, comprises the steps:
The propelling movement of S001:VOD program guide.
Particularly, the order request that user creates by Set Top Box sends to one of them the VOD program server in VOD front-end processing system by transmission network; VOD program server inquires the information of each VOD program from the database stored, and described each information is sent to Set Top Box; Described each information editing becomes corresponding VOD program menu to present to user by Set Top Box, selects program for user
The program request of S002:VOD program.
Particularly, complete after VOD program selection until user, the programme information that user selects by Set Top Box returns to VOD program server; VOD program server, according to the programme information received, inquires corresponding VOD program data in a database, and these data is sent to this Set Top Box; Set Top Box, according to the VOD program data received, plays VOD program.
For ensureing the fluency play, buffering area can be set 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, then from this buffering area, read this joint destination data play; When the network speed of transmission network slower or unstable time, ensure the fluency play by the data read in buffering area.
But the present inventor finds, due to cost, the built-in usual capacity in buffering area of Set Top Box is less, and along with the development of video technique, the such as appearance of 3D video, high-definition video technology, the data grows of single VOD program is large; The buffering area making Set Top Box built-in can not ensure the fluency of the broadcasting of VOD program, often occurs that card maybe cannot continue the phenomenon play.
Summary of the invention
For the defect that above-mentioned prior art exists, the invention provides a kind of playing method and device of VOD program, in order to avoid the program in broadcasting, the phenomenon that card maybe cannot continue broadcasting occurs, the fluency that raising is play.
Technical scheme of the present invention discloses a kind of VOD program player method, comprising:
VOD program playing device sends order request to VOD program server, and after showing VOD program menu according to the programme information that described VOD program server returns, detects Peripheral Interface; After detecting that described Peripheral Interface is connected with qualified peripheral hardware, in described peripheral hardware, create peripheral hardware buffering area;
VOD program playing device, according to the VOD program of user selected in described VOD program menu, sends VOD program data request information to described VOD program server; And
After receiving the VOD program data that described VOD program server returns, by the data buffering that receives in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area are play.
Preferably, described after detecting that described Peripheral Interface is connected with qualified peripheral hardware, in described peripheral hardware, create peripheral hardware buffering area be specially:
Detecting that the remaining space of the peripheral hardware that described Peripheral Interface connects is greater than the threshold capacity of setting, then confirming qualified peripheral hardware to be detected; Afterwards, in described peripheral hardware, peripheral hardware buffering area is created.
Preferably, described after receiving the VOD program data that described VOD program server returns, the data buffering received is specially in described peripheral hardware buffering area:
Described VOD program playing device after receiving described VOD program data, namely trigger described by the data buffering that receives to the operation in described peripheral hardware buffering area;
Or described VOD program playing device is after receiving described VOD program data, and the data according to receiving directly are play; Play after code check detecting that the transmission code rate of described VOD program data is less than, trigger described by the data buffering that receives to the operation in described peripheral hardware buffering area.
Preferably, the data be buffered to described in described peripheral hardware buffering area are stored in the buffer culture of multiple setting size by the sequencing of buffering successively; And
Described by the data buffering that receives in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area are carried out broadcasting and are specially:
Described VOD program playing device proceeds as follows every setting-up time: judge whether the data cushioned in described peripheral hardware buffering area reach described and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in described peripheral hardware buffering area are play;
Afterwards, described VOD program playing device by the VOD program data buffering that receives in described peripheral hardware buffering area.
Preferably, described the data buffering received to be specially to described peripheral hardware buffering area:
Described VOD program playing device detect there is remaining space in described peripheral hardware buffering area time, create the buffer culture that can write;
The described VOD program data received are written in the described buffer culture that can write by described VOD program playing device;
After the described buffer culture write is fully written, the described buffer culture write is labeled as read-only by described VOD program playing device, and joins being labeled as read-only buffer culture in First Input First Output.
Preferably, described condition of playing specifically comprises:
The data of setting data amount have been cushioned in described peripheral hardware buffering area;
Or described VOD program playing device receives the startup play instruction that user is sent by remote controller;
Or described VOD program playing device detects that described peripheral hardware buffering area is without remaining space.
Technical scheme of the present invention also discloses a kind of VOD program playing device, comprising:
Point broadcasting module, sends order request to VOD program server, and after showing VOD program menu according to the programme information that described VOD program server returns, sends buffering area and create notice; And according to the VOD program of user selected in described VOD program menu, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server returns;
Peripheral hardware buffering area creation module, after receiving described buffering area establishment notice, detects Peripheral Interface; After detecting that described Peripheral Interface is connected with qualified peripheral hardware, in described peripheral hardware, create peripheral hardware buffering area;
Data buffering module, for obtaining the VOD program data that described VOD program server returns from described some broadcasting module, by the data buffering of acquisition in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area send;
Playing module, plays for the data sent according to described data buffering module.
Wherein, described data buffering module specifically comprises:
Data-reading unit, for every setting-up time, sends and stops stored in after notice, judges whether the data cushioned in described peripheral hardware buffering area reach described and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in described peripheral hardware buffering area send; Afterwards, continuation is sent stored in notice;
Data, stored in unit, for receiving described continuation stored in after notice, obtain from described some broadcasting module the VOD program data that described VOD program server returns, by the data buffering that obtains in described peripheral hardware buffering area; And receive described stopping stored in after notice, stop obtaining from described some broadcasting module the VOD program data that described VOD program server returns.
Technical scheme of the present invention also discloses a kind of VOD program playing device, comprising:
Point broadcasting module, sends order request to VOD program server, and after showing VOD program menu according to the programme information that described VOD program server returns, sends buffering area and create notice; And according to the VOD program of user selected in described VOD program menu, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server returns;
Peripheral hardware buffering area creation module, after receiving described buffering area establishment notice, detects Peripheral Interface, after detecting that described Peripheral Interface is connected with qualified peripheral hardware, creates peripheral hardware buffering area in described peripheral hardware;
Playing module, for playing according to obtaining the VOD program data that described VOD program server returns from described some broadcasting module; And when the code check obtaining data is less than broadcasting code check, sends buffering notice, and stop from described some broadcasting module acquisition number certificate;
Data buffering module, after receiving buffering notice that described playing module sends, obtains from described some broadcasting module the VOD program data that described VOD program server returns, by the data buffering that obtains in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area send to described playing module;
Described playing module, plays for the data sent according to described data buffering module.
Wherein, described data buffering module specifically comprises:
Data-reading unit, for every setting-up time, sends and stops stored in after notice, judges whether the data cushioned in described peripheral hardware buffering area reach described and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in described peripheral hardware buffering area send; Afterwards, continuation is sent stored in notice;
Data, stored in unit, for receiving described continuation stored in after notice or described buffering notice, obtain from described some broadcasting module the VOD program data that described VOD program server returns, by the data buffering of acquisition in described peripheral hardware buffering area; And receive described stopping stored in after notice, stop obtaining from described some broadcasting module the VOD program data that described VOD program server returns.
Technical scheme of the present invention, by the peripheral hardware buffering area arranged in peripheral hardware, realize the function that VOD program limit buffer edge is play, because the capacity of peripheral hardware buffering area is enough large, even if the comparatively slow or instability of network speed causes the instantaneous transmission code check occurring VOD program to be less than the situation playing code check in the short time, also the data of this VOD program can be made by the instant speed read in playing module process is greater than this program broadcasting code check from peripheral hardware buffering area, thus avoid occurring card when occurring playing this program, improve the fluency play.
Accompanying drawing explanation
Fig. 1 a is the flow chart of the VOD program player method of prior art;
Fig. 1 b is the flow chart of the VOD program playing device establishment peripheral hardware buffering area of the embodiment of the present invention;
Fig. 2 is the flow chart of the VOD program player method of the embodiment of the present invention;
Fig. 3 is the internal structure block diagram of a kind of VOD program playing device of the embodiment of the present invention;
Fig. 4 is the internal structure block diagram of the another kind of VOD program playing device of the embodiment of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, enumerate preferred embodiment referring to accompanying drawing, the present invention is described in more detail.But it should be noted that, the many details listed in specification are only used to make reader to have a thorough understanding, even if do not have these specific details also can realize these aspects of the present invention to one or more aspect of the present invention.
The term such as " module " used in this application, " system " is intended to comprise the entity relevant to computer, such as but not limited to hardware, firmware, combination thereof, software or executory software.Such as, module can be, but be not limited in: the thread of the process that processor runs, processor, object, executable program, execution, program and/or computer.For example, application program computing equipment run and this computing equipment can be modules.One or more module can be positioned at an executory process and/or thread, and module also and/or can be distributed on a computer between two or more platform computers.
The present inventor considers, the memory capacity of current external storage (being called for short peripheral hardware in present specification) is comparatively large, and a part of peripheral hardware stores the total amount of data of several programs enough simultaneously; And the message transmission rate of Peripheral Interface is also enough to meet transmission high broadcasting code rate V OD joint destination data.Therefore, peripheral hardware can be utilized as buffering area, by the data buffering of VOD program to peripheral hardware buffering area, and the program data read in peripheral hardware buffering area is play, even if make when the network speed of transmission network slower or unstable, ensure the broadcasting code check of VOD program, avoid occurring that VOD program plays Caton phenomenon, for user provides better experience.
Lower mask body introduces VOD program player method disclosed in the embodiment of the present invention.
In an embodiment of the present invention, before VOD program is play, VOD program playing device need create peripheral hardware buffering area and set relevant parameter, and as shown in Figure 1 b, concrete steps comprise flow chart:
S101:VOD program broadcasting apparatus sends order request to VOD program server, and according to the programme information display VOD program menu that this VOD program server returns.
Concrete, the order request that user creates by VOD program playing device, sends to VOD program server by transmission network; This VOD service device inquires the information of each VOD program from the database stored, and the information of described each program is sent to this VOD program playing device; The information editing of described each program becomes corresponding VOD program menu to present to user by this VOD program playing device, selects program for user.
S102:VOD program broadcasting apparatus 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 detect, Peripheral Interface is connected with peripheral hardware, then determine the relevant information of this peripheral hardware of connection further.Such as, the relevant information of the peripheral hardware determined can comprise: the capacity of peripheral hardware, the information such as remaining space and form, and the relevant information of this peripheral hardware is shown by TV screen.
S103:VOD program broadcasting apparatus, according to the relevant information of the peripheral hardware determined, creates peripheral hardware buffering area and sets relevant parameter.
Concrete, VOD program playing device is according to the remaining space of peripheral hardware, with the threshold capacity preset, determine peripheral hardware buffer pool size: by the capacity of the remaining space of peripheral hardware 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 is less than the capacity of the remaining space of peripheral hardware.Such as, by a USB(UniversalSerialBUS, USB) external hard disk of interface is connected with Set Top Box, VOD program playing device in Set Top Box disclosed in technical solution of the present invention determines that the capacity of the remaining space of this external hard disk is 500GB(GigaByte, gigabyte), according to the threshold capacity of the 30GB preset, the 300GB space in the remaining space of this external hard disk is drawn and does peripheral hardware buffering area; A usual 1080P(ProgressiveScan, detects line by line) data volume of Internet video is no more than 30GB, then and this buffering area then can the data of simultaneous buffering 10 1080P Internet videos; If the capacity of the remaining space of peripheral hardware is less than threshold capacity, then export information, such as, prompting " remaining space can not meet video buffer needs, please change the equipment that capacity is larger ";
After establishment peripheral hardware buffering area, this VOD program playing device, according to the capacity preset, sets the size of the single buffer culture in peripheral hardware buffering area; Such as, the size of single buffer culture is set to 8MB(MillionByte, Mbytes); And adopt the H264 coded system of current popular to carry out the average bit rate of the Internet video of encoding, generally be no more than 8Mbps(Millionbitpersecond, Gigabits per second), namely 1MB/S(MillionByte/second is no more than, megabyte/second), the data of the several seconds duration of this Internet video can be cushioned in single buffer culture.
After establishment peripheral hardware buffering area, display resolution during VOD program is play in the setting of this VOD program playing device.Such as, be original resolution by display resolution default setting; Wherein, original resolution is the resolution of this VOD program in 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 determining peripheral hardware is more than or equal to threshold capacity, user is also allowed 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, such as, prompting " arrange buffer size to cross the border, buffer device does not have enough spaces to use "; If the capacity of user's input is less than threshold capacity, then export information, such as, if the threshold capacity preset is 512MB, then point out " buffering area spatial placement is too small, please arrange the numerical value being greater than 512MB "; Otherwise, the capacity that user inputs is set to the capacity of buffering area;
Further, the on-demand device of VOD program also supports that user manually sets the display resolution of VOD program: by user while selected VOD program, selected resolution setting becomes display resolution; Wherein, each resolution selected for user is what preset; Such as, the resolution such as 352 × 288,720 × 576,1280 × 720,1920 × 1080.
After VOD program playing device creates peripheral hardware buffering area, utilize this peripheral hardware buffering area to carry out the method for VOD program broadcasting, idiographic flow as shown in Figure 2, comprises following concrete steps:
S201:VOD program broadcasting apparatus, according to the VOD program of user selected in described VOD program menu, sends VOD program data request information to VOD program server.
Concrete, user is in described VOD program menu after selected arbitrary VOD program, and the data request information of this chosen VOD program sends to VOD program server by VOD program playing device.
S202:VOD program server, according to the VOD program data request information received, inquires corresponding VOD program data in a database, and these data is sent to this VOD program playing device.
Wherein, the data of VOD program are sent out according to the sequencing of reproduction time.
S203:VOD program broadcasting apparatus by the VOD program data buffering that receives in peripheral hardware buffering area, and judge the data cushioned in peripheral hardware buffering area reach can play condition time, the data reading buffer memory in peripheral hardware buffering area are play.
Particularly, VOD program playing device proceeds as follows every setting-up time: judge whether the data cushioned in peripheral hardware buffering area reach and can play condition; If so, the data then read according to first-in first-out order in a buffer culture in peripheral hardware buffering area are play; Afterwards, VOD program playing device by the data buffering of VOD program that receives in peripheral hardware buffering area.
Wherein, condition of can playing can be the data that VOD program playing device detects in peripheral hardware buffering area the setting reproduction time length having cushioned current VOD program; Condition of can playing can also be the startup play instruction that VOD program playing device is received user and sent by remote controller; Condition of can playing can also be that VOD program playing device detects that peripheral hardware buffering area is without remaining space.
VOD program playing device by the data buffering of VOD program that receives in peripheral hardware buffering area, wherein, the data be buffered in this peripheral hardware buffering area are stored in the buffer culture of multiple setting size successively by the sequencing of buffering, detailed process comprises: VOD program playing device detect there is remaining space in peripheral hardware buffering area time, create a buffer culture that can write; The data of the VOD program received are write in this buffer culture; After this buffer culture is fully written, this buffer culture is labeled as read-only, and the mark 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 received is continued to be written in this buffer culture, after this buffer culture is also fully written, this buffer culture is also labeled as read-only, and the mark of this buffer culture is also joined First Input First Output.
The detailed process of carrying out playing according to the data in a buffer culture in first-in first-out order reading peripheral hardware buffering area comprises: VOD program playing device is according to described First Input First Output, determine the buffer culture of sequence mark correspondence at first, the data read in this buffer culture are play, after data in this buffer culture are read, discharge the space of the peripheral hardware buffering area shared by this buffer culture, and the mark of this buffer culture in First Input First Output is deleted; Continue to read the data in the buffer culture of next mark correspondence in First Input First Output simultaneously and play, after in this buffer culture, data are read, also discharge the space of the peripheral hardware buffering area shared by this buffer culture, the mark of this buffer culture in First Input First Output is deleted.
In fact, in above-mentioned steps S203, VOD program playing device, by the operation to peripheral hardware buffering area of the data buffering of VOD program that receives, can be just automatically trigger immediately when VOD program playing device receives the data of the VOD program that described VOD program server sends;
Or VOD program playing device, after the data receiving the VOD program that described VOD program server sends, does not cushion the data received, but directly plays; Play after code check detecting that the transmission code rate of current VOD program is less than, trigger the operation to peripheral hardware buffering area of the data buffering of VOD program that receives; And VOD program playing device exports information.Such as, prompting " unstable networks, log-on data cushions, and please first appreciates other splendid contents, continues after a while ".
Wherein, the transmission code rate of VOD program, for this VOD program to be transferred to the code check of this VOD program VOD program playing device process from VOD program server, the transmission code rate of this VOD program calculates according to the original resolution of this VOD program in transmitting procedure and frame per second; The broadcasting code check of VOD program, for playing the code check that this VOD program needs, the broadcasting code check of this VOD program calculates according to the display resolution of this VOD program when playing and frame per second.
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 complete, if so, then terminate the buffering of the data to current VOD program.
Further, whether the on-demand device of VOD program also can detect peripheral hardware buffering area does not have remaining space, if so, then send program data time-out to VOD program server to send request, notify that described VOD program server suspends and send data to this VOD program playing device; If the on-demand device of VOD program detects in peripheral hardware buffering area occur remaining space, then send program data to VOD program server and continue to send request, notify that described VOD program server continues to send data to this VOD program playing device.
Generally the average transmission code check of current VOD program is the broadcasting code check being greater than this program, and the Mean Speed making this program be buffered to the data of peripheral hardware buffering area is greater than the Mean Speed reading this joint destination data from peripheral hardware buffering area; Because the capacity of peripheral hardware buffering area is enough large, therefore the data of more VOD program can be cushioned in peripheral hardware buffering area, even if make the comparatively slow or instability of network speed in the short time cause the instantaneous transmission code check occurring this program to be less than the situation playing code check, also can ensure that the data of this VOD program are greater than this program by the instant speed read out from peripheral hardware buffering area and immediately play code check, avoid occurring card when occurring playing this program.
Preferably, VOD program playing device adopts socket(socket aperture) the blocking model reception server data of sending.
Preferably, in above-mentioned steps 203, if VOD program playing device detects that current display resolution is less than the original resolution of this program, the data transaction of the current VOD program received is become the data of the corresponding code check of this display resolution by VOD program playing device, again by conversion after data buffering in peripheral hardware buffering area, make the region of same capacity in peripheral hardware buffering area can cushion the program data of longer reproduction time.Wherein, how to convert high-resolution program data to 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 peripheral hardware buffering area, be first written in this built-in buffering area, after writing this built-in buffering area full, according to first-in first-out rule, the data 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 the follow-up data reading current VOD program from peripheral hardware buffering area, be written in this built-in buffering area.Wherein, the capacity of built-in buffering area can hold the data volume more than 1 read-only buffer culture in peripheral hardware buffering area.When can avoid switching read-only buffer culture before reading, issuable delay, thus avoid further occurring Caton phenomenon during broadcast program.
Embodiments of the invention also disclose a kind of VOD program playing device, and internal structure block diagram as shown in Figure 3, specifically comprises: some broadcasting module 301, peripheral hardware buffering area creation module 302, data buffering module 303, playing module 304.
Wherein, some broadcasting module 301 for sending order request to VOD program server, and after showing VOD program menu according to the programme information that this VOD program server returns, sends buffering area and creates notice; And according to the VOD program of user selected in this VOD program menu, send VOD program data request information to this VOD program server; And receive the VOD program data that this VOD program server returns.
Peripheral hardware buffering area creation module 302 detects Peripheral Interface after creating notice for the buffering area receiving a broadcasting module 301 transmission; After detecting that this Peripheral Interface is connected with qualified peripheral hardware, in this peripheral hardware, create peripheral hardware buffering area.
The VOD program data that data buffering module 303 returns for obtaining this VOD program server from a broadcasting module 301, by the data buffering of acquisition in this peripheral hardware buffering area; And judge the data cushioned in this peripheral hardware buffering area reach can play condition time, the data reading buffer memory in this peripheral hardware buffering area send to playing module 304.Wherein, the particular content of condition can be play, see content corresponding in above-mentioned steps S203.
Playing module 304 is play for the data sent according to data buffering module 303.
Above-mentioned data buffering module 303 specifically can comprise: data-reading unit 311 and data are stored in unit 312.
Wherein, data-reading unit 311, for every setting-up time, sends and stops, stored in after notice, judging whether the data cushioned in this peripheral hardware buffering area reach this and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in this peripheral hardware buffering area send; Afterwards, continuation is sent stored in notice; Wherein, the concrete grammar of the data in the buffer culture in this peripheral hardware buffering area how is read according to first-in first-out order, see content corresponding in above-mentioned steps S203.
Data stored in unit 312 for the continuation that receives data-reading unit 311 and send stored in after notice, obtain from a broadcasting module 301 the VOD program data that this VOD program server returns, by the data buffering that obtains in this peripheral hardware buffering area; And receive stopping that data-reading unit 311 sends stored in after notice, stop obtaining from a broadcasting module 301 the VOD program data that this VOD program server returns.Wherein, how by the VOD program data buffering that obtains to the concrete grammar in this peripheral hardware buffering area, see content corresponding in above-mentioned steps S203.
Embodiments of the invention also disclose a kind of VOD program playing device, and internal structure block diagram as shown in Figure 4, specifically comprises: some broadcasting module 401, peripheral hardware buffering area creation module 402, playing module 403 and data buffering module 404.
Wherein, some broadcasting module 401 for sending order request to VOD program server, and after showing VOD program menu according to the programme information that this VOD program server returns, sends buffering area and creates notice; And according to the VOD program of user selected in this VOD program menu, send VOD program data request information to this VOD program server; And receive the VOD program data that this VOD program server returns.
Peripheral hardware buffering area creation module 402 detects Peripheral Interface, after detecting that this Peripheral Interface is connected with qualified peripheral hardware, creates peripheral hardware buffering area in this peripheral hardware after creating notice for the buffering area receiving a broadcasting module 401 transmission.
Playing module 403 is for playing according to obtaining the VOD program data that this VOD program server returns from a broadcasting module 401; And when the code check obtaining data is less than broadcasting code check, send buffering notice, and stop obtaining data from a broadcasting module 401.
Data buffering module 404, for after the buffering notice that receives playing module 401 and send, obtains from a broadcasting module 401 the VOD program data that this VOD program server returns, by the data buffering that obtains in this peripheral hardware buffering area; And judge the data cushioned in this peripheral hardware buffering area reach can play condition time, the data reading buffer memory in this peripheral hardware buffering area send to playing module 403.Wherein, the particular content of condition can be play, see content corresponding in above-mentioned steps S203.
Playing module 403 is play for the data sent according to data buffering module 404.
Above-mentioned data buffering module 404 specifically comprises: data-reading unit 411 and data are stored in unit 412.
Wherein, data-reading unit 411, for every setting-up time, sends and stops, stored in after notice, judging whether the data cushioned in this peripheral hardware buffering area reach this and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in this peripheral hardware buffering area send; Afterwards, continuation is sent stored in notice; Wherein, the concrete grammar of the data in the buffer culture in this peripheral hardware buffering area how is read according to first-in first-out order, see content corresponding in above-mentioned steps S203.
After data notify stored in the buffering that notice or playing module 403 send for the continuation receiving data-reading unit 411 transmission stored in unit 412, the VOD program data that this VOD program server returns are obtained, by the data buffering that obtains in this peripheral hardware buffering area from a broadcasting module 401; And receive stopping that data-reading unit 411 sends stored in after notice, stop obtaining from a broadcasting module 401 the VOD program data that this VOD program server returns.Wherein, how by the VOD program data buffering that obtains to the concrete grammar in this peripheral hardware buffering area, see content corresponding in above-mentioned steps S203.
In technical scheme of the present invention, by the peripheral hardware buffering area arranged in peripheral hardware, realize the function that VOD program limit buffer edge is play, because the capacity of peripheral hardware buffering area is enough large, even if the comparatively slow or instability of network speed causes the instantaneous transmission code check occurring VOD program to be less than the situation playing code check in the short time, also the data of this VOD program can be made by the instant speed read in playing module process is greater than this program broadcasting code check from peripheral hardware buffering area, thus avoid occurring that card pauses when occurring playing this program.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles 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 (9)

1. a VOD program player method, is characterized in that, comprising:
VOD program playing device sends order request to video on demand program server, and after showing VOD program menu according to the programme information that described VOD program server returns, detects Peripheral Interface; After detecting that described Peripheral Interface is connected with qualified peripheral hardware, in described peripheral hardware, create peripheral hardware buffering area; Wherein, detecting that the remaining space of the peripheral hardware that described Peripheral Interface connects is greater than the threshold capacity of setting, then confirming qualified peripheral hardware to be detected;
VOD program playing device, according to the VOD program of user selected in described VOD program menu, sends VOD program data request information to described VOD program server; And
After receiving the VOD program data that described VOD program server returns, by the data buffering that receives in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area are play.
2. the method for claim 1, is characterized in that, described after receiving the VOD program data that described VOD program server returns, and is specially by the data buffering received in described peripheral hardware buffering area:
Described VOD program playing device after receiving described VOD program data, namely trigger described by the data buffering that receives to the operation in described peripheral hardware buffering area;
Or described VOD program playing device is after receiving described VOD program data, and the data according to receiving directly are play; Play after code check detecting that the transmission code rate of described VOD program data is less than, trigger described by the data buffering that receives to the operation in described peripheral hardware buffering area.
3. the method for claim 1, is characterized in that, described in be buffered to data in described peripheral hardware buffering area and be stored in the buffer culture of multiple setting size successively by the sequencing of buffering; And
Described by the data buffering that receives in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area are carried out broadcasting and are specially:
Described VOD program playing device proceeds as follows every setting-up time: judge whether the data cushioned in described peripheral hardware buffering area reach described and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in described peripheral hardware buffering area are play;
Afterwards, described VOD program playing device by the VOD program data buffering that receives in described peripheral hardware buffering area.
4. method as claimed in claim 3, is characterized in that, is describedly specially to described peripheral hardware buffering area by the data buffering received:
Described VOD program playing device detect there is remaining space in described peripheral hardware buffering area time, create the buffer culture that can write;
The described VOD program data received are written in the described buffer culture that can write by described VOD program playing device;
After the described buffer culture write is fully written, the described buffer culture write is labeled as read-only by described VOD program playing device, and joins being labeled as read-only buffer culture in First Input First Output.
5. method as claimed in claim 3, it is characterized in that, described condition of playing specifically comprises:
The data of setting data amount have been cushioned in described peripheral hardware buffering area;
Or described VOD program playing device receives the startup play instruction that user is sent by remote controller;
Or described VOD program playing device detects that described peripheral hardware buffering area is without remaining space.
6. a VOD program playing device, is characterized in that, comprising:
Point broadcasting module, sends order request to VOD program server, and after showing VOD program menu according to the programme information that described VOD program server returns, sends buffering area and create notice; And according to the VOD program of user selected in described VOD program menu, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server returns;
Peripheral hardware buffering area creation module, after receiving described buffering area establishment notice, detects Peripheral Interface; After detecting that described Peripheral Interface is connected with qualified peripheral hardware, in described peripheral hardware, create peripheral hardware buffering area; Wherein, detecting that the remaining space of the peripheral hardware that described Peripheral Interface connects is greater than the threshold capacity of setting, then confirming qualified peripheral hardware to be detected;
Data buffering module, for obtaining the VOD program data that described VOD program server returns from described some broadcasting module, by the data buffering of acquisition in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area send;
Playing module, plays for the data sent according to described data buffering module.
7. device as claimed in claim 6, it is characterized in that, described data buffering module specifically comprises:
Data-reading unit, for every setting-up time, sends and stops stored in after notice, judges whether the data cushioned in described peripheral hardware buffering area reach described and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in described peripheral hardware buffering area send; Afterwards, continuation is sent stored in notice;
Data, stored in unit, for receiving described continuation stored in after notice, obtain from described some broadcasting module the VOD program data that described VOD program server returns, by the data buffering that obtains in described peripheral hardware buffering area; And receive described stopping stored in after notice, stop obtaining from described some broadcasting module the VOD program data that described VOD program server returns.
8. a VOD program playing device, is characterized in that, comprising:
Point broadcasting module, sends order request to VOD program server, and after showing VOD program menu according to the programme information that described VOD program server returns, sends buffering area and create notice; And according to the VOD program of user selected in described VOD program menu, send VOD program data request information to described VOD program server; And receive the VOD program data that described VOD program server returns;
Peripheral hardware buffering area creation module, after receiving described buffering area establishment notice, detects Peripheral Interface, after detecting that described Peripheral Interface is connected with qualified peripheral hardware, creates peripheral hardware buffering area in described peripheral hardware; Wherein, detecting that the remaining space of the peripheral hardware that described Peripheral Interface connects is greater than the threshold capacity of setting, then confirming qualified peripheral hardware to be detected;
Playing module, for playing according to obtaining the VOD program data that described VOD program server returns from described some broadcasting module; And when the code check obtaining data is less than broadcasting code check, sends buffering notice, and stop from described some broadcasting module acquisition number certificate;
Data buffering module, after receiving buffering notice that described playing module sends, obtains from described some broadcasting module the VOD program data that described VOD program server returns, by the data buffering that obtains in described peripheral hardware buffering area; And judge the data cushioned in described peripheral hardware buffering area reach can play condition time, the data reading buffer memory in described peripheral hardware buffering area send to described playing module;
Described playing module, plays for the data sent according to described data buffering module.
9. device as claimed in claim 8, it is characterized in that, described data buffering module specifically comprises:
Data-reading unit, for every setting-up time, sends and stops stored in after notice, judges whether the data cushioned in described peripheral hardware buffering area reach described and can play condition; If so, the data then read according to first-in first-out order in the buffer culture in described peripheral hardware buffering area send; Afterwards, continuation is sent stored in notice;
Data, stored in unit, for receiving described continuation stored in after notice or described buffering notice, obtain from described some broadcasting module the VOD program data that described VOD program server returns, by the data buffering of acquisition in described peripheral hardware buffering area; And receive described stopping stored in after notice, stop obtaining from described some broadcasting module the VOD program data that described VOD program server returns.
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 CN103347212A (en) 2013-10-09
CN103347212B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105245946B (en) * 2014-07-10 2020-08-28 中兴通讯股份有限公司 Method, device and system for controlling flow of variable-code-rate media stream

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010049440A1 (en) * 2008-10-29 2010-05-06 Edgeware Ab A method and an apparatus for data recording and streaming

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN103347212A (en) 2013-10-09

Similar Documents

Publication Publication Date Title
CN111135569B (en) Cloud game processing method and device, storage medium and electronic equipment
US9615112B2 (en) Method, system, player and mobile terminal for online video playback
CN109327728A (en) One kind is one-to-many to shield together methods, devices and systems, with screen equipment and storage medium
EP3073753A1 (en) Smart tv media player and playback progress adjustment method thereof, and smart tv
US10453493B2 (en) Method and apparatus for recording and replaying video of terminal
WO2020248909A1 (en) Video decoding method and apparatus, computer device, and storage medium
CN103166941A (en) Data sharing method and device
CN107484011B (en) Video resource decoding method and device
CN104159150A (en) Cloud terminal, cloud server, media data stream playing system and method
WO2019164753A1 (en) Efficient streaming video for static video content
CN103347212B (en) The playing method and device of VOD program
CN107040825B (en) Terminal, television, multi-screen interaction system and screen capture parameter setting method
US20150086184A1 (en) Reception apparatus and reception method
CN102609048B (en) Computer and method for playing audio and video files on demand
US20110099593A1 (en) Streaming data processing method and apparatus for digital broadcast system supporting vod service
JP2009540758A (en) Reference providing method and reference providing apparatus for providing reference related to data stream
CN201663666U (en) Network video device
CN106488271A (en) A kind of net cast method and device
CN111107296B (en) Audio data acquisition method and device, electronic equipment and readable storage medium
CN108900866A (en) It is a kind of based on the multi-stage data live broadcast system for melting media service platform
CN115878058A (en) Information processing method and device, cloud terminal, cloud server and storage medium
CN101489110A (en) Interactive VOD managing method, system and operation supporting server
CN101483757B (en) Skipping method, system and server for network interactive play-on-demand
CN104378671A (en) Intelligent television control system
CN2907131Y (en) Integrated TV with recording function

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