CN105915718A - Device and method for voice playing - Google Patents

Device and method for voice playing Download PDF

Info

Publication number
CN105915718A
CN105915718A CN201610370137.5A CN201610370137A CN105915718A CN 105915718 A CN105915718 A CN 105915718A CN 201610370137 A CN201610370137 A CN 201610370137A CN 105915718 A CN105915718 A CN 105915718A
Authority
CN
China
Prior art keywords
speaker
mobile terminal
sound
blocked
external equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610370137.5A
Other languages
Chinese (zh)
Inventor
路洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610370137.5A priority Critical patent/CN105915718A/en
Publication of CN105915718A publication Critical patent/CN105915718A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A device and a method for voice playing are provided. The method comprises the following steps: when a mobile terminal determines that a speaker is in a working state, whether the speaker is obscured is detected; and if that the speaker is obscured is detected, external equipment is triggered to play voice. Through the scheme in the embodiments of the invention, voice is played through the external equipment when the speaker is obscured, so that voice playing is not affected, and the user experience is improved.

Description

A kind of apparatus and method realizing sound broadcasting
Technical field
Present document relates to but be not limited to terminal applies technology, a kind of apparatus and method realizing sound broadcasting.
Background technology
Mobile terminal realizes sound broadcasting by being arranged on the speaker of bottom at present, but when user is playing trip Easily speaker is blocked when playing or see video thus affect sound and play, thus affect Consumer's Experience.
Summary of the invention
In order to solve the problems referred to above, the embodiment of the present invention proposes a kind of device realizing sound broadcasting and side Method, it is possible to do not affect sound when speaker is blocked and play, thus improve the Experience Degree of user.
The embodiment of the present invention proposes a kind of device realizing sound broadcasting, including:
Detection module, is used for determining when speaker is in running order, detects whether described speaker is hidden Gear, if be detected that described speaker is blocked, then sends the first notice to playing module;
Playing module, is used for receiving described first notice, triggers external equipment and carry out sound broadcasting.
Optionally,
Described detection module is additionally operable to:
If be detected that described speaker is not blocked, then send the second notice to described playing module;
Described playing module is additionally operable to:
When receiving described second notice, carry out sound broadcasting by described speaker.
Optionally,
Detection module is additionally operable to:
Judge that the sound forwarding function pre-set has turned on, and mobile terminal is with described external equipment During connection, it is allowed to described detection module is sent out to described playing module when described speaker is blocked detecting Send described first notice;
Described sound forwarding function includes: the sound play at described speaker is transferred to described outside and sets The standby function played out.
Optionally,
Described device also includes feedback module,
Feedback module is used for, it is judged that described sound forwarding function is not opened, and prompts the user whether to carry out institute State the unlatching of sound forwarding function;And/or,
Judge that described sound forwarding function is opened, but described mobile terminal is not connected with described external equipment Time, prompting user connects described mobile terminal and described external equipment.
Optionally,
Described detection module specifically for:
Determine when described speaker is in running order, it is judged that at the pressure sensing that the first predeterminable area is arranged Whether the suffered pressure of at least one in device is more than or equal to preset pressure threshold value, if be detected that institute State at least one the suffered pressure in the pressure transducer that the first predeterminable area is arranged more than or equal to institute State preset pressure threshold value, then send described first notice to described playing module;And/or,
By at least one detection in the range sensor that the second predeterminable area is arranged at predeterminable range threshold Whether barrier is there is, if be detected that there is obstacle in described predeterminable range threshold range in the range of value Thing, then send described first notice to described playing module.
The embodiment of the present invention additionally provides a kind of method realizing sound broadcasting, including:
Mobile terminal determines when speaker is in running order, detects whether described speaker is blocked;
Detect when described speaker is blocked, then trigger external equipment and carry out sound broadcasting.
Optionally, the method also includes:
During if be detected that described speaker is not blocked, carry out sound broadcasting by described speaker.
Optionally, the method also includes:
Before whether described detection speaker is blocked, it is judged that the sound forwarding function pre-set is opened Open, and judge when described mobile terminal is connected with described external equipment, it is allowed to raise one's voice described in detecting When device is blocked, triggers external equipment and carry out sound broadcasting;
Described sound forwarding function includes: the sound play at described speaker is transferred to described outside and sets The standby function played out.
Optionally, the method also includes:
When described mobile terminal judges that described sound forwarding function is not opened, prompt the user whether to carry out institute State the unlatching of sound forwarding function;
When described mobile terminal judges that described sound forwarding function has turned on, and judge described mobile whole When end and described external equipment are not connected with, prompting user connects described mobile terminal and described external equipment.
Optionally, whether the described speaker of described mobile terminal detection is blocked and includes:
Described mobile terminal judge first predeterminable area arrange pressure transducer at least one suffered by Whether the pressure arrived is more than or equal to preset pressure threshold value, if be detected that described first predeterminable area is arranged Pressure transducer at least one suffered pressure more than or equal to described preset pressure threshold value, then Determine that described speaker is blocked;And/or,
Described mobile terminal is by least one detection in the range sensor that the second predeterminable area is arranged Whether barrier is there is in predeterminable range threshold range, if be detected that at described predeterminable range threshold value model Enclose and interior there is barrier, it is determined that described speaker is blocked.
Compared with correlation technique, the inventive method embodiment includes: mobile terminal determines that speaker is in work When making state, whether detection speaker is blocked;If be detected that speaker is blocked, then trigger outside Equipment carries out sound broadcasting.By the scheme of the embodiment of the present invention, when speaker is blocked, by outward Portion's equipment carries out sound broadcasting, thus does not affect sound and play, and improves the Experience Degree of user.
Accompanying drawing explanation
Illustrating the accompanying drawing in the embodiment of the present invention below, the accompanying drawing in embodiment is for this Bright is further appreciated by, and is used for explaining the present invention, is not intended that and the present invention is protected model together with description The restriction enclosed.
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The flow chart realizing the method that sound is play that Fig. 3 provides for first embodiment of the invention;
Fig. 4 is the schematic diagram that in first embodiment of the invention, user realizes during playing games that sound is play;
Fig. 5 is the schematic diagram that in first embodiment of the invention, user opens sound forwarding function;
The flow chart realizing the method that sound is play that Fig. 6 provides for second embodiment of the invention;
The flow chart realizing the method that sound is play that Fig. 7 provides for third embodiment of the invention;
The module diagram realizing the device that sound is play that Fig. 8 provides for fourth embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
For the ease of the understanding of those skilled in the art, below in conjunction with the accompanying drawings the present invention is further retouched State, can not be used for limiting the scope of the invention.It should be noted that in the case of not conflicting, Embodiment in the application and the various modes in embodiment can be mutually combined.
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description In, use for represent element such as " module ", " parts " or " unit " suffix only for Be conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can Mixedly to use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include (individual digital helps for such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA Reason), PAD (panel computer), PMP (portable media player), the movement of guider etc. The fixed terminal of terminal and such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is to move Dynamic terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose Outside, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the optional mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, User input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, Controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but It is to it should be understood that, it is not required that implement all assemblies illustrated.Can alternatively implement more or less Assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and nothing Radio communication between line communication system or network.Such as, wireless communication unit can include mobile logical Letter module 112, wireless Internet module 113, short range communication module 114 and positional information module 115 In at least one.
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.), In exterior terminal and server at least one and/or receive from it radio signal.Such radio Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message The various types of data sent and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internal Or externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some of short-range communication technology are shown Example includes bluetooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple Honeybee TM etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position The typical case of information module is GPS (global positioning system).According to current technology, GPS module 115 Calculate from the range information of three or more satellites and correct time information and for the information calculated Application triangulation, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information. Currently, for calculating method three satellites of use of position and temporal information and by using other one Position that the correction of satellite calculates and the error of temporal information.Additionally, GPS module 115 can be passed through Continuous plus current location information calculates velocity information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can wrap Include camera 121 and mike 1220, camera 121 in Video Capture pattern or image capture mode by Static images or the view data of video that image capture apparatus obtains process.Picture frame after process May be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memorizer It is transmitted in 160 (or other storage mediums) or via wireless communication unit 110, can be according to movement The structure of terminal provides two or more cameras 1210.Mike 122 can be in telephone calling model, note Record pattern, speech recognition mode etc. operational mode receives sound (voice data) via mike, and And can be voice data by such acoustic processing.Audio frequency (voice) data after process can be at phone Be converted to be sent to via mobile communication module 112 lattice of mobile communication base station in the case of call mode Formula exports.Mike 122 can be implemented various types of noise and eliminate (or suppression) algorithm and (or press down eliminating System) in the noise received and produce during transmission audio signal or interference.
It is mobile to control that user input unit 130 can generate key input data according to the order of user's input The various operations of terminal.User input unit 130 allows user to input various types of information, and can With include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, The sensitive component of the change of electric capacity etc.), roller, rocking bar etc..Especially, when touch pad is with the shape of layer When formula is superimposed upon on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, the beating of mobile terminal 100 Open or close closed state), the position of mobile terminal 100, user for mobile terminal 100 contact (i.e., Touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and Direction etc., and generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, when When mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense this sliding-type electricity Words are opened or are closed.It addition, sensing unit 140 can detect whether power subsystem 190 provides electricity Whether power or interface unit 170 couple with external device (ED).Sensing unit 140 can include close to sensing This is described by device 1410 by combining touch screen below.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100 Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery Charger) port, wired or wireless FPDP, memory card port, for connect there is identification module The port of device, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identify Module can be to store for verifying that user uses the various information of mobile terminal 100 and can include using Family identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..Separately Outward, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, Identify that device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 May be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and by reception To one or more elements of being transferred in mobile terminal 100 of input or may be used at mobile terminal And between external device (ED), transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing The path of mobile terminal 100 or can serve as is provided to allow from base electric power by it defeated from base The various command signals entered are transferred to the path of mobile terminal by it.From the various order letters of base input Number or electric power may serve as identify mobile terminal whether be accurately fitted within the signal on base.Output Unit 150 is configured to provide output signal (such as, audio frequency letter with vision, audio frequency and/or tactile manner Number, video signal, alarm signal, vibration signal etc.).
Output unit 150 can include display unit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile whole End 100 is when being in telephone calling model, and display unit 151 can show and converse or (such as, other communicate Text messaging, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 images that can show capture and/or the image of reception, video or image and correlation function are shown UI or GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, Display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal Show device (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, At least one in flexible display, three-dimensional (3D) display etc..Some in these display are permissible Being configured to transparence watch from outside with permission user, this is properly termed as transparent display, the most thoroughly Bright display can for example, TOLED (transparent organic light emitting diode) display etc..Think according to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display dress Put), such as, mobile terminal can include that outernal display unit (not shown) and inner display unit (are not shown Go out).Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, Time under the isotypes such as logging mode, speech recognition mode, broadcast reception mode, by wireless communication unit 110 Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound. And, dio Output Modules 152 can provide the sound relevant to the specific function of mobile terminal 100 execution Frequency output (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 Speaker, buzzer etc. can be included.
Memorizer 160 can store the process performed by controller 180 and control the software program etc. of operation Deng, or can temporarily store oneself through output maybe will export data (such as, telephone directory, message, Still image, video etc.).And, memorizer 160 can store and be applied to touch screen about when touch Time the vibration of various modes of output and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory, Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access store Device (RAM), static random-access memory (SRAM), read only memory (ROM), electric erasable can be compiled Journey read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected the storage performing memorizer 160 with by network The network storage device cooperation of function.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and language Control that sound call, data communication, video calling etc. are relevant and process.It addition, controller 180 can To include the multi-media module 1810 for reproducing (or playback) multi-medium data, multi-media module 1810 Can construct in controller 180, or it is so structured that separate with controller 180.Controller 180 Pattern recognition process can be performed, draw input with the handwriting input that will perform on the touchscreen or picture It is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides Operate the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any group The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through Use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, control Device processed, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein At least one is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implement, the embodiment of such as process or function can with allow perform at least one function or The single software module of operation is implemented.Software code can be write by with any suitable programming language Software application (or program) implement, software code can be stored in memorizer 160 and by Controller 180 performs.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe Various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. In slide type mobile terminal as example.Therefore, the present invention can be applied to any kind of mobile whole End, and it is not limited to slide type mobile terminal.
Mobile terminal 100 may be constructed such that utilization is via frame or packet transmission data as shown in Figure 1 The most wired and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, by communication system The air interface that system uses includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) move lead to UMTS (UMTS) (especially, Long Term Evolution (LTE)), the whole world Communication system (GSM) etc..As non-limiting example, explained below relates to cdma communication system, But such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed For forming interface with Public Switched Telephony Network (PSTN) 290.MSC280 be also structured to can be through The BSC275 being couple to base station 270 by back haul link forms interface.If back haul link can be according to Ganji Any one in the interface known constructs, and described interface includes such as E1/T1, ATM, IP, PPP, Frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can be wrapped Include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or point to specific Each subregion that the antenna in direction covers is radially away from BS270.Or, each subregion can by with Two or more antennas in diversity reception cover.Each BS270 may be constructed such that the multiple frequencies of support Distribute, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base Station transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " is permissible 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 referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system operation by broadcsting transmitter (BT) 295 Mobile terminal 100.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 Help to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of Satellite obtains useful location information.GPS module 115 is generally configured to and defends as shown in Figure 1 Star 300 coordinates the location information wanted with acquisition.Substitute GPS tracking technique or follow the tracks of skill at GPS Outside art, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one GPS Satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives from various mobile terminals 100 Reverse link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of. Each reverse link signal that certain base station 270 receives is processed in specific BS270.Obtain Data are forwarded to the BSC275 being correlated with.BSC provides call resource distribution and includes between BS270 The mobile management function of the coordination of soft switching process.The data received also are routed to by BSC275 MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 Yu MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 Correspondingly control BS270 forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
As it is shown on figure 3, first embodiment of the invention proposes a kind of method realizing sound broadcasting, including:
Step 300, mobile terminal determine when speaker is in running order, and whether detection speaker is hidden Gear.
Optionally, in this step, when the speaker of the mobile terminal in the embodiment of the present invention is not in work When making state, terminate embodiment of the present invention flow process.
In this step, the in running order operational scenarios that can include combining depending on effect and audio of speaker, It is currently running the situation of game application including mobile terminal as shown in Figure 4, or plays out video etc., The most in running order process or the reading that can be run by reading systematic parameter, system be raised one's voice The property parameters of device etc. are determined.
In this step, mobile terminal can be by judging in the pressure transducer that the first predeterminable area is arranged At least one suffered pressure whether more than or equal to preset pressure threshold value detect speaker whether by Block;Optionally, if be detected that first predeterminable area arrange pressure transducer at least one institute Pressure experienced is more than or equal to preset pressure threshold value, it is determined that speaker is blocked;And/or,
Mobile terminal can be by least one detection in the range sensor that the second predeterminable area is arranged Whether barrier is there is in predeterminable range threshold range, if be detected that in predeterminable range threshold range There is barrier, it is determined that speaker is blocked.
The embodiment of the present invention, when suffered by least one in the pressure transducer the first predeterminable area being detected When the pressure arrived is more than or equal to preset pressure threshold value, illustrate that speaker is blocked.
When detecting that the pressure suffered by the pressure transducer of the first predeterminable area is respectively less than preset pressure threshold value Time, illustrate that speaker is not blocked.
When by least one being arranged in the range sensor of the second predeterminable area detect preset away from When there is barrier in threshold range, illustrate that speaker is blocked;
When being not detected by predeterminable range threshold range by being arranged on the range sensor of the second predeterminable area When inside there is barrier, illustrate that speaker is not blocked.
Embodiment of the present invention predeterminable range scope can be carried out really by the empirical analysis of those skilled in the art Fixed, such as, by analysis determine that the barrier of distance mobile terminal speaker 1 centimetre can affect speaker Broadcasting sound effect, then it is believed that this thing exists is blocked phenomenon.
First predeterminable area is generally region arround speaker, such as, using speaker installation site as in Heart position, arranges one or more pressure transducers in the position of 1 centimetre of speaker periphery, is used for Whether detection speaker is blocked;The number of pressure transducer can rule of thumb be analyzed and be configured, example As, on the four direction centered by speaker, be respectively provided with a pressure transducer;It addition, first Predeterminable area can also is that the rectangular region centered by speaker, or user raises according to mobile terminal The rule that the distribution of sound device is arranged or irregular region.
Second predeterminable area can also be typically region arround speaker, with the principle arranging pressure transducer Identical, can set in the position of 1 centimetre of speaker periphery using speaker installation site as center Put one or more range sensors, be used for detecting whether speaker is blocked;Range sensor Number can rule of thumb be analyzed and be configured, and such as, divides on the four direction centered by speaker One range sensor is not set;It addition, the second predeterminable area can also is that the length centered by speaker Square region, or the rule that arranges according to the distribution of mobile terminal speaker of user or irregular Region.
Step 301, detect when speaker is blocked, trigger external equipment and carry out sound broadcasting.
In this step, external equipment can include wearable device (such as intelligent watch etc.) or bluetooth ear Machine, wireless blue tooth audio amplifier etc. can carry out the equipment of sound broadcasting.
Optionally, the embodiment of the present invention also includes:
If be detected that speaker is not blocked, then carry out sound broadcasting by speaker.
Optionally, embodiment of the present invention method also includes:
Before whether detection speaker is blocked, it is judged that the sound forwarding function pre-set has turned on, And judge when mobile terminal is connected with external equipment, it is allowed to detect when described speaker is blocked, Trigger external equipment and carry out sound broadcasting.That is it is to have turned on and mobile terminal with sound forwarding function It is connected with external equipment as trigger condition, has triggered the detection whether speaker is blocked;
The embodiment of the present invention, sound forwarding function includes: outside being transferred to by the sound of the broadcasting at speaker The function that portion's equipment plays out.
Optionally, embodiment of the present invention method also includes:
When mobile terminal judges that sound forwarding function is not opened, prompt the user whether to carry out sound transfer merit The unlatching of energy;When mobile terminal judges that sound forwarding function has turned on, and judge that mobile terminal is with outer When portion's equipment is not connected with, prompting user connects mobile terminal and external equipment.
Optionally, embodiment of the present invention method also includes:
When mobile terminal judges that sound forwarding function is not opened, prompt the user whether to carry out sound transfer merit The unlatching of energy;
When mobile terminal judges that sound forwarding function has turned on, and judge mobile terminal and external equipment When being not connected with, prompting user connects mobile terminal and external equipment.
Whether the embodiment of the present invention, can carry out sound forwarding function when speaker is in running order The judgement having turned on, when speaker is in running order, carry out whether sound forwarding function have turned on sentences Break and can be configured by systematic parameter, it is also possible to implement by the way of receiving external command.
Wherein, as it is shown in figure 5, user can be turned on and off sound transfer by sound transfer switch Function.Sound transfer switch may include that the boolean's switch whether sound forwarding function is opened, Ke Yishi Software switch, can also be hardware switch.
By the present embodiment, mobile terminal can be examined when the speaker of mobile terminal is in running order Survey whether described speaker is blocked;If detecting when described speaker is blocked, then trigger external equipment Carry out sound broadcasting.By the present embodiment can the speaker of mobile terminal by the hands of user or other When barrier blocks, automatically trigger needing the acoustical signal play to be sent to external equipment, outside set For playing out, improve Consumer's Experience.
As shown in Figure 6, second embodiment of the invention proposes a kind of method realizing sound broadcasting, including:
Step 600, mobile terminal determine that speaker is the most in running order, if speaker is in work Make state, then perform step 601, if speaker is not in duty, then process ends.
The embodiment of the present invention, speaker detects whether terminal is currently running trip in running order can including Play or viewing video are carried out, and during running game, typically also need to judge that the audio of user is arranged.
Step 601, mobile terminal judge whether the sound forwarding function pre-set has turned on, if sound Sound forwarding function has turned on, then perform step 603, if sound forwarding function is not opened, then perform step Rapid 602.
Sound forwarding function includes: the sound play at speaker is transferred to what external equipment played out Function.
Step 602, mobile terminal prompting user opens sound forwarding function, and continues executing with step 601.
Step 603, mobile terminal judge whether to be connected with external equipment, if be connected with external equipment, Then performing step 605, if be not connected with external equipment, then performing step 604.
The embodiment of the present invention, external equipment can include intelligent watch, if setting up connection can be by reading The parameter information taken in network connection parameter or other correlation techniques judges.External equipment is mainly used in Carrying out speaker when being blocked, the content playing speaker plays out.
Step 604, mobile terminal prompting user connects mobile terminal and external equipment, and continues executing with step Rapid 603.
Whether step 605, mobile terminal detection speaker is blocked, if be detected that speaker is blocked, Then perform step 606, if be detected that speaker is not blocked, then perform step 607.
Step 606, mobile terminal carry out sound broadcasting by external equipment.
Step 607, mobile terminal carry out sound broadcasting by speaker.
By the present embodiment, mobile terminal can be examined when the speaker of mobile terminal is in running order Survey whether described speaker is blocked;If detecting when described speaker is blocked, then trigger external equipment Carry out sound broadcasting.By the present embodiment can the speaker of mobile terminal by the hands of user or other When barrier blocks, automatically trigger needing the acoustical signal play to be sent to external equipment, outside set For playing out, improve Consumer's Experience.
As it is shown in fig. 7, third embodiment of the invention proposes a kind of method realizing sound broadcasting, including:
Step 700, mobile terminal judge whether sound forwarding function has turned on, if sound forwarding function Have turned on, then perform step 702, if sound forwarding function is not opened, then perform step 701.
Step 701, mobile terminal prompting user opens sound forwarding function, and continues executing with step 700.
Step 702, mobile terminal judge whether to be connected with external equipment, if mobile terminal sets with outside Standby connection, then perform step 704, if mobile terminal is not connected with external equipment, then performs step 703. External equipment can terminal unit including intelligent watch.
Step 703, mobile terminal prompting user connects mobile terminal and external equipment, and continues executing with step Rapid 702.
Step 704, mobile terminal determine that speaker is the most in running order;If speaker is in work Make state, then perform step 705, if speaker is not in duty, then process ends.
Determine that speaker is in running order to include: whether detection user is currently playing games or watching video.
Whether step 705, mobile terminal detection speaker is blocked, if speaker is blocked, then holds Row step 706, if speaker is not blocked, then performs step 707.
Step 706, mobile terminal carry out sound broadcasting by external equipment.
Step 707, mobile terminal carry out sound broadcasting by speaker.
By the present embodiment, mobile terminal can be examined when the speaker of mobile terminal is in running order Survey whether described speaker is blocked;If detecting when described speaker is blocked, then trigger external equipment Carry out sound broadcasting.By the present embodiment can the speaker of mobile terminal by the hands of user or other When barrier blocks, automatically trigger needing the acoustical signal play to be sent to external equipment, outside set For playing out, improve Consumer's Experience.
As shown in Figure 8, fourth embodiment of the invention also proposed a kind of device realizing sound broadcasting, can To arrange in the terminal, including:
Detection module, is used for determining when speaker is in running order, and whether detection speaker is blocked, If be detected that speaker is blocked, then send the first notice to playing module;
Playing module, when being used for receiving the first notice, triggers external equipment and carries out sound broadcasting.
In the device of the embodiment of the present invention, detection module is additionally operable to:
If be detected that speaker is not blocked, then send the second notice to playing module;
Playing module is additionally operable to:
When receiving the second notice, carry out sound broadcasting by speaker.
In the device of the embodiment of the present invention, detection module is additionally operable to:
Judge that the sound forwarding function pre-set has turned on, and mobile terminal is connected with external equipment Time, it is allowed to described detection module sends the first notice when detecting that speaker is blocked to playing module;
Sound forwarding function includes: the sound play at speaker is transferred to what external equipment played out Function.
Embodiment of the present invention device also includes feedback module,
Feedback module is used for, it is judged that sound forwarding function is not opened, and prompts the user whether that carrying out sound turns The unlatching of shifting function;And/or,
Judge that sound forwarding function is opened, but when mobile terminal is not connected with external equipment, point out user Connect mobile terminal and external equipment.
In the device of the embodiment of the present invention, detection module specifically for:
Determine when speaker is in running order, it is judged that in the pressure transducer that the first predeterminable area is arranged At least one suffered pressure whether more than or equal to preset pressure threshold value, if be detected that first is pre- If at least one the suffered pressure in the pressure transducer that region is arranged is more than or equal to described default pressure Power threshold value, then send the first notice to playing module;And/or,
By at least one detection in the range sensor that the second predeterminable area is arranged at predeterminable range threshold Whether barrier is there is, if be detected that there is obstacle in described predeterminable range threshold range in the range of value Thing, then send the first notice to playing module.
By the present embodiment, mobile terminal can be examined when the speaker of mobile terminal is in running order Survey whether described speaker is blocked;If detecting when described speaker is blocked, then trigger external equipment Carry out sound broadcasting.By the present embodiment can the speaker of mobile terminal by the hands of user or other When barrier blocks, automatically trigger needing the acoustical signal play to be sent to external equipment, outside set For playing out, improve Consumer's Experience.
Fifth embodiment of the invention also proposed a kind of device realizing sound broadcasting, can be arranged on movement In terminal, including:
Detection module, is used for determining when speaker is in running order, and whether detection speaker is blocked, If be detected that speaker is blocked, then send the first notice to playing module;
Wherein, it is judged that the sound forwarding function pre-set has turned on, and mobile terminal and external equipment When connecting, it is allowed to detection module sends the first notice when detecting that speaker is blocked to playing module;
Sound forwarding function includes: the sound play at speaker is transferred to described external equipment and broadcasts The function put.
Playing module, when being used for receiving the first notice, triggers external equipment and carries out sound broadcasting.
Feedback module,
Feedback module is used for, it is judged that sound forwarding function is not opened, and prompts the user whether that carrying out sound turns The unlatching of shifting function;And/or,
Judge that sound forwarding function is opened, but mobile terminal not with external equipment time, prompting user connect Described mobile terminal and described external equipment.
In the device of the embodiment of the present invention, detection module is additionally operable to:
If be detected that described speaker is not blocked, then send the second notice to playing module;
Playing module is additionally operable to:
When receiving the second notice, carry out sound broadcasting by speaker.
In the device of the embodiment of the present invention, detection module specifically for:
Determine when speaker is in running order, it is judged that in the pressure transducer that the first predeterminable area is arranged At least one suffered pressure whether more than or equal to preset pressure threshold value, if be detected that described the At least one suffered pressure in the pressure transducer that one predeterminable area is arranged is more than or equal to described pre- If pressure threshold, then send the first notice to playing module;And/or,
By at least one detection in the range sensor that the second predeterminable area is arranged at predeterminable range threshold Whether barrier is there is, if be detected that there is obstacle in described predeterminable range threshold range in the range of value Thing, then send the first notice to described playing module.
By the present embodiment, mobile terminal can be examined when the speaker of mobile terminal is in running order Survey whether described speaker is blocked;If detecting when described speaker is blocked, then trigger external equipment Carry out sound broadcasting.By the present embodiment can the speaker of mobile terminal by the hands of user or other When barrier blocks, automatically trigger needing the acoustical signal play to be sent to external equipment, outside set For playing out, improve Consumer's Experience.
It should be noted that in this article, term " include ", " comprising " or its any other become Body is intended to comprising of nonexcludability, so that include the process of a series of key element, method, article Or device not only includes those key elements, but also includes other key elements being not expressly set out, or Also include the key element intrinsic for this process, method, article or device.There is no more restriction In the case of, statement " including ... " key element limited, it is not excluded that including the mistake of this key element Journey, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. one kind realizes the device that sound is play, it is characterised in that including:
Detection module, is used for determining when speaker is in running order, detects whether described speaker is hidden Gear, if be detected that described speaker is blocked, then sends the first notice to playing module;
Playing module, is used for receiving described first notice, triggers external equipment and carry out sound broadcasting.
Device the most according to claim 1, it is characterised in that described detection module is additionally operable to: as Fruit detects that described speaker is not blocked, then send the second notice to described playing module;
Described playing module is additionally operable to: receives described second notice, carries out sound by described speaker Play.
Device the most according to claim 1 and 2, it is characterised in that described detection module is additionally operable to:
Judge that the sound forwarding function pre-set has turned on, and mobile terminal is with described external equipment During connection, it is allowed to described detection module is sent out to described playing module when described speaker is blocked detecting Send described first notice;
Described sound forwarding function includes: the sound play at described speaker is transferred to described outside and sets The standby function played out.
Device the most according to claim 3, it is characterised in that described device also includes feedback module,
Feedback module is used for, it is judged that described sound forwarding function is not opened, and prompts the user whether to carry out institute State the unlatching of sound forwarding function;And/or,
Judge that described sound forwarding function is opened, but described mobile terminal is not connected with described external equipment Time, prompting user connects described mobile terminal and described external equipment.
Device the most according to claim 1 and 2, it is characterised in that described detection module is specifically used In:
Determine when described speaker is in running order, it is judged that at the pressure sensing that the first predeterminable area is arranged Whether the suffered pressure of at least one in device is more than or equal to preset pressure threshold value, if be detected that institute State at least one the suffered pressure in the pressure transducer that the first predeterminable area is arranged more than or equal to institute State preset pressure threshold value, then send described first notice to described playing module;And/or,
By at least one detection in the range sensor that the second predeterminable area is arranged at predeterminable range threshold Whether barrier is there is, if be detected that there is obstacle in described predeterminable range threshold range in the range of value Thing, then send described first notice to described playing module.
6. one kind realizes the method that sound is play, it is characterised in that including:
Mobile terminal determines when speaker is in running order, detects whether described speaker is blocked;
Detect when described speaker is blocked, then trigger external equipment and carry out sound broadcasting.
Method the most according to claim 6, it is characterised in that the method also includes:
During if be detected that described speaker is not blocked, carry out sound broadcasting by described speaker.
8. according to the method described in claim 6 or 7, it is characterised in that the method also includes:
Before whether described detection speaker is blocked, it is judged that the sound forwarding function pre-set is opened Open, and judge when described mobile terminal is connected with described external equipment, it is allowed to raise one's voice described in detecting When device is blocked, triggers external equipment and carry out sound broadcasting;
Described sound forwarding function includes: the sound play at described speaker is transferred to described outside and sets The standby function played out.
Method the most according to claim 8, it is characterised in that the method also includes:
When described mobile terminal judges that described sound forwarding function is not opened, prompt the user whether to carry out institute State the unlatching of sound forwarding function;
When described mobile terminal judges that described sound forwarding function has turned on, and judge described mobile whole When end and described external equipment are not connected with, prompting user connects described mobile terminal and described external equipment.
10. according to the method described in claim 6 or 7, it is characterised in that described mobile terminal detects Whether described speaker is blocked includes:
Described mobile terminal judge first predeterminable area arrange pressure transducer at least one suffered by Whether the pressure arrived is more than or equal to preset pressure threshold value, if be detected that described first predeterminable area is arranged Pressure transducer at least one suffered pressure more than or equal to described preset pressure threshold value, then Determine that described speaker is blocked;And/or,
Described mobile terminal is by least one detection in the range sensor that the second predeterminable area is arranged Whether barrier is there is in predeterminable range threshold range, if be detected that at described predeterminable range threshold value model Enclose and interior there is barrier, it is determined that described speaker is blocked.
CN201610370137.5A 2016-05-30 2016-05-30 Device and method for voice playing Pending CN105915718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610370137.5A CN105915718A (en) 2016-05-30 2016-05-30 Device and method for voice playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610370137.5A CN105915718A (en) 2016-05-30 2016-05-30 Device and method for voice playing

Publications (1)

Publication Number Publication Date
CN105915718A true CN105915718A (en) 2016-08-31

Family

ID=56741677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610370137.5A Pending CN105915718A (en) 2016-05-30 2016-05-30 Device and method for voice playing

Country Status (1)

Country Link
CN (1) CN105915718A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603858A (en) * 2016-12-29 2017-04-26 努比亚技术有限公司 Control method and mobile terminal
CN106878908A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106875960A (en) * 2017-01-19 2017-06-20 努比亚技术有限公司 The player method and mobile terminal of a kind of audio file
CN106878909A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Speaker voice giving hole plug processing method, device and terminal device
WO2018157679A1 (en) * 2017-03-03 2018-09-07 广东欧珀移动通信有限公司 Sounding control method and electronic device
CN112333619A (en) * 2020-11-03 2021-02-05 珠海格力电器股份有限公司 Method, device and system for detecting receiver performance
WO2023116769A1 (en) * 2021-12-22 2023-06-29 维沃移动通信有限公司 Audio data processing method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082844A (en) * 2009-11-27 2011-06-01 英业达股份有限公司 Handheld electronic device and method for adjusting sound quality thereof
CN102176730A (en) * 2011-01-06 2011-09-07 中兴通讯股份有限公司 Electronic terminal and ringtone prompt method of electronic terminal
CN102438188A (en) * 2010-09-29 2012-05-02 宏达国际电子股份有限公司 Movable electronic device and sound playing method thereof
CN103501375A (en) * 2013-09-16 2014-01-08 华为终端有限公司 Method and device for controlling sound effect
CN103811033A (en) * 2012-11-14 2014-05-21 北京新媒传信科技有限公司 Method and device for controlling voice playing modes
CN105100408A (en) * 2015-05-26 2015-11-25 努比亚技术有限公司 Method and device for controlling a mobile terminal
CN105100330A (en) * 2015-08-26 2015-11-25 广东欧珀移动通信有限公司 Method and mobile terminal for optimizing equipment sound effect
CN105187673A (en) * 2015-08-18 2015-12-23 陈丹 Method and system for controlling wakeup and blackout of screen in call of mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082844A (en) * 2009-11-27 2011-06-01 英业达股份有限公司 Handheld electronic device and method for adjusting sound quality thereof
CN102438188A (en) * 2010-09-29 2012-05-02 宏达国际电子股份有限公司 Movable electronic device and sound playing method thereof
CN102176730A (en) * 2011-01-06 2011-09-07 中兴通讯股份有限公司 Electronic terminal and ringtone prompt method of electronic terminal
CN103811033A (en) * 2012-11-14 2014-05-21 北京新媒传信科技有限公司 Method and device for controlling voice playing modes
CN103501375A (en) * 2013-09-16 2014-01-08 华为终端有限公司 Method and device for controlling sound effect
CN105100408A (en) * 2015-05-26 2015-11-25 努比亚技术有限公司 Method and device for controlling a mobile terminal
CN105187673A (en) * 2015-08-18 2015-12-23 陈丹 Method and system for controlling wakeup and blackout of screen in call of mobile terminal
CN105100330A (en) * 2015-08-26 2015-11-25 广东欧珀移动通信有限公司 Method and mobile terminal for optimizing equipment sound effect

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603858A (en) * 2016-12-29 2017-04-26 努比亚技术有限公司 Control method and mobile terminal
CN106603858B (en) * 2016-12-29 2020-06-09 南京秦淮紫云创益企业服务有限公司 Control method and mobile terminal
CN106875960A (en) * 2017-01-19 2017-06-20 努比亚技术有限公司 The player method and mobile terminal of a kind of audio file
CN106878908A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106878909A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Speaker voice giving hole plug processing method, device and terminal device
WO2018157679A1 (en) * 2017-03-03 2018-09-07 广东欧珀移动通信有限公司 Sounding control method and electronic device
US10791406B2 (en) 2017-03-03 2020-09-29 Guangdong Oppo Mobile Teleocmmunications Corp., Ltd. Method and apparatus for processing sound hole of speaker and electronic device
CN112333619A (en) * 2020-11-03 2021-02-05 珠海格力电器股份有限公司 Method, device and system for detecting receiver performance
WO2023116769A1 (en) * 2021-12-22 2023-06-29 维沃移动通信有限公司 Audio data processing method and electronic device

Similar Documents

Publication Publication Date Title
CN105094613B (en) Terminal control mechanism and method
CN104750420B (en) Screenshotss method and device
CN105915718A (en) Device and method for voice playing
CN104967726B (en) Phonetic order treating method and apparatus, mobile terminal
CN104731512B (en) The method, apparatus and terminal that picture is shared
CN104850799B (en) The method and mobile terminal of a kind of data in hiding mobile terminal
CN105227743B (en) A kind of method for recording, device and mobile terminal
CN105700709A (en) Mobile terminal and method for controlling untouchable area of mobile terminal
CN105979098A (en) Screen management method of double-sided screen and terminal
CN105357367B (en) Recognition by pressing keys device and method based on pressure sensor
CN106201181A (en) The display device of icon and method in a kind of application
CN106155695A (en) The removing control device and method of background application
CN106775382A (en) A kind of screenshot method and terminal
CN106168879A (en) A kind of method that double-sided screen is mutual and terminal
CN106101455A (en) Page jump management method, device and terminal
CN104731411A (en) Single-click action recognition method and device of mobile terminal
CN106231587A (en) The data service changing method of mobile terminal and switching device
CN106412243A (en) Method for monitoring abnormity of distance sensor, and terminal
CN106953979A (en) The method and device that a kind of double antenna in call intelligently switches
CN105791591A (en) Alarm prompting method and system thereof
CN104968027A (en) Wi-Fi control method and apparatus
CN106028090A (en) Mobile terminal and video recording method thereof
CN106131274A (en) Mobile terminal control device and method
CN106793159A (en) A kind of screen prjection method and mobile terminal
CN105260096B (en) A kind of method and mobile terminal controlling user's operation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160831

RJ01 Rejection of invention patent application after publication