Specific embodiment
For the application is further described, the following example is provided:
Referring to FIG. 1, Fig. 1 shows the message display method of an exemplary embodiment according to the present invention, can apply
In terminal, this method comprises:
Step 102, the first trigger action of user on a terminal screen is detected;
In the present embodiment, terminal is detected to whether user executes the first trigger action on a terminal screen, this
One trigger action can be with are as follows: double click operation, long press operation, single-point or multiple spot according to the slide of desired guiding trajectory, to being shown in
The clicking operation etc. of control on terminal screen, certainly those skilled in the art should understand that: the triggerings of other modes behaviour
Work obviously also can be applied in the technical solution of the application, not limit herein specific trigger action mode.
Simultaneously as being actively to execute the first trigger action based on user to the screening of unread message, show to use householder
The wish screened to unread message is wished in sight, meets the applied mental of user, helps to promote user experience.
Step 104, it does not read to disappear according to preset condition is corresponding to the message communication interface being shown on the terminal screen
Breath is screened;
In the present embodiment, " the corresponding unread message in message communication interface " refers to: should be shown in message communication circle
The unread message in face, the unread message may be just shown on terminal screen after user clicks to enter the message communication interface,
It can see after user may also be needed to stir the message communication interface;Such as in " inbox " interface of Email,
Corresponding unread message is exactly all mails not yet read, in " inbox " interface of short message, corresponding unread message
Exactly all short messages not yet read, in the chat interface of instant message applications, corresponding unread message is exactly current chats
The unread message that the corresponding user in heaven face sends.
By the screening operation to unread message, especially for " group chat " message communication circle for instant message applications
Include the unread message from many users in face, often there are hundreds and thousands of unread messages, then based on the technical side of the application
Case, user only need that preset condition rationally is arranged, can Automatic sieve select and come in handy or interested unread message, be not necessarily to one
One checks every unread message, to improve the reading efficiency of user.
Step 106, only the unread message filtered out is shown in the message communication interface.
As can be seen from the above embodiments, first trigger action of the application based on user, automatically screens unread message,
Allow terminal according to the selection result to unread message, only the unread message for meeting preset condition is shown, is not necessarily to
Every unread message is checked one by one, helps to promote reading efficiency.Meanwhile when unread message is excessive, user often due to
It is impatient of and quickly stirs up and down, be easy to cause and ignore real important messages;And the technical solution based on the application, by right
It is shown after the screening of unread message, user can be realized without stirring interface or only needing a small amount of moving operations to all screenings
The reading of unread message out effectively prevents ignoring important messages.
Below with reference to Fig. 2, the screening process based on " preset condition " is described in detail.Wherein, Fig. 2 shows bases
The message display method of another exemplary embodiment of the invention, comprising:
Step 202, terminal is based on user's operation, realizes the display to a message communication interface, and obtain the message communication
The corresponding unread message in interface.Below by taking " group chat " interface in instant message applications as an example, in message communication interface not
The screening and display for reading message are described.
Step 204, when detecting the first trigger action that user executes on a terminal screen, it is transferred to step 206.Herein
" it can will detect the first trigger action that user executes on a terminal screen " as the trigger condition for being transferred to step 206, then
Step 206 is transferred to when only meeting the trigger condition;Alternatively, " user executes on a terminal screen can also will be detected
One trigger action " is used as Rule of judgment, then when being judged as there are step 206 is transferred to when first trigger action, otherwise according to phase
The mode of pass technology is handled.
Step 206, in the corresponding unread message in group chat interface, text quantity is selected not more than or equal to the first quantity
Read message.
In the present embodiment, it is described due to generally requiring the event important to certain part in important messages, it is impossible to only
It is expressed clearly with several words, thus text quantity wherein included is necessarily more, i.e., bigger text amount also corresponds to bigger
Size of message, it is possible to by setting " the first quantity " be screening conditions, pick out that text quantity is more, size of message is big not
Message is read, and screens out the unread message that text quantity is few, size of message is small.
For example Fig. 3 shows a part of unread message for including in group chat interface, wherein including many useless do not read
Between message, such as user chat content " someone exists? ", " having ", " why? " Deng, it is clear that and weight required for non-user
Want message;And for real important messages, such as " notice: at 5 points in afternoon Saturday, class's party.Please everybody on time at school south gate
Set, then ... ", belong to the notification message of class's party, due to needing to illustrate " activity description ", " activity time ", " activity
The multinomial informations such as place ", thus corresponding text quantity is also significantly more, has obvious difference with other chat contents.
Step 208, the unread message filtered out is only shown.
As shown in Figure 4, it is assumed that user enters group " two classes of automation " at time point " 13:21 ", at this time in group chat interface
It will show the unread message received after recently received unread message, such as " 13:20 ".Simultaneously, it is assumed that user's last time
Time into the group chat interface is " 10:02 " of the previous day, then the group chat interface is also corresponded to from " 10:02 " of the previous day extremely
The currently unread message between " 13:20 " is read after needing user to stir the group chat interface.
It is assumed that user is by after the blank space at group chat interface is double-clicked, executing the first above-mentioned trigger action, then it is whole
End can screen the current corresponding all unread messages in the group chat interface.For example the first above-mentioned quantity is 20, then terminal
The unread message that number of words is greater than or equal to 20 words will be filtered out, and is shown in the group chat interface, and other numbers of words are insufficient
Unread message then temporarily shielded.Therefore as shown in figure 5, chat content useless between group member is by automatic shield, and
The unread message for only showing that number of words is more, containing much information, so that user's Fast Reading is to important content of announcement.
Step 210, optionally, terminal can also be held on a terminal screen on the basis of step 208 detecting user
Gone the second trigger action when, be transferred to step 212.
Step 212, text quantity is filtered out again in the unread message that step 206 has filtered out more than or equal to the second number
The unread message of amount.
Step 214, only the unread message filtered out again is shown in the message communication interface;Wherein second number
Amount is greater than first quantity.
In the present embodiment, some users are since in order to avoid screening out useful message, first be arranged in step 206 is counted
Amount may be smaller, for example the first quantity is 10, causes the quantity of the unread message filtered out still more, is then executed based on user
The second trigger action, illustrate the unread message that further screening is useful on the basis of user wishes again, then can be based on the
Two quantity further screen unread message, and the second quantity is greater than the first quantity, for example the second quantity is 20.
Certainly, in addition to the screening operation based on text quantity, the application also proposed " preset condition " of other forms, under
Another exemplary embodiment in face of the application is described:
When detecting the first trigger action that user executes on a terminal screen, do not read message communication interface is corresponding
In message, selects the unread message comprising the first predetermined keyword and/or screen out the unread message comprising the second predetermined keyword.
Wherein, the first predetermined keyword can be user preset interested keyword, such as " important ", " notice ",
" party ", " meeting ", temporal information, location information etc.;And the second predetermined keyword can be doubtful advertisement information, swindle message
Common keyword, such as " overflowing ", " click ", " panic buying ", " preferential " etc., and can be set to the second predetermined keyword
Priority be higher than the first predetermined keyword, with solve for example simultaneously include " overflowing " and " notice " the case where.
It should be understood that every kind " preset condition " can be used alone, such as separately through " text quantity " or " crucial
Word " realizes the screening to unread message;It is also possible to a variety of " preset conditions " are used in combination, than as shown in Fig. 5
In group chat interface, after the screening operation based on text quantity, still there may be such as " overflow big panic buying.This week pushes away outside East 4th Ring Road
Bargain house 25000/ is flat out, and more house types are optional ... ... " unread message, then be based further on keyword and screened out, Ji Ketong
The matching for crossing " overflowing ", " panic buying " avoids being shown in group chat interface.In addition, if user wishes to return to unscreened disappear
It ceases under display pattern, in modes such as the double-click of interface blank space, long-pressings, can directly return and all unread messages are shown by such as
Show under mode.
Further, when user is interested in certain unread message, it may be desirable to by reading the unread message in institute
There is the context in unread message, understand situation at that time, to realize stronger " substituting into sense ".Therefore, the application further mentions
Go out following technical proposals:
When screening and the unread message being shown on the message communication interface is triggered, restore display and the message
The corresponding all unread messages of communication interface, and position to the unread message position being triggered.
Still by taking above-mentioned group chat interface as an example.As shown in Figure 5, it is assumed that user A issues " logical in the 15:38 one afternoon
Know: at 5 points in afternoon Saturday, class's party.Please everybody gather on time at school south gate, then ... " party notice, and second
The 10:06 in its morning issue again " emergency notice: afternoon Saturday class party changes to 11 points of noon on Sunday, place is not
The update message of change ... ... ", then user wants to know about the change what reason actually results in the party time.
Therefore, user can realize that " emergency notice: the class in afternoon Saturday meets to message by the modes such as such as click
Change to 11 points of noon on Sunday, place is constant ... ... " triggering, then as shown in Figure 6: terminal automatic will be restored not read to disappear to all
The display of breath, and directly position to the message position being triggered, and user is stirred by further interface, can be checked
To reason shown in Fig. 7: since user F indicates " sound of sighing, I am on business trips, and Saturday night can just go back ... ", therefore causing
Party time is delayed.
As shown in figure 8, the exemplary embodiment as the application can be at interface when terminal enters group chat interface
On show the total quantity of current all unread messages, for example show " currently sharing 329 unread messages " above interface.Together
When, if the user desired that all unread messages are read according to time order of occurrence, then it can be fast by following manner
Speed reaches first message in all unread messages:
When detecting the third trigger action of user on a terminal screen, the current message that corresponds to for obtaining record is communicated
The nearest history read point at interface, and position to the unread message position nearest with the nearest history read point.
In group chat interface shown in Fig. 8, user can pass through: 1. click the logical of " currently sharing 329 unread messages "
Know;2. clicking the button shown in interface, above-mentioned third trigger action is completed, realizes the quick positioning to unread message.
Fig. 9 shows the schematic configuration diagram of the electronic equipment of the exemplary embodiment according to the application.Referring to FIG. 9,
In hardware view, which includes processor, internal bus, network interface, memory and nonvolatile memory, certainly
It is also possible that hardware required for other business.Processor read from nonvolatile memory corresponding computer program to
It is then run in memory, forms message display device on logic level.Certainly, other than software realization mode, the application
Other implementations, such as logical device or the mode of software and hardware combining etc. is not precluded, that is to say, that following processing stream
The executing subject of journey is not limited to each logic unit, is also possible to hardware or logical device.
Referring to FIG. 10, above-mentioned message display device may include screening unit and display in Software Implementation
Unit.Wherein:
Screening unit, when detecting the first trigger action of user on a terminal screen, according to preset condition to display
It is screened in the corresponding unread message in message communication interface on the terminal screen;
The unread message filtered out is only shown in the message communication interface by display unit.
Optionally, the screening unit is specifically used for:
In the corresponding unread message in the message communication interface, text quantity is selected not more than or equal to the first quantity
Read message.
Optionally, the screening unit is also used to:
When detecting the second trigger action of user on a terminal screen, screened again in the unread message filtered out
Text quantity is greater than or equal to the unread message of the second quantity out, and only by the unread message filtered out again by the display unit
It is shown in the message communication interface;Wherein second quantity is greater than first quantity.
Optionally, the screening unit is specifically used for:
In the corresponding unread message in the message communication interface, select the unread message comprising predetermined keyword and/or
Screen out the unread message comprising the second predetermined keyword.
Optionally, further includes:
First positioning unit restores when screening and the unread message being shown on the message communication interface is triggered
It shows all unread messages corresponding with the message communication interface, and positions to the unread message position being triggered.
Optionally, further includes:
Acquiring unit, when detecting the third trigger action of user on a terminal screen, obtain record corresponds to institute
State the nearest history read point at message communication interface;
Second positioning unit, positioning to the unread message position nearest with the nearest history read point.
Therefore, the application screens unread message in the case where user actively triggers, to help user quick
It checks useful or interested unread message, improves the reading efficiency of user.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.