CN111897468B - Message processing method and device, electronic equipment and readable storage medium - Google Patents
Message processing method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN111897468B CN111897468B CN202010706293.0A CN202010706293A CN111897468B CN 111897468 B CN111897468 B CN 111897468B CN 202010706293 A CN202010706293 A CN 202010706293A CN 111897468 B CN111897468 B CN 111897468B
- Authority
- CN
- China
- Prior art keywords
- message
- screen
- area
- input
- displaying
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a message processing method and device, and belongs to the technical field of communication. The method comprises the following steps: displaying the target message; receiving a first input of a user; in response to the first input, displaying a first message in a first area and displaying a second message in a targeted manner in a second area; wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message. According to the method and the device, the user can conveniently acquire the required message in time, and the viewing efficiency of the user on the content of the concerned message is improved.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message processing method and device, an electronic device and a readable storage medium.
Background
With the development of mobile internet, electronic devices have become popular in people's lives.
At present, electronic devices can provide various application programs to facilitate the life of users, wherein various application programs can push various notification messages every day, and in a display mode of the notification messages, in the related art, the notification messages pushed by various applications are sequentially displayed in a notification bar according to the sequence of receiving time of the notification messages.
However, since the information intersection of the notification messages exists between the applications, a large amount of homogeneous content exists in the various notification messages displayed in the notification bar, and the various notification messages in the notification bar are very disordered from the perspective of the message content concerned by the user. When the user wants to view the required notification message in the notification bar, the user needs to continuously look over the notification message, so that the browsing efficiency of the content of the target notification message concerned by the user is reduced, and the user is inconvenient to acquire the required notification message content in time.
Disclosure of Invention
An object of the embodiments of the present application is to provide a message processing method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem that a processing scheme of a notification message in the related art is not favorable for a user to obtain a required notification message content in time, and therefore the content viewing efficiency of the notification message concerned by the user is low.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes:
displaying the target message;
receiving a first input of a user;
in response to the first input, displaying a first message in a first area and displaying a second message in a targeted manner in a second area;
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including:
the first display module is used for displaying the target message;
the first receiving module is used for receiving a first input of a user;
a second display module for displaying a first message in a first area and a second message in a target manner in a second area in response to the first input;
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the 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 instructions to implement the method according to the first aspect.
In the embodiment of the application, a first message of a first message and a second message with at least part of similar message contents in the displayed target message can be displayed in a first area by responding to a first input of a user, and a second message with at least similar message contents to the first message is displayed in a second area, so that a plurality of first messages with dissimilar message contents are displayed in the first area, and a second message with similar message contents to the corresponding first message is displayed in the second area; because the content similarity of the first message in the first area is low, the user can acquire the content of the required notification message in time only by browsing the first area, the user does not need to search the required notification message from a messy notification bar containing more repeated content for viewing, and only needs to select the first message in the first area, so that the viewing efficiency of the content of the notification message concerned by the user is improved.
Drawings
FIG. 1 is a flow diagram of a message processing method according to one embodiment of the present application;
FIG. 2 is one of the schematic diagrams of a display interface of a notification message according to an embodiment of the present application;
FIG. 3 is a schematic illustration of two display interfaces of a notification message of another embodiment of the present application;
FIG. 4 is a schematic illustration of two display interfaces of a notification message of yet another embodiment of the present application;
FIG. 5 is a schematic diagram of a configuration interface for presetting policies, according to an embodiment of the present application;
FIG. 6 is a second schematic diagram of a display interface for notification messages according to another embodiment of the present application;
FIG. 7 is a block diagram of a message processing apparatus according to an embodiment of the present application;
FIG. 8 is a diagram of a hardware configuration of an electronic device according to an embodiment of the present application;
fig. 9 is a hardware configuration diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 processing 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 flow chart of a message processing method according to an embodiment of the present application is shown.
Alternatively, the method may be applied to an electronic device including a first display region and a second display region.
The first display area and the second display area are two different display areas.
The display screen of the present electronic device has many structural types, and may include a single-sided screen, a folding screen, a double-sided screen, and the like.
For the two display areas, they may be different display areas of the same display screen of the electronic device, or may be two different display screens from the electronic device.
As electronic devices are rapidly developed, the technology of the foldable screen is continuously popularized and applied, and for convenience of explaining the technical solution of the embodiment of the present application, in the following example, a first display area and a second display area are taken as two display areas of the foldable screen of the electronic device for an example.
As shown in fig. 1, the method may specifically include the following steps:
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message;
wherein, the content similarity of part of the two messages represents that: the semantic similarity of the partial message contents of the two messages is greater than a preset threshold, so that the condition that the partial message contents are similar comprises the condition that the partial message contents are the same.
For example, various notification messages may be displayed in a notification bar of the electronic device, and notification messages having similar contents of some messages may exist in the notification messages.
the first input may be any input to the electronic device.
For example, the first input may be a fold input of a display screen of the electronic device;
optionally, in one embodiment, the electronic device may be a folded screen device, that is, the electronic device may include a first screen and a second screen. In one example, as shown in fig. 2, the electronic device may include an upper half screen 11 (one example of a first display area) and a lower half screen 12 (one example of a second display area).
Then in this embodiment, when performing step 101, this may be achieved by receiving a first input of the first screen or the second screen from the user.
As shown in fig. 2, the display screen of the electronic device may be folded along the line 15 by performing a first input, such as a folding operation, on the upper half-screen 11 or the lower half-screen 12. The line 15 is only for showing the fold trace, and actually, the display screen of the electronic device may not have the illustration of the line.
Of course, it should be noted that, before step 101, the present application does not limit the folded state of the foldable screen of the electronic device, that is, the included angle between the first screen and the second screen, and optionally, in the example of fig. 2, before the first input is received, the included angle between the first screen and the second screen is 180 degrees, that is, the foldable screen of the electronic device is in the unfolded state.
The first area is a first display area, and the second area is a second display area.
Wherein, since the second message is at least partially similar to the first message in message content, that is, for at least one group of unread notification messages displayed in step 100 (where each group of notification messages is at least partially similar in message content), the first message in each group of notification messages is displayed in the first display area, and the second message (which may be one or more) in each group of notification messages is displayed in the second display area.
When the second message is displayed in the second display area in a target manner, the target manner may be a list manner, a folding manner, a thumbnail display information manner, a partial hiding manner, and the like.
For example, the first message includes message 1-1, message 1-2; the second messages include message 2-1 and message 2-3 semantically similar to message 1-1, and message 3-1 and message 3-2 semantically similar to message 1-2.
Then one set of second messages is message 2-1 and message 2-3 and the other set of second messages is message 3-1 and message 3-2. Then, when displaying a group of second messages in a list, for example, message 2-1 and message 2-3 message profiles may be presented in a list in the second display area; when displaying a group of second messages in a collapsed manner, for example, a message profile of one of the messages 3-1 and 3-2 may be displayed, while the other message is hidden and the total number of messages, here 2, of the group of second messages is displayed in the displayed message profile.
Of course, the display of the different groups of second messages may be the same or different.
Alternatively, the second message displayed in the second display area may be all notification messages except the first message in a group of notification messages.
In general, the target message in step 100, for example, each notification message displayed in the notification bar is an unread notification message, and once any unread notification message is viewed by the user for specific message content or the unread notification message is deleted from the notification bar, the status of the notification message may be switched from the unread status to the read status.
Optionally, when determining whether the contents of the different notification messages are similar, semantic analysis may be performed on the notification messages, and if the matching degree of the semantics of the two notification messages is greater than a preset threshold, it is indicated that the two notification messages are similar in message content, that is, the semantic overlap degree of the message contents of the two notification messages is higher. Similarly, when judging whether the contents of the partial messages of the different notification messages are similar, semantic analysis can be performed on the partial message texts of the notification messages, and if the semantic matching degree of the partial message texts of the two notification messages is higher than a preset threshold value, the contents of the partial messages of the two notification messages are similar.
Optionally, when determining whether the contents of different notification messages are similar, text matching may be performed on the message contents (or part of the message contents) of the two notification messages, and if the matching degree of the text is greater than a preset threshold, it indicates that the message contents of the two notification messages are similar (or part of the message contents are similar).
Optionally, in the case that the notification message includes a picture, the contents of the picture may be further identified, and the similarity between the contents of the two pictures is determined, for example, OCR is performed on the picture including characters or related information of a target object on the image is identified. According to the technical scheme of the embodiment of the application, whether the unread notification messages are displayed in the notification bar or not can be ignored, and the technical scheme of the embodiment of the application mainly distinguishes the repeated messages of the unread notification messages and displays the unread notification messages in different areas.
Optionally, in an embodiment, when the implementation manner of step 101 is implemented by receiving a first input of the first screen or the second screen from a user, in this embodiment, when step 102 is executed, an angle between the first screen and the second screen may be adjusted in response to the first input, and in a case that the angle satisfies a preset condition, a first message is displayed on the first screen, and a second message is displayed in a target manner on the second screen.
In one example, after the user pulls down the notification bar of the electronic device, the electronic device may display all unread notification messages in step 100, and there may be repeated notification messages with similar contents, and if the user triggers a first input to any one of the foldable screens of the electronic device in fig. 2, an angle between the upper half screen 11 (one example of the first display area) and the lower half screen 12 (one example of the second display area) of the electronic device may be adjusted according to the first input, and if the angle is smaller than a preset angle (for example, 150 degrees), or the contents are within a certain angle range, the angle may satisfy a preset condition, so that the first message is displayed on the upper half screen 11, and the second message is displayed in a target manner on the second screen.
In one example, the method of the embodiment of the present application may further determine at least one group of notification messages in the notification bar, which are similar in at least part of the message contents, by performing text parsing on, for example, unread notification messages in the notification bar.
Thus, each group of notification messages may include at least one notification message, and there may be similarities in the content of portions of the messages for different notification messages in the same group of notification messages. For example, in the example of fig. 2, the target messages in the notification bar include 9 notification messages notifying about "thunderstorm blue warning"; 1 notification message notifying about "newly added local case"; notification of 7 notification messages about "XX 1 coffee picker", therefore, here three groups of unread notification messages of similar content are identified;
then when the first message is displayed on the first screen, as shown in fig. 2, the first message of 9 notification messages notifying about "thunderstorm blue warning", here, the "thunderstorm blue warning" notification message transmitted by the "weather" application, may be displayed on the upper half screen 11; a first message notifying about "new case of local occurrence", here, a "new case of local occurrence" notification message sent by the "browser" application, is displayed on the upper half screen 11; the first message of the 7 notification messages informing about "XX 1 coffee digest", here the "XX 1 coffee digest" notification message sent by the "APP 1" application, is displayed on the upper half screen 11;
then a second message of each set of unread notification messages that is at least partially similar in message content to the first message displayed in the top half of the screen may be displayed in the bottom half of the screen 12 when the second message is displayed in a targeted manner in the second screen, with particular reference to fig. 2. When the second message in each group of unread notification messages is displayed on the lower half screen 12, if the number of the second messages is multiple, multiple second messages in one group of notification messages can be displayed on the second screen in a list manner; it can also be displayed in a folded manner as shown in fig. 2, so as to save display space, for example, 8 repeated notification messages about "thunderstorm blue warning" are displayed in a folded icon 14, and a message brief "thunderstorm blue warning" of one notification message of the 8 repeated notification messages and an application "map" from which the message comes can be displayed in the folded icon 14. Of course, the user may also present the 8 repeated content notification messages in the folded state in a list by clicking the fold icon 14.
It should be noted that, for each group of the notification messages, the number of the first messages displayed in the first display area may be one, or may be multiple, preferably one; the number of the second messages displayed in the second display area in each group of the notification messages may be one or more, and the specific number depends on the total number of the repeated messages with similar contents, for example, the total number minus the number of the first messages is the number of the second messages.
Alternatively, the user may delete all three first messages displayed on the top half-screen 11 by clicking on the delete icon 13 of the top half-screen 11 as described in fig. 2.
In the embodiment of the application, an angle between a first screen and a second screen of an electronic device of a user can be adjusted by responding to a first input of the first screen or the second screen, and when the angle meets a preset condition, a first message is displayed on the first screen, and a second message is displayed on the second screen in a target mode, so that the first message and the second message with at least part of similar message contents can be displayed in a split screen mode. When a user triggers the screening and split-screen display of the repeated notification messages, the user only needs to perform first input on the first screen or the second screen, so that the operation is simple and convenient, and the realization is easier; moreover, because the content similarity of the first message of the first screen is low, the user can obtain the content of the required notification message in time only by browsing the first screen, the user does not need to search the required notification message from the messy notification bar containing more repeated contents for viewing, and only needs to select the first message displayed by the first screen, so that the viewing efficiency of the content of the notification message concerned by the user is improved.
In the embodiment of the application, a first message of a first message and a second message with at least part of similar message contents in the displayed target message can be displayed in a first area by responding to a first input of a user, and a second message with at least similar message contents to the first message is displayed in a second area, so that a plurality of first messages with dissimilar message contents are displayed in the first area, and a second message with similar message contents to the corresponding first message is displayed in the second area; because the content similarity of the first message in the first area is low, the user can acquire the content of the required notification message in time only by browsing the first area, the user does not need to search the required notification message from a messy notification bar containing more repeated content for viewing, and only needs to select the first message in the first area, so that the viewing efficiency of the content of the notification message concerned by the user is improved.
Optionally, after step 102, the method according to the embodiment of the present application may further include: step 103 and step 104.
Step 103, receiving a second input aiming at the first message;
and 104, responding to the second input, updating the display area of the first message, canceling the display of the second message and displaying the second message in the first area if the display area of the first message is at least partially overlapped with the second area, and displaying the first message in the target mode in the second area.
In one example, as shown in fig. 2, the system automatically selects a first message from a plurality of repeated notification messages with similar contents to be displayed on the upper half screen 11, and the rest of the repeated notification messages are displayed on the lower half screen 12 in a classified manner, so that when the user is not interested in the various types of first messages automatically selected by the system, the positions of a first message and a second message in any group of notification messages with similar contents to at least part of the messages can be interchanged, so that the second message which the user is interested in reading is displayed on the upper half screen 11, and a first message which is displayed on the upper half screen 11 and has similar contents to the second message is switched to be displayed at the position of the second message in the lower half screen 12.
Referring to fig. 2 and 3, since the repeated notification messages in the lower half 12 of fig. 2 are displayed in a folded manner, in order to facilitate the user to select the second message that needs to be moved from the repeated notification messages, optionally, the user can click on the folding icon 14, thereby presenting a schematic diagram of a part of the notification messages displayed in the lower half 12 shown in the left diagram of fig. 3, here, three repeated notification messages about "thunderstorm blue warning" sent by three applications "map", "browser", "local life" are shown. Alternatively, in order to facilitate the unfolded repeated notification message displayed on the lower half 12 to be displayed in a folded state again, after the repeated notification message is unfolded, a "folded" icon 23 as shown in the left diagram of fig. 3 may be displayed, and the user may return the repeated notification message in the unfolded state to the display in the folded state (i.e., the display mode of the notification message on the lower half 12 in fig. 2) by clicking the "folded" icon 23.
After presenting the display interface shown in the left diagram of fig. 3, for example, if the user wants to interchange the display positions of the notification message 24 of "thunderstorm blue warning" applied to the "weather" displayed on the upper half screen 11 of the left diagram of fig. 3 and the notification message 25 of "thunderstorm blue warning" applied to the "map" displayed on the lower half screen 12, the user can trigger a second input to the notification message 24 displayed on the upper half screen 11 by using the finger 21, for example, the user's finger 21 slides (for example, slides in the direction of the arrow 22) from the position of the notification message 24 on the upper half screen 11 to the position of the notification message 25 on the lower half screen 12, so as to trigger the second input, and then, the method of the embodiment of the present application can update the display area of the notification message 24, specifically, to update the display area of the notification message 24 to the lower half screen 12, so that, in the case that the updated display area of the notification message 24 at least partially coincides with the lower half screen 12, the display of the notification message 25 in the lower half screen 12 may be cancelled and the notification message 25 may be displayed in the upper half screen 11, and for example, the display positions (display areas) of the notification message 24 and the notification message 25 may be interchanged, thereby presenting a display interface as shown in the right drawing of fig. 3.
In addition, if the number of second messages having at least part of similar message contents to the first message triggering the second input in the target message is plural, the second message interchanging the display position with the first message triggering the second input in the present embodiment may be one or more of the plural second messages.
Of course, the second input is not limited to the above example, and may be a case where the notification message 24 at the desired movement position in the left image in fig. 3 is long-pressed by using the finger 21, and then the notification message 24 is dragged to the lower half-screen 12, so that the repeated notification messages in the folded state in the lower half-screen 12 are automatically expanded and displayed, and when the dragged notification message 24 coincides with one of the expanded repeated second messages (here, the notification message 25 in the left image in fig. 3), the display positions of the notification message 24 and the notification message 25 may be interchanged, so that the display interface shown in the right image in fig. 3 is presented.
In the embodiment of the application, when a user is not satisfied with a first message automatically selected by the system from target messages with similar message contents, positions of two notification messages with similar message contents in a first area and a second area can be interchanged according to user requirements, so that the first message which is kept and displayed in the first area is switched, and the screening of the notification messages with repeated contents is more flexible, and thus, the user can open and adjust the message contents of the first message after the positions are changed to view the first message.
Optionally, after step 102, the method according to the embodiment of the present application may further include: step 105 and step 106.
Step 105, receiving a third input for the second message;
and 106, responding to the third input, updating the display area of the second message, canceling the display of the first message under the condition that the display area of the second message is at least partially overlapped with the first area, displaying the first message in the target mode in the second area, and displaying the second message in the first area.
The method of this embodiment is similar to the principle of the embodiments of step 103 and step 104 described above.
Specifically, in another example, referring to fig. 2 and 4, which is similar to the principle of the method in the above example from fig. 2 to fig. 3, if the user wants to replace the duplicate notification message in the upper half screen 11 with the duplicate notification message in the lower half screen 12, where the two notification messages that are wanted to be replaced not only belong to two display areas (i.e. the upper half screen and the lower half screen) and are notification messages with similar contents, after the folded duplicate notification message in the lower half screen 12 is displayed in the expanded state shown in the left diagram of fig. 4, the user selects a specific notification message length from the lower half screen 12 of fig. 4 to press and drag the message length to the notification message corresponding to the upper half screen 11 for replacement, and the replaced message in the upper half screen 11 will be automatically displayed in a sorted manner in the lower half screen 12, so as to present the display interface shown in the right diagram of fig. 4, which is not repeated in detail, reference may be made to the description relating to fig. 3.
In the embodiment of the application, when a user is not satisfied with a first message automatically selected by the system from target messages with similar message contents, positions of two notification messages with similar message contents in a first area and a second area can be interchanged according to user requirements, so that the first message which is kept and displayed in the first area is switched, and the screening of the notification messages with repeated contents is more flexible, and thus, the user can open and adjust the message contents of the first message after the positions are changed to view the first message.
Alternatively, when step 102 is executed, it may be implemented by: identifying, in response to the first input, a message type for each group of the notification messages for at least one group of the notification messages with similar content in unread notification messages; for each group of notification messages, identifying a first message and a second message except the first message in each group of notification messages according to a preset strategy matched with the message type; displaying the first message of each group of notification messages to the first display area, and displaying the second message of each group of notification messages to the second display area.
Before step 101 or step 102, the user may set a deduplication policy for notification messages with similar contents, such as a message deduplication interface shown in fig. 5, and the system or the user may configure a plurality of message types, here shown as news, leisure, and travel. The user may configure a preset policy (here, a "time-sequential" policy and a "frequency of use" policy) corresponding to each message type according to personal preferences.
The preset policy corresponding to one message type is used for selecting a first message displayed in the first display area from the notification messages with similar contents of the message type, and then a second message except the first message in the notification messages of the message type is automatically selected.
As shown in fig. 5, when configuring a preset policy for each message type, a user may set the preset policy to be configured to a selected state. For example, when a preset policy is configured for a news category, the "frequency of use" policy of the news category can be in a selected state by moving the slider icon 32 on the right side of the "frequency of use" policy of the news category to the left side; and by moving the slider icon 31 on the right side of the "time sequence" strategy of the news category to the right side, the "time sequence" strategy of the news category can be in an unselected state, the strategy in the selected state is a preset strategy configured for the notification message of the news category, and the preset strategy configured for the notification message of the news category is a "use frequency" strategy;
according to the same method, the preset strategy configured for the notification message of the leisure class in fig. 5 is a "time sequence" strategy; the preset policy configured for the notification message of the travel class in fig. 5 is a "time sequence" policy.
Although the preset policy configured for one message type includes only one policy in the example of fig. 5, in practice, multiple policies, for example, a "time sequence" policy and a "frequency of use" policy, may be configured for one message type when configuring the preset policy according to user requirements and scenario requirements.
In addition, fig. 5 is only an example of the type of the preset policy, and actually, the type of the preset policy is not limited thereto.
Optionally, in an embodiment, when step 102 is executed, a message parameter of the target message may be obtained in response to the first input; displaying a first message in a first area and displaying a second message in a target mode in a second area according to the message parameters;
wherein the message parameters include: at least one of a message type, a receiving time, and a frequency of use of a candidate application corresponding to the target message.
In one example, when determining at least a first message and a second message in each group of notification messages with similar message contents, the message type corresponding to the group of notification messages can be identified (since the respective notification messages in the group of notification messages with similar contents are similar in semantics, their corresponding message types are also the same), and when identifying the message type of the notification message, the semantic analysis technique can be combined to implement; then, according to a preset strategy which is configured in advance and matched with the message type, identifying a first message and a second message from the group of notification messages; finally, the first message is displayed in the first area and the second message is displayed in a targeted manner in the second area.
Wherein, the preset policy may include: a policy related to the reception time, and/or a policy of a frequency of use of a candidate application corresponding to the target message.
In addition, it should be noted that, since each notification message is from one application of the electronic device, in the embodiment of the present application, there is no limitation on whether the applications corresponding to the notification messages in each group of notification messages are the same, that is, the technical solutions in the embodiments of the present application may be applied to not only the screening and classification of repeated notification messages between different applications, but also the screening and classification of repeated notification messages of the same application.
In this embodiment of the present application, a message parameter of a target message may be obtained, where the message parameter includes: at least one of a message type, a receiving time and a use frequency of a candidate application corresponding to the target message; then, according to the message parameters, a first message and a second message in the target message are identified, the first message is displayed in the first area, and the second message is displayed in a target mode in the second area. The repeated notification messages can be automatically screened and classified based on the message parameters of the messages, the reading habits of users on the notification messages can be matched, the reading experience of the users on the message contents is improved, and the influence of the repeated notification messages on the user time and the reading efficiency is reduced.
Optionally, the preset policy includes: a time policy for receiving the notification message, where the policy may be a policy corresponding to the "time sequence" policy in fig. 5 when the policy is in a selected state; in this embodiment, the message parameter may include a message type and a receiving time.
When the first message is displayed in the first area according to the message parameter and the second message is displayed in the second area in a target mode, the first message and the second message in the target message can be identified according to a first preset strategy matched with the message type and based on the information of the receiving time; and displaying a first message in the first area, and displaying a second message in a target mode in the second area.
In this embodiment, when the first message and the second message in each group of notification messages are identified, for each group of notification messages, the receiving time information of each notification message in each group of notification messages may be obtained; and identifying the first message and the second message in each group of notification messages based on the receiving time information according to the receiving time strategy.
That is, when determining a first message and a second message of a group of notification messages having similar contents and belonging to a certain message type, the determination may be made according to the reception time policy based on the reception time information of each notification message of the group of notification messages.
For example, the receive time policy is policy 1: taking the notification message with the latest receiving time as a first message;
for example, in the example of fig. 2, the message type of the 9 notification messages related to the "thunderstorm blue warning" with similar message content is the travel class, and in the policy configuration of fig. 5, the preset policy configured for the notification messages of the travel class is the "time sequence" policy, that is, the receiving time policy of the present embodiment, then according to the policy 1, the notification message with the latest receiving time (that is, the notification message of the "thunderstorm blue warning" sent by the "weather" application) among the 9 notification messages can be selected to be displayed as the first message on the upper half screen 11, and the remaining 8 notification messages related to the "thunderstorm blue warning" are displayed as the second message on the lower half screen 12.
The later-received notification message in the plurality of notification messages with similar contents indicates that the probability of expiration of the message content of the notification message is lower, for example, a "weather" application pushes a weather notification every day, and the later-received weather notification is the latest weather information and is matched with the reading requirement of the user, so that the situation that the user reads the expired notification information screened in the first display area is avoided.
For another example, the receiving time policy is policy 2: the notification message with the earliest reception time is taken as the first message.
Of course, the receiving time policy is not limited to any one of the above listed policies, and may be other policies based on the receiving time information.
The receiving time information here can be understood as the push time of each notification message, and the earlier the receiving time information is, the earlier the push time is, for example, yesterday's push message; the later the reception time information is, the later the push time of the notification message is, for example, the push message of today.
The technical scheme of the embodiment of the application can be applied to screening and classification of repeated notification messages among different applications and can also be applied to screening and classification of repeated notification messages of the same application.
In the embodiment of the application, for a group of notification messages with similar contents, if a preset policy corresponding to the message type of the group of notification messages is a receiving time policy, receiving time information of each notification message in the group of notification messages can be acquired; and identifying a first message and a second message in the group of notification messages according to the receiving time strategy and based on the receiving time information, so that the selected first message in the group of notification messages with repeated contents is based on the receiving time information in the group of notification messages, and the time priority of the screened first message is higher according to the receiving time strategy of the group of notification messages.
Optionally, the preset policy includes: a frequency of use policy of the application; the policy may be the policy corresponding to the "frequency of use" icon in fig. 5 in the selected state; in this embodiment, the message parameter may include a message type and a frequency of use of a candidate application corresponding to the target message.
When the first message is displayed in the first area according to the message parameter and the second message is displayed in the second area in a target manner, identifying the first message and the second message in the target message based on the use frequency information of the candidate application corresponding to the target message according to a second preset strategy matched with the message type; and displaying a first message in the first area, and displaying a second message in a target mode in the second area.
In this embodiment, when identifying the first message and the second message in each group of notification messages, for each group of notification messages, the candidate application corresponding to each notification message in each group of notification messages may be identified, and the use frequency information of each candidate application may be obtained; and identifying the first message and the second message in each group of notification messages according to the application frequency strategy and based on the frequency information.
That is, when determining the first message and the second message in a group of notification messages with similar contents and belonging to a certain message type, the determination may be performed based on the usage frequency information of the candidate application corresponding to each notification message in the group of notification messages and according to the usage frequency policy.
For example, the frequency of use policy is policy 3: taking the notification message corresponding to the application with the highest use frequency as a first message;
for example, in the example of fig. 2, the message types of 7 notification messages related to "XX 1 coffee picker" with similar message contents are news, then in the policy configuration of fig. 5, the preset policy configured for the notification messages of the news category is the "frequency of use" policy, that is, the frequency of use policy of the application of the present embodiment, then according to this policy 3, the notification message corresponding to the candidate application with the highest frequency of use (for example, the notification message of "XX 1 coffee picker" sent by the "APP 1" application) among the 7 notification messages corresponding to each notification message can be displayed as the first message on the upper half screen 11, and the remaining 6 notification messages related to "thunderblue warning" are displayed as the second message on the lower half screen 12.
If the number of the notification messages corresponding to the candidate application with the highest use frequency is multiple, if the number is smaller than a preset threshold (for example, 3), the multiple notification messages belonging to the same candidate application can be all regarded as the first message; if the number is greater than or equal to a preset threshold (e.g., 3), then a notification message sent by a message sender with the highest priority may be screened as the first message according to a preset priority order of message senders of the plurality of notification messages corresponding to the candidate application with the highest frequency of use.
For example, the APP1 application is used as a candidate application with the highest frequency of use, but if the APP pushes 3 unread notification messages with similar contents, in this example, the priority information of the message senders of the 3 notification messages can be obtained, and the notification message sent by the message sender with the highest priority is selected as the first message from the 3 notification messages according to the preset priority order.
Of course, the frequency of use policy is not limited to policy 3 listed above, and a notification message corresponding to an application having the highest frequency of use and the second highest frequency of use may be used as the frequency of use policy for the first message.
In the embodiment of the application, for a group of notification messages with similar contents, if a preset policy corresponding to a message type of the group of notification messages is a frequency-of-use policy, frequency-of-use information of a candidate application corresponding to each notification message in the group of notification messages may be acquired; according to the usage frequency strategy, based on the usage frequency information, identifying a first message and a second message in the group of notification messages, so that the selected first message in the group of repeated content notification messages is based on the usage frequency information of the candidate application corresponding to each notification message in the group of notification messages, and is determined according to the usage frequency strategy of the group of notification messages, so that the screened first message is the notification message pushed by the candidate application with higher usage frequency.
Optionally, the preset policy includes: notifying a receiving time strategy of the message and an application frequency strategy; in this embodiment, the message parameter may include a message type and a receiving time, and a frequency of use of a candidate application corresponding to the target message.
When the first message is displayed in the first area according to the message parameter and the second message is displayed in the second area in a target mode, each target message can be scored according to a first preset strategy matched with the message type and based on the information of the receiving time to obtain a plurality of first scores; obtaining a plurality of second scores for each target message based on the use frequency information corresponding to each candidate application according to the use frequency strategy of the application; determining a total score for each target message based on the first score and the second score; identifying a first message and a second message of the target messages based on the total score; and displaying a first message in the first area, and displaying a second message in a target mode in the second area.
Specifically, when determining a first message and a second message in a group of notification messages with similar contents and belonging to a certain message type, if the preset policy corresponding to the message type includes the receiving time policy and the usage frequency policy, each notification message in the group of notification messages may be scored according to different policies, so as to obtain each first score and each second score of each notification message.
In one example, when the receiving time policy is used for scoring, for example, the receiving time policy is policy 1, the later the receiving time is, the higher the first score is, and the earlier the receiving time is, the lower the first score is. Then for each notification message in the set of notification messages, a first score for the respective notification message may be determined according to the time of receipt information for the respective notification message, such that each notification message in the set of notification messages has a respective first score;
in one example, when scoring according to the usage frequency policy, for example, the usage frequency policy is policy 3 described above, the higher the usage frequency of the candidate application is, the higher the second score of the notification message corresponding to the candidate application is, and the lower the usage frequency of the candidate application is, the lower the second score of the notification message corresponding to the candidate application is. Then for each notification message in the set of notification messages, the second score of the respective notification message may be determined according to the usage frequency information of the candidate application corresponding to the respective notification message, so that each notification message in the set of notification messages has the respective second score;
then, based on the first score and the second score of each notification message in the group of notification messages, determining a total score of each notification message in the group of notification messages, where the total score may be determined by adding the first score and the second score and taking an addition result; the first score and the second score can be weighted and summed according to a first weight corresponding to a receiving time strategy and a second weight corresponding to a frequency strategy, so that the total score of each notification message is obtained.
Finally, a first message in the set of notification messages is determined based on the total score, e.g., the first message is the notification message in the set of notification messages having the highest total score.
In this embodiment of the present application, for a group of notification messages with similar contents, if a preset policy corresponding to a message type of the group of notification messages includes a reception time policy and a usage frequency policy, each notification message in each group of notification messages may be scored based on the reception time information according to the reception time policy of the notification message, so as to obtain a plurality of first scores; according to the application use frequency strategy, scoring each notification message in each group of notification messages based on the use frequency information corresponding to each candidate application to obtain a plurality of second scores; determining a total score for each notification message in the each group of notification messages based on the first score and the second score; identifying a first message and a second message in each group of notification messages based on the total score. When the message types of a group of notification messages with repeated contents correspond to multiple strategies, each notification message can be respectively scored by combining the two strategies, and a first message and a second message are selected from the group of notification messages based on the total score, so that the screened first message refers to the receiving time information of the first message and the use frequency information of the candidate application corresponding to the first message.
Optionally, after the user screens the first message and the second message separately by triggering the first input to filter and deduplicate the target message, if the user wants to clear the second message displayed on the second screen, which is overlapped with at least the message content of the first screen, then the method can be implemented by triggering a fourth input on the first screen or the second screen:
specifically, before receiving a first input of the user to the first screen or the second screen, the method according to the embodiment of the present invention may further obtain a first angle between the first screen and the second screen.
That is, the angle between the two display screens before the first input is triggered is obtained.
For example, before receiving the first input, the first angle between the first screen and the second screen is 180 degrees, i.e., the folded screen is in the unfolded state.
Then after step 102, the method according to an embodiment of the invention may further comprise: receiving a fourth input of the user to the first screen or the second screen; and responding to the fourth input, adjusting the angle between the first screen and the second screen, canceling the display of the second message and displaying the first message in an area formed by the first area and the second area if the angle is the first angle.
For example, by a first input, an interface as shown in fig. 2 may be presented, wherein there is an angle between the upper half screen 11 and the lower half screen 12 in fig. 2 that is bent by the first input, the display screen of the electronic device is in a folded state, divided into an upper half screen 11 and a lower half screen 12, if the user triggers a fourth input by referring to the upper half screen 11 or the lower half screen 12 in fig. 2, so that the angle between the upper half screen 11 and the lower half screen 12 is restored to 180 degrees before the first input is received, i.e. the display of the electronic device is folded from the folded state of figure 2 to the unfolded state of the display shown in figure 6, the second message may be dismissed from the lower half-screen 12 and each of the first messages displayed on the upper half-screen 11 in fig. 2 is displayed in the display area formed by the first screen and the second screen (here, the entire display screen of the electronic device in the unfolded state).
Optionally, when the display screen of the electronic device is folded from the folded state shown in fig. 2 to the unfolded state of the display screen shown in fig. 6, the method of the embodiment of the present application may further display a prompt box 41 shown in fig. 6 on the unfolded display screen, where the prompt box 41 prompts the user whether to clear all repeated push messages, and corresponding operations are executed according to the selection of the user; if the user clicks the confirmation button in the prompt box, the method of the embodiment of the application may completely clear the second messages displayed on the lower half-screen 12, where the clearing operation may not only cancel the second messages from being displayed on the lower half-screen 12, but also may further convert the second messages from the unread state to the read state, i.e., clear the second messages from the local, so that the second messages cannot be viewed from the notification bar in the conventional technology; and displays each of the first messages displayed on the top half 11 in fig. 2 in a display area (here, the entire display screen of the electronic apparatus in the unfolded state) formed by the first screen and the second screen.
In the conventional technology, unread notification messages are displayed in a notification bar in a receiving time sequence, the unread notification messages are relatively dispersed in the notification bar, and because similar repetition of contents may exist among different notification messages, if a user needs to clear the notification messages with similar contents in the notification bar, and only one notification message which is similar to the contents and needs to be viewed is reserved, the user needs to search in the notification bar one by one and trigger deletion operation one by one, and the deletion efficiency of the repeated notification messages is low.
In the embodiment of the application, for at least the repeated notification information with similar message content, the repeated notification information may be displayed in the second area in a centralized manner, and the retained first message with similar content to the second message is displayed in the first area, and if the user needs to delete the repeated second message with similar content, the cancellation display of each second message in the second area may be directly triggered by triggering a fourth input (for example, the above-mentioned bending input for converting the folded screen from the folded state to the unfolded state) to the first screen or the second screen, so that the removal efficiency of the repeated notification message is improved.
It should be noted that fig. 2, fig. 3, fig. 4 and fig. 6 show different display states of the electronic device formed under different input operation triggers of the user, wherein the same reference numerals or icons in the four figures denote the same contents, and therefore, in fig. 3, fig. 4 and fig. 6, the same icons as those in fig. 2 are not described again, and the reader can refer to the function of the corresponding icons in fig. 2 for understanding.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing apparatus, or a control module in the message processing apparatus for executing the message processing method. The message processing apparatus provided in the embodiment of the present application is described with an example in which a message processing apparatus executes a message processing method.
Referring to fig. 7, a block diagram of a message processing apparatus according to an embodiment of the present application is shown, the message processing apparatus including:
a first display module 51 for displaying a target message;
a first receiving module 52, configured to receive a first input from a user;
a second display module 53, configured to display a first message in a first area and a second message in a target manner in a second area in response to the first input;
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message.
Optionally, the apparatus further comprises:
a second receiving module for receiving a second input for the first message;
a first cancellation display module, configured to update a display area of the first message in response to the second input, and cancel display of the second message if the display area of the first message at least partially coincides with the second area;
and the third display module is used for displaying the second message in the first area and displaying the first message in the target mode in the second area.
Optionally, the apparatus further comprises:
a third receiving module for receiving a third input for the second message;
a second cancellation display module, configured to update a display area of the second message in response to the third input, and cancel display of the first message if the display area of the second message at least partially coincides with the first area;
and the fourth display module is used for displaying the first message in the second area in the target mode and displaying the second message in the first area.
Optionally, the second display module 53 includes:
the obtaining submodule is used for responding to the first input and obtaining the message parameter of the target message;
the first display submodule is used for displaying a first message in a first area and displaying a second message in a target mode in a second area according to the message parameter;
wherein the message parameters include: at least one of a message type, a receiving time, and a frequency of use of a candidate application corresponding to the target message.
Optionally, the device is applied to an electronic device, wherein the electronic device comprises a first screen and a second screen;
the first receiving module 52 includes:
the first receiving submodule is used for receiving a first input of a user to the first screen or the second screen;
the second display module 53 includes:
an adjustment submodule, configured to adjust an angle between the first screen and the second screen in response to the first input;
and the second display submodule is used for displaying the first message on the first screen and displaying the second message on the second screen in a target mode under the condition that the angle meets the preset condition.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring a first angle between the first screen and the second screen;
the fourth receiving module is used for receiving fourth input of the user to the first screen or the second screen;
an adjustment module for adjusting an angle between the first screen and the second screen in response to the fourth input;
a third cancellation display module, configured to cancel displaying the second message when the angle is the first angle;
and the fifth display module is used for displaying the first message in an area formed by the first area and the second area.
In the embodiment of the application, a first message of a first message and a second message with at least part of similar message contents in the displayed target message can be displayed in a first area by responding to a first input of a user, and a second message with at least similar message contents to the first message is displayed in a second area, so that a plurality of first messages with dissimilar message contents are displayed in the first area, and a second message with similar message contents to the corresponding first message is displayed in the second area; because the content similarity of the first message in the first area is low, the user can acquire the content of the required notification message in time only by browsing the first area, the user does not need to search the required notification message from a messy notification bar containing more repeated content for viewing, and only needs to select the first message in the first area, so that the viewing efficiency of the content of the notification message concerned by the user is improved.
The message processing apparatus in the embodiment of the present application may be an apparatus, 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 Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message processing apparatus in the embodiment of the present application may be an apparatus 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 message processing apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 2000 is further provided in this embodiment of the present application, and includes a processor 2002, a memory 2001, and a program or an instruction stored in the memory 2001 and executable on the processor 2002, where the program or the instruction implements each process of the above-mentioned message processing method embodiment when executed by the processor 2002, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing 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. 9 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.
The user input unit 1007 is used for receiving a first input of a user;
a display unit 1006 for displaying the target message; the display device is also used for displaying a first message in a first area and displaying a second message in a target mode in a second area;
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message.
In the embodiment of the application, a first message of a first message and a second message with at least part of similar message contents in the displayed target message can be displayed in a first area by responding to a first input of a user, and a second message with at least similar message contents to the first message is displayed in a second area, so that a plurality of first messages with dissimilar message contents are displayed in the first area, and a second message with similar message contents to the corresponding first message is displayed in the second area; because the content similarity of the first message in the first area is low, the user can acquire the content of the required notification message in time only by browsing the first area, the user does not need to search the required notification message from a messy notification bar containing more repeated content for viewing, and only needs to select the first message in the first area, so that the viewing efficiency of the content of the notification message concerned by the user is improved.
Optionally, a user input unit 1007 for receiving a second input for the first message;
a processor 1010 configured to update a display area of the first message in response to the second input, and control the display unit 1006 to cancel displaying the second message if the display area of the first message at least partially coincides with the second area;
a display unit 1006, configured to display the second message in the first area, and display the first message in the target manner in the second area.
In the embodiment of the application, when a user is not satisfied with a first message automatically selected by the system from target messages with similar message contents, positions of two notification messages with similar message contents in a first area and a second area can be interchanged according to user requirements, so that the first message which is kept and displayed in the first area is switched, and the screening of the notification messages with repeated contents is more flexible, and thus, the user can open and adjust the message contents of the first message after the positions are changed to view the first message.
Optionally, a user input unit 1007 for receiving a third input for the second message;
a processor 1010 configured to update a display area of the second message in response to the third input, and to cancel displaying the first message if the display area of the second message at least partially coincides with the first area;
a display unit 1006, configured to display the first message in the target manner in a second area, and display the second message in the first area.
In the embodiment of the application, when a user is not satisfied with a first message automatically selected by the system from target messages with similar message contents, positions of two notification messages with similar message contents in a first area and a second area can be interchanged according to user requirements, so that the first message which is kept and displayed in the first area is switched, and the screening of the notification messages with repeated contents is more flexible, and thus, the user can open and adjust the message contents of the first message after the positions are changed to view the first message.
Optionally, the processor 1010 is configured to, in response to the first input, obtain a message parameter of the target message;
a display unit 1006, configured to display a first message in a first area and a second message in a target manner in a second area according to the message parameter;
wherein the message parameters include: at least one of a message type, a receiving time, and a frequency of use of a candidate application corresponding to the target message.
In this embodiment of the present application, a message parameter of a target message may be obtained, where the message parameter includes: at least one of a message type, a receiving time and a use frequency of a candidate application corresponding to the target message; then, according to the message parameters, a first message and a second message in the target message are identified, the first message is displayed in the first area, and the second message is displayed in a target mode in the second area. The repeated notification messages can be automatically screened and classified based on the message parameters of the messages, the reading habits of users on the notification messages can be matched, the reading experience of the users on the message contents is improved, and the influence of the repeated notification messages on the user time and the reading efficiency is reduced.
Optionally, the electronic device includes a first screen and a second screen;
a user input unit 1007 configured to receive a first input to the first screen or the second screen by a user;
a processor 1010 to adjust an angle between the first screen and the second screen in response to the first input;
and a display unit 1006, configured to display a first message on the first screen and a second message in a target manner on the second screen when the angle satisfies a preset condition.
In the embodiment of the application, an angle between a first screen and a second screen of an electronic device of a user can be adjusted by responding to a first input of the first screen or the second screen, and when the angle meets a preset condition, a first message is displayed on the first screen, and a second message is displayed on the second screen in a target mode, so that the first message and the second message with at least part of similar message contents can be displayed in a split screen mode. When a user triggers the screening and split-screen display of the repeated notification messages, the user only needs to perform first input on the first screen or the second screen, so that the operation is simple and convenient, and the realization is easier; moreover, because the content similarity of the first message of the first screen is low, the user can obtain the content of the required notification message in time only by browsing the first screen, the user does not need to search the required notification message from the messy notification bar containing more repeated contents for viewing, and only needs to select the first message displayed by the first screen, so that the viewing efficiency of the content of the notification message concerned by the user is improved.
Optionally, the electronic device includes a first screen and a second screen;
a processor 1010 configured to obtain a first angle between the first screen and the second screen;
a user input unit 1007 for receiving a fourth input of the first screen or the second screen by the user;
a processor 1010 configured to adjust an angle between the first screen and the second screen in response to the fourth input; in a case where the angle is the first angle, controlling the display unit 1006 to cancel displaying the second message;
a display unit 1006, configured to display the first message in an area formed by the first area and the second area.
In the embodiment of the application, for at least the repeated notification information with similar message content, the repeated notification information may be displayed in the second area in a centralized manner, and the retained first message with similar content to the second message is displayed in the first area, and if the user needs to delete the repeated second message with similar content, the cancellation display of each second message in the second area may be directly triggered by triggering a fourth input (for example, the above-mentioned bending input for converting the folded screen from the folded state to the unfolded state) to the first screen or the second screen, so that the removal efficiency of the repeated notification message is improved.
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 each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The 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 processing 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 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 software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present 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 (10)
1. A method of message processing, the method comprising:
displaying the target message;
receiving a first input of a user;
in response to the first input, displaying a first message in a first area and displaying a second message in a targeted manner in a second area;
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message;
the method further comprises, in response to the first input, displaying a first message in a first area and, after displaying a second message in a targeted manner in a second area:
receiving a second input for the first message;
in response to the second input, updating a display area of the first message, in the event that the display area of the first message at least partially coincides with the second area, canceling the display of the second message and displaying the second message in the first area, the first message in the targeted manner in the second area.
2. The method of claim 1, wherein in response to the first input, displaying a first message in a first area and after displaying a second message in a targeted manner in a second area, the method further comprises:
receiving a third input for the second message;
in response to the third input, updating a display area of the second message, in the event that the display area of the second message at least partially coincides with the first area, canceling the display of the first message, and displaying the first message in the targeted manner in a second area, the second message being displayed in the first area.
3. The method of claim 1, applied to an electronic device comprising a first screen and a second screen, wherein receiving a first input from a user comprises:
receiving a first input of a user to the first screen or the second screen;
the displaying a first message in a first area and a second message in a targeted manner in a second area in response to the first input, comprising:
and responding to the first input, adjusting the angle between the first screen and the second screen, and displaying a first message on the first screen and a second message in a target mode on the second screen under the condition that the angle meets a preset condition.
4. The method of claim 3,
before the receiving a first input of the first screen or the second screen by the user, the method further comprises:
acquiring a first angle between the first screen and the second screen;
the method further comprises, in response to the first input, displaying a first message in a first area and, after displaying a second message in a targeted manner in a second area:
receiving a fourth input of the user to the first screen or the second screen;
and responding to the fourth input, adjusting the angle between the first screen and the second screen, canceling the display of the second message and displaying the first message in an area formed by the first area and the second area if the angle is the first angle.
5. A message processing apparatus, characterized in that the apparatus comprises:
the first display module is used for displaying the target message;
the first receiving module is used for receiving a first input of a user;
a second display module for displaying a first message in a first area and a second message in a target manner in a second area in response to the first input;
wherein the target message comprises a first message and a second message, the second message being at least partially message content similar to the first message;
the device further comprises:
a second receiving module for receiving a second input for the first message;
a first cancellation display module, configured to update a display area of the first message in response to the second input, and cancel display of the second message if the display area of the first message at least partially coincides with the second area;
and the third display module is used for displaying the second message in the first area and displaying the first message in the target mode in the second area.
6. The apparatus of claim 5, further comprising:
a third receiving module for receiving a third input for the second message;
a second cancellation display module, configured to update a display area of the second message in response to the third input, and cancel display of the first message if the display area of the second message at least partially coincides with the first area;
and the fourth display module is used for displaying the first message in the second area in the target mode and displaying the second message in the first area.
7. The device of claim 5, applied to an electronic device, wherein the electronic device comprises a first screen and a second screen;
the first receiving module includes:
the first receiving submodule is used for receiving a first input of a user to the first screen or the second screen;
the second display module includes:
an adjustment submodule, configured to adjust an angle between the first screen and the second screen in response to the first input;
and the second display submodule is used for displaying the first message on the first screen and displaying the second message on the second screen in a target mode under the condition that the angle meets the preset condition.
8. The apparatus of claim 7, further comprising:
the acquisition module is used for acquiring a first angle between the first screen and the second screen;
the fourth receiving module is used for receiving fourth input of the user to the first screen or the second screen;
an adjustment module for adjusting an angle between the first screen and the second screen in response to the fourth input;
a third cancellation display module, configured to cancel displaying the second message when the angle is the first angle;
and the fifth display module is used for displaying the first message in an area formed by the first area and the second area.
9. 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 processing method according to any one of claims 1 to 4.
10. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the message processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010706293.0A CN111897468B (en) | 2020-07-21 | 2020-07-21 | Message processing method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010706293.0A CN111897468B (en) | 2020-07-21 | 2020-07-21 | Message processing method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111897468A CN111897468A (en) | 2020-11-06 |
CN111897468B true CN111897468B (en) | 2021-12-07 |
Family
ID=73190433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010706293.0A Active CN111897468B (en) | 2020-07-21 | 2020-07-21 | Message processing method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111897468B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565613B (en) * | 2020-12-11 | 2023-02-07 | 维沃移动通信(杭州)有限公司 | Preview image display control method, device, electronic equipment and medium |
CN113518026B (en) * | 2021-03-25 | 2023-06-06 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
CN113835573A (en) * | 2021-09-17 | 2021-12-24 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104584488A (en) * | 2012-06-26 | 2015-04-29 | 谷歌公司 | Notification classification and display |
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 |
CN106598392A (en) * | 2016-12-14 | 2017-04-26 | 北京小米移动软件有限公司 | Notification message display method and device |
CN106843848A (en) * | 2016-12-27 | 2017-06-13 | 珠海市魅族科技有限公司 | Pushed information processing method, pushed information processing unit and terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348484B2 (en) * | 2011-12-08 | 2016-05-24 | Microsoft Technology Licensing, Llc | Docking and undocking dynamic navigation bar for expanded communication service |
CN102855051A (en) * | 2012-08-15 | 2013-01-02 | 中兴通讯股份有限公司 | Method and device for processing application shortcut |
WO2015057634A2 (en) * | 2013-10-18 | 2015-04-23 | Citrix Systems, Inc. | Providing enhanced message management user interfaces |
CN110431521B (en) * | 2017-08-24 | 2021-09-21 | 华为技术有限公司 | Split screen display method and device and terminal |
US11269500B2 (en) * | 2018-05-21 | 2022-03-08 | Samsung Electronics Co., Ltd. | Method and system for modular widgets in smart devices |
CN110611733A (en) * | 2019-08-05 | 2019-12-24 | 深圳传音控股股份有限公司 | Configuration method of shortcut entrance, terminal and computer storage medium |
-
2020
- 2020-07-21 CN CN202010706293.0A patent/CN111897468B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104584488A (en) * | 2012-06-26 | 2015-04-29 | 谷歌公司 | Notification classification and display |
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 |
CN106598392A (en) * | 2016-12-14 | 2017-04-26 | 北京小米移动软件有限公司 | Notification message display method and device |
CN106843848A (en) * | 2016-12-27 | 2017-06-13 | 珠海市魅族科技有限公司 | Pushed information processing method, pushed information processing unit and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111897468A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220277708A1 (en) | Systems and techniques for aggregation, display, and sharing of data | |
CN111897468B (en) | Message processing method and device, electronic equipment and readable storage medium | |
EP1758031A1 (en) | Selection and display of user-created documents | |
CN112988006B (en) | Display method, display device, electronic equipment and storage medium | |
CN112099685B (en) | Notification message display control method and device, electronic equipment and readable storage medium | |
AU2013332591A1 (en) | User terminal device and control method thereof | |
CN108351880A (en) | Image processing method, device, electronic equipment and graphic user interface | |
CN112612391B (en) | Message processing method and device and electronic equipment | |
CN113114845B (en) | Notification message display method and device | |
CN113126838A (en) | Application icon sorting method and device and electronic equipment | |
CN112787907A (en) | Display method and device and electronic equipment | |
CN113268182B (en) | Application icon management method and electronic device | |
CN113849092A (en) | Content sharing method and device and electronic equipment | |
CN113805996A (en) | Information display method and device | |
CN111638846A (en) | Image recognition method and device and electronic equipment | |
CN113325978B (en) | Message display method and device and electronic equipment | |
CN112035026B (en) | Information display method and device, electronic equipment and storage medium | |
CN113590008A (en) | Chat message display method and device and electronic equipment | |
CN113805752A (en) | Object moving method and electronic equipment | |
CN112333084B (en) | File sending method and device and electronic equipment | |
CN112765500A (en) | Information searching method and device | |
CN113835601A (en) | Screenshot management method and device | |
CN110764726B (en) | Target object determination method and device, terminal equipment and storage medium | |
CN112286613A (en) | Interface display method and interface display device | |
CN113641839A (en) | Multimedia file searching 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 |