WO2016004871A1 - 一种密码输入的显示方法以及终端 - Google Patents

一种密码输入的显示方法以及终端 Download PDF

Info

Publication number
WO2016004871A1
WO2016004871A1 PCT/CN2015/083568 CN2015083568W WO2016004871A1 WO 2016004871 A1 WO2016004871 A1 WO 2016004871A1 CN 2015083568 W CN2015083568 W CN 2015083568W WO 2016004871 A1 WO2016004871 A1 WO 2016004871A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
state
current
current state
public
Prior art date
Application number
PCT/CN2015/083568
Other languages
English (en)
French (fr)
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
Priority claimed from CN201410323381.7A external-priority patent/CN104091128B/zh
Priority claimed from CN201410322924.3A external-priority patent/CN104077520B/zh
Application filed by 深圳市金立通信设备有限公司 filed Critical 深圳市金立通信设备有限公司
Publication of WO2016004871A1 publication Critical patent/WO2016004871A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method and a terminal for displaying a password input.
  • a check box of a password display mode may appear in the interface, and the current security mode may be switched to the display mode by the user's selection operation.
  • the user may often need to manually perform a selection operation to switch the password display mode, so that the process of inputting the password becomes less concise, convenient, and not intelligent enough.
  • the embodiment of the invention provides a method for displaying a password input and a terminal, which can intelligently switch the password display mode, so that the process of inputting the password becomes simple and convenient.
  • An embodiment of the present invention provides a method for displaying a password input, including:
  • the adjustment password is displayed in the display mode
  • the adjustment password is displayed as the security mode.
  • the embodiment of the invention provides a terminal, including:
  • Obtaining a detection unit configured to acquire a current environmental parameter of the terminal, and detect according to the environmental parameter Current state of the terminal;
  • a first determining unit configured to: when detecting that the current state of the terminal is in a privacy state, the adjustment password is displayed as a display mode;
  • the second determining unit is configured to display the adjustment password as the security mode when detecting that the current state of the terminal is in a public state.
  • the embodiment of the present invention can detect that the current state of the terminal is in a privacy state or in a public state, and determine a corresponding password display mode according to the current state of the terminal, so that the user can determine the current selection operation without the user performing a manual selection operation.
  • the password display mode, and the password input is performed in the determined password display mode, and different modes are displayed according to the unreasonable scene, which is more intelligent.
  • FIG. 1 is a schematic flowchart of a method for displaying a password input according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for determining a state of a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for determining a state of a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of still another method for determining a state of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of still another method for determining a state of a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of still another method for determining a state of a terminal according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an acquisition detecting unit according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an image acquisition determining unit according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for displaying a password input according to an embodiment of the present invention.
  • the method may include:
  • the environmental parameter includes at least one of a time, a location, surrounding image information, or an ambient sound.
  • the terminal may first set the privacy state time range, and then obtain the current time of the terminal. If the current time of the terminal is in the privacy state time range, the terminal may determine that the current state of the terminal is in a privacy state. Otherwise, it is determined that the current state of the terminal is in a public state.
  • the environment parameter is a location
  • the terminal may first acquire the current location, and identify whether the current location of the terminal is in a public area. If the public area is identified, the terminal may determine that the current state of the terminal is in a public state. Otherwise, determine. The current state of the terminal is in a privacy state.
  • the terminal may first acquire the current surrounding image information of the terminal, and determine whether there is a human face in a specific angle region in the surrounding image information, and if there is a human face, the terminal may be determined The state is in a public state, otherwise, it determines that the current state of the terminal is in a privacy state.
  • the environment parameter is an ambient sound
  • the terminal may first obtain the current ambient sound, and determine whether the ambient sound exceeds a preset noise threshold. If the noise threshold is exceeded, the current state of the terminal may be determined to be in a public state; otherwise, Make sure the current state of the terminal is in a privacy state.
  • the terminal may also detect the current state of the terminal by combining multiple environment parameters, for example, combining the location and the ambient sound to detect the current state of the terminal.
  • the current location of the terminal may be identified as being in a public area, and the terminal is currently When the ambient sound exceeds the noise threshold, it is determined that the current state of the terminal is in a public state. Otherwise, it is determined that the current state of the terminal is in a privacy state, so that the current environmental parameters of the terminal can be detected more accurately.
  • there may be more combinations of environmental parameters to accurately detect the current state of the terminal which will not be repeated here.
  • the user Before obtaining the current environment parameters of the terminal, the user can select which environmental parameters to use as needed.
  • the environment parameter to be obtained for example, if the user selects the time as the environment parameter to be acquired in the terminal interface, the terminal may acquire the current time of the terminal when the password is input, to detect the current state of the terminal.
  • the adjustment password is displayed in a display mode
  • the adjustment password is displayed as the display mode.
  • the password can be adjusted to display mode, that is, when the password is input, the password is displayed in the input box in real time, so that the user can see all the password numbers entered to improve convenience.
  • the adjustment password is displayed as a security mode
  • the adjustment password is displayed as the security mode.
  • the password can be adjusted to be in a safe mode, that is, when the password is input, the input password is converted into a dot form in real time, or Other shapes to mask the entered password number to provide security.
  • the embodiment of the present invention can detect that the current state of the terminal is in a privacy state or in a public state, and determine a corresponding password display mode according to the current state of the terminal, so that the user can determine the current selection operation without the user performing a manual selection operation.
  • the password display mode, and the password input is performed in the determined password display mode, and different modes are displayed according to the unreasonable scene, which is more intelligent.
  • FIG. 2 is a schematic flowchart of a method for determining a state of a terminal according to an embodiment of the present invention.
  • the method of the embodiment of the present invention may correspond to S101 in the foregoing embodiment of FIG. 1, and the method may include:
  • S201 Obtain a current time of the terminal, and determine whether the current time of the terminal is within a preset privacy state time range.
  • the different time ranges may correspond to different manners for displaying passwords.
  • the correspondence may be set by the user in advance. For example, a user's daily working time is 9:00-18:00, because the user is in the The working time period will appear in various workplaces and public places, so the user can set the daily 9:00-18:00 time to the non-private state time range; the user's daily private The time period is from 19:00 to 24:00. Since the user is usually in a private place such as home during a private time period, the user can set the daily 19:00-24:00 as the privacy state time range. Thereafter, the terminal can obtain the current time of the terminal, and determine whether the current time of the terminal is within a preset privacy state time range.
  • the current state of the terminal is detected to be in a privacy state.
  • step S201 when the step S201 is determined to be YES, it indicates that the current time is within a preset privacy state time range, and the current state of the terminal may be determined to be in a privacy state.
  • step S201 when the step S201 is negative, it indicates that the current time is not within the preset privacy state time range, and the current state of the terminal may be determined to be in a public state.
  • the embodiment of the present invention can quickly detect whether the current state of the terminal is in a privacy state or a public state by determining whether the current time is in a preset privacy state time range, so as to correctly select a corresponding password display mode.
  • FIG. 3 is a schematic flowchart of another method for determining a state of a terminal according to an embodiment of the present invention.
  • the method of the embodiment of the present invention may correspond to S101 in the foregoing embodiment of FIG. 1, and the method may include:
  • S301 Acquire a current location of the terminal, and identify whether the current location of the terminal is in a public area.
  • the terminal can locate the current location of the terminal by using a GPS (Global Positioning System), and then identify the current location of the terminal to identify whether the current location of the terminal is in a public area.
  • GPS Global Positioning System
  • the current state of the terminal is detected to be in a public state.
  • the current location of the terminal is in the public area
  • the current user may be in a public area such as a work area or a shopping mall.
  • the current state of the terminal is detected to be in a public state.
  • the public area in this embodiment can be defined according to the needs of the user, and is not necessarily limited to an area with a relatively large number of people. For example, any place other than home can be set as a public area.
  • the current state of the terminal is detected to be in a privacy state.
  • step S301 identifies that the current location of the terminal is not in the public area
  • the current location of the identified terminal may be a private occasion such as a residential area.
  • the current state of the terminal is detected to be in a privacy state.
  • the embodiment of the present invention can accurately detect whether the current state of the terminal is in a privacy state or a public state by identifying whether the current location of the terminal is in a public area, so as to correctly select a corresponding password display mode.
  • FIG. 4 is a schematic flowchart of another method for determining a state of a terminal according to an embodiment of the present invention.
  • the method of the embodiment of the present invention may correspond to S101 in the foregoing embodiment of FIG. 1, and the method may include:
  • S401 Acquire a current surrounding image information of the terminal by using a camera, and determine whether a human face exists in the surrounding image information;
  • the terminal may acquire the current surrounding image information of the terminal through the camera, and determine whether there is a human face in the surrounding image information.
  • the surrounding image information may include image information captured by a rear camera and/or image information captured by a front camera.
  • the current state of the terminal is detected to be in a public state.
  • step S401 when it is determined that there is a presence in step S401, it is indicated that there are other people around the user. At this time, in order to improve the security of the input password, it may be determined that the current state of the terminal is in a public state, so that the password input is performed using the security mode.
  • step S401 when it is determined that there is no existence in step S401, it is indicated that there is no other person in the surrounding area of the user, that is, the password is not peeped by other people when inputting the password.
  • the current state of the terminal is Privacy status to facilitate password entry using display mode.
  • the embodiment of the present invention can accurately detect whether the current state of the terminal is in a privacy state or a public state by determining whether a human face exists in the surrounding image information, so as to correctly select a corresponding password display mode.
  • FIG. 5 is a schematic flowchart of another method for determining a state of a terminal according to an embodiment of the present invention.
  • the method of the embodiment of the present invention may correspond to S101 in the foregoing embodiment of FIG. 1, and the method may include:
  • S501 Acquire, by using a camera, current peripheral image information of the terminal, and determine whether a human face exists in the surrounding image information.
  • the terminal may acquire the current surrounding image information of the terminal through the camera, and determine whether there is a human face in the surrounding image information.
  • the surrounding image information may include image information captured by a rear camera and/or image information captured by a front camera.
  • the current state of the terminal is detected to be in a privacy state.
  • the determination in S501 is no, it means that there is no other person in the surrounding area of the user, that is, the password is not peeped by others when inputting the password. At this time, in order to improve the convenience of inputting the password, it may be determined that the current state of the terminal is in a privacy state. In order to use the display mode for password input.
  • the specific angle area may be an area of any angle selected by the user, for example, when the specific angle range is set to 10° to 80°, the specific angle area is a range of 10° to 80°, at this time, It is judged whether or not a human face exists in a range region of 10° to 80° in the surrounding image information.
  • the determination in S503 is YES, it indicates that there is another person in a specific angle area in front of or behind the user, and the person in the specific angle area is relatively easy to peek into the user's terminal interface. In this case, in order to improve the security of the input password. Sex, it can be determined that the current state of the terminal is in a public state, so that the security mode is used for password input.
  • the current state of the terminal is detected to be in a privacy state.
  • the determination in S503 is NO, it means that there is no other person in the specific angle area in front of or behind the user, that is, when the password is input, it is not easy to be peeped by other people.
  • the current terminal may be determined. The status is private so that you can use the display mode for password entry.
  • the embodiment of the present invention can further accurately detect whether the current state of the terminal is in a privacy state or a public state by determining whether a face exists in a specific angle region in the surrounding image information, so as to correctly select a corresponding password display mode.
  • FIG. 6 is a schematic flowchart of another method for determining a state of a terminal according to an embodiment of the present invention.
  • the method of the embodiment of the present invention may correspond to S101 in the foregoing embodiment of FIG. 1, and the method may include:
  • S601 Acquire a current ambient sound of the terminal, and determine whether the ambient sound exceeds a preset noise threshold.
  • the terminal may first obtain the current ambient sound of the terminal, and determine whether the ambient sound exceeds a preset noise threshold, and the noise threshold may be preset by the user.
  • the current state of the terminal is detected to be in a public state.
  • step S601 when the determination in step S601 is YES, it indicates that the current ambient sound of the terminal is noisy, that is, the user may be in a public place, and at this time, it may be determined that the current state of the terminal is in a public state.
  • the current state of the terminal is detected to be in a privacy state.
  • step S601 when the determination in step S601 is NO, it indicates that the current ambient sound of the terminal is relatively quiet, that is, the user may be in a home or private privacy situation. At this time, it may be determined that the current state of the terminal is in a privacy state.
  • the embodiment of the present invention can accurately detect whether the current state of the terminal is in a privacy state or a public state, so as to correctly select a corresponding password display mode.
  • FIG. 7 is a schematic structural diagram of a terminal 1 according to an embodiment of the present invention.
  • the terminal 1 may include: an acquisition detecting unit 10, a first determining unit 20, and a second determining unit 30;
  • the acquiring and detecting unit 10 is configured to acquire a current environmental parameter of the terminal, and detect a current state of the terminal according to the environmental parameter;
  • the environmental parameter includes at least one of a time, a location, surrounding image information, or an ambient sound.
  • the acquisition detecting unit 10 may first set a privacy state time range, and then acquire a current time of the terminal, and if the current time of the terminal is within the privacy state time range, the acquiring detection Unit 10 may determine that the current state of the terminal is in a privacy state, otherwise, determine that the current state of the terminal is in a public state.
  • the acquisition detecting unit 10 may first acquire the current location and identify whether the current location of the terminal is in the public area.
  • the acquisition detecting unit 10 may It is determined that the current state of the terminal is in a public state; otherwise, it is determined that the current state of the terminal is in a privacy state.
  • the acquisition detecting unit 10 may first acquire the current surrounding image information of the terminal, and determine whether there is a human face in a specific angle region in the surrounding image information, and if there is a human face, The acquisition detecting unit 10 may determine that the current state of the terminal is in a public state; otherwise, Make sure the current state of the terminal is in a privacy state.
  • the acquisition detecting unit 10 may first acquire the current ambient sound, and determine whether the ambient sound exceeds a preset noise threshold. If the noise threshold is exceeded, the acquisition detecting unit 10 It can be determined that the current state of the terminal is in a public state, otherwise, it is determined that the current state of the terminal is in a privacy state.
  • the acquisition detecting unit 10 may also detect the current state of the terminal by combining multiple environment parameters. For example, the acquisition detecting unit 10 combines the location and the ambient sound to detect the current state of the terminal. When the current location of the terminal is in the public area, and the current ambient sound of the terminal exceeds the noise threshold, the acquisition detecting unit 10 determines that the current state of the terminal is in a public state. Otherwise, it determines that the current state of the terminal is in a privacy state, so that the terminal can be more accurately detected.
  • the current environment parameters of the terminal may be more combinations of environmental parameters to accurately detect the current state of the terminal, which will not be repeated here.
  • the user Before the acquisition detection unit 10 acquires the current environment parameters of the terminal, the user may select which environment parameters to use as the environment parameters to be acquired. For example, if the user selects the time as the environment parameter to be acquired in the terminal interface, The acquisition detecting unit 10 may acquire the current time of the terminal when the password is input, to detect the current state of the terminal.
  • the first determining unit 20 is configured to: when detecting that the current state of the terminal is in a privacy state, the adjustment password is displayed as a display mode;
  • the first determining unit 20 can adjust the password display to the display mode, that is, when the password is input, the password is displayed in the input box in real time, so that the user can see all the password numbers input to improve the convenience.
  • the second determining unit 30 is configured to: when detecting that the current state of the terminal is in a public state, the adjustment password is displayed as a security mode;
  • the second determining unit 30 may adjust the password to be displayed in the security mode, that is, when the password is input, the password is input. Real-time conversion into the form of dots, or other shapes to mask the entered password numbers to provide security.
  • FIG. 8 is a schematic structural diagram of an acquisition and detection unit 10 according to an embodiment of the present invention.
  • the acquisition detection unit 10 may include: a time acquisition determination unit 101, a detecting unit 102, a position obtaining and identifying unit 103, a second detecting unit 104, an image obtaining determining unit 105, a third detecting unit 106, a sound acquiring determining unit 107, and a fourth detecting unit 108;
  • the time acquisition determining unit 101 is configured to acquire the current time of the terminal, and determine whether the current time of the terminal is within a preset privacy state time range;
  • the different time ranges may correspond to different manners for displaying passwords.
  • the correspondence may be set by the user in advance. For example, a user's daily working time is 9:00-18:00, because the user is in the The working time period will appear in various work places and public places, so the user can set the daily 9:00-18:00 time to the non-private state time range; the user's daily private time period is 19:00- At 24:00, since the user is generally in a private place such as home during a private time period, the user can set the daily 19:00-24:00 as the privacy status time range. Thereafter, the time acquisition determining unit 101 can obtain the current time of the terminal, and determine whether the current time of the terminal is within a preset privacy state time range.
  • the first detecting unit 102 is configured to: if the time acquisition determining unit 101 determines YES, it detects that the current state of the terminal is in a privacy state;
  • the first detecting unit 102 is further configured to: if the time acquisition determining unit 101 determines NO, it detects that the current state of the terminal is in a public state;
  • the location acquisition and identification unit 103 is configured to acquire a current location of the terminal, and identify whether the current location of the terminal is in a public area.
  • the location acquisition and identification unit 103 may locate the current location of the terminal by using the GPS, and then identify the current location of the terminal to identify whether the current location of the terminal is in a public area.
  • the public area in this embodiment can be defined according to the needs of the user, and is not necessarily limited to an area with a relatively large number of people. For example, any place other than home can be set as a public area.
  • the second detecting unit 104 is configured to: if the location obtaining and identifying unit 103 identifies that the current location of the terminal is in a public area, detecting that the current state of the terminal is in a public state;
  • the second detecting unit 104 is further configured to: if the location obtaining and identifying unit 103 identifies that the current location of the terminal is not in the public area, detecting that the current state of the terminal is in a privacy state;
  • the location acquisition and identification unit 103 recognizes that the current location of the terminal is not in the public area, the current location of the terminal identified by the location acquisition and identification unit 103 may be a private location such as a residential area.
  • the second detecting unit 104 will detect that the current state of the terminal is hidden. Private status.
  • the image acquisition determining unit 105 is configured to acquire, by using a camera, current peripheral image information of the terminal, and determine whether a human face exists in the surrounding image information;
  • the image acquisition determining unit 105 may acquire the current surrounding image information of the terminal through the camera, and determine whether there is a human face in the surrounding image information.
  • the surrounding image information may include image information captured by a rear camera and/or image information captured by a front camera.
  • the third detecting unit 106 is configured to detect that the current state of the terminal is in a public state if it is determined that there is a human face;
  • the third detecting unit 106 may determine that the current state of the terminal is in the public. Status to facilitate password entry using Safe Mode.
  • the third detecting unit 106 is further configured to: if it is determined that there is no human face, detecting that the current state of the terminal is in a privacy state;
  • the third detecting unit 106 can determine that the current state of the terminal is in a privacy state, so as to perform password input using the display mode.
  • the sound acquisition determining unit 107 is configured to acquire a current ambient sound of the terminal, and determine whether the ambient sound exceeds a preset noise threshold;
  • the sound acquisition determining unit 107 may first acquire the current ambient sound of the terminal, and determine whether the ambient sound exceeds a preset noise threshold, and the noise threshold may be preset by the user.
  • the fourth detecting unit 108 is configured to detect that the current state of the terminal is in a public state if the sound acquiring determining unit 107 determines YES;
  • the sound acquisition determining unit 107 determines that the sound is YES
  • the current ambient sound of the terminal is relatively noisy, that is, the user may be in a public place.
  • the fourth detecting unit 108 may determine that the current state of the terminal is Public status.
  • the fourth detecting unit 108 is further configured to: if the sound acquiring determining unit 107 determines that it is no, Then detecting that the current state of the terminal is in a privacy state;
  • the sound acquisition determining unit 107 determines that the answer is NO, it indicates that the current ambient sound of the terminal is relatively quiet, that is, the user may be in a private home.
  • the fourth detecting unit 108 may determine the current state of the terminal. In a state of privacy.
  • FIG. 9 is a schematic structural diagram of an image acquisition determining unit 105 according to an embodiment of the present invention.
  • the image obtaining determining unit 105 may include: a first human face determining unit 1051 and a second human face determining unit. Unit 1052;
  • the first human face determining unit 1051 is configured to acquire, by using a camera, current peripheral image information of the terminal, and determine whether a human face exists in the surrounding image information;
  • the first human face determining unit 1051 can acquire the current surrounding image information of the terminal through the camera, and determine whether there is a human face in the surrounding image information.
  • the surrounding image information may include image information captured by a rear camera and/or image information captured by a front camera.
  • the second face determining unit 1052 is configured to further determine whether a face exists in a specific angle region in the surrounding image information if the first face determining unit 1051 determines YES;
  • the second human face determining unit 1052 may further determine whether a human face exists in a specific angular region in the surrounding image information.
  • the specific angle area may be an area of any angle selected by the user, for example, when the specific angle range is set to 10° to 80°, the specific angle area is a range of 10° to 80°, at this time, It is judged whether or not a human face exists in a range region of 10° to 80° in the surrounding image information.
  • the third detecting unit 106 may detect that the current state of the terminal is in a privacy state. If the second face determining unit 1052 determines YES, the third detecting unit 106 may detect that the current state of the terminal is in a public state; if the second face determining unit 1052 determines NO, the third detecting Unit 106 can detect that the current state of the terminal is in a privacy state.
  • the embodiment of the present invention can detect that the current state of the terminal is in a privacy state or in a public state, and determine a corresponding password display mode according to the current state of the terminal, so that the user can determine the current selection operation without the user performing a manual selection operation.
  • Password display mode with the password determined Display mode for password input, display different modes according to different scenes, more intelligent.
  • FIG. 10 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal includes at least one processor 1001, such as a CPU, at least one user interface 1003, a memory 1004, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display and a keyboard.
  • the optional user interface 1003 can also include a standard wired interface and a wireless interface.
  • the memory 1004 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1004 can also optionally be at least one storage device located remotely from the aforementioned processor 1001.
  • the processor 1001 can be combined with the terminal described in FIG. 7 to FIG. 9, a program code is stored in the memory 1004, and the processor 1001 calls the program code stored in the memory 1004 for performing the following operations:
  • the adjustment password is displayed in the display mode
  • the adjustment password is displayed as the security mode.
  • the environmental parameter includes at least one of a time, a location, surrounding image information, or an ambient sound.
  • the processor 1001 calls the program code stored in the memory 1004 to detect the current state of the terminal, which may be specifically:
  • the processor 1001 calls the program code stored in the memory 1004 to detect the current state of the terminal, which may be specifically:
  • the processor 1001 calls the program code stored in the memory 1004 to detect the current state of the terminal, which may be specifically:
  • the processor 1001 calls the program code stored in the memory 1004 to determine whether there is a human face in the surrounding image information, which may be:
  • the current state of the terminal is detected to be in a privacy state
  • the processor 1001 calls the program code stored in the memory 1004 to detect the current state of the terminal, which may be specifically:
  • the terminal introduced in this embodiment may be used to implement some or all of the processes in the embodiment of the display method of the password input introduced in conjunction with FIG. 1 to FIG.
  • the unit in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种密码输入的显示方法以及终端,其中,所述方法包括:获取终端当前的环境参数,并根据所述环境参数检测终端当前状态(S101);当检测到终端当前状态处于隐私状态时(S102),调整密码显示为显示模式(S103);当检测到终端当前状态处于公共状态时(S102),调整密码显示为安全模式(S104)。该显示方法及终端可智能切换密码显示方式,使输入密码的过程变得简洁、方便。

Description

一种密码输入的显示方法以及终端
本申请要求于2014年7月8日提交中国专利局、申请号为201410322924.3,发明名称为“一种密码输入的显示方法”的中国专利申请的优先权,同时本申请要求于2014年7月8日提交中国专利局、申请号为201410323381.7,发明名称为“一种终端”的中国专利申请的优先权,以上全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子技术领域,尤其涉及一种密码输入的显示方法以及终端。
背景技术
随着智能手机的发展,密码的使用场景也从最初的各种终端转入智能手机移动设备中,在智能手机中输入密码时,为了保证安全,一般将所输入的密码实时的转换成圆点的形式,以掩盖所输入的密码数字。
现有技术中,在默认采用安全模式的同时,可以在界面中出现一个密码显示方式的勾选框,通过用户的选择操作,可以将当前的安全模式切换为显示模式。但是在不同的使用场景,用户可能会经常需要手动进行选择操作以切换密码显示方式,使得输入密码的过程变得不够简洁、方便,且不够智能性。
发明内容
本发明实施例提供一种密码输入的显示方法以及终端,可智能切换密码显示方式,使输入密码的过程变得简洁、方便。
本发明实施例提供了一种密码输入的显示方法,包括:
获取终端当前的环境参数,并根据所述环境参数检测终端当前状态;
当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式;
当检测到终端当前状态处于公共状态时,调整密码显示为安全模式。
本发明实施例提供了一种终端,包括:
获取检测单元,用于获取终端当前的环境参数,并根据所述环境参数检测 终端当前状态;
第一确定单元,用于当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式;
第二确定单元,用于当检测到终端当前状态处于公共状态时,调整密码显示为安全模式。
本发明实施例通过获取环境参数可以检测出终端当前状态是处于隐私状态,或是处于公共状态,并根据终端当前状态确定出对应的密码显示模式,从而无需用户进行手动选择操作,即可确定出密码显示模式,并以所确定的密码显示模式进行密码输入,根据不通的场景显示不同的模式,更加智能。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种密码输入的显示方法的流程示意图;
图2是本发明实施例提供的其中一种确定终端状态的方法的流程示意图;
图3是本发明实施例提供的其中另一种确定终端状态的方法的流程示意图;
图4是本发明实施例提供的其中又一种确定终端状态的方法的流程示意图;
图5是本发明实施例提供的其中又一种确定终端状态的方法的流程示意图;
图6是本发明实施例提供的其中又一种确定终端状态的方法的流程示意图;
图7是本发明实施例提供的一种终端的结构示意图;
图8是本发明实施例提供的一种获取检测单元的结构示意图;
图9是本发明实施例提供的一种图像获取判断单元的结构示意图;
图10是本发明实施例提供的另一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参见图1,是本发明实施例提供的一种密码输入的显示方法的流程示意图,所述方法可以包括:
S101,获取终端当前的环境参数,并根据所述环境参数检测终端当前状态;
具体的,所述环境参数至少包括时间、位置、周围图像信息或者环境声音中的一种或多种。当所述环境参数为时间时,终端可以先设定隐私状态时间范围,再获取终端当前的时间,若终端当前的时间处于所述隐私状态时间范围内,则可以确定终端当前状态处于隐私状态,否则,确定终端当前状态处于公共状态。当所述环境参数为位置时,终端可以先获取当前的位置,并识别所述终端当前的位置是否处于公共区域,若识别出处于公共区域,则可以确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态。当所述环境参数为周围图像信息时,终端可以先获取终端当前的周围图像信息,并判断所述周围图像信息中的特定角度区域中是否存在人脸,若存在人脸,则可以确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态。当所述环境参数为环境声音时,终端可以先获取当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值,若超过噪音阈值,则可以确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态。
其中,终端也可以结合多个环境参数对所述终端当前状态进行检测,例如,结合位置和环境声音以检测终端当前状态,此时,可以在识别出终端当前的位置处于公共区域,且终端当前的环境声音超过噪音阈值时,才确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态,这样可以更加准确的检测出终端当前的环境参数。当然还可以有更多种环境参数的组合,以准确检测出终端当前状态,这里不再一一赘述。
在获取终端当前的环境参数之前,可以由用户选择将哪些环境参数作为需 要获取的环境参数,例如,若用户在终端界面中选择了以时间作为需要获取的环境参数,则终端可以在输入密码时获取终端当前的时间,以检测出终端当前状态。
S102,判断所检测到的终端当前状态是否处于隐私状态;
S103,调整密码显示为显示模式;
具体的,当S102判断为是时,即当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式。当检测到终端当前状态处于隐私状态时,说明用户当前处于较为隐私的地方,例如,在家中。因此,可以调整密码显示为显示模式,即在输入密码时,密码实时显示在输入框中,使用户可以看到所输入的所有密码数字,以提高便捷性。
S104,调整密码显示为安全模式;
具体的,当S102判断为否时,即当检测到终端当前状态处于公共状态时,调整密码显示为安全模式。当检测到终端当前状态处于公共状态时,说明用户当前可能处于公共场合,因此,可以调整密码显示为安全模式,即在输入密码时,将所输入的密码实时的转换成圆点的形式,或其他形状,以掩盖所输入的密码数字,以提供安全性。
本发明实施例通过获取环境参数可以检测出终端当前状态是处于隐私状态,或是处于公共状态,并根据终端当前状态确定出对应的密码显示模式,从而无需用户进行手动选择操作,即可确定出密码显示模式,并以所确定的密码显示模式进行密码输入,根据不通的场景显示不同的模式,更加智能。
进一步的,再请参见图2,是本发明实施例提供的其中一种确定终端状态的方法的流程示意图。本发明实施例的方法可对应于上述图1对应实施例中的S101,所述方法可以包括:
S201,获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内;
具体的,不同的时间范围可以对应不同的显示密码的方式,这种对应关系可以由用户预先进行设置,例如,某个用户每天的工作时间段为9:00-18:00,由于该用户在工作时间段中会出现在各种工作场合以及公共场合中,所以该用户可以将每天的9:00-18:00设置为非隐私状态时间范围;该用户每天的私人 时间段为19:00-24:00,由于用户在私人时间段中一般会处于家里等私密场合中,所以该用户可以将每天的19:00-24:00设置为隐私状态时间范围。此后,终端可以获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内。
S202,检测到终端当前状态处于隐私状态;
具体的,当S201步骤判断为是时,说明当前的时间处于预设的隐私状态时间范围内,可以确定终端当前状态处于隐私状态。
S203,检测到终端当前状态处于公共状态;
具体的,当S201步骤判断为否时,说明当前的时间不处于预设的隐私状态时间范围内,可以确定终端当前状态处于公共状态。
本发明实施例通过判断当前时间是否处于预设的隐私状态时间范围内,可以很快的检测出终端当前状态是处于隐私状态,还是公共状态,以便于正确选择对应的密码显示模式。
进一步的,再请参见图3,是本发明实施例提供的其中另一种确定终端状态的方法的流程示意图。本发明实施例的方法可对应于上述图1对应实施例中的S101,所述方法可以包括:
S301,获取终端当前的位置,并识别所述终端当前的位置是否处于公共区域;
具体的,终端可以通过GPS(Global Positioning System,全球定位***)定位终端当前的位置,再对终端当前的位置进行识别,以识别所述终端当前的位置是否处于公共区域。
S302,检测到终端当前状态处于公共状态;
具体的,若步骤S301识别出所述终端当前的位置处于公共区域,说明当前用户可能处于工作区域、商场等公共场合中,此时,将检测到终端当前状态处于公共状态。本实施例中的公共区域,可以根据用户的需要来定义,并不一定限制在人数比较多的区域,例如,可以将除在家以外的任何地方,都设定成公共区域。
S303,检测到终端当前状态处于隐私状态;
具体的,若步骤S301识别出所述终端当前的位置不处于公共区域,说明 识别出的终端当前的位置可能为住宅区等私密场合,此时,将检测到终端当前状态处于隐私状态。
本发明实施例通过识别终端当前的位置是否处于公共区域,可以准确地检测出终端当前状态是处于隐私状态,还是公共状态,以便于正确选择对应的密码显示模式。
进一步的,再请参见图4,是本发明实施例提供的其中又一种确定终端状态的方法的流程示意图。本发明实施例的方法可对应于上述图1对应实施例中的S101,所述方法可以包括:
S401,通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
具体的,终端可以通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸。其中,所述周围图像信息可以包括后置摄像头所拍摄到的图像信息和/或前置摄像头所拍摄到的图像信息。
S402,检测到终端当前状态处于公共状态;
具体的,在步骤S401判断为存在时,说明用户周围存在其他人,此时,为了提高输入密码的安全性,可以确定终端当前状态处于公共状态,以便于使用安全模式进行密码输入。
S403,检测到终端当前状态处于隐私状态。
具体的,在步骤S401判断为不存在时,说明用户周围区域中不存在其他人,即输入密码时不会被其他人窥视,此时,为了提高输入密码的便捷性,可以确定终端当前状态处于隐私状态,以便于使用显示模式进行密码输入。
本发明实施例通过判断周围图像信息中是否存在人脸,可以准确地检测出终端当前状态是处于隐私状态,还是公共状态,以便于正确选择对应的密码显示模式。
进一步的,再请参见图5,是本发明实施例提供的其中又一种确定终端状态的方法的流程示意图。本发明实施例的方法可对应于上述图1对应实施例中的S101,所述方法可以包括:
S501,通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
具体的,终端可以通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸。其中,所述周围图像信息可以包括后置摄像头所拍摄到的图像信息和/或前置摄像头所拍摄到的图像信息。
S502,检测到终端当前状态处于隐私状态;
具体的,若S501判断为否,说明用户周围区域中不存在其他人,即输入密码时不会被其他人窥视,此时,为了提高输入密码的便捷性,可以确定终端当前状态处于隐私状态,以便于使用显示模式进行密码输入。
S503,判断所述周围图像信息中的特定角度区域中是否存在人脸;
具体的,若S501判断为是,可以进一步判断所述周围图像信息中的特定角度区域中是否存在人脸。其中,所述特定角度区域可以为用户选择的任意角度的区域,例如,将特定角度范围设置为10°至80°,则所述特定角度区域为10°至80°的范围区域,此时,将判断所述周围图像信息中10°至80°的范围区域中是否存在人脸。
S504,检测到终端当前状态处于公共状态;
具体的,当S503判断为是,说明用户前方或后方的特定角度区域内存在其他人,且在该特定角度区域内的人比较容易窥视到用户的终端界面,此时,为了提高输入密码的安全性,可以确定终端当前状态处于公共状态,以便于使用安全模式进行密码输入。
S505,检测到终端当前状态处于隐私状态;
具体的,当S503判断为否,说明用户前方或后方的特定角度区域内不存在其他人,即输入密码时不容易被其他人窥视,此时,为了提高输入密码的便捷性,可以确定终端当前状态处于隐私状态,以便于使用显示模式进行密码输入。
本发明实施例通过判断周围图像信息中的特定角度区域中是否存在人脸,可以进一步准确地检测出终端当前状态是处于隐私状态,还是公共状态,以便于正确选择对应的密码显示模式。
进一步的,再请参见图6,是本发明实施例提供的其中又一种确定终端状态的方法的流程示意图。本发明实施例的方法可对应于上述图1对应实施例中的S101,所述方法可以包括:
S601,获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值;
具体的,终端在输入密码时,可以先获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值,所述噪音阈值可以为用户预先设置的。
S602,检测到终端当前状态处于公共状态;
具体的,在步骤S601判断为是时,说明终端当前的环境声音比较吵杂,即说明用户可能处于公共场合,此时,可以确定终端当前状态处于公共状态。
S603,检测到终端当前状态处于隐私状态;
具体的,在步骤S601判断为否时,说明终端当前的环境声音比较安静,即说明用户可能处于家中等私密场合,此时,可以确定终端当前状态处于隐私状态。
本发明实施例通过判断环境声音是否超过预设的噪音阈值,可以准确地检测出终端当前状态是处于隐私状态,还是公共状态,以便于正确选择对应的密码显示模式。
请参见图7,是本发明实施例提供的一种终端1的结构示意图,所述终端1可以包括:获取检测单元10、第一确定单元20、第二确定单元30;
所述获取检测单元10,用于获取终端当前的环境参数,并根据所述环境参数检测终端当前状态;
具体的,所述环境参数至少包括时间、位置、周围图像信息或者环境声音中的一种或多种。当所述环境参数为时间时,所述获取检测单元10可以先设定隐私状态时间范围,再获取终端当前的时间,若终端当前的时间处于所述隐私状态时间范围内,则所述获取检测单元10可以确定终端当前状态处于隐私状态,否则,确定终端当前状态处于公共状态。当所述环境参数为位置时,所述获取检测单元10可以先获取当前的位置,并识别所述终端当前的位置是否处于公共区域,若识别出处于公共区域,则所述获取检测单元10可以确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态。当所述环境参数为周围图像信息时,所述获取检测单元10可以先获取终端当前的周围图像信息,并判断所述周围图像信息中的特定角度区域中是否存在人脸,若存在人脸,则所述获取检测单元10可以确定终端当前状态处于公共状态,否则, 确定终端当前状态处于隐私状态。当所述环境参数为环境声音时,所述获取检测单元10可以先获取当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值,若超过噪音阈值,则所述获取检测单元10可以确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态。
其中,所述获取检测单元10也可以结合多个环境参数对所述终端当前状态进行检测,例如,所述获取检测单元10结合位置和环境声音以检测终端当前状态,此时,可以在识别出终端当前的位置处于公共区域,且终端当前的环境声音超过噪音阈值时,所述获取检测单元10才确定终端当前状态处于公共状态,否则,确定终端当前状态处于隐私状态,这样可以更加准确的检测出终端当前的环境参数。当然还可以有更多种环境参数的组合,以准确检测出终端当前状态,这里不再一一赘述。
在所述获取检测单元10获取终端当前的环境参数之前,可以由用户选择将哪些环境参数作为需要获取的环境参数,例如,若用户在终端界面中选择了以时间作为需要获取的环境参数,则所述获取检测单元10可以在输入密码时获取终端当前的时间,以检测出终端当前状态。
所述第一确定单元20,用于当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式;
具体的,当检测到终端当前状态处于隐私状态时,说明用户当前处于较为隐私的地方,例如,在家中。因此,所述第一确定单元20可以调整密码显示为显示模式,即在输入密码时,密码实时显示在输入框中,使用户可以看到所输入的所有密码数字,以提高便捷性。
所述第二确定单元30,用于当检测到终端当前状态处于公共状态时,调整密码显示为安全模式;
具体的,当检测到终端当前状态处于公共状态时,说明用户当前可能处于公共场合,因此,所述第二确定单元30可以调整密码显示为安全模式,即在输入密码时,将所输入的密码实时的转换成圆点的形式,或其他形状,以掩盖所输入的密码数字,以提供安全性。
进一步的,再请参见图8,是本发明实施例提供的一种获取检测单元10的结构示意图,所述获取检测单元10可以包括:时间获取判断单元101、第 一检测单元102、位置获取识别单元103、第二检测单元104、图像获取判断单元105、第三检测单元106、声音获取判断单元107、第四检测单元108;
所述时间获取判断单元101,用于获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内;
具体的,不同的时间范围可以对应不同的显示密码的方式,这种对应关系可以由用户预先进行设置,例如,某个用户每天的工作时间段为9:00-18:00,由于该用户在工作时间段中会出现在各种工作场合以及公共场合中,所以该用户可以将每天的9:00-18:00设置为非隐私状态时间范围;该用户每天的私人时间段为19:00-24:00,由于用户在私人时间段中一般会处于家里等私密场合中,所以该用户可以将每天的19:00-24:00设置为隐私状态时间范围。此后,所述时间获取判断单元101可以获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内。
所述第一检测单元102,用于若所述时间获取判断单元101判断为是,则检测到终端当前状态处于隐私状态;
所述第一检测单元102,还用于若所述时间获取判断单元101判断为否,则检测到终端当前状态处于公共状态;
所述位置获取识别单元103,用于获取终端当前的位置,并识别所述终端当前的位置是否处于公共区域;
具体的,所述位置获取识别单元103可以通过GPS定位终端当前的位置,再对终端当前的位置进行识别,以识别所述终端当前的位置是否处于公共区域。本实施例中的公共区域,可以根据用户的需要来定义,并不一定限制在人数比较多的区域,例如,可以将除在家以外的任何地方,都设定成公共区域。
所述第二检测单元104,用于若所述位置获取识别单元103识别所述终端当前位置处于公共区域,则检测到终端当前状态处于公共状态;
所述第二检测单元104,还用于若所述位置获取识别单元103识别所述终端当前位置不处于公共区域,则检测到终端当前状态处于隐私状态;
具体的,若所述位置获取识别单元103识别出所述终端当前的位置不处于公共区域,说明所述位置获取识别单元103识别出的终端当前的位置可能为住宅区等私密场合,此时,所述第二检测单元104将检测到终端当前状态处于隐 私状态。
所述图像获取判断单元105,用于通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
具体的,所述图像获取判断单元105可以通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸。其中,所述周围图像信息可以包括后置摄像头所拍摄到的图像信息和/或前置摄像头所拍摄到的图像信息。
所述第三检测单元106,用于若判断为存在人脸,则检测到终端当前状态处于公共状态;
具体的,在所述图像获取判断单元105判断为存在时,说明用户周围区域中存在其他人,此时,为了提高输入密码的安全性,所述第三检测单元106可以确定终端当前状态处于公共状态,以便于使用安全模式进行密码输入。
所述第三检测单元106,还用于若判断为不存在人脸,则检测到终端当前状态处于隐私状态;
具体的,在所述图像获取判断单元105判断为不存在时,说明用户周围区域中不存在其他人,即输入密码时不会被其他人窥视,此时,为了提高输入密码的便捷性,所述第三检测单元106可以确定终端当前状态处于隐私状态,以便于使用显示模式进行密码输入。
所述声音获取判断单元107,用于获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值;
具体的,终端在输入密码时,所述声音获取判断单元107可以先获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值,所述噪音阈值可以为用户预先设置的。
所述第四检测单元108,用于若所述声音获取判断单元107判断为是,则检测到终端当前状态处于公共状态;
具体的,在所述声音获取判断单元107判断为是时,说明终端当前的环境声音比较吵杂,即说明用户可能处于公共场合,此时,所述第四检测单元108可以确定终端当前状态处于公共状态。
所述第四检测单元108,还用于若所述声音获取判断单元107判断为否, 则检测到终端当前状态处于隐私状态;
具体的,在所述声音获取判断单元107判断为否时,说明终端当前的环境声音比较安静,即说明用户可能处于家中等私密场合,此时,所述第四检测单元108可以确定终端当前状态处于隐私状态。
进一步的,再请参见图9,是本发明实施例提供的一种图像获取判断单元105的结构示意图,所述图像获取判断单元105可以包括:第一人脸判断单元1051、第二人脸判断单元1052;
所述第一人脸判断单元1051,用于通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
具体的,所述第一人脸判断单元1051可以通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸。其中,所述周围图像信息可以包括后置摄像头所拍摄到的图像信息和/或前置摄像头所拍摄到的图像信息。
所述第二人脸判断单元1052,用于若所述第一人脸判断单元1051判断为是,则进一步判断所述周围图像信息中的特定角度区域中是否存在人脸;
具体的,若所述第一人脸判断单元1051判断为是,所述第二人脸判断单元1052可以进一步判断所述周围图像信息中的特定角度区域中是否存在人脸。其中,所述特定角度区域可以为用户选择的任意角度的区域,例如,将特定角度范围设置为10°至80°,则所述特定角度区域为10°至80°的范围区域,此时,将判断所述周围图像信息中10°至80°的范围区域中是否存在人脸。
其中,若所述第一人脸判断单元1051判断为否,所述第三检测单元106可以检测到终端当前状态处于隐私状态。若所述第二人脸判断单元1052判断为是,所述第三检测单元106可以检测到终端当前状态处于公共状态;若所述第二人脸判断单元1052判断为否,所述第三检测单元106可以检测到终端当前状态处于隐私状态。
本发明实施例通过获取环境参数可以检测出终端当前状态是处于隐私状态,或是处于公共状态,并根据终端当前状态确定出对应的密码显示模式,从而无需用户进行手动选择操作,即可确定出密码显示模式,并以所确定的密码 显示模式进行密码输入,根据不通的场景显示不同的模式,更加智能。
再请参见图10,是本发明实施例提供的另一种终端的结构示意图。如图10所示,该终端包括:至少一个处理器1001,例如CPU,至少一个用户接口1003,存储器1004,至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏(Display)、键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。存储器1004可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1004可选的还可以是至少一个位于远离前述处理器1001的存储装置。其中处理器1001可以结合图7至图9所描述的终端,存储器1004中存储一组程序代码,且处理器1001调用存储器1004中存储的程序代码,用于执行以下操作:
获取终端当前的环境参数,并根据所述环境参数检测终端当前状态;
当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式;
当检测到终端当前状态处于公共状态时,调整密码显示为安全模式。
其中,所述环境参数至少包括时间、位置、周围图像信息或者环境声音中的一种或多种。
在可选实施例中,处理器1001调用存储器1004中存储的程序代码检测终端当前状态,具体可以为:
获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内;
若判断为是,则检测到终端当前状态处于隐私状态;
若判断为否,则检测到终端当前状态处于公共状态。
在可选实施例中,处理器1001调用存储器1004中存储的程序代码检测终端当前状态,具体可以为:
获取终端当前的位置,并识别所述终端当前的位置是否处于公共区域;
若识别所述终端当前位置处于公共区域,则检测到终端当前状态处于公共状态;
若识别所述终端当前位置不处于公共区域,则检测到终端当前状态处于隐私状态。
在可选实施例中,处理器1001调用存储器1004中存储的程序代码检测终端当前状态,具体可以为:
通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
若判断为存在人脸,则检测到终端当前状态处于公共状态;
若判断为不存在人脸,则检测到终端当前状态处于隐私状态。
在可选实施例中,处理器1001调用存储器1004中存储的程序代码判断所述周围图像信息中是否存在人脸,具体可以为:
通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
若判断为否,则检测到终端当前状态处于隐私状态;
若判断为是,则进一步判断所述周围图像信息中的特定角度区域中是否存在人脸。
在可选实施例中,处理器1001调用存储器1004中存储的程序代码检测终端当前状态,具体可以为:
获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值;
若判断为是,则检测到终端当前状态处于公共状态;
若判断为否,则检测到终端当前状态处于隐私状态。
具体的,本实施例中介绍的终端可以用以实施本发明结合图1至图6介绍的密码输入的显示方法实施例中的部分或全部流程。
本发明实施例中所述单元,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (14)

  1. 一种密码输入的显示方法,其特征在于,包括:
    获取终端当前的环境参数,并根据所述环境参数检测终端当前状态;
    当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式;
    当检测到终端当前状态处于公共状态时,调整密码显示为安全模式。
  2. 如权利要求1所述的方法,其特征在于,
    所述环境参数至少包括时间、位置、周围图像信息或者环境声音中的一种或多种。
  3. 如权利要求1或2所述的方法,其特征在于,所述获取终端当前的环境参数,并根据所述环境参数检测终端当前状态包括:
    获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内;
    若判断为是,则检测到终端当前状态处于隐私状态;
    若判断为否,则检测到终端当前状态处于公共状态。
  4. 如权利要求1或2所述的方法,其特征在于,所述获取终端当前的环境参数,并根据所述环境参数检测终端当前状态包括:
    获取终端当前的位置,并识别所述终端当前的位置是否处于公共区域;
    若识别所述终端当前位置处于公共区域,则检测到终端当前状态处于公共状态;
    若识别所述终端当前位置不处于公共区域,则检测到终端当前状态处于隐私状态。
  5. 如权利要求1或2所述的方法,其特征在于,所述获取终端当前的环境参数,并根据所述环境参数检测终端当前状态包括:
    通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是 否存在人脸;
    若判断为存在人脸,则检测到终端当前状态处于公共状态;
    若判断为不存在人脸,则检测到终端当前状态处于隐私状态。
  6. 如权利要求5所述的方法,其特征在于,所述通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸,包括:
    通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
    若判断为否,则检测到终端当前状态处于隐私状态;
    若判断为是,则进一步判断所述周围图像信息中的特定角度区域中是否存在人脸。
  7. 如权利要求1或2所述的方法,其特征在于,所述获取终端当前的环境参数,并根据所述环境参数检测终端当前状态包括:
    获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值;
    若判断为是,则检测到终端当前状态处于公共状态;
    若判断为否,则检测到终端当前状态处于隐私状态。
  8. 一种终端,其特征在于,包括:
    获取检测单元,用于获取终端当前的环境参数,并根据所述环境参数检测终端当前状态;
    第一确定单元,用于当检测到终端当前状态处于隐私状态时,调整密码显示为显示模式;
    第二确定单元,用于当检测到终端当前状态处于公共状态时,调整密码显示为安全模式。
  9. 如权利要求8所述的终端,其特征在于,
    所述环境参数至少包括时间、位置、周围图像信息或者环境声音中的一种 或多种。
  10. 如权利要求8或9所述的终端,其特征在于,所述获取检测单元包括:
    时间获取判断单元,用于获取终端当前的时间,并判断所述终端当前的时间是否处于预设的隐私状态时间范围内;
    第一检测单元,用于若所述时间获取判断单元判断为是,则检测到终端当前状态处于隐私状态;
    所述第一检测单元,还用于若所述时间获取判断单元判断为否,则检测到终端当前状态处于公共状态。
  11. 如权利要求8或9所述的终端,其特征在于,所述获取检测单元包括:
    位置获取识别单元,用于获取终端当前的位置,并识别所述终端当前的位置是否处于公共区域;
    第二检测单元,用于若所述位置获取识别单元识别所述终端当前位置处于公共区域,则检测到终端当前状态处于公共状态;
    所述第二检测单元,还用于若所述位置获取识别单元识别所述终端当前位置不处于公共区域,则检测到终端当前状态处于隐私状态。
  12. 如权利要求8或9所述的终端,其特征在于,所述获取检测单元包括:
    图像获取判断单元,用于通过摄像头获取终端当前的周围图像信息,并判断所述周围图像信息中是否存在人脸;
    第三检测单元,用于若判断为存在人脸,则检测到终端当前状态处于公共状态;
    所述第三检测单元,还用于若判断为不存在人脸,则检测到终端当前状态处于隐私状态。
  13. 如权利要求12所述的终端,其特征在于,所述图像获取判断单元包括:
    第一人脸判断单元,用于通过摄像头获取终端当前的周围图像信息,并判 断所述周围图像信息中是否存在人脸;
    第二人脸判断单元,用于若所述第一人脸判断单元判断为是,则进一步判断所述周围图像信息中的特定角度区域中是否存在人脸。
  14. 如权利要求8或9所述的终端,其特征在于,所述获取检测单元包括:
    声音获取判断单元,用于获取终端当前的环境声音,并判断所述环境声音是否超过预设的噪音阈值;
    第四检测单元,用于若所述声音获取判断单元判断为是,则检测到终端当前状态处于公共状态;
    所述第四检测单元,还用于若所述声音获取判断单元判断为否,则检测到终端当前状态处于隐私状态。
PCT/CN2015/083568 2014-07-08 2015-07-08 一种密码输入的显示方法以及终端 WO2016004871A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201410323381.7A CN104091128B (zh) 2014-07-08 2014-07-08 一种终端
CN201410322924.3A CN104077520B (zh) 2014-07-08 2014-07-08 一种密码输入的显示方法
CN201410323381.7 2014-07-08
CN201410322924.3 2014-07-08

Publications (1)

Publication Number Publication Date
WO2016004871A1 true WO2016004871A1 (zh) 2016-01-14

Family

ID=55063591

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083568 WO2016004871A1 (zh) 2014-07-08 2015-07-08 一种密码输入的显示方法以及终端

Country Status (1)

Country Link
WO (1) WO2016004871A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067385A1 (en) * 2011-09-12 2013-03-14 Microsoft Corporation Password reveal selector
CN103714301A (zh) * 2012-10-09 2014-04-09 腾讯科技(深圳)有限公司 密码输入方法和装置
CN103729363A (zh) * 2012-10-12 2014-04-16 上海聚力传媒技术有限公司 利用用户软硬件环境提供个性化视频服务的方法及装置
CN104077520A (zh) * 2014-07-08 2014-10-01 深圳市金立通信设备有限公司 一种密码输入的显示方法
CN104091128A (zh) * 2014-07-08 2014-10-08 深圳市金立通信设备有限公司 一种终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067385A1 (en) * 2011-09-12 2013-03-14 Microsoft Corporation Password reveal selector
CN103714301A (zh) * 2012-10-09 2014-04-09 腾讯科技(深圳)有限公司 密码输入方法和装置
CN103729363A (zh) * 2012-10-12 2014-04-16 上海聚力传媒技术有限公司 利用用户软硬件环境提供个性化视频服务的方法及装置
CN104077520A (zh) * 2014-07-08 2014-10-01 深圳市金立通信设备有限公司 一种密码输入的显示方法
CN104091128A (zh) * 2014-07-08 2014-10-08 深圳市金立通信设备有限公司 一种终端

