WO2016173395A1 - Method for starting sound effect, terminal device and computer storage medium - Google Patents

Method for starting sound effect, terminal device and computer storage medium Download PDF

Info

Publication number
WO2016173395A1
WO2016173395A1 PCT/CN2016/078910 CN2016078910W WO2016173395A1 WO 2016173395 A1 WO2016173395 A1 WO 2016173395A1 CN 2016078910 W CN2016078910 W CN 2016078910W WO 2016173395 A1 WO2016173395 A1 WO 2016173395A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound
sound effect
terminal device
application
starting
Prior art date
Application number
PCT/CN2016/078910
Other languages
French (fr)
Chinese (zh)
Inventor
申世安
Original Assignee
努比亚技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016173395A1 publication Critical patent/WO2016173395A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for starting a sound effect, a terminal device, and a computer storage medium.
  • a method for starting a sound effect includes the following steps:
  • a program launch module configured to launch an application
  • Exiting the processing module configured to exit the application if the application is not within the predetermined whitelist.
  • a second determining module configured to determine whether the sound effect switch is in an open state
  • the sound effect starting module is configured to: if the application is in the predetermined white list, process the sound according to a specific parameter configured by the bottom layer; if the application is not in the predetermined In the white list, the sound is processed according to the default parameters and output.
  • FIG. 1 is a schematic structural diagram of hardware of a terminal device that implements various embodiments of the present invention
  • FIG. 3 is a schematic flow chart of an embodiment of a method for starting a sound effect according to the present invention.
  • the terminal device can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast apparatuses.
  • the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H)
  • MediaFLO forward link media
  • the digital broadcasting device of the @) data broadcasting device, the terrestrial digital broadcasting integrated service (ISDB-T), or the like receives the digital broadcasting.
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wideband (UWB), Purple BeeTM and more.
  • the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
  • a typical example of a location information module is a GPS (Global Positioning Device).
  • the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
  • the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
  • the interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can include a pickup, a buzzer, and the like.
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the device.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning Device
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • the BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC275 will also receive the received data.
  • MSC 280 it provides additional routing services for interfacing with PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • the terminal device mixes the collected recording sound with the downlink music sound by adding an algorithm at the bottom layer, and achieves the effect of karaoke on the earphone end.
  • a method for starting a sound effect provided by an embodiment of the present invention, by starting an application, determining the Whether the application is in a predetermined whitelist, the predetermined whitelist is added based on the underlying audio framework of the system, and if the application is in the predetermined whitelist, the sound effect function of the application is started. In this way, based on the system's underlying sound effects, the karaoke effect of the music application can be improved while avoiding interference with the voice functions of other applications.
  • the method further includes:
  • the terminal device determines whether the sound effect switch is turned on, and when determining that the sound effect switch is in an open state, further determines whether the earphone is inserted into the terminal device.
  • the program startup module 101 is configured to start an application of the terminal device 1;
  • the first determining module 102 is configured to determine whether the application is in a predetermined white list, and the predetermined whitelist is added by the terminal device 1 based on the system underlying audio frame;
  • the application is directly exited.
  • the second determining module 105 is configured to determine whether the sound effect switch is turned on
  • the sound effect switch can control the total sound effects of all the audio function-enabled applications of the terminal device 1, that is, the singing application and the chat application.
  • the sound switch is turned on and the application is in the white list, the karaoke configuration is triggered only when the application is opened.
  • the terminal device 1 determines that the headset is not inserted into the terminal device 1, if the user opens the singing application, a headset prompt box is output, prompting the user that the headset is turned off at this time, and the headset needs to be inserted.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, Or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the embodiment of the present invention determines whether the application is in a predetermined whitelist by starting an application of the terminal device, where the predetermined whitelist is added by the terminal device based on the underlying audio framework of the system, if the application is in the predetermined whitelist. Inside, the sound function of the application is started. In this way, based on the system's underlying sound effects, the karaoke effect of the music application can be improved while avoiding interference with the voice functions of other applications.

Abstract

A method for starting a sound effect, a terminal device and a computer storage medium. The method for starting a sound effect comprises: starting an application program (S101); judging whether the application program is in a predetermined white list, the predetermined white list being added based on a system bottom-layer audio frame (S102); and starting, if the application program is in the predetermined white list, a sound effect function of the application program (S103).

Description

