WO2018126632A1 - 一种扬声器控制方法及移动终端 - Google Patents

一种扬声器控制方法及移动终端 Download PDF

Info

Publication number
WO2018126632A1
WO2018126632A1 PCT/CN2017/092226 CN2017092226W WO2018126632A1 WO 2018126632 A1 WO2018126632 A1 WO 2018126632A1 CN 2017092226 W CN2017092226 W CN 2017092226W WO 2018126632 A1 WO2018126632 A1 WO 2018126632A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
mobile terminal
speaker
state
determining
Prior art date
Application number
PCT/CN2017/092226
Other languages
English (en)
French (fr)
Inventor
管鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018126632A1 publication Critical patent/WO2018126632A1/zh

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • 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
    • 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/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets

Definitions

  • the present application relates to the field of mobile terminal control technologies, and in particular, to a speaker control method and a mobile terminal.
  • Dual-screen mobile terminals can Provide a larger screen to provide users with a better visual experience, while also being able to fold up for users to carry.
  • the mobile terminal with dual screen can realize free switching in the state of single screen and dual screen according to the operation of the user, and can greatly satisfy the visual requirement of the user.
  • the speaker cannot be used according to the state of the screen of the dual screen mobile terminal. The adjustment affects the user's listening experience.
  • the purpose of the embodiment of the present application is to provide a speaker control method and a mobile terminal, which solve the problem that the speaker cannot be adjusted according to the use state of the dual-screen mobile terminal screen in the prior art, and affects the user's auditory experience.
  • an embodiment of the present application provides a speaker control method, which is applied to a mobile terminal, where the mobile terminal includes a plurality of speakers and a first body and a second body connected to each other, and the first body is provided with a first a display screen, the second body is provided with a second display screen, the plurality of speakers including at least one first speaker disposed on the first body and at least one first portion disposed on the second body Two speakers, the method comprising:
  • the target speaker is controlled to operate when a sound playback signal is received.
  • the embodiment of the present application further provides a mobile terminal, including a plurality of speakers and a first body and a second body connected to each other, the first body is provided with a first display screen, and the second body is provided with a second a display screen, the plurality of speakers including at least one first speaker disposed on the first body and at least one second speaker disposed on the second body, the mobile terminal further comprising:
  • Determining a module configured to determine at least one of the plurality of speakers as a target speaker according to a state in which the mobile terminal is located;
  • the control module is configured to control the target speaker to operate when the sound playback signal is received.
  • the embodiment of the present application further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above.
  • a speaker control method is provided.
  • the speaker control method and the mobile terminal of the present application acquire the state in which the mobile terminal is located; and determine the plurality of speakers according to the state in which the mobile terminal is located. At least one of is a target speaker; when the sound playback signal is received, the target speaker is controlled to operate. In this way, the method can determine the target speaker according to the state in which the mobile terminal is located, and control the target speaker to work when the sound playing signal is received, thereby improving the user's hearing experience.
  • FIG. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a speaker control method according to an embodiment of the present application.
  • FIG. 3 is a flowchart of another speaker control method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a flowchart of another speaker control method according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application environment of a speaker control method according to an embodiment of the present application.
  • FIG. 1 is a mobile terminal 100 , and the speaker control method is applied to the mobile terminal 100 .
  • the mobile terminal 100 includes a first body 10 , a second body 20 , and a plurality of speakers ( 12 , 22 ) , and the first body 10 and the second body 20 are connected to each other.
  • a first display screen 11 is disposed on a body 10
  • a second display screen 21 is disposed on the second body 20.
  • the plurality of speakers includes a first speaker 12 disposed on the first body 10 and at least one second speaker 22 disposed on the second body 20.
  • the speaker control method provided by the present application uses the above-mentioned mobile terminal as an application environment.
  • the connection manner between the first body 10 and the second body 20 is not limited, that is, The connection between the first body 10 and the second body 20 shown in FIG. 1 is merely illustrative, but is not limited thereto.
  • a relative position between the first display screen 11 and the first speaker 12, the second display screen 21, and the second speaker 22 The relationship is not specifically limited.
  • the positional relationship shown in FIG. 1 is merely an example, but is not limited thereto.
  • the speaker control method of the present application will be described in detail below with reference to specific embodiments.
  • FIG. 2 is a flowchart of a method for controlling a speaker according to an embodiment of the present application. The method is applied to the mobile terminal 100 shown in FIG. 1. As shown in FIG. 2, the method includes:
  • Step 201 Obtain a state in which the mobile terminal is located.
  • the method acquires a state in which the mobile terminal is located, and the state in which the mobile terminal is located may be a screen usage state of the mobile terminal, or may be setting information of the mobile terminal.
  • the manner of obtaining the screen usage status of the mobile terminal may be obtained by acquiring the status of the display screen of the mobile terminal, or acquiring the screen of the mobile terminal by using data detected by the sensor disposed on the mobile terminal. status of use.
  • the method may perform the step 201 every preset time, that is, obtain the state of the mobile terminal every preset time.
  • the method may also perform the step 201 when the mobile terminal satisfies a preset trigger condition.
  • the step 201 may be performed when a sound play signal is received.
  • Receiving the sound playing signal is an operation instruction of receiving the user or receiving other control information, that is, when the sound playing signal is received, it can be understood as receiving the upper layer control of the mobile terminal (for example, control of the processor) The signal) needs to play the sound, that is, when the mobile terminal needs to play the sound when the sound playing signal is received, for example, playing music, video, ringtone, and alarm reminder.
  • Step 202 Determine at least one of the plurality of speakers as a target speaker according to a state in which the mobile terminal is located.
  • the method determines at least one of the plurality of speakers as a target speaker according to a state in which the mobile terminal is located.
  • the method may determine the target speaker according to a screen usage state of the mobile terminal, or determine the target speaker according to setting information of the mobile terminal, and may also be according to a screen usage state of the mobile terminal and combined with the The setting information of the mobile terminal determines the target speaker.
  • the screen usage status of the mobile terminal may include: only the first display screen is in use a state, only the second display screen is in a use state, the first display screen and the second display screen are in a use state, and the first display screen and the second display screen are both in a closed state.
  • the method may determine that at least one of the at least one first speaker is the target speaker Similarly, if the first display screen is in the off state and the second display screen is in use, the method may determine that at least one of the at least one second speaker is the target speaker; The first display screen and the second display screen are both in use, and the method may determine that at least one of the at least one first speaker and at least one of the at least one second speaker are the target speaker .
  • the method may further determine the target speaker according to other states of the mobile terminal, for example, when the first display screen and the The second display screen is in the off state, and when the speaker is in the working state (for example, playing music in the screen-off state), the method determines that the speaker currently in the working state is the target speaker, that is, before continuing to use the display screen to close
  • the speaker setting information controls the speaker to work.
  • the method may also determine the target speaker by detecting the orientation of the display screen in this case, for example, when both the first display screen and the second display screen are in a closed state and In a state in which the mobile terminal further needs to play a sound, the method may determine the target speaker by acquiring a three-axis gyroscope detection data set on the first body or the second body. Specifically, the method determines which display screen of the mobile terminal is upward by acquiring data of the three-axis gyroscope, and determines that the speaker corresponding to the display screen facing upward is the target speaker.
  • the method determines that at least one of the at least one first speaker is the target speaker, and similarly, if the second display screen of the mobile terminal is facing upward The method determines that at least one of the at least one second speaker is the target speaker.
  • the method can determine that the upward facing speaker works, avoiding the sound played by the downward facing speaker being blocked by the table, improving the user's listening experience.
  • Step 203 Control the target speaker to work when receiving the sound playing signal.
  • the method controls the target speaker to work.
  • the step 201 is to acquire the state of the mobile terminal every preset time
  • the step 203 is to control the target speaker to work when the sound playing signal is received
  • Step 201 is to directly control the operation of the target speaker when acquiring the state in which the mobile terminal is located when the sound playing signal is received.
  • the speaker control method of the first embodiment of the present application acquires a state in which the mobile terminal is located; determines at least one of the plurality of speakers as a target speaker according to a state in which the mobile terminal is located; when a sound playback signal is received When the target speaker is controlled to work. In this way, the method can determine the target speaker according to the state in which the mobile terminal is located, and control the target speaker to work when the sound playing signal is received, thereby improving the user's hearing experience.
  • FIG. 3 is a flowchart of another speaker control method according to an embodiment of the present application. As shown in FIG. 3, the method includes:
  • Step 301 Obtain a screen usage status of the mobile terminal.
  • the method acquires a screen usage status of the mobile terminal, and the usage status of the mobile terminal may include: only the first display screen is in a use state, only the second display screen is in a use state, and Both the first display screen and the second display screen are in use.
  • the target speaker is further determined according to the screen usage state of the mobile terminal, that is, the method further performs any one of steps 302, 303 or 304 after performing the step 301. step.
  • Step 302 Determine that at least one of the at least one first speaker is a target speaker if the first display screen is in a use state and the second display screen is in a closed state.
  • the method determines that at least one of the at least one first speaker is a target speaker.
  • the number of the at least one first speaker may be one or plural.
  • the method determines that the one first speaker is a target speaker; when the number of the first speakers is plural, the method may determine the plurality of A part of the speakers in the first speaker are target speakers, and it is also determined that the plurality of speakers are target speakers.
  • the method performs step 305.
  • Step 303 Determine that at least one of the at least one second speaker is a target speaker if the first display screen is in a closed state and the second display screen is in a use state.
  • the method determines that at least one of the at least one second speaker is a target speaker.
  • the number of the at least one second speaker may be one or plural.
  • the method determines that the one second speaker is a target speaker; when the number of the second speakers is plural, the method may determine the plurality of A part of the speakers in the second speaker are target speakers, and it is also determined that the plurality of speakers are target speakers.
  • the method performs step 305.
  • Step 304 Determine that at least one of the at least one first speaker and the at least one second speaker are target speakers if the first display screen and the second display screen are both in use.
  • the method determines at least one of the at least one first speaker and at least one of the at least one second speaker For the target speaker. That is, in the step, when the first display screen and the second display screen are both in use, the method determines a speaker corresponding to the first display screen and the second display screen respectively As the target speaker, the user's listening experience can be enhanced while enhancing the user's visual experience.
  • Step 305 Control the target speaker to work when receiving the sound playing signal.
  • step 305 is the same as step 203 in the first embodiment of the present application, and details are not described herein again.
  • a Hall sensing circuit is disposed on one of the first body and the second body, and a magnetic element is disposed at another corresponding position;
  • Obtaining a screen usage status of the mobile terminal including:
  • the Hall sensing circuit is not separated from the magnetic component, it is determined that the first display screen is in use and the second display screen is in a closed state.
  • FIG. 4 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the first body 10 and the second body 20 are rotatably connected by a rotating mechanism 50.
  • the first body 10 and the second body 20 are relatively rotatable.
  • the first body 10 and the second body 20 can be opened by rotating the rotating mechanism 50, that is, the first display screen 11
  • the second display screen 21 can be combined into a display screen for use.
  • the first body 10 and the second body 20 may also be folded, that is, the first display screen 11 is disposed opposite to the second display screen 2, and the first speaker and the camera are disposed.
  • the second speakers are also arranged opposite each other.
  • one of the first body 10 and the second body 20 is provided with a Hall sensing circuit 30, and the other corresponding position is provided with a magnetic element 40 (such as a magnet), when When the first display screen 11 is merged with the second display screen 21, the Hall sensing circuit 30 and the magnetic element 40 are separated, as shown in FIG. 4; when the first display screen 11 is When the second display screen 21 is opposite, the Hall sensing circuit 30 and the magnetic element 40 are not separated, as shown in FIG.
  • the method acquires a screen usage state of the mobile terminal by detecting whether the Hall sensing circuit 30 is separated from the magnetic element 40.
  • the Hall sensing circuit 30 shown in FIG. 4 and FIG. 5 is disposed on the first body 10, and the magnetic component 40 is disposed on the second body 20.
  • FIG. 4 and FIG. 5 are only The schematic diagram is not limited to this. That is, the Hall sensing circuit 30 may be disposed on the second body 20, and the magnetic element 40 may be disposed on the first body 10.
  • the method determines a screen usage state of the mobile terminal by detecting whether the Hall sensing circuit 30 is separated from the magnetic element 40. Specifically, if the Hall sensing circuit 30 and the magnetic element 40 are separated from each other, the method determines the first display screen 11 and the second display screen 21 are in a use state. If the Hall sensing circuit 30 and the magnetic element 40 are not separated from each other, the method determines that the first display screen 11 is in use and the second display screen 21 is in a closed state. It should be noted that, in this embodiment, the method defaults that the first display screen 11 is a main screen, and the second display screen 21 is a sub-screen.
  • the method may default that the second display screen 21 is a main screen, and the first display screen 11 is a sub screen, when the Hall sensing circuit 30 and the When the magnetic elements 40 are not separated from each other, the method determines that the second display screen 21 is in an active state, and the first display screen 11 is in a closed state.
  • first body and the second body are connected by a rotating mechanism, and the connection between the first body and the second body is provided with an angle sensor;
  • Obtaining a screen usage status of the mobile terminal including:
  • the first body 10 and the second body 20 are rotatably connected by a rotating mechanism 50.
  • an angle sensor is disposed at the rotating mechanism 50. (not shown) for detecting an angle between the first body 10 and the second body 20.
  • an angle between the first body 10 and the second body 20 is 180°
  • the angle between the first body 10 and the second body 20 is 0°.
  • an interference fit is formed between the first body 10 and the second body 20, so that the first body 10 and the second body 20 can be fixed at any angle. .
  • the method determines a screen usage state of the mobile terminal by acquiring data detected by the angle sensor. Specifically, if the angle between the first body 10 and the second body 20 reaches a preset angle, the method determines that the first display screen 11 and the second display screen 21 are in a use state; If the angle between the first body 10 and the second body 20 does not reach the preset angle, the method determines that the first display screen 11 is in use, and the second display screen 21 Is off.
  • the preset angle is 180°. It can be understood that when the first body 10 can be fixed at an arbitrary angle with respect to the second body 20, the predetermined angle can also be any other angle, such as 45°, 60° or 120°.
  • FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the number of the first speakers 12 is two, respectively.
  • the upper and lower positions of the first display screen 11 are similar, and the number of the second speakers 22 is also two, which are respectively disposed at the upper and lower positions of the second display screen 21.
  • the method can determine the target speaker operation based on the state in which the mobile terminal is located.
  • the speaker control method of the second embodiment of the present application is capable of determining a target speaker according to a state in which the mobile terminal is located, and controlling the target speaker to operate when receiving a sound playing signal, thereby improving a user's hearing experience.
  • FIG. 8 is a flowchart of another speaker control method according to an embodiment of the present application. As shown in FIG. 8, the method includes:
  • Step 801 Obtain setting information of the mobile terminal.
  • the setting information of the mobile terminal may include “only using the first speaker”, “using only the second speaker” or “simultaneous use of the first speaker and the second speaker”, the method may be according to the setting information
  • the target speaker is determined.
  • the setting information may be preset by a user of the mobile terminal, or may be set during use of the speaker, that is, assuming that the current target speaker is the first speaker, and the first speaker is in an active state, The user can set the setting information to "use only the second speaker” through the switch. At this time, the method determines that the second speaker is the target speaker according to the setting information, and controls the second speaker to operate.
  • Step 802 Determine, according to the setting information of the mobile terminal, at least one of the plurality of speakers as a target speaker.
  • the method determines that at least one of the plurality of speakers is a target speaker according to setting information of the mobile terminal. For example, if the setting information is “only the first speaker is used”, the method determines that at least one of the at least one first speaker is a target speaker; likewise, if the setting information is “only use the first a second speaker”, the method determining that at least one of the at least one second speaker is a target speaker; if the setting information is "simultaneous use of the first speaker and the second speaker", the method determines the at least one At least one of the one speaker and at least one of the at least one second speaker are target speakers.
  • Step 803 Control the target speaker to work when receiving the sound playing signal.
  • step 803 is the same as step 203 of the first embodiment of the present application, and details are not described herein again.
  • the speaker control method can switch the speaker according to the setting of the user, so that the speaker working mode of the mobile terminal conforms to the user's usage habits, for example, the user can be at the first speaker 11 and the The second speaker 21 is switched between the two speakers 21, and the first speaker and the second speaker may be set to be in an active state, and the sound is externally placed on the front side of the mobile phone and the back side of the mobile phone, respectively.
  • the sound of the mobile phone can be clearly heard. This overcomes the defect that the traditional mobile phone sound can only be played in one direction, and achieves the effect of simultaneously emitting sounds in two opposite directions, thereby enhancing the user's hearing experience.
  • FIG. 9 is a structural diagram of another mobile terminal provided by an embodiment of the present application.
  • the mobile terminal 900 includes a first body 10, a second body 20, and a plurality of speakers as shown in FIG. As shown in FIG. 9, the mobile terminal 900 further includes:
  • the obtaining module 901 is configured to acquire a state in which the mobile terminal is located;
  • the determining module 902 is configured to determine, according to a state in which the mobile terminal is located, at least one of the plurality of speakers as a target speaker;
  • the control module 903 is configured to control the target speaker to operate when the sound playing signal is received.
  • the obtaining module 901 is configured to acquire a screen usage state of the mobile terminal
  • FIG. 10 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the determining module 902 includes:
  • the first determining unit 9021 is configured to determine that at least one of the at least one first speaker is a target speaker if the first display screen is in a use state and the second display screen is in a closed state;
  • the second determining unit 9022 is configured to determine that at least one of the at least one second speaker is a target speaker if the first display screen is in a closed state and the second display screen is in a use state;
  • a third determining unit 9023 configured to determine at least one of the at least one first speaker and at least one of the at least one second speaker if the first display screen and the second display screen are both in use One is the target speaker.
  • one of the first body 10 and the second body 20 is provided with a Hall sensing circuit 30, and another corresponding position is provided with a magnetic element 40;
  • FIG. 11 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the acquiring module 901 includes:
  • the detecting unit 9011 is configured to detect whether the Hall sensing circuit is separated from the magnetic component
  • the fourth determining unit 9012 is configured to determine that the first display screen and the second display screen are in a use state if the Hall sensing circuit is separated from the magnetic component;
  • a fifth determining unit 9013 configured to: if the Hall sensing circuit does not have the magnetic component Separating, determining that the first display screen is in use, and the second display screen is in a closed state.
  • the first body 10 and the second body 20 are connected by a rotating mechanism 50, and the first body 10 and the second body 20 are connected with an angle sensor ( Figure not shown);
  • FIG. 12 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the acquiring module 901 includes:
  • the acquiring unit 9014 is configured to acquire an angle between the first body and the second body detected by the angle sensor;
  • the sixth determining unit 9015 is configured to determine that the first display screen and the second display screen are in a use state if an angle between the first body and the second body reaches a preset angle;
  • the seventh determining unit 9016 is configured to: if the angle between the first body and the second body does not reach the preset angle, determine that the first display screen is in use, and the second display screen Is off.
  • the obtaining module 901 is configured to acquire setting information of the mobile terminal
  • the determining module 902 is configured to determine that at least one of the plurality of speakers is a target speaker according to the setting information of the mobile terminal.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the mobile terminal 900 can implement various processes in the method embodiments of FIG. 1 to FIG. 8. To avoid repetition, details are not described herein again.
  • the mobile terminal 900 in the fourth embodiment of the present application acquires a state in which the mobile terminal is located; determines at least one of the plurality of speakers as a target speaker according to a state in which the mobile terminal is located; when a sound is received When the signal is signaled, the target speaker is controlled to work. In this way, the method can determine the target speaker according to the state of the mobile terminal, and receive the sound When the sound plays a signal, the target speaker is controlled to work, and the user's hearing experience is improved.
  • the mobile terminal may be any device having at least two display screens, such as a camera, a smart phone, a tablet personal computer, a laptop computer, and a personal digital assistant (personal digital assistant).
  • a camera such as a camera, a smart phone, a tablet personal computer, a laptop computer, and a personal digital assistant (personal digital assistant).
  • PDA Digital assistant
  • MID Mobile Internet Device
  • the target speaker is controlled to operate when a sound playback signal is received.
  • the acquiring the state of the mobile terminal includes:
  • At least one of the at least one first speaker is a target speaker if the first display screen is in a use state and the second display screen is in a closed state;
  • At least one of the at least one second speaker is a target speaker if the first display screen is in a closed state and the second display screen is in a use state;
  • a Hall sensing circuit is disposed on one of the first body and the second body, and a magnetic element is disposed at another corresponding position;
  • Obtaining a screen usage status of the mobile terminal including:
  • the Hall sensing circuit is not separated from the magnetic component, it is determined that the first display screen is in use and the second display screen is in a closed state.
  • first body and the second body are connected by a rotating mechanism, and the connection between the first body and the second body is provided with an angle sensor;
  • Obtaining a screen usage status of the mobile terminal including:
  • the acquiring the state of the mobile terminal includes:
  • the storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or multiple of them Blocks or steps are made in a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the foregoing technical solution provided by the embodiment of the present application may be applied to a speaker control process to acquire a state in which the mobile terminal is located; and determine at least one of the multiple speakers as a target speaker according to a state in which the mobile terminal is located. Controlling the target speaker to work when a sound playback signal is received.
  • the method can determine the target speaker according to the state in which the mobile terminal is located, and control the target speaker to work when the sound playing signal is received, thereby improving the user's hearing experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供一种扬声器控制方法及移动终端,所述移动终端包括多个扬声器及相互连接的第一本体以及第二本体,所述第一本体上设置有第一显示屏,所述第二本体上设置有第二显示屏,所述多个扬声器包括设置在所述第一本体上的至少一个第一扬声器以及设置在所述第二本体上的至少一个第二扬声器,所述方法包括:获取所述移动终端所处的状态;根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;当接收到声音播放信号时,控制所述目标扬声器工作。这样,所述方法能够根据所述移动终端所处的状态确定目标扬声器,并在接收到声音播放信号时控制所述目标扬声器工作,提高用户的听觉体验。

Description

一种扬声器控制方法及移动终端 技术领域
本申请涉及移动终端控制技术领域,尤其涉及一种扬声器控制方法及移动终端。
背景技术
随着通信技术的飞速发展,智能移动终端用户对于大流量音视频信息源的需求不断增加,曲面柔性屏产品的应用为市场上开始出现的双屏移动终端提供了发展空间,双屏移动终端可以提供更大屏幕,给用户提供较好的视觉体验,同时还能够折叠起来,方便用户携带。
具有双屏的移动终端能够根据用户的操作在单屏及双屏的状态下实现自由切换,能够极大地满足用户的视觉要求,然而,现有技术中扬声器不能根据双屏移动终端屏幕的使用状态而调整,影响用户的听觉体验。
发明内容
本申请实施例的目的在于提供一种扬声器控制方法及移动终端,解决了现有技术中扬声器不能根据双屏移动终端屏幕的使用状态而调整,影响用户的听觉体验的问题。
为了达到上述目的,本申请实施例提供一种扬声器控制方法,应用于移动终端,所述移动终端包括多个扬声器及相互连接的第一本体以及第二本体,所述第一本体上设置有第一显示屏,所述第二本体上设置有第二显示屏,所述多个扬声器包括设置在所述第一本体上的至少一个第一扬声器以及设置在所述第二本体上的至少一个第二扬声器,所述方法包括:
获取所述移动终端所处的状态;
根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;
当接收到声音播放信号时,控制所述目标扬声器工作。
本申请实施例还提供一种移动终端,包括多个扬声器及相互连接的第一本体以及第二本体,所述第一本体上设置有第一显示屏,所述第二本体上设置有第二显示屏,所述多个扬声器包括设置在所述第一本体上的至少一个第一扬声器以及设置在所述第二本体上的至少一个第二扬声器,所述移动终端还包括:
获取模块,设置为获取所述移动终端所处的状态;
确定模块,设置为根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;
控制模块,设置为当接收到声音播放信号时,控制所述目标扬声器工作。
本申请实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如上述提供的一种扬声器控制方法。
上述技术方案中的一个技术方案具有如下优点或有益效果:本申请扬声器控制方法及移动终端,获取所述移动终端所处的状态;根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;当接收到声音播放信号时,控制所述目标扬声器工作。这样,所述方法能够根据所述移动终端所处的状态确定目标扬声器,并在接收到声音播放信号时控制所述目标扬声器工作,提高用户的听觉体验。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种移动终端的结构示意图;
图2为本申请实施例提供的一种扬声器控制方法的流程图;
图3为本申请实施例提供的另一种扬声器控制方法的流程图;
图4为本申请实施例提供的另一种移动终端的结构示意图;
图5为本申请实施例提供的另一种移动终端的结构示意图;
图6为本申请实施例提供的另一种移动终端的结构示意图;
图7为本申请实施例提供的另一种移动终端的结构示意图;
图8为本申请实施例提供的另一种扬声器控制方法的流程图;
图9为本申请实施例提供的另一种移动终端的结构示意图;
图10为本申请实施例提供的另一种移动终端的结构示意图;
图11为本申请实施例提供的另一种移动终端的结构示意图;
图12为本申请实施例提供的另一种移动终端的结构示意图。
具体实施方式
为使本申请要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
参阅图1,图1是本申请实施例提供的扬声器控制方法的应用环境示意图,图1所示的为一移动终端100,所述扬声器控制方法应用于所述移动终端100中。如图1所示,所述移动终端100包括第一本体10、第二本体20以及多个扬声器(12、22),所述第一本体10与所述第二本体20相互连接,所述第一本体10上设置有第一显示屏11,所述第二本体20上设置有第二显示屏21。所述多个扬声器包括设置在所述第一本体10上的第一扬声器12以及设置在所述第二本体20上的至少一个第二扬声器22。本申请提供的扬声器控制方法以上述的移动终端为应用环境,需要说明的是,本申请对所述第一本体10及所述第二本体20之间的连接方式不做限定,也就是说,图1所示的所述第一本体10与所述第二本体20之间的连接方式仅仅为举例示意,但并不以此为限。此外,所述第一显示屏11与所述第一扬声器12、所述第二显示屏21与所述第二扬声器22之间的相对位置 关系也不做具体限定,图1所示的位置关系仅仅为举例示意,但不以此为限。下面结合具体实施例对本申请的扬声器控制方法做详细描述。
第一实施例
参见图2,图2是本申请实施例提供的一种扬声器控制方法的流程图,所述方法应用于如图1所示的移动终端100,如图2所示,所述方法包括:
步骤201、获取所述移动终端所处的状态。
该步骤中,所述方法获取所述移动终端所处的状态,所述移动终端所处的状态可以是所述移动终端的屏幕使用状态,也可以是所述移动终端的设置信息。所述获取所述移动终端的屏幕使用状态的方式可以是通过获取所述移动终端的显示屏的状态,也可以通过设置在所述移动终端上的传感器检测到的数据获取所述移动终端的屏幕使用状态。
在本申请实施例中,所述方法可以每隔预设时间执行该步骤201,即每隔预设时间获取所述移动终端所处的状态。在本申请一些实施例中,所述方法也可以在所述移动终端满足预设的触发条件时执行该步骤201,例如可以在接收到声音播放信号时执行该步骤201。所述接收到声音播放信号为接收到用户的操作指令或者接收到其他控制信息,也就是说,所述接收到声音播放信号时可以理解成接收到所述移动终端上层控制(例如处理器的控制信号)需要播放声音时,即所述接收到声音播放信号时为所述移动终端需要播放声音时,例如播放音乐、视频、来电铃声以及闹铃提醒等。
步骤202、根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器。
该步骤中,所述方法根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器。所述方法可以根据所述移动终端的屏幕使用状态确定所述目标扬声器,也可以根据所述移动终端的设置信息确定所述目标扬声器,还可以根据所述移动终端的屏幕使用状态并结合所述移动终端的设置信息确定所述目标扬声器。
所述移动终端的屏幕使用状态可以包括:仅所述第一显示屏处于使用 状态、仅所述第二显示屏处于使用状态、所述第一显示屏及所述第二显示屏均处于使用状态以及所述第一显示屏及所述第二显示屏均处于关闭状态。举例而言,若所述移动终端的第一显示屏处于使用状态,且所述第二显示屏处于关闭状态,所述方法可以确定所述至少一个第一扬声器中的至少一个为所述目标扬声器;同样地,若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,所述方法可以确定所述至少一个第二扬声器中的至少一个为所述目标扬声器;若所述第一显示屏及所述第二显示屏均处于使用状态,所述方法可以确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为所述目标扬声器。
若所述第一显示屏及所述第二显示屏均处于关闭状态,所述方法可以进一步根据所述移动终端的其他状态确定所述目标扬声器,例如,当所述第一显示屏及所述第二显示屏均处于关闭状态,且还有扬声器处于工作状态时(例如熄屏状态下播放音乐),所述方法确定当前处于工作状态的扬声器为所述目标扬声器,即继续沿用显示屏关闭前的扬声器设置信息控制所述扬声器工作。当然,所述方法也可以在这种情况下通过检测所述显示屏的方位确定所述目标扬声器,举例而言,当所述第一显示屏及所述第二显示屏均处于关闭状态并且所述移动终端还需要播放声音的状态下,所述方法可以通过获取设置所述第一本体或者所述第二本体上的三轴陀螺仪检测是数据确定所述目标扬声器。具体地,所述方法通过获取所述三轴陀螺仪的数据判断所述移动终端的哪一个显示屏是朝上,并确定朝上的那个显示屏对应的扬声器为所述目标扬声器。即若所述移动终端的第一显示屏朝上,所述方法确定所述至少一个第一扬声器中的至少一个为所述目标扬声器,同样地,若所述移动终端的第二显示屏朝上,所述方法确定所述至少一个第二扬声器中的至少一个为所述目标扬声器。这样,当所述移动终端放置在桌上播放音乐时,所述方法能够确定朝上的扬声器工作,避免朝下的扬声器播放的声音被桌子遮挡,提高用户的听觉体验。
步骤203、当接收到声音播放信号时,控制所述目标扬声器工作。
该步骤中,当所述移动终端需要播放声音时,所述方法控制所述目标扬声器工作。需要说明的是,当所述步骤201为每隔预设时间获取所述移动终端所处的状态时,该步骤203为接收到所述声音播放信号时才会控制所述目标扬声器工作;当所述步骤201为在接收到声音播放信号时获取所述移动终端所处的状态时,所述方法直接控制所述目标扬声器工作。
本申请第一实施例的扬声器控制方法,获取所述移动终端所处的状态;根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;当接收到声音播放信号时,控制所述目标扬声器工作。这样,所述方法能够根据所述移动终端所处的状态确定目标扬声器,并在接收到声音播放信号时控制所述目标扬声器工作,提高用户的听觉体验。
第二实施例
参见图3,图3是本申请实施例提供的另一种扬声器控制方法的流程图,如图3所示,所述方法包括:
步骤301、获取所述移动终端的屏幕使用状态。
该步骤中,所述方法获取所述移动终端的屏幕使用状态,所述移动终端的使用状态可以包括:仅所述第一显示屏处于使用状态、仅所述第二显示屏处于使用状态以及所述第一显示屏及所述第二显示屏均处于使用状态。所述方法获取所述移动终端的屏幕使用状态之后,进一步根据所述移动终端的屏幕使用状态确定目标扬声器,即所述方法在执行该步骤301之后进一步执行步骤302、303或者304中的任意一个步骤。
步骤302、若所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态,确定所述至少一个第一扬声器中的至少一个为目标扬声器。
该步骤中,若所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态,所述方法确定所述至少一个第一扬声器中的至少一个为目标扬声器。所述至少一个第一扬声器的个数可以是一个,也可以是多个。当所述第一扬声器的个数为一个时,所述方法确定所述一个第一扬声器为目标扬声器;当所述第一扬声器的个数为多个时,所述方法可以确定所述多个 第一扬声器中的部分扬声器为目标扬声器,也可以确定所述多个扬声器均为目标扬声器。在本实施例中,所述方法执行完该步骤302之后执行步骤305。
步骤303、若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,确定所述至少一个第二扬声器中的至少一个为目标扬声器。
该步骤中,若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,所述方法确定所述至少一个第二扬声器中的至少一个为目标扬声器。所述至少一个第二扬声器的个数可以是一个,也可以是多个。当所述第二扬声器的个数为一个时,所述方法确定所述一个第二扬声器为目标扬声器;当所述第二扬声器的个数为多个时,所述方法可以确定所述多个第二扬声器中的部分扬声器为目标扬声器,也可以确定所述多个扬声器均为目标扬声器。在本实施例中,所述方法执行完该步骤303之后执行步骤305。
步骤304、若所述第一显示屏及所述第二显示屏均处于使用状态,确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。
该步骤中,若所述第一显示屏及所述第二显示屏均处于使用状态,所述方法确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。也就是说,在该步骤中,当所述第一显示屏及所述第二显示屏均处于使用状态时,所述方法确定所述第一显示屏及所述第二显示屏分别对应的扬声器为目标扬声器,这样,在增强用户的视觉体验的同时,也能够增强用户的听觉体验。
步骤305、当接收到声音播放信号时,控制所述目标扬声器工作。
该步骤305与本申请第一实施例中的步骤203相同,在此不再赘述。
可选地,所述第一本体以及所述第二本体的其中一个上设置有霍尔感应电路,另一个相对应的位置上设置有磁性元件;
所述获取所述移动终端的屏幕使用状态,包括:
检测所述霍尔感应电路是否与所述磁性元件分离;
若所述霍尔感应电路与所述磁性元件分离,确定所述第一显示屏及所述第二显示屏均处于使用状态;
若所述霍尔感应电路没有与所述磁性元件分离,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
参见图4,图4是本申请实施例提供的另一种移动终端的结构示意图,如图4所示,所述第一本体10与所述第二本体20通过一转动机构50转动连接,所述第一本体10与所述第二本体20可以相对转动,通过转动所述转动机构50可以使得所述第一本体10与所述第二本体20成打开状态,即所述第一显示屏11与所述第二显示屏21可以合并成一个显示屏使用。如图5所示,所述第一本体10与所述第二本体20也可以折叠,即所述第一显示屏11与所述第二显示屏2相背设置,所述第一扬声器与所述第二扬声器也相背设置。
该实施例中,所述第一本体10及所述第二本体20中的其中一个上设置有霍尔感应电路30,另一个相对应的位置设置有磁性元件40(例如磁铁),当所述第一显示屏11与所述第二显示屏21合并时,所述霍尔感应电路30与所述磁性元件40为分离状态,如图4所示;当所述第一显示屏11与所述第二显示屏21相背时,所述霍尔感应电路30与所述磁性元件40不为分离状态,如图5所示。所述方法通过检测所述霍尔感应电路30与所述磁性元件40是否分离来获取所述移动终端的屏幕使用状态。需要说明的是,图4及图5所示的霍尔感应电路30设置在所述第一本体10上,所述磁性元件40设置在所述第二本体20上,图4及图5仅仅为举例示意图,并不以此为限。也就是说,所述霍尔感应电路30可以设置在所述第二本体20上,所述磁性元件40可以设置在所述第一本体10上。
该实施例中,所述方法通过检测所述霍尔感应电路30与所述磁性元件40是否分离确定所述移动终端的屏幕使用状态。具体地,若所述霍尔感应电路30与所述磁性元件40相互分离,所述方法确定所述第一显示屏 11及所述第二显示屏21均为使用状态。若所述霍尔感应电路30与所述磁性元件40没有相互分离,所述方法确定所述第一显示屏11处于使用状态,且所述第二显示屏21处于关闭状态。需要说明的是,该实施例中,所述方法默认所述第一显示屏11为主屏幕,所述第二显示屏21为副屏幕,当所述移动终端只有一个显示屏在工作状态时,所述主屏幕处于工作状态,所述副屏幕为关闭状态。可以理解的是,在本申请其他实施例中,所述方法可以默认所述第二显示屏21为主屏幕,所述第一显示屏11为副屏幕,当所述霍尔感应电路30与所述磁性元件40没有相互分离时,所述方法确定所述第二显示屏21处于工作状态,所述第一显示屏11处于关闭状态。
可选地,所述第一本体与所述第二本体通过一转动机构连接,所述第一本体与所述第二本体的连接处设置有角度传感器;
所述获取所述移动终端的屏幕使用状态,包括:
获取所述角度传感器检测的所述第一本体与所述第二本体之间的角度;
若所述第一本体与所述第二本体之间的角度达到预设角度,确定所述第一显示屏及所述第二显示屏均处于使用状态;
若所述第一本体与所述第二本体之间的角度没有达到所述预设角度,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
参见图4至图6,该实施例中,所述第一本体10与所述第二本体20之间通过一转动机构50转动连接,该实施例中,所述转动机构50处设置有一角度传感器(图未示),用于检测所述第一本体10与所述第二本体20之间的角度。当所述第一本体10与所述第二本体20为并列状态时,所述第一本体10与所述第二本体20之间的夹角为180°,当所述第一本体10与所述第二本体20之间为折叠状态时,所述第一本体10与所述第二本体20之间的夹角为0°。在本申请一些实施例中,所述第一本体10与所述第二本体20连接处形成过盈配合,使得所述第一本体10与所述第二本体20之间可以固定在任意夹角。
该实施例中,所述方法通过获取所述角度传感器检测的数据确定所述移动终端的屏幕使用状态。具体地,若所述第一本体10与所述第二本体20之间的角度达到预设角度,所述方法确定所述第一显示屏11及所述第二显示屏21均处于使用状态;若所述第一本体10与所述第二本体20之间的夹角没有达到所述预设角度,所述方法确定所述第一显示屏11处于使用状态,且所述第二显示屏21处于关闭状态。该实施例中,所述预设角度为180°。可以理解的是,当所述第一本体10可以相对所述第二本体20固定在任意角度时,所述预设角度也可以是其他任意角度,例如45°、60°或者120°等。
参见图7,图7为本申请实施例提供的另一种移动终端的结构示意图,如图7所示,该实施例中,所述第一扬声器12的个数为两个,分别设置在所述第一显示屏11的上下位置,同样地,所述第二扬声器22的个数也为两个,分别设置在所述第二显示屏21的上下位置。所述方法可以根据所述移动终端所处的状态确定目标扬声器工作。
本申请第二实施例的扬声器控制方法,能够根据所述移动终端所处的状态确定目标扬声器,并在接收到声音播放信号时控制所述目标扬声器工作,提高用户的听觉体验。
第三实施例
参见图8,图8是本申请实施例提供的另一种扬声器控制方法的流程图,如图8所示,所述方法包括:
步骤801、获取所述移动终端的设置信息。
所述移动终端的设置信息可以包括“仅使用第一扬声器”、“仅使用第二扬声器”或者“同时使用所述第一扬声器以及所述第二扬声器”,所述方法可以根据所述设置信息确定所述目标扬声器。所述设置信息可以是所述移动终端的用户预先设置好的,也可以在扬声器使用过程中进行设置,即假设当前的目标扬声器为所述第一扬声器,且所述第一扬声器处于工作状态,用户可以通过切换开关将所述设置信息设置为“仅使用第二扬声器”, 此时,所述方法会根据所述设置信息确定所述第二扬声器为所述目标扬声器,并控制所述第二扬声器工作。
步骤802、根据所述移动终端的设置信息确定所述多个扬声器中的至少一个为目标扬声器。
该步骤中,所述方法根据所述移动终端的设置信息确定所述多个扬声器中的至少一个为目标扬声器。举例而言,若所述设置信息为“仅使用第一扬声器”,所述方法确定所述至少一个第一扬声器中的至少一个为目标扬声器;同样地,若所述设置信息为“仅使用第二扬声器”,所述方法确定所述至少一个第二扬声器中的至少一个为目标扬声器;若所述设置信息为“同时使用第一扬声器及第二扬声器”,所述方法确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。
步骤803、当接收到声音播放信号时,控制所述目标扬声器工作。
该步骤803与本申请第一实施例的步骤203相同,在此不再赘述。
本申请第三实施例中,所述扬声器控制方法能够根据用户的设置对扬声器进行切换,使得所述移动终端的扬声器工作模式符合用户的使用习惯,例如用户可以在所述第一扬声器11及所述第二扬声器21之间进行切换,也可以选择将所述第一扬声器及所述第二扬声器都设置为处于工作状态,分别对着手机的正面和手机的背面进行声音的外放操作,这样当存在多个用户位于手机的不同方向时,都能够清晰的听到手机外放的声音。这就克服了传统手机声音只能对着一个方向出音的缺陷,实现了完全对立的两个方向同时出音的效果,从而增强用户听觉体验。
第四实施例
参见图9,是本申请实施例提供的另一种移动终端的结构图,所述移动终端900包括如图1所示的第一本体10、第二本体20以及多个扬声器。如图9所示,所述移动终端900还包括:
获取模块901,设置为获取所述移动终端所处的状态;
确定模块902,设置为根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;
控制模块903,设置为当接收到声音播放信号时,控制所述目标扬声器工作。
可选地,所述获取模块901,设置为获取所述移动终端的屏幕使用状态;
参见图10,图10是本申请实施例提供的另一种移动终端的结构图,如图10所示,所述确定模块902包括:
第一确定单元9021,设置为若所述第一显示屏幕处于使用状态,且所述第二显示屏处于关闭状态,确定所述至少一个第一扬声器中的至少一个为目标扬声器;
第二确定单元9022,设置为若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,确定所述至少一个第二扬声器中的至少一个为目标扬声器;
第三确定单元9023,设置为若所述第一显示屏及所述第二显示屏均处于使用状态,确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。
可选地,如图4所示,所述第一本体10以及所述第二本体20的其中一个上设置有霍尔感应电路30,另一个相对应的位置上设置有磁性元件40;
参见图11,图11是本申请实施例提供的另一种移动终端的结构图,如图11所示,所述获取模块901包括:
检测单元9011,设置为检测所述霍尔感应电路是否与所述磁性元件分离;
第四确定单元9012,设置为若所述霍尔感应电路与所述磁性元件分离,确定所述第一显示屏及所述第二显示屏均处于使用状态;
第五确定单元9013,设置为若所述霍尔感应电路没有与所述磁性元件 分离,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
可选地,如图4所示,所述第一本体10与所述第二本体20通过一转动机构50连接,所述第一本体10与所述第二本体20连接处设置有角度传感器(图未示);
参见图12,图12是本申请实施例提供的另一种移动终端的结构图,如图12所示,所述获取模块901包括:
获取单元9014,设置为获取所述角度传感器检测的所述第一本体与所述第二本体之间的角度;
第六确定单元9015,设置为若所述第一本体与所述第二本体之间的角度达到预设角度,确定所述第一显示屏及所述第二显示屏均处于使用状态;
第七确定单元9016,设置为若所述第一本体与所述第二本体之间的角度没有达到所述预设角度,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
可选地,所述获取模块901,设置为获取所述移动终端的设置信息;
所述确定模块902,设置为根据所述移动终端的设置信息确定所述多个扬声器的至少一个为目标扬声器。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
所述移动终端900能够实现图1至图8的方法实施例中的各个过程,为避免重复,在此不再赘述。
本申请第四实施例中的移动终端900,获取所述移动终端所处的状态;根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;当接收到声音播放信号时,控制所述目标扬声器工作。这样,所述方法能够根据所述移动终端所处的状态确定目标扬声器,并在接收到声 音播放信号时控制所述目标扬声器工作,提高用户的听觉体验。
本申请实施例中,上述移动终端可以是任何具备至少两个显示屏的装置,例如:相机、智能手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)等。
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取介质中,该程序在执行时,包括以下步骤:
获取所述移动终端所处的状态;
根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;
当接收到声音播放信号时,控制所述目标扬声器工作。
可选地,所述获取所述移动终端所处的状态,包括:
获取所述移动终端的屏幕使用状态;
所述根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器,包括:
若所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态,确定所述至少一个第一扬声器中的至少一个为目标扬声器;
若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,确定所述至少一个第二扬声器中的至少一个为目标扬声器;
若所述第一显示屏及所述第二显示屏均处于使用状态,确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。
可选地,所述第一本体以及所述第二本体的其中一个上设置有霍尔感应电路,另一个相对应的位置上设置有磁性元件;
所述获取所述移动终端的屏幕使用状态,包括:
检测所述霍尔感应电路是否与所述磁性元件分离;
若所述霍尔感应电路与所述磁性元件分离,确定所述第一显示屏及所述第二显示屏均处于使用状态;
若所述霍尔感应电路没有与所述磁性元件分离,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
可选地,所述第一本体与所述第二本体通过一转动机构连接,所述第一本体与所述第二本体的连接处设置有角度传感器;
所述获取所述移动终端的屏幕使用状态,包括:
获取所述角度传感器检测的所述第一本体与所述第二本体之间的角度;
若所述第一本体与所述第二本体之间的角度达到预设角度,确定所述第一显示屏及所述第二显示屏均处于使用状态;
若所述第一本体与所述第二本体之间的角度没有达到所述预设角度,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
可选地,所述获取所述移动终端所处的状态,包括:
获取所述移动终端的设置信息;
所述根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器,包括:
根据所述移动终端的设置信息确定所述多个扬声器中的至少一个为目标扬声器。
所述的存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。
工业实用性
本申请实施例提供的上述技术方案,可以应用于扬声器控制过程中,获取所述移动终端所处的状态;根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;当接收到声音播放信号时,控制所述目标扬声器工作。这样,所述方法能够根据所述移动终端所处的状态确定目标扬声器,并在接收到声音播放信号时控制所述目标扬声器工作,提高用户的听觉体验。

Claims (10)

  1. 一种扬声器控制方法,应用于移动终端,所述移动终端包括多个扬声器及相互连接的第一本体以及第二本体,所述第一本体上设置有第一显示屏,所述第二本体上设置有第二显示屏,所述多个扬声器包括设置在所述第一本体上的至少一个第一扬声器以及设置在所述第二本体上的至少一个第二扬声器,所述方法包括:
    获取所述移动终端所处的状态;
    根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;
    当接收到声音播放信号时,控制所述目标扬声器工作。
  2. 如权利要求1所述的方法,其中,所述获取所述移动终端所处的状态,包括:
    获取所述移动终端的屏幕使用状态;
    所述根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器,包括:
    若所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态,确定所述至少一个第一扬声器中的至少一个为目标扬声器;
    若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,确定所述至少一个第二扬声器中的至少一个为目标扬声器;
    若所述第一显示屏及所述第二显示屏均处于使用状态,确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。
  3. 如权利要求2所述的方法,其中,所述第一本体以及所述第二本体的其中一个上设置有霍尔感应电路,另一个相对应的位置上设置有磁性元件;
    所述获取所述移动终端的屏幕使用状态,包括:
    检测所述霍尔感应电路是否与所述磁性元件分离;
    若所述霍尔感应电路与所述磁性元件分离,确定所述第一显示屏及所 述第二显示屏均处于使用状态;
    若所述霍尔感应电路没有与所述磁性元件分离,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
  4. 如权利要求2所述的方法,其中,所述第一本体与所述第二本体通过一转动机构连接,所述第一本体与所述第二本体的连接处设置有角度传感器;
    所述获取所述移动终端的屏幕使用状态,包括:
    获取所述角度传感器检测的所述第一本体与所述第二本体之间的角度;
    若所述第一本体与所述第二本体之间的角度达到预设角度,确定所述第一显示屏及所述第二显示屏均处于使用状态;
    若所述第一本体与所述第二本体之间的角度没有达到所述预设角度,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
  5. 如权利要求1所述的方法,其中,所述获取所述移动终端所处的状态,包括:
    获取所述移动终端的设置信息;
    所述根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器,包括:
    根据所述移动终端的设置信息确定所述多个扬声器中的至少一个为目标扬声器。
  6. 一种移动终端,包括多个扬声器及相互连接的第一本体以及第二本体,所述第一本体上设置有第一显示屏,所述第二本体上设置有第二显示屏,所述多个扬声器包括设置在所述第一本体上的至少一个第一扬声器以及设置在所述第二本体上的至少一个第二扬声器,所述移动终端还包括:
    获取模块,设置为获取所述移动终端所处的状态;
    确定模块,设置为根据所述移动终端所处的状态确定所述多个扬声器中的至少一个为目标扬声器;
    控制模块,设置为当接收到声音播放信号时,控制所述目标扬声器工作。
  7. 如权利要求6所述的移动终端,其中,所述获取模块,设置为获取所述移动终端的屏幕使用状态;
    所述确定模块包括:
    第一确定单元,设置为若所述第一显示屏幕处于使用状态,且所述第二显示屏处于关闭状态,确定所述至少一个第一扬声器中的至少一个为目标扬声器;
    第二确定单元,设置为若所述第一显示屏处于关闭状态,且所述第二显示屏处于使用状态,确定所述至少一个第二扬声器中的至少一个为目标扬声器;
    第三确定单元,设置为若所述第一显示屏及所述第二显示屏均处于使用状态,确定所述至少一个第一扬声器中的至少一个以及所述至少一个第二扬声器中的至少一个为目标扬声器。
  8. 如权利要求7所述的移动终端,其中,所述第一本体以及所述第二本体的其中一个上设置有霍尔感应电路,另一个相对应的位置上设置有磁性元件;
    所述获取模块包括:
    检测单元,设置为检测所述霍尔感应电路是否与所述磁性元件分离;
    第四确定单元,设置为若所述霍尔感应电路与所述磁性元件分离,确定所述第一显示屏及所述第二显示屏均处于使用状态;
    第五确定单元,设置为若所述霍尔感应电路没有与所述磁性元件分离,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
  9. 如权利要求7所述的移动终端,其中,所述第一本体与所述第二本体通过一转动机构连接,所述第一本体与所述第二本体连接处设置有角度传感器;
    所述获取模块包括:
    获取单元,设置为获取所述角度传感器检测的所述第一本体与所述第二本体之间的角度;
    第六确定单元,设置为若所述第一本体与所述第二本体之间的角度达到预设角度,确定所述第一显示屏及所述第二显示屏均处于使用状态;
    第七确定单元,设置为若所述第一本体与所述第二本体之间的角度没有达到所述预设角度,确定所述第一显示屏处于使用状态,且所述第二显示屏处于关闭状态。
  10. 如权利要求6所述的移动终端,其中,所述获取模块,设置为获取所述移动终端的设置信息;
    所述确定模块,设置为根据所述移动终端的设置信息确定所述多个扬声器的至少一个为目标扬声器。
PCT/CN2017/092226 2017-01-03 2017-07-07 一种扬声器控制方法及移动终端 WO2018126632A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710001437.0A CN108134868A (zh) 2017-01-03 2017-01-03 一种扬声器控制方法及移动终端
CN201710001437.0 2017-01-03

Publications (1)

Publication Number Publication Date
WO2018126632A1 true WO2018126632A1 (zh) 2018-07-12

Family

ID=62388382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092226 WO2018126632A1 (zh) 2017-01-03 2017-07-07 一种扬声器控制方法及移动终端

Country Status (2)

Country Link
CN (1) CN108134868A (zh)
WO (1) WO2018126632A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551636B (zh) 2018-05-29 2019-12-10 维沃移动通信有限公司 一种扬声器控制方法及移动终端
CN109088980A (zh) * 2018-07-09 2018-12-25 Oppo广东移动通信有限公司 发声控制方法、装置、电子装置及计算机可读介质
CN108924313B (zh) * 2018-07-27 2020-10-16 维沃移动通信有限公司 一种电子设备及受话接听方法
CN110933217A (zh) * 2018-09-19 2020-03-27 青岛海信移动通信技术股份有限公司 音频控制方法及装置
CN109445589B (zh) * 2018-10-25 2021-01-12 维沃移动通信有限公司 一种多媒体文件播放控制方法及终端设备
CN109634357A (zh) * 2018-11-30 2019-04-16 维沃移动通信有限公司 终端及其控制方法
WO2020118489A1 (zh) * 2018-12-10 2020-06-18 深圳市柔宇科技有限公司 启动控制方法、电子设备及计算机可读存储介质
CN109462800A (zh) * 2018-12-28 2019-03-12 北京小米移动软件有限公司 一种具有双声道的电子设备
WO2020177102A1 (zh) * 2019-03-06 2020-09-10 深圳市柔宇科技有限公司 可折叠电子装置及其音频输出方法
CN110580141B (zh) * 2019-08-07 2022-09-30 上海摩软通讯技术有限公司 移动终端
CN110730260B (zh) * 2019-09-30 2020-11-06 维沃移动通信有限公司 电子设备的控制方法及电子设备
CN114860030A (zh) * 2021-01-20 2022-08-05 维沃移动通信有限公司 电子设备、音频播放方法、装置及可读存储介质
CN115996346A (zh) * 2022-11-18 2023-04-21 深圳市维仕声学有限公司 一种扬声器控制方法及终端

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009005039A (ja) * 2007-06-21 2009-01-08 Casio Hitachi Mobile Communications Co Ltd 電子機器及びプログラム
CN102812430A (zh) * 2010-03-24 2012-12-05 日本电气株式会社 信息处理装置、显示切换方法、程序和记录介质
CN103533108A (zh) * 2005-03-02 2014-01-22 日本电气株式会社 便携式终端
CN204515588U (zh) * 2015-01-19 2015-07-29 联想(北京)有限公司 电子设备
CN105446427A (zh) * 2015-12-04 2016-03-30 联想(北京)有限公司 一种电子设备及控制方法
CN105493002A (zh) * 2013-09-03 2016-04-13 Lg电子株式会社 显示装置及其控制方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533108A (zh) * 2005-03-02 2014-01-22 日本电气株式会社 便携式终端
JP2009005039A (ja) * 2007-06-21 2009-01-08 Casio Hitachi Mobile Communications Co Ltd 電子機器及びプログラム
CN102812430A (zh) * 2010-03-24 2012-12-05 日本电气株式会社 信息处理装置、显示切换方法、程序和记录介质
CN105493002A (zh) * 2013-09-03 2016-04-13 Lg电子株式会社 显示装置及其控制方法
CN204515588U (zh) * 2015-01-19 2015-07-29 联想(北京)有限公司 电子设备
CN105446427A (zh) * 2015-12-04 2016-03-30 联想(北京)有限公司 一种电子设备及控制方法

