CN108388459B - Message display processing method and mobile terminal - Google Patents
Message display processing method and mobile terminal Download PDFInfo
- Publication number
- CN108388459B CN108388459B CN201810097288.7A CN201810097288A CN108388459B CN 108388459 B CN108388459 B CN 108388459B CN 201810097288 A CN201810097288 A CN 201810097288A CN 108388459 B CN108388459 B CN 108388459B
- Authority
- CN
- China
- Prior art keywords
- message
- application
- fingerprint data
- mobile terminal
- fingerprint
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a message display processing method and a mobile terminal, wherein the method comprises the following steps: when the first application is in a foreground running state, if a first message pushed by a second application is received, displaying the first message through a prompt box; within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component; and if the first fingerprint data is matched with prestored second fingerprint data, shielding a second message pushed by a third application, wherein the second message is a message after the mobile terminal receives the first message. In the embodiment of the invention, whether the push messages of other applications are shielded or not can be determined by combining the fingerprint when the first application runs in the foreground, so that the use interference of the first application caused by the push messages of other applications is avoided. Therefore, the problem that the operation mode for shielding the application push message display is complex is solved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message display processing method and a mobile terminal.
Background
As is known in the art, more and more applications are installed in existing mobile terminals, and after receiving a message pushed by an application, the mobile terminal typically performs a prompt, for example, all or part of the content of the message may be displayed through a preset prompt box. Since a user usually does not want to disturb other messages when using a part of applications (such as games), the conventional system performs a shortcut operation for shielding the application that pushes messages, and usually opens a status bar, clicks a shielding control, and then returns to the currently used application after receiving the push message. The operation mode of the push message display of the shielding application is complex, and is inconvenient for the user to operate.
Disclosure of Invention
The embodiment of the invention provides a message display processing method and a mobile terminal, and aims to solve the problem that the operation mode for shielding the message display pushed by an application is complex.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a message display processing method, applied to a mobile terminal, including:
when a first application is in a foreground running state, if a first message pushed by a second application is received, displaying the first message through a prompt box, wherein the second application is other applications except the first application in the applications installed on the mobile terminal;
within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component;
and if the first fingerprint data is matched with prestored second fingerprint data, shielding a second message pushed by a third application, wherein the third application is other applications except the first application in the applications installed in the mobile terminal, and the second message is a message after the mobile terminal receives the first message.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the display module is used for displaying a first message pushed by a second application through a prompt box if the first message is received when the first application is in a foreground running state, wherein the second application is other applications except the first application in the applications installed on the mobile terminal;
the acquisition module is used for receiving the removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message and acquiring first fingerprint data identified based on the fingerprint identification component;
and the processing module is used for shielding a second message pushed by a third application if the first fingerprint data is matched with prestored second fingerprint data, wherein the third application is an application other than the first application in applications installed in the mobile terminal, and the second message is a message after the mobile terminal receives the first message.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the message display processing method.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned message display processing method.
In the embodiment of the invention, when a first application is in a foreground running state, if a first message pushed by a second application is received, the first message is displayed through a prompt box; within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component; and if the first fingerprint data is matched with the prestored second fingerprint data, shielding a second message pushed by a third application. In the embodiment of the invention, whether the push messages of other applications are shielded or not can be determined by combining the fingerprint when the first application runs in the foreground, so that the use interference of the first application caused by the push messages of other applications is avoided. Therefore, the problem that the operation mode for shielding the application push message display is complex is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a message display processing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a message display processing method according to an embodiment of the present invention;
fig. 3 is a third flowchart of a message display processing method according to an embodiment of the present invention;
fig. 4 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a second structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a message display processing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
The message display processing method provided by the embodiment of the invention is mainly applied to the mobile terminal and is used for controlling the display state of the received applied message.
In this step, the mobile terminal may control the first application foreground or background to run according to the operation input by the user. And when the first application is in a foreground running state, detecting whether a first message pushed by the second application is received or not in real time, and if the first message is received, displaying the first message through a prompt box. Generally, the first message may be displayed in the form of a prompt box on top of a display interface of the mobile terminal. At the moment, the user can click and view the first message, and can also remove the first message according to a preset pushing mode; of course, when the user does not perform any operation on the first message, the first message can be controlled to be automatically hidden after being displayed for a preset time.
It should be noted that, in this embodiment, each time the application switches to the foreground operation, the message shielding function is initialized, so that when the first application is in the foreground operation state, if the first message of the second application is received, the first message is displayed.
The first application may be a video application, a chat application, a game application, and the like, and is not limited further herein.
102, receiving a removal operation input by a user for the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data identified by a fingerprint identification component;
in this step, the input mode of the removing operation may be set according to actual needs, for example, in this embodiment, the user may touch the prompt box and drag the prompt box to move in a preset direction. The first fingerprint data may be acquired at the same time as or after the removal operation is received, or may be acquired before the removal operation is received and after the prompt box is displayed.
The fingerprint identification component may be disposed below a screen of the mobile terminal (i.e., the mobile terminal having the function of identifying fingerprints under the screen), may be an independent fingerprint identification component disposed on one side of the screen, or may be disposed on a back side of the mobile terminal, which is not listed here. It should be noted that, if the fingerprint identification component may be disposed below the screen of the mobile terminal, the fingerprint identification area of the fingerprint identification component may be the entire screen or a specific area of the screen, and is not further limited herein.
In this step, the second fingerprint data may be unlocking fingerprint data pre-stored in the mobile terminal, or may be fingerprint data for a user to independently set for shielding a message. That is to say, in this embodiment, the pre-stored second fingerprint data may be multiplexed with the unlocking fingerprint data, or may be independent fingerprint data, which is not used for performing fingerprint unlocking matching, and is not further limited herein.
The third application may or may not be the second application. That is, in this embodiment, the messages of the masked third application are messages of all other applications that are not running in the foreground.
In the embodiment of the invention, when a first application is in a foreground running state, if a first message pushed by a second application is received, the first message is displayed through a prompt box; within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component; and if the first fingerprint data is matched with the prestored second fingerprint data, shielding a second message pushed by a third application. In the embodiment of the invention, whether the push messages of other applications are shielded or not can be determined by combining the fingerprint when the first application runs in the foreground, so that the use interference of the first application caused by the push messages of other applications is avoided. Therefore, the problem that the operation mode for shielding the application push message display is complex is solved.
Furthermore, the setting form of the fingerprint identification component can be set according to actual needs, and the setting form of the fingerprint identification component is different, so that the corresponding form of the acquired first fingerprint data is also different.
Specifically, in one case: the display area of the prompt box is located in the fingerprint identification area corresponding to the fingerprint identification component.
In this embodiment, when the display area of the prompt box is located in the fingerprint identification area corresponding to the fingerprint identification component, the step 102 includes:
and receiving a removal operation input by a user for the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data corresponding to the removal operation identified by the fingerprint identification component.
In this embodiment, the mobile terminal is a mobile terminal having a function of fingerprint identification under a screen, that is, the fingerprint identification component may perform fingerprint identification on a full screen or may perform fingerprint identification on a screen in a specific area, and the prompt box is located in the specific area.
Specifically, when an input removal operation is performed, the mobile terminal may recognize first fingerprint data of a finger performing the removal operation. At this time, if the user needs to mask the second message, the user can use the finger pre-storing the second fingerprint data to perform the removal operation; if the user does not need to mask the second message, the user can use other fingers except the finger pre-storing the second fingerprint data to perform the removing operation. In the embodiment, the removal operation is performed by different fingers, so that two functions of shielding or not shielding the second message can be realized, the operation is simple, and the interestingness of the operation is increased.
In another case: the display area of the prompt box is located outside the fingerprint identification area corresponding to the fingerprint identification component.
In this embodiment, when the display area of the prompt box is located outside the fingerprint identification area corresponding to the fingerprint identification component, the step 102 includes:
and receiving a removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data of a finger touching the fingerprint identification component.
In this embodiment, the mobile terminal may be a mobile terminal having an off-screen fingerprint identification function (where the identification area of the fingerprint identification component is a specific area of the screen, and the prompt box is located outside the specific area), or may be a common mobile terminal (that is, the fingerprint identification component of the mobile terminal is located on one side of the screen, or on the back of the mobile terminal, etc.).
Specifically, after the prompt box is displayed, if the user needs to shield the second message, the finger storing the second fingerprint data in advance can be used for pressing the fingerprint identification component, and meanwhile, other finger input removal operations are adopted. If the user does not need to shield the second message, the user can directly input the removal operation. In the embodiment, when the second message needs to be shielded, only the finger pressing operation needs to be added, and the operation mode is simple and convenient for user input.
Specifically, the manner of pushing the second message by the third application on the screen may be set according to actual needs, in this embodiment, as shown in fig. 2, the step 103 includes:
In this embodiment, the specific cache position of the preset cache region may be set according to actual needs, for example, the preset cache region may be a cache region configured independently by the system, or may be a cache queue configured for foreground application by the system. And storing the second message in the preset buffer area after receiving the second message. In this embodiment, when the second message shielding function is turned on, the second message may be stored, so that loss of important messages is avoided.
Optionally, after the step 1031, the method further includes:
detecting whether the first application exits from foreground operation or not;
and if the first application exits from foreground operation, displaying the second message.
In this embodiment, after receiving the second message, the running state of the first application is detected in real time, and when it is detected that the first application exits from foreground running, the second message is displayed, and at this time, the user can check and process the second message in time. Meanwhile, additional operation is not needed by a user, and the intelligent degree of the mobile terminal is improved. It should be appreciated that in other embodiments, a specialized interface may also be provided for the user to actively view the second message.
It should be noted that, after receiving the first message, if the fingerprint identification function is not turned on, the fingerprint identification function is actively turned on. In order to save power, if the fingerprint recognition function is turned on after receiving the first message, the fingerprint recognition function may be turned off after recognizing the first fingerprint data. In addition, the first message may be stored at the same location as the second message, or may not be stored. If the first message is stored, the first message may be displayed simultaneously with the second message.
For a better understanding of the present invention, the following detailed description is given by way of specific implementations.
In this implementation, the user needs to press the fingerprint identification component to input the first fingerprint data. The specific implementation flow is shown in fig. 3.
Step 301: and recording the fingerprint in advance, and storing the recorded fingerprint as second fingerprint data by the mobile terminal at the moment.
Step 302: when any application example _ a is opened or switched from the background to the foreground, initializing a FLAG value; and each application is respectively bound with a respective FLAG and a buffer queue, the FLAG is a variable mark and is used for indicating whether to shield the message, and the example _ A is the foreground application.
Step 303: detecting a push message received by a background application; the background application is the second application or the third application. Upon detecting that the push message is received by the background application, step 304 is performed.
Step 304: the system checks the FLAG bound by foreground application example _ a. If the FLAG is true, allowing a prompt box to pop up; otherwise, the prompt box is not allowed to pop up. When FLAG is true, execute step 305; when FLAG is not true, execute step 309;
305, popping up a prompt box, displaying the received push message, and starting a fingerprint identification function;
In step 310, when the foreground application exits, the message in the cache queue of the foreground application is displayed, where the exiting of the foreground application indicates that the application example _ a exits from the foreground running, for example, switching to the background running, or directly exiting the application.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
Referring to fig. 4, fig. 4 is a structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 4, the mobile terminal includes:
a display module 401, configured to, when a first application is in a foreground operating state, if a first message pushed by a second application is received, display the first message through a prompt box, where the second application is an application installed in the mobile terminal except the first application;
an obtaining module 402, configured to receive, within a preset time period in which the first message is displayed, a removal operation input by a user for the prompt box, and obtain first fingerprint data identified based on a fingerprint identification component;
a processing module 403, configured to shield a second message pushed by a third application if the first fingerprint data matches with second fingerprint data stored in advance, where the third application is an application installed in the mobile terminal except the first application, and the second message is a message after the mobile terminal receives the first message.
Optionally, when the display area of the prompt box is located in the fingerprint identification area corresponding to the fingerprint identification component, the obtaining module 402 is specifically configured to: and receiving a removal operation input by a user for the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data corresponding to the removal operation identified by the fingerprint identification component.
Optionally, when the display area of the prompt box is located outside the fingerprint identification area corresponding to the fingerprint identification component, the obtaining module 402 is specifically configured to: and receiving a removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data of a finger touching the fingerprint identification component.
Optionally, the processing module 403 is specifically configured to: and if the first fingerprint data is matched with the prestored second fingerprint data, storing the received second message to a preset cache region, and shielding the display of the second message.
Optionally, the mobile terminal further includes:
the detection module is used for detecting whether the first application exits from foreground operation or not;
the display module 401 is further configured to display the second message if the first application exits foreground operation.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition. In the embodiment of the invention, whether the push messages of other applications are shielded or not can be determined by combining the fingerprint when the first application runs in the foreground, so that the use interference of the first application caused by the push messages of other applications is avoided. Therefore, the problem that the operation mode for shielding the application push message display is complex is solved.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to, when a first application is in a foreground running state, if a first message pushed by a second application is received, display the first message through a prompt box, where the second application is an application other than the first application in applications installed in the mobile terminal; within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component; and if the first fingerprint data is matched with prestored second fingerprint data, shielding a second message pushed by a third application, wherein the third application is other applications except the first application in the applications installed in the mobile terminal, and the second message is a message after the mobile terminal receives the first message.
Optionally, when the display area of the prompt box is located in the fingerprint identification area corresponding to the fingerprint identification component, the processor 510 is further configured to: and receiving a removal operation input by a user for the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data corresponding to the removal operation identified by the fingerprint identification component.
Optionally, when the display area of the prompt box is located outside the fingerprint identification area corresponding to the fingerprint identification component, the processor 510 is further configured to: and receiving a removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data of a finger touching the fingerprint identification component.
Optionally, the processor 510 is further configured to: and if the first fingerprint data is matched with the prestored second fingerprint data, storing the received second message to a preset cache region, and shielding the display of the second message.
Optionally, the processor 510 is further configured to: detecting whether the first application exits from foreground operation or not; and if the first application exits from foreground operation, displaying the second message.
In the embodiment of the invention, when a first application is in a foreground running state, if a first message pushed by a second application is received, the first message is displayed through a prompt box; within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component; and if the first fingerprint data is matched with the prestored second fingerprint data, shielding a second message pushed by a third application. In the embodiment of the invention, whether the push messages of other applications are shielded or not can be determined by combining the fingerprint when the first application runs in the foreground, so that the use interference of the first application caused by the push messages of other applications is avoided. Therefore, the problem that the operation mode for shielding the application push message display is complex is solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned message display processing method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned message display processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (7)
1. A message display processing method is applied to a mobile terminal, and is characterized by comprising the following steps:
when a first application is in a foreground running state, if a first message pushed by a second application is received, displaying the first message through a prompt box, wherein the second application is other applications except the first application in the applications installed on the mobile terminal;
within a preset time period for displaying the first message, receiving a removal operation input by a user aiming at the prompt box, and acquiring first fingerprint data identified by a fingerprint identification component;
if the first fingerprint data is matched with prestored second fingerprint data, shielding a second message pushed by a third application, wherein the third application is an application other than the first application in applications installed on the mobile terminal, and the second message is a message after the mobile terminal receives the first message;
wherein, if the first fingerprint data matches with the second fingerprint data stored in advance, the step of shielding a second message pushed by a third application includes:
if the first fingerprint data is matched with the prestored second fingerprint data, storing the received second message to a preset cache region, and shielding the display of the second message;
after the step of storing the received second message in a preset cache area and shielding the display of the second message if the first fingerprint data matches with the second fingerprint data stored in advance, the method further includes:
detecting whether the first application exits from foreground operation or not;
and if the first application exits from foreground operation, displaying the second message.
2. The method according to claim 1, wherein when the display area of the prompt box is located in the fingerprint identification area corresponding to the fingerprint identification component, the receiving a user's removal operation input for the prompt box within the preset time period for displaying the first message and acquiring the first fingerprint data identified based on the fingerprint identification component comprises:
and receiving a removal operation input by a user for the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data corresponding to the removal operation identified by the fingerprint identification component.
3. The method according to claim 1, wherein when the display area of the prompt box is located outside the fingerprint identification area corresponding to the fingerprint identification component, the receiving a user's removal operation input for the prompt box within the preset time period for displaying the first message and acquiring the first fingerprint data identified based on the fingerprint identification component comprises:
and receiving a removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data of a finger touching the fingerprint identification component.
4. A message display processing apparatus, comprising:
the display module is used for displaying a first message pushed by a second application through a prompt box if the first message is received when the first application is in a foreground running state, wherein the second application is other applications except the first application in the applications installed on the mobile terminal;
the acquisition module is used for receiving the removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message and acquiring first fingerprint data identified based on the fingerprint identification component;
a processing module, configured to shield a second message pushed by a third application if the first fingerprint data matches second fingerprint data stored in advance, where the third application is an application installed in the mobile terminal except the first application, and the second message is a message after the mobile terminal receives the first message;
wherein the processing module is specifically configured to: if the first fingerprint data is matched with the prestored second fingerprint data, storing the received second message to a preset cache region, and shielding the display of the second message;
the device further comprises:
the detection module is used for detecting whether the first application exits from foreground operation or not;
the display module is further configured to display the second message if the first application exits foreground operation.
5. The apparatus according to claim 4, wherein when the display area of the prompt box is located in the fingerprint identification area corresponding to the fingerprint identification component, the obtaining module is specifically configured to: and receiving a removal operation input by a user for the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data corresponding to the removal operation identified by the fingerprint identification component.
6. The apparatus according to claim 4, wherein when the display area of the prompt box is located outside the fingerprint identification area corresponding to the fingerprint identification component, the obtaining module is specifically configured to: and receiving a removal operation input by a user aiming at the prompt box within a preset time period for displaying the first message, and acquiring first fingerprint data of a finger touching the fingerprint identification component.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the message display processing method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810097288.7A CN108388459B (en) | 2018-01-31 | 2018-01-31 | Message display processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810097288.7A CN108388459B (en) | 2018-01-31 | 2018-01-31 | Message display processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108388459A CN108388459A (en) | 2018-08-10 |
CN108388459B true CN108388459B (en) | 2020-06-23 |
Family
ID=63074248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810097288.7A Active CN108388459B (en) | 2018-01-31 | 2018-01-31 | Message display processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108388459B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445967A (en) * | 2018-11-08 | 2019-03-08 | 苏州达家迎信息技术有限公司 | A kind of message treatment method, device, terminal and storage medium |
CN110007817A (en) * | 2019-02-26 | 2019-07-12 | 努比亚技术有限公司 | A kind of message treatment method and mobile terminal, computer readable storage medium |
CN110782588B (en) * | 2019-10-11 | 2022-01-25 | 深圳巴斯巴科技发展有限公司 | Information prompting method, server and readable storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079833A (en) * | 2006-12-19 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A system and method for shielding instant message |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103886237A (en) * | 2014-03-26 | 2014-06-25 | 深圳市亚略特生物识别科技有限公司 | Control method and system for electronic device with fingerprint sensor and touch screen |
US9380010B2 (en) * | 2014-06-03 | 2016-06-28 | International Business Machines Corporation | Conversation branching for more efficient resolution |
CN105117631B (en) * | 2015-08-24 | 2018-08-31 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105808119A (en) * | 2016-03-01 | 2016-07-27 | 上海斐讯数据通信技术有限公司 | Undisturbed photographing method and device |
CN106293711B (en) * | 2016-07-29 | 2019-10-22 | 宇龙计算机通信科技(深圳)有限公司 | A kind of display methods of PUSH message, device and terminal |
CN107102807A (en) * | 2017-03-31 | 2017-08-29 | 努比亚技术有限公司 | A kind of method for information display and electronic equipment |
-
2018
- 2018-01-31 CN CN201810097288.7A patent/CN108388459B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079833A (en) * | 2006-12-19 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A system and method for shielding instant message |
Also Published As
Publication number | Publication date |
---|---|
CN108388459A (en) | 2018-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378B (en) | Display control method and mobile terminal | |
CN108459797B (en) | Control method of folding screen and mobile terminal | |
CN109343759B (en) | Screen-turning display control method and terminal | |
CN109271121B (en) | Application display method and mobile terminal | |
CN109078319B (en) | Game interface display method and terminal | |
CN108459815B (en) | Display control method and mobile terminal | |
CN107728923B (en) | Operation processing method and mobile terminal | |
CN109407948B (en) | Interface display method and mobile terminal | |
CN109343788B (en) | Operation control method of mobile terminal and mobile terminal | |
CN110174993B (en) | Display control method, terminal equipment and computer readable storage medium | |
CN108958593B (en) | Method for determining communication object and mobile terminal | |
CN110012143B (en) | Telephone receiver control method and terminal | |
CN107908705A (en) | A kind of information-pushing method, information push-delivery apparatus and mobile terminal | |
CN107783747B (en) | Interface display processing method and mobile terminal | |
CN109240577A (en) | A kind of screenshotss method and terminal | |
CN109669656B (en) | Information display method and terminal equipment | |
CN109814799A (en) | Screen response control mehtod and terminal device | |
CN108984099B (en) | Man-machine interaction method and terminal | |
CN111061404A (en) | Control method and first electronic device | |
CN111061446A (en) | Display method and electronic equipment | |
CN108388459B (en) | Message display processing method and mobile terminal | |
CN111246061B (en) | Mobile terminal, method for detecting shooting mode and storage medium | |
CN110764650A (en) | Key trigger detection method and electronic equipment | |
CN108924319B (en) | Proximity detection method and mobile terminal | |
CN110851219A (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |