CN102143145A - Media data recording and providing methods and devices - Google Patents

Media data recording and providing methods and devices Download PDF

Info

Publication number
CN102143145A
CN102143145A CN2010105274974A CN201010527497A CN102143145A CN 102143145 A CN102143145 A CN 102143145A CN 2010105274974 A CN2010105274974 A CN 2010105274974A CN 201010527497 A CN201010527497 A CN 201010527497A CN 102143145 A CN102143145 A CN 102143145A
Authority
CN
China
Prior art keywords
media
media file
file
program
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105274974A
Other languages
Chinese (zh)
Inventor
胡兴华
刘启铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2010105274974A priority Critical patent/CN102143145A/en
Publication of CN102143145A publication Critical patent/CN102143145A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a media data recording method, a media data providing method, a media data recording device and a media data providing device. A media server records media data acquired in a preset time interval, and generates a corresponding media file. When acquiring a streaming media service request from a mobile terminal, the media server returns the media data in at least one media file corresponding to a time range identified by a starting time identifier and an ending time identifier of a program to the mobile terminal according to the starting and ending time identifiers of the program requested to be played back in the streaming media service request. The media server can transmit the media data in the recorded and generated media file corresponding to a played part to the mobile terminal without waiting for the playing of the program is finished, thereby improving the media data acquisition efficiency of the mobile terminal.

Description

Media data record, provide method and device
Technical field
The embodiment of the invention relates to mobile communication technology, and what relate in particular to a kind of media data records, provides method and device.
Background technology
The direct playing and playback business is a new business in mobile flow medium (Mobile TV is called for short MTV) field, is a characteristic service that grows up on the basis of live broadcast service.The time started and the concluding time of each program record each program in the programme information that media server issues according to Content Management System (Content Management System, be called for short CMS), generate the media file of each program correspondence.After the streaming media service request that receives from portable terminal, media server can be to the media data in the media file of the arbitrary complete programs correspondence before portable terminal provides the current time of being asked, and makes arbitrary complete programs that mobile phone users can watch current time to miss.
Yet, in the prior art, media server is according to the programme information that obtains each program to be recorded, have only playing programs to finish and to generate corresponding media file, thereby make portable terminal can only obtain the media data in the media file of recording the complete programs correspondence of finishing before the current time, caused mobile phone users to be merely able to record before watching current time the complete programs of finishing, and the partial programme that can't watch the in progress program of current time before this moment, to play, thereby reduced the efficient that portable terminal obtains media data.
Summary of the invention
What the embodiment of the invention provided a kind of media data records, provides method and device, can only obtain the defective that current time is recorded the media data in the media file of the complete programs correspondence of finishing before in order to solve in the prior art because media server is recorded the portable terminal that is caused according to the programme information that obtains to each program, improve the efficient that portable terminal obtains media data.
The embodiment of the invention provides a kind of method for recording of media data, comprising:
Media server obtains record command;
Described media server is according to described record command, and the Preset Time that the obtains media data in is at interval recorded, and generates media file, described media file be designated the time that begins to record described media file.
A kind of method that provides of media data is provided the embodiment of the invention, comprising:
Media server obtains the streaming media service request from portable terminal, comprises the time started sign of asking playback program and the concluding time of described program in the described streaming media service request to identify;
Described media server returns with the concluding time of time started of described program sign and described program to described portable terminal and identifies media data at least one corresponding media file of the time range that identified, to be described media server to the Preset Time that the obtains media data at interval record described at least one media file is generated, described at least one media file be designated the time that described media server begins to record described at least one media file.
The embodiment of the invention also provides a kind of record device of media data, comprising:
Receiver module is used to obtain record command;
Record module, be used for, the Preset Time that the obtains media data in is at interval recorded, generate media file according to described record command, described media file be designated the time that begins to record described media file.
The embodiment of the invention also provides a kind of generator of media data, comprising:
Record module, be used for the Preset Time that the obtains media data in is at interval recorded, generate media file, described media file be designated the time that begins to record described media file;
Receiver module is used to obtain the streaming media service request from portable terminal, comprises the time started sign of asking playback program and the concluding time of described program in the described streaming media service request to identify;
Sending module is used for returning to described portable terminal and identifies corresponding described of the time range that identified with the concluding time of time started of described program sign and described program and record the media data that module is recorded at least one media file of generation.
As shown from the above technical solution, the embodiment of the invention is recorded the interior at interval media data of Preset Time that obtains by media server and is generated corresponding media file, when the streaming media service request that gets access to from portable terminal, media server is according to the concluding time sign of time started of the request playback program that is comprised in this streaming media service request sign and this program, returns with the concluding time of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal and identifies media data at least one corresponding media file of the time range that identified.The method that provides of media data that present embodiment provides is provided, media server need not playing programs by the time and just finishes and can record media data in the media file of playing the part correspondence of generation to the portable terminal transmission, thereby make the partial programme that mobile phone users can watch the in progress program of current time to play before this moment, thereby improved the efficient that portable terminal obtains media data.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for recording embodiment of media data provided by the invention;
Fig. 2 is the schematic flow sheet that method embodiment is provided of media data provided by the invention;
Fig. 3 is the schematic flow sheet that method embodiment is provided of media data provided by the invention;
Fig. 4 is the structural representation of the record device embodiment of media data provided by the invention;
Fig. 5 is the structural representation of the generator embodiment of media data provided by the invention;
Fig. 6 is the structural representation of the generator embodiment of media data provided by the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the schematic flow sheet of the method for recording embodiment of media data provided by the invention, and as shown in Figure 1, the method for recording of the media data of present embodiment can may further comprise the steps:
Step 101, media server obtain record command;
Step 102, above-mentioned media server be according to above-mentioned record command, and the Preset Time that the obtains media data in is at interval recorded, and generates media file, this media file be designated the time that begins to record this media file.
Particularly, in the present embodiment, media server can be benchmark with time, to the media data of each program correspondence of obtaining, every Preset Time (for example: 3 minutes) is at interval recorded a media file, and its corresponding identification can be for beginning to record the time of each media file.Preferably, can be further to begin recording the time of each media file to each media file name, as its corresponding identification.When media server gets access to streaming media service request from portable terminal, media server can be according to the concluding time sign of time started of the request playback program that is comprised in this streaming media service request sign and this program, returns with the concluding time of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal and identifies media data at least one corresponding media file of the time range that identified.
To be spaced apart the be elaborated technical scheme of the embodiment of the invention of example below with 3 minutes Preset Time.Media server can be recorded to the media data that obtain between the 19:00:00 on October 10,18:57:00 to 2010 year on the 10th October in 2010 among the media file 20101010185700.3gp, the media data that obtain between the 19:03:00 on October 10,19:00:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190000.3gp, the media data that obtain between the 19:06:00 on October 10,19:03:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190300.3gp, the media data that obtain between the 19:09:00 on October 10,19:06:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190600.3gp, the media data that obtain between the 19:12:00 on October 10,19:09:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190900.3gp, the media data that obtain between the 19:15:00 on October 10,19:12:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010191200.3gp, the media data that obtain between the 19:18:00 on October 10,19:15:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010191500.3gp, the media data that obtain between the 19:21:00 on October 10,19:18:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010191800.3gp, the media data that obtain between the 19:24:00 on October 10,19:21:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010192100.3gp, the media data that obtain between the 19:27:00 on October 10,19:24:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010192400.3gp, and it is medium that the media data that obtains between the 19:30:00 on October 10,19:27:00 to 2010 year on the 10th October in 2010 is recorded to media file 20101010192700.3gp.
Further, present embodiment can further include the corresponding relation of timestamp and skew in recording the above-mentioned media file of generation that media server obtained and stored the I frame of the media data that is obtained, in order to the position of the media file of the position of the media file of the time started correspondence of accurate location program and concluding time correspondence.
In the present embodiment, by media server the interior at interval media data of Preset Time that obtains is recorded the media file that generates correspondence, media server can just finish and to record media data in the media file of playing the part correspondence of generation to the portable terminal transmission so that need not playing programs by the time, thereby make the partial programme that mobile phone users can watch the in progress program of current time to play before this moment, thereby improved the efficient that portable terminal obtains media data.
Fig. 2 is the schematic flow sheet that method embodiment is provided of media data provided by the invention, and as shown in Figure 2, the method that provides of the media data of present embodiment can may further comprise the steps:
Step 201, media server obtain the streaming media service request from portable terminal, comprise the time started sign of asking playback program and the concluding time of above-mentioned program in the above-mentioned streaming media service request to identify;
Step 202, above-mentioned media server are returned media data at least one corresponding media file of the time range that identified with the concluding time sign of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal, and to be above-mentioned media server to the Preset Time that the obtains media data at interval record above-mentioned at least one media file is generated.
Wherein, media server is recorded the time that the sign of above-mentioned at least one media file of generation can begin to record each media file for this media server.
Particularly, in the present embodiment, media server can be benchmark with time, to the media data of each program correspondence of obtaining, every Preset Time (for example: 3 minutes) is at interval recorded a media file, and its corresponding identification can be for beginning to record the time of each media file.Preferably, can be further to begin recording the time of each media file to each media file name, as its corresponding identification.When media server gets access to streaming media service request from portable terminal, media server can be according to the concluding time sign of time started of the request playback program that is comprised in this streaming media service request sign and this program, returns with the concluding time of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal and identifies media data at least one corresponding media file of the time range that identified.
To be spaced apart the be elaborated technical scheme of the embodiment of the invention of example below with 3 minutes Preset Time.Media server can be recorded to the media data that obtain between the 19:00:00 on October 10,18:57:00 to 2010 year on the 10th October in 2010 among the media file 20101010185700.3gp, the media data that obtain between the 19:03:00 on October 10,19:00:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190000.3gp, the media data that obtain between the 19:06:00 on October 10,19:03:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190300.3gp, the media data that obtain between the 19:09:00 on October 10,19:06:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190600.3gp, the media data that obtain between the 19:12:00 on October 10,19:09:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010190900.3gp, the media data that obtain between the 19:15:00 on October 10,19:12:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010191200.3gp, the media data that obtain between the 19:18:00 on October 10,19:15:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010191500.3gp, the media data that obtain between the 19:21:00 on October 10,19:18:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010191800.3gp, the media data that obtain between the 19:24:00 on October 10,19:21:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010192100.3gp, the media data that obtain between the 19:27:00 on October 10,19:24:00 to 2010 year on the 10th October in 2010 is recorded among the media file 20101010192400.3gp, and it is medium that the media data that obtains between the 19:30:00 on October 10,19:27:00 to 2010 year on the 10th October in 2010 is recorded to media file 20101010192700.3gp.
When media server gets access to streaming media service request from portable terminal, the time that time started of the request playback program that comprises in this streaming media service request sign is identified be on October 10th, 2010 19:00:00 (for example: 20101010190000), the time that concluding time of the request playback program that comprises in this streaming media service request sign is identified be on October 10th, 2010 19:30:00 (for example: 20101010193000), promptly the time range that is identified be on October 10th, 2010 19:00:00~2010 19:30:00 in 10, on October (for example: the live time of news hookup correspondence), this time range correspondence 10 media files, be media file 20101010190000.3g p, media file 20101010190300.3gp, media file 20101010190600.3gp, media file 20101010190900.3gp, media file 20101010191200.3gp, media file 20101010191500.3gp, media file 20101010191800.3gp, media file 20101010192100.3gp, media file 20101010192400.3gp and media file 20101010192700.3gp, media server send media data in above-mentioned 10 media files to portable terminal successively.
In the present embodiment, by media server the interior at interval media data of Preset Time that obtains is recorded the media file that generates correspondence, when the streaming media service request that gets access to from portable terminal, media server is according to the concluding time sign of time started of the request playback program that is comprised in this streaming media service request sign and this program, returns with the concluding time of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal and identifies media data at least one corresponding media file of the time range that identified.The method that provides of media data that present embodiment provides is provided, media server need not playing programs by the time and just finishes and can record media data in the media file of playing the part correspondence of generation to the portable terminal transmission, thereby make the partial programme that mobile phone users can watch the in progress program of current time to play before this moment, thereby improved the efficient that portable terminal obtains media data.
Fig. 3 is the schematic flow sheet that method embodiment is provided of media data provided by the invention, and as shown in Figure 3, the method that provides of the media data of present embodiment can may further comprise the steps:
Step 301, content supplier's (Content Provider is called for short CP)/service provider's (ServiceProvider is called for short SP) upload the direct broadcast band programme information of direct broadcast band to CMS;
For example: the content of the direct broadcast band programme information of direct broadcast band wherein can be as follows:
CCTV12010 October 10
06:00~08:00: morning news
08:00~09:00: Focus
09:00~09:10: advertisement
09:10~12:50: TV series " good fortune of the whole family "
12:50~16:30: TV series " one family of happiness "
16:30~18:55: story
18:55~19:00: advertisement
19:00~19:30: news hookup
19:30~19:35: advertisement
19:35~20:38: the stock market is seen everyday
20:38~00:00: TV series Dream of the Red Mansion
Step 302, CMS send above-mentioned direct broadcast band programme information to gate system, so that this gate system shows the above-mentioned direct broadcast band programme information that it obtains by the portal pages user oriented;
Step 303, the media data that pass through the above-mentioned direct broadcast band of encoding of media server to obtaining, every Preset Time (for example: 3 minutes) is at interval recorded a media file, its corresponding identification can be for beginning to record the time of each media file, and the corresponding relation of timestamp and skew in media file that obtains and store the I frame of above-mentioned media data;
For example: the address information of recording the media file that the media data of CCTV1 generates can be as follows:
.../CCTV1/20101010060000.3gp
.../CCTV1/20101010060300.3gp
......
......
.../CCTV1/20101010075700.3gp
.../CCTV1/20101010080000.3gp
.../CCTV1/20101010080300.3gp
......
......
.../CCTV1/20101010085700.3gp
......
Step 304, portable terminal send a request message to gate system, in order to the address information of request request playback program according to the program that the user selects by the web portal pages of browsing gate system and providing;
Step 305, gate system are according to the above-mentioned direct broadcast band programme information that obtains, return response message to portable terminal, comprise the address information of asking playback program in this response message, comprise the time started sign of the address designation of the media file of above-mentioned program correspondence, above-mentioned program and the concluding time sign of above-mentioned program in the above-mentioned request playback program address information;
For example: if portable terminal sends a request message to gate system, request playback program stock market is seen everyday.Gate system then can be according to the information 19:35~20:38 in the above-mentioned direct broadcast band programme information that obtains: the stock market is seen everyday, obtain the time started 19:35 and the concluding time 20:38 that see the stock market everyday, return the address information rtsp of request playback program to portable terminal: // .../CCTV1﹠amp; Playbackbegin=20101010193500﹠amp; Playbackend=20101010203800.
Step 306, portable terminal send the streaming media service request to media server, the address information that comprises above-mentioned request playback program in the above-mentioned streaming media service request comprises the time started sign of the address designation of the media file of above-mentioned program correspondence, above-mentioned program and the concluding time sign of above-mentioned program in the above-mentioned request playback program address information;
Above-mentioned address designation that comprises in step 307, the address information of media server according to above-mentioned request playback program and the time started of above-mentioned program sign match corresponding beginning media file;
Particularly, the media services implement body can be according to above-mentioned address designation rtsp: // .../CCTV1 finds the stock market to see the memory location of corresponding media file everyday, according to the time started sign of above-mentioned program; Playbackbegin=20101010193500, match the timestamp of corresponding beginning I frame, according to the corresponding relation of the timestamp of I frame and the skew in media file, match the deviation post in beginning media file corresponding with the timestamp of above-mentioned beginning I frame.
For example: the media services implement body can be according to above-mentioned address designation rtsp: // .../CCTV1 finds the memory location of the media file of request playback program correspondence, according to the time started sign of above-mentioned program; Playbackbegin=20101010193500, match the timestamp of corresponding beginning I frame, according to the corresponding relation of the timestamp of I frame with skew in media file, match timestamp with above-mentioned beginning I frame corresponding at the beginning media file ... the skew of/CCTV1/20101010193300.3gp.
Step 308, media server send media data relevant with above-mentioned program in the above-mentioned beginning media file to portable terminal;
Particularly, above-mentioned media server can begin in the skew of beginning the media file from above-mentioned, sends media data in the above-mentioned beginning media file to portable terminal.
For example: above-mentioned media server can be from above-mentioned beginning media file ... the deviation post of/CCTV1/20101010193300.3gp begins, and sends above-mentioned beginning media file to portable terminal ... the media data the among/CCTV1/20101010193300.3gp.
Step 309, media server match corresponding intermediate medium file according to the sign of above-mentioned beginning media file and the concluding time sign of above-mentioned program;
Step 310, media server send media data in the above-mentioned intermediate medium file to portable terminal;
Particularly, the media services implement body can add the time that sign identified of above-mentioned beginning media file that Preset Time at interval, if the concluding time of the time that it identified less than above-mentioned program identifies the time that is identified, then match first intermediate medium file, and the media data in above-mentioned first intermediate medium file of portable terminal transmission; Media server further adds that with the time that sign identified of above-mentioned first intermediate medium file Preset Time at interval, if the concluding time of the time that it identified less than above-mentioned program identifies the time that is identified, then match second intermediate medium file, and send media data in above-mentioned second intermediate medium file to portable terminal; By that analogy, add that up to the time that sign identified of previous media file Preset Time numerical value at interval is equal to or greater than the time that the concluding time sign of above-mentioned program identified and deducts Preset Time numerical value at interval, then no longer mate the intermediate medium file.
For example: the media services implement body can be with above-mentioned beginning media file ... the 19:33:00 on October 10 2010 time that the sign 20101010193300 of/CCTV1/20101010193300.3gp is identified added Preset Time 3 minutes at interval, if it identified October 10 2010 time, 19:36:00 was less than the concluding time sign 20:38:00 on October 10 2010 20101010203800 time that identified of above-mentioned program, then match first intermediate medium file .../CCTV1/20101010193600.3gp, and send above-mentioned first intermediate medium file ... the media data the among/CCTV1/20101010193600.3gp to portable terminal; The 19:36:00 on October 10 2010 time that media server is further identified the sign 20101010193600 of above-mentioned first intermediate medium file added Preset Time 3 minutes at interval, if it identified October 10 2010 time, 19:39:00 was less than the concluding time sign 20:38:00 on October 10 2010 20101010203800 time that identified of above-mentioned program, then match second intermediate medium file .../CCTV1/20101010193900.3gp, and send above-mentioned second intermediate medium file ... the media data the among/CCTV1/20101010193900.3gp to portable terminal; By that analogy, up to previous media file ... October 10 2010 time that sign identified of/CCTV1/20101010203300.3gp 20:33:00 add Preset Time 3 minutes the numerical value concluding time sign 20:38:00 on October 10 2010 20101010203800 time that identified that is equal to or greater than above-mentioned program deduct Preset Time 3 minutes numerical value at interval at interval, then no longer mate the intermediate medium file.
Step 311, media server identified according to the concluding time of above-mentioned program, matched corresponding end media file;
Particularly, the media services implement body can be according to the concluding time sign of above-mentioned program; Playbackend=20101010203800 matches the timestamp of corresponding end I frame, according to the corresponding relation of the timestamp of I frame with skew in media file, matches the skew during finishing media file corresponding with the timestamp of above-mentioned end I frame.
For example: the media services implement body can be according to the time started sign of above-mentioned program; Playbackend=20101010203800, match the timestamp of corresponding end I frame, according to the corresponding relation of the timestamp of I frame with skew in media file, match timestamp with above-mentioned end I frame corresponding finishing media file ... the skew of/CCTV1/20101010193600.3gp.
Step 312, media server send media data relevant with above-mentioned program in the above-mentioned end media file to portable terminal.
Particularly, above-mentioned media server can send media data in the above-mentioned end media file to portable terminal, till the frame data that the deviation post in above-mentioned end media file begins finish.
For example: above-mentioned media server can send above-mentioned end media file to portable terminal ... the media data the among/CCTV1/20101010193600.3gp, up to above-mentioned end media file ... till the frame data that the deviation post of/CCTV1/20101010193600.3gp begins finish.
Those skilled in the art should be understood that: do not finish if the media file of certain time period of media data correspondence is recorded as yet, media server then can't match the media file of above-mentioned time period correspondence.
In the present embodiment, by media server the interior at interval media data of Preset Time that obtains is recorded the media file that generates correspondence, when the streaming media service request that gets access to from portable terminal, media server is according to the concluding time sign of time started of the request playback program that is comprised in this streaming media service request sign and this program, returns with the concluding time of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal and identifies media data at least one corresponding media file of the time range that identified.The method that provides of media data that present embodiment provides is provided, media server need not playing programs by the time and just finishes and can record media data in the media file of playing the part correspondence of generation to the portable terminal transmission, thereby make the partial programme that mobile phone users can watch the in progress program of current time to play before this moment, thereby improved the efficient that portable terminal obtains media data.
Need to prove: for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
Fig. 4 is the structural representation of the record device embodiment of media data provided by the invention, and as shown in Figure 4, the record device of the media data of present embodiment can comprise receiver module 41 and record module 42.Wherein, receiver module 41 obtains record command, records the record command that module 42 is obtained according to receiver module 41, and the interior at interval media data of Preset Time that obtains is recorded, generate media file, this media file be designated the time that begins to record this media file.
The record device of the media data that the function of the media server among the method for recording embodiment of the media data that the invention described above provides all can be provided by present embodiment is realized.
In the present embodiment, by recording module the interior at interval media data of Preset Time that obtains is recorded the media file that generates correspondence, media server can just finish and to record module to the portable terminal transmission and record media data in the media file of playing the part correspondence of generation so that need not playing programs by the time, thereby make the partial programme that mobile phone users can watch the in progress program of current time to play before this moment, thereby improved the efficient that portable terminal obtains media data.
Further, record the corresponding relation of timestamp and skew in recording the above-mentioned media file of generation that the I frame of the above-mentioned media data that obtains could also further be obtained and store to module 42 in the present embodiment, in order to the position of the media file of the position of the media file of the time started correspondence of accurate location program and concluding time correspondence.
Fig. 5 is the structural representation of the generator embodiment of media data provided by the invention, and as shown in Figure 5, the generator of the media data of present embodiment can comprise records module 51, receiver module 52 and sending module 53.Wherein, recording Preset Time that 51 pairs of modules the obtain media data at interval records, generate media file, above-mentioned media file be designated the time that begins to record above-mentioned media file, receiver module 52 obtains the streaming media service request from portable terminal, comprise the time started sign of asking playback program and the concluding time sign of above-mentioned program in the above-mentioned streaming media service request, sending module 53 returns to above-mentioned portable terminal and identifies corresponding above-mentioned of the time range that identified with the concluding time of the time started sign of above-mentioned program and above-mentioned program and record module and record media data at least one media file of generation.
The generator of the media data that the function that media server among the method embodiment is provided of the media data that the invention described above provides all can be provided by present embodiment is realized.
In the present embodiment, by recording module the interior at interval media data of Preset Time that obtains is recorded the media file that generates correspondence, when receiver module gets access to streaming media service request from portable terminal, sending module is according to the concluding time sign of time started of the request playback program that is comprised in this streaming media service request sign and this program, returns with the concluding time of the time started sign of above-mentioned program and above-mentioned program to above-mentioned portable terminal and identifies media data at least one corresponding media file of the time range that identified.The generator of the media data that the employing present embodiment provides, media server need not playing programs by the time and just finishes and can record media data in the media file of playing the part correspondence of generation to the portable terminal transmission, thereby make the partial programme that mobile phone users can watch the in progress program of current time to play before this moment, thereby improved the efficient that portable terminal obtains media data.
Fig. 6 is the structural representation of the generator embodiment of media data provided by the invention, as shown in Figure 6, the sending module 53 in the generator of the media data of present embodiment can further specifically comprise first transmitting element 61, second transmitting element 62 and the 3rd transmitting element 63.Wherein, first transmitting element 61 is according to the time started sign of above-mentioned program, match corresponding recording module 51 and record the beginning media file of generation, send media data relevant in the above-mentioned beginning media file to above-mentioned portable terminal with above-mentioned program, second transmitting element 62 is according to the sign of above-mentioned beginning media file and the concluding time sign of above-mentioned program, match corresponding recording module 51 and record the intermediate medium file of generation, send media data in the above-mentioned intermediate medium file to above-mentioned portable terminal, the 3rd transmitting element 63 is according to the concluding time sign of above-mentioned program, match corresponding recording module 51 and record the end media file of generation, send media data relevant in the above-mentioned end media file with above-mentioned program to above-mentioned portable terminal.
Particularly, further, record the corresponding relation of timestamp and skew in recording the above-mentioned media file of generation that the I frame of the above-mentioned media data that obtains could also further be obtained and store to module 51 in the present embodiment, in order to the position of the media file of the position of the media file of the time started correspondence of accurate location program and concluding time correspondence.
Particularly, first transmitting element 61 in the present embodiment specifically can be according to the time started sign of above-mentioned program, match the timestamp of corresponding beginning I frame, according to the timestamp of the I frame of recording module 51 storages and the corresponding relation of the skew in media file, match timestamp with above-mentioned beginning I frame corresponding record skew in the beginning media file of generation recording module 51, deviation post from above-mentioned beginning media file begins, and sends media data in the above-mentioned beginning media file to above-mentioned portable terminal.
Particularly, the 3rd transmitting element 63 in the present embodiment specifically can be according to the concluding time sign of above-mentioned program, match the timestamp of corresponding end I frame, according to the timestamp of the I frame of recording module 51 storages and the corresponding relation of the skew in media file, match timestamp with above-mentioned end I frame corresponding record skew in the end media file of generation recording module 51, send media data in the above-mentioned end media file to above-mentioned portable terminal, till the frame data of the deviation post in above-mentioned end media file finish.
It will be understood by those skilled in the art that: the media server described in the invention described above embodiment, can also be divided into independently server of two of Play Server and Video Record Processor according to its function, Video Record Processor is used for the media data that gets access to is recorded, the media data that provides Video Record Processor to record to portable terminal is provided Play Server, repeats no more herein.
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 carried out the step that comprises said method embodiment when carrying out; 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.

Claims (13)

1. the method for recording of a media data is characterized in that, comprising:
Media server obtains record command;
Described media server is according to described record command, and the Preset Time that the obtains media data in is at interval recorded, and generates media file, described media file be designated the time that begins to record described media file.
2. method according to claim 1 is characterized in that, also comprises: described media server obtains and stores the corresponding relation of timestamp and skew in described media file of the I frame of described media data.
A media data method is provided, it is characterized in that, comprising:
Media server obtains the streaming media service request from portable terminal, comprises the time started sign of asking playback program and the concluding time of described program in the described streaming media service request to identify;
Described media server returns with the concluding time of time started of described program sign and described program to described portable terminal and identifies media data at least one corresponding media file of the time range that identified, to be described media server to the Preset Time that the obtains media data at interval record described at least one media file is generated, described at least one media file be designated the time that described media server begins to record described at least one media file.
4. method according to claim 3, it is characterized in that described media server returns the media data that identifies at least one corresponding media file of the time range that identified with the concluding time of time started of described program sign and described program to described portable terminal and comprises:
Described media server matches corresponding beginning media file according to the time started sign of described program;
Described media server sends media data relevant with described program in the described beginning media file to described portable terminal;
Described media server matches corresponding intermediate medium file according to the sign of described beginning media file and the concluding time sign of described program;
Described media server sends media data in the described intermediate medium file to described portable terminal;
Described media server matches corresponding end media file according to the concluding time sign of described program;
Described media server sends media data relevant with described program in the described end media file to described portable terminal.
5. method according to claim 4 is characterized in that,
Described media server matches corresponding beginning media file and comprises according to the time started sign of described program:
Described media server matches the timestamp of corresponding beginning I frame according to the time started sign of described program;
Described media server matches the skew in beginning media file corresponding with the timestamp of described beginning I frame according to the corresponding relation of the timestamp of I frame and the skew in media file;
Described media server sends media data relevant with described program in the described beginning media file to described portable terminal and comprises:
The deviation post of described media server from described beginning media file begins, and sends media data in the described beginning media file to described portable terminal.
6. according to claim 4 or 5 described methods, it is characterized in that described media server matches corresponding end media file and comprises according to the concluding time sign of described program:
Described media server matches the timestamp of corresponding end I frame according to the concluding time sign of described program;
Described media server matches the corresponding skew in finishing media file of timestamp with described end I frame according to the corresponding relation of the timestamp of I frame and the skew in media file;
Described media server sends media data relevant with described program in the described end media file to described portable terminal and comprises:
Described media server sends media data in the described end media file to described portable terminal, till the frame data of the deviation post in described end media file finish.
7. the record device of a media data is characterized in that, comprising:
Receiver module is used to obtain record command;
Record module, be used for, the Preset Time that the obtains media data in is at interval recorded, generate media file according to described record command, described media file be designated the time that begins to record described media file.
8. device according to claim 7 is characterized in that, describedly records the timestamp and corresponding relation in the skew of described media file that module also is used for obtaining and store the I frame of described media data.
9. the generator of a media data is characterized in that, comprising:
Record module, be used for the Preset Time that the obtains media data in is at interval recorded, generate media file, described media file be designated the time that begins to record described media file;
Receiver module is used to obtain the streaming media service request from portable terminal, comprises the time started sign of asking playback program and the concluding time of described program in the described streaming media service request to identify;
Sending module is used for returning to described portable terminal and identifies corresponding described of the time range that identified with the concluding time of time started of described program sign and described program and record the media data that module is recorded at least one media file of generation.
10. device according to claim 9 is characterized in that, described sending module comprises:
First transmitting element is used for according to time started of described program sign, matches the corresponding described beginning media file that module is recorded generation of recording, and sends media data relevant with described program in the described beginning media file to described portable terminal;
Second transmitting element, be used for according to the sign of described beginning media file and the concluding time sign of described program, match the corresponding described intermediate medium file that module is recorded generation of recording, send media data in the described intermediate medium file to described portable terminal;
The 3rd transmitting element is used for according to concluding time of described program sign, matches the corresponding described end media file that module is recorded generation of recording, and sends media data relevant with described program in the described end media file to described portable terminal.
11. device according to claim 10 is characterized in that, described first transmitting element specifically is used for
Time started sign according to described program, match the timestamp of corresponding beginning I frame, corresponding relation according to the timestamp of I frame and the skew in media file, match the skew in beginning media file corresponding with the timestamp of described beginning I frame, deviation post from described beginning media file begins, and sends media data in the described beginning media file to described portable terminal.
12. device according to claim 10 is characterized in that, described the 3rd transmitting element specifically is used for
Concluding time sign according to described program, match the timestamp of corresponding end I frame, corresponding relation according to the timestamp of I frame and the skew in media file, match the corresponding skew in finishing media file of timestamp with described end I frame, send media data in the described end media file to described portable terminal, till the frame data of the deviation post in described end media file finish.
13. according to claim 11 or 12 described devices, it is characterized in that, describedly record the timestamp and corresponding relation that module also is used for obtaining and store the I frame of described media data in the skew of described media file.
CN2010105274974A 2010-10-27 2010-10-27 Media data recording and providing methods and devices Pending CN102143145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105274974A CN102143145A (en) 2010-10-27 2010-10-27 Media data recording and providing methods and devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105274974A CN102143145A (en) 2010-10-27 2010-10-27 Media data recording and providing methods and devices

