CN103079091A - Method and device for previewing streaming media - Google Patents

Method and device for previewing streaming media Download PDF

Info

Publication number
CN103079091A
CN103079091A CN2013100425882A CN201310042588A CN103079091A CN 103079091 A CN103079091 A CN 103079091A CN 2013100425882 A CN2013100425882 A CN 2013100425882A CN 201310042588 A CN201310042588 A CN 201310042588A CN 103079091 A CN103079091 A CN 103079091A
Authority
CN
China
Prior art keywords
file
streaming media
module
preview
player
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100425882A
Other languages
Chinese (zh)
Other versions
CN103079091B (en
Inventor
尹首一
刘雷波
董渊
邓仰东
魏少军
彭进展
宋继强
王大伟
邓育贤
陈新中
乔长福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201310042588.2A priority Critical patent/CN103079091B/en
Publication of CN103079091A publication Critical patent/CN103079091A/en
Application granted granted Critical
Publication of CN103079091B publication Critical patent/CN103079091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a device and a method for previewing a streaming media. The device comprises a driven engine, a streaming media module, a wireless connecting module and a virtual file mapping database, wherein the driven engine is used for receiving a file reading request sent by a player and sending the file reading request to the streaming media module, the streaming media module is connected with the driven engine, and is used for controlling the wireless connecting module to download files from an on-line media resource, the wireless connecting module is connected with the streaming media module and is used for downloading a previewing head file and a previewing tail file from the on-line media resource in a wireless way, and the virtual file mapping database is connected with the streaming media module and is used for storing the downloaded previewing head file and previewing tail file. The device and the method have the advantages that the previewing service is provided for a user, the simplicity and the easy implementation are realized, and the experience of the user is optimized.

Description

Streaming Media method for previewing and device
Technical field
The present invention relates to the multimedia field, particularly a kind of Streaming Media method for previewing and device.
Background technology
Along with the development of microelectric technique, its equipment with wireless connections the picture output device of SD card overall dimension appearred having, simultaneously.When this equipment is inserted in the SD/USB slot of media player, these equipment are resource playing stream media content from network just.Because network media file physically is not stored on the SD card, but obtain from Internet resources, if main process equipment (such as TV) has the preview mode of video file, so when the user browse one in the file video file but when not playing this document, owing to the file data that does not have to provide immediately, the wireless computer device with SD card overall dimension is not supported the TV preview function.And for those TVs with preview function, if its preview failure, can displaying video yet, because it thinks that this document damages.
Summary of the invention
The present invention one of is intended to solve the problems of the technologies described above at least to a certain extent or provides at least a kind of useful commerce to select.For this reason, first purpose of the present invention is to propose a kind of Streaming Media pre-viewing device, and this device temporarily stores the preview header file in the mode of Streaming Media and preview tail file supplies user's preview, has conveniently advantage.Second purpose of the present invention is to propose a kind of Streaming Media method for previewing, and the method can make the files such as video in easily preview online Media of the user resource.
To achieve these goals, the Streaming Media pre-viewing device of the embodiment of the invention comprises: from engine, described from engine reading file request and sending the Streaming Media module to for reception player transmission; Described Streaming Media module, described Streaming Media module links to each other from engine with described, and described Streaming Media module controls wireless link module is from online Media resource downloading file; Described wireless connections module, described wireless connections module links to each other with described Streaming Media module, is used for wireless mode from described online Media resource downloading preview header file and preview tail file; And the virtual file mapping database, described virtual file mapping database links to each other with described Streaming Media module, is used for storage and downloads preview header file and the preview tail file that obtains.
The Streaming Media pre-viewing device of the embodiment of the invention temporarily stores the preview header file in the mode of Streaming Media and preview tail file supplies user's preview, has conveniently advantage
Alternatively, described Streaming Media module further comprises: judge module, described judge module are used for judging that whether player is access stream media file first, if access first, then the Streaming Media module reads described preview header file and preview tail file.
Alternatively, described Streaming Media pre-viewing device is USB or SD card structure, links to each other with player by the USB/SD socket.
The Streaming Media method for previewing of the embodiment of the invention comprises: S1. links to each other with Streaming Media pre-viewing device claimed in claim 3 player by USB socket or SD slot; S2. described player sends read request from engine to described Streaming Media module through described; S3. described Streaming Media module judges that whether described player is access stream media file first, if yes then enter step S41 to S43, if not then entering step S51 to S52; S41. described wireless connections module is downloaded the preview header file or preview tail file is stored in the virtual file mapping database from the online Media resource; S42. read preview header file or preview tail file in the virtual file of described Streaming Media module from described virtual file mapping database; S43. described Streaming Media module is returned response from engine to described player through described, and described player is to user's playblast header file or preview tail file, to realize user's preview; S51. described Streaming Media module obtains files in stream media by the wireless connections module from the online Media resource; S52. described Streaming Media module is returned response from engine to described player through described, and described player is play to realize the user to user's playing stream media file.
The Streaming Media method for previewing of the embodiment of the invention can make the files such as video in easily preview online Media of the user resource, has optimized customer experience.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Of the present invention and/or additional aspect and advantage are from obviously and easily understanding becoming the description of embodiment below in conjunction with accompanying drawing, wherein:
Fig. 1 is the structure chart according to the Streaming Media method for previewing of the embodiment of the invention;
Fig. 2 is the flow chart according to the using method of the Streaming Media method for previewing of the embodiment of the invention.
Embodiment
The below describes embodiments of the invention in detail, and the example of described embodiment is shown in the drawings, and wherein identical or similar label represents identical or similar element or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise spirit and interior all changes, modification and the equivalent of intension scope that falls into additional claims.
In description of the invention, it will be appreciated that term " first ", " second " etc. only are used for describing purpose, and can not be interpreted as indication or hint relative importance.In description of the invention, need to prove that unless clear and definite regulation and restriction are arranged in addition, term " links to each other ", " connection " should do broad understanding, for example, can be to be fixedly connected with, and also can be to removably connect, or connect integratedly; Can be mechanical connection, also can be to be electrically connected; Can be directly to link to each other, also can indirectly link to each other by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
Along with the development of microelectric technique, its equipment with wireless connections the picture output device of SD card overall dimension appearred having, simultaneously.When this equipment is inserted in the SD/USB slot of media player, these equipment are resource playing stream media content from network just.Because network media file physically is not stored on the SD card, but obtain from Internet resources, if main process equipment (such as TV) has the preview mode of video file, so when the user browses a video file (but not playing) in the file, owing to the file data that does not have to provide immediately, the wireless computer device with SD card overall dimension is not supported the TV preview function.And for those TVs with preview function, if its preview failure, can displaying video yet, because it thinks that this document damages.The present invention has designed device and method and has supported TV preview video file, and need not to add extra nextport hardware component NextPort.
As shown in Figure 1, be the structure chart according to the Streaming Media pre-viewing device 1 of the embodiment of the invention.This Streaming Media pre-viewing device 1 comprises: from engine 110, and Streaming Media module 120, wireless connections module 130 and virtual file mapping database 140.Wherein, be used for receiving reading file request and sending Streaming Media module 120 to of player 2 transmissions from engine 110; Streaming Media module 120 with link to each other from engine 110, Streaming Media module 120 control wireless link modules are from online Media resource 3 download files; Wireless connections module 130 links to each other with Streaming Media module 120, is used for downloading preview header file and preview tail file with wireless mode from online Media resource 3; And virtual file mapping database 140 links to each other with Streaming Media module 120, is used for storage and downloads preview header file and the preview tail file that obtains.
Alternatively, Streaming Media module 120 further comprises: judge module, judge module are used for judging that whether player 2 is access stream media file first, if access first, then Streaming Media module 120 reads preview header file and preview tail file.
Alternatively, Streaming Media pre-viewing device 1 is USB or SD card structure, links to each other with player 2 by the USB/SD socket.
As shown in Figure 2, the Streaming Media method for previewing of the embodiment of the invention comprises: S1. links to each other with the Streaming Media pre-viewing device of claim 3 player by USB socket or SD slot; S2. player is through sending read request from engine to the Streaming Media module; S3. the Streaming Media module judges that whether player is access stream media file first, if yes then enter step S41 to S43, if not then entering step S51 to S52; S41. the wireless connections module is downloaded the preview header file or preview tail file is stored in the virtual file mapping database from the online Media resource; S42. read preview header file or preview tail file in the virtual file of Streaming Media module from the virtual file mapping database; S43. the Streaming Media module is through returning response from engine to player, and player is to user's playblast header file or preview tail file, to realize user's preview; S51. the Streaming Media module obtains files in stream media by the wireless connections module from the online Media resource; S52. the Streaming Media module is through returning response from engine to player, and player is play to realize the user to user's playing stream media file.
To sum up, flow module has increased preview header file and preview tail file in the technical solution of the present invention, supports the main process equipment previewing programs, and it has following two kinds of enhancing functions to process preview: the background of (1) preview file is prepared.Because comprise the information (they are mapped as virtual file in the FAT table) of all Online Video files in the virtual file mapping database.Whenever available in the Internet connection, when the Streaming Media module can be downloaded on the backstage preview header file and preview tail file.(2) determine that from the read requests of main process equipment be preview or the function of broadcast.Because for the main process equipment with preview function, it can all media contents of automatic preview when the user browses a new file.
Put it briefly, core of the present invention is when media file request was read in transmission, the Streaming Media module can judge whether it is that a preview is read, and if so, then finds the pre-review information of this file and return to player from the virtual file mapping database; And if not preview request, then directly by wireless connections downloading video files data and return to player from the network.Virtual file in the virtual file mapping database can upgrade automatically, and when the Internet connection was available, the Streaming Media module can be downloaded on the backstage preview header file and preview tail file.
Need to prove that each virtual file in the virtual file mapping database be separately to should there being a preview header file, and for all virtual files in the virtual file mapping database to a public preview tail file should be arranged.The user may need to read some pieces from the head of video file and come the capturing pictures thumbnail, then jumpily reads the time span that some tail pieces calculate this video file.The size of preview header file and preview tail file depends on the realization of main process equipment preview function.Yet it also has a scope.Generally, it will read from video heads and be less than 30 seconds data, read video data less than 5 seconds from the video afterbody.The size that to translate this time scope be video file (the supposition video is 720 * 576 resolution, H.264 coding), it approximately is less than the preview header file of 5MB with less than the preview tail file of 1MB.
The apparatus and method of the embodiment of the invention can be applied in the players such as these TVs, for the user provides preview, have advantage easy and simple to handle, make things convenient for the user to increase the experience of product.
Describe and to be understood in the flow chart or in this any process of otherwise describing or method, expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used to realize specific logical function or process, and the scope of preferred implementation of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by opposite order, carry out function, this should be understood by the embodiments of the invention person of ordinary skill in the field.
In flow chart the expression or in this logic of otherwise describing and/or step, for example, can be considered to the sequencing tabulation for the executable instruction that realizes logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (such as the computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), or use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The more specifically example of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), read-only memory (ROM), the erasable read-only memory (EPROM or flash memory) of editing, fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium even can be paper or other the suitable media that to print described program thereon, because can be for example by paper or other media be carried out optical scanner, then edit, decipher or process to obtain described program in the electronics mode with other suitable methods in case of necessity, then it is stored in the computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in the memory and by software or firmware that suitable instruction execution system is carried out.For example, if realize with hardware, the same in another embodiment, can realize with the combination of each or they in the following technology well known in the art: have for the discrete logic of data-signal being realized the logic gates of logic function, application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that and realize that all or part of step that above-described embodiment method is carried is to come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises step of embodiment of the method one or a combination set of when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics of unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or the example in conjunction with specific features, structure, material or the characteristics of this embodiment or example description.In this manual, the schematic statement of above-mentioned term not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or characteristics can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple variation, modification, replacement and modification to these embodiment in the situation that does not break away from principle of the present invention and aim, scope of the present invention is limited by claim and equivalent thereof.

Claims (4)

1. a Streaming Media pre-viewing device is characterized in that, comprising:
From engine, described from engine reading file request and sending the Streaming Media module to for reception player transmission;
Described Streaming Media module, described Streaming Media module links to each other from engine with described, and described Streaming Media module controls wireless link module is from online Media resource downloading file;
Described wireless connections module, described wireless connections module links to each other with described Streaming Media module, is used for wireless mode from described online Media resource downloading preview header file and preview tail file; And
The virtual file mapping database, described virtual file mapping database links to each other with described Streaming Media module, is used for storage and downloads preview header file and the preview tail file that obtains.
2. Streaming Media pre-viewing device as claimed in claim 1, it is characterized in that, described Streaming Media module further comprises: judge module, described judge module is used for judging that whether player is access stream media file first, if first access, then the Streaming Media module reads described preview header file and preview tail file.
3. Streaming Media pre-viewing device as claimed in claim 2 is characterized in that, described Streaming Media pre-viewing device is USB or SD card structure, links to each other with player by the USB/SD socket.
4. a Streaming Media method for previewing is characterized in that, comprising:
S1. player is linked to each other by USB socket or SD slot with Streaming Media pre-viewing device claimed in claim 3;
S2. described player sends read request from engine to described Streaming Media module through described;
S3. described Streaming Media module judges that whether described player is access stream media file first, if yes then enter step S41 to S43, if not then entering step S51 to S52;
S41. described wireless connections module is downloaded the preview header file or preview tail file is stored in the virtual file mapping database from the online Media resource;
S42. read preview header file or preview tail file in the virtual file of described Streaming Media module from described virtual file mapping database;
S43. described Streaming Media module is returned response from engine to described player through described, and described player is to user's playblast header file or preview tail file, to realize user's preview;
S51. described Streaming Media module obtains files in stream media by the wireless connections module from the online Media resource;
S52. described Streaming Media module is returned response from engine to described player through described, and described player is play to realize the user to user's playing stream media file.
CN201310042588.2A 2013-02-01 2013-02-01 Streaming Media method for previewing and device Active CN103079091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310042588.2A CN103079091B (en) 2013-02-01 2013-02-01 Streaming Media method for previewing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310042588.2A CN103079091B (en) 2013-02-01 2013-02-01 Streaming Media method for previewing and device

Publications (2)

Publication Number Publication Date
CN103079091A true CN103079091A (en) 2013-05-01
CN103079091B CN103079091B (en) 2016-12-28

Family

ID=48155480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310042588.2A Active CN103079091B (en) 2013-02-01 2013-02-01 Streaming Media method for previewing and device

Country Status (1)

Country Link
CN (1) CN103079091B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113365140A (en) * 2021-06-21 2021-09-07 北京百度网讯科技有限公司 MP4 online playing method, device, equipment, storage medium and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505408A (en) * 2009-03-06 2009-08-12 深圳市融创天下科技发展有限公司 Remote video accessing system and method
CN101719913A (en) * 2009-11-17 2010-06-02 青岛海信宽带多媒体技术有限公司 Method and device for media playing terminal to obtain internet multimedia resource
CN201766680U (en) * 2010-08-26 2011-03-16 李剑 Network video and audio stick with MP3 music playing function
CN102263783A (en) * 2011-06-14 2011-11-30 上海聚力传媒技术有限公司 Method and device for transmitting media files based on time slices
CN102262888A (en) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 Video file splitting method
CN102316370A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method and device for displaying playback information
CN102378060A (en) * 2010-08-27 2012-03-14 乐金电子(中国)研究开发中心有限公司 Method, device and system for browsing audio-video programs
CN102802079A (en) * 2012-08-24 2012-11-28 广东欧珀移动通信有限公司 Video previewing segment generating method of media player
CN102905190A (en) * 2012-10-10 2013-01-30 广东欧珀移动通信有限公司 Quick video previewing method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505408A (en) * 2009-03-06 2009-08-12 深圳市融创天下科技发展有限公司 Remote video accessing system and method
CN101719913A (en) * 2009-11-17 2010-06-02 青岛海信宽带多媒体技术有限公司 Method and device for media playing terminal to obtain internet multimedia resource
CN102262888A (en) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 Video file splitting method
CN102316370A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method and device for displaying playback information
CN201766680U (en) * 2010-08-26 2011-03-16 李剑 Network video and audio stick with MP3 music playing function
CN102378060A (en) * 2010-08-27 2012-03-14 乐金电子(中国)研究开发中心有限公司 Method, device and system for browsing audio-video programs
CN102263783A (en) * 2011-06-14 2011-11-30 上海聚力传媒技术有限公司 Method and device for transmitting media files based on time slices
CN102802079A (en) * 2012-08-24 2012-11-28 广东欧珀移动通信有限公司 Video previewing segment generating method of media player
CN102905190A (en) * 2012-10-10 2013-01-30 广东欧珀移动通信有限公司 Quick video previewing method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113365140A (en) * 2021-06-21 2021-09-07 北京百度网讯科技有限公司 MP4 online playing method, device, equipment, storage medium and program product
CN113365140B (en) * 2021-06-21 2022-12-23 北京百度网讯科技有限公司 MP4 online playing method, device, equipment, storage medium and program product
US11683557B2 (en) 2021-06-21 2023-06-20 Beijing Baidu Netcom Science Technology Co., Ltd. Method for playing MP4 online, device, and storage medium

Also Published As

Publication number Publication date
CN103079091B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
US11402969B2 (en) Multi-source journal content integration systems and methods and systems and methods for collaborative online content editing
US9706158B2 (en) Receiver and method for reporting the usage of advanced television services
US8812637B2 (en) Aggregation of multiple media streams to a user
CN102364956B (en) Method for realizing advertising in starting of Internet protocol television (IPTV) system
KR20110101051A (en) Method and apparatus for generating bookmark information
KR101485461B1 (en) Method for providing application using application information table and apparatus thereof
CN102598622B (en) Assembling streamed content for on-demand presentation
US8726160B2 (en) Method for providing extended content and system using the same and computer-readable recording medium
WO2017140165A1 (en) Method and apparatus for resource storage and electronic device
EP2183687A2 (en) System and method for exploiting a media object by a fruition device
US8667080B2 (en) Computer-implemented method, a computer program product and an embedded system for increasing the speed of data retrieval by a client on the embedded system
CN101127780A (en) Method for downloading, saving and replaying online video and construction of online video network
US9697294B2 (en) Method and apparatus for managing contents by using content tag
CN103907103B (en) External device extension method and peripheral equipment
EP2077510A1 (en) Storage system and data management method in storage system
WO2015143854A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
CN103079091A (en) Method and device for previewing streaming media
CN111031117A (en) Multimedia file downloading method and related device
US9773049B2 (en) Dynamic content presentation
US20140317655A1 (en) Method for advertising based on audio/video content and method for creating an audio/video playback application
CN104219534A (en) System and method for implementing cloud storage agency by using Linux set top box
CN112616085B (en) EPG presentation solving method and device based on IPTV dynamic template combination
TWI572198B (en) File management method and file management device adaptive to television device
CN106708866B (en) File management method and file management device for television equipment
KR20060018405A (en) The home network device, the peripheral device install program system and method for setting the peripheral device install program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant