Movatterモバイル変換


[0]ホーム

URL:


CN106503507A - Method and mobile terminal that a kind of password shows - Google Patents

Method and mobile terminal that a kind of password shows
Download PDF

Info

Publication number
CN106503507A
CN106503507ACN201610971109.9ACN201610971109ACN106503507ACN 106503507 ACN106503507 ACN 106503507ACN 201610971109 ACN201610971109 ACN 201610971109ACN 106503507 ACN106503507 ACN 106503507A
Authority
CN
China
Prior art keywords
password
input
interface
user
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610971109.9A
Other languages
Chinese (zh)
Inventor
董云霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201610971109.9ApriorityCriticalpatent/CN106503507A/en
Publication of CN106503507ApublicationCriticalpatent/CN106503507A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种密码显示的方法和移动终端,其中,该方法包括:开启密码输入安全模式,当开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以加密的形式显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。

Embodiments of the present invention provide a password display method and a mobile terminal, wherein the method includes: enabling the password input security mode, when the password input security mode is activated, judging whether the current interface is a password input interface, and if so, when detecting When the user enters a password on the password input interface through the virtual keyboard, the operation effect of the virtual keyboard is prohibited from being displayed, and the password is displayed in an encrypted form on the password input interface. Applying the embodiment of the present invention, it can be implemented in When entering the password, the operation effect of the virtual keyboard is not displayed and the password is displayed in an encrypted form on the input interface, which can effectively prevent others from peeping or malicious screen capture software from stealing the password when entering the password, avoiding the leakage of the user password and making the user The security of entering the password is guaranteed, effectively protecting personal privacy.

Description

Translated fromChinese
一种密码显示的方法和移动终端A password display method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其是涉及一种密码显示的方法和移动终端。The invention relates to the technical field of communication, in particular to a password display method and a mobile terminal.

背景技术Background technique

随着电子技术及通信技术的发展,无线移动通信产业发展迅速,移动终端已经成为人们日常工作、生活的必备品。With the development of electronic technology and communication technology, the wireless mobile communication industry has developed rapidly, and mobile terminals have become a necessity for people's daily work and life.

人们通常在移动终端中安装各种应用客户端,其中一些涉及个人隐私和安全的应用客户端需要验证身份才能使用,验证用户输入的密码是较为常用的验证方式。现有技术中,最普遍密码输入方式都是通过预设的多个数字和字母按键进行简单的按键输入,将输入信息和预设的密码数据比较,进行密码验证。People usually install various application clients in mobile terminals, and some application clients involving personal privacy and security need to verify their identity before they can be used. Verifying the password entered by the user is a common verification method. In the prior art, the most common password input method is to perform simple key input through a plurality of preset number and letter keys, and compare the input information with the preset password data for password verification.

智能移动终端,大部分使用触摸屏显示的虚拟按键进行信息的输入,用户输入密码时可能会被旁边的人窥视,造成密码泄露,又或者是恶意截屏软件通过截取用户输入密码时屏幕的显示画面,以获取用户的输入按键以及按键顺序,进而获取用户的密码,造成用户输入密码安全性得不到保证,造成个人隐私泄露。Most smart mobile terminals use the virtual keys displayed on the touch screen to input information. When the user enters the password, the person next to him may be peeped, causing the password to be leaked, or malicious screen capture software intercepts the screen display when the user enters the password. To obtain the user's input keys and key sequence, and then obtain the user's password, resulting in the security of the user's input password cannot be guaranteed, resulting in personal privacy leakage.

发明内容Contents of the invention

本发明实施例提出了一种密码显示的方法和移动终端,以解决目前用户输入密码安全性得不到保证,造成个人隐私泄露的问题。Embodiments of the present invention propose a method for displaying a password and a mobile terminal to solve the current problem that the security of a password input by a user cannot be guaranteed and personal privacy is leaked.

第一方面,本发明实施例提供了一种密码显示的方法,应用于移动终端,该方法包括:In a first aspect, an embodiment of the present invention provides a method for displaying a password, which is applied to a mobile terminal, and the method includes:

开启密码输入安全模式;Enable password input security mode;

当开启密码输入安全模式后,判断当前界面是否是密码输入界面;When the password input security mode is turned on, it is judged whether the current interface is a password input interface;

若是,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码。If so, when it is detected that the user inputs a password on the password input interface through the virtual keyboard, the operation effect of the virtual keyboard is prohibited from being displayed, and the password is displayed in an encrypted form on the password input interface.

第二方面,提供了一种移动终端,包括:In a second aspect, a mobile terminal is provided, including:

安全模式开启模块,用于开启密码输入安全模式;The safe mode opening module is used to open the password input safe mode;

判断模块,用于当开启密码输入安全模式后,判断当前界面是否是密码输入界面;The judging module is used to judge whether the current interface is a password input interface after the password input security mode is enabled;

显示模块,用于当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码。The display module is configured to prohibit displaying the operation effect of the virtual keyboard when it is detected that the user inputs a password on the password input interface through the virtual keyboard, and to display the password in an encrypted form on the password input interface.

本发明实施例中,在开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以加密的形式显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。In the embodiment of the present invention, after the password input security mode is turned on, it is judged whether the current interface is a password input interface, and if it is detected that the user enters a password on the password input interface through the virtual keyboard, the operation of displaying the virtual keyboard is prohibited Effect, and the password is displayed in an encrypted form on the password input interface. By applying the embodiment of the present invention, the operation effect of not displaying the virtual keyboard when entering the password and displaying the password in an encrypted form on the input interface can be realized , It can effectively prevent the password from being peeped by others or stolen by malicious screen capture software when entering the password, avoiding the leakage of the user password, ensuring the security of the user input password, and effectively protecting personal privacy.

附图说明Description of drawings

图1是本发明实施例一的一种密码显示的方法的步骤流程图;FIG. 1 is a flow chart of the steps of a password display method according to Embodiment 1 of the present invention;

图2是本发明实施例二的一种密码显示的方法的步骤流程图;Fig. 2 is a flow chart of the steps of a password display method according to Embodiment 2 of the present invention;

图3是本发明实施例二中判断当前界面是否是密码输入界面的方法的步骤流程图;3 is a flow chart of the steps of the method for judging whether the current interface is a password input interface in Embodiment 2 of the present invention;

图4是本发明实施例三的一种移动终端的结构框图之一;FIG. 4 is one of the structural block diagrams of a mobile terminal according to Embodiment 3 of the present invention;

图4a是本发明实施例三的一种移动终端的结构框图之二;FIG. 4a is the second structural block diagram of a mobile terminal according to Embodiment 3 of the present invention;

图4b是本发明实施例三的一种移动终端的结构框图之三;FIG. 4b is a third structural block diagram of a mobile terminal according to Embodiment 3 of the present invention;

图4c是本发明实施例三的一种移动终端的结构框图之四;FIG. 4c is a fourth structural block diagram of a mobile terminal according to Embodiment 3 of the present invention;

图5是本发明实施例四的一种移动终端的结构框图;FIG. 5 is a structural block diagram of a mobile terminal according to Embodiment 4 of the present invention;

图6是本发明实施例五的一种移动终端的结构示意图。FIG. 6 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present invention.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

图1是本发明实施例一的一种密码显示的方法的步骤流程图。FIG. 1 is a flow chart of the steps of a password display method according to Embodiment 1 of the present invention.

参照图1所示,本发明的一种密码显示的方法,应用于移动终端,具体包括:Referring to Figure 1, a password display method of the present invention is applied to a mobile terminal, and specifically includes:

S101,开启密码输入安全模式。S101, enabling a password input security mode.

密码输入安全模式可以是用户在输入密码时,密码输入框不显示明文密码,而是将用户的输入密码以加密的形式显示,例如以预设的字符显示,同时用户在移动终端虚拟键盘进行按键输入操作时,禁止显示虚拟键盘按键的操作效果。开启密码输入安全模式,可以是移动终端默认开启,或者是用户选择开启等,具体的可以是输入法设置选项中开启或者移动终端的输入设置选项开启,本发明实施例对此不做限制。The password input security mode can be that when the user enters the password, the password input box does not display the password in plain text, but displays the user's input password in an encrypted form, for example, in preset characters, and at the same time, the user presses a key on the virtual keyboard of the mobile terminal When inputting an operation, it is forbidden to display the operation effect of the virtual keyboard keys. Enabling the password input security mode can be enabled by default on the mobile terminal, or selected by the user, etc. Specifically, it can be enabled in the input method setting option or the input setting option of the mobile terminal, which is not limited in the embodiment of the present invention.

S102,当开启密码输入安全模式后,判断当前界面是否是密码输入界面。S102. After the password input security mode is turned on, it is determined whether the current interface is a password input interface.

在实际应用中,密码输入安全模式只有在输入密码的时候才会有效,因此,需要判断当前界面是否是密码输入界面,若是,则密码输入是在安全模式下输入,若否,则按正常情况进行输入文本,密码输入界面可以包括密码输入框,输入框标识等。In practical applications, the password input security mode is only valid when the password is entered. Therefore, it is necessary to judge whether the current interface is a password input interface. If so, the password input is entered in the security mode. To input text, the password input interface may include a password input box, an input box identifier, and the like.

S103,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码。S103. When it is detected that the user inputs a password on the password input interface through the virtual keyboard, prohibiting display of the operation effect of the virtual keyboard, and displaying the password in an encrypted form on the password input interface.

在密码输入安全模式下,当检测到用户在密码输入界面通过虚拟键盘输入密码时,禁止显示虚拟键盘按键的操作效果,例如不显示按键被触发时的高亮显示和放大显示,同时,在密码输入界面的输入框以加密的形式显示输入的密码,加密的形式可以是不显示明文密码,将密码以“.”或者“*”显示在密码输入框中。In the password input security mode, when it is detected that the user enters the password through the virtual keyboard on the password input interface, it is forbidden to display the operation effect of the virtual keyboard keys, such as not displaying the highlighted and enlarged display when the key is triggered. At the same time, in the password The input box of the input interface displays the entered password in an encrypted form. The encrypted form can not display the plaintext password, and the password is displayed in the password input box with "." or "*".

在本发明实施例中,移动终端开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以加密的形式显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。In the embodiment of the present invention, after the password input security mode is turned on, the mobile terminal judges whether the current interface is a password input interface, and if so, when it is detected that the user enters a password on the password input interface through the virtual keyboard, the display of the virtual keyboard is prohibited operation effect, and the password is displayed in an encrypted form on the password input interface. By applying the embodiment of the present invention, the operation effect of not displaying the virtual keyboard when inputting the password can be realized and the password can be displayed in an encrypted form on the input interface. The form shows that it can effectively prevent the password from being peeped by others or stolen by malicious screen capture software when entering the password, avoiding the leakage of the user password, ensuring the security of the user input password, and effectively protecting personal privacy.

实施例二Embodiment two

图2是本发明实施例二的一种密码显示的方法的步骤流程图。FIG. 2 is a flow chart of the steps of a password display method according to Embodiment 2 of the present invention.

参照图2所示,本发明的一种密码显示的方法,应用于移动终端,该方法包括:Referring to Figure 2, a password display method of the present invention is applied to a mobile terminal, and the method includes:

S201,开启密码输入安全模式。S201, enabling a password input security mode.

密码输入安全模式可以是用户在输入密码时,密码输入框不显示明文密码,而是将用户的输入密码以加密的形式显示,例如以预设的字符显示,同时用户在移动终端虚拟键盘进行按键输入操作时,禁止显示虚拟键盘按键的操作效果。开启密码输入安全模式,可以是移动终端默认开启,或者是用户选择开启等,具体的可以是输入法设置选项中开启或者移动终端的输入设置选项开启,本发明实施例对此不做限制。The password input security mode can be that when the user enters the password, the password input box does not display the password in plain text, but displays the user's input password in an encrypted form, for example, in preset characters, and at the same time, the user presses a key on the virtual keyboard of the mobile terminal When inputting an operation, it is forbidden to display the operation effect of the virtual keyboard keys. Enabling the password input security mode can be enabled by default on the mobile terminal, or selected by the user, etc. Specifically, it can be enabled in the input method setting option or the input setting option of the mobile terminal, which is not limited in the embodiment of the present invention.

S202,判断当前界面是否是密码输入界面。S202, judging whether the current interface is a password input interface.

在实际应用中,密码输入安全模式可以是在输入密码的时候才会有效,因此,需要判断当前界面是否是密码输入界面。In practical applications, the password input security mode may be valid only when the password is input, therefore, it is necessary to determine whether the current interface is a password input interface.

参照图3所示,判断当前界面是否是密码输入界面,具体可以包括以下子步骤:Referring to Fig. 3, to determine whether the current interface is a password input interface may specifically include the following sub-steps:

S2021,获取当前界面信息。S2021, acquiring current interface information.

当前界面信息可以是移动终端屏幕当前显示的画面信息,可以是用户使用应用程序,登录账户时输入账号和密码的界面,移动终端可以通过系统应用程序接口进入到应用程序界面,获取当前界面信息,例如当前界面对应的应用程序信息和界面布局信息,界面布局信息可以包括输入框,文本框等。The current interface information can be the screen information currently displayed on the screen of the mobile terminal, and can be the interface where the user uses the application program and enters the account number and password when logging in to the account. The mobile terminal can enter the application program interface through the system application program interface to obtain the current interface information. For example, application program information and interface layout information corresponding to the current interface, where the interface layout information may include an input box, a text box, and the like.

当前界面的界面布局信息,还可以通过对当前界面进行截图,然后利用图像识别技术对截图进行识别,判断当前界面中的输入框和输入框标识等信息。For the interface layout information of the current interface, it is also possible to take a screenshot of the current interface, and then use image recognition technology to identify the screenshot, and determine information such as input boxes and input box identifiers in the current interface.

S2022,当所述当前界面信息包含输入框信息时,获取所述输入框标识。S2022. When the current interface information includes input box information, acquire the input box identifier.

在获取当前界面信息后,当界面布局信息中包含输入框控件时,则可以说明当前界面具有输入框,需要用户输入信息,例如输入账号、密码、其它文本等,输入框可以有输入框标识,以提示用户在输入框中输入相应的内容,因此,可以获取输入框对应的输入框标识,具体的,可以通过移动终端系统接口或者对当前界面进行截图后利用图像识别获取输入框标识,本发明实施例对此不做限制。After obtaining the current interface information, when the interface layout information includes input box controls, it can indicate that the current interface has an input box, and the user needs to input information, such as input account number, password, other text, etc. The input box can have an input box logo, To prompt the user to input the corresponding content in the input box, therefore, the input box identification corresponding to the input box can be obtained, specifically, the input box identification can be obtained through the mobile terminal system interface or by taking a screenshot of the current interface and using image recognition. The present invention The embodiment does not limit this.

S2023,判断所述输入框标识是否包含预设关键字。S2023. Determine whether the input box identifier contains a preset keyword.

本发明实施例中,为了判断输入界面是否是密码输入界面,可以预设关键字,以判断当前界面的输入框标识对应的输入框是否是密码输入框,预设关键字可以是“密码”、“key”、“PIN”等可以表征输入密码的字词,移动终端可以对当前输入界面的一个或者多个输入框对应的输入框标识进行判断,以确定是否含有提示输入密码的关键字,若是,则执行子步骤S2024。In the embodiment of the present invention, in order to determine whether the input interface is a password input interface, a keyword can be preset to determine whether the input box corresponding to the input box identifier of the current interface is a password input box, and the preset keyword can be "password", "key", "PIN" and other words that can represent the input password, the mobile terminal can judge the input box identification corresponding to one or more input boxes on the current input interface to determine whether it contains the keyword prompting to enter the password, if , then perform sub-step S2024.

S2024,判定当前界面是密码输入界面。S2024. Determine that the current interface is a password input interface.

当前界面的输入框的输入框标识包含预设关键字时,可以判定该输入框是密码输入框,当前界面是密码输入界面。When the input box identifier of the input box on the current interface contains a preset keyword, it can be determined that the input box is a password input box and the current interface is a password input interface.

S203,获取用户针对所述虚拟键盘按键的输入操作。S203. Obtain a user's input operation on the virtual keyboard keys.

在智能移动终端上,通常采用虚拟键盘进行文本的输入,用户需要输入时,通过对移动终端触摸屏进行操作选择相应的按键,完成信息的输入。例如对虚拟键盘相应的按键对应的屏幕区域进行按压,则选择了该按键,因此,可以获取用户在触摸屏上对虚拟键盘按键的按压操作。On a smart mobile terminal, a virtual keyboard is usually used for text input. When a user needs to input, he or she selects a corresponding button by operating the touch screen of the mobile terminal to complete the information input. For example, if the screen area corresponding to the corresponding key of the virtual keyboard is pressed, the key is selected. Therefore, the pressing operation of the user on the virtual keyboard key on the touch screen can be obtained.

S204,获取所述输入操作对应的按键的键值。S204. Obtain the key value of the key corresponding to the input operation.

虚拟键盘的每个按键具有相应的键值,当用户按压选择了一个按键后,可以根据预设的按键与键值的映射关系,获取被选中的按键的键值,当然,也可以通过监听TextWatcher监听用户实时输入信息获取按键的键值,本发明实施例对此不做限制。Each key of the virtual keyboard has a corresponding key value. When the user presses and selects a key, the key value of the selected key can be obtained according to the preset mapping relationship between the key and the key value. Of course, the key value of the selected key can also be obtained by listening to TextWatcher The key value of the button is obtained by monitoring the real-time input information of the user, which is not limited in the embodiment of the present invention.

S205,将所述键值以预设字符显示在密码输入界面中。S205. Display the key value in the password input interface in preset characters.

在实际的输入中,会以明文的形式显示按键的键值,即在输入框中直接显示用户所输入的信息字符,这样在密码输入时有可能造成用户密码被偷窥。在本发明实施例中,可以将用户选择按键的键值以加密的形式显示在密码输入界面中,例如以“.”或“*”等显示,在具体的实现,例如安卓系统中,可以设置密码输入框的输入属性,即可以将EditText的相应inputType属性设置为“.”或“*”,当然也可以是其它字符,本发明实施例对此不做限制。In the actual input, the key value of the button will be displayed in plain text, that is, the information characters input by the user are directly displayed in the input box, so that the user password may be peeped when the password is input. In the embodiment of the present invention, the key value of the key selected by the user can be displayed in the password input interface in an encrypted form, for example, displayed as "." or "*". In a specific implementation, such as in the Android system, you can set The input attribute of the password input box, that is, the corresponding inputType attribute of the EditText can be set to "." or "*", of course, it can also be other characters, which is not limited in the embodiment of the present invention.

S206,禁止显示所述虚拟键盘的操作效果。S206. Forbid displaying the operation effect of the virtual keyboard.

在正常模式的输入中,输入文本时,当虚拟键盘的按键被按压,按键通常会高亮显示和放大显示,在此种情况下,在移动终端旁边可以通过观察按键高亮和放大的位置和顺序,获取用户的密码,或者恶意的截屏软件可以通过截取用户的按压操作,获取用户的输入密码时的输入键值和输入顺序,进而可以获取用户密码,因此,可以禁止对虚拟键盘按键进行高亮显示和放大显示。In the normal mode of input, when entering text, when the key of the virtual keyboard is pressed, the key will usually be highlighted and enlarged. In this case, you can observe the highlighted and enlarged position of the key and the order, obtain the user's password, or malicious screen capture software can intercept the user's pressing operation to obtain the user's input key value and input sequence when entering the password, and then obtain the user's password. Bright display and enlarged display.

禁止对虚拟键盘按键进行高亮显示和放大显示,即按键被按压前后,虚拟键盘上不显示任何的效果,恶意截屏软件截取的图片都是一样的,就无法获取用户的密码。It is forbidden to highlight and enlarge the virtual keyboard keys, that is, before and after the key is pressed, no effect will be displayed on the virtual keyboard, and the pictures captured by malicious screen capture software are the same, so the user's password cannot be obtained.

Android Button组件是最基本的一个常用控件,每一个Button都会使用系统提供的默认背景作为按键的默认风格,为了实现按键在不同状态下有不同的显示效果,可以通过使用state list drawable(状态图片列表)实现根据Button不同的状态来显示不同图片的功能,从而让Button达到不同的效果。The Android Button component is the most basic common control. Each Button will use the default background provided by the system as the default style of the button. In order to realize the different display effects of the button in different states, you can use the state list drawable (state image list ) realizes the function of displaying different pictures according to the different states of the Button, so that the Button can achieve different effects.

state list drawable(状态图片列表)是一种定义在xml文件中的图片资源,图片资源可以按照Button当前的状态来动态地选择不同的图片,因此,可以设置按键被按压前和被按压后使用相同的图片,就可以实现禁止对虚拟键盘按键进行高亮显示和放大显示。The state list drawable (state picture list) is a picture resource defined in the xml file. The picture resource can dynamically select different pictures according to the current state of the Button. Therefore, it can be set to use the same picture before and after the button is pressed. If the picture is displayed, the virtual keyboard keys can be prohibited from being highlighted and enlarged.

以上仅仅是对安卓系统实现上述功能的一个示例,当然也可以是通过其它方式或者其它系统上以其它的方式进行实现,本发明实施例对此不做限制。The above is only an example of implementing the above function on the Android system, and of course it may also be implemented in other ways or on other systems, which is not limited in the embodiment of the present invention.

S207,当检测到用户针对所述虚拟键盘按键的输入操作时,针对所述输入操作反馈提示按键音或者震动。S207. When the user's input operation on the virtual keyboard key is detected, a key-press sound or vibration is given as feedback for the input operation.

在本发明实施例中,由于用户在进行密码输入操作时,禁止对虚拟键盘操作进行高亮显示和放大显示,这时,用户可能感受不到按键是否被按压,因此,可以针对用户的输入操作反馈提示,例如,可以是按键被按压时,反馈按键音或者震动。In the embodiment of the present invention, since the user is prohibited from highlighting and zooming in on the virtual keyboard when performing a password input operation, at this time, the user may not feel whether the button is pressed, so the user's input operation can be The feedback prompt, for example, may be a feedback key sound or vibration when a key is pressed.

在本发明实施例中,移动终端开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,则获取用户针对虚拟键盘按键的输入操作以及输入操作对应的按键的键值,将键值以预设字符显示在密码输入界面中,以及禁止显示虚拟键盘的操作效果,并针对虚拟键盘的操作反馈提示音和震动,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以预设的字符显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。In the embodiment of the present invention, after the mobile terminal turns on the password input security mode, it judges whether the current interface is a password input interface, and if so, obtains the user's input operation for the virtual keyboard key and the key value of the key corresponding to the input operation, and stores the key value Preset characters are displayed in the password input interface, and the operation effect of the virtual keyboard is prohibited from being displayed, and the prompt sound and vibration are fed back for the operation of the virtual keyboard. Applying the embodiment of the present invention, it is possible to realize the operation of not displaying the virtual keyboard when entering the password The effect and displaying the password in the input interface with preset characters can effectively prevent others from peeping or malicious screen capture software from stealing the password when entering the password, avoiding the leakage of the user password and ensuring the security of the user input password. Effective protection of personal privacy.

进一步地,当检测到用户进行输入操作时,对输入操作反馈按键提示音或者震动,使得用户感知到输入操作,提高了用户体验。Further, when it is detected that the user performs an input operation, a key prompt sound or vibration is fed back to the input operation, so that the user perceives the input operation, which improves user experience.

实施例三Embodiment Three

图4是本发明实施例三的一种移动终端的结构框图。FIG. 4 is a structural block diagram of a mobile terminal according to Embodiment 3 of the present invention.

参照图4所示,本发明实施例提供的一种移动终端300包括:Referring to FIG. 4, a mobile terminal 300 provided by an embodiment of the present invention includes:

安全模式开启模块301,用于开启密码输入安全模式;The safe mode opening module 301 is used to open the password input safe mode;

判断模块302,用于当开启密码输入安全模式后,判断当前界面是否是密码输入界面;Judging module 302, used to judge whether the current interface is a password input interface when the password input security mode is enabled;

显示模块303,用于当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码。The display module 303 is configured to prohibit displaying the operation effect of the virtual keyboard when it is detected that the user inputs a password on the password input interface through the virtual keyboard, and to display the password in an encrypted form on the password input interface.

参照图4a所示,本发明实施例提供的另一种移动终端400中,还包括:Referring to FIG. 4a, another mobile terminal 400 provided by an embodiment of the present invention further includes:

输入操作反馈模块304,用于当检测到用户针对所述虚拟键盘按键的输入操作时,针对所述输入操作反馈按键音或者震动。The input operation feedback module 304 is configured to, when detecting the user's input operation on the virtual keyboard keys, feed back key sounds or vibrations for the input operations.

参照图4b所示,本发明实施例提供的另一种移动终端500中,判断模块302包括:Referring to FIG. 4b, in another mobile terminal 500 provided by an embodiment of the present invention, the judging module 302 includes:

界面信息获取子模块3021,用于获取当前界面信息;The interface information acquisition sub-module 3021 is used to acquire the current interface information;

输入框标识获取子模块3022,用于当所述当前界面信息包含输入框信息时,获取所述输入框标识;The input box identification acquisition sub-module 3022 is used to acquire the input box identification when the current interface information includes input box information;

关键字判断子模块3023,用于判断所述输入框标识是否包含预设关键字;A keyword judging submodule 3023, configured to judge whether the input box identifier contains a preset keyword;

确定子模块3024,用于判定当前界面是密码输入界面。The determination sub-module 3024 is used to determine that the current interface is a password input interface.

参照图4c所示,本发明实施例提供的另一种移动终端600中,显示模块303包括:Referring to FIG. 4c, in another mobile terminal 600 provided by an embodiment of the present invention, the display module 303 includes:

输入操作获取子模块3031,用于获取用户针对所述虚拟键盘按键的输入操作;The input operation acquisition sub-module 3031 is used to acquire the user's input operation for the virtual keyboard keys;

键值获取子模块3032,用于获取所述输入操作对应的按键的键值;A key value acquisition submodule 3032, configured to acquire the key value of the key corresponding to the input operation;

显示子模块3033,用于将所述键值以预设字符显示在密码输入界面中。The display submodule 3033 is configured to display the key value in the password input interface in preset characters.

禁止显示子模块3034,用于禁止对所述虚拟键盘按键进行高亮显示和放大显示。The display prohibition submodule 3034 is configured to prohibit highlighting and zooming in on the virtual keyboard keys.

本发明实施例的移动终端能够实现图1至图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal in the embodiment of the present invention can implement various processes implemented by the mobile terminal in the method embodiments in FIG. 1 to FIG. 3 , and details are not repeated here to avoid repetition.

本发明实施例中,移动终端开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,则获取用户针对虚拟键盘按键的输入操作以及输入操作对应的按键的键值,将键值以预设字符显示在密码输入界面中,以及禁止显示虚拟键盘的操作效果,并针对虚拟键盘的操作反馈提示音和震动,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以预设的字符显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。In the embodiment of the present invention, after the mobile terminal turns on the password input security mode, it judges whether the current interface is a password input interface, and if so, obtains the user's input operation for the virtual keyboard key and the key value of the key corresponding to the input operation, and converts the key value to Preset characters are displayed in the password input interface, and the operation effect of displaying the virtual keyboard is prohibited, and the prompt sound and vibration are fed back for the operation of the virtual keyboard. Applying the embodiment of the present invention, the operation effect of not displaying the virtual keyboard can be realized when entering the password And the password is displayed in the input interface with preset characters, which can effectively prevent the password from being peeped by others or malicious screen capture software to steal the password when entering the password, avoiding the leakage of the user password, so that the security of the user input password is guaranteed, effective Personal privacy is protected.

进一步地,当检测到用户进行输入操作时,对输入操作反馈按键提示音或者震动,使得用户感知到输入操作,提高了用户体验。Further, when it is detected that the user performs an input operation, a key prompt sound or vibration is fed back to the input operation, so that the user perceives the input operation, which improves user experience.

实施例四Embodiment four

图5是本发明实施例四提供的一种移动终端的结构框图,图5所示的移动终端1000包括:至少一个处理器1001、存储器1002、至少一个网络接口1004、触摸传感器1006和用户接口1003。移动终端1000中的各个组件通过总线系统1005耦合在一起。可理解,总线系统1005用于实现这些组件之间的连接通信。总线系统1005除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为总线系统1005。FIG. 5 is a structural block diagram of a mobile terminal provided in Embodiment 4 of the present invention. The mobile terminal 1000 shown in FIG. 5 includes: at least one processor 1001, memory 1002, at least one network interface 1004, touch sensor 1006 and user interface 1003 . Various components in the mobile terminal 1000 are coupled together through the bus system 1005 . It can be understood that the bus system 1005 is used to realize connection and communication among these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1005 in FIG. 5 for clarity of illustration.

其中,用户接口1003可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 1003 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.

可以理解,本发明实施例中的存储器1002可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器1002旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1002 in this embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 1002 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器1002存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统10021和应用程序10022。In some implementations, the memory 1002 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 10021 and an application program 10022 .

其中,操作系统10021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序10022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序10022中。Among them, the operating system 10021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 10022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 10022 .

在本发明实施例中,通过调用存储器1002存储的程序或指令,具体的,可以是应用程序10022中存储的程序或指令,处理器1001用于开启密码输入安全模式,当开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码。In the embodiment of the present invention, by calling the program or instruction stored in the memory 1002, specifically, the program or instruction stored in the application program 10022, the processor 1001 is used to enable the password input security mode, when the password input security mode is enabled , judging whether the current interface is a password input interface, if so, when it is detected that the user enters a password on the password input interface through the virtual keyboard, the operation effect of the virtual keyboard is prohibited from being displayed, and the password input interface is encrypted form to display the password.

上述本发明实施例揭示的方法可以应用于处理器1001中,或者由处理器1001实现。处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1002,处理器1001读取存储器1002中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1001 or implemented by the processor 1001 . The processor 1001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1001 or instructions in the form of software. The aforementioned processor 1001 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002, and completes the steps of the above method in combination with its hardware.

触摸传感器1006用于检测用户在触摸屏针对虚拟键盘的输入操作,并将输入操作转换成相应按键的键值传输至应用处理器1001。The touch sensor 1006 is used to detect the user's input operation on the virtual keyboard on the touch screen, and convert the input operation into the key value of the corresponding key and transmit it to the application processor 1001 .

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

优选的,处理器1001在执行判断当前界面是否是密码输入界面的步骤时,还用于:获取当前界面信息,当所述当前界面信息包含输入框信息时,获取所述输入框标识,判断所述输入框标识是否包含预设关键字,若是,则判定当前界面是密码输入界面。Preferably, when the processor 1001 executes the step of judging whether the current interface is a password input interface, it is further configured to: acquire current interface information, and when the current interface information includes input box information, acquire the input box identifier, and determine whether the current interface is a password input interface. Whether the input box identifier contains a preset keyword, and if so, it is determined that the current interface is a password input interface.

优选的,处理器1001还用于:获取用户针对所述虚拟键盘按键的输入操作,获取所述输入操作对应的按键的键值,将所述键值以预设字符显示在密码输入界面中。Preferably, the processor 1001 is further configured to: obtain the user's input operation on the virtual keyboard key, obtain the key value of the key corresponding to the input operation, and display the key value in the password input interface in preset characters.

优选的,处理器1001还用于:禁止对所述虚拟键盘按键进行高亮显示和放大显示。Preferably, the processor 1001 is further configured to: prohibit highlighting and zooming in on the virtual keyboard keys.

优选的,处理器1001还用于:当检测到用户针对所述虚拟键盘按键的输入操作时,针对所述输入操作反馈按键音或者震动。Preferably, the processor 1001 is further configured to: when detecting the user's input operation on the virtual keyboard keys, feedback the key-press sound or vibration for the input operation.

移动终端1000能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1000 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

在本发明实施例中,移动终端1000开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,则获取用户针对虚拟键盘按键的输入操作以及输入操作对应的按键的键值,将键值以预设字符显示在密码输入界面中,以及禁止显示虚拟键盘的操作效果,并针对虚拟键盘的操作反馈提示音和震动,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以预设的字符显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。In the embodiment of the present invention, after the mobile terminal 1000 turns on the password input security mode, it judges whether the current interface is a password input interface, and if so, obtains the user's input operation for the virtual keyboard key and the key value of the key corresponding to the input operation, and puts the key The value is displayed in the password input interface with preset characters, and the operation effect of the virtual keyboard is prohibited from being displayed, and the prompt sound and vibration are fed back for the operation of the virtual keyboard. Applying the embodiment of the present invention, it is possible to realize that the virtual keyboard is not displayed when entering the password. The operation effect and the display of the password in the input interface with preset characters can effectively prevent others from peeping or malicious screen capture software from stealing the password when entering the password, avoiding the leakage of the user password and ensuring the security of the user input password , effectively protecting personal privacy.

进一步地,当检测到用户进行输入操作时,对输入操作反馈按键提示音或者震动,使得用户感知到输入操作,提高了用户体验。Further, when it is detected that the user performs an input operation, a key prompt sound or vibration is fed back to the input operation, so that the user perceives the input operation, which improves user experience.

实施例五Embodiment five

图6是本发明实施例五提供的一种移动终端的结构示意图。具体地,图6中的移动终端1100可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。FIG. 6 is a schematic structural diagram of a mobile terminal provided by Embodiment 5 of the present invention. Specifically, the mobile terminal 1100 in FIG. 6 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图6中的移动终端1100包括射频(Radio Frequency,RF)电路1101、存储器1102、输入单元1103、显示单元1104、触摸传感器1105、处理器1106、音频电路1107、WiFi(WirelessFidelity)模块1108和电源1109。Mobile terminal 1100 in Fig. 6 comprises radio frequency (Radio Frequency, RF) circuit 1101, memory 1102, input unit 1103, display unit 1104, touch sensor 1105, processor 1106, audio circuit 1107, WiFi (WirelessFidelity) module 1108 and power supply 1109 .

其中,输入单元1103可用于接收用户输入的数字或字符信息,以及产生与移动终端1100的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元1103可以包括触控面板11031。触控面板11031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板11031上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板11031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器1106,并能接收处理器1106发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板11031。除了触控面板11031,输入单元1103还可以包括其他输入设备11032,其他输入设备11032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 1103 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 1100 . Specifically, in the embodiment of the present invention, the input unit 1103 may include a touch panel 11031 . The touch panel 11031, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 11031 using any suitable objects or accessories such as fingers and stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 11031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1106, and can receive and execute commands sent by the processor 1106. In addition, the touch panel 11031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 11031, the input unit 1103 may also include other input devices 11032, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元1104可用于显示由用户输入的信息或提供给用户的信息以及移动终端1100的各种菜单界面。显示单元1104可包括显示面板11041,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板11041。Wherein, the display unit 1104 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 1100 . The display unit 1104 may include a display panel 11041. Optionally, the display panel 11041 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板11031可以覆盖显示面板11041,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器1106以确定触摸事件的类型,随后处理器1106根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 11031 can cover the display panel 11041 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 1106 to determine the type of the touch event, and then the processor 1106 Provide corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器1106是移动终端1100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器11021内的软件程序和/或模块,以及调用存储在第二存储器11022内的数据,执行移动终端1100的各种功能和处理数据,从而对移动终端1100进行整体监控。可选的,处理器1106可包括一个或多个处理单元。Wherein the processor 1106 is the control center of the mobile terminal 1100, which uses various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes software programs and/or modules stored in the first memory 11021, and calls stored in the second The data in the memory 11022 executes various functions of the mobile terminal 1100 and processes data, so as to monitor the mobile terminal 1100 as a whole. Optionally, the processor 1106 may include one or more processing units.

触摸传感器1105用于检测用户在触摸屏针对虚拟键盘的输入操作,并将输入操作转换成相应按键的键值传输至应用处理器1106。The touch sensor 1105 is used to detect the user's input operation on the virtual keyboard on the touch screen, and convert the input operation into the key value of the corresponding key and transmit it to the application processor 1106 .

在本发明实施例中,通过调用存储该第一存储器11021内的软件程序和/或模块和/或该第二存储器11022内的数据,处理器1106用于开启密码输入安全模式,当开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,当检测到用户通过虚拟键盘在所述密码输入界面输入密码时,禁止显示所述虚拟键盘的操作效果,以及,在所述密码输入界面以加密的形式显示所述密码。In this embodiment of the present invention, the processor 1106 is used to enable the password input security mode by calling the software programs and/or modules stored in the first memory 11021 and/or the data in the second memory 11022. After the security mode, judge whether the current interface is a password input interface, if so, when it is detected that the user enters the password on the password input interface through the virtual keyboard, the operation effect of the virtual keyboard is prohibited from being displayed, and, on the password input interface Display the password in encrypted form.

优选的,处理器1106在执行判断当前界面是否是密码输入界面的步骤时,还用于:获取当前界面信息,当所述当前界面信息包含输入框信息时,获取所述输入框标识,判断所述输入框标识是否包含预设关键字,若是,则判定当前界面是密码输入界面。Preferably, when the processor 1106 executes the step of judging whether the current interface is a password input interface, it is further configured to: acquire current interface information, and when the current interface information includes input box information, acquire the input box identifier, and determine the password input interface. Whether the input box identifier contains a preset keyword, and if so, it is determined that the current interface is a password input interface.

优选的,处理器1106还用于:获取用户针对所述虚拟键盘按键的输入操作,获取所述输入操作对应的按键的键值,将所述键值以预设字符显示在密码输入界面中。Preferably, the processor 1106 is further configured to: acquire the user's input operation on the virtual keyboard key, acquire the key value of the key corresponding to the input operation, and display the key value in the password input interface in preset characters.

优选的,处理器1106还用于:禁止对所述虚拟键盘按键进行高亮显示和放大显示。Preferably, the processor 1106 is further configured to: prohibit highlighting and zooming in on the virtual keyboard keys.

优选的,处理器1106还用于:当检测到用户针对所述虚拟键盘按键的输入操作时,针对所述输入操作反馈按键音或者震动。Preferably, the processor 1106 is further configured to: when detecting the user's input operation on the virtual keyboard keys, feedback the key-press sound or vibration for the input operation.

移动终端1100能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1100 is capable of implementing various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.

移动终端1100开启密码输入安全模式后,判断当前界面是否是密码输入界面,若是,则获取用户针对虚拟键盘按键的输入操作以及输入操作对应的按键的键值,将键值以预设字符显示在密码输入界面中,以及禁止显示虚拟键盘的操作效果,并针对虚拟键盘的操作反馈提示音和震动,应用本发明实施例,可以实现在输入密码时不显示虚拟键盘的操作效果以及将密码在输入界面中以预设的字符显示,可以有效防止在输入密码时被旁人窥视或者恶意截屏软件截屏盗取密码,避免了用户密码泄露,使得用户输入密码的安全性得到保证,有效保护了个人隐私。After the mobile terminal 1100 turns on the password input security mode, it judges whether the current interface is a password input interface, and if so, obtains the user's input operation for the virtual keyboard keys and the key value of the key corresponding to the input operation, and displays the key value in preset characters on the In the password input interface, and the operation effect of prohibiting the display of the virtual keyboard, and for the operation feedback sound and vibration of the virtual keyboard, the application of the embodiment of the present invention can realize the operation effect of not displaying the virtual keyboard when entering the password and the password can be input The interface is displayed with preset characters, which can effectively prevent the password from being peeped by others or malicious screen capture software to steal the password when entering the password, avoiding the leakage of the user password, ensuring the security of the user input password, and effectively protecting personal privacy.

进一步地,当检测到用户进行输入操作时,对输入操作反馈按键提示音或者震动,使得用户感知到输入操作,提高了用户体验。Further, when it is detected that the user performs an input operation, a key prompt sound or vibration is fed back to the input operation, so that the user perceives the input operation, which improves user experience.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

CN201610971109.9A2016-10-312016-10-31Method and mobile terminal that a kind of password showsPendingCN106503507A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610971109.9ACN106503507A (en)2016-10-312016-10-31Method and mobile terminal that a kind of password shows

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610971109.9ACN106503507A (en)2016-10-312016-10-31Method and mobile terminal that a kind of password shows

Publications (1)

Publication NumberPublication Date
CN106503507Atrue CN106503507A (en)2017-03-15

Family

ID=58323079

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610971109.9APendingCN106503507A (en)2016-10-312016-10-31Method and mobile terminal that a kind of password shows

Country Status (1)

