CN109151172A - Audio output control method and relevant device - Google Patents

Audio output control method and relevant device Download PDF

Info

Publication number
CN109151172A
CN109151172A CN201810813416.3A CN201810813416A CN109151172A CN 109151172 A CN109151172 A CN 109151172A CN 201810813416 A CN201810813416 A CN 201810813416A CN 109151172 A CN109151172 A CN 109151172A
Authority
CN
China
Prior art keywords
audio output
incoming call
output apparatus
audio
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810813416.3A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810813416.3A priority Critical patent/CN109151172A/en
Publication of CN109151172A publication Critical patent/CN109151172A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of audio output control method and relevant devices, applied to electronic equipment, electronic equipment and the first audio output apparatus and the second audio output apparatus communicate to connect, method includes: broadcasting multimedia file, and the audio of multimedia file is exported by the first audio output apparatus;In the case where receiving incoming call, the processing operation of output audio is determined according to the type of incoming call, the processing operation keeps current state for controlling the first audio output apparatus, or stop playing multimedia file, perhaps the first audio output apparatus of control is mute or reduces the output volume of the first audio output apparatus;In the case where detecting the answer command for incoming call, incoming call answering calling;The call voice called by the second audio output apparatus output incoming, and execute the processing operation.The problem of audio mutual interference can avoid using the embodiment of the present application.

Description

Audio output control method and relevant device
Technical field
This application involves electronic technology field more particularly to a kind of audio output control methods and relevant device.
Background technique
As the application of wireless technology is growing, support the wireless device type of wireless communication connection also increasing, Wireless device for example has wireless headset, wireless sound box etc..Electronic equipment (such as smart phone, tablet computer etc.) can with it is wireless Then equipment communication connection realizes certain functions, such as output audio etc. by wireless device.
Summary of the invention
The embodiment of the present application provides a kind of audio output control method and relevant device, for avoiding asking for audio mutual interference Topic.
In a first aspect, the embodiment of the present application provides a kind of audio output control method, it is applied to electronic equipment, the electronics Equipment and the first audio output apparatus and the second audio output apparatus communicate to connect, which comprises
Multimedia file is played, and exports the audio of the multimedia file by first audio output apparatus;
In the case where receiving incoming call, the processing operation of output audio is determined according to the type of incoming call;
In the case where detecting the answer command for the incoming call, the incoming call is answered;
The call voice of the incoming call is exported by second audio output apparatus, and executes the processing behaviour Make.
Second aspect, the embodiment of the present application provide a kind of audio output control device, are applied to electronic equipment, the electronics Equipment and the first audio output apparatus and the second audio output apparatus communicate to connect, and the audio output control device includes processing Unit and communication unit, in which:
The processing unit passes through first audio for playing multimedia file, and by the communication unit Output equipment exports the audio of the multimedia file;In the case where receiving incoming call, determined according to the type of incoming call The processing operation of audio is exported, the processing operation keeps current state for controlling first audio output apparatus, or Stop playing the multimedia file, perhaps control first audio output apparatus is mute or turns down first audio The output volume of output equipment;In the case where detecting the answer command for the incoming call, answers the incoming call and exhale It cries;The call voice of the incoming call is exported by second audio output apparatus by the communication unit, and is held The row processing operation.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in method described in the embodiment of the present application first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in method described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Step some or all of described in method of the machine execution as described in the embodiment of the present application first aspect.The computer program produces Product can be a software installation packet.
As can be seen that in the embodiment of the present application, electronic equipment and two audio output apparatus communicate to connect, electronic equipment The audio of multimedia file is exported by the first audio output apparatus first;Multimedia file is exported in the first audio output apparatus Audio when, if electronic equipment receives incoming call, electronic equipment is determined according to the type of incoming call and is exhaled answering the incoming call The movement for being electronic equipment later, than if any by the two audio output apparatus simultaneously export audio, or only pass through one Audio output apparatus output incoming call voice, or pass through an audio output apparatus output incoming call voice, another Audio output apparatus is mute, or passes through an audio output apparatus output incoming call voice, another audio output apparatus Reduce volume.As it can be seen that two processing events are existed concurrently with, and in the case that the two processing events are required to output audio, electricity The problem of sub- equipment optionally reasonably controls audio output, avoids audio mutual interference.
These aspects or other aspects of the application can more straightforward in the following description.
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.
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.
Figure 1A is a kind of schematic diagram of the program running space of smart phone;
Figure 1B is a kind of system architecture diagram of Android system;
Fig. 2 is a kind of flow diagram of audio output control method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another kind audio output control method disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another kind audio output control 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;
Fig. 6 is a kind of functional unit composition block diagram of audio output control device disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
As shown in Figure 1A, the electronic equipments such as smart phone are typically provided with program running space at present, and program operation is empty Between include user's space and operating system space, wherein user's space operation have one or more application program, this or more A application program is the third party application of electronic equipment installation, audio output control method described in the embodiment of the present application Software algorithm may operate in user's space, operating system space motion has the operating system of electronic equipment.
The electronic equipment can specifically run the Mobile operating system iOS of Android android system, Apple Inc.'s exploitation Deng not doing unique restriction herein.As shown in Figure 1B, by taking electronic equipment operation has android system as an example, corresponding user Space includes the application layer (Applications) in the android system, and operating system space may include the Android system Application framework layer (Application Framework), system Runtime Library layer (including system Runtime Library layer in system Android Runtime when Libraries and Android are run), Linux inner core (Linux Kernel).Wherein, it applies It include all kinds of application programs directly interacted with user, or the service routine for running on backstage write by Java language on layer. For example, the program for the common basic function realized on smart phone, such as short message service (Short Messaging Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW (World Wide Web, Web) programs such as browser and the other applications of developer's exploitation.Application framework layer provides exploitation Android A series of class libraries needed for application program can be used in reusing component, can also realize personalized extension by inheriting.System Runtime Library layer is the support of application framework, provides service for the various components in android system.System Runtime Library layer by System class libraries and Android are constituted when running.It include core library and Dalvik virtual machine two parts when Android is run.Linux Inner nuclear layer is for realizing hardware device drivers, process and memory management, network protocol stack, power management, the cores such as wireless communication Function.
Electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device (example Such as smartwatch, Intelligent bracelet, pedometer), calculate equipment or be communicatively connected to other processing of radio modem and set Standby and various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal is set Standby (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of audio output control method, answer For electronic equipment, electronic equipment and the first audio output apparatus and the second audio output apparatus are communicated to connect, this audio output Control method includes:
Step 201: electronic equipment plays multimedia file, and described more by first audio output apparatus output The audio of media file.
Wherein, multimedia file includes audio file, video file etc..The audio includes that audio plays the audio in applying File, such as song etc., the audio file stored in electronic equipment, such as recording etc., the audio file in instant messaging application, Such as speech message etc., it is not limited thereto.The audio includes the video file in video playing application, such as film, TV Deng, the video file stored in electronic equipment, such as the video recorded in advance, the video etc. of downloading, in instant messaging application Video file, such as video messaging etc., are not limited thereto.
Wherein, the first audio output apparatus can be vehicle-mounted sound box, wireless headset, wireless sound box, other electronic equipments etc., It is not limited thereto.
Step 202: in the case where receiving incoming call, electronic equipment determines output audio according to the type of incoming call Processing operation, the processing operation keep current state for controlling first audio output apparatus, or stop playing institute Multimedia file is stated, perhaps control first audio output apparatus is mute or turns down first audio output apparatus Output volume.
Wherein, the type of incoming call includes following one of which: relatives, friend, work buddies, stranger etc..Wherein, relatives Refer to the people with certain genetic connection, such as parent, blood brother sister, cousin etc..Friend refers to living The middle preferable people of relationship, such as classmate, fellow disciple fellow apprentice, boudoir honey etc..Work buddies refer to there is certain relationship at work People, such as colleague, client, leader etc., stranger refer to unacquainted people, not stored in electronic equipment in this application to have this User's universal formulation of the telephone number of incoming call user is stranger.
Wherein, incoming call can be voice incoming call, video incoming call etc..Voice incoming call can be phone Voice incoming call is also possible to the voice incoming call of third-party application, such as wechat voice incoming call, QQ voice incoming call Calling etc..Video incoming call can be telephone video incoming call, be also possible to the video incoming call of third-party application, than Such as wechat video incoming call, QQ video incoming call etc..
Step 203: in the case where detecting the answer command for the incoming call, electronic equipment is answered described next Electric calling.
Step 204: electronic equipment exports the call voice of the incoming call by second audio output apparatus, with And execute the processing operation.
Wherein, the second audio output apparatus can be vehicle-mounted sound box, wireless headset, wireless sound box, other electronic equipments etc., It is not limited thereto.
It should be noted that the first audio output apparatus and the second audio output apparatus can be same type of equipment, For example be wireless headset, or be wireless sound box etc., it may not be same type of equipment, for example the first audio output is set Standby is vehicle-mounted sound box, the second audio output apparatus is wireless headset or the first audio output apparatus is wireless headset, the second sound Frequency output equipment is other electronic equipments etc., is not limited thereto.
As can be seen that in the embodiment of the present application, electronic equipment and two audio output apparatus communicate to connect, electronic equipment The audio of multimedia file is exported by the first audio output apparatus first;Multimedia file is exported in the first audio output apparatus Audio when, if electronic equipment receives incoming call, electronic equipment is determined according to the type of incoming call and is exhaled answering the incoming call The movement for being electronic equipment later, than if any by the two audio output apparatus simultaneously export audio, or only pass through one Audio output apparatus output incoming call voice, or pass through an audio output apparatus output incoming call voice, another Audio output apparatus is mute, or passes through an audio output apparatus output incoming call voice, another audio output apparatus Reduce volume.As it can be seen that two processing events are existed concurrently with, and in the case that the two processing events are required to output audio, electricity The problem of sub- equipment optionally reasonably controls audio output, avoids audio mutual interference, and then promote audio output efficiency.
In the implementation of the application, electronic equipment according to the type of incoming call determine output audio processing operation it Before, the method also includes: electronic equipment obtains the remark information of incoming call account;Electronic equipment is determined according to the remark information The type of the incoming call.
Wherein, incoming call account can be telephone number, the communications account that can be the registrations such as mailbox, can be third party i.e. When communication software account, etc..
Wherein, remark information refers to the comment declaration for incoming call account.Remark information for example can be similar communication It is corresponding to be also possible to incoming call account for title in record, the label being also possible in similar instant messaging application (such as wechat etc.) Grouping information (grouping information is, for example, the title of each grouping in relation to contact person in QQ application, such as senior middle school classmate, family People, colleague etc.), it is not limited thereto.
Specifically, electronic equipment determines that the specific implementation of type of the incoming call has according to the remark information: electricity Sub- equipment parses the remark information, obtains target keyword;Electronic equipment is determined according to the mapping relations of keyword and type The type of the corresponding incoming call of the target keyword.
Wherein, the number of the target keyword is either one or more, is not limited thereto.
Wherein, the mapping relations of keyword and type are as shown in table 1.It should be noted that if electronic equipment does not obtain The remark information of incoming call account is got, then indicating that the user of electronic equipment does not carry out remarks, this kind of feelings to the incoming call account The keyword got under condition is sky.
Table 1
In the implementation of the application, in the case where the type of the incoming call is relatives or friend, the processing Operation keeps current state for controlling first audio output apparatus.
Specifically, in the case that the type of incoming call is relatives or friend, indicate that the incoming call may not be related to than heavier The thing wanted, playing multimedia file in the case of this kind in incoming call answering not will cause audio mutual interference, therefore in this kind of situation Under can export two audios simultaneously.
Further, electronic equipment exports the call voice of the incoming call by the second audio output apparatus, and After executing the processing operation, the method also includes:
In the first condition, electronic equipment stops playing the multimedia file, wherein first condition include it is following wherein It is a kind of: to detect the audio for firing finger, detect the audio comprising setting keyword, which for example has pause, stops It only plays, stop, detect setting knocking, which for example has continuous percussion electronic equipment casing multiple Deng.
As it can be seen that passing through simple trigger action in the case where the audio of output call voice and multimedia file at the same time It can stop playing the multimedia file, it is easy to operate, promote user experience.
In the implementation of the application, in the case where the type of the incoming call is work buddies, the processing behaviour It acts on stopping and plays the multimedia file.
Specifically, in the case that the type of incoming call is work buddies, it is important to indicate that the incoming call may be related to Thing, playing multimedia file in the case of this kind in incoming call answering will cause audio mutual interference, therefore only defeated in that case It sends a telegram here out call voice.
Further, electronic equipment exports the call voice of the incoming call by the second audio output apparatus, and After executing the processing operation, the method also includes:
Under a second condition, electronic equipment plays the multimedia file, and passes through first audio output apparatus The audio of the multimedia file is exported, wherein second condition includes following one of which: detecting the audio for firing finger, detected To the audio comprising setting keyword, which for example has broadcasting, opens, and detects setting knocking, the setting Knocking, which for example has, continuous taps electronic equipment casing repeatedly etc..
As it can be seen that the multimedia can be replayed by simple trigger action after stopping playing multimedia file File, it is easy to operate, promote user experience.
In the implementation of the application, in the case where the type of the incoming call is stranger, the processing operation It is mute for controlling first audio output apparatus, or turn down the output volume of first audio output apparatus.
Wherein, the output volume for turning down first audio output apparatus specifically has: by first audio output apparatus It turns down to setting volume, it is customized which can be user, and it is customized to be also possible to electronic equipment, does not make herein It limits.The setting volume is relatively low volume, for example, completely volume 10%, full volume 5%, full volume 3% etc..
Specifically, in the case that the type of incoming call is stranger, indicate that the incoming call may talk some things, this kind In the case of in incoming call answering play multimedia file will cause audio mutual interference, therefore in that case only output incoming converse Voice, or turn down the output volume of the audio of multimedia file.
Further, electronic equipment exports the call voice of the incoming call by the second audio output apparatus, and After executing the processing operation, the method also includes:
Electronic equipment parses the call voice of the incoming call, obtains at least one keyword;
In the case where including at least one predetermined keyword at least one described keyword, described in electronic equipment recovery The volume of first audio output apparatus is arranged.
Wherein, predetermined keyword is not needed for example, has been misplayed etc..
As it can be seen that in mute first audio output apparatus, or after turning down the output volume of the first audio output apparatus, in real time Call voice is monitored, directly restores the first audio output apparatus in the case where detecting that the call voice is no so important Volume setting, it is easy to operate, promote user experience.
Further, electronic equipment exports the call voice of the incoming call by the second audio output apparatus, and After executing the processing operation, the method also includes:
Under third condition, electronic equipment restores the volume setting of first audio output apparatus, wherein third condition Including following one of which: detecting the audio for firing finger, detect the audio comprising setting keyword, the setting keyword example If any restoring etc., setting knocking is detected, which, which for example has, continuous taps electronic equipment casing repeatedly etc..
As it can be seen that in mute first audio output apparatus, or after turning down the output volume of the first audio output apparatus, pass through Simple trigger action can restore the volume setting of the first audio output apparatus, easy to operate, promote user experience.
In the implementation of the application, the electronic equipment supports split screen function, and the electronic equipment passes through described Split screen function supports the broadcast interface of the multimedia file and answering interface while showing for the incoming call.
Specifically, the display interface of electronic equipment can be divided into two parts, a part is for showing multimedia file Broadcast interface, what another part was used to show incoming call answers interface.Wherein, the two parts can be two parts up and down, Or left and right two parts.The size of the two parts can be identical, is also possible to different, is not limited thereto.
As it can be seen that supporting to show two interfaces simultaneously by the function of split screen, display effect can be promoted, promotes user's body It tests.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of audio provided by the embodiments of the present application The flow diagram of output control method is applied to electronic equipment, the electronic equipment and the first audio output apparatus and second Audio output apparatus communication connection, as shown, this audio output control method includes:
Step 301: electronic equipment plays multimedia file, and described more by first audio output apparatus output The audio of media file.
Step 302: in the case where receiving incoming call, electronic equipment obtains the remark information of incoming call account, and The type of the incoming call is determined according to the remark information.
Step 303: electronic equipment determines corresponding processing operation according to the type of the incoming call.
In the case where the type of the incoming call is relatives or friend, the processing operation is for controlling first audio Output equipment keeps current state;
In the case where the type of the incoming call is work buddies, the processing operation plays the multimedia for stopping File.
Step 304: in the case where detecting the answer command for the incoming call, electronic equipment is answered described next Electric calling.
Step 305: electronic equipment exports the call voice of the incoming call by second audio output apparatus, with And execute the processing operation.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process no longer describes herein.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of audio provided by the embodiments of the present application The flow diagram of output control method is applied to electronic equipment, the electronic equipment and the first audio output apparatus and second Audio output apparatus communication connection, as shown, this audio output control method includes:
Step 401: electronic equipment plays multimedia file, and described more by first audio output apparatus output The audio of media file.
Step 402: in the case where receiving incoming call, electronic equipment obtains the remark information of incoming call account, and The type of the incoming call is determined according to the remark information.
Step 403: electronic equipment determines corresponding processing operation according to the type of the incoming call.
In the case where the type of the incoming call is stranger, the processing operation is for controlling first audio output Equipment is mute, or turns down the output volume of first audio output apparatus.
Step 404: in the case where detecting the answer command for the incoming call, electronic equipment is answered described next Electric calling.
Step 405: electronic equipment exports the call voice of the incoming call by second audio output apparatus, with And execute the processing operation.
Step 406: electronic equipment parses the call voice of the incoming call, obtains at least one keyword.
Step 407: in the case where at least one described keyword including at least one predetermined keyword, electronic equipment Restore the volume setting of first audio output apparatus.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process no longer describes herein.
It is consistent with above-mentioned Fig. 2, Fig. 3 and embodiment shown in Fig. 4, referring to Fig. 6, Fig. 6 is that the embodiment of the present application provides A kind of electronic equipment structural schematic diagram, the electronic equipment and the first audio output apparatus and the second audio output apparatus are logical Letter connection, as shown, the electronic equipment includes processor, memory, communication interface and one or more programs, wherein Said one or multiple programs are stored in above-mentioned memory, and are configured to be executed by above-mentioned processor, above procedure packet Include the instruction for executing following steps:
Multimedia file is played, and exports the audio of the multimedia file by first audio output apparatus;
In the case where receiving incoming call, corresponding processing operation, the processing behaviour are determined according to the type of incoming call It acts on control first audio output apparatus and keeps current state, perhaps stop playing the multimedia file or control It makes first audio output apparatus is mute, or turns down the output volume of first audio output apparatus;
In the case where detecting the answer command for the incoming call, the incoming call is answered;
The call voice of the incoming call is exported by second audio output apparatus, and executes the processing behaviour Make.
In the implementation of the application, before the type according to incoming call determines corresponding processing operation, above-mentioned journey Sequence includes being also used to execute the instruction of following steps:
The remark information of the incoming call account is obtained, and determines the type of the incoming call according to the remark information.
In the implementation of the application, in the case where the type of the incoming call is relatives or friend, the processing Operation keeps current state for controlling first audio output apparatus.
In the implementation of the application, in the case where the type of the incoming call is work buddies, the processing behaviour It acts on stopping and plays the multimedia file.
In the implementation of the application, in the case where the type of the incoming call is stranger, the processing operation It is mute for controlling first audio output apparatus, or turn down the output volume of first audio output apparatus.
In the implementation of the application, in the call language for exporting the incoming call by the second audio output apparatus After sound, and the execution processing operation, above procedure includes the instruction for being also used to execute following steps:
The call voice for parsing the incoming call obtains at least one keyword;
In the case where including at least one predetermined keyword at least one described keyword, restore first audio The volume of output equipment is arranged.
In the implementation of the application, the electronic equipment supports split screen function, and the electronic equipment passes through described Split screen function supports the broadcast interface of the multimedia file and answering interface while showing for the incoming call.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process no longer describes herein.
Above-described embodiment is mainly described the scheme of the embodiment of the present application from the angle of method side implementation procedure.It can With understanding, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or soft for electronic equipment Part module.Those skilled in the art should be readily appreciated that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function is studied carefully Unexpectedly it is executed in a manner of hardware or computer software driving hardware, the specific application and design constraint depending on technical solution Condition.Professional technician can specifically realize described function to each using distinct methods, but this It realizes it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to the method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.The integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
It is below the application Installation practice, the application Installation practice is realized for executing the application embodiment of the method Method.Referring to Fig. 6, Fig. 6 is a kind of audio output control device provided by the embodiments of the present application, it is applied to electronic equipment, The electronic equipment and the first audio output apparatus and the second audio output apparatus communicate to connect, the audio output control device Including processing unit 601 and communication unit 602, in which:
The processing unit 601 passes through described for playing multimedia file, and by the communication unit 602 One audio output apparatus exports the audio of the multimedia file;In the case where receiving incoming call, according to the class of incoming call Type determines that corresponding processing operation, the processing operation keep current state for controlling first audio output apparatus, or Person stops playing the multimedia file, and perhaps control first audio output apparatus is mute or turns down first sound The output volume of frequency output equipment;In the case where detecting the answer command for the incoming call, the incoming call is answered Calling;The call voice of the incoming call is exported by second audio output apparatus by the communication unit 602, with And execute the processing operation.
In the embodiment of the present application, the audio output control device further includes storage unit 603, and processing unit 601 can Be processor, communication unit 602 can be communication interface, storage unit 604 can be memory.
In the implementation of the application, corresponding processing operation is determined according to the type of incoming call in processing unit 601 Before, processing unit 601, are also used to obtain the remark information of the incoming call account, and determine institute according to the remark information State the type of incoming call.
In the implementation of the application, in the case where the type of the incoming call is relatives or friend, the processing Operation keeps current state for controlling first audio output apparatus.
In the implementation of the application, in the case where the type of the incoming call is work buddies, the processing behaviour It acts on stopping and plays the multimedia file.
In the implementation of the application, in the case where the type of the incoming call is stranger, the processing operation It is mute for controlling first audio output apparatus, or turn down the output volume of first audio output apparatus.
In the implementation of the application, the incoming call is exported by the second audio output apparatus in processing unit 601 After the call voice of calling, and the execution processing operation, processing unit 601 is also used to parse the incoming call Call voice obtains at least one keyword;
In the case where including at least one predetermined keyword at least one described keyword, restore first audio The volume of output equipment is arranged.
In the implementation of the application, the electronic equipment supports split screen function, and the electronic equipment passes through described Split screen function supports the broadcast interface of the multimedia file and answering interface while showing for the incoming call.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of audio output control method, which is characterized in that be applied to electronic equipment, the electronic equipment and the first audio are defeated Equipment and the communication connection of the second audio output apparatus out, which comprises
Multimedia file is played, and exports the audio of the multimedia file by first audio output apparatus;
In the case where receiving incoming call, the processing operation of output audio, the processing behaviour are determined according to the type of incoming call It acts on control first audio output apparatus and keeps current state, perhaps stop playing the multimedia file or control It makes first audio output apparatus is mute, or turns down the output volume of first audio output apparatus;
In the case where detecting the answer command for the incoming call, the incoming call is answered;
The call voice of the incoming call is exported by second audio output apparatus, and executes the processing operation.
2. the method according to claim 1, wherein the processing for determining output audio according to the type of incoming call Before operation, the method also includes:
The remark information of incoming call account is obtained, and determines the type of the incoming call according to the remark information.
3. method according to claim 1 or 2, which is characterized in that in the feelings that the type of the incoming call is relatives or friend Under condition, the processing operation keeps current state for controlling first audio output apparatus.
4. method according to claim 1-3, which is characterized in that in the type of the incoming call be work buddies In the case of, the processing operation plays the multimedia file for stopping.
5. method according to claim 1-4, which is characterized in that in the feelings that the type of the incoming call is stranger Under condition, the processing operation is mute for controlling first audio output apparatus, or turns down first audio output and set Standby output volume.
6. according to the method described in claim 5, it is characterized in that, second audio output apparatus that passes through exports the incoming call After the call voice of calling, and the execution processing operation, the method also includes:
The call voice for parsing the incoming call obtains at least one keyword;
In the case where including at least one predetermined keyword at least one described keyword, restore first audio output The volume of equipment is arranged.
7. method according to claim 1-6, which is characterized in that the electronic equipment supports split screen function, institute It states electronic equipment and supports the broadcast interface of the multimedia file and answering for the incoming call by the split screen function Interface is shown simultaneously.
8. a kind of audio output control device, which is characterized in that be applied to electronic equipment, the electronic equipment and the first audio are defeated Equipment and the communication connection of the second audio output apparatus out, the audio output control device includes processing unit and communication unit, Wherein:
The processing unit passes through first audio output for playing multimedia file, and by the communication unit Equipment exports the audio of the multimedia file;In the case where receiving incoming call, is determined and exported according to the type of incoming call The processing operation of audio, the processing operation keeps current state for controlling first audio output apparatus, or stops The multimedia file is played, perhaps control first audio output apparatus is mute or turns down first audio output The output volume of equipment;In the case where detecting the answer command for the incoming call, the incoming call is answered;It is logical The call voice that the communication unit exports the incoming call by second audio output apparatus is crossed, and described in execution Processing operation.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7.
CN201810813416.3A 2018-07-23 2018-07-23 Audio output control method and relevant device Pending CN109151172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813416.3A CN109151172A (en) 2018-07-23 2018-07-23 Audio output control method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813416.3A CN109151172A (en) 2018-07-23 2018-07-23 Audio output control method and relevant device

Publications (1)

Publication Number Publication Date
CN109151172A true CN109151172A (en) 2019-01-04

Family

ID=64801528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813416.3A Pending CN109151172A (en) 2018-07-23 2018-07-23 Audio output control method and relevant device

Country Status (1)

Country Link
CN (1) CN109151172A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714487A (en) * 2019-01-25 2019-05-03 合肥星空物联信息科技有限公司 A kind of method that more equipment play audio simultaneously
CN111200776A (en) * 2020-03-05 2020-05-26 北京声智科技有限公司 Audio playing control method and sound box equipment
CN111212364A (en) * 2020-03-19 2020-05-29 锐迪科微电子(上海)有限公司 Audio output device and method for eliminating sound leakage thereof
CN111432071A (en) * 2020-03-26 2020-07-17 维沃移动通信有限公司 Call control method and electronic equipment
CN112566057A (en) * 2019-09-26 2021-03-26 苹果公司 Adaptive audio output
CN114430438A (en) * 2020-10-29 2022-05-03 沃科莱克特公司 Enabling a worker to use a personal mobile device with a wearable electronic device
WO2023138267A1 (en) * 2022-01-22 2023-07-27 华为技术有限公司 Audio notification display method and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129345A (en) * 2010-01-19 2011-07-20 Lg电子株式会社 Mobile terminal and control method thereof
CN102821195A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Terminal and multi-audio-frequency output method
CN103279303A (en) * 2013-05-31 2013-09-04 东莞宇龙通信科技有限公司 Method and device for processing event message
CN104035683A (en) * 2014-05-14 2014-09-10 张智锋 Split-screen multitask interaction method for communication terminal
CN104133610A (en) * 2014-07-11 2014-11-05 深圳市中兴移动通信有限公司 Screen-splitting interaction method of mobile terminal and mobile terminal
CN104484037A (en) * 2014-12-12 2015-04-01 三星电子(中国)研发中心 Method for intelligent control by virtue of wearable device and wearable device
CN104954553A (en) * 2015-04-30 2015-09-30 努比亚技术有限公司 Mobile terminal split-screen display method and device
CN105630586A (en) * 2014-10-30 2016-06-01 联想(北京)有限公司 Information processing method and electronic device
CN108055366A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Terminal call interface processing method, mobile terminal and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129345A (en) * 2010-01-19 2011-07-20 Lg电子株式会社 Mobile terminal and control method thereof
CN102821195A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Terminal and multi-audio-frequency output method
CN103279303A (en) * 2013-05-31 2013-09-04 东莞宇龙通信科技有限公司 Method and device for processing event message
CN104035683A (en) * 2014-05-14 2014-09-10 张智锋 Split-screen multitask interaction method for communication terminal
CN104133610A (en) * 2014-07-11 2014-11-05 深圳市中兴移动通信有限公司 Screen-splitting interaction method of mobile terminal and mobile terminal
CN105630586A (en) * 2014-10-30 2016-06-01 联想(北京)有限公司 Information processing method and electronic device
CN104484037A (en) * 2014-12-12 2015-04-01 三星电子(中国)研发中心 Method for intelligent control by virtue of wearable device and wearable device
CN104954553A (en) * 2015-04-30 2015-09-30 努比亚技术有限公司 Mobile terminal split-screen display method and device
CN108055366A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Terminal call interface processing method, mobile terminal and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714487A (en) * 2019-01-25 2019-05-03 合肥星空物联信息科技有限公司 A kind of method that more equipment play audio simultaneously
CN112566057A (en) * 2019-09-26 2021-03-26 苹果公司 Adaptive audio output
CN111200776A (en) * 2020-03-05 2020-05-26 北京声智科技有限公司 Audio playing control method and sound box equipment
CN111212364A (en) * 2020-03-19 2020-05-29 锐迪科微电子(上海)有限公司 Audio output device and method for eliminating sound leakage thereof
CN111212364B (en) * 2020-03-19 2021-11-26 锐迪科微电子(上海)有限公司 Audio output device and method for eliminating sound leakage thereof
CN111432071A (en) * 2020-03-26 2020-07-17 维沃移动通信有限公司 Call control method and electronic equipment
CN114430438A (en) * 2020-10-29 2022-05-03 沃科莱克特公司 Enabling a worker to use a personal mobile device with a wearable electronic device
WO2023138267A1 (en) * 2022-01-22 2023-07-27 华为技术有限公司 Audio notification display method and electronic device

Similar Documents

Publication Publication Date Title
CN109151172A (en) Audio output control method and relevant device
CN106445448B (en) Audio device control method and system of terminal and mobile terminal
CN104346217A (en) Method and system for prompting push information
CN107241656A (en) A kind of call processing method, device, storage medium and terminal
CN109739463A (en) Multimedia volume adjusting method and terminal
CN104079542B (en) A kind of information processing method and device management server
CN109348467A (en) Emergency call realization method, electronic device and computer readable storage medium
CN109508168A (en) Multichannel volume adjusting method and relevant apparatus
CN102609302A (en) Multimedia application concurrent-management method and multimedia application concurrent-management device
CN110134237A (en) Interface control method and relevant device
CN108882015A (en) Recall the broadcasting speed method of adjustment and relevant device of video
CN106341757A (en) Sound source simultaneous playing method, device and terminal
CN108597546A (en) The background music for recalling video determines method and relevant device
CN111277697A (en) Audio processing method and device, storage medium and electronic equipment
CN104301486A (en) Electronic equipment and conversation control method
CN107666537A (en) Based reminding method and system under a kind of mobile terminal and its silent mode
CN110418181A (en) To the method for processing business of smart television, device, smart machine and storage medium
CN108876782A (en) Recall video creation method and relevant apparatus
CN105808716A (en) Alarm clock reminding method and apparatus as well as terminal
CN109213580A (en) Using exchange method and device
CN105072534B (en) A kind of control method and terminal of wireless sound box system
CN111161734A (en) Voice interaction method and device based on designated scene
CN106970813A (en) Software updating control method, device and electronic equipment
CN106209583A (en) A kind of message input method, device and user terminal thereof
CN110600021A (en) Outdoor intelligent voice interaction method, device and system

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: 20190104

RJ01 Rejection of invention patent application after publication