CN103823655A - Audio output method, electronic equipment and first audio output device - Google Patents

Audio output method, electronic equipment and first audio output device Download PDF

Info

Publication number
CN103823655A
CN103823655A CN201410063044.9A CN201410063044A CN103823655A CN 103823655 A CN103823655 A CN 103823655A CN 201410063044 A CN201410063044 A CN 201410063044A CN 103823655 A CN103823655 A CN 103823655A
Authority
CN
China
Prior art keywords
audio output
output device
electronic equipment
switching signal
voice data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410063044.9A
Other languages
Chinese (zh)
Other versions
CN103823655B (en
Inventor
古文兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201410063044.9A priority Critical patent/CN103823655B/en
Publication of CN103823655A publication Critical patent/CN103823655A/en
Application granted granted Critical
Publication of CN103823655B publication Critical patent/CN103823655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an audio output method, electronic equipment and a first audio output device. The audio output method is applied to the electronic equipment. The audio output method includes the steps that the first audio output device is connected, and current audio data are controlled to be output through the first audio output device; a connected second audio output device is determined, wherein the first audio output device is different from the second audio output device; a switching signal is received, wherein the switching signal is generated when the first audio output device makes contact with the second audio output device; the switching signal is responded, and the current audio data are controlled to be output through the second audio output device instead of the first audio output device in a switching mode. Through the technical scheme, the technical problem that in the prior art, audio data cannot be switched between different audio output devices automatically is solved, and the audio output device switching efficiency is improved.

Description

A kind of audio-frequency inputting method, electronic equipment and the first audio output device
Technical field
The present invention relates to multimedia technology field, particularly a kind of audio-frequency inputting method, electronic equipment and the first audio output device.
Background technology
Along with scientific and technical development, various audio output devices emerge in an endless stream, and from the sound equipment of jointly pondering for masses to the earphone of listening to for individual, audio output device has brought great enjoyment and unlimited enjoyment to people's life.
Nowadays, no matter on bus, office even in subway, can see that inserting earplug enjoys alone the people of music and the experience of the abundant shock that shared sound equipment brings everywhere.Many times because a variety of causes, people need to be shared with other people by the audio frequency exclusively enjoying, also need audio frequency by for example, for example, exporting and produce different output effect with current audio output device (, earphone) different audio output device (, sound equipment).For example: in the time hearing a certain pleasing to the ear song, user can be shared with friend or household at one's side by this first song.So many times, user need to export being switched to another audio output device by the voice data of an audio output device output, plays as the music that earphone is play is switched to sound equipment.
But present inventor realizing in the process of technical scheme in the embodiment of the present application, finds that prior art exists following technical matters:
Between two different audio output devices, when the voice data that an audio output device will exported is switched to another audio output device output, conventionally need user to carry out following operation: first-selection, by another audio output device access electronic equipment, and then the audio output device at outputting audio data is just closed.Visible prior art exists voice data automatically switching operation process complexity between different audio output devices to cause the technical matters that work efficiency is low, brings bad experience to user.
Summary of the invention
The embodiment of the present invention provides a kind of audio-frequency inputting method, electronic equipment and the first audio output device, solve prior art sound intermediate frequency data automatically switching operation process complexity between different audio output devices and cause the technical matters that work efficiency is low, improve the efficiency of switching audio output device.
The embodiment of the present application provides a kind of audio-frequency inputting method, is applied to an electronic equipment, and described method comprises:
Connect the first audio output device, control current voice data by described the first audio output device output;
Determine the second audio output device having connected, described the first audio output device is different from described the second audio output device;
Receive a switching signal, described switching signal is the switching signal that described the first audio output device produces while contacting with described the second audio output device;
Respond described switching signal, control described current voice data and exported by described the first audio output device output switching described the second audio output device of serving as reasons.
Optionally, describedly determine that the second audio output device of having connected specifically comprises:
Obtain described second audio output device of the signal radiation scope that is positioned at described the first communication unit by the first communication unit of described electronic equipment;
Connect with described the second audio output device.
Optionally, described reception one switching signal is specially:
Receive described first audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send; Or
Receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
The embodiment of the present application also provides a kind of audio-frequency inputting method, is applied to the first audio output device, and described method comprises:
Connect with an electronic equipment;
Obtain audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time;
Respond described audio output signal, to export described current voice data;
Obtain the switching signal producing while contact with the second audio output device;
Respond described switching signal, stop the described current voice data of output, and control described the second audio output device and continue the described current voice data of output.
Optionally, described the first audio output device comprises the second communication unit, described the second communication unit can be set up wireless connections with the first communication unit of described electronic equipment, and described the second audio output device of described control continues the described current voice data of output and specifically comprises:
Obtain described second audio output device of the signal radiation scope that is positioned at described the second communication unit by described the second communication unit, and connect with described the second audio output device;
Obtain the communications identification of described the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
Optionally, described the first audio output device comprises the first data-interface, in the time that described the first audio output device contacts with described the second audio output device described in the first data-interface dock with the second data-interface of described the second audio output device;
Described the second audio output device of described control continues the described current voice data of output and specifically comprises:
Connect with described the second audio output device;
Described audio output signal is forwarded to described the second audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
The embodiment of the present application also provides a kind of electronic equipment, and described electronic equipment comprises:
Linkage unit, for connecting the first audio output device, controls current voice data by described the first audio output device output;
Determining unit, for determining the second audio output device having connected, described the first audio output device is different from described the second audio output device;
Receiving element, for receiving a switching signal, described switching signal is the switching signal that described the first audio output device produces while contacting with described the second audio output device;
Switch unit, for responding described switching signal, controls described current voice data and is exported by described the first audio output device output switching described the second audio output device of serving as reasons.
Optionally, described determining unit specifically comprises: the first communication unit, and for obtaining described second audio output device of the signal radiation scope that is positioned at described the first communication unit, so that described linkage unit and described the second audio output device connect.
Optionally, described reception one switching signal is specially: described receiving element receive described first audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send; Or
Described receiving element receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
The embodiment of the present application also provides a kind of the first audio output device, and described the first audio output device comprises:
Linkage unit, for connecting with an electronic equipment;
The first acquiring unit, for obtaining audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time;
Output unit, for responding described audio output signal, to export described current voice data;
Second acquisition unit, the switching signal producing while contact with the second audio output device for obtaining;
Control module, for responding described switching signal, stops the described current voice data of output, and controls described the second audio output device and continue the described current voice data of output.
Optionally, described the first audio output device also comprises the second communication unit, and described the second communication unit can be set up wireless connections with the first communication unit of described electronic equipment, described control control module specifically for:
Obtain described second audio output device of the signal radiation scope that is positioned at described the second communication unit by described the second communication unit, and connect with described the second audio output device;
Obtain the communications identification of described the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
Optionally, described the first audio output device comprises the first data-interface, in the time that described the first audio output device contacts with described the second audio output device described in the first data-interface dock with the second data-interface of described the second audio output device; Described control module specifically for:
Control described the first audio output device and described the second audio output device connects; Described audio output signal is forwarded to described the second audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
Above-mentioned one or more technical schemes in the embodiment of the present application, at least have following one or more technique effects:
1, in the time that electronic equipment is exported current voice data by connected the first audio output device, confirm the second audio output device having connected, and the switching signal producing when receiving the first audio output device and contacting with the second audio output device, respond the current voice data of this switching signal control by the first audio output device output switching for to be exported by the second audio output device, thereby realize the automatic switchover of voice data between different audio output devices, solve prior art sound intermediate frequency data automatically switching operation process complexity between different audio output devices and caused the technical matters that work efficiency is low, improve the efficiency of switching audio output device, promote user's experience.
2, at the audio output signal of electron gain equipment output and while exporting corresponding voice data, the switching signal producing while contact with another audio output apparatus by obtaining, responding this switching signal ends outputting audio data and controls the second audio output apparatus and continue this voice data of output, realize the technique effect that automatically voice data is switched to the output unit output frequently of another audio frequency, guarantee the free of discontinuities output of voice data, improved user's experience.
3, by the first audio output device of current outputting audio data, audio frequency output is sent to the second audio output device, realize the second audio output device outputting audio data fast, without the second audio output device is being connected on electronic equipment, simplify the operation steps of switching audio output device, promoted user's experience.
Accompanying drawing explanation
The schematic flow sheet of a kind of audio-frequency inputting method that Fig. 1 provides for the embodiment of the present application one;
Between two audio output devices that Fig. 2 provides for the embodiment of the present application one, contact schematic diagram;
The schematic flow sheet of a kind of audio-frequency inputting method that Fig. 3 provides for the embodiment of the present application two;
The switching audio output device schematic diagram that Fig. 4 provides for the embodiment of the present application two;
The block diagram of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application three;
The structural representation of a kind of audio output device that Fig. 6 provides for the embodiment of the present application four.
Embodiment
In the technical scheme that the embodiment of the present application provides, in the time that electronic equipment is exported current voice data by connected the first audio output device, confirm the second audio output device having connected, and the switching signal producing when receiving the first audio output device and contacting with the second audio output device, respond the current voice data of this switching signal control by the first audio output device output switching for to be exported by the second audio output device, thereby realize the automatic switchover of voice data between different audio output devices, solve the technical matters that prior art sound intermediate frequency data cannot automatically switch between different audio output devices, improve the efficiency of switching audio output device.
Below in conjunction with accompanying drawing, the embodiment of the present application technical scheme main realized to principle, embodiment and the beneficial effect that should be able to reach is explained in detail.
Embodiment mono-
Please refer to Fig. 1, the embodiment of the present application provides a kind of audio-frequency inputting method, is applied to an electronic equipment, and described method comprises:
S101: connect the first audio output device, control current voice data by described the first audio output device output;
S102: determine the second audio output device having connected, described the first audio output device is different from described the second audio output device;
S103: receive a switching signal, described switching signal is described the first audio output device contact time generation switching signal with described the second audio output device;
S104: respond described switching signal, control described current voice data and exported by described the first audio output device output switching described the second audio output device of serving as reasons.
In specific implementation process, this audio-frequency inputting method specifically can be applied to the electronic equipments such as mobile phone, PAD, MP4.In the time carrying out voice data output, first electronic equipment is carried out S101 and is connected the first audio output device, and wherein the first audio output device can be the self-contained audio output device of electronic equipment, audio output device that also can be separate with electronic equipment.And then electronic equipment controls current voice data by the first audio output device output after connection the first audio output device success.For example, in the time that the first audio output device is the outside speaker on mobile phone, it is that electronic equipment is communicated with outside speaker that electronic equipment connects the first audio output device, and then controlling outside speaker output needs the current voice data of playing.In the time that the first audio output device is the sound equipment separate with electronic equipment, electronic equipment first connecting sound equipment realizes the circuit path between sound equipment, and then controlling sound equipment output needs the current voice data of playing.
For voice data being switched to the second audio output device output, electronic equipment is carried out S102 after S101: determine the second audio output device having connected.This second audio output device is the audio frequency apparatus not identical with the first audio devices.Connected mode between the second audio output device and electronic equipment is not limit, and can be that wireless connections can be also wired connections.In the time that the second audio output device has wireless connections module, electronic equipment specifically can first obtain second audio output device in the signal radiation orientation that is positioned at the first communication unit in the time confirming the second audio output device having connected by electronic equipment the first communication unit; Then obtain the second audio output device with scanning and connect, confirm to have connected thus the second audio output device.For example: mobile phone can obtain the bluetooth earphone in Bluetooth signal radiation scope by its first communication unit bluetooth, and automatically set up bluetooth with it and be connected and confirm that the second audio output device having connected is bluetooth earphone.
After determining the second audio output device, carries out S102 S103: receive a switching signal, this switching signal is the first audio output device contact time generation switching signal with the second audio output device.Concrete, electronic equipment can receive the described switching signal that described the first audio output device sends, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send.Or, electronic equipment also can receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
Electronic equipment is receiving after switching signal, carries out S104 and responds this switching signal, exports switching to the second audio output device by the current voice data of the first audio output device output.It should be noted that, current voice data is the voice data that electronic equipment current time is being exported.Please refer to Fig. 2, for example: mobile phone is play music " paradise " by earphone, in electronic equipment scanning discovery wireless signal coverage, there is a wireless acoustics and set up wireless connections with it, electronic equipment is determining while having connected this wireless acoustics, if user is placed on earphone on this sound equipment sound equipment and earphone is in contact with one another, now earphone or sound equipment can generate and send a switching signal to electronic equipment, electronic equipment responds this switching signal receiving after this switching signal, the current voice data " paradise " of being exported by earphone is switched to sound equipment, control then this current voice data " paradise " of playing progress rate continuation output of the first audio output device of sound equipment.
In specific implementation process, the first audio output device that the embodiment of the present application provides and the corresponding data-interface that is provided with respectively on the second audio output device, in the time that the first audio output device contacts with the second audio output device, its corresponding data-interface is in contact with one another, can trigger the first audio output device or the second audio output device and generate switching signal, and switching signal is sent to electronic equipment, so that electronic equipment switches the audio output device of the current voice data of output.
In addition, the embodiment of the present application can also arrange a pressure transducer on the first audio output device or the second audio output device, when the first audio devices and the second audio devices are in contact with one another, when while being placed on the second audio output device as the first audio output device, the second audio output device detects pressure by pressure transducer, generate switching signal and send it to electronic equipment, electronic equipment being automatically switched and export the audio output device of current voice data.
In above-described embodiment, in the time that electronic equipment is exported current voice data by connected the first audio output device, confirm the second audio output device having connected, and the switching signal producing when receiving the first audio output device and contacting with the second audio output device, respond the current voice data of this switching signal control by the first audio output device output switching for to be exported by the second audio output device, thereby realize the automatic switchover of voice data between different audio output devices, solve prior art sound intermediate frequency data automatically switching operation process complexity between different audio output devices and caused the technical matters that work efficiency is low, improve the efficiency of switching audio output device.
Embodiment bis-
Please refer to Fig. 3, the embodiment of the present application provides a kind of audio-frequency inputting method, is applied to the first audio output device, and described method comprises:
S301: connect with an electronic equipment;
S302: obtain audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time;
S303: respond described audio output signal, to export described current voice data;
S304: respond described audio output signal, to export described current voice data;
S305: respond described switching signal, stop the described current voice data of output, and control described the second audio output device and continue the described current voice data of output.
In specific implementation process, the first audio output device is specifically as follows the devices such as earphone, sound equipment, loudspeaker.The first audio output device can be arranged on electronic equipment and with the parts that electronic equipment is integrated, can be also the individual device separate with electronic equipment.First the first audio output device needs to carry out S301 and is connected with an electronic equipment in the process of outputting audio data, and this electronic equipment has voice data is converted to the function that audio output signal is electric signal.
The first audio output apparatus is after being connected with this electronic equipment, and it is the electronic equipment electric signal that the current voice data of conversion obtains in real time that execution S302 obtains audio output signal from this electronic equipment.And then the first audio output apparatus execution S303 responds this audio output signal and exports current voice data.The first audio output device is exported current voice data and is specially: the audio output signal of acquisition is converted to voice signal output by electroacoustic transducer.
Export in the process of current voice data at the first audio output device, the first audio output device is carried out S304 and is obtained the switching signal producing while contact with the second audio output device.Concrete, the embodiment of the present application can be at the first audio output device and the corresponding data-interface that is provided with respectively on the second audio output device, in the time that the first audio output device contacts with the second audio output device, its corresponding data-interface is in contact with one another, and can trigger the first audio output device or the second audio output device and generate switching signal.Or, the embodiment of the present application can also arrange a pressure transducer on the first audio output device or the second audio output device, when the first audio devices and the second audio devices are in contact with one another, the first audio output device or the second audio output device detect the corresponding switching signal that generates of pressure.
Obtain after switching signal at the first audio output device, carry out S305 and stop the current voice data of output, and control the second audio output device and continue the current voice data of output.In specific implementation process, first audio output device control the second audio output device continues the current voice data of output specifically can be realized by following two kinds of modes:
First kind of way: when the first audio output device comprises the second communication unit, when this second communication unit can be set up wireless connections with the first communication unit of electronic equipment, audio output device obtains the second audio output device of the signal radiation scope that is positioned at the second communication unit by the second communication unit, and connects with the second audio output device; Then, the first audio output device obtains the communications identification of the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
For example: the first audio output device bluetooth earphone is connected with mobile phone, obtain the mobile phone audio output signal that in real time the current voice data of conversion obtains, and respond this audio output signal and export current audio frequency output data.Bluetooth earphone scanning obtains the second audio output device wireless acoustics in its signal radiation orientation and sets up wireless connections with this wireless acoustics, then obtains the communications identification of this wireless acoustics and this communications identification is sent to mobile phone; Mobile phone receives to setting up wireless connections with wireless acoustics after communications identification, and current audio output signal is sent to wireless acoustics, makes wireless acoustics that this audio output signal is converted to voice signal, realizes the output of current voice data.
The second way: the first audio output device that the embodiment of the present application provides comprises the first data-interface, the second audio output device comprises second data-interface corresponding with the first data-interface.In the time that the first audio output device contacts with the second audio output device, the first data-interface docks with the second data-interface of the second audio output device; The first audio output device, by the first data-interface and the second data-interface, connects with the second audio output device; Then, described audio output signal is forwarded to described the second audio output device by the first audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
Please refer to Fig. 4, for example: the first audio output device bluetooth earphone is connected with mobile phone, obtain the mobile phone audio output signal that in real time the current voice data of conversion obtains, and respond this audio output signal and export current audio frequency output data.When bluetooth earphone is swept in the groove being inserted at sound equipment, the first data-interface of bluetooth earphone docks with the second data-interface in sound equipment groove, triggering bluetooth earphone generates switching signal or obtains the switching signal that sound equipment generates, and respond switching signal end self continue output current voice data, connect by the first data-interface and the second data-interface and the second audio output device simultaneously, then audio output signal corresponding current voice data is transmitted to sound equipment, make sound equipment receive this audio output signal and this audio output signal is converted to voice signal, realize the output of current voice data.
In above-described embodiment, at the audio output signal of electron gain equipment output and while exporting corresponding voice data, the switching signal producing while contact with another audio output apparatus by obtaining, responding this switching signal ends outputting audio data and controls the second audio output apparatus and continue this voice data of output, realize the technique effect that automatically voice data is switched to the output unit output frequently of another audio frequency, guarantee the free of discontinuities output of voice data, improved user's experience.
And, audio frequency output is sent to the second audio output device by the first audio output device by current outputting audio data, realize the second audio output device outputting audio data fast, without the second audio output device is being connected on electronic equipment, simplify the operation steps of switching audio output device, promoted user's experience.
Embodiment tri-
Please refer to Fig. 5, the embodiment of the present application provides a kind of electronic equipment, and described electronic equipment comprises:
Linkage unit 501, for connecting the first audio output device, controls current voice data by described the first audio output device output;
Determining unit 502, for determining the second audio output device having connected, described the first audio output device is different from described the second audio output device;
Receiving element 503, for receiving a switching signal, described switching signal is the switching signal that described the first audio output device produces while contacting with described the second audio output device;
Switch unit 504, for responding described switching signal, controls described current voice data and is exported by described the first audio output device output switching described the second audio output device of serving as reasons.
In specific implementation process, described determining unit 502 specifically comprises: the first communication unit, for obtaining described second audio output device of the signal radiation scope that is positioned at described the first communication unit, so that described linkage unit and described the second audio output device connect.
In specific implementation process, described reception one switching signal is specially: described receiving element receive described first audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send; Or
Described receiving element receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
Due to virtual bench corresponding to audio-frequency inputting method of the electronic equipment in the present embodiment for providing with embodiment mono-, so its concrete course of work has just no longer been specifically described.
Embodiment tetra-
Please refer to Fig. 6, the embodiment of the present application provides a kind of the first audio output device, and described the first audio output device comprises:
Linkage unit 601, for connecting with an electronic equipment;
The first acquiring unit 602, for obtaining audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time;
Output unit 603, for responding described audio output signal, to export described current voice data;
Second acquisition unit 604, the switching signal producing while contact with the second audio output device for obtaining;
Control module 605, for responding described switching signal, stops the described current voice data of output, and controls described the second audio output device and continue the described current voice data of output.
In specific implementation process, described the first audio output device comprises the second communication unit, described the second communication unit can be set up wireless connections with the first communication unit of described electronic equipment, described control module 605 specifically for: obtain by described the second communication unit described second audio output device of signal radiation scope that is positioned at described the second communication unit, and connect with described the second audio output device; Obtain the communications identification of described the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
In specific implementation process, described the first audio output device comprises the first data-interface, in the time that described the first audio output device contacts with described the second audio output device described in the first data-interface dock with the second data-interface of described the second audio output device; Described control module 605 is specifically for controlling described the first audio output device and described the second audio output device connects; Described audio output signal is forwarded to described the second audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
Due to virtual bench corresponding to audio-frequency inputting method of the electronic equipment in the present embodiment for providing with embodiment bis-, so its concrete course of work has just no longer been specifically described.
By the one or more technical schemes in the embodiment of the present application, can be achieved as follows one or more technique effects:
1, in the time that electronic equipment is exported current voice data by connected the first audio output device, confirm the second audio output device having connected, and the switching signal producing when receiving the first audio output device and contacting with the second audio output device, respond the current voice data of this switching signal control by the first audio output device output switching for to be exported by the second audio output device, thereby realize the automatic switchover of voice data between different audio output devices, solve prior art sound intermediate frequency data automatically switching operation process complexity between different audio output devices and caused the technical matters that work efficiency is low, improve the efficiency of switching audio output device, promote user's experience.
2, at the audio output signal of electron gain equipment output and while exporting corresponding voice data, the switching signal producing while contact with another audio output apparatus by obtaining, responding this switching signal ends outputting audio data and controls the second audio output apparatus and continue this voice data of output, realize the technique effect that automatically voice data is switched to the output unit output frequently of another audio frequency, guarantee the free of discontinuities output of voice data, improved user's experience.
3, by the first audio output device of current outputting audio data, audio frequency output is sent to the second audio output device, realize the second audio output device outputting audio data fast, without the second audio output device is being connected on electronic equipment, simplify the operation steps of switching audio output device, promoted user's experience.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.
Specifically, computer program instructions corresponding to audio-frequency inputting method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, in the time that the computer program instructions corresponding with audio-frequency inputting method in storage medium read or be performed by an electronic equipment, comprise the steps:
Connect the first audio output device, control current voice data by the first audio output device output; Determine the second audio output device having connected, described the first audio output device is different from described the second audio output device; Receive a switching signal, described switching signal is the switching signal that described the first audio output device produces while contacting with described the second audio output device; Respond described switching signal, control described current voice data and exported by described the first audio output device output switching described the second audio output device of serving as reasons.
Optionally, describedly determine that the second audio output device of having connected specifically comprises: described the second audio output device that obtains the signal radiation scope that is positioned at described the first communication unit by the first communication unit of described electronic equipment; Connect with described the second audio output device.
Optionally, described reception one switching signal is specially: receive described first audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send; Or
Receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
In the time that the computer program instructions corresponding with audio-frequency inputting method in storage medium read or be performed by an electronic equipment, can also comprise the steps:
Connect with an electronic equipment; Obtain audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time; Respond described audio output signal, to export described current voice data; Obtain the switching signal producing while contact with the second audio output device; Respond described switching signal, stop the described current voice data of output, and control described the second audio output device and continue the described current voice data of output.
Optionally, described the first audio output device comprises the second communication unit, described the second communication unit can be set up wireless connections with the first communication unit of described electronic equipment, described the second audio output device of described control continues the described current voice data of output and specifically comprises: obtain described second audio output device of the signal radiation scope that is positioned at described the second communication unit by described the second communication unit, and connect with described the second audio output device; Obtain the communications identification of described the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
Optionally, described the first audio output device comprises the first data-interface, in the time that described the first audio output device contacts with described the second audio output device described in the first data-interface dock with the second data-interface of described the second audio output device; Described the second audio output device of described control continues the described current voice data of output and specifically comprises: connect with described the second audio output device; Described audio output signal is forwarded to described the second audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the modification of the scope of the invention.Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (12)

1. a method for audio frequency output, is applied to an electronic equipment, and described method comprises:
Connect the first audio output device, control current voice data by described the first audio output device output;
Determine the second audio output device having connected, described the first audio output device is different from described the second audio output device;
Receive a switching signal, described switching signal is the switching signal that described the first audio output device produces while contacting with described the second audio output device;
Respond described switching signal, control described current voice data and exported by described the first audio output device output switching described the second audio output device of serving as reasons.
2. the method for claim 1, is characterized in that, described definite the second audio output device having connected specifically comprises:
Obtain described second audio output device of the signal radiation scope that is positioned at described the first communication unit by the first communication unit of described electronic equipment;
Connect with described the second audio output device.
3. method as claimed in claim 1 or 2, is characterized in that, described reception one switching signal is specially:
Receive described first audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send; Or
Receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
4. an audio-frequency inputting method, is applied to the first audio output device, and described method comprises:
Connect with an electronic equipment;
Obtain audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time;
Respond described audio output signal, to export described current voice data;
Obtain the switching signal producing while contact with the second audio output device;
Respond described switching signal, stop the described current voice data of output, and control described the second audio output device and continue the described current voice data of output.
5. method as claimed in claim 4, it is characterized in that, described the first audio output device comprises the second communication unit, described the second communication unit can be set up wireless connections with the first communication unit of described electronic equipment, and described the second audio output device of described control continues the described current voice data of output and specifically comprises:
Obtain described second audio output device of the signal radiation scope that is positioned at described the second communication unit by described the second communication unit, and connect with described the second audio output device;
Obtain the communications identification of described the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
6. method as claimed in claim 4, it is characterized in that, described the first audio output device comprises the first data-interface, in the time that described the first audio output device contacts with described the second audio output device described in the first data-interface dock with the second data-interface of described the second audio output device;
Described the second audio output device of described control continues the described current voice data of output and specifically comprises:
Connect with described the second audio output device;
Described audio output signal is forwarded to described the second audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
7. an electronic equipment, described electronic equipment comprises:
Linkage unit, for connecting the first audio output device, controls current voice data by described the first audio output device output;
Determining unit, for determining the second audio output device having connected, described the first audio output device is different from described the second audio output device;
Receiving element, for receiving a switching signal, described switching signal is the switching signal that described the first audio output device produces while contacting with described the second audio output device;
Switch unit, for responding described switching signal, controls described current voice data and is exported by described the first audio output device output switching described the second audio output device of serving as reasons.
8. electronic equipment as claimed in claim 7, is characterized in that, described determining unit specifically comprises:
The first communication unit, for obtaining described second audio output device of the signal radiation scope that is positioned at described the first communication unit, so that described linkage unit and described the second audio output device connect.
9. electronic equipment as claimed in claim 7 or 8, is characterized in that, described reception one switching signal is specially:
Described receiving element receive described first audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the first audio output device generate and send; Or
Described receiving element receive described second audio output device send described switching signal, when described switching signal is contacted with described the second audio output device by described the first audio output device described in the second audio output device generate and send.
10. first audio output device, described the first audio output device comprises:
Linkage unit, for connecting with an electronic equipment;
The first acquiring unit, for obtaining audio output signal from described electronic equipment, described audio output signal is the described electronic equipment electric signal that the current voice data of conversion obtains in real time;
Output unit, for responding described audio output signal, to export described current voice data;
Second acquisition unit, the switching signal producing while contact with the second audio output device for obtaining;
Control module, for responding described switching signal, stops the described current voice data of output, and controls described the second audio output device and continue the described current voice data of output.
11. devices as claimed in claim 10, it is characterized in that, described the first audio output device also comprises the second communication unit, and described the second communication unit can be set up wireless connections with the first communication unit of described electronic equipment, described control control module specifically for:
Obtain described second audio output device of the signal radiation scope that is positioned at described the second communication unit by described the second communication unit, and connect with described the second audio output device;
Obtain the communications identification of described the second audio output device, and described communications identification is sent to described electronic equipment, to make described electronic equipment and described the second audio output device set up wireless connections, and continue obtain described audio output signal and export described current voice data by described the second audio output device.
12. devices as claimed in claim 10, it is characterized in that, described the first audio output device comprises the first data-interface, in the time that described the first audio output device contacts with described the second audio output device described in the first data-interface dock with the second data-interface of described the second audio output device; Described control module specifically for:
Control described the first audio output device and described the second audio output device connects; Described audio output signal is forwarded to described the second audio output device, to make described the second audio output device receive described audio output signal the described current voice data of corresponding output.
CN201410063044.9A 2014-02-24 2014-02-24 A kind of audio-frequency inputting method, electronic equipment and the first audio output device Active CN103823655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410063044.9A CN103823655B (en) 2014-02-24 2014-02-24 A kind of audio-frequency inputting method, electronic equipment and the first audio output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410063044.9A CN103823655B (en) 2014-02-24 2014-02-24 A kind of audio-frequency inputting method, electronic equipment and the first audio output device

Publications (2)

Publication Number Publication Date
CN103823655A true CN103823655A (en) 2014-05-28
CN103823655B CN103823655B (en) 2018-02-27

Family

ID=50758743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410063044.9A Active CN103823655B (en) 2014-02-24 2014-02-24 A kind of audio-frequency inputting method, electronic equipment and the first audio output device

Country Status (1)

Country Link
CN (1) CN103823655B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980884A (en) * 2015-06-09 2015-10-14 联想(北京)有限公司 Information transmission method and information transmission device
CN105679350A (en) * 2016-01-11 2016-06-15 广东欧珀移动通信有限公司 Audio playing method and device
CN106445453A (en) * 2016-09-23 2017-02-22 北京小米移动软件有限公司 Method and device for switching audio output paths
CN107078816A (en) * 2014-11-06 2017-08-18 汤姆逊许可公司 Audio/video broadcast content plays the method and corresponding device of switching
CN109326287A (en) * 2018-09-29 2019-02-12 上海与德科技有限公司 A kind of data transmission method for uplink, device, equipment and storage medium
CN111176605A (en) * 2019-11-29 2020-05-19 联想(北京)有限公司 Audio output method and electronic equipment
CN111586662A (en) * 2020-05-22 2020-08-25 维沃移动通信有限公司 Sharing method and audio output device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964838A (en) * 2009-07-23 2011-02-02 鸿富锦精密工业(深圳)有限公司 Communication device with automatic use-mode switching function and method thereof
US20120051551A1 (en) * 2010-08-26 2012-03-01 Hon Hai Precision Industry Co., Ltd. Electronic device and method for controlling audio output
CN102843464A (en) * 2012-08-03 2012-12-26 深圳市金立通信设备有限公司 System and method utilizing distance sensor to adjust call audio output mode
CN103593127A (en) * 2013-11-25 2014-02-19 华为终端有限公司 Method for selecting audio output devices and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964838A (en) * 2009-07-23 2011-02-02 鸿富锦精密工业(深圳)有限公司 Communication device with automatic use-mode switching function and method thereof
US20120051551A1 (en) * 2010-08-26 2012-03-01 Hon Hai Precision Industry Co., Ltd. Electronic device and method for controlling audio output
CN102843464A (en) * 2012-08-03 2012-12-26 深圳市金立通信设备有限公司 System and method utilizing distance sensor to adjust call audio output mode
CN103593127A (en) * 2013-11-25 2014-02-19 华为终端有限公司 Method for selecting audio output devices and terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107078816A (en) * 2014-11-06 2017-08-18 汤姆逊许可公司 Audio/video broadcast content plays the method and corresponding device of switching
US10270549B2 (en) 2014-11-06 2019-04-23 Interdigital Ce Patent Holdings Method of audio/video broadcast play out handover and corresponding apparatus
CN107078816B (en) * 2014-11-06 2019-11-01 交互数字Ce专利控股公司 Audio/video broadcast content plays the method switched and corresponding device
CN104980884A (en) * 2015-06-09 2015-10-14 联想(北京)有限公司 Information transmission method and information transmission device
CN104980884B (en) * 2015-06-09 2018-12-14 联想(北京)有限公司 Information transferring method and information carrying means
CN105679350A (en) * 2016-01-11 2016-06-15 广东欧珀移动通信有限公司 Audio playing method and device
CN105679350B (en) * 2016-01-11 2019-05-03 Oppo广东移动通信有限公司 A kind of method and device that audio plays
CN106445453A (en) * 2016-09-23 2017-02-22 北京小米移动软件有限公司 Method and device for switching audio output paths
CN109326287A (en) * 2018-09-29 2019-02-12 上海与德科技有限公司 A kind of data transmission method for uplink, device, equipment and storage medium
CN111176605A (en) * 2019-11-29 2020-05-19 联想(北京)有限公司 Audio output method and electronic equipment
CN111586662A (en) * 2020-05-22 2020-08-25 维沃移动通信有限公司 Sharing method and audio output device

Also Published As

Publication number Publication date
CN103823655B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN103823655A (en) Audio output method, electronic equipment and first audio output device
CN110166877B (en) Audio playing method and device of TWS earphone and charging box
US11909239B2 (en) Wireless charging dock
CN104012111B (en) Subminiature earphone
CN105679345A (en) Audio processing method and electronic equipment
WO2020019843A1 (en) Microphone hole blockage detection method and related product
US9479858B2 (en) Method and system for electronic packaging for a headset
CN109121059A (en) Loudspeaker plug-hole detection method and Related product
CN105392032A (en) Method and apparatus for controlling multimedia playing
CN105425951A (en) Application interaction control method and device
US20230370774A1 (en) Bluetooth speaker control method and system, storage medium, and mobile terminal
CN104035350A (en) Headphone jack based control system and method and headphone jack device
CN103974168A (en) Information processing method and electronic devices
CN203279140U (en) Sound equipment
CN105187993A (en) Three-dimensional stereo headphone device and recovery method
CN104066033A (en) Bluetooth sound box system and using method thereof
CN105554230A (en) Voice communication circuit and hand-held terminal
WO2020042491A9 (en) Headphone far-field interaction method, headphone far-field interaction accessory, and wireless headphones
CN203912165U (en) Bluetooth loudspeaker box system
CN210725291U (en) Audio earphone with multiple sound effect functions
CN110381418B (en) Loudspeaking device, relay device and mobile terminal
CN104464763A (en) Method and device for processing information
CN109120297B (en) Earphone far-field interaction method, earphone far-field interaction accessory and wireless earphone
CN203399276U (en) Audio frequency power amplification device
CN105718157A (en) Information processing method, electronic equipment and information processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant