CN108683798B - Sound output control method and mobile terminal - Google Patents

Sound output control method and mobile terminal Download PDF

Info

Publication number
CN108683798B
CN108683798B CN201810352982.9A CN201810352982A CN108683798B CN 108683798 B CN108683798 B CN 108683798B CN 201810352982 A CN201810352982 A CN 201810352982A CN 108683798 B CN108683798 B CN 108683798B
Authority
CN
China
Prior art keywords
earphone
mobile terminal
image data
sound output
preset
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.)
Active
Application number
CN201810352982.9A
Other languages
Chinese (zh)
Other versions
CN108683798A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810352982.9A priority Critical patent/CN108683798B/en
Publication of CN108683798A publication Critical patent/CN108683798A/en
Application granted granted Critical
Publication of CN108683798B publication Critical patent/CN108683798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • 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
    • 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

Abstract

The embodiment of the invention provides a sound output control method and a mobile terminal, wherein the method comprises the following steps: after detecting that the earphone is connected to the mobile terminal, controlling a front camera of the mobile terminal to acquire image data; judging whether a sound output channel switching condition is satisfied or not according to the image data; if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted; if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected. After the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but whether the sound output channel is switched is determined by combining the collected image data, so that the user can be ensured to continuously receive and hear the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone is solved, and the user audio data listening experience is improved.

Description

Sound output control method and mobile terminal
Technical Field
The invention relates to the technical field of intelligent control, in particular to a sound output control method and a mobile terminal.
Background
At present, with the gradual maturity of mobile communication technology, mobile terminals (such as mobile phones) have become essential electronic consumer goods in people's daily life, and with the increasing popularization of smart phones, smart phones have been integrated into various aspects of life. The audio output mode of the smart phone mainly comprises a loudspeaker output mode and an earphone output mode, a user can select a multimedia file playing mode according to the current actual requirement of the user, and in addition, the audio output mode can be switched freely between the two sound output modes according to the actual listening requirement of the user. When the smart phone plays a multimedia file with sound, such as listening to music, watching a tv play, etc., if it is required to switch from the speaker output mode to the earphone output mode, after detecting that the earphone is connected to the smart phone, the sound output channel will immediately switch from the audio channel corresponding to the sound output from the speaker to the audio channel corresponding to the sound output from the earphone, i.e., the sound played by the speaker is switched to the sound played by the earphone.
Therefore, when the user firstly accesses the earphone into the smart phone and then places the sound output end of the earphone into the ear, the user cannot normally listen to partial audio content due to the fact that the switching of the sound output channel is completed in a time period from the earphone being accessed into the mobile terminal to the user wearing the earphone, the problem that the user receives the audio data and is interrupted is caused, and the user audio data listening experience is reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a sound output control method and a mobile terminal, which can ensure that a user can continuously listen to audio in the process of wearing an earphone by the user.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a sound output control method, including:
after detecting that the earphone is connected to the mobile terminal, controlling a front camera of the mobile terminal to acquire image data;
judging whether a sound output channel switching condition is met or not according to the acquired image data;
if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted;
if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the image acquisition module is used for controlling a front camera of the mobile terminal to acquire image data after detecting that the earphone is connected to the mobile terminal;
the first judgment module is used for judging whether a sound output channel switching condition is met or not according to the acquired image data;
the first control module is used for keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted if the judgment result is negative;
and the second control module is used for disconnecting the first audio channel corresponding to the sound output by the loudspeaker and connecting the second audio channel corresponding to the sound output by the earphone if the judgment result is yes.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the sound output control method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the sound output control method according to the first aspect.
According to the sound output control method and the mobile terminal, after the earphone is detected to be connected to the mobile terminal, the front-facing camera of the mobile terminal is controlled to acquire image data; judging whether a sound output channel switching condition is satisfied or not according to the image data; if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted; if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected. After the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but the switching of a sound output channel is determined by combining the collected image data, namely, whether the loudspeaker is stopped playing the audio data is determined, so that the user can be ensured to continuously listen to the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone well is avoided, and the listening experience of the audio data of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of a sound output control method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a sound output control method according to an embodiment of the present invention;
FIG. 3 is a third flowchart illustrating a sound output control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a display effect of a prompt message in the sound output control method according to the embodiment of the present invention;
fig. 5 is a fourth flowchart illustrating a sound output control method according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a module composition of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a sound output control method and a mobile terminal, wherein after detecting that an earphone is connected to the mobile terminal, sound is not directly switched from loudspeaker playing to earphone playing, but whether a sound output channel is switched is determined by combining collected image data, so that a user can be ensured to continuously receive and hear audio in the process of wearing the earphone by the user, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone well is avoided, and the listening experience of the audio data of the user is improved.
In an embodiment of the present invention, a mobile terminal may be a smart phone, a tablet computer, and the like, taking the smart phone as an example, fig. 1 is a first flowchart of a sound output control method provided in an embodiment of the present invention, where the method in fig. 1 can be executed by the mobile terminal, and is particularly executed by a program module disposed in the mobile terminal, as shown in fig. 1, the method at least includes the following steps:
the method includes the steps of S101, after the fact that an earphone is connected to a mobile terminal is detected, controlling a front camera of the mobile terminal to acquire image data, specifically, when the mobile terminal plays a multimedia file with sound through a loudspeaker, for a wired earphone, when it is detected that an earphone plug is inserted into an earphone interface of the mobile terminal, determining that the earphone is connected to the mobile terminal, for a wireless earphone, when it is detected that the earphone and the mobile terminal are successfully paired, determining that the earphone is connected to the mobile terminal, after it is determined that the earphone is connected to the mobile terminal, firstly, controlling the front camera of the mobile terminal to be started, and shooting images to acquire needed image data.
S102, determining whether a switching condition of a sound output path is satisfied according to the acquired image data, specifically, after acquiring current image data by using a front-facing camera of the mobile terminal, performing identification analysis on the image data, and determining whether to perform sound output path switching based on an identification result, that is, if it is identified that a user using the mobile terminal has worn an earphone, it indicates that the user can receive audio data through the earphone, and at this time, playing sound by a speaker is switched to outputting sound by the earphone.
If not, executing S103, keeping the first audio channel corresponding to the sound output by the speaker to be conducted, specifically, if it is not identified that the user using the mobile terminal wears the earphone, at this time, there may be a situation that the user cannot receive the audio data through the earphone, so that the sound is continuously played through the speaker, so that the user can normally receive the currently played audio data, and meanwhile, continuing to execute the step S101 according to the preset time interval, so as to obtain the next image data for identification and analysis, and control the sound output of the mobile terminal according to the identification and analysis result.
If yes, executing S104, disconnecting the first audio channel corresponding to the speaker output sound, and conducting the second audio channel corresponding to the earphone output sound, specifically, if it is recognized that the user using the mobile terminal has worn the earphone, switching the first audio channel corresponding to the speaker of the mobile terminal as the sound output channel to the second audio channel corresponding to the earphone access end of the mobile terminal for conducting.
In the embodiment of the invention, after the earphone is detected to be connected to the mobile terminal, a front-facing camera of the mobile terminal is controlled to acquire image data; judging whether a sound output channel switching condition is satisfied or not according to the image data; if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted; if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected. After the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but the switching of a sound output channel is determined by combining the collected image data, namely, whether the loudspeaker is stopped playing the audio data is determined, so that the user can be ensured to continuously listen to the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone well is avoided, and the listening experience of the audio data of the user is improved.
In the embodiment of the present invention, whether a switching condition of a sound output path is satisfied is determined by identifying whether a face image wearing an earphone exists in the acquired image data, specifically, as shown in fig. 2, the step S102 of determining whether the switching condition of the sound output path is satisfied according to the acquired image data specifically includes:
s1021, performing face recognition on the acquired image data, and judging whether a preset face image exists in the image data, specifically, extracting contour information in the image data by adopting an image recognition algorithm, and judging whether the preset face image exists based on the extracted contour information;
if the preset face image exists, S1022 is executed to determine whether the face on the preset face image is wearing an earphone, specifically, after the preset face image exists in the image data, whether the earphone is worn or not is identified, an image segmentation algorithm is adopted to extract an ear region image from the face image, whether the earphone image exists in the extracted ear region image or not is judged, wherein, at least one preset face image can be stored in the mobile terminal in advance, so that if the condition that other users wear the earphones of other mobile terminals is collected, the condition of error switching can not occur, that is, when other face images than the preset face image exist in the image data and the other face images wear the earphones of other mobile terminals, at this time, the preset face image in the image data cannot be determined, so that the switching of the sound output channel cannot be carried out;
if the user determines that the user does not wear the earphone, determining that the switching condition of the sound output path is not met, namely executing step S103, specifically, if it is determined that the user does not wear the earphone, it indicates that the user may not wear the earphone well, and if the user directly turns off the sound played by the speaker, the sound played by the earphone is changed to the sound played by the earphone, so that the user may not receive the currently played audio data before the user finishes wearing the earphone;
if the user determines that the user wears the earphone, the user determines that the switching condition of the sound output path is met, that is, step S104 is executed, specifically, if the user determines that the user wears the earphone, the user can receive the audio data through the earphone, and at this time, the speaker playing sound is turned off, and the user changes to the earphone playing sound.
Further, considering that it cannot be determined whether the user wears the earphone at present for the case where the face image is not detected, the method may be implemented in a manner of displaying a prompt message, and the user may decide whether to switch the sound output path, based on which, in fig. 2, after performing face recognition on the acquired image data and determining whether the preset face image exists in the image data, the method further includes:
if the preset face image does not exist, S1023 is executed to display prompt information for switching the audio channel and execute corresponding control operation according to the selection operation instruction, specifically, as shown in fig. 3, after it is determined that the preset face image does not exist in the image data, a prompt box may be displayed on the display interface of the mobile terminal, and corresponding prompt information "detect that the earphone is connected, ask for whether to switch the sound to the earphone for output? "and displaying two options of" cancel "and" switch ", if it is detected that the user selects the" cancel "option, determining that the switching condition of the sound output channel is not satisfied, i.e. continuously keeping the first audio channel corresponding to the output sound of the speaker on; correspondingly, if the user is detected to select the 'switching' option, the switching condition of the sound output channel is determined to be met, namely, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected.
Further, considering that, for the case that the image data includes a face image but it is recognized that the user does not wear an earphone, it may be that the other user except the face image included in the image data wears an earphone connected to the mobile terminal, that is, the first target user corresponding to the face image included in the image data does not wear an earphone, but the second target user not included in the image data wears an earphone, at this time, the second target user needs to receive the audio data through the earphone, therefore, in order to ensure that the second target user can normally receive the audio data through the earphone, a timeout condition is preset, in the case that the timeout condition is not satisfied, the next image data is continuously obtained according to a preset time interval for identification and analysis, and the sound output of the mobile terminal is controlled according to the identification and analysis result, and once the timeout condition is satisfied, by displaying the prompt information, the method for switching the audio output path according to the user' S discretion, specifically, as shown in fig. 4, after keeping the first audio path corresponding to the audio output from the speaker conducting at S103, further includes:
s105, judging whether the image data acquisition operation meets a preset overtime condition or not; specifically, even after it is determined that the face image in the image data does not wear the earphone and the speaker plays the sound, the operation of acquiring the next image data through the front-facing camera is not continuously executed, but whether a preset timeout condition is met is judged first, if it is determined that the timeout condition is met, the acquisition of the image data is stopped, and whether the switching of the sound output path is performed is determined by the user, so that the second target user can be ensured to normally receive the audio data through the earphone in the case that the second target user wears the earphone except the acquired image data.
If the preset overtime condition is met, executing S1023, displaying prompt information for whether to switch the audio channel and executing corresponding control operation according to the selection operation instruction; specifically, as shown in fig. 4, a prompt box is also displayed on the display interface of the mobile terminal, and a corresponding prompt message "detect that the earphone is connected, ask for whether to switch the sound to the earphone output? "and displaying two options of" cancel "and" switch ", if it is detected that the user selects the" cancel "option, determining that the switching condition of the sound output channel is not satisfied, i.e. continuously keeping the first audio channel corresponding to the output sound of the speaker on; correspondingly, if the user is detected to select the 'switching' option, the switching condition of the sound output channel is determined to be met, namely, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected.
If the preset timeout condition is not met, executing S101, and controlling a front-facing camera of the mobile terminal to acquire image data, specifically, during a process that a first target user corresponding to a face image included in the image data is wearing an earphone, so as to acquire next image data according to a preset time interval, and determining whether the face image included in the image data is wearing an earphone.
As shown in fig. 5, the step S105 of determining whether the image data acquiring operation meets the preset timeout condition specifically includes:
s1051, judging whether the earphone access time is larger than a target time threshold value, wherein the target time threshold value is determined based on the average value of the historical earphone wearing time of the user; specifically, since image data acquisition is started after detecting that the earphone is connected to the mobile terminal, the earphone connection time is detection time for identifying whether the user wears the earphone or not, a timer in the mobile terminal is started to start timing after detecting that the earphone is connected to the mobile terminal, the target time threshold may be preset or determined by combining an average value of historical earphone wearing time of the user, and a mode of determining the target time threshold by combining historical earphone wearing time of the user is adopted, so that accuracy of judging whether a timeout condition is met can be improved, compared with a target time threshold corresponding to a user with shorter historical earphone wearing time, a target time threshold corresponding to a user with longer historical earphone wearing time is larger, and in addition, in order to prevent detection omission, on the basis of the average value of the historical earphone wearing time of the user, the target time threshold is set larger.
If the time is greater than the target time threshold, it is determined that the preset timeout condition is met, that is, step S1023 is executed, specifically, if the earphone access time is greater than the target time threshold, there may be a case where the accessed mobile terminal earphone is worn by another user except for the face image included in the image data, and at this time, the user may decide by himself whether to switch the sound output path by displaying the prompt information.
If the time is not greater than the target time threshold, determining that the preset timeout condition is not met, namely executing step S101, specifically, if the earphone access time is not greater than the target time threshold, obtaining next image data according to a preset time interval, and determining whether a face image contained in the image data is worn with an earphone.
For example, for a certain target user, obtaining the historical wearing time of the target user, if the average value of the historical wearing time of the target user is 3s, setting the target time threshold to 3s, and further if the earphone access time is greater than 3s, there may be a case where the accessed mobile terminal earphone is worn by other users except for the face image included in the image data, and thus it is determined that the preset timeout condition is satisfied; if the earphone access time is not more than 3s, at this time, the next image data needs to be acquired according to the preset time interval, and therefore, the preset timeout condition is determined not to be met.
According to the sound output control method in the embodiment of the invention, after the earphone is detected to be connected to the mobile terminal, the front-facing camera of the mobile terminal is controlled to acquire image data; judging whether a sound output channel switching condition is satisfied or not according to the image data; if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted; if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected. After the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but whether the sound output channel is switched is determined by combining the collected image data, so that the user can be ensured to continuously receive and hear the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone is solved, and the user audio data listening experience is improved.
On the basis of the same technical concept, a mobile terminal is further provided in the embodiment of the present invention corresponding to the sound output control method provided in the foregoing embodiment, and fig. 6 is a schematic diagram illustrating a module composition of the mobile terminal provided in the embodiment of the present invention, where the mobile terminal is configured to execute the sound output control method described in fig. 1 to 5, and as shown in fig. 6, the mobile terminal includes:
the image acquisition module 601 is configured to control a front camera of the mobile terminal to acquire image data after detecting that the earphone is connected to the mobile terminal;
a first determining module 602, configured to determine whether a sound output path switching condition is satisfied according to the acquired image data;
the first control module 603 is configured to, if the determination result is negative, keep the first audio channel corresponding to the sound output by the speaker conducting;
the second control module 604 is configured to disconnect a first audio channel corresponding to the sound output by the speaker and connect a second audio channel corresponding to the sound output by the earphone if the determination result is yes.
Optionally, the first determining module 602 is specifically configured to:
carrying out face recognition on the image data, and judging whether a preset face image exists in the image data;
if the preset face image exists, determining whether the face on the preset face image is provided with an earphone or not;
if the earphone is not worn, determining that the switching condition of the sound output channel is not met;
and if the earphone is determined to be worn, determining that the switching condition of the sound output channel is met.
Optionally, the mobile terminal further includes:
and the third control module is used for displaying prompt information whether to switch an audio channel and executing corresponding control operation according to the selection operation instruction after judging whether the preset face image exists in the image data or not and if the preset face image does not exist.
Optionally, the mobile terminal further includes:
the second judgment module is used for judging whether the image data acquisition operation meets a preset overtime condition after the first audio channel corresponding to the output sound of the loudspeaker is kept conducted;
the fourth control module is used for displaying prompt information whether to switch the audio channel and executing corresponding control operation according to the selection operation instruction if the preset overtime condition is met;
and the fifth control module is used for executing the step of controlling the front camera of the mobile terminal to acquire the image data if the preset overtime condition is not met.
Optionally, the second determining module is specifically configured to:
judging whether the earphone access time is larger than a target time threshold value, wherein the target time threshold value is determined based on an average value of historical earphone wearing time of a user;
if the time is larger than the target time threshold, determining that a preset overtime condition is met;
and if the time is not greater than the target time threshold, determining that a preset overtime condition is not met.
The mobile terminal in the embodiment of the invention controls the front camera of the mobile terminal to acquire image data after detecting that the earphone is connected to the mobile terminal; judging whether a sound output channel switching condition is satisfied or not according to the image data; if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted; if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected. After the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but whether the sound output channel is switched is determined by combining the collected image data, so that the user can be ensured to continuously receive and hear the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone is solved, and the user audio data listening experience is improved.
The mobile terminal provided by the embodiment of the present invention can implement each process in the embodiment corresponding to the sound output control method, and is not described herein again to avoid repetition.
Based on the same technical concept, an embodiment of the present invention further provides a mobile terminal corresponding to the sound output control method provided in the foregoing embodiment, where the device is configured to execute the sound output control method, fig. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, and the mobile terminal 100 shown in fig. 7 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to control a front-facing camera of the mobile terminal to obtain image data after detecting that the earphone is connected to the mobile terminal;
judging whether a sound output channel switching condition is met or not according to the acquired image data;
if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted;
if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected.
In the embodiment of the invention, after the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but whether the switching of the sound output channel is carried out or not is determined by combining the collected image data, so that the user can be ensured to continuously listen to the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone is solved, and the listening experience of the audio data of the user is improved.
The processor 110 is specifically configured to:
the judging whether a sound output channel switching condition is met according to the acquired image data includes:
carrying out face recognition on the image data, and judging whether a preset face image exists in the image data;
if the preset face image exists, determining whether the face on the preset face image is provided with an earphone or not;
if the earphone is not worn, determining that the switching condition of the sound output channel is not met;
and if the earphone is determined to be worn, determining that the switching condition of the sound output channel is met.
Wherein, the processor 110 is further configured to:
and after judging whether the preset face image exists in the image data or not, if the preset face image does not exist, displaying prompt information whether to switch an audio channel or not and executing corresponding control operation according to a selection operation instruction.
Wherein, the processor 110 is further configured to:
after a first audio channel corresponding to the output sound of the loudspeaker is kept conducted, whether the image data acquisition operation meets a preset timeout condition is judged;
if the preset overtime condition is met, displaying prompt information whether to switch the audio channel and executing corresponding control operation according to the selection operation instruction;
and if the preset overtime condition is not met, executing a step of controlling a front camera of the mobile terminal to acquire image data.
The processor 110 is specifically configured to:
the judging whether the image data acquisition operation meets the preset timeout condition includes:
judging whether the earphone access time is larger than a target time threshold value, wherein the target time threshold value is determined based on an average value of historical earphone wearing time of a user;
if the time is larger than the target time threshold, determining that a preset overtime condition is met;
and if the time is not greater than the target time threshold, determining that a preset overtime condition is not met.
In the mobile terminal 100 of the embodiment of the present invention, after detecting that the earphone is connected to the mobile terminal, the front camera of the mobile terminal is controlled to obtain image data; judging whether a sound output channel switching condition is satisfied or not according to the image data; if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted; if yes, the first audio channel corresponding to the sound output by the loudspeaker is disconnected, and the second audio channel corresponding to the sound output by the earphone is connected. After the earphone is detected to be connected with the mobile terminal, the sound is not directly switched from the loudspeaker to the earphone to be played, but whether the sound output channel is switched is determined by combining the collected image data, so that the user can be ensured to continuously receive and hear the audio in the process that the user wears the earphone, the problem that the user receives the audio data and is interrupted because the user does not wear the earphone is solved, and the user audio data listening experience is improved.
It should be noted that, the mobile terminal 100 provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the foregoing sound output control method embodiment, and for avoiding repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 7, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 is an interface through which an external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the mobile terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing sound output control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Further, corresponding to the sound output control method provided in the foregoing embodiment, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by the processor 110, the steps of the sound output control method embodiment are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the spirit and scope of the invention as defined in the appended claims. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (5)

1. A sound output control method is applied to a mobile terminal, and is characterized by comprising the following steps:
after detecting that the earphone is connected to the mobile terminal, controlling a front camera of the mobile terminal to be started, and controlling the front camera of the mobile terminal to acquire image data;
judging whether a sound output channel switching condition is met or not according to the acquired image data;
if not, keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted;
if so, disconnecting a first audio channel corresponding to the sound output by the loudspeaker, and connecting a second audio channel corresponding to the sound output by the earphone;
after keeping the first audio path corresponding to the speaker outputting sound conductive, the method further comprises:
judging whether the image data acquisition operation meets a preset overtime condition or not, wherein the preset overtime condition is used for ensuring that a second target user wearing an earphone and not contained in the image data can normally receive audio data through the earphone;
if the preset overtime condition is met, displaying prompt information whether to switch the audio channel and executing corresponding control operation according to the selection operation instruction;
if the preset overtime condition is not met, executing a step of controlling a front camera of the mobile terminal to acquire image data;
the determining whether the image data acquisition operation meets a preset timeout condition specifically includes:
judging whether the earphone access time is greater than a target time threshold value, wherein the earphone access time is detection time for identifying whether a user wears an earphone or not, and specifically is time for starting a timer in the mobile terminal to start timing after the earphone access to the mobile terminal is detected; the target time threshold is a preset time which is greater than an average value of historical earphone wearing time of the user;
if the time is larger than the target time threshold, determining that a preset overtime condition is met;
if the time is not greater than the target time threshold, determining that a preset overtime condition is not met;
wherein the determining whether a sound output channel switching condition is satisfied according to the acquired image data includes:
carrying out face recognition on the image data, and judging whether a preset face image exists in the image data;
if the preset face image exists, determining whether the face on the preset face image is provided with an earphone or not;
if the earphone is not worn, determining that the switching condition of the sound output channel is not met;
and if the earphone is determined to be worn, determining that the switching condition of the sound output channel is met.
2. The method according to claim 1, after determining whether a preset face image exists in the image data, further comprising:
and if the preset face image does not exist, displaying prompt information of whether to switch the audio channel and executing corresponding control operation according to the selection operation instruction.
3. A mobile terminal, comprising:
the image acquisition module is used for controlling the front camera of the mobile terminal to be started and controlling the front camera of the mobile terminal to acquire image data after detecting that the earphone is connected to the mobile terminal;
the first judgment module is used for judging whether a sound output channel switching condition is met or not according to the acquired image data;
the first control module is used for keeping a first audio channel corresponding to the output sound of the loudspeaker to be conducted if the judgment result is negative;
the second control module is used for disconnecting the first audio channel corresponding to the sound output by the loudspeaker and connecting the second audio channel corresponding to the sound output by the earphone if the judgment result is yes;
the second judgment module is used for judging whether the image data acquisition operation meets a preset overtime condition after a first audio channel corresponding to the output sound of the loudspeaker is kept conducted, wherein the preset overtime condition is used for ensuring that a second target user wearing an earphone and not contained in the image data can normally receive the audio data through the earphone;
the fourth control module is used for displaying prompt information whether to switch the audio channel and executing corresponding control operation according to the selection operation instruction if the preset overtime condition is met;
the fifth control module is used for executing the step of controlling the front camera of the mobile terminal to acquire the image data if the preset overtime condition is not met;
the second judging module is specifically configured to:
judging whether the earphone access time is greater than a target time threshold value, wherein the earphone access time is detection time for identifying whether a user wears an earphone or not, and specifically is time for starting a timer in the mobile terminal to start timing after the earphone access to the mobile terminal is detected; the target time threshold is a preset time which is greater than an average value of historical earphone wearing time of the user;
if the time is larger than the target time threshold, determining that a preset overtime condition is met;
if the time is not greater than the target time threshold, determining that a preset overtime condition is not met;
the first judging module is specifically configured to:
carrying out face recognition on the image data, and judging whether a preset face image exists in the image data;
if the preset face image exists, determining whether the face on the preset face image is provided with an earphone or not;
if the earphone is not worn, determining that the switching condition of the sound output channel is not met;
and if the earphone is determined to be worn, determining that the switching condition of the sound output channel is met.
4. The mobile terminal of claim 3, further comprising:
and the third control module is used for displaying prompt information whether to switch an audio channel and executing corresponding control operation according to the selection operation instruction after judging whether the preset face image exists in the image data or not and if the preset face image does not exist.
5. A mobile terminal, comprising: processor, memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the sound output control method according to any one of claims 1 to 2.
CN201810352982.9A 2018-04-19 2018-04-19 Sound output control method and mobile terminal Active CN108683798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810352982.9A CN108683798B (en) 2018-04-19 2018-04-19 Sound output control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810352982.9A CN108683798B (en) 2018-04-19 2018-04-19 Sound output control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108683798A CN108683798A (en) 2018-10-19
CN108683798B true CN108683798B (en) 2021-04-23

