CN103079091B - Streaming Media method for previewing and device - Google Patents

Streaming Media method for previewing and device Download PDF

Info

Publication number
CN103079091B
CN103079091B CN201310042588.2A CN201310042588A CN103079091B CN 103079091 B CN103079091 B CN 103079091B CN 201310042588 A CN201310042588 A CN 201310042588A CN 103079091 B CN103079091 B CN 103079091B
Authority
CN
China
Prior art keywords
file
streaming media
preview
module
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.)
Active
Application number
CN201310042588.2A
Other languages
Chinese (zh)
Other versions
CN103079091A (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

Abstract

The present invention proposes a kind of Streaming Media pre-viewing device and method, and wherein this device includes: from engine, the reading file request sent for receiving player from engine also sends streaming media module to;Streaming media module, streaming media module is connected with from engine, and streaming media module controls wireless link module from online Media resource downloading file;Wireless connections module, wireless connections module is connected with streaming media module, for wirelessly from online Media resource downloading preview header file and preview tail file;And virtual file mapping database, virtual file mapping database is connected with streaming media module, downloads, for storing, the preview header file and preview tail file obtained.The present invention provides the user preview service, has simple advantage, optimizes Consumer's Experience.

Description

Streaming Media method for previewing and device
Technical field
The present invention relates to multimedia field, particularly to a kind of Streaming Media method for previewing and device.
Background technology
Along with the development of microelectric technique, occur in that the picture output device with SD card overall dimensions, simultaneously its with The equipment of wireless connections.In this equipment is inserted into the SD/USB slot of media player, these equipment just can provide from network Source playing stream media content.Owing to network media file is not physically stored on SD card, but obtain from Internet resources, If main process equipment (such as TV) has the preview mode of video file, then the video literary composition in user browses a file Part but when not playing this document, owing to not having the file data that can provide immediately, the wireless computing with SD card overall dimensions sets For not supporting TV preview function.And for those with the TV of preview function, if its preview failure, also will not play Video, because it considers that this document damages.
Summary of the invention
It is contemplated that solve one of above-mentioned technical problem the most to a certain extent or provide at a kind of useful business Industry selects.To this end, the first of the present invention purpose is to propose a kind of Streaming Media pre-viewing device, this device is in the streaming media Temporarily storage preview header file and preview tail file are for user's preview, have conveniently advantage.Second mesh of the present invention Be a kind of Streaming Media method for previewing is proposed, the method can make the video etc. in user's preview online Media easily resource File.
To achieve these goals, the Streaming Media pre-viewing device of the embodiment of the present invention, including: from engine, described from engine For receiving the reading file request of player transmission and sending streaming media module to;Described streaming media module, described Streaming Media mould Block is connected from engine with described, and described streaming media module controls wireless link module from online Media resource downloading file;Described Wireless connections module, described wireless connections module is connected with described streaming media module, for wirelessly from described online matchmaker Body resource downloading preview header file and preview tail file;And virtual file mapping database, described virtual file maps data Storehouse is connected with described streaming media module, downloads, for storing, the preview header file and preview tail file obtained.
The Streaming Media pre-viewing device of the embodiment of the present invention the most temporarily stores preview header file and preview tail File, for user's preview, has conveniently advantage
Alternatively, described streaming media module farther includes: judge module, and described judge module is used for judging that player is No for access files in stream media first, if accessing first, then 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, is connected with player by USB/SD socket.
The Streaming Media method for previewing of the embodiment of the present invention, including: S1. is by player and the Streaming Media described in claim 3 Pre-viewing device is connected by USB or SD slot;The most described player is sent out to described streaming media module from engine through described Send read request;The most described streaming media module judges whether described player is to access files in stream media first, if yes then enter Step S41 to S43, if not then entering step S51 to S52;The most described wireless connections module is from online Media resource Download preview header file or preview tail file is stored in virtual file mapping database;The most described streaming media module is from described Virtual file in virtual file mapping database reads preview header file or preview tail file;The most described streaming media module Returning response from engine to described player through described, described player is to user's playblast header file or preview tail literary composition Part, to realize user's preview;The most described streaming media module obtains stream matchmaker by wireless connections module from online Media resource Body file;The most described streaming media module returns response from engine to described player through described, and described player is to user Playing stream media file, to realize user's broadcasting.
The Streaming Media method for previewing of the embodiment of the present invention can make the video in user's preview online Media easily resource Deng file, optimize customer experience.
The additional aspect of the present invention and advantage will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
Of the present invention and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein:
Fig. 1 is the structure chart of the Streaming Media method for previewing according to the embodiment of the present invention;
Fig. 2 is the flow chart of the using method of the Streaming Media method for previewing according to the embodiment of the present invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, originally Inventive embodiment includes all changes in the range of the spirit falling into attached claims and intension, revises and be equal to Thing.
In describing the invention, it is to be understood that term " first ", " second " etc. are not only used for describing purpose, and not It is understood that as instruction or hint relative importance.In describing the invention, it should be noted that unless otherwise clear and definite regulation And restriction, term " is connected ", " connection " should be interpreted broadly, and connects for example, it may be fixing, it is also possible to be to removably connect, Or be integrally connected;Can be to be mechanically connected, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to pass through intermediary It is indirectly connected to.For the ordinary skill in the art, above-mentioned term tool in the present invention can be understood with concrete condition Body implication.Additionally, in describing the invention, except as otherwise noted, " multiple " are meant that two or more.
Along with the development of microelectric technique, occur in that the picture output device with SD card overall dimensions, simultaneously its with The equipment of wireless connections.In this equipment is inserted into the SD/USB slot of media player, these equipment just can provide from network Source playing stream media content.Owing to network media file is not physically stored on SD card, but obtain from Internet resources, If main process equipment (such as TV) has the preview mode of video file, then the video literary composition in user browses a file During part (but not playing), owing to there is no the file data that can provide immediately, there is the wireless computer device of SD card overall dimensions not Support TV preview function.And for those with the TV of preview function, if its preview failure, also will not play and regard Frequently, because it considers that this document damages.The present invention devises device and method to support TV previewing video files, and without Add extra nextport hardware component NextPort.
As it is shown in figure 1, be the structure chart of the Streaming Media pre-viewing device 1 according to the embodiment of the present invention.This Streaming Media preview fills Put 1 to include: from engine 110, streaming media module 120, wireless connections module 130 and virtual file mapping database 140.Wherein, From engine 110 for receiving the reading file request of player 2 transmission and sending streaming media module 120 to;Streaming media module 120 with Being connected from engine 110, streaming media module 120 controls wireless link module and downloads file from online Media resource 3;Wireless connections mould Block 130 is connected with streaming media module 120, for wirelessly downloading preview header file and preview tail from online Media resource 3 File;And virtual file mapping database 140 is connected with streaming media module 120, download, for storing, the preview head literary composition obtained Part and preview tail file.
Alternatively, streaming media module 120 farther includes: judge module, it is judged that module is used for judging that whether player 2 is Accessing files in stream media first, if accessing 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, is connected with player 2 by USB/SD socket.
As in figure 2 it is shown, the Streaming Media method for previewing of the embodiment of the present invention, including: S1. is by player and claim 3 Streaming Media pre-viewing device is connected by USB or SD slot;S2. player please through sending reading from engine to streaming media module Ask;S3. streaming media module judges whether player is to access files in stream media first, if yes then enter step S41 to S43, If not then entering step S51 to S52;S41. wireless connections module downloads preview header file or pre-from online Media resource Tail file of looking at is stored in virtual file mapping database;S42. virtual from virtual file mapping database of streaming media module File reads preview header file or preview tail file;S43. streaming media module is through returning response from engine to player, broadcasts Put device to user's playblast header file or preview tail file, to realize user's preview;S51. streaming media module passes through wireless company Connection module obtains files in stream media from online Media resource;S52. streaming media module is through returning sound from engine to player Should, player is to user's playing stream media file, to realize user's broadcasting.
To sum up, in technical solution of the present invention, flow module adds preview header file and preview tail file, supports main process equipment Previewing programs, it has following two to strengthen function to process preview: the background of (1) preview file prepares.Because virtual file reflects Penetrate the information (they are mapped as virtual file in FAT table) comprising all Online Video files in data base.At Internet Connect and whenever can use, when streaming media module can download preview header file and preview tail file on backstage.(2) determine from The read requests of main process equipment is the function of preview or broadcasting.Because for the main process equipment with preview function, working as user When browsing a new file, it can all media contents of automatic preview.
Putting it briefly, the core of the present invention is, when sending reading media file request, streaming media module determines whether It is that a preview is read, if it is, find the pre-review information of this file from virtual file mapping database and return to play Device;And if not preview request, the most directly from network, download video file data by wireless connections and return to play Device.Virtual file in virtual file mapping database can automatically update, Internet connects available when, and Streaming Media Module can download preview header file and preview tail file on backstage.
It should be noted that each virtual file in virtual file mapping database is each to there being a preview head literary composition Part, and for all of virtual file in virtual file mapping database to there being a public preview tail file.User The head from video file may be needed to read some blocks and to carry out capturing pictures thumbnail, the most jumpily read some tail blocks and calculate this The time span of video file.The size of preview header file and preview tail file depends on the realization of main process equipment preview function. But, it also has a scope.Typically, it will read the data less than 30 seconds from video heads, reads less than 5 seconds from video afterbody Video data.Translation this time scope is that H.264 the size of video file (assuming that video is the resolution of 720 × 576, is compiled Code), it is about the preview header file less than 5MB and the preview tail file less than 1MB.
The apparatus and method of the embodiment of the present invention can be applied in the players such as these TVs, provides the user preview, There is advantage easy and simple to handle, facilitate user to increase the experience of product.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random-access memory (ram), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not These embodiments can be carried out multiple change in the case of departing from the principle of the present invention and objective, revise, replace and modification, this The scope of invention is limited by claim and equivalent thereof.

Claims (3)

1. a Streaming Media pre-viewing device, it is characterised in that including:
From engine, the described reading file request sent for receiving player from engine also sends streaming media module to;
Described streaming media module, described streaming media module is connected 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 is connected with described streaming media module, for wirelessly from institute State online Media resource downloading preview header file and preview tail file;And
Virtual file mapping database, described virtual file mapping database is connected with described streaming media module, under storage Carrying the preview header file and preview tail file obtained, each virtual file in described virtual file mapping database is to having not Same described preview header file and a public described preview tail file;
Wherein, described streaming media module is additionally operable to carry on the back according to described preview header file and described preview tail documenting previewing file Scape;Described streaming media module farther includes: judge module, and described judge module is used for judging whether player is to access first Files in stream media, if accessing first, then streaming media module reads described preview header file and preview tail file.
2. Streaming Media pre-viewing device as claimed in claim 1, it is characterised in that described Streaming Media pre-viewing device is USB or SD Card structure, is connected with player by USB/SD socket.
3. a Streaming Media method for previewing, it is characterised in that including:
S1. player is connected by USB or SD slot with the Streaming Media pre-viewing device described in claim 2;
The most described player sends read request from engine to described streaming media module through described;
The most described streaming media module judges whether described player is to access files in stream media first, if yes then enter step S41 to S43, if not then entering step S51 to S52;
The most described wireless connections module downloads preview header file from online Media resource or preview tail file is stored in virtual In File Mapping data base;
In the most described streaming media module virtual file from described virtual file mapping database read preview header file or Preview tail file;
The most described streaming media module returns response from engine to described player through described, and described player is play to user Preview header file or preview tail file, to realize user's preview;
The most described streaming media module obtains files in stream media by wireless connections module from online Media resource;
The most described streaming media module returns response from engine to described player through described, and described player is play to user Files in stream media, to realize user's broadcasting.
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 CN103079091A (en) 2013-05-01
CN103079091B true 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)

