CN101651795A - Method and device for receiving, storing and playing media files transmitted by digital satellite - Google Patents

Method and device for receiving, storing and playing media files transmitted by digital satellite Download PDF

Info

Publication number
CN101651795A
CN101651795A CN200910170113A CN200910170113A CN101651795A CN 101651795 A CN101651795 A CN 101651795A CN 200910170113 A CN200910170113 A CN 200910170113A CN 200910170113 A CN200910170113 A CN 200910170113A CN 101651795 A CN101651795 A CN 101651795A
Authority
CN
China
Prior art keywords
media file
file data
data bag
media
receiving
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
CN200910170113A
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.)
BEIJING ZHONGCHUANG KEFENG TECHNOLOGY Co Ltd
Original Assignee
BEIJING ZHONGCHUANG KEFENG 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 BEIJING ZHONGCHUANG KEFENG TECHNOLOGY Co Ltd filed Critical BEIJING ZHONGCHUANG KEFENG TECHNOLOGY Co Ltd
Priority to CN200910170113A priority Critical patent/CN101651795A/en
Publication of CN101651795A publication Critical patent/CN101651795A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to method and device for receiving, storing and playing media files transmitted by a digital satellite. The method comprises the following steps: transmitting media file data through a satellite transmission network by a front end system; receiving the media file data, decoding and analyzing the media file data, obtaining and storing the media files; and starting a playing program to play the stored media files. The invention solves the problem that the prior digital satellite receiving terminal (digital satellite set top box) can not store and play the media files transmitted by the front end system.

Description

A kind of reception, storage digital satellite transmission medium file and method and the device play
Technical field
The present invention relates to the digital satellite technical field, the method and the device that relate in particular to a kind of reception, storage digital satellite transmission medium file and play.
Background technology
Along with popularizing of digital satellite television, the continuous development of media coding and play-back technology, constantly rise various multimedia terminals, existing digital satellite receiving terminal (digital satellite set-top box) transmission network via satellite receives the programme signal that front end system sends, programme signal is carried out directly outputing to display unit after the decoding processing to be shown, existing digital satellite receiving terminal (digital satellite set-top box), can only receive and play the programme televised live signal that front end system sends, do not possess memory function, can't store and carry out program request anywhere or anytime the media file that front end system sends, the service of more personalizations can not be provided for the user according to user's request.Error rate during channel transmission data is higher via satellite in addition, easy lost data packets, thus can't normally use file.
Summary of the invention
In view of this, the embodiment of the invention provides the method for a kind of reception, storage digital satellite transmission medium file and broadcast.Comprise:
Front end system transmission network via satellite sends media file data; The receiving media file data, and, obtain media file and storage to the media file data parsing of decoding; Start playing program and play the media file of storage.
Optionally, front end system is divided at least one media file data bag with media file and sends, the media file data bag comprises partitioning data and media file data bag header packet information, and media file data bag header packet information comprises the number of media file name, media file length, media file data bag, the length of partitioning data and the sequence number of media file data bag.
Further comprise combined medium file data bag, concrete steps are: creating file size is the empty file of described media file length; The media file data bag that parsing receives obtains the partitioning data and writes empty file; Judge whether the media file data bag all receives successfully, if not, receiving media file data again then.
Preferably, media file data bag header packet information also comprises the maximum number of times that receives of media file; When the reception number of times reaches maximum reception number of times, then stop to receive.
Preferably, the least residue memory capacity of a default memory space, when the residue memory capacity of memory space during less than preset value, deletion memory time media file the earliest.
The device that the embodiment of the invention provides a kind of reception, storage digital satellite transmission medium file and play, described device comprises:
Receiving element is used for the media file data that the receiving front-end system sends by transmission network, and sends to file management unit;
File management unit is used for the media file data that the receives parsing of decoding is obtained media file, and stores memory cell into;
Memory cell is used for store media files;
Broadcast unit is used for triggering the media file that media file player is play memory cell.
Further, described file management unit is used for the media file data bag that combined section sends, and generates media file.
Preferably, described file management unit is used for the managed storage unit, when the residue memory capacity of memory cell during less than preset value, then deletes the memory time of media file the earliest.
Preferably, described broadcast unit also is used to control the broadcast of media file.
Preferably, described device also comprises the user interface control module, is used for display reminding information, response user input operation.
Compared with prior art, beneficial effect of the present invention is as follows:
At first, because among the present invention, store after the media file data decoding parsing to the front end system transmission, and can start playing program according to user's request and play, remedied that digital satellite receiving terminal (digital satellite set-top box) can only receive and play the programme signal that front end system sends in the prior art, can't store and play the defective of the media file that front end system sends.
Secondly, front end system is divided at least one media file data bag with a media file and sends among the present invention, during receiving media file data bag, judge whether the media file data bag all receives successfully, if then generate media file, if not, receiving media file data has again then solved that the channel transmission data error rate is higher via satellite, easily the problem of obliterated data.
Description of drawings
Fig. 1 is the flow chart that receives among the present invention, storage digital satellite transmission medium file is also play;
Fig. 2 is a kind of also flow chart of the media file of memory segment transmission that receives among the present invention;
Fig. 3 is media file data form among the present invention;
Fig. 4 is apparatus of the present invention structure chart;
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to figure 1, a kind of reception, storage digital satellite transmission medium file and the flow process of playing are described, specifically can may further comprise the steps:
Step 101, front end system transmission network via satellite send media file data.
Wherein, described front end system refers to the media file Distributor, and the distribution of media file is undertaken by the keeper.Media file includes but not limited to picture, video, audio frequency, message, the file of game format.
The media file data that front end system sends adopts udp protocol to encapsulate, and udp protocol is the abbreviation of English UserDatagramProtocol, i.e. User Datagram Protoco (UDP), and the main effect of udp protocol is the form that network traffic data is compressed into datagram.A typical datagram is exactly the unit of transfer of a binary data.Preceding 8 bytes of each datagram are used for comprising header information, and remainder bytes then is used for comprising concrete transmission data.Header information comprises in the embodiment of the invention: include but not limited to media file version number, media file length, media file name, media file type.
Step 102, to the media file data that the receives parsing of decoding, obtain media file and storage.
In the embodiment of the invention, according to media file type with media file storage in the storage directory that sets in advance, also can store according to the store path that the user sets in advance, storage medium includes but not limited to hard disc apparatus.
Preferably, the least residue memory space of a default memory space, when the residue memory capacity of memory space during less than preset value, to the user send information or deletion memory time media file the earliest.
Step 103 starts the media file that playing program is play storage.
Start playing program with the triggering media file player, playing program is by sending order control media file player, and media file player responds each control command that receives, and returns execution result with character string forms.
Control command includes but not limited to play, stops to play, the inquiry broadcast state, advance, retreat, order such as time-out, illustrate the playing media file command format:
Command:
playback?file<filename>
The media file of local storage play in the file-keyword
The filename-parameter, the media file name
Response:
Info playback file<filename〉return execution result
Preferably, provide the media file tabular of having stored in the interface mode in the embodiment of the invention, the user can be according to media file tabular, and the media file that selection has been stored triggers playing program and plays.
With reference to figure two, a kind of also flow process of the media file data of memory segment transmission that receives is described, specifically can may further comprise the steps:
The media file data of step 201, receiving front-end system transmission network transmission via satellite.
Front end system is divided at least one media file data bag with media file and sends, the media file data bag comprises partitioning data and media file data bag header packet information, and media file data bag header packet information comprises the number of media file name, media file length, media file data bag, the length of partitioning data and the sequence number of media file data bag; The form of media file data is shown in figure three.
Step 202, to the media file data bag that the receives parsing of decoding.
To the parsing of decoding of media file data bag, obtain partitioning data and media file data bag header packet information.
Step 203, combined medium file data bag.
For making those skilled in the art understand the present invention better, further describe in conjunction with example:
When receiving media file data first, create a file of the same name, in this document folder, create three file: new files .par, reference number of a document .inf, fileinfo .inf with media file.
New files .par is an empty file identical with media file length, and the partitioning data that obtain after the parsing write this file;
It in the reference number of a document .inf file serial data of a series of representatives 1 and 0 information.Whether these serial datas carry out sequence arrangement according to the sequence number of media file data bag, be used to write down each media file data bag and receive, 1 expression receives that 0 expression is not received;
Fileinfo .inf is used for being recorded in the relevant information of receiving media file data process, comprises the number that receives successful media file data bag.
When repeating to receive same media file data, find file of the same name according to the media file name, from the serial data of reference number of a document .inf, obtain the value of relevant position according to the sequence number of media file data bag, if 1, illustrate that this media file data bag successfully receives, then do not need again this media file segment data to be written to new files .par, if 0, illustrate that this media file data bag does not successfully receive, then just this media file segment data is written in the new files .par relevant position, the value of this position among the reference number of a document .inf is updated to 1 by 0, and the media file data bag receives successful number among the transaction file information .inf.
Step 204, judge whether the media file data bag all receives successfully, if carry out step 206; If not, carry out step 205.
In the present embodiment, concrete determination methods is: whether the number of media file data bag of judging the reception success of writing down among the number of the media file data bag in the media file data bag header packet information and the fileinfo .inf is identical, if identical, illustrate that then the media file data bag all receives success.
Step 205 judges that media file data receives number of times and whether reached prefabricated maximum reception number of times, if, enter step 206, if not, carry out step 201;
In the embodiment of the invention, the maximum number of times that receives can be preset in the header packet information of media file data bag.
Step 206 stops the receiving media file data, generates media file and stores.
After stopping the receiving media file data,, and move to corresponding file directory and store new files .par RNTO media file name.
Step 207, prompting user's media files receive successfully.
With reference to figure four, describe the structure chart of a kind of reception, storage digital satellite transmission medium file and playing device in detail, comprising:
Receiving element 401 is used for the media file data of receiving front-end system transmission network transmission via satellite, and sends to file management unit 402.
File management unit 402 is used for the media file data that the receives parsing of decoding is obtained media file, and stores memory cell 403 into.
Memory cell 403 is used for store media files.
Broadcast unit 404 is used for triggering the media file that media file player is play memory cell 403.
Further, described file management unit 402 also is used for the media file data bag that combined section sends, and generates media file.
Further, described file management unit also is used for managed storage unit 403, when the residue memory capacity of memory cell 403 during less than preset value, then deletes the memory time of media file the earliest.
Further described broadcast unit 404 also is used to control the broadcast of media file.
Further, described device also comprises user interface control unit 405, is used for display reminding information, response user input operation;
User's input operation comprises remote events, and file path is set.
More than the embodiment of the invention is described in detail, used specific case herein principle of the present invention and execution mode set forth, the explanation of above embodiment just is used for help understanding implementation of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1, a kind of reception, storage digital satellite transmission medium file and the method for playing is characterized in that,
Front end system transmission network via satellite sends media file data;
The receiving media file data, and, obtain media file and storage to the media file data parsing of decoding;
Start playing program and play the media file of storage.
2, the method for claim 1, it is characterized in that, front end system is divided at least one media file data bag with media file and sends, the media file data bag comprises partitioning data and media file data bag header packet information, and media file data bag header packet information comprises the number of media file name, media file length, media file data bag, the length of partitioning data and the sequence number of media file data bag.
3, method as claimed in claim 2 is characterized in that, described method also comprises: combined medium file data bag, and concrete steps are:
Creating file size is the empty file of described media file length;
The media file data bag that parsing receives obtains the partitioning data and writes empty file;
Judge whether the media file data bag all receives successfully, if not, receiving media file data again then.
4, method as claimed in claim 2 is characterized in that, described method also comprises:
Media file data bag header packet information also comprises the maximum number of times that receives of media file;
When the reception number of times reaches maximum reception number of times, then stop to receive.
As the described method of claim 1 to 4, it is characterized in that 5, described method also comprises: the least residue memory capacity of a default memory space, when the residue memory capacity of memory space during less than preset value, deletion memory time media file the earliest.
6, a kind of reception, storage digital satellite transmitting multimedia file and the device of playing is characterized in that described device comprises:
Receiving element is used for the media file data that the receiving front-end system sends by transmission network, and sends to file management unit;
File management unit is used for the media file data that the receives parsing of decoding is obtained media file, and stores memory cell into;
Memory cell is used for store media files;
Broadcast unit is used for triggering the media file that media file player is play memory cell.
7, system and device as claimed in claim 6 is characterized in that, described file management unit is used for the media file data bag that combined section sends, and generates media file.
8, system and device as claimed in claim 6 is characterized in that, described file management unit is used for the managed storage unit, when the residue memory capacity of memory cell during less than preset value, then deletes the memory time of media file the earliest.
9, device as claimed in claim 6 is characterized in that, described broadcast unit also is used to control the broadcast of media file.
10, device as claimed in claim 6 is characterized in that, described device also comprises the user interface control module, is used for display reminding information, response user input operation.
CN200910170113A 2009-09-03 2009-09-03 Method and device for receiving, storing and playing media files transmitted by digital satellite Pending CN101651795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910170113A CN101651795A (en) 2009-09-03 2009-09-03 Method and device for receiving, storing and playing media files transmitted by digital satellite

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910170113A CN101651795A (en) 2009-09-03 2009-09-03 Method and device for receiving, storing and playing media files transmitted by digital satellite

Publications (1)

Publication Number Publication Date
CN101651795A true CN101651795A (en) 2010-02-17

Family

ID=41673884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910170113A Pending CN101651795A (en) 2009-09-03 2009-09-03 Method and device for receiving, storing and playing media files transmitted by digital satellite

Country Status (1)

Country Link
CN (1) CN101651795A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763629A (en) * 2013-12-31 2014-04-30 航天数字传媒有限公司 Hotel service video system
CN105260173A (en) * 2015-09-14 2016-01-20 联想(北京)有限公司 File processing method and electronic equipment
CN107301020A (en) * 2017-06-22 2017-10-27 苏州交运电子科技有限公司 Data managing method and managing device
CN107888971A (en) * 2016-09-29 2018-04-06 法乐第(北京)网络科技有限公司 A kind of method and apparatus for deleting audio-video document
CN108012106A (en) * 2016-11-01 2018-05-08 北京视联动力国际信息技术有限公司 A kind of method and system regarding networking monitoring source synchronous
CN111147540A (en) * 2019-11-18 2020-05-12 深圳市元征科技股份有限公司 File transmission method, device, equipment and storage medium
CN113840277A (en) * 2020-06-24 2021-12-24 中国电信股份有限公司 Download control method, system, terminal and medium for user subscription data

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763629A (en) * 2013-12-31 2014-04-30 航天数字传媒有限公司 Hotel service video system
CN103763629B (en) * 2013-12-31 2017-08-25 航天数字传媒有限公司 A kind of hotel service video system
CN105260173A (en) * 2015-09-14 2016-01-20 联想(北京)有限公司 File processing method and electronic equipment
CN105260173B (en) * 2015-09-14 2019-06-25 联想(北京)有限公司 A kind of document handling method and electronic equipment
CN107888971A (en) * 2016-09-29 2018-04-06 法乐第(北京)网络科技有限公司 A kind of method and apparatus for deleting audio-video document
CN108012106A (en) * 2016-11-01 2018-05-08 北京视联动力国际信息技术有限公司 A kind of method and system regarding networking monitoring source synchronous
CN108012106B (en) * 2016-11-01 2019-03-01 视联动力信息技术股份有限公司 A kind of method and system regarding networking monitoring source synchronous
CN107301020A (en) * 2017-06-22 2017-10-27 苏州交运电子科技有限公司 Data managing method and managing device
CN111147540A (en) * 2019-11-18 2020-05-12 深圳市元征科技股份有限公司 File transmission method, device, equipment and storage medium
CN113840277A (en) * 2020-06-24 2021-12-24 中国电信股份有限公司 Download control method, system, terminal and medium for user subscription data