Family

ID=63802291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810352982.9A Active CN108683798B (en) 2018-04-19 2018-04-19 Sound output control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108683798B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022260876A1 (en) * 2021-06-06 2022-12-15 Apple Inc. User interfaces for audio routing
US11782598B2 (en) 2020-09-25 2023-10-10 Apple Inc. Methods and interfaces for media control with dynamic feedback
US11847378B2 (en) 2021-06-06 2023-12-19 Apple Inc. User interfaces for audio routing
US11853646B2 (en) 2019-05-31 2023-12-26 Apple Inc. User interfaces for audio media control
US11900372B2 (en) 2016-06-12 2024-02-13 Apple Inc. User interfaces for transactions

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9002322B2 (en) 2011-09-29 2015-04-07 Apple Inc. Authentication with secondary approver
JP6328797B2 (en) 2014-05-30 2018-05-23 アップル インコーポレイテッド Transition from using one device to using another device
EP4209872A1 (en) 2014-09-02 2023-07-12 Apple Inc. Phone user interface
CN111343060B (en) 2017-05-16 2022-02-11 苹果公司 Method and interface for home media control
US20220279063A1 (en) 2017-05-16 2022-09-01 Apple Inc. Methods and interfaces for home media control
JP2020072430A (en) * 2018-11-01 2020-05-07 本田技研工業株式会社 Portable terminal and program
CN109391869B (en) * 2018-11-05 2020-04-07 温州明澈眼镜科技有限公司 Earphone and ear canal judging and accessing method
CN112997471B (en) * 2018-12-10 2022-07-12 深圳市欢太科技有限公司 Audio channel switching method and device, readable storage medium and electronic equipment
CN109788114B (en) * 2019-03-12 2021-04-02 维沃移动通信有限公司 Call processing method and terminal
CN112019960A (en) * 2019-05-28 2020-12-01 深圳市冠旭电子股份有限公司 Method for monitoring scenes by utilizing earphone, device and readable storage medium
US11010121B2 (en) 2019-05-31 2021-05-18 Apple Inc. User interfaces for audio media control
DK201970533A1 (en) 2019-05-31 2021-02-15 Apple Inc Methods and user interfaces for sharing audio
CN110381409B (en) * 2019-08-13 2021-11-26 高创(苏州)电子有限公司 Control panel of display, driving method thereof and display
CN111026263B (en) * 2019-11-26 2021-10-15 维沃移动通信有限公司 Audio playing method and electronic equipment
CN111147799B (en) * 2019-12-31 2022-10-25 联想(北京)有限公司 Switching method and processing equipment
CN111510785B (en) * 2020-04-16 2022-01-28 Oppo广东移动通信有限公司 Video playing control method, device, terminal and computer readable storage medium
CN111615034A (en) * 2020-05-14 2020-09-01 上海创功通讯技术有限公司 Electronic equipment and audio playing method
CN114554004A (en) * 2020-11-27 2022-05-27 北京小米移动软件有限公司 Video recording method and device, electronic equipment and storage medium
CN112764710A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Audio playing mode switching method and device, electronic equipment and storage medium
CN114063970B (en) * 2021-11-17 2023-12-08 展讯通信(天津)有限公司 Audio channel switching method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2843994A1 (en) * 2013-02-26 2014-08-26 Jaemin Seo Application control method and apparatus for mobile terminal, earphone device and application control system
CN104158566A (en) * 2013-05-14 2014-11-19 戴姆勒大中华区投资有限公司 Control method and device for connection of vehicle communication mechanism and wireless earphone
CN106528041A (en) * 2016-11-07 2017-03-22 广东欧珀移动通信有限公司 Voice output mode switching method and device, and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2843994A1 (en) * 2013-02-26 2014-08-26 Jaemin Seo Application control method and apparatus for mobile terminal, earphone device and application control system
WO2014133314A1 (en) * 2013-02-26 2014-09-04 Samsung Electronics Co., Ltd. Application control method and apparatus for mobile terminal, earphone device and application control system
CN104158566A (en) * 2013-05-14 2014-11-19 戴姆勒大中华区投资有限公司 Control method and device for connection of vehicle communication mechanism and wireless earphone
CN106528041A (en) * 2016-11-07 2017-03-22 广东欧珀移动通信有限公司 Voice output mode switching method and device, and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11900372B2 (en) 2016-06-12 2024-02-13 Apple Inc. User interfaces for transactions
US11853646B2 (en) 2019-05-31 2023-12-26 Apple Inc. User interfaces for audio media control
US11782598B2 (en) 2020-09-25 2023-10-10 Apple Inc. Methods and interfaces for media control with dynamic feedback
WO2022260876A1 (en) * 2021-06-06 2022-12-15 Apple Inc. User interfaces for audio routing
US11847378B2 (en) 2021-06-06 2023-12-19 Apple Inc. User interfaces for audio routing

Also Published As

Publication number Publication date
CN108683798A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108683798B (en) Sound output control method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN107743178B (en) Message playing method and mobile terminal
CN107613146B (en) Volume adjustment method and device and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN110062273B (en) Screenshot method and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
CN108848267B (en) Audio playing method and mobile terminal
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
US20230037238A1 (en) Audio output mode switching method and electronic device
CN111078186A (en) Playing method and electronic equipment
CN108319440B (en) Audio output method and mobile terminal
CN109474747B (en) Information prompting method and mobile terminal
CN109101151B (en) Information display processing method and terminal equipment
CN108235084B (en) Video playing method and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN109753776B (en) Information processing method and device and mobile terminal
CN109660657B (en) Application program control method and device
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN108595352B (en) Protection method and device for mobile terminal
CN108170362B (en) Application running state control method and mobile terminal
CN111081283A (en) Music playing method and device, storage medium and terminal equipment
CN107888780B (en) Illumination control method of mobile terminal and mobile terminal
CN111355991B (en) Video playing method and device, storage medium and mobile terminal

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
GR01 Patent grant
GR01 Patent grant