Method and mobile terminal that a kind of controlling loudspeaker is played
Technical field
The present invention relates to communication technical field, method and mobile terminal that espespecially a kind of controlling loudspeaker is played.
Background technology
With the development of the communication technology, the function of mobile terminal is more and more abundanter, and Consumer's Experience is become better and better.It is single at present
Loudspeaker can not meet user to stereosonic pursuit, thus mobile terminal possess twin loudspeaker become it is popular become.
At present, mobile terminal may be inserted into VR (Virtual Reality, virtual reality) peripheral hardware, and user is put on outside VR
If can watch stereoscopic views.Such as audio frequency is played using twin loudspeaker, third dimension is higher.But user using VR when being applied,
Need to arrange manually and whether use twin loudspeaker, Consumer's Experience is not good.
The content of the invention
In order to solve above-mentioned technical problem, method and movement that a kind of controlling loudspeaker is played are embodiments provided
Terminal, to realize that detecting mobile terminal can play audio frequency using twin loudspeaker automatically when applying using VR, improve user
Experience.
A kind of method that controlling loudspeaker is played, it is adaptable to the mobile terminal with the first loudspeaker and the second loudspeaker,
Including:
The laying state of the mobile terminal is recognized, when the mobile terminal is recognized in traverse state, starts inspection
Survey the similarity of the screen left and right sides region display information of the mobile terminal;
When the similarity for detecting screen left and right sides region display information is more than first threshold, using described the
One loudspeaker and second loudspeaker play audio frequency simultaneously.
Alternatively, the laying state of the identification mobile terminal is achieved in the following ways:
The three dimensions rectangular coordinate system information of the mobile terminal is obtained by built-in direction sensor, by described
The three dimensions rectangular coordinate system information of mobile terminal is recognizing the laying state of the mobile terminal.
Alternatively, described broadcasting simultaneously using first loudspeaker and second loudspeaker is also included before audio frequency:
Prompt the user whether to play audio frequency using twin loudspeaker, after the confirmation for receiving user is instructed, using adopting
The first loudspeaker and second loudspeaker are stated while playing audio frequency.
Alternatively, it is described audio frequency is played using first loudspeaker and second loudspeaker simultaneously during, also
Including:
The electricity of the mobile terminal is detected, when electricity is detected less than Second Threshold, a loudspeaker is closed.
Alternatively, also include before one loudspeaker of the closing:
Which loudspeaker prompting user closes, and after receiving the out code of user, closes corresponding loudspeaker.
A kind of mobile terminal, with the first loudspeaker and the second loudspeaker, including:
Identification module, for recognizing the laying state of the mobile terminal, when the mobile terminal is recognized traverse is in
During state, detection trigger module;
The state detection module, for starting to detect that the screen left and right sides region of the mobile terminal shows after being triggered
Show the similarity of information, when the similarity for detecting screen left and right sides region display information is more than first threshold, touch
Send out play control module;
The play control module, after being triggered, using first loudspeaker and second loudspeaker simultaneously
Play audio frequency.
Alternatively, the identification module, recognizes that the mobile terminal is achieved in the following ways in traverse state:
The three dimensions rectangular coordinate system information of the mobile terminal is obtained by built-in direction sensor, by the mobile terminal
Three dimensions rectangular coordinate system information recognizing the laying state of the mobile terminal.
Alternatively, the play control module, sound is played using first loudspeaker and second loudspeaker simultaneously
Also include before frequency:Prompt the user whether to play audio frequency using twin loudspeaker, after the confirmation for receiving user is instructed, using institute
The first loudspeaker and second loudspeaker are stated while playing audio frequency.
Alternatively, the mobile terminal also includes:
Electric power detection module, for adopting first loudspeaker and second loudspeaker in the play control module
The electricity of the mobile terminal is detected during playing audio frequency simultaneously, when electricity is detected less than Second Threshold, institute is notified
State play control module;
The play control module, after receiving notice, closes a loudspeaker.
Alternatively, the play control module, close also includes before a loudspeaker:Which prompting user closes and raises one's voice
Device, after receiving the out code of user, closes corresponding loudspeaker..
To sum up, a kind of controlling loudspeaker provided in an embodiment of the present invention is played method and mobile terminal, can be in detection
To mobile terminal when applying using VR, automatically audio frequency is played using twin loudspeaker, improve Consumer's Experience.
Description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this
The embodiment of application for explaining technical scheme, does not constitute the restriction to technical solution of the present invention together.
Fig. 1 is the hardware architecture diagram of the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic diagram of the loudspeaker of the mobile terminal of the embodiment of the present invention;
Fig. 4 realizes stereosonic audio hardware block diagram for the embodiment of the present invention;
The schematic diagram that Fig. 5 is designed for the magnetic structure of the receiver of the embodiment of the present invention;
Fig. 6 is the schematic diagram of the magnetic structure design of traditional receiver;
The flow chart of the method that Fig. 7 is played for a kind of controlling loudspeaker of the embodiment of the present invention one;
Fig. 8 three-dimensional schematic diagrames residing for the mobile terminal of the embodiment of the present invention two;
The flow chart of the method that Fig. 9 is played for a kind of controlling loudspeaker of the embodiment of the present invention three;
Figure 10 is the schematic diagram of the mobile terminal of the embodiment of the present invention four;
Figure 11 is the schematic diagram of the mobile terminal of the embodiment of the present invention five.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for illustrating
Part.More or less of component can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal generated before the server or reception of broadcast singal and/or broadcast related information and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is receiving.Broadcast singal can be present in a variety of manners, and for example, it can be with the electronics of DMB (DMB)
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiver module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@)
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice
Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
Tooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115 is calculated from three or more satellites
Range information and correct time information and for calculate Information application triangulation, so as to according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information is defended using three
The error of star and the position that calculated by using other satellite correction and temporal information.Additionally, GPS module 115
Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121
Microphone 1220, the static map that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus
The view data of piece or video is processed.Picture frame after process may be displayed on display unit 151.At Jing cameras 121
Picture frame after reason can be stored in memory 160 (or other storage mediums) or via wireless communication unit 110 and carry out
Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould
Sound (voice data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be by
Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model
For the form output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can implement all kinds
Noise eliminate (or suppress) algorithm eliminating (or suppression) in the noise for receiving and producing during sending audio signal or
Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon in the form of layer on display unit 151, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, and (for example, mobile terminal 1 00 opens or closes shape
State), the presence or absence of contact (that is, touch input), the mobile terminal of the position of mobile terminal 1 00, user for mobile terminal 1 00
100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed
The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can will be combined below including proximity transducer 1410
Touch-screen to this being described.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for receive from
The input (for example, data message, electric power etc.) of external device (ED) and the input for receiving is transferred in mobile terminal 1 00
One or more elements can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing to pass through it by electricity
Power from base provide to mobile terminal 1 00 path or can serve as allow from base be input into various command signals pass through its
It is transferred to the path of mobile terminal.Can serve as recognizing that mobile terminal is from the various command signals or electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include showing
Unit 151, dio Output Modules 152, alarm unit 153 etc..
The terminal of the present embodiment includes two loudspeakers, as shown in figure 3, can be respectively provided with the top of terminal and bottom
Loudspeaker 1521 and loudspeaker 1522.
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia files
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when the display unit 151 and touch pad touch-screen with formation superposed on one another in the form of layer, display unit
151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement
The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
To realize stereosonic audio hardware block diagram, dio Output Modules 152 include audio frequency DSP (Digital to Fig. 4
Signal Process, Digital Signal Processing), audio frequency DSP includes L channel/earpiece module and R channel module, wherein, Zuo Sheng
Road/earpiece module connects receiver/loudspeaker by audio frequency power amplifier, and R channel module connects Speaker by audio frequency power amplifier
Box (loudspeaker enclosure).
Receiver/the loudspeaker of the application employs the pioneering 5 magnetic structures design of receiver, as shown in figure 5, this receiver/
Loudspeaker is developed by supplier AAC (Advanced Audio Coding, Advanced Audio Coding), makes receiver sensitivity significantly
Improve.Fig. 6 is the schematic diagram of traditional receiver design, and traditional receiver adopts 3 magnetic Circuit Designs, and sensitivity is not high, and the application is adopted
The purposes of stereo loudspeaker is more suitable for the receiver of 5 magnetic Circuit Designs, stereophonic effect is preferable.
Alarm unit 153 can provide output so that event is notified to mobile terminal 1 00.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit
153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating
Output is provided, when calling, message or some other entrance communication (incomingcommunication) are received, alarm list
Unit 153 can provide tactile output (that is, vibrating) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the process and control operation performed by controller 180 etc., Huo Zheke
With the data (for example, telephone directory, message, still image, video etc.) for temporarily storing own Jing outputs or will export.And
And, memory 160 can be storing the vibration of various modes with regard to exporting when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data
The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or is so structured that and control
Device processed 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for performing on the touchscreen or figure
Piece draws input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Appropriate electric power needed for part and component.
Various embodiments described herein can be with using such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
Implementing, in some cases, such embodiment can be implemented at least one in electronic unit in controller 180.
For software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation
Software module is implementing.Software code can be come by the software application (or program) write with any appropriate programming language
Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, own Jing describes mobile terminal according to its function.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system are operating.
The communication system that mobile terminal wherein of the invention is operable to is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
If any one that back haul link can be in the interface that Ganji knows is constructing, the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that as shown in Figure 2 system can include multiple BSC2750.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion that line is covered is radially away from BS270.Or, each subregion can by for diversity reception two or more
Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system
100.As shown in Figure 1 broadcasting reception module 111 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals
At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful
Location information.As shown in Figure 1 GPS module 115 is generally configured to coordinate to obtain the positioning wanted letter with satellite 300
Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track the position of mobile terminal other
Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00
Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti-
Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call
Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.BSC275 is also by the number for receiving
According to MSC280 is routed to, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.
Embodiment one
The flow chart of the method that Fig. 7 is played for a kind of controlling loudspeaker of the embodiment of the present invention, the method for the present embodiment is fitted
For the mobile terminal with twin loudspeaker, as shown in fig. 7, the method for the present embodiment is comprised the following steps:
Step 701, the laying state for recognizing the mobile terminal, when mobile terminal is recognized in traverse state, open
The similarity of the screen left and right sides region display information of the beginning detection mobile terminal;
Step 702, when detect screen left and right sides region display information similarity be more than threshold value when, using institute
The first loudspeaker and second loudspeaker are stated while playing audio frequency.
When user uses VR functions, mobile phone can typically be inserted and (is set to enlarging lens outside VR in VR peripheral hardwares by user
Glasses), now mobile phone is necessarily traverse (but allowing certain fluctuation range).VR technologies, are by presenting to mankind's eyes
There is the image information of nuance, allow the mankind to obtain the impression of solid space.Therefore, when user is applied on mobile phone using VR,
No matter which kind of is applied, and all can automatically screen into the left and right subregions such as two, to reach the mesh that right and left eyes different pictures are presented
, therefore, the similarity of screen left and right sides region display information is judged during transverse screen, VR fields can be judged with high probability
Scape.
When the similarity of left and right sides region display information is more than certain threshold value (such as 80%), it is believed that user is currently in use
VR (Virtual Reality, virtual reality) is applied, then using twin loudspeaker mode playback.The method of the present embodiment is with automatic
Knowledge judges otherwise whether user is being applied using VR, and so as to the speaker mode that automatically switches, the VR of Intelligent lifting user sinks
Leaching experience.
In an alternative embodiment, played using twin loudspeaker and user may also be prompted whether to be raised one's voice using double before audio frequency
Device plays audio frequency, after the confirmation for receiving user is instructed, is broadcast simultaneously using first loudspeaker and second loudspeaker
Playback frequency.
Embodiment two
The present embodiment is the three dimensions rectangular coordinate system letter that the mobile terminal is obtained by built-in direction sensor
Whether breath, recognize the mobile terminal in traverse shape by the three dimensions rectangular coordinate system information of the mobile terminal
State.
In the present embodiment, as shown in figure 8, obtaining three-dimensional residing for mobile phone by the direction sensor of embedded in mobile phone
The parameters such as angle, the rotational angular velocity of rectangular coordinate system X, Y, Z axis.
Assume that X, Y-axis constitute mobile phone plane, X-axis is parallel with mobile phone minor face, and Y-axis is parallel with the long side of mobile phone, and Z axis are perpendicular to hand
Machine plane.Thus, judge that mobile phones transverse screen only needs to judge the angle of X-axis and Y-axis.
When X-axis is in 0 ° of+△ s2 in 90 ° of+△ s1 or -90 ° of+△ s1, and Y-axis, you can think that mobile phone is in transverse screen
State;And other moment, then judge that mobile phone should be at portrait layout state.Wherein, △ s1, △ s2 are floating parameter, and numerical value is less, then
Transverse screen criterion is more harsh.
Embodiment three
The flow chart of the method that Fig. 9 is played for a kind of controlling loudspeaker of the embodiment of the present invention, the method for the present embodiment is fitted
For the mobile terminal with twin loudspeaker, as shown in figure 9, the method for the present embodiment is comprised the following steps:
Step 901, the laying state for recognizing the mobile terminal, recognize mobile terminal in traverse state when, turn step
Rapid 902;
The similarity of step 902, the screen left and right sides region display information for starting to detect the mobile terminal;
Whether step 903, the similarity of detection screen left and right sides region display information are more than first threshold, if
It is more than, then goes to step 904;If less than threshold value, then do not deal with.
Step 904, audio frequency is played using first loudspeaker and second loudspeaker simultaneously.
Step 905, audio frequency is played using first loudspeaker and second loudspeaker simultaneously during, detect institute
The electricity of mobile terminal is stated, whether electricity is less than Second Threshold, such as less than, then goes to step 906;Such as larger than, then do not deal with.
A loudspeaker in step 906, the first loudspeaker of closing and second loudspeaker.
As such, it is possible in the case of mobile terminal not enough power supply, increase the continuation of the journey of mobile terminal.
Certainly, can also point out which loudspeaker user closes before a loudspeaker is closed, receive the pass of user
After closing instruction, corresponding loudspeaker is closed.
Example IV
Figure 10 is the schematic diagram of the mobile terminal of the embodiment of the present invention, and the mobile terminal 1 000 of the present embodiment has loudspeaker
1100 and loudspeaker 1200, as shown in Figure 10, the mobile terminal 1 000 of the present embodiment includes:
Identification module 1001, for recognizing the laying state of the mobile terminal, is in when the mobile terminal is recognized
During traverse state, detection trigger module 1002;
Detection module 1002, for starting to detect that the screen left and right sides region of mobile terminal 1 000 shows letter after being triggered
The similarity of breath, when the similarity for detecting screen left and right sides region display information is more than threshold value, control is played in triggering
Molding block 1003;
Play control module 1003, after being triggered, using loudspeaker 1100 and loudspeaker 1200 audio frequency is played simultaneously.
When user uses VR functions, mobile phone can typically be inserted and (is set to enlarging lens outside VR in VR peripheral hardwares by user
Glasses), now mobile phone is necessarily traverse (but allowing certain fluctuation range).VR technologies, are by presenting to mankind's eyes
There is the image information of nuance, allow the mankind to obtain the impression of solid space.Therefore, when user is applied on mobile phone using VR,
No matter which kind of is applied, and all can automatically screen into the left and right subregions such as two, to reach the mesh that right and left eyes different pictures are presented
, therefore, the similarity of screen left and right sides region display information is judged during transverse screen, VR fields can be judged with high probability
Scape.
When the similarity of left and right sides region display information is more than certain threshold value (such as 80%), it is believed that user is currently in use
VR (Virtual Reality, virtual reality) is applied, then using twin loudspeaker mode playback.The method of the present embodiment is with automatic
Knowledge judges otherwise whether user is being applied using VR, and so as to the speaker mode that automatically switches, the VR of Intelligent lifting user sinks
Leaching experience.
In an alternative embodiment,
Identification module 1001, identification mobile terminal 1 000 is achieved in the following ways in traverse state:By interior
The direction sensor put obtains the three dimensions rectangular coordinate system information of the mobile terminal, by the three-dimensional of the mobile terminal
Rectangular coordinate system in space information is recognizing the laying state of the mobile terminal.
In an alternative embodiment, the play control module 1003, using loudspeaker 1100 and loudspeaker 1200 simultaneously
Play also includes before audio frequency:Prompt the user whether to play audio frequency using twin loudspeaker, after the confirmation for receiving user is instructed,
Audio frequency is played using loudspeaker 1100 and loudspeaker 1200 simultaneously.
Embodiment five
Figure 11 is the schematic diagram of the mobile terminal of the embodiment of the present invention, and the mobile terminal 1 000 of the present embodiment has loudspeaker
1100 and loudspeaker 1200, as shown in Figure 10, the mobile terminal 1 000 of the present embodiment includes:
Identification module 1001, for recognizing the laying state of the mobile terminal, is in when the mobile terminal is recognized
During traverse state, detection trigger module 1002;
Detection module 1002, for starting to detect that the screen left and right sides region of mobile terminal 1 000 shows letter after being triggered
The similarity of breath, when the similarity for detecting screen left and right sides region display information is more than threshold value, control is played in triggering
Molding block 1003;
Play control module 1003, after being triggered, using loudspeaker 1100 and loudspeaker 1200 audio frequency is played simultaneously.
Electric power detection module 1004, for adopting loudspeaker 1100 and loudspeaker 1200 simultaneously in play control module 1003
The electricity of mobile terminal 1 000 is detected during playing audio frequency, when electricity is detected less than threshold value, notifies to play control mould
Block 1003;
Play control module 1003, after receiving notice, in mute speaker 1100 and loudspeaker 1200 raises one's voice
Device.
It should be noted that the identification module 1001 and state detection module 1002 in the mobile terminal of present invention offer can
In to arrange sensing unit 140 in FIG, play control module 1003 can be arranged in controller 180 in FIG, electricity
Amount detection module 1004 can be arranged in power subsystem 190 in FIG.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row
His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer takes
Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Although disclosed herein embodiment as above, described content is only to readily appreciate the present invention and adopt
Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is being taken off without departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details implemented
Scope of patent protection, still must be defined by the scope of which is defined in the appended claims.