CN104023265A - Method and device for switching audio information streams and electronic equipment - Google Patents

Method and device for switching audio information streams and electronic equipment Download PDF

Info

Publication number
CN104023265A
CN104023265A CN201310066549.6A CN201310066549A CN104023265A CN 104023265 A CN104023265 A CN 104023265A CN 201310066549 A CN201310066549 A CN 201310066549A CN 104023265 A CN104023265 A CN 104023265A
Authority
CN
China
Prior art keywords
information stream
audio information
stream
audio
electronic equipment
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.)
Pending
Application number
CN201310066549.6A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310066549.6A priority Critical patent/CN104023265A/en
Publication of CN104023265A publication Critical patent/CN104023265A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and device for switching audio information streams and electronic equipment, the method is applied to electronic equipment, and the electronic equipment can play streaming media information streams which at least include an image information stream and an audio information stream. The method includes: detecting whether a second audio information stream exists when an audio information stream switching instruction is detected, if yes, an audio information stream that is currently played by the electronic equipment is switched to the second audio information stream, if no, the first audio information stream is switched to the second audio information stream by using predetermined rules, then the first audio information stream currently played by the electronic equipment is switched to the second audio information stream, and the second audio information stream is synchronized with an image information stream, thereby switching the first audio information stream currently played by the electronic equipment to the required second audio information stream, and achieving the purpose of not simply experiencing only one accompanying sound audio information stream but various different accompanying sound audio information streams.

Description

