CN111049732B - Push message display method and device, electronic equipment and medium - Google Patents

Push message display method and device, electronic equipment and medium Download PDF

Info

Publication number
CN111049732B
CN111049732B CN201911242420.XA CN201911242420A CN111049732B CN 111049732 B CN111049732 B CN 111049732B CN 201911242420 A CN201911242420 A CN 201911242420A CN 111049732 B CN111049732 B CN 111049732B
Authority
CN
China
Prior art keywords
message
rich media
push
messages
list
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
CN201911242420.XA
Other languages
Chinese (zh)
Other versions
CN111049732A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201911242420.XA priority Critical patent/CN111049732B/en
Publication of CN111049732A publication Critical patent/CN111049732A/en
Application granted granted Critical
Publication of CN111049732B publication Critical patent/CN111049732B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a push message display method, a push message display device, electronic equipment and a push message display medium, and relates to the technical field of terminals. The scheme of the embodiment of the disclosure comprises the following steps: and receiving a display instruction of a message list, wherein the message list comprises push messages which are received by the terminal and are not referred by the user, and the push messages are text messages or rich media messages. And if the message list comprises the target rich media message, displaying the message content of the target rich media message, wherein the target rich media message is the rich media message in the push messages with the preset number in the message list. The embodiment of the disclosure can simplify the method for displaying the actual message content of the rich media message in the push message.

Description

Push message display method and device, electronic equipment and medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a push message display method and apparatus, an electronic device, and a medium.
Background
Common ways for an application to push a message to a terminal include push-in and push-out. The in-terminal pushing refers to that when the application program runs in the foreground or the background, the server corresponding to the application program pushes a message to the client through the long connection established with the client. The out-of-end pushing refers to that when the background running time of the application program is long enough, the process of the application program is killed, at the moment, the long connection established between the server corresponding to the application program and the client is disconnected, and the server can only push messages to the client through a third-party pushing system.
When the application program runs in the background or the application program process is killed, the push messages received by the client can be displayed in the pull-down bar of the off-end system, and when the client displays the push messages, in order to reduce the space occupied by the push messages, the Rich Media (Rich Media) content in the push messages is converted into text content display, wherein the Rich Media content comprises animation, sound, video and/or interactive information. For example: and converting the pictures included in the received push message into a picture presentation, thereby prompting the user that the push message is in a picture format. When a user needs to check the actual message content of the rich media push message in the push message, the terminal can only click the rich media message displayed in the drop-down bar, and after entering the application program to which the rich media message belongs, the terminal can display the actual message content of the rich media message, so that the method for displaying the actual message content of the rich media message in the push message is complex.
Disclosure of Invention
The present disclosure provides a push message display method, apparatus, electronic device and medium to simplify a method of displaying actual message content of a rich media message in a push message. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a push message display method is provided, which is applied to a terminal, and includes:
receiving a display instruction of a message list, wherein the message list comprises a push message which is received by the terminal and is not referred by a user, and the push message is a text message or a rich media message;
and if the message list comprises the target rich media message, displaying the message content of the target rich media message, wherein the target rich media message is a rich media message in the push messages with the preset number in the message list.
Optionally, the displaying the message content included in the target rich media message includes:
acquiring message content included in the target rich media message from a server;
and displaying the message content with a specified size in a specified display position, wherein the specified display position is a display position corresponding to the arrangement position of the target rich media message in the message list.
Optionally, the method further includes:
updating the push messages included in the message list and the arrangement position of each push message when detecting the lookup or deletion operation performed on the push messages in the message list by the user;
and if the updated message list comprises the target rich media message, displaying the message content included by the target rich media message.
Optionally, after receiving the instruction for displaying the message list, the method further includes:
and if the message list does not comprise the target rich media message, displaying the text content included by the push messages in the specified number.
Optionally, the displaying text contents included in the specified number of push messages includes:
and if the specified number of push messages comprise the rich media message, displaying specified characters corresponding to the message type of the rich media message.
According to a second aspect of the embodiments of the present disclosure, there is provided a push message display apparatus, applied to a terminal, including:
the terminal comprises a receiving module and a display module, wherein the receiving module is configured to receive a display instruction of a message list, the message list comprises push messages which are received by the terminal and are not referred by a user, and the push messages are text messages or rich media messages;
the display module is configured to display the message content included in the target rich media message if the message list includes the target rich media message, wherein the target rich media message is a rich media message in a preset number of push messages in the message list.
Optionally, the display module is specifically configured to:
acquiring message content included in the target rich media message from a server;
and displaying the message content with a specified size in a specified display position, wherein the specified display position is a display position corresponding to the arrangement position of the target rich media message in the message list.
Optionally, the apparatus further comprises: updating the module;
the updating module is configured to update the push messages included in the message list and the arrangement position of each push message when detecting that a user performs a lookup or deletion operation on the push messages in the message list;
the display module is further configured to display the message content included in the target rich media message if the updated message list includes the target rich media message.
Optionally, the display module is further configured to:
after the display instruction of the message list is received, if the target rich media message is not included in the message list, displaying the text content included in the push messages with the specified number.
Optionally, the display module is specifically configured to:
and if the specified number of push messages comprise the rich media message, displaying specified characters corresponding to the message type of the rich media message.
According to a third aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when the instructions stored in the memory are executed, the push message display method according to the first aspect is implemented.
According to a fourth aspect of embodiments of the present application, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the push message presentation method according to the first aspect.
According to a fifth aspect of embodiments of the present application, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the push message presentation method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the embodiment of the disclosure may receive a display instruction of a message list, where the message list includes a push message that is received by a terminal and is not referred to by a user, and the push message is a text message or a rich media message. And if the message list comprises the target rich media message, displaying the message content of the target rich media message, wherein the target rich media message is the rich media message in the push messages with the preset number in the message list. It can be seen that in the embodiment of the present disclosure, when a message list display instruction is received, the message content included in the target rich media message may be directly displayed, and it is not necessary to display the message content included in the rich media message after it is detected that the user clicks the rich media message and enters the application program, so that the embodiment of the present disclosure simplifies the method for displaying the actual message content of the rich media message in the push message.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a block diagram illustrating a push message presentation system in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a push message presentation method in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another push message presentation method in accordance with an illustrative embodiment;
FIG. 4 is a diagram illustrating a terminal screen in accordance with one illustrative embodiment;
FIG. 5 is a diagram illustrating another terminal screen in accordance with one illustrative embodiment;
FIG. 6 is a block diagram illustrating a push message presentation device in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
Fig. 1 shows a push message presentation system provided in an embodiment of the present disclosure, where the system includes: a terminal and a server.
The server is used for pushing messages to the terminal. The terminal is used for receiving the message pushed by the server and displaying the message pushed by the server.
Fig. 1 exemplarily shows one terminal and one server, and the number of devices included in the push message presentation system in the embodiment of the present disclosure is not limited thereto.
Referring to fig. 1, fig. 2 is a flowchart illustrating a push message presentation method according to an exemplary embodiment, where as shown in fig. 2, the push message presentation method is used in a terminal of the push message presentation system shown in fig. 1, and includes the following steps.
In step S21, a presentation instruction of the message list is received.
The message list comprises push messages which are received by the terminal and are not referred by the user, and the push messages are text messages or rich media messages. The content of the rich media message may include video, audio, pictures or links, etc.
Optionally, the push message includes an Instant Messaging (IM) message.
Optionally, the message list may be displayed in a system drop-down bar of the terminal, and when a user's downward sliding operation on the system drop-down bar is received, a display instruction of the message list may be received.
The message list can also be displayed in the screen locking interface, and when the terminal receives one or more new push messages or detects a specified operation performed on the terminal by a user, a display instruction of the message list can be received. For example, the specified operation may be detection of a double-click operation performed by the user while the terminal is in a sleep state, or detection of a power key depression operation performed by the user.
In step S22, if the message list includes the target rich media message, the message content included in the target rich media message is displayed.
The target rich media message is a rich media message in the push messages with the preset number in the message list.
Optionally, the push messages in the message list may be arranged in an order from a small time difference to a large time difference between the time of sending the push message to the terminal and the current time. In the arranged push messages, the push message with the closest distance between the time of sending to the terminal and the current time is arranged at the first position of the message list, and the push message with the farthest distance between the time of sending to the terminal and the current time is arranged at the last position of the message list.
For example, when the preset number is 1, it may be determined whether the 1 st push message in the message list is a rich media message, and if so, it is determined that the rich media message is a target rich media message; if not, determining that the target rich media message is not included in the message list.
For another example, when the preset number is 2, it may be determined whether the first 2 push messages in the message list include a rich media message, and if yes, it is determined that the rich media message in the first 2 push messages is a target rich media message; if not, determining that the target rich media message is not included in the message list.
Alternatively, whether the push message is a rich media message may be determined by the category of the push message. For example, when type = TEXT of the push message indicates that the category of the push message is TEXT, the push message is a TEXT message. When type = IMAGE of the push message, the type of the push message is indicated as picture, and the push message is a rich media message. When type = video of the push message, it indicates that the category of the push message is video, and the push message is a rich media message.
It can be understood that the message content included in the target rich media message presented in the embodiments of the present disclosure is the actual message content, and the actual content is the complete rich media content. For example, for a target rich media message including a picture, the picture included in the target rich media message is shown. For another example, for a target rich media message including audio, an audio file included in the target rich media message is presented, wherein the audio file may be configured as a button, and when the terminal detects that the user clicks the button, the audio file may be played.
However, in the related art, the actual message content of the rich media message is converted into a text content display, for example: converting the pictures included in the rich media message into pictures for showing; and converting the audio included in the rich media message into a voice presentation.
Optionally, if the message list includes the target rich media message, a specified number of push messages in the message list may be displayed, where the specified number of push messages includes the target rich media message. For push messages in a specified number of push messages except the target rich media message, the text content included in the push message can be displayed.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the embodiment of the disclosure may receive a display instruction of a message list, where the message list includes a push message received by a terminal and not referred by a user, and the push message is a text message or a rich media message. And if the message list comprises the target rich media message, displaying the message content of the target rich media message, wherein the target rich media message is the rich media message in the push messages with the preset number in the message list. It can be seen that the message content included in the target rich media message can be directly displayed in the embodiment of the disclosure when the message list display instruction is received, and the message content included in the rich media message does not need to be displayed after the user clicks the rich media message and enters the application program, so that the embodiment of the disclosure simplifies the method for displaying the actual message content of the rich media message in the push message.
In addition, the push message display method provided by the embodiment of the disclosure is more reasonable because the complete message content included in the target rich media message in the message list can be displayed, so that the embodiment of the disclosure not only reduces the screen space occupied by displaying the message content included in all rich media messages, but also avoids the problem that the actual message content cannot be previewed due to the fact that the content of all rich media messages is converted into character display.
Optionally, if the message list does not include the target rich media message, the text content included in the push messages of the specified number is displayed.
It can be understood that, if the message list does not include the target rich media message, that is, the push messages in the preset number of the message list do not include the rich media message, the text contents of the push messages in the previously specified number can be displayed according to the arrangement sequence of the push messages in the message list. The text contents of the previously specified number of push messages may include: the text message comprises text content and appointed text corresponding to the message category of the rich media message.
For example, the message list includes: the text message 1, the text message 2, the rich media message 1, the text message 3 and the text message 4, the preset number is 2, and the designated number is 3. The first 2 push messages of the message list do not include a rich media message, so the message list does not include the target rich media message. At this time, the text content of the first 3 push messages can be displayed according to the arrangement sequence of each push message in the message list, including: the text content of the text message 1, the text content of the text message 2 and the designated text corresponding to the message type of the rich media message 1.
Optionally, when it is detected that the user performs a downward sliding or page turning operation on the displayed push message, the text contents included in other push messages after the specified number of push messages may be displayed according to the arrangement order of the push messages in the message list.
Optionally, if the specified number of push messages includes a rich media message, a specified text corresponding to a message category of the rich media message may be displayed.
For example: when the message category of the rich media message is a picture, "[ picture ]" is displayed in a position for showing the rich media message. When the message category of the rich media message is video, "[ video ]" is displayed in a position for presenting the rich media message.
It can be understood that, if the specified number of push messages further include text messages, text contents included in the text messages may be displayed.
The technical scheme provided by the embodiment of the disclosure can also bring the following beneficial effects: the method and the device for displaying the rich media message can display the appointed characters corresponding to the message category of the rich media message which is not the target rich media message in the message list. The screen space occupied by displaying the multimedia content is generally larger than the screen space occupied by displaying the text content, so that compared with the mode of displaying the message content of each rich media message, the screen space occupied by displaying the multimedia content can be reduced.
In addition, because the screen space occupied by displaying the multimedia content can be reduced, more push messages can be displayed on the terminal screen, the user can conveniently and timely preview the content included in the push messages, and the frequency of viewing the push messages by the user is improved.
Alternatively, the message content included in the presentation target rich media message in the above step S22 may be implemented by the following two steps.
Step one, obtaining the message content included in the target rich media message from the server.
In one embodiment, a storage path corresponding to the message content may be obtained from the target rich media message, and the message content may be obtained from a server corresponding to the storage path. The storage path may be a Uniform Resource Locator (URL) or a link.
And step two, displaying the message content with the specified size in the specified display position. And the appointed display position is a display position corresponding to the arrangement position of the target rich media message in the message list.
For example, if the target rich media message is arranged in the first position in the message list, the message content with the specified size is displayed in the specified display position for displaying the first push message.
The technical scheme provided by the embodiment of the disclosure can also bring the following beneficial effects: the designated size in the embodiment of the present disclosure may be smaller than the actual size of the message content, and the screen space occupied by the displayed message content is smaller, so that more push messages can be displayed on the terminal screen, and the screen space utilization rate is improved.
Optionally, referring to fig. 3, the embodiment of the present disclosure may further update the message list, and display the push message based on the updated message list, including the following steps:
in step S31, upon detection of a reference or deletion operation performed by the user on the push messages in the message list, the push messages included in the message list and the arrangement position of each push message are updated.
Optionally, the user may refer to the push message at the position by clicking the position where the push message is displayed, and at this time, the terminal may receive a reference operation performed by the user on the push message. The user can delete each push message included in the message list by clicking the delete button, or delete the push message at the position by executing sliding operation at the position where the push message is displayed, and at the moment, the terminal can receive the deletion operation executed by the user on the push message.
It can be understood that, after it is detected that the user performs a lookup operation on a push message in the message list, the push message corresponding to the lookup operation in the message list needs to be deleted. After detecting that a user executes a deletion operation on a push message in a message list, the push message corresponding to the deletion operation in the message list needs to be deleted. Since the updated message list includes a different number of push messages than the message list before updating, the arrangement position of the push messages included in the updated message list may change, so that the arrangement position of each push message in the message list needs to be updated.
In step S32, if the updated message list includes the target rich media message, the message content included in the target rich media message is displayed.
It will be appreciated that the target rich media message may also be updated as the location of the push message in the updated message list may change.
For example, the message list includes: the number of the rich media messages is 3, wherein the rich media messages comprise rich media messages 1, text messages 2, rich media messages 2 and text messages 3, and the target rich media messages comprise the rich media messages 1. Detecting that the user executes deletion operation on the text message 1, wherein the updated message list comprises: rich media message 1, text message 2, rich media message 2, text message 3, and the target rich media message includes: rich media message 1 and rich media message 2.
Optionally, if the updated message list includes the target rich media message, the message contents of a specified number of push messages are displayed, where the message contents include the message contents included in the target rich media message, and may also include text contents of push messages other than the target rich media message.
Optionally, if the updated message list does not include the target rich media message, the text content included in the first specified number of push messages in the updated message list may be displayed.
The technical scheme provided by the embodiment of the disclosure can also bring the following beneficial effects: the message list can be updated, and the push message is displayed based on the updated message list, so that the application range of the embodiment of the invention is wider.
With reference to fig. 4 and 5, a method for updating the message list and displaying the push message based on the updated message list in fig. 3 is illustrated. The locations in fig. 4 and 5 for showing each push message include: the message content of the push message, the sender identification of the push message, and the time difference between the time of sending the push message to the terminal and the current time. For example: the positions for presenting the text message 1 include: did it receive? The graph just sent by me (message content of the push message), zhang (sender identification of the push message), just sent (time difference between the time of sending to the terminal and the current time).
Fig. 4 is a system drop-down bar interface of a terminal, where push messages in the interface are displayed based on the arrangement positions of the messages included in a message list, where the message list includes: text message 1, rich media message 1, text message 2. Assuming that the preset number is 1, since the rich media message 1 is not the first push message in the message list, the rich media message 1 is not the target rich media message at this time, and the "[ picture ]" is shown in the position for showing the rich media message 1.
Suppose that the terminal detects a deletion instruction of the user to the text message 1 in fig. 4, and updates the message list, where the updated message list includes: rich media message 1 and text message 2. Push message presented based on updated message list as shown in fig. 5, since the rich media message 1 is the first push message in the updated message list, at this time, the rich media message 1 is the target rich media message, and the picture included in the rich media message 1 can be presented in the position for presenting the rich media message 1.
Fig. 6 is a block diagram illustrating a push message presentation device in accordance with an exemplary embodiment. Referring to fig. 6, the apparatus includes: a receiving module 601 and a display module 602.
A receiving module 601, configured to receive a display instruction of a message list, where the message list includes a push message received by a terminal and not referred by a user, and the push message is a text message or a rich media message;
the presentation module 602 is configured to present the message content included in the target rich media message if the message list includes the target rich media message, where the target rich media message is a rich media message in a first preset number of push messages of the message list.
Optionally, the presentation module 602 may be specifically configured to:
acquiring message content included in the target rich media message from a server;
and in the appointed display position, displaying the message content with the appointed size, wherein the appointed display position is a display position corresponding to the arrangement position of the target rich media message in the message list.
Optionally, the apparatus may further include: updating the module;
the updating module is configured to update the push messages included in the message list and the arrangement position of each push message when detecting that the user performs reference or deletion operation on the push messages in the message list;
the presentation module 602 is further configured to present the message content included in the target rich media message if the target rich media message is included in the updated message list.
Optionally, the presentation module 602 may be further configured to:
after receiving a display instruction of the message list, if the target rich media message is not included in the message list, displaying the text content included in the push messages in the specified number.
Optionally, the presentation module 602 may be specifically configured to:
and if the specified number of push messages comprise the rich media message, displaying specified characters corresponding to the message type of the rich media message.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram of an electronic device shown in accordance with an example embodiment. For example, the electronic device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the electronic device may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the electronic device. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for an electronic device.
The multimedia component 708 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive an external audio signal when the electronic device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 714 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor component 714 may detect an open/closed state of the electronic device, the relative positioning of components, such as a display and keypad of the electronic device, the sensor component 714 may also detect a change in the position of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, orientation or acceleration/deceleration of the electronic device, and a change in the temperature of the electronic device. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the electronic device to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In yet another embodiment provided by the present disclosure, there is also provided a computer program product containing instructions, which when run on an electronic device, causes the electronic device to execute any one of the push message presentation methods in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A push message display method is applied to a terminal and comprises the following steps:
receiving a display instruction of a message list, wherein the message list comprises push messages which are received by the terminal and are not referred by a user, and the push messages are text messages or rich media messages;
if the message list comprises the target rich media messages, displaying message contents included by the target rich media messages, wherein the target rich media messages are rich media messages in push messages with the number being preset in the message list;
if the message list does not comprise the target rich media message, displaying the text contents of the push messages with the specified number in front according to the arrangement sequence of the push messages in the message list;
the text content of the push messages with the specified number before the display comprises the following steps:
if the push messages with the specified number comprise the rich media messages, displaying specified characters corresponding to the message types of the rich media messages;
the method further comprises the following steps:
updating the push messages included in the message list and the arrangement position of each push message when detecting the lookup or deletion operation performed on the push messages in the message list by the user;
and if the updated message list comprises the target rich media message, displaying the message content included by the target rich media message.
2. The push message presentation method of claim 1, wherein the presenting of the message content included in the target rich media message comprises:
acquiring message content included in the target rich media message from a server;
and displaying the message content with a specified size in a specified display position, wherein the specified display position is a display position corresponding to the arrangement position of the target rich media message in the message list.
3. A push message display device is applied to a terminal and comprises:
the terminal comprises a receiving module and a display module, wherein the receiving module is configured to receive a display instruction of a message list, the message list comprises push messages which are received by the terminal and are not referred by a user, and the push messages are text messages or rich media messages;
the display module is configured to display the message content included in the target rich media message if the message list includes the target rich media message, wherein the target rich media message is a rich media message in a preset number of push messages in the message list;
the presentation module further configured to:
if the message list does not include the target rich media message, displaying the text contents of the push messages with the specified number in front according to the arrangement sequence of the push messages in the message list;
the presentation module is specifically configured to:
if the push messages with the specified number comprise the rich media messages, displaying specified characters corresponding to the message types of the rich media messages;
the device further comprises: an update module;
the updating module is configured to update the push messages included in the message list and the arrangement position of each push message when detecting that a user performs a lookup or deletion operation on the push messages in the message list;
the display module is further configured to display the message content included in the target rich media message if the updated message list includes the target rich media message.
4. The push message presentation device of claim 3, wherein the presentation module is specifically configured to:
acquiring message content included in the target rich media message from a server;
and displaying the message content with a specified size in a specified display position, wherein the specified display position is a display position corresponding to the arrangement position of the target rich media message in the message list.
5. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the push message presentation method of claim 1 or 2.
6. A storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the push message presentation method of claim 1 or 2.
CN201911242420.XA 2019-12-06 2019-12-06 Push message display method and device, electronic equipment and medium Active CN111049732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911242420.XA CN111049732B (en) 2019-12-06 2019-12-06 Push message display method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911242420.XA CN111049732B (en) 2019-12-06 2019-12-06 Push message display method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN111049732A CN111049732A (en) 2020-04-21
CN111049732B true CN111049732B (en) 2023-01-20

Family

ID=70235061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911242420.XA Active CN111049732B (en) 2019-12-06 2019-12-06 Push message display method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111049732B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666404A (en) * 2022-02-28 2022-06-24 中国银联股份有限公司 Method and device for sending push message and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098234A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for providing target content based on hyperlink in instant communication message
CN102486794A (en) * 2010-12-06 2012-06-06 腾讯科技(深圳)有限公司 Method, device and system for acquiring rich-media file
CN105511719A (en) * 2015-11-27 2016-04-20 努比亚技术有限公司 Notification information display method and device
CN106020613A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Operation method and mobile terminal for unread messages
CN106547439A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of method and apparatus for processing message
CN109120517A (en) * 2018-10-31 2019-01-01 珠海市小源科技有限公司 A kind of Rich Media's message shows method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8073475B2 (en) * 2007-02-02 2011-12-06 Disney Enterprises, Inc. Method and system for transmission and display of rich-media alerts
KR102153646B1 (en) * 2013-12-24 2020-09-08 엘지전자 주식회사 Mobile terminal and method for controlling of the same
CN106020784B (en) * 2015-03-18 2020-09-08 小米科技有限责任公司 Application message display method and device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486794A (en) * 2010-12-06 2012-06-06 腾讯科技(深圳)有限公司 Method, device and system for acquiring rich-media file
CN102098234A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for providing target content based on hyperlink in instant communication message
CN105511719A (en) * 2015-11-27 2016-04-20 努比亚技术有限公司 Notification information display method and device
CN106020613A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Operation method and mobile terminal for unread messages
CN106547439A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of method and apparatus for processing message
CN109120517A (en) * 2018-10-31 2019-01-01 珠海市小源科技有限公司 A kind of Rich Media's message shows method and device

Also Published As

Publication number Publication date
CN111049732A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN109412929B (en) Method and device for adaptively adjusting conditions in instant messaging application and mobile terminal
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN111857897A (en) Information display method and device and storage medium
CN109818853A (en) Message treatment method, device, server, electronic equipment and computer readable storage medium
CN104111813B (en) Method and device for picture synchronous display, mobile terminal and terminal device
CN108011990B (en) Contact management method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107402767B (en) Method and device for displaying push message
CN108989191B (en) Method for withdrawing picture file, control method and device thereof, and mobile terminal
CN108984098B (en) Information display control method and device based on social software
CN110046019A (en) A kind of chat message lookup method, device and electronic equipment
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN105095296B (en) File management method and device
CN106506808B (en) Method and device for prompting communication message
CN105376318A (en) File transmission method, device and system
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN104780256A (en) Address book management method and device and intelligent terminal
CN105101121A (en) Information transmitting method and device
CN109639561B (en) Sharing method and device based on information feedback, electronic equipment and storage medium
CN111368329A (en) Message display method and device, electronic equipment and storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN107948442B (en) Message management method, device and computer readable storage medium

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