CN110286874A - A kind of processing method and electronic equipment - Google Patents

A kind of processing method and electronic equipment Download PDF

Info

Publication number
CN110286874A
CN110286874A CN201910579818.6A CN201910579818A CN110286874A CN 110286874 A CN110286874 A CN 110286874A CN 201910579818 A CN201910579818 A CN 201910579818A CN 110286874 A CN110286874 A CN 110286874A
Authority
CN
China
Prior art keywords
audio output
output apparatus
audio
equipment
control instruction
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
CN201910579818.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 CN201910579818.6A priority Critical patent/CN110286874A/en
Publication of CN110286874A publication Critical patent/CN110286874A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

This application discloses a kind of processing method and electronic equipments, determine that the audio output apparatus being connected with the first equipment includes at least the first audio output apparatus and the second audio output apparatus, control instruction is obtained by input unit, exports the audio data of the first equipment by the first audio output apparatus and/or the second audio output apparatus according to control instruction control.In this programme when the audio output apparatus being connected with the first equipment is no less than two, can control which audio output apparatus to export audio especially by according to control instruction, the control of audio output can be carried out without plugging audio output apparatus to different audio output apparatus by realizing, convenience is brought for user's operation, improves user experience.

Description

A kind of processing method and electronic equipment
Technical field
This application involves process field more particularly to a kind of processing method and electronic equipments.
Background technique
Currently, electronic equipment, such as: mobile phone, computer, after electronic equipment is inserted into earphone, the included sound of electronic equipment Frequency equipment cannot then export audio, can only export audio by earphone;If desired the audio frequency apparatus carried by electronic equipment is defeated Audio out then needs to pull up earphone, this just makes troubles for user's operation.
Summary of the invention
In view of this, the application provides a kind of processing method and electronic equipment, concrete scheme are as follows:
A kind of processing method is applied to the first equipment, comprising:
Determine that the audio output apparatus being connected with first equipment includes at least the first audio output apparatus and the second sound Frequency output equipment;
Control instruction is obtained by input unit;
According to control instruction control by first audio output apparatus, and/or, second audio output is set The standby audio data for exporting first equipment.
Further, the acquisition control instruction, comprising:
The input unit of first equipment obtains control instruction;
Or,
Graphic user interface shown by the display screen of first equipment obtains control instruction.
Further, the acquisition control instruction, comprising:
Environmental information is obtained, control instruction is generated according to the environmental information, so as to according to the environmental information tune Section exports the audio output apparatus of the audio data of first equipment.
Further, further includes:
If it is determined that the audio output apparatus being connected with first equipment includes at least the first audio output apparatus and second Audio output apparatus chooses the audio data that default audio output equipment exports the electronic equipment, until control instruction is obtained, The default audio output equipment is first audio output apparatus.
Further, described to pass through first audio output apparatus according to control instruction control, and/or, it is described Second audio output apparatus exports the audio data of first equipment, comprising:
Pass through the first audio number of the first application of first audio output apparatus output according to control instruction control According to, and pass through the second audio data of the second application of second audio output apparatus output.
A kind of electronic equipment, comprising: input unit and processor, in which:
The input unit is for obtaining control instruction;
The processor is for determining that it is defeated that the audio output apparatus being connected with the electronic equipment includes at least the first audio Equipment and the second audio output apparatus out obtain the control instruction obtained by the input unit, according to the control instruction First audio output apparatus is controlled, and/or, second audio output apparatus exports the audio number of the electronic equipment According to.
It is further, described that control instruction is obtained by the input unit, comprising:
Control instruction is obtained by the input unit of first equipment;
Or,
Graphic user interface shown by display screen by first equipment obtains control instruction.
Further, the input unit includes: sensor, wherein
The sensor obtains environmental information, and the processor generates control instruction according to the environmental information, so as to energy It is enough that the audio output apparatus for exporting the audio data of the electronic equipment is adjusted according to the environmental information.
Further, the processor is also used to:
If it is determined that the audio output apparatus being connected with the electronic equipment includes at least the first audio output apparatus and second Audio output apparatus chooses the audio data that default audio output equipment exports the electronic equipment, until control instruction is obtained, The default audio output equipment is first audio output apparatus.
Further, the processor passes through first audio output apparatus according to the control instruction, and/or, institute State the audio data that the second audio output apparatus exports the electronic equipment, comprising:
The processor passes through the first application of first audio output apparatus output according to control instruction control First audio data, and pass through the second audio data of the second application of second audio output apparatus output.
It can be seen from the above technical proposal that processing method disclosed in the present application and electronic equipment, determining and the first equipment Connected audio output apparatus includes at least the first audio output apparatus and the second audio output apparatus, is obtained by input unit Control instruction is set according to control instruction control by the first audio output apparatus and/or the second audio output apparatus output first Standby audio data.In this programme when the audio output apparatus being connected with the first equipment is no less than two, it can be referred to according to control Enable control exports audio especially by which audio output apparatus, realizing can be to not without plugging audio output apparatus Same audio output apparatus carries out the control of audio output, brings convenience for user's operation, improves user experience.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of processing method disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow chart of processing method disclosed in the embodiment of the present application;
Fig. 3 is a kind of flow chart of processing method disclosed in the embodiment of the present application;
Fig. 4 is a kind of flow chart of processing method disclosed in the embodiment of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
This application discloses a kind of processing methods, are applied to the first equipment, and flow chart is as shown in Figure 1, comprising:
Step S11, the audio output apparatus that determination is connected with the first equipment includes at least the first audio output apparatus and the Two audio output apparatus;
Audio of the audio output apparatus for output electronic equipment passes through when having audio to need to export in electronic equipment The audio output apparatus being connected with electronic equipment is exported.
Wherein, audio output apparatus can be the audio output apparatus external with electronic equipment, such as: earphone, or, external sound Case, audio output apparatus may be the audio output apparatus built in electronic equipment, such as: the built-in speaker of electronic equipment.
When the audio output apparatus of electronic equipment be 1 when, no matter the audio output apparatus be it is external or built-in, It when electronic equipment has audio to need to export, is exported by this audio output apparatus;
When the audio output apparatus of electronic equipment is multiple, it is necessary to determine especially by which audio output apparatus It is exported.Currently, working as the existing included loudspeaker of electronic equipment, and when having peripheral earphone, if there is audio to need to export, directly write from memory Recognize and exported by peripheral earphone, and can't be carried out in the case where there is peripheral earphone by other audio output apparatus Audio output.
In scheme disclosed in the present embodiment, be audio output apparatus be it is multiple when, determine specific sound according to different situations Frequency output equipment, and it is not the audio output apparatus output for directlying adopt its default.
Step S12, control instruction is obtained by input unit;
Step S13, according to control instruction control by the first audio output apparatus, and/or, the second audio output apparatus is defeated The audio data of first equipment out.
When detecting that the audio output apparatus built in the audio output apparatus and electronic equipment that are connected with electronic equipment is total When having multiple, need therefrom to choose this audio output according to control instruction defeated eventually for the audio of output electronic equipment audio Equipment out, determination be by the audio of the first audio output apparatus output electronic equipment, or pass through the second audio output apparatus The audio of output electronic equipment, or electronics is exported simultaneously by the first audio output apparatus and the second audio output apparatus and is set Standby audio, or distinguish by the first audio output apparatus and the second audio output apparatus the audio of output electronic equipment, To reduce the plug number of external output equipment.
Control instruction can obtain control instruction by input unit for electronic equipment, or by electronic equipment Display screen display graphic user interface, obtain control instruction in graphical user interfaces.
When electronic equipment obtains control instruction by input unit, user directly can make electricity by the input of input unit Sub- equipment gets the instruction switched over to audio output apparatus or the instruction being configured to audio output apparatus.
Wherein, input unit can be keyboard, mouse or microphone etc..When input unit is keyboard, it is specifically as follows: Preset the combination of certain shortcut keys such as: Ctrl+FN can be realized pair when combining Ctrl+FN by the shortcut key on lower keyboard The switching of audio output apparatus;When input unit is microphone, it is specifically as follows: presets phonetic order, work as microphone When detecting the phonetic order, the processor of electronic equipment just switches over or is arranged to audio output apparatus.
Refer to when by the display screen display graphic user interface in electronic equipment, obtaining control in graphical user interfaces When enabling, when user needs to switch over audio output apparatus or be arranged, graphic user interface is recalled, is existed by input unit Switching or setting to audio output apparatus are realized in the operation of graphic user interface.
Processing method disclosed in the present embodiment determines that the audio output apparatus being connected with the first equipment includes at least the first sound Frequency output equipment and the second audio output apparatus obtain control instruction by input unit, pass through the according to control instruction control One audio output apparatus and/or the second audio output apparatus export the audio data of the first equipment.It is set in this programme when with first Which when standby connected audio output apparatus is no less than two, can be controlled according to control instruction especially by audio output apparatus Audio is exported, the control of audio output can be carried out without plugging audio output apparatus to different audio output apparatus by realizing System brings convenience for user's operation, improves user experience.
Present embodiment discloses a kind of processing methods, are applied to the first equipment, and flow chart is as shown in Figure 2, comprising:
Step S21, the audio output apparatus that determination is connected with the first equipment includes at least the first audio output apparatus and the Two audio output apparatus;
Step S22, environmental information is obtained by input unit, generates control instruction according to environmental information, so as to according to The audio output apparatus of the audio data of the first equipment of output is adjusted according to environmental information;
Input unit can be specially sensor, obtain environmental information by sensor, generate control according to environmental information Instruction determines the audio output apparatus of the audio data for exporting the first equipment according to control instruction, to realize basis The selection of environmental information control audio output apparatus.
Environmental information can be with are as follows: the environmental volume being presently in, or, ambient image, or, the position that electronic equipment is presently in It sets, alternatively, above each factor combines.
Wherein, ambient image can specifically: by image acquisition device image, to judge that electronic equipment is currently located The status information of environment, such as: determining that current electronic device is in office or to be in, or on the way;It can also pass through Image acquisition device to image determine in environment locating for electronic equipment either with or without other people, alternatively, other people are What does, is to work or having a joke.
The position that electronic equipment is presently in can directly be determined by GPS, preset the position of family and office, with And the position that other users are often gone or passed by can be by pre- thus when determining electronic equipment present position by GPS The information being first arranged determines that it is currently at house still in office or gymnasium etc..
When the environmental information of acquisition show current environment be rest state, and by image determine in current environment except use Outdoor there is no other people, and are determined currently just at home by GPS, then, at this point it is possible to select external speaker as sound Frequency output equipment needs the audio exported to carry out outer put electronic equipment;If the environmental information obtained shows current environment for peace Quiet state, and determined by image except there is no other people with outdoor in current environment, but determined currently by GPS In library, then, at this point, earphone can only be selected as audio output apparatus, the audio that electronic equipment needs to export is carried out Output;Alternatively, then directly being set by earphone as audio output when the environmental information obtained shows more noisy in current environment It is standby to need the audio exported to export electronic equipment.
It further, can be with are as follows:
Current electronic device carries out the data of audio output by the first audio output apparatus, at this point, detecting that environment is believed Breath changes, and determines environmental information, and determine the need for switching over audio output apparatus according to environmental information.
Such as: it is currently being exported by audio data of the external speaker to electronic equipment, at this point, detecting electronics Environmental information locating for equipment shows that current environment is rest state, and is determined and removed in current environment with open air simultaneously by image It is determined currently just at home without other people, and by GPS;When detecting that environmental information changes, such as: detecting current There are other people to go home in environment, then switching audio output equipment, the output of audio output is carried out by earphone, avoids passing through outer put Equipment output audio data bothers other people.
Step S23, according to control instruction control by the first audio output apparatus, and/or, the second audio output apparatus is defeated The audio data of first equipment out.
Processing method disclosed in the present embodiment determines that the audio output apparatus being connected with the first equipment includes at least the first sound Frequency output equipment and the second audio output apparatus obtain control instruction by input unit, pass through the according to control instruction control One audio output apparatus and/or the second audio output apparatus export the audio data of the first equipment.It is set in this programme when with first Which when standby connected audio output apparatus is no less than two, can be controlled according to control instruction especially by audio output apparatus Audio is exported, the control of audio output can be carried out without plugging audio output apparatus to different audio output apparatus by realizing System brings convenience for user's operation, improves user experience.
Present embodiment discloses a kind of processing methods, are applied to the first equipment, and flow chart is as shown in Figure 3, comprising:
Step S31, the audio output apparatus that determination is connected with the first equipment includes at least the first audio output apparatus and the Two audio output apparatus;
Step S32, the audio data of default audio output equipment output electronic equipment is chosen, default audio output equipment is First audio output apparatus;
Step S33, control instruction is obtained by input unit;
Step S34, according to control instruction control by the first audio output apparatus, and/or, the second audio output apparatus is defeated The audio data of first equipment out.
If thering is audio data to be exported in electronic equipment, at this time, it is determined that the audio being connected with electronic equipment is defeated Equipment is multiple out, then is directly exported by default audio output equipment to audio data to be output, until electronics is set The standby control instruction for getting control audio output apparatus.
After electronic equipment gets control instruction, is then controlled according to control instruction and set especially by which audio output The standby output for carrying out audio data is then chosen default audio output equipment and is exported, this is just before getting control instruction Audio data has been avoided to need to export, and user is not configured the audio output apparatus for exporting the audio data and leads The problem of cause.
Preferably, default audio output equipment is the first audio output apparatus, wherein the first audio output apparatus are as follows: ear Machine.
Further, it is which audio output is set that control instruction controlled, which not only includes for export audio data, It is standby, it can also include: which kind of audio audio data is exported by;Alternatively, passing through high pitch or bass output audio frequency evidence.
Such as: audio data is exported by the first audio of the first audio output apparatus according to control instruction control;Alternatively, Audio data etc. is exported with high pitch by the second audio of the second audio output apparatus according to control instruction control.
In addition, control instruction can also control the first audio output apparatus and the second audio output apparatus does not export audio Data are in mute state even if electronic equipment either outer release is played by earphone.
Processing method disclosed in the present embodiment determines that the audio output apparatus being connected with the first equipment includes at least the first sound Frequency output equipment and the second audio output apparatus obtain control instruction by input unit, pass through the according to control instruction control One audio output apparatus and/or the second audio output apparatus export the audio data of the first equipment.It is set in this programme when with first Which when standby connected audio output apparatus is no less than two, can be controlled according to control instruction especially by audio output apparatus Audio is exported, the control of audio output can be carried out without plugging audio output apparatus to different audio output apparatus by realizing System brings convenience for user's operation, improves user experience.
Present embodiment discloses a kind of processing methods, are applied to the first equipment, and flow chart is as shown in Figure 4, comprising:
Step S41, the audio output apparatus that determination is connected with the first equipment includes at least the first audio output apparatus and the Two audio output apparatus;
Step S42, control instruction is obtained by input unit;
Step S43, pass through the first audio number of the first application of the first audio output apparatus output according to control instruction control According to, and pass through the second audio data of the second application of the second audio output apparatus output.
When the audio output apparatus being connected with electronic equipment is multiple, this multiple audio output apparatus can be made defeated simultaneously Audio data out, this multiple audio output apparatus can export identical audio data simultaneously, can also export simultaneously different Audio data.
Specifically, exporting the first audio data by the first audio output apparatus, exported by the second audio output apparatus Second audio data, the first audio data may be the same or different with second audio data.
When the first audio data is identical as second audio data, the first application is identical as the second application, and the first audio is defeated Equipment can be external speaker out, and the second audio output apparatus is earphone;Alternatively, the first audio output apparatus is the first earphone, Second audio output apparatus is the second earphone, and the first earphone is different from the second earphone;
When the first audio data and when second audio data difference, the first application can be identical with the second application, can also be with Difference, the first audio output apparatus can be external speaker, and the second audio output apparatus is earphone;Alternatively, the first audio output Equipment is the first earphone, and the second audio output apparatus is the second earphone, and the first earphone is different from the second earphone.
If the first audio data is different from second audio data, and the first application applies different, concrete scene from second It can be with are as follows: the song that the first application is played by wired earphone passes through the sound in the TV play of the second application of wireless headset output Frequently.
Processing method disclosed in the present embodiment determines that the audio output apparatus being connected with the first equipment includes at least the first sound Frequency output equipment and the second audio output apparatus obtain control instruction by input unit, pass through the according to control instruction control One audio output apparatus and/or the second audio output apparatus export the audio data of the first equipment.It is set in this programme when with first Which when standby connected audio output apparatus is no less than two, can be controlled according to control instruction especially by audio output apparatus Audio is exported, the control of audio output can be carried out without plugging audio output apparatus to different audio output apparatus by realizing System brings convenience for user's operation, improves user experience.
Present embodiment discloses a kind of electronic equipment, structural schematic diagram is as shown in Figure 5, comprising:
Input unit 51 and processor 52.
Wherein, input unit 51 is for obtaining control instruction;
Processor 52 is for determining that the audio output apparatus being connected with electronic equipment includes at least the first audio output apparatus And second audio output apparatus, the control instruction obtained by input unit is obtained, it is defeated according to the first audio of control instruction control Equipment out, and/or, the audio data of the second audio output apparatus output electronic equipment.
Audio of the audio output apparatus for output electronic equipment passes through when having audio to need to export in electronic equipment The audio output apparatus being connected with electronic equipment is exported.
Wherein, audio output apparatus can be the audio output apparatus external with electronic equipment, such as: earphone, or, external sound Case, audio output apparatus may be the audio output apparatus built in electronic equipment, such as: the built-in speaker of electronic equipment.
When the audio output apparatus of electronic equipment be 1 when, no matter the audio output apparatus be it is external or built-in, It when electronic equipment has audio to need to export, is exported by this audio output apparatus;
When the audio output apparatus of electronic equipment is multiple, it is necessary to determine especially by which audio output apparatus It is exported.Currently, working as the existing included loudspeaker of electronic equipment, and when having peripheral earphone, if there is audio to need to export, directly write from memory Recognize and exported by peripheral earphone, and can't be carried out in the case where there is peripheral earphone by other audio output apparatus Audio output.
In scheme disclosed in the present embodiment, be audio output apparatus be it is multiple when, determine specific sound according to different situations Frequency output equipment, and it is not the audio output apparatus output for directlying adopt its default.
When detecting that the audio output apparatus built in the audio output apparatus and electronic equipment that are connected with electronic equipment is total When having multiple, need therefrom to choose this audio output according to control instruction defeated eventually for the audio of output electronic equipment audio Equipment out, determination be by the audio of the first audio output apparatus output electronic equipment, or pass through the second audio output apparatus The audio of output electronic equipment, or electronics is exported simultaneously by the first audio output apparatus and the second audio output apparatus and is set Standby audio, or distinguish by the first audio output apparatus and the second audio output apparatus the audio of output electronic equipment, To reduce the plug number of external output equipment.
Control instruction can obtain control instruction by input unit for electronic equipment, or by electronic equipment Display screen display graphic user interface, obtain control instruction in graphical user interfaces.
When electronic equipment obtains control instruction by input unit, user directly can make electricity by the input of input unit Sub- equipment gets the instruction switched over to audio output apparatus or the instruction being configured to audio output apparatus.
Wherein, input unit can be keyboard, mouse or microphone etc..When input unit is keyboard, it is specifically as follows: Preset the combination of certain shortcut keys such as: Ctrl+FN can be realized pair when combining Ctrl+FN by the shortcut key on lower keyboard The switching of audio output apparatus;When input unit is microphone, it is specifically as follows: presets phonetic order, work as microphone When detecting the phonetic order, the processor of electronic equipment just switches over or is arranged to audio output apparatus.
Refer to when by the display screen display graphic user interface in electronic equipment, obtaining control in graphical user interfaces When enabling, when user needs to switch over audio output apparatus or be arranged, graphic user interface is recalled, is existed by input unit Switching or setting to audio output apparatus are realized in the operation of graphic user interface.
Further, input unit includes sensor, wherein sensor obtains environmental information, and processor is believed according to environment Breath generates control instruction, so as to adjust the audio output apparatus of the audio data of output electronic equipment according to environmental information.
Input unit can be specially sensor, obtain environmental information by sensor, generate control according to environmental information Instruction determines the audio output apparatus of the audio data for exporting the first equipment according to control instruction, to realize basis The selection of environmental information control audio output apparatus.
Environmental information can be with are as follows: the environmental volume being presently in, or, ambient image, or, the position that electronic equipment is presently in It sets, alternatively, above each factor combines.
Wherein, ambient image can specifically: by image acquisition device image, to judge that electronic equipment is currently located The status information of environment, such as: determining that current electronic device is in office or to be in, or on the way;It can also pass through Image acquisition device to image determine in environment locating for electronic equipment either with or without other people, alternatively, other people are What does, is to work or having a joke.
The position that electronic equipment is presently in can directly be determined by GPS, preset the position of family and office, with And the position that other users are often gone or passed by can be by pre- thus when determining electronic equipment present position by GPS The information being first arranged determines that it is currently at house still in office or gymnasium etc..
When the environmental information of acquisition show current environment be rest state, and by image determine in current environment except use Outdoor there is no other people, and are determined currently just at home by GPS, then, at this point it is possible to select external speaker as sound Frequency output equipment needs the audio exported to carry out outer put electronic equipment;If the environmental information obtained shows current environment for peace Quiet state, and determined by image except there is no other people with outdoor in current environment, but determined currently by GPS In library, then, at this point, earphone can only be selected as audio output apparatus, the audio that electronic equipment needs to export is carried out Output;Alternatively, then directly being set by earphone as audio output when the environmental information obtained shows more noisy in current environment It is standby to need the audio exported to export electronic equipment.
It further, can be with are as follows:
Current electronic device carries out the data of audio output by the first audio output apparatus, at this point, detecting that environment is believed Breath changes, and determines environmental information, and determine the need for switching over audio output apparatus according to environmental information.
Such as: it is currently being exported by audio data of the external speaker to electronic equipment, at this point, detecting electronics Environmental information locating for equipment shows that current environment is rest state, and is determined and removed in current environment with open air simultaneously by image It is determined currently just at home without other people, and by GPS;When detecting that environmental information changes, such as: detecting current There are other people to go home in environment, then switching audio output equipment, the output of audio output is carried out by earphone, avoids passing through outer put Equipment output audio data bothers other people.
Further, processor is also used to: if it is determined that the audio output apparatus being connected with electronic equipment includes at least first Audio output apparatus and the second audio output apparatus choose the audio data of default audio output equipment output electronic equipment, directly To control instruction is obtained, default audio output equipment is the first audio output apparatus.
If thering is audio data to be exported in electronic equipment, at this time, it is determined that the audio being connected with electronic equipment is defeated Equipment is multiple out, then is directly exported by default audio output equipment to audio data to be output, until electronics is set The standby control instruction for getting control audio output apparatus.
After electronic equipment gets control instruction, is then controlled according to control instruction and set especially by which audio output The standby output for carrying out audio data is then chosen default audio output equipment and is exported, this is just before getting control instruction Audio data has been avoided to need to export, and user is not configured the audio output apparatus for exporting the audio data and leads The problem of cause.
Preferably, default audio output equipment is the first audio output apparatus, wherein the first audio output apparatus are as follows: ear Machine.
Further, it is which audio output is set that control instruction controlled, which not only includes for export audio data, It is standby, it can also include: which kind of audio audio data is exported by;Alternatively, passing through high pitch or bass output audio frequency evidence.
Such as: audio data is exported by the first audio of the first audio output apparatus according to control instruction control;Alternatively, Audio data etc. is exported with high pitch by the second audio of the second audio output apparatus according to control instruction control.
In addition, control instruction can also control the first audio output apparatus and the second audio output apparatus does not export audio Data are in mute state even if electronic equipment either outer release is played by earphone.
Further, processor passes through the first audio output apparatus according to control instruction, and/or, the second audio output is set The audio data of standby output electronic equipment, comprising:
Processor passes through the first audio output of the first application of the first audio output apparatus output according to control instruction control Data, and pass through the second audio data of the second application of the second audio output apparatus output.
When the audio output apparatus being connected with electronic equipment is multiple, this multiple audio output apparatus can be made defeated simultaneously Audio data out, this multiple audio output apparatus can export identical audio data simultaneously, can also export simultaneously different Audio data.
Specifically, exporting the first audio data by the first audio output apparatus, exported by the second audio output apparatus Second audio data, the first audio data may be the same or different with second audio data.
When the first audio data is identical as second audio data, the first application is identical as the second application, and the first audio is defeated Equipment can be external speaker out, and the second audio output apparatus is earphone;Alternatively, the first audio output apparatus is the first earphone, Second audio output apparatus is the second earphone, and the first earphone is different from the second earphone;
When the first audio data and when second audio data difference, the first application can be identical with the second application, can also be with Difference, the first audio output apparatus can be external speaker, and the second audio output apparatus is earphone;Alternatively, the first audio output Equipment is the first earphone, and the second audio output apparatus is the second earphone, and the first earphone is different from the second earphone.
If the first audio data is different from second audio data, and the first application applies different, concrete scene from second It can be with are as follows: the song that the first application is played by wired earphone passes through the sound in the TV play of the second application of wireless headset output Frequently.
Electronic equipment disclosed in the present embodiment determines that the audio output apparatus being connected with the first equipment includes at least the first sound Frequency output equipment and the second audio output apparatus obtain control instruction by input unit, pass through the according to control instruction control One audio output apparatus and/or the second audio output apparatus export the audio data of the first equipment.It is set in this programme when with first Which when standby connected audio output apparatus is no less than two, can be controlled according to control instruction especially by audio output apparatus Audio is exported, the control of audio output can be carried out without plugging audio output apparatus to different audio output apparatus by realizing System brings convenience for user's operation, improves user experience.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of processing method is applied to the first equipment, comprising:
Determine that the audio output apparatus being connected with first equipment includes at least the first audio output apparatus and the second audio is defeated Equipment out;
Control instruction is obtained by input unit;
According to control instruction control by first audio output apparatus, and/or, second audio output apparatus is defeated The audio data of first equipment out.
2. according to the method described in claim 1, wherein, the acquisition control instruction, comprising:
The input unit of first equipment obtains control instruction;
Or,
Graphic user interface shown by the display screen of first equipment obtains control instruction.
3. according to the method described in claim 1, wherein, the acquisition control instruction, comprising:
Environmental information is obtained, generates control instruction according to the environmental information, so as to be adjusted according to the environmental information defeated The audio output apparatus of the audio data of first equipment out.
4. according to the method described in claim 1, wherein, further includes:
If it is determined that the audio output apparatus being connected with first equipment includes at least the first audio output apparatus and the second audio Output equipment chooses the audio data that default audio output equipment exports the electronic equipment, until control instruction is obtained, it is described Default audio output equipment is first audio output apparatus.
5. according to the method described in claim 1, wherein, it is described controlled according to the control instruction it is defeated by first audio Equipment out, and/or, second audio output apparatus exports the audio data of first equipment, comprising:
According to control instruction control by the first audio data of the first application of first audio output apparatus output, and Pass through the second audio data of the second application of second audio output apparatus output.
6. a kind of electronic equipment, comprising: input unit and processor, in which:
The input unit is for obtaining control instruction;
The processor is set for determining that the audio output apparatus being connected with the electronic equipment includes at least the first audio output Standby and the second audio output apparatus obtains the control instruction obtained by the input unit, controls according to the control instruction First audio output apparatus, and/or, second audio output apparatus exports the audio data of the electronic equipment.
7. electronic equipment according to claim 6, wherein described to obtain control instruction by the input unit, comprising:
Control instruction is obtained by the input unit of first equipment;
Or,
Graphic user interface shown by display screen by first equipment obtains control instruction.
8. electronic equipment according to claim 6, wherein the input unit includes: sensor, wherein
The sensor obtains environmental information, and the processor generates control instruction according to the environmental information, so as to according to The audio output apparatus for exporting the audio data of the electronic equipment is adjusted according to the environmental information.
9. electronic equipment according to claim 6, wherein the processor is also used to:
If it is determined that the audio output apparatus being connected with the electronic equipment includes at least the first audio output apparatus and the second audio Output equipment chooses the audio data that default audio output equipment exports the electronic equipment, until control instruction is obtained, it is described Default audio output equipment is first audio output apparatus.
10. electronic equipment according to claim 6, wherein the processor passes through described the according to the control instruction One audio output apparatus, and/or, second audio output apparatus exports the audio data of the electronic equipment, comprising:
The processor passes through the first of the first application of first audio output apparatus output according to control instruction control Audio data, and pass through the second audio data of the second application of second audio output apparatus output.
CN201910579818.6A 2019-06-28 2019-06-28 A kind of processing method and electronic equipment Pending CN110286874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910579818.6A CN110286874A (en) 2019-06-28 2019-06-28 A kind of processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910579818.6A CN110286874A (en) 2019-06-28 2019-06-28 A kind of processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110286874A true CN110286874A (en) 2019-09-27

Family

ID=68019877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910579818.6A Pending CN110286874A (en) 2019-06-28 2019-06-28 A kind of processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110286874A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704014A (en) * 2019-09-30 2020-01-17 联想(北京)有限公司 Output control method, device and system
CN113050914A (en) * 2021-03-31 2021-06-29 联想(北京)有限公司 Processing method and output equipment
CN113094017A (en) * 2020-01-09 2021-07-09 上海博泰悦臻电子设备制造有限公司 Method, apparatus, and computer storage medium for information processing
CN113672191A (en) * 2021-08-16 2021-11-19 维沃移动通信(杭州)有限公司 Audio playing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364153A (en) * 2007-08-09 2009-02-11 系统电子工业股份有限公司 Method for switching sound source by mouse device
CN102354278A (en) * 2011-06-29 2012-02-15 中兴通讯股份有限公司 Method and equipment for processing audio data
CN104572008A (en) * 2014-12-17 2015-04-29 惠州Tcl移动通信有限公司 Target content output method and terminal
CN105630586A (en) * 2014-10-30 2016-06-01 联想(北京)有限公司 Information processing method and electronic device
CN106462381A (en) * 2014-06-04 2017-02-22 高通股份有限公司 Mobile device including a centrally located earpiece
CN109032555A (en) * 2018-07-06 2018-12-18 广州视源电子科技股份有限公司 Method and device for processing audio data in screen projection, storage medium and electronic equipment
CN109165004A (en) * 2018-08-16 2019-01-08 努比亚技术有限公司 Double screen terminal audio frequency output method, terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364153A (en) * 2007-08-09 2009-02-11 系统电子工业股份有限公司 Method for switching sound source by mouse device
CN102354278A (en) * 2011-06-29 2012-02-15 中兴通讯股份有限公司 Method and equipment for processing audio data
CN106462381A (en) * 2014-06-04 2017-02-22 高通股份有限公司 Mobile device including a centrally located earpiece
CN105630586A (en) * 2014-10-30 2016-06-01 联想(北京)有限公司 Information processing method and electronic device
CN104572008A (en) * 2014-12-17 2015-04-29 惠州Tcl移动通信有限公司 Target content output method and terminal
CN109032555A (en) * 2018-07-06 2018-12-18 广州视源电子科技股份有限公司 Method and device for processing audio data in screen projection, storage medium and electronic equipment
CN109165004A (en) * 2018-08-16 2019-01-08 努比亚技术有限公司 Double screen terminal audio frequency output method, terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆丽娜: "《计算机应用基础 第2版》", 31 August 2013, 西安交通大学出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704014A (en) * 2019-09-30 2020-01-17 联想(北京)有限公司 Output control method, device and system
CN113094017A (en) * 2020-01-09 2021-07-09 上海博泰悦臻电子设备制造有限公司 Method, apparatus, and computer storage medium for information processing
CN113094017B (en) * 2020-01-09 2024-05-14 博泰车联网科技(上海)股份有限公司 Method, apparatus and computer storage medium for information processing
CN113050914A (en) * 2021-03-31 2021-06-29 联想(北京)有限公司 Processing method and output equipment
CN113050914B (en) * 2021-03-31 2023-08-18 联想(北京)有限公司 Processing method and output equipment
CN113672191A (en) * 2021-08-16 2021-11-19 维沃移动通信(杭州)有限公司 Audio playing method and device

