WO2014161385A1 - Method, device, and terminal for processing keypad tone of terminal - Google Patents

Method, device, and terminal for processing keypad tone of terminal Download PDF

Info

Publication number
WO2014161385A1
WO2014161385A1 PCT/CN2014/071635 CN2014071635W WO2014161385A1 WO 2014161385 A1 WO2014161385 A1 WO 2014161385A1 CN 2014071635 W CN2014071635 W CN 2014071635W WO 2014161385 A1 WO2014161385 A1 WO 2014161385A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
button
key
key sequence
user
Prior art date
Application number
PCT/CN2014/071635
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 WO2014161385A1 publication Critical patent/WO2014161385A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/30Devices which can set up and transmit only one digit at a time
    • H04M1/50Devices which can set up and transmit only one digit at a time by generating or selecting currents of predetermined frequencies or combinations of frequencies

Definitions

  • the terminal queries a button sound corresponding to the button serial number, and the button serial number and the corresponding button sound are pre-stored in the terminal;
  • the randomly generating the key sequence includes: acquiring a current system time M of the terminal and a number N of keys included in the terminal; and performing a modulo operation on the N Taking the obtained remainder as the generated key number, wherein M and N are positive integers.
  • a playing module configured to play the queried button sound.
  • the generating module randomly generates the key sequence number by:
  • An obtaining unit configured to acquire a current system time M of the terminal and a number N of keys included in the terminal;
  • step (3) judging whether the terminal is currently in a non-mute state, if the terminal is in a non-mute state, proceeding to step (4), otherwise ending;
  • the preset button number and the corresponding button sound are stored in the button sound database.
  • a button number is generated, according to the preset button number and The corresponding relationship of the button tones is used to query the button tones corresponding to the generated button numbers. For example, if the key number generated by step 100 is 6, then the key tone corresponding to the key number 6 is queried in the key tone database.
  • the random number can be generated by the following two methods:
  • the method includes the following steps:
  • step 203 determining whether the key tone needs to be distinguished from the previous key tone, if necessary, performing step 204; otherwise, proceeding to step 206;
  • step 204 determining whether the current button number is the same as the last played button number, and if yes, proceeding to step 205; otherwise, proceeding to step 206;

Abstract

Embodiments of the present invention provide a method, a device, and a terminal for processing a keypad tone of a terminal. The method for processing a keypad tone of a terminal comprises: making a response to a trigger of a user to a key, and randomly generating a key sequence number; searching a keypad tone database for a keypad tone corresponding to the key sequence number, the keypad tone database storing the preset key sequence number and the corresponding keypad tone; and playing the found keypad tone.

Description

一种终端的按键音处理方法、 装置和终端  Button sound processing method, device and terminal of terminal
技术领域 Technical field
本发明涉及移动通信领域, 特别是一种终端的按键音处理方法、 装置和 终端。 背景技术  The present invention relates to the field of mobile communications, and more particularly to a method and apparatus for processing a touch tone of a terminal. Background technique
相关的用户在终端上 (如, 手机)进行拨号或者信息、 记事本输入等按 键操作时, 都会有按键音提示用户按键操作有效。 通常, 不同按键分别对应 不同的按键音。  When the related user dials on the terminal (for example, a mobile phone) or presses the information, notebook input, etc., there will be a button tone to prompt the user to operate the button effectively. Usually, different buttons correspond to different button tones.
相关技术的不足之处在于: 由于用户在进行拨号或者信息、 记事本输入 的过程中, 按下不同的按键会播放出与按下的按键对应的按键音, 基于此, 不法分子可以通过录音等可以记录按键音的方式, 根据用户的按键音把对应 的按键号码识别出来, 造成用户隐私泄露的问题。 发明内容  The disadvantages of the related art are as follows: Since the user presses a different button during the process of dialing or information or notepad input, the button sound corresponding to the pressed button is played, and based on this, the criminal can pass the recording, etc. The method of recording the button sound can be recognized, and the corresponding button number is recognized according to the user's button sound, which causes a problem of user privacy leakage. Summary of the invention
本发明实施例提供一种终端的按键音处理方法、 装置和终端。  The embodiment of the invention provides a method, a device and a terminal for processing a button sound of a terminal.
第一方面, 本发明实施例提供一种终端的按键音处理方法, 包括: 终端响应用户对按键的触发, 随机产生按键序号;  In a first aspect, an embodiment of the present invention provides a method for processing a button sound of a terminal, including: a terminal randomly generating a button serial number in response to a user triggering a button;
所述终端查询与所述按键序号对应的按键音, 所述按键序号和对应的所 述按键音预先存储在所述终端中; 以及  The terminal queries a button sound corresponding to the button serial number, and the button serial number and the corresponding button sound are pre-stored in the terminal;
播放查询到的所述按键音。  Play the queried button sound.
在第一方面的第一种可能的实现方式中, 所述随机产生按键序号, 包括: 通过随机数发生器产生所述按键序号, 其中, 所述随机数发生器产生的 随机数 a e [0, N-1] , N为所述终端包括的按键的数量, 且 N为正整数。  In a first possible implementation manner of the first aspect, the randomly generating the key sequence includes: generating the button serial number by using a random number generator, where the random number generator generates a random number ae [0, N-1], N is the number of buttons included in the terminal, and N is a positive integer.
在第一方面的第二种可能的实现方式中, 所述随机产生按键序号, 包括: 获取终端当前的系统时间 M和所述终端包括的按键的数量 N; 以及 M对 N进行取模运算, 将得到的余数作为产生的所述按键序号, 其中, M、 N为正整数。 In a second possible implementation manner of the first aspect, the randomly generating the key sequence includes: acquiring a current system time M of the terminal and a number N of keys included in the terminal; and performing a modulo operation on the N Taking the obtained remainder as the generated key number, wherein M and N are positive integers.
在第一方面的第三种可能的实现方式中, 每次响应用户对按键的触发所 产生的按键序号不相同。  In a third possible implementation of the first aspect, the key sequence number generated each time the user responds to the trigger of the button is different.
第二方面, 本发明实施例提供一种终端的按键音处理装置, 包括: 产生模块, 其设置成响应用户对按键的触发, 随机产生按键序号; 查询模块, 其设置成查询与所述按键序号对应的按键音, 所述按键序号 和对应的所述按键音预先存储在所述终端中; 以及  In a second aspect, the embodiment of the present invention provides a button sound processing device of a terminal, including: a generating module, configured to randomly generate a button serial number in response to a user triggering a button; and a query module configured to query and the button serial number Corresponding button sounds, the button numbers and corresponding button tones are pre-stored in the terminal;
播放模块, 其设置成播放查询到的所述按键音。  a playing module, configured to play the queried button sound.
在第二方面的第一种可能的实现方式中, 所述产生模块包括: 随机数发 生器; 以及  In a first possible implementation manner of the second aspect, the generating module includes: a random number generator;
所述产生模块通过如下方式随机产生按键序号:  The generating module randomly generates the key sequence number by:
通过所述随机数发生器产生所述按键序号, 其中, 所述随机数发生器产 生的随机数 a e [0, N-1] , N为所述终端包括的按键的数量, 且 N为正整数。  Generating, by the random number generator, the button number, wherein the random number generated by the random number generator ae [0, N-1], N is the number of buttons included in the terminal, and N is a positive integer .
在第二方面的第二种可能的实现方式中, 所述产生模块包括:  In a second possible implementation manner of the second aspect, the generating module includes:
获取单元,其设置成获取终端当前的系统时间 M和所述终端包括的按键 的数量 N; 以及  An obtaining unit configured to acquire a current system time M of the terminal and a number N of keys included in the terminal;
计算单元,其设置成将 M对 N进行取模运算,将得到的余数作为产生的 所述按键序号, 其中, M、 N为正整数。  And a calculating unit configured to perform modulo operation on M to N, and use the obtained remainder as the generated key number, wherein M and N are positive integers.
在第二方面的第三种可能的实现方式中, 所述产生模块还设置成: 使每次响应用户对按键的触发所产生的按键序号不相同。  In a third possible implementation manner of the second aspect, the generating module is further configured to: make a key sequence number generated each time the user responds to the trigger of the button is different.
第三方面, 本发明实施例提供一种终端, 包括上述的按键音处理装置。 本发明实施例提供的终端的按键音处理方法、 装置和终端, 通过随机产 生按键序号响应用户对按键的触发, 然后在按键音数据库中找出与产生的按 键序号对应的按键音, 并播放该按键音, 以达到随机产生按键音的效果, 使 用户在按键时并不发出该按键本身的按键音, 即使按键音被不法分子录音, 也不会造成用户隐私的泄露, 很好的保护了用户的隐私; 而且随机播放的按 键音是响应用户对按键的触发自行产生的,所以在使用过程中无需用户设置, 具有使用简单方便、 应用范围广泛的特点。 附图概述 In a third aspect, an embodiment of the present invention provides a terminal, including the above-mentioned button sound processing device. The button sound processing method, device and terminal of the terminal provided by the embodiment of the invention respond to the trigger of the user by randomly generating the button number, and then find the button sound corresponding to the generated button number in the button sound database, and play the button The button sound is used to achieve the effect of randomly generating the button sound, so that the user does not emit the button sound of the button itself when the button is pressed, even if the button sound is recorded by the lawless molecule, the user's privacy will not be leaked, and the user is well protected. The privacy of the button is also generated in response to the user's trigger on the button, so it does not need to be set by the user during use, and has the characteristics of simple and convenient use and wide application range. BRIEF abstract
下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  The drawings used in the embodiments or the related art description will be briefly described below. The drawings in the following description are some embodiments of the present invention, and those skilled in the art will not make any creative work. Other drawings can also be obtained from these drawings on the premise of sex.
图 1表示本发明实施例中终端的按键音处理方法的流程图。  FIG. 1 is a flow chart showing a method for processing a button sound of a terminal in an embodiment of the present invention.
图 2表示本发明实施例中终端的按键音处理方法的另一流程图。  FIG. 2 is another flow chart showing a method for processing a button sound of a terminal in an embodiment of the present invention.
图 3表示本发明实施例中终端的按键音处理装置的结构示意图。  FIG. 3 is a schematic structural diagram of a touch tone processing apparatus of a terminal in an embodiment of the present invention.
图 4表示本发明实施例中包括按键音处理装置的终端的结构示意图。 图 5 表示本发明实施例中包括按键音处理装置的终端的另一结构示意 图。 本发明的较佳实施方式  4 is a block diagram showing the structure of a terminal including a button sound processing device in an embodiment of the present invention. Fig. 5 is a view showing another configuration of a terminal including a touch tone processing device in the embodiment of the present invention. Preferred embodiment of the invention
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 需要 说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互任意组合。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明实施例中所述的终端静音状态是指: 终端处于睡眠模式、 会议模 式和其他一些用户自定义模式中, 用户利用按键在对终端操作的过程中不产 生按键音的状态。 相应的, 终端的非静音状态是指: 用户利用按键在对终端 操作的过程中产生按键音的状态。 其中, 终端的按键包括: 实体按键和虚拟 按键。  The mute state of the terminal in the embodiment of the present invention refers to: the terminal is in a sleep mode, a conference mode, and some other user-defined modes, and the user does not generate a button sound during the operation of the terminal by using the button. Correspondingly, the non-mute state of the terminal refers to: a state in which the user generates a button sound during the operation of the terminal by using a button. The buttons of the terminal include: a physical button and a virtual button.
终端的按键音处理方法实施例的流程图如图 1所示, 所述方法包括如下 步骤:  A flowchart of an embodiment of a method for processing a touch tone of a terminal is shown in FIG. 1. The method includes the following steps:
步骤 100: 响应用户对按键的触发, 随机产生按键序号;  Step 100: In response to the user triggering the button, randomly generating the button serial number;
步骤 101 : 查询与所述按键序号对应的按键音, 所述按键序号和对应的 所述按键音预先存储在所述终端中; 步骤 102: 播放查询到的所述按键音。 Step 101: Query a button sound corresponding to the button number, and the button number and the corresponding button sound are pre-stored in the terminal; Step 102: Play the queried button sound.
较佳地, 在步骤 100中, 当用户在键盘上按下某一按键时, 所述终端响 应用户对按键的触发, 随机产生一个所述按键序号, 随机产生的所述按键序 号为终端键盘所包括的多个按键中的任一个按键对应的号码。  Preferably, in step 100, when the user presses a button on the keyboard, the terminal randomly generates a button number in response to the user triggering the button, and the randomly generated button number is the terminal keyboard. The number corresponding to any of the plurality of buttons included.
较佳地, 所述步骤 100可以包括:  Preferably, the step 100 may include:
(1)获取用户对所述终端按键的触发信号;  (1) acquiring a trigger signal of the user to the terminal button;
(2)判断所述终端是否支持按键音随机变化, 若所述终端支持按键音随机 变化, 则进行步骤(3 ) , 否则结束;  (2) determining whether the terminal supports a random change of the button tones, and if the terminal supports a random change of the button tones, performing step (3), otherwise ending;
(3)判断终端当前是否处于非静音状态, 若终端处于非静音状态, 则进行 步骤(4 ) , 否则结束;  (3) judging whether the terminal is currently in a non-mute state, if the terminal is in a non-mute state, proceeding to step (4), otherwise ending;
(4)产生一个作为所述按键序号的随机数。  (4) Generate a random number as the key number of the button.
例如: 用户在终端的键盘上按下数字 1对应的按键时, 在所述终端支持 按键音随机变化, 且所述终端处于非静音状态时, 响应用户对按键的触发, 产生随机数 3作为所述按键序号。  For example, when the user presses the button corresponding to the number 1 on the keyboard of the terminal, when the terminal supports the button sound randomly changing, and the terminal is in the non-mute state, in response to the user triggering the button, the random number 3 is generated. The button number.
使用户在静音状态等不想随机产生按键音的场景下使用终端时不会随机 产生按键音, 可以满足用户在不同应用场景下对按键音的需求, 使用方便灵 活。  When the user uses the terminal in a scene such as a mute state and does not want to randomly generate a button sound, the button sound is not randomly generated, which can satisfy the user's demand for the button sound in different application scenarios, and is convenient to use.
较佳地, 在步骤 101 中, 在日常使用中, 在按键音数据库中存储有预先 设置的所述按键序号和对应的所述按键音, 当有按键序号产生时, 根据预先 设置的按键序号和按键音的对应关系查询与所产生的按键序号对应的按键 音。 例如, 通过步骤 100产生的按键序号是 6, 那么在按键音数据库中查询 到与按键序号 6对应的按键音。  Preferably, in step 101, in the daily use, the preset button number and the corresponding button sound are stored in the button sound database. When a button number is generated, according to the preset button number and The corresponding relationship of the button tones is used to query the button tones corresponding to the generated button numbers. For example, if the key number generated by step 100 is 6, then the key tone corresponding to the key number 6 is queried in the key tone database.
通过以上所述终端的按键音处理方法实施例,可在用户按下某一按键时, 随机播放出任一拨号音; 重复上述的步骤, 可在用户按键进行拨号或者信息、 文本输入的操作过程中, 随机产生拨号音。  According to the embodiment of the button sound processing method of the terminal described above, any dial tone can be randomly played when the user presses a certain button; the above steps can be repeated, and the user can press the button to perform dialing or information and text input operations. , randomly generate a dial tone.
通过上述实施例提供的方法, 使用户在按键时并不发出该按键本身的按 键音, 即使按键音被不法分子录音, 也不会造成用户隐私的泄露, 很好的保 护了用户的隐私; 而且随机播放的按键音是响应用户对按键的触发自行产生 的, 所以在使用过程中无需用户设置, 具有使用简单方便、 应用范围广泛的 特点。 Through the method provided in the above embodiment, the user does not emit the button sound of the button itself when the button is pressed, even if the button sound is recorded by the criminal, the user's privacy is not leaked, and the privacy of the user is well protected; The randomly played button tones are generated in response to the user's triggering of the buttons, so there is no need for user setting during use, and the utility model has the advantages of simple and convenient use and wide application range. Features.
本实施例中, 可以通过以下二种方法产生随机数:  In this embodiment, the random number can be generated by the following two methods:
方法一:  method one:
通过随机数发生器产生所述按键序号, 其中, 所述随机数发生器产生的 随机数 a e [0, N-1] , N为所述终端包括的按键的数量。  The key sequence number is generated by a random number generator, wherein the random number generated by the random number generator a e [0, N-1], N is the number of buttons included in the terminal.
较佳地, 在所述终端中设置随机数发生器, 当响应用户对按键的触发时, 通过设置的所述随机数发生器产生随机数 a作为所述按键序号。 根据终端类 型的不同, 所述按键的数量 N与不同类型的终端的键盘的按键数量相适应。  Preferably, a random number generator is disposed in the terminal, and when the user triggers the button, the random number generator is generated by the random number generator to be used as the button number. Depending on the type of terminal, the number N of the buttons is adapted to the number of keys of the keyboard of different types of terminals.
方法二:  Method Two:
所述方法包括如下步骤:  The method includes the following steps:
(1)获取所述终端当前的系统时间 M和所述终端包括的按键的数量 N; (1) acquiring the current system time M of the terminal and the number of buttons N included in the terminal;
(2) M对 N进行取模运算, 将得到的余数作为产生的所述按键序号。 (2) M performs a modulo operation on N, and takes the obtained remainder as the generated key number.
相应地, 当用户按下某一按键时, 通过系统时钟获取所述终端当前的系 统时间 M, 同时获取按键的数量 N, 然后进行 M对 N的取模运算, 将取模运 算中得到的余数作为产生的所述按键序号。  Correspondingly, when the user presses a certain button, the current system time M of the terminal is obtained through the system clock, and the number N of the buttons is acquired, and then the M-to-N modulo operation is performed, and the remainder obtained in the modulo operation is obtained. As the generated key number.
可选地 , 所述系统时间 M的取值为系统时钟的百分秒部分 , 例如, 用户 在拨号时按下某一按键的时间是 20时 34分 21.71秒, 则此时取得的所述系 统时间 M为 71 ; 若所述终端包括的按键的数量 N取 10; 然后使 M对 N进行 取模运算, 即: 使 71对 10进行取模运算, 得到取模运算结果 1 , 那么 1就作 为产生的所述按键序号。  Optionally, the value of the system time M is a percentage of the system clock. For example, when the user presses a button during dialing, the time is 20:34:21.71 seconds, and the system obtained at this time is obtained. The time M is 71; if the number of buttons N included in the terminal is 10; then M is performed on the modulo operation, that is, the modulo operation is performed on 71 to 10 to obtain the modulo operation result 1, then 1 is taken as The generated key sequence number.
在实际使用过程中, 用户在操作的过程中先后两次按下不同的按键, 如 果这两次按下按键所产生的提示音相同, 则用户可能会误以为第二次按键错 误, 而需要重新输入要输入的号码; 但实际上输入内容并没有错误, 只是用 户在按键时连续发出的相同按键音误导了用户, 所以在本发明的一些实施例 中, 可使每次响应用户对按键的触发所产生的按键序号不相同。 因此, 所述 终端的按键音处理方法还包括如下步骤:  In actual use, the user presses different buttons twice in the course of the operation. If the prompts generated by pressing the buttons twice are the same, the user may mistakenly think that the second button is wrong and needs to be re-created. Enter the number to be entered; but the input is actually error-free, except that the same key tone that the user continuously sends when the button is pressed misleads the user, so in some embodiments of the invention, the user can be triggered each time the button is triggered. The generated key numbers are not the same. Therefore, the button sound processing method of the terminal further includes the following steps:
(a)判断当前产生的按键序号与上一次播放的按键音对应的按键序号是否 相同;  (a) determining whether the currently generated key number is the same as the key number corresponding to the last played key sound;
(b)若当前产生的按键序号与上一次播放的按键音对应的按键序号相同, 则产生一个与上次不同的按键序号; (b) If the currently generated key number is the same as the key number corresponding to the last played key sound, Then generate a different key sequence number than the last time;
如果本次按键是用户第一次按键, 即无上一次按键音时, 则无需判断当 前产生的按键序号与上一次播放的按键音对应的按键序号是否相同。  If the button is the first time the user presses the button, that is, there is no button tone, it is not necessary to determine whether the currently generated button number is the same as the button number corresponding to the last played button.
通过上述操作,可使每次响应用户对按键的触发所产生的按键音不相同, 避免了用户在按键操作的过程中因为连续发出相同的按键音而误以为是自己 按错按键, 而导致用户重新输入该内容的问题。  Through the above operation, the button sound generated by the response of the user to the button can be different each time, and the user is prevented from mistakenly pressing the wrong button in the process of the button operation, thereby causing the user to press the wrong button. Re-enter the issue with this content.
通过以下实施例对终端的按键音处理方法作相应描述。  The method of processing the touch tone of the terminal will be described correspondingly by the following embodiments.
如图 2所示, 终端的按键音处理方法包括如下步骤:  As shown in FIG. 2, the method for processing the button sound of the terminal includes the following steps:
200、 获取用户对所述终端按键的触发信号;  200. Acquire a trigger signal of the user to the terminal button.
201、 判断是否支持按键音随机变化功能, 如果支持, 则执行步骤 202; 否则结束;  201. Determine whether the button tone random change function is supported. If yes, perform step 202; otherwise, end;
202、 产生一个作为所述按键序号的随机数;  202. Generate a random number as the key sequence number;
203、 判断按键音是否需要与上一次按键音区分, 如果需要, 则执行步骤 204; 否则转步骤 206;  203, determining whether the key tone needs to be distinguished from the previous key tone, if necessary, performing step 204; otherwise, proceeding to step 206;
204、 判断当前的按键序号是否与上次播放的按键序号相同, 如果是, 则 转步骤 205; 否则转步骤 206;  204, determining whether the current button number is the same as the last played button number, and if yes, proceeding to step 205; otherwise, proceeding to step 206;
205、 产生一个与上次不同的按键序号;  205. Generate a different key sequence number from the last time;
206、 查询与所述按键序号对应的按键音, 所述按键序号和对应的所述按 键音预先存储在所述终端中;  206. Query a button sound corresponding to the button serial number, where the button serial number and the corresponding button sound are pre-stored in the terminal;
207、 播放与所述按键序号对应的提示音。  207. Play a prompt sound corresponding to the button serial number.
其中, 在步骤 203中, 如果本次按键是第一次按键, 即无上一次按键音 时, 则无需判断当前产生的按键序号与上一次播放的按键音对应的按键序号 是否相同。  In step 203, if the button is the first button, that is, there is no button tone, it is not necessary to determine whether the currently generated button number is the same as the button number corresponding to the last played button.
基于上述描述, 本实施例提供的终端的按键音处理方法, 通过随机产生 按键序号响应用户对按键的触发, 然后在按键音数据库中找出与产生的按键 序号对应的按键音, 并播放该按键音, 以达到随机产生按键音的效果, 使用 户在按键时并不发出该按键本身的按键音, 即使按键音被不法分子录音, 也 不会造成用户隐私的泄露, 很好的保护了用户的隐私; 而且随机播放的按键 音是响应用户对按键的触发自行产生的, 所以在使用过程中无需用户设置, 具有使用简单方便、 应用范围广泛的特点。 Based on the above description, the button sound processing method of the terminal provided by the embodiment responds to the trigger of the user by randomly generating the button number, and then finds the button sound corresponding to the generated button number in the button sound database, and plays the button. To achieve the effect of randomly generating the button sound, so that the user does not emit the button sound of the button itself when the button is pressed, even if the button sound is recorded by the lawless molecule, the user's privacy will not be leaked, and the user's privacy is well protected. Privacy; and the randomly played button tones are generated in response to the user's triggering of the buttons, so no user settings are required during use. It has the characteristics of simple and convenient use and wide application range.
图 3为本发明实施例的终端的按键音处理装置的结构示意图, 如图 3所 示, 所述装置包括:  FIG. 3 is a schematic structural diagram of a touch tone processing apparatus of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
产生模块 10, 其设置成响应用户对按键的触发, 随机产生按键序号; 查询模块 20, 其设置成查询与所述按键序号对应的按键音, 所述按键序 号和对应的所述按键音预先存储在所述终端中;  The generating module 10 is configured to randomly generate the button serial number in response to the triggering of the button by the user; the query module 20 is configured to query the button sound corresponding to the button serial number, and the button serial number and the corresponding button sound are pre-stored In the terminal;
播放模块 30, 其设置成播放查询到的所述按键音。  The playing module 30 is configured to play the queried button tones.
较佳地, 产生模块 10, 设置有随机数发生器 1001 ;  Preferably, the generating module 10 is provided with a random number generator 1001;
通过随机数发生器 1001产生所述按键序号, 其中, 所述随机数发生器产 生的随机数 a e [0, N-1] , N为所述终端包括的按键的数量。  The key sequence number is generated by the random number generator 1001, wherein the random number generated by the random number generator a e [0, N-1], N is the number of buttons included in the terminal.
或者, 产生模块 10, 包括:  Alternatively, the generating module 10 includes:
获取单元 11 ,其设置成获取终端当前的系统时间 M和所述终端包括的按 键的数量 N;  The obtaining unit 11 is configured to obtain the current system time M of the terminal and the number of buttons N included in the terminal;
计算单元 12, 其设置成将 M对 N进行取模运算, 将得到的余数作为产 生的所述按键序号;  a calculating unit 12, configured to perform a modulo operation on M to N, and use the obtained remainder as the generated key sequence number;
可选地, 产生模块 10还设置成: 使每次响应用户对按键的触发所产生的 按键序号不相同。  Optionally, the generating module 10 is further configured to: cause the key sequence number generated in response to the user's triggering of the button to be different each time.
本实施例中提供的终端的按键音处理装置的功能和处理流程, 可以参见 上面提供的终端的按键音处理方法的实施例的流程, 此处不再赘述。  For the function and processing procedure of the touch tone processing device of the terminal provided in this embodiment, refer to the flow of the embodiment of the method for processing the touch tone of the terminal provided above, and details are not described herein again.
图 4为本发明终端的实施例结构示意图, 如图 4所示, 所述终端包括: 中央处理器 2、 程序存储模块 3、 人机接口模块 4和按键音处理装置 1。  4 is a schematic structural diagram of an embodiment of a terminal according to the present invention. As shown in FIG. 4, the terminal includes: a central processing unit 2, a program storage module 3, a human interface module 4, and a touch tone processing device 1.
较佳地, 中央处理器 2, 用于控制程序存储模块 3和按键音处理装置 1 , 并为按键音处理装置 1提供系统时钟。  Preferably, the central processing unit 2 is configured to control the program storage module 3 and the touch tone processing device 1 and provide a system clock for the touch tone processing device 1.
程序存储模块 3 , 设置有存储所述按键序号和对应的所述按键音的按键 音数据库;  a program storage module 3, configured with a button sound database storing the button number and the corresponding button tones;
按键音处理装置 1 , 为上述终端的按键音处理装置实施例中的按键音处 理装置;  The button sound processing device 1 is a button sound processing device in the embodiment of the button sound processing device of the terminal;
人机接口模块 2, 用于接收用户按键操作的触发信号, 通知按键音处理 装置 1随机产生按键音。 本实施例中提供的终端的功能和处理流程, 可以参见上面提供的终端的 按键音处理方法的实施例的流程, 此处不再赘述。 The human interface module 2 is configured to receive a trigger signal of the user's button operation, and notify the button sound processing device 1 to randomly generate the button sound. For the function and processing procedure of the terminal provided in this embodiment, refer to the process of the embodiment of the method for processing the touch tone of the terminal provided in the above, and details are not described herein again.
通过以下实施例对终端作相应描述。  The terminal is described correspondingly by the following embodiments.
图 5为本发明终端的另一实施例结构示意图, 如图 5所示, 所述终端接 收到按键输入事件时, 触发拨号或者信息输入等利用键盘操作的应用程序, 所述利用键盘操作的应用程序调用图形用户接口 (GUI ) 管理模块中的按键 音随机变化播放单元的按键音随机变化播放的功能, 随机产生按键音并播放 出来, 其中, 所述按键音随机变化播放单元为上述终端的按键音处理装置实 施例中的按键音处理装置。  FIG. 5 is a schematic structural diagram of another embodiment of a terminal according to the present invention. As shown in FIG. 5, when the terminal receives a button input event, the terminal triggers an application program operated by a keyboard such as dialing or information input, and the application operated by the keyboard The program calls the function of randomly changing the button sound of the playing unit in the graphic user interface (GUI) management module, randomly generates the button sound and plays out, wherein the button sound randomly changes the playing unit to the button of the terminal A tone sound processing device in the embodiment of the sound processing device.
较佳地, 根据终端类型的不同, 所述按键输入事件, 包括: 触屏事件和 键盘事件。  Preferably, the button input event includes: a touch screen event and a keyboard event according to different types of terminals.
所述触屏事件是用户在设置有虚拟键盘的终端上进行拨号或者信息输入 等操作所产生的事件。  The touch screen event is an event generated by a user performing an operation such as dialing or information input on a terminal provided with a virtual keyboard.
所述键盘事件是用户在设置有实体键盘的终端上进行拨号或者信息输入 等操作所产生的事件。  The keyboard event is an event generated by a user performing an operation such as dialing or information input on a terminal provided with a physical keyboard.
本实施例提供的终端的按键音处理装置和终端, 通过随机产生按键序号 响应用户对按键的触发, 然后在按键音数据库中找出与产生的按键序号对应 的按键音, 并播放该按键音, 以达到随机产生按键音的效果, 使用户在按键 时并不发出该按键本身的按键音, 即使按键音被不法分子录音, 也不会造成 用户隐私的泄露, 很好的保护了用户的隐私; 而且随机播放的按键音是响应 用户对按键的触发自行产生的, 所以在使用过程中无需用户设置, 具有使用 简单方便、 应用范围广泛的特点。  The button sound processing device and the terminal of the terminal provided by the embodiment respond to the trigger of the user by randomly generating the button number, and then find the button sound corresponding to the generated button number in the button sound database, and play the button sound. In order to achieve the effect of randomly generating the button sound, the user does not emit the button sound of the button itself when the button is pressed, even if the button sound is recorded by the lawless molecule, the user's privacy will not be leaked, and the privacy of the user is well protected; Moreover, the randomly played button tones are generated in response to the user's triggering of the buttons, so that no user setting is required during use, and the utility model has the advantages of simple and convenient use and wide application range.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可读 取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而前 述的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的 介质。  It will be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be performed by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, and not The invention is described in detail with reference to the foregoing embodiments, and those skilled in the art should understand that the technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be modified. The equivalents are made without departing from the scope of the technical solutions of the embodiments of the present invention.
工业实用性 本发明实施例提供的终端的按键音处理方法、 装置和终端, 使用户在按 键时并不发出该按键本身的按键音, 即使按键音被不法分子录音, 也不会造 成用户隐私的泄露, 很好的保护了用户的隐私; 而且随机播放的按键音是响 应用户对按键的触发自行产生的, 所以在使用过程中无需用户设置, 具有使 用简单方便、 应用范围广泛的特点。 Industrial Applicability The method, device and terminal for processing a button sound of a terminal provided by an embodiment of the present invention enable a user to not emit a button sound of the button itself when the button is pressed, even if the button sound is recorded by a criminal, the user's privacy is not caused. Leakage, good protection of the user's privacy; and the random play button sound is generated in response to the user's trigger on the button, so no user settings are needed during use, and it has the characteristics of simple and convenient use and wide application range.

Claims

权 利 要 求 书 claims
1、 一种终端的按键音处理方法, 包括: 1. A terminal key tone processing method, including:
终端响应用户对按键的触发, 随机产生按键序号; The terminal responds to the user's triggering of keys and randomly generates key sequence numbers;
所述终端查询与所述按键序号对应的按键音, 所述按键序号和对应的所 述按键音预先存储在所述终端中; 以及 The terminal queries the key tone corresponding to the key sequence number, and the key sequence number and the corresponding key tone are pre-stored in the terminal; and
播放查询到的所述按键音。 Play the queried key tone.
2、 根据权利要求 1所述的方法, 其中, 所述随机产生按键序号, 包括: 通过随机数发生器产生所述按键序号, 其中, 所述随机数发生器产生的 随机数 a e [0, N-1] , N为所述终端包括的按键的数量, 且 N为正整数。 2. The method according to claim 1, wherein the randomly generating key sequence number includes: generating the key sequence number through a random number generator, wherein the random number generated by the random number generator a e [0, N -1], N is the number of keys included in the terminal, and N is a positive integer.
3、 根据权利要求 1所述的方法, 其中, 所述随机产生按键序号, 包括: 获取终端当前的系统时间 M和所述终端包括的按键的数量 N; 以及 M对 N进行取模运算, 将得到的余数作为产生的所述按键序号, 其中, M、 N为正整数。 3. The method according to claim 1, wherein the randomly generated key sequence number includes: obtaining the current system time M of the terminal and the number N of keys included in the terminal; and M performing a modulo operation on N, and The obtained remainder is used as the generated key sequence number, where M and N are positive integers.
4、 根据权利要求 1所述的方法, 其中, 所述随机产生按键序号, 包括: 每次响应用户对按键的触发所产生的按键序号不相同。 4. The method according to claim 1, wherein the randomly generating key sequence numbers includes: the key sequence numbers generated in response to the user's triggering of the keys are different each time.
5、 一种终端的按键音处理装置, 包括: 5. A terminal key tone processing device, including:
产生模块, 其设置成响应用户对按键的触发, 随机产生按键序号; 查询模块, 其设置成查询与所述按键序号对应的按键音, 所述按键序号 和对应的所述按键音预先存储在所述终端中; 以及 The generation module is configured to randomly generate a key sequence number in response to the user's triggering of the key; the query module is configured to query the key tone corresponding to the key sequence number, and the key sequence number and the corresponding key tone are pre-stored in the in the above terminal; and
播放模块, 其设置成播放查询到的所述按键音。 A playback module, which is configured to play the queried key tone.
6、 根据权利要求 5所述的装置, 其中, 所述产生模块包括: 随机数发生 器; 以及 6. The device according to claim 5, wherein the generating module includes: a random number generator; and
所述产生模块通过如下方式随机产生按键序号: The generation module randomly generates key sequence numbers in the following manner:
通过所述随机数发生器产生所述按键序号, 其中, 所述随机数发生器产 生的随机数 a e [0, N-1] , N为所述终端包括的按键的数量, 且 N为正整数。 The key sequence number is generated by the random number generator, where the random number a e [0, N-1] generated by the random number generator, N is the number of keys included in the terminal, and N is a positive integer .
7、 根据权利要求 5所述的装置, 其中, 所述产生模块包括: 7. The device according to claim 5, wherein the generating module includes:
获取单元,其设置成获取终端当前的系统时间 M和所述终端包括的按键 的数量 N; 以及 计算单元,其设置成将 M对 N进行取模运算,将得到的余数作为产生的 所述按键序号, 其中, M、 N为正整数。 An acquisition unit configured to acquire the current system time M of the terminal and the number N of keys included in the terminal; and The calculation unit is configured to perform a modulo operation on M with respect to N, and use the resulting remainder as the generated key sequence number, where M and N are positive integers.
8、 根据权利要求 5所述的装置, 其中, 所述产生模块还设置成: 使每次响应用户对按键的触发所产生的按键序号不相同。 8. The device according to claim 5, wherein the generating module is further configured to: make the key sequence numbers generated in response to the user's triggering of the keys different each time.
9、 一种终端, 包括: 权利要求 5-8任一项所述的按键音处理装置。 9. A terminal, comprising: the key tone processing device according to any one of claims 5-8.
PCT/CN2014/071635 2013-08-23 2014-01-28 Method, device, and terminal for processing keypad tone of terminal WO2014161385A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310374210.2 2013-08-23
CN201310374210.2A CN104423937B (en) 2013-08-23 2013-08-23 A kind of key voice handling method, device and the terminal of terminal

Publications (1)

Publication Number Publication Date
WO2014161385A1 true WO2014161385A1 (en) 2014-10-09

Family

ID=51657551

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071635 WO2014161385A1 (en) 2013-08-23 2014-01-28 Method, device, and terminal for processing keypad tone of terminal

Country Status (2)

Country Link
CN (1) CN104423937B (en)
WO (1) WO2014161385A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341510B (en) * 2016-10-12 2019-08-09 深圳市金立通信设备有限公司 A kind of message registration store method and terminal
CN106503596A (en) * 2016-10-27 2017-03-15 北京小米移动软件有限公司 The method and apparatus of playing alert tones, electronic equipment
CN106550144A (en) * 2016-10-27 2017-03-29 乐视控股(北京)有限公司 Dialing Method and dialing mechanism
CN107257416A (en) * 2017-07-19 2017-10-17 北京小米移动软件有限公司 Processing method, device and the terminal of digital keys input

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374306A (en) * 2008-09-18 2009-02-25 中兴通讯股份有限公司 Method for prompting key-press sound of mobile phone keys
CN101485185A (en) * 2006-04-26 2009-07-15 加百利·卡贝里 System and method for dial tones screening
US7715561B2 (en) * 2004-12-08 2010-05-11 Bridgetec Co., Ltd. System for protecting personal information of a customer when receiving on-line services from a service provider
CN102932515A (en) * 2012-10-15 2013-02-13 广东欧珀移动通信有限公司 Method and terminal for promoting dialing security

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902506B (en) * 2012-09-18 2016-01-06 百度在线网络技术(北京)有限公司 Pronunciation inputting method in a kind of mobile terminal and device
CN104052855B (en) * 2013-03-11 2016-06-01 联想(北京)有限公司 A kind of method and electronics that button sound is set

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715561B2 (en) * 2004-12-08 2010-05-11 Bridgetec Co., Ltd. System for protecting personal information of a customer when receiving on-line services from a service provider
CN101485185A (en) * 2006-04-26 2009-07-15 加百利·卡贝里 System and method for dial tones screening
CN101374306A (en) * 2008-09-18 2009-02-25 中兴通讯股份有限公司 Method for prompting key-press sound of mobile phone keys
CN102932515A (en) * 2012-10-15 2013-02-13 广东欧珀移动通信有限公司 Method and terminal for promoting dialing security

Also Published As

Publication number Publication date
CN104423937B (en) 2019-05-31
CN104423937A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
US11656843B2 (en) Method for quickly starting application service, and terminal
CN104571498B (en) A kind of application program launching method
WO2011150851A2 (en) Terminal authentication method and device thereof
RU2609570C2 (en) Method and device for acquiring voice service
US20150365541A1 (en) Operation Method and Apparatus of Mobile Terminal
JP2005057746A5 (en)
WO2017181615A1 (en) Method and device for processing unfamiliar incoming call, and mobile terminal
WO2014161385A1 (en) Method, device, and terminal for processing keypad tone of terminal
WO2018058815A1 (en) Information reminding method and apparatus
CN109818853A (en) Message treatment method, device, server, electronic equipment and computer readable storage medium
CN107205198B (en) Microphone unlocking method and device
WO2020063451A1 (en) Call voicemail messaging method, terminal, and device having storage function
CN109325337A (en) Unlocking method and device
WO2007062579A1 (en) A method for realizing speed dialing operation
CN105120082A (en) State notification method and device
TW201826776A (en) Contact person adding method, electronic devices and server
TW201243649A (en) System and method for switching key modes in a mobile phone
TW201721405A (en) An electronic device and method for replaying voice
JP2014014194A (en) Portable terminal device
CN113760219A (en) Information processing method and device
TWI599208B (en) System and method for controlling communication notification
JP2007019600A (en) Telephone set and call termination notice method
CN106503596A (en) The method and apparatus of playing alert tones, electronic equipment
JP6031825B2 (en) Music data output system
CN106201729B (en) Timer alignment schemes and device

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: 14779229

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14779229

Country of ref document: EP

Kind code of ref document: A1