Similar Documents

Publication Publication Date Title
US9953506B2 (en) Alarming method and device
US10129044B2 (en) Method and apparatus for controlling smart device
CN104091128B (zh) 一种终端
US10452890B2 (en) Fingerprint template input method, device and medium
EP3177077A1 (en) Method and device for network access
EP3136698B1 (en) Connection status prompting method and device
US20170091551A1 (en) Method and apparatus for controlling electronic device
EP2927787B1 (en) Method and device for displaying picture
US10102505B2 (en) Server-implemented method, terminal-implemented method and device for acquiring business card information
EP3041206A1 (en) Method and device for displaying notification information
WO2017147961A1 (zh) 一种反馈触摸屏按压力度的方法、装置和终端
WO2016041340A1 (zh) 一种提示方法及移动终端
JP2016531361A (ja) 画像分割方法、画像分割装置、画像分割デバイス、プログラム及び記録媒体
EP3163404A1 (en) Method and device for preventing accidental touch of terminal with touch screen
EP3076632A2 (en) Method and apparatus for accessing a network
US20180061423A1 (en) Friend addition method, device and medium
EP3024211A1 (en) Method and device for announcing voice call
CN105301183B (zh) 空气质量检测方法和装置
EP3048508A1 (en) Methods, apparatuses and devices for transmitting data
WO2015196715A1 (zh) 图像重定位方法、装置及终端
CN107148614B (zh) 信息处理设备、信息处理方法和程序
CN104503657B (zh) 图像处理方法及装置
EP3438924B1 (en) Method and device for processing picture
CN104077520B (zh) 一种密码输入的显示方法
US9665925B2 (en) Method and terminal device for retargeting images

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

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

Country of ref document: EP

Kind code of ref document: A1