Message processing method and device, computer device, storage medium and program product
By automatically or manually replacing emoji icons with secondary emoji icons in the social interface, the problem of limited emoji icon usage is solved, resulting in a more efficient social experience and enhanced fun.
Patent Information
- Application Number
- CN202111439205.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2041-11-29
AI Technical Summary
Emoji icons are limited in their use in social scenarios and lack fun. When social users need to manually select and replace them, it incurs a high time cost.
In the social interface, after an emoji icon is entered in the message editing area, it can be automatically or manually replaced with a second emoji icon based on the target information. The target information includes message text, voice information, or associated emoji icons, and the meaning of the replaced emoji icon is consistent with the target information.
It enriches the ways in which emojis can be used in social scenarios, reduces the time cost of selection, and enhances the fun and user experience of social scenarios.
Smart Images

Figure CN116192786B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to a message processing method and device, computer equipment, storage medium and program product. BACKGROUND
[0002] With the development of the Internet era, network socializing has emerged and become one of indispensable socializing ways in daily life. In a network socializing scenario (hereinafter referred to as a socializing scenario), more and more socializing objects (for example, users) use emoji (expression icon, also known as color text or picture text, etc.) for socializing. As shown in the expression icon 101 in the socializing scenario, the socializing object can use the expression icon 101 as the message content of the socializing message for socializing. It can be seen that the use of the expression icon in the socializing scenario is relatively single and lacks interest. Figure 1 SUMMARY
[0003] The embodiments of the present application provide a message processing method and device, computer equipment, storage medium and program product, which can enrich the use of the expression icon in the socializing scenario and improve the interest of the socializing scenario.
[0004] In one aspect, the embodiments of the present application provide a message processing method, which comprises:
[0005] displaying a socializing interface, the socializing interface comprising a message editing area and a message display area; receiving the message content input in the message editing area, the message content comprising a first expression icon; and in response to a sending event of the message content in the message editing area, displaying a target socializing message in the message display area, the target socializing message comprising a second expression icon, the second expression icon being an expression icon obtained by replacing the first expression icon.
[0006] In the embodiments of the present application, when the message content input in the message editing area of the socializing interface comprises the first expression icon, the second expression icon obtained by replacing the first expression icon can be displayed in the message display area of the socializing interface in response to the sending event of the message content in the message editing area. That is, the expression icon in the message editing area can change in the process of sending to the message display area for display, which can enrich the use of the expression icon in the socializing scenario and improve the interest of the socializing scenario.
[0007] In another aspect, the embodiments of the present application provide another message processing method, which comprises:
[0008] The display unit is configured to display a social interface, the social interface comprising a message editing area and a message display area; receive message content input in the message editing area, the message content comprising a first emoticon; and in response to a sending event of the message content in the message editing area, display a target social message in the message display area, the target social message comprising the first emoticon; and when a display time of the target social message in the message display area meets a time condition, replace the first emoticon in the target social message with a second emoticon.
[0009] In the embodiments of the present application, the social interface can comprise a message editing area and a message display area, message content input in the message editing area can comprise a first emoticon, and after the message content is sent to the message display area in the form of a target social message for display, when a display time of the target social message in the message display area meets a time condition, the first emoticon in the target social message can be replaced with a second emoticon; that is, the emoticon in the message editing area can change after being sent to the message display area for display for a period of time, which can enrich the use mode of the emoticon in the social scenario and improve the interest of the social scenario.
[0010] Correspondingly, the embodiments of the present application provide a message processing apparatus, which comprises:
[0011] The display unit is configured to display a social interface, the social interface comprising a message editing area and a message display area;
[0012] The processing unit is configured to receive message content input in the message editing area, the message content comprising a first emoticon.
[0013] The display unit is further configured to, in response to a sending event of the message content in the message editing area, display a target social message in the message display area, the target social message comprising a second emoticon, the second emoticon being an emoticon obtained by replacing the first emoticon.
[0014] In an implementation manner, the message content further comprises target information, the target social message further comprises the target information, and the second emoticon is an emoticon obtained by replacing the first emoticon based on the target information.
[0015] In an implementation, the message display area displays a first social message, the first social message includes the target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information; wherein the target social message includes the second emoticon icon obtained by replacing the first emoticon icon when at least one of the following relationships exists between the target social message and the first social message: a sending time of the first social message is earlier than a sending time of the target social message, a social object sending the target social message is the same as a social object sending the first social message, and a time interval between the sending time of the target social message and the sending time of the first social message does not exceed a time length threshold.
[0016] In an implementation, the display unit is further configured to perform the following steps after displaying the target social message in the message display area:
[0017] receiving new message content input in the message editing area, the new message content including new target information; in response to a sending event of the new message content in the message editing area, displaying a second social message in the message display area, and replacing the second emoticon icon in the target social message with a third emoticon icon; the second social message includes the new target information, and the third emoticon icon is an emoticon icon obtained by replacing the second emoticon icon based on the new target information.
[0018] In an implementation, the social interface further includes an emoticon transformation control, and the message content further includes target information; the display unit is further configured to perform the following steps: if the emoticon transformation control is triggered, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
[0019] In an implementation, the display unit is further configured to perform the following steps: if the message content further includes target information, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
[0020] In an implementation, the message content further includes target information; the display unit is further configured to perform the following steps: in response to a sending event of the message content in the message editing area, if a meaning expressed by the target information in the message content and a meaning expressed by the first emoticon icon do not match, displaying an emoticon icon selection area, the emoticon icon selection area including a plurality of alternative emoticon icons, any one of the alternative emoticon icons being used to replace the first emoticon icon; selecting one of the alternative emoticon icons from the emoticon icon selection area as a second emoticon icon included in the target social message, and triggering the step of displaying the target social message in the message display area.
[0021] In an implementation manner, the social interface further includes a message sending control, the message sending control being configured to send the message content received in the message editing area to the message display area for display; and the processing unit is further configured to: if the message sending control is triggered, generate a sending event.
[0022] In an implementation manner, the display unit is further configured to: display an expression animation of the second expression icon in the social interface.
[0023] In an implementation manner, the target information includes: a message text, voice information or an associated expression icon; and the second expression icon represents the same meaning as the target information.
[0024] In an implementation manner, the display unit is further configured to:
[0025] The expression management list of the first expression icon includes a plurality of transformed expression icons of the first expression icon and trigger display information for triggering display of each transformed expression icon; wherein the plurality of transformed expression icons in the expression management list are expression icons formed by transforming the first expression icon in one or more ways; and the second expression icon is any transformed expression icon in the expression management list of the first expression icon.
[0026] In an implementation manner, the trigger display information of the transformed expression icon includes description information, the description information being configured to describe a meaning represented by the transformed expression icon; the target information includes a message text; and the message processing apparatus further includes a processing unit, the processing unit being further configured to:
[0027] obtain content information of the message text, the content information being semantic information obtained by performing semantic analysis on the message text or keywords obtained by performing keyword extraction on the message text; match the content information with the description information of each transformed expression icon in the expression management list; and determine the transformed expression icon corresponding to the description information with the highest matching degree with the content information as the second expression icon.
[0028] In an implementation manner, the trigger display information of the transformed expression icon includes a trigger expression icon, and the target information includes an associated expression icon; and the processing unit is further configured to: if there is a trigger expression icon matching the associated expression icon in the expression management list, determine the transformed expression icon corresponding to the matching trigger expression icon as the second expression icon.
[0029] Correspondingly, another message processing apparatus is provided in the embodiments of the present application, and the message processing apparatus includes:
[0030] a display unit configured to display a social interface, the social interface including a message editing area and a message display area;
[0031] receive a message content input in a message editing area, the message content including a first emoticon icon;
[0032] display, in response to a sending event of the message content in the message editing area, a target social message in a message display area, the target social message including the first emoticon icon; and replace the first emoticon icon in the target social message with a second emoticon icon when a display time of the target social message in the message display area meets a time condition.
[0033] In an implementation manner, the message content further includes target information, the target social message further includes the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0034] In an implementation manner, the message display area displays a first social message, the first social message includes target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0035] In an implementation manner, the message display area displays a first social message, the first social message includes target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0036] In an implementation manner, the social interface further includes a message sending control, the message sending control being used to send the message content received in the message editing area to the message display area for display; and the processing unit is further used to perform the following step: generating the sending event if the message sending control is triggered.
[0037] In an implementation manner, the display unit is further used to perform the following step: displaying an emoticon animation of the second emoticon icon in the social interface.
[0038] In an implementation manner, the target information includes a message text, voice information, or an associated emoticon icon, and the second emoticon icon expresses a same meaning as the target information.
[0039] In an implementation manner, the display unit is further used to perform the following step:
[0040] The first emoticon icon is configured with an emoticon management list, the emoticon management list including a plurality of transformed emoticon icons of the first emoticon icon and trigger display information for triggering display of each transformed emoticon icon; wherein the plurality of transformed emoticon icons in the emoticon management list refer to emoticon icons formed by one or more transformations of the first emoticon icon; the second emoticon icon is any transformed emoticon icon in the emoticon management list of the first emoticon icon.
[0041] In an implementation manner, the trigger display information of the transformed emoticon icon includes description information for describing the meaning expressed by the transformed emoticon icon; the target information includes message text; and the message processing apparatus further includes a processing unit; the processing unit is further configured to perform the following steps:
[0042] obtain content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or is a keyword obtained by performing keyword extraction on the message text; match the content information with the description information of each transformed emoticon icon in the emoticon management list; and determine the transformed emoticon icon corresponding to the description information with the highest matching degree with the content information as the second emoticon icon.
[0043] In an implementation manner, the trigger display information of the transformed emoticon icon includes a trigger emoticon icon, and the target information includes an associated emoticon icon; the processing unit is further configured to perform the following steps: if there is a trigger emoticon icon matching the associated emoticon icon in the emoticon management list, then determine the transformed emoticon icon corresponding to the matching trigger emoticon icon as the second emoticon icon.
[0044] Correspondingly, an embodiment of the present application provides a computer device, which comprises a processor and a computer readable storage medium; wherein the processor is adapted to implement a computer program; the computer readable storage medium stores the computer program, and the computer program is adapted to be loaded and executed by the processor.
[0045] Correspondingly, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is read and executed by a processor of a computer device, so that the computer device executes the message processing method.
[0046] Correspondingly, an embodiment of the present application provides a computer program product or a computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the message processing method.
[0047] In the embodiments of the present application, the social interface can include a message editing area and a message display area. The emoticon icons in the message editing area can change during the process of being sent to the message display area for display, or the emoticon icons in the message editing area can change after being sent to the message display area for display for a period of time. In this way, the use mode of the emoticon icons in the social scenario can be enriched, and the interestingness of the social scenario can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0049] Figure 1 is an interface schematic diagram of a use mode of an emoticon icon in the prior art provided by the embodiments of the present application;
[0050] Figure 2 is a schematic diagram of an emoticon icon and the meaning of emoticon icon expression provided by the embodiments of the present application;
[0051] Figure 3a is an interface schematic diagram of a message processing method provided by the embodiments of the present application;
[0052] Figure 3b is an interface schematic diagram of another message processing method provided by the embodiments of the present application;
[0053] Figure 4 is a flowchart of a message processing method provided by the embodiments of the present application;
[0054] Figure 5a is an interface schematic diagram of another message processing method provided by the embodiments of the present application;
[0055] Figure 5b is an interface schematic diagram of another message processing method provided by the embodiments of the present application;
[0056] Figure 5c is an interface schematic diagram of another message processing method provided by the embodiments of the present application;
[0057] Figure 5d is an interface schematic diagram of another message processing method provided by the embodiments of the present application;
[0058] Figure 5e is an interface schematic diagram of another message processing method provided by the embodiments of the present application;
[0059] Figure 5fis an interface schematic diagram of another message processing method provided by an embodiment of the present application;
[0060] Figure 5g is an interface schematic diagram of another message processing method provided by an embodiment of the present application;
[0061] Figure 5h is a schematic diagram of an expression management list provided by an embodiment of the present application;
[0062] Figure 5i is a schematic diagram of another expression management list provided by an embodiment of the present application;
[0063] Figure 6 is a flow schematic diagram of another message processing method provided by an embodiment of the present application;
[0064] Figure 7a is an interface schematic diagram of another message processing method provided by an embodiment of the present application;
[0065] Figure 7b is an interface schematic diagram of another message processing method provided by an embodiment of the present application;
[0066] Figure 8 is a flow schematic diagram of another message processing method provided by an embodiment of the present application;
[0067] Figure 9 is an architecture schematic diagram of a message processing system provided by an embodiment of the present application;
[0068] Figure 10 is a flow schematic diagram of another message processing method provided by an embodiment of the present application;
[0069] Figure 11 is a flow schematic diagram of another message processing method provided by an embodiment of the present application;
[0070] Figure 12 is a structure schematic diagram of a message processing device provided by an embodiment of the present application;
[0071] Figure 13 is a structure schematic diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0072] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0073] Embodiments of the present application relate to expression icons. Expression icons refer to pictographic icons that can be directly used for online social interaction, and are a kind of image-based expression language. Expression icons can often express meanings, Figure 2 The correspondence between expression icons and the meanings expressed by the expression icons is shown, the first expression icon expresses the meaning of "showing teeth", the second expression icon expresses the meaning of "blushing", the third expression icon expresses the meaning of "leaves", and so on. Figure 2 The meanings expressed by the expression icons shown are only exemplary, and the meanings expressed by the expression icons can include but are not limited to Figure 2 The meanings shown, such as the expression icon representing the meaning of "showing teeth", can also express the meanings of "smiling", "happy", and so on. Based on the characteristic that expression icons can express meanings, social objects (such as users) using social applications often use expression icons for social interaction, for example, a social object can send an expression icon in the form of a social message, that is, the expression icon is displayed as message content of the social message in a social interface, which can fully meet the expression needs of social objects in a social scenario.
[0074] Among them, the social application is a social tool used by the social object in the social scenario for social interaction, which refers to an application program with social functions, for example, a live application program, an audio and video playing application program, an instant messaging application program, a game application program, and other application programs with social functions can be called social applications. The social interface (also called AIO (chat interface)) refers to a visual and operable interface provided by the social application for the social object to participate in social interaction. The social interface can be a single social interface to which two social objects belong or a group chat social interface to which multiple social objects (such as two or more social objects) belong. The single social interface is used to display single social content between two social objects, and the group chat social interface is used to display group chat social content between multiple social objects. The social interface can include a message editing area and a message display area. The message editing area can be used to edit message content, and the message display area can be used to display a social message stream. The social message stream can include one or more sent social messages. The social message refers to information used for interaction and communication in a social scenario. The social object participates in social interaction by editing and sending social messages. The message content of the social message can include but is not limited to at least one of the following: text, voice, image, video, expression icon, file, and so on.
[0075] Based on the above description of emoticons, this application provides a message processing method based on emoticons. In this method, during the process of sending an emoticon icon in the message editing area to the message display area, it can change according to target information in the social interface. The meaning expressed by the changed emoticon icon is consistent with the meaning expressed by the target information. That is, the emoticon icon in the message editing area is a first emoticon icon, and the emoticon icon displayed in the message display area is a second emoticon icon. The second emoticon icon is obtained by changing the first emoticon icon based on the target information, and the meaning expressed by the second emoticon icon is consistent with the meaning expressed by the target information. Alternatively, after the emoticon icon in the message editing area has been displayed in the message display area for a period of time, it can change according to target information in the social interface. The meaning expressed by the changed emoticon icon is consistent with the meaning expressed by the target information. That is, the emoticon icon in the message editing area is a first emoticon icon, and the emoticon icon displayed in the message display area is still the first emoticon icon. After the first emoticon icon has been displayed for a period of time, it can automatically change to a second emoticon icon based on the target information, and the meaning expressed by the second emoticon icon is consistent with the meaning expressed by the target information. The target information can refer to the content used to trigger the display of the second emoticon icon, and the target information can include message text, voice information, or associated emoticon icons, etc.
[0076] Figure 3a Taking a message text as the target information as an example, this section describes how the emoticons in the message editing area change during the process of being sent to the message display area. For example... Figure 3a As shown, the message content in the input message editing area includes message text 3011 and a first emoticon icon 3012. When there is a sending event for the message content in the message editing area, the social message 301 can be displayed in the message display area in response to the sending event. The social message 301 includes message text 3011 and a second emoticon icon 3013. The second emoticon icon 3013 is obtained by transforming the first emoticon icon 3012 based on the message text 3011. The meaning expressed by the message text 3011 is consistent with the meaning expressed by the second emoticon icon 3013, both expressing the meaning of "thunder".
[0077] Figure 3b Taking the target information as an associated emoji icon as an example, this section describes how the emoji icon in the message editing area changes after being displayed in the message display area for a period of time. For example... Figure 3bAs shown, the message content in the input message editing area includes the associated emoticon icon 3014 and the first emoticon icon 3012; when there is a sending event of the message content in the message editing area, the social message 301 including the associated emoticon icon 3014 and the first emoticon icon 3012 can be displayed in the message display area in response to the sending event of the message content in the message editing area; when the social message 301 is displayed in the message display area for a period of time (for example, 0.1 seconds, 0.4 seconds, 1 second, etc.), the first emoticon icon 3012 in the social message 301 can be replaced by the second emoticon icon 3013; the second emoticon icon 3013 is obtained by transforming the first emoticon icon 3012 based on the associated emoticon icon 3014, and the meaning expressed by the associated emoticon icon 3014 is consistent with the meaning expressed by the second emoticon icon 3013, both expressing the meaning of "like".
[0078] In addition, the meaning expressed by the second emoticon icon consistent with the meaning expressed by the target information can be understood as that the second emoticon icon and the target information express the same mood state, color state, weather state, etc. For example, in the above Figure 3a In the embodiment shown, the target information and the second emoticon icon both express the meaning of "thunder" (i.e., the same weather state); for another example, in the above Figure 3b In the embodiment shown, the target information and the second emoticon icon both express the meaning of "like" (i.e., the same mood state); for another example, the target information is the message text "I like yellow flowers", the first emoticon icon is a red flower, the first emoticon icon can be transformed into the second emoticon icon based on the target information, the second emoticon icon is a yellow flower, and the target information and the second emoticon icon both express the meaning of "yellow" (i.e., the same color state).
[0079] Through the message processing method, the replaced emoticon icon can better express the context of the target information, can help the social object to more accurately express emotions, enrich the use mode of the emoticon icon in the social scene, increase the interest of the social scene, make the social object produce surprise when using the emoticon icon in the social scene, and improve the user stickiness. In Figure 1 In the use mode of the emoticon icon shown, the emoticon icon does not change, and when the social object wants the emoticon icon to better express the context of the target information, the social object needs to manually select a new emoticon icon to replace the original emoticon icon, which will cost a high time cost in selecting the emoticon icon, and the social experience brought to the social object is poor, while in Figure 3a or Figure 3bIn the illustrated expression icon usage mode, the expression icon can automatically change according to target information, so that the time cost of manually selecting a new expression icon to replace the original expression icon can be avoided, and the expression icon that meets the context of the target information can be changed in less time, which not only reduces the time cost of selecting an expression icon in a social scenario, but also improves the presentation effect of the expression icon in the social scenario and improves the social experience of the social object. The message content that triggers the change of the expression icon is various, such as text, voice, and expression, which enhances the interactivity between the expression icon and the message content.
[0080] The embodiments of the present application will be described in detail below. Figure 4 to Figure 11 The message processing scheme provided by the embodiments of the present application will be described in detail.
[0081] The message processing method provided by the embodiments of the present application is mainly introduced the visual presentation of the change of the expression icon in the sending process; the message processing method can be executed by a computer device, which can be a smart terminal, and the smart terminal can include but not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle terminal, a smart television, etc. As shown in the figure, Figure 4 The message processing method can include the following steps S401 to S403:
[0082] S401, display a social interface, the social interface includes a message editing area and a message display area.
[0083] As can be known from the foregoing, the social interface refers to a visual and operable interface provided by a social application for a social object to participate in social interaction, and the social application runs in a smart terminal. Here, the basic component regions of the social interface are introduced, and the social interface can include at least a message editing area, a message display area, and a message sending control. The message editing area can be used to edit message content; the message display area can be used to display a social message stream, which can include one or more sent social messages; and the message sending control can be used to send the message content received in the message editing area to the message display area in the form of a social message for display. That is, the process of sending a social message by a social object in the social interface is as follows: the social object edits the message content in the message editing area, triggers the message sending control after editing the social message, and after triggering the message sending control, the message content is sent to the message display area in the form of a social message for display. The message display area can also display the sending time of the social message and the object information of the social object that sent the social message (such as the object name and object avatar of the social object).
[0084] S402, receive the message content input in the message editing area, the message content including the first emoticon.
[0085] In step S402, the message content input in the message editing area by the social object can be received, and the message content can include the first emoticon.
[0086] S403, in response to the sending event of the message content in the message editing area, display the target social message in the message display area, the target social message including the second emoticon.
[0087] As can be seen from the foregoing, the message sending control in the social interface can be used to send the message content received in the message editing area to the message display area in the form of a social message for display, and when the message sending control is triggered, a sending event can be generated, that is, the sending event of the message content in the message editing area is the event generated when the message sending control is triggered. When the message sending control is triggered, that is, when there is a sending event of the message content in the message editing area in the social interface, the target social message can be displayed in the message display area in response to the sending event of the message content in the message editing area, and the target social message can include the second emoticon, which can be the emoticon obtained by replacing the first emoticon.
[0088] The second emoticon can be the emoticon obtained by replacing the first emoticon based on the target information. The target information used to trigger the first emoticon to change can be displayed in the message editing area or the message display area, which will be introduced as follows:
[0089] (1) The target information used to trigger the first emoticon to change can be displayed in the message editing area. The target information used to trigger the first emoticon to change can be displayed in the message editing area, which means that the message content input in the message editing area also includes the target information, in other words, the message content input in the message editing area can include the target information and the first emoticon. In this case, when there is a sending event of the message content in the message editing area in the social interface, the target social message can be displayed in the message display area in response to the sending event of the message content in the message editing area, and the target social message can include the second emoticon and the target information. That is, when the message content input in the message editing area includes the target information and the first emoticon, the first emoticon can be changed based on the target information in the process of sending the message content to the message display area in the form of the target social message for display, and the target social message displayed in the message display area can include the target information and the second emoticon obtained by changing. This case can be seen from Figure 5aThe social interface 50 includes a message editing area 501, a message display area 502, and a message sending control 503. The message content input in the message editing area 501 includes target information 5041 and a first emoticon icon 5042. After the message sending control 503 is triggered, the target social message 504 is displayed in the message display area 502, and the target social message 504 includes the target information 5041 and a second emoticon icon 5043. In this way, the emoticon icon can be transformed with the target information during sending, which is simple and interesting.
[0090] (2) The target information for triggering the first emoticon icon to be transformed can be displayed in the message display area. The target information for triggering the first emoticon icon to be transformed can be displayed in the message display area, which means that the target information is displayed in the message display area as the message content of a sent social message (hereinafter referred to as a first social message). In other words, the first social message can be displayed in the message display area, and the first social message can include the target information. In this case, when there is a sending event of the message content in the message editing area in the social interface, the target social message can be displayed in the message display area in response to the sending event of the message content in the message editing area, and the target social message can include the second emoticon icon and not the target information. That is, when the message content input in the message editing area includes the first emoticon icon, the target information for triggering the first emoticon icon to be transformed can be the message content of the first social message sent before the target social message during the process of sending the message content in the form of the target social message for display in the message display area. This case can be seen in Figure 5b The social interface 50 includes a message editing area 501, a message display area 502, and a message sending control 503. The message content input in the message editing area 501 includes the first emoticon icon 5042. The first social message 505 is displayed in the message display area 502, and the first social message 505 can include the target information 5041. After the message sending control 503 is triggered, the target social message 504 is displayed in the message display area 502, and the target social message 504 includes the second emoticon icon 5043. In this way, the target information for triggering the emoticon icon to be transformed can be sent before the emoticon icon, and the social object can first send the first social message including the target information and then send the message content including the first emoticon icon, which is very flexible and diverse.
[0091] In the situation described in (2) above, it should be noted that, in addition to the existence of a sending event for the message content in the message editing area in the social interface, the target social message and the first social message must have at least one of the following relationships: the target social message includes a second emoticon icon obtained by replacing the first emoticon icon; the sending time of the first social message is earlier than the sending time of the target social message; the social object sending the target social message is the same as the social object sending the first social message (e.g., the social object sending the target social message is the same as the social object sending the first social message). Figure 5b Both the first social message 505 and the target social message 504 were sent by user A, and the time interval between the sending time of the target social message and the sending time of the first social message did not exceed the duration threshold (e.g., Figure 5b The time interval between the sending time of the first social message 505 and the sending time of the target social message 504 is 3 seconds, which does not exceed the time threshold of 5 seconds. This ensures that the two social messages are displayed relatively close to each other in the message display area, and that the first social message will not be present in the message display area when the target social message is displayed. As a result, the replacement of the emoticon will not appear too abrupt, and the replaced emoticon can accurately express the context of the target information.
[0092] In the scheme described in (2) above, target information sent before the emoji icon can trigger the emoji icon to change. It is easy to imagine that target information sent after the emoji icon can also trigger the emoji icon to change. For details, please refer to the following description: Based on (2) above, after displaying the target social message containing the second emoji icon in the message display area, new message content entered in the message editing area can also be received. The new message content may include new target information. When there is a sending event for new message content in the message editing area in the social interface, the second social message can be displayed in the message display area in response to the sending event for new message content in the message editing area, and the second emoji icon in the target social message can be replaced with a third emoji icon. The second social message may include new target information, and the third emoji icon can be an emoji icon obtained by replacing the second emoji icon based on the new target information. That is to say, when the target social message containing the second emoji icon is displayed in the message display area, the new target information that triggers the change of the second emoji icon can be the message content of the second social message sent after the target social message. This situation can be referred to Figure 5cThe social interface 50 includes a message editing area 501, a message display area 502, and a message sending control 503. The target social message 504 is displayed in the message display area 502, and the target social message 504 includes a second emoticon icon 5043. The message content input in the message editing area 501 includes new target information 5064. After the message sending control 503 is triggered, the second social message 506 containing the new target information 5044 is displayed in the message display area 502, and the second emoticon icon 5043 in the target social message 504 is replaced by a third emoticon icon 5045. In this way, the target information triggering the emoticon icon change can be sent after the emoticon icon. The social object can send the target social message containing the second emoticon icon first and then send the second social message containing the new target information, which is very flexible.
[0093] Similarly, in addition to the sending event of the new message content in the message editing area in the social interface, the second emoticon icon included in the target social message can be replaced by the third emoticon icon when the target social message and the second social message have at least one of the following relationships: the sending time of the second social message is later than the sending time of the target social message, the social object sending the target social message is the same as the social object sending the second social message (for example Figure 5c The second social message 506 and the target social message 504 in FIG. 6 are both sent by user A), and the time interval between the sending time of the target social message and the sending time of the second social message does not exceed a time threshold (for example Figure 5c The time interval between the sending time of the second social message 506 and the sending time of the target social message 504 in FIG. 6 does not exceed the time threshold of 5 seconds). In this way, the two social messages can be displayed close to each other in the message display area, and the target social message will not disappear from the message display area when the second social message is displayed in the message display area, so that the replacement of the emoticon icon will not be too abrupt, and the replaced emoticon icon can accurately express the context of the new target information.
[0094] The above (1) and (2) are both described by taking the target information as message text. The above (1) and (2) can also be applied to the case where the target information is an associated emoticon icon. The case where the target information is an associated emoticon icon is similar to the case where the target information is message text. Please refer to the description of the above (1) and (2), and also refer to the description of the embodiment shown in FIG. 6. The emoticon icon is triggered to change, and the interactivity between the emoticon icons is enhanced. In particular, the above (2) can also be applied to the case where the target information is voice information, as shown in FIG. 7. Figure 3b Figure 5d As shown, the social interface 50 includes a message editing area 501, a message display area 502, and a message sending control 503, a first social message 505 is displayed in the message display area 502, the first social message 505 is voice information, and the target information 5041 can be obtained after the voice information is converted into text; the message content input in the message editing area 501 includes a first emoticon icon 5042, and after the message sending control 503 is triggered, a target social message 504 is displayed in the message display area 502, and the target social message 504 includes a second emoticon icon 5043. In this way, the change of the emoticon icon can also be triggered by voice, not only saving the time cost of editing the message text, but also meeting the demand of the social object inputting the target information in multiple ways, and the target information can be input through the input panel or recorded through the voice collection control. Similarly, the voice information sent after the target social message can also trigger the transformation of the voice information in the target social message.
[0095] In the schemes described in (1) and (2) above, the second emoticon icon is obtained by automatically replacing the first emoticon icon based on the target information, and the second emoticon icon can also be manually selected by the social object. The scheme in which the second emoticon icon is manually selected by the social object can be specifically referred to as follows: In addition to the first emoticon icon, the message content input in the message editing area can also include target information. In response to a sending event of the message content in the message editing area, if the meaning expressed by the target information in the message content in the message editing area does not match the meaning expressed by the first emoticon icon, an emoticon icon selection area can be displayed. The emoticon icon selection area can include a plurality of alternative emoticon icons, any one of which can be used to replace the first emoticon icon, and the meaning expressed by any one of the alternative emoticon icons is consistent with the meaning expressed by the target information. Then, one of the alternative emoticon icons in the emoticon icon selection area can be selected as the second emoticon icon included in the target social message, and the target social message including the second emoticon icon is displayed in the message display area. For example, Figure 5e As shown, the message content input in the message editing area 501 includes the target information 5041 and the first emoticon icon 5042, and if the message sending control 503 is selected, an emoticon icon selection area 507 can be displayed. An alternative emoticon icon 5071 in the emoticon icon selection area 507 can be selected as the second emoticon icon 5043, and then the target social message 504 containing the target information 5041 and the second emoticon icon 5043 can be displayed in the message display area 502. In this way, the emoticon icon selection area displays a plurality of alternative emoticon icons that can be used to replace the first emoticon icon to the social object, and the second emoticon icon used to replace the first emoticon icon is selected by the social object in the emoticon icon selection area, which can enrich the way the social object uses the emoticon icon in the social scene and improve the user experience of the social object using the emoticon icon.
[0096] In steps S401 to S403 above, the second emoticon icon is displayed in the message display area. In this embodiment, a parallel scheme can also exist, where the second emoticon icon can also be displayed in the message editing area. Specifically, the first emoticon icon in the message editing area can be replaced with the second emoticon icon. See the following description for details:
[0097] In one implementation, the social interface may also include an emoji switching control. The message content in the message editing area can include target information and a first emoji icon. If the emoji switching control is triggered, the first emoji icon can be replaced with a second emoji icon in the message editing area based on the target information. Figure 5f As shown, the social interface 50 includes a message editing area 501, a message display area 502, a message sending control 503, and an emoji changing control 508. The message content input in the message editing area 501 can include target information 5041 and a first emoji icon 5042. When the emoji changing control 508 is triggered, the first emoji icon 5042 in the message editing area 501 is replaced with a second emoji icon 5043. Afterward, when the message sending control 503 is triggered, the message content containing target information 5041 and the second emoji icon 5043 can be sent to the message display area 502 as a target social message 504 for display. In this way, social users can preview multiple second emoji icons to replace the first emoji icon in the message editing area using the emoji changing control, and select the most suitable second emoji icon as the final second emoji icon sent to the message display area. Triggering the emoji changing control once displays one second emoji icon; triggering the control multiple times allows multiple second emoji icons to be displayed in turn. The emoji changing control essentially acts as a preview control, providing a preview function for the second emoji icon and improving the user experience in social scenarios.
[0098] In another implementation, the message content in the input message editing area can include a first emoticon icon. If the message content also includes target information, meaning both the target information and the first emoticon icon exist in the message editing area, then the first emoticon icon can be replaced with a second emoticon icon in the message editing area based on the target information. For example... Figure 5gAs shown, the social interface 50 includes a message editing area 501, a message display area 502, and a message sending control 503. The message content input into the message editing area 501 can include a first emoticon icon 5042. If the target information 5041 is continuously input into the message editing area 501 (the target information 5041 can be input before or after the position of the first emoticon icon 5042 in the message editing area 501), the first emoticon icon 5042 can be replaced by a second emoticon icon 5043 in the message editing area 501. After that, when the message sending control 503 is triggered, the message content containing the target information 5041 and the second emoticon icon 5043 can be sent to the message display area 502 in the form of a target social message 504 for display. In this way, the social object can achieve the replacement of the emoticon icon in the message editing area without performing a triggering operation, which is more convenient and flexible.
[0099] It is worth mentioning that the message editing area can include an emoticon icon panel (for example Figure 5gThe expression icon panel 508 in the message editing area 501 shown can include a plurality of expression icons, which can be input into the message editing area as message content. Further, the message content containing the expression icons can be sent to the message display area in the form of a social message for display. The embodiments of the present application can support configuration of an expression management list of expression icons. Taking a first expression icon as an example, an expression configuration list of the first expression icon can be displayed, and the expression management list of the first expression icon can be configured and displayed in a social interface or an interface other than the social interface of a social application, such as an expression management interface, an application configuration interface, etc. The expression management list of the first expression icon can include a plurality of transformed expression icons of the first expression icon (which can also be referred to as a native expression icon), trigger display information for triggering display of each transformed expression icon, and an expression identifier of each transformed expression icon. Configuration of the expression management list of the first expression icon can refer to configuration of the transformed expression icons of the first expression icon and configuration of the trigger display information of the transformed expression icons. The plurality of transformed expression icons in the expression management list of the first expression icon can refer to expression icons formed by a plurality of transformations of the first expression icon, and the second expression icon can be any one of the transformed expression icons in the expression management list of the first expression icon. The trigger display information of the transformed expression icons can include any one or both of description information (which can also be referred to as a description tag) or trigger expression icons. The description information can be used to describe the meaning expressed by the transformed expression icon, and the number of trigger expression icons of any one of the transformed expression icons can be one or more. When the target information is a message text or voice information (which can be converted into a message text), the message text can be matched with the description information of each transformed expression icon to determine the second expression icon or an alternative expression icon. When the target information is an associated expression icon, the associated expression icon can be matched with the trigger expression icons of each transformed expression icon to determine the second expression icon or the alternative expression icon. The expression identifier can uniquely identify an expression icon, that is, the expression icon corresponding to the expression identifier can be uniquely obtained through the expression identifier.
[0100] As shown in Figure 5h The expression management list of the first expression icon includes a plurality of transformed expression icons of the first expression icon, description information for triggering display of each transformed expression icon, and an expression identifier of each transformed expression icon. The expression management list can be configured with each transformed expression icon and the description information of each transformed expression icon, for example Figure 5h In the description information of the transformed expression icon with the expression identifier of “ / happy_sad”, “sad” is added, and Figure 5hIn the example, delete all content in the list row containing the deformed emoticon icon with the symbol " / happy_very sad", etc. Figure 5i The emoticon management list shown for the first emoticon icon includes: the first emoticon icon, the emoticon identifier of the first emoticon icon, multiple variant emoticon icons of the first emoticon icon, a trigger emoticon icon for displaying each variant emoticon icon, and the emoticon identifier of each variant emoticon icon. Each variant emoticon icon and its trigger emoticon display can be configured in this emoticon management list, for example... Figure 5i In the text, the trigger icon for the deformed emoticon icon with the symbol " / happy_heart" is modified, for example... Figure 5i In this way, the entire list row containing the deformed emoticon icon with the symbol " / happy_flower" can be deleted. This allows social users to customize their emoticon management list. For example, they can add their own original emoticons as deformed icons, use their common phrases as descriptive information, and use frequently used emoticons as trigger icons. This makes emoticon usage more personalized and better suited to each user's individual habits and style. Furthermore, deformed emoticons derived from the original emoticon icon (e.g., the first emoticon icon) are not displayed in the emoticon panel. This allows users to replace the original emoticon icon with a deformed icon that better fits the context and accurately conveys the target message without increasing the number of emoticons in the panel, adding fun and surprise to the social user experience.
[0101] To further enrich the usage and fun of emoji icons, a second emoji icon animation can be displayed within the social interface. This means the second emoji icon's animation can be played directly within the social interface. Specifically, the animation could play at the location where the second emoji icon is displayed, or in a separate animation playback area. Examples of such animations include an octopus continuously spitting out hearts, an octopus shedding tears, or an octopus blinking.
[0102] It should be noted that the triggering controls mentioned in the embodiments of this application (such as triggering message sending controls, triggering expression changing controls, etc.) can specifically refer to controls that are clicked, double-clicked, or long-pressed by fingers, mice, etc.
[0103] In the embodiments of the present application, the expression icon in the message editing area can change in the process of being sent to the message display area for display, which can enrich the use mode of the expression icon in the social scene, improve the interestingness of the social scene, and bring surprise to the social object participating in the socialization. In addition, the expression icon selection area is a preview area of the alternative expression icon, and the social object can select an alternative expression icon as the second expression icon from the preview area, so that the selected second expression icon can better express the meaning of the target information. Moreover, the social object can customize the expression management list, so that the use mode of the expression icon is more personalized.
[0104] The embodiments of the present application provide a message processing method, which mainly introduces the visual presentation of the expression icon changing after being sent to the message display area for display for a period of time. The message processing method can be executed by a computer device, which can be a smart terminal, including but not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle terminal, a smart television, etc. As shown in the figure, the message processing method can include the following steps S601 to S604: Figure 6
[0105] S601, display a social interface, the social interface including a message editing area and a message display area.
[0106] The execution process of step S601 in the embodiments of the present application is the same as that of step S401 in the embodiments shown in the figure, and the specific execution process can be referred to the description of step S401 in the embodiments shown in the figure, which will not be repeated here. Figure 4 Figure 4 The execution process of step S601 in the embodiments of the present application is the same as that of step S401 in the embodiments shown in the figure, and the specific execution process can be referred to the description of step S401 in the embodiments shown in the figure, which will not be repeated here.
[0107] S602, receive the message content input in the message editing area, the message content including a first expression icon.
[0108] The execution process of step S602 in the embodiments of the present application is the same as that of step S402 in the embodiments shown in the figure, and the specific execution process can be referred to the description of step S402 in the embodiments shown in the figure, which will not be repeated here. Figure 4 Figure 4 The execution process of step S602 in the embodiments of the present application is the same as that of step S402 in the embodiments shown in the figure, and the specific execution process can be referred to the description of step S402 in the embodiments shown in the figure, which will not be repeated here.
[0109] S603, in response to a sending event of the message content in the message editing area, display a target social message in the message display area, the target social message including the first expression icon.
[0110] It can be known from the foregoing that the message sending control in the social interface can be used to send the message content received in the message editing area in the form of a social message to the message display area for display. When the message sending control is triggered, a sending event can be generated, that is, the sending event of the message content in the message editing area is the event generated when the message sending control is triggered. When the message sending control is triggered, that is, when the sending event of the message content in the message editing area exists in the social interface, the target social message can be displayed in the message display area in response to the sending event of the message content in the message editing area. The target social message can include the first emoticon icon.
[0111] S604, when the display time of the target social message in the message display area meets the time condition, replacing the first emoticon icon in the target social message with the second emoticon icon.
[0112] After the target social message is displayed in the message display area, when the display time of the target social message in the message display area meets the time condition, the first emoticon icon in the target social message can be replaced with the second emoticon icon. The display time of the target social message in the message display area meets the time condition can specifically mean that the display time of the target social message in the message display area exceeds (that is, is greater than) the display threshold. That is, for the social object, the social object first sees the target social message containing the first emoticon icon in the message display area, and then can see that the first emoticon icon in the target social message is replaced with the second emoticon icon.
[0113] It can be seen that, Figure 6 The difference between the embodiment shown in Figure 4 The difference between the embodiment shown in Figure 4 The embodiment shown in response to the sending event of the message content containing the first emoticon icon in the message editing area, directly displayed in the message display area is the target social message containing the second emoticon icon. That is, the emoticon icon is changed in the sending process, and the changed emoticon icon is displayed in the message display area. For the social object, the social object can view the second emoticon icon in the target social message displayed in the message display area, and cannot view the first emoticon icon in the target social message. However, Figure 6The embodiment shown replaces the first emoticon icon with a second emoticon icon in the target social message in the message display area in response to a sending event of the message content containing the first emoticon icon in the message editing area, that is, the emoticon icon is transformed after being sent to the message display area for a period of time, and the transformation process of the emoticon icon can be displayed in the message display area; for the social object, the social object can not only view the first emoticon icon in the target social message displayed in the message display area, but also view the process of the first emoticon icon transforming into the second emoticon icon in the target social message.
[0114] With Figure 4 Similar to the embodiment shown, the second emoticon icon can be an emoticon icon obtained by replacing the first emoticon icon based on target information, and the target information and the first emoticon icon can be sent to the message display area in the form of a social message for display, or the target information and the first emoticon icon can be sent to the message display area in the form of different social messages for display. The following describes the two cases respectively:
[0115] (1) The target information and the first emoticon icon can be sent to the message display area in the form of a social message for display. In order to send the target information and the first emoticon icon to the message display area in the form of a social message for display, the message content input in the message editing area can include the target information in addition to the first emoticon icon, that is, the message content input in the message editing area can include the target information and the first emoticon icon. In this case, when there is a sending event of the message content in the message editing area in the social interface, the target social message can be displayed in the message display area in response to the sending event of the message content in the message editing area, the target social message can include the first emoticon icon and the target information, and when the display time of the target social message in the message display area meets the time condition, the first emoticon icon in the target social message can be replaced with the second emoticon icon, that is, the target social message includes the target information and the second emoticon icon. This case can be seen from Figure 7a, the social interface 70 includes a message editing area 701, a message display area 702, and a message sending control 703, the message content input in the message editing area 701 includes target information 7041 and a first emoticon icon 7042, after the message sending control 703 is triggered, a target social message 704 is displayed in the message display area 702, the target social message 704 includes the target information 7041 and the first emoticon icon 7042, after the target social message 704 is displayed in the message display area 702 for a period of time, the first emoticon icon 7042 in the target social message 704 is replaced by a second emoticon icon 7043. In this way, the emoticon icon can be transformed with the target information after being sent to the message display area for a period of time, which is full of surprise and interest.
[0116] (2) The target information and the first emoticon icon can also be sent to the message display area in the form of different social messages. The target information and the first emoticon icon can also be sent to the message display area in the form of different social messages. Specifically, it can be that the social message containing the target information is sent before the social message containing the first emoticon icon, or the social message containing the target information is sent after the social message containing the first emoticon icon. Here, the social message containing the target information is sent before the social message containing the first emoticon icon is taken as an example for introduction. The social message containing the target information can be represented as a first social message, the first social message is displayed in the message display area, and the message content input in the message editing area includes the first emoticon icon. For details, see the following description: when there is a sending event of the message content in the message editing area in the social interface, the target social message can be displayed in the message display area in response to the sending event of the message content in the message editing area. The target social message can include the first emoticon icon and does not include the target information. When the display time of the target social message in the message display area meets the time condition, the first emoticon icon in the target social message can be replaced by the second emoticon icon. This case can be seen in Figure 7b , the social interface 70 includes a message editing area 701, a message display area 702, and a message sending control 703, the message content input in the message editing area 701 includes target information 7041 and a first emoticon icon 7042, after the message sending control 703 is triggered, a target social message 704 is displayed in the message display area 702, the target social message 704 includes the target information 7041 and the first emoticon icon 7042, after the target social message 704 is displayed in the message display area 702 for a period of time, the first emoticon icon 7042 in the target social message 704 is replaced by a second emoticon icon 7043. In this way, the emoticon icon can be transformed with the target information after being sent to the message display area for a period of time, which is full of surprise and interest.
[0117] It is noted that in the case described in (2) above, in addition to the display time of the target social message in the message display area meeting the time condition, the target social message and the first social message need to have at least one of the following relationships: the sending time of the first social message is earlier than the sending time of the target social message, the social object sending the target social message is the same as the social object sending the first social message (for example, the first social message 705 and the target social message 704 in FIG. 7 are both sent by user A), and the time interval between the sending time of the target social message and the sending time of the first social message does not exceed the time threshold (for example, the time interval between the sending time of the first social message 705 and the sending time of the target social message 704 in FIG. 7 is 3 seconds, which does not exceed the time threshold of 5 seconds). In this way, it can be ensured that the two social messages are displayed close to each other in the message display area, and the first social message does not disappear from the message display area when the target social message is displayed in the message display area, so that the replacement of the expression icon does not appear too abrupt, and the replaced expression icon can accurately express the context of the target information. Figure 7b Figure 7b The above (1) and (2) are both described by taking the target information as message text, and the above (1) and (2) can also be applied to the case where the target information is an associated expression icon. The case where the target information is an associated expression icon is similar to the case where the target information is message text, and can refer to the description of the above (1) and (2), and can also refer to the description of the embodiment shown in FIG. 7, which will not be described here again. The expression icon is triggered to change, and the interactivity between expression icons is enhanced. In particular, the above (2) can also be applied to the case where the target information is voice information, which is similar to the embodiment shown in FIG. 8, and can refer to the description of the embodiment shown in FIG. 8.
[0118] The above (1) and (2) are both described by taking the target information as message text, and the above (1) and (2) can also be applied to the case where the target information is an associated expression icon. The case where the target information is an associated expression icon is similar to the case where the target information is message text, and can refer to the description of the above (1) and (2), and can also refer to the description of the embodiment shown in FIG. 7, which will not be described here again. The expression icon is triggered to change, and the interactivity between expression icons is enhanced. In particular, the above (2) can also be applied to the case where the target information is voice information, which is similar to the embodiment shown in FIG. 8, and can refer to the description of the embodiment shown in FIG. 8. Figure 3b Figure 5d The above (1) and (2) are both described by taking the target information as message text, and the above (1) and (2) can also be applied to the case where the target information is an associated expression icon. The case where the target information is an associated expression icon is similar to the case where the target information is message text, and can refer to the description of the above (1) and (2), and can also refer to the description of the embodiment shown in FIG. 7, which will not be described here again. The expression icon is triggered to change, and the interactivity between expression icons is enhanced. In particular, the above (2) can also be applied to the case where the target information is voice information, which is similar to the embodiment shown in FIG. 8, and can refer to the description of the embodiment shown in FIG. 8. Figure 5d
[0119] In the schemes described in (1) and (2) above, the second expression icon is obtained by automatically replacing the first expression icon based on the target information. Alternatively, the second expression icon can be manually selected by the social object. The scheme in which the second expression icon is manually selected by the social object can be found in the following description: when the display time of the target social information containing the first expression icon in the message display area meets the time condition, an expression icon selection area can be displayed. The expression icon selection area can include a plurality of alternative expression icons. Any alternative expression icon can be used to replace the first expression icon. Any alternative expression icon expresses the same meaning as the target information. Then, one of the alternative expression icons in the expression icon selection area can be selected as the second expression icon for replacing the first expression icon in the target social message. Then, the first expression icon can be replaced by the second expression icon in the target social message. In this way, the expression icon selection area displays a plurality of alternative expression icons for replacing the first expression icon to the social object. The second expression icon for replacing the first expression icon is selected by the social object in the expression icon selection area. The use of expression icons in the social scenario can be diversified, and the user experience of the expression icons can be improved.
[0120] The same as the above Figure 4 embodiments, the expression management list of the expression icon is also configured, and the expression animation of the second expression icon can also be played in the social interface.
[0121] In the embodiments of the present application, the expression icon in the message editing area can change after being sent to the message display area for a period of time. The message display area can present the process of replacing the first expression icon with the second expression icon. In this way, the use of expression icons in the social scenario can be diversified, and the interest of the social scenario can be improved.
[0122] The message processing method provided in the embodiments of the present application mainly introduces the technical implementation of the message processing method. The message processing method can be executed by a computer device. The computer device can be a smart terminal, which can include but is not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, a smart television, etc. As shown in Figure 8 The message processing method can include the following steps S801 to S804:
[0123] S801, display a social interface, the social interface including a message editing area and a message display area.
[0124] The execution process of step S801 in the embodiments of the present application is the same as the execution process of step S401 in the embodiments shown in Figure 4 Figure 4 The description of step S401 in the illustrated embodiment will not be repeated here.
[0125] S802, receiving the message content input in the message editing area, the message content including the first emoticon icon.
[0126] The execution process of step S802 in the embodiments of the present application is the same as that of step S402 in the illustrated embodiment, and the specific execution process can be referred to the description of step S402 in the illustrated embodiment. Figure 4 The execution process of step S402 in the illustrated embodiment is the same as that of step S401 in the illustrated embodiment, and the specific execution process can be referred to the description of step S401 in the illustrated embodiment. Figure 4 The description of step S401 in the illustrated embodiment will not be repeated here.
[0127] S803, if the first emoticon icon is a deformable emoticon icon, determining the second emoticon icon according to the target information and the first emoticon icon.
[0128] As can be known from the foregoing, the emoticon management list of an emoticon icon can include multiple deformable emoticon icons of the emoticon icon, trigger display information for triggering display of each deformable emoticon icon, and an emoticon identifier of each deformable emoticon icon, etc. It can be understood that if the emoticon management list of an emoticon icon includes a deformable emoticon icon, the emoticon icon can be considered as a deformable emoticon icon. If the first emoticon icon is a deformable emoticon icon, the second emoticon icon can be determined according to the target information and the first emoticon icon.
[0129] The target information can include any one of a message text, voice information, and an associated emoticon icon, and the meaning expressed by the second emoticon icon can be consistent with the meaning expressed by the target information, which can mean that the meaning expressed by the second emoticon icon is consistent with the semantic meaning of the message text, or the meaning expressed by the second emoticon icon is consistent with the meaning expressed by a specific keyword in the message text, or the meaning expressed by the second emoticon icon is consistent with the semantic meaning of the voice information, or the meaning expressed by the second emoticon icon is consistent with the meaning expressed by a specific keyword in the voice information, or the meaning expressed by the second emoticon icon is consistent with the meaning expressed by the associated emoticon icon, etc.
[0130] In an implementation manner, the target information can include a message text, and the trigger display information of the deformation emoticon icon can include description information; in this case, determining the second emoticon icon according to the target information and the first emoticon icon can include: first, content information of the message text can be acquired; the content information can be semantic information obtained by performing semantic analysis on the message text, or can be keywords obtained by performing keyword extraction on the target information. Second, the content information can be matched with description information of each deformation emoticon icon in the emoticon management list of the first emoticon icon, and the matching process is a process of calculating the similarity between the content information and the description information of each deformation emoticon icon. The higher the similarity between the content information and the description information, the higher the matching degree. For example, the content information "very sad" has high similarity with the description information "sad", and the matching degree is also high. The content information "happy" has low similarity with the description information "sad", and the matching degree is also low. Then, the deformation emoticon icon corresponding to the description information with the highest matching degree in the content information can be determined as the second emoticon icon.
[0131] In the process of acquiring the content information of the message text, the natural language processing technology (NLP) of artificial intelligence (AI) is involved. The semantic information of the message text can be obtained by performing semantic analysis on the message text based on the NLP, or the keywords of the message text can be obtained by performing keyword extraction on the message text based on the NLP. Artificial intelligence is to use digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. It studies various theories and methods that can realize effective communication between people and computers using natural language. Natural language processing is a science that combines linguistics, computer science and mathematics. Therefore, the research in this field will involve natural language, that is, the language used in daily life, so it has a close relationship with the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question and answer, knowledge graph and other technologies. In addition, when the target information is voice information, the voice information can be converted into a message text based on the speech technology of artificial intelligence, and the content information of the message text can be acquired based on the natural language processing technology of artificial intelligence. The key technologies of speech technology include automatic speech recognition technology, speech synthesis technology and voiceprint recognition technology, which enable computers to hear, see, speak and feel, and are the development direction of future human-computer interaction.
[0132] In another implementation, the target information can include a key expression icon, and the trigger display information can include a trigger expression icon; in this case, determining the second expression icon according to the target information and the first expression icon can include: matching the trigger expression icon of each transformed expression icon in the expression management list associated with the first expression icon, and if there is a trigger expression icon in the expression management list that matches the first expression icon, determining the transformed expression icon corresponding to the matched trigger expression icon as the second expression icon. In essence, matching the first expression icon with each trigger expression icon is matching the expression identifier of the first expression icon with the expression identifier of each trigger expression icon, and if the expression identifier of the first expression icon is the same as the expression identifier of a trigger expression icon, it can be determined that the first expression icon matches the trigger expression icon.
[0133] S804, displaying the target social message containing the second expression icon in the message display area.
[0134] Displaying the target social message containing the second expression icon in the message display area can include the following two cases: in the above Figure 4 In the embodiment shown in the above Figure 4 In the embodiment shown in the above
[0135] In actual technical implementation, for the embodiment shown in the above Figure 4 In essence, displaying the target social message containing the second expression icon in the message display area can be replacing the expression identifier corresponding to the first expression icon in the message content with the expression identifier corresponding to the second expression icon, then obtaining the second expression icon according to the expression identifier corresponding to the second expression icon, and displaying the second expression icon in the target social message. For the embodiment shown in the above Figure 6 In essence, displaying the target social message containing the second expression icon in the message display area can be replacing the expression identifier corresponding to the first expression icon in the message content with the expression identifier corresponding to the second expression icon, then obtaining the second expression icon according to the expression identifier corresponding to the second expression icon, and displaying the second expression icon in the target social message. For the embodiment shown in the above
[0136] In the embodiments of the present application, the content information of the message text can be obtained based on natural language processing technology, voice technology and the like of artificial intelligence, so that the content information in the message text or voice information can be quickly obtained, the determination efficiency and accuracy of the second emoji icon are improved, and thus the target social message containing the second emoji icon can be displayed in the message display area, thereby providing an efficient and interesting social experience for the social object.
[0137] The embodiments of the present application provide a message processing method, and the message processing method can also be implemented by the message processing system as shown in Figure 9 Figure 9 The message processing system can include an intelligent terminal 901, a message server 902, an emoji storage platform 903 and an emoji management platform (Emoji Cowork) 704. The intelligent terminal 901 can include but is not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, a smart television and the like. Any one of the message server 902, the emoji storage platform 903 and the emoji management platform 904 can be an independent physical server, or can be a server cluster or a distributed system composed of multiple physical servers, or can be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The intelligent terminal 901, the message server 902, the emoji storage platform 903 and the emoji management platform 904 are communicatively connected and can communicate with each other. Among them:
[0138] The intelligent terminal 901 runs a social application (i.e., a client), and the social application can include a social interface. If there is edited message content in the message editing area of the social interface, and the message sending control is triggered, the social application will send the message content to the message server 902 for management and forwarding. After the intelligent terminal 901 receives the message content forwarded (pushed) by the message server 902, the message content can be displayed in the form of a social message in the social interface of the social application.
[0139] The message server 902 is configured to manage and forward the message content. The management may, for example, refer to: if the message content contains a deformable emoji icon (i.e., the first emoji icon), the message server 902 can determine a replacement emoji icon (i.e., the second emoji icon) to replace the deformable emoji icon, and replace the emoji identifier of the deformable emoji icon with the emoji identifier of the replacement emoji icon. The forwarding may, for example, refer to: if a first social object and a second social object jointly create a social session, the message server 902 can forward the message content sent by the first social object to the social application of the second social object for display, and similarly, the message server 902 can forward the message content sent by the second social object to the social application of the first social object for display.
[0140] The emoji storage platform 903 can be configured to manage the emoji icons and the emoji identifiers of the emoji icons. As described above, the emoji icons correspond to unique emoji identifiers, the emoji identifiers can uniquely identify the emoji icons, the emoji icons and the emoji identifiers are one-to-one matched, and there are no repeated emoji icons or repeated emoji identifiers. The emoji identifiers are strings starting with " / ", such as " / smile", " / stick-out-tongue", " / smug", and the like. When the social application parses such emoji identifiers, the corresponding emoji icons are converted. The aforementioned emoji icon panel is similar to an emoji store, and the corresponding emoji icons are downloaded according to the emoji identifiers. Each time a new emoji icon is added, the emoji storage platform 903 assigns a unique emoji identifier string starting with " / " to the emoji icon, and the emoji identifiers are matched between the social application and the message server 902. The social object selects a certain emoji icon in the emoji icon panel of the message editing area, and the message editing area is correspondingly added with the emoji identifier of the emoji icon. When displayed, the corresponding emoji icon is obtained by matching the emoji identifier. If the emoji icon is special (e.g., a gif emoji (dynamic emoji), a picture emoji, etc.), the corresponding emoji resource can be displayed. Whether it is a static emoji or a gif emoji, the social application can be a picture type, and the corresponding picture can be displayed.
[0141] The emoji management platform 904 can be configured to manage an emoji management list of the emoji icons. The emoji management list of the emoji icons can include a plurality of deformed emoji icons obtained by deforming the emoji icon, trigger display information for triggering display of each deformed emoji icon, and an emoji identifier of each deformed emoji icon, and the like. Please refer to the above description Figure 5h and Figure 5iThe foregoing can know that the expression identifier of the expression icon (i.e., the native expression icon described above) is generally " / XX", and the expression identifier of the deformed expression icon obtained by deforming the expression icon will generally add "_XX" after the expression identifier of the expression icon, so as to distinguish the native expression icon and the deformed expression icon, such as Figure 5h The foregoing can know that the expression identifier of the expression icon (i.e., the native expression icon described above) is generally " / XX", and the expression identifier of the deformed expression icon obtained by deforming the expression icon will generally add "_XX" after the expression identifier of the expression icon, so as to distinguish the native expression icon and the deformed expression icon, such as Figure 5h The foregoing can know that the expression identifier of the expression icon (i.e., the native expression icon described above) is generally " / XX", and the expression identifier of the deformed expression icon obtained by deforming the expression icon will generally add "_XX" after the expression identifier of the expression icon, so as to distinguish the native expression icon and the deformed expression icon, such as
[0142] It can be understood that the message processing system described in the embodiments of the present application is for more clearly illustrating the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. It can be known by those skilled in the art that, with the evolution of the blockchain network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0143] Figure 10 The message content in the input message editing area includes target information, and the target information is a message text. A message processing method based on a message processing system is introduced. The message processing method can be realized by interaction between a social application in the intelligent terminal and a message server. The message processing method can include the following steps S1001 to S1011:
[0144] S1001, the intelligent terminal responds to a sending event of the message content in the message editing area, and performs message escaping on the message content to obtain message signaling of the message content.
[0145] The message escaping is mainly performed on the emoticon, that is, the emoticon is escaped into the emoticon identifier corresponding to the emoticon. If the message content further includes the first emoticon, that is, the message content includes the message text and the first emoticon, the message content is subjected to the message escaping, which can be specifically: converting the first emoticon in the message content into the emoticon identifier of the first emoticon; the message signaling of the message content includes the message text and the emoticon identifier of the first emoticon.
[0146] S1002, the intelligent terminal sends the message signaling of the message content to the message server.
[0147] S1003, the message server performs emoticon identifier detection on the message signaling of the message content.
[0148] The message server can perform emoticon identifier detection on the message signaling of the message content after receiving the message signaling of the message content, that is, detecting whether the message signaling of the message content includes the emoticon identifier. If the message signaling of the message content includes the emoticon identifier, it indicates that the message content includes the emoticon (that is, the first emoticon), triggering step S1004. If the message signaling of the message content does not include the emoticon identifier, it indicates that the message content does not include the emoticon, triggering steps S1010-S1011.
[0149] S1004, if the message signaling of the message content includes the emoticon identifier, the message server performs deformable detection on the emoticon identifier.
[0150] The message server determines that the message signaling of the message content includes the emoticon identifier, that is, determines that the message content includes the first emoticon, in which case, the emoticon identifier in the message content can be subjected to deformable detection, that is, detecting whether the first emoticon is a deformable emoticon. The deformable detection on the emoticon identifier in the message content can be specifically: obtaining the emoticon management list of the first emoticon based on the emoticon identifier of the first emoticon; if the emoticon management list includes the deformed emoticon of the first emoticon, it is determined that the first emoticon is a deformable emoticon, triggering step S1005; if the emoticon management list does not include the deformed emoticon of the first emoticon, it is determined that the first emoticon is a non-deformable emoticon, triggering steps S1010-S1011.
[0151] S1005, if the first emoticon is a deformable emoticon, the message server matches the content information of the message text with the description information of each deformed emoticon in the emoticon management list of the first emoticon.
[0152] The content information of the message text can be semantic information obtained by performing semantic analysis on the message text, or can be keywords obtained by performing keyword extraction on the message text.
[0153] In S1006, the message server determines the second expression icon as the expression icon corresponding to the description information with the highest matching degree with the content information among the description information.
[0154] In S1007, the message server replaces the expression identifier of the first expression icon in the message signaling of the message content with the expression identifier of the second expression icon.
[0155] In S1008, the message server sends the message signaling of the replaced message content to the intelligent terminal.
[0156] In S1009, the intelligent terminal displays the target social message containing the second expression icon according to the message signaling of the replaced message content.
[0157] The intelligent terminal displays the target social message containing the second expression icon according to the message signaling of the replaced message content, which can specifically include that the intelligent terminal acquires the second expression icon according to the expression identifier of the second expression icon in the message signaling of the message content, and displays the target social message containing the second expression icon in the message display area of the social application.
[0158] It should be noted that steps S1007 to S1009 in the embodiments of the present application are applicable to the embodiments shown in the above Figure 4 . For the embodiments shown in the above Figure 6 , after the message server determines the second expression icon as the expression icon corresponding to the description information with the highest matching degree with the content information among the description information, the message server can send the expression identifier of the second expression icon to the intelligent terminal; when the display time of the target social message containing the message text and the first expression icon in the message display area meets the time condition, the intelligent terminal can replace the expression identifier corresponding to the first expression icon in the target social message with the expression identifier corresponding to the second expression icon, then acquire the second expression icon according to the expression identifier corresponding to the second expression icon, and display the message text and the second expression icon in the target social message.
[0159] In S1010, the message server sends the message signaling of the message content to the intelligent terminal.
[0160] In S1011, the intelligent terminal displays the target social message according to the message signaling of the message content.
[0161] If the message signaling of the message content does not include the expression identifier, that is, the first expression icon is not included in the message content, the message signaling of the message content includes the message text, and the smart terminal displays the target social message according to the message signaling of the message content can include: the smart terminal displays the target social message in the message display area of the social interface of the social application, and the target social message includes the message text. If the message signaling of the message content includes the expression identifier, that is, the first expression icon is included in the message content, and the first expression icon is not a deformable expression icon, the message signaling of the message content includes the message text and the expression identifier of the first expression icon, and the smart terminal displays the target social message according to the message signaling of the message content can include: the smart terminal acquires the first expression icon according to the expression identifier of the first expression icon, and displays the target social message in the message display area of the social interface of the social application, and the target social message includes the message text and the first expression icon.
[0162] In the embodiments of the present application, when the target information is the message text, the expression icon can be deformed according to the semantics of the message text or the meaning expressed by the specific keyword in the message text, which can enrich the use mode of the expression icon in the social scene, improve the interestingness of the social scene, and improve the user stickiness.
[0163] Figure 11 Taking the target information as the associated expression icon and the message content input in the message editing area as including the associated expression icon and the first expression icon, and the first expression icon as a deformable expression icon as an example, a message processing method implemented based on a message processing system is introduced; the message processing method can be implemented by interaction between the social application in the smart terminal and the message server, and can include the following steps S1101 to S1110:
[0164] S1101, the smart terminal responds to a sending event of the message content in the message editing area, and performs message escaping on the message content to obtain message signaling of the message content.
[0165] The message escaping is mainly performed on the expression icon, that is, the expression icon is escaped into the expression identifier corresponding to the expression icon. The message escaping on the message content can specifically mean: converting the first expression icon in the message content into the expression identifier of the first expression icon, and converting the associated expression icon in the message content into the expression identifier of the associated expression icon. The message signaling of the message content includes the expression identifier of the first expression icon and the expression identifier of the associated expression icon.
[0166] S1102, the smart terminal sends the message signaling of the message content to the message server.
[0167] S1103, the message server acquires the expression management list of the first expression icon based on the message signaling of the message content.
[0168] The message server can obtain an expression management list of the first expression icon based on the expression identifier of the first expression icon in the message signaling of the message content. The expression management list of the first expression icon can include a plurality of transformed expression icons of the first expression icon, a trigger expression icon triggering display of each transformed expression icon, and an expression identifier of the transformed expression icon, and an expression identifier of the trigger expression icon.
[0169] In S1104, the message server matches the association expression icon and the trigger expression icon of each transformed expression icon in the expression management list of the first expression icon.
[0170] The matching of the association expression icon and the trigger expression icon is essentially matching the expression identifier of the association expression icon and the expression identifier of each trigger expression icon. If the expression identifier of the association expression icon is the same as the expression identifier of a certain trigger expression icon, it can be determined that the association expression icon matches the trigger expression icon, triggering the execution of S1105. If the expression identifier of the association expression icon does not exist in the expression management list of the first expression icon, it is determined that no trigger expression icon is matched, triggering the execution of S1109-S1110.
[0171] In S1105, if the trigger expression icon is matched, the message server determines the transformed expression icon corresponding to the matched trigger expression icon as the second expression icon.
[0172] In S1106, the message server replaces the expression identifier of the first expression icon in the message signaling of the message content with the expression identifier of the second expression icon.
[0173] In S1107, the message server sends the replaced message signaling of the message content to the intelligent terminal.
[0174] In S1108, the intelligent terminal displays the target social message containing the second expression icon according to the replaced message signaling of the message content.
[0175] The replaced message signaling of the message content includes the expression identifier of the association expression icon and the expression identifier of the second expression icon. The intelligent terminal displays the target social message containing the second expression icon according to the replaced message signaling of the message content, which can specifically include: the intelligent terminal obtains the second expression icon according to the expression identifier of the second expression icon in the message signaling of the message content, obtains the association expression icon according to the expression identifier of the association expression icon, and displays the target social message containing the second expression icon in the message display area of the social interface of the social application.
[0176] It should be noted that steps S1106 to S1108 in the embodiments of the present application are applicable to the above-mentioned Figure 4 embodiments. For the above-mentioned Figure 6 embodiments, when the message server determines the morphed emoticon icon corresponding to the matched trigger emoticon icon as the second emoticon icon, the message server can send the emoticon identifier of the second emoticon icon to the intelligent terminal; when the display time of the target social message containing the associated emoticon icon and the first emoticon icon in the message display area meets the time condition, the intelligent terminal can replace the emoticon identifier corresponding to the first emoticon icon in the target social message with the emoticon identifier corresponding to the second emoticon icon, and then obtain the second emoticon icon according to the emoticon identifier corresponding to the second emoticon icon, and display the associated emoticon icon and the second emoticon icon in the target social message.
[0177] S1109, the message server sends the message signaling of the message content to the intelligent terminal.
[0178] S1110, the intelligent terminal displays the target social message according to the message signaling of the message content.
[0179] The message signaling of the message content includes the emoticon identifier of the associated emoticon icon and the emoticon identifier of the first emoticon icon. The intelligent terminal displays the target social message according to the message signaling of the message content, which can specifically include: the intelligent terminal obtains the associated emoticon icon according to the emoticon identifier of the associated emoticon icon in the message signaling of the message content, obtains the first emoticon icon according to the emoticon identifier of the first emoticon icon in the message signaling of the message content, and displays the target social message in the social interface of the social application, the target social message including the first emoticon icon and the associated emoticon icon.
[0180] In the embodiments of the present application, when the target information is an associated emoticon icon, the emoticon icon can be morphed according to the associated emoticon icon, which can enrich the use mode of the emoticon icon in the social scene, improve the interestingness of the social scene, and improve the user stickiness.
[0181] The above describes the method of the embodiments of the present application in detail. In order to better implement the above-mentioned scheme of the embodiments of the present application, correspondingly, the device of the embodiments of the present application is provided below.
[0182] Please refer to Figure 12 , Figure 12 is a structural schematic diagram of a message processing device provided by the embodiments of the present application, which can be arranged in the computer device provided by the embodiments of the present application. The computer device can be the intelligent terminal or the server mentioned in the above method embodiments.
[0183] In some embodiments, Figure 12The message processing apparatus shown can be a computer program (including program code) running in a computer device, which can be used to execute part or all steps in the method embodiments shown in Figure 4 、 Figure 8 、 Figure 10 or Figure 11 . Please refer to Figure 12 , the message processing apparatus can include the following units:
[0184] The display unit 1201 is configured to display a social interface, the social interface including a message editing area and a message display area.
[0185] The processing unit 1201 is configured to receive message content input in the message editing area, the message content including a first emoticon icon.
[0186] The display unit 1201 is further configured to, in response to a sending event of the message content in the message editing area, display a target social message in the message display area, the target social message including a second emoticon icon, the second emoticon icon being an emoticon icon obtained by replacing the first emoticon icon.
[0187] In an implementation manner, the message content further includes target information, the target social message further includes the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0188] In an implementation manner, the message display area displays a first social message, the first social message including the target information, the target social message not including the target information, and the second emoticon icon being an emoticon icon obtained by replacing the first emoticon icon based on the target information; wherein the target social message includes the second emoticon icon obtained by replacing the first emoticon icon when at least one of the following relationships exists between the target social message and the first social message: a sending time of the first social message is earlier than a sending time of the target social message, a social object sending the target social message is the same as a social object sending the first social message, and a time interval between the sending time of the target social message and the sending time of the first social message does not exceed a time length threshold.
[0189] In an implementation manner, the display unit 1201 is further configured to, after displaying the target social message in the message display area, perform the following steps:
[0190] receive new message content input in the message editing area, the new message content including new target information; in response to a sending event of the new message content in the message editing area, display the second social message in the message display area, and replace the second emoticon icon in the target social message with a third emoticon icon; the second social message including the new target information, and the third emoticon icon being an emoticon icon obtained by replacing the second emoticon icon based on the new target information.
[0191] In an implementation manner, the social interface further includes an emoticon transformation control, and the message content further includes target information; the display unit 1201 is further configured to perform the following step: if the emoticon transformation control is triggered, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
[0192] In an implementation manner, the display unit 1201 is further configured to perform the following step: if the message content further includes target information, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
[0193] In an implementation manner, the message content further includes target information; the display unit 1201 is further configured to perform the following step: in response to a sending event of the message content in the message editing area, if a meaning expressed by the target information in the message content and a meaning expressed by the first emoticon icon do not match, displaying an emoticon icon selection area, the emoticon icon selection area including a plurality of alternative emoticon icons, and any alternative emoticon icon being used to replace the first emoticon icon; selecting an alternative emoticon icon from the emoticon icon selection area as a second emoticon icon included in the target social message, and triggering the step of displaying the target social message in the message display area.
[0194] In an implementation manner, the social interface further includes a message sending control used to send the message content received in the message editing area to the message display area for display; the processing unit 1202 is further configured to perform the following step: if the message sending control is triggered, generating the sending event.
[0195] In an implementation manner, the display unit 1201 is further configured to perform the following step: displaying an emoticon animation of the second emoticon icon in the social interface.
[0196] In an implementation manner, the target information includes: message text, voice information or an associated emoticon icon; and the meaning expressed by the second emoticon icon is consistent with a meaning expressed by the target information.
[0197] In an implementation manner, the display unit 1201 is further configured to perform the following step:
[0198] The first emoticon management list is configured, and the first emoticon management list includes a plurality of transformed emoticons of the first emoticon and trigger display information for triggering display of each transformed emoticon; wherein the plurality of transformed emoticons in the first emoticon management list are emoticons formed by transforming the first emoticon in one or more ways; and the second emoticon is any transformed emoticon in the first emoticon management list.
[0199] In an implementation manner, the trigger display information of the transformed emoticon includes description information for describing the meaning expressed by the transformed emoticon; the target information includes message text; and the message processing apparatus further includes a processing unit; the processing unit 1202 is further configured to perform the following steps:
[0200] obtain content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or is a keyword obtained by performing keyword extraction on the message text; match the content information with the description information of each transformed emoticon in the emoticon management list; and determine the transformed emoticon corresponding to the description information with the highest matching degree with the content information as the second emoticon.
[0201] In an implementation manner, the trigger display information of the transformed emoticon includes a trigger emoticon, and the target information includes an associated emoticon; the processing unit 1202 is further configured to perform the following steps: if there is a trigger emoticon matching the associated emoticon in the emoticon management list, then determine the transformed emoticon corresponding to the matching trigger emoticon as the second emoticon.
[0202] According to another embodiment of the present application, Figure 12 The units in the message processing apparatus shown can be combined into one or several other units respectively or all, or some of the units can be further split into a plurality of units with smaller functions to constitute, which can realize the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above units are divided based on logical functions, and in actual application, the functions of one unit can also be realized by multiple units, or the functions of multiple units can be realized by one unit. In other embodiments of the present application, the message processing apparatus can also include other units, and in actual application, these functions can also be realized by other units, and can be realized by multiple units in cooperation.
[0203] According to another embodiment of the present application, the message processing apparatus can be realized by running a program capable of performing the above steps on a general computing device such as a computer including a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like processing elements and storage elements. Figure 4 、 Figure 8 、 Figure 10 orFigure 11 The computer program (including program code) of each step involved in part or all of the method shown is used to construct the message processing apparatus as shown in Figure 12 The message processing apparatus and the message processing method of the embodiments of the present application are shown in the above. The computer program can be recorded on a computer readable storage medium, for example, and loaded into the above-mentioned computing device through the computer readable storage medium and run therein.
[0204] In the embodiments of the present application, when the message content input in the message editing area of the social interface includes the first emoticon icon, the second emoticon icon obtained by replacing the first emoticon icon can be displayed in the message display area of the social interface in response to the sending event of the message content in the message editing area; that is, the emoticon icon in the message editing area can change in the process of sending to the message display area for display, which can enrich the use mode of the emoticon icon in the social scene and improve the interestingness of the social scene.
[0205] In other embodiments, Figure 12 The message processing apparatus shown can be a computer program (including program code) running in a computer device, which can be used to execute part or all of the steps in the method embodiments shown in Figure 6 、 Figure 8 、 Figure 10 or Figure 11 Please refer to Figure 12 , the message processing apparatus can include the following units:
[0206] The display unit 1201 is configured to display a social interface, the social interface including a message editing area and a message display area;
[0207] The receiving unit 1202 is configured to receive message content input in the message editing area, the message content including a first emoticon icon;
[0208] The display unit 1201 is further configured to display a target social message in the message display area in response to a sending event of the message content in the message editing area, the target social message including the first emoticon icon; and replace the first emoticon icon in the target social message with a second emoticon icon when the display time of the target social message in the message display area meets a time condition.
[0209] In an implementation manner, the message content further includes target information, the target social message further includes the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0210] In an implementation manner, the message display area displays a first social message, the first social message includes target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0211] In an implementation manner, the message display area displays a first social message, the first social message includes target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0212] In an implementation manner, the social interface further includes a message sending control, and the message sending control is used to send the message content received in the message editing area to the message display area for display; the processing unit 1202 is further configured to perform the following step: generating a sending event if the message sending control is triggered.
[0213] In an implementation manner, the display unit 1201 is further configured to perform the following step: displaying an emoticon animation of the second emoticon icon in the social interface.
[0214] In an implementation manner, the target information includes a message text, voice information, or an associated emoticon icon; and the second emoticon icon expresses the same meaning as the target information.
[0215] In an implementation manner, the display unit 1201 is further configured to perform the following step:
[0216] The emoticon management list of the first emoticon icon is configured, the emoticon management list includes a plurality of transformed emoticon icons of the first emoticon icon and trigger display information used to trigger display of each transformed emoticon icon; the plurality of transformed emoticon icons in the emoticon management list are emoticon icons formed by transforming the first emoticon icon one or more times; and the second emoticon icon is any transformed emoticon icon in the emoticon management list of the first emoticon icon.
[0217] In an implementation manner, the trigger display information of the transformed emoticon icon includes description information used to describe a meaning expressed by the transformed emoticon icon; the target information includes a message text; the message processing apparatus further includes a processing unit; and the processing unit 1202 is further configured to perform the following step:
[0218] Obtain content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or is keywords obtained by performing keyword extraction on the message text; match the content information and description information of each deformation emoji icon in the emoji management list; and determine the deformation emoji icon corresponding to the description information with the highest matching degree with the content information in each description information as the second emoji icon.
[0219] In an implementation manner, the trigger display information of the deformation emoji icon includes a trigger emoji icon, and the target information includes an associated emoji icon; the processing unit 1202 is further configured to: if there is a trigger emoji icon matching the associated emoji icon in the emoji management list, determine the deformation emoji icon corresponding to the matched trigger emoji icon as the second emoji icon.
[0220] According to another embodiment of the present application, Figure 12 The units in the message processing apparatus shown can be combined into one or several other units respectively or all, or some of the units can be further split into a plurality of units with smaller functions to constitute, which can realize the same operation without affecting the implementation of the technical effects of the embodiments of the present application. The above units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the message processing apparatus can also include other units. In actual applications, these functions can also be assisted by other units, and can be realized by multiple units.
[0221] According to another embodiment of the present application, the message processing apparatus shown in Figure 6 、 Figure 8 、 Figure 10 or Figure 11 The message processing apparatus shown in Figure 12 , and to implement the message processing method of the embodiments of the present application. The computer program can be recorded on, for example, a computer readable storage medium, and loaded into the above-mentioned computing device through the computer readable storage medium, and run therein.
[0222] In the embodiments of the present application, the social interface can include a message editing area and a message display area. The message content input in the message editing area can include a first emoticon icon. After the message content is sent to the message display area in the form of a target social message and displayed, when the display time of the target social message in the message display area meets the time condition, the first emoticon icon in the target social message can be replaced with a second emoticon icon. That is, the emoticon icon in the message editing area can change after being sent to the message display area and displayed for a period of time. In this way, the use mode of the emoticon icon in the social scenario can be enriched, and the interestingness of the social scenario can be improved.
[0223] Based on the above method and device embodiments, the present application provides a computer device, which can be the aforementioned intelligent terminal or server. Please refer to Figure 13 , Figure 13 is a structural schematic diagram of a computer device provided by the embodiments of the present application. Figure 13 The computer device shown in the figure at least includes a processor 1103, an input interface 1302, an output interface 1303 and a computer readable storage medium 1404. Among them, the processor 1103, the input interface 1302, the output interface 1303 and the computer readable storage medium 1404 can be connected through bus or other ways.
[0224] The computer readable storage medium 1404 can be stored in the memory of the computer device, and the computer readable storage medium 1404 is used to store computer programs, the computer programs include computer instructions, and the processor 1103 is used to execute the program instructions stored by the computer readable storage medium 1404. The processor 1103 (or CPU (Central Processing Unit, Central Processor)) is the computing core and control core of the computer device, which is suitable for implementing one or more computer instructions, and is particularly suitable for loading and executing one or more computer instructions to realize the corresponding method flow or corresponding function.
[0225] The embodiment of the present application further provides a computer readable storage medium (Memory). The computer readable storage medium is a memory device in a computer device, and is used for storing programs and data. It can be understood that the computer readable storage medium herein can include an internal storage medium in the computer device, and of course can include an extended storage medium supported by the computer device. The computer readable storage medium provides a storage space, and the storage space stores an operating system of the computer device. In addition, one or more computer instructions suitable for being loaded and executed by the processor are also stored in the storage space, and the computer instructions can be one or more computer programs (including program codes). It should be noted that the computer readable storage medium herein can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; and optionally can be at least one computer readable storage medium located away from the processor.
[0226] In some embodiments, one or more computer instructions stored in the computer readable storage medium 1404 can be loaded and executed by the processor 1103 to implement the corresponding steps of the message processing method shown in the above Figure 4 、 Figure 8 、 Figure 10 or Figure 11 . In a specific implementation, the computer instructions in the computer readable storage medium 1404 are loaded and executed by the processor 1103 to implement the following steps:
[0227] displaying a social interface, the social interface including a message editing area and a message display area; receiving message content input in the message editing area, the message content including a first emoticon icon; and in response to a sending event of the message content in the message editing area, displaying a target social message in the message display area, the target social message including a second emoticon icon, the second emoticon icon being an emoticon icon obtained by replacing the first emoticon icon.
[0228] In an implementation manner, the message content further includes target information, the target social message further includes the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0229] In an implementation, the message display area displays a first social message, the first social message includes the target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information; and the target social message includes the second emoticon icon obtained by replacing the first emoticon icon when at least one of the following conditions is met between the target social message and the first social message: a sending time of the first social message is earlier than a sending time of the target social message, a social object sending the target social message is the same as a social object sending the first social message, and a time interval between the sending time of the target social message and the sending time of the first social message does not exceed a time threshold.
[0230] In an implementation, the computer instructions in the computer readable storage medium 1404 are loaded and executed by the processor 1103 to further perform the following steps after displaying the target social message in the message display area:
[0231] receiving new message content input in the message editing area, the new message content including new target information; in response to a sending event of the new message content in the message editing area, displaying a second social message in the message display area, and replacing the second emoticon icon in the target social message with a third emoticon icon; the second social message includes the new target information, and the third emoticon icon is an emoticon icon obtained by replacing the second emoticon icon based on the new target information.
[0232] In an implementation, the social interface further includes an emoticon transformation control, and the message content further includes target information; the computer instructions in the computer readable storage medium 1404 are loaded and executed by the processor 1103 to further perform the following steps: if the emoticon transformation control is triggered, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
[0233] In an implementation, the computer instructions in the computer readable storage medium 1404 are loaded and executed by the processor 1103 to further perform the following steps: if the message content further includes target information, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
[0234] In an implementation, the message content further includes target information; the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used to perform the following steps: in response to a sending event of the message content in the message editing area, if the meaning expressed by the target information in the message content and the meaning expressed by the first emoticon icon do not match, displaying an emoticon icon selection area, the emoticon icon selection area including a plurality of alternative emoticon icons, any one of the alternative emoticon icons being used to replace the first emoticon icon; selecting one of the alternative emoticon icons from the emoticon icon selection area as a second emoticon icon included in the target social message, triggering the step of displaying the target social message in the message display area.
[0235] In an implementation, the social interface further includes a message sending control, the message sending control being used to send the message content received in the message editing area to the message display area for display; the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used to perform the following steps: if the message sending control is triggered, generating a sending event.
[0236] In an implementation, the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used to perform the following steps: displaying an emoticon animation of the second emoticon icon in the social interface.
[0237] In an implementation, the target information includes: message text, voice information, or an associated emoticon icon; the meaning expressed by the second emoticon icon is consistent with the meaning expressed by the target information.
[0238] In an implementation, the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used to perform the following steps:
[0239] The emoticon management list of the first emoticon icon is configured, the emoticon management list including a plurality of transformed emoticon icons of the first emoticon icon and trigger display information used to trigger display of each transformed emoticon icon; wherein the plurality of transformed emoticon icons in the emoticon management list are emoticon icons formed by transforming the first emoticon icon by one or more transformations; the second emoticon icon is any one of the transformed emoticon icons in the emoticon management list of the first emoticon icon.
[0240] In an implementation, the trigger display information of the transformed emoticon icon includes description information, the description information being used to describe the meaning expressed by the transformed emoticon icon; the target information includes message text; the message processing device further includes a processing unit; the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used to perform the following steps:
[0241] Obtaining content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or is keywords obtained by performing keyword extraction on the message text; matching the content information and description information of each morphing emoticon icon in the emoticon management list; determining, as the second emoticon icon, a morphing emoticon icon corresponding to description information having the highest matching degree with the content information among the description information.
[0242] In an implementation manner, the trigger display information of the morphing emoticon icon includes a trigger emoticon icon, and the target information includes an associated emoticon icon; the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used for performing the following steps: if there is a trigger emoticon icon matching the associated emoticon icon in the emoticon management list, determining, as the second emoticon icon, a morphing emoticon icon corresponding to the matched trigger emoticon icon.
[0243] In the embodiments of the present application, when the message content input in the message editing area of the social interface includes the first emoticon icon, the second emoticon icon obtained by replacing the first emoticon icon can be displayed in the message display area of the social interface in response to a sending event of the message content in the message editing area. That is, the emoticon icon in the message editing area can change in the process of sending to the message display area for display, which can enrich the use mode of the emoticon icon in the social scene and improve the interest of the social scene.
[0244] In other embodiments, the processor 1103 can load and execute one or more computer instructions stored in the computer readable storage medium 1404 to implement the corresponding steps of the message processing method shown in the above Figure 6 、 Figure 8 、 Figure 10 or Figure 11 . In a specific implementation, the computer instructions in the computer readable storage medium 1404 are loaded and executed by the processor 1103 to perform the following steps:
[0245] displaying a social interface, the social interface including a message editing area and a message display area; receiving message content input in the message editing area, the message content including a first emoticon icon; in response to a sending event of the message content in the message editing area, displaying a target social message in the message display area, the target social message including the first emoticon icon; when a display time of the target social message in the message display area satisfies a time condition, replacing the first emoticon icon in the target social message with a second emoticon icon.
[0246] In an implementation manner, the message content further includes target information, the target social message further includes the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0247] In an implementation, the message display area displays a first social message, the first social message includes target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
[0248] In an implementation, the target social message and the first social message have at least one of the following relationships: a sending time of the first social message is earlier than a sending time of the target social message, a social object that sends the target social message is the same as a social object that sends the first social message, and a time interval between the sending time of the target social message and the sending time of the first social message does not exceed a time length threshold. When a display time of the target social message in the message display area satisfies a time condition, the first emoticon icon in the target social message is replaced by the second emoticon icon.
[0249] In an implementation, the social interface further includes a message sending control, the message sending control is used to send message content received in the message editing area to the message display area for display, and the processing unit 1202 is further configured to perform the following step: generating a sending event if the message sending control is triggered.
[0250] In an implementation, the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and are further configured to perform the following step: displaying an emoticon animation of the second emoticon icon in the social interface.
[0251] In an implementation, the target information includes: message text, voice information, or an associated emoticon icon, and the second emoticon icon expresses a same meaning as the target information.
[0252] In an implementation, the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and are further configured to perform the following step:
[0253] The emoticon management list of the first emoticon icon is configured, the emoticon management list includes a plurality of transformed emoticon icons of the first emoticon icon and trigger display information used to trigger display of each transformed emoticon icon, the plurality of transformed emoticon icons in the emoticon management list are emoticon icons formed by transforming the first emoticon icon one or more times, and the second emoticon icon is any transformed emoticon icon in the emoticon management list of the first emoticon icon.
[0254] In an implementation, the trigger display information of the transformed emoticon icon includes description information used to describe a meaning expressed by the transformed emoticon icon, the target information includes message text, the message processing device further includes a processing unit, and the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and are further configured to perform the following step:
[0255] obtaining content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or is a keyword obtained by performing keyword extraction on the message text; matching the content information and the description information of each morphing emoticon icon in the emoticon management list; and determining, as the second emoticon icon, the morphing emoticon icon corresponding to the description information with the highest matching degree with the content information in each description information.
[0256] In an implementation manner, the trigger display information of the morphing emoticon icon includes a trigger emoticon icon, and the target information includes an associated emoticon icon; the computer instructions in the computer readable storage medium 1404 are loaded by the processor 1103 and further used for performing the following steps: if there is a trigger emoticon icon matching the associated emoticon icon in the emoticon management list, determining the morphing emoticon icon corresponding to the matched trigger emoticon icon as the second emoticon icon.
[0257] In the embodiments of the present application, the social interface can include a message editing area and a message display area, the message content input in the message editing area can include a first emoticon icon, and after the message content is sent to the message display area in the form of a target social message for display, the first emoticon icon in the target social message can be replaced with a second emoticon icon when the display time of the target social message in the message display area meets the time condition. That is, the emoticon icon in the message editing area can change after being sent to the message display area for display for a period of time, which can enrich the use mode of the emoticon icon in the social scenario and improve the interestingness of the social scenario.
[0258] According to an aspect of the present application, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the message processing method provided in the various optional manners described above.
[0259] The above merely illustrates the specific implementation manners of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A message processing method characterized by, The method comprises: displaying a social interface, the social interface comprising a message editing area and a message display area; receiving message content input in the message editing area, the message content comprising a first emoticon icon; in response to a sending event of the message content in the message editing area, displaying a target social message in the message display area, the target social message comprising a second emoticon icon, the second emoticon icon being an emoticon icon obtained by replacing the first emoticon icon based on target information in the social interface, and the second emoticon icon expressing a meaning consistent with a meaning expressed by the target information.
2. The method of claim 1, wherein, The message content further comprises target information, and the target social message further comprises the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
3. The method of claim 1, wherein, The message display area displays a first social message, the first social message comprising target information, the target social message not comprising the target information, and the second emoticon icon being an emoticon icon obtained by replacing the first emoticon icon based on the target information. When at least one of the following relationships exists between the target social message and the first social message, the target social message comprises the second emoticon icon obtained by replacing the first emoticon icon: the sending time of the first social message is earlier than the sending time of the target social message, the social object sending the target social message is the same as the social object sending the first social message, and the time interval between the sending time of the target social message and the sending time of the first social message does not exceed a time length threshold.
4. The method of claim 3, wherein, After displaying the target social message in the message display area, the method further comprises: receiving new message content input in the message editing area, the new message content comprising new target information; in response to a sending event of the new message content in the message editing area, displaying a second social message in the message display area, and replacing the second emoticon icon in the target social message with a third emoticon icon; the second social message comprising the new target information, and the third emoticon icon being an emoticon icon obtained by replacing the second emoticon icon based on the new target information.
5. The method of claim 1, wherein, The social interface further comprises an emoticon transformation control, and the message content further comprises target information; the method further comprises: if the emoticon transformation control is triggered, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
6. The method of claim 1, wherein, The method further comprises: if the message content further comprises target information, replacing the first emoticon icon with the second emoticon icon in the message editing area based on the target information.
7. The method of claim 1, wherein, The message content further comprises target information; the method further comprises: in response to a sending event of the message content in the message editing area, if a meaning expressed by the target information in the message content and a meaning expressed by the first emoticon icon do not match, display an emoticon icon selection area, the emoticon icon selection area including a plurality of alternative emoticon icons, any one of which is used to replace the first emoticon icon; selecting an alternative emoticon icon from the emoticon icon selection area as the second emoticon icon included in the target social message, triggering the step of displaying the target social message in the message display area.
8. The method of claim 1, wherein, The social interface further includes a message sending control for sending the message content received in the message editing area to the message display area for display; the method further includes: If the message sending control is triggered, the sending event is generated.
9. The method of claim 1, wherein, The method further includes: Displaying an emoticon animation of the second emoticon icon in the social interface.
10. The method of any one of claims 2-7, wherein, The target information includes message text, voice information, or an associated emoticon icon.
11. The method of any one of claims 2-7, wherein, The method further includes: configuring an emoticon management list of the first emoticon icon, the emoticon management list including a plurality of transformed emoticon icons of the first emoticon icon and trigger display information for triggering display of each transformed emoticon icon; wherein the plurality of transformed emoticon icons in the emoticon management list are emoticon icons formed by one or more transformations of the first emoticon icon; and the second emoticon icon is any one of the transformed emoticon icons in the emoticon management list of the first emoticon icon.
12. The method of claim 11, wherein, The trigger display information of the transformed emoticon icon includes description information for describing a meaning expressed by the transformed emoticon icon; the target information includes message text; the method further includes: obtaining content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or keywords obtained by performing keyword extraction on the message text; matching the content information with the description information of each transformed emoticon icon in the emoticon management list; determining the transformed emoticon icon corresponding to the description information with the highest matching degree with the content information as the second emoticon icon.
13. The method of claim 11, wherein, The trigger display information of the transformed emoticon icon includes a trigger emoticon icon, and the target information includes an associated emoticon icon; the method further includes: if there is a trigger emoticon icon matching the associated emoticon icon in the emoticon management list, determining the transformed emoticon icon corresponding to the matching trigger emoticon icon as the second emoticon icon.
14. A message processing method characterized by, The method includes: displaying a social interface, the social interface including a message editing area and a message display area; receiving message content input in the message editing area, the message content including a first emoticon icon; in response to a sending event of the message content in the message editing area, displaying a target social message in the message display area, the target social message including the first emoticon icon; When a display time of the target social message in the message display area meets a time condition, a first emoticon icon in the target social message is replaced by a second emoticon icon based on target information in the social interface, and the second emoticon icon expresses a meaning consistent with a meaning expressed by the target information.
15. The method of claim 14, wherein, The message content further includes target information, the target social message further includes the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information.
16. The method of claim 14, wherein, The message display area displays a first social message, the first social message includes target information, the target social message does not include the target information, and the second emoticon icon is an emoticon icon obtained by replacing the first emoticon icon based on the target information. At least one of the following relationships exists between the target social message and the first social message, and when a display time of the target social message in the message display area meets a time condition, the first emoticon icon in the target social message is replaced by the second emoticon icon: a sending time of the first social message is earlier than a sending time of the target social message, a social object that sends the target social message is the same as a social object that sends the first social message, and a time interval between the sending time of the target social message and the sending time of the first social message does not exceed a time length threshold.
17. The method of claim 14, wherein, The social interface further includes a message sending control, and the message sending control is used to send message content received in the message editing area to the message display area for display; the method further includes: If the message sending control is triggered, the sending event is generated.
18. The method of claim 14, wherein, The method further includes: Displaying an emoticon animation of the second emoticon icon in the social interface.
19. The method of any one of claims 14-16, wherein, The target information includes message text, voice information, or an associated emoticon icon.
20. The method of any one of claims 14-16, wherein, The method further includes: Configuring an emoticon management list of the first emoticon icon, and the emoticon management list includes a plurality of transformed emoticon icons of the first emoticon icon and trigger display information used to trigger display of each transformed emoticon icon. The plurality of transformed emoticon icons in the emoticon management list are emoticon icons formed by one or more transformations of the first emoticon icon, and the second emoticon icon is any one of the transformed emoticon icons in the emoticon management list of the first emoticon icon.
21. The method of claim 20, wherein, The trigger display information of the transformed emoticon icon includes description information used to describe a meaning expressed by the transformed emoticon icon, and the target information includes message text; the method further includes: Obtaining content information of the message text; the content information is semantic information obtained by performing semantic analysis on the message text, or is a keyword obtained by performing keyword extraction on the message text; Matching the content information and the description information of each transformed emoticon icon in the emoticon management list; Determining, as the second emoticon icon, a transformed emoticon icon corresponding to description information having the highest matching degree with the content information among the description information.
22. The method of claim 20, wherein, The trigger display information of the morphing emoticon includes a trigger emoticon, and the target information includes an associated emoticon; and the method further includes: If a trigger emoticon matching the associated emoticon exists in the emoticon management list, a morphing emoticon corresponding to the matching trigger emoticon is determined as the second emoticon.
23. A message processing device, characterized by The message processing apparatus includes: a display unit configured to display a social interface including a message editing area and a message display area; a processing unit configured to receive message content input in the message editing area, the message content including a first emoticon; the display unit is further configured to display, in response to a sending event of the message content in the message editing area, a target social message in the message display area, the target social message including a second emoticon, the second emoticon being an emoticon obtained by replacing the first emoticon based on target information in the social interface, and the second emoticon expressing a meaning consistent with a meaning expressed by the target information.
24. A message processing device, characterized by The message processing apparatus includes: a display unit configured to display a social interface including a message editing area and a message display area; a processing unit configured to receive message content input in the message editing area, the message content including a first emoticon; the display unit is further configured to display, in response to a sending event of the message content in the message editing area, a target social message in the message display area, the target social message including the first emoticon; the display unit is further configured to replace, when a display time of the target social message in the message display area satisfies a time condition, the first emoticon in the target social message with a second emoticon based on target information in the social interface, the second emoticon expressing a meaning consistent with a meaning expressed by the target information.
25. A computer device, comprising: The computer device includes: a processor adapted to implement a computer program; a computer readable storage medium storing a computer program, the computer program being adapted to be loaded and executed by the processor to implement the message processing method of any one of claims 1 to 13, or the message processing method of any one of claims 14 to 22.
26. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, the computer program being adapted to be loaded and executed by the processor to implement the message processing method of any one of claims 1 to 13, or the message processing method of any one of claims 14 to 22.
27. A computer program product, characterised in that, The computer program product includes computer instructions, which, when executed by a processor, implement the message processing method of any one of claims 1 to 13, or the message processing method of any one of claims 14 to 22.
Citation Information
Patent Citations
Session-based information display method and device, equipment and storage medium
CN112817670A
Information processing method and device, equipment and storage medium
CN113705153A