Publications (1)

Publication Number Publication Date
CN102143145A true CN102143145A (en) 2011-08-03

Family

ID=44410370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105274974A Pending CN102143145A (en) 2010-10-27 2010-10-27 Media data recording and providing methods and devices

Country Status (1)

Country Link
CN (1) CN102143145A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316358A (en) * 2011-09-02 2012-01-11 惠州Tcl移动通信有限公司 Method for recording streaming media file and corresponding equipment
CN102572111A (en) * 2012-02-10 2012-07-11 钱袋网(北京)信息技术有限公司 Data acquisition method and mobile terminal
CN103974143A (en) * 2014-05-20 2014-08-06 北京速能数码网络技术有限公司 Method and device for generating media data
WO2015074481A1 (en) * 2013-11-20 2015-05-28 北京国双科技有限公司 Data processing method and apparatus for audience rating statistics
CN104994378A (en) * 2015-07-06 2015-10-21 无锡天脉聚源传媒科技有限公司 Electronic program guide (EPG) video record checking method and device
CN105578261A (en) * 2015-12-18 2016-05-11 无锡天脉聚源传媒科技有限公司 Video editing method and device
CN105989048A (en) * 2015-02-05 2016-10-05 浙江大华技术股份有限公司 Data record processing method, equipment and system
CN106210837A (en) * 2016-06-30 2016-12-07 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operational approach, media server
CN109615309A (en) * 2018-09-25 2019-04-12 阿里巴巴集团控股有限公司 A kind of data recording method and device, a kind of calculating equipment and storage medium
CN109688331A (en) * 2019-01-10 2019-04-26 深圳市阿力为科技有限公司 A kind of time-lapse photography method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202891A (en) * 2007-03-05 2008-06-18 深圳市同洲电子股份有限公司 Method and device for playing digital television program
CN101489103A (en) * 2009-01-16 2009-07-22 中兴通讯股份有限公司 Recording method and profiling method for play-on-demand program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202891A (en) * 2007-03-05 2008-06-18 深圳市同洲电子股份有限公司 Method and device for playing digital television program
CN101489103A (en) * 2009-01-16 2009-07-22 中兴通讯股份有限公司 Recording method and profiling method for play-on-demand program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316358B (en) * 2011-09-02 2014-11-19 惠州Tcl移动通信有限公司 Method for recording streaming media file and corresponding equipment
CN102316358A (en) * 2011-09-02 2012-01-11 惠州Tcl移动通信有限公司 Method for recording streaming media file and corresponding equipment
CN102572111A (en) * 2012-02-10 2012-07-11 钱袋网(北京)信息技术有限公司 Data acquisition method and mobile terminal
CN102572111B (en) * 2012-02-10 2013-11-20 钱袋网(北京)信息技术有限公司 Data acquisition method and mobile terminal
WO2015074481A1 (en) * 2013-11-20 2015-05-28 北京国双科技有限公司 Data processing method and apparatus for audience rating statistics
CN103974143A (en) * 2014-05-20 2014-08-06 北京速能数码网络技术有限公司 Method and device for generating media data
CN105989048A (en) * 2015-02-05 2016-10-05 浙江大华技术股份有限公司 Data record processing method, equipment and system
CN104994378A (en) * 2015-07-06 2015-10-21 无锡天脉聚源传媒科技有限公司 Electronic program guide (EPG) video record checking method and device
CN105578261A (en) * 2015-12-18 2016-05-11 无锡天脉聚源传媒科技有限公司 Video editing method and device
CN105578261B (en) * 2015-12-18 2019-04-26 无锡天脉聚源传媒科技有限公司 A kind of method and apparatus of video clipping
CN106210837A (en) * 2016-06-30 2016-12-07 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operational approach, media server
CN106210837B (en) * 2016-06-30 2019-05-10 中国联合网络通信集团有限公司 Multimedia coding method and system, method for recording, operating method, media server
CN109615309A (en) * 2018-09-25 2019-04-12 阿里巴巴集团控股有限公司 A kind of data recording method and device, a kind of calculating equipment and storage medium
CN109688331A (en) * 2019-01-10 2019-04-26 深圳市阿力为科技有限公司 A kind of time-lapse photography method and device