CountryLink
CN (1)CN106503507A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107220566A (en)*2017-04-012017-09-29天地融科技股份有限公司A kind of method for information display and equipment
CN107563232A (en)*2017-09-302018-01-09北京奇虎科技有限公司The display methods and device of a kind of user profile
CN107766719A (en)*2017-09-182018-03-06北京华伟恒远信息系统技术有限公司A kind of method and device that log-on message is encrypted
CN109426721A (en)*2017-08-292019-03-05腾讯科技(深圳)有限公司Security prompt method and device based on dummy keyboard
CN109901761A (en)*2019-01-252019-06-18维沃移动通信有限公司 A content display method and mobile terminal
CN110287689A (en)*2019-05-072019-09-27珠海格力电器股份有限公司Password protection method, terminal and computer readable medium
CN110765470A (en)*2019-09-192020-02-07平安科技(深圳)有限公司Method and device for realizing safety keyboard, computer equipment and storage medium
CN113609471A (en)*2021-08-112021-11-05珠海格力电器股份有限公司Information protection method and device, electronic equipment and storage medium
CN114995956A (en)*2022-06-212022-09-02成都卫士通信息产业股份有限公司 A Kubernetes component configuration method, device, device and medium
CN115661978A (en)*2022-10-112023-01-31闻泰通讯股份有限公司Door lock control method and device and intelligent door lock

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102867159A (en)*2011-07-052013-01-09腾讯科技(深圳)有限公司Method, system, client and server for inputting password by soft keyboard
CN103019599A (en)*2012-12-122013-04-03华为终端有限公司Electronic equipment and unlocking method of screen thereof
CN104423421A (en)*2013-08-192015-03-18联想(北京)有限公司Information processing method and electronic equipment
CN105205386A (en)*2014-06-252015-12-30腾讯科技(深圳)有限公司Password protecting method and device for mobile terminal application program
CN105260681A (en)*2015-11-232016-01-20广东欧珀移动通信有限公司Password protection method and device
CN106022017A (en)*2016-05-062016-10-12平安科技(深圳)有限公司A method, a device and a system realizing password input via a virtual keyboard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102867159A (en)*2011-07-052013-01-09腾讯科技(深圳)有限公司Method, system, client and server for inputting password by soft keyboard
CN103019599A (en)*2012-12-122013-04-03华为终端有限公司Electronic equipment and unlocking method of screen thereof
CN104423421A (en)*2013-08-192015-03-18联想(北京)有限公司Information processing method and electronic equipment
CN105205386A (en)*2014-06-252015-12-30腾讯科技(深圳)有限公司Password protecting method and device for mobile terminal application program
CN105260681A (en)*2015-11-232016-01-20广东欧珀移动通信有限公司Password protection method and device
CN106022017A (en)*2016-05-062016-10-12平安科技(深圳)有限公司A method, a device and a system realizing password input via a virtual keyboard

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107220566A (en)*2017-04-012017-09-29天地融科技股份有限公司A kind of method for information display and equipment
CN109426721A (en)*2017-08-292019-03-05腾讯科技(深圳)有限公司Security prompt method and device based on dummy keyboard
CN107766719A (en)*2017-09-182018-03-06北京华伟恒远信息系统技术有限公司A kind of method and device that log-on message is encrypted
CN107563232A (en)*2017-09-302018-01-09北京奇虎科技有限公司The display methods and device of a kind of user profile
CN109901761A (en)*2019-01-252019-06-18维沃移动通信有限公司 A content display method and mobile terminal
CN110287689A (en)*2019-05-072019-09-27珠海格力电器股份有限公司Password protection method, terminal and computer readable medium
CN110765470A (en)*2019-09-192020-02-07平安科技(深圳)有限公司Method and device for realizing safety keyboard, computer equipment and storage medium
CN113609471A (en)*2021-08-112021-11-05珠海格力电器股份有限公司Information protection method and device, electronic equipment and storage medium
CN114995956A (en)*2022-06-212022-09-02成都卫士通信息产业股份有限公司 A Kubernetes component configuration method, device, device and medium
CN114995956B (en)*2022-06-212025-05-30成都卫士通信息产业股份有限公司 A Kubernetes component configuration method, device, equipment and medium
CN115661978A (en)*2022-10-112023-01-31闻泰通讯股份有限公司Door lock control method and device and intelligent door lock

Similar Documents

PublicationPublication DateTitle
CN106503507A (en)Method and mobile terminal that a kind of password shows
CN106357866B (en) Address book management method and mobile smart terminal
CN111344707B (en) Electronic device including a display and method for encrypting and decrypting information
CN106778183A (en)A kind of Terminal fingerprints know method for distinguishing and mobile terminal
CN106446614B (en) Application rights management method and mobile terminal
CN106203061B (en) An application program encryption method and mobile terminal
CN105956431B (en) Application protection processing method and mobile terminal
CN106127076A (en)The inspection method of a kind of photograph album photo and mobile terminal
CN107229396B (en) Method for hiding application icon of mobile terminal and mobile terminal
CN106503555A (en)A kind of method for ensureing safety of payment and mobile terminal
CN106991306B (en) A method and mobile terminal for inputting a password
CN106372470A (en)Method for reminding of inputting password and mobile terminal
CN105827816A (en)Screen splitting method for terminal screen, and mobile terminal
CN106250026A (en)The startup method of the application program of a kind of mobile terminal and mobile terminal
CN106126999A (en)The unlocking method of a kind of Intelligent Recognition visitor and mobile terminal
CN105868617A (en)Application encryption method and mobile terminal
CN106228085A (en)The method for secret protection of application program and mobile terminal
CN106484301A (en)A kind of method of hiden application and terminal
CN107632870A (en)The startup method and terminal of a kind of application
CN106557259A (en)A kind of operational approach and mobile terminal of mobile terminal
CN107479886A (en)A kind of method for information display and mobile terminal
CN107103224A (en)A kind of unlocking method and mobile terminal
CN106529262A (en)Data protection method for mobile terminal and mobile terminal
CN107506198A (en)The display methods and mobile terminal of a kind of mobile terminal
CN106778344A (en)A kind of data permission control method and terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20170315


[8]ページ先頭

©2009-2025 Movatter.jp