CN105630586A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN105630586A
CN105630586A CN201410601610.7A CN201410601610A CN105630586A CN 105630586 A CN105630586 A CN 105630586A CN 201410601610 A CN201410601610 A CN 201410601610A CN 105630586 A CN105630586 A CN 105630586A
Authority
CN
China
Prior art keywords
audio
output device
audio output
frequency information
testing result
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
CN201410601610.7A
Other languages
Chinese (zh)
Other versions
CN105630586B (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 CN201410601610.7A priority Critical patent/CN105630586B/en
Publication of CN105630586A publication Critical patent/CN105630586A/en
Application granted granted Critical
Publication of CN105630586B publication Critical patent/CN105630586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses an information processing method and an electronic device, realizing the technical effect of automatically selecting matched voice output device according to application types and/or environment information. The information processing method is applied to the electronic device. The electronic device includes N voice output devices, wherein N is an integer greater than or equal to 2. The method includes the steps of when first audio information corresponding to a first application needs to output, acquiring the first application type that the first application belongs to and/or environment information of the electronic device; determining, based on the first application type and/or the environment information, a first voice output device matched with the first audio information from N voice output devices; and outputting the first audio information through the first voice output device.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly to a kind of information processing method and electronic equipment.
Background technology
Along with improving technologically, most electronic equipment is already equipped with the audio output device of multiple audio-frequency information, for instance computer can export audio-frequency information by earphone, it is also possible to exports audio-frequency information by speaker. Simultaneously in the routine work of people is lived, the application for audio frequency gets more and more, for instance voice call application, music, multimedia file run while the multiple programs such as browsing, and can be simultaneously generated multiple audio signal on the electronic equipments such as computer.
In the prior art, the technical scheme that the output of multiple audio-frequency informations is conventional is usually to the multiple audio-frequency informations produced by all application programs by an outut device output, such as, browsing webpage running while Baidu's music box listens song, now the background sound of song and webpage all can export simultaneously from speaker; If user plugs in the earphone, speaker is with regard to automatic mute.
Present inventor is in realizing the process of technical scheme of the embodiment of the present application, it has been found that prior art at least exists following technical problem:
Owing to, when electronic equipment runs different types of application program at the same time in prior art, the audio-frequency information that multiple content is different can be exported. Such as when needs export instant messaging class audio frequency information, in order to ensure that user's answers effect, often interrupt other audio-frequency informations exported. So, electronic equipment of the prior art exists and according to different situations such as the environmental informations at the type of audio-frequency information and electronic equipment place, can not select the technical problem of different audio output devices.
Owing to prior art existing above-mentioned technical problem so that the way of output of audio-frequency information can not be carried out the management of personalization by user, so, there is the problem that Consumer's Experience is not good enough in electronic equipment of the prior art.
Summary of the invention
The application provides a kind of information processing method and electronic equipment, for solve in prior art can not according to different situations such as the environmental informations at the type of audio-frequency information and electronic equipment place, select the technical problem of different audio output devices, to realize automatically selecting the technique effect of the audio output device of coupling according to Application Type and/or environmental information. On the one hand, the embodiment of the present application provides a kind of method of information processing, is applied in an electronic equipment, and described electronic equipment includes N number of audio output device, and N is the integer be more than or equal to 2, and described method includes:
When needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Based on described first Application Type and/or described environmental information, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information;
Described first audio-frequency information is exported by described first audio output device.
Optionally, described based on described Application Type and/or described environmental information, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information, specifically include:
According to described first Application Type, detect whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result;
According to described environmental information, detect in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result;
Based on described first testing result and described second testing result, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information.
Optionally, when described N number of audio output device includes earphone and described speaker, described based on described first testing result with described second testing result, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information, specifically include:
When described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
It is no in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
Be no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
Optionally, described based on described Application Type and/or described environmental information, after determining the first audio output device mated with described first audio-frequency information from described N number of audio output device, described method also includes:
Obtaining user first to operate, wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device;
Respond described first operation, by described first audio-frequency information by described second audio output device output.
Optionally, when the second audio-frequency information that the second application program is corresponding is in the state by described first audio output device output, described by described first audio output device described first audio-frequency information of output, specifically include:
Obtain the second Application Type belonging to described second application program;
Detect described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result;
When described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and export described first audio-frequency information by described first audio output device;
When described 3rd testing result is for being, export described first audio-frequency information by described first audio output device.
Optionally, described when described 3rd testing result is for being, export described first audio-frequency information by described first audio output device, specifically include:
Obtaining user second to operate, wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device;
Respond described second operation, by described first audio-frequency information by described second audio output device output;
Described first audio-frequency information is exported by described first audio output device.
Optionally, described when described 3rd testing result is for being, export described first audio-frequency information by described first audio output device, specifically include:
Based on described second Application Type and/or environmental information, from described N number of audio output device, determine described second audio output device;
By described second audio-frequency information by described second audio output device output;
Described first audio-frequency information is exported by described first audio output device.
On the other hand, the embodiment of the present application also provides for a kind of electronic equipment, and including N number of audio output device, N is the integer be more than or equal to 2, and described electronic equipment specifically includes:
First detection module, for when needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Judge module, for based on described first Application Type and/or described environmental information, determining the first audio output device mated with described first audio-frequency information from described N number of audio output device;
First output control module, for exporting described first audio-frequency information by described first audio output device.
Optionally, described judge module specifically includes:
First detection unit, for according to described first Application Type, detecting whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result;
Second detection unit, for according to described environmental information, detecting in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result;
First determines unit, for based on described first testing result and described second testing result, determining the first audio output device mated with described first audio-frequency information from described N number of audio output device.
Optionally, when described N number of audio output device includes earphone and described speaker, described first determines that unit specifically includes:
First determines subelement, for when described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
Second determines subelement, and it is no for being used in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
3rd determines subelement, for being no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
Optionally, described electronic equipment also includes:
Second detection module, is used for obtaining user first and operates, and wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device;
Second output control module, is used for responding described first operation, by described first audio-frequency information by described second audio output device output.
Optionally, when the second audio-frequency information that the second application program is corresponding is in the state by described first audio output device output, described first output control module specifically includes:
3rd detection unit, for obtaining the second Application Type belonging to described second application program;
4th detection unit, is used for detecting described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result;
Second output control unit, for when described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and exporting described first audio-frequency information by described first audio output device;
3rd output control unit, for when described 3rd testing result is for being, exporting described first audio-frequency information by described first audio output device.
Optionally, described 3rd output control unit specifically includes:
First detection sub-unit, is used for obtaining user second and operates, and wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device;
First output controls subelement, is used for responding described second operation, by described first audio-frequency information by described second audio output device output;
Second output controls subelement, for exporting described first audio-frequency information by described first audio output device.
Optionally, described second output control unit specifically includes:
4th determines subelement, for based on described second Application Type and/or environmental information, determining described second audio output device from described N number of audio output device;
3rd output controls subelement, for being exported by described second audio output device by described second audio-frequency information;
4th output controls subelement, for exporting described first audio-frequency information by described first audio output device.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more technique effects following:
Owing to, in the technical scheme of the embodiment of the present application, electronic equipment according to the difference of Application Type and/or environmental information, can automatically select different audio output devices. Therefore, it can solve electronic equipment of the prior art exist and according to different situations such as the environmental informations at the type of audio-frequency information and electronic equipment place, the technical problem of different audio output devices can not be selected. And then realize automatically selecting the technique effect of the audio output device of coupling according to Application Type and/or environmental information.
Further, owing to the technical scheme in the embodiment of the present application can automatically select different audio output devices for different audio-frequency informations, it is also possible to manually selected audio output device by user. Simultaneously can also according to the result selected, the audio-frequency information exported is switched to the output of another audio output device without what interrupt. Therefore, it can solve user of the prior art and the way of output of audio-frequency information can not carry out the management of personalization, there is the problem that Consumer's Experience is not good enough in electronic equipment. And then realize improving the effect of Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present application or prior art, in below embodiment being described, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in the following describes is only some embodiments of the present invention.
Fig. 1 is the flow chart of the first implementation of information processing method in the embodiment of the present application one;
Fig. 2 be in the embodiment of the present application one step S102 implement flow chart;
Fig. 3 is the flow chart of the second implementation of information processing method in the embodiment of the present application one;
Fig. 4 be in the embodiment of the present application one step S103 implement flow chart;
Fig. 5 is the flow chart of the first implementation of step S404 in the embodiment of the present application one;
Fig. 6 is the flow chart of the second implementation of step S404 in the embodiment of the present application one;
Fig. 7 is the structure chart of a kind of electronic equipment in the embodiment of the present application two.
Detailed description of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment, can not according to different situations such as the environmental informations at the type of audio-frequency information and electronic equipment place for solving electronic equipment of the prior art existence, select the technical problem of different audio output devices, to realize automatically selecting the technique effect of the audio output device of coupling according to Application Type and/or environmental information.
Technical scheme in the embodiment of the present application is solve above-mentioned technical problem, and general thought is as follows:
On the one hand, by a kind of information processing method, in an electronic equipment, described electronic equipment includes N number of audio output device, and N is the integer be more than or equal to 2, and described method includes:
When needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Based on described first Application Type and/or described environmental information, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information;
Described first audio-frequency information is exported by described first audio output device.
In above-mentioned technical scheme, the parameters such as the type needing to export the application program of audio-frequency information and environmental information are detected by electronic equipment, automatically select the audio output device mated the most and export this audio-frequency information, and then realize automatically selecting according to Application Type and/or environmental information the technique effect of the audio output device of coupling.
In order to be better understood from technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical solution of the present invention, rather than the restriction to technical solution of the present invention, when not conflicting, the embodiment of the present application and the technical characteristic in embodiment can be mutually combined.
Embodiment one
The embodiment that the application provides provides a kind of information processing method, is applied to electronic equipment described in an electronic equipment and includes two or more audio output device. Implementing in process, described electronic equipment can be computer, it is also possible to be smart mobile phone, or other electronic equipments; Audio output device can be wired earphone, bluetooth earphone, electronic equipment boombox, high-fidelity music center, or other audio output device, and the embodiment of the present application just differs and one schematically illustrates.
Refer to Fig. 1-Fig. 6, the information processing method in the application includes:
Wherein, the first implementation of information processing method is the audio output device that electronic equipment automatically selects audio-frequency information, implements step and is:
S101: when needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment.
S102: based on described first Application Type and/or described environmental information, determine the first audio output device mated with described first audio-frequency information from described N number of audio output device.
S103: export described first audio-frequency information by described first audio output device.
In the embodiment of the present application, step S102, in implementing process, comprises the steps:
S201: according to described first Application Type, detects whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result.
S202: according to described environmental information, detects in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result.
S203: based on described first testing result and described second testing result, determine the first audio output device mated with described first audio-frequency information from described N number of audio output device.
In the embodiment of the present application, when described N number of audio output device includes earphone and speaker, step S203 particularly as follows:
When described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information.
It is no in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information.
Be no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
In the embodiment of the present application, except can be that different audio-frequency information automatically selects different audio output devices by electronic equipment, the second implementation of information processing method is the audio output device that user's mode manually selects audio-frequency information, implements step and is:
S301: obtain user first and operate, wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device.
S302: respond described first operation, by described first audio-frequency information by described second audio output device output.
In the embodiment of the present application, when the second audio-frequency information that fooled second application program of electronic equipment is corresponding is in the state by described first audio output device output, if the first audio-frequency information having the first application program corresponding needs to export, the step that implements of step S103 is:
S401: obtain the second Application Type belonging to described second application program.
S402: detect described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result.
S403: when described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and exports described first audio-frequency information by described first audio output device.
S404: when described 3rd testing result is for being, exports described first audio-frequency information by described first audio output device.
In the embodiment of the present application, it is possible to manually selected, switch the audio output device of described second audio-frequency information by user, it is also possible to automatically selected and switch the audio output device of described second audio-frequency information by electronic equipment. Therefore, step S404 can have two kinds of specific implementations.
The first implementation is manually selected, switch the audio output device of described second audio-frequency information by user. In implementing process, comprise the steps:
S501: obtain user second and operate, wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device.
S502: respond described second operation, by described first audio-frequency information by described second audio output device output.
S503: export described first audio-frequency information by described first audio output device.
The second implementation is automatically selected and switch the audio output device of described second audio-frequency information by electronic equipment. In implementing process, comprise the steps:
S601: based on described second Application Type and/or environmental information, determines described second audio output device from described N number of audio output device.
S602: by described second audio-frequency information by described second audio output device output.
S603: export described first audio-frequency information by described first audio output device.
To be computer with electronic equipment below, audio output device includes speaker (or high-fidelity music center), earphone is example, the audio-frequency information needing output can be the first song that a music player is play, can be the voice call of bitcom output, it is also possible to be the alarm tone that produces when makeing mistakes of system program. The process that implements of the method in the embodiment of the present application is described.
Assume that user thinks that running application program QQ on computers carries out voice call with good friend.
First, step S101 is performed, it may be assumed that when needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment.
Now, computer is by detecting the Application Software Program specifically run, and the scanning to own voice outut device, it is thus achieved that the Application Type that run and the environmental information of described electronic equipment. Such as, now computer obtains the application program that will run is QQ, and now audio output device includes speaker (high-fidelity music center) and earphone.
After performing step S101, the method of the embodiment of the present application is carried out step S102, that is: based on described first Application Type and/or described environmental information, from described N number of audio output device, the first audio output device mated with described first audio-frequency information is determined. Detailed process, namely computer needs to perform step S201, S202 and S203.
Specifically, the now computer Application Type according to QQ, it is judged that QQ belongs to instant messaging application program. Owing to such application program needs the audio-frequency information majority of output to be the dialog context between user, there is higher private requirement. Therefore, it is however generally that, user is more likely to the voice output mode selecting privacy higher, for instance exported by earphone. Further, computer according to detection obtain audio output device information it can be seen that now audio output device include speaker (or high-fidelity music center) and two kinds of earphone. Based on the output needs of the audio-frequency information that instant messaging application program produces, computer acquiescence determines that earphone is the audio output device mated with QQ, and needs the audio-frequency information of output to be exported by earphone QQ.
Another kind of situation, if that now computer will run is not QQ, but " extremely I " music player. So computer then can detect and show that the application program that will run is not belonging to the application program that privacy is higher, and there may be better audio experience by speaker (or high-fidelity music center) output. But by detecting audio output device information, find that computer is not equipped with speaker (or high-fidelity music center), namely computer acquiescence determines that earphone is audio output device mate with QQ, and is exported by earphone by the audio-frequency information that exports of " extremely I " needs.
On the contrary, if by detecting audio output device information, find equipped with speaker (or high-fidelity music center), then computer acquiescence determines that speaker (or high-fidelity music center) be the audio output device mated with " extremely I ", " extremely I " audio-frequency information of output will be needed to pass through speaker (or high-fidelity music center) and export.
Certainly, except being automatically selected by computer and exported audio-frequency information, the mode that user can also manually select is that a certain audio-frequency information specifies audio output device output.
Specifically, for instance for the music that " extremely I " plays, computer acquiescence is exported by speaker (or high-fidelity music center). If now user is in outside inconvenience to raise one's voice to its utmost in the environment of sound, for instance in office space, and want to be listened to by HiFi earphone, then user can pass through to select operation, and selected HiFi earphone is as the audio output device of " extremely I " audio-frequency information. Now computer first carries out step S301, that is: obtain user first to operate, wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device. Computer, obtaining after user specifies the HiFi earphone operational order as the audio output device of " extremely I " audio-frequency information, is performed step S302: respond described first operation, is exported by described second audio output device by described first audio-frequency information. That is, the audio-frequency information of output is needed to be exported by HiFi earphone by " extremely I ".
In the embodiment of the present application, when the audio-frequency information just output on one of them audio output device that application program on electronic equipment is corresponding, if there being Another Application program to need to run and export the audio-frequency information of correspondence, then computer can make corresponding process by execution step S401-S404. Still operate to example with QQ and " extremely I " two application programs below, make an explanation.
The computer assuming user is currently running " extremely I ", and selects according to the acquiescence of computer, plays song by speaker (or high-fidelity music center). Now user receives and asks from the voice call of good friend on QQ, and computer will run the voice call function of QQ, and export voice messaging.
First, computer performs step S401, and detection obtains the Application Type of the QQ that will run and " extremely I ". Then performing step S402, whether the Application Type comparing both is identical. By comparing discovery, QQ is the stronger instant messaging class application program of privacy, " extremely I " then not, therefore two Application Type differences. Therefore the audio output device that its acquiescence selects also differs. Now computer can perform step S403, the audio output device of the audio-frequency information of the generation of " extremely I " is not made and changes, and is directly exported by earphone by the audio-frequency information that QQ produces.
But, if the computer of user is currently running " extremely I ", and when playing song by speaker (or high-fidelity music center), when the IE browser that computer runs needs to play web page background music, computer judges that " extremely I " that detection obtains is identical with the Application Type of IE. Now, computer performs step S404: when described 3rd testing result is for being, exports described first audio-frequency information by described first audio output device. That is, directly the background music to play of IE is exported also by speaker (or high-fidelity music center).
In the embodiment of the present application, when the computer of user is currently running " extremely I ", and when playing song by HiFi earphone, the video communication of " FaceTime " application program display good friend's first is asking to connect. Owing to " FaceTime " belongs to the instant messaging class application program that privacy is stronger, now user wishes to export audio-frequency information by earphone. Of course for ensureing that user's answers effect, the song play will not be interrupted again, it is possible to manually selected, switch the audio output device of the song that " extremely I " plays by user, it is also possible to automatically selected by electronic equipment and switch.
The first implementation, for being manually selected by user, switching, implements process as follows:
When user's selected other outut devices except HiFi earphone on computers, for instance after the audio output device of the song that speaker (or high-fidelity music center) was play as " extremely I ". Computer is first carried out step S501: obtains user second and operates, and wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device. And by performing step S502: respond described second operation, by described first audio-frequency information by described second audio output device output. That is, respond this selection specified operation, export, by speaker (or high-fidelity music center), the song that " extremely I " play. Then step S603 is performed: export described first audio-frequency information by described first audio output device. That is, export, by HiFi earphone, the call audio-frequency information that " FaceTime " produces.
The second implementation, for being automatically selected by electronic equipment and switching, implements process as follows:
When connecting computer receives " FaceTime " video communication request from good friend's first good friend's first, computer is after detecting that audio-frequency information outut device that " FaceTime " generates is taken by " extremely I ", step S601 is first carried out: based on described second Application Type and/or environmental information, from described N number of audio output device, determines described second audio output device. That is, in other audio output devices except occupied HiFi earphone, the audio output device of the song that audio output device plays as " extremely I " is selected, for instance speaker (or high-fidelity music center). Then step S602 is performed: by described second audio-frequency information by described second audio output device output. The song that " extremely I " play is exported by speaker (or high-fidelity music center). Then step S603 is performed: export described first audio-frequency information by described first audio output device. The call audio-frequency information " FaceTime " produced is exported by HiFi earphone.
Embodiment two
Based on same inventive concept, with reference to Fig. 7, the embodiment of the present application two provides a kind of electronic equipment, and including N number of audio output device, N is the integer be more than or equal to 2, and described electronic equipment specifically includes:
First detection module 10, for when needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Judge module 20, for based on described first Application Type and/or described environmental information, determining the first audio output device mated with described first audio-frequency information from described N number of audio output device;
First output control module 30, for exporting described first audio-frequency information by described first audio output device.
Wherein, described judge module 20 specifically includes:
First detection unit, for according to described first Application Type, detecting whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result;
Second detection unit, for according to described environmental information, detecting in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result;
First determines unit, for based on described first testing result and described second testing result, determining the first audio output device mated with described first audio-frequency information from described N number of audio output device.
When described N number of audio output device includes earphone and described speaker, described first determines that unit specifically includes:
First determines subelement, for when described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
Second determines subelement, and it is no for being used in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
3rd determines subelement, for being no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
In order to make the mode that user can manually select be, a certain audio-frequency information specifies audio output device output. Described electronic equipment also includes:
Second detection module, is used for obtaining user first and operates, and wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device;
Second output control module, is used for responding described first operation, by described first audio-frequency information by described second audio output device output.
The audio-frequency information that on electronic equipment, application program is corresponding is just on one of them audio output device while output, Another Application program is had to need to run and export the audio-frequency information of correspondence, in order to realize automatically automatically selecting audio output device for new audio-frequency information output, described first output control module 30 specifically includes:
3rd detection unit, for obtaining the second Application Type belonging to described second application program;
4th detection unit, is used for detecting described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result;
Second output control unit, for when described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and exporting described first audio-frequency information by described first audio output device;
3rd output control unit, for when described 3rd testing result is for being, exporting described first audio-frequency information by described first audio output device.
Manually select, switch the audio output device of described second audio-frequency information for the ease of user, described 3rd output control unit specifically includes:
First detection sub-unit, is used for obtaining user second and operates, and wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device;
First output controls subelement, is used for responding described second operation, by described first audio-frequency information by described second audio output device output;
Second output controls subelement, for exporting described first audio-frequency information by described first audio output device.
In order to make to be automatically selected by electronic equipment and switch the audio output device of described second audio-frequency information, described second output control unit specifically includes:
4th determines subelement, for based on described second Application Type and/or environmental information, determining described second audio output device from described N number of audio output device;
3rd output controls subelement, for being exported by described second audio output device by described second audio-frequency information;
4th output controls subelement, for exporting described first audio-frequency information by described first audio output device.
The one or more technical schemes provided in the embodiment of the present application, at least have one or more technique effects following:
Owing to, in the technical scheme of the embodiment of the present application, electronic equipment according to the difference of Application Type and/or environmental information, can automatically select different audio output devices. Therefore, it can solve electronic equipment of the prior art exist and according to different situations such as the environmental informations at the type of audio-frequency information and electronic equipment place, the technical problem of different audio output devices can not be selected. And then realize automatically selecting the technique effect of the audio output device of coupling according to Application Type and/or environmental information.
Further, owing to the technical scheme in the embodiment of the present application can automatically select different audio output devices for different audio-frequency informations, it is also possible to manually selected audio output device by user. Simultaneously can also according to the result selected, the audio-frequency information exported is switched to the output of another audio output device without what interrupt. Therefore, it can solve user of the prior art and the way of output of audio-frequency information can not carry out the management of personalization, there is the problem that Consumer's Experience is not good enough in electronic equipment. And then realize improving the effect of Consumer's Experience.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program. Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect. And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention describes with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, equipment (system) and computer program. It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame. These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Specifically, the computer program instructions that image in the embodiment of the present application obtains, image processing method is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with information processing method in storage medium is read by an electronic equipment or be performed, comprise the steps:
When needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Based on described first Application Type and/or described environmental information, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information;
Described first audio-frequency information is exported by described first audio output device.
Optionally, in described storage medium storage and step: described based on described Application Type and/or described environmental information, the computer program instructions corresponding with the first audio output device of described first audio-frequency information coupling is determined from described N number of audio output device, when executed, following steps are specifically included:
According to described first Application Type, detect whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result;
According to described environmental information, detect in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result;
Based on described first testing result and described second testing result, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information.
Optionally, in described storage medium storage and step: when described N number of audio output device includes earphone and described speaker, described based on described first testing result with described second testing result, from described N number of audio output device, determine the computer program instructions corresponding with the first audio output device of described first audio-frequency information coupling, specifically include following steps:
When described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
It is no in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
Be no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
Optionally, in described storage medium storage and step: described based on described Application Type and/or described environmental information, from described N number of audio output device, determine the computer program instructions corresponding with after the first audio output device of described first audio-frequency information coupling, specifically include following steps:
Obtaining user first to operate, wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device;
Respond described first operation, by described first audio-frequency information by described second audio output device output.
Optionally, in described storage medium storage with step: second audio-frequency information corresponding when the second application program be in by described first audio output device output state time, the described computer program instructions corresponding by described first audio output device described first audio-frequency information of output, specifically includes following steps:
Obtain the second Application Type belonging to described second application program;
Detect described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result;
When described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and export described first audio-frequency information by described first audio output device;
When described 3rd testing result is for being, export described first audio-frequency information by described first audio output device.
Optionally, store in described storage medium and step: described when described 3rd testing result is for being, export, by described first audio output device, the computer program instructions that described first audio-frequency information is corresponding, specifically include following steps:
Obtaining user second to operate, wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device;
Respond described second operation, by described first audio-frequency information by described second audio output device output;
Described first audio-frequency information is exported by described first audio output device.
Optionally, store in described storage medium and step: described when described 3rd testing result is for being, export, by described first audio output device, the computer program instructions that described first audio-frequency information is corresponding, specifically include following steps:
Based on described second Application Type and/or environmental information, from described N number of audio output device, determine described second audio output device;
By described second audio-frequency information by described second audio output device output;
Described first audio-frequency information is exported by described first audio output device.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment. So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art. So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. an information processing method, in an electronic equipment, described electronic equipment includes N number of audio output device, and N is the integer be more than or equal to 2, and described method includes:
When needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Based on described first Application Type and/or described environmental information, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information;
Described first audio-frequency information is exported by described first audio output device.
2. the method for claim 1, it is characterised in that described based on described Application Type and/or described environmental information, determines the first audio output device mated with described first audio-frequency information from described N number of audio output device, specifically includes:
According to described first Application Type, detect whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result;
According to described environmental information, detect in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result;
Based on described first testing result and described second testing result, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information.
3. method as claimed in claim 2, it is characterized in that, when described N number of audio output device includes earphone and described speaker, described based on described first testing result with described second testing result, from described N number of audio output device, determine the first audio output device mated with described first audio-frequency information, specifically include:
When described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
It is no in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
Be no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
4. method as described in arbitrary claim in claim 1-3, it is characterized in that, described based on described Application Type and/or described environmental information, after determining the first audio output device mated with described first audio-frequency information from described N number of audio output device, described method also includes:
Obtaining user first to operate, wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device;
Respond described first operation, by described first audio-frequency information by described second audio output device output.
5. method as claimed in claim 4, it is characterized in that, when the second audio-frequency information that the second application program is corresponding is in the state by described first audio output device output, described by described first audio output device described first audio-frequency information of output, specifically include:
Obtain the second Application Type belonging to described second application program;
Detect described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result;
When described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and export described first audio-frequency information by described first audio output device;
When described 3rd testing result is for being, export described first audio-frequency information by described first audio output device.
6. method as claimed in claim 5, it is characterised in that described when described 3rd testing result is for being, exports described first audio-frequency information by described first audio output device, specifically includes:
Obtaining user second to operate, wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device;
Respond described second operation, by described first audio-frequency information by described second audio output device output;
Described first audio-frequency information is exported by described first audio output device.
7. method as claimed in claim 5, it is characterised in that described when described 3rd testing result is for being, exports described first audio-frequency information by described first audio output device, specifically includes:
Based on described second Application Type and/or environmental information, from described N number of audio output device, determine described second audio output device;
By described second audio-frequency information by described second audio output device output;
Described first audio-frequency information is exported by described first audio output device.
8. an electronic equipment, including N number of audio output device, N is the integer be more than or equal to 2, and described electronic equipment specifically includes:
First detection module, for when needing corresponding with the first application program the first audio-frequency information of output, it is thus achieved that the first Application Type belonging to described first application program and/or the environmental information of described electronic equipment;
Judge module, for based on described first Application Type and/or described environmental information, determining the first audio output device mated with described first audio-frequency information from described N number of audio output device;
First output control module, for exporting described first audio-frequency information by described first audio output device.
9. electronic equipment as claimed in claim 8, it is characterised in that described judge module specifically includes:
First detection unit, for according to described first Application Type, detecting whether described first application program belongs to instant messaging application program, it is thus achieved that the first testing result;
Second detection unit, for according to described environmental information, detecting in described N number of audio output device whether there is speaker, it is thus achieved that the second testing result;
First determines unit, for based on described first testing result and described second testing result, determining the first audio output device mated with described first audio-frequency information from described N number of audio output device.
10. electronic equipment as claimed in claim 9, it is characterised in that when described N number of audio output device includes earphone and described speaker, described first determines that unit specifically includes:
Subelement is determined in first output, for when described first testing result is for being, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
Second determines subelement, and it is no for being used in described first testing result, and when described second testing result is no, it is determined that described earphone is described first audio output device mated with described first audio-frequency information;
3rd determines subelement, for being no in described first testing result, and described second testing result for being time, it is determined that described speaker is described first audio output device mated with described first audio-frequency information.
11. electronic equipment as described in arbitrary claim in claim 8-10, it is characterised in that described electronic equipment also includes:
Second detection module, is used for obtaining user first and operates, and wherein, described first operation is for for specifying described first audio-frequency information by the operation of second audio output device different with described first audio output device from described N number of audio output device;
Second output control module, is used for responding described first operation, by described first audio-frequency information by described second audio output device output.
12. electronic equipment as claimed in claim 11, it is characterised in that when the second audio-frequency information that the second application program is corresponding is in the state by described first audio output device output, described first output control module specifically includes:
3rd detection unit, for obtaining the second Application Type belonging to described second application program;
4th detection unit, is used for detecting described first Application Type whether identical with described second Application Type, it is thus achieved that the 3rd testing result;
Second output control unit, for when described 3rd testing result is no, by described second audio-frequency information by described second audio output device output, and exporting described first audio-frequency information by described first audio output device;
3rd output control unit, for when described 3rd testing result is for being, exporting described first audio-frequency information by described first audio output device.
13. electronic equipment as claimed in claim 12, it is characterised in that described 3rd output control unit specifically includes:
First detection sub-unit, is used for obtaining user second and operates, and wherein, described second operation is for for specifying described second audio-frequency information by the operation of described second audio output device;
First output controls subelement, is used for responding described second operation, by described first audio-frequency information by described second audio output device output;
Second output controls subelement, for exporting described first audio-frequency information by described first audio output device.
14. electronic equipment as claimed in claim 12, it is characterised in that described second output control unit specifically includes:
4th determines subelement, for based on described second Application Type and/or environmental information, determining described second audio output device from described N number of audio output device;
3rd output controls subelement, for being exported by described second audio output device by described second audio-frequency information;
4th output controls subelement, for exporting described first audio-frequency information by described first audio output device.
CN201410601610.7A 2014-10-30 2014-10-30 Information processing method and electronic equipment Active CN105630586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410601610.7A CN105630586B (en) 2014-10-30 2014-10-30 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410601610.7A CN105630586B (en) 2014-10-30 2014-10-30 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105630586A true CN105630586A (en) 2016-06-01
CN105630586B CN105630586B (en) 2020-03-24

Family

ID=56045565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410601610.7A Active CN105630586B (en) 2014-10-30 2014-10-30 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105630586B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302997A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and system
CN106293599A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and output system
CN107277693A (en) * 2017-07-17 2017-10-20 青岛海信移动通信技术股份有限公司 Audio frequency apparatus call method and device
WO2018027850A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for pushing music according to program type, and pushing system
CN109151172A (en) * 2018-07-23 2019-01-04 Oppo广东移动通信有限公司 Audio output control method and relevant device
CN109284080A (en) * 2018-09-04 2019-01-29 Oppo广东移动通信有限公司 Audio method of adjustment, device, electronic equipment and storage medium
CN109714487A (en) * 2019-01-25 2019-05-03 合肥星空物联信息科技有限公司 A kind of method that more equipment play audio simultaneously
CN110032356A (en) * 2019-03-29 2019-07-19 联想(北京)有限公司 Information processing method and electronic equipment
CN110286874A (en) * 2019-06-28 2019-09-27 联想(北京)有限公司 A kind of processing method and electronic equipment
CN110413252A (en) * 2019-07-05 2019-11-05 深圳前海达闼云端智能科技有限公司 A kind of audio-frequency inputting method and its device, terminal
CN111459456A (en) * 2020-04-07 2020-07-28 维沃移动通信有限公司 Audio control method and electronic equipment
CN112286481A (en) * 2020-10-28 2021-01-29 维沃移动通信(杭州)有限公司 Audio output method and electronic equipment
CN112394901A (en) * 2020-11-24 2021-02-23 维沃移动通信有限公司 Audio output mode adjusting method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020001381A1 (en) * 2000-05-18 2002-01-03 Nec Corporation Portable terminal
CN101867657A (en) * 2010-06-24 2010-10-20 中兴通讯股份有限公司 Method and device for switching audio output equipment on mobile phone
CN102611961A (en) * 2011-01-20 2012-07-25 三星电子(中国)研发中心 Method and device for switching multi-channel audios of terminal
CN102821195A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Terminal and multi-audio-frequency output method
CN103200311A (en) * 2013-02-25 2013-07-10 华为终端有限公司 Control method and control device of communication terminal conversation audio passage and communication terminal
CN103593127A (en) * 2013-11-25 2014-02-19 华为终端有限公司 Method for selecting audio output devices and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020001381A1 (en) * 2000-05-18 2002-01-03 Nec Corporation Portable terminal
CN101867657A (en) * 2010-06-24 2010-10-20 中兴通讯股份有限公司 Method and device for switching audio output equipment on mobile phone
CN102611961A (en) * 2011-01-20 2012-07-25 三星电子(中国)研发中心 Method and device for switching multi-channel audios of terminal
CN102821195A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Terminal and multi-audio-frequency output method
CN103200311A (en) * 2013-02-25 2013-07-10 华为终端有限公司 Control method and control device of communication terminal conversation audio passage and communication terminal
CN103593127A (en) * 2013-11-25 2014-02-19 华为终端有限公司 Method for selecting audio output devices and terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302997B (en) * 2016-07-29 2020-02-21 联想(北京)有限公司 Output control method, electronic equipment and system
CN106293599A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and output system
CN106302997A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and system
WO2018027850A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for pushing music according to program type, and pushing system
CN107277693A (en) * 2017-07-17 2017-10-20 青岛海信移动通信技术股份有限公司 Audio frequency apparatus call method and device
CN107277693B (en) * 2017-07-17 2020-03-17 青岛海信移动通信技术股份有限公司 Audio device calling method and device
CN109151172A (en) * 2018-07-23 2019-01-04 Oppo广东移动通信有限公司 Audio output control method and relevant device
CN109284080A (en) * 2018-09-04 2019-01-29 Oppo广东移动通信有限公司 Audio method of adjustment, device, electronic equipment and storage medium
CN109714487A (en) * 2019-01-25 2019-05-03 合肥星空物联信息科技有限公司 A kind of method that more equipment play audio simultaneously
CN110032356A (en) * 2019-03-29 2019-07-19 联想(北京)有限公司 Information processing method and electronic equipment
CN110286874A (en) * 2019-06-28 2019-09-27 联想(北京)有限公司 A kind of processing method and electronic equipment
CN110413252A (en) * 2019-07-05 2019-11-05 深圳前海达闼云端智能科技有限公司 A kind of audio-frequency inputting method and its device, terminal
CN111459456A (en) * 2020-04-07 2020-07-28 维沃移动通信有限公司 Audio control method and electronic equipment
CN111459456B (en) * 2020-04-07 2023-03-14 维沃移动通信有限公司 Audio control method and electronic equipment
CN112286481A (en) * 2020-10-28 2021-01-29 维沃移动通信(杭州)有限公司 Audio output method and electronic equipment
CN112394901A (en) * 2020-11-24 2021-02-23 维沃移动通信有限公司 Audio output mode adjusting method and device and electronic equipment

Also Published As

Publication number Publication date
CN105630586B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN105630586A (en) Information processing method and electronic device
US20170270897A1 (en) Earphone system for mobile device and method for operating the same
US20100085318A1 (en) Touch input device and method for portable device
US9414174B2 (en) Method and apparatus for controlling audio output
US9277320B1 (en) Managing and using headset profiles for different headsets
CN105679345B (en) Audio processing method and electronic equipment
US11157231B2 (en) Method and apparatus for controlling sound signal output
US11445285B2 (en) Interactive control method and device of an earphone case, earphone case and storage medium
KR20080091598A (en) Apparatus and method for interfacing between digital devices
CN103699501A (en) Audio equipment managing method and system of mobile terminal
EP4131267A1 (en) Method, apparatus, and computer program product for including device playback preferences
CN105741862A (en) Method and device for recording audios through mobile terminal and mobile terminal
US9674686B2 (en) Apparatus and method for pairing mobile devices
US10509554B2 (en) Method for outputting target content and terminal therefor
CN105741863A (en) Method and device for mobile terminal to play voice frequency, and mobile terminal
KR101876394B1 (en) Method and device for playing media data on a terminal
CN105681886A (en) Playback device Bluetooth connection control method and device, and playback device
CN106303616B (en) Play control method, device and terminal
CN104052801A (en) Information processing method and electronic equipment
CN114884990A (en) Screen projection method and device based on virtual screen
CN103945305A (en) Information processing method and electronic equipment
CN110582079B (en) Bluetooth connection setting method and device, computer readable storage medium and terminal
CN104750453A (en) Information processing method and electronic equipment
CN105141754A (en) Information processing method and electronic equipment
US8054948B1 (en) Audio experience for a communications device user

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