Similar Documents

Publication Publication Date Title
CN102143145A (en) Media data recording and providing methods and devices
CN103650519B (en) Information providing system, identification information resolution server and mobile terminal apparatus
US8763020B2 (en) Determining user attention level during video presentation by monitoring user inputs at user premises
CN102025956B (en) Processing method, device and system for fast forward and fast backward playing of network stream media
CN102868922B (en) Method and system for playing advertisement
CN101662661B (en) Video-on-demand method based on live broadcast and recording and system thereof
CN100435130C (en) System and method for updating chatting data in an interactive disc player network
CN103402118A (en) Media program interaction method and system
CN100424679C (en) Data reproduction apparatus, information distribution server, and content reproduction system
CN1235473A (en) Digital multimedia recorder with enhanced EPG-related functions
CN101489114A (en) Request program playing method, system and request program sending server
CN105828011B (en) A kind of methods, devices and systems of video record
CN103945259A (en) Online video playing method and device
CN109842804A (en) Processing method and server, the computer storage medium of audio, video data
CN104618799A (en) Video playing method and video playing device
CN103634616A (en) Cloud storage-based streaming media video-on-demand method and apparatus
US9294803B2 (en) Kiosk set-top-box
CN104159131A (en) Independent EPG (Electronic Program Guide) server and operation method thereof
EP2712203A1 (en) Method and system for enhancing redistributed audio / video content
CN103956175A (en) Playing method and equipment of multi-media files
CN103310001A (en) Method and device for setting video list
CN103096170A (en) Distributed type streaming media live broadcast channel management method
CN103024581A (en) Smart television and program interaction implementation method and program interaction implementation system thereof
CN103475930A (en) Method for acquiring information, equipment and system
CN103402137A (en) Application push method, mobile terminal and digital television (TV) receiving end

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110803