CN101917328B - Method for locally storing and searching streaming media and network player - Google Patents

Method for locally storing and searching streaming media and network player Download PDF

Info

Publication number
CN101917328B
CN101917328B CN 200910242815 CN200910242815A CN101917328B CN 101917328 B CN101917328 B CN 101917328B CN 200910242815 CN200910242815 CN 200910242815 CN 200910242815 A CN200910242815 A CN 200910242815A CN 101917328 B CN101917328 B CN 101917328B
Authority
CN
China
Prior art keywords
files
locality
stream media
user
media
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.)
Expired - Fee Related
Application number
CN 200910242815
Other languages
Chinese (zh)
Other versions
CN101917328A (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.)
Newauto (Beijing) cloud Technology Co. Ltd.
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN 200910242815 priority Critical patent/CN101917328B/en
Publication of CN101917328A publication Critical patent/CN101917328A/en
Application granted granted Critical
Publication of CN101917328B publication Critical patent/CN101917328B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for locally storing and searching streaming media and a network player. The method comprises the following steps of: locally buffering all streaming media data packets received in real time in the form of fragmented files; synthesizing the fragmented files into a complete streaming media file and storing the complete streaming media file locally; establishing a mapping relation between the locally stored streaming media file and keywords; and locally searching a corresponding streaming media file according to the keywords. The invention can store online playing streaming media files locally and establish search locally to enrich the function of the player, enhance the management functions of local files and be convenient for users to use.

Description

A kind of method of locally storing, searching streaming media and a kind of network player
Technical field
The present invention relates to the stream media technology field, particularly relate to method and a kind of network player of a kind of locally storing, searching streaming media.
Background technology
The fast development of Internet and universal provide powerful market forces, the streaming media service increased popularity that just becoming for the streaming media service development.Stream media technology is widely used in multimedia news briefing, the every aspect of the Internet Information Services such as live, the web advertisement, ecommerce, video request program (VOD), long-distance education, tele-medicine, network radio station, real-time video meeting online.The application of stream media technology will bring revolutionary variation for the network information exchanges, to people's work and life generation far-reaching influence.
But present streaming media playing is all online broadcast, and the online characteristics of playing are: a files in stream media is broken down into a plurality of packets, and packet is real-time transmitted to client terminal playing by network.Be that whole playing process all can not break away from network, this is different from fully whole file is downloaded to the process of playing again on client machine.
Therefore, no matter be online request or live online, after online broadcast finishes, if the user wishes again to watch certain video, all need to watch at connection server under network condition.If current could not get on to the Net, or network speed is very slow, just can't realize online broadcast.
Summary of the invention
Technical problem to be solved by this invention is to provide method and a kind of network player of a kind of locally storing, searching streaming media, the files in stream media of playing online can be saved in this locality, and sets up search in this locality.
In order to address the above problem, the invention discloses a kind of method of locally storing, searching streaming media, comprising:
Authenticate this locality according to user type and whether have the authority of including, if having, allow all flow media data packet that receive with the form buffer memory of fragment file in this locality;
All flow media data packet of receiving in real time are buffered in this locality with the form of fragment file;
According to the timestamp in the fragment file, be complete files in stream media with the fragment file synthesis, and be stored in this locality;
To the files in stream media foundation of this locality storage and the mapping relations of keyword;
According to keyword at the corresponding files in stream media of local search;
If this locality does not have the authority of including, allow to be used at local cache the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied;
User with the authority of including comprises: VIP user or the user that pays the fees.
Preferably, described method also comprises:
Files in stream media to this locality carries out mark, and gauge point is corresponding with the key frame of files in stream media.
Preferably, described method also comprises:
Each key frame to files in stream media is set up index.
Preferably,, also comprise after the corresponding files in stream media of local search according to keyword:
According to described index, the key frame position corresponding from the gauge point of files in stream media begins to play.
The present invention also provides a kind of network player with locally storing, function of search, comprising:
The purview certification module is used for authenticating this locality according to user type and whether has the authority of including, if having, allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, allow to be used at local cache the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied; Described user with the authority of including comprises: VIP user or the user that pays the fees;
The fragment cache module is used for all flow media data packet that will receive in real time and is buffered in this locality with the form of fragment file;
The file synthesis module is used for the timestamp according to the fragment file, is complete files in stream media with the fragment file synthesis, and is stored in this locality;
Module is set up in mapping, is used for the files in stream media foundation of this locality storage and the mapping relations of keyword;
Search module is used for according to keyword at the corresponding files in stream media of local search.
Preferably, described network player also comprises:
Mark module is used for the files in stream media of this locality is carried out mark, and gauge point is corresponding with the key frame of files in stream media.
Preferably, described network player also comprises:
Module set up in index, is used for each key frame of files in stream media is set up index;
Described search module according to described index, is searched the key frame corresponding to gauge point of files in stream media.
Compared with prior art, the present invention has the following advantages:
At first, the invention provides a kind of network player with the function of including, can be in the online process of playing, the flow media data packet that receives in real time is buffered in this locality with the form of fragment file, then be a complete files in stream media with the fragment file synthesis, and be stored in this locality.Like this, the files in stream media that the user watched online can be saved in this locality automatically, if the user wishes again to watch certain file, just can directly obtain broadcast from this locality, and not need to rely on network environment, is very easy to the user.
Secondly, the present invention has also set up search service automatically to the files in stream media of locally storing, the user can fast finding to certain files in stream media of locally storing.And, the user can also carry out mark to certain wonderful in files in stream media, gauge point is corresponding with key frame in this document, the key frame of files in stream media has been set up index, so just can be directly begin to play-over from key frame position corresponding to gauge point, realized the accurate location of files in stream media.The user does not need to take time and waits for transmission and the broadcast of previous contents, just can be directly from video arbitrary gauge point begin to watch.
Description of drawings
Fig. 1 is the method flow diagram of the described a kind of locally storing of the embodiment of the present invention one, searching streaming media;
Fig. 2 is the method flow diagram of the described a kind of locally storing of the embodiment of the present invention two, searching streaming media;
Fig. 3 is the described a kind of structure chart with network player of locally storing, function of search of the embodiment of the present invention three.
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.
Embodiment one:
With reference to Fig. 1, it is the method flow diagram of the described a kind of locally storing of the embodiment of the present invention one, searching streaming media.
Step 101 is buffered in this locality with all flow media data packet of receiving in real time with the form of fragment file;
The present embodiment is based on the stream transmission technology, and a files in stream media is decomposed into a plurality of packets and is transferred to this locality from server end, and this locality receives in real time packet and can play.Traditional stream transmission need to arrange buffer memory in this locality, is used for the packet of storage certain hour section, and after the packet in buffer memory all played, buffer memory abandoned the content of having play, and the follow-up content of not yet playing of buffer memory is come in the space that re-using is vacated.The effect of described buffer memory is to eliminate delay time and jitter, to guarantee that stream medium data can broadcast continuously.
Equally also need to buffer memory be set in this locality in the present embodiment, but, this buffer memory not only is used for guaranteeing the continuous broadcast of stream medium data, also needs all packets that receive in a files in stream media playing process are all stored, and stores with the form of fragment file.Therefore, the memory capacity of these buffer memory needs is also larger.
Step 102 is complete files in stream media with the fragment file synthesis, and is stored in this locality;
By Internet Transmission and after playing, local program can be included arrangement to all fragment files of buffer memory, is a complete file with all fragment file synthesis when this files in stream media, is stored in the local storage mediums such as hard disk.This process is equivalent to by the whole original document of fragment file reduction.
The synthetic method that the present embodiment adopts is: each fragment file indicates timestamp, according to described timestamp, just can be combined into correct primary flow media file to all fragment files according to time sequencing.
Step 103 is to the files in stream media foundation of this locality storage and the mapping relations of keyword;
After the stream medium data of playing online was indexed to this locality, local program also can carry out data analysis and arrangement to a plurality of files in stream media of including, and sets up the mapping relations of keyword and files in stream media, thereby provided search service for the local user.
Step 104, and is play at the corresponding files in stream media of local search according to keyword.
In sum, the files in stream media that the user watched online can be saved in this locality automatically, if the user wishes again to watch certain file, just can directly obtain broadcast from this locality, and not need to rely on network environment, is very easy to the user.And the present invention has also set up search service automatically to the files in stream media of locally storing, the user can fast finding to certain files in stream media of locally storing.
Preferably, in said process, can also the locally storing authority be set to different user, only in the situation that meet some condition (as for VIP client or the client that pays dues), just can obtain this authority.Therefore, can also comprise step before step 101: authenticate this locality and whether have the authority of including, if having, allow all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, allow to be used at local cache the partial data bag of current broadcast according to traditional stream transmission, and after this partial data bag plays, automatically local cache is emptied.The content of only having the user that has an authority through authentication just can play at locally storing has facilitated the management to the user.
Embodiment two:
With reference to Fig. 2, it is the method flow diagram of the described a kind of locally storing of the embodiment of the present invention two, searching streaming media.
Step 201, in the online playing process of Streaming Media, real-time receiving stream media packet;
Step 202, the user to authentication is passed through allows in this locality with all flow media data packet of the form buffer memory of fragment file;
And to authenticating unsanctioned user, not allowing to use locally storing and search function, local program can only buffer unit divided data bag, and can re-use the space of vacating and come the follow-up content of not yet playing of buffer memory by abandoning the content of having play.
Step 203 is complete files in stream media with the fragment file synthesis, and is stored in this locality;
Step 204 is set up index to each key frame of local files in stream media;
The purpose of key frame being set up index is to navigate to quickly and accurately the position of key frame in file.
Step 205 is carried out mark to the files in stream media of this locality, and gauge point is corresponding with the key frame of files in stream media;
Be that the user can carry out mark to interested certain files in stream media, also can carry out mark to certain wonderful in files in stream media, the key frame position of the gauge point respective file of wonderful.
Step 206 is to the files in stream media foundation of this locality storage and the mapping relations of keyword;
Also can directly set up the corresponding relation of gauge point in keyword and files in stream media.
Step 207, the user inputs keyword;
Step 208, and begins to play from key frame position corresponding to the gauge point of files in stream media according to described index at the corresponding files in stream media of local search according to keyword.
In sum, gauge point is corresponding with key frame, and key frame has been set up again index, the accurate location of therefore having realized files in stream media by index, the user does not need to take time and waits for transmission and the broadcast of previous contents, just can be directly begins to watch from the arbitrary gauge point position of Streaming Media.
Embodiment three:
With reference to Fig. 3, it is the described a kind of structure chart with network player of locally storing, function of search of the embodiment of the present invention three.
Described network player mainly comprises:
Fragment cache module 31 is used for all flow media data packet that will receive in real time and is buffered in this locality with the form of fragment file;
File synthesis module 32, being used for is complete files in stream media with the fragment file synthesis, and is stored in this locality;
Module 33 is set up in mapping, is used for the files in stream media foundation of this locality storage and the mapping relations of keyword;
Search module 34 is used for according to keyword at the corresponding files in stream media of local search.
Preferably, described player can also comprise:
Mark module 35 is used for the files in stream media of this locality is carried out mark, and gauge point is corresponding with the key frame of files in stream media.
Preferably, described player can also comprise:
Module 36 set up in index, is used for each key frame of files in stream media is set up index;
Described search module 34 according to described index, is searched the key frame corresponding to gauge point of files in stream media.
Described player can also comprise:
Playing module 37 is used for reading described files in stream media from the storage medium of this locality, and begins to play from key frame position corresponding to gauge point.
Preferably, described player can also comprise:
Purview certification module 38 is used for authenticating this locality and whether has the authority of including, if having, allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, allow to be used at local cache the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied.
In sum, described network player can be saved in this locality with the files in stream media of playing online, and sets up search in this locality, has enriched the function of player, has strengthened the management function to local file, and is convenient for users.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Above method and a kind of network player to a kind of locally storing provided by the present invention, searching streaming media, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (5)

1. the method for a locally storing, searching streaming media, is characterized in that, comprising:
Authenticate this locality according to user type and whether have the authority of including, if having, allow all flow media data packet that receive with the form buffer memory of fragment file in this locality;
All flow media data packet of receiving in real time are buffered in this locality with the form of fragment file;
According to the timestamp in the fragment file, be complete files in stream media with the fragment file synthesis, and be stored in this locality;
To the files in stream media foundation of this locality storage and the mapping relations of keyword;
According to keyword at the corresponding files in stream media of local search;
If this locality does not have the authority of including, allow to be used at local cache the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied;
User with the authority of including comprises: VIP user or the user that pays the fees;
Also comprise: based on user interest, the files in stream media of this locality is carried out mark, gauge point is corresponding with the key frame of files in stream media.
2. method according to claim 1, is characterized in that, also comprises:
Each key frame to files in stream media is set up index.
3. method according to claim 2, is characterized in that,, also comprises after the corresponding files in stream media of local search according to keyword:
According to described index, the key frame position corresponding from the gauge point of files in stream media begins to play.
4. the network player with locally storing, function of search, is characterized in that, comprising:
The purview certification module is used for authenticating this locality according to user type and whether has the authority of including, if having, allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, allow to be used at local cache the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied; Described user with the authority of including comprises: VIP user or the user that pays the fees;
The fragment cache module is used for all flow media data packet that will receive in real time and is buffered in this locality with the form of fragment file;
The file synthesis module is used for the timestamp according to the fragment file, is complete files in stream media with the fragment file synthesis, and is stored in this locality;
Module is set up in mapping, is used for the files in stream media foundation of this locality storage and the mapping relations of keyword;
Search module is used for according to keyword at the corresponding files in stream media of local search;
Mark module is used for the files in stream media of this locality is carried out mark, and described mark is based on user interest, and gauge point is corresponding with the key frame of files in stream media.
5. network player according to claim 4, is characterized in that, also comprises:
Module set up in index, is used for each key frame of files in stream media is set up index;
Described search module according to described index, is searched the key frame corresponding to gauge point of files in stream media.
CN 200910242815 2009-12-17 2009-12-17 Method for locally storing and searching streaming media and network player Expired - Fee Related CN101917328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910242815 CN101917328B (en) 2009-12-17 2009-12-17 Method for locally storing and searching streaming media and network player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910242815 CN101917328B (en) 2009-12-17 2009-12-17 Method for locally storing and searching streaming media and network player

Publications (2)

Publication Number Publication Date
CN101917328A CN101917328A (en) 2010-12-15
CN101917328B true CN101917328B (en) 2013-11-06

Family

ID=43324723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910242815 Expired - Fee Related CN101917328B (en) 2009-12-17 2009-12-17 Method for locally storing and searching streaming media and network player

Country Status (1)

Country Link
CN (1) CN101917328B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177026A (en) * 2011-12-23 2013-06-26 北京新媒传信科技有限公司 Data management method and data management system
CN102843615B (en) * 2012-09-05 2016-08-03 北京星网锐捷网络技术有限公司 The caching indexing means of Online Video file and caching server
CN114143294B (en) * 2022-02-08 2023-03-14 广州长嘉电子有限公司 Streaming media signal processing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005363A (en) * 2006-01-16 2007-07-25 中兴通讯股份有限公司 Mobile terminal device with stream medium complete down loading function
CN101150720A (en) * 2006-09-18 2008-03-26 腾讯科技(深圳)有限公司 Stream media program playing method and its playing client
CN101163238A (en) * 2007-07-20 2008-04-16 中兴通讯股份有限公司 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast
CN101247402A (en) * 2008-03-17 2008-08-20 腾讯科技(深圳)有限公司 Multimedia files downloading and broadcasting system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005363A (en) * 2006-01-16 2007-07-25 中兴通讯股份有限公司 Mobile terminal device with stream medium complete down loading function
CN101150720A (en) * 2006-09-18 2008-03-26 腾讯科技(深圳)有限公司 Stream media program playing method and its playing client
CN101163238A (en) * 2007-07-20 2008-04-16 中兴通讯股份有限公司 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast
CN101247402A (en) * 2008-03-17 2008-08-20 腾讯科技(深圳)有限公司 Multimedia files downloading and broadcasting system and method

Also Published As

Publication number Publication date
CN101917328A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
CN101917390B (en) Multifunctional network player
JP4846352B2 (en) Multimedia viewing system and multimedia viewing method
CN104093067B (en) Share in the terminal, the apparatus and method of playback of audio-visual fragment
EP2901372B1 (en) Using digital fingerprints to associate data with a work
CN101917591B (en) Method and device for playing back live video
KR102093429B1 (en) Similar introduction scene caching mechanism
US11223433B1 (en) Identification of concurrently broadcast time-based media
CN101595724A (en) The broadcast system that utilizes local electronic service guide to generate
WO2007130472A2 (en) Methods and systems for providing media assets over a network
WO2012146098A1 (en) Method and corresponding system for storing and playing streaming media
CN109842804A (en) Processing method and server, the computer storage medium of audio, video data
CN101917329A (en) Network player and server for providing search service
CN104202655A (en) Method and device of downloading audio and video files
CN101909049A (en) Method and system for quickly searching and playing stream media data
CN101917328B (en) Method for locally storing and searching streaming media and network player
CN102710988A (en) Set-top box-based television program recommendation method and set-top box apparatus
CN105592369B (en) A kind of video frequency abstract processing method and processing device
CN102172035A (en) Manufacturing method and system of audio special
US20140032537A1 (en) Apparatus, system, and method for music identification
JP2000083059A (en) Index information distributing method, index information distributing device, retrieving device and computer readable recording medium recording program for functioning computer as each means of those devices
US20070294723A1 (en) Method and system for dynamically inserting media into a podcast
CN101916249A (en) Method and device for retrieving streaming media data
CN101917327A (en) Streaming media recording method and player
JP5867549B2 (en) Transmitting apparatus and method, and receiving apparatus and method
AU2015101273A4 (en) A computer implemented system and method for transferring multimedia 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
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: NEWAUTO (BEJING) CLOUD TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: XIN'AOTE(BEIJING) VIDEO TECHNOLOGY CO., LTD.

Effective date: 20150720

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150720

Address after: 100085, No. 7, information road, Haidian District, Beijing, 5, 515

Patentee after: Newauto (Beijing) cloud Technology Co. Ltd.

Address before: 100080 Beijing city Haidian District xicaochang No. 1 Silicon Valley computer city 15 1501-1506 room

Patentee before: China Digital Video (Beijing) Limited

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20161217

CF01 Termination of patent right due to non-payment of annual fee