Also Published As

Publication number Publication date
CN108134868A (zh) 2018-06-08

Similar Documents

Publication Publication Date Title
WO2018126632A1 (zh) 一种扬声器控制方法及移动终端
US11375329B2 (en) Systems and methods for equalizing audio for playback on an electronic device
EP2839675B1 (en) Auto detection of headphone orientation
WO2020156251A1 (zh) 音频的播放采集方法、装置、设备及可读存储介质
US20130279706A1 (en) Controlling individual audio output devices based on detected inputs
CN110764730A (zh) 播放音频数据的方法和装置
CN104378485A (zh) 调节音量的方法和装置
US20160210111A1 (en) Apparatus for enabling Control Input Modes and Associated Methods
WO2017020422A1 (zh) 一种音频电路选择方法、装置和电路以及手持终端
US20140185852A1 (en) Audio channel mapping in a portable electronic device
WO2021051835A1 (zh) 移动终端及其出声控制方法
WO2016123901A1 (zh) 终端及其定向播放音频信号的方法
CN103167383A (zh) 可自动输出正确声道的电子装置
US20210037336A1 (en) An apparatus and associated methods for telecommunications
JP6408032B2 (ja) 中心に位置するイヤピースを含むモバイルデバイス
CN105635916A (zh) 音频处理方法及装置
WO2023051548A1 (zh) 智能设备及其控制方法、计算机可读存储介质
CN109429152A (zh) 扬声器装置、电子设备、音效调节方法及装置
WO2019024198A1 (zh) 一种播放声音的方法、终端及存储介质
WO2019047216A1 (zh) 电子设备及其控制方法
WO2017215158A1 (zh) 通信终端声音处理控制方法、装置及通信终端
WO2019011270A1 (zh) 音频播放方法、终端及计算机可读存储介质
KR20200014023A (ko) 이동 통신 단말의 음향 장치 및 그 동작 방법
US20230300549A1 (en) Audio playing method and device, storage medium, and mobile terminal
US20220407772A1 (en) Configuration profiles

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17890320

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17890320

Country of ref document: EP

Kind code of ref document: A1