CN101345882B - Playing device and method for inter-cutting audio files - Google Patents

Playing device and method for inter-cutting audio files Download PDF

Info

Publication number
CN101345882B
CN101345882B CN2008101187522A CN200810118752A CN101345882B CN 101345882 B CN101345882 B CN 101345882B CN 2008101187522 A CN2008101187522 A CN 2008101187522A CN 200810118752 A CN200810118752 A CN 200810118752A CN 101345882 B CN101345882 B CN 101345882B
Authority
CN
China
Prior art keywords
file
inter
audio
media
intercutting
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
CN2008101187522A
Other languages
Chinese (zh)
Other versions
CN101345882A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN2008101187522A priority Critical patent/CN101345882B/en
Publication of CN101345882A publication Critical patent/CN101345882A/en
Application granted granted Critical
Publication of CN101345882B publication Critical patent/CN101345882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a play device and a method of an inter cut audio file, wherein, the play device of an inter cut audio file according to the invention comprises: a play module, used for performing media play operation to a media file; an inter cut control module, used for triggering an inter cut event, and obtaining the audio file to be inter cut; and a media file caching module, used for caching the media file during inter cut of the obtained audio file. Through the invention, the play device can be applied to various network radios, networks or local multimedia files.

Description

The playing device of inter-cutting audio files and method
Technical field
The present invention relates to the play multimedia files field, relate in particular to a kind of playing device and method of inter-cutting audio files.
Background technology
Existing media player, its conventional func is exactly to play common or based on multimedia files such as the audio frequency of stream media technology, videos, but existing media player is just play-overed the file of user's program request simply, and can't in the process of playing, insert the advertisement of voice, music and player provider oneself as required, reduce the flexibility of multimedia, also reduced the advertising income of media player provider simultaneously.
The implementation of prior art comprises: the server end at network radio station uses audio file to intercut technology, and its player for any support Streaming Media all is effective.
Yet the shortcoming of prior art is: this technology has been only applicable to use the network radio station of this technology.
Summary of the invention
The present invention proposes a kind of playing device and method of inter-cutting audio files, purpose is to be applicable to the diverse network radio station, network and local multimedia file.
According to an aspect of the present invention, proposed a kind of playing device of inter-cutting audio files, having comprised: playing module is used for media file is carried out the media play operation; Intercut control module, be used for triggering and intercut incident, and obtain audio file to be intercutted; And the media file cache module, during the audio file that is used for obtaining described media file is carried out buffer memory intercutting.
Wherein, intercut control module and comprise: intercut trigger element, be used to trigger the described incident of intercutting; And intercut the file acquiring unit, be used for when intercutting incident and being triggered, obtaining audio file described to be intercutted described.Wherein, intercut the file acquiring unit and obtain audio file to be intercutted from the inter cut medium server.Alternately, intercut the file acquiring unit and can obtain this audio file to be intercutted by the audio file of downloading buffer memory is positioned.
When playing module has been carried out the broadcast of the scheduled time, intercut trigger element and trigger the incident of intercutting.
Alternately, when the clauses and subclauses of the media file of playing reach predetermined value, intercut trigger element and trigger the incident of intercutting.
According to another aspect of the present invention, proposed a kind of player method of inter-cutting audio files, may further comprise the steps: step 1, media file is carried out the media play operation; Step 2 triggers and intercuts incident, and obtains audio file to be intercutted; And step 3, intercut the audio file that is obtained.
Wherein, in step 2, obtain audio file to be intercutted from the inter cut medium server.
Alternately, in step 2, the audio file of downloading buffer memory positioned obtain audio file to be intercutted.
The method according to this invention also comprises: when having carried out the broadcast of the scheduled time, trigger the incident of intercutting.
Alternately, the method according to this invention also comprises: when the clauses and subclauses of the media file of playing reach predetermined value, trigger the incident of intercutting.
The method according to this invention also comprises: step 4, during the audio file that obtains intercutting media file is carried out buffer memory.
The method according to this invention also comprises: step 5, when media file is files in stream media, then after intercutting described audio file, at first play the media file of buffer memory.
The present invention is applicable to the diverse network radio station, network multimedia file and local multimedia file.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram according to the playing device of the inter-cutting audio files of the embodiment of the invention;
Fig. 2 is the flow chart according to the player method of the inter-cutting audio files of the embodiment of the invention; And
Fig. 3 is the flow chart of the player method of inter-cutting audio files according to another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
Fig. 1 is the block diagram according to the playing device of the inter-cutting audio files of the embodiment of the invention.As shown in Figure 1, comprise according to the block diagram of the playing device of the inter-cutting audio files of the embodiment of the invention: playing module 102, be used for media file is carried out the media play operation, such as, realize operations such as loading, decoding, broadcast, time-out to media file; Intercut control module 104, comprise and intercut trigger element and intercut the file acquiring unit, wherein, intercut trigger element and be used for triggering the incident of intercutting, this intercut incident can trigger by multiple predetermined condition (such as, when playing module 102 has been carried out the broadcast of scheduled event, when perhaps the clauses and subclauses of the media file play of playing module 102 reach predetermined value), intercut the file acquiring unit, be used for when the incident of intercutting is triggered, obtain audio file to be intercutted, this intercuts the file acquiring unit can obtain audio file to be intercutted from the inter cut medium server, perhaps, can obtain audio file to be intercutted by the audio file of downloading buffer memory is positioned; Media file cache module 106, during the audio file that is used for obtaining described media file is carried out buffer memory intercutting, realize the files in stream media seamless insertion, wherein, files in stream media typically refers to the file that network radio station provides, this document often is presented as digital signal streams, if there is not the flow medium buffer unit, then under the situation that time point A begins to intercut, time point B behind break ends, just can only continue broadcast, and there should be no return to the time point A of inserting time, thereby cause the user to produce the sensation that A is cut out to the media information between the B at the B place.Therefore, this inter-cutting audio files intercut device when playing, can realize seamlessly inserting audio file, thereby keep user experience preferably.
Fig. 2 is the flow chart according to the player method of the inter-cutting audio files of the embodiment of the invention.As shown in Figure 2, the flow chart according to the player method of the inter-cutting audio files of the embodiment of the invention may further comprise the steps:
Step S202 carries out the media play operation to media file;
Step S204 triggers and intercuts incident, and obtains audio file to be intercutted; And
Step S206 intercuts the audio file that is obtained.
Wherein, when having carried out the broadcast of the scheduled time, in step S204, the incident of intercutting is triggered.
Alternately, when the clauses and subclauses of the media file of playing reached predetermined value, in step S204, the incident of intercutting was triggered.
Wherein, in step S204, obtain audio file to be intercutted from the inter cut medium server.
Alternately, in step S204, the audio file of downloading buffer memory positioned obtain audio file to be intercutted.
Wherein, further comprising the steps of according to the flow chart of the player method of the inter-cutting audio files of the embodiment of the invention, during the audio file that obtains intercutting media file is carried out buffer memory.
Wherein, further comprising the steps of according to the flow chart of the player method of the inter-cutting audio files of the embodiment of the invention, when media file is files in stream media, then after intercutting described audio file, at first play the media file of buffer memory.
Fig. 3 is the flow chart of the player method of inter-cutting audio files according to another embodiment of the present invention.As shown in Figure 3, the flow chart according to the player method of the inter-cutting audio files of the embodiment of the invention may further comprise the steps:
Step S302, playing module are just at playing media file A;
Step S304 triggers the incident of intercutting;
Step S306 after the incident of intercutting is triggered, intercuts control module and obtains audio file B to be intercutted by the inter cut medium server, perhaps directly locatees the audio file B that certain has been downloaded buffer memory before;
Step S308, playing module suspends playing media file A;
Step S310 judges that whether media file A is files in stream media, if media file is a files in stream media, then carries out step S312, otherwise directly enters step S314;
Step S312 continues its content of buffer memory to file C by the flow medium buffer module;
Step S314, playing module is at backstage displaying audio file B; And
Step S316, intercut finish after, if media file A is a files in stream media, then play earlier the C file of buffer memory, if media file A is not a files in stream media, then continue playing media file A.
Wherein, in step S306, a web advertisement audio frequency is downloaded to after this locality, to its buffer memory be got up by the cache table of network URL and local path, when the audio file of certain URL is play in request, can inquire about this cache table earlier and determine whether this document has been downloaded to this locality,, then directly use this local audio file by this document is positioned if determine to download.
In step S308, wait to intercut the ready back of file (network file has been cached to this locality or has found local cache file), intercut control module notice playing module and suspend playing media file A, wherein, suspend to play and trigger, but carry out the basic function that pausing operation is a playing module for media file A by intercutting control module.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. the playing device of an inter-cutting audio files is characterized in that, comprising:
Playing module is used for media file and audio file to be intercutted are carried out the media play operation;
Intercut control module, be used for triggering and intercut incident, and obtain audio file to be intercutted; And
The media file cache module is used for during the audio file that obtains intercutting described media file being carried out buffer memory when described media file is files in stream media, to be used for the seamless play of described media file.
2. the playing device of inter-cutting audio files according to claim 1 is characterized in that, the described control module of intercutting comprises:
Intercut trigger element, be used to trigger the described incident of intercutting; And
Intercut the file acquiring unit, be used for when intercutting incident and being triggered, obtaining audio file described to be intercutted described.
3. the playing device of inter-cutting audio files according to claim 2 is characterized in that:
The described file acquiring unit that intercuts obtains audio file described to be intercutted from the inter cut medium server.
4. the playing device of inter-cutting audio files according to claim 2 is characterized in that:
The described file acquiring unit that intercuts obtains audio file described to be intercutted by the audio file of downloading buffer memory is positioned.
5. the playing device of inter-cutting audio files according to claim 2 is characterized in that,
When described playing module had been carried out the broadcast of the scheduled time, the described trigger element that intercuts triggered the described incident of intercutting.
6. the playing device of inter-cutting audio files according to claim 2 is characterized in that,
When the clauses and subclauses of the media file of playing reached predetermined value, the described trigger element that intercuts triggered the described incident of intercutting.
7. the playing device of inter-cutting audio files according to claim 1 is characterized in that,
When described media file is files in stream media, after intercutting described audio file, at first play the described media file of buffer memory.
8. the player method of an inter-cutting audio files is characterized in that, may further comprise the steps:
Step 1, playing module is carried out the media play operation to media file;
Step 2 triggers and intercuts incident, and obtains audio file to be intercutted; Step 3, described playing module intercuts the audio file that is obtained, and
Step 4 when described media file is files in stream media, is carried out buffer memory to described media file during the audio file that obtains intercutting, to be used for the seamless play of described media file.
9. the player method of inter-cutting audio files according to claim 8 is characterized in that, in described step 2, obtains audio file described to be intercutted from the inter cut medium server.
10. the player method of inter-cutting audio files according to claim 8 is characterized in that, in described step 2, the audio file of downloading buffer memory is positioned obtain audio file described to be intercutted.
11. the player method of inter-cutting audio files according to claim 8 is characterized in that,
When having carried out the broadcast of the scheduled time, trigger the described incident of intercutting.
12. the player method of inter-cutting audio files according to claim 8 is characterized in that,
When the clauses and subclauses of the media file of playing reach predetermined value, trigger the described incident of intercutting.
13. the player method of inter-cutting audio files according to claim 8 is characterized in that, also comprises:
Step 5 when described media file is files in stream media, after intercutting described audio file, is at first play the described media file of buffer memory.
CN2008101187522A 2008-08-20 2008-08-20 Playing device and method for inter-cutting audio files Active CN101345882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101187522A CN101345882B (en) 2008-08-20 2008-08-20 Playing device and method for inter-cutting audio files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101187522A CN101345882B (en) 2008-08-20 2008-08-20 Playing device and method for inter-cutting audio files

Publications (2)

Publication Number Publication Date
CN101345882A CN101345882A (en) 2009-01-14
CN101345882B true CN101345882B (en) 2010-09-22

Family

ID=40247751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101187522A Active CN101345882B (en) 2008-08-20 2008-08-20 Playing device and method for inter-cutting audio files

Country Status (1)

Country Link
CN (1) CN101345882B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9860724B2 (en) 2015-11-30 2018-01-02 International Business Machines Corporation Communicating location specific emergency information to a mobile device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065982B (en) * 2014-06-19 2015-12-30 腾讯科技(深圳)有限公司 The method and apparatus of live streaming media
CN106375837B (en) * 2016-11-14 2017-10-10 武汉斗鱼网络科技有限公司 A kind of advertisement cut-in method and device
CN108538115B (en) * 2018-03-30 2020-08-11 重庆智考信息技术有限公司 Teaching live broadcast system and method
CN113380279B (en) * 2020-03-10 2023-06-09 Oppo广东移动通信有限公司 Audio playing method and device, storage medium and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9860724B2 (en) 2015-11-30 2018-01-02 International Business Machines Corporation Communicating location specific emergency information to a mobile device
US10097982B2 (en) 2015-11-30 2018-10-09 International Business Machines Corporation Communicating location specific emergency information to a mobile device

Also Published As

Publication number Publication date
CN101345882A (en) 2009-01-14

Similar Documents

Publication Publication Date Title
KR101689050B1 (en) Information processing device, data management method, and recording medium
CN101740084B (en) Clipping method and mobile terminal of multi-media segment
EP1742397A2 (en) Providing identification of broadcast transmission pieces
TWI513238B (en) Synchro-content broadcast delivery system
CN111641866B (en) Method, system, and medium for inserting auxiliary media items into a primary media stream
CN1980377A (en) Method for smart inserting material
CN103475932A (en) Seamless on-line playing method and device of network video and network television system
WO2008000191A1 (en) A method, system and client of playing advertisement
CN103069831A (en) Reception device, reception method, transmission device, transmission method, program, and broadcast system
MX2013014347A (en) Receiver device, terminal device, control method, program, and communication system.
CN101345882B (en) Playing device and method for inter-cutting audio files
CN101501715A (en) Target advertisement in a broadcast system
US9219950B2 (en) Reproduction apparatus, reproduction method, and program
TW200538924A (en) Backup system and backup method
CN104202684A (en) Segmental network video seamless playing method and device
JP2011523795A (en) Method and apparatus for outputting media content
CN101098470A (en) P2P technique based stream media program broadcasting/receiving method and apparatus
CN101202882B (en) Method, system for transmitting medium resource and set-top box
KR100903070B1 (en) Apparatus and method for displaying data
US20090172752A1 (en) Streaming multiple videos in a playlist
CN101304327A (en) Method and apparatus for prompting schedule
CN101282467B (en) Method and apparatus for caching data when playing medium with low speed
KR101304059B1 (en) System and method of providing interactive advertisements
CN104641655A (en) Terminal cache method, terminal and server
CN101489068B (en) Background sound and key pressing sound playing method and system based on built-in brower

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