Similar Documents

Publication Publication Date Title
TWI465113B (en) Content reproduction system, content reproduction apparatus, program, content reproduction method, and providing content server
CN101651795A (en) Method and device for receiving, storing and playing media files transmitted by digital satellite
JP5559544B2 (en) Video distribution system including progressive playback
US8014759B2 (en) Information processor
WO2006033279A1 (en) Data processing device
KR20120083744A (en) Apparatus and method for storing and playing contents in multimedia streaming system
JP6153298B2 (en) DISTRIBUTION DEVICE, REPRODUCTION DEVICE, DATA STRUCTURE, DISTRIBUTION METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM
CN105025345A (en) Method and device for recording live program
CN103369351A (en) Streaming media fast-forward and fast-backward processing method, video server and system
CN102075795A (en) Method and system for releasing focus television programs
KR20080057972A (en) Method and apparatus for encoding/decoding multimedia data having preview
EP1968318B1 (en) Distribution apparatus and playback apparatus
JP2004505519A (en) MPEG-4 encoder and output coded signal of such an encoder
US20060271975A1 (en) Time-shifting audio and video programs
CN110381128B (en) Uploading method and cloud storage model suitable for streaming media file
CN105812831B (en) Network program recording method, device and system and playing method and device
CN101707697B (en) Method, system and equipment for pushing video and data contents
CN101802803B (en) Method and apparatus for generating and reproducing media object-based metadata
EP2803186A1 (en) Creating and managing sub-recordings
CN101112089B (en) Method and apparatus for storing broadcast program
JP2015506134A (en) Reclaim storage space in personal video recorders using scalable video coding
JP2013517715A (en) Method and apparatus for recording multimedia broadcast program
KR101390880B1 (en) Method and devices for the transfer of a data flow from a data source to a data sink
CN101833972B (en) Multimedia file broadcasting control method and device
KR101049634B1 (en) Apparatus and method for playing multi-format content

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: 20100217