Virtual resource allocation message processing method and session message processing method

HK40090432BActive Publication Date: 2026-07-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
HK · HK
Patent Type
Patents
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2023-09-19
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

During the virtual resource allocation process, the large differences in the timing of user acquisition lead to fragmented and lengthy calculation processes, consuming a significant amount of computing resources and affecting resource utilization efficiency.

Method used

By displaying virtual resource allocation messages in group sessions, the total amount of virtual resources is positively correlated with the number of members. Resource allocation is triggered when the number of active members in the group reaches a threshold, reducing the computational resource consumption of subsequent occasional claims.

Benefits of technology

It improves the efficiency of virtual resource allocation, reduces the consumption of computing resources, and enhances resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The application relates to a virtual resource allocation message processing method and a session message processing method. The virtual resource allocation message processing method comprises the following steps: displaying a session message generated in a group session; when a target session message meeting a target condition exists in the session message, in response to the fact that the number of target group members initiating the target session message meets a group activity judgment condition, a virtual resource allocation message is displayed; the total virtual resource amount of the virtual resource allocation message is positively correlated with the number of members; in response to a virtual resource collection operation triggered for the virtual resource allocation message, a virtual resource collection result corresponding to the virtual resource field operation is displayed. The method can reduce the occupation of computing resources in the interaction process and improve the utilization efficiency of computing resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a virtual resource allocation message processing method, apparatus, computer equipment, storage medium and computer program product, as well as a session message processing method, apparatus, computer equipment, storage medium and computer program product. Background Technology

[0002] With the development of computer technology, online social networking has become an important part of modern life. More and more people are using online social networking methods for interaction and communication, such as instant messaging platforms, game communication platforms, social forums, and other online social networking methods. Users can also receive virtual resources distributed by the event platform or event organizer. These distributed virtual resources include, but are not limited to, virtual red envelopes, electronic coupons, points coupons, points, electronic vouchers, game coins, and virtual items.

[0003] However, in the process of allocating virtual resources, each user often receives and triggers virtual resource activity notifications to claim virtual resources. Since the timing of multiple users claiming virtual resources varies greatly, the calculation process is fragmented and takes a long time, requiring a lot of computing resources and affecting the utilization efficiency of computing resources. Summary of the Invention

[0004] Based on this, it is necessary to provide a virtual resource allocation message processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product, as well as a session message processing method, apparatus, computer equipment, storage medium, and computer program product, that can enrich user interaction and improve the virtual resource allocation effect, in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for processing virtual resource allocation messages. The method includes:

[0006] Displays session messages generated in the group session;

[0007] When a target session message that meets the target conditions exists in the session messages, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members.

[0008] In response to a virtual resource claiming operation triggered by the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource domain operation is displayed.

[0009] Secondly, this application also provides a proposed resource allocation message processing apparatus. The apparatus includes:

[0010] The conversation message display module is used to display conversation messages generated in group conversations;

[0011] The virtual resource allocation message display module is used to display a virtual resource allocation message when there is a target session message in the session message that meets the target conditions, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition; the total virtual resource amount of the virtual resource allocation message is positively correlated with the number of members;

[0012] The virtual resource acquisition module is used to respond to the virtual resource acquisition operation triggered by the virtual resource allocation message and display the virtual resource acquisition result corresponding to the virtual resource domain operation.

[0013] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0014] Displays session messages generated in the group session;

[0015] When a target session message that meets the target conditions exists in the session messages, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members.

[0016] In response to a virtual resource claiming operation triggered by the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource domain operation is displayed.

[0017] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0018] Displays session messages generated in the group session;

[0019] When a target session message that meets the target conditions exists in the session messages, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members.

[0020] In response to a virtual resource claiming operation triggered by the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource domain operation is displayed.

[0021] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0022] Displays session messages generated in the group session;

[0023] When a target session message that meets the target conditions exists in the session messages, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members.

[0024] In response to a virtual resource claiming operation triggered by the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource domain operation is displayed.

[0025] The aforementioned virtual resource allocation message processing method, apparatus, computer equipment, storage medium, and computer program product allow group members to interact through target session messages. When the number of interacting members reaches the group activity determination condition, the number of active members in the group reaches a certain level of activity. These members are all online, and triggering a virtual resource allocation message at this time allows the virtual resources in the virtual resource allocation message to be claimed as soon as possible. By making the total amount of virtual resources in the virtual resource allocation message positively correlated with the number of members, there are enough virtual resources available for group members to claim, avoiding continuous and occasional claims that consume computing resources and improving the utilization efficiency of computing resources.

[0026] Sixthly, this application provides a session message processing method. The method includes:

[0027] Displays session messages generated in the group session;

[0028] Whenever a current target session message that meets the target conditions appears in the session messages, the target item is displayed corresponding to the current target session message; wherein, target session messages that meet the target conditions initiated by multiple group members in the group session are used to jointly trigger virtual resource allocation messages;

[0029] When there is a previous target session message that meets the target conditions, the target item corresponding to the previous target session message will be removed from display.

[0030] Seventhly, this application also provides a session message processing apparatus. The apparatus includes:

[0031] The conversation message display module is used to display conversation messages generated in group conversations;

[0032] The target item display module is used to display the target item corresponding to the current target session message whenever a current target session message that meets the target conditions appears in the session message; wherein, the target session messages that meet the target conditions initiated by multiple group members in the group session are used to jointly trigger virtual resource allocation messages;

[0033] The target item cancellation display module is used to cancel the display of the target item corresponding to the previous target session message when the current target session message has a previous target session message that meets the target conditions.

[0034] Eighthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0035] Displays session messages generated in the group session;

[0036] Whenever a current target session message that meets the target conditions appears in the session messages, the target item is displayed corresponding to the current target session message; wherein, target session messages that meet the target conditions initiated by multiple group members in the group session are used to jointly trigger virtual resource allocation messages;

[0037] When there is a previous target session message that meets the target conditions, the target item corresponding to the previous target session message will be removed from display.

[0038] Ninthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0039] Displays session messages generated in the group session;

[0040] Whenever a current target session message that meets the target conditions appears in the session messages, the target item is displayed corresponding to the current target session message; wherein, target session messages that meet the target conditions initiated by multiple group members in the group session are used to jointly trigger virtual resource allocation messages;

[0041] When there is a previous target session message that meets the target conditions, the target item corresponding to the previous target session message will be removed from display.

[0042] Tenthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0043] Displays session messages generated in the group session;

[0044] Whenever a current target session message that meets the target conditions appears in the session messages, the target item is displayed corresponding to the current target session message; wherein, target session messages that meet the target conditions initiated by multiple group members in the group session are used to jointly trigger virtual resource allocation messages;

[0045] When there is a previous target session message that meets the target conditions, the target item corresponding to the previous target session message will be removed from display.

[0046] The aforementioned session message processing method, apparatus, computer equipment, storage medium, and computer program product allow group members to interact through target session messages. Furthermore, whenever a new target session message is generated in the group, the target item is transferred to the corresponding latest target session message for display. This visually demonstrates the process of group members interacting through target session messages, thereby encouraging more group members to participate in triggering target session messages as soon as possible. This allows for the early triggering of virtual resource allocation messages through target session messages initiated by multiple group members, reducing the consumption of computing resources during interaction and improving the utilization efficiency of computing resources. Attached Figure Description

[0047] Figure 1 This is an application environment diagram of the virtual resource allocation message processing method and the session message processing method in one embodiment;

[0048] Figure 2 This is a flowchart illustrating a virtual resource allocation message processing method in one embodiment;

[0049] Figure 3 This is a schematic diagram of an interface displaying group messages in one embodiment;

[0050] Figure 4 This is a schematic diagram of an interface displaying virtual resource allocation messages in one embodiment;

[0051] Figure 5 This is a schematic diagram showing the interface when the conditions for claiming virtual resources are not met in one embodiment.

[0052] Figure 6 This is a schematic diagram of an interface displaying target session messages that meet semantic conditions in one embodiment;

[0053] Figure 7 This is a schematic diagram of the interface displaying the launch prompt message for a theme activity in one embodiment;

[0054] Figure 8This is a schematic diagram of an interface displaying target session messages during the activity of a topic activity, as shown in another embodiment.

[0055] Figure 9 This is a flowchart illustrating a session message processing method in one embodiment;

[0056] Figure 10 This is a schematic diagram illustrating the interface changes for displaying target items in different target session messages in one embodiment;

[0057] Figure 11 This is a schematic diagram of interface changes in one embodiment where the target prop is a message bubble component;

[0058] Figure 12 This is a schematic diagram illustrating the interface changes that display the movement animation of the target prop in one embodiment;

[0059] Figure 13 This is a schematic diagram illustrating the interface changes of virtual resource allocation activities in one embodiment.

[0060] Figure 14 This is a schematic diagram of an interface that displays a notification message for the group members with the best luck in one embodiment;

[0061] Figure 15 This is a structural block diagram of a virtual resource allocation message processing device in one embodiment;

[0062] Figure 16 This is a structural block diagram of a session message processing device in one embodiment;

[0063] Figure 17 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0064] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0065] The virtual resource allocation message processing method and session message processing method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. Each user can log in to the corresponding session client through terminal 102 and establish a group for multi-user dialogue. After multiple users establish a target group for multi-user dialogue through their respective terminals 102, whenever a current target session message that meets the target conditions appears in the session messages generated in the group session, the target item is displayed on terminal 102 corresponding to the current target session message. If a previous target session message that meets the target conditions already exists in the current target session message, the target item corresponding to the previous target session message is removed from the display. When the number of members in the target group that initiated the target session message meets the group activity determination conditions, terminal 102 displays a virtual resource allocation message that is positively correlated with the number of members. In response to the virtual resource claiming operation triggered by the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource domain operation is displayed on terminal 102. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0066] In one embodiment, such as Figure 2 As shown, a virtual resource allocation message processing method is provided, which is applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:

[0067] Step 202: Display the session messages generated in the group session.

[0068] A group, also known as a group chat or group, is a platform established in social applications that provides multi-person conversations. Members in a group can chat and communicate through the group. Conversation messages are messages sent by group members during the conversation. Conversation messages are group messages used for information exchange between different group members, and can be group messages sent by any member in the group. Conversation messages can be in various forms such as text, images, symbols, audio, and video.

