WO2018176997A1 - Method, apparatus and terminal for displaying notification message - Google Patents

Method, apparatus and terminal for displaying notification message Download PDF

Info

Publication number
WO2018176997A1
WO2018176997A1 PCT/CN2018/073179 CN2018073179W WO2018176997A1 WO 2018176997 A1 WO2018176997 A1 WO 2018176997A1 CN 2018073179 W CN2018073179 W CN 2018073179W WO 2018176997 A1 WO2018176997 A1 WO 2018176997A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
notification message
data
lock screen
terminal
Prior art date
Application number
PCT/CN2018/073179
Other languages
French (fr)
Chinese (zh)
Inventor
黎爽
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018176997A1 publication Critical patent/WO2018176997A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/275Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips implemented by means of portable electronic directories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • This document relates to, but is not limited to, the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for displaying a notification message.
  • the screen When the terminal device is not in use, the screen is usually locked.
  • the notification message under the lock screen generally only displays part of the content, and the user does not see the full text of the notification message.
  • the non-lock screen state for example, the user is watching the video through the mobile phone. At this time, a WeChat came, and only "You have a new message", not the full text of WeChat.
  • the embodiment of the invention provides a method, a device and a terminal for displaying a notification message, which can conveniently, quickly and safely view a notification message in a lock screen and a non-lock screen state.
  • An embodiment of the present invention provides a method for displaying a notification message, including:
  • the terminal After receiving the notification message, the terminal detects a user operation for the notification message in the lock screen or the non-lock screen interface;
  • the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
  • the way to authenticate the user includes:
  • the user is authenticated by at least one of face detection, iris detection, and scleral detection of the user.
  • authenticating the user by at least one of face detection, iris detection, and scleral detection of the user includes:
  • the user is authenticated.
  • displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
  • displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
  • the notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
  • the preset user operation behavior is defined by the user or specified by the mobile terminal.
  • An embodiment of the present invention further provides an apparatus for displaying a notification message, including:
  • the message receiving module is configured to monitor and receive the notification message when the terminal is in the lock screen or the non-lock screen state
  • the behavior detecting module is configured to detect, after the terminal receives the notification message, the user operation for the notification message in the lock screen or the non-lock screen interface;
  • the behavior matching module is configured to determine whether the user's operation behavior matches a preset user operation behavior, and send the matching result to the security verification module;
  • the security verification module is configured to determine the matching result, and if the detected user operation behavior matches a preset user operation behavior, perform identity verification on the user, and send the verification result to the message processing module;
  • the message processing module is configured to determine the verification result. If the user passes the identity verification, the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
  • the security verification module is configured to authenticate the user by one or more of the following manners:
  • Face detection Face detection, iris detection, and scleral detection for the user.
  • the security verification module includes:
  • the user data extraction module is configured to detect at least one of the user's face data, iris data, and sclera data, and send the detected data to the user data matching module;
  • the user data matching module is configured to match at least one of the received face data, iris data, and sclera data with preset user ID data, if the detected face data, iris data, and sclera data At least one of them matches the preset user ID data, and the user is authenticated.
  • the message processing module includes:
  • a viewing angle acquisition module configured to obtain a viewing angle of the user on the terminal screen
  • the message display module is configured to determine whether the acquired viewing angle of the user's screen for the terminal is within a range of visual angles of the preset terminal screen, and if so, display the notification message to the user.
  • the message processing module is further configured to:
  • the notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
  • the preset user operation behavior is defined by the user or specified by the mobile terminal.
  • the embodiment of the invention further provides a terminal, which comprises means for displaying a notification message.
  • the technical solution provided by the embodiment of the present invention includes: listening and receiving a notification message when the terminal is in a lock screen or a non-lock screen state; and detecting a user for the notification message in the lock screen or the non-lock screen interface after receiving the notification message;
  • the operation determines whether the user's operation behavior matches the preset user operation behavior. If it is determined that the user operation behavior matches the preset user operation behavior, the user is authenticated; if the user passes the authentication, the notification is notified.
  • the message is displayed on the lock screen interface or the non-lock screen interface according to the predetermined display mode.
  • the embodiment of the present invention can perform the verification of the user identity, and the notification message can be displayed according to the predetermined display mode only when the verification is passed, thereby requiring the user to be compared with the prior art. First select the notification message, then manually unlock to enter the corresponding application to view the notification message is faster and more secure.
  • FIG. 1 is a flowchart of a method for implementing a notification message according to the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for implementing a notification message according to the present invention.
  • the full text of the notification message in the lock screen state There are two ways to view the full text of the notification message in the lock screen state.
  • the first one is to display only part of the notification message when the lock screen interface is displayed.
  • the user needs to unlock and then enter the related application to view the details; the second is in the lock.
  • the screen interface enters the editing state of the notification message through a certain gesture, and the full text of the notification message can be viewed in the editing state.
  • the user needs to input a password or a pattern or a fingerprint to unlock the full text of the notification message, which is cumbersome and therefore not fast enough.
  • the second method although the full text of the notification message can be viewed without unlocking, the security is too low, and the user's privacy is easily revealed.
  • the user needs a way to view the full text of the notification message on the lock screen and the non-lock screen interface with high security and convenience.
  • FIG. 1 is a schematic diagram of a method for displaying a notification message according to an embodiment of the present invention. The method is applied to an electronic device in a lock screen and a non-lock screen mode. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 Monitor and receive the notification message when the terminal is in the lock screen or non-lock screen state.
  • the notification message of the embodiment of the present invention includes a system notification message and an application notification message, where the application notification message includes a notification message of the system application and a notification message of the third-party application.
  • the system notification message includes an update message of the system version, a reminder message set by the system, and the like.
  • the application notification message includes an upgrade message of the application, an instant messaging message of the application, a setting reminder message of the application, a push message of the application, and the like.
  • Step 102 After receiving the notification message, the terminal detects a user operation for the notification message in the lock screen or the non-lock screen interface.
  • the user's operations include the user's gesture behavior, the user's voice behavior, and the like.
  • Gesture behavior includes double clicking, clicking, long pressing, repressing, or sliding notification messages.
  • Step 103 Determine whether the user's operation behavior matches a preset user operation behavior.
  • the preset user operation behavior is set by the user in the system settings in advance, for example, setting a double-click notification message, clicking a notification message, long-pressing a notification message, pressing a notification message, or sliding a notification message.
  • Step 104 If it is determined that the user's operation behavior matches the preset user operation behavior, the user is authenticated.
  • authenticating the user includes: authenticating the user by using at least one of a face detection, an iris detection, and a scleral detection of the user.
  • the method of detecting the face, iris and sclera utilizes a front camera, an infrared camera and a proximity sensor.
  • the proximity sensor detects that the face and the terminal reach a certain distance
  • the front camera and the infrared camera collect reflection information of at least one of the human eye and the human face, thereby detecting the user's face data, iris data and scleral data. At least one of them.
  • At least one of the collected face data, iris data, and sclera data of the user is matched with at least one of face data, iris data, and sclera data of a user that the user has previously entered into the system.
  • the user passes the authentication, and proceeds to the next step 105.
  • the detected face data, iris data, and sclera data does not match the preset user ID data, it indicates that the user does not have permission to view the notification message, and then returns without going to the next step.
  • Step 105 Display the notification message on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
  • the predetermined display manner includes that the user can set the viewing angle of the screen in advance, and the user can see when the visual angle range is met. The full text of the notification message. If the visual angle is not met, the notification message content is not visible.
  • displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
  • the viewing angle can be obtained by calculating the distance between the iris or the sclera and the screen camera. As for the specific calculation process, it is not within the scope of the present application.
  • the predetermined display manner may include, in addition to the viewing angle of the screen that the user can set the screen in advance, the length of time that the user displays the full text of the message on the lock screen or the non-lock screen in advance.
  • displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
  • the notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
  • FIG. 2 is a structural diagram of an apparatus for displaying a notification message according to an embodiment of the present invention, where the apparatus includes:
  • the message receiving module 201 is configured to monitor and receive the notification message when the terminal is in the lock screen or the non-lock screen state;
  • the notification message of the embodiment of the present invention includes a system notification message and an application notification message, where the application notification message includes a notification message of the system application and a notification message of the third-party application.
  • the system notification message is, for example, an update message of the system version, a reminder message set by the system, and the like.
  • Application notification messages such as application upgrade messages, application instant messaging messages, application settings reminder messages, application push messages, and the like.
  • the behavior detecting module 202 is configured to detect, after the terminal receives the notification message, a user operation for the notification message in the lock screen or the non-lock screen interface;
  • the user's operation behavior includes the user's gesture behavior, the user's voice behavior, and the like.
  • Gesture behaviors such as double tapping, clicking, long pressing, repressing, sliding notification messages, and the like.
  • the behavior matching module 203 is configured to match the detected user operation behavior with a preset user operation behavior, and send the matching result to the security verification module;
  • the preset user operation behavior is set by the user in the system settings in advance, such as setting a double-click notification message, clicking a notification message, long-pressing a notification message, pressing a notification message, or sliding a notification message.
  • the security verification module 204 is configured to determine the matching result, and if it is determined that the user operation behavior matches the preset user operation behavior, the user is authenticated, and the verification result is sent to the message processing module;
  • the security verification module is configured to authenticate the user by one or more of the following methods:
  • Face detection Face detection, iris detection, and scleral detection for the user.
  • the security verification module 204 includes:
  • the user data extraction module is configured to detect at least one of the user's face data, iris data, and sclera data, and send the detected data to the user data matching module;
  • the user data matching module is configured to match at least one of the received face data, iris data, and sclera data with preset user ID data, if the detected face data, iris data, and sclera data At least one of them matches the preset user ID data, and the user is authenticated.
  • the message processing module 205 is configured to determine the verification result. If the user passes the identity verification, the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
  • the message processing module 205 includes:
  • a viewing angle acquisition module configured to obtain a viewing angle of the user on the terminal screen
  • the message display module is configured to determine whether the acquired viewing angle of the user's screen for the terminal is within a range of visual angles of the preset terminal screen, and if so, display the notification message to the user.
  • the message processing module 205 is further configured to:
  • the notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
  • An embodiment of the present invention further provides an apparatus, including the apparatus for displaying a notification message according to any one of the preceding claims.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the method described in the foregoing embodiments.
  • the notification message after detecting the user's operation behavior for the notification message, the user's identity is verified, and the notification message can be displayed according to the predetermined display mode only when the verification is passed. It is faster and more secure than requiring the user to select the notification message and then manually unlock it to enter the corresponding application to view the notification message.
  • Computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media.
  • a modulated data signal such as a carrier wave or other transport mechanism
  • the embodiment of the present invention can perform the verification of the user identity, and the notification message can be displayed according to the predetermined display mode only when the verification is passed, and the user is required to select the notification message first. Manually unlocking to enter the corresponding application to view notification messages is faster and more secure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and apparatus and terminal for displaying a notification message, comprising: monitoring and receiving a notification message when a terminal is in a locked state or an unlocked state (101); detecting a user operation for the notification message in a locked interface or an unlocked interface after the terminal receives the notification message (102); determining whether a user operation behaviour matches a pre-set user operation behaviour, and if it is determined that the user operation behaviour matches the pre-set user operation behaviour, performing identity verification on the user (103, 104); and if the user passes the identity verification, displaying the notification message on the locked interface or the unlocked interface in a pre-determined display mode (105).

Description

一种显示通知消息的方法、装置及终端Method, device and terminal for displaying notification message 技术领域Technical field
本文涉及但不限于终端技术领域,尤其涉及一种显示通知消息的方法、装置及终端。This document relates to, but is not limited to, the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for displaying a notification message.
背景技术Background technique
随着计算机技术的发展和终端设备的普及,终端设备的应用范围得到了广泛的提高,逐渐成为人们日常生活中必不可少的通信工具和娱乐工具,用户对终端设备智能化和人性化提出了更高的要求。With the development of computer technology and the popularization of terminal equipment, the application range of terminal equipment has been widely improved, and it has become an indispensable communication tool and entertainment tool in people's daily life. Users have proposed intelligent and humanized terminal equipment. higher requirement.
终端设备在不使用时,通常会锁定屏幕,锁屏下的通知消息一般只显示部分内容,用户看不到通知消息的全文;而在非锁屏状态下,比如:用户正在通过手机看视频,这时来了一条微信,也仅显示“您有一条新信息”,而不是微信全文。When the terminal device is not in use, the screen is usually locked. The notification message under the lock screen generally only displays part of the content, and the user does not see the full text of the notification message. In the non-lock screen state, for example, the user is watching the video through the mobile phone. At this time, a WeChat came, and only "You have a new message", not the full text of WeChat.
如何在锁屏及非锁屏状态下方便、快捷、安全的查看通知消息,目前现有技术中还没有相关的解决方案。How to view notification messages conveniently, quickly and safely in the state of lock screen and non-lock screen, there is no related solution in the prior art.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提出一种显示通知消息的方法、装置及终端,能够在锁屏及非锁屏状态下方便、快捷、安全的查看通知消息。The embodiment of the invention provides a method, a device and a terminal for displaying a notification message, which can conveniently, quickly and safely view a notification message in a lock screen and a non-lock screen state.
本发明实施例提供了一种显示通知消息的方法,包括:An embodiment of the present invention provides a method for displaying a notification message, including:
在终端处于锁屏或非锁屏状态时,监听并接收通知消息;Listening and receiving notification messages when the terminal is in a lock screen or non-lock screen state;
终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作;After receiving the notification message, the terminal detects a user operation for the notification message in the lock screen or the non-lock screen interface;
判断用户的操作行为是否与预先设定的用户操作行为匹配,如果判断出用户操作行为与预先设定的用户操作行为匹配,则对用户进行身份验证;Determining whether the user's operation behavior matches the preset user operation behavior, and if it is determined that the user operation behavior matches the preset user operation behavior, the user is authenticated;
如果用户通过身份验证,则将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面。If the user is authenticated, the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
可选地,对用户进行身份验证的方式包括:Optionally, the way to authenticate the user includes:
通过对用户的人脸检测、虹膜检测和巩膜检测中至少一种,来对用户进行身份验证。The user is authenticated by at least one of face detection, iris detection, and scleral detection of the user.
可选地,通过对用户的人脸检测、虹膜检测和巩膜检测中至少一种,来对用户进行身份验证包括:Optionally, authenticating the user by at least one of face detection, iris detection, and scleral detection of the user includes:
检测用户的人脸数据、虹膜数据和巩膜数据中至少一种;Detecting at least one of a user's face data, iris data, and sclera data;
将检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据进行匹配;Matching at least one of the detected face data, iris data, and sclera data with preset user ID data;
如果检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据相匹配,则用户通过身份验证。If at least one of the detected face data, iris data, and sclera data matches the preset user ID data, the user is authenticated.
可选地,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面包括:Optionally, when the user is authenticated by at least one of the iris detection and the scleral detection of the user, displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
获取用户对于终端屏幕的可视角度;Obtaining a viewing angle of the user on the screen of the terminal;
判断所获取的用户对于终端屏幕的可视角度是否在预先设定的终端屏幕的可视角度范围之内,如果是,则对该用户显示所述通知消息。It is judged whether the acquired viewing angle of the user's screen to the terminal screen is within the range of the viewing angle of the preset terminal screen, and if so, the notification message is displayed to the user.
可选地,将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面包括:Optionally, displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
将通知消息按照预先设置的时长显示在锁屏界面或非锁屏界面,超过所述预先设置的时长后,不显示所述通知消息。The notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
可选地,所述预先设定的用户操作行为是由用户自主定义或由移动终端指定的。Optionally, the preset user operation behavior is defined by the user or specified by the mobile terminal.
本发明实施例还提供了一种显示通知消息的装置,包括:An embodiment of the present invention further provides an apparatus for displaying a notification message, including:
消息接收模块,设置为在终端处于锁屏或非锁屏状态时,监听并接收通知消息;The message receiving module is configured to monitor and receive the notification message when the terminal is in the lock screen or the non-lock screen state;
行为检测模块,设置为在终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作;The behavior detecting module is configured to detect, after the terminal receives the notification message, the user operation for the notification message in the lock screen or the non-lock screen interface;
行为匹配模块,设置为判断用户的操作行为是否与预先设定的用户操作行为匹配,并将匹配结果发送给安全验证模块;The behavior matching module is configured to determine whether the user's operation behavior matches a preset user operation behavior, and send the matching result to the security verification module;
所述安全验证模块,设置为判断所述匹配结果,如果检测到的用户操作行为与预先设定的用户操作行为相匹配时,对用户进行身份验证,并将验证结果发送给消息处理模块;The security verification module is configured to determine the matching result, and if the detected user operation behavior matches a preset user operation behavior, perform identity verification on the user, and send the verification result to the message processing module;
所述消息处理模块,设置为判断所述验证结果,如果用户通过身份验证,则将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面。The message processing module is configured to determine the verification result. If the user passes the identity verification, the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
可选地,所述安全验证模块是设置为通过如下方式中的一种或几种来对用户进行身份验证:Optionally, the security verification module is configured to authenticate the user by one or more of the following manners:
对用户的人脸检测、虹膜检测以及巩膜检测。Face detection, iris detection, and scleral detection for the user.
可选地,所述安全验证模块包括:Optionally, the security verification module includes:
用户数据提取模块,设置为检测用户的人脸数据、虹膜数据和巩膜数据中至少一种,并将所检测到的数据发送给用户数据匹配模块;The user data extraction module is configured to detect at least one of the user's face data, iris data, and sclera data, and send the detected data to the user data matching module;
所述用户数据匹配模块,设置为将接收到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据进行匹配,如果检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据相匹配,则用户通过身份验证。The user data matching module is configured to match at least one of the received face data, iris data, and sclera data with preset user ID data, if the detected face data, iris data, and sclera data At least one of them matches the preset user ID data, and the user is authenticated.
可选地,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,所述消息处理模块包括:Optionally, when the user is authenticated by at least one of iris detection and scleral detection of the user, the message processing module includes:
可视角度获取模块,设置为获取用户对于终端屏幕的可视角度;a viewing angle acquisition module configured to obtain a viewing angle of the user on the terminal screen;
消息显示模块,设置为判断所获取的用户对于终端屏幕的可视角度是否在预先设定的终端屏幕的可视角度范围之内,如果是,则对该用户显示所述通知消息。The message display module is configured to determine whether the acquired viewing angle of the user's screen for the terminal is within a range of visual angles of the preset terminal screen, and if so, display the notification message to the user.
可选地,所述消息处理模块还设置为:Optionally, the message processing module is further configured to:
将通知消息按照预先设置的时长显示在锁屏界面或非锁屏界面,超过所述预先设置的时长后,不显示所述通知消息。The notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
可选地,所述预先设定的用户操作行为是由用户自主定义或由移动终端指定的。Optionally, the preset user operation behavior is defined by the user or specified by the mobile terminal.
本发明实施例还提供了一种终端,包括显示通知消息的装置。The embodiment of the invention further provides a terminal, which comprises means for displaying a notification message.
本发明实施例提出的技术方案包括:在终端处于锁屏或非锁屏状态时,监听并接收通知消息;终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作;判断用户的操作行为是否与预先设定的用户操作行为匹配,如果判断出用户操作行为与预先设定的用户操作行为匹配,则对用户进行身份验证;如果用户通过身份验证,则将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面。本发明实施例通过检测到用户针对通知消息的用户操作行为后,经过对用户身份的验证,只有在验证通过时才能执行将通知消息按照预定的显示方式显示,从而相比现有技术中需要用户先选中通知消息,再手动解锁才能进入对应的应用程序查看通知消息来说更加快捷,安全性也更高。The technical solution provided by the embodiment of the present invention includes: listening and receiving a notification message when the terminal is in a lock screen or a non-lock screen state; and detecting a user for the notification message in the lock screen or the non-lock screen interface after receiving the notification message; The operation determines whether the user's operation behavior matches the preset user operation behavior. If it is determined that the user operation behavior matches the preset user operation behavior, the user is authenticated; if the user passes the authentication, the notification is notified. The message is displayed on the lock screen interface or the non-lock screen interface according to the predetermined display mode. After detecting the user's operation behavior for the notification message, the embodiment of the present invention can perform the verification of the user identity, and the notification message can be displayed according to the predetermined display mode only when the verification is passed, thereby requiring the user to be compared with the prior art. First select the notification message, then manually unlock to enter the corresponding application to view the notification message is faster and more secure.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实现显示通知消息的方法的流程图;1 is a flowchart of a method for implementing a notification message according to the present invention;
图2为本发明实现显示通知消息的装置的组成结构示意图。FIG. 2 is a schematic structural diagram of an apparatus for implementing a notification message according to the present invention.
本发明的实施方式Embodiments of the invention
下面结合附图对本发明实施例进行说明。The embodiments of the present invention will be described below with reference to the accompanying drawings.
在锁屏状态下查看通知消息全文的做法一般有两种:第一种是在锁屏界面只显示通知消息的部分信息时,用户需要先解锁再进入相关应用查看详情;第二种是在锁屏界面通过一定的手势进入通知消息的编辑状态,在编辑状态下可以查看到通知消息的全文。对于第一种方式,要求用户需要先输入 密码或图案或指纹等进行解锁后才能查看到通知消息的全文,过程繁琐,因此不够快捷。对于第二种方式,虽然不需要解锁就能查看通知消息的全文,但是安全性太低,容易泄露用户隐私。用户需要一种既安全性高,又方便快捷地在锁屏及非锁屏界面查看通知消息全文的方式。There are two ways to view the full text of the notification message in the lock screen state. The first one is to display only part of the notification message when the lock screen interface is displayed. The user needs to unlock and then enter the related application to view the details; the second is in the lock. The screen interface enters the editing state of the notification message through a certain gesture, and the full text of the notification message can be viewed in the editing state. For the first method, the user needs to input a password or a pattern or a fingerprint to unlock the full text of the notification message, which is cumbersome and therefore not fast enough. For the second method, although the full text of the notification message can be viewed without unlocking, the security is too low, and the user's privacy is easily revealed. The user needs a way to view the full text of the notification message on the lock screen and the non-lock screen interface with high security and convenience.
图1为本发明实施例提供的一种显示通知消息的方法,该方法应用于锁屏及非锁屏模式的电子设备,如图1所示,包括以下步骤:FIG. 1 is a schematic diagram of a method for displaying a notification message according to an embodiment of the present invention. The method is applied to an electronic device in a lock screen and a non-lock screen mode. As shown in FIG. 1 , the method includes the following steps:
步骤101:在终端处于锁屏或非锁屏状态时,监听并接收通知消息。Step 101: Monitor and receive the notification message when the terminal is in the lock screen or non-lock screen state.
可选的,本发明实施例的通知消息包括系统通知消息和应用通知消息,其中应用通知消息包括系统应用程序的通知消息和第三方应用程序的通知消息。系统通知消息包括系统版本的更新消息、系统设置的提醒消息等。应用通知消息包括应用程序的升级消息、应用程序的即时通讯消息、应用程序的设置提醒消息、应用程序的推送消息等。Optionally, the notification message of the embodiment of the present invention includes a system notification message and an application notification message, where the application notification message includes a notification message of the system application and a notification message of the third-party application. The system notification message includes an update message of the system version, a reminder message set by the system, and the like. The application notification message includes an upgrade message of the application, an instant messaging message of the application, a setting reminder message of the application, a push message of the application, and the like.
步骤102:终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作。Step 102: After receiving the notification message, the terminal detects a user operation for the notification message in the lock screen or the non-lock screen interface.
可选的,用户的操作包括用户的手势行为、用户的语音行为等。手势行为包括用户双击、单击、长按、重压或者滑动通知消息等。Optionally, the user's operations include the user's gesture behavior, the user's voice behavior, and the like. Gesture behavior includes double clicking, clicking, long pressing, repressing, or sliding notification messages.
步骤103:判断用户的操作行为是否与预先设定的用户操作行为匹配。Step 103: Determine whether the user's operation behavior matches a preset user operation behavior.
可选的,预先设定的用户操作行为是由用户事先在系统设置里设定,比如:设置双击通知消息、单击通知消息、长按通知消息、重压通知消息或者滑动通知消息等。Optionally, the preset user operation behavior is set by the user in the system settings in advance, for example, setting a double-click notification message, clicking a notification message, long-pressing a notification message, pressing a notification message, or sliding a notification message.
步骤104:如果判断出用户的操作行为与预先设定的用户操作行为匹配,则对用户进行身份验证。Step 104: If it is determined that the user's operation behavior matches the preset user operation behavior, the user is authenticated.
可选的,对用户进行身份验证包括:通过对用户的人脸检测、虹膜检测和巩膜检测中至少一种,来对用户进行身份验证。Optionally, authenticating the user includes: authenticating the user by using at least one of a face detection, an iris detection, and a scleral detection of the user.
可选的,检测人脸、虹膜和巩膜的方法利用了前置摄像头、红外摄像头和接近传感器。当接近传感器检测到人脸和终端达到一定距离后,前置摄像头和红外摄像头收集照射人眼和人脸中至少一种后的反射信息,从而检测出用户的人脸数据、虹膜数据和巩膜数据中至少一种。Optionally, the method of detecting the face, iris and sclera utilizes a front camera, an infrared camera and a proximity sensor. When the proximity sensor detects that the face and the terminal reach a certain distance, the front camera and the infrared camera collect reflection information of at least one of the human eye and the human face, thereby detecting the user's face data, iris data and scleral data. At least one of them.
将检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据进行匹配;Matching at least one of the detected face data, iris data, and sclera data with preset user ID data;
可选的,把收集的用户的人脸数据、虹膜数据和巩膜数据中至少一种与用户事先录入系统的用户的人脸数据、虹膜数据和巩膜数据中至少一种进行匹配。Optionally, at least one of the collected face data, iris data, and sclera data of the user is matched with at least one of face data, iris data, and sclera data of a user that the user has previously entered into the system.
如果检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据相匹配,则用户通过身份验证,则进入到下一步骤105。If at least one of the detected face data, iris data, and sclera data matches the preset user ID data, the user passes the authentication, and proceeds to the next step 105.
如果检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据不匹配,则说明该用户并没有权限查看通知消息,则返回,不会进入到下一步骤。If at least one of the detected face data, iris data, and sclera data does not match the preset user ID data, it indicates that the user does not have permission to view the notification message, and then returns without going to the next step.
步骤105:将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面。Step 105: Display the notification message on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
其中,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,预定的显示方式包括用户可以事先设置屏幕的可视角度,符合可视角度范围内时用户可以看到通知消息的全文。如果不符合可视角度范围内则看不到通知消息内容。Wherein, when the user is authenticated by at least one of the user's iris detection and scleral detection, the predetermined display manner includes that the user can set the viewing angle of the screen in advance, and the user can see when the visual angle range is met. The full text of the notification message. If the visual angle is not met, the notification message content is not visible.
可选的,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面包括:Optionally, when the user is authenticated by at least one of the user's iris detection and scleral detection, displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
获取用户对于终端屏幕的可视角度;其中,在获取用户对于终端屏幕的可视角度时,可以通过对虹膜或巩膜以及屏幕摄像头距离的计算得出可视角度。至于具体的计算过程,不在本申请限定的范围之内。Obtaining a viewing angle of the user on the screen of the terminal; wherein, when obtaining the viewing angle of the user on the screen of the terminal, the viewing angle can be obtained by calculating the distance between the iris or the sclera and the screen camera. As for the specific calculation process, it is not within the scope of the present application.
判断所获取的用户对于终端屏幕的可视角度是否在预先设定的终端屏幕的可视角度范围之内,如果是,则对该用户显示所述通知消息。该方法使得不在可视角度内的人看不到消息,防止他人偷窥,保护了用户的隐私。It is judged whether the acquired viewing angle of the user's screen to the terminal screen is within the range of the viewing angle of the preset terminal screen, and if so, the notification message is displayed to the user. This method makes it impossible for people who are not in the viewing angle to see the message, prevent others from peeping, and protect the privacy of the user.
另外,预定的显示方式除了包括用户可以事先设置屏幕的可视角度外,还可以包括由用户事先设置消息全文在锁屏或非锁屏上显示的时间长度。In addition, the predetermined display manner may include, in addition to the viewing angle of the screen that the user can set the screen in advance, the length of time that the user displays the full text of the message on the lock screen or the non-lock screen in advance.
可选的,将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面 包括:Optionally, displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner includes:
将通知消息按照预先设置的时长显示在锁屏界面或非锁屏界面,超过所述预先设置的时长后,不显示所述通知消息。The notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
图2为本发明实施例提供的一种显示通知消息的装置结构图,该装置包括:2 is a structural diagram of an apparatus for displaying a notification message according to an embodiment of the present invention, where the apparatus includes:
消息接收模块201,设置为在终端处于锁屏或非锁屏状态时,监听并接收通知消息;The message receiving module 201 is configured to monitor and receive the notification message when the terminal is in the lock screen or the non-lock screen state;
可选的,本发明实施例的通知消息包括系统通知消息和应用通知消息,其中应用通知消息包括系统应用程序的通知消息和第三方应用程序的通知消息。系统通知消息比如系统版本的更新消息、系统设置的提醒消息等。应用通知消息比如应用程序的升级消息、应用程序的即时通讯消息、应用程序的设置提醒消息、应用程序的推送消息等。Optionally, the notification message of the embodiment of the present invention includes a system notification message and an application notification message, where the application notification message includes a notification message of the system application and a notification message of the third-party application. The system notification message is, for example, an update message of the system version, a reminder message set by the system, and the like. Application notification messages such as application upgrade messages, application instant messaging messages, application settings reminder messages, application push messages, and the like.
行为检测模块202,设置为在终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作;The behavior detecting module 202 is configured to detect, after the terminal receives the notification message, a user operation for the notification message in the lock screen or the non-lock screen interface;
可选的,用户的操作行为包括用户的手势行为、用户的语音行为等。手势行为比如双击、单击、长按、重压、滑动通知消息等。Optionally, the user's operation behavior includes the user's gesture behavior, the user's voice behavior, and the like. Gesture behaviors such as double tapping, clicking, long pressing, repressing, sliding notification messages, and the like.
行为匹配模块203,设置为将检测到的用户操作行为与预先设定的用户操作行为进行匹配,并将匹配结果发送给安全验证模块;The behavior matching module 203 is configured to match the detected user operation behavior with a preset user operation behavior, and send the matching result to the security verification module;
可选的,预先设定的用户操作行为是由用户事先在系统设置里设定,比如设置双击通知消息、单击通知消息、长按通知消息、重压通知消息或滑动通知消息等。Optionally, the preset user operation behavior is set by the user in the system settings in advance, such as setting a double-click notification message, clicking a notification message, long-pressing a notification message, pressing a notification message, or sliding a notification message.
安全验证模块204,设置为判断所述匹配结果,如果判断出用户操作行为与预先设定的用户操作行为相匹配时,对用户进行身份验证,并将验证结果发送给消息处理模块;The security verification module 204 is configured to determine the matching result, and if it is determined that the user operation behavior matches the preset user operation behavior, the user is authenticated, and the verification result is sent to the message processing module;
其中,所述安全验证模块是设置为通过如下方式中的一种或几种来对用户进行身份验证:The security verification module is configured to authenticate the user by one or more of the following methods:
对用户的人脸检测、虹膜检测以及巩膜检测。Face detection, iris detection, and scleral detection for the user.
可选的,所述安全验证模204块包括:Optionally, the security verification module 204 includes:
用户数据提取模块,设置为检测用户的人脸数据、虹膜数据和巩膜数据中至少一种,并将所检测到的数据发送给用户数据匹配模块;The user data extraction module is configured to detect at least one of the user's face data, iris data, and sclera data, and send the detected data to the user data matching module;
所述用户数据匹配模块,设置为将接收到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据进行匹配,如果检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据相匹配,则用户通过身份验证。The user data matching module is configured to match at least one of the received face data, iris data, and sclera data with preset user ID data, if the detected face data, iris data, and sclera data At least one of them matches the preset user ID data, and the user is authenticated.
消息处理模块205,设置为判断所述验证结果,如果用户通过身份验证,则将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面。The message processing module 205 is configured to determine the verification result. If the user passes the identity verification, the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
其中,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,所述消息处理模块205包括:Wherein, when the user is authenticated by at least one of the iris detection and the scleral detection of the user, the message processing module 205 includes:
可视角度获取模块,设置为获取用户对于终端屏幕的可视角度;a viewing angle acquisition module configured to obtain a viewing angle of the user on the terminal screen;
消息显示模块,设置为判断所获取的用户对于终端屏幕的可视角度是否在预先设定的终端屏幕的可视角度范围之内,如果是,则对该用户显示所述通知消息。The message display module is configured to determine whether the acquired viewing angle of the user's screen for the terminal is within a range of visual angles of the preset terminal screen, and if so, display the notification message to the user.
另外,所述消息处理模块205还设置为:In addition, the message processing module 205 is further configured to:
将通知消息按照预先设置的时长显示在锁屏界面或非锁屏界面,超过所述预先设置的时长后,不显示所述通知消息。The notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
本发明实施例还提供一种设备,包括有上述任一项所述的显示通知消息的装置。An embodiment of the present invention further provides an apparatus, including the apparatus for displaying a notification message according to any one of the preceding claims.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述实施例所述的方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the method described in the foregoing embodiments.
这里强调的是,本发明实施例中,通过检测到用户针对通知消息的用户操作行为后,经过对用户身份的验证,只有在验证通过时才能执行将通知消息按照预定的显示方式显示,从而相比需要用户先选中通知消息,再手动解锁才能进入对应的应用程序查看通知消息来说更加快捷,安全性也更高。It is emphasized that, in the embodiment of the present invention, after detecting the user's operation behavior for the notification message, the user's identity is verified, and the notification message can be displayed according to the predetermined display mode only when the verification is passed. It is faster and more secure than requiring the user to select the notification message and then manually unlock it to enter the corresponding application to view the notification message.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。以上仅为本发明的可选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical units; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. The above is only an alternative embodiment of the present invention, and thus does not limit the scope of the invention, and the equivalent structure or equivalent process transformation made by using the specification and the drawings of the present invention, or directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例通过检测到用户针对通知消息的用户操作行为后,经过对用户身份的验证,只有在验证通过时才能执行将通知消息按照预定的显示方式显示,相比需要用户先选中通知消息,再手动解锁才能进入对应的应用程序查看通知消息来说更加快捷,安全性也更高。After detecting the user's operation behavior for the notification message, the embodiment of the present invention can perform the verification of the user identity, and the notification message can be displayed according to the predetermined display mode only when the verification is passed, and the user is required to select the notification message first. Manually unlocking to enter the corresponding application to view notification messages is faster and more secure.

Claims (14)

  1. 一种显示通知消息的方法,包括:A method of displaying a notification message, including:
    在终端处于锁屏或非锁屏状态时,监听并接收通知消息(101);Monitoring and receiving a notification message when the terminal is in a lock screen or non-lock screen state (101);
    终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作(102);After receiving the notification message, the terminal detects a user operation for the notification message in the lock screen or the non-lock screen interface (102);
    判断用户的操作行为是否与预先设定的用户操作行为匹配,如果判断出用户操作行为与预先设定的用户操作行为匹配,则对用户进行身份验证(103、104);Determining whether the user's operation behavior matches a preset user operation behavior, and if it is determined that the user operation behavior matches a preset user operation behavior, authenticating the user (103, 104);
    如果用户通过身份验证,则将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面(105)。If the user is authenticated, the notification message is displayed on the lock screen interface or the non-lock screen interface (105) according to a predetermined display mode.
  2. 根据权利要求1所述的方法,其中,对用户进行身份验证(104)的方式包括:The method of claim 1 wherein the manner in which the user is authenticated (104) comprises:
    通过对用户的人脸检测、虹膜检测和巩膜检测中至少一种,来对用户进行身份验证。The user is authenticated by at least one of face detection, iris detection, and scleral detection of the user.
  3. 根据权利要求2所述的方法,其中,通过对用户的人脸检测、虹膜检测和巩膜检测中至少一种,来对用户进行身份验证包括:The method of claim 2, wherein authenticating the user by at least one of face detection, iris detection, and scleral detection of the user comprises:
    检测用户的人脸数据、虹膜数据和巩膜数据中至少一种;Detecting at least one of a user's face data, iris data, and sclera data;
    将检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据进行匹配;Matching at least one of the detected face data, iris data, and sclera data with preset user ID data;
    如果检测到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据相匹配,则用户通过身份验证。If at least one of the detected face data, iris data, and sclera data matches the preset user ID data, the user is authenticated.
  4. 根据权利要求2或3所述的方法,其中,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面包括:The method according to claim 2 or 3, wherein when the user is authenticated by at least one of iris detection and scleral detection of the user, the notification message is displayed on the lock screen interface in a predetermined display manner or The non-lock screen interface includes:
    获取用户对于终端屏幕的可视角度;Obtaining a viewing angle of the user on the screen of the terminal;
    判断所获取的用户对于终端屏幕的可视角度是否在预先设定的终端屏幕的可视角度范围之内,如果是,则对该用户显示所述通知消息。It is judged whether the acquired viewing angle of the user's screen to the terminal screen is within the range of the viewing angle of the preset terminal screen, and if so, the notification message is displayed to the user.
  5. 根据权利要求1或2或3所述的方法,其中,将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面包括:The method according to claim 1 or 2 or 3, wherein displaying the notification message on the lock screen interface or the non-lock screen interface according to the predetermined display manner comprises:
    将通知消息按照预先设置的时长显示在锁屏界面或非锁屏界面,超过所述预先设置的时长后,不显示所述通知消息。The notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
  6. 根据权利要求1或2或3所述的方法,其中,The method according to claim 1 or 2 or 3, wherein
    所述预先设定的用户操作行为是由用户自主定义或由移动终端指定的。The predetermined user operation behavior is defined by the user or specified by the mobile terminal.
  7. 一种显示通知消息的装置,包括:A device for displaying a notification message, comprising:
    消息接收模块(201),设置为在终端处于锁屏或非锁屏状态时,监听并接收通知消息;The message receiving module (201) is configured to monitor and receive the notification message when the terminal is in the lock screen or the non-lock screen state;
    行为检测模块(202),设置为在终端接收到通知消息后,检测在锁屏或非锁屏界面中针对通知消息的用户操作;The behavior detecting module (202) is configured to detect, after the terminal receives the notification message, a user operation for the notification message in the lock screen or the non-lock screen interface;
    行为匹配模块(203),设置为判断用户的操作行为是否与预先设定的用户操作行为匹配,并将匹配结果发送给安全验证模块;The behavior matching module (203) is configured to determine whether the user's operation behavior matches a preset user operation behavior, and send the matching result to the security verification module;
    所述安全验证模块(204),设置为判断所述匹配结果,如果检测到的用户操作行为与预先设定的用户操作行为相匹配时,对用户进行身份验证,并将验证结果发送给消息处理模块;The security verification module (204) is configured to determine the matching result, and if the detected user operation behavior matches a preset user operation behavior, perform identity verification on the user, and send the verification result to the message processing. Module
    所述消息处理模块(205),设置为判断所述验证结果,如果用户通过身份验证,则将通知消息按照预定的显示方式显示在锁屏界面或非锁屏界面。The message processing module (205) is configured to determine the verification result. If the user passes the identity verification, the notification message is displayed on the lock screen interface or the non-lock screen interface according to a predetermined display manner.
  8. 根据权利要求7所述的装置,其中,所述安全验证模块(204)是设置为通过如下方式中的一种或几种来对用户进行身份验证:The apparatus of claim 7, wherein the security verification module (204) is configured to authenticate the user by one or more of the following:
    对用户的人脸检测、虹膜检测以及巩膜检测。Face detection, iris detection, and scleral detection for the user.
  9. 根据权利要求8所述的装置,其中,所述安全验证模块(204)包括:The apparatus of claim 8 wherein said security verification module (204) comprises:
    用户数据提取模块,设置为检测用户的人脸数据、虹膜数据和巩膜数据中至少一种,并将所检测到的数据发送给用户数据匹配模块;The user data extraction module is configured to detect at least one of the user's face data, iris data, and sclera data, and send the detected data to the user data matching module;
    所述用户数据匹配模块,设置为将接收到的人脸数据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据进行匹配,如果检测到的人脸数 据、虹膜数据和巩膜数据中至少一种与预先设定的用户ID数据相匹配,则用户通过身份验证。The user data matching module is configured to match at least one of the received face data, iris data, and sclera data with preset user ID data, if the detected face data, iris data, and sclera data At least one of them matches the preset user ID data, and the user is authenticated.
  10. 根据权利要求8或9所述的装置,其中,当通过对用户的虹膜检测和巩膜检测中至少一种,来对用户进行身份验证时,所述消息处理模块(205)包括:The apparatus according to claim 8 or 9, wherein when the user is authenticated by at least one of iris detection and scleral detection of the user, the message processing module (205) comprises:
    可视角度获取模块,设置为获取用户对于终端屏幕的可视角度;a viewing angle acquisition module configured to obtain a viewing angle of the user on the terminal screen;
    消息显示模块,设置为判断所获取的用户对于终端屏幕的可视角度是否在预先设定的终端屏幕的可视角度范围之内,如果是,则对该用户显示所述通知消息。The message display module is configured to determine whether the acquired viewing angle of the user's screen for the terminal is within a range of visual angles of the preset terminal screen, and if so, display the notification message to the user.
  11. 根据权利要求7或8或9所述的装置,其中,所述消息处理模块(205)还设置为:The apparatus of claim 7 or 8 or 9, wherein the message processing module (205) is further configured to:
    将通知消息按照预先设置的时长显示在锁屏界面或非锁屏界面,超过所述预先设置的时长后,不显示所述通知消息。The notification message is displayed on the lock screen interface or the non-lock screen interface according to the preset duration. After the preset duration is exceeded, the notification message is not displayed.
  12. 根据权利要求7或8或9所述的装置,其中,The apparatus according to claim 7 or 8 or 9, wherein
    所述预先设定的用户操作行为是由用户自主定义或由移动终端指定的。The predetermined user operation behavior is defined by the user or specified by the mobile terminal.
  13. 一种终端,包括权利要求7至12任一项所述的显示通知消息的装置。A terminal comprising the apparatus for displaying a notification message according to any one of claims 7 to 12.
  14. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至6中任一项所述的方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of any one of claims 1 to 6.
