CN108270853B - Message processing method and mobile terminal - Google Patents

Message processing method and mobile terminal Download PDF

Info

Publication number
CN108270853B
CN108270853B CN201810034586.1A CN201810034586A CN108270853B CN 108270853 B CN108270853 B CN 108270853B CN 201810034586 A CN201810034586 A CN 201810034586A CN 108270853 B CN108270853 B CN 108270853B
Authority
CN
China
Prior art keywords
target message
preset
message
application program
displayed
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
CN201810034586.1A
Other languages
Chinese (zh)
Other versions
CN108270853A (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 CN201810034586.1A priority Critical patent/CN108270853B/en
Publication of CN108270853A publication Critical patent/CN108270853A/en
Application granted granted Critical
Publication of CN108270853B publication Critical patent/CN108270853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a message processing method and a mobile terminal, wherein the method comprises the following steps: acquiring a push request of a target message; judging whether the target message conforms to a preset discarding rule or not; and if the target message meets a preset discarding rule, storing the target message, and displaying the target message when a preset condition is met. According to the technical scheme of the embodiment of the invention, when the target message meets the preset discarding rule, the target message is stored firstly, and the target message is displayed when a certain preset condition is met, so that the situation that a user cannot know the possibly required useful message because the message is directly discarded is avoided.

Description

Message processing method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message processing method and a mobile terminal.
Background
When the mobile phone, the tablet personal computer and other mobile terminals are used, the operating system and the application program installed in the operating system push messages to users. In consideration of user experience and other factors, a manufacturer of the mobile terminal or a provider of the operating system may set certain message discarding rules, and directly discard some push messages when the received push messages satisfy the rules. Such discarded messages are made without notifying the user, and they cannot be recovered, thereby possibly causing the user to lose some useful information.
Disclosure of Invention
The embodiment of the invention provides a message processing method and a mobile terminal, aiming at solving the problem that a user loses useful information because the existing mobile terminal directly discards messages.
In a first aspect, an embodiment of the present invention provides a message processing method applied to a mobile terminal, including:
acquiring a push request of a target message;
judging whether the target message conforms to a preset discarding rule or not;
and if the target message meets a preset discarding rule, storing the target message, and displaying the target message when a preset condition is met.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the acquisition module is used for acquiring a push request of a target message;
the first judgment module is used for judging whether the target message conforms to a preset discarding rule or not;
and the storage display module is used for storing the target message if the target message meets a preset discarding rule and displaying the target message when a preset condition is met.
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 processing method described above.
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 processing method.
Therefore, in the embodiment of the invention, when the target message meets the preset discarding rule, the target message is stored firstly, and the target message is displayed when a certain preset condition is met, so that the situation that a user cannot know a possibly required useful message because the message is directly discarded is avoided.
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 processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another message processing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 5 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of another 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 processing method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, obtaining a push request of a target message.
In this embodiment, first, a push request of a target message is obtained, and it may be understood that various mobile terminals are installed with operating systems, and in order to implement various functions, various application programs are also installed on the operating systems, and after receiving some messages, the operating systems and the application programs installed on the operating systems display the messages in a push manner.
In this embodiment, a mobile terminal with an Android system (Android) is specifically taken as an example for explanation, obviously, other operating systems or other types of mobile terminals may also be installed in actual use, and the type of the mobile terminal and the operating system installed on the mobile terminal are not specifically limited in this embodiment.
The application program on the mobile terminal generates a corresponding request for pushing the message after receiving the message from the server, for example, when a chat software receives a chat message, a push request for the target chat message is generated; the application program on the mobile terminal can also generate a push request of the target reminding message when generating a push message according to a certain set mode, for example, a calendar generates a corresponding reminding message according to the recorded memorandum items.
In a specific embodiment, the push request of the target message is to request to push the target message in a pull-down menu, obviously, the push request may also request to be pushed in other manners such as locking a screen and popping a window, and a specific push manner of the target message in this embodiment is not particularly limited.
And 102, judging whether the target message meets a preset discarding rule or not.
In this embodiment, whether the target message meets a preset discarding rule is further determined, where the message meeting the preset discarding rule in this embodiment refers to some messages that are directly discarded under a certain condition. For example, a provider of an operating system in a mobile terminal may set the operating system in a targeted manner, and each mobile terminal provider may make certain adjustments and modifications to the operating system in a mobile terminal produced by the mobile terminal provider. Depending on the operating system provider settings, some messages, such as advertising messages, may be discarded for display. In other embodiments, it is obvious that the discarding rule can also be preset in other ways, for example, the user sets the corresponding discarding rule according to the user's requirement.
And 103, if the target message meets a preset discarding rule, storing the target message, and displaying the target message when a preset condition is met.
In this embodiment, when the target message meets the preset discarding rule, the target message is stored, so that the target message is prevented from being discarded directly, and further, when a certain preset condition is met, the target message is further displayed.
The preset conditions in this embodiment may be preset, or may be set by a user in a targeted manner according to specific situations. Since the message set to comply with the preset discarding rule is not an important message, such as an advertisement message, etc., but considering that there may still be a certain demand for the related content by the user, such as if the user happens to need to purchase a certain commodity, the advertisement message related to it is a useful message for the user in this period of time, the present embodiment ensures that the user does not lose some possibly useful information because the message is discarded directly by displaying the target message when a certain preset condition is satisfied.
Obviously, if the target message does not conform to the preset discarding rule, the corresponding processing mode can be selected according to the requirement or according to the setting, for example, the processing flow is directly ended.
In the embodiment of the present invention, the method may be applied to a Mobile terminal, where the Mobile terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In this embodiment, when the target message meets the preset discarding rule, the target message is stored first, and the target message is displayed when a certain preset condition is met, so that the situation that a user cannot learn a possibly required useful message because the message is directly discarded is avoided.
Referring to fig. 2, fig. 2 is a flowchart of another message processing method according to an embodiment of the present invention, and the main difference between this embodiment and the embodiment shown in fig. 1 is that a preset discarding rule is modified after a message is displayed, as shown in fig. 2, the method includes the following steps:
step 201, obtaining a push request of a target message.
Step 202, judging whether the target message meets a preset discarding rule.
After step 202, if the target message does not conform to the preset discarding rule, the target message may be processed continuously according to the requirement or the setting of the user. For example, after step 202, it may further include:
if the target message does not accord with a preset discarding rule, judging whether the target message needs to be displayed or not;
if the target message needs to be displayed, displaying the target message;
and if the target message does not need to be displayed, saving the target message.
In this embodiment, the target message to be displayed may be a specific content of the message, or a message to be displayed to prompt that there is a message to be viewed, and the target message to be displayed in this embodiment may be a message to be displayed in various forms, for example, a user may set notification management of an application program on a mobile terminal of an android system as a non-permission notification, and then the application program does not display the message after receiving a message push request, and then the message is a message that does not need to be displayed, but the message is still stored in the mobile terminal; if the notification management of an application program is to allow notification, after receiving a message pushing request, the application program displays the message in a form of displaying in a pull-down menu or displaying the message on a lock screen interface, and the message is a message to be displayed.
When the target message does not accord with the preset discarding rule, whether the target message needs to be displayed can be further judged according to the requirement, and if the target message does not need to be displayed, the target message is stored in the mobile terminal so as to be called or checked by the user subsequently. If the targeted message needs to be displayed, it can be displayed as appropriate so that the user can understand the content contained therein.
Optionally, the step of displaying the target message if the target message needs to be displayed includes:
judging whether a preset application program is in a foreground running state or not;
if the preset application program is not in a foreground running state, displaying the target message;
and if the preset application program is in a foreground running state, displaying the target message after the preset application program is closed or switched to a background running state.
The preset application program in this embodiment refers to a preset application program that does not display the push message when in use, and the preset application program in this embodiment may be set according to specific situations and needs of the user, so as to reduce interference that may be brought to the user. For example, the game-like application may be set as a preset application, and the preset application is operated in the foreground during the game playing process of the user, and at this time, if the push message is displayed, the game progress of the user may be interfered. Therefore, in the embodiment, if the preset application program is not in foreground operation, the target message is displayed because the interference to the game process of the user is avoided; if the preset application program is in foreground operation, the preset application program is switched to background operation or closed to display the target message again until the preset application program is switched to background operation or closed, so as to reduce possible interference to the game process of the user. Obviously, the preset application program in the embodiment can be selected and set according to actual situations, so as to adapt to different use requirements.
And 203, if the target message meets a preset discarding rule, storing the target message, and displaying the target message when a preset condition is met.
In this step 203, the condition for displaying the target message can be set in a targeted manner according to the requirement of the user, so as to avoid losing the useful message. For example: after the step of saving the target message and displaying the target message when a preset condition is met, the method may further include:
saving the target message;
judging whether an application program associated with the target message is called within a preset time length after the push request is obtained;
if the application program associated with the target message is called within the preset duration after the push request is obtained, displaying the target message;
if the application program associated with the target message is not called within the preset duration after the push request is obtained, discarding the target message.
If the target message meets the preset discarding rule, the target message is stored first, and further, whether the application program associated with the target message is called within the preset time length after the push request is obtained is judged. The preset time duration in this embodiment may be set according to the requirement of the user, for example, set to other time durations such as a week or a month.
On one hand, the timeliness of the message is considered, and on the other hand, if the target message is interested by the user, the application program associated with the target message is called correspondingly, so whether the target message is possibly useful for the user is judged according to whether the application program associated with the target message is called or not within the preset time length.
In a specific embodiment, for example, an application is shopping software, the advertisement information pushed by the shopping software conforms to a preset discarding rule, if the advertisement information is pushed, the advertisement information will be discarded because the advertisement information satisfies the preset discarding rule, and further the advertisement information is not displayed, thereby avoiding interference to the user. Generally, the promotion information contained in the advertisement is time-effective, for example, the promotion information pushed by the shopping software is the promotion information of the next week, the preset time length can be set to be one week after the promotion information is received, because the promotion information has certain time-effectiveness, if the promotion information is reminded more than one week, the promotion information has no reference value any more. In the week, if the user opens the shopping software, it is proved that the user may have a certain shopping demand, so in this embodiment, if the application program associated with the target message is called within the preset time length, the target message is displayed, thereby avoiding the user missing a possibly useful target message; if the application program associated with the target message is not called within the preset time length, the target message is discarded if the user is considered to have no shopping requirement possibly within the valid period of the promotion information, and the normal use of the user is prevented from being disturbed.
Obviously, in other scenarios or for other applications, the preset duration and the preset conditions may be specifically adjusted and changed according to specific situations to display the target message, so as to avoid missing a target message that may be useful.
And 204, modifying the preset discarding rule based on the type of the displayed target message, wherein the message with the same type as the displayed target message does not conform to the modified preset discarding rule.
In this embodiment, the preset discarding rule is further adjusted according to the displayed target message, and if the user operates to display a certain type of discarding rule for multiple times, it is proved that the target message of the type is likely to be a message required by the user.
Furthermore, the preset discarding rule can be modified and adjusted according to the use frequency and use habits of different application programs by the user. If the user frequently uses an application program, the user can be considered to be interested in the related push information of the application program, and the message related to the application program can be confirmed to be not in accordance with the modified preset drop rule by modifying the preset drop rule. Meanwhile, step 204 in this embodiment is also an optional step, and even if step 204 is not executed, it is achieved that a target message that may be useful for a user is not directly discarded.
In this embodiment, various optional implementations are added to the embodiment shown in fig. 1, so as to further ensure that information that may be useful for a user is not directly discarded.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the mobile terminal 300 includes:
an obtaining module 301, configured to obtain a push request of a target message;
a first determining module 302, configured to determine whether the target message meets a preset discarding rule;
a saving and displaying module 303, configured to save the target message if the target message meets a preset discarding rule, and display the target message when a preset condition is met.
Optionally, as shown in fig. 4, the saving display module 303 includes: a storage submodule 3031, configured to store the target message;
a first determining submodule 3032, configured to determine whether an application program associated with the target message is called within a preset duration after the push request is obtained;
a display sub-module 3033, configured to display the target message if the application program associated with the target message is called within a preset time length after the push request is obtained;
a discarding submodule 3034, configured to discard the target message if the application program associated with the target message is not called within a preset time length after the push request is obtained.
Optionally, as shown in fig. 5, the mobile terminal 300 further includes:
a second determining module 304, configured to determine whether the target message needs to be displayed if the target message does not meet a preset discarding rule;
a display module 305, configured to display the target message if the target message needs to be displayed;
a saving module 306, configured to save the target message if the target message does not need to be displayed.
Optionally, as shown in fig. 6, the display module 305 includes:
the second judgment submodule 3051 is configured to judge whether the preset application is in a foreground operating state;
the display sub-module 3052, configured to display the target message if the preset application is not in a foreground operating state; and the target message display module is used for displaying the target message after the preset application program is closed or switched to the background running state if the preset application program is in the foreground running state.
Optionally, as shown in fig. 7, the mobile terminal 300 further includes:
a modifying module 307, configured to modify the preset discarding rule based on a type of a displayed target message, where a message of a same type as the displayed target message does not conform to the modified preset discarding rule.
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.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. 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.
Wherein, the processor 810 is configured to:
acquiring a push request of a target message;
judging whether the target message conforms to a preset discarding rule or not;
and if the target message meets a preset discarding rule, storing the target message, and displaying the target message when a preset condition is met.
Optionally, the step executed by the processor 810 of saving the target message and displaying the target message when a preset condition is met includes:
saving the target message;
judging whether an application program associated with the target message is called within a preset time length after the push request is obtained;
if the application program associated with the target message is called within the preset duration after the push request is obtained, displaying the target message;
if the application program associated with the target message is not called within the preset duration after the push request is obtained, discarding the target message.
Optionally, the processor 810 is further configured to:
if the target message does not accord with a preset discarding rule, judging whether the target message needs to be displayed or not;
if the target message needs to be displayed, displaying the target message;
and if the target message does not need to be displayed, saving the target message.
Optionally, the step executed by the processor 810 of displaying the target message includes:
judging whether a preset application program is in a foreground running state or not;
if the preset application program is not in a foreground running state, displaying the target message;
and if the preset application program is in a foreground running state, displaying the target message after the preset application program is closed or switched to a background running state.
Optionally, the processor 810 is further configured to:
modifying the preset discarding rule based on the type of the displayed target message, wherein the message with the same type as the displayed target message does not conform to the modified preset discarding rule.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 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 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 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 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound 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 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves 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 805 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 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 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 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 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 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although the touch panel 8071 and the display panel 8061 are shown in fig. 5 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. 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 808 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 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 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 809 can include high speed random access memory, and can 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 810 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 running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 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 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 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 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above message processing 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 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 (10)

1. A message processing method, comprising:
acquiring a push request of a target message;
judging whether the target message conforms to a preset discarding rule or not;
if the target message meets a preset discarding rule, storing the target message, and displaying the target message when a preset condition is met;
the step of displaying the target message when a preset condition is satisfied includes:
judging whether an application program associated with the target message is called within a preset time length after the push request is obtained;
if the application program associated with the target message is called within the preset duration after the push request is obtained, displaying the target message;
if the application program associated with the target message is not called within the preset duration after the push request is obtained, discarding the target message.
2. The method of claim 1, wherein the step of determining whether the target message complies with a preset discard rule further comprises:
if the target message does not accord with a preset discarding rule, judging whether the target message needs to be displayed or not;
if the target message needs to be displayed, displaying the target message;
and if the target message does not need to be displayed, saving the target message.
3. The method of claim 2, wherein the step of displaying the targeted message if it is desired to display the targeted message comprises:
judging whether a preset application program is in a foreground running state or not;
if the preset application program is not in a foreground running state, displaying the target message;
and if the preset application program is in a foreground running state, displaying the target message after the preset application program is closed or switched to a background running state.
4. The method of any one of claims 1 to 3, wherein the step of saving the target message and displaying the target message when a preset condition is satisfied is followed by further comprising:
modifying the preset discarding rule based on the type of the displayed target message, wherein the message with the same type as the displayed target message does not conform to the modified preset discarding rule.
5. A mobile terminal, comprising:
the acquisition module is used for acquiring a push request of a target message;
the first judgment module is used for judging whether the target message conforms to a preset discarding rule or not;
the storage display module is used for storing the target message if the target message meets a preset discarding rule and displaying the target message when a preset condition is met;
the save display module includes:
the storage submodule is used for storing the target message;
the first judgment submodule is used for judging whether an application program associated with the target message is called within a preset time length after the push request is obtained;
a display sub-module, configured to display the target message if an application associated with the target message is called within a preset duration after the push request is obtained;
a discarding sub-module, configured to discard the target message if the application associated with the target message is not called within a preset duration after the push request is obtained.
6. The mobile terminal of claim 5, further comprising:
the second judgment module is used for judging whether the target message needs to be displayed or not if the target message does not accord with a preset discarding rule;
the display module is used for displaying the target message if the target message needs to be displayed;
and the storage module is used for storing the target message if the target message does not need to be displayed.
7. The mobile terminal of claim 6, wherein the display module comprises:
the second judgment submodule is used for judging whether the preset application program is in a foreground running state or not;
the display sub-module is used for displaying the target message if the preset application program is not in a foreground running state; and the target message is displayed when the preset application program is in a foreground running state and the preset application program is closed or switched to a background running state.
8. The mobile terminal of any of claims 5 to 7, further comprising:
and the modification module is used for modifying the preset discarding rule based on the type of the displayed target message, wherein the message with the same type as the displayed target message does not conform to the modified preset discarding rule.
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 processing method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the message processing method of any one of claims 1 to 4.
CN201810034586.1A 2018-01-15 2018-01-15 Message processing method and mobile terminal Active CN108270853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810034586.1A CN108270853B (en) 2018-01-15 2018-01-15 Message processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810034586.1A CN108270853B (en) 2018-01-15 2018-01-15 Message processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108270853A CN108270853A (en) 2018-07-10
CN108270853B true CN108270853B (en) 2020-09-22

Family

ID=62775646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810034586.1A Active CN108270853B (en) 2018-01-15 2018-01-15 Message processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108270853B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067864B (en) * 2018-07-25 2021-03-05 网易(杭州)网络有限公司 Notification message pushing method and device and electronic equipment
CN109525672A (en) * 2018-11-27 2019-03-26 重庆长安汽车股份有限公司 Vehicle-mounted content push system, method and computer readable storage medium
CN112422746A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Push message processing method and device, storage medium and electronic device
CN113194200B (en) * 2021-04-28 2022-08-30 维沃移动通信有限公司 Message display method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640884A (en) * 2008-08-01 2010-02-03 北京信安易科技有限公司 Method and device for publishing business newsletters
CN103826008A (en) * 2014-02-18 2014-05-28 华为终端有限公司 Mobile terminal notification message prompting method and device and mobile terminal
CN104717616A (en) * 2013-12-13 2015-06-17 腾讯科技(深圳)有限公司 Push message management method and device
CN105100483A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Notification setting method and device and terminal
CN106020814A (en) * 2016-05-16 2016-10-12 北京奇虎科技有限公司 Notification bar message processing method and apparatus as well as mobile terminal
CN106126320A (en) * 2016-06-21 2016-11-16 依偎科技(南昌)有限公司 Method, device and the terminal that a kind of terminal capabilities optimizes
CN106331005A (en) * 2015-06-26 2017-01-11 阿里巴巴集团控股有限公司 Message management method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10277578B2 (en) * 2015-01-05 2019-04-30 Citrix Systems, Inc. Securing network activity managed by operating systems

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640884A (en) * 2008-08-01 2010-02-03 北京信安易科技有限公司 Method and device for publishing business newsletters
CN104717616A (en) * 2013-12-13 2015-06-17 腾讯科技(深圳)有限公司 Push message management method and device
CN103826008A (en) * 2014-02-18 2014-05-28 华为终端有限公司 Mobile terminal notification message prompting method and device and mobile terminal
CN106331005A (en) * 2015-06-26 2017-01-11 阿里巴巴集团控股有限公司 Message management method and device
CN105100483A (en) * 2015-07-31 2015-11-25 小米科技有限责任公司 Notification setting method and device and terminal
CN106020814A (en) * 2016-05-16 2016-10-12 北京奇虎科技有限公司 Notification bar message processing method and apparatus as well as mobile terminal
CN106126320A (en) * 2016-06-21 2016-11-16 依偎科技(南昌)有限公司 Method, device and the terminal that a kind of terminal capabilities optimizes

Also Published As

Publication number Publication date
CN108270853A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN109271121B (en) Application display method and mobile terminal
CN108111675B (en) Notification message processing method and device and mobile terminal
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN107977132B (en) Information display method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN108920059B (en) Message processing method and mobile terminal
CN107908382B (en) Split screen display method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN108135033B (en) Bluetooth connection method and mobile terminal
CN108270853B (en) Message processing method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108600089B (en) Expression image display method and terminal equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN107707760B (en) Push notification processing method and mobile terminal
CN107734172B (en) Information display method and mobile terminal
CN107808107B (en) Application message display method and mobile terminal
CN109101151B (en) Information display processing method and terminal equipment
CN108196781B (en) Interface display method and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN107835495B (en) Message prompting method and device and mobile terminal
CN110191426B (en) Information sharing method and terminal
CN110784394A (en) Prompting method and electronic equipment
CN108388459B (en) Message display processing method and mobile terminal
CN107908342B (en) Method for displaying message and mobile terminal
CN107967086B (en) Icon arrangement method and device for mobile terminal 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