The control sound playing system and the method for navigational system
Technical field
The present invention relates to control the technical field of sound playing, refer to a kind of control sound playing system and method for navigational system especially.
Background technology
Constantly progressive with science and technology, as to install Global Positioning System (GPS) (GPS) onboard and the arranged in pairs or groups existing trend of universalness gradually of guider.Vehicular guidance system can provide the driver needed information under different traffic environments at any time, and the exploitation of speech guide system, more can avoid the driver when driving with notice and sight line skew road, to guarantee traffic safety.
At present, Vehicular guidance system has more been integrated multimedia video function, for example music, movie etc.Can only export a kind of sound source signal but existing Vehicular guidance system is put at one time, therefore work as the user and under the Voice Navigation pattern, think playing back music simultaneously, the situation that regular meeting's generation causes music to interrupt owing to the sound of playing speech guide system; And as if thinking while playing back music source of sound, reaching the navigational system source of sound; And two sources of sound do not interfere with each other; Unique method is to have two autonomous systems; Let two sources of sound use different audio coders to deal with respectively and play by different message output unit, so this will cause the high of cost, and not be inconsistent actual demand.
Because in the existing navigational system, not disclosing has the technology of improving the problems referred to above, the control sound playing system that therefore designs a navigational system has its necessity.
Summary of the invention
A purpose of the present invention provides a kind of control sound playing system of navigational system; It is in order to handle the navigational system source of sound of music sound source and navigational system output; And make this two source of sound play from the first message output unit and the second message output unit respectively, interfere with each other avoiding.
Another object of the present invention provides a kind of method of control sound playing of navigational system; It is in order to the playing priority of the navigational system source of sound of decision music sound source and navigational system output, and judges that this two source of sound should be play by the first message output unit or the second message output unit.
A purpose more of the present invention provides a kind of control sound playing system of navigational system; It is in order to handle the navigational system source of sound of music sound source and navigational system output; And make this two source of sound respectively from the output of multiple different message output unit, interfere with each other avoiding.
Another purpose of the present invention provides a kind of method of control sound playing of navigational system; It is in order to the playing priority of the navigational system source of sound of decision music sound source and navigational system output, and judge this two source of sound should be respectively by which the message output unit output in the multiple different message output unit.
According to a characteristic of the present invention; The present invention is the control sound playing system that proposes a kind of navigational system, and it comprises: the first source of sound generator, the first audio coder, the second source of sound generator, the second audio coder, the first message output unit, the second message output unit and a micro treatmenting device.The above-mentioned first source of sound generator is in order to provide music sound source; The first audio coder (audio codec) is connected to this first source of sound generator, in order to the sound size of adjusting this music sound source and the echo of removing this music sound source, to produce the first output source of sound; The second source of sound generator is in order to provide the navigational system source of sound of navigational system output; The second audio coder (audio codec) is connected to this second source of sound generator and this first audio coder; In order to the sound size of adjusting this navigational system source of sound and the echo of removing this music sound source; To produce the second output source of sound; Or receive this first output source of sound, with as this second output source of sound; The first message output unit is connected to this first audio coder, to play this first output source of sound; The second message output unit is connected to this second audio coder, to play this second output source of sound; Micro treatmenting device is connected to this first audio coder and this second audio coder, when this second source of sound generator provides this navigational system source of sound, sets this navigational system source of sound this second output source of sound for this second audio coder output.
According to another characteristic of the present invention; The present invention is the method that proposes a kind of control sound playing of navigational system; The playing priority of the navigational system source of sound of its decision music sound source and navigational system output, the control sound method comprises the following steps: that (A) judged whether the navigational system source of sound or music sound source is arranged; (B) when judgement has the navigational system source of sound, open the second audio coder, and the navigational system source of sound is sent to the second audio coder to carry out coding and decoding, to produce one second output source of sound, play for the second message output unit; (C) when judgement has music sound source; Open the first audio coder; Judge again whether this navigational system closes,, music sound source is sent to the first audio coder to carry out coding and decoding if when judging that this navigational system is non-and closing; To produce one first output source of sound, play for the first message output unit; (D) in step (C), if judge when navigational system is closed, judge whether again to play, if the first output source of sound is sent to the second audio coder, to play by the second message output unit by the second message output unit.
According to a characteristic more of the present invention; The present invention is the control sound playing system that proposes a kind of navigational system, and it comprises: the first source of sound generator, the first audio coder, the second source of sound generator, the second audio coder, switching device shifter, a micro treatmenting device and at least two message output units.The above-mentioned first source of sound generator is in order to provide music sound source; The first audio coder (audio codec) is connected to this first source of sound generator, in order to the sound size of adjusting this music sound source and the echo of removing this music sound source, to produce the first output source of sound; The second source of sound generator is in order to provide the navigational system source of sound of navigational system output; The second audio coder (audio codec) is connected to this second source of sound generator and this first audio coder; In order to the sound size of adjusting this navigational system source of sound and the echo of removing this music sound source; To produce the second output source of sound; Or receive this first output source of sound, with as this second output source of sound; Switching device shifter has at least two input ends and at least two output terminals; These at least two input ends are connected to this first audio coder and this second audio coder, with this first output source of sound, and this second output source of sound export this at least two output terminals respectively to; Micro treatmenting device is connected to this first audio coder, this second audio coder and this switching device shifter, when this second source of sound generator provides this navigational system source of sound, sets this this switching device shifter with this second output source of sound of preferential output output.At least two message output units are connected to these at least two output terminals of this switching device shifter, with this first output source of sound, this second output source of sound of handling this switching device shifter output.
According to another characteristic of the present invention; The present invention is the method that proposes a kind of control sound playing of navigational system; The playing priority of the navigational system source of sound of its decision music sound source and navigational system output, the control sound method comprises the following steps: that (A) judged whether the navigational system source of sound; (B) when judgement has the navigational system source of sound, open the second audio coder, and this navigational system source of sound is sent to this second audio coder to carry out coding and decoding, to produce one second output source of sound; (C) choose one as first output device by at least two message output units; (D) judge whether first output device is occupied, if not, source of sound is exported in one second of second audio coder output be sent to first output device; (E) in step (D), if judge that first output device is occupied, judge whether to select other message output unit again, if not, break off first output device, and the second output source of sound of second audio coder output is sent to first output device; And (F) in step (D), if judge selection other message output unit, then resumes step (C).
Beneficial effect of the present invention: the present invention its in order to handling navigational system source of sound of music sound source and navigational system output, and make this two source of sound play from the first message output unit and the second message output unit respectively, interfere with each other avoiding.In order to the playing priority of the navigational system source of sound of decision music sound source and navigational system output, and judge that this two source of sound should be play by the first message output unit or the second message output unit.In order to handling the navigational system source of sound of music sound source and navigational system output, and make this two source of sound, interfere with each other avoiding respectively from multiple different message output units output.The playing priority of navigational system source of sound, and judge this two source of sound should be respectively by which the message output unit output in the multiple different message output unit.
Description of drawings
Fig. 1 is the synoptic diagram of control sound playing system of the navigational system of the present invention's one preferred embodiment.
Fig. 2 is a process flow diagram of controlling sound playing with the control sound playing system of navigational system of the present invention.
Fig. 3 is the synoptic diagram of control sound playing system of the navigational system of the present invention's one preferred embodiment.
Fig. 4 is a process flow diagram of controlling sound playing with the control sound playing system of navigational system of the present invention.
[main element symbol description]
Micro treatmenting device 1 first audio coder 2
The second audio coder, 3 first source of sound generators 4
The second source of sound generator, 5 switching device shifters 6
The first message output unit, 70 second message output units 71
The 3rd message output unit 72 the 4th message output unit 73
Navigational system 90 step S101~S109, S201~S212
Embodiment
For letting the reader more understand technology contents of the present invention; Special act preferred embodiment explanation as follows; Please earlier with reference to Fig. 1; Fig. 1 is the synoptic diagram of control sound playing system of the navigational system of the present invention's one preferred embodiment, and it comprises a navigational system 90, a micro treatmenting device 1, one first audio coder 2, one second audio coder 3, one first source of sound generator 4, one second source of sound generator 5, one first message output unit 70, and one second message output unit 71.Wherein, the first source of sound generator 4 is in order to provide one for example to be the music sound source of MP3 source of sound, and the second source of sound generator 5 is then in order to provide the navigational system source of sound of a navigational system 90; Micro treatmenting device 1 converges current drainage via an I2C sequence and is connected to the first audio coder 2 and the second audio coder 3, and micro treatmenting device 1 also is connected to navigational system 90 with the unlatching that detects navigational system 90 or close; The first audio coder 2 is connected to the first message output unit 70 and is connected to the first source of sound generator, 4, the second audio coders 3 with an I2S serial bus and is connected to the first audio coder 2, the second message output unit 71 and is connected to the second source of sound generator 5 with an I2S serial bus; The aforementioned first message output unit 70 is preferably an earphone, and the aforementioned second message output unit 71 is preferably a loudspeaker.
Control sound playing system with aforementioned guider; When the driver uses navigational system 90 and micro treatmenting device 1 when detecting navigational system 90 and opening; The aforementioned first audio coder 2 is in order to the sound size of the music sound source adjusting the first source of sound generator 4 and provide and the echo of removing the guider source of sound that the second source of sound generator 5 provides; To produce the first output source of sound; And play by the first message output unit 70, and the navigational system source of sound that micro treatmenting device 1 is set the second source of sound generator 5 to be provided is the second output source of sound of the second audio coder, 3 outputs, the second audio coder 3 can be adjusted the sound size of the navigational system source of sound that the second source of sound generator 5 provides and the echo of removing music sound source; Export source of sound to produce second, and play by the second message output unit 71.
When the driver does not use navigational system 90 and micro treatmenting device 1 when detecting navigational system 90 and closing; Micro treatmenting device 1 is set the second output source of sound that the first output source of sound is 3 outputs of the second audio coder; The sound size of the music sound source that the first audio coder, 2 adjustment, the first source of sound generator 4 provides is to produce the first output source of sound, the sound size of the second audio coder, 3 adjustment, the first output source of sound; Export source of sound to produce second, and play by the second message output unit 71.
Then please with reference to Fig. 2, Fig. 2 is a process flow diagram of controlling sound playing with the control sound playing system of aforementioned buddy system, and it can determine the playing priority of the navigational system source of sound that the music sound source that the first source of sound generator 4 is provided and the second source of sound generator 5 are provided; As shown in the figure, it has at first judged whether the navigational system source of sound or music sound source (step S101) has been arranged, when judgement has the navigational system source of sound; Open the second audio coder 3 (step S102), and the navigational system source of sound is sent to this second audio coder 3 to carry out coding and decoding, to produce one second output source of sound; Play (step S103) for the second message output unit 71 (loudspeaker), when judgement has music sound source, open the first audio coder 2 (step S104); Judge then whether navigational system 90 closes (step S105); If when judging these navigational system 90 non-closing, music sound source is sent to the first audio coder 2 to carry out coding and decoding, to produce one first output source of sound; Play (step S106) for the first audio output unit 70 (earphone); If judge when this navigational system 90 is closed, judge whether again to play (step S107) by this second message output unit 71 (loudspeaker), if; This first output source of sound is sent to the second audio coder 3; To play (step S108), when playing by the second message output unit 71 (loudspeaker), then play (step S109) by the first message output unit 70 (earphone) as if judgement is non-by the second message output unit 71 (loudspeaker).
Please with reference to Fig. 3; Fig. 3 is the synoptic diagram of control sound playing system of the navigational system of another preferred embodiment of the present invention, and it comprises a navigational system 90, a micro treatmenting device 1, one first audio coder 2, one second audio coder 3, one first source of sound generator 4, one second source of sound generator 5, a switching device shifter 6, one first message output unit 70, one second message output unit 71, one the 3rd message output unit 72, and one the 4th message output unit 73.Wherein, the first source of sound generator 4 is in order to providing one for example to be the music sound source of MP3 source of sound, and the second source of sound generator 5 is then in order to provide the navigational system source of sound of a navigational system 90; Micro treatmenting device 1 converges current drainage via an I2C sequence and is connected to the first audio coder 2, the second audio coder 3; The first audio coder 2 is connected to the first source of sound generator 4, and switching device shifter 6; The second audio coder 3 is connected to the first audio coder 2, the second source of sound generator 5, and switching device shifter 6; Switching device shifter 6 has at least two input ends and at least two output terminals, and these at least two input ends are connected to the first audio coder 2 and the second audio coder 3; The first message output unit 70, the second message output unit 71, the 3rd message output unit 72, and the 4th message output unit 73 are connected at least two output terminals of switching device shifter 6 respectively; The aforementioned first message output unit 70 is preferably an earphone; The aforementioned second message output unit 71 is preferably a loudspeaker; Aforementioned the 3rd message output unit 72 is preferably a message modulation varying signal transmitter (FM Transmitter), and aforementioned the 4th message output unit 73 is preferably a sound equipment.
Control sound playing system with aforementioned guider; When the driver uses navigational system 90 and micro treatmenting device 1 when detecting navigational system 90 and opening; The driver can in the aforementioned first message output unit 70, the second message output unit 71, the 3rd message output unit 72, and the 4th message output unit 73 in choose one as first output device; Other chooses one as second output device, and set by micro treatmenting device 1.The aforementioned first audio coder 2 is in order to the sound size of the music sound source adjusting the first source of sound generator 4 and provide and the echo of removing the guider source of sound that the second source of sound generator 5 provides, to produce the first output source of sound.And the navigational system source of sound that micro treatmenting device 1 is set the second source of sound generator 5 to be provided is the second output source of sound of the second audio coder, 3 outputs; The second audio coder 3 can be adjusted the sound size of the navigational system source of sound that the second source of sound generator 5 provides and the echo of removing music sound source, to produce the second output source of sound.Micro treatmenting device 1 is set this switching device shifter 6 preferential output second output sources of sound, is play by this first output device; And the first output source of sound is play by this second output device.
When the driver does not use navigational system 90 and micro treatmenting device 1 when detecting navigational system 90 and closing; Micro treatmenting device 1 is with the setting cancellation of aforementioned first output device; The driver can be again in the aforementioned first message output unit 70, the second message output unit 71, the 3rd message output unit 72, and the 4th message output unit 73 in choose one as output device, and set by micro treatmenting device 1.Micro treatmenting device 1 is set the second output source of sound that the first output source of sound is 3 outputs of the second audio coder; The sound size of the music sound source that the first audio coder, 2 adjustment, the first source of sound generator 4 provides; To produce the first output source of sound; The sound size of the second audio coder, 3 adjustment, the first output source of sound is exported source of sound to produce second, and is play by this output device.
Then please with reference to Fig. 4; Fig. 4 is a process flow diagram of controlling sound playing with the control sound playing system of aforementioned buddy system; It can determine the playing priority of the navigational system source of sound that the music sound source that the first source of sound generator 4 is provided and the second source of sound generator 5 are provided; As shown in the figure, it has at first judged whether navigational system source of sound 4 (step S201), when judgement has navigational system source of sound 4; Open the second audio coder 3 (step S202); By the first message output unit 70 (earphone), the second message output unit 71 (loudspeaker), the 3rd message output unit 72 (message converts modulating signal to), and the 4th message output unit 73 (sound equipment) in choose one as one first output device (step S203), judge this first output device whether occupied (step S204), if judge that this first output device does not have occupied; One second output source of sound of these second audio coder, 3 outputs is sent to this first output device (step S205); If judge that this first output device is occupied, judge whether to select other message output unit (step S206) again, do not select other message output unit if judge; Then break off this first output device; And one second output source of sound of this second audio coder 3 outputs is sent to this first output device (step S207), if judge and will select other message output unit, then reselect other message output unit (step S203); If judge when not having navigational system source of sound 4; Open the first audio coder 2 (step S208); Judge then whether navigational system 90 closes (step S209); If judging navigational system 90 does not close; Music sound source is sent to the first audio coder 2 carrying out coding and decoding, producing one first output source of sound, by the first message output unit 70 (earphone), the second message output unit 71 (loudspeaker), the 3rd message output unit 72 (message modulation varying signal transmitter), and the 4th message output unit 73 (sound equipment) in choose one as one second output device (step S210); If judge when this navigational system 90 is closed; Then remove the seizure condition (step S211) of its shared message output unit, reselect a message output unit then as one second output device (step S210), one first output source of sound with 2 outputs of the first audio coder is sent to this second output device (step S212) at last.
The foregoing description only is to explain for ease and give an example, and the interest field that the present invention advocated is from should being as the criterion so that claim is said, but not only limits to the foregoing description.