启动音效的方法、终端设备及计算机存储介质Method for starting sound effect, terminal device and computer storage medium 技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种启动音效的方法、终端设备及计算机存储介质。The present invention relates to the field of communications technologies, and in particular, to a method for starting a sound effect, a terminal device, and a computer storage medium.
背景技术Background technique
终端设备通常具备的卡拉OK功能,都是依托于卡拉OK(无人伴奏)相关应用程序(App,Application)来实现的,因此,终端设备的卡拉OK效果不理想。现有的终端设备厂商如手机厂商调试一套参数来调整终端设备的卡拉OK效果,但仍很难提高众多卡拉OK应用程序的音效,甚至会因为开启这套参数而影响其他语音App(如QQ语音或微信语音等)的效果。The karaoke function usually provided by the terminal device is realized by the karaoke (unmanned accompaniment) related application (App, Application), and therefore, the karaoke effect of the terminal device is not satisfactory. Existing terminal equipment manufacturers such as mobile phone manufacturers debug a set of parameters to adjust the karaoke effect of the terminal equipment, but it is still difficult to improve the sound effects of many karaoke applications, and even affect other voice applications (such as QQ) by turning on this set of parameters. The effect of voice or WeChat voice, etc.).
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明实施例期望提供一种启动音效的方法、终端设备及计算机存储介质,能够提高音乐应用程序的卡拉OK效果,同时避免对其他应用程序的语音功能造成干扰。Embodiments of the present invention are directed to a method, a terminal device, and a computer storage medium for enabling sound effects, which can improve the karaoke effect of a music application while avoiding interference with voice functions of other applications.
为实现上述目的,本发明实施例提供的一种启动音效的方法,所述启动音效的方法包括以下步骤:To achieve the above objective, a method for starting a sound effect is provided by an embodiment of the present invention, and the method for starting a sound effect includes the following steps:
启动应用程序;Launch the application;
判断所述应用程序是否在预定白名单内,所述预定白名单为基于系统底层音频框架添加;Determining whether the application is in a predetermined white list, and the predetermined white list is added based on a system underlying audio framework;
若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效 功能。Initiating the sound of the application if the application is in the predetermined white list Features.
作为一种实施方式,所述方法还还包括:As an implementation manner, the method further includes:
若所述应用程序不处于所述预定白名单内,则退出所述应用程序。If the application is not within the predetermined whitelist, the application is exited.
作为一种实施方式,所述启动应用程序之后,所述方法还包括:As an implementation manner, after the launching the application, the method further includes:
判断音效开关是否处于开启状态;Determine whether the sound effect switch is in the on state;
若所述音效开关处于开启状态,则判断耳机是否插入终端设备内。If the sound effect switch is in an on state, it is determined whether the earphone is inserted into the terminal device.
作为一种实施方式,所述启动应用程序之后,所述方法还包括:判断音效开关是否处于开启状态;若所述音效开关处于关闭状态,则输出显示音效开关提示框,以提示打开所述音效开关。As an embodiment, after the application is started, the method further includes: determining whether the sound effect switch is in an open state; if the sound effect switch is in a closed state, outputting a display sound effect switch prompt box to prompt to open the sound effect switch.
作为一种实施方式,所述判断耳机是否插入终端设备内之后,所述方法还包括:As an implementation manner, after the determining whether the earphone is inserted into the terminal device, the method further includes:
若所述耳机没有插入所述终端设备,则输出显示耳机提示框,以提示插入所述耳机。If the earphone is not inserted into the terminal device, the display earphone prompt box is output to prompt the insertion of the earphone.
作为一种实施方式,所述判断所述应用程序是否在预定白名单内之前,所述方法还包括:确定耳机插入所述终端设备。As an implementation manner, before the determining whether the application is in a predetermined white list, the method further includes: determining that the earphone is inserted into the terminal device.
作为一种实施方式,所述启动所述应用程序的音效功能,包括:As an implementation manner, the sound function of the application is started, including:
采集输入的录音声音,将采集的录音声音与音乐声音混合,输出混合后的声音。The input recording sound is collected, the collected recording sound is mixed with the music sound, and the mixed sound is output.
作为一种实施方式,所述将采集的录音声音与音乐声音混合,输出混合后的声音,包括:As an implementation manner, the mixing the collected recording sound and the music sound, and outputting the mixed sound, includes:
通过系统底层音频框架配置的算法,将采集的录音声音与音乐声音混合,输出混合后的声音。Through the algorithm configured by the underlying audio framework of the system, the collected recording sound is mixed with the music sound, and the mixed sound is output.
作为一种实施方式,所述启动所述应用程序的音效功能,包括:将声音按照底层配置的特定参数进行处理后输出。As an implementation manner, the act of starting the sound effect of the application includes: processing the sound according to a specific parameter of the underlying configuration, and outputting the sound.
作为一种实施方式,所述方法还包括:若所述应用程序不处于所述预 定白名单内,则将声音按照默认参数进行处理后输出。In an embodiment, the method further includes: if the application is not in the pre- In the whitelist, the sound is processed according to the default parameters and output.
本发明实施例还提出一种终端设备,所述终端设备包括:The embodiment of the invention further provides a terminal device, where the terminal device includes:
程序启动模块,配置为启动应用程序;a program launch module configured to launch an application;
第一判断模块,配置为判断所述应用程序是否在预定白名单内,所述预定白名单为基于系统底层音频框架添加;a first determining module, configured to determine whether the application is in a predetermined whitelist, and the predetermined whitelist is added based on an underlying audio framework of the system;
音效启动模块,配置为若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。The sound effect starting module is configured to activate the sound effect function of the application if the application is in the predetermined white list.
作为一种实施方式,所述终端设备还包括:As an implementation manner, the terminal device further includes:
退出处理模块,配置为若所述应用程序不处于所述预定白名单内,则退出所述应用程序。Exiting the processing module, configured to exit the application if the application is not within the predetermined whitelist.
作为一种实施方式,所述终端设备还包括:As an implementation manner, the terminal device further includes:
第二判断模块,配置为判断音效开关是否打开;a second determining module configured to determine whether the sound effect switch is turned on;
第三判断模块,配置为若所述音效开关处于打开状态,则判断耳机是否插入终端设备内。The third determining module is configured to determine whether the earphone is inserted into the terminal device if the sound effect switch is in an open state.
作为一种实施方式,所述终端设备还包括:As an implementation manner, the terminal device further includes:
第二判断模块,配置为判断音效开关是否处于开启状态;a second determining module configured to determine whether the sound effect switch is in an open state;
第一提示模块,配置为若所述音效开关处于关闭状态,则输出显示音效开关提示框,以提示打开所述音效开关。The first prompting module is configured to output a sound effect switch prompt box to prompt to open the sound effect switch if the sound effect switch is in a closed state.
作为一种实施方式,所述终端设备还包括:As an implementation manner, the terminal device further includes:
第二提示模块,配置为若所述耳机没有插入所述终端设备,则输出显示耳机提示框,以提示插入所述耳机。The second prompting module is configured to output a display earphone prompt box to prompt insertion of the earphone if the earphone is not inserted into the terminal device.
作为一种实施方式,所述第一判断模块,配置为判断所述应用程序是否在预定白名单内之前,确定所述耳机插入所述终端设备。As an implementation manner, the first determining module is configured to determine whether the headset is inserted into the terminal device before determining whether the application is in a predetermined white list.
作为一种实施方式,所述音效启动模块,配置为采集输入的录音声音,将采集的录音声音与音乐声音混合,输出混合后的声音。 As an implementation manner, the sound effect starting module is configured to collect the input recording sound, mix the collected recording sound with the music sound, and output the mixed sound.
作为一种实施方式,所述音效启动模块,配置为通过系统底层音频框架配置的算法,将采集的录音声音与音乐声音混合,输出混合后的声音。As an implementation manner, the sound effect starting module is configured to mix the collected recording sound with the music sound through an algorithm configured by the underlying audio frame of the system, and output the mixed sound.
作为一种实施方式,所述音效启动模块,配置为若所述应用程序处于所述预定白名单内,将声音按照底层配置的特定参数进行处理后输出;若所述应用程序不处于所述预定白名单内,则将声音按照默认参数进行处理后输出。In one embodiment, the sound effect starting module is configured to: if the application is in the predetermined white list, process the sound according to a specific parameter configured by the bottom layer; if the application is not in the predetermined In the white list, the sound is processed according to the default parameters and output.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行本发明实施例所述的启动音效的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the method for starting a sound effect according to the embodiment of the invention.
本发明实施例提供的启动音效的方法、终端设备及计算机存储介质,通过启动终端设备的应用程序,判断所述应用程序是否在预定白名单内,所述预定白名单为终端设备基于系统底层音频框架添加,若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。这样,基于系统底层启动音效,可以提高音乐应用程序的卡拉OK效果,同时避免对其他应用程序的语音功能造成干扰。The method for starting a sound effect, the terminal device and the computer storage medium provided by the embodiment of the present invention determine whether the application program is in a predetermined white list by starting an application program of the terminal device, and the predetermined white list is based on the system bottom layer audio of the terminal device. The framework adds, if the application is within the predetermined whitelist, launching the sound function of the application. In this way, based on the system's underlying sound effects, the karaoke effect of the music application can be improved while avoiding interference with the voice functions of other applications.
附图说明DRAWINGS
图1为实现本发明各个实施例的终端设备的硬件结构示意;1 is a schematic structural diagram of hardware of a terminal device that implements various embodiments of the present invention;
图2为如图1所示的终端设备的无线通信系统示意图;2 is a schematic diagram of a wireless communication system of the terminal device shown in FIG. 1;
图3为本发明启动音效的方法一实施例的流程示意图;3 is a schematic flow chart of an embodiment of a method for starting a sound effect according to the present invention;
图4为本发明启动音效的方法另一实施例的流程示意图;4 is a schematic flow chart of another embodiment of a method for starting a sound effect according to the present invention;
图5为本发明终端设备一实施例的功能模块示意图;FIG. 5 is a schematic diagram of functional modules of an embodiment of a terminal device according to the present invention; FIG.
图6为本发明终端设备另一实施例的功能模块示意图。FIG. 6 is a schematic diagram of functional modules of another embodiment of a terminal device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。 The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
现在将参考附图描述实现本发明各个实施例的终端设备。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A terminal device implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
终端设备可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The terminal device can be implemented in various forms. For example, the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc. Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
图1为实现本发明各个实施例的移动终端的硬件结构示意。FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。The mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more. Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信装置或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。 Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication device or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理 服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播装置接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO@)的数据广播装置、地面数字广播综合服务(ISDB-T)等等的数字广播装置接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播装置以及上述数字广播装置。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel can include a satellite channel and/or a terrestrial channel. Broadcast management The server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives the previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Moreover, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like. . The broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast apparatuses. In particular, the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H) The digital broadcasting device of the @) data broadcasting device, the terrestrial digital broadcasting integrated service (ISDB-T), or the like receives the digital broadcasting. The broadcast receiving module 111 can be constructed as various broadcast apparatuses suitable for providing broadcast signals as well as the above-described digital broadcast apparatuses. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。The mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。The wireless internet module 113 supports wireless internet access of the mobile terminal. The module can be internally or externally coupled to the terminal. The wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、 紫蜂TM等等。The short range communication module 114 is a module for supporting short range communication. Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wideband (UWB), Purple BeeTM and more.
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位装置)。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of a location information module is a GPS (Global Positioning Device). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude. Currently, the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite. Further, the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is for receiving an audio or video signal. The A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode. The processed image frame can be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal. The microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data. The processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode. The microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal. The user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
感测单元140检测移动终端100的当前状态,(例如,移动终端100的 打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或将速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。感测单元140可以包括接近传感器1410将在下面结合触摸屏来对此进行描述。The sensing unit 140 detects a current state of the mobile terminal 100 (for example, the mobile terminal 100 The open or closed state), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, the orientation of the mobile terminal 100, the acceleration or speed of the mobile terminal 100, and the like, and the like, and A command or signal for controlling the operation of the mobile terminal 100 is generated. For example, when the mobile terminal 100 is implemented as a slide type mobile phone, the sensing unit 140 can sense whether the slide type phone is turned on or off. In addition, the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device. Sensing unit 140 may include proximity sensor 1410 which will be described below in connection with a touch screen.
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为“识别装置”)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like. In addition, the device having the identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device. The interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152、警报单元153等等。 In addition, when the mobile terminal 100 is connected to the external base, the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal. Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base. Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。The display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch panel are superposed on each other in the form of a layer to form a touch screen, the display unit 151 can function as an input device and an output device. The display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like. According to a particular desired embodiment, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) . The touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括拾音器、蜂鸣器等等。The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. The audio signal is output as sound. Moreover, the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100. The audio output module 152 can include a pickup, a buzzer, and the like.
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事 件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即,振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。The alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to the audio or video output, the alert unit 153 can provide output in a different manner to notify the event The occurrence of the piece. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. Moreover, the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。The controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。The power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何 组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be used, for example, in computer software, hardware, or any of them. The combined computer readable medium is implemented. For hardware implementations, the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle. For software implementations, implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by controller 180.
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。So far, the mobile terminal has been described in terms of its function. Hereinafter, for the sake of brevity, a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信装置以及基于卫星的通信装置来操作。The mobile terminal 100 as shown in FIG. 1 may be configured to operate using, for example, wired and wireless communication devices and satellite-based communication devices that transmit data via frames or packets.
现在将参考图2描述其中根据本发明的移动终端能够操作的通信装置。A communication device in which a mobile terminal according to the present invention can be operated will now be described with reference to FIG.
这样的通信装置可以使用不同的空中接口和/或物理层。例如,由通信装置使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信装置(UMTS)(特别地,长期演进(LTE))、全球移动通信装置(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信装置,但是这样的教导同样适用于其它类型的装置。Such communication devices may use different air interfaces and/or physical layers. For example, air interfaces used by communication devices include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications Equipment (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc. As a non-limiting example, the following description relates to CDMA communication devices, but such teachings are equally applicable to other types of devices.
参考图2,CDMA无线通信装置可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己 知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的装置可以包括多个BSC2750。Referring to FIG. 2, a CDMA wireless communication device can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280. The MSC 280 is configured to interface with a public switched telephone network (PSTN) 290. The MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line. The return route can be based on several Constructed by any of the known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL or xDSL. It will be understood that the apparatus as shown in FIG. 2 may include a plurality of BSC 2750s.
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子装置(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。The intersection of partitioning and frequency allocation can be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Sub-Device (BTS) or other equivalent terminology. In such a case, the term "base station" can be used to generally refer to a single BSC 275 and at least one BS 270. A base station can also be referred to as a "cell station." Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
如图2中所示,广播发射器(BT)295将广播信号发送给在装置内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位装置(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the device. A broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In Figure 2, several Global Positioning Device (GPS) satellites 300 are shown. The satellite 300 helps locate at least one of the plurality of mobile terminals 100.
在图2中,描绘了多个卫星300,但是可以理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。In Figure 2, a plurality of satellites 300 are depicted, but it will be appreciated that useful positioning information can be obtained using any number of satellites. The GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
作为无线通信装置的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由 到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。As a typical operation of the wireless communication device, the BS 270 receives reverse link signals from various mobile terminals 100. Mobile terminal 100 typically participates in calls, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within a particular BS 270. The obtained data is forwarded to the relevant BSC 275. The BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270. The BSC275 will also receive the received data. To MSC 280, it provides additional routing services for interfacing with PSTN 290. Similarly, PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
基于上述移动终端硬件结构以及通信系统,提出本发明各个实施例。Various embodiments of the present invention are proposed based on the above-described mobile terminal hardware structure and communication system.
如图3所示,本发明一实施例提出一种启动音效的方法,所述启动音效的方法包括以下步骤:As shown in FIG. 3, an embodiment of the present invention provides a method for starting a sound effect, and the method for starting a sound effect includes the following steps:
步骤S101,启动应用程序;Step S101, starting an application;
本实施例中,所述终端设备可以是个人电脑、手持设备、平板电脑、个人数字助理(PDA)、移动电话、以及智能手机等。本实施例中,所述终端设备可以为手机。其中,所述应用程序具备音频功能,如唱歌类应用程序(如唱吧、全民K歌等)以及聊天类应用程序(如QQ、微信等)。In this embodiment, the terminal device may be a personal computer, a handheld device, a tablet computer, a personal digital assistant (PDA), a mobile phone, a smart phone, or the like. In this embodiment, the terminal device may be a mobile phone. Among them, the application has audio functions, such as singing applications (such as singing, national K songs, etc.) and chat applications (such as QQ, WeChat, etc.).
步骤S102,判断所述应用程序是否在预定白名单内,所述预定白名单为基于系统底层音频框架添加;Step S102, determining whether the application is in a predetermined white list, and the predetermined white list is added based on an underlying audio framework of the system;
本实施例中,所述预定白名单内的应用程序为允许执行的应用程序,这些应用程序为唱歌类应用软件。如果用户打开了如唱吧、全民K歌等唱歌类应用软件,则会自动开启音效开关。In this embodiment, the applications in the predetermined white list are applications that are allowed to be executed, and the applications are singing application software. If the user opens the singing application such as singing, national karaoke, etc., the sound effect switch will be automatically turned on.
本实施例中,终端设备(如手机)可以基于安卓系统的底层音频框架添加白名单,当某一个在白名单内的唱歌类应用程序打开时,则会开启音效功能。当然,可以理解的是,还可以基于苹果、塞班以及黑莓等操作系统对应添加白名单,并不限于本实施例。In this embodiment, the terminal device (such as a mobile phone) can add a whitelist based on the underlying audio framework of the Android system, and when a singing application in the whitelist is opened, the sound effect function is turned on. Of course, it can be understood that the whitelist can also be added based on operating systems such as Apple, Symbian, and BlackBerry, and is not limited to the embodiment.
步骤S103,若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。Step S103: If the application is in the predetermined white list, start the sound effect function of the application.
本实施例中,所述终端设备通过在底层添加算法,把采集到的录音声音与下行音乐声音等混合,在耳机端达到了卡拉OK的效果。In this embodiment, the terminal device mixes the collected recording sound with the downlink music sound by adding an algorithm at the bottom layer, and achieves the effect of karaoke on the earphone end.
本发明实施例提供的启动音效的方法,通过启动应用程序,判断所述 应用程序是否在预定白名单内,所述预定白名单为基于系统底层音频框架添加,若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。这样,基于系统底层启动音效,可以提高音乐应用程序的卡拉OK效果,同时避免对其他应用程序的语音功能造成干扰。A method for starting a sound effect provided by an embodiment of the present invention, by starting an application, determining the Whether the application is in a predetermined whitelist, the predetermined whitelist is added based on the underlying audio framework of the system, and if the application is in the predetermined whitelist, the sound effect function of the application is started. In this way, based on the system's underlying sound effects, the karaoke effect of the music application can be improved while avoiding interference with the voice functions of other applications.
在一实施例中,如图4所示,在图3的实施例的基础上,所述步骤S102之后还包括:In an embodiment, as shown in FIG. 4, on the basis of the embodiment of FIG. 3, after the step S102, the method further includes:
步骤S104,若所述应用程序不处于所述预定白名单内,则退出所述应用程序。Step S104: If the application is not in the predetermined white list, exit the application.
本实施例中,在终端设备判断待开启的应用程序不处于所述预定白名单内时,则会直接退出所述应用程序。In this embodiment, when the terminal device determines that the application to be opened is not in the predetermined white list, the terminal directly exits the application.
在一实施例中,如图4所示,在图3的实施例的基础上,所述步骤S101之后还包括:In an embodiment, as shown in FIG. 4, on the basis of the embodiment of FIG. 3, after the step S101, the method further includes:
步骤S105,判断音效开关是否打开;Step S105, determining whether the sound effect switch is turned on;
步骤S106,若所述音效开关处于打开状态,则判断耳机是否插入终端设备内;Step S106, if the sound effect switch is in an open state, determine whether the earphone is inserted into the terminal device;
本实施例中,终端设备判断音效开关是否开启,在判断所述音效开关处于打开状态时,则进一步判断耳机是否插入终端设备。In this embodiment, the terminal device determines whether the sound effect switch is turned on, and when determining that the sound effect switch is in an open state, further determines whether the earphone is inserted into the terminal device.
本实施例中,音效开关可以控制终端设备的所有具备音频功能的应用程序,也即唱歌类应用程序以及聊天类应用程序等的总音效。当音效开关打开,且应用程序处于白名单内时,只有在打开应用程序时,才会触发开启卡拉OK配置。In this embodiment, the sound effect switch can control the total sound effects of all the audio function-enabled applications of the terminal device, that is, the singing application and the chat application. When the sound switch is turned on and the application is in the white list, the karaoke configuration is triggered only when the application is opened.
白名单的设置,可以避免用户来回开启音效开关,同时避免了卡拉OK音效对其他应用程序(如QQ、微信等)的音频功能的影响。The whitelist setting prevents the user from turning the sound switch back and forth, while avoiding the effects of karaoke sound effects on the audio functions of other applications (such as QQ, WeChat, etc.).
可以理解的是,如QQ、微信等具有语音功能的应用程序,处于所述预定白名单之外,这样,即使音效开关处于打开状态,在用户打开这些应用 程序时,仍然不会触发音效功能,从而避免了卡拉OK音效对普通应用程序的音频影响。It can be understood that applications with voice functions, such as QQ and WeChat, are outside the predetermined white list, so that even if the sound switch is turned on, the user opens the applications. When the program is still not touched, it avoids the audio effects of karaoke sound on normal applications.
步骤S107,若所述音效开关处于关闭状态,则输出显示音效开关提示框,以提示打开所述音效开关。Step S107, if the sound effect switch is in the off state, outputting a sound effect switch prompt box to prompt to open the sound effect switch.
本实施例中,在终端设备判断音效开关处于关闭状态时,若用户打开唱歌类应用程序,则会弹出音效开关提示框,提示用户此时音效开关关闭,需要打开音效开关。In this embodiment, when the terminal device determines that the sound effect switch is in the off state, if the user opens the singing application, the sound effect switch prompt box is popped up, prompting the user that the sound effect switch is turned off, and the sound effect switch needs to be turned on.
在一实施例中,如图4所示,在图3的实施例的基础上,所述步骤S106之后还包括:In an embodiment, as shown in FIG. 4, on the basis of the embodiment of FIG. 3, after the step S106, the method further includes:
步骤S108,若所述耳机没有插入所述终端设备,则输出显示耳机提示框,以提示插入所述耳机,其中,在所述耳机插入所述终端设备时,判断所述应用程序是否在预定白名单内。Step S108, if the headset is not inserted into the terminal device, outputting a headset prompt box to prompt insertion of the headset, wherein when the headset is inserted into the terminal device, determining whether the application is in a predetermined white Inside the list.
本实施例中,在终端设备判断耳机没有插入所述终端设备时,若用户打开唱歌类应用程序,则会弹出耳机提示框,提示用户此时耳机关闭,需要插入耳机。In this embodiment, when the terminal device determines that the headset is not inserted into the terminal device, if the user opens the singing application, the headset prompt box is popped up, prompting the user that the headset is turned off at this time, and the headset needs to be inserted.
本实施例中,通过输出显示提示框,可以协助用户正确使用卡拉Ok功能。In this embodiment, the user can assist the user to correctly use the Karaoke function by outputting a prompt box.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行本发明实施例所述的启动音效的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the method for starting a sound effect according to the embodiment of the invention.
本发明实施例还提供一种终端设备1,参照图5,本实施例中,所述终端设备1包括:The embodiment of the present invention further provides a terminal device 1 . Referring to FIG. 5 , in the embodiment, the terminal device 1 includes:
程序启动模块101,配置为启动终端设备1的应用程序;The program startup module 101 is configured to start an application of the terminal device 1;
第一判断模块102,配置为判断所述应用程序是否在预定白名单内,所述预定白名单为终端设备1基于系统底层音频框架添加; The first determining module 102 is configured to determine whether the application is in a predetermined white list, and the predetermined whitelist is added by the terminal device 1 based on the system underlying audio frame;
音效启动模块103,配置为若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。The sound effect starting module 103 is configured to activate the sound effect function of the application if the application is in the predetermined white list.
本实施例中,所述终端设备1可以是个人电脑、手持设备、平板电脑、个人数字助理(PDA)、移动电话、以及智能手机等。本实施例中,终端设备1可以为手机。其中,所述应用程序具备音频功能,如唱歌类应用程序(唱吧、全民K歌等)、聊天类应用程序(QQ、微信等)。In this embodiment, the terminal device 1 may be a personal computer, a handheld device, a tablet computer, a personal digital assistant (PDA), a mobile phone, a smart phone, or the like. In this embodiment, the terminal device 1 can be a mobile phone. The application has audio functions, such as a singing application (singing, a national K song, etc.), a chat application (QQ, WeChat, etc.).
本实施例中,所述预定白名单内的应用程序为允许执行的应用程序,这些应用程序为唱歌类应用软件。如果用户打开了如唱吧、全民K歌等唱歌类应用软件,则会自动开启音效开关。In this embodiment, the applications in the predetermined white list are applications that are allowed to be executed, and the applications are singing application software. If the user opens the singing application such as singing, national karaoke, etc., the sound effect switch will be automatically turned on.
本实施例中,终端设备1(如手机)可以基于安卓系统的底层音频框架添加白名单,当某一个在白名单内的唱歌类应用程序打开时,则会开启音效功能。当然,可以理解的是,还可以基于苹果、塞班以及黑莓等操作系统对应添加白名单,并不限于本实施例。In this embodiment, the terminal device 1 (such as a mobile phone) can add a whitelist based on the underlying audio framework of the Android system, and when a singing application in the whitelist is opened, the sound effect function is turned on. Of course, it can be understood that the whitelist can also be added based on operating systems such as Apple, Symbian, and BlackBerry, and is not limited to the embodiment.
本实施例中,所述终端设备1通过在底层添加算法,把采集到的录音声音与下行音乐声音等混合,在耳机端达到了卡拉OK的效果。In this embodiment, the terminal device 1 mixes the collected recording sound with the downlink music sound by adding an algorithm at the bottom layer, and achieves the effect of karaoke on the earphone end.
本发明实施例提供的终端设备1,通过启动应用程序,判断所述应用程序是否在预定白名单内,若所述应用程序处于所述预定白名单内,则判断音效开关是否打开,若所述音效开关处于打开状态,则判断耳机是否插入终端设备1内,若所述耳机插入所述终端设备1,则启动所述应用程序的音效。这样,基于系统底层启动音效,可以提高音乐应用程序的卡拉OK效果,同时避免对其他应用程序的语音功能造成干扰。The terminal device 1 provided by the embodiment of the present invention determines whether the application is in a predetermined white list by starting an application, and if the application is in the predetermined white list, determining whether the sound effect switch is turned on, if When the sound effect switch is in an open state, it is judged whether the earphone is inserted into the terminal device 1, and if the earphone is inserted into the terminal device 1, the sound effect of the application is started. In this way, based on the system's underlying sound effects, the karaoke effect of the music application can be improved while avoiding interference with the voice functions of other applications.
在一实施例中,如图6所示,在图5的实施例的基础上,所述终端设备1还包括:In an embodiment, as shown in FIG. 6, on the basis of the embodiment of FIG. 5, the terminal device 1 further includes:
退出处理模块104,配置为若所述应用程序不处于所述预定白名单内,则退出所述应用程序。 The exit processing module 104 is configured to exit the application if the application is not within the predetermined whitelist.
本实施例中,在所述第一判断模块102判断待开启的应用程序不处于所述预定白名单内时,则会直接退出所述应用程序。In this embodiment, when the first determining module 102 determines that the application to be opened is not in the predetermined white list, the application is directly exited.
在一实施例中,如图6所示,在图5的实施例的基础上,所述终端设备1还包括:In an embodiment, as shown in FIG. 6, on the basis of the embodiment of FIG. 5, the terminal device 1 further includes:
第二判断模块105,配置为判断音效开关是否打开;The second determining module 105 is configured to determine whether the sound effect switch is turned on;
第三判断模块106,配置为若所述音效开关处于打开状态,则判断耳机是否插入终端设备1内;The third determining module 106 is configured to determine whether the earphone is inserted into the terminal device 1 if the sound effect switch is in an open state;
第一提示模块107,配置为若所述音效开关处于关闭状态,则输出显示音效开关提示框,以提示打开所述音效开关。The first prompting module 107 is configured to output a display sound effect switch prompt box to prompt to open the sound effect switch if the sound effect switch is in a closed state.
本实施例中,所述第二判断模块105判断音效开关是否开启,在判断所述音效开关处于打开状态时,则所述第三判断模块106进一步判断耳机是否插入终端设备1。In this embodiment, the second determining module 105 determines whether the sound effect switch is turned on. When it is determined that the sound effect switch is in an open state, the third determining module 106 further determines whether the earphone is inserted into the terminal device 1.
本实施例中,音效开关可以控制终端设备1的所有具备音频功能的应用程序,也即唱歌类应用程序以及聊天类应用程序等的总音效。当音效开关打开,且应用程序处于白名单内时,只有在打开应用程序时,才会触发开启卡拉OK配置。In this embodiment, the sound effect switch can control the total sound effects of all the audio function-enabled applications of the terminal device 1, that is, the singing application and the chat application. When the sound switch is turned on and the application is in the white list, the karaoke configuration is triggered only when the application is opened.
白名单的设置,可以避免用户来回开启音效开关,同时避免了卡拉OK音效对其他应用程序(如QQ、微信等)的音频功能的影响。The whitelist setting prevents the user from turning the sound switch back and forth, while avoiding the effects of karaoke sound effects on the audio functions of other applications (such as QQ, WeChat, etc.).
可以理解的是,如QQ、微信等具有语音功能的应用程序,处于所述预定白名单之外,这样,即使音效开关处于打开状态,在用户打开这些应用程序时,仍然不会触发音效功能,从而避免了卡拉OK音效对普通应用程序的音频影响。It can be understood that applications with voice functions, such as QQ and WeChat, are outside the predetermined white list, so that even if the sound effect switch is turned on, the user does not touch the sound effect function when the user opens the applications. This avoids the audio effects of karaoke sound effects on normal applications.
本实施例中,在终端设备1判断音效开关处于关闭状态时,若用户打开唱歌类应用程序,则会输出显示音效开关提示框,提示用户此时音效开关关闭,需要打开音效开关。 In this embodiment, when the terminal device 1 determines that the sound effect switch is in the off state, if the user opens the singing application, the display sound effect switch prompt box is output, prompting the user that the sound effect switch is turned off, and the sound effect switch needs to be turned on.
在一实施例中,如图6所示,在图5的实施例的基础上,所述终端设备1还包括:In an embodiment, as shown in FIG. 6, on the basis of the embodiment of FIG. 5, the terminal device 1 further includes:
第二提示模块108,配置为若所述耳机没有插入所述终端设备1,则输出显示耳机提示框,以提示插入所述耳机,其中,在所述耳机插入所述终端设备1时,判断所述应用程序是否在预定白名单内。The second prompting module 108 is configured to output a display earphone prompt box to prompt insertion of the earphone if the earphone is not inserted into the terminal device 1, wherein when the earphone is inserted into the terminal device 1, the determining unit Whether the application is in the scheduled whitelist.
本实施例中,在终端设备1判断耳机没有插入所述终端设备1时,若用户打开唱歌类应用程序,则会输出显示耳机提示框,提示用户此时耳机关闭,需要插入耳机。In this embodiment, when the terminal device 1 determines that the headset is not inserted into the terminal device 1, if the user opens the singing application, a headset prompt box is output, prompting the user that the headset is turned off at this time, and the headset needs to be inserted.
本发明实施例中,所述终端中的程序启动模块101、第一判断模块102、音效启动模块103、退出处理模块104、第二判断模块105、第三判断模块106、第一提示模块107和第二提示模块108,在实际应用中均可由所述终端中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现。In the embodiment of the present invention, the program starting module 101, the first determining module 102, the sound effect starting module 103, the exit processing module 104, the second determining module 105, the third determining module 106, the first prompting module 107, and The second prompting module 108 can be used by a central processing unit (CPU), a digital signal processor (DSP), a micro control unit (MCU), or Field-Programmable Gate Array (FPGA) implementation.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统, 或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, Or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例通过启动终端设备的应用程序,判断所述应用程序是否在预定白名单内,所述预定白名单为终端设备基于系统底层音频框架添加,若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。这样,基于系统底层启动音效,可以提高音乐应用程序的卡拉OK效果,同时避免对其他应用程序的语音功能造成干扰。 The embodiment of the present invention determines whether the application is in a predetermined whitelist by starting an application of the terminal device, where the predetermined whitelist is added by the terminal device based on the underlying audio framework of the system, if the application is in the predetermined whitelist. Inside, the sound function of the application is started. In this way, based on the system's underlying sound effects, the karaoke effect of the music application can be improved while avoiding interference with the voice functions of other applications.

Claims (20)

  1. 一种启动音效的方法,所述启动音效的方法包括以下步骤:A method of starting a sound effect, the method of starting a sound effect comprising the following steps:
    启动应用程序;Launch the application;
    判断所述应用程序是否在预定白名单内,所述预定白名单为基于系统底层音频框架添加;Determining whether the application is in a predetermined white list, and the predetermined white list is added based on a system underlying audio framework;
    若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。If the application is within the predetermined whitelist, the sound effect function of the application is launched.
  2. 如权利要求1所述的启动音效的方法,其中,所述方法还包括:The method of starting a sound effect according to claim 1, wherein the method further comprises:
    若所述应用程序不处于所述预定白名单内,则退出所述应用程序。If the application is not within the predetermined whitelist, the application is exited.
  3. 如权利要求1所述的启动音效的方法,其中,所述启动应用程序之后,所述方法还包括:The method of starting a sound effect according to claim 1, wherein after the launching the application, the method further comprises:
    判断音效开关是否处于开启状态;Determine whether the sound effect switch is in the on state;
    若所述音效开关处于开启状态,则判断耳机是否插入终端设备内。If the sound effect switch is in an on state, it is determined whether the earphone is inserted into the terminal device.
  4. 如权利要求1所述的启动音效的方法,其中,所述启动应用程序之后,所述方法还包括:The method of starting a sound effect according to claim 1, wherein after the launching the application, the method further comprises:
    判断音效开关是否处于开启状态;Determine whether the sound effect switch is in the on state;
    若所述音效开关处于关闭状态,则输出显示音效开关提示框,以提示打开所述音效开关。If the sound effect switch is in the off state, the output sound effect switch prompt box is output to prompt to open the sound effect switch.
  5. 如权利要求3所述的启动音效的方法,其中,所述判断耳机是否插入终端设备内之后,所述方法还包括:The method of starting a sound effect according to claim 3, wherein after the determining whether the earphone is inserted into the terminal device, the method further comprises:
    若所述耳机没有插入所述终端设备,则输出显示耳机提示框,以提示插入耳机。If the earphone is not inserted into the terminal device, the output earphone prompt box is output to prompt to insert the earphone.
  6. 如权利要求1所述的启动音效的方法,其中,所述判断所述应用程序是否在预定白名单内之前,所述方法还包括:确定耳机插入所述终端设备。 The method of starting a sound effect according to claim 1, wherein said method further comprises: determining that an earphone is inserted into said terminal device before said determining whether said application is within a predetermined white list.
  7. 如权利要求1所述的启动音效的方法,其中,所述启动所述应用程序的音效功能,包括:The method of starting a sound effect according to claim 1, wherein said initiating a sound effect function of said application comprises:
    采集输入的录音声音,将采集的录音声音与音乐声音混合,输出混合后的声音。The input recording sound is collected, the collected recording sound is mixed with the music sound, and the mixed sound is output.
  8. 如权利要求7所述的启动音效的方法,其中,所述将采集的录音声音与音乐声音混合,输出混合后的声音,包括:The method of starting a sound effect according to claim 7, wherein said mixing the collected recording sound with the musical sound and outputting the mixed sound comprises:
    通过系统底层音频框架配置的算法,将采集的录音声音与音乐声音混合,输出混合后的声音。Through the algorithm configured by the underlying audio framework of the system, the collected recording sound is mixed with the music sound, and the mixed sound is output.
  9. 如权利要求1所述的启动音效的方法,其中,所述启动所述应用程序的音效功能,包括:将声音按照底层配置的特定参数进行处理后输出。The method of starting a sound effect according to claim 1, wherein said initiating a sound effect function of said application comprises: processing the sound according to a specific parameter of the underlying configuration and outputting the sound.
  10. 如权利要求1所述的启动音效的方法,其中,所述方法还包括:The method of starting a sound effect according to claim 1, wherein the method further comprises:
    若所述应用程序不处于所述预定白名单内,则将声音按照默认参数进行处理后输出。If the application is not in the predetermined white list, the sound is processed according to the default parameters and output.
  11. 一种终端设备,所述终端设备包括:A terminal device, the terminal device comprising:
    程序启动模块,配置为启动应用程序;a program launch module configured to launch an application;
    第一判断模块,配置为判断所述应用程序是否在预定白名单内,所述预定白名单为基于系统底层音频框架添加;a first determining module, configured to determine whether the application is in a predetermined whitelist, and the predetermined whitelist is added based on an underlying audio framework of the system;
    音效启动模块,配置为若所述应用程序处于所述预定白名单内,则启动所述应用程序的音效功能。The sound effect starting module is configured to activate the sound effect function of the application if the application is in the predetermined white list.
  12. 如权利要求11所述的终端设备,其中,所述终端设备还包括:The terminal device of claim 11, wherein the terminal device further comprises:
    退出处理模块,配置为若所述应用程序不处于所述预定白名单内,则退出所述应用程序。Exiting the processing module, configured to exit the application if the application is not within the predetermined whitelist.
  13. 如权利要求11所述的终端设备,其中,所述终端设备还包括:The terminal device of claim 11, wherein the terminal device further comprises:
    第二判断模块,配置为判断音效开关是否处于开启状态;a second determining module configured to determine whether the sound effect switch is in an open state;
    第三判断模块,配置为若所述音效开关处于开启状态,则判断耳机是 否插入终端设备内。a third determining module, configured to determine that the earphone is if the sound effect switch is in an open state No inserted into the terminal device.
  14. 如权利要求11所述的终端设备,其中,所述终端设备还包括:The terminal device of claim 11, wherein the terminal device further comprises:
    第二判断模块,配置为判断音效开关是否处于开启状态;a second determining module configured to determine whether the sound effect switch is in an open state;
    第一提示模块,配置为若所述音效开关处于关闭状态,则输出显示音效开关提示框,以提示打开所述音效开关。The first prompting module is configured to output a sound effect switch prompt box to prompt to open the sound effect switch if the sound effect switch is in a closed state.
  15. 如权利要求13所述的终端设备,其中,所述终端设备还包括:The terminal device of claim 13, wherein the terminal device further comprises:
    第二提示模块,配置为若所述耳机没有插入所述终端设备,则输出显示耳机提示框,以提示插入所述耳机。The second prompting module is configured to output a display earphone prompt box to prompt insertion of the earphone if the earphone is not inserted into the terminal device.
  16. 如权利要求11所述的终端设备,其中,所述第一判断模块,配置为判断所述应用程序是否在预定白名单内之前,确定所述耳机插入所述终端设备。The terminal device according to claim 11, wherein the first determining module is configured to determine whether the earphone is inserted into the terminal device before determining whether the application is in a predetermined white list.
  17. 如权利要求11所述的终端设备,其中,所述音效启动模块,配置为采集输入的录音声音,将采集的录音声音与音乐声音混合,输出混合后的声音。The terminal device according to claim 11, wherein the sound effect activation module is configured to collect the input recording sound, mix the collected recording sound with the music sound, and output the mixed sound.
  18. 如权利要求17所述的终端设备,其中,所述音效启动模块,配置为通过系统底层音频框架配置的算法,将采集的录音声音与音乐声音混合,输出混合后的声音。The terminal device according to claim 17, wherein the sound effect activation module is configured to mix the collected recording sound with the music sound through an algorithm configured by the underlying audio frame of the system, and output the mixed sound.
  19. 如权利要求11所述的终端设备,其中,所述音效启动模块,配置为若所述应用程序处于所述预定白名单内,将声音按照底层配置的特定参数进行处理后输出;若所述应用程序不处于所述预定白名单内,则将声音按照默认参数进行处理后输出。The terminal device according to claim 11, wherein the sound effect activation module is configured to output the sound according to a specific parameter of the underlying configuration if the application is in the predetermined white list; If the program is not in the predetermined white list, the sound is processed according to the default parameters and output.
  20. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行权利要求1至10任一项所述的启动音效的方法。 A computer storage medium having computer executable instructions stored thereon, the computer executable instructions being configured to perform the method of initiating sound effects of any one of claims 1 to 10.
PCT/CN2016/078910 2015-04-27 2016-04-08 Method for starting sound effect, terminal device and computer storage medium WO2016173395A1 (en)

Applications Claiming Priority (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
CN201510204467.2 2015-04-27

Publications (1)

Publication Number Publication Date
WO2016173395A1 true WO2016173395A1 (en) 2016-11-03

Family

ID=53619552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078910 WO2016173395A1 (en) 2015-04-27 2016-04-08 Method for starting sound effect, terminal device and computer storage medium

Country Status (2)

Country Link
CN (1) CN104778067B (en)
WO (1) WO2016173395A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664278A (en) * 2017-03-27 2018-10-16 上海传英信息技术有限公司 Start the method and device of audio for communication terminal application module
WO2020151008A1 (en) * 2019-01-25 2020-07-30 Microsoft Technology Licensing, Llc Automatically adding sound effects into audio files
CN115914456A (en) * 2023-03-01 2023-04-04 荣耀终端有限公司 Audio processing method, electronic device and computer readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
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
CN106126174B (en) * 2016-06-16 2019-02-22 Oppo广东移动通信有限公司 A kind of control method and electronic equipment of scene audio
CN106126172B (en) 2016-06-16 2017-11-14 广东欧珀移动通信有限公司 A kind of sound effect treatment method and mobile terminal
CN106126159B (en) * 2016-06-16 2018-01-23 广东欧珀移动通信有限公司 A kind of audio stream processing method and mobile terminal
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081722A (en) * 2011-01-04 2011-06-01 奇智软件(北京)有限公司 Method and device for protecting appointed application program
CN102710857A (en) * 2012-05-24 2012-10-03 武汉诚迈科技有限公司 Karaoke method suitable for android smart phone
CN104020979A (en) * 2014-06-20 2014-09-03 深圳市中兴移动通信有限公司 Mobile terminal and method for selecting audio effect based on self-adapted desktop
CN104238916A (en) * 2014-09-16 2014-12-24 广东欧珀移动通信有限公司 Application or application function starting method of mobile terminal, and mobile terminal
CN104778067A (en) * 2015-04-27 2015-07-15 努比亚技术有限公司 Sound effect starting method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081722A (en) * 2011-01-04 2011-06-01 奇智软件(北京)有限公司 Method and device for protecting appointed application program
CN102710857A (en) * 2012-05-24 2012-10-03 武汉诚迈科技有限公司 Karaoke method suitable for android smart phone
CN104020979A (en) * 2014-06-20 2014-09-03 深圳市中兴移动通信有限公司 Mobile terminal and method for selecting audio effect based on self-adapted desktop
CN104238916A (en) * 2014-09-16 2014-12-24 广东欧珀移动通信有限公司 Application or application function starting method of mobile terminal, and mobile terminal
CN104778067A (en) * 2015-04-27 2015-07-15 努比亚技术有限公司 Sound effect starting method and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664278A (en) * 2017-03-27 2018-10-16 上海传英信息技术有限公司 Start the method and device of audio for communication terminal application module
WO2020151008A1 (en) * 2019-01-25 2020-07-30 Microsoft Technology Licensing, Llc Automatically adding sound effects into audio files
CN115914456A (en) * 2023-03-01 2023-04-04 荣耀终端有限公司 Audio processing method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN104778067B (en) 2016-08-17
CN104778067A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
WO2016173395A1 (en) Method for starting sound effect, terminal device and computer storage medium
WO2016029766A1 (en) Mobile terminal and operation method thereof and computer storage medium
WO2016173468A1 (en) Combined operation method and device, touch screen operation method and electronic device
WO2017071481A1 (en) Mobile terminal and split-screen implementation method
WO2016058458A1 (en) Method for managing electric quantity of battery, mobile terminal and computer storage medium
WO2017020756A1 (en) Mobile terminal and information processing method
WO2016034055A1 (en) Mobile terminal and operating method therefor and computer storage medium
WO2017071500A1 (en) Antenna and mobile terminal
WO2017143855A1 (en) Device with screen capturing function and screen capturing method
CN106413128B (en) Projection method and mobile terminal
WO2016188394A1 (en) Noise reduction method, noise reduction apparatus, and computer readable storage medium
WO2016155427A1 (en) Mobile terminal and quick operation method therefor
WO2016155509A1 (en) Method and device for determining holding mode of mobile terminal
CN106157970B (en) Audio identification method and terminal
WO2017032118A1 (en) Incoming call processing method, apparatus, and system
WO2017185865A1 (en) Antenna, mobile terminal and control method therefor, and storage medium
CN107341013B (en) Boot fault processing method and device and computer readable storage medium
WO2017012385A1 (en) Method and apparatus for rapidly starting application, and terminal
WO2016188495A1 (en) Voice switching method, terminal, server, system, and storage medium
WO2016034152A1 (en) Interface display method, communication terminal and computer storage medium
WO2016155425A1 (en) Data sending operation cancelling method, device, and computer storage medium
WO2017113893A1 (en) Method and device for network searching
WO2017210971A1 (en) Thermal imaging method and device based on mobile terminal and mobile terminal
WO2018032917A1 (en) Mobile terminal, method for obtaining focus value, and computer readable storage medium
CN105791541B (en) Screenshot method and mobile terminal

Legal Events

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

Ref document number: 16785826

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.04.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16785826

Country of ref document: EP

Kind code of ref document: A1