Similar Documents

Publication Publication Date Title
CN110286874A (en) A kind of processing method and electronic equipment
CN107105367B (en) Audio signal processing method and terminal
US20110026737A1 (en) Method and apparatus for controlling volume in an electronic machine
CN106341535B (en) A kind of audio play control method and mobile terminal
JP2014056614A5 (en)
CN108762506A (en) Independently of stream sound to haptic effect converting system
JP2010506317A (en) How to output an alert signal
US10551973B2 (en) Method of controlling a mobile device
WO2012131622A2 (en) A system and apparatus for controlling a user interface with a bone conduction transducer
CN109524016B (en) Audio processing method and device, electronic equipment and storage medium
CN104021148A (en) Method and device for adjusting sound effect
WO2013020387A1 (en) Method and device for changing dynamic display effect of mobile phone application by way of voice control
KR100783113B1 (en) Method for shortened storing of music file in mobile communication terminal
JP2014003592A (en) Bone conduction vibrator device control system and apparatus
US20140086422A1 (en) Electronic device, system and method for managing sound effect
CN106303841B (en) Audio playing mode switching method and mobile terminal
CN105185396B (en) A kind of method and apparatus of playing audio signal
CN104349244B (en) A kind of information processing method and electronic equipment
CN105516451A (en) Sound effect adjustment method and device
CN113542963B (en) Sound mode control method, device, electronic equipment and storage medium
JP2012220547A (en) Sound volume control device, sound volume control method, and content reproduction system
CN107948704A (en) For to voice data into Mobile state synthetic method, system and mobile terminal
CN110392878B (en) Sound control method and mobile terminal
KR101393714B1 (en) Terminal and method for playing music thereof
WO2006052076A1 (en) Method and apparatus for playing multimedia content

Legal Events

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

Application publication date: 20190927

RJ01 Rejection of invention patent application after publication