Data processing method and device, computer equipment and readable storage medium

By displaying the virtual image-related resource animation of the interactive object in the message preview box, the problem of a single message reminder method and low operating efficiency in the existing technology is solved, and personalized reminders and efficient message processing are realized.

CN118535052APending Publication Date: 2024-08-23TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310179862.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing message reminder method is too simple, cannot highlight the messages that need to be focused on, and cannot be operated in the message preview box, which reduces the efficiency of new message processing.

Method used

The message list is displayed in the application interface, and the resource animation related to the virtual image of the interactive object is displayed in the message preview box. Related message services are executed in response to the animation operation, which improves the efficiency of message processing and personalized reminder methods.

Benefits of technology

Through personalized resource animation display, high-value messages are highlighted, the new message processing process is simplified, and the processing efficiency of new messages is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535052A
    Figure CN118535052A
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method and device, computer equipment and a readable storage medium. The method comprises the steps that a message list is displayed in an application interface; the message list comprises a message preview box associated with the interaction object; displaying the first preview message in a message preview box; the first preview message is determined based on a first original interaction message sent by the interaction object; in a target area of the message preview box, displaying a first resource animation containing a virtual image corresponding to the interaction object; the target area is not overlapped with a head portrait area in the message preview box; the first resource animation is determined based on the media content contained in the first original interaction message and the media format of the media content; and in response to a trigger operation for the first resource animation, executing a message service associated with the first original interaction message. By adopting the method and the device, the reminding mode of the new message can be enriched, and the processing efficiency of the new message is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, apparatus, computer equipment, and readable storage medium. Background Art

[0002] The existing message reminder method can display a red dot in the message preview box to indicate that there is a new message. However, the red dot cannot reflect the specific content of the new message. All new messages sent by everyone will be displayed with the same red dot, which makes it impossible to highlight which messages need to be paid attention to, resulting in the new message reminder method being too simple. In addition, the red dot in the message preview box cannot perform any operation on the new message, but only serves to prompt the existence of a new message. Only after clicking the message preview box to enter the chat can the new message be operated, which reduces the efficiency of processing new messages. Summary of the invention

[0003] The embodiments of the present application provide a data processing method, apparatus, computer device, and readable storage medium, which can enrich the reminder method of new messages and improve the efficiency of processing new messages.

[0004] On the one hand, an embodiment of the present application provides a data processing method, including:

[0005] Displaying a message list in the application interface; the message list includes a message preview box associated with the interactive object;

[0006] Displaying a first preview message in the message preview box; the first preview message is determined based on a first original interaction message sent by the interaction object;

[0007] In the target area of ​​the message preview frame, a first resource animation including a virtual image corresponding to the interactive object is displayed; the target area does not overlap with the avatar area in the message preview frame; the first resource animation is determined based on the media content included in the first original interactive message and the media format of the media content;

[0008] In response to the triggering operation on the first resource animation, a message service associated with the first original interaction message is executed.

[0009] On the one hand, an embodiment of the present application provides a data processing device, including:

[0010] A list display module is used to display a message list in the application interface; the message list includes a message preview box associated with the interactive object;

[0011] A message display module, configured to display a first preview message in a message preview box; the first preview message is determined based on a first original interaction message sent by the interaction object;

[0012] An animation display module, used to display a first resource animation containing a virtual image corresponding to an interactive object in a target area of ​​a message preview frame; the target area does not overlap with an avatar area in the message preview frame; the first resource animation is determined based on media content contained in the first original interactive message and a media format of the media content;

[0013] The animation triggering module is used to respond to the triggering operation on the first resource animation and execute the message service associated with the first original interaction message.

[0014] Wherein, the first resource animation is composed of the first resource sub-animation and the second resource sub-animation;

[0015] The animation display module includes:

[0016] A first animation display unit, used to display a first resource sub-animation formed by a virtual image corresponding to an interactive object in a target area of ​​a message preview box;

[0017] The second animation display unit is used to display a second resource sub-animation formed by a message virtual resource that can be used to interact with the virtual image in the target area; the message virtual resource is determined based on the media content contained in the first original interactive message and the media format of the media content.

[0018] Among them, the animation trigger module includes:

[0019] The first triggering unit is configured to, if the first resource animation is a triggerable resource animation, respond to a triggering operation on the first resource animation and display media data associated with the media content having a triggerable media format in the first original interaction message.

[0020] A second triggering unit, configured to, if the first resource animation is an untriggerable resource animation, respond to a triggering operation on the first resource animation and display an interactive area associated with the interactive object;

[0021] The second triggering unit is configured to display the first original interaction message in the interaction area.

[0022] Wherein, the first resource animation includes viewing a message virtual resource;

[0023] A first trigger unit, specifically configured to respond to a trigger operation on the first resource animation and switch the application interface to a viewing interface;

[0024] The first triggering unit is specifically configured to display media data associated with the media content having a viewing media format in the first original interactive message in the viewing interface; the viewing media format is a triggerable media format indicated by the viewing message virtual resource.

[0025] Wherein, the first resource animation includes an audio message virtual resource;

[0026] The first trigger unit is specifically used to respond to the trigger operation for the first resource animation and display the playback progress corresponding to the media content in the audio media format in the first original interactive message; the audio media format is the triggerable media format indicated by the audio message virtual resource;

[0027] The first trigger unit is further specifically configured to respond to a drag operation on the playback progress and to play the media content in the audio media format according to the dragged playback progress.

[0028] Among them, the first resource animation includes receiving the message virtual resource;

[0029] The first trigger unit is specifically configured to respond to a trigger operation for the first resource animation and display resource description information and resource collection controls corresponding to the media content having a collection media format in the first original interactive message; the collection media format is a triggerable media format indicated by the collection message virtual resource;

[0030] The first trigger unit is further specifically configured to respond to a trigger operation on the resource collection control and collect the animation virtual resource indicated by the resource description information.

[0031] Among them, the message virtual resources include image message virtual resources;

[0032] The second animation display unit is specifically configured to determine the media content included in the first original interaction message as an image message virtual resource if the media format of the media content included in the first original interaction message is a media format corresponding to image type content;

[0033] The second animation display unit is specifically used to display, in the target area, a second resource sub-animation formed by an image message virtual resource that can be used to interact with the virtual image.

[0034] Among them, the message virtual resources include file message virtual resources;

[0035] The second animation display unit is specifically configured to obtain a file message virtual resource indicated by the media content included in the first original interaction message if the media format of the media content included in the first original interaction message is a media format corresponding to the file type content;

[0036] The second animation display unit is specifically used to display, in the target area, a second resource sub-animation formed by the file message virtual resource that can be used to interact with the virtual image.

[0037] Among them, the message virtual resources include video message virtual resources;

[0038] The second animation display unit is specifically configured to obtain a preview video frame in the media content included in the first original interaction message if the media format of the media content included in the first original interaction message is a media format corresponding to the video type content, and determine the preview video frame as a video message virtual resource;

[0039] The second animation display unit is specifically used to display, in the target area, a second resource sub-animation formed by a video message virtual resource that can be used to interact with the virtual image.

[0040] The animation display module is specifically used to display the default message resource in the target area of ​​the message preview box;

[0041] The animation display module is specifically used to obtain the first resource animation from the server according to the object identifier of the interactive object if the first resource animation including the virtual image corresponding to the interactive object does not exist in the terminal memory;

[0042] The animation display module is specifically used to update the default message resource in the target area based on the first resource animation.

[0043] The message display module is specifically used to obtain the number of unread messages and the latest message body for the interactive object from the message management database according to the object identifier of the interactive object;

[0044] The message display module is specifically used to accumulate the number of unread messages according to the first original interactive message to obtain an updated number of unread messages;

[0045] A message display module, specifically used to update the latest message body according to the first original interactive message to obtain an updated latest message body;

[0046] The message display module is specifically configured to display a first preview message corresponding to the first original interactive message in a message preview box based on updating the number of unread messages and updating the latest message body.

[0047] The message display module is further specifically used to clear the updated unread message quantity to obtain the initialized unread message quantity when responding to the trigger operation for the first resource animation;

[0048] The message display module is also specifically used to initialize the latest updated message body to obtain the initialized latest message body;

[0049] The message display module is also specifically used to cancel the first resource animation in the display target area based on the initialized number of unread messages and the initialized latest message body.

[0050] The device further comprises:

[0051] An animation association module, used to display a second preview message in the message preview box; the second preview message is determined based on a second original interaction message sent by the interaction object;

[0052] An animation association module, used to display a second resource animation including a virtual image in a target area; the second resource animation is determined based on the media content included in the second original interaction message and the media format of the media content;

[0053] The animation association module is used to display a third resource animation commonly associated with the first original interaction message and the second original interaction message in the application interface if the first original interaction message and the second original interaction message meet the message superposition condition.

[0054] The device further comprises:

[0055] A condition judgment module, used to obtain a first message sending timestamp of a first original interaction message and a second message sending timestamp of a second original interaction message, and determine a time interval between the first message sending timestamp and the second message sending timestamp;

[0056] a condition judgment module, configured to determine, if the time interval is less than or equal to a duration threshold, a relationship between the first original interaction message and the second original interaction message and a message superposition condition according to a semantic similarity between the first original interaction message and the second original interaction message;

[0057] The condition judgment module is used to determine that the first original interaction message and the second original interaction message do not meet the message superposition condition if the time interval is greater than the duration threshold.

[0058] The condition judgment module is specifically used to input the first original interaction message and the second original interaction message into the semantic analysis model respectively, extract features of the first original interaction message and the second original interaction message respectively through the semantic analysis model, and output a first message feature corresponding to the first original interaction message and a second message feature corresponding to the second original interaction message;

[0059] The condition judgment module is specifically used to determine the feature similarity between the first message feature and the second message feature, and determine the feature similarity as the semantic similarity between the first original interaction message and the second original interaction message;

[0060] A condition judgment module, specifically configured to determine that the first original interaction message and the second original interaction message meet a message superposition condition if the semantic similarity is greater than or equal to a similarity threshold;

[0061] The condition judgment module is specifically configured to determine that the first original interaction message and the second original interaction message do not satisfy the message superposition condition if the semantic similarity is less than a similarity threshold.

[0062] An embodiment of the present application provides a computer device, including: a processor and a memory;

[0063] The processor is connected to the memory, wherein the memory is used to store a computer program. When the computer program is executed by the processor, the computer device executes the method provided in the embodiment of the present application.

[0064] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the method provided by the embodiment of the present application.

[0065] In one aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method provided in the embodiment of the present application.

[0066] The embodiment of the present application proposes a message reminder method based on a virtual image. When receiving a new message (for example, the first original interactive message sent by the interactive object), the message reminder method can obtain the virtual image corresponding to the interactive object, and generate a first resource animation associated with the first original interactive message based on the virtual image corresponding to the interactive object. When different interactive objects send the first original interactive message, resource animations corresponding to different interactive objects can be generated based on the virtual images corresponding to different interactive objects. Since the virtual images corresponding to different interactive objects are different, the resource animations corresponding to different interactive objects generated based on different virtual images are different, thereby realizing a personalized resource animation display method. Moreover, when the media content contained in the first original interactive message is different, the first resource animation is different, so that the specific content in the first original interactive message can be reflected through the first resource animation, so that when the first original interactive message is a new message of high value, the high-value new message (i.e., the new message that needs to be focused on) is highlighted by the first resource animation, thereby enriching the reminder method of the new message. In addition, by responding to the trigger operation for the first resource animation, the message service associated with the first original interaction message can be directly executed without entering the chat interface where the first original interaction message is located, thereby simplifying the process of operating new messages and improving the efficiency of processing new messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0068] Figure 1 It is a structural diagram of a network architecture provided by an embodiment of the present application;

[0069] Figure 2 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0070] Figure 3 is a schematic diagram of a scene for displaying a first resource animation provided by an embodiment of the present application;

[0071] Figure 4 It is a scene schematic diagram of an object image provided in an embodiment of the present application;

[0072] Figure 5 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0073] Figure 6 It is a flowchart of processing expression messages provided by an embodiment of the present application;

[0074] Figure 7 It is a schematic diagram of a scenario for processing document messages provided in an embodiment of the present application;

[0075] Figure 8 This is a schematic diagram of a scenario for processing picture messages provided in an embodiment of the present application;

[0076] Fig. 9 It is a schematic diagram of a scenario for processing an expression message provided in an embodiment of the present application;

[0077] Fig.10 It is a schematic diagram of a scenario for processing a video message provided in an embodiment of the present application;

[0078] Fig.11 It is a schematic diagram of a scenario for processing an audio message provided in an embodiment of the present application;

[0079] Fig.12 This is a schematic diagram of a scenario for processing a gift message provided by an embodiment of the present application;

[0080] Fig.13 This is a schematic diagram of a scenario for processing a red envelope message provided by an embodiment of the present application;

[0081] Fig.14This is a schematic diagram of a scenario for processing a poke message provided by an embodiment of the present application;

[0082] Fig.15 is a schematic diagram of a process of triggering a first resource animation provided by an embodiment of the present application;

[0083] Fig.16 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0084] Fig.17 It is a scenario diagram of a message management database provided in an embodiment of the present application;

[0085] Fig.18 is a schematic diagram of a process of displaying a first resource animation provided by an embodiment of the present application;

[0086] Fig.19 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0087] Fig. 20 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0088] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0089] For details, see Figure 1 , Figure 1 Schematic diagram of a network architecture provided by an embodiment of the present application. Figure 1 As shown, the network architecture may include a server 2000 and a terminal device cluster. The terminal device cluster may specifically include one or more terminal devices, and the number of terminal devices in the terminal device cluster is not limited here. Figure 1 As shown, the multiple terminal devices may specifically include terminal device 3000a, terminal device 3000b, terminal device 3000c, ..., terminal device 3000n; terminal device 3000a, terminal device 3000b, terminal device 3000c, ..., terminal device 3000n may respectively be directly or indirectly connected to the server 2000 via wired or wireless communication, so that each terminal device may exchange data with the server 2000 via the network connection.

[0090] Each terminal device in the terminal device cluster may include: smart phones, tablet computers, laptop computers, desktop computers, intelligent voice interaction devices, smart home appliances (e.g., smart TVs), wearable devices, vehicle terminals, aircraft, and other smart terminals with data processing functions. Figure 1 Each terminal device in the terminal device cluster shown in the figure may be installed with an application client. When the application client runs in each terminal device, it may be respectively connected to the Figure 1 The server 2000 shown in the figure performs data interaction. Among them, the application client may specifically include a car client, a smart home client, an entertainment client (for example, a game client), a multimedia client (for example, a video client), a social client, and an information client (for example, a news client) and other clients with data processing functions. Among them, the application client can be integrated in a client (for example, a social client), or the application client can be an independent client (for example, a news client). The embodiment of the present application does not limit the type of the application client.

[0091] Among them, Figure 1 The server 2000 shown can be a server corresponding to an application client. The server 2000 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0092] For ease of understanding, the embodiments of the present application can be Figure 1 Select one terminal device from the multiple terminal devices shown as the target terminal device. In the embodiment of the present application, Figure 1 Select one terminal device from the multiple terminal devices shown as a sample terminal device. Figure 1 The terminal device 3000a shown in the figure is used as a sample terminal device. Figure 1 The terminal device 3000c shown is used as the target terminal device, and the target terminal device and the sample terminal device can be respectively installed with an application client having a data processing function. At this time, the target terminal device can realize data interaction with the server 2000 through the application client, and the sample terminal device can realize data interaction with the server 2000 through the application client.

[0093] For ease of understanding, the embodiment of the present application may refer to the user as an interactive object, the interactive object may be a user who logs in to the application client, the user corresponding to the target terminal device may be referred to as the target interactive object, and the user corresponding to the sample terminal device may be referred to as the sample interactive object. Among them, the target interactive object can be used as a message receiver or a message sender. For example, the target interactive object can become a message receiver through the application client in the target terminal device, and the target interactive object can also become a message sender through the application client in the target terminal device. Similarly, the sample interactive object can be used as a message sender or a message receiver. For example, the sample interactive object can become a message sender through the application client in the sample terminal device, and the sample interactive object can also become a message receiver through the application client in the sample terminal device. Among them, the target terminal device and the sample terminal device both run the application client corresponding to the server 2000, and the application client can realize the sending and receiving of interactive messages (for example, the first original interactive message) between the target terminal device and the sample terminal device. For ease of understanding, the embodiment of the present application takes the target interactive object as the message sender and the sample interactive object as the message receiver as an example for explanation.

[0094] For example, the message sender (i.e., the target interaction object) and the message receiver (i.e., the sample interaction object) can be connected through the server 2000, and the target interaction object can send the first original interaction message through the application client in the target terminal device. The server 2000 can synchronize the first original interaction message from the target terminal device to the sample terminal device, and display the first preview message in the message list of the application interface of the sample terminal device. Among them, the sample terminal device can display the first preview message in the message preview box of the message list, and display the first resource animation containing the virtual image corresponding to the interaction object in the target area of ​​the message preview box, and then execute the message service associated with the first original interaction message in response to the trigger operation for the first resource animation. Among them, the target area does not overlap with the avatar area in the message preview box, and the first resource animation is determined based on the media content contained in the first original interaction message and the media format of the media content.

[0095] Optionally, the application interface displays a virtual social scene, a message list can be displayed in the virtual social scene, and the virtual image displayed in the message list can also be regarded as a virtual image displayed in the virtual social scene, and the virtual image can be displayed and interacted in the virtual social scene. Among them, the virtual social scene refers to a 3D (short for Three Dimensions) virtual space with link perception and sharing characteristics based on the future Internet, which is a virtual reality enhanced by virtuality and presents convergence and physical persistence characteristics, or an interactive, immersive and collaborative world. Just as the physical universe is a series of worlds interconnected in space, the virtual social scene can also be regarded as a collection of many worlds.

[0096] For further information, see Figure 2 , Figure 2 This is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a server, or by a terminal device, or by both a server and a terminal device. The server can be the above-mentioned Figure 1 The server 2000 in the corresponding embodiment, the terminal device can be the above Figure 1 The sample terminal device or target terminal device of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Among them, the data processing method may include the following steps S101-S104:

[0097] Step S101, displaying a message list in the application interface;

[0098] The message list may include a message preview box associated with the interactive object, and the message list may also include a message preview box associated with other interactive objects (e.g., candidate interactive objects). In other words, the message list may include S message preview boxes, where S may be a non-negative integer. When S is a positive integer, the S message preview boxes may include a message preview box associated with the interactive object, and the S message preview boxes may be sorted from top to bottom by timestamp.

[0099] Among them, the message preview box can also be called a message item, a chat item, etc. Clicking the item opens AIO (All In One). AIO refers to a public chat window component, that is, participating in many different types of conversations such as friends, groups, and public accounts in the application client. In order to provide a unified interactive experience, the application client provides a chat window component shared by different sessions. The input operation, click operation and other behavioral habits in the component can be regarded as consistent.

[0100] Step S102, displaying a first preview message in a message preview box;

[0101] The first preview message is determined based on the first original interaction message sent by the interaction object. When the terminal device is a sample terminal device, the first original interaction message may be sent by the target interaction object; when the terminal device is a target terminal device, the first original interaction message may be sent by the sample interaction object. For ease of understanding, the embodiment of the present application takes the terminal device as a sample terminal device and the first original interaction message as sent by the target interaction object as an example for explanation. At this time, the target interaction object can be referred to as the interaction object, and the sample terminal device can be referred to as the terminal device.

[0102] Among them, after receiving the first original interaction message sent by the interaction object, the terminal device can display a message preview box in the message list (that is, the message preview box in the message list is triggered by the first original interaction message), and then display the first preview message corresponding to the first original interaction message in the message preview box. Optionally, the terminal device can also display the message preview box in the message list before receiving the first original interaction message sent by the interaction object (that is, the message preview box in the message list is not triggered by the first original interaction message, and the message preview box in the message list is triggered by the historical interaction message, and the historical interaction message can be an interaction message with an interaction time earlier than the first original interaction message), and then directly display the first preview message corresponding to the first original interaction message in the message preview box.

[0103] Among them, the interactive objects that conduct message interaction with the sample interactive object may also include other interactive objects (for example, candidate interactive objects) in addition to the target interactive object, and the message preview box may also be used to display other interactive messages (for example, candidate interactive messages sent by candidate interactive objects) sent by other interactive objects (for example, candidate interactive objects).

[0104] It can be understood that if the first original interaction message is a plain text message (i.e., an ordinary text message), the terminal device can determine the character length of the first original interaction message after receiving the first original interaction message sent by the target terminal device through the server. Further, if the character length of the first original interaction message is greater than the length threshold, the first original interaction message and the first preview message are different. At this time, the terminal device can crop the first original interaction message to obtain the first preview message corresponding to the first original interaction message; optionally, if the character length of the first original interaction message is less than or equal to the length threshold, the first original interaction message and the first preview message are the same. Among them, the length threshold is determined by the device width of the terminal device. The embodiment of the present application does not limit the specific value of the length threshold. For example, the length threshold can be equal to 18 characters. For example, the first original interaction message may be “Good night”, and the character length of “Good night” is less than or equal to the length threshold. In this case, the first preview message may be “Good night”; for another example, the first original interaction message may be “I went to the amusement park with him today, and we had a lot of fun!”, and the character length of “I went to the amusement park with him today, and we had a lot of fun!” is greater than the length threshold. In this case, the first preview message may be “I went to the amusement park with him today, and I…”.

[0105] Optionally, if the first original interaction message is not a plain text message, the terminal device may determine the first preview message corresponding to the first original interaction message according to the media content included in the first original interaction message. For example, if the first original interaction message includes document content, the first preview message corresponding to the first original interaction message may be “[document]XXX”, and “XXX” may be the title of the document content; for another example, if the first original interaction message includes video content, the first preview message corresponding to the first original interaction message may be “[video]”; for another example, if the first original interaction message includes image content, the first preview message corresponding to the first original interaction message may be “[image]”; for another example, if the first original interaction message includes image content and the first original interaction message includes a text message (for example, the first original interaction message may be “Look at the photo [image] I took”), the first preview message corresponding to the first original interaction message may be “Look at the photo [image] I took”, wherein “[image]” in the first original interaction message is the image content, and “[image]” in the first preview message is the text message; for another example, if the first original interaction message includes two image contents, the first preview message corresponding to the first original interaction message may be “[image][image]”.

[0106] Step S103, displaying a first resource animation including a virtual image corresponding to the interactive object in the target area of ​​the message preview box;

[0107] Specifically, the terminal device can display a first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box; at the same time, the terminal device can display a second resource sub-animation formed by a message virtual resource that can be used to interact with the virtual image in the target area. The first resource animation is composed of the first resource sub-animation and the second resource sub-animation, that is, the first resource sub-animation and the second resource sub-animation can be collectively referred to as the first resource animation. The target area does not overlap with the avatar area in the message preview box; the message virtual resource in the second resource sub-animation is determined based on the media content contained in the first original interactive message and the media format of the media content, and accordingly, the first resource animation is determined based on the media content contained in the first original interactive message and the media format of the media content.

[0108] Optionally, the terminal device may display a first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box, and further determine the first resource sub-animation as the first resource animation including the virtual image corresponding to the interactive object.

[0109] Among them, the first resource animation can be dynamic or static. It can be understood that the first resource sub-animation and the second resource sub-animation can both be dynamic; optionally, the first resource sub-animation and the second resource sub-animation can both be static; optionally, the first resource sub-animation can be dynamic and the second resource sub-animation can be static; optionally, the first resource sub-animation can be static and the second resource sub-animation can be dynamic.

[0110] It should be understood that when the first resource animation is displayed in the target area, the terminal device can respond to the sliding operation on the application interface and slide the message preview box in the application interface, that is, slide the target area in the message preview box. Further, the terminal device can display the first resource animation containing the virtual image corresponding to the interactive object in the sliding target area, that is, the first resource animation can scroll up and down with the message preview box.

[0111] It should be understood that the terminal device can display the default message resource in the target area of ​​the message preview box, and then when the first original interactive message can trigger the generation of the first resource animation containing the virtual image corresponding to the interactive object, the terminal device can obtain the first resource animation containing the virtual image corresponding to the interactive object, and update the default message resource in the target area based on the first resource animation (i.e., cancel the display of the default message resource and display the first resource animation). Optionally, the terminal device may not need to display the default message resource in the target area of ​​the message preview box, but when the first original interactive message can trigger the generation of the first resource animation containing the virtual image corresponding to the interactive object, the terminal device can directly obtain the first resource animation containing the virtual image corresponding to the interactive object, and then display the first resource animation in the target area of ​​the message preview box. Optionally, the terminal device can also display the default message resource in the target area of ​​the message preview box when the first original interactive message cannot trigger the generation of the first resource animation containing the virtual image corresponding to the interactive object.

[0112] Among them, it can be understood that the media format of the media content contained in the first original interactive message can be specified by message_type. Since the media format of the media content contained in the first original interactive message can be one or more (that is, the first original interactive message can contain one or more media contents), the message_type associated with the first original interactive message can represent one or more media contents in the first original interactive message in a list. At this time, when the message_type of the unread message (for example, the first original interactive message) is an ordinary text message (that is, a plain text message) (that is, message_type indicates that the first original interactive message includes text content and does not include other content), the new message reminder is the default message resource method; when the message_type of the unread message (for example, the first original interactive message) is not an ordinary text message (that is, message_type indicates that the first original interactive message includes other content besides text content, for example, the first original interactive message includes image content and text content), the new message reminder can be displayed in the form of a virtual image.

[0113] For easier understanding, see Figure 3 , Figure 3 is a schematic diagram of a scene showing a first resource animation provided by an embodiment of the present application. Figure 3The message preview box 30a shown may be the same as the message preview box displayed in the message list, and the message preview box 30a may include an avatar area 31a, a resource animation display area 32a, a default prompt display area 32b, an object nickname 33a, and a preview message 33b. The resource animation display area 32a may be used to display a resource animation (e.g., a first resource animation), the default prompt display area 32b may be used to display a default message resource, the object nickname 33a may be used to display an object nickname (e.g., an application nickname of an interactive object in an application client), and the preview message 33b may be used to display a preview message (e.g., a first preview message). Among them, the resource animation display area 32a and the default prompt display area 32b belong to the target area of ​​the message preview box 30a, and the target area may be an area other than the avatar area 31a in the message preview box 30a.

[0114] like Figure 3 The message preview box 30b shown may be a message preview box containing a default message resource, and the message preview box 30b may include an avatar area 31b, a default prompt display area 32c, an object nickname "pig" and a preview message 33c; Figure 3 The message preview box 30c shown may be a message preview box including a first resource animation, and the message preview box 30c may include an avatar area 31c, a resource animation display area 32d, an object nickname “piggy”, and a preview message 33d.

[0115] The terminal device can directly display the message preview box 30b, or directly display the message preview box 30c, and can also switch the message preview box 30b to the message preview box 30c after displaying the message preview box 30b. The message preview box 30b (i.e., the display mode of the default message resource) and the message preview box 30c (i.e., the display mode of the virtual image) are in a parallel relationship (i.e., a mutually exclusive relationship), and the two modes cannot be displayed at the same time. When there is a virtual image, the default message resource needs to be hidden, and the virtual image is displayed in priority to the default message resource.

[0116] It is understandable that the virtual image corresponding to the interactive object can be determined by the object image of the interactive object. For example, the object image of the interactive object can represent the super image show established by the interactive object. The super image show is an upgraded version of the image show, which is an exploration and attempt of the image show from 2D (two dimensional) to 3D (three dimensional), and can be generated by the game rendering engine. When the interactive object updates the object image (for example, pinching the face, changing clothes, etc.), the tag value of the updated object image (i.e., the object identifier of the virtual image) and the updated virtual image corresponding to the updated object image can be generated, so that by updating the object image, the resource animation associated with the same interactive message is different under different dresses (i.e., object images) of the same interactive object. For another example, the object image of the interactive object can represent the object behavior of the interactive object. For example, based on the click behavior and viewing behavior of the interactive object in the application client, the object image of the interactive object can be generated. For another example, the object image of the interactive object can be determined by the image image uploaded by the interactive object, and the image image can include the object image of the interactive object.

[0117] Among them, in this application, it involves data related to click behavior and viewing behavior. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws and regulations and national standards of the country. For example, the target terminal device can display a prompt message "whether to record the current click behavior and viewing formation, and send the recorded information to the server". Only after the user corresponding to the target terminal device (i.e., the interactive object) is authorized, the object behavior can be uploaded to the server.

[0118] For easier understanding, see Figure 4 , Figure 4 is a scene diagram of an object image provided in an embodiment of the present application. Figure 4 As shown, the object image of the interactive object may be object image 40a, and the virtual image corresponding to the interactive object generated according to object image 40a may be virtual image 40c. The posture of virtual image 40c may be fixed (e.g., raising hands) or non-fixed (e.g., raising hands, covering face, etc.), which is not limited in the present application. For ease of understanding, the present application embodiment takes the posture of the virtual image as raising hands as an example for explanation.

[0119] It is understandable that if the first resource animation includes the first resource sub-animation, the terminal device can generate the first resource sub-animation based on the virtual image 40c, and the area displayed by the first resource sub-animation can be the area range 41a. Optionally, if the first resource animation includes the first resource sub-animation and the second resource sub-animation, the terminal device can generate the first resource sub-animation based on the virtual image 40c, and generate the second resource sub-animation based on the message virtual resource 40b (here, the message virtual resource 40b is a heart as an example for explanation, and the message virtual resource 40b can also be other virtual resources besides a heart), and then superimpose the first resource sub-animation and the second resource sub-animation to obtain the first resource animation 40d.

[0120] like Figure 4 As shown, the first resource animation 40d may include a virtual image 40c and a message virtual resource 40b, wherein the area range displayed by the first resource sub-animation may be the area range 41a, and the area range displayed by the second resource sub-animation may be the area range 41b. In other words, the area range displayed by the virtual image 40c may be the area range 41a, and the area range displayed by the message virtual resource 40b may be the area range 41b, and the area range displayed by the first resource animation may be the union of the area range 41a and the area range 41b.

[0121] Step S104: In response to the triggering operation on the first resource animation, a message service associated with the first original interaction message is executed.

[0122] Specifically, if the first resource animation is a non-triggerable resource animation, the terminal device may respond to the trigger operation for the first resource animation and display the interaction area associated with the interaction object. Further, the terminal device may display the first original interaction message in the interaction area. Optionally, if the first resource animation is a triggerable resource animation, the terminal device may respond to the trigger operation for the first resource animation and display the media data associated with the media content having a triggerable media format in the first original interaction message.

[0123] The specific process of the terminal device displaying the media data associated with the media content having the triggerable media format in the first original interaction message can be referred to as follows: Figure 5 The description of step S205 in the corresponding embodiment.

[0124] Optionally, the terminal device may respond to a trigger operation on a non-target area in the message preview box and display an interactive area associated with the interactive object. The non-target area may be an area in the message preview box other than the area where the first resource animation is located. Further, the terminal device may display the first original interactive message in the interactive area.

[0125] It should be understood that before responding to the trigger operation for the first resource animation (or non-target area), the terminal device may continue to display the first resource animation in the target area, and then after responding to the trigger operation for the first resource animation (or non-target area), cancel the display of the first resource animation in the target area. Optionally, the terminal device may also cancel the display of the first resource animation in the target area when responding to the sliding operation for the first resource animation.

[0126] Optionally, the terminal device may also display the first resource animation in the target area according to the display duration, and the display duration may be the time during which the first resource animation is continuously displayed in the target area. The embodiment of the present application does not limit the display duration of the first resource animation. For example, the display duration of the first resource animation may be 10s (i.e., 10 seconds).

[0127] It is understandable that the interaction area can be a group chat interaction area (that is, the sample interaction object and the target interaction object can be interaction objects for group chat), or it can be a single chat (Customer to Customer, C2C) interaction area (that is, the sample interaction object and the target interaction object can be interaction objects for single chat), and the embodiments of the present application do not limit this. Correspondingly, the message preview box associated with the interaction object can be a message preview box corresponding to the group chat, or it can be a message preview box corresponding to the single chat. In addition, the target interaction object and the sample interaction object can be friends with each other, or they can not be friends with each other (that is, they are non-friends with each other), and the embodiments of the present application do not limit this.

[0128] The embodiment of the present application proposes a message reminder method based on a virtual image. When receiving a new message (for example, the first original interactive message sent by the interactive object), the message reminder method can obtain the virtual image corresponding to the interactive object, and generate a first resource animation associated with the first original interactive message based on the virtual image corresponding to the interactive object. When different interactive objects send the first original interactive message, resource animations corresponding to different interactive objects can be generated based on the virtual images corresponding to different interactive objects. Since the virtual images corresponding to different interactive objects are different, the resource animations corresponding to different interactive objects generated based on different virtual images are different, thereby realizing a personalized resource animation display method. Moreover, when the media content contained in the first original interactive message is different, the first resource animation is different, so that the specific content in the first original interactive message can be reflected through the first resource animation, so that when the first original interactive message is a new message of high value, the high-value new message (i.e., the new message that needs to be focused on) is highlighted by the first resource animation, thereby enriching the reminder method of the new message. In addition, by responding to the trigger operation for the first resource animation, the message service associated with the first original interaction message can be directly executed without entering the chat interface where the first original interaction message is located, thereby simplifying the process of operating new messages and improving the efficiency of processing new messages.

[0129] For further information, see Figure 5 , Figure 5 This is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a server, or by a terminal device, or by both a server and a terminal device. The server can be the above-mentioned Figure 1 The server 2000 in the corresponding embodiment, the terminal device can be the above Figure 1 The sample terminal device or target terminal device of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Among them, the data processing method may include the following steps S201-S207:

[0130] Step S201, displaying a first preview message in a message preview box;

[0131] The first preview message is determined based on the first original interaction message sent by the interaction object. The specific process of displaying the first preview message in the message preview box can be referred to in the above Figure 2 The description of step S102 in the corresponding embodiment will not be repeated here.

[0132] Step S202, in the target area of ​​the message preview frame, synchronously displaying a first resource sub-animation formed by the virtual image corresponding to the interactive object and a second resource sub-animation formed by the message virtual resource that can be used to interact with the virtual image;

[0133] Among them, the message virtual resources may include image message virtual resources. It should be understood that the terminal device can display a first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box. Furthermore, if the media format of the media content contained in the first original interactive message is a media format corresponding to the image type content, the terminal device can determine the media content contained in the first original interactive message as an image message virtual resource. Furthermore, the terminal device can display a second resource sub-animation formed by the image message virtual resource that can be used to interact with the virtual image in the target area. Among them, the media content contained in the first original interactive message may include but is not limited to image content (see below Figure 8 The corresponding embodiment) and expression content (see the following Fig. 9 Description of the corresponding embodiment), that is, image content and expression content can be collectively referred to as image type content.

[0134] Optionally, the message virtual resource may include a file message virtual resource. It should be understood that the terminal device may display a first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box. Furthermore, if the media format of the media content contained in the first original interactive message is a media format corresponding to the file type content, the terminal device may obtain the file message virtual resource indicated by the media content contained in the first original interactive message. Furthermore, the terminal device may display a second resource sub-animation formed by the file message virtual resource that can be used to interact with the virtual image in the target area. Among them, the media content contained in the first original interactive message may include but is not limited to document content (see below). Figure 7 The corresponding embodiment of the description), audio content (see below Fig.11 The corresponding embodiment), gift content (see below Fig.12 The corresponding embodiment of the description), the red envelope content (see the following Fig.13 Description of the corresponding embodiment) and transfer content, namely document content, audio content, gift content, red envelope content and transfer content can be collectively referred to as file type content.

[0135] Optionally, the message virtual resource may include a video message virtual resource. It should be understood that the terminal device may display a first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box. Furthermore, if the media format of the media content contained in the first original interactive message is a media format corresponding to the video type content, the terminal device may obtain a preview video frame in the media content contained in the first original interactive message, and determine the preview video frame as a video message virtual resource. Optionally, the terminal device may obtain a video message virtual resource indicated by the media format of the media content contained in the first original interactive message. Furthermore, the terminal device may display a second resource sub-animation formed by a video message virtual resource that can be used to interact with the virtual image in the target area. Among them, the media content contained in the first original interactive message may include but is not limited to video content (see below Fig.10 Description of the corresponding embodiment), that is, video content can be collectively referred to as video type content, and the video content can be a long video or a short video, which is not limited in this application.

[0136] It is understandable that the preview video frame can be a video frame in the video content, and the embodiment of the present application does not limit which frame in the video content the preview video frame is. For example, the preview video frame can be the first video frame in the video content; for another example, the preview video frame can be the last video frame in the video content; for another example, the preview video frame can be the video frame with the highest video score in the video content. At this time, the terminal device can input each video frame in the video content into the video frame scoring model respectively, and output the video score corresponding to each video frame in the video content through the video frame scoring model.

[0137] For ease of understanding, the processing flow of emoticon messages (i.e. emoticon content) can be found in Figure 6 , Figure 6 This is a flowchart of a processing flow of an expression message provided in an embodiment of the present application. The processing flow of other messages except expression messages can be found in Figure 6 Description of Figure 6 As shown, the terminal device can execute step S11, and through step S11, the display of the default message resource is canceled (for example, the default message resource can be a red dot (i.e., a red circle) that does not include numbers, a red dot (i.e., a red circle) that includes numbers, etc., and the default message resource can be a red dot that does not include numbers is used as an example for explanation here), and hiding the red dot prompt means canceling the display of the red dot that does not include numbers.

[0138] Furthermore, if Figure 6As shown, the terminal device may execute step S12, and determine whether the media content contained in the first original interaction message is expression content through step S12. If the media content contained in the first original interaction message is not expression content, step S13 is executed, and if the media content contained in the first original interaction message is expression content, step S14 is executed. Among them, the terminal device may perform other message type new message reminder processing on the first original interaction message through step S13, for example, determine whether the media content contained in the first original interaction message is image content.

[0139] Optional, such as Figure 6 As shown, the terminal device can render a virtual image thumbnail through step S14, that is, display the virtual image corresponding to the interactive object, and the virtual image can be a thumbnail generated based on the virtual image. Further, the terminal device can execute step S15, through which the expression in the message is intercepted, that is, the media content contained in the first original interactive message is obtained, and the media content contained in the first original interactive message is determined as an image message virtual resource, where the media content can be the expression content in the first original interactive message, that is, the image message virtual resource can be the expression content in the first original interactive message. Further, the terminal device can execute step S16, through which the thumbnail is superimposed with the expression, that is, the virtual image corresponding to the interactive object (first resource sub-animation) and the image message virtual resource (second resource sub-animation) are superimposed to obtain the first resource animation.

[0140] It is understandable that the specific process of the terminal device displaying the first resource animation can be referred to as follows Figure 7-Figure 14 The description of the corresponding embodiment, Figure 7-Figure 14 It can represent different first resource animations generated by triggering different first original interaction messages. The first resource animation may include a first resource sub-animation, or may include a first resource sub-animation and a second resource sub-animation. The specific process of the first resource animation including the first resource sub-animation and the second resource sub-animation can be referred to as follows Figure 7-Figure 13 The description of the corresponding embodiment, the specific process of the first resource animation including the first resource sub-animation can be referred to as follows Fig.14 Description of the corresponding embodiment.

[0141] For easier understanding, see Figure 7 , Figure 7 Schematic diagram of a scenario for processing document messages provided by an embodiment of the present application. Figure 7 The following is a schematic diagram of a scene in which document content and a virtual image are superimposed. Figure 7 The application interface 70a and the application interface 70b shown in the figure may be the application interfaces of the application client in the terminal device at different times, such as Figure 7The application interface 70c and the application interface 70d shown may be application interfaces of an application client in a terminal device at different times.

[0142] like Figure 7 As shown, the terminal device can display the application interface 70a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 71b) sent by the interaction object, the terminal device can switch the application interface 70a to the application interface 70b, and display the interaction message 71b in the interaction area 71a of the application interface 70b. The interaction message 71b can be document content.

[0143] Optional, such as Figure 7 As shown, the terminal device can display the application interface 70c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 71b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 71c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 71e) in the message preview box associated with the interaction object. Among them, the resource animation 71c can include a file message virtual resource 71d corresponding to the document content, and the preview message 71e can include the preview content "[File] Product Copy" corresponding to the document content. The "Product Copy" can belong to the document title of the document content. Among them, the document content in the embodiment of the present application can include but is not limited to word documents, excel documents and txt documents. The embodiment of the present application can also generate different file message virtual resources for word documents, excel documents and txt documents respectively.

[0144] For easier understanding, see Figure 8 , Figure 8 Schematic diagram of a scenario for processing picture messages provided by an embodiment of the present application. Figure 8 The following is a schematic diagram of a scene in which image content and a virtual image are superimposed. Figure 8 The application interface 80a and the application interface 80b shown in the figure may be the application interfaces of the application client in the terminal device at different times, such as Figure 8 The application interface 80c and the application interface 80d shown may be application interfaces of an application client in a terminal device at different times.

[0145] like Figure 8 As shown, the terminal device can display the application interface 80a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 81b) sent by the interaction object, the terminal device can switch the application interface 80a to the application interface 80b, and display the interaction message 81b in the interaction area 81a of the application interface 80b. The interaction message 81b can be image content.

[0146] Optional, such as Figure 8 As shown, the terminal device can display the application interface 80c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 81b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 81c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 81e) in the message preview box associated with the interaction object. The resource animation 81c can include the image message virtual resource 81d corresponding to the image content, and the preview message 81e can include the preview content "[Picture]" corresponding to the image content.

[0147] For easier understanding, see Fig. 9 , Fig. 9 Schematic diagram of a scenario for processing emoticon messages provided by an embodiment of the present application. Fig. 9 The following is a schematic diagram of a scene in which expression content and a virtual image are superimposed. Fig. 9 The application interface 90a and the application interface 90b shown in the figure may be the application interfaces of the application client in the terminal device at different times, such as Fig. 9 The application interface 90c and the application interface 90d shown may be application interfaces of an application client in a terminal device at different times.

[0148] like Fig. 9 As shown, the terminal device can display the application interface 90a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 91b) sent by the interaction object, the terminal device can switch the application interface 90a to the application interface 90b, and display the interaction message 91b in the interaction area 91a of the application interface 90b. The interaction message 91b can be the expression content "bomb".

[0149] Optional, such as Fig. 9 As shown, the terminal device can display the application interface 90c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 91b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 91c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 91e) in the message preview box associated with the interaction object. The resource animation 91c can include the image message virtual resource 91d corresponding to the expression content, and the preview message 91e can include the preview content "bomb" corresponding to the expression content.

[0150] For easier understanding, see Fig.10 , Fig.10FIG. 1 is a schematic diagram of a scenario for processing a video message provided by an embodiment of the present application. Fig.10 The following is a schematic diagram of a scene in which video content and a virtual image are superimposed. Fig.10 The application interface 100a and the application interface 100b shown in the figure may be application interfaces of the application client in the terminal device at different times, such as Fig.10 The application interface 100c and the application interface 100d shown may be application interfaces of an application client in a terminal device at different times.

[0151] like Fig.10 As shown, the terminal device can display the application interface 100a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 101b) sent by the interaction object, the terminal device can switch the application interface 100a to the application interface 100b, and display the interaction message 101b in the interaction area 101a of the application interface 100b. The interaction message 101b can be video content.

[0152] Optional, such as Fig.10 As shown, the terminal device can display the application interface 100c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 101b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 101c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 101e) in the message preview box associated with the interaction object. The resource animation 101c may include the video message virtual resource 101d corresponding to the video content, and the preview message 101e may include the preview content "[video]" corresponding to the video content.

[0153] For easier understanding, see Fig.11 , Fig.11 Schematic diagram of a scenario for processing an audio message provided by an embodiment of the present application. Fig.11 The following is a schematic diagram of a scene in which audio content and a virtual image are superimposed. Fig.11 The application interface 110a and the application interface 110b shown in the figure may be application interfaces of the application client in the terminal device at different times, such as Fig.11 The application interface 110c and the application interface 110d shown may be application interfaces of an application client in the terminal device at different times.

[0154] like Fig.11As shown, the terminal device can display the application interface 110a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 111b) sent by the interaction object, the terminal device can switch the application interface 110a to the application interface 110b, and display the interaction message 111b in the interaction area 111a of the application interface 110b. The interaction message 111b can be audio content.

[0155] Optional, such as Fig.11 As shown, the terminal device can display the application interface 110c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 111b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 111c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 111e) in the message preview box associated with the interaction object. The resource animation 111c can include the file message virtual resource 111d corresponding to the audio content, and the preview message 111e can include the preview content "[audio]" corresponding to the audio content.

[0156] For easier understanding, see Fig.12 , Fig.12 Schematic diagram of a scenario for processing gift messages provided by an embodiment of the present application. Fig.12 The following is a schematic diagram of a scene in which the gift content and the virtual image are superimposed. Fig.12 The application interface 120a and the application interface 120b shown in the figure may be the application interface of the application client in the terminal device at different times, such as Fig.12 The application interface 120c and the application interface 120d shown may be application interfaces of an application client in the terminal device at different times.

[0157] like Fig.12 As shown, the terminal device can display the application interface 120a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 121b) sent by the interaction object, the terminal device can switch the application interface 120a to the application interface 120b, and display the interaction message 121b in the interaction area 121a of the application interface 120b. The interaction message 121b can be the content of the gift.

[0158] Optional, such as Fig.12As shown, the terminal device can display the application interface 120c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 121b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 121c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 121e) in the message preview box associated with the interaction object. The resource animation 121c may include the file message virtual resource 121d corresponding to the gift content, and the preview message 121e may include the preview content "[gift]" corresponding to the gift content.

[0159] For easier understanding, see Fig.13 , Fig.13 Schematic diagram of a scenario for processing a red envelope message provided by an embodiment of the present application. Fig.13 The following is a schematic diagram of a scenario in which the red envelope content and the virtual image are superimposed. Fig.13 The application interface 130a and the application interface 130b shown in the figure may be application interfaces of the application client in the terminal device at different times, such as Fig.13 The application interface 130c and the application interface 130d shown may be application interfaces of an application client in the terminal device at different times.

[0160] like Fig.13 As shown, the terminal device can display the application interface 130a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 131b) sent by the interaction object, the terminal device can switch the application interface 130a to the application interface 130b, and display the interaction message 131b in the interaction area 131a of the application interface 130b. The interaction message 131b can be the content of the red envelope.

[0161] Optional, such as Fig.13 As shown, the terminal device can display the application interface 130c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 131b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 131c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 131e) in the message preview box associated with the interaction object. Among them, the resource animation 131c can include the file message virtual resource 131d corresponding to the red envelope content, and the preview message 131e can include the preview content "[red envelope]" corresponding to the red envelope content.

[0162] It should be understood that the first original interaction message may also include media content in multiple media formats, that is, the first original interaction message may simultaneously include at least two media contents of text content, image content, expression content, document content, red envelope content, gift content, transfer content, audio content and video content. At this time, the terminal device may determine the displayed first resource sub-animation and second resource sub-animation based on the media content in multiple media formats contained in the first original interaction message. For example, the first original interaction message may include text content and expression content (for example, the first original interaction message may be "throw you a bomb [bomb]", "[bomb]" may represent an expression in the style of "bomb"); for another example, the first original interaction message may include text content and image content (for example, the first original interaction message may be "look at my dance photo [picture]", "[picture]" may be a picture); for another example, the first original interaction message may include text content and expression content (for example, the first original interaction message may be "throw you a bomb [bomb][love]", "[bomb]" may represent an expression in the style of "bomb"). " style expression, "[love]" can represent a "love" style expression), at this time, the second resource sub-animation can be determined by the media content of the first message virtual resource that can be triggered to generate in the first original interactive message (that is, "[bomb]", in this case the second resource sub-animation can include a message virtual resource of the "[bomb]" style), or by all the media contents in the first original interactive message that can trigger the generation of message virtual resources (that is, "[bomb]" and "[love]", in this case the second resource sub-animation can include a message virtual resource of the "[bomb]" style and a message virtual resource of the "[love]" style).

[0163] Step S203, displaying a first resource sub-animation formed by a virtual image corresponding to the interactive object in a target area of ​​the message preview box;

[0164] It should be understood that if the media format of the media content included in the first original interactive message is the media format corresponding to the interactive content, the terminal device may not need to display the second resource sub-animation formed by the message virtual resource that can be used to interact with the virtual image in the target area, but directly display the first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box. The interactive content may include but is not limited to poke content, shake content, and pat content.

[0165] For easier understanding, see Fig.14 , Fig.14 Schematic diagram of a scenario for processing a poke message provided by an embodiment of the present application. Fig.14 The application interface 140a and the application interface 140b shown may be application interfaces of the application client in the terminal device at different times, such as Fig.14 The application interface 140c and the application interface 140d shown may be application interfaces of an application client in the terminal device at different times.

[0166] like Fig.14 As shown, the terminal device can display the application interface 140a in the application client. If the terminal device receives the first original interaction message (for example, interaction message 141b) sent by the interaction object, the terminal device can switch the application interface 140a to the application interface 140b, and display the interaction message 141b in the interaction area 141a of the application interface 140b. The interaction message 141b can be a poke content (or a shake content, a pat content, etc.), and the interaction message 141b cannot be used to trigger the generation of the second resource sub-animation.

[0167] Optional, such as Fig.14 As shown, the terminal device can display the application interface 140c in the application client. If the terminal device receives the first original interaction message (e.g., interaction message 141b) sent by the interaction object, the terminal device can display the first resource animation (e.g., resource animation 141c) in the target area of ​​the message preview box associated with the interaction object, and display the first preview message (e.g., preview message 141d) in the message preview box associated with the interaction object. Among them, the preview message 141d can include the preview content "The piglet poked you" corresponding to the poke content (or the preview content "The piglet shook you" corresponding to the shake content, and the preview content "The piglet patted you" corresponding to the pat content).

[0168] It is understandable that in the above Figure 7-Figure 14 In the corresponding embodiment, the first resource sub-animations corresponding to different first original interaction messages are the same. For example, the first resource sub-animation may be an action of the avatar raising its hand. In fact, the first resource sub-animations corresponding to different first original interaction messages may also be different. Here, the first resource sub-animations corresponding to different first original interaction messages are the same as an example for explanation.

[0169] Step S204, determining the resource animation type of the first resource animation;

[0170] It is understandable that the resource animation type of the first resource animation can be a resource animation type corresponding to a triggerable resource animation or a resource animation type corresponding to an untriggerable resource animation. If the resource animation type of the first resource animation is a resource animation type corresponding to a triggerable resource animation (i.e., the first resource animation is a triggerable resource animation), the terminal device can execute the following step S205; optionally, if the resource animation type of the first resource animation is a resource animation type corresponding to an untriggerable resource animation (i.e., the first resource animation is an untriggerable resource animation), the terminal device can execute the following steps S206 and S207.

[0171] Step S205: if the first resource animation is a triggerable resource animation, in response to a triggering operation on the first resource animation, displaying media data associated with the media content having a triggerable media format in the first original interaction message;

[0172] Among them, the first resource animation may include viewing a message virtual resource. It should be understood that if the first resource animation is a triggerable resource animation, the terminal device may respond to a trigger operation on the first resource animation (i.e., respond to a trigger operation on a virtual image in the first resource animation or respond to a trigger operation on a message virtual resource in the first resource animation) and switch the application interface to a viewing interface. Furthermore, the terminal device may display media data associated with media content having a viewing media format in the first original interactive message in the viewing interface. Among them, the viewing media format is a triggerable media format indicated by the viewing message virtual resource, and the viewing media format may be a media format corresponding to the document content, a media format corresponding to the image content, or a media format corresponding to the video content.

[0173] For easier understanding, please refer to Figure 7 The terminal device may respond to a trigger operation on the resource animation 71c (for example, the terminal device may respond to a trigger operation on the file message virtual resource 71d (i.e., the view message virtual resource 71d) in the resource animation 71c), switch the application interface 70c to the application interface 70d (or the view interface 70d), and display the media data associated with the media content in the view media format in the interactive message 71b in the application interface 70d, that is, display the media data associated with the document content in the application interface 70d. For example, the media data associated with the document content may be text 71f, images, tables, etc. in the document content.

[0174] For easier understanding, please refer to Figure 8, the terminal device can respond to the trigger operation for the resource animation 81c (for example, the terminal device can respond to the trigger operation for the image message virtual resource 81d (i.e., the view message virtual resource 81d) in the resource animation 81c), switch the application interface 80c to the application interface 80d (or the view interface 80d), and display the media data associated with the media content in the interactive message 81b having the view media format in the application interface 80d, that is, display the media data associated with the image content in the application interface 80d. For example, the media data associated with the image content can be the image content 81f, the camera parameters for shooting the image content, the size of the image content, the image editing control 82a, the image viewing control 82b, the image sharing control 82c, etc. The image editing control 82a can be used to edit the image content 81f (for example, to crop the image content 81f), the image viewing control 82b can be used to view the historical image content communicated with the interactive object, and the historical image content can include the image content 81f, and the image sharing control 82c can be used to share the image content 81f. Optionally, the image viewing control 82b may be used to view historical video content and historical image content communicated with the interactive object.

[0175] For easier understanding, please refer to Fig.10The terminal device can respond to a trigger operation on the resource animation 101c (for example, the terminal device can respond to a trigger operation on the video message virtual resource 101d (i.e., the viewing message virtual resource 101d) in the resource animation 101c), switch the application interface 100c to the application interface 100d (or the viewing interface 100d), and display the media data associated with the media content in the viewing media format in the interactive message 101b in the application interface 100d, that is, display the media data associated with the video content in the application interface 100d. For example, the media data associated with the video content may be a video frame 101h in the video content, a video playback progress control control 101g, a video playback control control 101f, a video editing control 102a, a video viewing control 102b, a video sharing control 102c, etc. The video playback control control 101f may be used to control the playback or pause of the video content, the video playback progress control control 101g may be used to control the playback progress of the video content, the video playback progress control control 101g may be used to drag, the video editing control 102a may be used to edit the video content (for example, to intercept the video frame in the video content), the video viewing control 102b may be used to view the historical video content for communication with the interactive object, the historical video content may include the video content to which the video frame 101h belongs, and the video sharing control 102c may be used to share the video content to which the video frame 101h belongs. Optionally, the video viewing control 102b may be used to view the historical video content and historical image content for communication with the interactive object.

[0176] Optionally, the first resource animation may include an audio message virtual resource. It should be understood that if the first resource animation is a triggerable resource animation, the terminal device may respond to a trigger operation on the first resource animation (i.e., respond to a trigger operation on a virtual image in the first resource animation or respond to a trigger operation on a message virtual resource in the first resource animation), and display the playback progress corresponding to the media content in the audio media format in the first original interactive message. Among them, the audio media format is a triggerable media format indicated by the audio message virtual resource. Further, the terminal device may respond to a drag operation on the playback progress, and play the media content in the audio media format according to the dragged playback progress, and the audio media format may be a media format corresponding to the audio content.

[0177] For easier understanding, please refer to Fig.11, the terminal device can respond to the trigger operation for the resource animation 111c (for example, the terminal device can respond to the trigger operation for the file message virtual resource 111d (i.e., the audio message virtual resource 111d) in the resource animation 111c), switch the application interface 110c to the application interface 110d, and display the playback progress corresponding to the media content in the audio media format in the interactive message 111b in the application interface 110d, that is, display the playback progress corresponding to the audio content in the application interface 110d. For example, the playback progress corresponding to the audio content may include an audio playback progress control control 111g, an audio playback control control 111f, etc. The audio playback control control 111f can be used to control the playback or pause of the audio content, the audio playback progress control control 111g can be used to control the playback progress of the audio content, and the audio playback progress control control 111g can be used to drag.

[0178] Optionally, the first resource animation may include a virtual resource for receiving a message. It should be understood that if the first resource animation is a triggerable resource animation, the terminal device may respond to a trigger operation on the first resource animation (i.e., respond to a trigger operation on a virtual image in the first resource animation or respond to a trigger operation on a message virtual resource in the first resource animation), and display the resource description information and resource collection control corresponding to the media content having a collection media format in the first original interactive message. Among them, the collection media format is a triggerable media format indicated by the collection message virtual resource, and the collection media format may be a media format corresponding to the red envelope content, a media format corresponding to the gift content, or a media format corresponding to the transfer content. Furthermore, the terminal device may respond to a trigger operation on the resource collection control and collect the animated virtual resource indicated by the resource description information.

[0179] For easier understanding, please refer to Fig.12 , the terminal device can respond to the trigger operation for the resource animation 121c (for example, the terminal device can respond to the trigger operation for the file message virtual resource 121d (i.e., the collection message virtual resource 121d) in the resource animation 121c), switch the application interface 120c to the application interface 120d, display the resource collection area 122a corresponding to the media content with the collection media format in the interactive message 121b in the application interface 120d, display the resource description information 122b and the resource collection control 122c in the resource collection area 122a, that is, display the resource description information 122b and the resource collection control 122c corresponding to the gift content in the application interface 120d. Further, the terminal device can respond to the trigger operation for the resource collection control 122c, and collect the animation virtual resource indicated by the resource description information 122b, where the animation virtual resource can be "50 game coins".

[0180] For easier understanding, please refer to Fig.13 , the terminal device can respond to the trigger operation for the resource animation 131c (for example, the terminal device can respond to the trigger operation for the file message virtual resource 131d (i.e., the collection message virtual resource 131d) in the resource animation 131c), switch the application interface 130c to the application interface 130d, display the resource collection area 132a corresponding to the media content with the collection media format in the interactive message 131b in the application interface 130d, display the resource description information 132b and the resource collection control 132c in the resource collection area 132a, that is, display the resource description information 132b and the resource collection control 132c corresponding to the red envelope content in the application interface 130d. Further, the terminal device can respond to the trigger operation for the resource collection control 132c and collect the animation virtual resource indicated by the resource description information 132b.

[0181] Step S206, if the first resource animation is a non-triggerable resource animation, then in response to a triggering operation on the first resource animation, an interactive area associated with the interactive object is displayed;

[0182] Step S207: display the first original interaction message in the interaction area.

[0183] For easier understanding, please refer to Fig. 9 The terminal device can respond to a trigger operation on the resource animation 91c (for example, the terminal device can respond to a trigger operation on the image message virtual resource 91d in the resource animation 91c), switch the application interface 90c to the application interface 90d, and display the interactive message 91b in the interactive area of ​​the application interface 90d.

[0184] For easier understanding, please refer to Fig.14 The terminal device may respond to a trigger operation on the resource animation 141c (for example, the terminal device may respond to a trigger operation on the virtual image in the resource animation 141c), switch the application interface 140c to the application interface 140d, and display the interactive message 141b in the interactive area of ​​the application interface 140d.

[0185] For easier understanding, see Fig.15 , Fig.15 is a flow chart of triggering a first resource animation provided by an embodiment of the present application. Fig.15As shown, the terminal device can execute step S21, and respond to the new message reminder of clicking the virtual image executed by the sample interactive object through step S21, that is, the terminal device can respond to the trigger operation for the first resource animation. Further, the terminal device can execute step S22, and determine whether the first original interactive message is a file message through step S22. Here, the file message can be an interactive message including document content, picture content, video content, audio content, gift content or red envelope content.

[0186] Furthermore, if Fig.15 As shown, if the first original interaction message is not a file-type message (i.e., the first original interaction message does not include document content, picture content, video content, audio content, gift content, or red envelope content), the terminal device can execute step S26, and there is no need to process resource animation in step S26. Optionally, if the first original interaction message is a file-type message (i.e., the first original interaction message includes document content, picture content, video content, audio content, gift content, or red envelope content), the terminal device can execute step S23, and determine whether the first original interaction message is a picture message or a video message through step S23.

[0187] Furthermore, if Fig.15 As shown, if the first original interactive message is a picture message or a video message (i.e., the first original interactive message includes picture content or video content), the terminal device may execute step S24, and the picture content or video content in the first original interactive message may be opened through step S24. Step S24 may open the picture content in the first original interactive message through a picture viewer, and may open the video content in the first original interactive message through a video viewer. Further, the terminal device may execute step S25, and perform unread message elimination processing through step S25, i.e., cancel the first resource animation in the display target area.

[0188] Optional, such as Fig.15 As shown, if the first original interaction message is not a picture message or a video message (that is, the first original interaction message does not include picture content or video content), the terminal device can execute step S27 to determine whether the first original interaction message is an ordinary file message through step S27. The ordinary file message here can be an interaction message including document content.

[0189] Furthermore, if Fig.15As shown, if the first original interactive message is a common file message (i.e., the first original interactive message includes document content), the terminal device may execute step S28, and the file (i.e., document content) in the first original interactive message may be opened through step S28, and the document content in the first original interactive message may be opened through a file viewer. Further, the terminal device may execute step S25, and the unread message elimination process may be performed through step S25, i.e., the first resource animation in the display target area may be canceled.

[0190] Optional, such as Fig.15 As shown, if the first original interaction message is not an ordinary file message (that is, the first original interaction message does not include document content), the terminal device can execute step S29 to determine whether the first original interaction message is a voice message through step S29. The voice message here can be an interaction message including voice content.

[0191] Furthermore, if Fig.15 As shown, if the first original interactive message is a voice message (i.e., the first original interactive message includes voice content), the terminal device may execute step S30, perform voice playback processing through step S30, and then execute step S31, and play the voice content in the first original interactive message through step S31. Further, the terminal device may execute step S25, and perform unread message elimination processing through step S25, that is, cancel the first resource animation in the display target area.

[0192] Optional, such as Fig.15 As shown, if the first original interaction message is not a voice message (that is, the first original interaction message does not include voice content), the terminal device can execute step S32 and perform other processing through step S32. For example, step S32 can determine whether the first original interaction message is an interactive message (that is, whether the first original interaction message includes red envelope content or gift content).

[0193] It can be seen that after receiving the first original interactive message sent by the interactive object, the embodiment of the present application can display the first resource sub-animation in the target area of ​​the message preview box according to the media content and the media format of the media content contained in the first original interactive message, or synchronously display the first resource sub-animation and the second resource sub-animation. Therefore, the embodiment of the present application can display different resource animations according to the different media content contained in the first original interactive message, the different media formats of the media content, and the different virtual images corresponding to the different interactive objects, so as to realize the new message reminder based on the resource animation, enrich the reminder method of the new message, and improve the fun of receiving the new message. Further, since the first resource animation can have different resource animation types, when responding to the triggering operation of the first resource animation with different resource animation types, the terminal device can execute different message services. Among them, the message service can be to display the media data associated with the media content with a triggerable media format in the first original interactive message, and the message service can also be to display the interactive area associated with the interactive object, and then display the first original interactive message in the interactive area, so that the efficiency of processing the new message can be improved based on different message services.

[0194] For further information, see Fig.16 , Fig.16 This is a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by a server, or by a terminal device, or by both a server and a terminal device. The server can be the above-mentioned Figure 1 The server 2000 in the corresponding embodiment, the terminal device can be the above Figure 1 The sample terminal device or target terminal device of the corresponding embodiment. For ease of understanding, the embodiment of the present application takes the method executed by the terminal device as an example for explanation. Among them, the data processing method may include the following steps S301-S306:

[0195] Step S301, displaying a message list in the application interface;

[0196] The message list includes a message preview box associated with the interactive object. For example, the message list can refer to the above Figure 7 The application interface 70c of the corresponding embodiment may include a message preview box associated with the interactive object (ie, the "piggy"), and a preview message 71e may be displayed in the message preview box associated with the "piggy".

[0197] Step S302, displaying a first preview message in a message preview box;

[0198] Specifically, the terminal device can obtain the number of unread messages and the latest message body for the interactive object from the message management database according to the object identifier of the interactive object. Further, the terminal device can accumulate the number of unread messages according to the first original interactive message to obtain the updated number of unread messages, that is, the sum of the first default message number (i.e., 1) and the number of unread messages is determined as the updated number of unread messages; the terminal device can update the latest message body according to the first original interactive message to obtain the updated latest message body, that is, the first original interactive message is determined as the updated latest message body. Further, the terminal device can display the first preview message corresponding to the first original interactive message in the message preview box based on the updated number of unread messages and the updated latest message body. Among them, the first preview message is determined based on the first original interactive message sent by the interactive object.

[0199] Further, when responding to the trigger operation for the first resource animation, the terminal device can clear the updated unread message number to obtain the initialized unread message number, that is, determine the second default message number (i.e., 0) as the initialized unread message number; the terminal device can initialize the updated latest message body to obtain the initialized latest message body, that is, the initialized latest message body is empty. Further, the terminal device can cancel the display of the first resource animation in the target area based on the initialized unread message number and the initialized latest message body.

[0200] Similarly, when responding to a trigger operation on a non-target area in the message preview box, the terminal device can also clear the number of updated unread messages and initialize the update of the latest message body. In this way, when exiting the interactive area associated with the interactive object and returning to the application interface where the message list is located, the terminal device will not continue to display the first resource animation in the target area of ​​the message preview box.

[0201] For easier understanding, see Fig.17 , Fig.17 Schematic diagram of a message management database provided by an embodiment of the present application. Fig.17 As shown, the terminal device may include a message management database. The message management database may perform data processing through an unread message management component. The message management database may store message items corresponding to different interactive objects. For example, the message management database may be used to store message item 170a, message item 170b, message item 170c, ..., message item 170d. Here, message item 170a is taken as an example of the message item corresponding to the target interactive object.

[0202] like Fig.17The message items shown may include an account ID, unread counts, and a latest message body. The account ID, unread counts, and latest message body may be stored via a map structure, the key may be the account ID, and the value may be the unread counts and the latest message body. For example, the account ID in message item 170a may represent the object ID of the target interactive object (the object ID is unique), the unread counts in message item 170a may represent the number of unread messages for the target interactive object, and the latest message body in message item 170a may represent the latest message body for the target interactive object. Therefore, when the terminal device receives the first original interactive message sent by the target interactive object, responds to a trigger operation for the first resource animation, and responds to a trigger operation for a non-target area, the unread counts and the latest message body in message item 170a may be updated.

[0203] It should be understood that the embodiment of the present application can open the chat interface (for example, Figure 7 The messages read by the application interface 70b) in the corresponding embodiment are uniformly summarized as new messages. Therefore, when the terminal device receives a new message (for example, the first original interactive message), it can judge the first original interactive message. If the first original interactive message is unread (that is, the terminal device is not currently in the chat interface), the message management database is updated through the unread message manager (that is, the unread message management component). Among them, the unread message manager is a singleton (the object of the singleton mode has only one copy in the entire system, that is, the message item in the message management database is unique for the same interactive object). The unread message manager can manage the unread number corresponding to each interactive object and the latest message body corresponding to each interactive object, so as to carry out subsequent business processing.

[0204] Step S303, displaying a first resource animation including a virtual image corresponding to the interactive object in the target area of ​​the message preview box;

[0205] Specifically, the terminal device can display the default message resource in the target area of ​​the message preview box. Furthermore, if the terminal memory does not contain the first resource animation containing the virtual image corresponding to the interactive object, the terminal device can obtain the first resource animation from the server according to the object identifier of the interactive object. Furthermore, the terminal device can update the default message resource in the target area based on the first resource animation. At the same time, the terminal device can store the first resource animation obtained from the server in the terminal memory to avoid multiple download requests. Among them, the target area does not overlap with the avatar area in the message preview box; the first resource animation is determined based on the media content contained in the first original interactive message and the media format of the media content.

[0206] Optionally, if there is a first resource animation containing a virtual image corresponding to the interactive object in the terminal memory, the terminal device can update the default message resource in the target area based on the first resource animation in the terminal memory. It can be understood that the first resource animation in the terminal memory needs to meet the effective period (for example, 7 days). If the first resource animation in the terminal memory is within the effective period, the terminal device can display the first resource animation in the terminal memory; Optionally, if the first resource animation in the terminal memory is not within the effective period, the terminal device needs to obtain a new first resource animation from the server again, and then display the obtained new first resource animation. Among them, the first resource animation in the terminal memory and the new first resource animation obtained from the server can be the same or different. If the interactive object does not update the virtual image within the effective period, the first resource animation in the terminal memory and the new first resource animation obtained from the server can be the same. If the interactive object updates the virtual image within the effective period, the first resource animation in the terminal memory and the new first resource animation obtained from the server can be different.

[0207] When the terminal device stores the first resource animation obtained from the server in the terminal memory, it can also store the current time point (for example, time T1), so that the terminal device can determine the time interval between the sending time point of the first original interaction message (for example, time T2) and time T1 as the interval period. Furthermore, if the interval period is less than or equal to the valid period, it is determined that the first resource animation in the terminal memory is within the valid period; optionally, if the interval period is greater than the valid period, it is determined that the first resource animation in the terminal memory is not within the valid period.

[0208] The terminal device may obtain the first resource animation from the server before receiving the first original interaction message; optionally, the terminal device may obtain the first resource animation from the server after receiving the first original interaction message; optionally, the terminal device may obtain the first resource animation and the first original interaction message from the server at the same time as receiving the first original interaction message. Optionally, the terminal device may generate the first resource animation locally without obtaining the first resource animation from the server.

[0209] Optionally, the terminal device may obtain the first resource sub-animation from the server without directly obtaining the first resource animation from the server, and superimpose the first resource sub-animation obtained from the server and the second resource sub-animation generated locally to obtain the first resource animation. The first resource sub-animation and the second resource sub-animation can both be regarded as imageviews (i.e., view controls), and superimposing the first resource sub-animation and the second resource sub-animation can be regarded as superimposing two imageviews (i.e., double-image superposition), and the imageview of the second resource sub-animation covers the imageview of the first resource sub-animation. For example, the display range of the imageview of the second resource sub-animation can be the above Figure 4 In the corresponding embodiment, the display range of the imageview of the first resource sub-animation can be the above Figure 4 The corresponding area range is 41a in the embodiment.

[0210] Among them, the terminal memory may include memory managed by the virtual image thumbnail manager (i.e., the virtual image thumbnail component), and the virtual image thumbnail manager can be used to maintain the mapping relationship between the account identifier and the thumbnail (i.e., the virtual image), or the virtual image thumbnail manager can be used to maintain the mapping relationship between the account identifier and the resource animation, and the mapping relationship in the virtual image thumbnail manager can be used to support multiple services in the application client. In this way, if the virtual image thumbnail manager does not have the mapping relationship required by a certain service, it can trigger background download (for example, downloading the first resource animation from the server). Furthermore, if the first resource animation is downloaded successfully, an update event event is broadcast, and multiple services are instructed to refresh the thumbnails based on the update event event. For example, one of the multiple services can be to update the default resource animation to the first resource animation.

[0211] Among them, when the server receives the animation acquisition request sent by the terminal device based on the object identifier, it can generate the first resource animation and then return the first resource animation to the terminal device. Optionally, the server can also generate the first resource animation corresponding to the popular object image in advance, so that when the terminal device sends the animation acquisition request to the server based on the object identifier, the server can directly obtain the first resource animation generated in advance, thereby reducing the delay of the terminal device in obtaining the resource animation.

[0212] Step S304, displaying the second preview message in the message preview box;

[0213] The second preview message is determined based on the second original interaction message sent by the interaction object, and the terminal device may cancel display of the first preview message in the target area before displaying the second preview message in the target area.

[0214] The specific process of the terminal device displaying the second preview message in the message preview box can refer to the above description of displaying the first preview message in the message preview box, which will not be repeated here.

[0215] Step S305, displaying a second resource animation including a virtual image in the target area;

[0216] The second resource animation is determined based on the media content and the media format of the media content contained in the second original interaction message, and the terminal device may cancel the display of the first resource animation in the target area before displaying the second resource animation in the target area. Optionally, the terminal device may also display the first resource animation and the second resource animation in the target area at the same time.

[0217] The specific process of the terminal device displaying the second resource animation including the virtual image in the target area can refer to the above description of displaying the first resource animation including the virtual image in the target area, which will not be repeated here.

[0218] It is understandable that when the second original interaction message is the same as the first original interaction message, the first resource animation is the same as the second resource animation; optionally, when the second original interaction message is different from the first original interaction message, the first resource animation and the second resource animation can be the same, or the first resource animation and the second resource animation can be different. For example, when the second original interaction message is "[Picture]" and the first original interaction message is "Look at the picture I took [Picture]", the first resource animation and the second resource animation are the same. For another example, when the second original interaction message is "[Picture]" and the first original interaction message is "[Video]", the first resource animation and the second resource animation are different.

[0219] For easier understanding, see Fig.18 , Fig.18 is a flow chart of displaying a first resource animation provided by an embodiment of the present application. Fig.18As shown, the terminal device may include three management modules: avatar thumbnail management (i.e. avatar thumbnail manager), latest message list and unread message management (i.e. unread message manager). In other words, the terminal device may include three management components: avatar thumbnail management component, latest message list component and unread message management component. Among them, the thumbnail refresh mechanism is uniformly managed by the avatar thumbnail manager, and the thumbnails corresponding to the chat items are maintained by the avatar thumbnail manager.

[0220] like Fig.18 As shown, the terminal device can receive a new message (for example, the first original interactive message) through step S41 when receiving a new message. Further, the terminal device can execute step S42, and preview the message in the message list through step S42, that is, step S42 can display the first preview message corresponding to the first original interactive message in the message list. Further, the terminal device can execute step S43, and make a red dot new message reminder through step S43, that is, step S43 can display the default message resource in the message preview box in the message list. Further, the terminal device can execute step S44, and determine whether the first original interactive message is an ordinary text message through step S44. The ordinary text message here can be an interactive message that does not include document content, picture content, emoticon content, video content, audio content, gift content, red envelope content and poke content.

[0221] Furthermore, if Fig.18 As shown, if the first original interaction message is an ordinary text message (that is, the first original interaction message does not include document content, picture content, emoticon content, video content, audio content, gift content, red envelope content and poke content), the terminal device can execute step S50, and step S50 indicates the end of the process.

[0222] Optional, such as Fig.18 As shown, if the first original interaction message is not an ordinary text message (that is, the first original interaction message includes document content, picture content, expression content, video content, audio content, gift content, red envelope content or poke content), the terminal device can execute step S45, and determine through step S45 whether there is a virtual image thumbnail in the terminal memory, that is, determine whether there is a virtual image corresponding to the interactive object in the terminal memory, that is, determine whether there is a first resource animation containing the virtual image corresponding to the interactive object.

[0223] Furthermore, if Fig.18As shown, if the first resource animation containing the virtual image exists in the terminal memory, the terminal device can execute step S51 when there is an unread message, and hide the red dot prompt through step S51, that is, cancel the display of the default message resource. Further, the terminal device can execute step S52, and display the virtual image new message prompt through step S52, that is, display the first resource animation containing the virtual image.

[0224] Optional, such as Fig.18 As shown, if the first resource animation containing the virtual image does not exist in the terminal memory, the terminal device can execute step S46, and request the virtual image thumbnail from the server through step S46, that is, obtain the first resource animation from the server through the URL (Uniform Resource Locator) of the virtual image thumbnail. Further, the terminal device can execute step S47, and download the thumbnail through step S47, that is, download the first resource animation from the server. Further, the terminal device can execute step S48, and determine whether the first resource animation is downloaded successfully through step S48.

[0225] Furthermore, if Fig.18 If the first resource animation is downloaded successfully, the terminal device may execute step S49 to determine whether the application client has any unread messages for the interactive object. Further, if the application client has any unread messages for the interactive object, the terminal device may execute step S51 to hide the red dot prompt, that is, cancel the display of the default message resource. Further, the terminal device may execute step S52 to display the virtual image new message prompt, that is, display the first resource animation containing the virtual image.

[0226] Optional, such as Fig.18 As shown, since the terminal device may respond to the trigger operation for the message preview box, the application client may not have any unread messages for the interactive object. If the application client does not have any unread messages for the interactive object, the terminal device can execute step S50, which indicates the end of the process.

[0227] Optional, such as Fig.18 As shown, due to network reasons and the like, the first resource animation may fail to be downloaded. If the first resource animation fails to be downloaded, the terminal device may execute step S50, which indicates the end of the process.

[0228] Step S306: If the first original interaction message and the second original interaction message meet the message superposition condition, a third resource animation commonly associated with the first original interaction message and the second original interaction message is displayed in the application interface.

[0229] Specifically, if the first original interaction message and the second original interaction message meet the message overlay condition, the terminal device can display the first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box. Furthermore, the terminal device can display the third resource sub-animation that can be used to interact with the virtual image formed by the message virtual resource associated with the first original interaction message and the message virtual resource associated with the second original interaction message in the target area. Among them, the first resource sub-animation and the third resource sub-animation can be collectively referred to as the third resource animation commonly associated with the first original interaction message and the second original interaction message.

[0230] It is understandable that the terminal device may cancel the display of the second resource animation in the target area before displaying the third resource animation in the target area. Optionally, the terminal device may also determine whether the first original interaction message and the second original interaction message meet the message overlay condition when receiving the second original interaction message, and then directly display the third resource animation in the application interface without displaying the second resource animation (i.e., without executing step S305).

[0231] Optionally, if the first original interaction message and the second original interaction message meet the message overlay condition, the terminal device may display the first resource sub-animation formed by the virtual image corresponding to the interactive object in the target area of ​​the message preview box. Furthermore, the terminal device may display a fourth resource sub-animation formed by the update message virtual resources (for example, ribbons, stars, etc.) in the target area that can be used to interact with the virtual image. Among them, the first resource sub-animation and the fourth resource sub-animation may be collectively referred to as the third resource animation commonly associated with the first original interaction message and the second original interaction message. At this point, before the terminal device displays the third resource animation in the target area, it may cancel the display of the second resource animation in the target area, or display the first resource animation, the second resource animation, and the third resource animation in the target area at the same time.

[0232] It should be understood that the terminal device can obtain the first message sending timestamp of the first original interaction message and the second message sending timestamp of the second original interaction message, and determine the time interval between the first message sending timestamp and the second message sending timestamp. Furthermore, if the time interval is less than or equal to the duration threshold, the terminal device can determine the relationship between the first original interaction message and the second original interaction message and the message superposition condition based on the semantic similarity between the first original interaction message and the second original interaction message. Optionally, if the time interval is greater than the duration threshold, the terminal device can determine that the first original interaction message and the second original interaction message do not meet the message superposition condition. Among them, the embodiment of the present application does not limit the specific value of the duration threshold. For example, the duration threshold can be equal to 0.85 seconds.

[0233] Among them, according to the semantic similarity between the first original interaction message and the second original interaction message, the specific process of determining the relationship between the first original interaction message and the second original interaction message and the message superposition condition can be described as follows: the terminal device can input the first original interaction message and the second original interaction message into the semantic analysis model respectively, and extract features of the first original interaction message and the second original interaction message respectively through the semantic analysis model, and output the first message feature corresponding to the first original interaction message and the second message feature corresponding to the second original interaction message. Further, the terminal device can determine the feature similarity between the first message feature and the second message feature, and determine the feature similarity as the semantic similarity between the first original interaction message and the second original interaction message. Further, if the semantic similarity is greater than or equal to the similarity threshold, the terminal device can determine that the first original interaction message and the second original interaction message meet the message superposition condition. Optionally, if the semantic similarity is less than the similarity threshold, the terminal device can determine that the first original interaction message and the second original interaction message do not meet the message superposition condition.

[0234] It can be understood that the semantic analysis model is generated by iterative training of the initial semantic analysis model. The embodiment of the present application does not limit the model type of the semantic analysis model. For example, the semantic analysis model can be a bidirectional encoder representation from transformer (Bidirectional Encoder Representations from Transformers, BERT) model, a robustly optimized BERT pre-training method (A Robustly Optimized BERT Pre-training Approach, referred to as RoBERTa), etc.

[0235] It can be seen that the embodiment of the present application can display the first preview message corresponding to the first original interactive message in the message preview box of the application interface, and then display the first resource animation containing the virtual image corresponding to the interactive object in the target area of ​​the message preview box; similarly, the embodiment of the present application can display the second preview message corresponding to the second original interactive message in the message preview box of the application interface, and then display the second resource animation containing the virtual image corresponding to the interactive object in the target area of ​​the message preview box. Furthermore, if the first original interactive message and the second original interactive message meet the message superposition condition, the third resource animation associated with the first original interactive message and the second original interactive message is displayed in the application interface. Since different first resource animations and second resource animations can be generated for different interactive objects (i.e., different faces for different people), the embodiment of the present application can realize a personalized resource animation display method, and the reminder method of new messages can be enriched based on the first resource animation, the second resource animation and the third resource animation.

[0236] For further information, see Fig.19 , Fig.19 1 is a structural diagram of a data processing device provided in an embodiment of the present application. The data processing device 1 may include: a list display module 11, a message display module 12, an animation display module 13, and an animation triggering module 14; further, the data processing device 1 may also include: an animation association module 15, and a condition judgment module 16;

[0237] List display module 11, used to display a message list in the application interface; the message list includes a message preview box associated with the interactive object;

[0238] The message display module 12 is used to display a first preview message in the message preview box; the first preview message is determined based on the first original interaction message sent by the interaction object;

[0239] The message display module 12 is specifically used to obtain the number of unread messages and the latest message body for the interactive object from the message management database according to the object identifier of the interactive object;

[0240] The message display module 12 is specifically configured to accumulate the number of unread messages according to the first original interaction message to obtain an updated number of unread messages;

[0241] The message display module 12 is specifically configured to update the latest message body according to the first original interactive message to obtain an updated latest message body;

[0242] The message display module 12 is specifically configured to display a first preview message corresponding to the first original interactive message in the message preview box based on updating the number of unread messages and updating the latest message body.

[0243] The message display module 12 is also specifically used to clear the updated unread message number to obtain the initialized unread message number when responding to the trigger operation for the first resource animation;

[0244] The message display module 12 is also specifically used to initialize the updated latest message body to obtain the initialized latest message body;

[0245] The message display module 12 is further specifically configured to cancel the first resource animation in the display target area based on the initialized number of unread messages and the initialized latest message body.

[0246] The animation display module 13 is used to display a first resource animation including a virtual image corresponding to the interactive object in a target area of ​​the message preview frame; the target area does not overlap with the avatar area in the message preview frame; the first resource animation is determined based on the media content included in the first original interactive message and the media format of the media content;

[0247] Wherein, the first resource animation is composed of the first resource sub-animation and the second resource sub-animation;

[0248] The animation display module 13 includes: a first animation display unit 131, a second animation display unit 132;

[0249] The first animation display unit 131 is used to display a first resource sub-animation formed by a virtual image corresponding to an interactive object in a target area of ​​a message preview box;

[0250] The second animation display unit 132 is used to display, in the target area, a second resource sub-animation formed by a message virtual resource that can be used to interact with the virtual image; the message virtual resource is determined based on the media content contained in the first original interactive message and the media format of the media content.

[0251] Among them, the message virtual resources include image message virtual resources;

[0252] The second animation display unit 132 is specifically configured to determine the media content included in the first original interaction message as an image message virtual resource if the media format of the media content included in the first original interaction message is a media format corresponding to image type content;

[0253] The second animation display unit 132 is specifically configured to display, in the target area, a second resource sub-animation formed by an image message virtual resource that can be used to interact with the virtual image.

[0254] Among them, the message virtual resources include file message virtual resources;

[0255] The second animation display unit 132 is specifically configured to obtain a file message virtual resource indicated by the media content included in the first original interaction message if the media format of the media content included in the first original interaction message is a media format corresponding to the file type content;

[0256] The second animation display unit 132 is specifically configured to display, in the target area, a second resource sub-animation formed by the file message virtual resource that can be used to interact with the virtual image.

[0257] Among them, the message virtual resources include video message virtual resources;

[0258] The second animation display unit 132 is specifically configured to obtain a preview video frame in the media content included in the first original interaction message if the media format of the media content included in the first original interaction message is a media format corresponding to the video type content, and determine the preview video frame as a video message virtual resource;

[0259] The second animation display unit 132 is specifically used to display, in the target area, a second resource sub-animation formed by a video message virtual resource that can be used to interact with the virtual image.

[0260] The specific implementation of the first animation display unit 131 and the second animation display unit 132 can be found in the above Figure 2 The description of step S103 in the corresponding embodiment, and Figure 5 Steps S202 to S203 in the corresponding embodiment will not be described in detail here.

[0261] The animation display module 13 is specifically used to display the default message resource in the target area of ​​the message preview box;

[0262] The animation display module 13 is specifically configured to obtain the first resource animation from the server according to the object identifier of the interactive object if the first resource animation including the virtual image corresponding to the interactive object does not exist in the terminal memory;

[0263] The animation display module 13 is specifically configured to update the default message resource in the target area based on the first resource animation.

[0264] The animation triggering module 14 is used to respond to the triggering operation on the first resource animation and execute the message service associated with the first original interaction message.

[0265] The animation trigger module 14 includes: a first trigger unit 141, a second trigger unit 142;

[0266] The first triggering unit 141 is configured to, if the first resource animation is a triggerable resource animation, respond to a triggering operation on the first resource animation and display media data associated with the media content having a triggerable media format in the first original interaction message.

[0267] Wherein, the first resource animation includes viewing a message virtual resource;

[0268] The first trigger unit 141 is specifically configured to respond to a trigger operation on the first resource animation and switch the application interface to a viewing interface;

[0269] The first triggering unit 141 is specifically configured to display media data associated with the media content having a viewing media format in the first original interactive message in the viewing interface; the viewing media format is a triggerable media format indicated by the viewing message virtual resource.

[0270] Wherein, the first resource animation includes an audio message virtual resource;

[0271] The first trigger unit 141 is specifically configured to respond to a trigger operation on the first resource animation and display the playback progress corresponding to the media content in the audio media format in the first original interactive message; the audio media format is a triggerable media format indicated by the audio message virtual resource;

[0272] The first trigger unit 141 is further specifically configured to respond to a drag operation on the play progress and play the media content in the audio media format according to the dragged play progress.

[0273] Among them, the first resource animation includes receiving the message virtual resource;

[0274] The first trigger unit 141 is specifically configured to respond to a trigger operation on the first resource animation and display resource description information and resource collection controls corresponding to the media content having a collection media format in the first original interaction message; the collection media format is a triggerable media format indicated by the collection message virtual resource;

[0275] The first trigger unit 141 is further specifically configured to respond to a trigger operation on the resource acquisition control and acquire the animation virtual resource indicated by the resource description information.

[0276] The second triggering unit 142 is configured to display an interactive area associated with the interactive object in response to a triggering operation on the first resource animation if the first resource animation is an untriggerable resource animation;

[0277] The second triggering unit 142 is configured to display the first original interaction message in the interaction area.

[0278] The specific implementation of the first trigger unit 141 and the second trigger unit 142 can be found in the above Figure 2 In the corresponding embodiment, step S104 and Figure 5 The description of steps S205 to S207 in the corresponding embodiment will not be repeated here.

[0279] Optionally, the animation association module 15 is used to display a second preview message in the message preview box; the second preview message is determined based on the second original interaction message sent by the interaction object;

[0280] Animation association module 15, used to display a second resource animation including a virtual image in a target area; the second resource animation is determined based on the media content included in the second original interaction message and the media format of the media content;

[0281] The animation association module 15 is configured to display a third resource animation commonly associated with the first original interaction message and the second original interaction message in the application interface if the first original interaction message and the second original interaction message meet a message superposition condition.

[0282] Optionally, a condition judgment module 16 is used to obtain a first message sending timestamp of the first original interaction message and a second message sending timestamp of the second original interaction message, and determine a time interval between the first message sending timestamp and the second message sending timestamp;

[0283] A condition judgment module 16 is configured to determine, if the time interval is less than or equal to a duration threshold, a relationship between the first original interaction message and the second original interaction message and a message superposition condition according to a semantic similarity between the first original interaction message and the second original interaction message;

[0284] The condition judgment module 16 is configured to determine that the first original interaction message and the second original interaction message do not satisfy a message superposition condition if the time interval is greater than a duration threshold.

[0285] The condition judgment module 16 is specifically used to input the first original interaction message and the second original interaction message into the semantic analysis model respectively, extract features of the first original interaction message and the second original interaction message respectively through the semantic analysis model, and output a first message feature corresponding to the first original interaction message and a second message feature corresponding to the second original interaction message;

[0286] The condition judgment module 16 is specifically used to determine the feature similarity between the first message feature and the second message feature, and determine the feature similarity as the semantic similarity between the first original interaction message and the second original interaction message;

[0287] The condition judgment module 16 is specifically configured to determine that the first original interaction message and the second original interaction message meet the message superposition condition if the semantic similarity is greater than or equal to a similarity threshold;

[0288] The condition judgment module 16 is specifically configured to determine that the first original interaction message and the second original interaction message do not satisfy the message superposition condition if the semantic similarity is less than a similarity threshold.

[0289] The specific implementation of the list display module 11, the message display module 12, the animation display module 13 and the animation trigger module 14 can be found in the above Figure 2 The description of steps S101 to S104 in the corresponding embodiment, and Figure 5 The corresponding embodiment of step S201 to step S207 will not be described in detail here. Fig.16 The description of step S304 to step S306 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.

[0290] For further information, see Fig. 20 , Fig. 20 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, and the computer device may be a terminal device or a server. Fig. 20 As shown, the computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above-mentioned computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, in some embodiments, the user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. Optionally, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001. As Fig. 20 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.

[0291] In such Fig. 20 In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:

[0292] Displaying a message list in the application interface; the message list includes a message preview box associated with the interactive object;

[0293] Displaying a first preview message in the message preview box; the first preview message is determined based on a first original interaction message sent by the interaction object;

[0294] In the target area of ​​the message preview frame, a first resource animation including a virtual image corresponding to the interactive object is displayed; the target area does not overlap with the avatar area in the message preview frame; the first resource animation is determined based on the media content included in the first original interactive message and the media format of the media content;

[0295] In response to the triggering operation on the first resource animation, a message service associated with the first original interaction message is executed.

[0296] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 2 , Figure 5 or Fig.16 The description of the data processing method in the corresponding embodiment can also be performed as described above. Fig.19 The description of the data processing device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.

[0297] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the data processing device 1 mentioned above. When the processor executes the computer program, it can execute the above-mentioned Figure 2 , Figure 5 or Fig.16 The description of the data processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.

[0298] In addition, it should be noted that: the embodiment of the present application also provides a computer program product, which may include a computer program, and the computer program may be stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor may execute the computer program, so that the computer device performs the above Figure 2 , Figure 5 or Fig.16 The description of the data processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer program product embodiment involved in this application, please refer to the description of the method embodiment of this application.

[0299] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0300] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: include: Displaying a message list in the application interface; the message list includes a message preview box associated with the interactive object; Displaying a first preview message in the message preview box; The first preview message is determined based on a first original interaction message sent by the interaction object; In the target area of ​​the message preview box, displaying a first resource animation including a virtual image corresponding to the interactive object; The target area does not overlap with the avatar area in the message preview box; The first resource animation is determined based on the media content included in the first original interaction message and the media format of the media content; In response to a trigger operation on the first resource animation, a message service associated with the first original interaction message is executed.

2. The method according to claim 1, characterized in that The first resource animation is composed of a first resource sub-animation and a second resource sub-animation; The displaying of a first resource animation including a virtual image corresponding to the interactive object in the target area of ​​the message preview box includes: In the target area of ​​the message preview box, displaying the first resource sub-animation formed by the virtual image corresponding to the interactive object; In the target area, the second resource sub-animation formed by a message virtual resource that can be used to interact with the virtual image is displayed; the message virtual resource is determined based on the media content included in the first original interaction message and the media format of the media content.

3. The method according to claim 1, characterized in that The responding to the triggering operation on the first resource animation and executing the message service associated with the first original interaction message includes: If the first resource animation is a triggerable resource animation, in response to a triggering operation on the first resource animation, media data associated with the media content having a triggerable media format in the first original interaction message is displayed.

4. The method according to claim 1, characterized in that: The responding to the triggering operation on the first resource animation and executing the message service associated with the first original interaction message includes: If the first resource animation is a non-triggerable resource animation, in response to a triggering operation on the first resource animation, displaying an interactive area associated with the interactive object; The first original interaction message is displayed in the interaction area.

5. The method according to claim 3, characterized in that: The first resource animation includes viewing a message virtual resource; The step of responding to the triggering operation on the first resource animation and displaying media data associated with the media content in the triggerable media format in the first original interaction message includes: In response to a triggering operation on the first resource animation, switching the application interface to a viewing interface; The media data associated with the media content having the viewing media format in the first original interactive message is displayed in the viewing interface; the viewing media format is a triggerable media format indicated by the viewing message virtual resource.

6. The method according to claim 3, characterized in that The first resource animation includes an audio message virtual resource; The step of responding to the triggering operation on the first resource animation and displaying media data associated with the media content in the triggerable media format in the first original interaction message includes: In response to the triggering operation on the first resource animation, displaying the playback progress corresponding to the media content in the audio media format in the first original interactive message; the audio media format is a triggerable media format indicated by the audio message virtual resource; The method further comprises: In response to the dragging operation on the playing progress, the media content in the audio media format is played according to the dragged playing progress.

7. The method according to claim 3, characterized in that The first resource animation includes receiving a message virtual resource; The step of responding to the triggering operation on the first resource animation and displaying media data associated with the media content in the triggerable media format in the first original interaction message includes: In response to the triggering operation for the first resource animation, displaying the resource description information and resource collection control corresponding to the media content having the collection media format in the first original interaction message; the collection media format is the triggerable media format indicated by the collection message virtual resource; The method further comprises: In response to a triggering operation on the resource collection control, the animation virtual resource indicated by the resource description information is collected.

8. The method according to claim 2, characterized in that: The message virtual resource includes an image message virtual resource; The second resource sub-animation formed by displaying the message virtual resource that can be used to interact with the virtual image in the target area includes: If the media format of the media content included in the first original interaction message is a media format corresponding to image type content, determining the media content included in the first original interaction message as the image message virtual resource; In the target area, the second resource sub-animation formed by the image message virtual resource that can be used to interact with the virtual character is displayed.

9. The method according to claim 2, characterized in that: The message virtual resource includes a file message virtual resource; The second resource sub-animation formed by displaying the message virtual resource that can be used to interact with the virtual image in the target area includes: If the media format of the media content included in the first original interaction message is a media format corresponding to the file type content, acquiring the file message virtual resource indicated by the media content included in the first original interaction message; In the target area, the second resource sub-animation formed by the file message virtual resource that can be used to interact with the virtual image is displayed.

10. The method according to claim 2, characterized in that The message virtual resource includes a video message virtual resource; The second resource sub-animation formed by displaying the message virtual resource that can be used to interact with the virtual image in the target area includes: If the media format of the media content included in the first original interaction message is a media format corresponding to video type content, obtaining a preview video frame in the media content included in the first original interaction message, and determining the preview video frame as the video message virtual resource; In the target area, the second resource sub-animation formed by the video message virtual resource that can be used to interact with the virtual image is displayed.

11. The method according to claim 1, characterized in that: The displaying of a first resource animation including a virtual image corresponding to the interactive object in the target area of ​​the message preview box includes: In the target area of ​​the message preview box, displaying a default message resource; If the first resource animation including the virtual image corresponding to the interactive object does not exist in the terminal memory, acquiring the first resource animation from the server according to the object identifier of the interactive object; The default message resource in the target area is updated based on the first resource animation.

12. The method according to claim 1, characterized in that Displaying the first preview message in the message preview box includes: According to the object identifier of the interactive object, obtaining the number of unread messages and the latest message body for the interactive object from a message management database; Accumulating the number of unread messages according to the first original interaction message to obtain an updated number of unread messages; Updating the latest message body according to the first original interaction message to obtain an updated latest message body; Based on the updated unread message quantity and the updated latest message body, a first preview message corresponding to the first original interaction message is displayed in the message preview box.

13. The method according to claim 12, characterized in that The method further comprises: When responding to the trigger operation for the first resource animation, the updated number of unread messages is cleared to obtain the initialized number of unread messages; Initializing the updated latest message body to obtain an initialized latest message body; Based on the initialized number of unread messages and the initialized latest message body, the first resource animation in the target area is canceled.

14. The method according to claim 1, characterized in that The method further comprises: Displaying a second preview message in the message preview box; the second preview message is determined based on a second original interaction message sent by the interaction object; In the target area, displaying a second resource animation including the virtual image; the second resource animation is determined based on the media content included in the second original interaction message and the media format of the media content; If the first original interaction message and the second original interaction message meet the message superposition condition, a third resource animation commonly associated with the first original interaction message and the second original interaction message is displayed in the application interface.

15. The method according to claim 14, characterized in that The method further comprises: Obtaining a first message sending timestamp of the first original interaction message and a second message sending timestamp of the second original interaction message, and determining a time interval between the first message sending timestamp and the second message sending timestamp; If the time interval is less than or equal to the duration threshold, determining, according to the semantic similarity between the first original interaction message and the second original interaction message, a relationship between the first original interaction message and the second original interaction message and the message superposition condition; If the time interval is greater than the duration threshold, it is determined that the first original interaction message and the second original interaction message do not meet the message superposition condition.

16. The method according to claim 15, characterized in that The determining, according to the semantic similarity between the first original interaction message and the second original interaction message, a relationship between the first original interaction message and the second original interaction message and the message superposition condition includes: inputting the first original interaction message and the second original interaction message into a semantic analysis model respectively, performing feature extraction on the first original interaction message and the second original interaction message respectively through the semantic analysis model, and outputting a first message feature corresponding to the first original interaction message and a second message feature corresponding to the second original interaction message; Determine a feature similarity between the first message feature and the second message feature, and determine the feature similarity as a semantic similarity between the first original interaction message and the second original interaction message; If the semantic similarity is greater than or equal to a similarity threshold, determining that the first original interaction message and the second original interaction message meet the message superposition condition; If the semantic similarity is less than the similarity threshold, it is determined that the first original interaction message and the second original interaction message do not satisfy the message superposition condition.

17. A data processing device, characterized in that: include: A list display module, used to display a message list in the application interface; the message list includes a message preview box associated with the interactive object; A message display module, used to display a first preview message in the message preview box; The first preview message is determined based on a first original interaction message sent by the interaction object; An animation display module, used for displaying a first resource animation including a virtual image corresponding to the interactive object in a target area of ​​the message preview box; the target area does not overlap with the avatar area in the message preview box; The first resource animation is determined based on the media content included in the first original interaction message and the media format of the media content; The animation triggering module is used to respond to the triggering operation on the first resource animation and execute the message service associated with the first original interaction message.

18. A computer device, characterized in that: include: Processor and memory; The processor is connected to the memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 16.

20. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium and is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 16.