CN101917328A - 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
CN101917328A
CN101917328A CN200910242815XA CN200910242815A CN101917328A CN 101917328 A CN101917328 A CN 101917328A CN 200910242815X A CN200910242815X A CN 200910242815XA CN 200910242815 A CN200910242815 A CN 200910242815A CN 101917328 A CN101917328 A CN 101917328A
Authority
CN
China
Prior art keywords
files
stream media
locality
media
fragment file
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
CN200910242815XA
Other languages
Chinese (zh)
Other versions
CN101917328B (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

The method of a kind 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 popularize to the streaming media service development powerful market forces, the streaming media service increased popularity that just becoming is provided.Stream media technology is widely used in the every aspect of internet information services such as multimedia news briefing, online live, the web advertisement, ecommerce, video request program (VOD), long-distance education, tele-medicine, network radio station, real-time video meeting.The application of stream media technology will bring revolutionary variation for the network information exchanges, and people's work and life are produced far-reaching influence.
But present streaming media playing all is online broadcast, and the characteristics of online broadcast 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 the client machine.
Therefore, no matter be online request or online live, online broadcast if the user wishes to watch again certain video, all need be watched at Connection Service device under the network condition after finishing.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 provides method and a kind of network player of a kind of locally storing, searching streaming media, the files in stream media of online broadcast can be saved in this locality, and sets up search in this locality.
In order to address the above problem, the invention discloses the method for a kind of locally storing, searching streaming media, comprising:
All flow media data packet of receiving in real time are buffered in this locality with the form of fragment file;
The fragment file is synthesized complete files in stream media, 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.
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,, after the corresponding files in stream media of local search, also comprise according to keyword:
According to described index, begin to play from the key frame position of the gauge point correspondence of files in stream media.
Preferably, all flow media data packet of receiving in real time are buffered in before this locality with the form of fragment file, also comprise:
Whether authentication this locality has the authority of including, if having, then allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, then allow to be used for the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied at local cache.
Preferably, the fragment file being synthesized complete files in stream media comprises:
According to the timestamp in the fragment file, the fragment file is synthesized complete files in stream media.
The present invention also provides a kind of network player with locally storing, function of search, comprising:
The fragment cache module is used for all flow media data packet of will be in real time receiving and is buffered in this locality with the form of fragment file;
The file synthesis module is used for the fragment file is synthesized complete files in stream media, 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;
Then described search module is searched the key frame of the gauge point correspondence of files in stream media according to described index.
Preferably, described network player also comprises:
The purview certification module is used to authenticate this locality and whether has the authority of including, if having, then allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, then allow to be used for the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied at local cache.
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 process of online broadcast, the flow media data packet that receives in real time is buffered in this locality with the form of fragment file, then the fragment file is synthesized a complete files in stream media, and be stored in this locality.Like this, the online files in stream media of watching of user can be saved in this locality automatically, if the user wishes to watch again certain file, just can directly obtain broadcast from this locality, and not need the dependency 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, and the user can find certain files in stream media of locally storing fast.And, the user can also carry out mark to certain wonderful in the 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, realized the accurate location of files in stream media from the key frame position of gauge point correspondence.The user does not need to take time and waits for the 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 embodiment of the invention one described a kind of locally storing, searching streaming media;
Fig. 2 is the method flow diagram of the embodiment of the invention two described a kind of locally storings, searching streaming media;
Fig. 3 is the embodiment of the invention three described a kind of structure charts with network player of locally storing, function of search.
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, be the method flow diagram of the embodiment of the invention one described a kind of locally storing, 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;
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 packet in real time and can play.Traditional stream transmission need be provided with buffer memory in this locality, is used to store the packet of certain hour section, and after the packet in the buffer memory all played, buffer memory abandoned the content of having play, and utilizes the space of vacating to come the follow-up content of not playing as yet of buffer memory again.The effect of described buffer memory is to eliminate time delay and shake, to guarantee that stream medium data can broadcast continuously.
Equally also need buffer memory be set in the present embodiment in this locality, but, this buffer memory not only is used to guarantee the continuous broadcast of stream medium data, also needs all packets that receive in the 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 bigger.
Step 102 synthesizes complete files in stream media with the fragment file, and is stored in this locality;
When this files in stream media by Network Transmission and after playing, local program can be included arrangement to all fragment files of buffer memory, and all fragment files are synthesized a complete file, is stored in the local storage mediums such as hard disk.This process is equivalent to reduce whole original document by the fragment file.
The synthetic method that present embodiment adopts is: each fragment file all 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;
The stream medium data of online broadcast is indexed to after this locality, and local program also can carry out data analysis and arrangement to a plurality of files in stream media of being included, and sets up the mapping relations of keyword and files in stream media, thereby provides 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 online files in stream media of watching of user can be saved in this locality automatically, if the user wishes to watch again certain file, just can directly obtain broadcast from this locality, and not need the dependency 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, and the user can find certain files in stream media of locally storing fast.
Preferably, in the said process, can also the locally storing authority be set, only, just can obtain this authority meeting (as being the VIP client or the client that pays dues) under the situation of some condition to different user.Therefore, can also comprise step before the step 101: whether authentication this locality has the authority of including, if having, then allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, then allow to be used for the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied at local cache according to traditional stream transmission.The content of having only the user that has an authority through authentication just can play at locally storing has made things convenient for the management to the user.
Embodiment two:
With reference to Fig. 2, be the method flow diagram of the embodiment of the invention two described a kind of locally storings, searching streaming media.
Step 201, in the online playing process of Streaming Media, real-time receiving stream media packet;
Step 202 to the user that authentication is passed through, allows in this locality with all flow media data packet of the form buffer memory of fragment file;
And, not allowing to use locally storing and search function to authenticating unsanctioned user, local program can only buffer memory partial data bag, and can utilize the space of vacating to come the follow-up content of not playing as yet of buffer memory again by abandoning the content of having play.
Step 203 synthesizes complete files in stream media with the fragment file, 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 the position of key frame in the file quickly and accurately.
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 the 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 the files in stream media.
Step 207, the user imports keyword;
Step 208, and begins from the key frame position of the gauge point correspondence of files in stream media to play 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 index again, therefore the accurate location of having realized files in stream media by index, the user does not need to take time and waits for the transmission and the broadcast of previous contents, just can be directly begins to watch from arbitrary gauge point position of Streaming Media.
Embodiment three:
With reference to Fig. 3, be the embodiment of the invention three described a kind of structure charts with network player of locally storing, function of search.
Described network player mainly comprises:
Fragment cache module 31 is used for all flow media data packet of will be in real time receiving and is buffered in this locality with the form of fragment file;
File synthesis module 32 is used for the fragment file is synthesized complete files in stream media, 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;
Then described search module 34 is searched the key frame of the gauge point correspondence of files in stream media according to described index.
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 the key frame position of gauge point correspondence.
Preferably, described player can also comprise:
Purview certification module 38 is used to authenticate this locality and whether has the authority of including, if having, then allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, then allow to be used for the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied at local cache.
In sum, described network player can be saved in this locality with the files in stream media of online broadcast, 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 all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than to method and a kind of network player of 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, 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. the method for a locally storing, searching streaming media is characterized in that, comprising:
All flow media data packet of receiving in real time are buffered in this locality with the form of fragment file;
The fragment file is synthesized complete files in stream media, 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.
2. method according to claim 1 is characterized in that, 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.
3. method according to claim 2 is characterized in that, also comprises:
Each key frame to files in stream media is set up index.
4. method according to claim 3 is characterized in that,, also comprises after the corresponding files in stream media of local search according to keyword:
According to described index, begin to play from the key frame position of the gauge point correspondence of files in stream media.
5. method according to claim 1 is characterized in that, all flow media data packet of receiving in real time are buffered in before this locality with the form of fragment file, also comprises:
Whether authentication this locality has the authority of including, if having, then allows all flow media data packet that receive with the form buffer memory of fragment file in this locality;
If do not have, then allow to be used for the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied at local cache.
6. method according to claim 1 is characterized in that, the fragment file is synthesized complete files in stream media comprise:
According to the timestamp in the fragment file, the fragment file is synthesized complete files in stream media.
7. the network player with locally storing, function of search is characterized in that, comprising:
The fragment cache module is used for all flow media data packet of will be in real time receiving and is buffered in this locality with the form of fragment file;
The file synthesis module is used for the fragment file is synthesized complete files in stream media, 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.
8. network player according to claim 7 is characterized in that, 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.
9. network player according to claim 8 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;
Then described search module is searched the key frame of the gauge point correspondence of files in stream media according to described index.
10. network player according to claim 7 is characterized in that, also comprises:
The purview certification module is used to authenticate this locality and whether has the authority of including, if having, then allows all flow media data packet that receive with the form buffer memory of fragment file in this locality; If do not have, then allow to be used for the partial data bag of current broadcast, and after this partial data bag plays, automatically local cache is emptied at local cache.
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 true CN101917328A (en) 2010-12-15
CN101917328B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843615A (en) * 2012-09-05 2012-12-26 北京星网锐捷网络技术有限公司 Cache indexing method of online video files and cache server
CN103177026A (en) * 2011-12-23 2013-06-26 北京新媒传信科技有限公司 Data management method and data management system
CN114143294A (en) * 2022-02-08 2022-03-04 广州长嘉电子有限公司 Streaming media signal processing system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100518067C (en) * 2006-01-16 2009-07-22 中兴通讯股份有限公司 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
CN101163238B (en) * 2007-07-20 2010-12-01 中兴通讯股份有限公司 Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast
CN101247402B (en) * 2008-03-17 2011-09-14 腾讯科技(深圳)有限公司 Multimedia files downloading and broadcasting system and method

Cited By (4)

* 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
CN102843615A (en) * 2012-09-05 2012-12-26 北京星网锐捷网络技术有限公司 Cache indexing method of online video files and cache server
CN114143294A (en) * 2022-02-08 2022-03-04 广州长嘉电子有限公司 Streaming media signal processing system and method
CN114143294B (en) * 2022-02-08 2023-03-14 广州长嘉电子有限公司 Streaming media signal processing system and method

Also Published As

Publication number Publication date
CN101917328B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
JP4846352B2 (en) Multimedia viewing system and multimedia viewing method
CN101917390B (en) Multifunctional network player
CN101917591B (en) Method and device for playing back live video
US20170193104A1 (en) Using digital fingerprints to associate data with a work
KR102093429B1 (en) Similar introduction scene caching mechanism
US11223433B1 (en) Identification of concurrently broadcast time-based media
TWI513238B (en) Synchro-content broadcast delivery system
US20120210351A1 (en) Presentation of customized digital media programming
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
CN104202655A (en) Method and device of downloading audio and video files
CN109842804A (en) Processing method and server, the computer storage medium of audio, video data
CN101917329A (en) Network player and server for providing search service
WO2012146098A1 (en) Method and corresponding system for storing and playing streaming media
CN102710988A (en) Set-top box-based television program recommendation method and set-top box apparatus
CN105992022A (en) On-line recording and downloading method and system
KR20100018126A (en) Method for generating and providing multimedia contents related information, and apparatus thereof
CN101917328B (en) Method for locally storing and searching streaming media and network player
US20070294723A1 (en) Method and system for dynamically inserting media into a podcast
JP2023082098A (en) Information processing device and information processing method
CN101916249A (en) Method and device for retrieving streaming media data
CN102917256A (en) Android-system based television programs recommending method and intelligent television system
CN101917327A (en) Streaming media recording method and player
KR20090000654A (en) Apparatus and method for hook up contents
TWI322397B (en)

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20161217