WO2020156308A1 - 消息处理方法、装置、终端及存储介质 - Google Patents

消息处理方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2020156308A1
WO2020156308A1 PCT/CN2020/073145 CN2020073145W WO2020156308A1 WO 2020156308 A1 WO2020156308 A1 WO 2020156308A1 CN 2020073145 W CN2020073145 W CN 2020073145W WO 2020156308 A1 WO2020156308 A1 WO 2020156308A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
fingerprint
touch signal
screen
banner notification
Prior art date
Application number
PCT/CN2020/073145
Other languages
English (en)
French (fr)
Inventor
王翛
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020156308A1 publication Critical patent/WO2020156308A1/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/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

  • the embodiments of the present application relate to the field of terminal technologies, and in particular, to a message processing method, device, terminal, and storage medium.
  • terminals such as smart phones, tablet computers, and e-books.
  • terminals such as smart phones, tablet computers, and e-books.
  • the terminal When the terminal receives an unread message, it will prompt a message on the terminal's screen.
  • a terminal when a terminal receives an unread message, it usually directly displays the message content of the unread message in the form of a pop-up box on the screen, causing privacy leakage. If the message hiding condition is set in advance, the message content is hidden when the received unread message meets the message hiding condition.
  • the application corresponding to the unread message needs to be opened through the terminal. Then the message is checked in the application, the user operation is more complicated, and the efficiency of message checking is low.
  • the embodiments of the present application provide a message processing method, device, terminal, and storage medium, which can be used to solve the problem of low message viewing efficiency caused by the protection of user privacy in related technologies.
  • the technical solutions are as follows:
  • a message processing method which is applied to a terminal with an under-screen fingerprint collection function, and the method includes:
  • the message content of the unread message is displayed.
  • a message processing device which is applied to a terminal with an off-screen fingerprint collection function, and the device includes:
  • the receiving module is used to receive unread messages to be processed
  • the first display module is configured to display a banner notification in which a message reminder of the unread message is displayed;
  • a collection module configured to collect fingerprint information corresponding to the designated touch signal when a designated touch signal corresponding to the banner notification is received
  • the second display module is configured to display the message content of the unread message when the fingerprint information passes fingerprint verification.
  • a terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to achieve the above One aspect of the message processing method.
  • a computer-readable storage medium stores at least one instruction, and the at least one instruction is configured to be executed by a processor to implement the method described in the previous aspect.
  • FIG. 1 and 2 are structural block diagrams of a terminal provided by an exemplary embodiment of the present application.
  • Fig. 3 shows a flowchart of a message processing method provided by an exemplary embodiment of the present application
  • FIG. 4 is a schematic diagram of the interface of the implementation process of the message processing method provided in FIG. 3;
  • Fig. 5 shows a flowchart of a message processing method provided by another exemplary embodiment of the present application
  • FIG. 6 is a schematic diagram of the interface of the implementation process of the message processing method provided in FIG. 5;
  • Fig. 7 shows a flowchart of a message processing method provided by another exemplary embodiment of the present application.
  • FIG. 8 is a schematic diagram of an interface of the implementation process of the message processing method provided in FIG. 7;
  • Fig. 9 shows a structural block diagram of a message processing apparatus provided by an exemplary embodiment of the present application.
  • the "plurality” mentioned herein means two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 and FIG. 2 show a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application.
  • the terminal 100 can be a smart phone, a tablet computer, a notebook computer, etc.
  • the terminal 100 in this application may include one or more of the following components: a processor 110, a memory 120, and a touch screen 130. Wherein, at least one instruction is stored in the memory 120, and the instruction is loaded and executed by the processor 110 to implement the message processing method shown in the following embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100 various functions and processing data.
  • the processor 110 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem modem
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing the content that needs to be displayed on the touch display screen 130; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented by a chip alone.
  • the memory 120 may include random access memory (RAM), or read-only memory (ROM).
  • the memory 120 includes a non-transitory computer-readable storage medium.
  • the memory 120 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions for implementing the following various method embodiments, etc.; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phone book), etc.
  • the memory 120 stores a Linux kernel layer 220, a system runtime library layer 240, an application framework layer 260, and an application layer 280.
  • the Linux kernel layer 220 provides low-level drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on.
  • the system runtime layer 240 provides major feature support for the Android system through some C/C++ libraries. For example, SQLite library provides database support, OpenGL/ES library provides 3D drawing support, and Webkit library provides browser kernel support.
  • the Android runtime library 242 (Android Runtime) is also provided in the system runtime library layer 240, which mainly provides some core libraries, which can allow developers to use the Java language to write Android applications.
  • the application framework layer 260 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, location management.
  • the IOS system includes: Core OS layer 320 (Core OS layer), core service layer 340 (Core Services layer), media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer).
  • the core operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 340.
  • the core service layer 340 provides system services and/or program frameworks required by the application program, such as a foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a sports framework, and so on.
  • the media layer 360 provides audio-visual interfaces for applications, such as graphics and image-related interfaces, audio technology-related interfaces, video technology-related interfaces, and audio and video transmission technology wireless playback (AirPlay) interfaces.
  • the touchable layer 380 provides various commonly used interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on the terminal 100. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, etc.
  • frameworks related to most applications include, but are not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380.
  • the basic framework provides many basic object classes and data types, provides the most basic system services for all applications, and has nothing to do with UI.
  • the classes provided by the UIKit framework are the basic UI class libraries used to create touch-based user interfaces. iOS applications can provide UI based on the UIKit framework, so it provides the application infrastructure for building user interfaces and drawing , Processing and user interaction events, responding to gestures, etc.
  • the screen of the terminal 100 is a touch screen 130.
  • the touch screen 130 is used to display user interfaces of various application programs and to receive touch signals on or near the user using any suitable object such as a finger or a touch pen.
  • the touch screen 130 is usually provided on the front panel of the terminal 100.
  • the touch screen 130 can be designed as a full screen, a curved screen or a special-shaped screen.
  • the touch display screen 130 can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment.
  • the terminal 100 has an under-screen fingerprint collection function.
  • the under-screen fingerprint collection function is implemented by an under-screen fingerprint collection component.
  • the under-screen fingerprint collection component is an optical fingerprint sensor, an ultrasonic fingerprint sensor or a capacitive fingerprint sensor.
  • the fingerprint sensor, and the under-screen fingerprint collection component is arranged below the touch screen 130. When the user operates on the touch screen 130, the fingerprint collection component under the screen can collect the user's fingerprint.
  • the terminal 100 includes multiple under-screen fingerprint collection components, and different under-screen fingerprint collection components correspond to different fingerprint collection areas on the touch screen 130.
  • the terminal 100 can control part of the fingerprint collection components under the screen to be turned on or off, so as to achieve fingerprint collection in a designated area.
  • the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100.
  • the terminal may include more or less components than those shown in the figure, or a combination of certain components. Components, or different component arrangements.
  • the terminal 100 also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, a Bluetooth module, etc., which are not repeated here.
  • a terminal when a terminal receives an unread message, it usually directly displays the message content of the unread message in the form of a pop-up box on the screen, causing privacy leakage. If the message hiding condition is set in advance, the message content is hidden when the received unread message meets the message hiding condition.
  • the application corresponding to the unread message needs to be opened through the terminal. Then the message is checked in the application, the user operation is more complicated, and the efficiency of message checking is low. For this reason, the terminal in the embodiment of this application provides a message reminder for unread messages in the form of a banner notification. If the user needs to view the message, he only needs to perform a designated touch operation on the banner notification.
  • the terminal when the terminal receives the designated touch signal and the designated touch, the fingerprint information corresponding to the signal passes fingerprint verification, the complete message content of the unread message can be displayed. While protecting user privacy, it simplifies user operations during message viewing and improves the efficiency of message viewing.
  • FIG. 3 shows a flowchart of a message processing method provided by an exemplary embodiment of the present application.
  • the method is applied to the terminal shown in FIG. 1 or 2 as an example.
  • the method includes:
  • Step 301 Receive unread messages to be processed.
  • the terminal receives unread messages of the target application.
  • the target application is a system application or a third-party application installed and running in the terminal.
  • the target application is an application with a message receiving function and a message viewing function.
  • Target applications include but are not limited to: at least one of short message applications, instant messaging applications, team voice tools, Weibo programs, mail programs, online community applications, voice call applications, and video call applications.
  • unread messages are messages sent by other terminals or servers to the current terminal, and unread messages are messages that have not been viewed by the user of the current terminal.
  • Unread messages can also be called new messages.
  • unread messages are short messages.
  • step 302 a banner notification is displayed, and a message reminder of unread messages is displayed in the banner notification.
  • the strip-shaped window is a long strip window with a rectangular appearance, or a long strip window with a rounded rectangle appearance.
  • the terminal displays a banner notification on a partial area of the screen, and the banner notification displays a message reminder of an unread message, and does not display the complete message content of the unread message.
  • the terminal displays a banner notification, and displays a message reminder in the banner notification, and the message reminder is a text content for prompting the receipt of an unread message.
  • Step 303 When a designated touch signal corresponding to the banner notification is received, fingerprint information corresponding to the designated touch signal is collected.
  • the designated touch signal is a user operation signal used to trigger the activation of the fingerprint collection function.
  • the designated touch signal includes any one or a combination of a click operation signal, a slide operation signal, a press operation signal, and a long press operation signal.
  • the trigger condition for the terminal to enable the fingerprint collection function includes but is not limited to the following possible implementations.
  • the terminal when the terminal receives the designated touch signal corresponding to the banner notification, the terminal turns on the fingerprint collection function.
  • the terminal when the terminal receives the designated touch signal corresponding to the banner notification and the touch duration of the designated touch signal reaches the duration threshold, the terminal turns on the fingerprint collection function.
  • the terminal when the terminal receives the designated touch signal corresponding to the banner notification and the signal strength of the designated touch signal reaches the intensity threshold, the terminal turns on the fingerprint collection function.
  • the duration threshold or intensity threshold may be customized by the user, or may be set by the terminal by default, which is not limited in this embodiment.
  • the terminal when the terminal receives the designated touch signal corresponding to the banner notification and the touch duration of the designated touch signal reaches the duration threshold and the signal pressure of the designated touch signal reaches the pressure threshold, the terminal turns on the fingerprint collection function.
  • the embodiment of this application does not limit the setting method of the trigger condition for the terminal to enable the fingerprint collection function.
  • the terminal only when the terminal receives the designated touch signal corresponding to the banner notification, the terminal turns on the fingerprint collection function and collects the fingerprint information corresponding to the designated touch signal through the fingerprint collection component under the screen as an example.
  • the terminal collecting fingerprint information corresponding to the first touch signal through the under-screen fingerprint collecting component includes but is not limited to the following possible implementation manners.
  • the terminal activates the under-screen fingerprint collection component at the banner notification to perform fingerprint collection, thereby reducing the power consumption of the terminal.
  • the terminal activates multiple off-screen fingerprint collection components of the terminal to collect fingerprints.
  • the embodiment of the application does not limit this.
  • the display duration of the banner notification reaches the preset display duration and no touch signal corresponding to the banner notification is received within the preset display duration, the display of the banner notification is cancelled.
  • the preset display duration is customized by the user or set by the terminal by default, which is not limited in this embodiment.
  • Step 304 When the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed.
  • the terminal performs fingerprint verification on the collected fingerprint information.
  • the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed; when the fingerprint information fails the fingerprint verification, the process ends.
  • a fingerprint template of the holder of the terminal is pre-stored in the terminal.
  • the terminal performs fingerprint verification on the collected fingerprint information, including: the terminal calculates the fingerprint matching degree between the collected fingerprint information and the pre-stored fingerprint template, and if the fingerprint matching degree is greater than or equal to the matching threshold, it is determined that the fingerprint information passes the fingerprint verification; If the fingerprint matching degree is less than the matching threshold, it is determined that the fingerprint information has not passed the fingerprint verification.
  • the fingerprint matching degree can be customized by the user or set by the terminal by default. For example, the fingerprint matching degree is 85%. This embodiment does not limit this.
  • the terminal displays the application identifier corresponding to the unread message and/or the source identifier of the unread message.
  • the application identifier is used to uniquely indicate the target application among multiple applications installed on the terminal, and the source identifier of the unread message is used to indicate the sender of the unread message.
  • FIG. 4 is an interface diagram of the implementation process of the message processing method provided in FIG. 3.
  • the terminal receives a short message to be processed and displays a banner notification.
  • the banner notification displays the text 41 "A new message!. If the user needs to view the message, long press the banner notification.
  • the terminal receives the long press operation signal corresponding to the banner notification, and collects the fingerprint information corresponding to the long press operation signal.
  • the terminal displays the message content of the short message 42 "Your membership card is coming soon The expiry date, please renew in time".
  • collecting fingerprint information corresponding to the designated touch signal includes:
  • the designated touch signal being the first touch signal acting on the banner notification or the second touch signal acting on the message viewing control on the banner notification;
  • the fingerprint information corresponding to the specified touch signal is collected through the fingerprint collection component under the screen.
  • the above-mentioned collection of fingerprint information corresponding to the designated touch signal through the under-screen fingerprint collection component includes:
  • the above-mentioned collection of fingerprint information corresponding to the designated touch signal through the under-screen fingerprint collection component includes:
  • fingerprint information is collected by the under-screen fingerprint collection component at the end position.
  • the above method further includes: before the fingerprint information corresponding to the designated touch signal is collected by the fingerprint collection component under the screen,
  • the preset disclosure condition includes that the application identifier corresponding to the unread message belongs to the preset unencrypted application identifier, and/or the message content of the unread message does not include the preset privacy keywords.
  • the aforementioned terminal is in a locked screen state or a bright screen state, and when the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed, including:
  • the message content of the unread message is displayed in the banner notification.
  • the aforementioned terminal is in a state of on-screen, and when the fingerprint information passes fingerprint verification, the message content of the unread message is displayed, including:
  • the message processing floating window is displayed, and the message content of unread messages is displayed in the message processing floating window.
  • the above unread message is an unread message of the second application, and a banner notification is displayed, including:
  • the above floating window for displaying message processing includes:
  • the message processing floating window of the second application program is displayed on the second partial area of the first user interface, and the message processing floating window is a floating window used to view and/or reply to unread messages.
  • a full-screen control is also displayed in the aforementioned message processing floating window, and the aforementioned method further includes:
  • the second user interface of the second application is displayed in a full-screen manner.
  • this embodiment uses the terminal to notify unread messages in the form of a banner notification. If the user needs to view the message, he only needs to perform a designated touch operation on the banner notification.
  • the terminal receives the corresponding banner notification
  • the fingerprint information corresponding to the designated touch signal is collected, and the message content of the unread message is displayed when the fingerprint information passes the fingerprint verification.
  • the embodiment of the present application uses the screen fingerprint recognition function, when the terminal receives a designated touch signal and The fingerprint information corresponding to the designated touch signal can display the complete message content of the unread message when the fingerprint is verified. While protecting user privacy, it simplifies user operations in the message viewing process and improves the efficiency of message viewing.
  • the terminal when the terminal receives an unread message to be processed, the terminal is in a locked screen state or a bright screen state.
  • the embodiments shown in FIGS. 5 and 6 are used to introduce the message processing method when the terminal is in the locked screen state
  • the embodiments shown in FIGS. 7 and 8 are used to introduce the message processing method when the terminal is in the bright screen state.
  • FIG. 5 shows a flowchart of a message processing method provided by another exemplary embodiment of the present application.
  • the method is applied to the terminal shown in FIG. 1 or 2 as an example.
  • the method includes:
  • Step 501 Receive unread messages to be processed when the terminal is in the lock screen state.
  • the terminal When the terminal is in the lock screen state, the terminal receives unread messages to be processed.
  • the terminal is in the locked screen state, including two possible situations: the screen of the terminal is in the off-screen state, or the screen of the terminal is in the on-screen state and a lock screen interface is displayed.
  • step 502 a banner notification is displayed on the lock screen interface, and a message reminder of unread messages is displayed in the banner notification.
  • the screen of the terminal is in the off-screen state.
  • the terminal When the terminal receives an unread message to be processed, it switches the screen of the terminal from off-screen to on-screen state, displays the lock screen interface, and displays it on the lock screen interface Display banner notification.
  • the screen of the terminal is in a bright screen state and a lock screen interface is displayed, and when the terminal receives an unread message to be processed, a banner notification is displayed on the lock screen interface.
  • the terminal displays a banner notification on the lock screen interface, including: the terminal displays a banner notification on a partial area of the lock screen interface, and displays a message reminder of unread messages in the banner notification.
  • a message viewing control is also displayed in the banner notification.
  • the message viewing control is a control used to trigger viewing of the message content of the unread message.
  • the types of message viewing controls include at least one of buttons, manipulable items, and sliders. This embodiment does not limit the type of the message viewing control.
  • Step 503 Receive a designated touch signal corresponding to the banner notification.
  • the designated touch signal is the first touch signal acting on the banner notification or the second touch signal acting on the message viewing control on the banner notification.
  • the terminal receiving the designated touch signal corresponding to the banner notification includes but is not limited to the following possible implementations.
  • the terminal receives a first touch signal acting on the banner notification, and the first touch signal is a designated touch signal corresponding to the banner notification.
  • the banner notification displayed by the terminal also displays a message viewing control
  • the terminal receives a second touch signal of the message viewing control acting on the banner notification, and the second touch signal corresponds to the banner The designated touch signal for notification.
  • the terminal when the terminal receives the designated touch signal corresponding to the banner notification, obtain the application identifier and/or message content corresponding to the unread message; when the application identifier and/or message content corresponding to the unread message meets the preset disclosure conditions When, perform the following step 504.
  • the preset disclosure condition includes that the application identifier corresponding to the unread message belongs to the preset unencrypted application identifier, and/or the message content of the unread message does not include the preset privacy keywords.
  • unencrypted applications are applications that have not been encrypted by fingerprints.
  • the privacy keywords are keywords related to the personal privacy of the owner of the terminal.
  • Privacy keywords are keywords whose privacy degree is higher than the privacy threshold. For example, the privacy keywords are "bank account”, “payment”, “consumption”, “verification code” and so on.
  • Step 504 Collect fingerprint information corresponding to the designated touch signal through the fingerprint collection component under the screen.
  • the fingerprint information corresponding to the designated touch signal is collected through the fingerprint collection component under the screen.
  • the terminal collecting fingerprint information corresponding to the specified touch signal through the fingerprint collection component under the screen includes but not limited to the following possible implementations.
  • the terminal collects fingerprint information through an under-screen fingerprint collection component at the banner notification location.
  • fingerprint information is collected by the under-screen fingerprint collection component at the end position.
  • the fingerprint collection prompt information is displayed, and the fingerprint collection prompt information is used to prompt the fingerprint collection area; when the drag signal corresponding to the banner notification is received and the drag signal is When the end position is in the fingerprint collection area, fingerprint information is collected through the under-screen fingerprint collection component at the end position.
  • the touch operation corresponding to the touch signal and the drag operation corresponding to the drag signal are designated as consecutive user operations.
  • the drag signal corresponding to the banner notification is a drag signal acting on the banner notification or a drag signal acting on the message viewing control on the banner notification.
  • the following description will only be made by taking the drag signal corresponding to the banner notification as the drag signal acting on the banner notification as an example.
  • the drag signal is a signal corresponding to the drag operation used to drag the banner notification to the fingerprint collection area.
  • the fingerprint collection area is a preset fingerprint collection area corresponding to the fingerprint collection component under the screen.
  • Step 505 When the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed in the banner notification.
  • the terminal performs fingerprint verification on the collected fingerprint information.
  • the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed in the banner notification; when the fingerprint information fails the fingerprint verification, the process ends.
  • the terminal displays the message content of the unread message in the banner notification, that is, the terminal switches and displays the message reminder in the banner notification as the message content of the unread message.
  • the terminal displays the application identifier corresponding to the unread message and/or the source identifier of the unread message.
  • the terminal displays the message content of the short message and at the same time displays the identifier of the short message application and the sender of the short message.
  • FIG. 6 is a schematic interface diagram of the implementation process of the message processing method provided in FIG. 5.
  • the screen of the terminal is in the off-screen state.
  • the terminal When the terminal receives a short message to be processed, it switches the terminal’s screen from the off-screen state to the on-screen state, and displays the lock screen interface 61.
  • a banner notification 62 is displayed on the interface 61, and an unread message is displayed in the banner notification 62.
  • the message reminding "A new message is coming!” According to the fingerprint information corresponding to the operation signal, when the fingerprint information passes the fingerprint verification, the terminal displays the sender ID of the short message "10690356*****" and the message content "Your membership card is about to expire" in the banner notification 62 , Please renew in time”.
  • this embodiment uses the terminal to notify unread messages in the form of a banner notification. If the user needs to view the message, he only needs to perform a designated touch operation on the banner notification.
  • the terminal receives the corresponding banner notification
  • the fingerprint information corresponding to the designated touch signal is collected, and the message content of the unread message is displayed when the fingerprint information passes the fingerprint verification.
  • the embodiment of the present application uses the screen fingerprint recognition function, when the terminal receives a designated touch signal and The fingerprint information corresponding to the designated touch signal can display the complete message content of the unread message when the fingerprint is verified. While protecting user privacy, it simplifies user operations in the message viewing process and improves the efficiency of message viewing.
  • the unread message to be processed is received, the fingerprint information corresponding to the designated touch signal is collected on the lock screen interface, and the dimension message is displayed when the fingerprint information passes fingerprint verification
  • the complete message content of the unread message can be viewed without unlocking, thereby improving the convenience of the terminal to process the unread message.
  • FIG. 7 shows a flowchart of a message processing method provided by another exemplary embodiment of the present application.
  • the method is applied to the terminal shown in FIG. 1 or 2 as an example.
  • the method includes:
  • Step 701 Display the first user interface of the first application when the terminal is in the on-screen state.
  • the terminal is in the on-screen state, and the terminal displays the first user interface of the first application.
  • the first user interface is an application interface of the first application program.
  • the terminal displays the first user interface of the first application in a landscape mode or a portrait mode.
  • the first application is an application in the foreground running state.
  • the first application is a first predetermined type of application, and the first predetermined type of application includes, but is not limited to: office applications, online education applications, online video applications, and game applications At least one of them.
  • Step 702 Receive an unread message of the second application.
  • the terminal receives the unread message of the second application.
  • the second application is the target application in the above embodiment.
  • the second application program is an application program different from the first application program.
  • the second application is an application with a message receiving function and a message viewing function.
  • the second application also has a message reply function.
  • the second application is a second predetermined type of application
  • the second predetermined type of application includes, but is not limited to: short message application, instant messaging application, team voice tool, Weibo program, mail program , At least one of online community applications, voice call applications, and video call applications.
  • Step 703 A banner notification is displayed on the first partial area of the first user interface, and a message reminder of unread messages is displayed in the banner notification.
  • the terminal superimposes and displays a banner notification on the first partial area of the first user interface, and displays a message reminder of unread messages in the banner notification.
  • a message viewing control is also displayed in the banner notification, and the message viewing control is a control used to trigger viewing of the message content of the unread message.
  • the message viewing control is a control used to trigger the display of a message processing floating window of the second application
  • the message processing floating window is a floating window used to view and/or reply to unread messages.
  • Step 704 Receive a designated touch signal corresponding to the banner notification.
  • the designated touch signal is the first touch signal acting on the banner notification or the second touch signal acting on the message viewing control on the banner notification.
  • the terminal when the terminal receives the designated touch signal corresponding to the banner notification, obtain the application identifier and/or message content corresponding to the unread message; when the application identifier and/or message content corresponding to the unread message meets the preset disclosure conditions When, perform the following step 705.
  • Step 705 Collect fingerprint information corresponding to the designated touch signal through the fingerprint collection component under the screen.
  • the fingerprint information corresponding to the designated touch signal is collected through the fingerprint collection component under the screen.
  • Step 706 When the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed.
  • the terminal performs fingerprint verification on the collected fingerprint information.
  • the fingerprint information passes the fingerprint verification, the message content of the unread message is displayed; when the fingerprint information fails the fingerprint verification, the process ends.
  • the manner in which the terminal displays the message content of the unread message includes but is not limited to the following possible implementation manners.
  • the terminal displays the message content of the unread message in the banner notification.
  • the terminal switches and displays the message reminder in the banner notification as the message content of the unread message.
  • the terminal cancels the display of the banner notification; the message processing floating window is displayed, and the message content of the unread message is displayed in the message processing floating window.
  • the message processing floating window is a floating window used to view and/or reply to unread messages.
  • Floating windows also called top-level windows or picture-in-picture windows, can be implemented by the Windows Manager window in the Android operating system.
  • the floating window can try not to block the main display elements on the first user interface.
  • the user can operate the second user interface in the floating window to control the running of the second application.
  • the terminal receives a drag signal on the border or corner of the floating window, and changes any one of the length, width, and display ratio of the floating window according to the drag signal.
  • the terminal displays a message processing floating window of the second application on the second partial area of the first user interface.
  • the terminal cancels the display of the banner notification on the first partial area of the first user interface, and superimposes and displays the message processing floating window of the second application on the second partial area of the first user interface.
  • the first local area and the second local area are two different local areas.
  • a full-screen control is also displayed in the message processing floating window.
  • the method further includes: when a third touch signal acting on the full-screen control is received, displaying the second user interface of the second application in a full-screen manner.
  • the third touch signal is any one of a single click operation signal, a double click operation signal, and a long press operation signal.
  • the third touch signal is a single click operation signal as an example for description.
  • the terminal switches the first application from the foreground running state to the background running state, and displays the second user interface of the second application on the screen in a full screen manner.
  • a minimized control is also displayed in the message processing floating window.
  • the method further includes: when a fourth touch signal acting on the minimized control is received, canceling the display of the message processing floating window of the second application program.
  • the fourth touch signal is any one of a single click operation signal, a double click operation signal, and a long press operation signal.
  • the fourth touch signal is a single click operation signal as an example for description.
  • the terminal cancels displaying the message processing floating window and closes the second application.
  • the terminal when the user clicks the minimized control, the terminal cancels the display of the message processing floating window, and adds the display of the functional controls on the first user interface, and switches the second application to run in the background status. That is, the terminal minimizes the message processing floating window and displays it as a functional control.
  • the terminal displays the application identifier corresponding to the unread message and/or the source identifier of the unread message in the message processing floating window.
  • FIG. 8 is an interface diagram of the implementation process of the message processing method provided in FIG. 7.
  • the screen of the terminal is in a bright screen state
  • the terminal displays the first user interface 81 of the game application A
  • receives the short message of the short message application B and superimposes it on the first partial area of the first user interface 81
  • a banner notification 82 is displayed
  • the banner notification 82 displays an unread message reminding "new message!”
  • the terminal receives the long press operation signal corresponding to the banner notification 82
  • the fingerprint information corresponding to the operation signal is long pressed through the fingerprint collection component under the screen.
  • the terminal cancels the display of the banner notification 82.
  • the message processing floating window 83 of the second application is superimposed on the second partial area of the user interface 81.
  • the message processing floating window 83 displays the sender identifier of the short message "10690356*****" and the message content "you Your membership card is about to expire, please renew in time.”
  • the message processing floating window 83 also displays a full-screen control 84.
  • the terminal receives a single-click operation signal acting on the full-screen control 84, the second user interface 85 of the short message application B is displayed in a full-screen manner.
  • this embodiment uses the terminal to notify unread messages in the form of a banner notification. If the user needs to view the message, he only needs to perform a designated touch operation on the banner notification.
  • the terminal receives the corresponding banner notification
  • the fingerprint information corresponding to the designated touch signal is collected, and the message content of the unread message is displayed when the fingerprint information passes the fingerprint verification.
  • the embodiment of the present application uses the screen fingerprint recognition function, when the terminal receives a designated touch signal and The fingerprint information corresponding to the designated touch signal can display the complete message content of the unread message when the fingerprint is verified. While protecting user privacy, it simplifies user operations in the message viewing process and improves the efficiency of message viewing.
  • the embodiment of the present application also displays the first user interface of the first application when the terminal is in the on-screen state, receives unread messages from the second application, and sends a banner notification on the first partial area of the first user interface.
  • Message reminder for unread messages in the form of if the user needs to view the message, he only needs to perform a designated touch operation on the banner notification.
  • the corresponding terminal receives the designated touch signal corresponding to the banner notification.
  • the unread message is displayed Under the premise of not interrupting the normal use of the first application, the unread messages of the second application can be viewed, which further improves the efficiency of message viewing while protecting user privacy.
  • FIG. 9 shows a schematic structural diagram of a message processing apparatus provided by an embodiment of the present application.
  • the message processing device can be implemented by a dedicated hardware circuit, or a combination of software and hardware, to become all or part of the terminal in FIG. 1 or FIG. 2.
  • the message processing device includes: a receiving module 910, a first display module 920, and a collection module 930 And a second display module 940.
  • the receiving module 910 is configured to receive unread messages to be processed
  • the first display module 920 is configured to display a banner notification, and a message reminder of unread messages is displayed in the banner notification;
  • the collection module 930 is configured to collect fingerprint information corresponding to the designated touch signal when the designated touch signal corresponding to the banner notification is received;
  • the second display module 940 is configured to display the message content of the unread message when the fingerprint information passes the fingerprint verification.
  • this embodiment uses the terminal to notify unread messages in the form of a banner notification. If the user needs to view the message, he only needs to perform a designated touch operation on the banner notification.
  • the terminal receives the corresponding banner notification
  • the fingerprint information corresponding to the designated touch signal is collected, and the message content of the unread message is displayed when the fingerprint information passes the fingerprint verification.
  • the embodiment of the present application uses the screen fingerprint recognition function, when the terminal receives a designated touch signal and The fingerprint information corresponding to the designated touch signal can display the complete message content of the unread message when the fingerprint is verified. While protecting user privacy, it simplifies user operations in the message viewing process and improves the efficiency of message viewing.
  • the collection module 930 further includes: a receiving unit and a collection unit.
  • the receiving unit is configured to receive a designated touch signal corresponding to the banner notification, where the designated touch signal is the first touch signal acting on the banner notification or the second touch signal acting on the message viewing control on the banner notification;
  • the collection unit is used to collect fingerprint information corresponding to the specified touch signal through the fingerprint collection component under the screen.
  • the collection unit is also used to collect fingerprint information through the under-screen fingerprint collection component at the banner notification area.
  • the collection unit is further configured to collect fingerprint information through the under-screen fingerprint collection component at the end position when the drag signal corresponding to the banner notification is received and the end position of the drag signal is located in the fingerprint collection area.
  • the device further includes: an acquisition module and an execution module;
  • the acquiring module is configured to acquire the application ID and the application identifier corresponding to the unread message when the designated touch signal corresponding to the banner notification is received before the receiving unit collects the fingerprint information corresponding to the designated touch signal through the fingerprint collection component under the screen. / Or message content;
  • the execution module is used to execute the step of collecting fingerprint information corresponding to the designated touch signal through the fingerprint collection component under the screen when the application identifier and/or message content corresponding to the unread message meets the preset disclosure conditions;
  • the preset disclosure condition includes that the application identifier corresponding to the unread message belongs to the preset unencrypted application identifier, and/or the message content of the unread message does not include the preset privacy keywords.
  • the terminal is in a locked screen state or a bright screen state
  • the second display module 940 is also configured to display the message content of the unread message in the banner notification when the fingerprint information passes the fingerprint verification.
  • the terminal is in the on-screen state, and the second display module 940 is also used to cancel the display of the banner notification when the fingerprint information passes the fingerprint verification;
  • the message processing floating window is displayed, and the message content of unread messages is displayed in the message processing floating window.
  • the unread message is an unread message of the second application
  • the first display module 920 is further configured to display a banner notification on the first partial area of the first user interface
  • the first user interface is the first application User interface
  • the second display module 940 is further configured to display the message processing floating window of the second application on the second partial area of the first user interface, the message processing floating window is used to view and/or reply to unread messages Floating window.
  • a full-screen control is also displayed in the message processing floating window, and the device further includes: a full-screen display module, which is used to display the first touch signal in a full-screen manner when a third touch signal acting on the full-screen control is received.
  • a full-screen display module which is used to display the first touch signal in a full-screen manner when a third touch signal acting on the full-screen control is received.
  • the receiving module 910 is also used to implement any other implicit or disclosed functions related to the receiving step in the above method embodiment; the first display module 920 and the second display module 940 are also used to implement any other function in the above method embodiment. Implicit or public functions related to the display step; the collection module 930 is also used to implement any other implicit or public functions related to the collection step in the foregoing method embodiments.
  • the device provided in the above embodiment when implementing its functions, only uses the division of the above functional modules for illustration. In practical applications, the above functions can be allocated by different functional modules as required, namely The internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
  • the present application also provides a computer-readable medium on which at least one instruction is stored, and the at least one instruction is used to be executed by a processor to implement the message processing method provided by the foregoing method embodiments.
  • the present application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the message processing method described in each of the foregoing embodiments.

Abstract

本申请公开了一种消息处理方法、装置、终端及存储介质,属于终端技术领域。所述方法包括:接收待处理的未读消息;显示横幅通知,横幅通知中显示有未读消息的消息提醒;当接收到对应于横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息;当指纹信息通过指纹验证时,显示未读消息的消息内容。本申请实施例借助屏幕指纹识别功能,当终端接收到对应于横幅通知的指定触摸信号且该指定触摸信号对应的指纹信息通过指纹验证时,即可显示出未读消息的完整消息内容,在保护了用户隐私的同时,简化了消息查看过程中的用户操作,提高了消息查看的效率。

Description

消息处理方法、装置、终端及存储介质
本申请要求于2019年01月31日提交的申请号为201910101452.1、发明名称为“消息处理方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及终端技术领域,特别涉及一种消息处理方法、装置、终端及存储介质。
背景技术
在诸如智能手机、平板电脑、电子书之类的终端上会收到各种各样的消息。当终端接收到未读消息时,会在终端的屏幕上进行消息提醒。
相关技术中,当终端接收到未读消息时,通常会在屏幕上以弹出框的形式直接显示该未读消息的消息内容,造成隐私泄露。若预先设置消息隐藏条件,当接收到的未读消息满足消息隐藏条件时隐藏消息内容,则用户需要查看该未读消息的消息内容时,需要通过终端先开启该未读消息对应的应用程序,然后在该应用程序中进行消息查看,用户操作较为复杂,消息查看的效率较低。
发明内容
本申请实施例提供了一种消息处理方法、装置、终端及存储介质,可以用于解决相关技术中为了保护用户隐私而导致消息查看的效率较低的问题。技术方案如下:
根据本申请实施例的一方面,提供了一种消息处理方法,所述方法应用于具有屏下指纹采集功能的终端,所述方法包括:
接收待处理的未读消息;
显示横幅通知,所述横幅通知中显示有所述未读消息的消息提醒;
当接收到对应于所述横幅通知的指定触摸信号时,采集所述指定触摸信号对应的指纹信息;
当所述指纹信息通过指纹验证时,显示所述未读消息的消息内容。
根据本申请实施例的另一方面,提供了一种消息处理装置,所述装置应用于具有屏下指纹采集功能的终端,所述装置包括:
接收模块,用于接收待处理的未读消息;
第一显示模块,用于显示横幅通知,所述横幅通知中显示有所述未读消息的消息提醒;
采集模块,用于当接收到对应于所述横幅通知的指定触摸信号时,采集所述指定触摸信号对应的指纹信息;
第二显示模块,用于当所述指纹信息通过指纹验证时,显示所述未读消息的消息内容。
根据本申请实施例的另一方面,提供了一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如上一个方面所述的消息处理方法。
根据本申请实施例的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上一个方面所述的消息处理方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1和图2是本申请一个示例性实施例提供的终端的结构方框图;
图3示出了本申请一个示例性实施例提供的消息处理方法的流程图;
图4是图3提供的消息处理方法实施过程的界面示意图;
图5示出了本申请另一个示例性实施例提供的消息处理方法的流程图;
图6是图5提供的消息处理方法实施过程的界面示意图;
图7示出了本申请另一个示例性实施例提供的消息处理方法的流程图;
图8是图7提供的消息处理方法实施过程的界面示意图;
图9示出了本申请一个示例性实施例提供的消息处理装置的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以智能手机、平板电脑、笔记本电脑等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。其中,存储器120中存储有至少一条指令,所述指令由处理器110加载并执行以实现下述实施例所示的消息处理方法。
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。
以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有Android运行时库242(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通 知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。
在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。
终端100的屏幕为触摸显示屏130,触摸显示屏130用于显示各个应用程序的用户界面,以及用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸信号。触摸显示屏130通常设置在终端100的前面板。触摸显示屏130可被设计成为全面屏、曲面屏或异型屏。触摸显示屏130还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。
本申请实施例中,终端100具有屏下指纹采集功能,该屏下指纹采集功能通过屏下指纹采集组件实现,可选的,该屏下指纹采集组件为光学指纹传感器、超声波指纹传感器或电容式指纹传感器,且屏下指纹采集组件设置在触摸显示屏130的下方。当用户在触摸显示屏130上操作时,屏下指纹采集组件即可采集用户指纹。
可选的,终端100包含多个屏下指纹采集组件,不同屏下指纹采集组件对应触摸显示屏130上不同的指纹采集区域。并且,终端100可以控制部分屏下指纹采集组件开启或关闭,从而实现指定区域的指纹采集。
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。
相关技术中,当终端接收到未读消息时,通常会在屏幕上以弹出框的形式直接显示该未读消息的消息内容,造成隐私泄露。若预先设置消息隐藏条件,当接收到的未读消息满足消息隐藏条件时隐藏消息内容,则用户需要查看该未读消息的消息内容时,需要通过终端先开启该未读消息对应的应用程序,然后在该应用程序中进行消息查看,用户操作较为复杂,消息查看的效率较低。为此,本申请实施例终端以横幅通知的形式对未读消息进行消息提醒,若用户需要查看消息只需对该横幅通知进行指定触摸操作,对应的当终端接收到指定触摸信号且该指定触摸信号对应的指纹信息通过指纹验证时即可显示出未读消息的完整消息内容,在保护了用户隐私的同时,简化了消息查看过程中的用户操作,提高了消息查看的效率。
请参考图3,其示出了本申请一个示例性实施例提供的消息处理方法的流程图。本实施例以该方法应用于图1或2所示的终端来举例说明。所述方法包括:
步骤301,接收待处理的未读消息。
可选的,终端接收目标应用程序的未读消息。
目标应用程序为安装和运行在终端内的系统应用程序或者第三方应用程序,可选的,目标应用程序是具有消息接收功能和消息查看功能的应用程序。目标应用程序包括但不限于:短消息应用程序、即时通讯类应用程序、团队语音工具、微博程序、邮件程序、网络社区应用程序、语音通话应用程序、视频通话应用程序中的至少一种。
可选的,未读消息是由其它终端或服务器发送至当前终端的消息,未读消息是未被当前终端的用户所查看过的消息。
未读消息还可称为新消息。比如,未读消息为短消息。
步骤302,显示横幅通知,横幅通知中显示有未读消息的消息提醒。
横幅通知是采用条状的窗口进行消息提醒的通知。可选的,条状的窗口是外观为矩形形状的长条状窗口,或者,外观为圆角矩形形状的长条状窗口。
可选的,终端在屏幕的局部区域上显示横幅通知,该横幅通知中显示有未读消息的消息提醒,并不显示该未读消息的完整的消息内容。
可选的,终端显示横幅通知,并在该横幅通知中显示消息提醒,该消息提醒为用于提示接收到未读消息的文本内容。
步骤303,当接收到对应于横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息。
可选的,指定触摸信号为用于触发开启指纹采集功能的用户操作信号。可选的,指定触摸信号包括点击操作信号、滑动操作信号、按压操作信号、长按操作信号中的任意一种或多种的组合。
可选的,终端开启指纹采集功能的触发条件包括但不限于以下几种可能的实现方式。
在一种可能的实施方式中,当终端接收到对应于横幅通知的指定触摸信号时,终端开启指纹采集功能。
在另一种可能的实施方式中,当终端接收到对应于横幅通知的指定触摸信号且指定触摸信号的触摸时长达到时长阈值时,终端开启指纹采集功能。
在另一种可能的实施方式中,当终端接收到对应于横幅通知的指定触摸信号且指定触摸信号的信号强度达到强度阈值时,终端开启指纹采集功能。
时长阈值或者强度阈值可以是用户自定义设置的,也可以是终端默认设置的,本实施例对此不加以限定。
在另一种可能的实施方式中,当终端接收到对应于横幅通知的指定触摸信号且指定触摸信号的触摸时长达到时长阈值且指定触摸信号的信号压力达到压力阈值时,终端开启指纹采集功能。
本申请实施例对终端开启指纹采集功能的触发条件的设置方式不加以限定。下面仅以当终端接收到对应于横幅通知的指定触摸信号时,终端开启指纹采集功能,通过屏下指纹采集组件采集指定触摸信号对应的指纹信息为例进行说明。
可选的,终端通过屏下指纹采集组件采集第一触摸信号对应的指纹信息包括但不限于以下几种可能的实现方式。
在一种可能的实现方式中,终端启动横幅通知处的屏下指纹采集组件进行指纹采集,以此降低终端的功耗。
在另一种可能的实现方式中,终端启动终端的多个屏下指纹采集组件进行指纹采集。本申请实施例对此不做限定。
可选的,当横幅通知的显示时长达到预设显示时长且在预设显示时长内未接收到对应于横幅通知的触摸信号时,取消对横幅通知的显示。
预设显示时长为用户自定义设置的,或者为终端默认设置的,本实施例对此不加以限定。
步骤304,当指纹信息通过指纹验证时,显示未读消息的消息内容。
可选的,终端对采集到的指纹信息进行指纹验证,当指纹信息通过指纹验证时显示未读消息的消息内容;当指纹信息未通过指纹验证时结束进程。
可选的,终端中预先存储有终端的持有者的指纹模板。终端对采集到的指纹信息进行指纹验证,包括:终端计算采集到的指纹信息与预存的指纹模板之间的指纹匹配度,若指纹匹配度大于或者等于匹配阈值则确定该指纹信息通过指纹验证;若指纹匹配度小于匹配阈值则确定该指纹信息未通过指纹验证。
指纹匹配度可以是用户自定义设置的,也可以是终端默认设置的。比如,指纹匹配度为85%。本实施例对此不加以限定。
可选的,终端在显示未读消息的消息内容的同时,显示该未读消息对应的应用标识和/或未读消息的来源方标识。其中,应用标识用于在终端安装的多个应用程序中唯一指示目标应用程序,未读消息的来源方标识用于指示未读消息的发送方。
在一个示意性的例子中,请参考图4,其是图3提供的消息处理方法实施过程的界面示意图。如图4所示,终端接收待处理的短消息,显示横幅通知,该横幅通知中显示有文本内容41“来新消息啦!”,若用户需要查看消息则长按该横幅通知,对应的,终端接收到对应于该横幅通知的长按操作信号,采集长按操作信号对应的指纹信息,当指纹信息通过指纹验证时终端在屏幕上显示该短消息的消息内容42“你的会员卡快要到期了,请及时续费”。
可选的,上述当接收到对应于横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息,包括:
接收对应于横幅通知的指定触摸信号,指定触摸信号为作用于横幅通知的第一触摸信号或者作用于横幅通知上的消息查看控件的第二触摸信号;
通过屏下指纹采集组件采集指定触摸信号对应的指纹信息。
可选的,上述通过屏下指纹采集组件采集指定触摸信号对应的指纹信息,包括:
通过横幅通知处的屏下指纹采集组件采集指纹信息。
可选的,上述通过屏下指纹采集组件采集指定触摸信号对应的指纹信息,包括:
当接收到对应于横幅通知的拖动信号且拖动信号的终点位置位于指纹采集区域时,通过终点位置处的屏下指纹采集组件采集指纹信息。
可选的,上述方法还包括:在通过屏下指纹采集组件采集指定触摸信号对应的指纹信息之前,
当接收到对应于横幅通知的指定触摸信号时,获取未读消息对应的应用标识和/或消息内容;
当未读消息对应的应用标识和/或消息内容满足预设公开条件时,执行通过屏下指纹采集组件采集指定触摸信号对应的指纹信息的步骤;
其中,预设公开条件包括未读消息对应的应用标识属于预设的未加密应用程序的标识,和/或,未读消息的消息内容中不包括预设的隐私关键词。
可选的,上述终端处于锁屏状态或者亮屏状态,当指纹信息通过指纹验证时,显示未读消息的消息内容,包括:
当指纹信息通过指纹验证时,在横幅通知中显示未读消息的消息内容。
可选的,上述终端处于亮屏状态,上述当指纹信息通过指纹验证时,显示未读消息的消息内容,包括:
当指纹信息通过指纹验证时,取消对横幅通知的显示;
显示消息处理浮窗,消息处理浮窗中显示有未读消息的消息内容。
可选的,上述未读消息为第二应用程序的未读消息,显示横幅通知,包括:
在第一用户界面的第一局部区域上显示横幅通知,第一用户界面为第一应用程序的用户界面;
上述显示消息处理浮窗,包括:
在第一用户界面的第二局部区域上显示第二应用程序的消息处理浮窗,消息处理浮窗为用于对未读消息进行消息查看和/或消息回复的浮动窗口。
可选的,上述消息处理浮窗中还显示有全屏控件,上述方法还包括:
当接收到作用于全屏控件的第三触摸信号时,以全屏方式显示第二应用程序的第二用户界面。
综上所述,本实施例通过终端以横幅通知的形式对未读消息进行消息提醒,若用户需要查看消息只需对该横幅通知进行指定触摸操作,对应的当终端接收到对应于该横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息,当指纹信息通过指纹验证时显示未读消息的消息内容。相较于相关技术中为了保护用户隐私需要先开启未读消息对应的应用程序然后才能在该应用程序中查看消息的情况,本申请实施例借助屏幕指纹识别功能,当终端接收到指定触摸信号且该指定触摸信号对应的指纹信息通过指纹验证时即可显示出未读消息的完整消息内容,在保护了用户隐私的同时,简化了消息查看过程中的用户操作,提高了消息查看的效率。
需要说明的是,当终端接收到待处理的未读消息时终端处于锁屏状态或者亮屏状态。下面,采用图5和图6所示的实施例介绍当终端处于锁屏状态时的消息处理方法,采用图7和图8所示的实施例介绍当终端处于亮屏状态时的消息处理方法。
请参考图5,其示出了本申请另一个示例性实施例提供的消息处理方法的流程图。本实施例以该方法应用于图1或2所示的终端来举例说明。所述方法包括:
步骤501,当终端处于锁屏状态时接收待处理的未读消息。
当终端处于锁屏状态时终端接收待处理的未读消息。可选的,终端处于锁屏状态,包括两种可能的情况:终端的屏幕处于熄屏状态,或者,终端的屏幕处于亮屏状态且显示有锁屏界面。
需要说明的是,终端接收待处理的未读消息的过程可参考上述实施例中的相关细节,在此不再赘述。
步骤502,在锁屏界面上显示横幅通知,横幅通知中显示有未读消息的消息提醒。
可选的,终端的屏幕处于熄屏状态,当终端接收到待处理的未读消息时,将终端的屏幕从熄屏状态切换为亮屏状态,显示锁屏界面,并在该锁屏界面上显示横幅通知。
可选的,终端的屏幕处于亮屏状态且显示有锁屏界面,当终端接收到待处理的未读消息时,在该锁屏界面上显示横幅通知。
终端在锁屏界面上显示横幅通知,包括:终端在锁屏界面的局部区域上显示横幅通知,并在该横幅通知中显示未读消息的消息提醒。
可选的,该横幅通知中还显示有消息查看控件。该消息查看控件为用于触发查看该未读消息的消息内容的控件。消息查看控件的类型包括按钮、可操控的条目、滑块中的至少一种。本实施例对消息查看控件的类型不加以限定。
步骤503,接收对应于横幅通知的指定触摸信号。
可选的,指定触摸信号为作用于横幅通知的第一触摸信号或者作用于横幅通知上的消息查看控件的第二触摸信号。
终端接收对应于横幅通知的指定触摸信号包括但不限于以下几种可能的实现方式。
在一种可能的实现方式中,终端接收作用于横幅通知的第一触摸信号,该第一触摸信号即为对应于横幅通知的指定触摸信号。
在另一种可能的实施方式中,终端显示的横幅通知中还显示有消息查看控件,终端接收作用于横幅通知上的消息查看控件的第二触摸信号,该第二触摸信号即为对应于横幅通知的指定触摸信号。
可选的,当终端接收到对应于横幅通知的指定触摸信号时,获取未读消息对应的应用标识和/或消息内容;当未读消息对应的应用标识和/或消息内容满足预设公开条件时,执行下述步骤504。
其中,预设公开条件包括未读消息对应的应用标识属于预设的未加密应用程序的标识,和/或,未读消息的消息内容中不包括预设的隐私关键词。
可选的,未加密应用程序为未经过指纹加密的应用程序。
隐私关键词为与终端的持有者的个人隐私相关的关键词。隐私关键词为隐私程度高于隐私阈值的关键词。比如,隐私关键词为“银行账号”、“付款”、“消费”、“验证码”等等。
步骤504,通过屏下指纹采集组件采集指定触摸信号对应的指纹信息。
当终端接收到对应于横幅通知的指定触摸信号时,通过屏下指纹采集组件采集指定触摸信号对应的指纹信息。
可选的,终端通过屏下指纹采集组件采集指定触摸信号对应的指纹信息包括但不限于以下几种可能的实现方式。
在一种可能的实现方式中,终端通过横幅通知处的屏下指纹采集组件采集指纹信息。
在另一种可能的实施方式中,当终端接收到对应于横幅通知的拖动信号且拖动信号的终点位置位于指纹采集区域时,通过终点位置处的屏下指纹采集组件采集指纹信息。
可选的,当终端接收到对应于横幅通知的指定触摸信号时显示指纹采集提示信息,指纹采集提示信息用于提示指纹采集区域;当接收到对应于横幅通知的拖动信号且拖动信号的终点位置位于指纹采集区域时,通过终点位置处的屏下指纹采集组件采集指纹信息。
可选的,指定触摸信号对应的触摸操作与拖动信号对应的拖动操作为连贯的用户操作。
示意性的,对应于横幅通知的拖动信号为作用于横幅通知的拖动信号或者为作用于横幅通知上的消息查看控件的拖动信号。下面仅以对应于横幅通知的拖动信号为作用于横幅通知的拖动信号为例进行说明。
拖动信号为用于将横幅通知拖动至指纹采集区域中的拖动操作对应的信号。其中,指纹采集区域为预先设置的屏下指纹采集组件对应的指纹采集区域。
步骤505,当指纹信息通过指纹验证时,在横幅通知中显示未读消息的消息内容。
可选的,终端对采集到的指纹信息进行指纹验证,当指纹信息通过指纹验证时在横幅通知中显示未读消息的消息内容;当指纹信息未通过指纹验证时结束进程。
需要说明的是,终端对采集到的指纹信息进行指纹验证的过程可参考上述实施例中的相关细节,在此不再赘述。
可选的,终端在横幅通知中显示未读消息的消息内容,即终端将横幅通知中的消息提醒切换显示为未读消息的消息内容。
可选的,终端在显示未读消息的消息内容的同时,显示该未读消息对应的应用标识和/或未读消息的来源方标识。
示意性的,当未读消息为短消息时,终端在显示短消息的消息内容的同时,显示短消息应用程序的标识和该短消息的发送方标识。
在一个示意性的例子中,请参考图6,其是图5提供的消息处理方法实施过程的界面示意图。如图6所示,终端的屏幕处于熄屏状态,当终端接收到待处理的短消息时,将终端的屏幕从熄屏状态切换为亮屏状态,显示锁屏界面61,并在该锁屏界面61上显示横幅通知62,该横幅通知62中显示有未读消息的消息提醒“来新消息啦!”,终端接收对应于横幅通知62的长按操作信号,通过屏下指纹采集组件采集长按操作信号对应的指纹信息,当指纹信息通过指纹验证时,终端在横幅通知62中显示该短消息的发送方标识“10690356*****”和消息内容“你的会员卡快要到期了,请及时续费”。
综上所述,本实施例通过终端以横幅通知的形式对未读消息进行消息提醒,若用户需要查看消息只需对该横幅通知进行指定触摸操作,对应的当终端接收到对应于该横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息,当指纹信息通过指纹验证时显示未读消 息的消息内容。相较于相关技术中为了保护用户隐私需要先开启未读消息对应的应用程序然后才能在该应用程序中查看消息的情况,本申请实施例借助屏幕指纹识别功能,当终端接收到指定触摸信号且该指定触摸信号对应的指纹信息通过指纹验证时即可显示出未读消息的完整消息内容,在保护了用户隐私的同时,简化了消息查看过程中的用户操作,提高了消息查看的效率。
另外,本申请实施例中,当终端处于锁屏状态时接收待处理的未读消息,在锁屏界面上通过采集指定触摸信号对应的指纹信息,并在该指纹信息通过指纹验证时显示维度消息的消息内容,实现了不解锁即可查看未读消息的完整消息内容,从而提高了终端处理未读消息的便捷性。
请参考图7,其示出了本申请另一个示例性实施例提供的消息处理方法的流程图。本实施例以该方法应用于图1或2所示的终端来举例说明。所述方法包括:
步骤701,当终端处于亮屏状态时显示第一应用程序的第一用户界面。
可选的,终端处于亮屏状态,终端显示第一应用程序的第一用户界面。其中,第一用户界面为第一应用程序的应用界面。
可选的,终端在横屏模式或者竖屏模式下显示第一应用程序的第一用户界面。
第一应用程序是位于前台运行状态的应用程序。可选的,第一应用程序是第一预定类型的应用程序,第一预定类型的应用程序包括但不限于:办公类应用程序、在线教育类应用程序、在线视频类应用程序、游戏类应用程序中的至少一种。
步骤702,接收第二应用程序的未读消息。
终端接收第二应用程序的未读消息。第二应用程序即为上述实施例中的目标应用程序。在本实施例中第二应用程序为不同于第一应用程序的应用程序。
第二应用程序为具有消息接收功能和消息查看功能的应用程序。可选的,第二应用程序还具有消息回复功能。
可选的,第二应用程序是第二预定类型的应用程序,第二预定类型的应用程序包括但不限于:短消息应用程序、即时通讯类应用程序、团队语音工具、微博程序、邮件程序、网络社区应用程序、语音通话应用程序、视频通话应用程序中的至少一种。
需要说明的是,终端接收第二应用程序的未读消息的过程可类比参考上述实施例中终端接收待处理的未读消息的相关细节,在此不再赘述。
步骤703,在第一用户界面的第一局部区域上显示横幅通知,横幅通知中显示有未读消息的消息提醒。
可选的,终端在第一用户界面的第一局部区域上叠加显示横幅通知,并在横幅通知中显示未读消息的消息提醒。
可选的,该横幅通知中还显示有消息查看控件,该消息查看控件为用于触发查看该未读消息的消息内容的控件。
可选的,该消息查看控件为用于触发显示第二应用程序的消息处理浮窗的控件,消息处理浮窗为用于对未读消息进行消息查看和/或消息回复的浮动窗口。
步骤704,接收对应于横幅通知的指定触摸信号。
其中,指定触摸信号为作用于横幅通知的第一触摸信号或者作用于横幅通知上的消息查看控件的第二触摸信号。
可选的,当终端接收到对应于横幅通知的指定触摸信号时,获取未读消息对应的应用标识和/或消息内容;当未读消息对应的应用标识和/或消息内容满足预设公开条件时,执行下述步骤705。
需要说明的是,终端接收对应于横幅通知的指定触摸信号的过程可参考上述实施例中的相关细节,在此不再赘述。
步骤705,通过屏下指纹采集组件采集指定触摸信号对应的指纹信息。
当终端接收到对应于横幅通知的指定触摸信号时通过屏下指纹采集组件采集指定触摸信号对应的指纹信息。
需要说明的是,终端通过屏下指纹采集组件采集指定触摸信号对应的指纹信息的过程可参考上述实施例中的相关细节,在此不再赘述。
步骤706,当指纹信息通过指纹验证时,显示未读消息的消息内容。
可选的,终端对采集到的指纹信息进行指纹验证,当指纹信息通过指纹验证时显示未读消息的消息内容;当指纹信息未通过指纹验证时结束进程。
需要说明的是,终端对采集到的指纹信息进行指纹验证的过程可参考上述实施例中的相关细节,在此不再赘述。
可选的,终端显示未读消息的消息内容的方式包括但不限于以下几种可能的实现方式。
在一种可能的实现方式中,当指纹信息通过指纹验证时,终端在横幅通知中显示未读消息的消息内容。
可选的,当指纹信息通过指纹验证时,终端将横幅通知中的消息提醒切换显示为未读消息的消息内容。
在另一种可能的实现方式中,当指纹信息通过指纹验证时,终端取消对横幅通知的显示;显示消息处理浮窗,在消息处理浮窗中显示未读消息的消息内容。
消息处理浮窗为用于对未读消息进行消息查看和/或消息回复的浮动窗口。浮动窗口,又称为顶层窗口或画中画窗口,可以由安卓操作系统中的Windows Manager窗口实现。该浮动窗口可以尽量不遮挡第一用户界面上的主要显示元素。用户可以对浮动窗口中的第二用户界面进行操作,进而控制第二应用程序的运行。
可选地,终端接收浮动窗口的边框或边角上的拖动信号,根据该拖动信号改变浮动窗口的长、宽以及显示比例中的任意一种。
可选的,终端在第一用户界面的第二局部区域上显示第二应用程序的消息处理浮窗。示意性的,终端在第一用户界面的第一局部区域上取消对横幅通知的显示,并在第一用户界面的第二局部区域上叠加显示第二应用程序的消息处理浮窗。
其中,第一局部区域与第二局部区域为两个不同的局部区域。
可选的,消息处理浮窗中还显示有全屏控件。该方法还包括:当接收到作用于全屏控件的第三触摸信号时,以全屏方式显示第二应用程序的第二用户界面。
第三触摸信号为单击操作信号、双击操作信号和长按操作信号中的任意一种,本实施例仅以第三触摸信号为单击操作信号为例进行说明。
当用户单击全屏控件时,终端将第一应用程序从前台运行状态切换为后台运行状态,并将第二应用程序的第二用户界面以全屏方式显示在屏幕中。
可选的,消息处理浮窗中还显示有最小化控件。该方法还包括:当接收到作用于最小化控件的第四触摸信号时,取消对第二应用程序的消息处理浮窗的显示。
第四触摸信号为单击操作信号、双击操作信号和长按操作信号中的任意一种,本实施例仅以第四触摸信号为单击操作信号为例进行说明。
在一种可能的实现方式中,当用户单击最小化控件,终端取消显示消息处理浮窗,并且关闭第二应用程序。
在另一种可能的实现方式中,当用户单击最小化控件后,终端取消显示消息处理浮窗,并且在第一用户界面上增加对功能控件的显示,将第二应用程序切换为后台运行状态。即终端将消息处理浮窗最小化显示为功能控件。
可选的,终端在消息处理浮窗中显示未读消息的消息内容的同时,在消息处理浮窗中显示该未读消息对应的应用标识和/或未读消息的来源方标识。
在一个示意性的例子中,请参考图8,其是图7提供的消息处理方法实施过程的界面示意图。如图8所示,终端的屏幕处于亮屏状态,终端显示游戏应用程序A的第一用户界面81,接收短消息应用程序B的短消息,在第一用户界面81的第一局部区域上叠加显示横幅通知 82,该横幅通知82中显示有未读消息的消息提醒“来新消息啦!”。当终端接收到对应于横幅通知82的长按操作信号时通过屏下指纹采集组件长按操作信号对应的指纹信息,当指纹信息通过指纹验证时,终端取消对横幅通知82的显示,在第一用户界面81的第二局部区域上叠加显示第二应用程序的消息处理浮窗83,在消息处理浮窗83中显示该短消息的发送方标识“10690356*****”和消息内容“你的会员卡快要到期了,请及时续费”。其中,消息处理浮窗83中还显示有全屏控件84,当终端接收到作用于全屏控件84的单击操作信号时,以全屏方式显示短消息应用程序B的第二用户界面85。
综上所述,本实施例通过终端以横幅通知的形式对未读消息进行消息提醒,若用户需要查看消息只需对该横幅通知进行指定触摸操作,对应的当终端接收到对应于该横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息,当指纹信息通过指纹验证时显示未读消息的消息内容。相较于相关技术中为了保护用户隐私需要先开启未读消息对应的应用程序然后才能在该应用程序中查看消息的情况,本申请实施例借助屏幕指纹识别功能,当终端接收到指定触摸信号且该指定触摸信号对应的指纹信息通过指纹验证时即可显示出未读消息的完整消息内容,在保护了用户隐私的同时,简化了消息查看过程中的用户操作,提高了消息查看的效率。
另外,本申请实施例还通过当终端处于亮屏状态时显示第一应用程序的第一用户界面,接收第二应用程序的未读消息,在第一用户界面的第一局部区域上以横幅通知的形式对未读消息进行消息提醒,若用户需要查看消息只需对该横幅通知进行指定触摸操作,对应的终端接收对应于横幅通知的指定触摸信号,当指纹信息通过指纹验证时显示未读消息的消息内容,在不打断对第一应用程序的正常使用前提下,实现对第二应用程序的未读消息的查看,在保护用户隐私的同时进一步提高了消息查看的效率。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参考图9,其示出了本申请一个实施例提供的消息处理装置的结构示意图。该消息处理装置可以通过专用硬件电路,或者,软硬件的结合实现成为图1或图2中的终端的全部或一部分,该消息处理装置包括:接收模块910、第一显示模块920、采集模块930和第二显示模块940。
接收模块910,用于接收待处理的未读消息;
第一显示模块920,用于显示横幅通知,横幅通知中显示有未读消息的消息提醒;
采集模块930,用于当接收到对应于横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息;
第二显示模块940,用于当指纹信息通过指纹验证时,显示未读消息的消息内容。
综上所述,本实施例通过终端以横幅通知的形式对未读消息进行消息提醒,若用户需要查看消息只需对该横幅通知进行指定触摸操作,对应的当终端接收到对应于该横幅通知的指定触摸信号时,采集指定触摸信号对应的指纹信息,当指纹信息通过指纹验证时显示未读消息的消息内容。相较于相关技术中为了保护用户隐私需要先开启未读消息对应的应用程序然后才能在该应用程序中查看消息的情况,本申请实施例借助屏幕指纹识别功能,当终端接收到指定触摸信号且该指定触摸信号对应的指纹信息通过指纹验证时即可显示出未读消息的完整消息内容,在保护了用户隐私的同时,简化了消息查看过程中的用户操作,提高了消息查看的效率。
可选的,采集模块930,还包括:接收单元和采集单元。
接收单元,用于接收对应于横幅通知的指定触摸信号,指定触摸信号为作用于横幅通知的第一触摸信号或者作用于横幅通知上的消息查看控件的第二触摸信号;
采集单元,用于通过屏下指纹采集组件采集指定触摸信号对应的指纹信息。
可选的,采集单元,还用于通过横幅通知处的屏下指纹采集组件采集指纹信息。
可选的,采集单元,还用于当接收到对应于横幅通知的拖动信号且拖动信号的终点位置位于指纹采集区域时,通过终点位置处的屏下指纹采集组件采集指纹信息。
可选的,该装置还包括:获取模块和执行模块;
获取模块,用于在所述接收单元通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息之前,当接收到对应于横幅通知的指定触摸信号时,获取未读消息对应的应用标识和/或消息内容;
执行模块,用于当未读消息对应的应用标识和/或消息内容满足预设公开条件时,执行通过屏下指纹采集组件采集指定触摸信号对应的指纹信息的步骤;
其中,预设公开条件包括未读消息对应的应用标识属于预设的未加密应用程序的标识,和/或,未读消息的消息内容中不包括预设的隐私关键词。
可选的,终端处于锁屏状态或者亮屏状态,第二显示模块940,还用于当指纹信息通过指纹验证时,在横幅通知中显示未读消息的消息内容。
可选的,终端处于亮屏状态,第二显示模块940,还用于当指纹信息通过指纹验证时,取消对横幅通知的显示;
显示消息处理浮窗,消息处理浮窗中显示有未读消息的消息内容。
可选的,未读消息为第二应用程序的未读消息,第一显示模块920,还用于在第一用户界面的第一局部区域上显示横幅通知,第一用户界面为第一应用程序的用户界面;
第二显示模块940,还用于在第一用户界面的第二局部区域上显示第二应用程序的消息处理浮窗,消息处理浮窗为用于对未读消息进行消息查看和/或消息回复的浮动窗口。
可选的,消息处理浮窗中还显示有全屏控件,该装置还包括:全屏显示模块,该全屏显示模块,用于当接收到作用于全屏控件的第三触摸信号时,以全屏方式显示第二应用程序的第二用户界面。
相关细节可结合参考图3至图8所示的方法实施例。其中,接收模块910还用于实现上述方法实施例中其他任意隐含或公开的与接收步骤相关的功能;第一显示模块920和第二显示模块940还用于实现上述方法实施例中其他任意隐含或公开的与显示步骤相关的功能;采集模块930还用于实现上述方法实施例中其他任意隐含或公开的与采集步骤相关的功能。
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本申请还提供一种计算机可读介质,其上存储有至少一条指令,至少一条指令用于被处理器执行以实现上述各个方法实施例提供的消息处理方法。
本申请还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各个实施例所述的消息处理方法。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的消息处理方法中全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的计算机可读存储介质可以是只读存储器,磁盘或光盘等。以上所述仅为本申请可选的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种消息处理方法,其特征在于,所述方法应用于具有屏下指纹采集功能的终端,所述方法包括:
    接收待处理的未读消息;
    显示横幅通知,所述横幅通知中显示有所述未读消息的消息提醒;
    当接收到对应于所述横幅通知的指定触摸信号时,采集所述指定触摸信号对应的指纹信息;
    当所述指纹信息通过指纹验证时,显示所述未读消息的消息内容。
  2. 根据权利要求1所述的方法,其特征在于,所述当接收到对应于所述横幅通知的指定触摸信号时,采集所述指定触摸信号对应的指纹信息,包括:
    接收对应于所述横幅通知的所述指定触摸信号,所述指定触摸信号为作用于所述横幅通知的第一触摸信号或者作用于所述横幅通知上的消息查看控件的第二触摸信号;
    通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息。
  3. 根据权利要求2所述的方法,其特征在于,所述通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息,包括:
    通过所述横幅通知处的屏下指纹采集组件采集所述指纹信息。
  4. 根据权利要求2所述的方法,其特征在于,所述通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息,包括:
    当接收到对应于所述横幅通知的拖动信号且所述拖动信号的终点位置位于指纹采集区域时,通过所述终点位置处的屏下指纹采集组件采集所述指纹信息。
  5. 根据权利要求2所述的方法,其特征在于,所述通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息之前,还包括:
    当接收到对应于所述横幅通知的所述指定触摸信号时,获取所述未读消息对应的应用标识和/或消息内容;
    当所述未读消息对应的应用标识和/或消息内容满足预设公开条件时,执行通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息的步骤;
    其中,所述预设公开条件包括所述未读消息对应的应用标识属于预设的未加密应用程序的标识,和/或,所述未读消息的消息内容中不包括预设的隐私关键词。
  6. 根据权利要求1所述的方法,其特征在于,所述终端处于锁屏状态或者亮屏状态,所述当所述指纹信息通过指纹验证时,显示所述未读消息的消息内容,包括:
    当所述指纹信息通过指纹验证时,在所述横幅通知中显示所述未读消息的消息内容。
  7. 根据权利要求1所述的方法,其特征在于,所述终端处于亮屏状态,所述当所述指纹信息通过指纹验证时,显示所述未读消息的消息内容,包括:
    当所述指纹信息通过指纹验证时,取消对所述横幅通知的显示;
    显示消息处理浮窗,在所述消息处理浮窗中显示所述未读消息的消息内容。
  8. 根据权利要求7所述的方法,其特征在于,所述未读消息为第二应用程序的未读消息,所述显示横幅通知,包括:
    在第一用户界面的第一局部区域上显示所述横幅通知,所述第一用户界面为第一应用程序的用户界面;
    所述显示消息处理浮窗,包括:
    在所述第一用户界面的第二局部区域上显示所述第二应用程序的所述消息处理浮窗,所述消息处理浮窗为用于对所述未读消息进行消息查看和/或消息回复的浮动窗口。
  9. 根据权利要求8所述的方法,其特征在于,所述消息处理浮窗中还显示有全屏控件,所述方法还包括:
    当接收到作用于所述全屏控件的第三触摸信号时,以全屏方式显示所述第二应用程序的第二用户界面。
  10. 一种消息处理装置,其特征在于,所述装置应用于具有屏下指纹采集功能的终端,所述装置包括:
    接收模块,用于接收待处理的未读消息;
    第一显示模块,用于显示横幅通知,所述横幅通知中显示有所述未读消息的消息提醒;
    采集模块,用于当接收到对应于所述横幅通知的指定触摸信号时,采集所述指定触摸信号对应的指纹信息;
    第二显示模块,用于当所述指纹信息通过指纹验证时,显示所述未读消息的消息内容。
  11. 根据权利要求10所述的装置,其特征在于,所述采集模块,包括:接收单元和采集单元;
    所述接收单元,用于接收对应于所述横幅通知的所述指定触摸信号,所述指定触摸信号为作用于所述横幅通知的第一触摸信号或者作用于所述横幅通知上的消息查看控件的第二触摸信号;
    所述采集单元,用于通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息。
  12. 根据权利要求11所述的装置,其特征在于,所述接收单元,还用于通过所述横幅通知处的屏下指纹采集组件采集所述指纹信息。
  13. 根据权利要求11所述的装置,其特征在于,所述接收单元,还用于当接收到对应于所述横幅通知的拖动信号且所述拖动信号的终点位置位于指纹采集区域时,通过所述终点位置处的屏下指纹采集组件采集所述指纹信息。
  14. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    获取模块,用于在所述接收单元通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息之前,当接收到对应于所述横幅通知的所述指定触摸信号时,获取所述未读消息对应的应用标识和/或消息内容;
    执行模块,用于当所述未读消息对应的应用标识和/或消息内容满足预设公开条件时,执行通过屏下指纹采集组件采集所述指定触摸信号对应的指纹信息的步骤;
    其中,所述预设公开条件包括所述未读消息对应的应用标识属于预设的未加密应用程序的标识,和/或,所述未读消息的消息内容中不包括预设的隐私关键词。
  15. 根据权利要求11所述的装置,其特征在于,所述终端处于锁屏状态或者亮屏状态;
    所述第二显示模块,还用于当所述指纹信息通过指纹验证时,在所述横幅通知中显示所述未读消息的消息内容。
  16. 根据权利要求11所述的装置,其特征在于,所述终端处于亮屏状态;
    所述第二显示模块,还用于当所述指纹信息通过指纹验证时,取消对所述横幅通知的显示;显示消息处理浮窗,在所述消息处理浮窗中显示所述未读消息的消息内容。
  17. 根据权利要求16所述的装置,其特征在于,所述未读消息为第二应用程序的未读消息;
    所述第一显示模块,还用于在第一用户界面的第一局部区域上显示所述横幅通知,所述第一用户界面为第一应用程序的用户界面;
    所述第二显示模块,还用于在所述第一用户界面的第二局部区域上显示所述第二应用程序的所述消息处理浮窗,所述消息处理浮窗为用于对所述未读消息进行消息查看和/或消息回复的浮动窗口。
  18. 根据权利要求17所述的装置,其特征在于,所述消息处理浮窗中还显示有全屏控件,所述装置还包括:
    全屏显示模块,用于当接收到作用于所述全屏控件的第三触摸信号时,以全屏方式显示所述第二应用程序的第二用户界面。
  19. 一种终端,其特征在于,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如权利要求1至9任一所述的消息处理方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如权利要求1至9任一所述的消息处理方法。
PCT/CN2020/073145 2019-01-31 2020-01-20 消息处理方法、装置、终端及存储介质 WO2020156308A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910101452.1A CN109862187B (zh) 2019-01-31 2019-01-31 消息处理方法、装置、终端及存储介质
CN201910101452.1 2019-01-31

Publications (1)

Publication Number Publication Date
WO2020156308A1 true WO2020156308A1 (zh) 2020-08-06

Family

ID=66897477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/073145 WO2020156308A1 (zh) 2019-01-31 2020-01-20 消息处理方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN109862187B (zh)
WO (1) WO2020156308A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113552985A (zh) * 2021-08-04 2021-10-26 网易(杭州)网络有限公司 消息处理方法、装置、电子设备和存储介质
EP4141637A4 (en) * 2021-06-15 2023-12-27 Honor Device Co., Ltd. METHOD FOR DISPLAYING NOTIFICATIONS AND ELECTRONIC DEVICE

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862187B (zh) * 2019-01-31 2021-03-16 Oppo广东移动通信有限公司 消息处理方法、装置、终端及存储介质
CN110611737A (zh) * 2019-09-25 2019-12-24 网易(杭州)网络有限公司 信息处理方法、装置、电子设备和存储介质
CN111475078B (zh) * 2020-03-11 2021-07-20 珠海格力电器股份有限公司 锁屏消息的查看方法、装置、设备及计算机可读介质
CN113973152A (zh) * 2020-07-06 2022-01-25 华为技术有限公司 一种未读消息快速回复方法及电子设备
CN112422743A (zh) * 2020-09-28 2021-02-26 深圳市修远文化创意有限公司 一种手机屏下指纹模块启动的方法及手机
CN112214145A (zh) * 2020-10-29 2021-01-12 Oppo广东移动通信有限公司 一种消息管理方法、装置及计算机可读存储介质
CN115269212A (zh) * 2021-04-30 2022-11-01 华为技术有限公司 一种消息提醒方法及终端设备
CN113805747B (zh) * 2021-08-12 2023-07-25 荣耀终端有限公司 信息提醒方法、电子设备及计算机可读存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101825986A (zh) * 2009-03-06 2010-09-08 Lg电子株式会社 移动终端与控制移动终端的方法
CN106096346A (zh) * 2016-06-02 2016-11-09 深圳市万普拉斯科技有限公司 通知信息访问方法及装置、屏幕解锁方法
CN106293711A (zh) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 一种推送消息的显示方法、装置及终端
CN106709306A (zh) * 2016-12-01 2017-05-24 北京小米移动软件有限公司 消息阅读方法及装置
CN107317931A (zh) * 2017-06-28 2017-11-03 深圳市金立通信设备有限公司 一种信息处理方法、终端及计算机可读存储介质
CN107766712A (zh) * 2017-10-11 2018-03-06 深圳市金立通信设备有限公司 消息提示方法、终端及计算机可读介质
CN107977563A (zh) * 2017-12-12 2018-05-01 维沃移动通信有限公司 一种消息处理方法、装置及移动终端
CN108629171A (zh) * 2018-04-27 2018-10-09 维沃移动通信有限公司 一种未读消息处理方法及终端
CN109862187A (zh) * 2019-01-31 2019-06-07 Oppo广东移动通信有限公司 消息处理方法、装置、终端及存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9898642B2 (en) * 2013-09-09 2018-02-20 Apple Inc. Device, method, and graphical user interface for manipulating user interfaces based on fingerprint sensor inputs
CN105491207B (zh) * 2014-09-15 2019-01-29 北京壹人壹本信息科技有限公司 一种私密联系人通信提醒方法、系统及移动终端
CN107017996B (zh) * 2017-04-28 2021-09-21 北京小米移动软件有限公司 身份验证方法、装置、设备及存储介质
KR102325418B1 (ko) * 2017-05-02 2021-11-10 후아웨이 테크놀러지 컴퍼니 리미티드 알림 처리 방법 및 전자 기기
CN107506634B (zh) * 2017-07-31 2020-02-14 Oppo广东移动通信有限公司 数据的显示方法、装置、存储介质及终端
CN108108092A (zh) * 2017-11-30 2018-06-01 努比亚技术有限公司 全屏模式下消息查看的方法、装置及计算机可读存储介质
CN108681716B (zh) * 2018-05-18 2020-10-13 北京小米移动软件有限公司 指纹解锁方法及装置
CN108595935B (zh) * 2018-05-18 2021-08-31 北京小米移动软件有限公司 指纹解锁方法及装置
CN109040410A (zh) * 2018-07-18 2018-12-18 北京小米智能科技有限公司 信息显示方法及装置

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101825986A (zh) * 2009-03-06 2010-09-08 Lg电子株式会社 移动终端与控制移动终端的方法
CN106096346A (zh) * 2016-06-02 2016-11-09 深圳市万普拉斯科技有限公司 通知信息访问方法及装置、屏幕解锁方法
CN106293711A (zh) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 一种推送消息的显示方法、装置及终端
CN106709306A (zh) * 2016-12-01 2017-05-24 北京小米移动软件有限公司 消息阅读方法及装置
CN107317931A (zh) * 2017-06-28 2017-11-03 深圳市金立通信设备有限公司 一种信息处理方法、终端及计算机可读存储介质
CN107766712A (zh) * 2017-10-11 2018-03-06 深圳市金立通信设备有限公司 消息提示方法、终端及计算机可读介质
CN107977563A (zh) * 2017-12-12 2018-05-01 维沃移动通信有限公司 一种消息处理方法、装置及移动终端
CN108629171A (zh) * 2018-04-27 2018-10-09 维沃移动通信有限公司 一种未读消息处理方法及终端
CN109862187A (zh) * 2019-01-31 2019-06-07 Oppo广东移动通信有限公司 消息处理方法、装置、终端及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4141637A4 (en) * 2021-06-15 2023-12-27 Honor Device Co., Ltd. METHOD FOR DISPLAYING NOTIFICATIONS AND ELECTRONIC DEVICE
CN113552985A (zh) * 2021-08-04 2021-10-26 网易(杭州)网络有限公司 消息处理方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN109862187B (zh) 2021-03-16
CN109862187A (zh) 2019-06-07

Similar Documents

Publication Publication Date Title
WO2020156308A1 (zh) 消息处理方法、装置、终端及存储介质
US11868586B2 (en) Floating window user interface display method and apparatus, device, and storage medium
EP3680766B1 (en) Split screen display method, apparatus, terminal, and storage medium
CN108415751B (zh) 消息提醒方法、装置、设备及存储介质
WO2019174477A1 (zh) 用户界面显示方法、装置及终端
WO2019174546A1 (zh) 用户界面显示方法、装置、设备及存储介质
WO2019174469A1 (zh) 消息提醒方法、装置、设备及存储介质
CN107526509B (zh) 消息显示方法、装置及移动终端
WO2020088167A1 (zh) 应用开启方法、装置、终端及存储介质
US20200204513A1 (en) Message Display Method, Terminal, and Storage Medium
WO2019047908A1 (zh) 指纹识别方法、装置、移动终端及存储介质
WO2019174465A1 (zh) 用户界面显示方法、装置、终端及存储介质
WO2020156199A1 (zh) 应用登录方法、装置、终端及存储介质
EP3667528A1 (en) Fingerprint recognition method and device, mobile terminal, and storage medium
US20230035047A1 (en) Remote assistance method, device, storage medium, and terminal
WO2020151518A1 (zh) 应用开启方法、装置、终端及存储介质
CN111767554A (zh) 屏幕分享方法、装置、存储介质及电子设备
CN113268212A (zh) 投屏方法、装置、存储介质及电子设备
CN109284049A (zh) 显示状态的切换方法、装置、终端及存储介质
CN111127469A (zh) 缩略图显示方法、装置、存储介质以及终端
CN111913614B (zh) 多画面显示控制方法、装置、存储介质及显示器
CN107704187B (zh) 通知消息处理方法、装置及终端
CN113950043B (zh) 通信方法、装置、存储介质以及终端
CN111538997A (zh) 图像处理方法、装置、存储介质以及终端
CN113419650A (zh) 一种数据移动方法、装置、存储介质及电子设备

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

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

Country of ref document: EP

Kind code of ref document: A1