Disclosure of Invention
An object of one or more embodiments of the present disclosure is to provide a message display method and apparatus for improving efficiency of recognizing a specific message.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
in one aspect, one or more embodiments of the present specification provide a message display method, including:
determining whether a target message meeting a distinguishing display condition exists in a display interface of the message;
and if so, distinguishing and displaying the target message in the display interface.
Optionally, the targeted message is displayed in the display interface in a differentiated manner, and the targeted message includes at least one of the following:
amplifying the display size of the target message to a preset size or amplifying a preset proportion;
increasing the display brightness of the target message;
changing a display color of the target message;
and displaying the target message on a specified protruding position on the display interface and/or a floating layer popped up on the display interface.
Optionally, the differentiated display of the target message in the display interface includes:
blurring a display area which is adjacent to the target message and in a set range; wherein the blurring process comprises at least one of: reducing the display scale of the message, reducing the brightness, blurring the message, changing the display color of the message and shielding the display.
Optionally, the distinguishing display condition includes: the message is located in a specific area on the display interface;
the specific area comprises a set area and/or an area corresponding to a sliding operation performed on the display interface.
Optionally, the differentiated display of the target message in the display interface includes:
changing the display parameters of the target message in a gradual mode when the target message moves in the specific area;
wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the method further comprises:
and if the target message is monitored to leave the specific area, restoring the display parameters of the target message to the original display parameters.
Optionally, the distinguishing display condition includes: the message is located at a specific position on the display interface; the specific position comprises a set position and/or a position corresponding to a sliding operation performed on the display interface.
Optionally, the differentiated display of the target message in the display interface includes:
altering display parameters of the target message at the particular location;
wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the method further comprises:
and if the target message is monitored to leave the specific position, restoring the display parameters of the target message to the original display parameters.
Optionally, the display interface includes a plurality of specific areas or positions, and different specific areas or positions correspond to the same or different differentiated display modes;
the distinguishing display of the target message in the display interface comprises the following steps:
and when the target message is positioned in the specific area or position, displaying the target message in a distinguishing display mode corresponding to the specific area or position in which the target message is positioned.
Optionally, the message includes multiple formats, and messages of different formats correspond to the same or different differentiated display modes;
the distinguishing display of the target message in the display interface comprises the following steps:
and displaying the target message in a distinguishing display mode corresponding to the format of the target message according to the format of the target message.
In another aspect, one or more embodiments of the present specification provide a message display method including:
monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, distinguishing and displaying the target message in the display interface.
Optionally, the differentiated display of the target message in the display interface includes:
changing the display parameters of the target message in a gradual manner when the target message is scrolled in the specific area or position; wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the method further comprises:
and if the target message continues to scroll and leaves the specific area or position, restoring the display parameters of the target message to the original display parameters.
Optionally, the display interface includes a plurality of specific areas or positions, and different specific areas or positions correspond to the same or different differentiated display modes;
the distinguishing display of the target message in the display interface comprises the following steps:
and when the target message is positioned in the specific area or position, displaying the target message in a distinguishing display mode corresponding to the specific area or position in which the target message is positioned.
Optionally, the message includes multiple formats, and messages of different formats correspond to the same or different differentiated display modes;
the distinguishing display of the target message in the display interface comprises the following steps:
and displaying the target message in a distinguishing display mode corresponding to the format of the target message according to the format of the target message.
In yet another aspect, one or more embodiments of the present specification provide a message display apparatus including:
the determining module is used for determining whether the target message meeting the distinguishing display condition exists in a display interface of the message;
and the display module is used for distinguishing and displaying the target message in the display interface if the target message meeting the distinguishing and displaying conditions exists.
Optionally, the distinguishing display condition includes: the message is located in a specific area on the display interface;
the specific area comprises a set area and/or an area corresponding to a sliding operation performed on the display interface.
Optionally, the display module comprises:
a changing unit which changes the display parameter of the target message in a gradual change mode when the target message moves in the specific area;
wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the display module further comprises:
and the restoring unit is used for restoring the display parameters of the target message to the original display parameters if the target message is monitored to leave the specific area.
In yet another aspect, one or more embodiments of the present specification provide a message display apparatus including:
the monitoring module is used for monitoring whether a target message which is scrolled to a specific area or position exists in a display interface which displays a plurality of messages in a scrolling manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, the target message is distinguished and displayed in the display interface.
Optionally, the display module comprises:
a changing unit that changes a display parameter of the target message in a gradual manner when the target message is scrolled in the specific area or position; wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the display module further comprises:
and the restoring unit is used for restoring the display parameters of the target message to the original display parameters if the target message continues to scroll and leaves the specific area or position.
In yet another aspect, one or more embodiments of the present specification provide a message display apparatus, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
determining whether a target message meeting a distinguishing display condition exists in a display interface of the message;
and if so, distinguishing and displaying the target message in the display interface.
In yet another aspect, one or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following:
determining whether a target message meeting a distinguishing display condition exists in a display interface of the message;
and if so, distinguishing and displaying the target message in the display interface.
In yet another aspect, one or more embodiments of the present specification provide a message display apparatus, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, distinguishing and displaying the target message in the display interface.
In yet another aspect, one or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following:
monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, distinguishing and displaying the target message in the display interface.
By adopting the technical scheme of one or more embodiments of the specification, the target message meeting the distinguishing display condition can be distinguished and displayed in the message display interface, so that the target message displayed in the display interface can be distinguished from other messages, a user can conveniently and quickly identify the target message from a plurality of messages, the problem of narrow sight range of human eyes is solved, and the efficiency of identifying the specific message is greatly improved.
Detailed Description
One or more embodiments of the present disclosure provide a message display method and apparatus for improving efficiency of identifying a specific message.
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments of the present disclosure without making any creative effort shall fall within the protection scope of one or more of the embodiments of the present disclosure.
Fig. 1 is a schematic flow chart of a message display method according to an embodiment of the present specification, as shown in fig. 1, the method including:
step S102, in the display interface of the message, whether the target message meeting the distinguishing display condition exists is determined.
And step S104, if yes, distinguishing and displaying the target message in a display interface.
In this embodiment, the message may be any of various instant messages, various news resources (e.g., news headlines), and the like, and a plurality of messages can be displayed at the same time.
By adopting the technical scheme of one or more embodiments of the specification, the target message meeting the distinguishing display condition can be distinguished and displayed in the message display interface, so that the target message displayed in the display interface can be distinguished from other messages, a user can conveniently and quickly identify the target message from a plurality of messages, the problem of narrow sight range of human eyes is solved, and the efficiency of identifying the specific message is greatly improved.
The message display method shown in steps S102-S104 is explained in detail below.
In one embodiment, the distinguishing display condition may include at least one of:
a1, the message is located in a specific area on the display interface; the specific area comprises a set area and/or an area corresponding to a sliding operation performed on the display interface.
In one embodiment, the specific area can be set as the central area of the display interface in combination with the visual habit of the user to browse the message. The size of the area corresponding to the sliding operation may be a fixed size, or may be determined according to the size of a screen contact object (such as a finger, a touch pen, and the like) performing the sliding operation. For example, when the user performs a slide operation with a finger on the display interface, the area size of the specific area matches the width of the finger in contact with the screen.
a2, the message is located at a specific position on the display interface; the specific position comprises a set position and/or a position corresponding to a sliding operation performed on the display interface.
In one embodiment, the specific position can be set as the central position of the display interface in combination with the visual habit of the user for browsing the message. The position corresponding to the sliding operation can be determined according to the position of a screen contact object (such as a finger, a touch pen and the like) performing the sliding operation on the screen. For example, if the user finger performs a sliding operation on the display interface, the specific position is the center position where the user finger contacts the screen.
In one embodiment, the targeted message is displayed in a display interface in a differentiated manner, including at least one of the following:
b1, enlarging the display size of the target message to a preset size or enlarging the display size to a preset scale.
b2, increasing the display brightness of the target message.
b3, changing the display color of the target message.
b4, displaying the target message on the appointed protruding position on the display interface and/or the floating layer popped up on the display interface.
For the different distinguishing display conditions listed in the above embodiments, the way of distinguishing display messages respectively corresponding thereto is different. The following description will be made for the two different conditions for the differential display.
When there is a target message satisfying the distinguishing display condition a1 (i.e., the target message is located in a specific area on the display interface), if the target message moves in the specific area, the display parameters of the target message are changed in a gradual manner. Wherein the display parameter includes at least one of display size, display brightness, display color, and display position. And if the target message leaves the specific area, restoring the display parameters of the target message to the original display parameters. When the display parameters of the target message are restored, the display parameters can also be restored in a gradual change mode.
In this embodiment, when the display parameters of the target message are changed, the display parameters of all messages may be changed, or only the display parameters of a part of messages may be changed. For example, when the display size of the target message is enlarged for the target message in the text format, the display size of all the text in the target message may be enlarged, or only the display parameters of the first two words of the target message may be enlarged.
In this embodiment, whether the target message enters the specific area may be monitored, and when the target message enters the specific area and continues to move within the specific area, the display parameter of the target message is changed in a gradual manner. When it is monitored that the target message enters the specific area, the initial position of the specific area can be specified in advance, and when it is monitored that the target message reaches the initial position, the target message is determined to enter the specific area. In addition, it is also possible to specify in advance an end position of the specific area to which the target message is moved and to continue moving until leaving the end position, and to determine that the target message leaves the specific area.
In one embodiment, the display parameter is a display size. And when the target message moves in the specific area, the display size of the target message is enlarged to a preset size or enlarged to a preset scale in a gradual change mode. When the target message moves to the end position of the specific area, the display size of the target message is just enlarged to a preset size or enlarged by a preset scale. When the target message leaves the specific area (namely, the target message continues to move after reaching the end position of the specific area), the display size of the target message is restored to the original display size in a gradual change mode.
In one embodiment, the display parameter is display brightness. When the target message moves in the specific area, the display brightness of the target message is increased in a gradual change mode, such as increasing to a preset brightness or increasing a preset proportion. When the target message moves to the end position of the specific area, the display brightness of the target message is just increased to the preset brightness or increased by the preset ratio. When the target message leaves the specific area (namely, the target message continues to move after reaching the end position of the specific area), the display brightness of the target message is restored to the original brightness in a gradual change mode.
In one embodiment, the display parameter is a display color. When the target message moves in a specific area, the display color of the target message is changed in a gradual manner. When the display color of the target message is changed, the display color of the target message can be changed into another color completely different from the original display color, for example, the display color of the target message is changed from original black to red; the display color of the target message may also be changed to only color saturation based on the original display color, such as changing the display color of the target message from the original light green to dark green. When the target message leaves the specific area (namely, the target message continues to move after reaching the end position of the specific area), the display color of the target message is restored to the original display color in a gradual change mode.
In one embodiment, the display parameter is a display location. When the target message moves in the specific area, the display position of the target message on the display interface is changed in a gradual mode, such as the target message is displayed at a designated protruding position on the display interface or the target message is displayed on a floating layer popped up on the display interface. When the target message leaves the specific area (i.e. continues to move after reaching the end position of the specific area), the display position of the target message is gradually restored to the original display position thereof, for example, the target message is gradually moved from the designated protruding position on the display interface to the original display position thereof, or the display position of the target message is gradually restored from the floating layer to the original display position thereof.
The above-mentioned several display parameter modification modes can be used alone to modify the target message, or can be combined with multiple modes to modify the target message. For example, when the target message moves in a specific area, the display size of the target message is enlarged in a gradation manner while the display brightness of the target message is changed in a gradation manner.
In the message display method in the above embodiment, the preferred application scenario is a message display interface of an instant messaging application. In a message display interface of an instant messaging application, a user often searches for a required message in a plurality of instant messages through sliding operation, and due to the fact that human eyes are difficult to quickly focus when the plurality of instant messages simultaneously roll in the display interface, the message display method in the embodiment of the specification is adopted to distinguish and display target instant messages meeting the distinguishing and displaying conditions, and therefore the user can conveniently and quickly search for the required message from the plurality of instant messages.
Fig. 2 is an interface diagram illustrating a message display method in an exemplary embodiment. In this embodiment, the message display method is preferably applied to an instant messaging application scenario. The display parameter is a display size. As shown in fig. 2, a message 1, a message 2, a message 3, a message 4, and a message 5 moving to the lower side of the screen are displayed in the display interface, wherein the message 1 does not enter the specific area 200, the message 2 and the message 3 move into the specific area 200, and the message 4 and the message 5 move out of the specific area 200. Optionally, when monitoring whether the message enters the specific area 200, whether the message moves to the initial position 201 of the specific area 200 may be monitored, and if so, it is determined that the message enters the specific area. In monitoring whether the message leaves the specific area 200, it may be monitored whether the message moves to an end position 202 of the specific area 200 and continues to move until leaving the end position 202, and if so, it is determined that the message leaves the specific area 200. As can be seen in fig. 2, since the message 1 does not enter the specific area 200, the display size of the message 1 is the original display size thereof; since the messages 2 and 3 enter the specific area 200, the display sizes of the messages 2 and 3 are gradually enlarged until the messages are enlarged to a preset size or a preset scale, wherein the display size of the message 3 is enlarged to the preset size or the preset scale; since the messages 4 and 5 leave the specific area 200, the display sizes of the messages 4 and 5 are restored in a gradual manner until the original display sizes are restored, and the display size of the message 5 is restored to the original display size.
When the target message exists and meets the distinguishing display condition a2 (namely, the target message is located at a specific position on the display interface), changing the display parameters of the target message at the specific position; wherein the display parameter includes at least one of display size, display brightness, display color, and display position. The specific position comprises a set position and/or a position corresponding to a sliding operation performed on the display interface. When determining whether the target message is located at a specific position on the display interface, it may be determined whether a bottom position, a center position, a top position, or the like of the target message is located at the specific position on the display interface. For example, a plurality of messages move on the display interface, and if the bottom position of one message moves to a specific position on the display interface, the message is determined to be a target message located at the specific position on the display interface.
In this embodiment, when the display parameters of the target message are changed, the display parameters of all messages may be changed, or only the display parameters of a part of messages may be changed. For example, when the display size of the target message is enlarged for the target message in the text format, the display size of all the text in the target message may be enlarged, or only the display parameters of the first two words of the target message may be enlarged.
In addition, if the target message is monitored to leave the specific position, the display parameters of the target message are restored to the original display parameters. In determining whether the target message leaves the specific location, it may be determined whether a bottom position, a center position, a top position, or the like of the target message leaves the specific location. If the bottom position, the center position, the top position, or the like of the target message leaves a specific location, it can be determined that the target message leaves the specific location.
In one embodiment, the display parameter is a display size. When the target message is located at a specific position on the display interface, the display size of the target message is enlarged to a preset size or enlarged by a preset proportion at the specific position. And when the target message is monitored to leave the specific position, restoring the display size of the target message to the original display size.
In one embodiment, the display parameter is display brightness. When the target message is located at a specific position on the display interface, the display brightness of the target message is increased at the specific position, such as to a preset brightness or a preset proportion. And when the target message is monitored to leave the specific position, restoring the display brightness of the target message to the original display brightness.
In one embodiment, the display parameter is a display color. When the target message is located at a specific position on the display interface, the display color of the target message is changed at the specific position. When the display color of the target message is changed, the display color of the target message can be changed into another color completely different from the original display color, for example, the display color of the target message is changed from original black to red; the display color of the target message may also be changed to only color saturation based on the original display color, such as changing the display color of the target message from the original light green to dark green. And when the target message is monitored to leave the specific position, restoring the display color of the target message to the original display color.
In one embodiment, the display parameter is a display location. When the target message is located at a specific position on the display interface, the display position of the target message on the display interface is changed, such as the target message is displayed at a designated protruding position on the display interface or the target message is displayed on a floating layer popped up on the display interface. When the target message is monitored to leave the specific position, the display position of the target message is restored to the original display position thereof, for example, the target message is restored from the specified protruding position on the display interface to the original display position thereof, or the display position of the target message is returned to the original display position thereof by the floating layer.
The above-mentioned several display parameter modification modes can be used alone to modify the target message, or can be combined with multiple modes to modify the target message. For example, when the target message is located at a specific position on the display interface, the display color and the display size of the target message are changed simultaneously.
Fig. 3 is an interface diagram showing a message display method in the above embodiment. In this embodiment, the display parameter is a display size, and the specific position is a set position. Assuming that when the bottom position of the target message is located at a specific position on the display interface, it can be determined that the target message is located at the specific position on the display interface; when the top position of the target message leaves a specific position on the display interface, it may be determined that the target message leaves the specific position on the display interface. As shown in fig. 3, a message 1, a message 2 and a message 3 moving to the lower part of the screen are displayed on the display interface, wherein the bottom position of the message 1 does not reach the specific position 300, so that the display size of the message 1 is the original display size; the bottom position of the message 2 is located at the specific position 300, so that the display size of the message 2 is enlarged to a preset size or enlarged by a preset proportion; the top position of the message 3 is moved away from the specific position 300, and thus the display size of the message 3 is restored to its original display size.
Fig. 4 is an interface diagram showing a message display method in the above embodiment. In this embodiment, the display parameter is still the display size, and the specific position is a position corresponding to the sliding operation performed on the display interface, that is, the specific position is not fixed and changes with the change of the sliding operation position of the finger of the user on the display interface. In this embodiment, the position of the finger sliding operation on the display interface is the specific position. As shown in fig. 4, a message 1, a message 2, and a message 3 are displayed on the display interface, wherein the message 1, the message 2, and the message 3 scroll downward along with the downward sliding operation of the user's finger, and the arrow on the display interface in the figure indicates the sliding direction of the user's finger. As can be seen from fig. 4, the message 2 is enlarged to a preset size or enlarged by a preset scale due to scrolling to a position of the slide operation performed by the user's finger, i.e., a specific position.
In one embodiment, the display interface includes a plurality of specific areas or positions, and different specific areas or positions correspond to the same or different distinguishing display modes. Then, when the target message is displayed in the display interface in a differentiated manner, if the target message is located in a specific area or position, the target message may be displayed in a differentiated display manner corresponding to the specific area or position where the target message is located.
For example, the display interface includes a specific area a and a specific area B, where the specific area a corresponds to a differentiated display mode in which the display size of the target message is enlarged in a gradual manner, and the specific area B corresponds to a differentiated display mode in which the display color of the target message is changed in a gradual manner. Assuming that there is a case where the target message 1 enters the specific area a and the target message 2 enters the specific area B in the display interface, when the target message 1 moves within the specific area a and the target message 2 moves within the specific area B, the display size of the target message 1 is enlarged in a gradation manner and the display color of the target message 2 is changed in a gradation manner.
In this embodiment, when the display interface includes a plurality of specific areas or locations, the target message can be displayed in the differentiated display mode corresponding to each specific area or location, so that the terminal can differentiate the target message and display the target message, and meanwhile, the diversification of the differentiated display effect of the message can be increased, thereby improving the visual experience of the user.
In one embodiment, the message includes multiple formats, with different formats of the message corresponding to the same or different differentiated display modes. Then, when the target message is displayed in the display interface in a differentiated manner, the target message may be displayed in a differentiated display manner corresponding to the format of the target message according to the format of the target message. The format of the message may be any format suitable for the message class, such as text, image, animation, etc.
For example, the display interface includes both text messages and image messages, where the differentiated display mode corresponding to the text messages is to change the display color of the target message, and the differentiated display mode corresponding to the image messages is to enlarge the display size of the target message. If the text type target message exists in the display interface and is located in a specific area or position, changing the display color of the text type target message; and if the image type target message exists in the display interface and is positioned in the specific area or position, enlarging the display size of the image type target message.
In the embodiment, different modes of distinguishing and displaying can be carried out on target messages in different formats, so that the effect of distinguishing and displaying the messages can be enriched when the terminal distinguishes and displays the target messages, the visual experience of a user is improved, the user can conveniently and rapidly recognize the target messages in different formats from a plurality of messages, and the efficiency of recognizing specific messages is greatly improved.
In one embodiment, when the target message is displayed in a display interface in a distinguishing manner, a display area which is adjacent to the target message and has a set range can be subjected to blurring processing; wherein the blurring process comprises at least one of: reducing the display scale of the message, reducing the brightness, blurring the message, changing the display color of the message and shielding the display.
Fig. 5 is a schematic flow chart of a message display method according to an embodiment of the present specification, as shown in fig. 5, the method including:
step S502, in a display interface for displaying a plurality of messages in a rolling mode, monitoring whether a target message which is rolled to a specific area or position exists; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface.
And step S504, if yes, distinguishing and displaying the target message in a display interface.
In this embodiment, the scrolling direction of the plurality of messages in the display interface may be any designated direction.
By adopting the technical scheme of one or more embodiments of the specification, the target message which is scrolled to a specific area or position can be distinguished and displayed in the display interface which displays a plurality of messages in a scrolling manner, so that the target message displayed in the display interface can be distinguished from other messages, a user can conveniently and quickly identify the target message from the plurality of messages, the problem that human eyes are difficult to quickly focus when the plurality of messages are scrolled simultaneously, and the message searching efficiency of human eyes is low is solved, and the efficiency of identifying the specific message is greatly improved.
In one embodiment, when the target message is displayed in a display interface in a distinguishing manner, if the target message scrolls in a specific area or position, the display parameters of the target message are changed in a gradual change manner; and if the target message continues to scroll and leaves the specific area or position, restoring the display parameters of the target message to the original display parameters. Wherein the display parameter includes at least one of display size, display brightness, display color, and display position.
In summary, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
Based on the same idea, the message display method provided in one or more embodiments of the present specification further provides a message display device.
Fig. 6 is a schematic block diagram of a message display apparatus according to an embodiment of the present specification, as shown in fig. 6, the apparatus including:
a determining module 610, configured to determine whether a target message meeting a differentiated display condition exists in a display interface of the message;
and the display module 620 is used for displaying the target message in a distinguishing manner in the display interface if the target message meeting the distinguishing display condition exists.
Optionally, distinguishing the display condition includes: the message is located in a specific area on the display interface;
the specific area comprises a set area and/or an area corresponding to a sliding operation performed on the display interface.
Optionally, the display module 620 includes:
a blurring unit which performs blurring processing on a display area adjacent to the target message and in a set range; wherein the blurring process comprises at least one of: reducing the display scale of the message, reducing the brightness, blurring the message, changing the display color of the message and shielding the display.
Optionally, distinguishing the display condition includes: the message is located in a specific area on the display interface;
the specific area comprises a set area and/or an area corresponding to a sliding operation performed on the display interface.
Optionally, the display module 620 includes:
a changing unit for changing the display parameter of the target message in a gradual change mode when the target message moves in the specific area; wherein the display parameter includes at least one of display size, display brightness, display color, and display position.
Optionally, the display module 620 further includes:
and the restoring unit is used for restoring the display parameters of the target message to the original display parameters if the target message leaves the specific area.
Optionally, the display interface includes a plurality of specific areas or positions, and different specific areas or positions correspond to the same or different differentiated display modes; the display module 620 is further configured to:
when the target message is located in a specific area or position, the target message is displayed in a distinguishing display mode corresponding to the specific area or position where the target message is located.
Optionally, the message includes multiple formats, and messages of different formats correspond to the same or different differentiated display modes; the display module 620 is further configured to:
and displaying the target message in a distinguishing display mode corresponding to the format of the target message according to the format of the target message.
Fig. 7 is a schematic block diagram of a message display apparatus according to an embodiment of the present specification, as shown in fig. 7, the apparatus including:
a monitoring module 710 for monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on a display interface;
and if so, the display module 720 distinguishes and displays the target message in the display interface.
Optionally, the display module 720 includes:
a changing unit for changing the display parameter of the target message in a gradual change mode when the target message is scrolled in a specific area or position; wherein the display parameter includes at least one of display size, display brightness, display color, and display position.
Optionally, the display module 720 further includes:
and the restoring unit is used for restoring the display parameters of the target message to the original display parameters if the target message continues to scroll and leaves a specific area or position.
It should be understood by those skilled in the art that the message display apparatus in fig. 6 and fig. 7 can be used to implement the message display method described above, and the detailed description thereof should be similar to the detailed description of the method described above, and is not repeated herein to avoid complexity.
Along the same lines, one or more embodiments of the present specification further provide a message display apparatus, as shown in fig. 8. The message display apparatus may vary widely in configuration or performance and may include one or more processors 801 and memory 802, where one or more stored applications or data may be stored in the memory 802. Wherein the memory 802 may be a transient storage or a persistent storage. The application program stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a message display device. Still further, the processor 801 may be configured to communicate with the memory 802 to execute a series of computer-executable instructions in the memory 802 on the message display device. The message display apparatus may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input-output interfaces 805, one or more keyboards 806.
In particular, in this embodiment, the message display apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the message display apparatus, and the one or more programs configured for execution by the one or more processors include computer-executable instructions for:
determining whether a target message meeting a distinguishing display condition exists in a display interface of the message;
and if so, distinguishing and displaying the target message in the display interface.
Optionally, the targeted message is displayed in the display interface in a differentiated manner, and the targeted message includes at least one of the following:
amplifying the display size of the target message to a preset size or amplifying a preset proportion;
increasing the display brightness of the target message;
changing a display color of the target message;
and displaying the target message on a specified protruding position on the display interface and/or a floating layer popped up on the display interface.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
blurring a display area which is adjacent to the target message and in a set range; wherein the blurring process comprises at least one of: reducing the display scale of the message, reducing the brightness, blurring the message, changing the display color of the message and shielding the display.
Optionally, the distinguishing display condition includes: the message is located in a specific area on the display interface;
the specific area comprises a set area and/or an area corresponding to a sliding operation performed on the display interface.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
changing the display parameters of the target message in a gradual mode when the target message moves in the specific area;
wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
and if the target message is monitored to leave the specific area, restoring the display parameters of the target message to the original display parameters.
Optionally, the distinguishing display condition includes: the message is located at a specific position on the display interface; the specific position comprises a set position and/or a position corresponding to a sliding operation performed on the display interface.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
altering display parameters of the target message at the particular location;
wherein the display parameter comprises at least one of display size, display brightness, display color and display position.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
and if the target message is monitored to leave the specific position, restoring the display parameters of the target message to the original display parameters.
Optionally, the display interface includes a plurality of specific areas or positions, and different specific areas or positions correspond to the same or different differentiated display modes; the computer executable instructions, when executed, may further cause the processor to:
and when the target message is positioned in the specific area or position, displaying the target message in a distinguishing display mode corresponding to the specific area or position in which the target message is positioned.
Optionally, the message includes multiple formats, and messages of different formats correspond to the same or different differentiated display modes; the computer executable instructions, when executed, may further cause the processor to:
and displaying the target message in a distinguishing display mode corresponding to the format of the target message according to the format of the target message.
Optionally, the computer executable instructions, when executed, may further cause the processor to:
monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, distinguishing and displaying the target message in the display interface.
One or more embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the above-mentioned message display method, and in particular to perform:
monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, distinguishing and displaying the target message in the display interface.
One or more embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the above-mentioned message display method, and in particular to perform:
monitoring whether there is a target message scrolled to a specific area or location in a display interface displaying a plurality of messages in a scroll manner; the specific area or position comprises a set area or position and/or an area or position corresponding to a sliding operation performed on the display interface;
and if so, distinguishing and displaying the target message in the display interface.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present specification are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only one or more embodiments of the present disclosure, and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of claims of one or more embodiments of the present specification.