Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Before introducing embodiments of the invention, at first introduce application scenarios of the present invention: at present, the standard that TV is commonly used is generally two kinds, and a kind of is pal mode, and the frame per second under the normal condition was 25 frame/seconds, and China adopts pal mode; Another standard commonly used is the TSC-system formula, and frame per second was generally for 30 frame/seconds, and the TSC-system formula is adopted in the U.S. and Hong Kong etc.Therefore, for the Chinese TV user, the frame per second of normally watching TV generally speaking was 25 frame/seconds, and it was 30 frame/seconds that the U.S. and Hong Kong TV user are normally watched the frame per second of TV.For a set IPTV system, for the user provides clean culture class business, as VOD, direct broadcast band time shift or other video information class business etc., general frame per second is fixed, and for example is 25 frame/seconds; Being 30 frame/seconds for the user provides the frame per second of VOD business perhaps, was 25 frame/seconds for the user provides the frame per second of direct broadcast band time shift, and the professional frame per second of other video information class was 20 frame/seconds; Perhaps for same video class program, such as program request, different film source programs also has the different frame per second of normally watching, and is 30 frame/seconds such as the frame per second of watching the A film, and the frame per second of watching the B film was 25 frame/seconds.Above-mentioned which kind of situation no matter, as long as the user is watching under the same section needed time ratio normal frame rate of the video frequency program broadcast condition the needed time long, just can look for putting slowly.
Fig. 1 is the flow chart of the implementation method embodiment one of IPTV of the present invention system slow playing function.As shown in Figure 1, present embodiment comprises the steps:
Step 101, receive put slowly that control appliance sends put instruction slowly;
Step 102, obtain the described speed of putting slowly that carry in the instruction or predefined of putting slowly;
Step 103, put instruction slowly according to described, according to the described speed play stream media data of putting slowly.
Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed.
Fig. 2 is the flow chart of the implementation method embodiment two of IPTV of the present invention system slow playing function.In the present embodiment, realize slow playing function by ustomer premises access equipment, ustomer premises access equipment can be the IPTV set-top box, also can be for the common computer of IPTV user side software has been installed.Normally watch in the process of the IPTV program that server device issues the user, the user wishes to watch at a slow speed the IPTV program, then initiates to put instruction slowly by putting control appliance slowly, and as shown in Figure 2, present embodiment comprises the steps:
Step 201, ustomer premises access equipment receive put slowly that control appliance sends put instruction slowly;
Slowly put control appliance and can be Infrared remote controller, keyboard, mouse, user terminal Bluetooth control equipment, user terminal wireless control apparatus, user terminal light control device, user terminal Control Software module or user terminal voice-operated device, send to ustomer premises access equipment so the operation of the operation of the operation of the operation that the user can be by remote controller, keyboard, mouse, acoustic control or other radio operation modes will be put instruction slowly.
Step 202, ustomer premises access equipment receive the stream medium data that server device issues, and stream medium data is kept in the ustomer premises access equipment;
Step 203, ustomer premises access equipment obtain puts the speed of putting slowly that carry in the instruction or predefined slowly;
Slowly put to carry in the instruction and put speed slowly, for example the user selects to put slowly speed by putting control appliance slowly, select normally to watch under the mode 4/5ths, 3/4ths, 2/3rds, 1/2nd, 1/3rd, 1/4th, 1/8th or ten/first-class (put speed slowly and also can be other any number), the speed of selecting of putting slowly is encapsulated in and puts slowly in the instruction; Perhaps, preestablished in the ustomer premises access equipment and put speed slowly, for example Mo Ren the speed of putting slowly is 1/2nd, and when the user did not select not put speed slowly, what ustomer premises access equipment obtained acquiescence put speed slowly.
Step 204, ustomer premises access equipment are play according to the stream medium data of putting speed extraction storage slowly according to putting instruction slowly.
In step 204, the former frame per second of supposing the IPTV media stream data is N frame/second (N>1), when putting slowly, need adopt certain way with the N frame expand to the M frame (M>N), present embodiment can adopt following three kinds of modes:
One, the former frame data of stream medium data can be repeated to show and play, promptly realize slow playing function by the frame repeat playing, for example: the order of former frame data decoding output is I B B P B B P BB I, all I frames, P frame and B frame are repeated to show, then be I I B B B B P P B B B BI I, realized that playback rate reduces by one times effect.When normal speed is not when putting the integral multiple of speed slowly, can all frames all not repeated to show, for example, if putting speed slowly is 2/3rds of normal speed, the decoding after then putting slowly is output as I I B B B P P B B B P B B B I.In actual applications, can set I frame, P frame and the B frame that concrete needs repeat to show flexibly according to putting speed slowly.
They are two years old, can be according to putting speed and former frame data slowly, generate new frame data, new frame data are inserted into show in the former frame data and play, promptly according to former I frame, P frame, B frame, generate the new frame data that are different from former I frame, P frame, B frame according to certain rules, the frame that these are new inserts in the former frame data and displays the play, and has realized slow playing function.In actual applications, can set the new frame data that concrete needs increase and the order of broadcast flexibly according to putting speed slowly.
Three, can be according to putting speed and former frame data slowly, generate new frame data, new frame data are inserted in the former frame data, and by repeating to show that former frame data play, this mode combines the mode described in one and two, in actual applications, according to quantity of putting the frame data that speed can set newly-generated frame data and repetition flexibly slowly and order.
Server device does not specifically participate in realizing slow playing function in the present embodiment, the stream medium data that ustomer premises access equipment needs stores service end equipment to issue according to normal code check, therefore the ustomer premises access equipment hardware configuration is had relatively high expectations, but reduced requirement simultaneously the server device disposal ability.
Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed.
Fig. 3 is the flow chart of the implementation method embodiment three of IPTV of the present invention system slow playing function.In the present embodiment, realize slow playing function by server device, ustomer premises access equipment is used for transmitting puts instruction slowly, does not specifically participate in realizing slow playing function, and ustomer premises access equipment can be the IPTV set-top box, also can be for the common computer of IPTV user side software has been installed.Normally watch in the process of the IPTV program that server device issues the user, the user wishes to watch at a slow speed the IPTV program, then initiates to put instruction slowly by putting control appliance slowly, and as shown in Figure 3, present embodiment comprises the steps:
Step 301, ustomer premises access equipment receive put slowly that control appliance sends put instruction slowly;
Slowly put control appliance and can be Infrared remote controller, keyboard, mouse, user terminal Bluetooth control equipment, user terminal wireless control apparatus, user terminal light control device, user terminal Control Software module or user terminal voice-operated device, send to ustomer premises access equipment so the operation of the operation of the operation of the operation that the user can be by remote controller, keyboard, mouse, acoustic control or other radio operation modes will be put instruction slowly.
Step 302, ustomer premises access equipment will be put instruction slowly and be uploaded to server device;
Step 303, server device are obtained and are put the speed of putting slowly that carry in the instruction or predefined slowly;
Slowly put to carry in the instruction and put speed slowly, for example the user selects to put slowly speed by putting control appliance slowly, select normally to watch under the mode 4/5ths, 3/4ths, 2/3rds, 1/2nd, 1/3rd, 1/4th, 1/8th or ten/first-class (put speed slowly and also can be other any number), the speed of selecting of putting slowly is encapsulated in and puts slowly in the instruction; Perhaps, preestablished in the server device and put speed slowly, for example Mo Ren the speed of putting slowly is 1/2nd, and when the user did not select not put speed slowly, what server device was obtained acquiescence put speed slowly.
Step 304, server device be according to putting instruction slowly, according to putting speed slowly, by ustomer premises access equipment to user's play stream media data.
Wherein also can adopt three kinds of mode play stream media data described in the embodiment two in the step 304.
Carry out the broadcast of stream medium data in the present embodiment by server device, ustomer premises access equipment is used for transmitting puts instruction slowly, does not specifically participate in realizing slow playing function, therefore, ustomer premises access equipment does not need the stored stream media data, has reduced the requirement to the ustomer premises access equipment hardware configuration.
Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed.
Fig. 4 is the flow chart of the implementation method embodiment four of IPTV of the present invention system slow playing function.Normally watch in the process of the IPTV program that server device issues the user, the user wishes to watch at a slow speed the IPTV program, then initiates to put instruction slowly by putting control appliance slowly, and as shown in Figure 4, present embodiment comprises the steps:
Step 401, ustomer premises access equipment receive put slowly that control appliance sends put instruction slowly;
Slowly put control appliance and can be Infrared remote controller, keyboard, mouse, user terminal Bluetooth control equipment, user terminal wireless control apparatus, user terminal light control device, user terminal Control Software module or user terminal voice-operated device, send to ustomer premises access equipment so the operation of the operation of the operation of the operation that the user can be by remote controller, keyboard, mouse, acoustic control or other radio operation modes will be put instruction slowly.
Step 402, ustomer premises access equipment will be put instruction slowly and be uploaded to server device;
Step 403, server device are held consultation according to pre-configured rule and ustomer premises access equipment, determine by server device or ustomer premises access equipment play stream media data, for example determine whether by the server device play stream media data, if then execution in step 404; Otherwise, execution in step 406;
Step 404, server device are obtained and are put the speed of putting slowly that carry in the instruction or predefined, execution in step 405 slowly;
Step 405, server device, to user's play stream media data, finish by ustomer premises access equipment according to putting speed slowly according to putting instruction slowly;
Step 406, ustomer premises access equipment receive the stream medium data that server device issues, and stream medium data are kept in the ustomer premises access equipment execution in step 407;
Step 407, ustomer premises access equipment obtain puts the speed of putting slowly that carry in the instruction or predefined, execution in step 408 slowly;
Step 408, ustomer premises access equipment are play according to the stream medium data of putting speed extraction storage slowly according to putting instruction slowly, finish.
Wherein also can adopt three kinds of mode play stream media data described in the embodiment two in the step 405 and 408.
Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed; Further, adopt ustomer premises access equipment and server device to hold consultation, determine to provide the best mode of putting broadcast slowly, wherein pre-configured rule can combine with concrete practical application situation in the step 403, has improved the flexibility of present embodiment;
Fig. 5 is the schematic diagram of the implement device embodiment of IPTV of the present invention system slow playing function.As shown in Figure 5, present embodiment specifically comprises: receiving element 11, be used to receive put slowly that control appliance sends put instruction slowly; Acquiring unit 12 obtains the described speed of putting slowly that carry in the instruction or predefined of putting slowly; Broadcast unit 13 is used for putting instruction slowly according to described, according to the described speed play stream media data of putting slowly.
Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed.
Fig. 6 is the schematic diagram of the realization system embodiment one of IPTV of the present invention system slow playing function.Present embodiment specifically comprises: put control appliance 21 slowly, be used for sending and put instruction slowly; Ustomer premises access equipment 22, be used to receive put slowly that control appliance 21 sends put instruction slowly, obtain the described speed of putting slowly that carry in the instruction or predefined of putting slowly, and, put instruction slowly according to described, play the stream medium data that receives according to the described speed of putting slowly; Server device 23 is used for sending stream medium data to ustomer premises access equipment 22.
Wherein put control appliance 21 slowly and can be integrated on IPTV user's operating equipment or the operation interface, for example Infrared remote controller or keyboard or mouse or user terminal Bluetooth control equipment or user terminal wireless control apparatus or user terminal light control device or user terminal Control Software module or user terminal voice-operated device.
When putting control appliance 21 slowly for physical equipment (as Infrared remote controller, keyboard, mouse, user terminal Bluetooth control equipment, user terminal wireless control apparatus, user terminal light control device), on these physical equipments, be integrated with the special-purpose button of putting slowly, or put button slowly with other function keys are share, this is put button slowly and comprises: start and put button slowly, stop to put slowly button, put the rate selection button slowly.Wherein startup is put button slowly, is stopped to put slowly button and put the rate selection button slowly and can share, and for example selects by the order of button.
When putting control appliance 21 slowly for user terminal Control Software module, on the interface of user terminal Control Software module, comprise the special-purpose button of putting slowly, or put button slowly with other function keys are share, this is put button slowly and comprises: start and put button slowly, stop to put slowly button, put the rate selection button slowly.Wherein startup is put button slowly, is stopped to put slowly button and put the rate selection button slowly and can share, and for example selects by the order of button.
In addition, when putting control appliance 21 for user terminal voice-operated device slowly, the user can realize putting slowly operation by the mode of acoustic control, comprises startup that control puts slowly, stops and putting slowly the selection of speed etc.
Server device 23 does not specifically participate in realizing slow playing function in the present embodiment, the stream medium data that ustomer premises access equipment 22 needs stores service end equipment 23 to issue according to normal code check, therefore ustomer premises access equipment 22 hardware configuration are had relatively high expectations, but reduced requirement simultaneously server device 23 disposal abilities.Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed.
The realization system embodiment two of IPTV of the present invention system slow playing function specifically comprises: put control appliance slowly, be used for sending and put instruction slowly; Ustomer premises access equipment, be used to receive put slowly that control appliance sends put instruction slowly, will describedly put slowly to instruct and be uploaded to server device; Server device is used for obtaining the described speed of putting slowly that instruction is carried or predefined of putting slowly, and, put instruction slowly according to described, according to the described speed play stream media data of putting slowly.
Wherein put control appliance slowly and can be integrated on IPTV user's operating equipment or the operation interface, for example Infrared remote controller or keyboard or mouse or user terminal Bluetooth control equipment or user terminal wireless control apparatus or user terminal light control device or user terminal Control Software module or user terminal voice-operated device.
When putting control appliance slowly and be physical equipment (as Infrared remote controller, keyboard, mouse, user terminal Bluetooth control equipment, user terminal wireless control apparatus, user terminal light control device), on these physical equipments, be integrated with the special-purpose button of putting slowly, or put button slowly with other function keys are share, this is put button slowly and comprises: start and put button slowly, stop to put slowly button, put the rate selection button slowly.Wherein startup is put button slowly, is stopped to put slowly button and put the rate selection button slowly and can share, and for example selects by the order of button.
When putting control appliance slowly and be user terminal Control Software module, on the interface of user terminal Control Software module, comprise the special-purpose button of putting slowly, or put button slowly with other function keys are share, this is put button slowly and comprises: start and put button slowly, stop to put slowly button, put the rate selection button slowly.Wherein startup is put button slowly, is stopped to put slowly button and put the rate selection button slowly and can share, and for example selects by the order of button.
In addition, when putting control appliance slowly and be user terminal voice-operated device, the user can realize by the mode of acoustic control putting operation slowly, comprises startup that control puts slowly, stops and putting slowly selection of speed etc.
Carry out the broadcast of stream medium data in the present embodiment by server device, ustomer premises access equipment is used for transmitting puts instruction slowly, does not specifically participate in realizing slow playing function, therefore, ustomer premises access equipment does not need the stored stream media data, has reduced the requirement to the ustomer premises access equipment hardware configuration.Present embodiment is according to putting instruction slowly, and puts the speed of putting slowly that carry in the instruction or predefined slowly, play stream media data has realized the slow playing function of IPTV system, satisfied the demand that the user appreciates the IPTV business at a slow speed.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is when carrying out, execution comprises the step of said method embodiment, and aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.