CN104778067B - Start method and the terminal unit of audio - Google Patents
Start method and the terminal unit of audio Download PDFInfo
- Publication number
- CN104778067B CN104778067B CN201510204467.2A CN201510204467A CN104778067B CN 104778067 B CN104778067 B CN 104778067B CN 201510204467 A CN201510204467 A CN 201510204467A CN 104778067 B CN104778067 B CN 104778067B
- Authority
- CN
- China
- Prior art keywords
- terminal unit
- application program
- audio
- white list
- predetermined white
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method starting audio, the method for described startup audio comprises the following steps: start the application program of terminal unit;Judge described application program whether in predetermined white list, described predetermined white list is terminal unit to be added based on system bottom audio frequency framework;If described application program is in described predetermined white list, then start the sound effect function of described application program.The invention also discloses a kind of terminal unit.The present invention starts audio based on system bottom, can improve the karaoke effect of music application, avoids interfering the phonetic function of other application programs simultaneously.
Description
Technical field
The present invention relates to communication technique field, particularly relate to a kind of method starting audio and terminal unit.
Background technology
The Kara OK function that terminal unit is generally configured with, is all to rely on Karaoke (unmanned accompaniment) to be correlated with
App (Application, application program) realizes, and therefore, the karaoke effect of terminal unit is paid no attention to
Think.Such as cell phone manufacturer of existing terminal unit manufacturer debugging set of parameter adjusts the Karaoke of terminal unit
Effect, but remain difficult to improve the audio of numerous Karaoke application program, even can be because of opening this set parameter
And affect the effect of other common App such as QQ voice and wechat voices etc..
Foregoing is only used for auxiliary and understands technical scheme, does not represent and recognizes that foregoing is
Prior art.
Summary of the invention
A kind of method starting audio of offer and terminal unit are provided, it is intended to based on
System bottom starts audio, improves the karaoke effect of music application, avoids applying other simultaneously
The phonetic function of program interferes.
For achieving the above object, a kind of method starting audio that the present invention provides, described startup audio
Method comprises the following steps:
Start the application program of terminal unit;
Judge described application program whether in predetermined white list, described predetermined white list is terminal unit base
Add in system bottom audio frequency framework;
If described application program is in described predetermined white list, then start the audio merit of described application program
Energy.
Preferably, it is judged that whether described application program is in predetermined white list, and described predetermined white list is eventually
Also include after the step that end equipment adds based on system bottom audio frequency framework:
If described application program is not in described predetermined white list, then exit described application program.
Preferably, also include after the step of the application program of described startup terminal unit:
Judge whether audio switch is opened;
If described audio switch is in open mode, then judge whether earphone inserts in terminal unit;
If described audio switch is closed, then ejects audio switch prompting frame, open institute with prompting
State audio switch.
Preferably, if described audio switch is in open mode, then judge whether earphone inserts terminal
Also include after step in equipment:
If described earphone is not inserted into described terminal unit, then ejects earphone prompting frame, insert institute with prompting
State earphone, wherein, when described earphone inserts described terminal unit, it is judged that whether described application program exists
In predetermined white list.
Additionally, for achieving the above object, the present invention also proposes a kind of terminal unit, described terminal unit bag
Include:
Program starts module, for starting the application program of terminal unit;
First judge module, be used for judging described application program whether in predetermined white list, described predetermined
White list is that terminal unit adds based on system bottom audio frequency framework;
Audio starts module, if being in described predetermined white list for described application program, then starts institute
State the sound effect function of application program.
Preferably, described terminal unit also includes:
Exiting processing module, if being not in described predetermined white list for described application program, then exiting
Described application program.
Preferably, described terminal unit also includes:
Second judge module, is used for judging whether audio switch is opened;
3rd judge module, if being in open mode for described audio switch, then judges whether earphone is inserted
Enter in terminal unit;
First reminding module, if being closed for described audio switch, then ejects audio switch and carries
Show frame, open described audio switch with prompting.
Preferably, described terminal unit also includes:
Second reminding module, if being not inserted into described terminal unit for described earphone, then ejects earphone and carries
Show frame, insert described earphone with prompting, wherein, when described earphone inserts described terminal unit, it is judged that
Whether described application program is in predetermined white list.
The method of the startup audio that the present invention provides and terminal unit, by starting the application journey of terminal unit
Sequence, it is judged that whether described application program is in predetermined white list, and described predetermined white list is terminal unit base
Add in system bottom audio frequency framework, if described application program is in described predetermined white list, then start
The sound effect function of described application program.So, starting audio based on system bottom, can improve music should
With the karaoke effect of program, avoid the phonetic function of other application programs is interfered simultaneously.
Accompanying drawing explanation
Fig. 1 is the hardware configuration signal of the terminal unit realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of terminal unit as shown in Figure 1;
Fig. 3 is the schematic flow sheet that the present invention starts method one embodiment of audio;
Fig. 4 is the schematic flow sheet that the present invention starts another embodiment of method of audio;
Fig. 5 is the high-level schematic functional block diagram of terminal unit one embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of another embodiment of terminal unit of the present 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
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 terminal unit realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description
In, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for having
It is beneficial to the explanation of the present invention, itself does not has specific meaning.Therefore, " module " and " parts " can
Mixedly to use.
Terminal unit 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 mobile end of guider etc.
The fixed terminal of end and such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile whole
End.However, it will be understood by those skilled in the art that, in addition to being used in particular for the element of mobile purpose,
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 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 should
It is understood by, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of group
Part.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 with wireless
Radio communication between communicator or network.Such as, wireless communication unit can include broadcast reception
Module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and position letter
At least one in breath module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receive broadcast singal and/
Or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast control services
Device can be to generate and send generation before broadcast singal and/or the server of broadcast related information or reception
Broadcast singal and/or broadcast related information and send it to the server of terminal.Broadcast singal is permissible
Including TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal can
To farther include the broadcast singal combined with TV or radio signals.Broadcast related information can also
There is provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be wide with digital multimedia
Broadcast the electronic program guides (EPG) of (DMB), the electronic service guidebooks of digital video broadcast-handheld (DVB-H)
Etc. (ESG) form and exist.Broadcast reception module 111 can be by using various types of broadcast dress
Put reception signal broadcast.Especially, broadcast reception module 111 can by use such as multimedia broadcasting-
Ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H),
Forward link media (MediaFLO@) data broadcaster, received terrestrial digital broadcasting integrated service (ISDB-T)
Etc. digital broadcast apparatus receive digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for
The various broadcasters of broadcast singal and above-mentioned digital broadcast apparatus.Receive via broadcast reception module 111
Broadcast singal and/or broadcast related information can be stored in memorizer 160 (or other type of storage is situated between
Matter) in.
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 internal or
Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing
Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (at a high speed
Downlink packets accesses) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology
Including bluetoothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTM
Etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position is believed
The typical case of breath module is GPS (global pick device).According to current technology, GPS module 115 calculates
From the range information of three or more satellites and correct time information and for the Information application calculated
Triangulation, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information.When
Before, use three satellites and by using other one for calculating the method for position and temporal information
Satellite corrects the position and the error of temporal information calculated.Additionally, GPS module 115 can be by real time
Ground Continuous plus current location information calculates velocity information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase
Machine 121 and mike 122, camera 121 in Video Capture pattern or image capture mode by image capturing
Static images or the view data of video that device obtains process.Picture frame after process can show
On display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160, and (or other deposits
Storage media) in or be transmitted via wireless communication unit 110, can provide according to the structure of mobile terminal
Two or more cameras 121.Mike 122 can be in telephone calling model, logging mode, speech recognition
Pattern etc. operational mode receives sound (voice data) via mike, and can be by such sound
It is processed as voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model
For can be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 is permissible
Implement various types of noise elimination (or suppression) algorithm and receiving and transmission audio signal to eliminate (or suppression)
During produce noise 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 permissible
Including keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electricity
The sensitive component of change held etc.), roller, rocking bar etc..Especially, when touch pad as a layer
When being superimposed upon on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or
Closed mode), the position of mobile terminal 100, user is for the contact (that is, touch input) of mobile terminal 100
Presence or absence, the orientation of mobile terminal 100, the acceleration of mobile terminal 100 or speed is moved and direction etc.,
And generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, when mobile terminal 100
When being embodied as sliding-type mobile phone, it is to engage on or off that sensing unit 140 can sense this sliding-type number
Close.It addition, sensing unit 140 can detect whether power subsystem 190 provides electric power or interface unit 170
Whether couple with external device (ED).It is tactile that sensing unit 140 can include that proximity transducer 1410 will combine below
Touch screen this is described.
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 mould
Block can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include user
Identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition,
The device (hereinafter referred to as " identification 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 can
For receiving from the input (such as, data message, electric power etc.) of external device (ED) and will receive
Input the one or more elements being transferred in mobile terminal 100 or may be used at mobile terminal with outer
Data are transmitted between part device.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to lead to
Cross it provide the path of mobile terminal 100 by electric power from base or can serve as allowing to input from base
Various command signals be transferred to the path of mobile terminal by it.Various command signals from base input
Or electric power may serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output is single
Unit 150 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal,
Video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151,
Dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, mobile terminal is worked as
100 when being in telephone calling model, display unit 151 can show and call or other communicate (such as, civilian
This information receiving and transmitting, 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
Can show capture image and/or the image of reception, illustrate video or image and the UI of correlation function or
GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious
Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display
(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexibility show
Show at least one in device, three-dimensional (3D) display etc..Some in these display may be constructed such that
Transparence is to allow user to watch from outside, and this is properly termed as transparent display, typical transparent display
Can for example, TOLED (transparent organic light emitting diode) display etc..According to the specific enforcement wanted
Mode, mobile terminal 100 can include two or more display units (or other display device), such as,
Mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can
For detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note
Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, wireless communication unit 110 is connect
Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.And
And, the audio frequency that dio Output Modules 152 can provide relevant to the specific function of mobile terminal 100 execution is defeated
Go out (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can wrap
Include pick up, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typically
Event can include calling reception, message sink, key signals input, touch input etc..Except audio frequency
Or outside video frequency output, alarm unit 153 can provide in a different manner and export sending out with notification event
Raw.Such as, alarm unit 153 can with vibration form provide output, when receive calling, message or
During some other entrance communication (incoming communication), alarm unit 153 can provide sense of touch defeated
Go out (that is, vibration) to notify to user.By providing such sense of touch to export, even if in the shifting of user
When mobile phone is in the pocket of user, user also is able to identify the generation of various event.Alarm unit
The output of 153 generations that notification event can also be provided via display unit 151 or dio Output Modules 152.
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 about when touch is applied to touch screen
The vibration of the 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 storage device
(RAM), static random-access memory (SRAM), read only memory (ROM), electrically erasable
Read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, light
Dish etc..And, mobile terminal 100 can be connected the storage function performing memorizer 160 with by network
Network storage device cooperation.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice
Control that call, data communication, video calling etc. are relevant and process.It addition, controller 180 can wrap
Including the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct
In controller 180, or it is so structured that separate with controller 180.Controller 180 can perform pattern to be known
Other places are managed, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or figure
Picture.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour
Make 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, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein extremely
Few one is implemented, and in some cases, such embodiment can be implemented in controller 180.Right
Implementing in software, the embodiment of such as process or function can perform at least one function or behaviour with permission
The single software module made is implemented.Software code can be by writing with any suitable programming language
Software application (or program) is implemented, and software code can be stored in memorizer 160 and by controlling
Device 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.
As shown in Figure 1 mobile terminal 100 may be constructed such that and utilizes via frame or packet transmission data
The most wired and radio communication device and satellite-based communicator operate.
The communicator being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.Such as, communication fill
The air interface putting use includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA
(CDMA) move lead to universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), the whole world
T unit (GSM) etc..As non-limiting example, explained below relates to cdma communication device, but
It is that such teaching is equally applicable to other type of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 100, multiple base station
(BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to
Interface is formed with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and can be via returning
Journey circuit is couple to the BSC275 of base station 270 and forms interface.If the interface that back haul link can be known according to Ganji
In any one construct, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL,
ADSL or xDSL.It will be appreciated that device as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or sensing certain party
To antenna cover each subregion radially away from BS270.Or, each subregion can be by for dividing
Two or more antennas that collection receives cover.Each BS270 may be constructed such that support multiple frequencies distribution,
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
The sub-device of transceiver (BTS) or other equivalent terms.In this case, term " base station " can be used
In 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 device the shifting operated by broadcsting transmitter (BT) 295
Dynamic terminal 100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences reception as shown in Figure 1
The broadcast singal sent by BT295.In fig. 2 it is shown that several global pick devices (GPS) satellite 300.
Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, but it is understood that, it is possible to use any number
Satellite obtain useful location information.GPS module 115 is generally configured to and satellite as shown in Figure 1
300 coordinate the location information wanted with acquisition.Substitute GPS tracking technique or outside GPS tracking technique,
Other technology of the position that can follow the tracks of mobile terminal can be used.It addition, at least one gps satellite 300
Can optionally or additionally process satellite dmb transmission.
As a typical operation of radio communication device, 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.Special
The each reverse link signal determining base station 270 reception is processed in specific BS270.The data obtained
It is forwarded to the BSC275 being correlated with.BSC provides call resource distribution and the soft handover included between BS270
The mobile management function of the coordination of process.The data received also are routed to MSC280 by BSC275, its
Extra route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls 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 inventive method is proposed.
As it is shown on figure 3, one embodiment of the invention proposes a kind of method starting audio, described startup audio
Method comprise the following steps:
Step S101, starts the application program of terminal unit;
In the present embodiment, described terminal unit can be PC, handheld device, electronic plane, individual
Personal digital assistant (PDA), mobile phone and smart mobile phone etc..In this preferred embodiment, terminal unit
It is preferably mobile phone.Wherein, described application program possesses audio-frequency function, as singing class application program (sing,
Whole people's K song etc.), chat class application program (QQ, wechat etc.).
Step S102, it is judged that whether described application program is in predetermined white list, and described predetermined white list is
Terminal unit adds based on system bottom audio frequency framework;
In this preferred embodiment, the application program in described predetermined white list is the application program allowing to perform,
These application programs are singing class application software.If user open as sing, whole people's K song etc. sings
Class application software, then can automatically turn on audio switch.
In the present embodiment, terminal unit such as mobile phone can add white by underlying audio framework based on Android system
List, when some singing class application program in white list is opened, then can open sound effect function.
Add it is, of course, understood that be also based on the operating system correspondences such as Fructus Mali pumilae, Saipan and blackberry
White list, however it is not limited to the present embodiment.
Step S103, if described application program is in described predetermined white list, then starts described application journey
The sound effect function of sequence.
In the present embodiment, terminal unit by bottom add algorithm, the recording sound collected with under
Row musical sounds etc. mix, and have reached the effect of Karaoke at earphone end.
The method starting audio that the present invention provides, by starting the application program of terminal unit, it is judged that institute
Stating application program whether in predetermined white list, described predetermined white list is that terminal unit is based on system bottom
Audio frequency framework adds, if described application program is in described predetermined white list, then starts described application journey
The sound effect function of sequence.So, start audio based on system bottom, the card of music application can be improved
Draw OK effect, avoid the phonetic function of other application programs is interfered simultaneously.
In one embodiment, as shown in Figure 4, on the basis of the embodiment of Fig. 3, described step S102 it
After also include:
Step S104, if described application program is not in described predetermined white list, then exits described application
Program.
In the present embodiment, judge that application program to be opened is not at described predetermined white list at terminal unit
Time interior, then can directly exit this application program.
In one embodiment, as shown in Figure 4, on the basis of the embodiment of Fig. 3, described step S101
The most also include:
Step S105, it is judged that whether audio switch is opened;
Step S106, if described audio switch is in open mode, then judges whether earphone inserts terminal and set
Standby interior;
In the present embodiment, terminal unit judges whether audio switch is opened, and is judging at described audio switch
When open mode, then determine whether whether earphone inserts terminal unit.
In the present embodiment, audio switch can control all application journeys possessing audio-frequency function of terminal unit
Sequence, namely total audio of singing class application program and chat class application program etc..When audio switch is opened,
And application program is when being in white list, only when opening application program, unlatching Karaoke just can be triggered
Configuration.
The setting of white list, can avoid user to open audio switch back and forth, avoid Karaoke simultaneously
The audio impact on the audio-frequency function of other application programs such as QQ, wechat etc..
It is understood that as QQ, wechat etc. have the application program of phonetic function, be in described predetermined
Outside white list, such that make audio switch be in open mode, open these application programs user
Time, still will not trigger sound effect function, thus avoid the Karaoke audio sound to common applications
Frequency impact.
Step S107, if described audio switch is closed, then ejects audio switch prompting frame, with
Described audio switch is opened in prompting.
In the present embodiment, when terminal unit judges that audio switch is closed, sing if user opens
Song class application program, then can eject audio switch prompting frame, and prompting user's now audio switch cuts out, and needs
Audio to be opened switchs.
In one embodiment, as shown in Figure 4, on the basis of the embodiment of Fig. 3, described step S106
The most also include:
Step S108, if described earphone is not inserted into described terminal unit, then ejects earphone prompting frame, with
Described earphone is inserted in prompting, wherein, when described earphone inserts described terminal unit, it is judged that described application
Whether program is in predetermined white list.
In the present embodiment, when terminal unit judges that earphone is not inserted into described terminal unit, if user beats
Beginning singing and sing class application program, then can eject earphone prompting frame, prompting user's now earphone is closed, and needs to insert
Enter earphone.
In the present embodiment, by ejecting prompting frame, user's proper use of OK a karaoke club Ok function can be assisted.
The present invention also provides for a kind of terminal unit 1, with reference to Fig. 5, in the present embodiment, described terminal unit 1
Including:
Program starts module 101, for starting the application program of terminal unit 1;
In the present embodiment, described terminal unit 1 can be PC, handheld device, electronic plane,
Personal digital assistant (PDA), mobile phone and smart mobile phone etc..In this preferred embodiment, terminal sets
Standby 1 is preferably mobile phone.Wherein, described application program possesses audio-frequency function, as singing class application program (is sung
, whole people's K song etc.), chat class application program (QQ, wechat etc.).
First judge module 102, be used for judging described application program whether in predetermined white list, described pre-
Ding white ware list is that terminal unit 1 adds based on system bottom audio frequency framework;
In this preferred embodiment, the application program in described predetermined white list is the application program allowing to perform,
These application programs are singing class application software.If user open as sing, whole people's K song etc. sings
Class application software, then can automatically turn on audio switch.
In the present embodiment, terminal unit 1 such as mobile phone can add by underlying audio framework based on Android system
White list, when some singing class application program in white list is opened, then can open sound effect function.
Add it is, of course, understood that be also based on the operating system correspondences such as Fructus Mali pumilae, Saipan and blackberry
White list, however it is not limited to the present embodiment.
Audio starts module 103, if being in described predetermined white list for described application program, then starts
The sound effect function of described application program.
In the present embodiment, terminal unit 1 by adding algorithm at bottom, the recording sound collected with
Descending musical sounds etc. mix, and have reached the effect of Karaoke at earphone end.
The present invention provide terminal unit 1, by start terminal unit 1 application program, it is judged that described should
By program whether in predetermined white list, if described application program is in described predetermined white list, then sentence
Whether staccato effect switch is opened, if described audio switch is in open mode, then judges whether earphone inserts
In terminal unit 1, if described earphone inserts described terminal unit 1, then start the audio of described application program.
So, start audio based on system bottom, the karaoke effect of music application can be improved, simultaneously
Avoid the phonetic function of other application programs is interfered.
In one embodiment, as shown in Figure 6, on the basis of the embodiment of Fig. 5, described terminal unit 1
Also include:
Exiting processing module 104, if being not in described predetermined white list for described application program, then moving back
Go out described application program.
In the present embodiment, judge that application program to be opened is not at described predetermined white list at terminal unit 1
Time interior, then can directly exit this application program.
In one embodiment, as shown in Figure 6, on the basis of the embodiment of Fig. 5, described terminal unit 1
Also include:
Second judge module 105, is used for judging whether audio switch is opened;
Whether 3rd judge module 106, if being in open mode for described audio switch, then judge earphone
Insert in terminal unit 1;
In the present embodiment, terminal unit 1 judges whether audio switch is opened, and is judging that described audio switchs
When being in open mode, then determine whether whether earphone inserts terminal unit 1.
In the present embodiment, audio switch can control all application possessing audio-frequency function of terminal unit 1
Program, namely total audio of singing class application program and chat class application program etc..When audio switch is beaten
Open, and when application program is in white list, only when opening application program, just can trigger unlatching card
OK is drawn to configure.
The setting of white list, can avoid user to open audio switch back and forth, avoid Karaoke simultaneously
The audio impact on the audio-frequency function of other application programs such as QQ, wechat etc..
It is understood that as QQ, wechat etc. have the application program of phonetic function, be in described predetermined
Outside white list, such that make audio switch be in open mode, open these application programs user
Time, still will not trigger sound effect function, thus avoid the Karaoke audio sound to common applications
Frequency impact.
First reminding module 107, if being closed for described audio switch, then ejects audio switch
Prompting frame, opens described audio switch with prompting.
In the present embodiment, when terminal unit 1 judges that audio switch is closed, if user opens
Singing class application program, then can eject audio switch prompting frame, and prompting user's now audio switch cuts out,
Need to open audio switch.
In one embodiment, as shown in Figure 6, on the basis of the embodiment of Fig. 5, described terminal unit 1
Also include:
Second reminding module 108, if being not inserted into described terminal unit 1 for described earphone, then ejects ear
Machine prompting frame, inserts described earphone with prompting, wherein, when described earphone inserts described terminal unit 1,
Judge that described application program is whether in predetermined white list.
In the present embodiment, when terminal unit 1 judges that earphone is not inserted into described terminal unit 1, if using
Singing class application program is opened at family, then can eject earphone prompting frame, and prompting user's now earphone is closed, and needs
Earphone to be inserted.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
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 (8)
1. the method starting audio, it is characterised in that the method bag of described startup audio
Include following steps:
Start the application program of terminal unit;
Judge described application program whether in predetermined white list, described predetermined white list is terminal
Equipment adds based on system bottom audio frequency framework;
If described application program is in described predetermined white list, then start described application program
Sound effect function.
2. the as claimed in claim 1 method starting audio, it is characterised in that described in sentence
Whether disconnected described application program is in predetermined white list, and described predetermined white list is terminal unit base
Also include after the step that system bottom audio frequency framework adds:
If described application program is not in described predetermined white list, then exit described application journey
Sequence.
3. the as claimed in claim 1 method starting audio, it is characterised in that described in open
After the step of the application program of dynamic terminal unit, and described whether judge described application program
In predetermined white list, described predetermined white list is that terminal unit is based on system bottom audio frequency framework
Also include before the step added:
Judge whether audio switch is opened;
If described audio switch is in open mode, then judge whether earphone inserts terminal unit
In;
If described audio switch is closed, then eject audio switch prompting frame, with prompting
Open described audio switch.
4. the method starting audio as claimed in claim 3, it is characterised in that if described
Described audio switch is in open mode, then judge whether earphone inserts the step in terminal unit
The most also include:
If described earphone is not inserted into described terminal unit, then eject earphone prompting frame, with prompting
Insert described earphone, wherein, when described earphone inserts described terminal unit, it is judged that described should
By program whether in predetermined white list.
5. a terminal unit, it is characterised in that described terminal unit includes:
Program starts module, for starting the application program of terminal unit;
First judge module, be used for judging described application program whether in predetermined white list, institute
Stating predetermined white list is that terminal unit adds based on system bottom audio frequency framework;
Audio starts module, if being in described predetermined white list, then for described application program
Start the sound effect function of described application program.
6. terminal unit as claimed in claim 5, it is characterised in that described terminal unit
Also include:
Exit processing module, if being not in described predetermined white list for described application program,
Then exit described application program.
7. terminal unit as claimed in claim 5, it is characterised in that described terminal unit
Also include:
Second judge module, after starting the module described application program of startup in described program,
And before described first judge module performs determining program, it is judged that whether audio switch is opened;
3rd judge module, if being in open mode for described audio switch, then judges earphone
Whether insert in terminal unit;
First reminding module, if being closed for described audio switch, then ejects audio
Switch prompting frame, opens described audio switch with prompting.
8. terminal unit as claimed in claim 7, it is characterised in that described terminal unit
Also include:
Second reminding module, if being not inserted into described terminal unit for described earphone, then ejects
Earphone prompting frame, inserts described earphone with prompting, wherein, inserts described terminal at described earphone
During equipment, it is judged that whether described application program is in predetermined white list.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510204467.2A CN104778067B (en) | 2015-04-27 | 2015-04-27 | Start method and the terminal unit of audio |
PCT/CN2016/078910 WO2016173395A1 (en) | 2015-04-27 | 2016-04-08 | Method for starting sound effect, terminal device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510204467.2A CN104778067B (en) | 2015-04-27 | 2015-04-27 | Start method and the terminal unit of audio |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104778067A CN104778067A (en) | 2015-07-15 |
CN104778067B true CN104778067B (en) | 2016-08-17 |
Family
ID=53619552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510204467.2A Active CN104778067B (en) | 2015-04-27 | 2015-04-27 | Start method and the terminal unit of audio |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104778067B (en) |
WO (1) | WO2016173395A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778067B (en) * | 2015-04-27 | 2016-08-17 | 努比亚技术有限公司 | Start method and the terminal unit of audio |
CN105824598B (en) * | 2016-02-29 | 2019-06-07 | 维沃移动通信有限公司 | A kind of audio management method and mobile terminal |
CN106126172B (en) | 2016-06-16 | 2017-11-14 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and mobile terminal |
CN106126174B (en) | 2016-06-16 | 2019-02-22 | Oppo广东移动通信有限公司 | A kind of control method and electronic equipment of scene audio |
CN106126159B (en) * | 2016-06-16 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of audio stream processing method and mobile terminal |
CN108664278A (en) * | 2017-03-27 | 2018-10-16 | 上海传英信息技术有限公司 | Start the method and device of audio for communication terminal application module |
CN112041809A (en) * | 2019-01-25 | 2020-12-04 | 微软技术许可有限责任公司 | Automatic addition of sound effects to audio files |
CN111935801B (en) * | 2020-07-16 | 2023-04-28 | 中国联合网络通信集团有限公司 | Voice access method, system, terminal equipment and computer readable storage medium |
CN114979347B (en) * | 2021-02-21 | 2023-05-12 | 荣耀终端有限公司 | Audio playing method, electronic equipment and chip system |
CN115914456B (en) * | 2023-03-01 | 2023-07-28 | 荣耀终端有限公司 | Audio processing method, electronic device and computer readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081722B (en) * | 2011-01-04 | 2015-02-04 | 奇智软件(北京)有限公司 | Method and device for protecting appointed application program |
CN102710857A (en) * | 2012-05-24 | 2012-10-03 | 武汉诚迈科技有限公司 | Karaoke method suitable for android smart phone |
CN104020979B (en) * | 2014-06-20 | 2019-04-05 | 努比亚技术有限公司 | A kind of mobile terminal and method of adaptive desktop selection audio |
CN104238916A (en) * | 2014-09-16 | 2014-12-24 | 广东欧珀移动通信有限公司 | Application or application function starting method of mobile terminal, and mobile terminal |
CN104778067B (en) * | 2015-04-27 | 2016-08-17 | 努比亚技术有限公司 | Start method and the terminal unit of audio |
-
2015
- 2015-04-27 CN CN201510204467.2A patent/CN104778067B/en active Active
-
2016
- 2016-04-08 WO PCT/CN2016/078910 patent/WO2016173395A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2016173395A1 (en) | 2016-11-03 |
CN104778067A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104778067B (en) | Start method and the terminal unit of audio | |
CN104808912B (en) | Inputting interface method of adjustment and device | |
CN104883430B (en) | A kind of mobile terminal and do not read the treating method and apparatus of footmark | |
CN105159533A (en) | Mobile terminal and automatic verification code input method thereof | |
CN104917896A (en) | Data pushing method and terminal equipment | |
CN104767889B (en) | Screen state control method and device | |
CN106131322A (en) | Dual-screen mobile terminal plays the method and device of sound | |
CN105357367B (en) | Recognition by pressing keys device and method based on pressure sensor | |
CN106168879A (en) | A kind of method that double-sided screen is mutual and terminal | |
CN106101455A (en) | Page jump management method, device and terminal | |
CN105764085A (en) | Abnormal electricity consumption detection method and terminal | |
CN106157970A (en) | A kind of audio identification methods and terminal | |
CN106331238A (en) | Screen stain prompt method, screen stain prompt device and mobile terminal | |
CN105892803A (en) | Quick setting method for setting items and mobile terminal | |
CN106776270A (en) | A kind of code detection method, device and terminal | |
CN105975052A (en) | Screen switching method and device | |
CN105897995A (en) | Contact person information adding method and apparatus | |
CN104810033B (en) | Audio frequency playing method and device | |
CN105096987B (en) | A kind of processing method and terminal of audio data | |
CN106371682A (en) | Gesture recognition system based on proximity sensor and method thereof | |
CN106027765A (en) | Mobile terminal unread short message display method and apparatus | |
CN105049610B (en) | A kind of input method and terminal | |
CN106125898A (en) | The method and device of screen rotation | |
CN107071161A (en) | The aggregation display method and mobile terminal of icon in a kind of status bar | |
CN106876892A (en) | A kind of antenna and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |