CN113986579A - Push message processing method and device - Google Patents
Push message processing method and device Download PDFInfo
- Publication number
- CN113986579A CN113986579A CN202111254749.5A CN202111254749A CN113986579A CN 113986579 A CN113986579 A CN 113986579A CN 202111254749 A CN202111254749 A CN 202111254749A CN 113986579 A CN113986579 A CN 113986579A
- Authority
- CN
- China
- Prior art keywords
- message
- parameter information
- information
- historical
- push
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a processing method and device of push messages, and belongs to the technical field of communication. The method comprises the following steps: responding to a first input of a user, and acquiring first parameter information of a first message; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one of a message title, a message content and application information of an application program pushing the first message; determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message; and when second input of the first notification information by the user is received, executing the application program corresponding to the first message.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for processing a push message.
Background
With the development of the internet, the types and the number of the applications are increasing, and many events in life can be solved through the applications in the electronic device. Such as: the shopping method comprises the steps of carrying out online shopping through a shopping application program, carrying out payment through a payment application program and the like, but the push messages of all application programs on the electronic equipment are increased, and no technical means for retrieving the push messages exists at present, so that when the push messages disappear due to misoperation of a user or the push messages disappear due to poor network state, abnormal application program content and the like, the user cannot check the disappeared push messages.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for processing push messages, and the problem that historical push messages are difficult to view in the prior art can be solved.
In a first aspect, an embodiment of the present application provides a method for processing a push message, which is applied to an electronic device, and the method includes:
responding to a first input of a user, and acquiring first parameter information of a first message; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one of a message title, a message content and application information of an application program pushing the first message;
determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message;
and when second input of the first notification information by the user is received, executing the application program corresponding to the first message.
In one embodiment, the first notification information includes presentation options corresponding to similar messages;
after responding to the first input of the user, the method further comprises the following steps:
acquiring the first parameter information of the similar message corresponding to the first message; the similar message is a message in the history push message;
after the determining and displaying the first notification information corresponding to the first message, the method further includes:
and responding to the triggering operation of the user on the display option, and determining and displaying second notification information corresponding to the similar message according to the first parameter information of the similar message.
In one embodiment, the preset condition includes message category information;
the obtaining of the first parameter information of the first message in response to the first input of the user includes:
presenting a plurality of message category information in response to the first input; the message category information is determined according to at least one item of importance information and urgency information of the historical push message;
receiving a selection operation of a user on target message category information in the plurality of message category information;
and acquiring the first parameter information of the first message matched with the target message category information according to the selection operation.
In one embodiment, before the obtaining the first parameter information of the first message in response to the first input of the user, the method further includes:
responding to a third input of the historical push message by the user, and acquiring second parameter information of the historical push message; the second parameter information comprises at least one of a message identifier, the message title, the message content, message pushing time, application information of an application program for pushing the historical pushing message, and a device identifier of the electronic device;
and sending the second parameter information to a server.
In a second aspect, an embodiment of the present application provides a method for processing a push message, which is applied to a server, and the method includes:
responding to an acquisition request from the electronic equipment, and acquiring third parameter information of the first message; the first message is a message which meets a preset condition in the historical push messages; the third parameter information comprises at least one of a message identifier, a message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message;
determining first parameter information of the first message according to the third parameter information of the first message; the first parameter information comprises at least one of the message title, the message content and the application information;
and sending the first parameter information of the first message to the electronic equipment.
In one embodiment, after responding to the acquisition request from the electronic device, the method further includes:
acquiring the third parameter information of the similar message corresponding to the first message; the similar message is a message in the history push message;
determining the first parameter information of the similar message according to the third parameter information of the similar message;
and sending the first parameter information of the similar message to the electronic equipment.
In one embodiment, before the obtaining the third parameter information of the first message in response to the obtaining request from the electronic device, the method further includes:
receiving second parameter information of the historical push message from the electronic equipment; the second parameter information comprises at least one of the message identification, the message title, the message content, the message pushing time, application information of an application program for pushing the historical pushing message, and a device identification of the electronic device;
generating the third parameter information of the historical push message according to the second parameter information of the historical push message;
storing the third parameter information according to a preset storage condition; the storage condition comprises at least one of a device identification of the electronic device and the message pushing time.
In one embodiment, the third parameter information comprises a message identification of the similar message;
generating the third parameter information of the historical push message according to the second parameter information of the historical push message includes:
determining the similar message corresponding to the historical push message according to at least one of the message title and the message content;
and generating the third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
In one embodiment, the third parameter information comprises the message category information;
generating the third parameter information of the historical push message according to the second parameter information of the historical push message includes:
determining at least one item of importance information and urgency information of the historical push message according to at least one item of the message title and the message content;
determining the message category information of the historical push message according to at least one of importance information and emergency information of the historical push message;
and generating the third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
In one embodiment, after storing the third parameter information, the method further includes:
determining whether the historical push message meets a preset message cleaning condition or not according to the third parameter information; the message cleaning condition includes at least one of: the message pushing time is before preset time, and the application program corresponding to the historical pushing message is successfully executed.
In a third aspect, an embodiment of the present application provides a device for processing a push message, which is applied to an electronic device, and the device includes:
the first acquisition module is used for responding to first input of a user and acquiring first parameter information of a first message; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one of a message title, a message content and application information of an application program pushing the first message;
the first determining and displaying module is used for determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message;
and the execution module is used for executing the application program corresponding to the first message when receiving second input of the first notification information by the user.
In one embodiment, the first notification information includes presentation options corresponding to similar messages;
the device further comprises:
a second obtaining module, configured to obtain the first parameter information of the similar message corresponding to the first message; the similar message is a message in the history push message;
the device further comprises:
and the second determining and displaying module is used for responding to the triggering operation of the user on the displaying option, and determining and displaying second notification information corresponding to the similar message according to the first parameter information of the similar message.
In one embodiment, the preset condition includes message category information;
the first obtaining module comprises:
a presentation unit for presenting a plurality of message category information in response to the first input; the message category information is determined according to at least one item of importance information and urgency information of the historical push message;
a receiving unit, configured to receive a selection operation of a user on target message category information in the plurality of message category information;
and the acquisition unit is used for acquiring the first parameter information of the first message matched with the target message category information according to the selection operation.
In one embodiment, the apparatus further comprises:
the third obtaining module is used for responding to a third input of the historical push message from the user and obtaining second parameter information of the historical push message; the second parameter information comprises at least one of a message identifier, the message title, the message content, message pushing time, application information of an application program for pushing the historical pushing message, and a device identifier of the electronic device;
and the first sending module is used for sending the second parameter information to a server.
In a fourth aspect, an embodiment of the present application provides an apparatus for processing a push message, which is applied to a server, and the apparatus includes:
the fourth acquisition module is used for responding to an acquisition request from the electronic equipment and acquiring the third parameter information of the first message; the first message is a message which meets a preset condition in the historical push messages; the third parameter information comprises at least one of a message identifier, a message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message;
the first determining module is used for determining the first parameter information of the first message according to the third parameter information of the first message; the first parameter information comprises at least one of the message title, the message content and the application information;
and the second sending module is used for sending the first parameter information of the first message to the electronic equipment.
In one embodiment, the apparatus further comprises:
a fifth obtaining module, configured to obtain the third parameter information of the similar message corresponding to the first message; the similar message is a message in the history push message;
a second determining module, configured to determine the first parameter information of the similar message according to the third parameter information of the similar message;
and the third sending module is used for sending the first parameter information of the similar message to the electronic equipment.
In one embodiment, the apparatus further comprises:
a receiving module, configured to receive second parameter information of the historical push message from the electronic device; the second parameter information comprises at least one of the message identification, the message title, the message content, the message pushing time, application information of an application program for pushing the historical pushing message, and a device identification of the electronic device;
a generating module, configured to generate the third parameter information of the historical push message according to the second parameter information of the historical push message;
the storage module is used for storing the third parameter information according to a preset storage condition; the storage condition comprises at least one of a device identification of the electronic device and the message pushing time.
In one embodiment, the third parameter information comprises a message identification of the similar message;
the generation module comprises:
a first determining unit, configured to determine the similar message corresponding to the historical push message according to at least one of the message title and the message content;
a first generating unit, configured to generate the third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
In one embodiment, the third parameter information comprises the message category information;
the generation module comprises:
a second determining unit, configured to determine at least one of importance information and urgency information of the historical push message according to at least one of the message title and the message content;
a third determining unit, configured to determine the message category information of the historical push message according to at least one of importance information and urgency information of the historical push message;
a second generating unit, configured to generate the third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
In one embodiment, the apparatus further comprises:
a third determining module, configured to determine whether the historical push message meets a preset message cleaning condition according to the third parameter information; the message cleaning condition includes at least one of: the message pushing time is before preset time, and the application program corresponding to the historical pushing message is successfully executed.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps of the method for processing a push message according to the first aspect, or implements the steps of the method for processing a push message according to the second aspect.
In a sixth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the push message processing method according to the first aspect, or implement the steps of the push message processing method according to the second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method for processing a push message according to the first aspect, or to implement the steps of the method for processing a push message according to the second aspect.
In the embodiment of the application, the electronic device acquires first parameter information (including at least one of a message title, a message content, and application information of an application program for pushing a first message) of the first message (i.e., a message meeting a preset condition in a historical push message) in response to a first input of a user, and determines and displays first notification information corresponding to the first message according to the first parameter information of the first message, so that the application program corresponding to the first message is executed when a second input of the user on the first notification information is received. Therefore, the technical scheme realizes the effect of displaying the notification information corresponding to the historical push message on the electronic equipment, is beneficial to a user to conveniently check the historical push message, solves the problem that the historical push message cannot be checked at present, can prompt the user to process the historical push message, and effectively improves the processing rate of the push message.
Further, the server sends the first parameter information of the first message to the electronic device by responding to an acquisition request from the electronic device, acquiring third parameter information (including at least one of a message identifier, a message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message) of the first message (i.e. a message meeting a preset condition in the history pushing messages), and determining the first parameter information (including at least one of the message title, the message content, and the application information) of the first message according to the third parameter information of the first message. Therefore, the server can send at least one of the message title, the message content and the application information of the historical push message to the electronic equipment, and a data basis is provided for displaying the historical push message on the electronic equipment, so that the problem that the historical push message cannot be viewed on the electronic equipment at present is solved.
Drawings
Fig. 1 is a schematic flowchart of a push message processing method in an embodiment of the present application.
Fig. 2 is an interface diagram of a push message display interface in an embodiment of the present application.
Fig. 3 is a schematic view of a display interface of first notification information in an embodiment of the present application.
Fig. 4 is a schematic view of a display interface of second notification information in an embodiment of the present application.
Fig. 5 is a second schematic flowchart of a push message processing method in an embodiment of the present application.
Fig. 6 is a schematic interaction diagram between an electronic device and a server in a push message processing method in an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a push message processing apparatus in an embodiment of the present application.
Fig. 8 is a second schematic structural diagram of a push message processing apparatus according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Fig. 10 is a hardware structure diagram of an electronic device in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method for processing a push message according to the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a method for processing a push message in an embodiment of the present application, and the method for processing a push message shown in fig. 1 is applied to an electronic device. As shown in fig. 1, the method for processing a push message may include:
s102, responding to a first input of a user, and acquiring first parameter information of a first message.
Wherein the first input may be an input for viewing historical push messages. For example, the first input is a click input of a designated virtual key (e.g., a "history message" key, a "view history" key, etc.) on a push message display interface of the electronic device, a click input of a physical key preset on the electronic device for viewing history push messages, etc. The click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Specifically, the long-press input and the short-press input are related to a key press duration threshold corresponding to the electronic device. In each electronic device, an input whose pressing duration is less than or equal to a preset key pressing duration threshold may be defined as a short-press input, and an input whose pressing duration is greater than the preset key pressing duration threshold may be defined as a long-press input. In practical applications, an event triggerable by a long-press input and/or an event triggerable by a short-press input may be pre-stored for the designated virtual key or the physical key on the electronic device, so that the corresponding event is executed according to the long-press input or the short-press input of the user. For example, for a "view history" virtual key on a push message display interface of the electronic device, when the virtual key is pre-stored and pressed for a long time, the first parameter information of the first message is triggered to be acquired, and then, the electronic device may acquire the first parameter information of the first message in response to the long-press input of the "view history" virtual key by the user.
The first message is a message meeting a preset condition in the historical push messages. The first parameter information includes at least one of a message title, a message content, and application information of an application program that pushed the first message. The application information of the application that pushed the first message may include an application name, a link to jump to the application, and the like.
In one embodiment, a push message display interface of an electronic device is shown in fig. 2, and fig. 2 schematically shows a push message 210 that has not been viewed by a user, and in a case where there are a plurality of push messages that have not been viewed, the push messages are arranged in the push message display interface shown in fig. 2 in descending order of message push time (i.e., in order of message push time from current to past). 220 are designated virtual keys for viewing historical push messages, and in response to a user clicking on 220, the electronic device may retrieve first parameter information of the first message.
S104, determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message.
The electronic device may generate and display first notification information corresponding to the first message according to a preset notification information template and the first parameter information of the first message.
And S106, when receiving the second input of the first notification information by the user, executing the application program corresponding to the first message.
The second input may be a click input of the first notification information by the user, or a voice instruction input by the user, or a specific gesture input by the user, which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit this. The click input in the embodiment of the application can be click input, double-click input or click input of any number of times, and can also be long-press input or short-press input; the specific gesture may be any one of a single-tap gesture, a slide gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-tap gesture.
When the electronic equipment recognizes a single-click (usually single-finger single-click) gesture of a user on a screen area where first notification information is located, and monitors that the time length of the user for keeping the single-click gesture staying in the screen area is greater than or equal to a first preset time length, the long-press gesture of the user on the first notification information can be determined to be received. When the electronic equipment identifies a double-finger clicking gesture of a user on a screen area where first notification information is located, and monitors that the time length of the double-finger clicking gesture kept by the user in the screen area is greater than or equal to a second preset time length, the double-pressing gesture of the user on the first notification information can be determined to be received. The gesture of area change can be any one gesture of hand area change such as a five-finger grabbing gesture, a palm stretching gesture to fist making gesture, a palm fist making gesture to stretching gesture and the like.
In this embodiment, when receiving a second input of the first notification information by the user, it may be first determined whether the application program corresponding to the first message is already running in the electronic device (including background running or foreground running), and if it is determined that the application program corresponding to the first message is running in the background, executing the application program corresponding to the first message specifically includes: and starting an application program corresponding to the first message from the background so that the application program runs in the foreground and displays the message content of the first message. If it is determined that the application program corresponding to the first message operates in the foreground, executing the application program corresponding to the first message specifically includes: and displaying the message content of the first message. If it is determined that the application program corresponding to the first message is not running in the electronic device, executing the application program corresponding to the first message specifically includes: and starting an application program corresponding to the first message so that the application program runs in the foreground and displays the message content of the first message. The display mode includes, but is not limited to, displaying text content, playing audio and playing video, and the specific display mode is related to the format of the message content of the first message. For example, the format of the message content of the first message is a video format, and then the message content of the first message is presented, i.e. a video is played.
In the embodiment of the application, the electronic device acquires first parameter information (including at least one of a message title, a message content, and application information of an application program for pushing a first message) of the first message (i.e., a message meeting a preset condition in a historical push message) in response to a first input of a user, and determines and displays first notification information corresponding to the first message according to the first parameter information of the first message, so that the application program corresponding to the first message is executed when a second input of the user on the first notification information is received. Therefore, the technical scheme realizes the effect of displaying the notification information corresponding to the historical push message on the electronic equipment, is beneficial to a user to conveniently check the historical push message, solves the problem that the historical push message cannot be checked at present, can prompt the user to process the historical push message, and effectively improves the processing rate of the push message.
In one embodiment, before the first parameter information of the first message is obtained in response to the first input of the user, the second parameter information of the historical push message may be obtained in response to a third input of the historical push message by the user, and the second parameter information is sent to the server, which is performed S102.
Wherein the third input may be an input for viewing historical push messages. Specifically, the third input is click input of the notification information corresponding to the history push message by the user, or a voice instruction input by the user, or a specific gesture input by the user, which may be determined specifically according to an actual use requirement, and this is not limited in this embodiment of the application. For specific contents of the click input and the specific gesture, reference may be made to the related description in S106, which is not described herein again.
Wherein the second parameter information may include at least one of a message identifier, a message title, a message content, a message pushing time, application information of an application program for pushing a history pushing message, and a device identifier of the electronic device. The application information of the application that pushes the history push message may include an application name, a link to jump to the application, and the like. The message identification may be an Identity document (Identity document) and the device identification of the electronic device may be an International Mobile Equipment Identity (IMEI). It should be noted that the second parameter information is parameter information of a history push message reported to the server by the electronic device.
In this embodiment, by responding to the third input of the history push message by the user, acquiring the second parameter information of the history push message and sending the second parameter information to the server, the effect of reporting the parameter information of the push message, which is viewed by the user, to the server according to the operation of the user for viewing the history push message is achieved, and a data basis is provided for displaying the history push message on the electronic device.
In one embodiment, after the step S102 is executed, in response to a first input by the user, first parameter information of a similar message corresponding to the first message may be acquired. Wherein the similar message is a message in the history push message. Therefore, after the step S104 is executed, and the first notification information corresponding to the first message is determined and displayed, in response to the user' S trigger operation on the display option corresponding to the similar message in the first notification information, the second notification information corresponding to the similar message is determined and displayed according to the first parameter information of the similar message.
The trigger operation may be any one of a single-click operation, a double-click operation, and a long-press operation. The first notification information comprises presentation options corresponding to the similar messages. The presentation option corresponding to the similar message may be a virtual button in the first notification information, for example, a "view similar message" button. Fig. 3 is a first notification information display page, and fig. 3 schematically shows a piece of first notification information 310, in which, in the case where there are a plurality of pieces of first notification information, the pieces of first notification information are arranged in the first notification information display page shown in fig. 3 in descending order of message push time (i.e., in order of message push time from the present to the past). The display option 320 corresponds to the similar message, and in response to the triggering operation of the user on the display option 320, the electronic device may determine and display second notification information corresponding to the similar message according to the first parameter information of the similar message, as shown in fig. 4, a piece of second notification information 410 is schematically displayed, and in the case that there are multiple pieces of second notification information, the second notification information is arranged according to any one of a descending order of the message pushing time and a descending order of the similarity.
In this embodiment, after responding to the first input of the user, the first parameter information of the similar message corresponding to the first message is acquired, so that the second notification information corresponding to the similar message is determined and displayed according to the first parameter information of the similar message in response to the triggering operation of the user on the display option corresponding to the similar message in the first notification information, so that the user can comprehensively and efficiently view the history push message, and thus the processing rate of the history push message is improved.
In one embodiment, the preset condition may include message category information. In step S102, when the first parameter information of the first message is acquired in response to the first input of the user, the plurality of message category information may be first displayed in response to the first input, and then a selection operation of the user on a target message category information in the plurality of message category information is received, so that the first parameter information of the first message matching the target message category information is acquired according to the selection operation.
Wherein, the message category information can be determined according to at least one item of importance information and urgency information of the historical push messages. The message category information may be urgent, important, etc. The plurality of message category information presented in response to the first input may be designated virtual keys on the first notification information display page, such as an "urgent" key, an "important" key, and the like.
Alternatively, the preset condition may also be a time condition. For example, if a historical push message within one week is preset to be displayed, in step S102, after responding to the first input of the user, the first parameter information of the historical push message within one week from the current time may be acquired.
Alternatively, the preset condition may be all history push messages. Then, after responding to the first input of the user, the first parameter information of all historical push messages may be acquired in execution of S102.
Optionally, the preset condition may also be at least one of the user not viewing, the user viewing but failing to execute the application, and the like. Thus, after executing S102, in response to the first input by the user, the first parameter information of at least one of the application programs that the user did not view, that the user had viewed but failed to execute, and the like may be acquired.
In this embodiment, by providing a plurality of preset conditions, the first parameter information of the history push message meeting the corresponding preset conditions can be acquired after responding to the first input of the user, so that the user can view the history push message in a personalized manner.
In the embodiment, the plurality of message category information are displayed in response to the first input of the user, and then the selection operation of the user on the target message category information in the plurality of message category information is received, so that the first parameter information of the first message matched with the target message category information is acquired according to the selection operation, the effect of viewing the historical push messages in a classified manner is achieved, the user can conveniently view the historical push messages in the selected message category information, and the use experience of the user is improved.
Fig. 5 is a second schematic flowchart of a method for processing a push message in an embodiment of the present application, where the method for processing a push message shown in fig. 5 is applied to a server. As shown in fig. 5, the method for processing a push message may include:
s502, in response to the obtaining request from the electronic device, obtaining third parameter information of the first message.
The first message is a message meeting a preset condition in the historical push messages. The third parameter information includes at least one of a message identification, a message title, a message content, message category information, a message push time, application information of an application program pushing the first message, a device identification of the electronic device, and a message identification of a similar message. The application information of the application that pushed the first message may include an application name, a link to jump to the application, and the like. The message identification may be a message ID, the message category information may be emergency, important, etc., the device identification of the electronic device may be an IMEI, and the message identification of the similar message may be a message ID of the similar message.
S504, the first parameter information of the first message is determined according to the third parameter information of the first message.
Wherein the first parameter information comprises at least one of a message title, a message content and application information.
S506, the first parameter information of the first message is sent to the electronic equipment.
It should be noted that the third parameter information is parameter information of a historical push message stored by the server, and the first parameter information is parameter information of a historical push message issued by the server to the electronic device.
In the embodiment of the application, the server sends the first parameter information of the first message to the electronic device by, in response to an acquisition request from the electronic device, acquiring third parameter information (including at least one of a message identifier, a message title, a message content, message category information, a message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message) of the first message (i.e., a message meeting a preset condition in a history push message), and determining the first parameter information (including at least one of the message title, the message content, and the application information) of the first message according to the third parameter information of the first message. Therefore, the server can send at least one of the message title, the message content and the application information of the historical push message to the electronic equipment, and a data basis is provided for displaying the historical push message on the electronic equipment, so that the problem that the historical push message cannot be viewed on the electronic equipment at present is solved.
In one embodiment, executing S502, before acquiring the third parameter information of the first message in response to the acquisition request from the electronic device, the third parameter information of the historical push message may be stored according to the following steps a 1-A3:
step a1, receiving second parameter information of the history push message from the electronic device.
The second parameter information comprises at least one of a message identifier, a message title, message content, message pushing time, application information of an application program for pushing a history pushing message, and a device identifier of the electronic device.
Step A2, generating third parameter information of the historical push message according to the second parameter information of the historical push message.
The specific execution process of generating the third parameter information of the history push message will be described in detail in the following embodiments, which are not described herein again.
Step a3, storing the third parameter information according to the preset storage condition.
The storage condition may include at least one of a device identifier of the electronic device and a message push time, that is, the storage may be performed with the device identifier of the electronic device and/or the message push time as a storage dimension. And under the condition that the preset storage condition is the equipment identification of the electronic equipment, storing the third parameter information of each historical push message by taking the equipment identification of the electronic equipment as a storage dimension. And under the condition that the preset storage condition is the message pushing time, storing the third parameter information of each historical pushing message according to the sequence of the message pushing time. And under the condition that the preset storage conditions are the equipment identification of the electronic equipment and the message pushing time, storing the third parameter information of each historical pushing message by taking the equipment identification of the electronic equipment as a storage dimension according to the sequence of the message pushing time.
Alternatively, the third parameter information may be stored in a history data storage module in the server.
In this embodiment, the server receives the second parameter information of the historical push message from the electronic device, so as to generate third parameter information of the historical push message according to the second parameter information of the historical push message, and store the third parameter information according to a preset storage condition, thereby providing a data basis for displaying the historical push message on the electronic device.
In one embodiment, the third parameter information includes a message identification of the similar message. The step A2 can be specifically executed as the following steps B1-B2:
and step B1, determining similar messages corresponding to the historical push messages according to at least one of message titles and message contents.
Alternatively, step B1 may be performed by a similar content retrieval module in the server, and the second parameter information of the history push message received from the electronic device may be stored in a history data storage module in the server. Specifically, after the step a1 is executed, the similar content retrieving module may obtain the second parameter information of the history push message that has just been stored from the history data storage module, obtain the second parameter information of all history push messages of the electronic device from the message notification center in the server, and perform similar matching on at least one of the message titles and the message contents of the history push messages to obtain a similarity result, so as to determine, according to the preset number of the similar messages (i.e., the preset number of the similar messages that needs to be determined), the preset number of the similar messages that corresponds to the history push messages and has the highest similarity.
And step B2, generating third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
Specifically, after determining a preset number of similar messages with the highest similarity corresponding to the historical push messages, the similar content retrieval module may write message identifiers corresponding to the preset number of similar messages into the second parameter information of the historical push messages in the historical data storage module, that is, generate the third parameter information of the historical push messages.
In this embodiment, similar content retrieval is performed on the historical push messages stored in the server, so that similar messages corresponding to the historical push messages respectively are determined, and the problems that the push message content is lost by the current application program, and loading cannot be performed even if the application program is re-invoked, so that the user cannot browse the interested content can be solved, that is, the user can browse the interested content by viewing the similar messages.
In one embodiment, the third parameter information includes message category information. The step A2 can be specifically executed as the following steps C1-C3:
and step C1, determining at least one item of importance information and urgency information of the historical push message according to at least one item of message title and message content.
Alternatively, the step C1 may be performed by the content category analysis module in the server, and the second parameter information of the history push message received from the electronic device may be stored in the history data storage module in the server.
The content category analysis module maintains at least one item of an important phrase word bank and an emergency phrase word bank. For example, the emergency phrase word library includes words such as "burst" and "urgent", and the important phrase word library includes words such as "important" and "important".
After the step a1 is executed, the content category analysis module may obtain the second parameter information of the history push message that has just been stored from the history data storage module, so as to execute a natural language processing algorithm on at least one of the message title and the message content of the history push message, so as to disassemble at least one of the message title and the message content into a plurality of corresponding phrases, and then match the plurality of phrases with the important phrase thesaurus and the urgent phrase thesaurus to determine at least one of the importance information and the urgency information of the history push message.
And step C2, determining the message type information of the historical push message according to at least one item of the importance degree information and the urgency degree information of the historical push message.
According to the embodiment in the step C1, if the multiple phrases are not matched with the important phrase thesaurus and the urgent phrase thesaurus, the message category information of the historical push message is none; if the phrases are only matched with the important phrase word stock, the message category information of the historical push message is important; and if the phrases are only matched with the emergency phrase word stock, the message type information of the historical push message is emergency. If a plurality of phrases are matched with both the important phrase word stock and the emergency phrase word stock, the matching quantity is determined, namely the matching quantity with which phrase word stock is more, and the message category information of the historical push message is which category. For example, if a plurality of phrases are matched with 2 phrases in the important phrase thesaurus and matched with 1 phrase in the urgent phrase thesaurus, the message category information of the historical push message is important. If the phrases are matched with 2 phrases in the important phrase lexicon and also matched with 2 phrases in the emergency phrase lexicon, the message category information of the historical push message can be determined according to preset marks (for example, under the condition that the matching number of the phrases is the same as that of the two phrase lexicons, the message category information of the historical push message is marked as emergency).
And step C3, generating third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
Specifically, after determining the message category information of each historical push message, the content category analysis module may write the message category information into the second parameter information of the historical push message in the historical data storage module, that is, generate the third parameter information of the historical push message.
In this embodiment, at least one of the importance information and the urgency information of the historical push message is determined according to at least one of the message title and the message content, so that the message category information of the historical push message is determined according to at least one of the importance information and the urgency information of the historical push message, and then the third parameter information of the historical push message is generated according to the second parameter information and the message category information of the historical push message, which is beneficial to helping a user to quickly find the urgent and important historical push message.
According to the embodiment, the server can perform similarity integration and/or message category information integration on the historical push messages, so that the historical push messages can be conveniently checked by the user, and the checking complexity of the historical push messages is reduced.
In one embodiment, after storing the third parameter information according to step a3, it may be determined whether the historical push message satisfies a preset message cleaning condition according to the third parameter information. Therefore, historical push messages meeting preset message clearing conditions are cleared.
Wherein the message cleaning condition comprises at least one of: the message pushing time is before the preset time, and the application program corresponding to the historical pushing message is successfully executed. In this embodiment, the third parameter information of the history push message includes identification information that the application program has been successfully executed.
In this embodiment, it is determined whether the history push message meets the preset message clearing condition, so as to clear the history push message meeting the preset message clearing condition, and thus, the data size in the server can be effectively prevented from being too large.
In one embodiment, S502 is executed, after responding to the obtaining request from the electronic device, the third parameter information of the similar message corresponding to the first message may be obtained, the first parameter information of the similar message is determined according to the third parameter information of the similar message, and the first parameter information of the similar message is sent to the electronic device. Wherein the similar message is a message in the history push message.
In this embodiment, the third parameter information of the similar message corresponding to the first message is acquired, the first parameter information of the similar message is determined according to the third parameter information of the similar message, and the first parameter information of the similar message is sent to the electronic device, so that the effect of viewing the similar message on the electronic device can be achieved, and the viewing complexity of the historical push message is favorably reduced.
To facilitate understanding of the method for processing the push message provided by the embodiment of the present application, the method for processing the push message provided by the embodiment of the present application will be described in a manner that the electronic device interacts with the server, and specifically, refer to fig. 6. Fig. 6 is a schematic interaction diagram between an electronic device and a server in a push message processing method according to an embodiment of the present application, and as shown in fig. 6, the push message processing method may include:
and 6.1, the electronic equipment responds to a third input of the historical push message by the user, and obtains second parameter information of the historical push message.
The second parameter information comprises at least one of a message identifier, a message title, message content, message pushing time, application information of an application program for pushing a history pushing message, and a device identifier of the electronic device.
6.2, the electronic equipment sends the second parameter information of the history push message to the server.
And 6.3, the server generates third parameter information of the historical push message according to the second parameter information of the historical push message.
The third parameter information comprises at least one of a message identifier, a message title, a message content, message category information, a message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message.
In one embodiment, the third parameter information includes a message identification of the similar message; 6.3 can be implemented in particular as: determining similar messages corresponding to the historical push messages according to at least one of message titles and message contents; and generating third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
In one embodiment, the third parameter information includes message category information; 6.3 can be implemented in particular as: determining at least one item of importance information and urgency information of the historical push message according to at least one item of message title and message content; determining message category information of the historical push message according to at least one item of importance information and emergency information of the historical push message; and generating third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
And 6.4, the server stores the third parameter information according to the preset storage condition.
Wherein the storage condition comprises at least one of a device identification and a message push time of the electronic device. In one embodiment, after storing the third parameter information, it may be determined whether the historical push message satisfies a preset message cleaning condition according to the third parameter information. The message cleaning condition includes at least one of: the message pushing time is before the preset time, and the application program corresponding to the historical pushing message is successfully executed.
And 6.5, the electronic equipment responds to the first input of the user and sends an acquisition request for acquiring the first parameter information of the first message and the similar message of the first message to the server.
The first message is a message which meets a preset condition in the historical push messages; the similar message is a message in the history push message; the first parameter information includes at least one of a message title, a message content, and application information of an application program that pushed the first message.
In one embodiment, the preset condition includes message category information; 6.3 can be implemented in particular as: presenting a plurality of message category information in response to a first input; the message category information is determined according to at least one item of importance information and urgency information of historical push messages; receiving a selection operation of a user on target message category information in a plurality of message category information; and sending an acquisition request for acquiring the first parameter information of the first message matched with the target message category information to the server according to the selection operation.
6.6, the server responds to the acquisition request from the electronic equipment to acquire the third parameter information of the first message; and acquiring third parameter information of the similar message corresponding to the first message.
6.7, the server determines the first parameter information of the first message according to the third parameter information of the first message; and determining the first parameter information of the similar message according to the third parameter information of the similar message.
6.8, the server sends the first parameter information of the first message to the electronic equipment; and sending the first parameter information of the similar message to the electronic equipment.
6.9, the electronic device determines and displays first notification information corresponding to the first message according to the first parameter information of the first message.
And 6.10, the electronic equipment responds to the trigger operation of the user on the display options corresponding to the similar messages in the first notification information, and determines and displays second notification information corresponding to the similar messages according to the first parameter information of the similar messages.
And 6.11, when the electronic equipment receives second input of the first notification information from the user, executing an application program corresponding to the first message.
The specific processes of 6.1-6.11 are described in detail in the above embodiments, and are not described herein again.
In the embodiment of the application, the electronic device acquires first parameter information (including at least one of a message title, a message content, and application information of an application program for pushing a first message) of the first message (i.e., a message meeting a preset condition in a historical push message) in response to a first input of a user, and determines and displays first notification information corresponding to the first message according to the first parameter information of the first message, so that the application program corresponding to the first message is executed when a second input of the user on the first notification information is received. Therefore, the technical scheme realizes the effect of displaying the notification information corresponding to the historical push message on the electronic equipment, is beneficial to a user to conveniently check the historical push message, solves the problem that the historical push message cannot be checked at present, can prompt the user to process the historical push message, and effectively improves the processing rate of the push message.
Further, the server sends the first parameter information of the first message to the electronic device by responding to an acquisition request from the electronic device, acquiring third parameter information (including at least one of a message identifier, a message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message) of the first message (i.e. a message meeting a preset condition in the history pushing messages), and determining the first parameter information (including at least one of the message title, the message content, and the application information) of the first message according to the third parameter information of the first message. Therefore, the server can send at least one of the message title, the message content and the application information of the historical push message to the electronic equipment, and a data basis is provided for displaying the historical push message on the electronic equipment, so that the problem that the historical push message cannot be viewed on the electronic equipment at present is solved.
It should be noted that, in the push message processing method provided in the embodiment of the present application, the execution main body may be a push message processing apparatus, or a control module in the push message processing apparatus for executing the push message processing method. In the embodiment of the present application, a method for executing a push message by a push message processing device is taken as an example, and the push message processing device provided in the embodiment of the present application is described.
Fig. 7 is a schematic structural diagram of a push message processing apparatus in an embodiment of the present application. The apparatus is applied to an electronic device, and referring to fig. 7, the apparatus for processing a push message may include:
a first obtaining module 710, configured to obtain first parameter information of a first message in response to a first input of a user; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one item of message title, message content and application information of an application program pushing the first message;
a first determining and displaying module 720, configured to determine and display first notification information corresponding to the first message according to the first parameter information of the first message;
the executing module 730 is configured to execute the application program corresponding to the first message when receiving the second input of the first notification information from the user.
In one embodiment, the first notification information includes presentation options corresponding to the similar messages;
the push message processing device further comprises:
the second acquisition module is used for acquiring first parameter information of similar messages corresponding to the first message; the similar message is a message in the history push message;
the push message processing device further comprises:
and the second determining and displaying module is used for responding to the triggering operation of the user on the displaying option, and determining and displaying second notification information corresponding to the similar message according to the first parameter information of the similar message.
In one embodiment, the preset condition includes message category information;
the first obtaining module 710 includes:
the display unit is used for responding to the first input and displaying a plurality of message category information; the message type is determined according to at least one item of importance information and urgency information of historical push messages;
the receiving unit is used for receiving the selection operation of a user on target message category information in the plurality of message category information;
and the acquisition unit is used for acquiring the first parameter information of the first message matched with the target message category information according to the selection operation.
In one embodiment, the apparatus for processing push messages further comprises:
the third acquisition module is used for responding to a third input of the historical push message by the user and acquiring second parameter information of the historical push message; the second parameter information comprises at least one of a message identifier, a message title, message content, message pushing time, application information of an application program for pushing historical pushing messages, and a device identifier of the electronic device;
and the first sending module is used for sending the second parameter information to the server.
In the embodiment of the application, the electronic device acquires first parameter information (including at least one of a message title, a message content, and application information of an application program for pushing a first message) of the first message (i.e., a message meeting a preset condition in a historical push message) in response to a first input of a user, and determines and displays first notification information corresponding to the first message according to the first parameter information of the first message, so that the application program corresponding to the first message is executed when a second input of the user on the first notification information is received. Therefore, the device achieves the effect of displaying the notification information corresponding to the historical push message on the electronic equipment, so that the user can conveniently check the historical push message, the problem that the historical push message cannot be checked at present is solved, the user can be prompted to process the historical push message, and the processing rate of the push message is effectively improved.
Fig. 8 is a second schematic structural diagram of a push message processing apparatus according to an embodiment of the present application. The apparatus is applied to a server, and referring to fig. 8, the apparatus for processing a push message may include:
a fourth obtaining module 810, configured to obtain, in response to an obtaining request from the electronic device, third parameter information of the first message; the first message is a message which meets a preset condition in the historical push messages; the third parameter information comprises at least one of message identification, message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, equipment identification of the electronic equipment and message identification of similar messages;
a first determining module 820, configured to determine first parameter information of the first message according to the third parameter information of the first message; the first parameter information comprises at least one of message title, message content and application information;
the second sending module 830 is configured to send the first parameter information of the first message to the electronic device.
In one embodiment, the apparatus for processing push messages further comprises:
a fifth obtaining module, configured to obtain third parameter information of a similar message corresponding to the first message; the similar message is a message in the history push message;
the second determining module is used for determining the first parameter information of the similar message according to the third parameter information of the similar message;
and the third sending module is used for sending the first parameter information of the similar message to the electronic equipment.
In one embodiment, the apparatus for processing push messages further comprises:
the receiving module is used for receiving second parameter information of the historical push message from the electronic equipment; the second parameter information comprises at least one of a message identifier, a message title, message content, message pushing time, application information of an application program for pushing historical pushing messages, and a device identifier of the electronic device;
the generating module is used for generating third parameter information of the historical push message according to the second parameter information of the historical push message;
the storage module is used for storing the third parameter information according to a preset storage condition; the storage condition includes at least one of a device identification of the electronic device and a message push time.
In one embodiment, the third parameter information includes a message identification of the similar message;
the generation module comprises:
the first determining unit is used for determining similar messages corresponding to the historical push messages according to at least one of message titles and message contents;
and the first generating unit is used for generating third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
In one embodiment, the third parameter information includes message category information;
the generation module comprises:
the second determining unit is used for determining at least one item of importance degree information and urgency degree information of the historical push message according to at least one item of message title and message content;
the third determining unit is used for determining the message category information of the historical push message according to at least one item of the importance degree information and the emergency degree information of the historical push message;
and the second generating unit is used for generating third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
In one embodiment, the apparatus for processing push messages further comprises:
the third determining module is used for determining whether the historical push message meets a preset message cleaning condition according to the third parameter information; the message cleaning condition includes at least one of: the message pushing time is before the preset time, and the application program corresponding to the historical pushing message is successfully executed.
In the embodiment of the application, the server sends the first parameter information of the first message to the electronic device by, in response to an acquisition request from the electronic device, acquiring third parameter information (including at least one of a message identifier, a message title, a message content, message category information, a message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message) of the first message (i.e., a message meeting a preset condition in a history push message), and determining the first parameter information (including at least one of the message title, the message content, and the application information) of the first message according to the third parameter information of the first message. Therefore, the server can send at least one of the message title, the message content and the application information of the historical push message to the electronic equipment, and a data basis is provided for displaying the historical push message on the electronic equipment, so that the problem that the historical push message cannot be viewed on the electronic equipment at present is solved.
The push message processing device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The processing device of the push message in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The processing device for push messages provided in this embodiment of the present application can implement each process implemented in the processing method embodiments for push messages in fig. 1 to fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the above-mentioned embodiment of the method for processing a push message applied to an electronic device, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
Optionally, in the electronic device 900 shown in fig. 9, when the program or the instruction stored in the memory 902 is executed by the processor 901, the processes of the above-mentioned embodiment of the method for processing a push message applied to a server are implemented, and the same technical effect can be achieved, and for avoiding repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a hardware structure diagram of an electronic device in an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
In one embodiment, the processor 1010 is configured to obtain first parameter information of a first message in response to a first input by a user; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one item of message title, message content and application information of an application program pushing the first message; determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message; and when second input of the user to the first notification information is received, executing an application program corresponding to the first message.
Optionally, the first notification information includes a presentation option corresponding to the similar message;
the processor 1010 is further configured to obtain first parameter information of a similar message corresponding to the first message; the similar message is a message in the history push message;
the processor 1010 is further configured to determine and display second notification information corresponding to the similar message according to the first parameter information of the similar message in response to a user's trigger operation on the display option.
Optionally, the preset condition includes message category information;
a display unit 1006 for displaying a plurality of message category information in response to a first input; the message category information is determined according to at least one item of importance information and urgency information of historical push messages;
a user input unit 1007 for receiving a user selection operation for a target message category information among the plurality of message category information;
the processor 1010 is further configured to obtain, according to the selection operation, first parameter information of the first message that matches the target message category information.
Optionally, the processor 1010 is further configured to, in response to a third input of the historical push message by the user, obtain second parameter information of the historical push message; the second parameter information comprises at least one of a message identifier, a message title, message content, message pushing time, application information of an application program for pushing historical pushing messages, and a device identifier of the electronic device; and sending the second parameter information to the server.
In the embodiment of the application, the electronic device acquires first parameter information (including at least one of a message title, a message content, and application information of an application program for pushing a first message) of the first message (i.e., a message meeting a preset condition in a historical push message) in response to a first input of a user, and determines and displays first notification information corresponding to the first message according to the first parameter information of the first message, so that the application program corresponding to the first message is executed when a second input of the user on the first notification information is received. Therefore, the electronic equipment realizes the effect of displaying the notification information corresponding to the historical push message on the electronic equipment, so that the historical push message can be conveniently checked by a user, the problem that the historical push message cannot be checked at present is solved, the user can be prompted to process the historical push message, and the processing rate of the push message is effectively improved.
In one embodiment, the processor 1010 is configured to obtain third parameter information of the first message in response to a obtaining request from the electronic device; the first message is a message which meets a preset condition in the historical push messages; the third parameter information comprises at least one of message identification, message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, equipment identification of the electronic equipment and message identification of similar messages; determining first parameter information of the first message according to the third parameter information of the first message; the first parameter information comprises at least one of message title, message content and application information; and sending the first parameter information of the first message to the electronic equipment.
Optionally, the processor 1010 is further configured to obtain third parameter information of a similar message corresponding to the first message; the similar message is a message in the history push message; determining first parameter information of the similar message according to the third parameter information of the similar message; and sending the first parameter information of the similar message to the electronic equipment.
Optionally, an input unit 1004, configured to receive second parameter information of a history push message from the electronic device; the second parameter information comprises at least one of a message identifier, a message title, message content, message pushing time, application information of an application program for pushing historical pushing messages, and a device identifier of the electronic device;
the processor 1010 is further configured to generate third parameter information of the historical push message according to the second parameter information of the historical push message;
a memory 1009, configured to store the third parameter information according to a preset storage condition; the storage condition includes at least one of a device identification of the electronic device and a message push time.
Optionally, the third parameter information includes a message identifier of the similar message;
the processor 1010 is further configured to determine a similar message corresponding to the historical push message according to at least one of a message title and a message content; and generating third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
Optionally, the third parameter information includes message category information;
the processor 1010 is further configured to determine at least one of importance information and urgency information of the historical push message according to at least one of a message title and a message content; determining message category information of the historical push message according to at least one item of importance information and emergency information of the historical push message; and generating third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
Optionally, the processor 1010 is further configured to determine, according to the third parameter information, whether the historical push message meets a preset message cleaning condition; the message cleaning condition includes at least one of: the message pushing time is before the preset time, and the application program corresponding to the historical pushing message is successfully executed.
In the embodiment of the application, the server sends the first parameter information of the first message to the electronic device by, in response to an acquisition request from the electronic device, acquiring third parameter information (including at least one of a message identifier, a message title, a message content, message category information, a message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message) of the first message (i.e., a message meeting a preset condition in a history push message), and determining the first parameter information (including at least one of the message title, the message content, and the application information) of the first message according to the third parameter information of the first message. Therefore, the server can send at least one of the message title, the message content and the application information of the historical push message to the electronic equipment, and a data basis is provided for displaying the historical push message on the electronic equipment, so that the problem that the historical push message cannot be viewed on the electronic equipment at present is solved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the above-mentioned push message processing method applied to the electronic device, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned push message processing method applied to the server, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction, so as to implement each process of the above-mentioned push message processing method embodiment applied to an electronic device, and achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned processing method for a push message applied to a server, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
1. A push message processing method is applied to an electronic device, and comprises the following steps:
responding to a first input of a user, and acquiring first parameter information of a first message; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one of a message title, a message content and application information of an application program pushing the first message;
determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message;
and when second input of the first notification information by the user is received, executing the application program corresponding to the first message.
2. The method of claim 1, wherein the first notification information comprises a presentation option corresponding to the similar message;
after responding to the first input of the user, the method further comprises the following steps:
acquiring the first parameter information of the similar message corresponding to the first message; the similar message is a message in the history push message;
after the determining and displaying the first notification information corresponding to the first message, the method further includes:
and responding to the triggering operation of the user on the display option, and determining and displaying second notification information corresponding to the similar message according to the first parameter information of the similar message.
3. The method of claim 1, wherein the preset condition comprises message category information;
the obtaining of the first parameter information of the first message in response to the first input of the user includes:
presenting a plurality of message category information in response to the first input; the message category information is determined according to at least one item of importance information and urgency information of the historical push message;
receiving a selection operation of a user on target message category information in the plurality of message category information;
and acquiring the first parameter information of the first message matched with the target message category information according to the selection operation.
4. The method of claim 1, wherein before the obtaining the first parameter information of the first message in response to the first input of the user, further comprising:
responding to a third input of the historical push message by the user, and acquiring second parameter information of the historical push message; the second parameter information comprises at least one of a message identifier, the message title, the message content, message pushing time, application information of an application program for pushing the historical pushing message, and a device identifier of the electronic device;
and sending the second parameter information to a server.
5. A push message processing method is applied to a server, and comprises the following steps:
responding to an acquisition request from the electronic equipment, and acquiring third parameter information of the first message; the first message is a message which meets a preset condition in the historical push messages; the third parameter information comprises at least one of a message identifier, a message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message;
determining first parameter information of the first message according to the third parameter information of the first message; the first parameter information comprises at least one of the message title, the message content and the application information;
and sending the first parameter information of the first message to the electronic equipment.
6. The method of claim 5, wherein after responding to the acquisition request from the electronic device, further comprising:
acquiring the third parameter information of the similar message corresponding to the first message; the similar message is a message in the history push message;
determining the first parameter information of the similar message according to the third parameter information of the similar message;
and sending the first parameter information of the similar message to the electronic equipment.
7. The method of claim 5, wherein before the obtaining the third parameter information of the first message in response to the obtaining request from the electronic device, further comprising:
receiving second parameter information of the historical push message from the electronic equipment; the second parameter information comprises at least one of the message identification, the message title, the message content, the message pushing time, application information of an application program for pushing the historical pushing message, and a device identification of the electronic device;
generating the third parameter information of the historical push message according to the second parameter information of the historical push message;
storing the third parameter information according to a preset storage condition; the storage condition comprises at least one of a device identification of the electronic device and the message pushing time.
8. The method of claim 7, wherein the third parameter information comprises a message identifier of the similar message;
generating the third parameter information of the historical push message according to the second parameter information of the historical push message includes:
determining the similar message corresponding to the historical push message according to at least one of the message title and the message content;
and generating the third parameter information of the historical push message according to the second parameter information of the historical push message and the message identifier of the similar message.
9. The method of claim 7, wherein the third parameter information comprises the message category information;
generating the third parameter information of the historical push message according to the second parameter information of the historical push message includes:
determining at least one item of importance information and urgency information of the historical push message according to at least one item of the message title and the message content;
determining the message category information of the historical push message according to at least one of importance information and emergency information of the historical push message;
and generating the third parameter information of the historical push message according to the second parameter information and the message category information of the historical push message.
10. The method of claim 7, wherein after storing the third parameter information, further comprising:
determining whether the historical push message meets a preset message cleaning condition or not according to the third parameter information; the message cleaning condition includes at least one of: the message pushing time is before preset time, and the application program corresponding to the historical pushing message is successfully executed.
11. An apparatus for processing a push message, applied to an electronic device, the apparatus comprising:
the first acquisition module is used for responding to first input of a user and acquiring first parameter information of a first message; the first message is a message which meets a preset condition in the historical push messages; the first parameter information comprises at least one of a message title, a message content and application information of an application program pushing the first message;
the first determining and displaying module is used for determining and displaying first notification information corresponding to the first message according to the first parameter information of the first message;
and the execution module is used for executing the application program corresponding to the first message when receiving second input of the first notification information by the user.
12. A push message processing apparatus, applied to a server, the apparatus comprising:
the fourth acquisition module is used for responding to an acquisition request from the electronic equipment and acquiring the third parameter information of the first message; the first message is a message which meets a preset condition in the historical push messages; the third parameter information comprises at least one of a message identifier, a message title, message content, message category information, message pushing time, application information of an application program for pushing the first message, a device identifier of the electronic device, and a message identifier of a similar message;
the first determining module is used for determining the first parameter information of the first message according to the third parameter information of the first message; the first parameter information comprises at least one of the message title, the message content and the application information;
and the second sending module is used for sending the first parameter information of the first message to the electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111254749.5A CN113986579A (en) | 2021-10-27 | 2021-10-27 | Push message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111254749.5A CN113986579A (en) | 2021-10-27 | 2021-10-27 | Push message processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113986579A true CN113986579A (en) | 2022-01-28 |
Family
ID=79742435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111254749.5A Pending CN113986579A (en) | 2021-10-27 | 2021-10-27 | Push message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113986579A (en) |
-
2021
- 2021-10-27 CN CN202111254749.5A patent/CN113986579A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112269798B (en) | Information display method and device and electronic equipment | |
CN109791501B (en) | System and method for reducing download requirements | |
CN114827068A (en) | Message sending method and device, electronic equipment and readable storage medium | |
CN112612391A (en) | Message processing method and device and electronic equipment | |
CN113010248A (en) | Operation guiding method and device and electronic equipment | |
CN114374663B (en) | Message processing method and message processing device | |
CN112181253A (en) | Information display method and device and electronic equipment | |
CN114443203A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN112416212B (en) | Program access method, apparatus, electronic device and readable storage medium | |
CN111930281B (en) | Reminding message creating method and device and electronic equipment | |
CN112269504B (en) | Information display method and device and electronic equipment | |
CN113986579A (en) | Push message processing method and device | |
CN115309487A (en) | Display method, display device, electronic equipment and readable storage medium | |
CN114398128A (en) | Information display method and device | |
CN113010072A (en) | Searching method and device, electronic equipment and readable storage medium | |
CN112818094A (en) | Chat content processing method and device and electronic equipment | |
CN113467963A (en) | Message processing method and device | |
CN113962316A (en) | Model training method and device and electronic equipment | |
CN113282830A (en) | Display method and display device | |
CN113127653A (en) | Information display method and device | |
CN113157966A (en) | Display method and device and electronic equipment | |
CN113778237B (en) | Text display method, text display device, electronic equipment and medium | |
CN118012302A (en) | Interface display method, device, electronic equipment and readable storage medium | |
CN115756705A (en) | Notification bar message display method and device | |
CN113821293A (en) | Interface switching method and device |
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 |