Families Citing this family (1)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102316370A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method and device for displaying playback information
CN102905190A (en) * 2012-10-10 2013-01-30 广东欧珀移动通信有限公司 Quick video previewing method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505408B (en) * 2009-03-06 2011-04-20 深圳市融创天下科技发展有限公司 Remote video accessing system and method
CN102262888A (en) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 Video file splitting method
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
CN102802079B (en) * 2012-08-24 2016-08-17 广东欧珀移动通信有限公司 A kind of video preview segment generating method of media player

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719913A (en) * 2009-11-17 2010-06-02 青岛海信宽带多媒体技术有限公司 Method and device for media playing terminal to obtain internet multimedia resource
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
CN102905190A (en) * 2012-10-10 2013-01-30 广东欧珀移动通信有限公司 Quick video previewing method and system

Also Published As

Publication number Publication date
CN103079091A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN108668162B (en) Video file playing processing method and device and intelligent terminal
US9674253B2 (en) Method for allocating a specific portion of multimedia file and skipping the specific portion automatically and electronic device thereof
KR20130055566A (en) Combining user content with supplemental content at a data storage device
CN109819273A (en) A kind of end side advertisement demonstration method and corresponding equipment and server
CN102473183A (en) Content recommendation system, content recommendation method, content recommendation device, and information recording medium
CN105183760B (en) Webpage component loading method and device
US9837127B2 (en) Method and apparatus for the insertion of audio cues in media files by post-production audio and video editing systems
CN103986938B (en) The method and system of preview based on video playback
CN107071550B (en) Video data sharing method and device
KR100809641B1 (en) Method for exchanging contents between heterogeneous system and contents management system for performing the method
JP2009059317A (en) Server device which distributes advertisement insered in book content
CN103079091B (en) Streaming Media method for previewing and device
US20160171520A1 (en) Method and system for monitoring and rewarding the consumption of streaming media
CN103907103B (en) External device extension method and peripheral equipment
CN106231405A (en) Audio and video playing method and system, audio and video playing conversion device and mobile terminal
CN105760407A (en) Advertisement loading method, device and equipment
CN105095216A (en) Data assembling method and device and resource communication system
CN111031117A (en) Multimedia file downloading method and related device
US9084011B2 (en) Method for advertising based on audio/video content and method for creating an audio/video playback application
CN101471115A (en) Photographing apparatus, photographing method, information processing apparatus, information processing method and program
CN113553473A (en) Cloud playing method, system and device for bag file
CN111222065A (en) Information display method and device, electronic equipment and medium
CN104219534A (en) System and method for implementing cloud storage agency by using Linux set top box
CN104272747A (en) Complementing consumption of media content using a display device with a mobile device
KR100751522B1 (en) Apparatus of providing multimedia data including dynamic component, and method thereof

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