[0069] Specifically, the terminal displays group messages initiated by group members in the group session. This can be achieved by the terminal displaying the individual group messages sent by each group member within the group session interface of the session client after logging in. In a group session, each session message corresponds to the group member who initiated it; for example, each session message is displayed along with the identifier of the group member who initiated it. Figure 3 As shown, the group conversation interface displays three conversation messages, namely M1, M2 and M3. If the group member who initiated group message M1 is Zhang San, then group message M1 is displayed in combination with the group member ID of group member Zhang San. If the group member who initiated group messages M2 and M3 is Li Si, then group messages M2 and M3 are displayed in combination with the group member ID of group member Li Si.

[0070] Step 204: When there is a target session message in the session message that meets the target conditions, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members.

[0071] The target condition refers to the criteria used to determine whether a message is a target message. Specifically, the target condition can be set based on at least one attribute of the message, such as message content, message format, or message type. Taking the message content as an example, the target condition can be set according to the activity theme. For instance, it could be setting the message to contain keywords or setting the semantics of the message to meet semantic conditions. For example, for a virtual resource allocation activity with a holiday theme, such as New Year's Day, keywords could be set as "New Year" or "New Year's Day," with one or more keywords. If there are multiple keywords, the target message meeting the target condition can be one that matches at least one of the keywords, or it can match all of the keywords. The target condition can also be set to express New Year's Day greetings, such as "Happy New Year," "Happy New Year's Day," or "HAPPY NEW YEAR."

[0072] A target group member is a group member who initiates a target session message that meets the target conditions within a group session. When a group member initiates one or more target session messages that meet the target conditions within the group session, that group member is determined to be a target group member. For example, if group member A sends session message M1 that meets the target conditions, and group member B sends session messages M2 and M3 that meet the target conditions within the group session, then both group member A and group member B are target group members in the group session.

[0073] The group activity determination condition is used to determine whether the number of members in the target group that initiated the target session message meets the condition. Specifically, the group activity determination condition is met if the number of members in the target group that initiated the target session message is greater than or equal to a member number threshold, and if the number of members in the target group that initiated the target session message is less than the member number threshold, the group activity determination condition is not met.

[0074] A virtual resource allocation message is a message initiated by a resource allocator to distribute resources. The allocated resources include, but are not limited to, virtual red envelopes, e-coupons, points, e-vouchers, game currency, and virtual items. Virtual items can be game props, game skins, etc. The resource allocator can be a system platform or any user. For example, a system platform can conduct themed activities through virtual resource allocation. The recipients of virtual resources can be all users on the platform, users participating in the themed activity, or a subset of users who meet certain selection criteria; the specific settings can be configured according to the actual application scenario. As another example, users can also configure virtual resource allocation information to conduct personalized virtual resource allocation activities targeting specific individuals. For instance, the group owner of a target group can configure virtual resource allocation information to conduct virtual resource allocation activities for each member of the target group.

[0075] A virtual resource allocation message includes a message body and the data required to claim the virtual resource. The message body is the message structure presented when the virtual resource allocation message is displayed. For example, after a user triggers a virtual resource allocation message, the terminal can display a floating interface and show the message body of the virtual resource allocation message within the floating interface. The data required to claim the resource can include the allocation triggering conditions and the information of the eligible recipients corresponding to the virtual resource allocation message. The allocation triggering conditions are used to limit the timing of the virtual resource allocation; that is, the message body of the virtual resource allocation message can only be triggered when the allocation triggering conditions are met, so that the user can trigger the virtual resource claiming operation to claim the virtual resource. The eligible recipients are used to limit the objects that can claim the virtual resource. For example, the eligible recipients can be limited to group members who have initiated target session messages that meet the target conditions. Alternatively, the number of eligible recipients can be limited to N (N is a positive integer), and only the N group members who first trigger the virtual resource claiming operation can claim the resource.

[0076] Total virtual resources represent the maximum amount of virtual resources that can be allocated. Total virtual resources are a variable parameter, positively correlated with the number of members in the target group initiating the target session message. When the number of members in the target group initiating the target session message meets the group activity criteria, the fewer the members, the smaller the total virtual resources allocated to the virtual resource allocation message; conversely, the more members, the larger the total virtual resources allocated to the virtual resource allocation message.

[0077] Specifically, the terminal detects whether the session messages generated in the group session meet the target conditions. When it detects that there is a target session message in the group session that meets the target conditions, it counts the number of target group members who initiated the target session message in the group session and determines whether the number of target group members meets the group activity determination conditions. If it does, a virtual resource allocation message is displayed to allow virtual resources to be claimed and allocated. If it does not meet the conditions, a prompt message indicating that the virtual resource allocation conditions have not been met is displayed.

[0078] In a specific application, suppose the group activity criterion is that the number of members in the target group who initiated the target session message is no less than 20. For example... Figure 4 As shown, in the first group session, if a total of 30 group members initiate target session messages that meet the target conditions, then virtual resource allocation messages can be displayed in the first group session; for example... Figure 5 As shown, in the second group session, a total of 10 group members initiated target session messages that meet the target conditions. Therefore, the second group session can display the prompt message "Unfortunately, the number of participants is less than 20, and the conditions for receiving virtual resources have not been met".

[0079] It's important to note that virtual resource allocation messages are assigned to each individual group. A single user can participate in receiving virtual resources in different groups by initiating target session messages that meet specific criteria. For example, if user A is a member of both Group 1 and Group 2, and initiates target group messages that meet the criteria in both groups, then when the number of members in each group meets the group activity threshold, user A can receive the allocated virtual resources in both Group 1 and Group 2.

[0080] Step 206: In response to the virtual resource claiming operation triggered by the virtual resource allocation message, display the virtual resource claiming result corresponding to the virtual resource domain operation.

[0081] The virtual resource claiming operation is used to trigger the claiming of virtual resources from the virtual resource allocation message. Specifically, it can be various operations such as clicking, double-clicking, long-pressing, and swiping on the virtual resource allocation message, and the type of triggering operation can be flexibly set according to actual needs. By triggering the virtual resource claiming operation, a user can claim a portion of the total virtual resources from the virtual resource allocation message. Each claiming object can claim virtual resources the first time the virtual resource allocation message is triggered. When the claiming object has already claimed a portion of the virtual resources from the total virtual resources in the virtual resource allocation message, the terminal responds to the user's triggering of the virtual resource allocation message by displaying the claimed portion of virtual resources. That is, when a user triggers the virtual resource allocation message for the first time, the triggering operation is a virtual resource claiming operation; when the user triggers the virtual resource allocation message again, the triggering operation is a virtual resource viewing operation. When a user triggers the virtual resource claiming operation for a virtual resource allocation message, it indicates that a portion of virtual resources needs to be allocated to the current user from the total virtual resources corresponding to the virtual resource allocation message.

[0082] Specifically, the terminal monitors the user's operations triggered by the virtual resource allocation message. When the terminal detects a user's virtual resource claiming operation triggered by the virtual resource allocation message, specifically when the terminal detects the user touching the resource claiming control associated with the virtual resource allocation message, the terminal responds to the virtual resource claiming operation by displaying the claiming result area corresponding to the operation on the virtual resource domain. In the claiming result area, the virtual resource claiming result is displayed.

[0083] The above-described virtual resource allocation message processing method allows group members to interact through target session messages. When the number of interacting members reaches the group activity judgment condition, the number of active members in the group has reached a certain level of activity. These members are all online at the same time, and triggering a virtual resource allocation message at this time allows the virtual resources in the virtual resource allocation message to be claimed as soon as possible. By making the total amount of virtual resources in the virtual resource allocation message positively correlated with the number of members, there are enough virtual resources available for group members to claim, avoiding continuous and occasional claims that occupy computing resources and improving the utilization efficiency of computing resources.

[0084] In one embodiment, when there is a target session message in the session messages that meets the target conditions, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed, including: when there is a target session message in the session messages that meets the target conditions corresponding to the target topic, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message matching the target topic is displayed.

[0085] The target topic is used to represent the activity corresponding to the target session message, so that group members in the group session can send target session messages around the same target topic, thereby increasing the discussion enthusiasm of the topic activity. The target topic can be a game theme, a holiday theme, etc., and can be set according to the actual scenario.

[0086] Virtual resource allocation messages that match the target theme can be identified through various forms such as different text, images, and control elements. These messages can also be displayed differently based on the target theme, such as display position, color, transparency, and background. The virtual resource assigner can customize the message body, personalizing its content and display method to create different display styles for virtual resource allocation messages, effectively distinguishing them from different target themes.

[0087] Specifically, the terminal detects whether the conversation messages generated in the group session meet the target conditions corresponding to the target topic. When it detects that there is a target conversation message in the group session that meets the target conditions corresponding to the target topic, it counts the number of members in the target group who initiated the target conversation message in the group session and determines whether the number of members in the target group meets the group activity determination conditions. If it does, it displays a virtual resource allocation message that matches the target topic. For example, after a user triggers a virtual resource allocation message, the terminal can display a floating interface and show a virtual resource allocation message with a display style that matches the target topic in the floating interface.

[0088] In a specific application, taking the target theme of New Year's holiday activities as an example, the target condition corresponding to the target theme is New Year's greetings. When the terminal detects that there is a target session message with New Year's greetings in the session messages generated in the group session, and the number of members in the target group who sent New Year's greetings in the group session reaches the member number threshold corresponding to the group activity judgment condition, a virtual resource allocation message related to the New Year's activities is displayed. This virtual resource allocation message related to the New Year's activities can include virtual resource allocation messages with background images related to the New Year's activities, or it can be a virtual resource allocation message displaying the words "New Year's greetings." The "New Year's greetings" can be pre-configured content or randomly selected content from the New Year's greetings sent by the target group members, in order to increase users' enthusiasm for sending New Year's greetings and improve the effectiveness of the themed activities.

[0089] In this embodiment, by limiting the target session message to meet the target conditions corresponding to the target topic, and limiting the virtual resource allocation message to match the target topic, the target session message and the virtual resource allocation message can be matched, which can fit the target topic, increase the user's enthusiasm for sending target session messages, and improve the effectiveness of the topic activities corresponding to the target topic.

[0090] In one embodiment, when there is a target session message in the session messages that meets the target conditions, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed, including: when there is a target session message in the session messages that meets the semantic conditions corresponding to the target topic, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed.

[0091] Semantic conditions refer to the conditions that the semantic content of a message must satisfy. The same word can correspond to multiple meanings in different contexts, and different words can have the same meaning. By limiting the target conditions to semantic conditions corresponding to the target topic, we can diversify the expression methods and ensure that all conversational messages using different expression methods meet the same conditions. A semantic condition can be a specific semantic term, such as content corresponding to a specific scenario, like birthday wishes or game activities, or it can be a category of semantics, such as New Year's greetings. Figure 6 As shown, auspicious New Year greetings include phrases such as "May you have abundance every year" and "May all your wishes come true."

[0092] Specifically, the terminal can use natural language processing (NLP) to identify whether the semantics represented by conversation messages sent by group members meet semantic conditions. The NLP process can be implemented based on a NLP module configured on the terminal. Terminal-based NLP improves analysis speed and facilitates rapid response. Alternatively, the terminal can synchronize conversation messages to a background system, where a deployed NLP service analyzes and determines whether the semantics represented by the conversation messages meet semantic conditions. Background-based NLP reduces the terminal's data processing resource consumption.

[0093] In a specific application, taking the semantic condition of New Year's greetings as an example, when a target session message containing New Year's greetings exists in the session messages, the terminal counts the number of members in the target group that initiated the target session message. When the number of members meets the group activity determination condition, a virtual resource allocation message is displayed. This virtual resource allocation message can be a regular virtual resource allocation message or a virtual resource allocation message with a display style matching the New Year theme.

[0094] In this embodiment, by limiting the target conversation message to semantic conditions that conform to the target topic, it is possible for group members to brainstorm and send target conversation messages in different ways in the group conversation, thereby achieving diversified expression of target conversation messages that conform to semantic conditions, mobilizing the enthusiasm of group members to send conversation messages, and effectively improving the recognition efficiency of target conversation messages.

[0095] In one embodiment, when a target session message that meets the target conditions exists in the session messages, in response to the number of members of the target group who initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed, including: when a target session message that meets the target conditions is generated in the session messages, a prompt message for the start of the theme activity is displayed; when the termination time condition corresponding to the theme activity is met at the current time, and the number of members of the target group who initiated the target session message meets the group activity determination condition during the activity time of the theme activity, a virtual resource allocation message is displayed.

[0096] The launch notification message indicates the start of a topic activity. The launch time for a topic activity in a group is the moment when the first target session message matching the target conditions is generated within the group session. The launch notification message for a topic activity may include a brief description of the topic activity and, possibly, the target topic corresponding to the virtual resource allocation message.

[0097] The termination time condition refers to the time condition that must be met for a virtual resource allocation event to be triggered. The termination time condition matches the termination time of the themed activity. The activity time of a themed activity is the period from the activity start time to the activity termination time. To mix session messages that meet the target conditions sent during non-activity times with those sent during the activity time, only the number of target group members who initiated the target session message is counted as the number of target group members who initiated the target session message during the activity time of the themed activity. The termination time condition can be the current time reaching the target time point, or the activity start duration corresponding to the current time reaching the target duration; the specific condition can be set according to the actual application scenario. Triggering a virtual resource allocation message requires both the termination time condition and the group activity determination condition to be met simultaneously. Only when both conditions are met will the virtual resource allocation message be displayed on the terminal.

[0098] Specifically, when a target session message matching the target conditions is generated in a group's session messages, a themed activity for that group is triggered. A start prompt message for the themed activity is displayed on the session page of each group member, prompting all group members to participate. The start prompt message can be displayed on the group's session page via a floating interface. When the themed activity starts, if a group member sends a target session message matching the target conditions in the group session, the terminal adds that group member to the target group member set. The first member in the target group member set is the first group member to send a target session message matching the target conditions, triggering the start of the themed activity. The number of members in the target group member set is the number of target group members who initiated the target session message. When the current time meets the termination time condition corresponding to the themed activity and the number of members in the target group member set meets the group activity determination condition, a virtual resource allocation message is displayed.

[0099] In a specific application, when a target session message matching the target conditions is generated in the session messages, a startup prompt message for the topic activity is displayed. This prompt message includes a brief introduction to the topic activity and the target topic corresponding to the virtual resource allocation message. For example... Figure 7 As shown, the theme activity is "Welcoming the God of Wealth." When user A sends the target conversation message "Welcoming the God of Wealth" in a group conversation, which meets the target conditions, a launch prompt message containing an image and text is displayed via a floating layer. The image can be an image of the "God of Wealth," and the text can be "The God of Wealth has descended upon this group! Quickly find out who the real God of Wealth is!" The display duration of the launch prompt message can be a preset duration, such as 2 seconds. When any group member triggers the launch of the theme activity, in response to other group members entering the group's conversation page, the launch prompt message for the theme activity is displayed on that conversation page. Furthermore, if the termination time condition is that the current time reaches the target time point (e.g., the target time point is 20:30), then if the number of members in the target group who initiated the target conversation message meets the group activity judgment condition between the current time of 20:30 and the time between the triggering of the theme activity and 20:30, a virtual resource allocation message is displayed. When the termination time condition is that the activity start time corresponding to the current time reaches the target time, taking the target time as 30 minutes and the start time of the theme activity as 14:00 as an example, then when the current time is 14:30 and the number of members of the target group who initiate the target session message during the period from 14:00 to 14:30 meets the group activity judgment condition, the virtual resource allocation message will be displayed.

[0100] In this embodiment, when a target session message that meets the target conditions is generated in the session message, a prompt message for starting the topic activity is displayed to remind group members to start the topic activity. When the current time meets the termination time condition corresponding to the topic activity, and the number of target group members who initiated the target session message during the activity time of the topic activity meets the group activity determination condition, a virtual resource allocation message is displayed. By combining the time condition and the number of members condition to trigger the virtual resource allocation message, the virtual resources in the virtual resource allocation message can be claimed as soon as possible, avoiding the continuous and occasional claiming of computing resources and improving the utilization efficiency of computing resources.

[0101] In one embodiment, when a target session message that meets the target conditions is generated in the session messages, a prompt message for the start of the topic activity is displayed, including: when a target session message that meets the target conditions is generated in the session messages and the generation time of the target session message meets the start time condition of the topic activity, an activity information area is displayed on the group session page; and the prompt message for the start of the topic activity is displayed in the activity information area.

[0102] The generation time of the target session message refers to the time when a group member sends a session message that meets the target conditions in the group session. Since themed activities may only be open during fixed activity periods, in order to mix session messages that meet the target conditions sent during other non-activity times with those sent during the activity period, the activity start prompt message will only be displayed in the activity information area of ​​the group session page when the generation time of the target session message meets the activity start time condition.

[0103] Specifically, such as Figure 8 As shown, taking the event time of the theme activity as 20:00-20:30 as an example, when a group member sends a message that meets the target conditions in the group, it is determined whether the message sending time is within the event period of 20:00-20:30. If the message is not within the event period, it is directly discarded without processing. If it is within the event period, the theme activity start event for the group is triggered, and the theme activity start prompt information is displayed in the activity information area of ​​the group conversation page.

[0104] In this embodiment, by using the session message meeting the target conditions and the session message sending time as the trigger conditions for the start prompt information, it is possible to start the topic activity within a fixed time period. This facilitates the centralized triggering of the topic activities of the group within a specified time period, allowing the virtual resources of the virtual resource allocation message to be claimed as soon as possible, avoiding the continuous and occasional claiming of computing resources and improving the utilization efficiency of computing resources.

[0105] In one embodiment, when the current time meets the termination time condition corresponding to the theme activity and the number of members in the target group initiating the target session message meets the group activity determination condition, the virtual resource allocation message is displayed. This includes: when the time interval between the current time and the start time of the theme activity meets the duration condition corresponding to the theme activity and the number of members in the target group initiating the target session message meets the group activity determination condition, the virtual resource allocation message is displayed.

[0106] The time interval between the current time and the start time of the themed activity refers to the duration from the start of the themed activity to the current time. Specifically, when a group member sends a message that meets the target conditions in the group, the terminal displays the start time of the themed activity and records the start time of the themed activity. When the time interval between the current time and the start time of the themed activity meets the duration condition corresponding to the themed activity, the terminal counts the number of target group members who initiated the target message during the activity time of the themed activity. When the number of members meets the group activity determination condition, the terminal displays a virtual resource allocation message.

[0107] In this embodiment, by using the duration of the topic activity as the termination time condition, it is possible to ensure that the duration of the topic activity in each group is the same, ensuring that each group member has enough time to participate in the topic activity by sending the target session message, and allowing the virtual resources of the virtual resource allocation message to be claimed as soon as possible, avoiding the continuous and occasional claiming of computing resources and improving the utilization efficiency of computing resources.

[0108] In one embodiment, when there is a target session message in the session messages that meets the target conditions, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition, a virtual resource allocation message is displayed, including: when there is a target session message in the session messages that meets the target conditions and the number of members of the target group that initiated the target session message meeting the group activity determination condition, in response to the triggering operation of entering the group session page corresponding to the group session, a virtual resource allocation message is displayed on the group session page.

[0109] Specifically, the group conversation page displays the group's conversation messages. Each group member can trigger a group conversation identifier in the conversation list to enter the corresponding group conversation page. For example, if a target conversation message that meets the target conditions exists in the conversation messages, and the number of members in the target group who initiated the target conversation message meets the group's activity criteria, and group member A enters the corresponding group conversation page at the first moment, then group member A's terminal will display a virtual resource allocation message at the first moment of entering the group conversation page. If group member B enters the corresponding group conversation page at the second moment, then group member B's terminal will display a virtual resource allocation message at the second moment of entering the group conversation page. The first moment and the second moment are different moments.

[0110] In this embodiment, the terminal displays a virtual resource allocation message on the group conversation page in response to the triggering operation of entering the group conversation page. This ensures that the display of the virtual resource allocation message is automatically triggered when a group member enters the group conversation page, making it convenient for group members to claim virtual resources in a timely manner.

[0111] In one embodiment, the number of available virtual resources in the virtual resource allocation message is equal to the number of members in the target group. Displaying the virtual resource allocation message on the group session page in response to a triggering operation that enters the group session's corresponding group session page includes: in response to a group member entering the group session page, when the group member is a target group member, displaying the virtual resource allocation message on the group session page.

[0112] Specifically, the number of available virtual resources in the virtual resource allocation message represents the number of people eligible to claim virtual resources from the corresponding virtual resource pool. The number of available virtual resources in the allocation message is equal to the number of members in the target group, ensuring that every member of the target group can receive virtual resources. During the themed event, as the number of members in the target group increases, the number of available virtual resources in the allocation message also increases; the more members in the target group, the more available virtual resources in the allocation message.

[0113] Since there may be group members who have not participated in the themed activity, in order to ensure that all target group members in the group can receive virtual resources, and at the same time attract group members who have not participated in the themed activity to participate in the themed activity, the terminal responds to the trigger operation of the group member entering the group conversation page, analyzes whether the group member corresponding to the trigger operation is a target group member. When the group member is a target group member, a virtual resource allocation message is displayed on the group conversation page. When the group member is not a target group member, the group conversation page is displayed normally, or a prompt message is displayed that the user has not participated in the themed activity and cannot receive virtual resources. This is to let users know that they can receive virtual resources by participating in the themed activity, so that they will actively participate when the themed activity starts.

[0114] In this embodiment, in response to the triggering operation of a group member entering the group session page, if the terminal determines that the group member is the target group member, it displays a virtual resource allocation message on the group session page. The number of virtual resources available for collection in the virtual resource allocation message is equal to the number of members in the target group, which ensures that there are enough virtual resources for the target group members to collect, so that each target group member has the opportunity to collect virtual resources.

[0115] In one embodiment, in response to a virtual resource claiming operation triggered by a virtual resource allocation message, displaying the virtual resource claiming result corresponding to the virtual resource domain operation includes: in response to a virtual resource claiming operation triggered by a group member in a group session for a virtual resource allocation message, displaying a portion of the virtual resources randomly allocated from the virtual resource pool corresponding to the virtual resource allocation message; wherein the maximum resource amount of the virtual resource pool is the total virtual resource amount.

[0116] The virtual resource pool is a container used to store virtual resources to be allocated. One group corresponds to one virtual resource pool during a single themed activity. In other words, different groups correspond to different virtual resource pools, and the same group may have different virtual resource pools for different themed activities or different number of activities within the same themed activity. Before a virtual resource allocation message is triggered, the amount of resources in the virtual resource pool increases with the number of members in the target group. After the virtual resource allocation message is triggered, the amount of resources in the virtual resource pool decreases with the increase of virtual resource claiming operations. At the moment the virtual resource allocation message is triggered, the amount of resources in the virtual resource pool is at its maximum, representing the total amount of virtual resources corresponding to the virtual resource allocation message. The virtual resource claiming result is a portion of virtual resources randomly allocated from the virtual resource pool.

[0117] Specifically, for group members with virtual resource claiming permissions, a virtual resource allocation message is displayed. When a group member has not claimed virtual resources from the virtual resource pool corresponding to the allocation message, the terminal responds to the group member's virtual resource claiming operation triggered by the allocation message, displaying a portion of the virtual resources randomly allocated from the virtual resource pool. When a group member has claimed virtual resources from the virtual resource pool corresponding to the allocation message, the terminal responds to the group member's virtual resource viewing operation triggered by the allocation message, displaying the claimed virtual resources.

[0118] In this embodiment, by randomly allocating virtual resources from the virtual resource pool, the randomness of the virtual resources received by group members can be achieved. By determining the total amount of virtual resources in each group for random allocation, allocation can be carried out on a group-by-group basis, reducing the occupation of computing resources and improving the utilization efficiency of computing resources.

[0119] In one embodiment, the virtual resource allocation message processing method further includes: for each target group member, determining the virtual resource contribution value corresponding to each target group member based on the current virtual resource allocation cycle progress within the total cycle, the remaining available virtual resources for the target group member within the total cycle, and a random number randomly selected for the target group member; and summing the virtual resource contribution values ​​corresponding to each target group member to determine the total virtual resource amount.

[0120] The virtual resource allocation period is the duration of a single themed activity. Within a virtual resource allocation period, a virtual resource allocation message is triggered once, and virtual resources are allocated sequentially. The virtual resource allocation period can be 24 hours, for example, updated to the latest virtual resource allocation period at 24:00 every day. That is, the progress of the current virtual resource allocation period within the total period can be the activity duration / total activity duration, such as the number of days the activity is running / the total number of days the activity is running.

[0121] The entire themed event may include one or more virtual resource distribution cycles. When there are multiple virtual resource distribution cycles during the entire themed event, to prevent users from creating groups too frequently to participate in the event and claiming unlimited virtual resources, the amount of virtual resources each user can claim within the total cycle is limited. When a user claims virtual resources, their remaining claimable virtual resources within the total cycle will decrease; the decrease is the amount of virtual resources the user has already claimed.

[0122] The random numbers randomly selected for each member of the target group can be obtained using any random number extraction method. By randomly selecting random numbers for each member of the target group, the randomness of the virtual resource contribution value for each member can be ensured. The virtual resource contribution value is a component of the total virtual resource value. The total virtual resource value can be obtained by summing the virtual resource contribution values ​​for each member of the target group.

[0123] Specifically, the terminal or backend can calculate the virtual resource contribution value for each target group member within the group, based on the current virtual resource allocation cycle's progress within the total cycle, the remaining available virtual resources for each target group member within the total cycle, and a randomly selected random number. The virtual resource contribution value is calculated as follows: Virtual Resource Contribution Value = (User's Maximum Virtual Resource Claim Limit – User's Already Claimed Virtual Resources) × Random Number × (Target Value - (Activity Cycle / Total Activity Cycle)). The target value can be a specified value such as 0, 1, or 1.1. The terminal or backend then sums the virtual resource contribution values ​​for each target group member to obtain the total virtual resource amount corresponding to the virtual resource allocation message.

[0124] In this embodiment, the contribution value of virtual resources for each target group member is calculated by taking advantage of the current virtual resource allocation cycle progress within the total cycle, the remaining amount of virtual resources available to the target group members within the total cycle, and a random number randomly selected from the target group members. This limits the total amount of virtual resources that each user can receive within the total cycle and ensures the randomness of the contribution value of virtual resources, thereby ensuring the rationality of the total amount of virtual resources corresponding to the group.

[0125] In one embodiment, the virtual resource allocation message processing method further includes: when at least one of the following conditions is met, namely, the active user determination condition and the random number randomly selected for the target group member is a target value, the virtual resource contribution value corresponding to the target group member is determined to be a target contribution value; wherein the target contribution value is greater than or equal to the virtual resource contribution value corresponding to the other target group members in the group session.

[0126] The criteria for determining active users are those used to assess a user's activity level within the application platform or group. For example, if a group member's speaking frequency or number of messages reaches a set threshold, that member is considered an active user. Conversely, if a member's frequency or number of messages falls below the threshold, they are not considered an active user. The random number drawn from the target group member can be set to a range, such as 0-100000, and the target value can be any one or more values ​​within that range.

[0127] Specifically, when a target group member meets the active user criteria and a randomly selected number for that member is the target value, the virtual resource contribution value for that member is determined as the target contribution value. The target contribution value is the maximum shared virtual resource amount among all target group members in the group session. In practical applications, multiple target group members with the same virtual resource contribution value can exist within the same group. These members can also be identified through notification messages within the group session.

[0128] In this embodiment, by setting conditions corresponding to members of the target group, it is determined whether the virtual resource contribution value corresponding to the members of the target group is the target contribution value. This allows for the random selection of "lucky users," reducing the computational resources required to determine "lucky users" and improving the utilization efficiency of computational resources.

[0129] In one embodiment, in response to a virtual resource claiming operation triggered by a virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource domain operation is displayed, including:

[0130] When the total amount of the first type of virtual resources claimed by the triggering object of the virtual resource claiming operation during the virtual resource allocation activity reaches the threshold of the first type of virtual resources, the virtual resource claiming result of claiming the second type of virtual resources is displayed in response to the virtual resource claiming operation triggered by the virtual resource allocation message; wherein, the total amount of the first type of virtual resources corresponding to the virtual resource allocation message is positively correlated with the number of members.

[0131] The first type of virtual resource can be a universally applicable virtual resource across multiple platforms or scenarios, such as electronic red envelopes. The second type of virtual resource can be a virtual resource used on a specific platform or scenario, such as electronic coupons, points coupons, game coins, points, electronic vouchers, etc.

[0132] Specifically, when the total amount of the first type of virtual resources received by the triggering object of the virtual resource claiming operation during the virtual resource allocation period reaches the threshold of the first type of virtual resources, the terminal responds to the virtual resource claiming operation triggered by the virtual resource allocation message, displays the virtual resource claiming result of receiving the second type of virtual resources, thereby limiting the total amount of the first type of virtual resources that each user can receive during the virtual resource allocation period, and realizing the reasonable and effective allocation of virtual resources.

[0133] In one embodiment, such as Figure 9 As shown, a virtual resource allocation message processing method is provided, which is applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:

[0134] Step 902: Display the session messages generated in the group session.

[0135] A group, also known as a group chat or group, is a platform established in social applications that provides multi-person conversations. Members in a group can chat and communicate through the group. Conversation messages are messages sent by group members during the conversation. Conversation messages are group messages used for information exchange between different group members, and can be group messages sent by any member in the group. Conversation messages can be in various forms such as text, images, symbols, audio, and video.

[0136] Specifically, the terminal displays group messages initiated by group members in the group session. This can be achieved by the terminal displaying the individual group messages sent by each group member within the group's session interface after logging into the session client. In a group session, each message corresponds to the group member who initiated it; for example, each message is displayed with a corresponding member identifier. The member identifier identifies the group member and may include one or more of the following: name, nickname, group chat level, or avatar.

[0137] Step 904: Whenever a current target session message that meets the target conditions appears in the session messages, the target item is displayed corresponding to the current target session message; wherein, target session messages that meet the target conditions initiated by multiple group members in the group session are used to jointly trigger virtual resource allocation messages.

[0138] The target prop is a component displayed in group conversations. It can be combined with commonly used message components. The size, shape, color, transparency, and display position of the target prop can be set according to the activity theme corresponding to the target condition.

[0139] Target conditions refer to the criteria used to determine whether a message is a target message in a conversation. Specifically, target conditions can be set based on at least one attribute of the conversation message, such as message content, message format, or message type. Taking the message content as an example, the target condition can be set according to the activity theme. For instance, it could be setting the conversation message to contain keywords or setting the semantics of the conversation message to meet semantic conditions. For example, for a New Year's Day activity, keywords could be set as "New Year" or "New Year's Day," and the number of keywords can be one or more. If there are multiple keywords, a target conversation message that meets the target condition can be one that matches at least one of the keywords, or one that matches all of the keywords. Target conditions can also be set to express New Year's Day greetings, such as "Happy New Year," "Happy New Year's Day," or "HAPPY NEW YEAR."

[0140] The current target session message is the most recently sent target session message by a group member that meets the target conditions. Multiple target session messages initiated by individual group members that meet the target conditions are used to jointly trigger virtual resource allocation messages. Specifically, virtual resource allocation messages can be triggered when the number of target session messages initiated by multiple group members that meet the target conditions meets the group activity criteria. For example, when the number of target session messages initiated by multiple group members that meet the target conditions reaches a message count threshold, a virtual resource allocation message can be triggered. Alternatively, it can be triggered when the number of members in the multiple group members who have initiated target session messages that meet the target conditions reaches a member count threshold. The triggering conditions for virtual resource allocation messages can be set according to the actual application scenario.

[0141] Step 906: When there is a previous target session message that meets the target conditions in the current target session message, the target item corresponding to the previous target session message will be removed from display.

[0142] Here, the previous target session message refers to a target session message that meets the target conditions and was generated before the current target session message. The process of canceling the display of the target item corresponding to the previous target session message and displaying it corresponding to the current target session message is as follows: Figure 10As shown, the current target conversation message is "Welcome the God of Wealth," the previous target conversation message was "Welcome the God of Wealth, Welcome the God of Wealth," and the target item is the "God of Wealth Hat" avatar pendant. When the current target conversation message "Welcome the God of Wealth" is generated, the "God of Wealth Hat" avatar pendant is removed from the avatar of the group member corresponding to the previous target conversation message "Welcome the God of Wealth, Welcome the God of Wealth," and displayed on the avatar of the group member in the current target conversation message. Whenever a new target conversation message is generated in the group, the target item is transferred to the latest target conversation message for display, visually demonstrating the process of group members interacting through target conversation messages.

[0143] The aforementioned conversation message processing method allows group members to interact through target conversation messages. Whenever a new target conversation message is generated in the group, the target item is transferred to the latest target conversation message for display. This visually demonstrates the process of group members interacting through target conversation messages, thereby encouraging more group members to participate in triggering target conversation messages as soon as possible. This allows virtual resource allocation messages to be triggered earlier through target conversation messages initiated by multiple group members, reducing the consumption of computing resources during the interaction process and improving the utilization efficiency of computing resources.

[0144] In one embodiment, a session message is displayed in combination with a message component for the session message; corresponding to the current target session message, a target item is displayed, including: corresponding to the message component displayed in combination with the current target session message, displaying a target item that matches the message component.

[0145] The message component displayed in combination with the current target session message can be a group member identifier, such as a group member's nickname or avatar, or a session message component, such as a message bubble. Specifically, the item type of the target prop matches the component type of the message component. For example, when the message component is a group member's nickname, the matching target prop is the nickname suffix. Another example: when the message component is a group member's avatar, the matching target prop is an avatar widget. Yet another example: when the message component is a message bubble, the matching target prop is a bubble widget. Figure 11 As shown, the target prop is a bubble pendant with the words "God of Wealth". In one embodiment, whenever a current target session message that meets the target conditions appears in the session messages, the display style of the message component displayed in combination with the current target session message is updated to the target style. When there is a previous target session message that meets the target conditions in the current target session message, the component style of the message component corresponding to the previous target session message is restored to the initial style.

[0146] Specifically, whenever a current target session message that meets the target conditions appears in the session messages, the target item that matches the message component displayed in combination with the current target session message is displayed. If there is a previous target session message that meets the target conditions in the current target session message, the target item corresponding to the previous target session message is canceled from display.

[0147] In this embodiment, by displaying a message component corresponding to the current target session message combination, the target item matching the message component is displayed. The transfer process of the target item can be visually displayed based on the message component. The target item matches the message component, and the display position of the target item can be determined based on the message component. This reduces the computational resources required to calculate the display position of the target item, and makes the display and de-display of the target item faster and smoother.

[0148] In one embodiment, the session message is displayed in combination with the member avatar corresponding to the group member who initiated the group session; corresponding to the current target session message, the target prop is displayed, including: the member avatar displayed in combination with the current target session message, and the avatar pendant is displayed.

[0149] In this context, the member avatar is the identifier of the group member. Displaying the member avatar along with the conversation message and the initiator of the group conversation allows group members to quickly identify the recipient of the conversation message. The avatar widget is a tool that matches the member avatar. The boundary shape of the avatar widget can match the display boundary shape of the member avatar. For example, if the member avatar is an image with a circular display boundary, then the boundary shape of the avatar widget is an arc with the same radius as the member avatar image, ensuring a perfect match. Specifically, whenever a current target conversation message that meets the target conditions appears in the conversation messages, the avatar widget corresponding to the member avatar displayed in the current target conversation message is displayed. If a previous target conversation message that meets the target conditions exists in the current target conversation message, the avatar widget corresponding to the previous target conversation message is de-displayed.

[0150] In this embodiment, by displaying member avatars corresponding to the current target session message, the avatar widget transfer process can be visually displayed based on the member avatars. Furthermore, based on the display position of the member avatars, the display position of the avatar widget can be quickly determined, thereby reducing the computational resources required to calculate the display position of the avatar widget, improving response speed, and making the display and undisplay of the avatar widget faster and smoother.

[0151] In one embodiment, the session message processing method further includes: whenever a current target session message that meets the target conditions appears in the session messages, and the current target session message has a previous target session message that meets the target conditions, displaying a movement animation of the target item moving from the associated position of the previous target session message to the associated position of the current target session message.

[0152] The position of the target item in the previous target conversation message is determined based on the display method of the target item in the corresponding target conversation message. Taking the target item as an avatar accessory as an example, if the target item is displayed at the boundary of the member's avatar in the corresponding target conversation message, then the animation of the target item moving from the associated position in the previous target conversation message to the associated position in the current target conversation message is as follows: the avatar accessory moves from the boundary of the member's avatar in the previous target conversation message to the boundary of the member's avatar in the current target conversation message.

[0153] Specifically, when the current target conversation message and the member avatar of the current target conversation message are displayed on the same side of the display page, the target item's movement animation is vertical movement; when the current target conversation message and the member avatar of the current target conversation message are displayed on different sides of the display page, the target item's movement animation is diagonal movement or curved movement.

[0154] In this embodiment, by displaying a movement animation of the target item moving from the associated position of the previous target conversation message to the associated position of the current target conversation message, the process of group members interacting through the target conversation message can be visually demonstrated, making it easier for group members to intuitively understand the transfer method of the target item and improving the user experience.

[0155] In one embodiment, whenever a current target session message that meets the target conditions appears in the session messages, the target item is displayed corresponding to the current target session message, including: whenever a current target session message that meets the semantic conditions corresponding to the target theme appears in the session messages, the target item whose style matches the target theme is displayed corresponding to the current target session message.

[0156] In this context, "prop style" refers to the presentation of the target prop. Different styles of target props can have different content. For example, when the target theme is birthday wishes, group members can send target conversation messages corresponding to birthday wishes. The target prop matching this theme could be a birthday hat, displayed as the avatar of the group member who most recently sent a birthday wish. Similarly, when the target theme is New Year's wishes, group members can send target conversation messages with auspicious greetings. The target prop matching this theme could be a wealth god hat, displayed as the avatar of the group member who most recently sent a birthday wish.

[0157] In this embodiment, whenever a current target session message that matches the semantic conditions corresponding to the target topic appears in the session message, a target prop whose style matches the target topic is displayed corresponding to the current target session message. This enables semantic matching between the target prop and the target session message, allowing for personalized display of different styles of target props for different target topics, thereby avoiding the complex operations required to set the prop style of the target prop.

[0158] In one embodiment, the session message processing method further includes: when the number of available virtual resources corresponding to the virtual resource allocation message is zero, the target item is used as the fixed item for the target group member who receives the most virtual resources; wherein the fixed item is displayed in combination with the session message initiated by the target group member.

[0159] In this case, if the number of available virtual resources for a virtual resource allocation message is zero, it indicates that there are no available virtual resources. In this situation, the target group member who received the most virtual resources can be identified, and this target group member is the "luckiest" group member in this virtual resource allocation activity. A "fixed item" for a target group member refers to an item that the target group member has permission to use. It can be displayed in conjunction with any conversation message initiated by the target group member.

[0160] In this embodiment, by using the target item as a fixed item for the target group member who receives the most virtual resources, it is possible to represent that the user has obtained the most virtual resources in the activities they participate in, thereby guiding more group members to participate in the virtual resource distribution activities.

[0161] In one embodiment, the session message processing method further includes: in response to a triggering event for a virtual resource allocation message, using a target item as a fixed item for the target group member who initiates the current target session message; wherein the fixed item and the session message initiated by the target group member are displayed together.

[0162] The triggering event of the virtual resource allocation message indicates that the number of active people in the group has reached a certain level of activity. The virtual resource allocation message indicates that the virtual resource can be claimed by the group members who have sent the target session message that meets the target conditions. When the virtual resource allocation message is triggered, no new group members can be claimed. At this time, the target group member who initiated the current target session message will be regarded as the object with the right to use the target item.

[0163] In this embodiment, by using the target prop as a fixed prop for the target group member of the current target session message, it is possible to indicate that the user is the last to send the target session message in the activity they are participating in. By displaying the fixed prop in combination with the session message, more group members can be guided to participate in the virtual resource allocation activity.

[0164] In one embodiment, the fixed prop is a time-limited fixed prop; within the target time period corresponding to the time-limited fixed prop, the time-limited fixed prop is displayed in combination with the conversation messages initiated by the target group member in any session.

[0165] The target time period is from the end time of the current virtual resource allocation activity to the start time of the next virtual resource allocation activity. Limited-time fixed items refer to items that users have the right to use within a specified time. The period from the end time of the current virtual resource allocation activity to the start time of the next virtual resource allocation activity is the non-activity time.

[0166] In this embodiment, within the target time period corresponding to the time-limited fixed item, the time-limited fixed item is displayed in combination with the conversation messages initiated by the target group member in any session. This not only avoids conflicts with the display of the target item during the event, but also allows for a visual display of the activities the user participates in during non-event periods, effectively increasing the user's participation in the virtual resource allocation activity.

[0167] This application also provides an application scenario in which the aforementioned virtual resource allocation message processing method and session message processing method are applied. Specifically, the application of the virtual resource allocation message processing method and session message processing method in an online group chat scenario is as follows:

[0168] In online group chat scenarios, during limited-time events, once the activity level of the group reaches a certain threshold, the God of Wealth can be summoned to descend upon the group and randomly distribute electronic red envelopes and coupons.

[0169] Specifically, such as Figure 13As shown, during the Spring Festival event, from 8:00 PM to 8:30 PM each evening, the "Receiving the God of Wealth Red Envelope Game" will be displayed through instant messaging application message list pendants, group chat breathing lights, and other resource slots to attract users to join the group and participate in the game. Any group member can send auspicious blessings, such as "Wishing you prosperity" or "Wishing you good health," and when semantic analysis identifies the message as an auspicious blessing, the "Receiving the God of Wealth Red Envelope Game" will be activated for that group.

[0170] Specifically, after a user sends a message in a group, the message is synchronized to the backend. The backend determines whether the message was sent between 20:00 and 20:30; messages sent outside this period are discarded. If it is during the activity period, the backend checks if the group has started the "Welcoming the God of Wealth" activity. If not, the message content is processed by the cloud platform's natural language processing service to determine if it is a blessing. If it is, the group is marked as having started the "Welcoming the God of Wealth" red envelope activity, and the user who started it is added to the group's "relay" user set. If the "Welcoming the God of Wealth" activity is already started, the backend checks if the message is a relay password. If the recipient of the message has not participated in the group's relay, the user is added to the group's "relay" user set.

[0171] After the "Welcome the God of Wealth Red Envelope" game is launched, the group atmosphere will be enlivened through the "Grab the God of Wealth Hat" activity. Specifically, group members can send auspicious blessings to the group in a chain to welcome the God of Wealth, and they will receive a God of Wealth hat avatar pendant in turn. For example, after user A sends an auspicious blessing to join the chain, user B also sends an auspicious blessing to join the chain. At this time, the God of Wealth hat pendant will drop from user A's avatar position to user B's avatar position. By creating a lively atmosphere in the group, the overall participation enthusiasm of the activity will be increased.

[0172] Specifically, after a user sends a message in a group, the backend determines whether the message is within the activity period and whether it is a blessing statement. If the determination is correct, the user is marked as the current owner of the God of Wealth hat pendant for that group. At the same time, the God of Wealth hat pendant of the previous user in the group is removed. The backend pushes the user's user identifier to the client, and after receiving the pushed data, the client updates the user's pendant to the God of Wealth hat pendant.

[0173] Group members can send auspicious blessings to welcome the God of Wealth, which will cause the amount of the corresponding electronic red envelope in the group to increase. Within 30 minutes from 20:00 to 20:30, when the number of people in the group participating in the blessing relay exceeds 20, the God of Wealth red envelope will be summoned at 20:30. The total amount and number of electronic red envelopes corresponding to the God of Wealth red envelope will increase with the cumulative number of people participating in the blessing relay. With the expansion of electronic red envelopes as the driving point, it can attract users to participate in the blessing relay and stimulate the activity of messages in the group.

[0174] Specifically, a scheduled task is set up in the backend to iterate through all groups that have started the "Welcoming the God of Wealth" activity starting at 20:30. For groups with 20 or more participants in the chain, a "God of Wealth" lottery activity push notification is sent. Group members can access the lottery page by clicking the push notification. The total amount of red envelopes in the group equals the sum of the electronic red envelope contributions of all participants. A user's random electronic red envelope contribution is calculated as: (Maximum electronic red envelope amount received by the user – Amount of electronic red envelopes already received by the user) × Random number × (Target value - (Number of days in the activity / Total number of days in the activity)). Further, it checks if the user meets the activity criteria. If not, no additional large red envelope is sent. If the user meets the criteria, it checks the number of large red envelopes remaining on the platform for the day. If there are still slots available, a random number (0-100000) corresponding to the user is drawn. If the drawn random number equals 100000, the user's electronic red envelope amount is replaced with the large electronic red envelope amount.

[0175] At 8:30 PM, when the red envelopes are distributed, the number of participants in the group chat who joined the relay between 8:00 PM and 8:30 PM will be tallied. Once the threshold of 20 participants is reached, an electronic red envelope message featuring the God of Wealth will appear on the group chat page, allowing participating users to share the electronic red envelope. Users who joined can click on the God of Wealth red envelope to randomly receive electronic red envelopes, coupons, etc. For example... Figure 14 As shown, the user who receives the largest amount of red envelope will become the little god of wealth in the group, and will be given a 24-hour god of wealth hat avatar pendant, and will be notified by a small gray bar in the group: "Congratulations to Li Si for becoming today's little god of wealth".

[0176] Specifically, after a user enters the group interface for the activity, the client sends a request to the backend to confirm whether the group and the user meet the conditions for receiving a red envelope. If the conditions are met, a "God of Wealth Distributing Red Envelopes" animation appears on the client interface, and clicking it opens the H5 activity page. While the page loads, a request is sent to the backend to notify the user to claim the red envelope in the group. The backend first verifies whether the user has already claimed an electronic red envelope in the group. If so, the user's prize data is returned. If not, the reward for the user is calculated, the revenue-side backend is notified to issue the reward, and the reward data is returned to the frontend. The client clicks to claim the red envelope, and the backend retrieves the randomly awarded electronic red envelope amount for the user. If the user's amount is 0, a coupon is issued. If the user's electronic red envelope amount is greater than 0, the electronic red envelope reward is issued directly. After all participating users in the group have claimed their rewards, a small "God of Wealth" pendant is issued to the user with the largest electronic red envelope amount in the group. If multiple users receive the largest electronic red envelope, the user who participated in the chain earliest will be selected as the God of Wealth for this group, and the God of Wealth mark from the previous event will be removed at regular intervals when the next event starts.

[0177] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0178] Based on the same inventive concept, this application also provides a virtual resource allocation message processing apparatus for implementing the virtual resource allocation message processing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more virtual resource allocation message processing apparatus embodiments provided below can be found in the limitations of the virtual resource allocation message processing method described above, and will not be repeated here.

[0179] In one embodiment, such as Figure 15 As shown, a virtual resource allocation message processing device 1500 is provided, including: a session message display module 1502, a virtual resource allocation message display module 1504, and a virtual resource acquisition module 1506, wherein:

[0180] The conversation message display module 1502 is used to display conversation messages generated in a group conversation.

[0181] The virtual resource allocation message display module 1504 is used to display a virtual resource allocation message when there is a target session message in the session message that meets the target conditions, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition; the total virtual resource amount of the virtual resource allocation message is positively correlated with the number of members.

[0182] The virtual resource acquisition module 1506 is used to respond to a virtual resource acquisition operation triggered by the virtual resource allocation message and display the virtual resource acquisition result corresponding to the virtual resource acquisition operation.

[0183] In one embodiment, the virtual resource allocation message display module is further configured to, when there is a target session message in the session message that meets the target conditions corresponding to the target topic, display a virtual resource allocation message that matches the target topic in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition.

[0184] In one embodiment, the virtual resource allocation message display module is further configured to display the virtual resource allocation message when there is a target session message in the session message that meets the semantic conditions corresponding to the target topic, in response to the number of members of the target group that initiated the target session message meeting the group activity determination condition.

[0185] In one embodiment, the virtual resource allocation message display module further includes a startup prompt information display unit and a virtual resource allocation message display unit, wherein:

[0186] The startup prompt information display unit is used to display startup prompt information for the topic activity when a target session message that meets the target conditions is generated in the session message;

[0187] The virtual resource allocation message display unit is used to display a virtual resource allocation message when the current time meets the termination time condition corresponding to the theme activity, and the number of members of the target group who initiated the target session message during the activity time of the theme activity meets the group activity determination condition.

[0188] In one embodiment, the startup prompt information display unit is used to display an activity information area on the group conversation page when a target conversation message that meets the target conditions is generated in the conversation message and the generation time of the target conversation message meets the startup time condition of the topic activity.

[0189] The activity information area displays a prompt message for starting the activity.

[0190] In one embodiment, the virtual resource allocation message display unit is configured to display a virtual resource allocation message when the time interval between the current time and the start time of the topic activity meets the duration condition corresponding to the topic activity, and when the number of members of the target group who initiated the target session message during the activity time of the topic activity meets the group activity determination condition.

[0191] In one embodiment, the virtual resource allocation message display module is further configured to, in response to a triggering operation of entering the group session page corresponding to the group session, display the virtual resource allocation message on the group session page when there is a target session message in the session message that meets the target conditions and the number of members of the target group that initiated the target session message meets the group activity determination conditions.

[0192] In one embodiment, the number of virtual resources available for collection in the virtual resource allocation message is the same as the number of members in the target group; the virtual resource allocation message display module is further configured to respond to a trigger operation when a group member of the group session enters the group session page, and when the group member is the target group member, display the virtual resource allocation message on the group session page.

[0193] In one embodiment, the virtual resource acquisition module is configured to respond to a virtual resource acquisition operation triggered by a group member in the group session in response to the virtual resource allocation message, and display a portion of the virtual resources randomly allocated from the virtual resource pool corresponding to the virtual resource allocation message; wherein, the maximum amount of resources in the virtual resource pool is the total amount of virtual resources.

[0194] In one embodiment, the virtual resource allocation message processing device further includes a virtual resource contribution value calculation module, used to determine the virtual resource contribution value corresponding to each target group member based on the current virtual resource allocation cycle progress within the total cycle, the remaining available virtual resources of the target group member within the total cycle, and a random number randomly selected for the target group member; and to accumulate the virtual resource contribution values ​​corresponding to each target group member to determine the total virtual resource amount.

[0195] In one embodiment, the virtual resource contribution value calculation module is further configured to determine the virtual resource contribution value corresponding to the target group member as a target contribution value when at least one of the following conditions is met: the target group member meets the active user determination condition, or the random number randomly selected for the target group member is a target value; wherein the target contribution value is greater than or equal to the virtual resource contribution value corresponding to the other target group members in the group session.

[0196] In one embodiment, the virtual resource allocation message display unit is configured to, in response to the virtual resource allocation message triggered by the virtual resource allocation operation, display the virtual resource acquisition result of acquiring the second type of virtual resources when the total amount of the first type of virtual resources acquired by the triggering object of the virtual resource acquisition operation during the virtual resource allocation activity reaches the threshold of the first type of virtual resources; wherein, the total amount of the first type of virtual resources corresponding to the virtual resource allocation message is positively correlated with the number of members.

[0197] Based on the same inventive concept, this application also provides a session message processing apparatus for implementing the session message processing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more session message processing apparatus embodiments provided below can be found in the limitations of the session message processing method described above, and will not be repeated here.

[0198] In one embodiment, such as Figure 16 As shown, a conversation message processing device 1600 is provided, including: a conversation message display module 1602, a target item display module 1604, and a target item cancellation display module 1606, wherein:

[0199] The conversation message display module 1602 is used to display conversation messages generated in a group conversation.

[0200] The target item display module 1604 is used to display the target item corresponding to the current target session message whenever a current target session message that meets the target conditions appears in the session message; wherein, the target session messages that meet the target conditions initiated by multiple group members of the group session are used to jointly trigger virtual resource allocation messages.

[0201] The target item cancellation display module 1606 is used to cancel the display of the target item corresponding to the previous target session message when there is a previous target session message that meets the target conditions in the current target session message.

[0202] In one embodiment, the session message is displayed in combination with a message component for the session message;

[0203] The target item display module is also used to display a target item that matches the message component, corresponding to the message component displayed in combination with the current target session message;

[0204] The item type of the target item matches the component type of the message component.

[0205] In one embodiment, the session message is displayed in combination with the member avatar corresponding to the group member who initiated the group session; the target prop display module is also used to display an avatar pendant corresponding to the member avatar displayed in combination with the current target session message.

[0206] In one embodiment, the session message processing device further includes a motion animation display module, which is used to display a motion animation of the target item moving from the associated position of the previous target session message to the associated position of the current target session message whenever a current target session message that meets the target conditions appears in the session message and the current target session message has a previous target session message that meets the target conditions.

[0207] In one embodiment, the target item display module is further configured to display a target item whose style matches the target theme whenever a current target session message that meets the semantic conditions corresponding to the target theme appears in the session message.

[0208] In one embodiment, the session message processing device further includes a fixed item display module, configured to, when the number of available virtual resources corresponding to the virtual resource allocation message is zero, display the target item as the fixed item for the target group member who receives the most virtual resources; or, in response to a triggering event for the virtual resource allocation message, display the target item as the fixed item for the target group member who initiates the current target session message; wherein the fixed item is displayed in combination with the session message initiated by the target group member.

[0209] In one embodiment, the fixed prop is a time-limited fixed prop; within the target time period corresponding to the time-limited fixed prop, the time-limited fixed prop is displayed in combination with the conversation messages initiated by the target group member in any session.

[0210] Each module in the aforementioned virtual resource allocation message processing device and session message processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0211] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 17As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a virtual resource allocation message processing method and a session message processing method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0212] Those skilled in the art will understand that Figure 17 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0213] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0214] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0215] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.

[0216] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0217] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0218] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0219] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for processing virtual resource allocation messages, characterized in that, The method includes: Displays conversation messages generated in group conversations within social applications; When the conversation messages contain target conversation messages that conform to the semantic conditions corresponding to the target topic and are expressed in a variety of ways, if the current time meets the termination time condition corresponding to the topic activity, and the number of members in the target group who initiated the target conversation message during the activity time of the topic activity is greater than or equal to the member number threshold, it is determined that the group activity determination condition is met, and a virtual resource allocation message is displayed; the total virtual resource amount in the virtual resource allocation message is positively correlated with the number of members; the number of virtual resources that can be claimed in the virtual resource allocation message is equal to the number of members in the target group; wherein, the total virtual resource amount is determined by the following steps: for each target group member, based on the current virtual The virtual resource allocation period is determined by the progress of the proposed resource allocation cycle within the total period, the remaining available virtual resources for each member of the target group within the total period, and a random number randomly selected from each member of the target group. The total virtual resource amount is determined by summing the virtual resource contribution values ​​of each member of the target group. The virtual resource allocation cycle is the duration of a single activity session. A virtual resource allocation message is triggered once within a virtual resource allocation cycle. The activity period includes multiple virtual resource allocation cycles. When a user claims virtual resources, their remaining available virtual resources for the activity period decrease by the amount already claimed by the user. In response to a virtual resource claiming operation triggered by a group member in the group session in relation to the virtual resource allocation message, if the group member is a member of the target group, the virtual resource claiming result corresponding to the virtual resource claiming operation is displayed; if the group member is not a member of the target group, the virtual resource cannot be claimed.

2. The method according to claim 1, characterized in that, The virtual resource allocation message matches the target topic.

3. The method according to claim 1, characterized in that, The method further includes: When the conversation messages contain target conversation messages that conform to the semantic conditions corresponding to the target topic and are expressed in a variety of ways, the topic activity start prompt message is displayed.

4. The method according to claim 3, characterized in that, When the conversation message contains a target conversation message that matches the semantic conditions corresponding to the target topic and is expressed in a diversified manner, a topic activity start prompt message is displayed, including: When a target conversation message is generated in the conversation message that conforms to the semantic conditions corresponding to the target topic and is expressed in a diversified manner, and the generation time of the target conversation message meets the start time condition of the topic activity, the activity information area is displayed on the group conversation page. The activity information area displays a prompt message for starting the activity.

5. The method according to claim 3, characterized in that, The method further includes: When the time interval between the current time and the start time of the theme activity meets the duration condition corresponding to the theme activity, and the number of members of the target group who initiated the target session message during the activity time of the theme activity meets the group activity determination condition, a virtual resource allocation message is displayed.

6. The method according to claim 1, characterized in that, When the termination time condition corresponding to the theme activity is met at the current time, and the number of members in the target group who initiated the target session message during the activity time of the theme activity is greater than or equal to the member number threshold, the group activity determination condition is met, and a virtual resource allocation message is displayed, including: When the current time meets the termination time condition corresponding to the theme activity, and the number of members of the target group who initiated the target session message during the activity time of the theme activity is greater than or equal to the member number threshold, it is determined that the group activity determination condition is met. In response to the trigger operation of entering the group session page corresponding to the group session, the virtual resource allocation message is displayed on the group session page.

7. The method according to claim 1, characterized in that, The trigger operation in response to entering the group session page corresponding to the group session, displaying virtual resource allocation messages on the group session page includes: In response to a triggering operation where a group member enters the group session page, when the group member is the target group member, a virtual resource allocation message is displayed on the group session page.

8. The method according to claim 1, characterized in that, The display of the virtual resource claiming result corresponding to the virtual resource claiming operation includes: Displays a portion of the virtual resources randomly allocated from the virtual resource pool corresponding to the virtual resource allocation message; The maximum amount of resources in the virtual resource pool is the total amount of virtual resources.

9. The method according to claim 1, characterized in that, The method further includes: When at least one of the following conditions is met: the target group member meets the active user determination condition, or the random number randomly selected for the target group member is a target value, the virtual resource contribution value corresponding to the target group member is determined to be the target contribution value. Wherein, the target contribution value is greater than or equal to the virtual resource contribution value corresponding to the other target group members in the group session.

10. The method according to any one of claims 1 to 9, characterized in that, The virtual resource claiming operation triggered by a group member in response to the virtual resource allocation message in the group session, when the group member is the target group member, displays the virtual resource claiming result corresponding to the virtual resource claiming operation, including: In response to a virtual resource claiming operation triggered by a group member in the group session in relation to the virtual resource allocation message, when the total amount of the first type of virtual resources claimed by the triggering object of the virtual resource claiming operation during the virtual resource allocation activity reaches the threshold of the first type of virtual resources, the virtual resource claiming result of claiming the second type of virtual resources is displayed. The total amount of virtual resources corresponding to the first type of virtual resources in the virtual resource allocation message is positively correlated with the number of members.

11. A method for processing session messages, characterized in that, The method includes: Displays conversation messages generated in group conversations within social applications; Whenever a current target conversation message that matches the semantic conditions corresponding to the target topic and is expressed in a variety of ways appears in the conversation message, the target item is displayed corresponding to the current target conversation message; When the current target session message has a previous target session message that meets the semantic conditions, the target item corresponding to the previous target session message will be canceled from display. Specifically, when the current time meets the termination time condition corresponding to the theme activity, and the number of members in the target group who initiated the target session message during the activity time of the theme activity is greater than or equal to the member number threshold, the group activity determination condition is met, and a virtual resource allocation message is displayed; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members; the number of virtual resources that can be claimed in the virtual resource allocation message is equal to the number of members in the target group, and when a member in the target group triggers a virtual resource claiming operation in response to the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource claiming operation is displayed; The total amount of virtual resources is determined through the following steps: For each target group member, based on the progress of the current virtual resource allocation cycle within the total cycle, the remaining available virtual resources for the target group member within the total cycle, and a random number randomly selected for the target group member, the virtual resource contribution value corresponding to each target group member is determined; the virtual resource contribution values ​​corresponding to each target group member are accumulated to determine the total amount of virtual resources; the virtual resource allocation cycle is the duration of a single theme activity, and a virtual resource allocation message is triggered once within a virtual resource allocation cycle; the activity period of the theme activity includes multiple virtual resource allocation cycles; when a user claims virtual resources, the remaining available virtual resources corresponding to that user within the activity period decrease, and the decrease is equal to the amount of virtual resources that the user has already claimed.

12. The method according to claim 11, characterized in that, The session message is displayed in combination with the message component for the session message; The display of the target item corresponding to the current target session message includes: The target item that matches the message component is displayed in combination with the current target session message.

13. The method according to claim 11, characterized in that, The session message is displayed in combination with the member avatar corresponding to the group member who initiated the group session; The display of the target item corresponding to the current target session message includes: Display the avatar widget corresponding to the member avatar displayed in the current target session message combination.

14. The method according to claim 11, characterized in that, The method further includes: Whenever a current target session message that meets the semantic conditions appears in the session messages, and the current target session message has a previous target session message that meets the semantic conditions, a movement animation is displayed showing the target item moving from the associated position of the previous target session message to the associated position of the current target session message.

15. The method according to claim 11, characterized in that, Whenever a current target session message that conforms to the semantic conditions corresponding to the target topic and is expressed in a diversified manner appears in the session message, the target item is displayed corresponding to the current target session message, including: Whenever a current target conversation message that conforms to the semantic conditions corresponding to the target topic appears in the conversation message and is expressed in a variety of ways, a target prop whose style matches the target topic is displayed in the corresponding current target conversation message.

16. The method according to any one of claims 11 to 15, characterized in that, The method further includes: When the number of available virtual resources corresponding to the virtual resource allocation message is zero, the target item will be designated as the fixed item for the target group member who receives the most virtual resources; or, In response to a triggering event for the virtual resource allocation message, the target item is designated as a fixed item for the target group member who initiates the current target session message; The fixed props are displayed in combination with the conversation messages initiated by the target group members.

17. The method according to claim 16, characterized in that, The fixed prop is a time-limited fixed prop; Within the target time period corresponding to the time-limited fixed prop, the time-limited fixed prop and the conversation messages initiated by the target group member in any session are displayed together.

18. A virtual resource allocation message processing device, characterized in that, The device includes: The conversation message display module is used to display conversation messages generated in group conversations of social applications; The virtual resource allocation message display module is used to determine that the group activity determination condition is met when there is a target session message in the session messages that meets the semantic conditions corresponding to the target topic and is expressed in a diversified manner, and the current time meets the termination time condition corresponding to the topic activity, and the number of members of the target group who initiated the target session message during the activity time of the topic activity is greater than or equal to the number of members threshold; the total amount of virtual resources in the virtual resource allocation message is positively correlated with the number of members; the number of virtual resources that can be claimed in the virtual resource allocation message is equal to the number of members of the target group. The virtual resource contribution value calculation module is used to determine the virtual resource contribution value for each target group member based on the current virtual resource allocation cycle's progress within the total cycle, the remaining available virtual resources for the target group member within the total cycle, and a randomly selected number for each target group member. The total virtual resource amount is determined by summing the virtual resource contribution values ​​of each target group member. The virtual resource allocation cycle is the duration of a single activity session. A virtual resource allocation message is triggered once within a virtual resource allocation cycle. The activity period includes multiple virtual resource allocation cycles. When a user claims virtual resources, their remaining available virtual resources for the activity period decrease by the amount already claimed by the user. The virtual resource claiming module is used to respond to the virtual resource claiming operation triggered by the virtual resource allocation message of the group member in the group session. When the group member is the target group member, the virtual resource claiming result corresponding to the virtual resource claiming operation is displayed. When the group member is not the target group member, the virtual resource cannot be claimed.

19. The virtual resource allocation message processing apparatus according to claim 18, characterized in that, The virtual resource allocation message display module is also used to display virtual resource allocation messages that match the target topic.

20. The virtual resource allocation message processing apparatus according to claim 18, characterized in that, The virtual resource allocation message display module is also used to display a prompt message for the start of the topic activity when there is a target session message in the session message that meets the semantic conditions corresponding to the target topic and is expressed in a diversified way.

21. The virtual resource allocation message processing apparatus according to claim 20, characterized in that, The virtual resource allocation message display module includes a startup prompt information display unit. The startup prompt information display unit is used to display an activity information area on the group conversation page when a target conversation message that conforms to the semantic conditions corresponding to the target topic and is expressed in a diversified way is generated in the conversation message, and the generation time of the target conversation message meets the startup time condition of the topic activity; in the activity information area, the startup prompt information of the topic activity is displayed.

22. The virtual resource allocation message processing apparatus according to claim 20, characterized in that, The virtual resource allocation message display module is also used to display a virtual resource allocation message when the time interval between the current time and the start time of the theme activity meets the duration condition corresponding to the theme activity, and when the number of members of the target group who initiated the target session message during the activity time of the theme activity meets the group activity determination condition.

23. The virtual resource allocation message processing apparatus according to claim 18, characterized in that, The virtual resource allocation message display module is also used to determine that the group activity determination condition is met when the current time meets the termination time condition corresponding to the theme activity and the number of members of the target group who initiated the target session message during the activity time of the theme activity is greater than or equal to the number of members threshold. In response to the trigger operation of entering the group session page corresponding to the group session, the virtual resource allocation message is displayed on the group session page.

24. The virtual resource allocation message processing apparatus according to claim 18, characterized in that, The virtual resource allocation message display module is also used to respond to the triggering operation of a group member entering the group session page. When the group member is the target group member, the virtual resource allocation message is displayed on the group session page.

25. The virtual resource allocation message processing apparatus according to claim 18, characterized in that, The virtual resource acquisition module is also used to display a portion of the virtual resources randomly allocated from the virtual resource pool corresponding to the virtual resource allocation message; wherein, the maximum amount of resources in the virtual resource pool is the total amount of virtual resources.

26. The virtual resource allocation message processing apparatus according to claim 18, characterized in that, The virtual resource contribution value calculation module is further configured to determine the virtual resource contribution value corresponding to the target group member as a target contribution value when at least one of the following conditions is met: the target group member meets the active user determination condition, or the random number randomly selected for the target group member is a target value; wherein the target contribution value is greater than or equal to the virtual resource contribution value corresponding to the other target group members in the group session.

27. The virtual resource allocation message processing apparatus according to any one of claims 18 to 26, characterized in that, The virtual resource acquisition module is also used to respond to virtual resource acquisition operations triggered by group members in the group session in response to the virtual resource allocation message. When the total amount of the first type of virtual resources acquired by the triggering object of the virtual resource acquisition operation during the virtual resource allocation activity reaches the threshold of the first type of virtual resources, the virtual resource acquisition result of acquiring the second type of virtual resources is displayed; wherein, the total amount of the first type of virtual resources corresponding to the virtual resource allocation message is positively correlated with the number of members.

28. A session message processing apparatus, characterized in that, The device includes: The conversation message display module is used to display conversation messages generated in group conversations of social applications; The target item display module is used to display the target item corresponding to the current target conversation message whenever a current target conversation message that conforms to the semantic conditions corresponding to the target topic appears in the conversation message; The target item cancellation display module is used to cancel the display of the target item corresponding to the previous target session message when there is a previous target session message that meets the semantic conditions in the current target session message; Specifically, when the current time meets the termination time condition corresponding to the theme activity, and the number of members in the target group who initiated the target session message during the activity time of the theme activity is greater than or equal to the member number threshold, the group activity determination condition is met, and a virtual resource allocation message is displayed; the total virtual resource amount in the virtual resource allocation message is positively correlated with the number of members; the number of available virtual resources in the virtual resource allocation message is equal to the number of members in the target group, and when a member in the target group triggers a virtual resource claiming operation in response to the virtual resource allocation message, the virtual resource claiming result corresponding to the virtual resource claiming operation is displayed; the total virtual resource amount is determined through the following steps: for each target group For each member, based on the current virtual resource allocation cycle's progress within the total cycle, the remaining available virtual resources for the target group members within the total cycle, and a randomly selected number for each target group member, their respective virtual resource contribution value is determined. The total virtual resource amount is determined by summing the virtual resource contribution values ​​of each target group member. The virtual resource allocation cycle is the duration of a single activity session. Within one virtual resource allocation cycle, a virtual resource allocation message is triggered once. The activity period includes multiple virtual resource allocation cycles. When a user claims virtual resources, their remaining available virtual resources for the activity period decrease by the amount already claimed by the user.

29. The session message processing apparatus according to claim 28, characterized in that, The session message is displayed in combination with the message component for the session message; the target item display module is also used to display the target item that matches the message component corresponding to the message component displayed in combination with the current target session message.

30. The session message processing apparatus according to claim 28, characterized in that, The session message is displayed in combination with the member avatar corresponding to the group member who initiated the group session; the target prop display module is also used to display an avatar pendant corresponding to the member avatar displayed in combination with the current target session message.

31. The session message processing apparatus according to claim 28, characterized in that, The device further includes a motion animation display module, which is used to display a motion animation of the target item moving from the associated position of the previous target session message to the associated position of the current target session message whenever a current target session message that meets the semantic conditions appears in the session message and the current target session message has a previous target session message that meets the semantic conditions.

32. The session message processing apparatus according to claim 28, characterized in that, The target item display module is also used to display target items whose styles match the target theme whenever a current target conversation message that conforms to the semantic conditions corresponding to the target theme appears in the conversation message.

33. The session message processing apparatus according to any one of claims 28 to 32, characterized in that, The device further includes a fixed item display module, which is used to display the target item as the fixed item for the target group member who receives the most virtual resources when the number of available virtual resources corresponding to the virtual resource allocation message is zero; or, in response to a trigger event for the virtual resource allocation message, to display the target item as the fixed item for the target group member who initiates the current target session message; wherein the fixed item is displayed in combination with the session message initiated by the target group member.

34. The session message processing apparatus according to claim 33, characterized in that, The fixed prop is a time-limited fixed prop; within the target time period corresponding to the time-limited fixed prop, the time-limited fixed prop is displayed in combination with the conversation messages initiated by the target group member in any session.

35. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 17.

36. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 17.

37. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 17.