CN113194200B - Message display method and device and electronic equipment - Google Patents
Message display method and device and electronic equipment Download PDFInfo
- Publication number
- CN113194200B CN113194200B CN202110467264.8A CN202110467264A CN113194200B CN 113194200 B CN113194200 B CN 113194200B CN 202110467264 A CN202110467264 A CN 202110467264A CN 113194200 B CN113194200 B CN 113194200B
- Authority
- CN
- China
- Prior art keywords
- push
- program
- message
- target
- prompt information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a message display method, a message display device and electronic equipment, and belongs to the technical field of push message processing. The method comprises the following steps: in a preset time period, under the condition that push messages of N application programs are all target push messages, acquiring a main push program and an auxiliary push program in the N application programs; displaying first push prompt information in a message push window, and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program; wherein N is an integer greater than 1.
Description
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a message display method and device and electronic equipment.
Background
With the continuous development of the intelligent terminal technology, more and more APPs (applications) are installed on the intelligent terminal (such as a mobile phone, a tablet computer, etc.).
A plurality of information distribution type APPs can be installed in the intelligent terminal, when one hot spot message appears, the same hot spot message pushed by the information distribution type APPs can be received, the pushed messages can be displayed in a pushing column of the intelligent terminal, the contents of the hot spot messages are generally consistent, the pushing mode can occupy resources of the intelligent terminal, and meanwhile, the time of a user can be wasted for checking the same message.
Disclosure of Invention
An object of the embodiments of the present application is to provide a message display method and apparatus, and an electronic device, which can solve the problems that in the prior art, a plurality of push messages with substantially the same content are displayed in a push bar, terminal resources are occupied, and viewing time of a user is wasted.
In a first aspect, an embodiment of the present application provides a message display method, including:
in a preset time period, under the condition that push messages of N application programs are all target push messages, acquiring a main push program and an auxiliary push program in the N application programs;
displaying first push prompt information in a message push window, and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program;
wherein N is an integer greater than 1.
In a second aspect, an embodiment of the present application provides a message display apparatus, including:
the system comprises a push program acquisition module, a push program processing module and a push program processing module, wherein the push program acquisition module is used for acquiring a main push program and an auxiliary push program in N application programs under the condition that push messages of the N application programs are all target push messages in a preset time period;
the push prompt display module is used for displaying first push prompt information in a message push window and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program;
wherein N is an integer greater than 1.
In a third aspect, an embodiment of 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, and when the program or the instruction is executed by the processor, the steps of the message display method according to the first aspect are implemented.
In a fourth aspect, the present embodiments provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the message display method according to the first aspect.
In a fifth 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 an instruction to implement the message display method according to the first aspect.
In the embodiment of the application, in a preset time period, under the condition that push messages of N application programs are all target push messages, a main push program and an auxiliary push program in the N application programs are obtained, first push prompt information is displayed in a message push window, and second push prompt information is intercepted, wherein the first push prompt information is prompt information of the target push messages pushed by the main push program, and the second push prompt information is prompt information of the target push messages pushed by the auxiliary push program. When the same push message pushed by a plurality of application programs is received, the prompt message of the push message is displayed by the main push program, and the prompt message of the push message pushed by the auxiliary push program is intercepted, so that the occupation of the same push message on terminal resources can be reduced, the time spent by a user for checking the same push message can be reduced, and the efficiency of checking the push message by the user is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a message display method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a setup of primary and secondary applications according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a message and an application identifier provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a push message according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a message display apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of another electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly 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 message display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a message display method provided in an embodiment of the present application is shown, and as shown in fig. 1, the message display method may specifically include the following steps:
step 101: in a preset time period, under the condition that push messages of N application programs are all target push messages, acquiring a main push program and an auxiliary push program in the N application programs.
The method and the device for displaying the prompt message can be applied to a scene that when a plurality of application programs push the same message, the prompt message of the pushed message is displayed only by the main push program.
The preset time period is a preset time period for determining whether the same message pushed by the multiple applications is received, and the specific duration of the preset time period may be determined according to a service requirement, which is not limited in this embodiment.
The fact that all the N (N is a positive integer greater than 1) application push messages are target push messages means that the contents of the push messages of the N application programs are the same, for example, the N application programs include application program 1, application program 2 and application program 3, and in a preset time period, all the messages pushed by application program 1, application program 2 and application program 3 are messages related to some hot news, and at this time, it can be determined that all the push messages of the N application programs are target push messages and the like.
The main push program is an application program which displays prompt information of push messages in a message push window in the N application programs.
The auxiliary push program is an application program which intercepts the prompt information of the push message before the prompt information of the push message is displayed in the message push window in the N application programs.
In a preset time period, when the push messages of the N applications are all target push messages, a main push program and an auxiliary push program of the N applications may be acquired, specifically, the acquisition manner may be determined by combining application conditions configured in advance by a user, or may be determined according to time for pushing messages of the N applications, and the like, and specifically, detailed description may be performed by combining the following specific implementation manners.
In a specific implementation manner of the present application, the step 101 may include:
substep a 1: and under the condition that the hot degree attribute of the target push message meets a preset hot degree condition, acquiring a main push program and an auxiliary push program in the N application programs.
In this embodiment, the target push message may be a hot spot message, that is, in an actual application, when the same hot spot message is pushed only to multiple applications within a preset time period, the prompt information of the message pushed by the multiple applications is controlled.
The preset hot degree condition is a condition for judging whether the push message is a hot spot message.
In a preset time period, under the condition that the push messages of the N application programs are all target push messages, the heat attribute of the target push messages can be obtained, and whether the heat attribute of the target push messages meets a preset heat condition or not is judged, namely whether the target push messages are hot messages or not is judged.
The determination method for determining whether the message pushed by the application is a hotspot message may include two methods: 1. determining whether the push message is a hot message or not according to the browsing times and the pushing times of the pre-obtained push message, for example, a mobile phone user has 100W to receive a message pushed by an APP, and after the push message is pushed, a 70W user clicks and checks the message, at this time, 100W can be used as the pushing times of the message, and 70W can be used as the browsing times of the message, then, the heat value of the message is calculated, and whether the message is a hot message or not is judged by combining the heat value and the heat threshold; 2. by detecting whether the push message is located in a hot message list of a preset message platform, if the push message is located in the hot message list, the push message is a hot message and the like.
According to the embodiment of the application, the prompt messages of the push messages are controlled, the prompt messages of the push messages of a plurality of application programs can be only displayed and controlled, and the prompt messages do not need to be displayed and controlled on all the push messages, so that the resource occupation of the prompt messages of the repeated push messages on the message push window can be reduced.
Certainly, in a specific implementation, the push message is not limited to the hotspot message, and specifically, may be preset according to a service requirement, which is not limited in this embodiment.
In this embodiment, a manner of acquiring the primary push program and the secondary push program in the N applications may be described in detail with reference to the following specific implementation manners.
In another specific implementation manner of the present application, the step 101 may include:
substep B1: and acquiring a main push program and an auxiliary push program in the N application programs preset by a user.
In this embodiment, a main push program and an auxiliary push program in the multiple application programs may be preset by a user, for example, as shown in fig. 2, in a main and auxiliary push program setting interface, the user may automatically add the main push program and the auxiliary push program according to a requirement of the user, as shown in fig. 2, the main push program is APP1, and the auxiliary push program in the associated application program includes: APP2 and APP3, and the like.
In a preset time period, when the push messages of the N applications are target push messages, a main push program and an auxiliary push program of the N applications preset by the user may be obtained, for example, as shown in fig. 2, when the N applications are APP1, APP2, and APP3, according to a preset configuration of the user, it may be known that APP1 is the main push program, and APP2 and APP3 are the auxiliary push programs.
Sub-step B2: and acquiring a main pushing program and an auxiliary pushing program in the N application programs according to the pushing time of the N application programs for pushing the target pushing message.
In this embodiment, the push time refers to the time when the N applications push the target push message.
In a preset time period, under the condition that the push messages of the N application programs are the target push messages, the push time for the N application programs to push the target push messages may be obtained, and the main push program and the auxiliary push program in the N application programs are obtained according to the push time, for example, the N application programs include: application 1, application 2 and application 3, wherein the time for pushing the target message by application 1 is 2021, 4, 2, 12: 00, the time of pushing the target message by application 2 is 2021, 4, 2, 12: 13, the time for pushing the target message by the application 3 is 2021, 4, 2, 12: 06, at this time, the application 1 may be a target application, that is, an application that pushes the target message earliest may be a target application.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
Sub-step B3: and acquiring a main pushing program and an auxiliary pushing program in the N application programs according to the application starting times corresponding to the N application programs.
In this embodiment, the main push program and the auxiliary push program in the N applications may also be determined according to the preference of the user for the N applications.
The application starting times refer to the times that a user starts the N application programs after the N application programs are installed in the electronic device, and the application starting times can reflect the preference degrees of the user on the N application programs.
In a preset time period, under the condition that push messages of N application programs are target push messages, application start times corresponding to the N application programs may be obtained, and a main push program and an auxiliary push program of N application program vibrations are obtained according to the application start times, for example, the N application programs include: the application starting times corresponding to the application a are 29 times, the application starting times corresponding to the application b are 20 times, and the application starting times corresponding to the application c are 11 times.
It should be understood that the above examples are only examples listed for technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
According to the embodiment of the application, the main pushing program and the auxiliary pushing program in the multiple application programs are obtained by combining the three dimensions, the main pushing program and the auxiliary pushing program can be configured in advance by a user, the main pushing program and the auxiliary pushing program can also be determined by combining pushing time, the main pushing program and the auxiliary pushing program can also be determined by combining the preference degree of the user on the application programs, and the like, so that the obtaining mode of the main pushing program and the auxiliary pushing program is enriched.
In this embodiment, before the preset time period, it may be further determined whether a first push message associated with the target push message exists, and if the first push message exists, the display control may be performed on the prompt information of the target push message pushed by the N application programs according to the browsing state of the first push message, and specifically, the following specific implementation manner may be described in detail.
In another specific implementation manner of the present application, before the step 101, the method may further include:
step C1: and acquiring the browsing state of the first push message under the condition that the first push message associated with the target push message exists before the preset time period.
In this embodiment, the first push message refers to a message that the application has pushed before the preset time period, which is the same as the target push message.
Before a preset time period, it may be detected whether there is a first push message associated with the target push message.
In the presence of a first push message associated with a target push message, a browsing status of the first push message may be obtained.
After acquiring the browsing status of the first push message, step C2 is executed, or step C3 is executed.
Step C2: and intercepting push prompt information of target push messages pushed by the N application programs under the condition that the browsing state is the browsed state.
When the browsing state of the first push message is the browsed state, the first push message is shown to be viewed by the user, and at this time, the push prompt information of the target push message pushed by the N application programs can be intercepted, namely, the prompt information of the target push message is intercepted under the condition that the user views the first push message related to the target push message, so that the occupation of the push bar by the push message can be reduced.
Step C3: if the browsing status is the non-browsing status, step 101 is executed.
If the browsing status of the first push message is the non-browsing status, step 101 is executed.
After the main push program and the auxiliary push program in the N applications are acquired, step 102 is executed.
Step 102: and displaying first push prompt information in a message push window, and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program.
The first push prompt message is a prompt message for the main push program to push the target push message.
The second push prompt message is a prompt message for pushing the target push message by the auxiliary push program.
After a main push program and an auxiliary push program in the N application programs are acquired, a first push prompt message may be displayed in a message push window, and a second push prompt message may be intercepted, that is, a prompt message of a target push message pushed by the main push program is displayed in the message push window, and a prompt message of a target push message pushed by the auxiliary push program is intercepted, for example, the N application programs include an application 1, an application 2, an application 3, and an application 4, where the application 2 is the main push program, and when the target push messages pushed by the four application programs are received, the prompt message of the target push message pushed by the application 2 may be displayed in a push bar, and the prompt messages of the target push messages pushed by the application 1, the application 3, and the application 4 may be intercepted.
According to the method and the device, when the same push message is pushed by a plurality of application programs, the prompt message of the push message is displayed by the main push program, and the prompt message of the push message of the auxiliary push program is intercepted, so that the occupation of the same push message on terminal resources can be reduced, the time spent by a user for checking the same push message can be reduced, the efficiency of checking the push message by the user is improved, and the occupation of the prompt message of repeated push messages on the space of a push bar is reduced.
In this embodiment, after the prompt information of the target push message pushed by the main push program is displayed, the user may perform input on the prompt information to enter a message detail page of the target push message, and specifically, the detailed description may be made in conjunction with the following specific implementation manner.
In a specific implementation manner of the present application, after the step 102, the method may further include:
step D1: and receiving a first input of the first push prompt message from a user.
In this embodiment, the first input refers to an input performed by the user on the first push prompt information to open a message page of the targeted push message.
In some examples, the first input may be an input formed by clicking the first push prompt information by the user, for example, when the user needs to open a message page of the target push message, the first push prompt information may be clicked by the user, and at this time, an operation of clicking the first push prompt information by the user may be regarded as the first input.
In some examples, the first input may be an input formed by a user pressing the first push prompt message, for example, when the user needs to open a message page of the target push message, the user may press the first push prompt message, and at this time, an operation of the user pressing the first push prompt message may be regarded as the first input.
It is to be understood that the above examples are merely examples listed for better understanding of technical solutions of the embodiments of the present application, and are not limited to the embodiments, and in a specific implementation, the first input may also be other forms of inputs, and in particular, may be determined according to business requirements.
After the first push prompt information is displayed in the message push window, a first input of the first push prompt information by the user may be received, and then step D2 is performed.
Step D2: and responding to the first input, starting the main pushing program, and jumping to a message detail page corresponding to the target pushing message pushed by the main pushing program.
After receiving a first input of the first push prompt message from the user, the main push program may be started in response to the first input, and jump to a message detail page corresponding to a target push message pushed by the main push program, that is, the target push message is displayed by the main push program.
According to the method and the device, the message detail page of the target push message can be quickly opened and browsed through the displayed push prompt message, the user does not need to independently start the target application program and search the target push message, and the use experience of the user is improved.
In this embodiment, after the main push program and the auxiliary push program are obtained, program icons for displaying the main push program and the auxiliary push program in the message push window may also be displayed, and specifically, the detailed description may be given in conjunction with the following specific implementation manner.
In another specific implementation manner of the present application, after the step 101, the method may further include:
step E1: in the target area of the message push window, N program icons are displayed.
In this embodiment, the target area may include a first sub-area and a second sub-area, and the N program icons are application icons corresponding to the N application programs respectively.
The first sub-area contains a target program icon, the second sub-area contains N-1 program icons, the target program icon is an icon of a main push program, and the N-1 program icons are icons of auxiliary push programs.
After the main push program and the auxiliary push program in the N application programs are obtained, the N program icons may be displayed in the target region of the message push window, that is, the target program icon is displayed in the first sub-region of the target region, and the program icons of the N-1 auxiliary push programs are displayed in the second sub-region of the target region, for example, as shown in fig. 3, when a message "xxxxxxxx" pushed by APP1, APP2, anplan, and APPN (N is a positive integer) is received, the push message may be displayed in a push bar, and then program icons corresponding to APP1, APP2, anplan, and APPN are displayed below the push message, wherein, as shown in fig. 3, the split indicators are broken lines shown in fig. 3, and the program icons of the auxiliary push program (that is, APP1, 2, anplan) are located on the left side of the broken lines, located to the right of the dotted line is the program icon (i.e., APPN) for the main push program.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
According to the method and the device, the N program icons are displayed in the target area of the message pushing window, so that a user can know the application program pushing the target pushing message through the message pushing window.
In this embodiment, after displaying the N program icons, the user may perform input on the program icons to display a message page of the target push message, and in particular, the detailed description may be made in conjunction with the following specific implementation manner.
In another specific implementation manner of the present application, after the step E1, the method may further include:
step F1: and receiving second input of the first push prompt message or the target program icon by the user.
In this embodiment, the second input refers to an input performed by the user on the first push prompt information or the target program icon to open a message page of the target push message.
In some examples, the second input may be an input formed by the user clicking the first push prompt information or the target program, for example, when the user needs to open a message page of the target push message, the user may click the first push prompt information, and at this time, an operation of clicking the first push prompt information by the user may be regarded as the second input.
In some examples, the second input may be an input formed by a user pressing the first push prompt message or the target program icon, for example, when the user needs to open the message page of the target push message, the user may press the first push prompt message, and at this time, the user may regard the operation of pressing the first push prompt message as the second input.
It is to be understood that the above examples are merely examples listed for better understanding of technical solutions of the embodiments of the present application, and are not limited to the embodiments, and in a specific implementation, the second input may also be other forms of inputs, and in particular, may be determined according to business requirements.
After the first push prompt and the N program icons are displayed, a second input of the first push prompt or the target program icon by the user may be received, and then step F2 is performed.
Step F2: and responding to the second input, starting the main pushing program, and jumping to a message detail page corresponding to a target pushing message pushed by the main pushing program.
After receiving a second input of the user to the first push prompt message or the target program icon, the main push program may be started in response to the second input, and jump to a message detail page corresponding to the target push message pushed by the main push program, that is, the target push message is displayed by the main push program.
According to the embodiment of the application, the application program can be quickly started and the detail page of the push message can be displayed through the input of the user to the displayed push prompt message or the program icon, and the user does not need to independently start the target application program and search the target push message.
In another specific implementation manner of the present application, after the step E1, the method may further include:
step G1: and receiving a third input of the first program icon in the N-1 program icons from the user.
In this embodiment, the third input refers to an input performed by the user on the first program icon of the N-1 program icons for opening the message page of the targeted push message.
In some examples, the third input may be an input formed by the user clicking the first program icon, for example, when the user needs to open the message page of the target push message, the user may click the first program icon, and at this time, the operation of clicking the first program icon by the user may be regarded as the third input.
In some examples, the third input may be an input formed by a user pressing the first program icon, for example, when the user needs to open a message page of the target push message, the user may press the first program icon, and at this time, the operation of the user pressing the first program icon may be regarded as the second input.
It is to be understood that the above examples are merely examples listed for better understanding of technical solutions of the embodiments of the present application, and are not limited to the embodiments, and in a specific implementation, the third input may also be other forms of inputs, and in particular, may be determined according to business requirements.
After the first push prompt information and the N program icons are displayed, a third input to the first program icon by the user may be received, and then step F2 is performed.
Step G2: and responding to the third input, starting an auxiliary pushing program corresponding to the first program icon, and jumping to a message detail page corresponding to a target pushing message pushed by the auxiliary pushing program.
After receiving a third input of the user to the first program icon, the method may start an auxiliary push program corresponding to the first program icon in response to the third input, and jump to a message detail page corresponding to a target push message pushed by the auxiliary push program, that is, display the target push message through the auxiliary push program. For example, as shown in fig. 4, after the user performs the third input on the program icon APP2, an application program corresponding to the program icon APP2 may be started, and a message detail interface of a push message pushed by the application program may be jumped to (as shown in the right half of fig. 4).
According to the method and the device, aiming at the prompt information of the same push message of different programs, a user can selectively trigger the main push program or any auxiliary push program to open the push message through inputting the program icon in the message push window, the user does not need to search the application icon on the desktop, and the push message is searched after the application program is started, so that the operation is simple and convenient. Moreover, compared with the prompt of displaying the push messages of the plurality of application programs in the push window bar, when the user does not need to check the push messages, the user does not need to delete the prompt messages one by one, and the prompt can be completed only by operating once.
According to the message display method provided by the embodiment of the application, in a preset time period, under the condition that the push messages of N application programs are all target push messages, a main push program and an auxiliary push program in the N application programs are obtained, first push prompt information is displayed in a message push window, and second push prompt information is intercepted, wherein the first push prompt information is prompt information of the target push messages pushed by the main push program, and the second push prompt information is prompt information of the target push messages pushed by the auxiliary push program. When the same push message pushed by a plurality of application programs is received, the prompt message of the push message is displayed by the main push program, and the prompt message of the push message pushed by the auxiliary push program is intercepted, so that the occupation of the same push message on terminal resources can be reduced, the time spent by a user for checking the same push message can be reduced, and the efficiency of checking the push message by the user is improved.
It should be noted that, in the message display method provided in the embodiment of the present application, the execution main body may be a message display apparatus, or a control module used for executing the message display method in the message display apparatus. The message display device provided in the embodiment of the present application is described by taking a message display method executed by a message display device as an example.
Referring to fig. 5, a schematic structural diagram of a message display apparatus provided in an embodiment of the present application is shown, and as shown in fig. 5, the message display apparatus 400 may specifically include the following modules:
a push program obtaining module 410, configured to obtain a main push program and an auxiliary push program in N application programs when push messages of the N application programs are all target push messages within a preset time period;
a push prompt display module 420, configured to display a first push prompt message in a message push window, and intercept a second push prompt message, where the first push prompt message is a prompt message of a target push message pushed by the main push program, and the second push prompt message is a prompt message of a target push message pushed by the auxiliary push program;
wherein N is an integer greater than 1.
Optionally, the push program obtaining module 410 includes:
and the push program acquisition unit is used for acquiring a main push program and an auxiliary push program in the N application programs under the condition that the hot degree attribute of the target push message meets a preset hot degree condition.
Optionally, the push program obtaining module 410 includes:
the first push program acquisition unit is used for acquiring a main push program and an auxiliary push program in the N application programs preset by a user;
a second push program obtaining unit, configured to obtain a main push program and an auxiliary push program in the N application programs according to push time for the N application programs to push the target push message;
and the third pushing program obtaining unit is used for obtaining a main pushing program and an auxiliary pushing program in the N application programs according to the application starting times corresponding to the N application programs.
Optionally, the apparatus further comprises:
a browsing state obtaining module, configured to obtain a browsing state of a first push message associated with the target push message before the preset time period;
the push prompt intercepting module is used for intercepting push prompt information of target push messages pushed by the N application programs under the condition that the browsing state is the browsed state;
and the program acquisition executing module is used for executing the pushing program acquisition module under the condition that the browsing state is the non-browsing state.
Optionally, the apparatus further comprises:
the first input receiving module is used for receiving first input of the first push prompt message by a user;
and the first message page skipping module is used for responding to the first input, starting the main pushing program and skipping to a message detail page corresponding to the target pushing message pushed by the main pushing program.
Optionally, the apparatus further comprises:
the program icon display module is used for displaying N program icons in a target area of the message pushing window;
wherein the target region comprises: the system comprises a first sub-area and a second sub-area, wherein the first sub-area comprises a target program icon, the second sub-area comprises N-1 program icons, the target program icon is an icon of the main push program, and the N-1 program icons are icons of the auxiliary push programs.
Optionally, the apparatus further comprises:
the second input receiving module is used for receiving second input of the first push prompt message or the target program icon by a user;
and the second message page skipping module is used for responding to the second input, starting the main pushing program and skipping to a message detail page corresponding to the target pushing message pushed by the main pushing program.
Optionally, the apparatus further comprises:
the third input receiving module is used for receiving third input of a user to a first program icon in the N-1 program icons;
and the third message page skipping module is used for responding to the third input, starting the auxiliary pushing program corresponding to the first program icon, and skipping to a message detail page corresponding to a target pushing message pushed by the auxiliary pushing program.
According to the message display device provided by the embodiment of the application, in the preset time period, under the condition that the push messages of N application programs are all target push messages, a main push program and an auxiliary push program in the N application programs are obtained, first push prompt information is displayed in a message push window, and second push prompt information is intercepted, wherein the first push prompt information is prompt information of the target push messages pushed by the main push program, and the second push prompt information is prompt information of the target push messages pushed by the auxiliary push program. When the same push message pushed by a plurality of application programs is received, the prompt message of the push message is displayed by the main push program, and the prompt message of the push message pushed by the auxiliary push program is intercepted, so that the occupation of the same push message on terminal resources can be reduced, the time spent by a user for checking the same push message can be reduced, and the efficiency of checking the push message by the user is improved.
The message display device in the embodiment of the present application may be a device, or may 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 message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message display device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing message display method embodiment, and can achieve the same technical effect, and in order to avoid 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. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 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. 7 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 omitted here.
The processor 610 is configured to acquire a main push program and an auxiliary push program of N application programs in a preset time period under the condition that push messages of the N application programs are all target push messages; displaying first push prompt information in a message push window, and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program; wherein N is an integer greater than 1.
When the same push message pushed by a plurality of application programs is received, the prompt message of the push message is displayed by the main push program, and the prompt message of the push message pushed by the auxiliary push program is intercepted, so that the occupation of the same push message on terminal resources can be reduced, the time spent by a user for checking the same push message can be reduced, and the efficiency of checking the push message by the user is improved.
Optionally, the processor 610 is further configured to obtain a main push program and an auxiliary push program in the N applications, when the hot property of the target push message meets a preset hot condition.
Optionally, the processor 610 is further configured to obtain a main push program and an auxiliary push program in the N application programs preset by the user; or acquiring a main pushing program and an auxiliary pushing program in the N application programs according to the pushing time of the N application programs for pushing the target pushing message; or acquiring a main push program and an auxiliary push program in the N application programs according to the application starting times corresponding to the N application programs.
Optionally, the processor 610 is further configured to, in a case that there is a first push message associated with the target push message before the preset time period, acquire a browsing status of the first push message; intercepting push prompt information of target push messages pushed by the N application programs under the condition that the browsing state is the browsed state; and executing the step of acquiring a main push program and an auxiliary push program in the N application programs under the condition that the browsing state is an unviewed state.
Optionally, the processor 610 is further configured to receive a first input of the first push prompt information from the user; and responding to the first input, starting the main pushing program, and jumping to a message detail page corresponding to the target pushing message pushed by the main pushing program.
Optionally, the display unit 606 is configured to display N program icons in a target area of the message push window; wherein the target region comprises: the system comprises a first sub-area and a second sub-area, wherein the first sub-area comprises a target program icon, the second sub-area comprises N-1 program icons, the target program icon is an icon of the main push program, and the N-1 program icons are icons of the auxiliary push programs.
Optionally, the processor 610 is further configured to receive a second input of the first push prompt message or the target program icon from the user; and responding to the second input, starting the main pushing program, and jumping to a message detail page corresponding to a target pushing message pushed by the main pushing program.
Optionally, the processor 610 is further configured to receive a third input from the user to the first program icon of the N-1 program icons; and responding to the third input, starting an auxiliary pushing program corresponding to the first program icon, and jumping to a message detail page corresponding to a target pushing message pushed by the auxiliary pushing program.
According to the embodiment of the application, the application identifications of the plurality of application programs of the push message are displayed while the push message is displayed, so that a user can independently select the application programs to view the push message.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071 also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing message display method embodiment, and can achieve the same technical effects, 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 to implement each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
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 description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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 (9)
1. A message display method, comprising:
in a preset time period, under the condition that push messages of N application programs are all target push messages, acquiring a main push program and an auxiliary push program in the N application programs;
displaying first push prompt information in a message push window, and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program;
the main push program and the auxiliary push program are preset by a user or determined according to application starting times corresponding to the N application programs, wherein N is an integer greater than 1;
before the acquiring the main push program and the auxiliary push program in the N application programs, the method further includes:
acquiring a browsing state of a first push message associated with the target push message before the preset time period;
intercepting push prompt information of target push messages pushed by the N application programs under the condition that the browsing state is the browsed state;
and executing the step of acquiring a main push program and an auxiliary push program in the N application programs under the condition that the browsing state is an unviewed state.
2. The method according to claim 1, wherein the obtaining the primary and secondary push programs of the N applications comprises:
and acquiring a main pushing program and an auxiliary pushing program in the N application programs under the condition that the hot degree attribute of the target pushing message meets a preset hot degree condition.
3. The method of claim 1, wherein after displaying the first push prompt message and intercepting the second push prompt message in the message push window, the method further comprises:
receiving a first input of the first push prompt message from a user;
and responding to the first input, starting the main pushing program, and jumping to a message detail page corresponding to the target pushing message pushed by the main pushing program.
4. The method according to claim 1, wherein after acquiring the primary and secondary push programs of the N applications, further comprising:
displaying N program icons in a target area of a message pushing window;
wherein the target region comprises: the system comprises a first sub-area and a second sub-area, wherein the first sub-area comprises a target program icon, the second sub-area comprises N-1 program icons, the target program icon is an icon of the main push program, and the N-1 program icons are icons of the auxiliary push programs.
5. The method of claim 4, wherein after displaying the N program icons in the target area of the message push window, the method further comprises:
receiving second input of the first push prompt message or the target program icon by a user;
and responding to the second input, starting the main pushing program, and jumping to a message detail page corresponding to a target pushing message pushed by the main pushing program.
6. The method of claim 5, wherein after displaying the N program icons in the target area of the message push window displays the first push prompt and the N program icons in the target area, further comprising:
receiving a third input of a user to a first program icon in the N-1 program icons;
and responding to the third input, starting an auxiliary pushing program corresponding to the first program icon, and jumping to a message detail page corresponding to a target pushing message pushed by the auxiliary pushing program.
7. A message display apparatus, comprising:
the system comprises a push program acquisition module, a push program processing module and a push program processing module, wherein the push program acquisition module is used for acquiring a main push program and an auxiliary push program in N application programs under the condition that push messages of the N application programs are all target push messages in a preset time period;
the push prompt display module is used for displaying first push prompt information in a message push window and intercepting second push prompt information, wherein the first push prompt information is prompt information of a target push message pushed by the main push program, and the second push prompt information is prompt information of a target push message pushed by the auxiliary push program;
the main push program and the auxiliary push program are preset by a user or determined according to application starting times corresponding to the N application programs, wherein N is an integer greater than 1;
the device further comprises:
a browsing state obtaining module, configured to obtain a browsing state of a first push message associated with the target push message before the preset time period;
the push prompt intercepting module is used for intercepting push prompt information of target push messages pushed by the N application programs under the condition that the browsing state is the browsed state;
and the program acquisition executing module is used for executing the pushing program acquisition module under the condition that the browsing state is the non-browsing state.
8. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the message display method as claimed in any one of claims 1-6.
9. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the message display method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110467264.8A CN113194200B (en) | 2021-04-28 | 2021-04-28 | Message display method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110467264.8A CN113194200B (en) | 2021-04-28 | 2021-04-28 | Message display method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113194200A CN113194200A (en) | 2021-07-30 |
CN113194200B true CN113194200B (en) | 2022-08-30 |
Family
ID=76980312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110467264.8A Active CN113194200B (en) | 2021-04-28 | 2021-04-28 | Message display method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113194200B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114125048B (en) * | 2021-11-16 | 2024-05-17 | Oppo广东移动通信有限公司 | Message push setting method and device, storage medium and electronic equipment |
CN114489418A (en) * | 2022-01-14 | 2022-05-13 | 维沃移动通信有限公司 | Message processing method, message processing device and electronic equipment |
CN116582585B (en) * | 2023-07-07 | 2023-11-14 | Tcl通讯科技(成都)有限公司 | Message pushing method, device, medium and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572942A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Push message display method and push message display device |
CN105827510A (en) * | 2016-03-31 | 2016-08-03 | 维沃移动通信有限公司 | Push message processing method for mobile terminal, and mobile terminal |
CN106547425A (en) * | 2016-10-19 | 2017-03-29 | 北京奇虎科技有限公司 | A kind of method and apparatus of the informing message of processing intelligent terminal |
CN111274054A (en) * | 2020-01-21 | 2020-06-12 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107800888B (en) * | 2017-11-23 | 2019-09-03 | 麒麟合盛网络技术股份有限公司 | Information display method and device |
CN107707774A (en) * | 2017-11-28 | 2018-02-16 | 维沃移动通信有限公司 | Message display method and mobile terminal |
CN108270853B (en) * | 2018-01-15 | 2020-09-22 | 维沃移动通信有限公司 | Message processing method and mobile terminal |
CN108574732B (en) * | 2018-03-22 | 2021-05-04 | 平安科技(深圳)有限公司 | Push message processing method, computer readable storage medium and terminal equipment |
CN110046018A (en) * | 2019-04-24 | 2019-07-23 | Oppo广东移动通信有限公司 | Show method, apparatus, electronic equipment and the medium of message |
CN111695008A (en) * | 2020-05-14 | 2020-09-22 | 维沃移动通信有限公司 | Message integration method and device |
-
2021
- 2021-04-28 CN CN202110467264.8A patent/CN113194200B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572942A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Push message display method and push message display device |
CN105827510A (en) * | 2016-03-31 | 2016-08-03 | 维沃移动通信有限公司 | Push message processing method for mobile terminal, and mobile terminal |
CN106547425A (en) * | 2016-10-19 | 2017-03-29 | 北京奇虎科技有限公司 | A kind of method and apparatus of the informing message of processing intelligent terminal |
CN111274054A (en) * | 2020-01-21 | 2020-06-12 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113194200A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113194200B (en) | Message display method and device and electronic equipment | |
CN112399006B (en) | File sending method and device and electronic equipment | |
CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN112099684A (en) | Search display method and device and electronic equipment | |
CN112540740A (en) | Split screen display method and device, electronic equipment and readable storage medium | |
CN113179205B (en) | Image sharing method and device and electronic equipment | |
CN113467660A (en) | Information sharing method and electronic equipment | |
CN112099714B (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN111813305A (en) | Application program starting method and device | |
CN113849092A (en) | Content sharing method and device and electronic equipment | |
CN112486444A (en) | Screen projection method, device, equipment and readable storage medium | |
CN112702261A (en) | Information display method and device and electronic equipment | |
CN113127432A (en) | Operation execution method, device, electronic equipment and medium | |
CN113703634A (en) | Interface display method and device | |
CN113114845A (en) | Notification message display method and device | |
CN112399010B (en) | Page display method and device and electronic equipment | |
CN112291412B (en) | Application program control method and device and electronic equipment | |
CN114489418A (en) | Message processing method, message processing device and electronic equipment | |
CN112286615A (en) | Information display method and device of application program | |
CN111817944A (en) | Picture sharing method and device and electronic equipment | |
CN115202524B (en) | Display method and device | |
CN114625296A (en) | Application processing method and device | |
CN114416264A (en) | Message display method and device | |
CN113672136A (en) | Information display method, device, equipment and storage medium | |
CN114398128A (en) | Information display 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |