CN108924346B - Message shielding method and mobile terminal - Google Patents

Message shielding method and mobile terminal Download PDF

Info

Publication number
CN108924346B
CN108924346B CN201810661659.XA CN201810661659A CN108924346B CN 108924346 B CN108924346 B CN 108924346B CN 201810661659 A CN201810661659 A CN 201810661659A CN 108924346 B CN108924346 B CN 108924346B
Authority
CN
China
Prior art keywords
target group
messages
viewed
message
equal
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
Application number
CN201810661659.XA
Other languages
Chinese (zh)
Other versions
CN108924346A (en
Inventor
李帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810661659.XA priority Critical patent/CN108924346B/en
Publication of CN108924346A publication Critical patent/CN108924346A/en
Application granted granted Critical
Publication of CN108924346B publication Critical patent/CN108924346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The embodiment of the invention provides a message shielding method and a mobile terminal, wherein the method comprises the following steps: determining whether a message received by a target group is viewed within a preset time interval; if not, judging whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not; and if the number of the messages which are not viewed in the target group is greater than or equal to a first preset number, shielding all the messages received by the target group. Whether the target group is a group which is not concerned by the user or not interested in the target group can be determined according to whether the message of the target group in the preset interval is checked, so that the message received by the target group is automatically shielded when the target group is judged to have more information and is the group which is not concerned by the user or not interested in the user, the group message shielding setting by the user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved.

Description

Message shielding method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a message shielding method and a mobile terminal.
Background
In today with more and more developed networks, people are more and more dependent on the networks, and the number of the generated instant messaging applications which can be installed in the mobile terminal is more and more. People can chat in various ways such as text, voice, video and the like by means of the instant messaging application program. Specifically, in addition to one-to-one communication between two users, communication may also be performed in a group manner.
Specifically, when a user joins or is invited to enter a group, the user starts receiving group messages. However, some group users are not particularly concerned, but the number of group messages is large, and in order to avoid the disturbance of such group messages, the users need to individually perform group message shielding setting on such groups, which results in cumbersome operation.
Disclosure of Invention
The embodiment of the invention provides a message shielding and mobile terminal method, which aims to solve the problem of complex operation when a group shielding is set in the prior art.
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 shielding method, where the method includes: determining whether a message received by a target group is viewed within a preset time interval; if not, judging whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not; and if the number of the messages which are not viewed in the target group is greater than or equal to a first preset number, shielding all the messages received by the target group.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the first determining module is used for determining whether the message received by the target group is checked within a preset time interval; the first judging module is used for judging whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not if the messages are not checked; and the shielding module is used for shielding all messages received by the target group if the number of the messages which are not viewed in the target group is greater than or equal to a first preset number.
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 shielding method.
In a fourth aspect, an 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 steps of the message shielding method are implemented.
In the embodiment of the present invention, by determining whether the message received by the target group is checked within a preset time interval, if not checked, determining whether the number of the messages in the target group that are not viewed is greater than or equal to a first preset number, if the number of the messages in the target group that are not viewed is greater than or equal to the first preset number, the embodiment of the present invention can determine whether the target group is a group that the user does not pay attention to or is not interested in according to whether the message of the target group is viewed within a preset interval, so as to determine that the target group has more information and is a group that the user does not pay attention to or is not interested in, the message received by the target group is automatically shielded, the group message shielding setting by a user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a message screening method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a message screening method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal according to a fifth 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.
Example one
Referring to fig. 1, a flowchart illustrating steps of a message screening method according to a first embodiment of the present invention is shown.
The message shielding method provided by the embodiment of the invention comprises the following steps:
step 101: it is determined whether a message received by the target group is viewed within a preset time interval.
It should be noted that, a person skilled in the art may set the preset time interval according to actual situations, and the preset time interval may be set to one day, two days, three days, and the like.
The manner of determining whether the message accepted by the target group is viewed within the preset time interval may be: and aiming at the target group, detecting the receiving time of the first unread message and the real-time of the mobile terminal, and carrying out time span statistics, wherein if the time span from the first unread message to the real-time exceeds a preset time interval, the message received by the target group can be determined not to be checked.
Step 102: if not, whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not is judged.
If the message received by the target group is checked, detecting the prompt of the target group in a status bar or a notification bar, and acquiring the number of prompt pieces of the unread message; or detecting the number of unread messages prompted by the group interface when the user clicks the target group to check the messages; or when the user opens the chat tool, reading the unread number of the information marked on the group displayed in the message list.
It should be noted that, a person skilled in the art may set the first preset number according to actual situations, and the first preset number may be set to be 100, 200, 300, and the like.
Step 103: and if the number of the messages which are not viewed in the target group is greater than or equal to a first preset number, shielding all the messages received by the target group.
And (4) carrying out shielding setting on the target group, namely shielding all messages received by the target group, and when the target group receives a new message, not outputting the prompt message any more.
In the embodiment of the present invention, by determining whether the message received by the target group is checked within a preset time interval, if not checked, determining whether the number of the messages in the target group that are not viewed is greater than or equal to a first preset number, if the number of the messages in the target group that are not viewed is greater than or equal to the first preset number, the embodiment of the present invention can determine whether the target group is a group that the user does not pay attention to or is not interested in according to whether the message of the target group is viewed within a preset interval, so as to determine that the target group has more information and is a group that the user does not pay attention to or is not interested in, the message received by the target group is automatically shielded, the group message shielding setting by a user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a message screening method according to a second embodiment of the present invention is shown.
The message shielding method provided by the embodiment of the invention comprises the following steps:
step 201: the time of receipt and the current time of the first unviewed message received by the target group are determined.
Step 202: a time difference between the current time and the receive time is determined.
For example: the receiving time of the first unviewed message received by the target group is 23/15/04/2018, and the current time is 15/25/04/2018, so that the time difference between the current time and the receiving time is 48 hours.
Step 203: it is determined whether the time difference is greater than or equal to a preset time interval.
It should be noted that, a person skilled in the art may set the preset time interval according to actual situations, and the preset time interval may be set to 1 day, 2 days, 3 days, and the like.
Step 204: if yes, determining that the message received by the target group is not viewed within a preset time interval.
When the preset time interval is one day and the time difference is larger than the preset time interval, the user is indicated not to check in the preset time interval.
And when the time difference is smaller than the preset time interval, indicating that the user views the message of the target group in the preset time interval.
Step 205: and judging whether the number of the messages which are not viewed in the target group is greater than or equal to a first preset number.
It should be noted that, a person skilled in the art may set the first preset number according to actual situations, and the first preset number may be set to be 100, 200, 300, and the like.
If the message received by the target group is checked, detecting the prompt of the target group in a status bar or a notification bar, and acquiring the number of prompt pieces of the unread message; or detecting the number of unread messages prompted by the group interface when the user clicks the target group to check the messages; or when the user opens the chat tool, reading the unread number of the information marked on the group displayed in the message list.
Step 206: if the number of the messages which are not viewed in the target group is larger than or equal to the first preset number, the duration of the viewed messages in the process of viewing the messages which are not viewed in the target group is detected.
When a user clicks to enter a target group, determining the actual time of the current mobile terminal and the time of exiting the target group, and calculating the time difference between the actual time and the time of exiting the target group. Or detecting that the user starts to check in time and counting the checking duration when clicking to enter the target group.
Step 207: and judging whether the checked time length of the message is greater than the preset time length.
It should be noted that, a person skilled in the art may set the preset time period according to an actual situation, where the preset time period may be 1min, 2min, 3min, and the like, and the preset time period is not specifically limited in the embodiment of the present invention.
Step 208: if yes, all messages received by the target group are shielded.
For shielding all messages received by the target group if the number of messages in the target group that are not viewed is greater than or equal to the first preset number, another preferred manner may also be: if the number of the messages which are not viewed in the target group is larger than or equal to a first preset number, outputting prompt information for indicating to shield the target group messages; receiving response operation of a user to the prompt message; and shielding all messages received by the target group according to the response operation.
The purpose of outputting the prompt information is as follows: the user may not be able to view the group message for a while, and in order to avoid shielding the group in which the user is interested, a prompt message is output to prompt the user.
The user can select the prompt message, and can select the shielding option or the non-shielding option. When the user selects the shielding target group, the response operation shields the message received by the target group.
Step 209: it is determined whether the number of messages that the target group is masked is greater than or equal to a second preset number.
After the target group is shielded, the messages are not displayed on the top after being received, and after a period of time, in order to avoid forgetting the target group, whether the number of the messages shielded by the target group is greater than or equal to a second preset number or not is judged regularly.
It should be noted that, a person skilled in the art may set the second preset number according to actual situations, and the second preset number may be set to be 500, 600, 700, and so on.
Step 210: if yes, the target group is set to the top for display.
And the shielded target group is set on top, so that the user can conveniently cancel the shielding setting of the group subsequently, and meanwhile, the user is prompted that the number of the messages of the group is greater than or equal to the second preset number, and the user can conveniently check the group.
In the embodiment of the present invention, by determining whether the message received by the target group is checked within a preset time interval, if not checked, determining whether the number of the messages in the target group that are not viewed is greater than or equal to a first preset number, if the number of the messages in the target group that are not viewed is greater than or equal to the first preset number, the embodiment of the present invention can determine whether the target group is a group that the user does not pay attention to or is not interested in according to whether the message of the target group is viewed within a preset interval, so as to determine that the target group has more information and is a group that the user does not pay attention to or is not interested in, the message received by the target group is automatically shielded, the group message shielding setting by a user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved. In addition, when the number of the messages shielded by the target group is greater than or equal to a second preset number, the target group is displayed at the top, so that the shielding setting of the target group is cancelled in the following process, and the use experience of a user is improved.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 301, configured to determine whether a message received by a target group is viewed within a preset time interval; a determining module 302, configured to determine whether the number of messages in the target group that are not viewed is greater than or equal to a first preset number if the messages are not viewed; a shielding module 303, configured to shield all messages received by the target group if the number of messages in the target group that are not viewed is greater than or equal to a first preset number.
In the embodiment of the present invention, by determining whether the message received by the target group is checked within a preset time interval, if not checked, determining whether the number of the messages in the target group that are not viewed is greater than or equal to a first preset number, if the number of the messages in the target group that are not viewed is greater than or equal to the first preset number, the embodiment of the present invention can determine whether the target group is a group that the user does not pay attention to or is not interested in according to whether the message of the target group is viewed within a preset interval, so as to determine that the target group has more information and is a group that the user does not pay attention to or is not interested in, the message received by the target group is automatically shielded, the group message shielding setting by a user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 401, configured to determine whether a message received by a target group is viewed within a preset time interval; a determining module 402, configured to determine whether the number of messages in the target group that are not viewed is greater than or equal to a first preset number if the messages are not viewed; a shielding module 403, configured to shield all messages received by the target group if the number of messages in the target group that are not viewed is greater than or equal to a first preset number.
Preferably, the shielding module 403 includes: the detection submodule 4031 is configured to detect, if the number of messages in the target group that are not viewed is greater than or equal to a first preset number, a duration for which a message is viewed in a process in which the message in the target group that is not viewed is viewed; the judging submodule 4032 is used for judging whether the checked duration of the message is greater than the preset duration; and the shielding submodule 4033 is configured to shield all messages received by the target group if the determination result of the determining submodule is yes.
Preferably, the first determining module 401 includes: a first determining sub-module 4011, configured to determine a receiving time and a current time of a first unviewed message received by the target group; a second determining sub-module 4012 configured to determine a time difference between the current time and the receiving time; a third determining sub-module 4013 configured to determine whether the time difference is greater than or equal to the preset time interval; the fourth determining sub-module 4014 is configured to determine that the message received by the target group is not viewed within the preset time interval if the message is received.
Preferably, the shielding module 403 includes: an output sub-module 4034, configured to output a prompt message for instructing to shield the target group message if the number of messages in the target group that are not viewed is greater than or equal to the first preset number; the receiving submodule 4035 is used for receiving response operation of a user on the prompt message; a response submodule 4036, configured to mask all messages received by the target group according to the response operation.
Preferably, the mobile terminal further includes: a second determining module 404, configured to determine whether the number of messages shielded by the target group is greater than or equal to a second preset number after the shielding module 403 shields all messages received by the target group if the number of messages not viewed in the target group is greater than or equal to a first preset number; and a top module 405, configured to top display the target group if yes.
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. 2, and is not described herein again to avoid repetition.
In the embodiment of the present invention, by determining whether the message received by the target group is checked within a preset time interval, if not checked, determining whether the number of the messages in the target group that are not viewed is greater than or equal to a first preset number, if the number of the messages in the target group that are not viewed is greater than or equal to the first preset number, the embodiment of the present invention can determine whether the target group is a group that the user does not pay attention to or is not interested in according to whether the message of the target group is viewed within a preset interval, so as to determine that the target group has more information and is a group that the user does not pay attention to or is not interested in, the message received by the target group is automatically shielded, the group message shielding setting by a user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved. In addition, when the number of the messages shielded by the target group is greater than or equal to a second preset number, the target group is displayed at the top, so that the shielding setting of the target group is cancelled in the following process, and the use experience of a user is improved.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
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.
A processor 510 for determining whether a message received by the target group is viewed within a preset time interval; if not, judging whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not; and if the number of the messages which are not viewed in the target group is greater than or equal to a first preset number, shielding all the messages received by the target group.
In the embodiment of the present invention, by determining whether the message received by the target group is checked within a preset time interval, if not checked, determining whether the number of the messages in the target group that are not viewed is greater than or equal to a first preset number, if the number of the messages in the target group that are not viewed is greater than or equal to the first preset number, the embodiment of the present invention can determine whether the target group is a group that the user does not pay attention to or is not interested in according to whether the message of the target group is viewed within a preset interval, so as to determine that the target group has more information and is a group that the user does not pay attention to or is not interested in, the message received by the target group is automatically shielded, the group message shielding setting by a user is not needed, the operation is convenient and fast, the time consumed by the operation can be saved, and the use experience of the user can be improved.
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, including a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program, when executed by the processor 510, implements each process of the above message shielding method embodiment, and can achieve the same technical effect, 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 shielding 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.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method for message screening, the method comprising:
determining whether a message received by a target group is viewed within a preset time interval;
if not, judging whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not;
if the number of the messages which are not viewed in the target group is larger than or equal to a first preset number, shielding all the messages received by the target group;
wherein the step of determining whether the message received by the target group is viewed within a preset time interval includes:
determining a receiving time and a current time of a first unviewed message received by the target group;
determining a time difference between the current time and the receive time;
determining whether the time difference is greater than or equal to the preset time interval;
if yes, determining that the message received by the target group is not viewed within a preset time interval.
2. The method according to claim 1, wherein the step of masking all messages received by the target group if the number of messages in the target group that are not viewed is greater than or equal to a first preset number comprises:
if the number of the messages which are not viewed in the target group is larger than or equal to a first preset number, detecting the viewed duration of the messages in the process that the messages which are not viewed in the target group are viewed;
judging whether the checked time length of the message is greater than a preset time length or not;
and if so, shielding all messages received by the target group.
3. The method according to claim 1, wherein the step of masking all messages received by the target group if the number of messages in the target group that are not viewed is greater than or equal to a first preset number comprises:
if the number of the messages which are not viewed in the target group is larger than or equal to the first preset number, outputting prompt information for indicating to shield the target group messages;
receiving response operation of a user to the prompt message;
and shielding all messages received by the target group according to the response operation.
4. The method of claim 1, wherein after the step of masking all messages received by the target group if the number of unviewed messages in the target group is greater than or equal to a first preset number, the method further comprises:
determining whether the number of messages shielded by the target group is greater than or equal to a second preset number;
if yes, the target group is set to be displayed on top.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the first determining module is used for determining whether the message received by the target group is checked within a preset time interval;
the judging module is used for judging whether the number of the messages which are not checked in the target group is larger than or equal to a first preset number or not if the messages are not checked;
the shielding module is used for shielding all messages received by the target group if the number of the messages which are not viewed in the target group is greater than or equal to a first preset number;
wherein the first determining module comprises:
a first determining submodule, configured to determine a receiving time and a current time of a first unviewed message received by the target group;
a second determining submodule for determining a time difference between the current time and the reception time;
a third determining submodule for determining whether the time difference is greater than or equal to the preset time interval;
and the fourth determining submodule is used for determining that the message received by the target group is not checked in the preset time interval if the message is received by the target group.
6. The mobile terminal of claim 5, wherein the shielding module comprises:
the detection submodule is used for detecting the viewed duration of the messages in the target group in the process that the messages which are not viewed are viewed if the number of the messages which are not viewed in the target group is larger than or equal to a first preset number;
the judging submodule is used for judging whether the checked time length of the message is greater than the preset time length or not;
and the shielding submodule is used for shielding all the messages received by the target group if the judgment result of the judgment submodule is positive.
7. The mobile terminal of claim 5, wherein the shielding module comprises:
the output submodule is used for outputting prompt information used for indicating to shield the target group message if the number of the messages which are not viewed in the target group is greater than or equal to the first preset number;
the receiving submodule is used for receiving response operation of a user to the prompt message;
and the response submodule is used for shielding all messages received by the target group according to the response operation.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
a second determining module, configured to determine whether the number of messages shielded by the target group is greater than or equal to a second preset number after all the messages received by the target group are shielded if the number of the messages not viewed in the target group is greater than or equal to a first preset number by the shielding module;
and the top setting module is used for setting the target group to be displayed on top if the target group is in the top setting mode.
9. 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 screening method according to any one of claims 1 to 4.
CN201810661659.XA 2018-06-25 2018-06-25 Message shielding method and mobile terminal Active CN108924346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810661659.XA CN108924346B (en) 2018-06-25 2018-06-25 Message shielding method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810661659.XA CN108924346B (en) 2018-06-25 2018-06-25 Message shielding method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108924346A CN108924346A (en) 2018-11-30
CN108924346B true CN108924346B (en) 2021-05-28

Family

ID=64420694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810661659.XA Active CN108924346B (en) 2018-06-25 2018-06-25 Message shielding method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108924346B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533152A (en) * 2013-04-10 2014-01-22 Tcl集团股份有限公司 Short message processing method and system of mobile terminal
WO2017041625A1 (en) * 2015-09-11 2017-03-16 腾讯科技(深圳)有限公司 Information pushing method, apparatus, and system
CN107508751A (en) * 2017-09-28 2017-12-22 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107580140A (en) * 2017-09-19 2018-01-12 北京小米移动软件有限公司 Message prompt method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120065B (en) * 2015-07-15 2017-03-29 腾讯科技(深圳)有限公司 Message treatment method and device
CN105704312B (en) * 2016-01-20 2019-02-26 Oppo广东移动通信有限公司 Message push processing method and message push processing unit
CN106210009A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of notifier processes method and system of application program
CN106681595A (en) * 2017-01-03 2017-05-17 珠海市魅族科技有限公司 Management method and management system for announcement messages and terminal
CN108092879A (en) * 2017-12-13 2018-05-29 北京小米移动软件有限公司 Message prompt method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533152A (en) * 2013-04-10 2014-01-22 Tcl集团股份有限公司 Short message processing method and system of mobile terminal
WO2017041625A1 (en) * 2015-09-11 2017-03-16 腾讯科技(深圳)有限公司 Information pushing method, apparatus, and system
CN107580140A (en) * 2017-09-19 2018-01-12 北京小米移动软件有限公司 Message prompt method, device, equipment and storage medium
CN107508751A (en) * 2017-09-28 2017-12-22 联想(北京)有限公司 A kind of information processing method and electronic equipment

Also Published As

Publication number Publication date
CN108924346A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN109271121B (en) Application display method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN107580147B (en) Management method of notification message and mobile terminal
CN110995923A (en) Screen projection control method and electronic equipment
CN107734175B (en) Notification message prompting method and mobile terminal
CN111130989B (en) Information display and sending method and electronic equipment
CN110647266A (en) Information display method and terminal equipment
CN108391008B (en) Message reminding method and mobile terminal
CN107707760B (en) Push notification processing method and mobile terminal
CN107977113B (en) Control method and mobile terminal
CN111064654A (en) Message display method and electronic equipment
CN111405112B (en) Message prompting method and electronic equipment
CN111107223B (en) Message processing method and electronic equipment
CN109729301B (en) Message checking method and device
CN109815679B (en) Authority management method and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN108345421B (en) Icon display method and mobile terminal
CN110099170B (en) Picture deleting method and mobile terminal
CN110740265B (en) Image processing method and terminal equipment
CN109660657B (en) Application program control method and device
CN109240531B (en) Touch data sampling compensation method and device, mobile terminal and storage medium
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN108366167B (en) Message reminding method and mobile terminal
CN110730013A (en) Method for improving transmission stray and mobile terminal
CN108924346B (en) Message shielding method and mobile terminal

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