A kind of changing method of audio information stream, device and electronic equipment
Technical field
The present invention relates to TV domain, particularly a kind of changing method of audio information stream, device and electronic equipment.
Background technology
Intelligent television has come out more than a year, product from current intelligent television, only is mostly that traditional tv program accepts to add intelligent use, the TV programme that we or passive receive broadcasting and TV of TV programme send simultaneously, especially the sound accompaniment of TV (TV) system overwhelming majority channel is all mandarin, user always uses single mandarin sound accompaniment, can not get different experience and enjoyment.
Summary of the invention
Problem to be solved by this invention is: provide a kind of changing method, device and electronic equipment of audio information stream, to solve the problem that can only use single mandarin sound accompaniment in prior art when watching TV programme.
Concrete scheme is as follows:
The invention provides a kind of sound accompaniment changing method, comprise: a kind of changing method of audio information stream, be applied to electronic equipment, described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, and described method comprises:
In the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
When described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
When described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, otherwise, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream and then the audio information stream of the current broadcasting of described electronic equipment switched to the second audio information stream;
Synchronous described the second audio information stream and described image information stream.
Preferably, the described process of utilizing pre-defined rule that described the first audio information stream is converted to the second audio information stream comprises:
Index second audio information stream corresponding with the first audio information stream of described current broadcasting in the information bank of setting up in advance, obtains indexed results;
When described indexed results shows to have the second corresponding audio information stream, described the first audio information stream is converted to described the second audio information stream.
Preferably, the process of described synchronous described the second audio information stream and described image information stream comprises:
Judge that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if so, described the second audio information stream is synchronizeed and is play with described image information stream.
The detailed process of the second audio information stream that preferably, in the described information bank setting up in advance, first audio information stream of index in flowing with described current program information is corresponding:
In the information bank of setting up in advance, identify the Word message in described the first audio information stream, obtain recognition result;
When described recognition result shows to have corresponding Word message,, according to the audio coding mode of described corresponding Word message, be combined into the second audio information stream.
Preferably, when the timestamp of described the second audio information stream and described image information stream is at once, described the second audio information stream is synchronizeed the detailed process of playing with described image information road:
Described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some the second audio information stream data blocks and some image information stream data blocks;
According to reference clock, described some the second audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp;
When the timestamp of described the second audio information stream data block and the timestamp of described image information stream data block are at once, realize synchronous broadcasting.
A switching device shifter for audio information stream, described device comprises: first detection module, the second detection module, handover module, conversion handover module and synchronization module;
Described first detection module is used for, and in the process of described playing stream media information flow, detects and whether receives the instruction of switching audio information stream, if so, triggers described the second detection module work;
Described the second detection module is used for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module work, otherwise, the work of described conversion handover module triggered;
Described handover module is used for, and the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described conversion handover module is used for, and utilizes pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described synchronization module is used for, synchronous described the second audio information stream and described image information stream.
Preferably, described conversion handover module comprises: indexing units, the first judging unit and switch unit;
Wherein, described indexing units is used for, and in the information bank of setting up in advance, second audio information stream corresponding to first audio information stream of index in flowing with described current program information, obtains indexed results;
Described the first judging unit is used for, and judges when whether described indexed results exists the second corresponding audio information stream, if so, described the second audio information stream is converted to described the first audio information stream;
Described switch unit is used for, and the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream.
Preferably, described synchronization module comprises: the second judging unit and lock unit;
Described the second judging unit is used for, and judges that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if so, triggers described synchronous subelement work;
Described lock unit is used for, and described the second audio information stream is synchronizeed and play with described image information stream.
Preferably, described indexing units also comprises: recognin unit, the first judgment sub-unit and combination subelement;
Described recognin unit is used for, and in the information bank of setting up in advance, identifies the Word message in described the first audio information stream, obtains recognition result;
Described the first judgment sub-unit is used for, and judges when whether described recognition result exists corresponding Word message, if so, triggers the work of combination subelement;
Described combination subelement is used for, and the audio coding mode according to described corresponding Word message, is combined into the second audio information stream.
Preferably, described the second judging unit also comprises: piecemeal subelement and the second judgment sub-unit;
Described piecemeal subelement is used for, described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some audio information stream data blocks and some image information stream data blocks, according to reference clock, described some audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp;
Described the second judgment sub-unit is used for, and judges that whether the timestamp of described audio information stream data block is corresponding with the timestamp of described image information stream data block, if so, realizes synchronous broadcasting.
An electronic equipment, comprises playing module, it is characterized in that, also comprises the switching device shifter of described audio information stream;
Described playing module is connected with the switching device shifter of described audio information stream, and for playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream,
The switching device shifter of described audio information stream comprises: first detection module, the second detection module, handover module, conversion handover module and synchronization module;
Described first detection module is used for, and in the process of described playing stream media information flow, detects and whether receives the instruction of switching audio information stream, if so, triggers described the second detection module work;
Described the second detection module is used for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module work, otherwise, the work of described conversion handover module triggered;
Described handover module is used for, and the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described conversion handover module is used for, and utilizes pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described synchronization module is used for, synchronous described the second audio information stream and described image information stream.
As can be seen from the above technical solutions, the invention provides a kind of changing method of audio information stream, device and electronic equipment, described method is applied in electronic equipment, described electronic equipment can playing stream media information flow, in described stream media information stream, at least comprise image information stream and audio information stream, in playing the process of described stream media information stream, detect and whether receive the instruction of switching audio information stream, when the instruction that receives switching audio information stream being detected, detect and whether have the second audio information stream, if while there is the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, if there is no during the second audio information stream, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, synchronous described the second audio information stream is in described image information stream, so just the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream needing, having realized is not single a kind of sound accompaniment audio information stream of only experiencing, but experience the object of various different sound accompaniment audio information stream.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the changing method schematic flow sheet of the embodiment of the present invention one disclosed a kind of audio information stream;
Fig. 2 is the changing method schematic flow sheet of the embodiment of the present invention two disclosed a kind of audio information streams;
Fig. 3 is the changing method schematic flow sheet of the embodiment of the present invention three disclosed a kind of audio information streams;
Fig. 4 is the changing method schematic flow sheet of the embodiment of the present invention four disclosed a kind of audio information streams;
Fig. 5 is the changing method schematic flow sheet of the embodiment of the present invention five disclosed a kind of audio information streams;
Fig. 6 is the switching device shifter structural representation of the embodiment of the present invention six disclosed a kind of audio information streams;
Fig. 7 is the switching device shifter structural representation of the embodiment of the present invention seven disclosed a kind of audio information streams;
Fig. 8 is the switching device shifter structural representation of the embodiment of the present invention eight disclosed a kind of audio information streams;
Fig. 9 is the switching device shifter structural representation of the embodiment of the present invention nine disclosed a kind of audio information streams;
Figure 10 is the switching device shifter structural representation of the embodiment of the present invention ten disclosed a kind of audio information streams;
Figure 11 is the disclosed a kind of electronic devices structure schematic diagram of the embodiment of the present invention 11.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to protection scope of the present invention.
The embodiment of the invention discloses a kind of changing method of audio information stream, shown in Figure 1, described method is applied to electronic equipment, and described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, and described method step comprises:
Step S101: in the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
Wherein, when receive that user sends need to switch the instruction of audio information stream time, can perform step S102;
Step S102: when described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
Wherein, described the second audio information stream is different from the first audio information stream of described current broadcasting, and described the second audio information stream can be " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version;
Step S103: when described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Wherein, when there is the second audio information stream, while there is " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version, the audio information stream that is about to the current broadcasting of described electronic equipment is that " blame sincere not faze " of " news hookup " of mandarin version, mandarin version " Chinese good sound ", mandarin version switches to described the second audio information stream, i.e. " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version;
It should be noted that, the audio information stream of the current broadcasting of electronic equipment described herein can be also the various programs of English edition, guangdong edition, northeast words version etc., when retrieving the second audio information stream corresponding to the audio information stream that is stored in described current broadcasting, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Step S104: when described the second testing result shows not have the second audio information stream, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Step S105: synchronous described the second audio information stream and described image information stream.
The present embodiment discloses a kind of changing method of audio information stream, described method is applied in electronic equipment, described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, described method comprises: in playing the process of described stream media information stream, detect and whether receive the instruction of switching audio information stream, when the instruction that receives switching audio information stream being detected, detect and whether have the second audio information stream, if while there is the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, if there is no during the second audio information stream, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, synchronous described the second audio information stream is in described image information stream, so just the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream needing, having realized is not single a kind of sound accompaniment audio information stream of only experiencing, but experience the object of various different sound accompaniment audio information stream.
The embodiment of the present invention two discloses a kind of changing method of audio information stream, shown in Figure 2, described method is applied to electronic equipment, and described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, and described method step comprises:
Step S201: in the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
Wherein, when receive that user sends need to switch the instruction of audio information stream time, can perform step S202;
Step S202: when described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
Wherein, described the second audio information stream is different from the first audio information stream of described current broadcasting, and described the second audio information stream can be " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version;
Step S203: when described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Wherein, when there is the second audio information stream, while there is " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version, the audio information stream that is about to the current broadcasting of described electronic equipment is that " blame sincere not faze " of " news hookup " of mandarin version, mandarin version " Chinese good sound ", mandarin version switches to described the second audio information stream, i.e. " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version;
It should be noted that, the audio information stream of the current broadcasting of electronic equipment described herein can be also the various programs of English edition, guangdong edition, northeast words version etc., when retrieving the second audio information stream corresponding to the audio information stream that is stored in described current broadcasting, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Step S204: when described the second testing result shows not have the second audio information stream, index second audio information stream corresponding with the first audio information stream of described current broadcasting in the information bank of setting up in advance, obtains indexed results;
Wherein, in described information bank, stored multiple audio information stream, having comprised: " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version etc.;
Step S205: when described indexed results shows to have the second corresponding audio information stream, described the first audio information stream is switched to described the second audio information stream;
It should be noted that, by described the first audio information stream, be now that " news hookup " of mandarin version, " the Chinese good sound " of mandarin version, " blame sincere not faze " of mandarin version switch to described the second audio information stream, " blame sincere not faze " of version talked about in " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast;
Step S206: synchronous described the second audio information stream and described image information stream.
The present embodiment discloses a kind of changing method of audio information stream, described method is to being converted to the second audio information stream by described the first audio information stream and limiting in embodiment mono-, i.e. index second audio information stream corresponding with the first audio information stream of described current broadcasting in the information bank of setting up in advance, obtain indexed results, when described indexed results shows to have the second corresponding audio information stream, described the first audio information stream is converted to described the second audio information stream, in described method, the first audio information stream is converted to the second audio information stream, realized when the first audio information stream of the current broadcasting of described electronic equipment does not exist existing the second audio information stream, also can obtain described second audio information stream corresponding with described the first audio information stream, needn't stick to only have exists the second corresponding audio information stream just can switch.
The embodiment of the present invention three discloses a kind of changing method of audio information stream, shown in Figure 3, described method is applied to electronic equipment, and described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, and described method step comprises:
Step S301: in the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
Wherein, when receive that user sends need to switch the instruction of audio information stream time, can perform step S302;
Step S302: when described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
Wherein, described the second audio information stream is different from the first audio information stream of described current broadcasting, and described the second audio information stream can be " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version;
Step S303: when described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Wherein, when there is the second audio information stream, while there is " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version, the audio information stream that is about to the current broadcasting of described electronic equipment is that " blame sincere not faze " of " news hookup " of mandarin version, mandarin version " Chinese good sound ", mandarin version switches to described the second audio information stream, i.e. " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version;
It should be noted that, the audio information stream of the current broadcasting of electronic equipment described herein can be also the various programs of English edition, guangdong edition, northeast words version etc., when retrieving the second audio information stream corresponding to the audio information stream that is stored in described current broadcasting, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Step S304: when described the second testing result shows not have the second audio information stream, index second audio information stream corresponding with the first audio information stream of described current broadcasting in the information bank of setting up in advance, obtains indexed results;
Wherein, in described information bank, stored multiple audio information stream, having comprised: " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version etc.;
Step S305: when described indexed results shows to have the second corresponding audio information stream, described the first audio information stream is switched to described the second audio information stream;
It should be noted that, by described the first audio information stream, be now that " news hookup " of mandarin version, " the Chinese good sound " of mandarin version, " blame sincere not faze " of mandarin version switch to described the second audio information stream, " blame sincere not faze " of version talked about in " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast;
Step S306: judge that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if so, execution step S307, if not, execution step S308;
It should be noted that, first to select a reference clock, time on described reference clock is linear increment, time on the described reference clock of foundation is stamped timestamp to stream media information stream, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, if the time started of stream media information stream is greater than the time on current reference clock, be not eager to play described stream media information stream, until reference clock reaches the time started of described stream media information stream;
If the time started of described stream media information stream is less than the time on described current reference clock, " as early as possible " play described stream media information stream or without hesitation by this block message stream " abandoning ", so that playing progress rate catch up with reference clock;
Step S307: described the second audio information stream is synchronizeed and play with described image information stream;
Step S308: described the second audio information stream is in the asynchronous broadcasting of described image information stream.
A kind of changing method of audio information stream is disclosed in the present embodiment, in described method, synchronous described the second audio information stream and described image information stream are illustrated, judge that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if corresponding, realized synchronous, if there is no correspondence, can not realize synchronous, the time on described reference clock of using is stamped timestamp to described stream media information, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, the broadcasting that described stream media information is flowed is all according to described reference clock, so all use a standard time, just there will not be correspondence not right, or there is the problem obscured.
The embodiment of the present invention four discloses a kind of changing method of audio information stream, shown in Figure 4, described method is applied to electronic equipment, and described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, and described method step comprises:
Step S401: in the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
Wherein, when receive that user sends need to switch the instruction of audio information stream time, can perform step S402;
Step S402: when described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
Wherein, described the second audio information stream is different from the first audio information stream of described current broadcasting, and described the second audio information stream can be " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version;
Step S403: when described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Wherein, when there is the second audio information stream, while there is " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version, the audio information stream that is about to the current broadcasting of described electronic equipment is that " blame sincere not faze " of " news hookup " of mandarin version, mandarin version " Chinese good sound ", mandarin version switches to described the second audio information stream, i.e. " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version;
It should be noted that, the audio information stream of the current broadcasting of electronic equipment described herein can be also the various programs of English edition, guangdong edition, northeast words version etc., when retrieving the second audio information stream corresponding to the audio information stream that is stored in described current broadcasting, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Step S404: when described the second testing result shows not have the second audio information stream, identify the Word message in described the first audio information stream in the information bank of setting up in advance, obtain recognition result;
Give an example, if current the first audio information stream is " hello, China ", first identify corresponding Word message, while indexing " hello, China ", perform step S405;
Step S405: when described recognition result shows to have corresponding Word message,, according to the audio coding mode of described corresponding Word message, be combined into the second audio information stream;
When indexing " hello; China ", specific the second of index in the information bank that goes to set up in advance, the third audio information stream has Cantonese corresponding to " hello " and " China ", or corresponding " hello " of northeast words version, the audio information stream of " China ", the audio coding mode according to described correspondence, is combined into described the second audio information stream;
Step S406: described the first audio information stream is converted to described the second audio information stream;
Step S407: judge that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if so, execution step S408, if not, execution step S409;
It should be noted that, first to select a reference clock, time on described reference clock is linear increment, time on the described reference clock of foundation is stamped timestamp to stream media information stream, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, if the time started of stream media information stream is greater than the time on current reference clock, be not eager to play described stream media information stream, until reference clock reaches the time started of described stream media information stream;
If the time started of described stream media information stream is less than the time on described current reference clock, " as early as possible " play described stream media information stream or without hesitation by this block message stream " abandoning ", so that playing progress rate catch up with reference clock;
Step S408: described the second audio information stream is synchronizeed and play with described image information stream;
Step S409: described the second audio information stream is in the asynchronous broadcasting of described image information stream.
The present embodiment discloses a kind of changing method of audio information stream, further define the detailed process of the second audio information stream that in the information bank of setting up in advance index is corresponding with the first audio information stream in described current program information stream: in the information bank of foundation in advance, identify the Word message in described the first audio information stream, obtain recognition result, when described recognition result shows to have corresponding Word message, according to the audio coding mode of described corresponding Word message, be combined into the second audio information stream, in described method, by first identifying the Word message in described the first audio information stream, when there is described Word message, meeting is according to the audio coding mode of the Word message of described correspondence, be combined into the second audio information stream, realized when the first audio information stream of the current broadcasting of described electronic equipment does not exist existing the second audio information stream, also can obtain described second audio information stream corresponding with described the first audio information stream, needn't stick to only have exists the second corresponding audio information stream just can switch.
The embodiment of the present invention five discloses a kind of changing method of audio information stream, shown in Figure 5, described method is applied to electronic equipment, and described electronic equipment can playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream, and described method step comprises:
Step S501: in the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
Wherein, when receive that user sends need to switch the instruction of audio information stream time, can perform step S502;
Step S502: when described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
Wherein, described the second audio information stream is different from the first audio information stream of described current broadcasting, and described the second audio information stream can be " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version;
Step S503: when described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Wherein, when there is the second audio information stream, while there is " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version, the audio information stream that is about to the current broadcasting of described electronic equipment is that " blame sincere not faze " of " news hookup " of mandarin version, mandarin version " Chinese good sound ", mandarin version switches to described the second audio information stream, i.e. " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version;
It should be noted that, the audio information stream of the current broadcasting of electronic equipment described herein can be also the various programs of English edition, guangdong edition, northeast words version etc., when retrieving the second audio information stream corresponding to the audio information stream that is stored in described current broadcasting, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Step S504: identify the Word message in described the first audio information stream in the information bank of setting up in advance, obtain recognition result;
Give an example, if current the first audio information stream is " hello, China ", first identify corresponding Word message, while indexing " hello, China ", perform step S405;
Step S505: when described recognition result shows to have corresponding Word message,, according to the audio coding mode of described corresponding Word message, be combined into the second audio information stream;
When indexing " hello; China ", specific the second of index in the information bank that goes to set up in advance, the third audio information stream has Cantonese corresponding to " hello " and " China ", or corresponding " hello " of northeast words version, the audio information stream of " China ", how the audio coding mode according to described correspondence, be combined into described the second audio information stream;
Step S506: described the first audio information stream is converted to described the second audio information stream;
Step S507: described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some the second audio information stream data blocks and some image information stream data blocks;
Step S508: described some the second audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp according to reference clock;
Step S509: whether the timestamp that judges described the second audio information stream data block is corresponding with the timestamp of described image information stream data block, if so, execution step S510, if not, execution step S511;
It should be noted that, first to select a reference clock, time on described reference clock is linear increment, time on the described reference clock of foundation is stamped timestamp to stream media information stream, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, if the time started of stream media information stream is greater than the time on current reference clock, be not eager to play described stream media information stream, until reference clock reaches the time started of described stream media information stream;
If the time started of described stream media information stream is less than the time on described current reference clock, " as early as possible " play described stream media information stream or without hesitation by this block message stream " abandoning ", so that playing progress rate catch up with reference clock;
If, video stream content is from 0s, while supposing 10s, there is people to loquitur, audio information stream is mixed in requirement, the initial time of audio information stream should be 10s so, if timestamp is from 0s or start At All Other Times to beat, itself is just out of joint in time synchronized for the audio/video information of this mixing stream.If stamp timestamp, described video stream and described audio information stream are all the time with reference to reference clock, and referring-to relation can not occur between described video stream and described audio information stream;
That is to say, described video stream and described audio information stream are to realize synchronous by a neutral third party (namely reference clock);
Step S510: described the second audio information stream is synchronizeed and play with described image information stream;
Step S511: described the second audio information stream is in the asynchronous broadcasting of described image information stream.
A kind of changing method of audio information stream is disclosed in the present embodiment, in described method, described video stream and described audio information stream are carried out to piecemeal according to identical partitioned mode, then the described video stream after piecemeal and described audio information stream are stamped to timestamp, described video stream and described audio information stream all come synchronous according to described reference clock, just there will not be the corresponding reproduction time of described video stream and described audio information stream not right, or occur the problem obscured.
The embodiment of the present invention six discloses a kind of switching device shifter of audio information stream, shown in Figure 6, and described device comprises: first detection module 101, the second detection module 102, handover module 103, conversion handover module 104 and synchronization module 105;
Described first detection module 101 for, in the process of described playing stream media information flow, detect and whether to receive the instruction of switching audio information stream, if so, trigger described the second detection module 102 work;
Wherein, when receive that user sends need to switch the instruction of audio information stream time, can trigger described the second detection module 102 work;
Described the second detection module 102 for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module 103 work, otherwise, described conversion handover module 104 work triggered;
Wherein, described the second audio information stream is different from the first audio information stream of described current broadcasting, and described the second audio information stream can be " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version;
Described handover module 103 for, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Wherein, when there is the second audio information stream, while there is " blame sincere not faze " of " news hookup " of English edition, " the Chinese good sound " of guangdong edition, northeast words version, the audio information stream that is about to the current broadcasting of described electronic equipment is that " blame sincere not faze " of " news hookup " of mandarin version, mandarin version " Chinese good sound ", mandarin version switches to described the second audio information stream, i.e. " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version;
It should be noted that, the audio information stream of the current broadcasting of electronic equipment described herein can be also the various programs of English edition, guangdong edition, northeast words version etc., when retrieving the second audio information stream corresponding to the audio information stream that is stored in described current broadcasting, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described conversion handover module 104 for, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described synchronization module 105 for, synchronous described the second audio information stream and described image information stream.
The present embodiment discloses a kind of switching device shifter of audio information stream, described device comprises: first detection module, the second detection module, handover module, conversion handover module and synchronization module, described first detection module is for detection of whether receiving the instruction of switching audio information stream, if, trigger described the second detection module work, described the second detection module is used for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module work, otherwise, trigger the work of described conversion handover module, described handover module is used for, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, described conversion handover module is used for, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, described synchronization module is used for, synchronous described the second audio information stream and described image information stream, so just the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream needing, having realized is not single a kind of sound accompaniment audio information stream of only experiencing, but experience the object of various different sound accompaniment audio information stream.
The embodiment of the present invention seven discloses a kind of switching device shifter of audio information stream, shown in Figure 7, and described device comprises: first detection module 101, the second detection module 102, handover module 103, conversion handover module 104 and synchronization module 105;
Wherein, described first detection module 101, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105 are consistent with the described first detection module 101 in embodiment six, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105;
In the present embodiment, described conversion handover module 104 comprises: indexing units 201, the first judging unit 202 and switch unit 203;
Described indexing units 201 for, in the information bank of setting up in advance, second audio information stream corresponding to first audio information stream of index in flowing with described current program information, obtains indexed results;
Wherein, in described information bank, stored multiple audio information stream, having comprised: " blame sincere not faze " of " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast words version etc.;
Described the first judging unit 202 for, judge when whether described indexed results exists the second corresponding audio information stream, if so, described the second audio information stream is converted to described the first audio information stream;
It should be noted that, by described the first audio information stream, be now that " news hookup " of mandarin version, " the Chinese good sound " of mandarin version, " blame sincere not faze " of mandarin version switch to described the second audio information stream, " blame sincere not faze " of version talked about in " the Chinese good sound " of " news hookup " of English edition, guangdong edition, northeast;
Described switch unit 203 for, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream.
A kind of switching device shifter of audio information stream is disclosed in the present embodiment, described in described device, changing handover module comprises: indexing units, the first judging unit and switch unit, the second audio information stream corresponding to the first audio information stream during described indexing units flows with described current program information for the information bank index setting up in advance, obtain indexed results, described the first judging unit is used for, judge when whether described indexed results exists the second corresponding audio information stream, if, described the second audio information stream is converted to described the first audio information stream, described switch unit 203 for, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, realized when the first audio information stream of the current broadcasting of described electronic equipment does not exist existing the second audio information stream, also can obtain described second audio information stream corresponding with described the first audio information stream, needn't stick to only have exists the second corresponding audio information stream just can switch.
The embodiment of the present invention eight discloses a kind of switching device shifter of audio information stream, shown in Figure 8, and described device comprises: first detection module 101, the second detection module 102, handover module 103, conversion handover module 104 and synchronization module 105;
Wherein, described first detection module 101, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105 are consistent with the described first detection module 101 in embodiment six, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105;
In the present embodiment, disclosed synchronization module 105 comprises: the second judging unit 301 and lock unit 302;
Described the second judging unit 301 for, judge that whether described the second audio information stream corresponding with the timestamp of described image information stream, if so, trigger 302 work of described synchronous subelement;
It should be noted that, first to select a reference clock, time on described reference clock is linear increment, time on the described reference clock of foundation is stamped timestamp to stream media information stream, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, if the time started of stream media information stream is greater than the time on current reference clock, be not eager to play described stream media information stream, until reference clock reaches the time started of described stream media information stream;
If the time started of described stream media information stream is less than the time on described current reference clock, " as early as possible " play described stream media information stream or without hesitation by this block message stream " abandoning ", so that playing progress rate catch up with reference clock;
Described lock unit 302 for, described the second audio information stream is synchronizeed and is play with described image information stream.
A kind of switching device shifter of audio information stream is disclosed in the present embodiment, described in described device, synchronization module comprises: the second judging unit and lock unit, described the second judging unit is used for, judge that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if, trigger described synchronous subelement work, described lock unit is used for, described the second audio information stream is synchronizeed and play with described image information stream, the time on described reference clock of using is stamped timestamp to described stream media information, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, the broadcasting that described stream media information is flowed is all according to described reference clock, so all use a standard time, just there will not be correspondence not right, or there is the problem obscured.
In the embodiment of the present invention nine, disclose a kind of switching device shifter of audio information stream, shown in Figure 9, described device comprises: first detection module 101, the second detection module 102, handover module 103, conversion handover module 104 and synchronization module 105;
Wherein, described first detection module 101, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105 are consistent with the described first detection module 101 in embodiment seven, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105;
And described conversion handover module 104 comprises: indexing units 201, the first judging unit 202 and switch unit 203 are also consistent with disclosed described indexing units 201, the first judging unit 202 and switch unit 203 in embodiment seven;
In the present embodiment, described indexing units 201 comprises: recognin unit 401, the first judgment sub-unit 402 and combination subelement 403;
Described recognin unit 401 for, in the information bank of setting up in advance, identify the Word message in described the first audio information stream, obtain recognition result;
Give an example, if current the first audio information stream is " hello, China ", first identify corresponding Word message, while indexing " hello, China ", trigger described the first judgment sub-unit 402 work;
Described the first judgment sub-unit 402 for, judge when whether described recognition result exists corresponding Word message, if so, trigger 403 work of combination subelement;
When indexing " hello; China ", specific the second of index in the information bank that goes to set up in advance, the third audio information stream has Cantonese corresponding to " hello " and " China ", or corresponding " hello " of northeast words version, the audio information stream of " China ", triggers described combination subelement 403 work;
Described combination subelement 403 for, according to the audio coding mode of described corresponding Word message, be combined into the second audio information stream.
A kind of switching device shifter of audio information stream is disclosed in the present embodiment, described indexing units in described device comprises: recognin unit, the first judgment sub-unit and combination subelement, described recognin unit is used for, in the information bank of setting up in advance, identify the Word message in described the first audio information stream, obtain recognition result, described the first judgment sub-unit is used for, judge when whether described recognition result exists corresponding Word message, if, trigger the work of combination subelement, described combination subelement is used for, audio coding mode according to described corresponding Word message, be combined into the second audio information stream, realized when the first audio information stream of the current broadcasting of described electronic equipment does not exist existing the second audio information stream, also can obtain described second audio information stream corresponding with described the first audio information stream, needn't stick to only have exists the second corresponding audio information stream just can switch.
The embodiment of the present invention ten discloses a kind of switching device shifter of audio information stream, shown in Figure 10, and described device comprises: first detection module 101, the second detection module 102, handover module 103, conversion handover module 104 and synchronization module 105;
Wherein, described first detection module 101, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105 are consistent with the described first detection module 101 in embodiment eight, described the second detection module 102, described handover module 103, described conversion handover module 104 and described synchronization module 105;
And described synchronization module 105 comprises: the second judging unit 301 is also consistent with disclosed described the second judging unit 301 and lock unit 302 in embodiment eight with lock unit 302;
In the present embodiment, described the second judging unit 301 comprises: piecemeal subelement 501 and the second judgment sub-unit 502;
Described piecemeal subelement 501 for, described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some audio information stream data blocks and some image information stream data blocks, according to reference clock, described some audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp;
Described the second judgment sub-unit 502 for, judge that whether the timestamp of described audio information stream data block corresponding with the timestamp of described image information stream data block, if so, realize synchronous broadcasting;
It should be noted that, first to select a reference clock, time on described reference clock is linear increment, time on the described reference clock of foundation is stamped timestamp to stream media information stream, when synchronous broadcasting, read the timestamp on described stream media information stream, according to the time on described current reference clock, arrange to play simultaneously, if the time started of stream media information stream is greater than the time on current reference clock, be not eager to play described stream media information stream, until reference clock reaches the time started of described stream media information stream;
If the time started of described stream media information stream is less than the time on described current reference clock, " as early as possible " play described stream media information stream or without hesitation by this block message stream " abandoning ", so that playing progress rate catch up with reference clock;
If, video stream content is from 0s, while supposing 10s, there is people to loquitur, audio information stream is mixed in requirement, the initial time of audio information stream should be 10s so, if timestamp is from 0s or start At All Other Times to beat, itself is just out of joint in time synchronized for the audio/video information of this mixing stream.If stamp timestamp, described video stream and described audio information stream are all the time with reference to reference clock, and referring-to relation can not occur between described video stream and described audio information stream;
That is to say, described video stream and described audio information stream are to realize synchronous by a neutral third party (namely reference clock).
A kind of switching device shifter of audio information stream is disclosed in the present embodiment, described the second judging unit comprises: piecemeal subelement and the second judgment sub-unit, described piecemeal subelement is used for, described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some audio information stream data blocks and some image information stream data blocks, according to reference clock, described some audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp, described the second judgment sub-unit is used for, whether the timestamp that judges described audio information stream data block is corresponding with the timestamp of described image information stream data block, if, realize synchronous broadcasting, described video stream and described audio information stream all come synchronous according to described reference clock, just there will not be the corresponding reproduction time of described video stream and described audio information stream not right, or there is the problem obscured.
The embodiment of the present invention 11 discloses a kind of electronic equipment, shown in Figure 11, and described device comprises: the switching device shifter 602 of playing module 601 and described audio information stream;
Described playing module 601 is connected with the switching device shifter 602 of described audio information stream, and for playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream,
The switching device shifter 602 of described audio information stream comprises: first detection module 101, the second detection module 102, handover module 103, conversion handover module 104 and synchronization module 105;
Described first detection module 101 for, in the process of described playing stream media information flow, detect and whether to receive the instruction of switching audio information stream, if so, trigger described the second detection module 102 work;
Described the second detection module 102 for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module 103 work, otherwise, described conversion handover module 104 work triggered;
Described handover module 103 for, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described conversion handover module 104 for, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described synchronization module 105 for, synchronous described the second audio information stream and described image information stream.
The present embodiment discloses a kind of electronic equipment, described electronic equipment comprises: the switching device shifter of playing module and audio information stream, described playing module is connected with the switching device shifter of described audio information stream, for playing stream media information flow, the switching device shifter of described audio information stream comprises: first detection module, the second detection module, handover module, conversion handover module and synchronization module, wherein, described first detection module is for the process at described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, if, trigger described the second detection module work, described the second detection module is used for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module work, otherwise, trigger the work of described conversion handover module, described handover module is used for, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, described conversion handover module is used for, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, described synchronization module is used for, synchronous described the second audio information stream and described image information stream, so just the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream needing, having realized is not single a kind of sound accompaniment audio information stream of only experiencing, but experience the object of various different sound accompaniment audio information stream.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the wide region consistent with principle disclosed herein and features of novelty.

Claims (11)

1. a changing method for audio information stream, is applied to electronic equipment, and described electronic equipment can playing stream media information flow, and described stream media information flow to and comprises less image information stream and audio information stream, it is characterized in that, described method comprises:
In the process of described playing stream media information flow, detect and whether receive the instruction of switching audio information stream, obtain the first testing result;
When described the first testing result shows to receive the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, described the second audio information stream is the first audio information stream that is different from the current broadcasting of described electronic equipment;
When described the second testing result shows to have the second audio information stream, the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream, otherwise, utilize pre-defined rule that described the first audio information stream is converted to the second audio information stream and then the audio information stream of the current broadcasting of described electronic equipment switched to the second audio information stream;
Synchronous described the second audio information stream and described image information stream.
2. method according to claim 1, is characterized in that, the described process of utilizing pre-defined rule that described the first audio information stream is converted to the second audio information stream comprises:
Index second audio information stream corresponding with the first audio information stream of described current broadcasting in the information bank of setting up in advance, obtains indexed results;
When described indexed results shows to have the second corresponding audio information stream, described the first audio information stream is converted to described the second audio information stream.
3. method according to claim 1, is characterized in that, the process of described synchronous described the second audio information stream and described image information stream comprises:
Judge that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if so, described the second audio information stream is synchronizeed and is play with described image information stream.
4. method according to claim 2, is characterized in that, the detailed process of the second audio information stream that in the described information bank setting up in advance, first audio information stream of index in flowing with described current program information is corresponding:
In the information bank of setting up in advance, identify the Word message in described the first audio information stream, obtain recognition result;
When described recognition result shows to have corresponding Word message,, according to the audio coding mode of described corresponding Word message, be combined into the second audio information stream.
5. method according to claim 3, is characterized in that, when the timestamp of described the second audio information stream and described image information stream is at once, described the second audio information stream is synchronizeed the detailed process of playing with described image information road:
Described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some the second audio information stream data blocks and some image information stream data blocks;
According to reference clock, described some the second audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp;
When the timestamp of described the second audio information stream data block and the timestamp of described image information stream data block are at once, realize synchronous broadcasting.
6. a switching device shifter for audio information stream, is characterized in that, described device comprises: first detection module, the second detection module, handover module, conversion handover module and synchronization module;
Wherein, described first detection module is used for, and in the process of described playing stream media information flow, detects and whether receives the instruction of switching audio information stream, if so, triggers described the second detection module work;
Described the second detection module is used for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module work, otherwise, the work of described conversion handover module triggered;
Described handover module is used for, and the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described conversion handover module is used for, and utilizes pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described synchronization module is used for, synchronous described the second audio information stream and described image information stream.
7. device according to claim 6, is characterized in that, described conversion handover module comprises: indexing units, the first judging unit and switch unit;
Wherein, described indexing units is used for, and in the information bank of setting up in advance, second audio information stream corresponding to first audio information stream of index in flowing with described current program information, obtains indexed results;
Described the first judging unit is used for, and judges when whether described indexed results exists the second corresponding audio information stream, if so, described the second audio information stream is converted to described the first audio information stream;
Described switch unit is used for, and the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream.
8. device according to claim 6, is characterized in that, described synchronization module comprises: the second judging unit and lock unit;
Described the second judging unit is used for, and judges that whether described the second audio information stream is corresponding with the timestamp of described image information stream, if so, triggers described synchronous subelement work;
Described lock unit is used for, and described the second audio information stream is synchronizeed and play with described image information stream.
9. device according to claim 7, is characterized in that, described indexing units also comprises: recognin unit, the first judgment sub-unit and combination subelement;
Described recognin unit is used for, and in the information bank of setting up in advance, identifies the Word message in described the first audio information stream, obtains recognition result;
Described the first judgment sub-unit is used for, and judges when whether described recognition result exists corresponding Word message, if so, triggers the work of combination subelement;
Described combination subelement is used for, and the audio coding mode according to described corresponding Word message, is combined into the second audio information stream.
10. device according to claim 8, is characterized in that, described the second judging unit also comprises: piecemeal subelement and the second judgment sub-unit;
Described piecemeal subelement is used for, described the second audio information stream and described image information stream are carried out to piecemeal according to identical mode, obtain corresponding some audio information stream data blocks and some image information stream data blocks, according to reference clock, described some audio information stream data blocks and described some image information stream data blocks are all stamped to timestamp;
Described the second judgment sub-unit is used for, and judges that whether the timestamp of described audio information stream data block is corresponding with the timestamp of described image information stream data block, if so, realizes synchronous broadcasting.
11. 1 kinds of electronic equipments, is characterized in that, comprise playing module, it is characterized in that, also comprise the switching device shifter of audio information stream claimed in claim 6;
Described playing module is connected with the switching device shifter of described audio information stream, and for playing stream media information flow, described stream media information flow to and comprises less image information stream and audio information stream,
The switching device shifter of described audio information stream comprises: first detection module, the second detection module, handover module, conversion handover module and synchronization module;
Described first detection module is used for, and in the process of described playing stream media information flow, detects and whether receives the instruction of switching audio information stream, if so, triggers described the second detection module work;
Described the second detection module is used for, when receiving the instruction of described switching audio information stream, detect and whether have the second audio information stream, obtain the second testing result, wherein, the first audio information stream of described the second audio information stream difference and current broadcasting, when described the second testing result shows to have the second audio information stream, trigger described handover module work, otherwise, the work of described conversion handover module triggered;
Described handover module is used for, and the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described conversion handover module is used for, and utilizes pre-defined rule that described the first audio information stream is converted to the second audio information stream, then the audio information stream of the current broadcasting of described electronic equipment is switched to the second audio information stream;
Described synchronization module is used for, synchronous described the second audio information stream and described image information stream.
CN201310066549.6A 2013-03-01 2013-03-01 Method and device for switching audio information streams and electronic equipment Pending CN104023265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310066549.6A CN104023265A (en) 2013-03-01 2013-03-01 Method and device for switching audio information streams and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310066549.6A CN104023265A (en) 2013-03-01 2013-03-01 Method and device for switching audio information streams and electronic equipment

Publications (1)

Publication Number Publication Date
CN104023265A true CN104023265A (en) 2014-09-03

Family

ID=51439801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310066549.6A Pending CN104023265A (en) 2013-03-01 2013-03-01 Method and device for switching audio information streams and electronic equipment

Country Status (1)

Country Link
CN (1) CN104023265A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657579A (en) * 2015-10-29 2016-06-08 乐视致新电子科技(天津)有限公司 Live broadcast audio switching method, stream media server and client
CN105895128A (en) * 2016-03-30 2016-08-24 广东欧珀移动通信有限公司 Playing method and associated device
CN107004419A (en) * 2014-11-28 2017-08-01 索尼公司 Dispensing device, sending method, reception device and method of reseptance
CN107195310A (en) * 2017-03-05 2017-09-22 杭州趣维科技有限公司 A kind of method for processing video frequency of sound driver particle effect
CN110825997A (en) * 2018-08-09 2020-02-21 优视科技有限公司 Information flow page display method and device, terminal equipment and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1259827A (en) * 1992-12-09 2000-07-12 发现通讯公司 Advanced top terminal for cable TV transmission system
US20080240464A1 (en) * 2007-03-31 2008-10-02 Sony Deutschland Gmbh Method for outputting audio signals and audio decoder
CN101533655A (en) * 2008-12-19 2009-09-16 徐清华 Playing method for a plurality of TS video files based on high definition media player
CN101924863A (en) * 2010-05-21 2010-12-22 中山大学 Digital television equipment
CN102347042A (en) * 2010-07-28 2012-02-08 Tcl集团股份有限公司 Audio track switching method, system thereof and audio and video file playing device
CN102867525A (en) * 2012-09-07 2013-01-09 Tcl集团股份有限公司 Multi-channel audio processing method, audio playback terminal and audio receiving device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1259827A (en) * 1992-12-09 2000-07-12 发现通讯公司 Advanced top terminal for cable TV transmission system
US20080240464A1 (en) * 2007-03-31 2008-10-02 Sony Deutschland Gmbh Method for outputting audio signals and audio decoder
CN101533655A (en) * 2008-12-19 2009-09-16 徐清华 Playing method for a plurality of TS video files based on high definition media player
CN101924863A (en) * 2010-05-21 2010-12-22 中山大学 Digital television equipment
CN102347042A (en) * 2010-07-28 2012-02-08 Tcl集团股份有限公司 Audio track switching method, system thereof and audio and video file playing device
CN102867525A (en) * 2012-09-07 2013-01-09 Tcl集团股份有限公司 Multi-channel audio processing method, audio playback terminal and audio receiving device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107004419A (en) * 2014-11-28 2017-08-01 索尼公司 Dispensing device, sending method, reception device and method of reseptance
CN107004419B (en) * 2014-11-28 2021-02-02 索尼公司 Transmission device, transmission method, reception device, and reception method
CN105657579A (en) * 2015-10-29 2016-06-08 乐视致新电子科技(天津)有限公司 Live broadcast audio switching method, stream media server and client
WO2017071184A1 (en) * 2015-10-29 2017-05-04 乐视控股(北京)有限公司 Live broadcasting audio switching method, streaming media server and client
CN105895128A (en) * 2016-03-30 2016-08-24 广东欧珀移动通信有限公司 Playing method and associated device
CN107195310A (en) * 2017-03-05 2017-09-22 杭州趣维科技有限公司 A kind of method for processing video frequency of sound driver particle effect
CN110825997A (en) * 2018-08-09 2020-02-21 优视科技有限公司 Information flow page display method and device, terminal equipment and system

Similar Documents

Publication Publication Date Title
CN104023265A (en) Method and device for switching audio information streams and electronic equipment
CN108900854B (en) Live broadcast microphone room switching method, storage medium, equipment and system
CN103327366A (en) One-way video-on-demand method, one-way video-on-demand related equipment and one-way video-on-demand system
CN103888832B (en) A kind of playback terminal accesses the treating method and apparatus of data source switching
CN105407381B (en) A kind of video program play method and device
CN105979347A (en) Video play method and device
CN105072146B (en) Music information sharing method and device
CN103974061A (en) Play test method and system
CN103607642A (en) On demand method of multimedia program and electronic equipment
CN106060627A (en) Audio processing method and device based on multi-way live broadcast
CN103747366A (en) A method for displaying the playing process of a HLS media file and a player
CN103220576A (en) Audio signal processing method and electronic equipment
CN103763575B (en) A kind of programme method of combination and device
CN105929941B (en) Information processing method and device and terminal equipment
CN105992058A (en) Prompting method, device and system for video playing
CN103561285A (en) Program broadcasting method and network plug-flow server
CN103237215A (en) Playing method and playing device
CN102970251A (en) Networking method and networking device
CN110213596A (en) Switching method, device, computer equipment and storage medium is broadcast live
CN107580264A (en) Multimedia resource play handling method and device
CN103561340A (en) Method and device for tabletop skipping switch of smart television and smart television
CN104506920A (en) Method and device for playing omnimedia data information
CN102098570B (en) Digital television information playing method and system
CN103686336B (en) Video playing control method and device
CN108495179B (en) Method for recording and replaying mixed program of broadcast and broadband

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140903

RJ01 Rejection of invention patent application after publication