Message display method and device and related equipment
By configuring virtual interaction types with timed thresholds, interactive messages are displayed and animations are played when the threshold is reached, solving the problem of monotonous session message display and achieving rich message types and an enhanced user interaction experience.
Patent Information
- Application Number
- CN202410645113.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2025-11-25
AI Technical Summary
In existing technologies, the types of conversation messages displayed between any two business objects are relatively simple and lack diversity.
By configuring virtual interaction types with timed thresholds, interactive messages can be displayed, and interactive animations can be played and message descriptions updated when the timed duration reaches the threshold. Interactive propagation messages can also be displayed on the target object's page, and interactive history queries and timed animation displays are supported.
It has enriched the diversity of message display types, increased the fun and user interactivity of social applications, and promoted communication between users.
Smart Images

Figure CN121012809A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to message display methods, apparatus and related equipment. Background Technology
[0002] Currently, any two business objects (e.g., user A1 and user A2) can receive or send multimedia data messages. For example, in an instant chat page where user A1 and user A2 are having a conversation, the client corresponding to user A1 (e.g., client C1) can send conversation messages such as voice, text, or images to user A2. In this way, when the client corresponding to user A2 (e.g., client C2) receives a conversation message sent by user A1, it can directly display the conversation message in the instant chat page corresponding to client C2. For example, it can directly display the conversation content such as voice, text, or images in the conversation message with a fixed message display type. As a result, different conversation messages generated during the conversation between user A2 and user A1 are all displayed with the same message display type, which leads to a phenomenon of relatively simple message display types. Summary of the Invention
[0003] This application provides a message display method, apparatus, and related equipment, which can display interactive messages corresponding to virtual interaction types configured with timing thresholds, thereby enriching the diversity of message display types.
[0004] This application provides a message display method, executed by a first client, the method comprising:
[0005] The first message page displays the interactive message corresponding to the virtual interaction type; the interactive message refers to the message sent by the second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least the timing threshold for triggering the interactive animation of the virtual interaction type;
[0006] When the timeout period for the interactive message reaches the timeout threshold, the interactive animation is played, and the message description of the interactive message is updated to match the interactive description of the interactive animation.
[0007] The methods also include:
[0008] Within the timing threshold, in response to the propagation operation for the virtual interaction type corresponding to the interactive message, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation. On the third message page corresponding to the target object indicated by the propagation operation, the interactive propagation message corresponding to the virtual interaction type is displayed. The target object is an object that has an association relationship with the first object corresponding to the first client.
[0009] Among them, the associated display area of interactive messages displays propagation controls for spreading virtual interactive types;
[0010] In response to a propagation operation for the virtual interaction type corresponding to the interactive message, the message description of the interactive message is updated to reflect the propagation description corresponding to the propagation operation. On the third message page corresponding to the target object indicated by the propagation operation, the interactive propagation message corresponding to the virtual interaction type is displayed, including:
[0011] In response to a trigger action on the propagation control, a propagation object selection page is displayed; the propagation object selection page includes target objects that are associated with the first object;
[0012] In response to the selection operation for the target object, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object indicated by the propagation operation.
[0013] The first message page contains the identifier of the first object corresponding to the first client;
[0014] The method also includes:
[0015] When the timeout period corresponding to the interactive message reaches the timeout threshold, the identifier of the first object on the first message page will be updated to the first interactive identifier associated with the virtual interactive type.
[0016] The methods also include:
[0017] In the associated display page that displays the identifier of the first object, the identifier of the first object is synchronously updated to the first interaction identifier associated with the virtual interaction type; the associated display page refers to any page different from the first message page used to display the identifier of the first object.
[0018] The method also includes:
[0019] When the first interaction identifier meets the identifier restoration condition, the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will be restored to the identifier of the first object simultaneously.
[0020] Among them, the object status of virtual interaction type includes interaction effective status, which is determined when the time duration corresponding to the interaction message reaches the time threshold;
[0021] When the first interaction identifier meets the identifier restoration condition, the first interaction identifier on the first message page will be restored to the identifier of the first object, and the first interaction identifier on the associated display page will be simultaneously restored to the identifier of the first object, including:
[0022] If the cumulative duration of the interaction is active for a virtual interactive object reaches the effective duration threshold, the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will also be restored to the identifier of the first object.
[0023] If the first type of conversation message displayed on the first conversation page meets the message conditions of the virtual interaction type, then the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will be restored to the identifier of the first object simultaneously; the first message page includes the first conversation page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client conduct a conversation; the first type of conversation message refers to the conversation message carrying the first interaction identifier.
[0024] The first message page includes the first conversation page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client have a conversation; the object status of the virtual interaction type includes the interaction activation status, which is determined when the time duration corresponding to the interaction message reaches the time threshold;
[0025] The method also includes:
[0026] When the object of the virtual interaction type is in the interaction active state, in response to the message sending operation of the first object to the second object, the first type of session message with the interactive display style associated with the interactive animation is displayed on the first session page; the first type of session message refers to the session message carrying the first interaction identifier associated with the virtual interaction type, and the first interaction identifier is obtained by updating the identifier of the first object.
[0027] The methods also include:
[0028] If the cumulative number of first-type conversation messages displayed on the first conversation page reaches the cumulative number threshold, then in response to the first object's message sending operation to the second object, the second-type conversation message with the message display style corresponding to the first object is displayed on the first conversation page; the second-type conversation message refers to a conversation message carrying the identifier of the first object, and the first interaction identifier is obtained by updating the identifier of the first object;
[0029] If the first type of session message displayed on the first session page carries message indication content that matches the identifier of the recovery task, then in response to the message sending operation of the first object to the second object, the second type of session message with the message display style corresponding to the first object is displayed on the first session page.
[0030] If the duration of the interactive active state of an object reaches the active duration threshold, then in response to the message sending operation of the first object to the second object, the second type of conversation message corresponding to the message display style of the first object will be displayed on the first conversation page.
[0031] The first message page includes the first conversation page, which refers to the page on which the first object corresponding to the first client and the second object corresponding to the second client conduct a conversation; the interaction description content carries the task description information of the interaction task configured by the second object in the interaction configuration page;
[0032] The method also includes:
[0033] Within the timing threshold, in response to the task execution operation of the interactive task indicated by the interactive message, the task execution information corresponding to the interactive task is displayed on the first session page; the task execution information is used to instruct the server to perform a timing stop operation on the timing duration corresponding to the interactive message within the timing threshold, and generate a stop prompt message corresponding to the timing stop operation;
[0034] Receive the termination message returned by the server and update the message description of the interaction message to display the termination message.
[0035] The interactive messages include a timing animation to display the duration of the timer; the methods also include:
[0036] If the timing animation is a timing value animation of the virtual interaction type, the timing value animation will be displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page;
[0037] If the timing animation is a virtual interaction type timing progress animation, the timing progress animation will be displayed when the corresponding interactive message of the virtual interaction type is displayed on the first message page;
[0038] If the timing animation is a virtual interaction type timing color animation, then the timing color animation will be displayed when the corresponding interactive message of the virtual interaction type is displayed on the first message page.
[0039] The methods also include:
[0040] In response to an interaction history query operation between the first object corresponding to the first client and the second object corresponding to the second client, the interaction history page is displayed; the interaction history page is used to display the interaction records of historical virtual interaction types between the first object and the second object.
[0041] The first message page displays interactive messages corresponding to the virtual interaction type, including:
[0042] Receive interactive message data sent by the server associated with the first client; the interactive message data is determined by the server based on the interactive parameter information submitted by the second client; the interactive message data includes message description content and timing animation associated with the virtual interaction type;
[0043] When a message template associated with a virtual interaction type is obtained, the message description and timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the first message page based on the filled message template.
[0044] Specifically, when the timer duration corresponding to the interactive message reaches the timer threshold, an interactive animation is played, and the message content of the interactive message is updated to display the interactive content corresponding to the interactive animation, including:
[0045] Receive the interaction activation message sent by the server; the interaction activation message is sent by the server when it determines that the time duration corresponding to the interaction message has reached the time threshold;
[0046] Play interactive animations based on message templates, and update the message description content in the message template to display the interactive description content corresponding to the interactive animation.
[0047] This application provides a message display method, executed by a second client, comprising:
[0048] When an interactive component is displayed on the interactive page, the corresponding interactive configuration page for the interactive component is displayed in response to the triggered operation on the interactive component.
[0049] In response to a configuration operation on the interaction configuration page, the interaction parameter information of the configured virtual interaction type is displayed on the interaction configuration page; the interaction parameter information includes at least the timing threshold for triggering the interactive animation of the virtual interaction type;
[0050] In response to a confirmation action regarding the interactive parameter information, the interactive message corresponding to the virtual interactive type is displayed on the second message page;
[0051] When the timeout period for the interactive message reaches the timeout threshold, the interactive animation is played, and the message description of the interactive message is updated to match the interactive description of the interactive animation.
[0052] Specifically, in response to configuration operations on the interaction configuration page, the interaction parameter information of the configured virtual interaction type is displayed on the interaction configuration page, including:
[0053] If the configuration page includes a first display area for content types specific to virtual interactions, in response to a configuration operation for the content type, the configured content type is displayed in the first display area; the content type is part of the interaction parameter information; the content type is any one of the following: general type, text content type, image content type, or voice content type.
[0054] If the configuration page includes a second display area for interactive content of virtual interaction type, in response to the configuration operation for interactive content, the configured interactive content is displayed on the second display area; the interactive content belongs to interactive parameter information; the interactive content is any one of the following: text content corresponding to text content type, image content corresponding to image content type, or voice content corresponding to voice content type;
[0055] If the configuration page includes a third display area for the target receiving object of the virtual interaction type, in response to the configuration operation for the target receiving object, the configured target receiving object is displayed on the third display area; the target receiving object belongs to the interaction parameter information.
[0056] The interactive parameter information includes the target receiving object of the virtual interaction type, which is the first object that has the relationship with the second object corresponding to the second client;
[0057] In response to a confirmation request for the interactive parameter information, the interactive message corresponding to the virtual interactive type is displayed on the second message page, including:
[0058] In response to the confirmation operation for the interactive parameter information, an interactive message corresponding to the virtual interactive type is sent to the first client corresponding to the first object, and the interactive message corresponding to the virtual interactive type is displayed on the second message page.
[0059] Interactive messages are used to send to the first object corresponding to the first client;
[0060] In response to a confirmation request for the interactive parameter information, the interactive message corresponding to the virtual interactive type is displayed on the second message page, including:
[0061] If the second message page is the second session page, then in response to the confirmation operation for the interaction parameter information, the interaction message corresponding to the virtual interaction type is displayed in the session display area of the second session page; the second session page refers to the session page used for the second object corresponding to the second client to conduct a session with the first object;
[0062] If the second message page is an information display page used to display object information of the first object, then in response to the confirmation operation for the interaction parameter information, the interaction message corresponding to the virtual interaction type is displayed in the interaction display area of the information display page.
[0063] The interactive message carries the identifier of the second object corresponding to the second client;
[0064] The method also includes:
[0065] When the timeout period corresponding to the interactive message reaches the timeout threshold, the identifier of the second object in the interactive message will be updated and displayed as the second interactive identifier associated with the virtual interactive type on the second message page.
[0066] In response to a confirmation request for the interactive parameter information, an interactive message associated with the virtual interactive type is displayed on the second message page, including:
[0067] In response to a confirmation operation regarding the interaction parameter information, the interaction parameter information is sent to the server associated with the second client;
[0068] The server receives interactive message data determined based on interactive parameter information; the interactive message data includes message description content and timing animation associated with the virtual interaction type;
[0069] When a message template associated with a virtual interaction type is obtained, the message description and timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the second message page based on the filled message template.
[0070] Specifically, when the timer duration corresponding to the interactive message reaches the timer threshold, an interactive animation is played, and the message description of the interactive message is updated to display the interactive description content corresponding to the interactive animation, including:
[0071] Receive the interaction activation message sent by the server; the interaction activation message is sent by the server when it determines that the time duration corresponding to the interaction message has reached the time threshold;
[0072] Play interactive animations based on message templates, and update the message description content in the message template to display the interactive description content corresponding to the interactive animation.
[0073] One embodiment of this application provides a message display device, which is executed by a first client, and the device includes:
[0074] The first message display module is used to display interactive messages corresponding to the virtual interaction type on the first message page; the interactive message refers to the message sent by the second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least the timing threshold for triggering the interactive animation of the virtual interaction type;
[0075] The first interactive module is used to play an interactive animation when the timer duration corresponding to the interactive message reaches the timer threshold, and to update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
[0076] One embodiment of this application provides a message display device, which is executed by a second client, and the device includes:
[0077] The configuration trigger module is used to display the corresponding interactive configuration page of an interactive component when an interactive component is displayed on the interactive page, in response to a trigger operation on the interactive component.
[0078] The parameter configuration module is used to respond to configuration operations on the interaction configuration page and display the interaction parameter information of the configured virtual interaction type on the interaction configuration page; the interaction parameter information includes at least the timing threshold for triggering the interactive animation of the virtual interaction type;
[0079] The second message display module is used to respond to the confirmation operation for the interactive parameter information and display the interactive message corresponding to the virtual interactive type on the second message page;
[0080] The second interactive module is used to play an interactive animation when the timer duration corresponding to the interactive message reaches the timer threshold, and to update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
[0081] One aspect of this application provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, so that a computer device having the processor performs the method provided in this application.
[0082] One embodiment of this application provides a computer program product or computer program, which includes 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 method provided in this application embodiment.
[0083] In this embodiment, virtual interaction types can be configured through an interaction configuration page. These virtual interaction types are configured with timing thresholds, allowing the display of corresponding interactive messages on message pages (such as a first or second message page). When the timing duration of the interactive message reaches the timing threshold, an interactive animation can be automatically played, and the message description content within the interactive message can be updated. The interactive messages displayed in this embodiment are a special type of message, and their display style is not fixed but automatically changes when certain conditions are met. This allows for the display of interactive messages corresponding to virtual interaction types configured with timing thresholds, thereby enriching the diversity of message display types. Attached Figure Description
[0084] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0085] Figure 1 This is a schematic diagram of the structure of a data processing system provided in an embodiment of this application;
[0086] Figure 2 This is a schematic diagram of a message display method provided in an embodiment of this application;
[0087] Figure 3 This is a schematic diagram of another message display scenario provided in an embodiment of this application;
[0088] Figure 4 This is a flowchart illustrating a message display method provided in an embodiment of this application;
[0089] Figure 5 This is a schematic diagram illustrating the effect of a first message page provided in an embodiment of this application;
[0090] Figure 6 This is a schematic diagram illustrating one of the effects provided in an embodiment of this application;
[0091] Figure 7 This is a schematic diagram illustrating another effect provided by an embodiment of this application;
[0092] Figure 8 This is a schematic diagram illustrating the effect of an associated display page provided in an embodiment of this application;
[0093] Figure 9 This is a schematic diagram illustrating a variation of a display style provided in an embodiment of this application;
[0094] Figure 10 This is a schematic diagram illustrating another variation of the display style provided in the embodiments of this application;
[0095] Figure 11 This is a schematic diagram illustrating the display effect of an interactive history page provided in an embodiment of this application;
[0096] Figure 12 This is a flowchart illustrating a message display method provided in an embodiment of this application;
[0097] Figure 13 This is a schematic diagram of a virtual interactive type of propagation process provided in an embodiment of this application;
[0098] Figure 14 This is a flowchart illustrating a message display method provided in an embodiment of this application;
[0099] Figure 15 This is a schematic diagram illustrating the effect of triggering an interactive component according to an embodiment of this application;
[0100] Figure 16 This is an interactive timing diagram of sending interactive messages provided in an embodiment of this application;
[0101] Figure 17 This is an interactive timing diagram of a type of virtual interaction provided in an embodiment of this application;
[0102] Figure 18 This is a timing diagram illustrating the activation of a virtual interaction type provided in an embodiment of this application;
[0103] Figure 19 This is a schematic diagram of a timing method provided in an embodiment of this application;
[0104] Figure 20 This is a schematic diagram illustrating the process of displaying the effect provided in an embodiment of this application.
[0105] Figure 21 This is a schematic diagram illustrating the effect of an information table provided in an embodiment of this application;
[0106] Figure 22 This is a schematic diagram of the structure of a message display device provided in an embodiment of this application;
[0107] Figure 23 This is a schematic diagram of the structure of a message display device provided in an embodiment of this application;
[0108] Figure 24 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0109] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0110] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a data processing system provided in an embodiment of this application. For example... Figure 1 As shown, the data processing system may include terminal devices (such as device 11a, device 12a, and device 13a) and server 100a. It is understood that... Figure 1 The number of terminal devices and servers shown is merely illustrative; any number of terminal devices and servers can be used as needed. Terminal devices (such as devices 11a, 12a, and 13a) can communicate with servers via a network (i.e., through a medium providing a communication link via wired, wireless communication links, or fiber optic cables, etc.) to transmit data.
[0111] It is understandable that a client can run on a terminal device (such as device 12a), which can be a program that provides local services to users (also known as business objects or operation objects). Server 100a can be the server corresponding to the client, and a program running on server 100a can provide resources, service data, and other services to the client. It is also understandable that the client running on the terminal device can be called an application client, business client, etc. For example, the client running on the terminal device can be a client for session communication (such as an instant messaging client, a game client with session functionality, etc.). Thus, user A1 can send session messages to the server through the client on the terminal device (such as terminal device 11a), and the server will then forward the session messages to the client on the terminal device (such as terminal device 12a) corresponding to user A2, thereby enabling a session between user A1 and user A2.
[0112] It is understood that terminal devices (such as device 11a) may include, but are not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, smart speakers, etc., without limitation. Server 100a may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, without limitation.
[0113] Please see Figure 2 , Figure 2 This is a schematic diagram illustrating a scenario of a message display method provided in an embodiment of this application. For example... Figure 2 As shown, terminal device 21a (for example, terminal device 21a can be the one described above) Figure 1 The terminal device 11a) can run the client corresponding to the business object A1. The business object A1 and the business object A2 are related. For example, the business object A1 and the business object A2 can be friends with each other, or the business object A1 and the business object A2 belong to the same group chat session, or the business object A1 and the business object A2 are nearby objects (i.e., objects whose distance from the geographical location is less than a certain distance threshold).
[0114] The following explanation uses the interaction within a conversation page between business object A1 and business object A2 as an example. In terminal device 21a, the conversation page between business object A1 and business object A2 can be found by referring to... Figure 2As shown on page 200a. On page 200a, an interactive component 202a can be displayed for triggering the configuration of virtual interaction types. This component is used to trigger the configuration of interactive parameter information for virtual interaction types, essentially serving as the entry point for this gameplay mode. Furthermore, in response to a triggering operation on interactive component 202a (step S21a), an interaction configuration page can be displayed; for example, clicking interactive component 202a displays the interaction configuration page 203a. This virtual interaction type can be an interaction method used to instruct a business object (e.g., business object A1) to interact with other users (e.g., business object A2). It can also be called a virtual interaction object or interaction object. The parameter information of this virtual interaction type (i.e., interaction parameter information) can be configured by the business object (e.g., business object A1) through the interaction configuration page. In simple terms, the interaction method of this virtual interaction type is that if the receiving object of the virtual interaction type (i.e., business object A2) does not propagate the virtual interaction type to other objects within a certain time threshold (such as 100 seconds), then the virtual interaction type is determined to be effective (that is, the state of the virtual interaction type is adjusted to the interactive effective state). The effective virtual interaction type can produce a series of special effects (such as playing interactive animations, replacing the avatar of the current receiving object, etc.), thereby prompting various business objects to continuously propagate the virtual interaction type, promoting communication between various business objects, and providing topics for discussion among various business objects.
[0115] The interactive configuration page 203a can be used to display interactive parameter information for configured virtual interactive types. For example, this interactive parameter information can include the target receiving object of the configured virtual interactive type (the target receiving object can be the business object directly sent to by the configured virtual interactive type). Here, the target receiving object can be configured as business object A2 (e.g., ...). Figure 2 As shown in 204a), the name or avatar of the configured target receiving object can be displayed on the interaction configuration page. For example, interaction parameter information can include the timer threshold for the configured virtual interaction type; here, the timer threshold can be configured to 100 seconds (e.g., ...). Figure 2 As shown in 205a), the timing threshold can be the minimum duration of the timing when the virtual interaction type takes effect, that is, the minimum duration of the timing message for triggering the interactive animation of the virtual interaction type. In other words, when the timing duration of the interactive message reaches this timing threshold, the virtual interaction type can take effect, thereby triggering the interactive animation of the virtual interaction type. This interactive animation can be an animation used to indicate that the virtual interaction type is effective; for example, the interactive animation could be a bomb explosion effect animation. The interaction configuration page 203a can include controls for confirming the configured interaction parameter information (such as...). Figure 2 (As shown in 206a).
[0116] Furthermore, in response to the confirmation operation of the configured interaction parameter information (step S22a), the interaction message corresponding to the virtual interaction type configured for business object A1 (such as...) is displayed on page 200a. Figure 2 As shown in 208a), for example, the confirmation operation can be a trigger operation for control 206a used to confirm the configured interactive parameter information. The interactive message can carry the identifier C1 of business object A1 (such as avatar, name) to indicate that the recipient of the interactive message is business object A1. The interactive message can display a timing animation of a virtual interactive type (such as...). Figure 2 As shown in 209a), the timing animation can change with the duration of the interactive message's timing. For example, the timing animation can be a countdown animation starting from a timing threshold. The timing duration of the interactive message can be the time starting when the interactive message is exposed and displayed in the client of business object A2. The interactive message may also include message description content (such as...). Figure 2 As shown in 210a), if the message description content can be "Forward to other friends before the countdown ends to avoid the interaction object", the message description content can refer to the description content of the interaction message when the interaction message is being counted (also known as the interaction message being in the countdown state), in order to prompt the business object how to process the interaction message. For example, here, the message description content "Forward to other friends before the countdown ends to avoid the interaction object" can be used to prompt the business object A2 to spread the virtual interaction type in a timely manner to avoid the virtual interaction type from taking effect, thereby avoiding the effective virtual interaction type from affecting the display style of itself (i.e., business object A2).
[0117] Furthermore, when the duration of the interactive message reaches a duration threshold (e.g.) Figure 2 When the virtual interaction type is activated (as shown in S23a), it can produce certain effects, such as playing interactive animations and updating the message description content in the interactive message to reflect the interactive description content. For example, the animation could be a virtual bomb explosion animation. After playing the interactive animation, the display style of the interactive message in terminal device 21a is as follows: Figure 2 As shown in 211a, the message description content 210a is updated and displayed as the interaction description content, such as... Figure 2 As shown in 212a, "The interactive object has taken effect." For example, the display style of elements (such as the style of the avatar, the style of the name, or the display style of the conversation message) of the current receiving object (i.e., business object A2) of the virtual interaction type can also be updated (i.e., style update). In other words, the effective virtual interaction type produces special effects on the receiving object, such as replacing the receiving object's avatar with an avatar with special effects.
[0118] Please see Figure 3 , Figure 3 This is a schematic diagram of another message display scenario provided in an embodiment of this application. Terminal device 22a (e.g., can be the one described above) Figure 1 In step 12a), the client corresponding to business object A2 can be run. In response to the confirmation operation of the configured interaction parameter information, terminal device 21a can submit the configured interaction parameter information to server 100a (step S31a). Then, server 100a can send an interaction message carrying the interactive virtual object to terminal device 22a (step S32a). Specifically, in terminal device 22a, the page where business object A2 and business object A1 have a conversation (e.g., ...) can be accessed. Figure 3 Page 201a shows the interactive messages sent by business object A1 (such as...). Figure 3 As shown in 208b), the interactive message 208b displayed by terminal device 22a is displayed in the same way as the interactive message 208a displayed by terminal device 21a. This interactive message 208b may carry the identifier C1 of business object A1. The interactive message 208b may also include timing animations (such as...). Figure 3 As shown in 213a), and message description content 214a, and the timing animation in interactive message 208b can change synchronously with the timing animation in interactive message 208a, and the message description content in interactive message 208b can be consistent with the message description content in interactive message 208a. It should be understood that in page 201a, interactive message 208b can be associated with a propagation control 215a. If business object A2 propagates the virtual interaction type to other objects within the timing threshold, the virtual interaction type will no longer be effective for business object A2. Conversely, if business object A2 does not propagate the virtual interaction type to other objects within the timing threshold, the virtual interaction type will be effective for business object A2 when the timing duration reaches the timing threshold. It should be understood that page 201a may also include interactive components (such as interactive configuration pages for triggering virtual interaction types) for triggering the virtual interaction type. Figure 3 (As shown in component 219a). Furthermore, business object A2 can trigger component 219a to configure the virtual interaction type, thereby creating a virtual interaction type to send to business object A1.
[0119] Furthermore, when the duration of the interactive message reaches a duration threshold (e.g.) Figure 3When the timer reaches the specified threshold (as shown in S23b), an interactive animation can be played, and the message description content in the interactive message can be updated to display the interactive description content. For example, the animation could be a virtual bomb explosion animation. It should be understood that when the timer duration reaches the specified threshold, the interactive animation can be played synchronously in terminal device 22a and terminal device 21a, and the message description content in the interactive message can be updated to display the interactive description content. After playing the interactive animation, the display style of the interactive message in terminal device 22a is as follows: Figure 3 As shown in 216a, the message description content 210a is updated and displayed as the interaction description content, such as... Figure 3 The "Interactive object is active" message 217a indicates this. It should be understood that if the propagation control associated with the interactive message is no longer triggerable in terminal device 22a, then when displaying interactive message 216a, the propagation control may not be displayed again, or it may be adjusted to a non-triggerable state, such as being displayed as shown below. Figure 3 As shown in 218a.
[0120] Understandably, this type of virtual interaction can be set with a specific time threshold by the publishing object (such as business object A1 mentioned above), requiring the receiving object (such as business object A2 mentioned above) to pass the virtual interaction type to their associated objects (such as friends, users in the same group chat, etc.) within a specified time. Otherwise, the recipient will update their display style (such as updating the avatar to an avatar with special effects). This interactive gameplay increases the fun and participation of social applications, while also increasing interaction between users and promoting communication. Technically, implementing this interactive gameplay requires certain technical support. A dedicated component for managing virtual interaction types can be added to the client, allowing users to set parameters such as time thresholds according to their needs. When the timer reaches the time threshold (i.e., when the current time reaches the effective time of the virtual interaction type), the system will automatically update the virtual interaction type to an active state, thus providing users with a fun and challenging social communication technology solution.
[0121] In this entertaining social communication technology solution, users can easily utilize "virtual interaction types" on the page. Users simply click on preset controls (i.e., interactive components) to bring up the virtual interaction type's configuration page. Users can set parameters for the virtual interaction type on this page, such as timing thresholds, number of participants, dissemination conditions, and content type, to meet their needs; no limitations are imposed on the interaction parameters here. The virtual interaction type will be sent out through a unique message type, and the recipient will receive the corresponding message. Since there is no limit to the number of virtual interaction types that can be created (i.e., any business entity can create an unlimited number of virtual interaction types), to stimulate more interaction and viral growth (i.e., to encourage various business entities to create and publish more virtual interaction types, and to spread received virtual interaction types), users can view a list of created and received virtual interaction types on the historical interaction page. In addition to browsing, this technology solution also provides a comparison of statistical data on virtual interaction types between interactive entities to stimulate more social topics. This addition of interactive features not only adds fun to social applications but also promotes communication and interaction between users, greatly increasing user stickiness.
[0122] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before collecting user-related data and during the collection of user-related data (such as user avatars, names, etc.). These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their relevant data is being collected. This ensures that the application only begins executing the steps related to collecting user-related data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without receiving confirmation from the user), the steps related to collecting user-related data end, meaning no user-related data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0123] It is understood that the above scenarios are merely examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of this application. The technical solutions of this application can also be applied to other scenarios. For example, as those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0124] Further, please see Figure 4 , Figure 4This is a flowchart illustrating a message display method provided in an embodiment of this application. The method can be executed by a first client, which may be running on a terminal device, for example, the terminal device described above. Figure 1 The terminal device 11a in the method. The method may include at least the following steps S101-S102.
[0125] S101. Display the interactive message corresponding to the virtual interaction type on the first message page; the interactive message refers to the message sent by the second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least the timing threshold for triggering the interactive animation of the virtual interaction type.
[0126] It should be understood that the first message page can refer to the page in the first client used to display interactive messages. Specifically, this first message page can be used for interaction between a first object (such as business object A1 mentioned above) and a second object (such as business object A1 mentioned above) through a virtual interaction type. The first object can refer to the business object corresponding to the first client, i.e., the target receiving object of the virtual interaction type, and the second object can refer to the business object corresponding to the second client, i.e., the publishing object of the virtual interaction type. The first message page can be a session page for the first object and the second object to communicate, in which case the interactive messages can be displayed in the session display area of the session page; or, the first message page can also be the information display page (also called the data display page) of the first object. This information display page can be used to display the object information of the first object, which can include the identifier of the business object (such as the first object), the name of the business object, the unique identifier of the business object, etc., and then the interactive messages can be displayed in the interactive display area of the information display page. For example, the interactive messages can be displayed in the interactive display area in the form of bullet comments. The interactive messages can be fixed in a certain position in the information display area, or they can be scrolled in the information display area (such as scrolling from left to right). Alternatively, the first message page can also be a session list page for the first object. The session list page for the first object can include a session association area for the first object and the second object to have a conversation. The session association area can display the latest received or sent messages. If the latest received message is an interactive message corresponding to the virtual interaction type, the received interactive message can be displayed in the session association area for the first object and the second object to have a conversation.
[0127] For example, see Figure 5 , Figure 5This is a schematic diagram illustrating the effect of a first message page provided in an embodiment of this application. For example, the first message page can be page 501a, which can be a session page for a first object (such as business object A2) to have a conversation with a second object (such as business object A1). On page 501a, an interactive message 501b sent by the second object can be displayed. This interactive message may include a timing animation 502a, a message description content 503a, and may also carry the identifier C1 of business object A1 (i.e., the second business object), thereby indicating that the source of the interactive message is the second object. Furthermore, a propagation control 505a can be displayed in association with the interactive message 501a. For example, the first message page can be page 502a, which can be the information display page of business object A2 (also called the personal profile page of business object A2). Page 502a can include area 510a, which can be an area for displaying interactive messages (i.e., an interactive display area). For example, this interactive display area can be the background display area in the information display page. In area 510a, an interactive message 506b sent by business object A1 can be displayed. This interactive message can include a timing animation 507a and a message description content 508a, and can also carry the identifier C1 of business object A1 to indicate that the source of the interactive message is business object A1. Furthermore, a propagation control (such as...) can be associated with the interactive message 506a. Figure 5 As shown in component 509a). This page 502a may include an area for displaying attribute information of business object A2 (such as...). Figure 5 As shown in area 511a), it can display attribute information d1, attribute information d2, and attribute information d3. For example, this attribute information can be the unique identifier of business object A2, personal information, account level, etc.
[0128] It should be understood that an interactive message refers to a message corresponding to a virtual interaction type. This interactive message is a special message type, different from general conversational messages that only carry text, images, and voice. This interactive message has a certain duration, which can start when the interactive message is displayed on the first client or when the terminal device where the first client is located receives the interactive message; this is not limited here. It should also be understood that this interactive message can be sent by a second client. That is, the second object configures the interactive parameters of the virtual interaction type through the second client's interaction configuration page. Then, in response to a confirmation operation regarding these interactive parameters, the second client sends the interactive message corresponding to the virtual interaction type indicated by the interactive parameters to the first client. Specifically, the second object configures the interactive parameters of the virtual interaction type through the second client's interaction configuration page. Then, in response to a confirmation operation regarding these interactive parameters, the second client submits the interactive parameters to the server. The server then generates interactive message data corresponding to the virtual interaction type based on these interactive parameters and sends this interactive message data to both the first and second clients, so that the first and second clients can render and display the interactive message corresponding to the virtual interaction type on their respective message pages.
[0129] It should be understood that this interaction configuration page can be a page used to configure virtual interaction types. On this page, interaction parameter information for the virtual interaction type can be configured. This interaction parameter information can refer to the configured interaction parameters for the virtual interaction type. For example, the interaction parameters can include at least a timing threshold for the virtual interaction type. This timing threshold can be the minimum duration of the timing when the virtual interaction type takes effect, that is, the minimum duration of the interaction message's timing when triggering the virtual interaction type's interaction animation. In other words, when the interaction message's timing duration reaches this timing threshold, the virtual interaction type can take effect, thereby triggering the virtual interaction type's interaction animation. This interaction animation can refer to the animation played when the interactive object takes effect.
[0130] The virtual interaction type can be an interaction method used to instruct a business object (such as business object A1) to interact with other users (such as business object A2). It should be understood that, in this embodiment, the virtual interaction type used for interaction can refer to virtual props, virtual objects, etc., that can be disseminated and interacted according to a corresponding interaction method. These virtual props, virtual objects, etc., can be collectively referred to as interactive objects that are disseminated between any two business objects using a special message type. It should be understood that the virtual interaction type can be configured by a second object through a second client; this second object is the publishing object (also called the configuration object or creation object) of the virtual interaction type.
[0131] It should be understood that this virtual interaction type is propagable. A first object can propagate the virtual interaction type to other objects (such as a third object) through a propagation operation (i.e., an operation used to propagate the virtual interaction type, such as clicking a control to trigger the propagation of the virtual interaction type). This third object can be selected by the first object; that is, the third object refers to the business object to which the virtual interaction type is propagated, selected by the first object. It should also be understood that when propagating the virtual interaction type to a third object, the corresponding interactive propagation message can be displayed on the message page associated with the third object (i.e., the page where the first object and the third object interact through the virtual interaction type). The message display method of this interactive propagation message is consistent with the message display method of the interactive message, and the interactive propagation message can also have a certain timeout duration. This timeout duration can start when the interactive message is exposed and displayed on the client corresponding to the third object (denoted as the third client), or it can start when the terminal device where the third client is located receives the interactive message.
[0132] It should be understood that this virtual interaction type has a limited number of propagation attempts. When the propagation attempt limit is exceeded (e.g., the current propagation attempt has reached the maximum), the receiving object of the virtual interaction type cannot propagate it further. In other words, the interaction configuration parameters for this virtual interaction type can include a maximum propagation attempt, which indicates the maximum number of times the virtual interaction type can propagate. This maximum propagation attempt can be configured by a second object or by the system default. It is understandable that when counting the propagation attempts of a virtual interaction type indicated by a certain interaction type identifier, it can be based on the number of business objects to which the virtual interaction type has been propagated. For example, if the first object selects to propagate to multiple (e.g., 3) business objects in a single propagation operation, the propagation attempt count for the virtual interaction type can be incremented by 3 based on the number of selected business objects (i.e., target objects). It is also understandable that the propagation attempt count for the virtual interaction type can be updated during propagation, thus allowing for convenient and quick acquisition of the current propagation attempt count when the virtual interaction type needs to be determined. Optionally, the maximum propagation count may include the maximum propagation count that can be propagated to associated objects in a one-on-one chat session (i.e., the maximum number of times a virtual interaction type can be propagated to associated objects in a one-on-one chat session, which may be referred to as the first maximum propagation count), the maximum propagation count that can be propagated to group chat sessions (i.e., the maximum number of times a virtual interaction type can be propagated to group chat sessions, which may be referred to as the second maximum propagation count), and the maximum propagation count that can be propagated within the same group chat session (i.e., the maximum number of times a virtual interaction type can be propagated within the same group chat session, which may be referred to as the third maximum propagation count). For example, when the first object propagates the virtual interaction type M1, user A2 (i.e., the first object) can propagate the virtual interaction type M1 to business objects that have a one-on-one chat session with the first object. Therefore, there is a corresponding first maximum propagation count for the number of times the virtual interaction type can be propagated to business objects that have a one-on-one chat session with the first object. In other words, a virtual interaction type can only be propagated to a maximum number of business objects that have a one-on-one chat session. Furthermore, if user A2 (i.e., the first object) can propagate a virtual interaction type received in group chat session K1 (or a virtual interaction type sent by user A1 based on a one-on-one chat session) to a business object in group chat K2, which is different from group chat K1, then there is a second maximum propagation count for the propagated group chat session, meaning the virtual interaction type can be propagated to a maximum of a few group chat sessions. Additionally, if user A2 (i.e., the first object) can propagate a virtual interaction type received in group chat session K1 to a business object within the same group chat K1, then there is a third maximum propagation count for the virtual interaction type within the same group chat session, meaning the virtual interaction type can only be propagated a maximum of a few times within the same group chat session.This prevents the unlimited spread of virtual interaction types, which would waste server resources, and ensures that virtual interaction types are effective. For example...
[0133] It should be understood that, based on the above description, the virtual interaction type can be configured with a certain timing threshold. This timing threshold can be configured by the second object or by the system default setting; no limitation is made here. When the timing duration of the interaction message reaches this timing threshold, the virtual interaction type will take effect (i.e., the status of the virtual interaction type will be updated to the interaction active status). Specifically, this virtual interaction type can take effect on the current receiving object (i.e., the first object), and thus the active virtual interaction type can have an effect on the first object, such as updating the display style of the first object.
[0134] It should be understood that this type of virtual interaction can have multiple states (also called object states). For example, the states of this virtual interaction type can include: pending propagation state, propagation state, interaction active state, interaction suspended state, etc. It should also be understood that for the same virtual interaction type, the state can change when certain conditions are met, and not all of these states will necessarily appear during the state change process for the same virtual interaction type. For example, the state change process of a virtual interaction type can be: pending propagation state → interaction active state; or, pending propagation state → propagation state → interaction active state; or, pending propagation state → interaction suspended state; or, pending propagation state → propagation state → interaction suspended state.
[0135] The "pending propagation state" refers to the state in which a virtual interaction type is yet to be propagated. For example, if user A1 sends the configured virtual interaction type M1 to user A2, the interaction message X1 corresponding to virtual interaction type M1 will be displayed in user A2's client. If the timeout duration of interaction message X1 does not reach the timeout threshold and user A2 does not propagate the virtual interaction type, then the state of virtual interaction type M1 is "pending propagation state".
[0136] The propagation state refers to the state of a virtual interaction type after it has been propagated. This propagation state can continue until the virtual interaction type takes effect or ceases. For example, if user A1 sends a configured virtual interaction type M1 to user A2, then the interaction message X1 corresponding to virtual interaction type M1 will be displayed in user A2's client. If user A2 propagates virtual interaction type M1 to user A3 within the time limit, then the state of virtual interaction type M1 is "pending propagation" until the propagated virtual interaction type to user A3 takes effect or ceases. It should be understood that if user A3 continues to propagate virtual interaction type M1 within the time limit, then the state of virtual interaction type M1 can remain in the "pending propagation" state until the propagated virtual interaction type takes effect or ceases.
[0137] The interactive activation state refers to the state of a virtual interaction type when the timer duration of a message carrying the virtual interaction type (such as an interactive message or interactive propagation message) reaches a certain timer threshold; that is, the state when the virtual interaction type is active. For example, if user A1 sends a configured virtual interaction type M1 to user A2, then the interactive message X1 corresponding to virtual interaction type M1 will be displayed in user A2's client. If user A2 does not propagate virtual interaction type M1 within the timer threshold, interactive message X1 can continue to time until the timer duration reaches the timer threshold. At this time, the state of the virtual interaction type is the interactive activation state. It should be understood that if the virtual interaction type is propagated by user A2 to user A3, then when the timer duration of the interactive propagation message propagated to user A3 reaches the timer threshold, the state of the virtual interaction type can also be determined as the interactive activation state. In other words, in any client that receives the virtual interaction type, when the timer duration of the message carrying the virtual interaction type reaches the timer threshold, the state of the virtual interaction type can be determined as the interactive activation state.
[0138] An interaction paused state can refer to the state of a virtual interaction type when the timer duration of a message carrying a virtual interaction type (such as an interactive message or an interactive propagation message) is paused. Pausing the timer duration of a message carrying a virtual interaction type can be achieved by a business object (such as a first object) executing a task to indicate the pause duration of the interaction. This interaction task can be a task used to pause the timer duration, and the task execution operation can be an operation that performs the interaction task. For example, the interaction task could refer to sending a session message containing specified text content on a session page. If the specified text content is "End Bomb," then the task execution operation could be the first object sending a session message with the text "End Bomb" on a session page where it is interacting with a second object. As another example, the interaction task could refer to sending a session message containing an image describing specified content on a session page. If the image describing the specified content could be an image containing "Book," then the task execution operation could be the first object sending a session message containing an image of a book on a session page where it is interacting with a second object. For example, this interactive task refers to sending a conversational message carrying a voice message with a specified phrase on a conversation page, such as "Gong Xi Fa Cai" (Wishing you prosperity). The task execution operation could be that the first object, on the conversation page where it is conversing with the second object, publishes a conversational message carrying the phrase "Gong Xi Fa Cai". For instance, if user A1 sends a configured virtual interaction type M1 to user A2, the interactive message X1 corresponding to virtual interaction type M1 will be displayed in user A2's client. If user A2 executes the task execution operation corresponding to the interactive task of virtual interaction type M1 within the time threshold, the state of virtual interaction type M1 can be determined as the interaction stopped. It should be understood that if virtual interaction type M1 is propagated from user A2 to user A3, the state of virtual interaction type can also be determined as the interaction stopped when user A3 executes the task execution operation within the time threshold. In other words, in any client that receives this virtual interaction type, the state of the virtual interaction type can be determined as the interaction active state when the business object corresponding to that client executes the task execution operation.
[0139] It should be understood that this virtual interaction type has a certain interaction type style. This interaction type style can be used to indicate the virtual image displayed by the virtual interaction type. For example, the virtual image of this virtual interaction type can be a virtual bomb, a virtual bouquet, a virtual bow and arrow, etc., without limitation here. This interaction type style can be specifically configured by the second object in the configuration display page, or it can be the default configuration, without limitation here. Accordingly, different virtual interaction types can have different display effects in their corresponding interactive messages. For example, if the virtual interaction type is a virtual bomb, the interactive message can display the image of the bomb and the effects associated with it, such as the message background style (e.g., message background color) and font style (e.g., font color and font type) that match the virtual bomb. If the virtual interaction type is a virtual bouquet, the interactive message can display the image of the bouquet and the effects associated with it, such as the message background style (e.g., message background color) and font style (e.g., font color and font type) that match the virtual bouquet. The image of the virtual bouquet is different from that of the virtual bomb, and the message background style and font style matched by the virtual bomb can be different from those matched by the message background style and font color style matched by the virtual bouquet.
[0140] It should be understood that, for interactive messages, timing can continue until the timing threshold is reached, provided that the first object has not propagated the virtual interaction type carried by the interactive message, or has not stopped the process. In other words, timing for the interactive message can be stopped when the first object propagates the virtual interaction type carried by the interactive message; or, timing for the interactive message can be stopped when the first object performs the task execution operation corresponding to the virtual interaction type.
[0141] It should be understood that when displaying interactive messages on the first message page, a timer animation can be shown to indicate the duration of the interactive message. This allows the first party to perceive the timing of the interactive message through the animation, thereby determining when the virtual interaction type should take effect. This ensures the first party can promptly propagate the virtual interaction type within the time threshold, promoting interaction between business entities and enhancing their communication and participation. This timer animation can be displayed in various ways, such as a timer animation showing the time value, a timer animation showing the progress, or a timer animation using color changes to indicate the duration, etc. No specific limitation is made here.
[0142] Specifically, the interactive message includes a timing animation to display the duration of the timer; therefore, this application embodiment may further include the following steps: if the timing animation is a timing value animation of the virtual interaction type, then when displaying the interactive message corresponding to the virtual interaction type on the first message page, the timing value animation is displayed; if the timing animation is a timing progress animation of the virtual interaction type, then when displaying the interactive message corresponding to the virtual interaction type on the first message page, the timing progress animation is displayed; if the timing animation is a timing color animation of the virtual interaction type, then when displaying the interactive message corresponding to the virtual interaction type on the first message page, the timing color animation is displayed.
[0143] The timing animation can be used to display the duration of the timer. The timing value animation can also display the duration of the timer through numerical time values. This timing value animation can show the time value increasing from small to large (i.e., a forward countdown). For example, if the timer threshold is 100 seconds, the time value in the animation can gradually increase from 0 to 100, indicating that the timer threshold has been reached when the time value displays 100. Alternatively, the timing value animation can show the time value decreasing from large to small (i.e., a countdown). For example, if the timer threshold is 100 seconds, the time value in the animation can gradually decrease from 100 to 0, indicating that the timer threshold has been reached when the time value displays 0. It is understood that the duration of each change in the timing value animation can be a preset duration, such as 0.5 seconds, 1 second, 2 seconds, etc., without limitation.
[0144] A timing progress animation can be an animation that displays the progress as the timer reaches a timing threshold. For example, this progress can be represented by a percentage, a progress bar, or other methods; there are no limitations on this. For instance, if displayed as a percentage, the progress can be determined by dividing the timer duration by the timing threshold, and then displayed in the timing progress animation. Similarly, if displayed as a progress bar, the progress corresponding to that percentage can be displayed in the timing progress animation's progress bar once the percentage is determined.
[0145] A timer color animation can be an animation that uses color changes to show the change of time. For example, the animation could use different colors to indicate the timeout duration. The animation might change colors in a specific order, alternating colors every 10 seconds until a specific color (the last color in the sequence) is displayed, indicating that the timeout threshold has been reached. Alternatively, the animation could use different shades of the same color to indicate the timeout duration. For instance, the animation could change a color from light to dark (or from dark to light) to indicate the timeout duration, alternating colors every 10 seconds until the darkest (or lightest) color is displayed, indicating that the timeout threshold has been reached.
[0146] Specifically, displaying the interactive message corresponding to the virtual interaction type on the first message page may include the following steps: receiving interactive message data sent by a server associated with a first client; the interactive message data is determined by the server based on the interactive parameter information submitted by a second client; the interactive message data includes message description content and timing animation associated with the virtual interaction type; when a message template associated with the virtual interaction type is obtained, the message description content and timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the first message page based on the filled message template.
[0147] The interactive message data can be data used for interactive messages. It is understood that this interactive message data can be determined by the server based on the interactive parameter information submitted by the second client. That is, when the second client responds to a confirmation operation regarding the interactive parameter information, it can send the configured interactive parameter information to the server. Then, when the server receives the interactive parameter information submitted by the first client, it determines the interactive message data based on this interactive parameter information. This interactive message data can at least include the message description content and timing animation required for the interactive message. The relevant description of the timing animation can be found in the above description and will not be repeated here. The message description content can refer to the description content of the interactive message when it is timing (also known as when the interactive message is in a timing state). That is, it refers to the description content displayed when the virtual interaction type has not taken effect, has not been terminated, or has not been propagated to other business objects by the current receiving object (i.e., the business object that receives the message carrying the virtual interaction type, such as the first object, or a third object to which the first object propagates it, etc.). The message description can be used to describe the object status of the virtual interaction type carried by the interaction message, the interaction method of the virtual interaction type, and other information. It is equivalent to prompting the business object how to process the virtual interaction type carried by the interaction message. For example, the message description can prompt the business object to propagate the virtual interaction type to other objects (such as a third object) within the time threshold to prevent the virtual interaction type from taking effect, or it can prompt the business object to stop the timer by performing a certain interaction task, etc.
[0148] It is understandable that the interactive message data may also include a unique identifier for the virtual interactive type (also known as the interactive type identifier or interactive object ID). This interactive type identifier may be generated by the server when it receives the interactive parameter information submitted by the second client. Thus, by carrying the interactive type identifier in the interactive message data, the interactive message can be associated with the virtual interactive type.
[0149] The interactive message data may also include a message template for displaying the interactive message, or a message template identifier (i.e., a unique identifier for the message template). This message template can refer to a template used to display the interactive message, and content can be filled into the message template to render the interactive message. For example, the message template could be used to instruct the filling of descriptive content in area R1 and a timing animation in area R2, specifying the specific filling method. It should be understood that the message template can be determined based on the interaction type style of the virtual interaction type, allowing the server to determine a message template that matches the interaction type style to display an interactive message with corresponding effects on the client.
[0150] It should be understood that obtaining a message template associated with a virtual interaction type can be done by directly determining it from the interaction message data; or, it can be done by determining the unique identifier of the message template from the interaction message data, and then finding the message template on the terminal device where the client is running through the unique identifier of the message template. In other words, the message template can be pre-stored in the terminal device, so it can be obtained from the terminal device through the unique identifier of the message template.
[0151] It should be understood that when a message template is obtained, message description content and timing animation can be filled into the message template. For example, the description content can be filled into area R1 of the message template, and the timing animation can be filled into area R2. Then, the interactive message on the first message page can be rendered and displayed based on the filled message template.
[0152] S102. When the timeout duration corresponding to the interactive message reaches the timeout threshold, play the interactive animation and update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
[0153] It should be understood that the interactive animation can refer to the animation played when the timer duration corresponding to the interactive message reaches the timer threshold. In other words, the interactive animation can be the interactive animation when the virtual interaction type takes effect (i.e., when the state of the virtual interaction type is updated to the interactive active state). It should be understood that the interactive animation can be played within the interactive message. The animation effect of the interactive animation can match the interaction type style of the virtual interaction type. For example, if the virtual interaction type is a virtual bomb, then the interactive animation can be the animation of the bomb exploding. Similarly, if the virtual interaction type is a virtual bow and arrow, then the interactive animation can be the animation of shooting the bow and arrow. And if the virtual interaction type is a virtual bouquet, then the interactive animation can be the animation of the bouquet opening.
[0154] It should be understood that the interaction description content can refer to the description content of the interaction message when the corresponding timeout duration reaches the timeout threshold. In other words, the interaction description content can be the description content of the interaction message when the virtual interaction type takes effect (i.e., when the status of the virtual interaction type is updated to the interaction active state). This interaction description content can be used to notify the business object that the virtual interaction type has taken effect (i.e., is in the interaction active state).
[0155] Understandably, during the timing of interactive message broadcasts, the interactive messages can display the timing effect through timing animations, and can also be associated with sound, vibration and other effects to create a more tense effect and enhance the fun of social interaction.
[0156] Optionally, when the timer duration corresponding to the interactive message reaches the timer threshold, a new layer can be added to the first message page to display additional interactive animations related to the virtual interaction type. This allows the first user to clearly perceive the activation of the virtual interaction type and enhance interactivity.
[0157] It should be understood that the timing duration of the interactive message can be timed by the server. Therefore, when the server detects that the timing duration of the interactive message has reached a timing threshold, it updates the status of the virtual interaction type to an active state and notifies the first client and the second client that the timing duration of the interactive message has reached the threshold. The server can obtain the timing threshold of the virtual interaction type. Therefore, when it receives a timing notification message from the first client instructing the server to start timing, it determines the effective time of the virtual interaction type based on the timestamp of the timing notification message and the timing threshold (e.g., by adding the duration indicated by the timing threshold to the timestamp associated with the timing notification message to obtain the effective time, thus determining that the timing duration has reached the timing threshold when the system time reaches the effective time and the virtual interaction type has not propagated). It is understood that the timing notification message can be sent when the interactive message is displayed in the first client, or when the terminal device where the first client is located receives the interactive message; this is not limited here. The effective time refers to the time point when the virtual interaction type becomes effective. Therefore, the difference between the system time and the effective time can be used to determine whether the timing duration has reached the timing threshold.
[0158] Specifically, when the timeout duration corresponding to the interactive message reaches the timeout threshold, an interactive animation is played, and the message content of the interactive message is updated to display the interactive content corresponding to the interactive animation. This can include the following steps: receiving an interactive activation message sent by the server; the interactive activation message is sent by the server when it determines that the timeout duration corresponding to the interactive message has reached the timeout threshold; playing the interactive animation based on the message template, and updating the message description content in the message template to display the interactive description content corresponding to the interactive animation.
[0159] The interaction activation message can be a message indicating that the virtual interaction type has taken effect. It should be understood that this interaction activation message is sent by the server when it determines that the timeout duration corresponding to the interaction message has reached a timeout threshold. For example, for an interaction message H1 carrying a virtual interaction type M1, when the timeout duration of interaction message H1 reaches the timeout threshold for virtual interaction type M1, the status of virtual interaction type M1 can be updated to an interaction-activated status, and an interaction activation message for interaction message H1 can be generated and sent to the client associated with the interaction activation message, i.e., the client that sent interaction message H1 and the client that received interaction message H1.
[0160] It should be understood that when the first client receives the interaction activation message, it can automatically trigger the message template to play the interactive animation, updating the message description content in the message template to the interactive description content corresponding to the interactive animation. Optionally, the display style of the interactive message (such as the message background style, color, etc.) can also be updated to a different style. It is understood that the interactive description content and the interactive animation can be determined by the aforementioned interactive message data, or they can be sent synchronously when the interaction activation message is sent; this is not limited here.
[0161] Optionally, when a virtual interaction type takes effect, the resulting effect may include updating the style of the first object. Specifically, this can involve updating the display style of elements associated with the first object to the effective display style associated with the effective state of the interaction. This element display style can refer to the style of elements associated with the first object when the virtual interaction type is not in effect. For example, it could include the style of the first object's identifier (such as an avatar, name, etc.), or it could be the message display style of the conversation message sent by the first object. For instance, the message display style could indicate that the identifier style of the conversation message is the original identifier of the first object, and the message area style of the conversation message (also known as the message bubble style, such as the message background style, font style, etc.) is the style of the message area originally configured for the first object. The effective display style can refer to the style of the element associated with the first object when the virtual interaction type takes effect. The effective display style can indicate that the identifier style written in the session message is the interactive identifier associated with the virtual interaction type (i.e., the identifier with special effects that is updated and displayed for the first object when the virtual interaction type takes effect, such as an avatar, name, etc. with special effects). Alternatively, it can be the interactive display style of the session message sent by the first object. The interactive display style can refer to the display style of the session message sent by the first object when the virtual interaction type takes effect. For example, the interactive display style can indicate that the identifier style of the session message is the interactive identifier associated with the virtual interaction type, and the message area style of the session message (such as the message background style, font style, etc. of the session message) is the message area style with special effects associated with the virtual interaction type.
[0162] Specifically, the first message page contains the identifier of the first object corresponding to the first client; therefore, this application embodiment may further include the following steps: when the time duration corresponding to the interactive message reaches the time threshold, the identifier of the first object in the first message page is updated and displayed as the first interactive identifier associated with the virtual interactive type.
[0163] As can be seen from the above description, the identifier of the first object can be the object's avatar or name, etc.
[0164] The first interaction identifier can be an identifier that updates the identifier of the first object when the virtual interaction type takes effect. When updating the identifier of the first object in the first message page to the first interaction identifier associated with the virtual interaction type, the identifier of the first object can be replaced. In this case, the first interaction identifier refers to the identifier after the first object identifier is replaced. For example, if the avatar is replaced with a specified image (then the first interaction identifier is the replaced specified image), or the name is replaced with specified text content (then the first interaction identifier is the replaced specified text content); or, elements can be added to the identifier of the first object. In this case, the first interaction identifier can refer to the identifier of the first object and the added elements. For example, if an avatar widget (i.e., an icon displayed in association with the avatar of the business object) is added to the avatar of the name, then the first interaction identifier is the avatar of the first object with the added avatar widget. Or, if a special symbol is added to the name, then the first interaction identifier is the name of the first object with the added special symbol. Or, if a name widget matching the virtual interaction type (i.e., an icon displayed in association with the name of the business object) is added, then the first interaction identifier is the name of the first object with the added name widget. For example, if the virtual interaction type is a virtual bomb, when the virtual bomb takes effect, the avatar of the first object can be replaced with the image of the person attacked by the bomb (i.e., the first interaction identifier), or an exploding bomb widget can be added to the avatar of the first object. Similarly, if the virtual interaction type is a virtual bomb, the name of the first object can be replaced with text indicating that it has been attacked by the virtual bomb, or a bomb symbol can be added to the name of the first object, or a bomb image name widget can be added after the name of the first object. It should be understood that updating the first interaction identifier can be done using any of the above methods, or multiple methods can be used simultaneously, such as replacing the avatar with a specified image while adding a name widget.
[0165] Please see Figure 6 , Figure 6 This is a schematic diagram illustrating one possible effect provided by an embodiment of this application. For example... Figure 6 As shown, page 600a can be a conversation page for business object A1 and business object A2 to have a dialogue. If business object A1 sends a virtual interaction type to business object A2, then page 600a can display the interactive message sent by business object A1 carrying the virtual interaction type (such as...). Figure 6 As shown in 601a above, the detailed description of this interactive message can be found in the above description. Figure 5 The description of interactive messages in the code is omitted here. When the virtual interaction type is not active (i.e., the timeout period has not reached the timeout threshold), the display style of the session messages sent by business object A2 can be found in [reference needed]. Figure 6 As shown in 602a, in Figure 6In the session message shown in 602a, the session message carries the identifier C2 of business object A2, and the message area style of the session message is the original message area style of business object 2. Furthermore, when the timeout duration reaches the timeout threshold (step S61a), an interactive animation can be played, and the message description content in the interactive message can be updated to the interactive description content. That is, after the virtual interaction type takes effect, the display style of the interactive message can refer to... Figure 6 As shown in 606a, after this virtual interaction type takes effect, the propagation component associated with the interaction message is in a non-triggerable state (e.g., ...). Figure 4 (As shown in 604a). Additionally, after the virtual interaction type takes effect, the display style of the session messages sent by business object 2 is updated. The updated display style of the session messages can be found in [reference]. Figure 6 As shown in 603a, in the updated display style of the session message, the identifier style is identifier CR2, which has a special effect associated with the virtual interaction type. It can be seen that identifier CR2 is different from the original identifier C1 of business object A2. The message area style of this session message is the message area style with a special effect associated with the virtual interaction type (such as...). Figure 6 (As shown in 605a).
[0166] Please see Figure 7 , Figure 7 This is a schematic diagram illustrating another effect provided by an embodiment of this application. For example... Figure 7 As shown, page 700a can be the information display page for business object A2. This information display page can display the identifier of business object A2 (e.g., ...). Figure 7 As shown in 702a). If business object A1 sends a virtual interaction type to business object A2, then the interaction message carrying the virtual interaction type sent by business object A1 can be displayed in page 700a (e.g., ...). Figure 7 As shown in 701a above, the detailed description of this interactive message can be found in the above description. Figure 5 The description of the interactive messages is omitted here. When the virtual interaction type is not active (i.e., the timeout period has not reached the timeout threshold), the identifier of business object 2 displayed on page 700a can be found by referring to... Figure 7 As shown in 702a. Furthermore, when the timeout period reaches the timeout threshold (i.e., when the virtual interaction type takes effect), an interactive animation can be played, and the message description content in the interactive message can be updated to the interactive description content. That is, after the virtual interaction type takes effect, the display style of the interactive message can refer to... Figure 7 As shown in 704a, after this virtual interaction type takes effect, the propagation component associated with the interaction message can be hidden. Additionally, after the virtual interaction type takes effect, the identifier of business object 2 in page 700a can be updated. The updated identifier of business object 2 can be referenced... Figure 7 As shown in 703a.
[0167] Optionally, embodiments of this application may further include the following steps: in the associated display page displaying the identifier of the first object, the identifier of the first object is synchronously updated to the first interaction identifier associated with the virtual interaction type; the associated display page refers to any page different from the first message page used to display the identifier of the first object.
[0168] It should be understood that an associated display page refers to any page, different from the first message page, used to display the identifier of the first object. In other words, this associated display page can display related display pages. For example, this associated display page could be the first object's session list page. This session list could be a page used to display the first object's sessions. This session list display page could display the first object's identifier (such as avatar or name), and could also display a session association area for the sessions the first object is engaged in. Each session association area is equivalent to the entry point for displaying the corresponding session page. The session association area could display the identifier (such as avatar or name) of the business object engaged in the session with the first object, as well as the latest received or sent messages. As another example, this associated display page could be the first object's nearby object page. This nearby object page could be a page used to display the first object's nearby objects. Nearby objects can refer to business objects whose geographical distance from the first object is less than a certain distance threshold. The nearby object page could display the identifier (such as avatar or name) of the first object's nearby objects, as well as the first object's identifier (such as avatar or name).
[0169] Please see Figure 8 , Figure 8 This is a schematic diagram illustrating the effect of an associated display page provided in an embodiment of this application. For example... Figure 8 As shown, the associated display page can be page 801a, which can be the session list page, i.e., a page used to display the session list of business object A2. When the virtual interaction type is applied to business object A2, the avatar of business object 2 in the session list display page is updated to the avatar of business object A2 with the special effect associated with the virtual interaction type (e.g., ...). Figure 8 (As shown in 804a). It should be understood that the session association area (i.e., the session entry point used to enter the session) displays the session of business object A2. For example, the session entry point for a session with business object A1 can be as follows: Figure 8 As shown in 805a, the session entry 805a may include the avatar of business object A1 (e.g., ...). Figure 8 As shown in 806a), and the name of business object A1 (e.g., Figure 8As shown in 803a), and messages received or sent (such as...) Figure 8 (As shown in 807a). It should be understood that if other virtual interaction types received by other business objects (such as business object A3) that are having a conversation with business object 2 are applied to business object A3, then in the conversation list page of business object 2, the avatar of business object A3 will be replaced with an interactive icon with special effects, the effect of which is as follows: Figure 8 As shown in 808a.
[0170] For example, the associated display page could be page 802a, which could be the nearby object page, i.e., the page for nearby objects of business object A2. When the virtual interaction type takes effect for business object A2 (i.e., the virtual interaction type received by business object A2 has taken effect), the avatar of business object 2 in the nearby object page is updated to display the avatar of business object A2 with the special effect associated with the virtual interaction type (e.g., ...). Figure 8 (As shown in 810a). It should be understood that if other virtual interaction types received by a nearby object of business object 2 (such as business object A3) are effective for business object A3 (i.e., other virtual interaction types received by business object 3 are effective), then on the nearby object page of business object 2, the avatar of business object A3 will be replaced with an interactive icon with special effects, the effect of which is as follows: Figure 8 As shown in 809a.
[0171] Optionally, if the avatar of the first object is replaced with the avatar indicated by the first interaction identifier, the avatar information can be searched first in the storage area corresponding to the client based on the unique identifier of the first object. The avatar information is then searched for in the storage area corresponding to the original avatar of the first object, using its URL (Uniform Resource Locator). Then, when the virtual interaction type takes effect, the URL of the avatar indicated by the first interaction identifier used to replace the URL of the original avatar of the first object can be obtained. This URL can then be used to replace the URL of the original avatar of the first object in the avatar information. Based on the URL of the avatar indicated by the first interaction identifier in the replaced avatar information, the avatar of the first object with special effects can be rendered and displayed. The URL of the avatar indicated by the first interaction identifier can be retrieved from the server when the virtual interaction type takes effect, or it can be synchronously sent when the server sends the interaction message corresponding to the virtual interaction type. Therefore, when the virtual interaction type takes effect, the URL of the avatar indicated by the first interaction identifier, which was synchronously sent with the interaction message, can be searched in the storage area corresponding to the client's order. The avatar indicated by the first interactive identifier can be configured by the second object when configuring interactive parameter information in the interactive configuration page, or it can be automatically generated by the server; there is no limitation here.
[0172] It should be understood that if the virtual interaction type sent by the second object to the first object takes effect on the first object, then the identifier of the first object can be updated to the corresponding first interaction identifier. Then, any business object that can view the identifier of the first object (such as the second object, the third object, etc.) will display the first interaction identifier of the first object in the client when viewing the business object identifier of the first object through the corresponding client. For example, when the third object views the information display page of the first object, the identifier style of the first object displayed on the information display page is the first interaction identifier. In this way, users who have not participated in or are unfamiliar with the bomb gameplay can also notice the impact of this interactive gameplay, and are more likely to be attracted to this interactive gameplay, thereby increasing the number of users of this interactive gameplay.
[0173] It should be understood that the method for updating the identifier of the first object in the associated display page to the first interaction identifier associated with the virtual interaction type can refer to the above description of updating the identifier of the first object in the first message page to the first interaction identifier, and will not be repeated here. Furthermore, the updated first interaction identifier displayed for the identifier of the first object in the associated display page is consistent with the updated first interaction identifier displayed for the identifier of the first object in the first message page.
[0174] It should be understood that when the effective display style (such as updating the first object's identifier to the style of the first interaction identifier) meets certain recovery conditions, the effective display style can be restored to the original element display style of the first object. Specifically, the first interaction identifier can be restored to the first object's identifier in each page used to display the first object's identifier (such as the first message page and related display pages). Optionally, if the display style of the session messages sent by the first object is the interaction display style when the virtual interaction type is effective, then after meeting certain recovery conditions, the display style of the session messages sent by the first object can be restored to the original message display style.
[0175] It should be understood that the recovery condition can be that the cumulative duration of the virtual interaction type's object status being in an interactive active state reaches an effective duration threshold. Here, the cumulative effective duration can refer to the accumulated time after the virtual interaction type is updated to an interactive active state. The effective duration threshold can be the required cumulative effective duration for restoring the display style of the first object's elements (such as the style of the first object's identifier). For example, if the effective duration threshold is 20 seconds, then the display style of the first object's elements can be restored 20 seconds after the virtual interaction type becomes active.
[0176] Optionally, the recovery condition can also be that the first type of session message displayed on the first session page meets the message conditions of the virtual interaction type. The first session page can refer to the above-described relevant information. The first type of session message can be a session message sent by the first object when the virtual interaction type's state is updated to an interaction-active state, or the first type of session message can be a session message sent by the first object after receiving the virtual interaction type. The first type of session message can refer to a session message carrying a first interaction identifier, and the display style of the first type of session message is an interaction display style. The identifier style (such as avatar, name) in the session message indicated by the interaction display style is the identifier (such as avatar, name) of the first object. It should be understood that when the virtual interaction type's state is not updated to an interaction-active state, the session message sent by the first object can be a second type of session message. This second type of session message carries the identifier of the first object, and the display style of the second type of session message is a message display style. The identifier style in the session message indicated by the message display style is the identifier of the first object. It should be understood that this interaction display style is different from the message display style, specifically, the indicated identifier style may be different. Optionally, the interactive display style and the message area style (such as message background color, font type, font color, etc.) indicated by the message display style can also be different. The message condition can be a condition that the first type of session messages displayed on the first session page must meet when restoring the element display style of the first object (such as restoring the identifier of the first object). Optionally, the message condition can be that the cumulative number of first type session messages sent displayed on the first session page reaches a cumulative threshold. This cumulative number of messages sent can refer to the cumulative number of first type session messages sent by the first object. The cumulative threshold can be a threshold number that the cumulative number of first type session messages must reach when the message condition is met. For example, if the cumulative threshold is 3 messages, then after the virtual interaction type takes effect, if the first object cumulatively sends 3 first type session messages, it can be determined that the first type of session messages meet the message condition of the virtual interaction type, and thus the element display style of the first object is restored. Optionally, the message condition can also be: the first type of conversation message displayed on the first conversation page carries message indication content matching the recovery task. This recovery task can be a task for restoring the element display style of the first object. The recovery task can refer to sending a first type of conversation message containing specified text content, image content, or voice content on the conversation page, as detailed in the relevant description of the interactive task above. The message indication content refers to content matching the recovery task. For example, if the recovery task is to send a first type of conversation message with specified text content (such as "Gong Xi Fa Cai"), then when a first conversation message carrying "Gong Xi Fa Cai" (i.e., message indication content matching the recovery task) is displayed, the element display style of the first object (such as the style of the first object's logo) is restored.
[0177] It should be understood that the element display style of the first object can be restored when any one of the above conditions is met, or the element display style of the first object can be restored only when any combination of the above conditions is met simultaneously. No limitation is made here.
[0178] The following example illustrates how to restore the style of the identifier of the first object in the element display style.
[0179] Specifically, when the first interaction identifier meets the identifier restoration conditions, the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will be restored to the identifier of the first object simultaneously.
[0180] The conditions for restoring the identifier can be the restoration conditions described above, which will not be repeated here. Based on this, the first interactive identifier can be restored to the identifier of the first object in various pages used to display the identifier of the first object (such as the first message page or associated display page). It should be understood that the method of restoring the first interactive identifier to the identifier of the first object is consistent with the method of updating the identifier of the first object to the first interactive identifier. Specifically, restoring the first interactive identifier to the identifier of the first object can be the reverse operation of updating the identifier of the first object to the first interactive identifier. For example, when restoring the first interactive identifier to the identifier of the first object, the first interactive identifier can be replaced by the identifier of the first object, such as replacing the specified image indicated by the first interactive identifier with the original avatar of the first object, or replacing the specified text content indicated by the first interactive identifier with the original name of the first object; or, additional elements can be removed from the first interactive identifier, such as removing the avatar widget indicated by the first interactive identifier, removing the special symbols added to the name indicated by the first interactive identifier, or removing the name widget indicated by the first interactive identifier.
[0181] Specifically, the object status of virtual interaction types includes the interaction activation status, which is determined when the time duration corresponding to the interaction message reaches the time threshold. Therefore, when the first interaction identifier meets the identifier restoration condition, the first interaction identifier on the first message page is restored to the identifier of the first object, and the first interaction identifier on the associated display page is simultaneously restored to the identifier of the first object. This includes: if the cumulative activation time of the virtual interaction type object status as the interaction activation status reaches the activation time threshold, then the first interaction identifier on the first message page is restored to the identifier of the first object, and the first interaction identifier on the associated display page is simultaneously restored to the identifier of the first object; if the first type of session message displayed on the first session page meets the message conditions of the virtual interaction type, then the first interaction identifier on the first message page is restored to the identifier of the first object, and the first interaction identifier on the associated display page is simultaneously restored to the identifier of the first object; the first message page includes the first session page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client conduct a session; the first type of session message refers to the session message carrying the first interaction identifier.
[0182] Understandably, when the first message page is the first session page, the identifier of the first object may not be directly displayed on that page. Instead, the identifier of the first object is carried in the session message when the first object sends the message. After the virtual interaction type takes effect, the identifier of the first object carried in historical session messages (i.e., session messages sent by the first object before the virtual interaction type took effect) can be updated to the first interaction identifier. Alternatively, the identifier of the first object carried in historical session messages may not be updated to the first interaction identifier. Instead, the first interaction identifier is carried in the session messages sent by the first object after the virtual interaction type takes effect but before the interaction conditions are met. This makes it easier to see which messages were sent when the virtual interaction type took effect but before the recovery conditions were met, thus better preserving interaction records.
[0183] Specifically, the first message page includes a first conversation page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client have a conversation; the object state of the virtual interaction type includes an interaction active state, which is determined when the time duration corresponding to the interaction message reaches the time threshold; then, the embodiments of this application may further include the following steps: when the object state of the virtual interaction type is in the interaction active state, in response to the message sending operation of the first object to the second object, displaying a first type of conversation message with an interaction display style associated with the interaction animation on the first conversation page; the first type of conversation message refers to a conversation message carrying a first interaction identifier associated with the virtual interaction type, which is obtained by updating the identifier of the first object.
[0184] It should be understood that the message sending operation of the first object to the second object can refer to the operation of the first object sending a session message to the second object. For example, the message sending operation can be the operation of confirming and sending text content entered on the first session page, the operation of confirming voice data entered on the first session page, or the operation of confirming image data selected on the first session page.
[0185] It should be understood that the first type of session message can be a session message sent by a business object (such as the first object) when the object state of the virtual interaction type is in the interaction active state. For details, please refer to the relevant descriptions above, which will not be repeated here. It should be understood that the display style of this first type of session message is the interactive display style, and the identifier style indicated by this interactive display style is the first interactive identifier (i.e., the first type of session message carries the first interactive identifier). Optionally, the message area style indicated by the interactive display (such as the message background style, font style, etc. of the session message) can also be different from the message area style indicated by the message display style; this is not limited here. It should be understood that in this case, after the virtual interaction type becomes active, the display style of the session message sent by the business object (such as the first object) can be updated to a different display style (i.e., the interactive display style).
[0186] It should be understood that, furthermore, when the interactive display style reaches certain recovery conditions, if the first object sends a session message, the display style of the sent session message will be restored to the original message display style of the first object. In other words, when the interactive display style reaches certain recovery conditions, in response to the first object's message sending operation to the second object, the second type of session message with the message display style corresponding to the first object will be displayed on the first session page. The description of the second session message can be found in the above description and will not be repeated here.
[0187] Specifically, the embodiments of this application may further include the following steps: if the cumulative number of first-type session messages displayed on the first session page reaches a cumulative number threshold, then in response to the message sending operation of the first object to the second object, the second-type session message with the message display style corresponding to the first object is displayed on the first session page; the second-type session message refers to a session message carrying the identifier of the first object, and the first interaction identifier is obtained by updating the identifier of the first object; if the first-type session message displayed on the first session page carries message indication content matching the identifier recovery task, then in response to the message sending operation of the first object to the second object, the second-type session message with the message display style corresponding to the first object is displayed on the first session page; if the duration of the object's status as an interactive active state reaches an active duration threshold, then in response to the message sending operation of the first object to the second object, the second-type session message with the message display style corresponding to the first object is displayed on the first session page.
[0188] Among them, the cumulative number of first-type session messages displayed on the first session page reaches the cumulative number threshold, the first-type session messages displayed on the first session page carry message indication content that matches the identifier recovery task, and the duration of the interactive effective status reaches the effective duration threshold, etc., can be referred to the relevant descriptions above, and will not be repeated here.
[0189] For example, see Figure 9 , Figure 9 This is a schematic diagram illustrating a variation in display style provided in an embodiment of this application. For example... Figure 9 As shown, page 900a can be a page for business object A1 and business object A2 to have a conversation. If business object A1 sends a virtual interaction type to business object A2, then the interaction message 901a sent by business object A1 can be displayed on page 900a. When the virtual interaction type in interaction message 901a is not in effect, the display style of the interaction message sent by business object A1 is as follows. Figure 9 As shown in 902a. When the timeout period reaches the duration threshold (i.e., S91a), the virtual interaction type takes effect, and the interaction message update is displayed as follows. Figure 9 The message effect shown in 901b is as follows, and the display style of the session messages sent by business object A2 after the virtual interaction type can all be displayed with special effects. For example, see [link to relevant documentation]. Figure 9 The interactive display style of the session messages (i.e., the first type of session messages) indicated by 903a in the document, and the interactive area style of the interactive display style (such as... Figure 9 (as shown in 905a) and identification styles (such as Figure 9 (as shown in 904a) and Figure 9The display style shown in 902a is different. Furthermore, when the number of first-type session messages displayed on page 900a reaches the recovery condition (step S92a) (e.g., the cumulative number reaches 3), that is, when the display style is different... Figure 9 The three session messages shown in 906a will have their display style restored to the original display style of business object A2 afterward. For example, you can refer to... Figure 9 The session message shown in 907a is as follows: Figure 9 The display style of the session messages shown in 907a is similar to... Figure 9 The display style of the session messages shown in 902a is consistent with that in the example.
[0190] For example, please see Figure 10 , Figure 10 This is a schematic diagram illustrating another variation of the display style provided in the embodiments of this application. For example... Figure 10 As shown, page 1001a can be the information display page for business object A2. If business object A1 sends a virtual interaction type to business object A2, then the interaction message 1001a sent by business object A1 can be displayed on page 1001a. When the virtual interaction type in interaction message 1001a is not active, the avatar style sent by business object A1 is as follows. Figure 10 As shown in 1002a. When the timeout period reaches the duration threshold (step S111a), the virtual interaction type takes effect, and the interaction message is updated and displayed as follows. Figure 9 The message effect shown in 1002b is referenced in the image of business object A2. Figure 10 As described in 1004a. Further, when the number of first-type session messages displayed on page 1001a reaches the recovery condition (step S112a) (e.g., the cumulative number reaches 3), the avatar of business object A2 will be restored to its original avatar (e.g., ...). Figure 10 As shown in 1005a). Figure 10 The portrait shown in 1005a is similar to Figure 10 The image shown in 1003a is consistent with the one shown in the image.
[0191] It is understood that the embodiments of this application can also query the interaction records between various business objects.
[0192] Specifically, in response to an interaction history query operation between the first object corresponding to the first client and the second object corresponding to the second client, an interaction history page is displayed; the interaction history page is used to display interaction records of historical virtual interaction types between the first object and the second object.
[0193] It should be understood that the interaction history query operation can be used to query the interaction records between business objects. This history query operation can be a response to a triggering operation on the history query control, such as clicking the history query control. The history query control can be displayed directly on the first message page between the first object and the second object, or it can be displayed on the interaction configuration page when the first object triggers the interaction configuration page; there is no limitation here.
[0194] The interaction history page displays historical virtual interaction records between a first object and a second object. These records can refer to interactions conducted through virtual interaction types, such as those received or sent by both the first and second objects. They can also synchronously display the current status of each virtual interaction type received or sent by both objects, for example, whether each received or sent virtual interaction type is active. It should be understood that the historical virtual interaction records between the first and second objects may only include interactions sent or received between them, excluding records between business objects different from the first and second objects and either the first or second object. For example, if user A1 sends virtual interaction type M1 to user A2, and virtual interaction type M1 is active at user A2's location, then the interaction history page associated with users A1 and A2 will display either the record of the first object sending virtual interaction type M1 and M1 being active, or the record of the second object receiving virtual interaction type M1 and M1 being active. For example, if user A1 sends virtual interaction type M2 to user A2, and user A2 propagates virtual interaction type M2 to user A3 within the time threshold, then on the interaction history page associated with user A1 and user A2, the record of the first object sending virtual interaction type M2 and virtual interaction type M2 not taking effect can be displayed, or the record of the second object receiving virtual interaction type M2 and virtual interaction type M2 not taking effect can be displayed.
[0195] It is understandable that if the first and second objects interact on the information display page or the one-on-one chat page, the interaction history page will only display the interaction records between the first and second objects. If the first and second objects interact on the group chat page, the interaction history page will display not only the interaction records between the first and second objects, but also the interaction records between the first object, the second object, and any two business objects other than the first and second objects among the group members indicated by the group chat page.
[0196] For example, see Figure 11 , Figure 11This is a schematic diagram illustrating the display effect of an interactive history page provided in an embodiment of this application. For example... Figure 11 As shown, page 1101a can be a session page for business object A1 and business object A2 to have a conversation. In this session page, page 1102a can be triggered and displayed. Page 1102a can be an interaction configuration page for configuring virtual interaction types. This interaction configuration page can be the configuration panel displayed on page 1101a. Alternatively, this interaction configuration page can also be a separate page; this is not limited here. This interaction configuration page can include a control 1103a for triggering the display of an interaction history page. In response to a trigger operation on control 1103a (i.e., S1100a), page 1102a is displayed. This page 1102a can be an interaction history page, which can also include an area for configuring virtual interaction types (such as...). Figure 11 (Region 1104a). This interaction history page can include multiple records. For example, such as... Figure 11 The 1105a example indicates that the virtual interaction type received by business object A2 is not effective. Figure 11 The 1106a shown in the diagram indicates that the type of virtual interaction received by business object A1 is in effect. For example... Figure 11 The virtual interaction type shown in 1107a, used to instruct business object A2 to send a message to business object A1, is effective against business object A1, meaning that business object A2's attack is successful. For example... Figure 11 The example shown in 1108a indicates that the virtual interaction type sent by business object A2 to business object A1 is effective against business object A1, meaning that business object A1 is attacked. Optionally, it can also specify the number of times the virtual interaction type sent by business object A1 to business object A2 is effective against business object A2 (i.e., the number of times business object A2 is attacked by the virtual interaction type), such as... Figure 11 As shown in 1109a, this can be used to indicate that the virtual interaction type has been effective against business object A2 3 times, i.e., attacked 3 times. Similarly, it can also be used to count the number of times the virtual interaction type sent by business object A2 to business object A1 has been effective against business object A1 (i.e., the number of times business object A1 has been attacked by the virtual interaction type), such as... Figure 11 As shown in 1110a, it can be used to indicate that the virtual interaction type is effective against business object A1 twice, that is, attacked twice.
[0197] Further, please see Figure 12 , Figure 12 This is a flowchart illustrating a message display method provided in an embodiment of this application. The method can be executed by a client in a terminal device; for example, the terminal device can be the one described above. Figure 1The terminal device 11a in the method. The method may include at least the following steps S201-S202.
[0198] S201. Display the interactive message corresponding to the virtual interaction type on the first message page; the interactive message refers to the message sent by the second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least the timing threshold for triggering the interactive animation of the virtual interaction type.
[0199] Step S201 can be referred to the relevant description of step S101 above, and will not be repeated here.
[0200] S202. Within the timing threshold, in response to the propagation operation for the virtual interaction type corresponding to the interactive message, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object indicated by the propagation operation; the target object is an object that has an association relationship with the first object corresponding to the first client.
[0201] It should be understood that the propagation operation can be an operation used to propagate a virtual interaction type. For example, the propagation operation can be a confirmation operation for the target object selected on the propagation object selection page when displaying the propagation object selection page. The propagation object selection page can be displayed in response to a trigger operation of the propagation control used to propagate the virtual interaction type. The target object can be the business object to which the propagation operation indicates the virtual interaction type to be propagated. It should be understood that the propagation operation should be performed within a timeout threshold. If the timeout duration reaches the timeout threshold, the virtual interaction type carried by the interaction message cannot be propagated. It should be understood that the target object can be the business object to which the propagation operation is propagated. The number of target objects can be one or more. The target object can be a business object that has a friend relationship or a session with the first object, or it can be a business object that belongs to the same group chat session as the first object; there is no limitation here. The target object can be the same object as the second object, or it can be a different object from the second object; there is no limitation here.
[0202] Understandably, when propagating a virtual interaction type, the propagated type is one with the same interaction type identifier as the virtual interaction type indicated by the propagation operation. For example, if the interaction type identifier of a virtual bomb is "Type Identifier L1", then in response to a propagation operation targeting a virtual bomb with the interaction type identifier "Type Identifier L1", the server can update the receiving object of the virtual interaction type indicated by the propagation operation (such as the virtual bomb with the interaction type identifier "Type Identifier L1") to the target object indicated by the propagation operation. Furthermore, when propagating the virtual interaction type to the target object, the propagation count of the virtual interaction type can be updated, and the timing of the interaction message corresponding to the virtual interaction type can be stopped.
[0203] It should be understood that, in response to a propagation operation for a virtual interaction type corresponding to an interactive message, the first client can send a propagation request corresponding to the propagation operation to the server. The server can then verify the propagation of the virtual interaction type based on the propagation request, and only when the verification of the virtual interaction type is successful will it determine whether to propagate the virtual interaction type to the target object. When determining whether to propagate the virtual interaction type to the target object, the server can update the receiving object of the virtual interaction type from the first object to the target object, and can also update the propagation count of the virtual interaction type (i.e., increase the propagation count by the number of target objects indicated by the propagation operation, such as incrementing the propagation count by one). This allows the server to determine the interactive propagation message data and send it to both the client of the first object and the client of the target object. Both the client of the first object and the client of the target object can then render and display the interactive propagation message corresponding to the virtual interaction type based on the interactive propagation message data. The specific method for rendering and displaying the interactive propagation message can be found in the description of displaying interactive messages above, and will not be elaborated upon here.
[0204] Understandably, the server's verification of virtual interaction types based on propagation requests can include: determining the virtual interaction type to be verified based on the propagation request (specifically, determining the virtual interaction type to be verified based on the interaction type identifier carried in the propagation request), obtaining the propagation count and effective time of the virtual interaction type (i.e., obtaining the propagation count and effective time of virtual interaction types with the same interaction type identifier as the virtual interaction type to be propagated), and verifying the propagation of the virtual interaction type based on the propagation count and effective time. Specifically, if the propagation count of a virtual interaction type does not meet the propagation count condition—for example, if the sum of the propagation count of the virtual interaction type and the propagation count of the operation indicated by the propagation operation (i.e., the number of target objects to which the propagation operation indicates) exceeds the maximum propagation count of the virtual interaction type—the server determines that the propagation of the virtual interaction type has failed and returns a prompt message to the first client indicating that the propagation count has exceeded the maximum propagation count. When the request time indicated by the propagation request (which can refer to the time when the server receives the propagation request or the time when the client sends the propagation request, without limitation here) reaches the effective time (i.e., the timeout duration reaches the timeout threshold at the request time indicated by the propagation request), the server determines that the propagation of the virtual interaction type has failed and returns a prompt message to the first client indicating that the effective time of the virtual interaction type has been reached. Optionally, if the sum of the number of propagations of the virtual interaction type and the number of propagations of the operation indicated by the propagation operation (i.e., the number of target objects indicated by the propagation operation) is less than or equal to the maximum number of propagations of the virtual interaction type, and the request time indicated by the propagation request has not reached the effective time, the server propagates the virtual interaction type to the target objects. Optionally, determining that the number of propagations of the virtual interaction type meets the propagation count condition requires that the first maximum propagation count, the second maximum propagation count threshold, and the third maximum propagation count threshold all meet the propagation count condition before determining that the number of propagations of the virtual interaction type meets the propagation count condition.
[0205] It should be understood that the propagation description content can be the description content displayed in the interaction message after the virtual interaction type is propagated. This propagation description content can be used to indicate to the business object that the first object has propagated the virtual interaction type to other objects (such as a third object), thereby locking the timer duration of the virtual interaction type received by the first object, and the interaction message carrying the propagated virtual interaction type will no longer be timed and will no longer be effective for the first object. Optionally, the propagation description content can also be used to describe the number of target objects indicated by the propagation operation. For example, if the number of target objects is 3, then the propagation description content can be used to indicate that the virtual interaction type has been propagated to 3 objects.
[0206] Specifically, the associated display area of the interactive message displays a propagation control for propagating the virtual interaction type. Then, in response to a propagation operation for the virtual interaction type corresponding to the interactive message, updating the message description of the interactive message to the propagation description corresponding to the propagation operation, and displaying the interactive propagation message corresponding to the virtual interaction type on the third message page corresponding to the target object indicated by the propagation operation, may include the following steps: in response to a trigger operation on the propagation control, displaying a propagation object selection page; the propagation object selection page includes target objects associated with the first object; in response to a selection operation on the target object, updating the message description of the interactive message to the propagation description corresponding to the propagation operation, and displaying the interactive propagation message corresponding to the virtual interaction type on the third message page corresponding to the target object.
[0207] The associated display area can be an area that displays a propagation control associated with the interactive message. This propagation control can be a control used to propagate virtual interactive types.
[0208] The target audience selection page can be a page used to select the business objects to which the virtual interaction type should be propagated. This page includes target objects that are associated with the first object. This association can refer to a friendship or conversational relationship with the first object, or belonging to the same group chat session; there is no limitation here. It should be understood that the target audience selection page can include one or more business objects associated with the first object. Each business object can be associated with a corresponding selection control. In response to a selection operation on the selection control associated with the target object (such as a trigger operation on the selection control), the selected target object can be displayed on the target audience selection page. It is understood that the target audience selection page can prioritize displaying business objects with the most recent conversations, business objects with the most conversations, etc., thereby providing a quick propagation path for frequently contacted friends. It is understood that the target audience selection page can also include an object search component (also called a control). The object search control can be used to find business objects with associated relationships, allowing the first object to find the objects to which the virtual interaction type should be propagated based on this object search control. Understandably, when selecting the business object to which the virtual interaction type needs to be propagated on the propagation target page, one can directly select the business object for a one-on-one chat session, or further select a business object within a group chat session when selecting a group chat session.
[0209] Among them, the selection operation for the target object, that is, the confirmation operation for the target object selected on the propagation object page, can be a trigger operation for the control used to indicate that the target object has been selected (i.e., the selection confirmation control), such as clicking the selection confirmation control.
[0210] It should be understood that the third message page can be a page where the target object and the first object interact through a virtual interaction type. This third message page can be a conversation page for the first object and the target object, or it can be an information display page for the target object; there is no limitation here. It should also be understood that if the target object and the second object are different business objects that interact with the first object through a one-on-one chat session, then the third message page and the first message page can be different pages. That is, the virtual interaction type can be propagated to different business objects. For example, if business object A1 publishes a virtual interaction type to business object A2, business object A2 can propagate this virtual interaction type to business object A3, which is different from business object A1. If the target object and the second object belong to the same group chat session as the second object, and the second object sends the virtual interaction type to the first object in that group chat session, and the first object propagates the virtual interaction type to the target object in that group chat session, then both the third message page and the first message page can be conversation pages for that group chat session. That is, the first object can propagate the virtual interaction type within the same group chat session. If the target object and the second object are the same object that interacts with the first object through a one-on-one chat session, then the third message page and the first message page can both be conversation pages where the target object (i.e., the second object) can have a conversation with the first object. In other words, the two business objects can propagate virtual interaction types to each other multiple times. For example, if business object A1 publishes a virtual interaction type to business object A2, business object A2 can propagate the virtual interaction type back to business object A1.
[0211] The interactive propagation message can be a message corresponding to the propagated virtual interaction type. The display method of this interactive propagation message is consistent with that of the interactive message, and is not limited here. Specifically, the interactive propagation message may also include message description content and timing animation, and its display style is also consistent with that of the interactive message. When this virtual interaction type is propagated to the target object, the interaction parameter information of the virtual interaction type does not need to be reconfigured; it can be propagated according to the original interaction parameter information.
[0212] It should be understood that the timing animation of the virtual interaction type carried in the interactive propagation message is determined based on the timing threshold of the interactive message. Optionally, when propagating a virtual interaction type, the timing duration indicated by the timing animation of the interactive propagation message is accumulated from the initial value (e.g., the initial value is 0) to the timing threshold. That is, the timing duration of the interactive message received by the first object is not inherited. For example, if the timing threshold of virtual interaction type M1 is 100s, although the accumulated timing duration of the interactive message received by the first object has reached 60s, the timing duration of the interactive propagation message propagated to the target object still starts from 0. Thus, the timing animation of the interactive propagation message can be used to show the effect of the timing duration gradually changing from 0 to the timing threshold of 100s. Optionally, the timing animation of the virtual interaction type carried in the interactive propagation message is determined based on the timing duration and timing threshold of the interactive message. It can mean that the timing duration indicated by the timing animation of the interactive propagation message inherits the timing duration of the interactive message received by the first object. For example, if the timing threshold of virtual interaction type M1 is 100s, and the timing duration of the interactive message received by the first object has accumulated to 60s, then the timing duration of the interactive propagation message propagated to the target object can inherit 60s, and thus the timing can start accumulating from 60s. In this case, the timing animation of the interactive propagation message can be used to show the effect of the timing duration gradually changing from 60s to the timing threshold of 100s.
[0213] For example, see Figure 13 , Figure 13 This is a schematic diagram illustrating a virtual interactive propagation process provided in an embodiment of this application. For example... Figure 13 As shown, page 1300a can be a page used for business object A2 and business object A1 to conduct a conversation. On this page 1300a, interactive messages sent by business object A1 (such as...) can be displayed. Figure 13 As shown in 1301a), the interactive message is associated with a propagation control (such as...). Figure 13 As shown in 1302a), when a business object clicks the propagation control 1302a (i.e., S1301a), page 1300b can be displayed. This page 1301a can propagate an object selection page. This propagation object selection page can display multiple related objects of the candidate business object A2, such as business object a, business object b, business object c, etc. This propagation object selection page can include controls for finding business objects (such as...). Figure 13 (As shown in 1304a). On the target selection page, a corresponding selected label can be displayed for each selected business object to indicate that the business object has been selected, such as... Figure 13 The label shown in 1303a is used to indicate that business object a has been selected, such as Figure 13The label shown in 1303b indicates that business object b has been selected. The propagation object display page may also include controls for confirming the selected business object (such as...). Figure 13 As shown in 1305a), the number of selected business objects can also be displayed in this control 1305a. For example, there are 2 selected business objects here, namely business object a and business object b.
[0214] Furthermore, when the business object clicks the confirmation control 1305a (i.e., S1302a), the display style of the interactive message on page 1300a can be updated to resemble... Figure 13 The display style shown in 1307a is such that the timing animation is displayed as a locked timing effect (e.g., Figure 13 As shown in 1306a), the message description content is updated to display as the propagation description content (e.g., ...). Figure 13 As shown in 1308a), and the propagation control associated with the interactive message is displayed as an untriggerable effect (e.g., Figure 13 (As shown in 1309a). Optionally, a prompt message can also be displayed on session page 1300a to prompt business object A to propagate the virtual interaction type (e.g., ...). Figure 13 (As shown in 1310a). Furthermore, the page where business object A2 and business object a have a conversation can be page 1300c, which can display interactive propagation messages (such as virtual interaction types) sent by business object A2. Figure 13 As shown in 1311a), similarly, interactive propagation messages carrying virtual interaction types can also be displayed on the page where business object A2 and business object b have a conversation.
[0215] Optionally, in this embodiment of the application, the business object (such as the first object) can also execute a specified interactive task to stop the timing of the received interactive message carrying the virtual interactive type, thereby preventing the virtual interactive type from taking effect, so that the state of the virtual interactive type is adjusted to the interactive stop state.
[0216] It should be understood that in the client corresponding to the target object, interactive propagation messages can be displayed on the target message page associated with the target object (such as the target object's information display page, or the session page where the target object and the first object have a conversation). The method of displaying interactive propagation messages on the target message page can be found in the relevant description of displaying interactive messages on the first message page, and will not be repeated here. Furthermore, the target object can continue to propagate the virtual interaction type carried in the interactive propagation message. The specific process can be found in the relevant description of the first object propagating virtual interaction types, and will not be repeated here.
[0217] Specifically, the first message page includes a first session page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client conduct a session; the interaction description content carries task description information of the interaction task configured by the second object in the interaction configuration page; then, the embodiments of this application may further include the following steps: within the timing threshold, in response to the task execution operation of the interaction task indicated by the interaction message, display the task execution information corresponding to the interaction task on the first session page; the task execution information is used to instruct the server to perform a timing stop operation on the timing duration corresponding to the interaction message within the timing threshold, and generate a stop prompt message corresponding to the timing stop operation; receive the stop prompt message returned by the server, and update the message description content of the interaction message to display the stop prompt message.
[0218] As can be understood from the above description, the interactive task can refer to a task used to stop the timer duration, and the task execution operation can refer to the operation of executing the interactive task. For a detailed description, please refer to the relevant description above.
[0219] Understandably, the task execution information can refer to the information published by the first object to perform the interactive task, and this task execution information can be displayed in the conversation message sent by the first object. For example, the interactive task can refer to sending a conversation message containing specified text content on the conversation page. If the specified text content is "End Bomb", then the task execution operation can be that the first object sends a conversation message with the text content "End Bomb" on the conversation page where it is having a conversation with the second object. The content of "End Bomb" displayed in the conversation message can be the task execution information.
[0220] Optionally, within the timing threshold, in response to a task execution operation for the interaction task indicated by the interaction message, task execution information corresponding to the interaction task is displayed on the first session page, which may include: in response to a trigger operation on an associated abort control for the interaction message (i.e., a control for indicating the timing duration of the interaction message to be aborted), displaying a task execution page corresponding to the abort control (i.e., a page for executing the interaction task). When entering the task execution information indicated by the interaction task in the task execution page, in response to a confirmation operation for the task execution information entered in the task execution page (such as clicking a confirmation control), a session message carrying the task execution information is displayed on the first session page. For example, text content, image content, voice content, etc. indicated by the interaction task can be entered in the task execution page. Optionally, within the timing threshold, in response to a task execution operation for the interaction task indicated by the interaction message, task execution information corresponding to the interaction task is displayed on the first session page, which may include: in response to a confirmation operation for the interaction task execution information entered in the first session page, a session message carrying the task execution information is displayed on the first session page. For example, the text content specified by the interaction message can be entered in the text input area of the first session page, and the voice content specified by the interaction message can be entered through the voice input control in the first session page, etc.
[0221] It should be understood that when the server obtains the task execution information, it can verify the task execution information. Specifically, it can verify whether the task execution information matches the interaction task. If the verification passes (i.e., the task execution information matches the interaction task), then within the timing threshold, a timing abort operation is performed on the timing duration corresponding to the interaction message, and an abort prompt information corresponding to the timing abort operation is generated. Otherwise, the timing duration corresponding to the interaction message is not aborted, and the interaction message continues to be timed. For example, the interaction task can be to send a session message carrying "Congratulations and best wishes for prosperity". Then the first object can send task execution information of "Congratulations and best wishes for prosperity", and the server can verify that the received task execution information matches "Congratulations and best wishes for prosperity". If it matches, the verification passes, and then within the timing threshold, a timing abort operation is performed on the timing duration corresponding to the interaction message, and an abort prompt information corresponding to the timing abort operation is generated. Or, it can be the client that verifies the task execution information. If the verification passes, a verification passed message (i.e., a message for indicating that the task execution information verification passes) is sent to the server, so as to indicate the server to perform a timing abort operation on the timing duration corresponding to the interaction message within the timing threshold and generate an abort prompt information corresponding to the timing abort operation through the verification passed message
[0222] The timing halt operation can be used to stop the timing duration of an interactive message. The halt notification message can be a message indicating that the timing has been stopped. Therefore, the message description in the interactive message can be updated to display the halt notification message, so that the business object knows that the interactive message has stopped timing and the virtual interaction type it carries is in an interaction halted state.
[0223] Optionally, when disseminating virtual interaction types, certain dissemination tasks must be completed before the virtual interaction type can be disseminated. For example, this dissemination task can specify the tasks required to disseminate the virtual interaction type. The content of this dissemination task can be referred to the relevant description of the interaction tasks mentioned above, and will not be repeated here.
[0224] Optionally, in response to a selected operation on the target object, a page for performing the propagation task can be displayed. In response to a task execution operation on the page performing the propagation task, the message description content of the interactive message can be updated to the propagation description content corresponding to the propagation operation. On the third message page corresponding to the target object, the interactive propagation message corresponding to the virtual interaction type can be displayed. Optionally, the propagation component can be untriggerable when the interactive task is not performed, and can only be triggered after the interactive task is performed.
[0225] In this embodiment, virtual interaction types can be configured through an interaction configuration page. These virtual interaction types are configured with timing thresholds, allowing the display of corresponding interactive messages on message pages (such as a first message page or a second message page). Within the timing threshold, a first object can propagate the virtual interaction type corresponding to the interactive message, thereby spreading the virtual interaction type to the target object and updating the message description content within the interactive message. The interactive message displayed in this embodiment is a special type of message that can propagate the corresponding virtual interaction type within the timing threshold, enhancing the interactivity between business objects through engaging interactive methods corresponding to this virtual interaction type.
[0226] Further, please see Figure 14 , Figure 14 This is a flowchart illustrating a message display method provided in an embodiment of this application. The method can be executed by a second client, which can be running on a terminal device, for example, the terminal device described above. Figure 1 The terminal device 12a in the method. The method may include at least the following steps S301-S304.
[0227] S301. When an interactive component is displayed on the interactive page, in response to the trigger operation for the interactive component, the interactive configuration page corresponding to the interactive component is displayed.
[0228] The interactive page can be a page used to trigger the display of an interactive configuration page; that is, it can be a page containing configuration entry points for virtual interactive types. For example, the interactive page can be an information display page for the first object, or it can be a conversation page (referred to as the second conversation page) for the first object and the second object to have a conversation. The second conversation page refers to the conversation page in the second client used for the first object and the second object to have a conversation. Alternatively, the interactive page can be any target association display page for displaying the identifier of the first object, different from the information display page for the first object and the second conversation page. Based on the above description, the target association display page can be a conversation list page for displaying the conversations conducted by the second object. The conversation list page for the second object can include the identifier of the second object (such as an avatar or name), and can also display the conversation entry points (i.e., entry points for entering conversations) for the conversations conducted by the second object. Each conversation entry point can display the identifier (such as an avatar or name) of the business object (such as the first object) having a conversation with the second object, as well as the latest received or sent messages, or it can display the identifier of the group chat conversation conducted by the second object (such as the avatar or name of the group chat conversation). For example, the target association display page can be the nearby object page of the second object. The nearby object page of the second object can be a page used to display the nearby objects of the second object. The nearby objects can refer to business objects (such as the first object) whose geographical distance from the second object is less than a certain distance threshold. The nearby object page can display the identifiers (such as avatars and names) of the nearby objects (such as the first object) of the first object, as well as the identifiers (such as avatars and names) of the second object.
[0229] The interactive component (also known as an interactive control) can be displayed directly on the interactive page, or it can be displayed when the identifier of the first object on the interactive page is triggered (such as long-pressing the identifier of the first object or double-clicking the identifier of the first object). There is no limitation here.
[0230] For example, see Figure 15 , Figure 15 This is a schematic diagram illustrating the effect of triggering an interactive component according to an embodiment of this application. For example... Figure 15 As shown, page 1501a can be an information display page showing the identifier C2 of business object A2. When business object A1 performs a trigger operation on identifier C2 (i.e., S151a), such as long-pressing identifier C2, double-clicking identifier C2, etc., interactive component 1503a can be displayed on page 1501a. Then, by triggering interactive component 1503a (such as clicking interactive component 1503a), an interactive configuration page for configuring the virtual interactive type for interacting with business object A2 can be displayed.
[0231] It should be understood that this interactive configuration page can be a page used to configure virtual interaction types, or simply a configuration page. On this page, interactive parameter information for the virtual interaction type can be configured. This interactive parameter information refers to the parameter information of the configured virtual interaction type. The specific content of the interactive parameter information can be found in the relevant descriptions above, and will not be repeated here.
[0232] It is understandable that when an interactive configuration page is triggered by an interactive control on an interactive page, it can be triggered for a single object that is related to the second object. For example, if an interactive control is triggered in a second conversation page where the second object and the first object are having a conversation, the triggered interactive configuration page can be triggered for the single object that is the first object. Similarly, if an interactive control is triggered in the information display page of the first object, the triggered interactive configuration page can be triggered for the single object that is the first object. Furthermore, if the conversation list of the second object includes a conversation entry point where the second object and the first object are having a conversation, an interactive component can be triggered to display based on the identifier of the first object in that conversation entry point, and the interactive configuration page displayed based on that interactive component can be triggered for the single object that is the first object.
[0233] It is understandable that when the interactive configuration page is triggered by interactive controls on the interactive page, it can be triggered for a group chat session. For example, if an interactive control is triggered in a session page containing a group chat session between the second object and the first object, the triggered interactive configuration page can be triggered for that group chat session. Similarly, if the second object's session list contains a session entry point for the group chat session between the second object and the first object, triggering the display of an interactive component based on the group chat session identifier (such as the group chat avatar, name, etc.) in that session entry point can also trigger the display of an interactive configuration page based on that interactive component. Furthermore, in the interactive configuration page triggered for a group chat session, the group chat members who need to receive virtual interaction types in the group chat session can be further configured. The number of group chat members who need to receive virtual interaction types configured here can be one or more, and is not limited here.
[0234] S302. In response to a configuration operation on the interaction configuration page, display the interaction parameter information of the configured virtual interaction type on the interaction configuration page; the interaction parameter information shall at least include a timing threshold for triggering the interaction animation of the virtual interaction type.
[0235] The configuration operations on the interactive configuration page can be operations used to configure interactive parameter information for virtual interactive types. This can be understood as a manual selection operation performed by the second object, whereby the second object can choose the desired parameter information from multiple parameter options (i.e., the options available for each parameter). For example, from multiple selectable timing thresholds (e.g., 100s, 150s, 200s), the selected timing threshold can be the configured interactive parameter information displayed on the interactive configuration page. Alternatively, the configuration operation can be a manual input operation performed by the second object, whereby the second object can enter the required information in the information input area for a specific interactive parameter. For example, in the information input area for timing thresholds, the second object can enter the required timing threshold, which can then be displayed on the interactive configuration page. The entered timing threshold can then be the configured interactive parameter information displayed on the interactive configuration page. Alternatively, the configuration operation can be an operation in which the server directly sends out the default configuration of the interactive parameters. For example, the information of the interactive parameter such as the time threshold for virtual interactive types can be sent out by the server by default. Then, when displaying the interactive configuration page, the time threshold sent by the server by default (such as 100s) can be displayed. The default time threshold displayed can be the interactive parameter information configured on the interactive configuration page.
[0236] Specifically, in response to configuration operations on the interactive configuration page, displaying the interactive parameter information of the configured virtual interactive type on the interactive configuration page may include the following steps: If the configuration page includes a first display area for the content type of the virtual interactive type, in response to configuration operations for the virtual content type, the configured content type is displayed in the first display area; the content type belongs to interactive parameter information; the content type is any one of a general type, a text content type, an image content type, or a voice content type. If the configuration page includes a second display area for the interactive content of the virtual interactive type, in response to configuration operations for the interactive content, the configured interactive content is displayed in the second display area; the interactive content belongs to interactive parameter information; the interactive content is any one of text content corresponding to the text content type, image content corresponding to the image content type, or voice content corresponding to the voice content type. If the configuration page includes a third display area for the target receiving object of the virtual interactive type, in response to configuration operations for the target receiving object, the configured target receiving object is displayed in the third display area; the target receiving object belongs to interactive parameter information.
[0237] The first display area can be used to display the content type of the virtual interaction type. This content type indicates the type of interactive content associated with the virtual interaction type. The interactive content can refer to the content associated with the virtual interaction type; for example, the interactive content can be a null value, text content, image content, voice content, etc. The content type belongs to the interactive parameter information; the content type can be any one of a general type, a text content type, an image content type, or a voice content type. Specifically, a general type can be a type where the interactive content of the virtual interaction type is null; a text content type can be a type where the interactive content of the virtual interaction type is text content; an image content type can be a type where the interactive content of the virtual interaction type is image content; and a voice content type can be a type where the interactive content of the virtual interaction type is voice content. Furthermore, the configuration operation for the content type can be an operation of selecting the configured content type from multiple types, and then the configured content type can be displayed in the first display area.
[0238] The second display area can be used to display interactive content for virtual interactive types. Interactive content belongs to interactive parameter information. It should be understood that the interactive content can match the configured content type. For example, when the content type is a general type, general interactive content does not need to be configured, i.e., the interactive content is empty. When the content type is text content, the interactive content can be text content. Furthermore, if the virtual interactive type carries interactive content, the configuration operation for the interactive content can be an operation of entering the object type corresponding to the content type, such as entering text content, entering image content, entering voice content, etc., and then the configured interactive content can be displayed in the first display area.
[0239] The third display area can be used to display the target receiving object of the virtual interaction type. The target receiving object belongs to the interaction parameter information. This target receiving object can be the object directly sent to by the configured virtual interaction type, that is, the object directly receiving the virtual interaction type published by the second object. It can be understood that if the interaction configuration page is triggered for a single object, the configuration operation for the target receiving object can be the operation of configuring the single object targeted by the interaction configuration page as the default target receiving object. Optionally, if the interaction configuration page is triggered for a group chat session, the configuration operation for the target receiving object can be the operation of selecting the target receiving object from the group chat members in the group chat session in the third display area, such as selecting the first object in the group chat session as the target receiving object.
[0240] It is understood that the interaction parameter information may also include other interaction parameter information, such as the interaction type style mentioned above, the maximum number of times the virtual interaction type can be propagated, and so on. Optionally, the interaction parameter information may also include a first interaction identifier associated with the virtual interaction type, thereby allowing the configuration object of the virtual interaction type to configure the identifier that replaces the identifier of the effective receiving object, which helps to improve user engagement.
[0241] S303. In response to the confirmation operation for the interactive parameter information, display the interactive message corresponding to the virtual interactive type on the second message page.
[0242] It should be understood that a confirmation operation for interactive parameter information can refer to an operation used to confirm the configured interactive parameter information. For example, a confirmation operation for interactive parameter information can be a trigger operation for a confirmation control used to confirm interactive parameter information, such as clicking a confirmation control used to confirm interactive parameter information.
[0243] Specifically, the interaction parameter information includes the target receiving object of the virtual interaction type, and the target receiving object is the first object that has an association with the second object corresponding to the second client; then, in response to the confirmation operation of the interaction parameter information, displaying the interaction message corresponding to the virtual interaction type on the second message page may include the following steps: in response to the confirmation operation of the interaction parameter information, sending the interaction message corresponding to the virtual interaction type to the first client corresponding to the first object, and displaying the interaction message corresponding to the virtual interaction type on the second message page.
[0244] It should be understood that when confirming the interaction parameter information, an interaction message carrying the virtual interaction type can be sent to the first client corresponding to the first object. The interaction message carrying the virtual interaction type can then be displayed on the second message page, thereby publishing the configured virtual interaction type to the first object. Specifically, the process of sending the interaction message carrying the virtual interaction type to the first client corresponding to the first object can involve submitting the interaction parameter information to the server, which can then generate an interaction message based on the interaction parameter information. The server then sends this interaction message to the first client and also to the second client.
[0245] Specifically, in response to a confirmation operation on the interactive parameter information, displaying the interactive message corresponding to the virtual interactive type on the second message page may include the following steps: in response to a confirmation operation on the interactive parameter information, sending the interactive parameter information to the server associated with the second client; receiving interactive message data determined by the server based on the interactive parameter information; the interactive message data includes message description content and timing animation associated with the virtual interactive type; when a message template associated with the virtual interactive type is obtained, filling the message template with message description content and timing animation, and displaying the interactive message corresponding to the virtual interactive type on the second message page based on the filled message template.
[0246] The server's processing method upon receiving the interactive parameter information submitted by the second client can be referred to the above description and will not be repeated here. Similarly, the method of displaying the interactive message corresponding to the virtual interactive type on the second message page can be referred to the above description of displaying the interactive message corresponding to the virtual interactive type on the first message page and will not be repeated here.
[0247] It is understandable that, based on the above description, the second message page can be a page for the first object to have a conversation with the second object, or it can be an information display page for the first object.
[0248] Specifically, the interactive message is sent to the first object corresponding to the first client. Therefore, in response to a confirmation operation on the interactive parameter information, displaying the interactive message corresponding to the virtual interactive type on the second message page may include the following steps: If the second message page is a second session page, then in response to a confirmation operation on the interactive parameter information, displaying the interactive message corresponding to the virtual interactive type in the session display area of the second session page; the second session page refers to the session page used for the second object corresponding to the second client to conduct a session with the first object. If the second message page is an information display page used to display object information of the first object, then in response to a confirmation operation on the interactive parameter information, displaying the interactive message corresponding to the virtual interactive type in the interactive display area of the information display page.
[0249] It is understandable that the second conversation page can be the page where the first object and the second object in the second client engage in conversation. It should be understood that the display effect of interactive messages on the second conversation message page can refer to the relevant descriptions above, and will not be repeated here.
[0250] The interactive display area can be any area on the information display page used to display interactive messages. This interactive display area can be any area on the information display page; for example, it can be the background image display area (i.e., the area used to display the background image of the first object), or it can display other areas on the information display page that are different from the background image display area, such as areas used to display interactive messages. The display effect of interactive messages in the interactive display area can be referred to the relevant descriptions above, and will not be repeated here.
[0251] It should be understood that interactive messages displayed on the second session page can be simultaneously displayed on the first object's information display page. Similarly, interactive messages displayed on the first object's information display page can also be simultaneously displayed on the second session page; this is not a limitation.
[0252] S304. When the timeout duration corresponding to the interactive message reaches the timeout threshold, play the interactive animation and update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
[0253] It is understandable that the method of playing interactive animations and updating the message description of interactive messages to the corresponding interactive description in the second client can refer to the relevant descriptions above for playing interactive animations and updating the message description of interactive messages to the corresponding interactive description in the first client, and will not be repeated here.
[0254] Specifically, when the timeout duration corresponding to the interactive message reaches the timeout threshold, an interactive animation is played, and the message description content of the interactive message is updated to display the interactive description content corresponding to the interactive animation. This includes: receiving an interactive activation message sent by the server; the interactive activation message is sent by the server when it determines that the timeout duration corresponding to the interactive message has reached the timeout threshold; playing the interactive animation based on the message template, and updating the message description content in the message template to display the interactive description content corresponding to the interactive animation.
[0255] It should be understood that the process of displaying the effect of the interactive effect message sent by the service in the second client can be referred to the relevant description of the effect display in the first client based on the interactive effect message sent by the service, and will not be repeated here.
[0256] Optionally, when the virtual interaction type published by the second object takes effect, the identifier of the second object can be updated to indicate that the virtual interaction type it published has taken effect, thereby enhancing interactivity.
[0257] Specifically, the interactive message carries the identifier of the second object corresponding to the second client; therefore, the embodiments of this application may further include the following steps: the method further includes: when the time duration corresponding to the interactive message reaches the time threshold, in the second message page, the identifier of the second object in the interactive message is updated and displayed as the second interactive identifier associated with the virtual interactive type.
[0258] The second interaction identifier can be an identifier that updates the display of the second object's identifier when the virtual interaction type takes effect. The method for updating the second object's identifier to the second interaction identifier can refer to the relevant description above, and will not be repeated here. The identifier style of this second interaction identifier can be different from that of the first interaction identifier. For example, if the second object launches a virtual bomb, and the virtual bomb takes effect against the first object, the first object's identifier is updated to the first interaction identifier, such as the first object's avatar being displayed as an image of a person attacked by the virtual bomb, and the second object's identifier is updated to the second interaction identifier, such as adding an avatar widget to the second object's identifier to indicate that the virtual bomb attack was successful (i.e., the virtual bomb took effect).
[0259] It should be understood that the process of displaying interactive messages is explained here in conjunction with an operation sequence diagram. Please refer to the diagram. Figure 16 , Figure 16 This is an interactive timing diagram for sending interactive messages provided in an embodiment of this application. For example... Figure 16 As shown, the first object can click on the interactive component in the second client (step S1601), and the interactive component is displayed on the interactive page. Then, the second client initiates a request to the server to configure the virtual interaction type (step S1602), and the server can return the interaction configuration page to the second client (step S1603). Then, the second client can render and display the interaction configuration page (step S1604). Furthermore, the second object can configure interaction parameter information on the interaction configuration page (step S1605), and the second object performs a confirmation operation on the configured interaction parameter information (step S1606). Then, the second client can submit the interaction parameter information to the server (step S1607). Furthermore, the server can create a virtual interaction type (step S1608), such as generating an interaction type identifier for the virtual interaction type. Then, the server can return the interaction type identifier of the virtual interaction type to the second client (step S1609). Furthermore, the second client can render and display the interactive message (step S1610).
[0260] It should be understood that the process of displaying and disseminating virtual interactive types is explained here in conjunction with an operational sequence diagram. Please refer to [link / reference]. Figure 17 , Figure 17This is an interaction timing diagram for a type of virtual interaction provided in an embodiment of this application. For example... Figure 17 As shown, the first object can execute a trigger operation on the propagation control in client 1 (step S1701), then client 1 can initiate a propagation request to the server (step S1702), which can carry the unique identifier of the first object. Then, the server can return a list of associated objects of the first object to client 1 (step S1703), i.e., the first object's friend list, and then client 1 can render a propagation object selection page (step S1704), which can include the list of associated objects of the first object. The first object can select a target object in the propagation object selection page (step S1705) and perform a selection operation on the target object (step S1706). Furthermore, client 1 can submit the interaction type identifier of the virtual interaction type and the unique identifier of the target object to the server (step S1707), then the server can check whether the virtual interaction type can be propagated (step S1708), i.e., perform propagation verification on the virtual interaction type, such as checking whether the timing duration of the interaction message reaches the timing threshold of the virtual interaction type, and checking whether the number of propagations meets a certain propagation number condition. For details, please refer to the above description; it will not be repeated here. Optionally, if the check passes (e.g., the timeout period does not reach the timeout threshold for the virtual interaction type), the server can update the receiving object of the virtual interaction type to the target object (step S1709) and notify client 1 (step S1711) so that client 1 can render the interaction propagation message (step S1713), and can notify client 2 of the target object (step S1710) so that client 2 can render the interaction propagation message (step S1712). Optionally, if the check fails (i.e., the timeout period exceeds the timeout threshold for the virtual interaction type), the server can return a propagation failure message to client 1 (step S1714) so that client 1 can render the propagation failure message (step S1715).
[0261] It should be understood that the process of enabling virtual interaction types is explained here in conjunction with an operation sequence diagram. Please refer to [link / reference]. Figure 18 , Figure 18 This is a timing diagram illustrating the activation of a virtual interaction type provided in an embodiment of this application. For example... Figure 18 As shown, the second object can configure the virtual interaction type through the second client (step S1801). Then, the second client can submit interaction parameter information to the server (step S1802), and the server stores the virtual interaction type (step S1803) and can return the interaction type identifier of the virtual interaction type to the second client (step S1804). Then, the server can notify the second object that the virtual interaction type has been sent (step S1805).
[0262] It should be understood that the server can continuously check whether the timeout period has reached the timeout threshold (step S1806). When the timeout period reaches the timeout threshold, the server updates the object status of the virtual interaction type to "interaction active status" (step S1807). Furthermore, the server can send interaction active information to the first client (step S1808) and the second client (step S1809) so that the first client can render the active effect (step S1811) and the second client can render the active effect (step S1810). The first client can notify the server to confirm the rendering is complete (step S1813) and display the active effect on the first client (step S1815). The second client can notify the server to confirm the rendering is complete (step S1812) and display the active effect on the second client (step S1814). Furthermore, the server can update the statistical information of the virtual interaction type (step S1816), such as the number of business objects to which the virtual interaction type has been propagated and the number of business objects to which it is active.
[0263] Understandably, a core rule of virtual interaction types is the time limit. That is, the recipient of a virtual interaction type must transmit the virtual interaction type within a specified time. Otherwise, the virtual interaction type will take effect. An effective virtual interaction type will produce corresponding effects. For example, special interactive animations can be displayed in the interaction message, the message description of the interaction message can be updated to interactive description information indicating that the virtual interaction type is effective, and special effects can be produced on the recipient when the virtual interaction type is effective, such as replacing the recipient's avatar or updating the display style of the recipient's conversation message to a special interactive display style.
[0264] This section explains the rules for implementing this timeout limit on the server, with illustrations. Please refer to [link / reference]. Figure 19 , Figure 19 This is a schematic diagram of a timing method provided in an embodiment of this application. Figure 19As shown, the server can determine the record of the virtual interaction type from the database (step S1901a). This can be done by determining the record based on the interaction type identifier, and then determining whether the virtual interaction type is configured with a timer (step S1902a). If the virtual interaction type is configured with a timer, the process ends (step S1903a). If the virtual interaction type is not configured with a timer, the current time is obtained (step S1904a), and then it is determined whether the current time is greater than or equal to the effective time (step S1905a). If the current time is greater than or equal to the effective time, the virtual interaction type is confirmed to be effective (step S1908a). If the current time is less than the effective time, a timer is configured for the virtual interaction type (step S1906a), and the virtual interaction type is confirmed to be effective when the current time reaches the effective time (step S1907a). This timer can calculate the time difference between the current time and the effective time. If the time difference between the current time and the effective time is 0, it indicates that the current time has reached the effective time. It should be understood that the effective time can be determined based on the time when the client notifies the server to start timing and a timing duration threshold (e.g., adding the timing duration threshold to the time when the server starts timing to obtain the effective duration). Therefore, when the effective time is reached at the current time, it indicates that the timing duration has reached the timing duration threshold. Furthermore, upon determining that the virtual interaction type is effective, the effective virtual interaction type produces a special effect on the currently receiving object (step S1909a), the virtual interaction type status is updated to "interaction effective status" (step S1910a), and the client is notified that the virtual interaction type has taken effect (step S1911a).
[0265] For example, here is pseudocode for the server-side timing process:
[0266]
[0267]
[0268] When a new virtual interaction type is created, the server starts a timer (e.g., using the `start_bomb_timer` function mentioned above). When the virtual interaction type's effective time arrives (i.e., the timeout period reaches the threshold), the timer automatically calls the virtual interaction type's activation function (e.g., the `explode_bomb` function) to make the virtual interaction type effective. When the virtual interaction type becomes effective, it will produce a special effect on the current holder (i.e., the current holder of the virtual interaction type will have their style updated), and the virtual interaction type's status can be updated to "interaction active," notifying the client that the virtual interaction type has become effective.
[0269] Understandably, after receiving the interaction activation message from the virtual interaction message, the client (such as the first client and the second client) can render and display the corresponding activation effect, and can cancel the displayed activation effect after certain conditions are met.
[0270] The process of how this effect changes is illustrated here. Please refer to the diagram. Figure 20 , Figure 20 This is a schematic diagram illustrating the process of displaying the effect provided in an embodiment of this application. For example... Figure 20 As shown, the client receives the interaction activation message of the virtual interaction type (step S2001a). The client can receive the interaction activation message pushed by the server in real time through long connection technologies such as WebSocket (a communication method). Then, the client displays the activation effect of the virtual interaction type (step S2002a). For example, an interactive animation can be played in the interaction message, and the identifier of the receiving object when the virtual interaction type takes effect can be updated to the interaction identifier, such as updating the avatar to an avatar with special effects. Specifically, the client can also parse the interaction activation message to extract key information such as the interaction type identifier of the interactive virtual object, the activation timestamp, the sender ID (i.e., the unique identifier of the sending object), and the receiver ID (i.e., the unique identifier of the receiving object). Furthermore, the client can search for the URL of the avatar with special effects to be updated in the corresponding storage area of the client based on the IDs of the sender (sending object, such as the second object) and receiver (receiving object, such as the first object) of the virtual interaction type. Furthermore, the URLs of the original avatars of the sender and receiver of the virtual interaction type can be replaced with the URLs of predefined avatars with special effects associated with the virtual interaction type. Subsequently, the avatars displayed on the page can be updated to display avatars with special effects (such as the first interaction identifier), so that the avatars displayed on the page are replaced with avatars with special effects.
[0271] Furthermore, the termination condition for the effect can be determined (step S2003a). This termination condition can refer to the conditions that end the effect, such as termination conditions for interactive animations (the display duration of the interactive animation reaches a certain threshold), or restoration conditions for the identifier of the currently receiving object (specific conditions can be referred to the above descriptions, such as the effective duration reaching a certain time threshold, the number of session messages sent by the business object after the virtual interaction type reaching a certain threshold, etc.). Then, it is determined whether the termination condition for the effect has been met (step S2004a). If the termination condition has not been met, the effect can be maintained (step S2005a). If the termination condition has been met, the effect is canceled (step S2006a), such as canceling the interactive animation and restoring the avatar of the currently receiving object to its original avatar.
[0272] For example, the effect produced when a virtual interaction type is applied can be represented using the following code:
[0273]
[0274]
[0275] Furthermore, once the special effects (i.e., the effects that take effect) are rendered on the client side, the client can send a confirmation message to the server indicating that the rendering of the effects is complete.
[0276] Furthermore, upon receiving a request for a virtual interaction type to take effect (e.g., a request generated when a timer for the virtual interaction type is triggered), the server first checks whether the virtual interaction type is valid (i.e., whether the virtual interaction type has been created and whether it has not taken effect or has not been terminated), and whether the current time has reached the effective time. If the checks pass, the status of the virtual interaction type in the database is updated to "interaction effective status," and the corresponding processing method is as follows:
[0277]
[0278] Furthermore, the server can push interaction activation messages to the sender and receiver clients of virtual interaction types in real time via long-lived connections. The content can include at least:
[0279] Interaction type identifier for virtual interaction types;
[0280] Effective date;
[0281] A unique identifier for the sending object of the virtual interaction type;
[0282] A unique identifier for the receiving object of the virtual interaction type.
[0283] Furthermore, the server can wait for the client to return a confirmation message indicating that the rendering of the effect is complete. Upon receiving the confirmation, the server updates the statistics associated with the virtual interaction type, such as the number of times the same virtual interaction type has taken effect (e.g., if a virtual interaction type is simultaneously propagated to multiple business objects, multiple effective virtual interaction types may occur), the number of business objects whose effects were triggered by the virtual interaction type, and the number of business objects to which the virtual interaction type was propagated.
[0284]
[0285]
[0286] It should be understood that the client and server efficiently and promptly present the visual effects of the bomb explosion through a combination of real-time communication and local rendering. Simultaneously, the server plays a crucial coordinating role throughout the process, controlling the bomb's lifecycle and state transitions, and collecting data on effective virtual interaction types for subsequent statistical analysis. This approach fully leverages the client's advantages in UI rendering while utilizing the server's strengths in data consistency and global scheduling. This allows for better lifecycle management of virtual interaction types. For example, each bomb needs to undergo a publish-propagate-settlement process, and each virtual interaction type has its own timing threshold, requiring unified scheduling and management on the server side. For a massive number of bomb objects, it's essential to efficiently maintain their states and accurately execute object activation operations when timing thresholds are reached.
[0287] It should be understood that a server can record various information tables to manage virtual interaction types. For example, the multiple information tables recorded by the server may include: interaction object table, business object table, session table, effectiveness record table, propagation record table, business object relationship table, and so on.
[0288] This section provides an introduction to these information tables with illustrations. Please refer to [link / reference]. Figure 21 , Figure 21 This is a schematic diagram illustrating the effect of an information table provided in an embodiment of this application. The interactive object table (such as...) Figure 21 As shown in 2101a), it is used to store detailed information for each virtual interaction type, comprehensively record and manage the status and propagation of each virtual interaction type, and the main fields include:
[0289] id: A unique identifier for the virtual interaction type, i.e., the interaction type identifier for the virtual interaction type;
[0290] creator_id: The user ID (i.e., unique identifier) of the creator (i.e., the publishing object) of the virtual interaction type;
[0291] receiver_id: The user ID (i.e., unique identifier) of the current receiver (i.e., the current receiving object) of the virtual interaction type;
[0292] create_time: The creation time of the virtual interaction type;
[0293] explode_time: The effective time of virtual interaction types;
[0294] status: The current state of the virtual interaction type (such as pending propagation, propagation, interaction active, interaction stopped, etc.);
[0295] type: The content type of virtual interaction (such as general type, text content type / image content type / voice content type);
[0296] content: Interactive content of the virtual interactive type (corresponding to the type field);
[0297] spread_count: The current number of times the virtual interaction type has been spread;
[0298] spread_limit: The maximum number of times a virtual interaction type can be spread.
[0299] Business object table (e.g.) Figure 21 As shown in 2102a), also known as the User table, it stores information about business objects that interact through virtual interaction types. It records the participation and performance of each business object during the virtual interaction process, providing a data foundation for gamification and socialization. Key fields include:
[0300] id: A unique identifier for a business object (such as a user);
[0301] nickname: The name of the business object;
[0302] avatar: The URL (Uniform Resource Locator) of the business object's avatar;
[0303] created_bombs: The number of virtual interaction types created (also known as published) by the business object;
[0304] received_bombs: The number of virtual interaction types received by the business object;
[0305] exploded_bombs: The number of virtual interaction types that are active for the business object;
[0306] score: The points a business object earns in interactive gameplay of virtual interaction types. For example, the points can be determined based on the number of times the sent virtual interaction type has been effective on other objects and the number of times the received virtual interaction type has been effective.
[0307] Session table (e.g.) Figure 21 As shown in 2103a), also known as the ChatMessage table, it is used to store messages between business objects and records of the propagation of virtual interaction types. It is an important data source for analyzing the propagation effect of virtual interaction types. Key fields include:
[0308] id: A unique identifier for the message;
[0309] from_user_id: The user ID of the message sender (i.e., the unique identifier of the business object);
[0310] to_user_id: The user ID of the message recipient (i.e., the unique identifier of the business object);
[0311] type: The type of message (e.g., text message, image message, voice message, interactive message with virtual interaction, etc.);
[0312] content: The content of the message, such as text, images, voice, virtual interaction types, etc.;
[0313] bomb_id: If the message is an interactive message carrying a virtual interactive type, the interactive type identifier associated with the virtual interactive type;
[0314] create_time: The time when the message was sent.
[0315] Punishment Record (e.g.) Figure 21 As shown in 2104a, this record is used to store the style update of the business object targeted by the effective virtual interaction type (that is, to update the element display style of the business object targeted by the effective virtual interaction type to the effective display style). The main fields include:
[0316] id: A unique identifier for the effective record;
[0317] user_id: The ID of the business object to which the effective virtual interaction type is targeted;
[0318] bomb_id: The interaction type identifier that triggers the style update of the virtual interaction type;
[0319] punish_type: The type of style update to be performed (replacing the avatar, adding avatar widgets, message display style effects, etc.);
[0320] start_time: The start time for style updates;
[0321] end_time: The end time of the style update;
[0322] status: The status of the style update (in progress / completed);
[0323] Bomb Spread Record (e.g.) Figure 21 As shown in 2105a, this is used to store records of each transmission of the virtual interaction type, and the main fields include:
[0324] id: A unique identifier for the propagation record;
[0325] bomb_id: The interaction type identifier for virtual interaction types;
[0326] from_user_id: The sender's ID (i.e., a unique identifier) for virtual interaction types;
[0327] to_user_id: The ID (i.e., unique identifier) of the recipient of the virtual interaction type;
[0328] spread_time: The propagation time of a virtual interaction type, that is, the time it takes for the sender to propagate the virtual interaction type to the receiver;
[0329] Business object relationship table (UserRelation) (e.g.) Figure 21 As shown in 2106a, this is used to store the relationships between business objects, and its main fields include:
[0330] id: A unique identifier for a relational record;
[0331] user_id: A unique identifier for the business object;
[0332] friend_id: The ID of the business object that establishes a friend relationship with the business object;
[0333] add_time: The time when the friendship was established.
[0334] Among them, such as Figure 21As shown, the relationship between the interaction object table and the business object table can be that a business object creates or receives a virtual interaction type. Specifically, when a business object indicated by a certain interaction object table creates a virtual interaction type, a new interaction object table can be created (the creating object in this table is the business object indicated by that interaction object table). When a business object indicated by a certain interaction object table receives a virtual interaction type, the receiving object in the corresponding business interaction object table can be identified as the business object indicated by that interaction object table. The relationship between the interaction object table and the propagation record table can be that a virtual interaction type is propagated. Specifically, when the propagation record of the object indicated by a certain interaction object table is propagated, a corresponding propagation record table can be generated. The relationship between the interaction object table and the effectiveness record table can be that a virtual interaction type is the reason for the generation of the effectiveness record table. Specifically, when a virtual interaction type indicated by a certain interaction object table becomes effective, an effectiveness record table for that virtual interaction type can be created. The relationship between the interaction object table and the session table can be exemplified by sending messages corresponding to virtual interaction types. Specifically, when a business object sends a message corresponding to a virtual interaction type indicated by a certain interaction object table, a new session table corresponding to that virtual interaction type can be created, including the interaction type identifier of that virtual interaction type. The relationship between the business object table and the propagation record table can be exemplified by business objects sending or receiving virtual interaction types. Specifically, when a business object indicated by one business object table propagates a virtual interaction type to a business object indicated by another business object table, a corresponding propagation record table can be generated, with the sending and receiving objects in this propagation record table being the business objects indicated by the corresponding business object tables. The relationship between the business object table and the object relationship table can be exemplified by business objects adding friends (i.e., establishing a friend relationship). Specifically, when business objects indicated by two business object tables establish a friend relationship, a new object relationship table is created, which can include the business objects indicated by both business object tables. The relationship between the business object table and the session table can be exemplified by business object tables sending or receiving messages. Specifically, when business objects indicated by various business object tables send or receive a certain session message, a new session table can be created for that session message. The relationship between the business object table and the effect record table can be used to update the style of a business object. Specifically, the effect record table can record the time information (such as the start time and end time of the style update) of the virtual interaction type on the business object indicated by a certain business object table.
[0335] It should be understood that by introducing the activation record table, propagation record table, and business object relationship table, various data in the interactive gameplay of "virtual interaction type" can be recorded and managed more comprehensively, providing data support for gamified operation and social network analysis. At the same time, linking these information tables with the core interaction object table, business object table, and session table forms a complete data model, which can efficiently support the implementation of "virtual interaction type" functions.
[0336] Please see Figure 22 , Figure 22 This is a schematic diagram of the structure of a message display device provided in an embodiment of this application. For example... Figure 22 As shown, the message display device 1 may run on the first client; it is understood that the message display device 1 can be used to execute the corresponding steps in the message display method provided in the embodiments of this application. Figure 22 As shown, the message display device 1 may include: a first message display module 11 and a first interaction module 12;
[0337] The first message display module 11 is used to display interactive messages corresponding to virtual interaction types on a first message page; the interactive message refers to a message sent by a second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least a timing threshold for triggering the interactive animation of the virtual interaction type;
[0338] The first interactive module 12 is used to play the interactive animation when the timing duration corresponding to the interactive message reaches the timing threshold, and to update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
[0339] The message display device 1 also includes a transmission module 13;
[0340] Propagation module 13 is specifically used for:
[0341] Within the timing threshold, in response to a propagation operation for the virtual interaction type corresponding to the interactive message, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object indicated by the propagation operation; the target object is an object that has an association relationship with the first object corresponding to the first client.
[0342] The associated display area of the interactive message displays a propagation control for propagating the virtual interaction type;
[0343] Specifically, the propagation module 13 is used for:
[0344] In response to a trigger operation on the propagation control, a propagation object selection page is displayed; the propagation object selection page includes target objects that are associated with the first object;
[0345] In response to the selection operation for the target object, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object.
[0346] The first message page contains the identifier of the first object corresponding to the first client;
[0347] The message display device 1 also includes: an identifier update module 14;
[0348] The identifier update module 14 is specifically used for:
[0349] When the timeout period corresponding to the interactive message reaches the timeout threshold, the identifier of the first object in the first message page is updated and displayed as the first interactive identifier associated with the virtual interactive type.
[0350] The identifier update module 14 is also used for:
[0351] In the associated display page that displays the identifier of the first object, the identifier of the first object is synchronously updated to the first interaction identifier associated with the virtual interaction type; the associated display page refers to any page different from the first message page used to display the identifier of the first object.
[0352] The message display device 1 also includes: an identifier recovery module 15;
[0353] The identification recovery module 15 is specifically used for:
[0354] When the first interactive identifier meets the identifier restoration condition, the first interactive identifier in the first message page is restored to the identifier of the first object, and the first interactive identifier in the associated display page is also restored to the identifier of the first object.
[0355] The object state of the virtual interaction type includes the interaction activation state, which is determined when the time duration corresponding to the interaction message reaches the time threshold.
[0356] The identification recovery module 15 is specifically used for:
[0357] If the cumulative duration of the virtual interaction type object's status as an interactive active state reaches the active duration threshold, then the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will also be restored to the identifier of the first object simultaneously.
[0358] If the first type of conversation message displayed on the first conversation page meets the message conditions of the virtual interaction type, then the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will be simultaneously restored to the identifier of the first object; the first message page includes the first conversation page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client have a conversation; the first type of conversation message refers to the conversation message carrying the first interaction identifier.
[0359] The first message page includes a first session page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client have a session; the object status of the virtual interaction type includes an interaction active status, which is determined when the time duration corresponding to the interaction message reaches the time threshold.
[0360] The message display device 1 further includes: a message sending module 16;
[0361] Message sending module 16 is specifically used for:
[0362] When the object state of the virtual interaction type is in the interaction active state, in response to the message sending operation of the first object to the second object, a first type of session message with the interactive display style associated with the interactive animation is displayed on the first session page; the first type of session message refers to a session message carrying a first interaction identifier associated with the virtual interaction type, and the first interaction identifier is obtained by updating the identifier of the first object.
[0363] The message display device 1 also includes: a style restoration module 17;
[0364] Style restoration module 17, specifically used for:
[0365] If the cumulative number of first-type conversation messages displayed on the first conversation page reaches the cumulative number threshold, then in response to the first object's message sending operation for the second object, the second-type conversation message with the message display style corresponding to the first object is displayed on the first conversation page; the second-type conversation message refers to a conversation message carrying the identifier of the first object, and the first interaction identifier is obtained by updating the identifier of the first object;
[0366] If the first type of session message displayed on the first session page carries message indication content that matches the identifier of the recovery task, then in response to the message sending operation of the first object to the second object, the second type of session message with the message display style corresponding to the first object is displayed on the first session page.
[0367] If the duration of the interactive active state of the object reaches the active duration threshold, then in response to the message sending operation of the first object to the second object, the second type of conversation message corresponding to the message display style of the first object is displayed on the first conversation page.
[0368] The first message page includes a first session page, which refers to the page on which the first object corresponding to the first client and the second object corresponding to the second client conduct a session; the interaction description content carries task description information of the interaction task configured by the second object in the interaction configuration page;
[0369] The message display device 1 also includes: a timing stop module 18;
[0370] The timing stop module 18 is specifically used for:
[0371] Within the time threshold, in response to the task execution operation of the interactive task indicated by the interactive message, the task execution information corresponding to the interactive task is displayed on the first session page; the task execution information is used to instruct the server to perform a time-stop operation on the time duration corresponding to the interactive message within the time threshold, and generate a stop prompt message corresponding to the time-stop operation;
[0372] Upon receiving the termination notification from the server, update the message description of the interactive message to display the termination notification.
[0373] The interactive message includes a timing animation to display the duration of the timing;
[0374] The message display device 1 also includes: a timing animation display module 19;
[0375] Timing animation display module 19 is specifically used for:
[0376] If the timing animation is a timing value animation of the virtual interaction type, then the timing value animation is displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page;
[0377] If the timing animation is a timing progress animation of the virtual interaction type, then the timing progress animation is displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page;
[0378] If the timing animation is a timing color animation of the virtual interaction type, then the timing color animation is displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page.
[0379] The message display device 1 also includes: a history query module 1901;
[0380] Historical query module 1901 is specifically used for:
[0381] In response to an interaction history query operation between the first object corresponding to the first client and the second object corresponding to the second client, an interaction history page is displayed; the interaction history page is used to display interaction records of historical virtual interaction types between the first object and the second object.
[0382] The first message display module 11 is specifically used for:
[0383] The system receives interactive message data sent by a server associated with the first client; the interactive message data is determined by the server based on the interactive parameter information submitted by the second client; the interactive message data includes message description content and timing animation associated with the virtual interaction type.
[0384] When a message template associated with the virtual interaction type is obtained, the message description content and the timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the first message page based on the filled message template.
[0385] The first interactive module 12 is specifically used for:
[0386] Receive an interaction activation message sent by the server; the interaction activation message is sent by the server when it determines that the timeout duration corresponding to the interaction message has reached the timeout threshold;
[0387] Play the interactive animation based on the message template, and update the message description content in the message template to display the interactive description content corresponding to the interactive animation.
[0388] Please see Figure 23 , Figure 23 This is a schematic diagram of the structure of a message display device provided in an embodiment of this application. For example... Figure 23 As shown, the message display device 2 can run on a second client; it is understood that the message display device 2 can be used to execute the corresponding steps in the message display method provided in the embodiments of this application. Figure 23 As shown, the message display device 2 may include: a configuration trigger module 21, a parameter configuration module 22, a second message display module 23, and a second interaction module 24;
[0389] The configuration trigger module 21 is used to display the interactive configuration page corresponding to the interactive component in response to a trigger operation on the interactive component when an interactive component is displayed on the interactive page.
[0390] The parameter configuration module 22 is used to display the interaction parameter information of the configured virtual interaction type on the interaction configuration page in response to the configuration operation of the interaction configuration page; the interaction parameter information includes at least a timing threshold for triggering the interactive animation of the virtual interaction type;
[0391] The second message display module 23 is used to display the interactive message corresponding to the virtual interactive type on the second message page in response to the confirmation operation for the interactive parameter information.
[0392] The second interactive module 24 is used to play the interactive animation when the timing duration corresponding to the interactive message reaches the timing threshold, and to update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
[0393] Specifically, parameter configuration module 22 is used for:
[0394] If the configuration page includes a first display area for content types specific to virtual interaction types, in response to a configuration operation for the content type, the configured content type is displayed in the first display area; the content type belongs to the interaction parameter information; the content type is any one of a general type, a text content type, an image content type, or a voice content type.
[0395] If the configuration page includes a second display area for interactive content of the virtual interaction type, in response to the configuration operation for the interactive content, the configured interactive content is displayed on the second display area; the interactive content belongs to the interactive parameter information; the interactive content is any one of the text content corresponding to the text content type, the image content corresponding to the image content type, or the voice content corresponding to the voice content type.
[0396] If the configuration page includes a third display area for the target receiving object of the virtual interaction type, in response to the configuration operation for the target receiving object, the configured target receiving object is displayed on the third display area; the target receiving object belongs to the interaction parameter information.
[0397] The interactive parameter information includes the target receiving object of the virtual interactive type, and the target receiving object is the first object that has an association relationship with the second object corresponding to the second client;
[0398] The second message display module 23 is specifically used for:
[0399] In response to the confirmation operation for the interaction parameter information, an interaction message carrying the virtual interaction type is sent to the first client corresponding to the first object, and the interaction message corresponding to the virtual interaction type is displayed on the second message page.
[0400] The interactive message is used to send to the first object corresponding to the first client;
[0401] The second message display module 23 is specifically used for:
[0402] If the second message page is a second session page, then in response to the confirmation operation for the interaction parameter information, the interaction message corresponding to the virtual interaction type is displayed in the session display area of the second session page; the second session page refers to the session page used for the second object corresponding to the second client to have a conversation with the first object;
[0403] If the second message page is an information display page for displaying object information of the first object, then in response to the confirmation operation for the interaction parameter information, the interaction message corresponding to the virtual interaction type is displayed in the interaction display area of the information display page.
[0404] The interactive message carries the identifier of the second object corresponding to the second client;
[0405] The message display device 2 further includes: a second identifier update module 25;
[0406] The second identifier update module 25 is specifically used for:
[0407] When the timeout period corresponding to the interactive message reaches the timeout threshold, the identifier of the second object in the interactive message is updated and displayed as the second interactive identifier associated with the virtual interactive type on the second message page.
[0408] The second message display module 23 is specifically used for:
[0409] In response to a confirmation operation regarding the interaction parameter information, the interaction parameter information is sent to the server associated with the second client;
[0410] The system receives interactive message data determined by the server based on the interactive parameter information; the interactive message data includes message description content and timing animation associated with the virtual interaction type.
[0411] When a message template associated with the virtual interaction type is obtained, the message description content and the timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the second message page based on the filled message template.
[0412] The second interactive module 24 is specifically used for:
[0413] Receive an interaction activation message sent by the server; the interaction activation message is sent by the server when it determines that the timeout duration corresponding to the interaction message has reached the timeout threshold;
[0414] Play the interactive animation based on the message template, and update the message description content in the message template to display the interactive description content corresponding to the interactive animation.
[0415] Please see Figure 24 , Figure 24 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 24 As shown, the computer device 1000 may include a processor 1001, a network interface 1004, and a memory 1005. Furthermore, the computer device 1000 may also include a user interface 1003 and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Optionally, the memory 1005 may also be at least one storage device located remotely from the processor 1001. Figure 24 As shown, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
[0416] In such Figure 24 In the computer device 1000 shown, the network interface 1004 provides network communication functionality; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to execute the data processing method described in any of the corresponding embodiments above, which will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.
[0417] Furthermore, it should be noted that this application also provides a computer-readable storage medium storing a computer program executed by the aforementioned message display device 1 and message display device 2. The computer program includes program instructions, which, when executed by the processor, enable the execution of the data processing method described in the preceding embodiments; therefore, will not be repeated here. Additionally, the beneficial effects of using the same method will also not be repeated. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this application, please refer to the description of the method embodiments of this application.
[0418] The aforementioned computer-readable storage medium can be the message display device provided in any of the foregoing embodiments or the internal storage unit of the aforementioned computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium may include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0419] Furthermore, it should be noted that this application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. The 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 method provided in any of the preceding corresponding embodiments. Additionally, the beneficial effects of using the same method will not be repeated here. For technical details not disclosed in the embodiments of the computer program product or computer program involved in this application, please refer to the description of the method embodiments of this application.
[0420] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0421] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.
[0422] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0423] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A message display method, characterized in that, The method is executed by a first client, and the method includes: The first message page displays the interactive message corresponding to the virtual interaction type; the interactive message refers to the message sent by the second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least a timing threshold for triggering the interactive animation of the virtual interaction type; When the timeout duration corresponding to the interactive message reaches the timeout threshold, the interactive animation is played, and the message description content of the interactive message is updated to the interactive description content corresponding to the interactive animation.
2. The method according to claim 1, characterized in that, The method further includes: Within the timing threshold, in response to a propagation operation for the virtual interaction type corresponding to the interactive message, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object indicated by the propagation operation; the target object is an object that has an association relationship with the first object corresponding to the first client.
3. The method according to claim 2, characterized in that, The associated display area of the interactive message displays a propagation control for propagating the virtual interaction type; In response to a propagation operation for the virtual interaction type corresponding to the interactive message, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object indicated by the propagation operation, including: In response to a trigger operation on the propagation control, a propagation object selection page is displayed; the propagation object selection page includes target objects that are associated with the first object; In response to the selection operation for the target object, the message description content of the interactive message is updated to the propagation description content corresponding to the propagation operation, and the interactive propagation message corresponding to the virtual interaction type is displayed on the third message page corresponding to the target object indicated by the propagation operation.
4. The method according to claim 1, characterized in that, The first message page contains the identifier of the first object corresponding to the first client; The method further includes: When the timeout period corresponding to the interactive message reaches the timeout threshold, the identifier of the first object in the first message page is updated and displayed as the first interactive identifier associated with the virtual interactive type.
5. The method according to claim 4, characterized in that, The method further includes: In the associated display page that displays the identifier of the first object, the identifier of the first object is synchronously updated to the first interaction identifier associated with the virtual interaction type; the associated display page refers to any page different from the first message page used to display the identifier of the first object.
6. The method according to claim 5, characterized in that, The method further includes: When the first interactive identifier meets the identifier restoration condition, the first interactive identifier in the first message page is restored to the identifier of the first object, and the first interactive identifier in the associated display page is also restored to the identifier of the first object.
7. The method according to claim 1, characterized in that, The object state of the virtual interaction type includes the interaction activation state, which is determined when the time duration corresponding to the interaction message reaches the time threshold; The step of restoring the display of the first interaction identifier as the identifier of the first object in the first message page and simultaneously restoring the first interaction identifier as the identifier of the first object in the associated display page when the first interaction identifier meets the identifier restoration condition includes: If the cumulative duration of the virtual interaction type object's status as an interactive active state reaches the active duration threshold, then the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will also be restored to the identifier of the first object simultaneously. If the first type of conversation message displayed on the first conversation page meets the message conditions of the virtual interaction type, then the first interaction identifier in the first message page will be restored to the identifier of the first object, and the first interaction identifier in the associated display page will be simultaneously restored to the identifier of the first object; the first message page includes the first conversation page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client have a conversation; the first type of conversation message refers to the conversation message carrying the first interaction identifier.
8. The method according to claim 1, characterized in that, The first message page includes a first session page, which refers to the page where the first object corresponding to the first client and the second object corresponding to the second client have a session; the object status of the virtual interaction type includes an interaction active status, which is determined when the time duration corresponding to the interaction message reaches the time threshold; The method further includes: When the object of the virtual interaction type is in the interaction active state, in response to the message sending operation of the first object to the second object, the first type of session message of the interactive display style associated with the interactive animation is displayed on the first session page; The first type of session message refers to a session message that carries a first interaction identifier associated with the virtual interaction type, wherein the first interaction identifier is obtained by updating the identifier of the first object.
9. The method according to claim 8, characterized in that, The method further includes: If the cumulative number of first-type conversation messages displayed on the first conversation page reaches the cumulative number threshold, then in response to the first object's message sending operation for the second object, the second-type conversation message with the message display style corresponding to the first object is displayed on the first conversation page; the second-type conversation message refers to a conversation message carrying the identifier of the first object, and the first interaction identifier is obtained by updating the identifier of the first object; If the first type of session message displayed on the first session page carries message indication content that matches the identifier of the recovery task, then in response to the message sending operation of the first object to the second object, the second type of session message with the message display style corresponding to the first object is displayed on the first session page. If the duration of the interactive active state of the object reaches the active duration threshold, then in response to the message sending operation of the first object to the second object, the second type of conversation message corresponding to the message display style of the first object is displayed on the first conversation page.
10. The method according to claim 1, characterized in that, The first message page includes a first session page, which refers to the page on which the first object corresponding to the first client and the second object corresponding to the second client conduct a session; the interaction description content carries task description information of the interaction task configured by the second object in the interaction configuration page; The method further includes: Within the time threshold, in response to the task execution operation of the interactive task indicated by the interactive message, the task execution information corresponding to the interactive task is displayed on the first session page; the task execution information is used to instruct the server to perform a time-stop operation on the time duration corresponding to the interactive message within the time threshold, and generate a stop prompt message corresponding to the time-stop operation; Upon receiving the termination notification from the server, update the message description of the interactive message to display the termination notification.
11. The method according to claim 1, characterized in that, The interactive message includes a timing animation to display the duration of the timer; the method further includes: If the timing animation is a timing value animation of the virtual interaction type, then the timing value animation is displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page; If the timing animation is a timing progress animation of the virtual interaction type, then the timing progress animation is displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page; If the timing animation is a timing color animation of the virtual interaction type, then the timing color animation is displayed when the interactive message corresponding to the virtual interaction type is displayed on the first message page.
12. The method according to claim 1, characterized in that, The method further includes: In response to an interaction history query operation between the first object corresponding to the first client and the second object corresponding to the second client, an interaction history page is displayed; the interaction history page is used to display interaction records of historical virtual interaction types between the first object and the second object.
13. The method according to claim 1, characterized in that, The display of interactive messages corresponding to the virtual interaction type on the first message page includes: The system receives interactive message data sent by a server associated with the first client; the interactive message data is determined by the server based on the interactive parameter information submitted by the second client; the interactive message data includes message description content and timing animation associated with the virtual interaction type. When a message template associated with the virtual interaction type is obtained, the message description content and the timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the first message page based on the filled message template.
14. The method according to claim 11, characterized in that, The step of playing the interactive animation and updating the message content of the interactive message to the interactive content corresponding to the interactive animation when the timer duration corresponding to the interactive message reaches the timer threshold includes: Receive an interaction activation message sent by the server; the interaction activation message is sent by the server when it determines that the timeout duration corresponding to the interaction message has reached the timeout threshold; Play the interactive animation based on the message template, and update the message description content in the message template to display the interactive description content corresponding to the interactive animation.
15. A message display method, characterized in that, The method is executed by a second client, and the method includes: When an interactive component is displayed on the interactive page, in response to a trigger operation on the interactive component, the interactive configuration page corresponding to the interactive component is displayed; In response to a configuration operation on the interaction configuration page, interaction parameter information of the configured virtual interaction type is displayed on the interaction configuration page; the interaction parameter information includes at least a timing threshold for triggering the interactive animation of the virtual interaction type; In response to a confirmation operation regarding the interactive parameter information, an interactive message corresponding to the virtual interactive type is displayed on the second message page; When the timeout duration corresponding to the interactive message reaches the timeout threshold, the interactive animation is played, and the message description content of the interactive message is updated to the interactive description content corresponding to the interactive animation.
16. The method according to claim 15, characterized in that, In response to a configuration operation on the interaction configuration page, displaying interaction parameter information for the configured virtual interaction type on the interaction configuration page includes: If the configuration page includes a first display area for content types specific to virtual interaction types, in response to a configuration operation for the content type, the configured content type is displayed in the first display area; the content type belongs to the interaction parameter information; the content type is any one of a general type, a text content type, an image content type, or a voice content type. If the configuration page includes a second display area for interactive content of the virtual interaction type, in response to the configuration operation for the interactive content, the configured interactive content is displayed on the second display area; the interactive content belongs to the interactive parameter information; the interactive content is any one of the text content corresponding to the text content type, the image content corresponding to the image content type, or the voice content corresponding to the voice content type. If the configuration page includes a third display area for the target receiving object of the virtual interaction type, in response to the configuration operation for the target receiving object, the configured target receiving object is displayed on the third display area; the target receiving object belongs to the interaction parameter information.
17. The method according to claim 15, characterized in that, The interactive parameter information includes the target receiving object of the virtual interactive type, and the target receiving object is the first object that has an association relationship with the second object corresponding to the second client; In response to a confirmation operation regarding the interactive parameter information, displaying the interactive message corresponding to the virtual interactive type on the second message page includes: In response to the confirmation operation for the interaction parameter information, an interaction message corresponding to the virtual interaction type is sent to the first client corresponding to the first object, and the interaction message corresponding to the virtual interaction type is displayed on the second message page.
18. The method according to claim 15, characterized in that, The interactive message is used to send to the first object corresponding to the first client; In response to a confirmation operation regarding the interactive parameter information, displaying the interactive message corresponding to the virtual interactive type on the second message page includes: If the second message page is a second session page, then in response to the confirmation operation for the interaction parameter information, the interaction message corresponding to the virtual interaction type is displayed in the session display area of the second session page; the second session page refers to the session page used for the second object corresponding to the second client to have a conversation with the first object; If the second message page is an information display page for displaying object information of the first object, then in response to the confirmation operation for the interaction parameter information, the interaction message corresponding to the virtual interaction type is displayed in the interaction display area of the information display page.
19. The method according to claim 15, characterized in that, The interactive message carries the identifier of the second object corresponding to the second client; The method further includes: When the timeout period corresponding to the interactive message reaches the timeout threshold, the identifier of the second object in the interactive message is updated and displayed as the second interactive identifier associated with the virtual interactive type on the second message page.
20. The method according to claim 15, characterized in that, In response to a confirmation operation regarding the interactive parameter information, an interactive message associated with the virtual interactive type is displayed on the second message page, including: In response to a confirmation operation regarding the interaction parameter information, the interaction parameter information is sent to the server associated with the second client; The system receives interactive message data determined by the server based on the interactive parameter information; the interactive message data includes message description content and timing animation associated with the virtual interaction type. When a message template associated with the virtual interaction type is obtained, the message description content and the timing animation are filled into the message template, and the interactive message corresponding to the virtual interaction type is displayed on the second message page based on the filled message template.
21. A message display device, characterized in that, The device is executed by a first client, and the device includes: The first message display module is used to display interactive messages corresponding to virtual interaction types on the first message page; the interactive message refers to a message sent by the second client and received by the first client; the virtual interaction type is configured through the interaction configuration page of the second client; the interaction configuration page is used to configure the interaction parameter information of the virtual interaction type; the interaction parameter information includes at least a timing threshold for triggering the interactive animation of the virtual interaction type; The first interactive module is used to play the interactive animation when the timeout duration corresponding to the interactive message reaches the timeout threshold, and to update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
22. A message display device, characterized in that, The device is executed by a second client, and the device includes: The configuration trigger module is used to display the interaction configuration page corresponding to the interaction component in response to a trigger operation on the interaction component when an interaction component is displayed on the interaction page. A parameter configuration module is used to display interactive parameter information of the configured virtual interactive type on the interactive configuration page in response to a configuration operation on the interactive configuration page; the interactive parameter information includes at least a timing threshold for triggering the interactive animation of the virtual interactive type; The second message display module is used to display the interactive message corresponding to the virtual interactive type on the second message page in response to the confirmation operation for the interactive parameter information. The second interactive module is used to play the interactive animation when the timing duration corresponding to the interactive message reaches the timing threshold, and to update the message description content of the interactive message to the interactive description content corresponding to the interactive animation.
23. A computer device, characterized in that, Including memory and processor; The memory is connected to the processor, the memory is used to store computer programs, and the processor is used to invoke the computer programs so that the computer device performs the method according to any one of claims 1-20.
24. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-20.
25. A computer program product, characterized in that, Includes a computer program / instruction that, when executed by a processor, implements the method according to any one of claims 1-20.