PCT/CN2018/073179 2017-03-30 2018-01-18 Method, apparatus and terminal for displaying notification message WO2018176997A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710202403.8 2017-03-30
CN201710202403.8A CN108668001A (en) 2017-03-30 2017-03-30 A kind of method, apparatus and terminal of display notification message

Publications (1)

Publication Number Publication Date
WO2018176997A1 true WO2018176997A1 (en) 2018-10-04

Family

ID=63674128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/073179 WO2018176997A1 (en) 2017-03-30 2018-01-18 Method, apparatus and terminal for displaying notification message

Country Status (2)

Country Link
CN (1) CN108668001A (en)
WO (1) WO2018176997A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666014A (en) * 2020-07-06 2020-09-15 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and computer readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002700A (en) * 2018-06-28 2018-12-14 维沃移动通信有限公司 A kind of method and terminal showing message
CN109361593B (en) * 2018-10-19 2022-05-06 北京小米移动软件有限公司 Message reminding method, device, mobile terminal and storage medium
CN111131594A (en) * 2018-10-30 2020-05-08 奇酷互联网络科技(深圳)有限公司 Method for displaying notification content, intelligent terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006093934A (en) * 2004-09-22 2006-04-06 Nec Corp Camera attached mobile phone terminal and authentication method thereof
JP2007249797A (en) * 2006-03-17 2007-09-27 Nec Corp Portable information terminal authentication system, portable information terminal authentication method and portable information terminal authentication program
CN104966009A (en) * 2015-06-12 2015-10-07 联想(北京)有限公司 Information processing method and electronic equipment
CN105160217A (en) * 2015-07-28 2015-12-16 广东欧珀移动通信有限公司 Application control method for intelligent watch and intelligent watch
CN106293751A (en) * 2016-08-15 2017-01-04 华为技术有限公司 A kind of method showing information on the terminal device and terminal unit
CN106485119A (en) * 2016-09-20 2017-03-08 努比亚技术有限公司 A kind of application message device for opening and method
CN106503514A (en) * 2016-09-28 2017-03-15 北京用友政务软件有限公司 Unlocking method and system based on the electric terminal equipment of iris identification

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653041A (en) * 2016-01-29 2016-06-08 北京小米移动软件有限公司 Display state adjusting method and device
CN106385506A (en) * 2016-09-21 2017-02-08 乐视控股(北京)有限公司 Information notification management method and device
CN106409209A (en) * 2016-11-24 2017-02-15 北京小米移动软件有限公司 Display method, display device and display equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006093934A (en) * 2004-09-22 2006-04-06 Nec Corp Camera attached mobile phone terminal and authentication method thereof
JP2007249797A (en) * 2006-03-17 2007-09-27 Nec Corp Portable information terminal authentication system, portable information terminal authentication method and portable information terminal authentication program
CN104966009A (en) * 2015-06-12 2015-10-07 联想(北京)有限公司 Information processing method and electronic equipment
CN105160217A (en) * 2015-07-28 2015-12-16 广东欧珀移动通信有限公司 Application control method for intelligent watch and intelligent watch
CN106293751A (en) * 2016-08-15 2017-01-04 华为技术有限公司 A kind of method showing information on the terminal device and terminal unit
CN106485119A (en) * 2016-09-20 2017-03-08 努比亚技术有限公司 A kind of application message device for opening and method
CN106503514A (en) * 2016-09-28 2017-03-15 北京用友政务软件有限公司 Unlocking method and system based on the electric terminal equipment of iris identification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666014A (en) * 2020-07-06 2020-09-15 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and computer readable storage medium
CN111666014B (en) * 2020-07-06 2024-02-02 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108668001A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US10706173B2 (en) Method and device for displaying notification information
US9801068B2 (en) Terminal device
WO2018176997A1 (en) Method, apparatus and terminal for displaying notification message
EP3133528B1 (en) Method and apparatus for fingerprint identification
EP3413549B1 (en) Method and device for displaying notification information
JP6571203B2 (en) Privacy protection method and protection device for mobile terminal, and mobile terminal
US9904774B2 (en) Method and device for locking file
CN108038393B (en) Application privacy protection method and mobile terminal
US9953183B2 (en) User verification using touch and eye tracking
WO2016034090A1 (en) Method and system for improving security of mobile terminal
WO2017166582A1 (en) Payment method and device
US20130067566A1 (en) Device to perform authentication according to surrounding information and method for performing authentication
US20190171805A9 (en) Unlocking method and apparatus, and storage medium
CN109039860B (en) Method and device for sending and displaying message and method and device for identity authentication
US20150047019A1 (en) Information processing method and electronic device
WO2022142330A1 (en) Identity authentication method and apparatus, and electronic device and storage medium
CN106066763B (en) Terminal unlocking method and device
US20220114247A1 (en) Biometric Authenticated Content
CN106570381B (en) Fingerprint unlocking method and device
CN113282364A (en) Display method, display device and electronic equipment
JP6938579B2 (en) Mobile device privacy protection methods and devices, as well as mobile devices
JP2017102758A (en) Authentication device, authentication method, and program
CN106027601B (en) Remote control method and device
WO2018006319A1 (en) Alarm method and system
WO2018165341A1 (en) Contact information display method and device, and information display method and device

Legal Events

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

Ref document number: 18777901

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

Country of ref document: EP

Kind code of ref document: A1