Session-based information display method, device, equipment, medium, and program product
By displaying the catapult animation of emoticon elements in the instant messaging session interface, the problem of single expression element display method is solved, the utilization rate of graphics processing resources and user interaction is improved, and the user's diverse information display needs are met.
Patent Information
- Application Number
- CN202111441440.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-11-30
AI Technical Summary
The display method of emoticon elements in existing instant messaging technology is single, resulting in a low utilization rate of graphics processing resources.
Emoticon elements are presented in the conversation interface, and the catapult guidance information and animation are displayed in response to the catapult operation. The catapult process of emoticon elements is displayed in the interface through the catapult command, including direction adjustment and movement of multiple expression copies, accompanied by changes in size.
It enriches the display methods of emoticon elements, improves the utilization rate of graphics processing resources, enhances the fun of interaction, meets the diverse information display needs of users, and improves user viscosity and retention.
Smart Images

Figure CN116204250B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of instant messaging technology, and in particular to a session-based information display method, apparatus, device, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of mobile communication technology, during instant messaging sessions, users can transmit conversation messages by editing text, voice or emoticon elements. However, when sending emoticon elements, related technologies usually use message bubbles to send them, that is, the sent emoticon elements are displayed in the form of conversation messages. This information display method is relatively simple, resulting in low utilization of graphics processing resources. Summary of the Invention
[0003] The embodiments of the present application provide a conversation-based information display method, apparatus, device, computer-readable storage medium, and computer program product, which can enrich the display method of expression elements and improve the utilization rate of graphics processing resources.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] This embodiment of the present application provides a session-based information display method, including:
[0006] Presenting at least one expression element in a conversation interface, wherein the conversation interface is used to implement a conversation with at least one conversation object;
[0007] In response to a ejection operation on a target emoticon element among the at least one emoticon element, presenting ejection guidance information corresponding to the target emoticon element;
[0008] In response to a ejection instruction triggered based on the ejection guidance information, a ejection animation of the target expression element being ejected is displayed in the conversation interface.
[0009] The present invention provides a session-based information display device, including:
[0010] A first presentation module, configured to present at least one expression element in a conversation interface, wherein the conversation interface is configured to enable a conversation with at least one conversation partner;
[0011] A second presentation module is configured to present, in response to a pop-up operation on a target emoticon element among the at least one emoticon element, pop-up guidance information corresponding to the target emoticon element;
[0012] The ejection display module is used to display an ejection animation of the target expression element being ejected in the conversation interface in response to an ejection instruction triggered based on the ejection guidance information.
[0013] In the above scheme, before presenting the ejection guidance information corresponding to the target expression element, the device also includes: an operation receiving module, used to receive a trigger operation for the target expression element among the at least one expression element, and when the trigger operation meets at least one of the following conditions, the trigger operation is used as the ejection operation: the trigger duration reaches the target duration, the trigger displacement reaches the target displacement, and the trigger trajectory is the target trajectory; or, an operation combination for the target expression element among the at least one expression element is received, and the operation combination includes at least two consecutive operations. When the operation combination is consistent with the target operation combination, the operation combination is used as the ejection operation.
[0014] In the above scheme, before presenting the ejection guidance information corresponding to the target emoticon element, the operation receiving module is also used to present a sending mode selection interface for selecting the sending mode of the target emoticon element in response to a trigger operation on the target emoticon element among the at least one emoticon element; wherein the sending mode selection interface includes at least a ejection mode option; in response to the selection operation on the ejection mode option, the selection operation is used as the ejection operation.
[0015] In the above scheme, after presenting the ejection guidance information corresponding to the target emoticon element, the device also includes: an instruction receiving module, which is used to display the process of dragging the target emoticon element in response to the drag operation of the target emoticon element triggered based on the ejection guidance information; and receives the ejection instruction in response to the release instruction of the drag operation.
[0016] In the above scheme, before receiving the ejection instruction, the device also includes: a direction adjustment module, which is used to adjust the ejection direction of the target expression element in response to the rotation operation of the target expression element; the instruction receiving module is also used to receive the ejection instruction for ejection in the adjusted ejection direction.
[0017] In the above scheme, the ejection display module is also used to display in the conversation interface the process of the target expression element moving to the edge of the conversation interface and disappearing after being ejected; the device also includes: a third presentation module, used to present the target expression element in the conversation interface in the form of a conversation message.
[0018] In the above scheme, the ejection display module is also used to display in the conversation interface the process of the target expression element being ejected and moving along the ejection direction indicated by the ejection instruction; and as the target expression element moves, the size of the target expression element is controlled to gradually change.
[0019] In the above solution, the ejection display module is further used to display, in the conversation interface, multiple expression copies generated by ejecting the target expression element, and to display the movement process of the multiple expression copies.
[0020] In the above scheme, the ejection display module is also used to display the movement process of the multiple expression copies in the conversation interface, and control the size of each expression copy to gradually change as the multiple expression copies move; or, in the conversation interface, display the process of the multiple expression copies moving along the target trajectory in sequence to form a target pattern.
[0021] In the above scheme, the device also includes: a fourth presentation module, which is used to display the ejection information corresponding to the target expression element in the conversation interface when the target expression element is ejected to the end point; wherein, the ejection information includes at least one of the following information: the ejection height of the target expression element and the special effect element corresponding to the ejection height.
[0022] In the above scheme, after the ejection animation of the target emoticon element being ejected is displayed in the conversation interface, the device also includes: a fifth presentation module, which is used to present text prompt information and a playback entrance corresponding to the ejection animation in the form of a weak reminder conversation message; wherein the text prompt information is used to prompt that the ejection operation has been performed on the target emoticon element; the playback entrance is used to re-display the ejection animation of the target emoticon element being ejected when a trigger operation for the playback entrance is received.
[0023] In the above scheme, the device also includes: a collision display module, which is used to display the ejection animation of other expression elements being ejected in the conversation interface during the process of displaying the ejection animation of the target expression element being ejected; when the target expression element collides with the other expression element, the collision special effects corresponding to the collision between the target expression element and the other expression element are displayed.
[0024] In the above scheme, the collision display module is also used to display a synthetic expression element synthesized by the collision of the target expression element and the other expression elements when the target expression element and the other expression elements are the same expression element, the synthetic expression element has the same style as the target expression element, and the synthetic expression element is larger than the target expression element; when the target expression element and the other expression elements are different expression elements, display an animation of the target expression element bouncing off after the collision with the other expression elements, or display a composite expression element formed by the collision of the target expression element and the other expression elements, wherein the target expression element and the other expression elements are respectively sub-expression elements of the composite expression element.
[0025] In the above scheme, after the ejection guidance information corresponding to the target expression element is presented, the instruction receiving module is further used to present the first ejection auxiliary tool of the ejection prop when the ejection guidance information is presented in the form of a ejection prop carrying the target expression element; in response to the drag operation on the ejection prop, the process of dragging the ejection prop and the process of dragging the ejection prop to deform the first ejection auxiliary tool are displayed; in response to the release instruction for the drag operation, the ejection instruction is received; the ejection display module is also used to display in the conversation interface an animation of the target expression element being ejected under the action of the elastic force generated by the first ejection auxiliary tool restoring its original shape.
[0026] In the above scheme, the device also includes: a style adjustment module, which is used to adjust the display style of the first ejection auxiliary tool as the position of the ejection prop changes during the process of dragging the ejection prop, so that the display style of the first ejection auxiliary tool corresponds to the position of the ejection prop.
[0027] In the above scheme, after the ejection guidance information corresponding to the target expression element is presented, the instruction receiving module is further used to, when the presentation form of the ejection guidance information is a ejection prop carrying the target expression element, respond to a trigger operation on the ejection prop, present a second ejection auxiliary tool connected to the ejection prop; respond to a drag operation on the second ejection auxiliary tool, display the movement process of the second ejection auxiliary tool, and display the process of the connecting part between the second ejection auxiliary tool and the ejection prop undergoing stretching and deformation as the second ejection auxiliary tool moves; respond to a release instruction for the drag operation, receive the ejection instruction; the ejection display module is further used to display in the conversation interface a ejection animation of the target expression element being ejected under the action of the elastic force generated by the stretching deformation of the connecting part.
[0028] An embodiment of the present application provides an electronic device, including:
[0029] a memory for storing executable instructions;
[0030] The processor is used to implement the session-based information display method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0031] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement the session-based information display method provided in an embodiment of the present application.
[0032] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the session-based information display method provided in the embodiment of the present application is implemented.
[0033] The embodiments of the present application have the following beneficial effects:
[0034] By applying the embodiments of the present application, when conducting a conversation based on emoticon elements, the emoticon elements are ejected and a ejection animation of the emoticon elements is displayed in the conversation interface. Compared with simply presenting a conversation message containing emoticon elements by sending emoticon elements, the richness of information display and the utilization rate of graphics processing resources are greatly improved, the interactive fun is enhanced, and the increasingly diversified display needs of user information interaction are met, which is conducive to improving user stickiness and retention rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of the architecture of a session-based information display system 100 provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;
[0037] Figure 3 A flowchart of a session-based information display method provided in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of receiving an ejection operation provided in an embodiment of the present application;
[0039] Figure 5 A schematic diagram showing the presentation of ejection guidance information provided in an embodiment of the present application;
[0040] Figure 6 A schematic diagram of adjusting the ejection direction provided in an embodiment of the present application;
[0041] Figure 7 A schematic diagram of ejecting a target expression element provided in an embodiment of the present application;
[0042] Figure 8 A schematic diagram of ejecting a target expression element provided in an embodiment of the present application;
[0043] Figure 9 A schematic diagram of ejecting a target expression element provided in an embodiment of the present application;
[0044] Figure 10 A schematic diagram of ejecting a target expression element provided in an embodiment of the present application;
[0045] Figure 11 A schematic diagram showing ejection information provided in an embodiment of the present application;
[0046] Figure 12 A schematic diagram showing information provided in an embodiment of the present application;
[0047] Figure 13 A schematic diagram of the collision of expression elements provided in an embodiment of the present application;
[0048] Figure 14 A schematic diagram of the collision of expression elements provided in an embodiment of the present application;
[0049] Figure 15 A schematic diagram of the collision of expression elements provided in an embodiment of the present application;
[0050] Figure 16 A schematic diagram of the collision of expression elements provided in an embodiment of the present application;
[0051] Figure 17 A flowchart of a session-based information presentation method according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0053] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0054] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0056] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0057] 1) Client: An application running in a terminal to provide various services, such as a video player client, a game client, an instant messaging client, a learning client, etc.
[0058] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0059] See also Figure 1 , Figure 1 The present application provides an embodiment of the session-based information display system 100. The embodiment provides an architectural diagram of the session-based information display system 100. To support an exemplary application, terminals (terminal 400-1 and terminal 400-2 are shown as examples) are connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two. Wireless links are used to implement data transmission.
[0060] In actual applications, the terminal 400 can be various types of user terminals such as smart phones, tablet computers, laptops, etc., or a desktop computer, a television, or a combination of any two or more of these data processing devices; the server 200 can be a separately configured server that supports various services, or it can be configured as a server cluster, or it can be a cloud server, etc.
[0061] In actual applications, a client is set on the terminal, such as a video playback client, a game client, an instant messaging client, a learning client, etc. When a user opens the client on the terminal to conduct a conversation, the terminal presents at least one expression element in the conversation interface, wherein the conversation interface is used to realize a conversation with at least one conversation object; in response to a ejection operation on a target expression element among at least one expression element, ejection guidance information corresponding to the target expression element is presented; in response to a ejection instruction triggered based on the ejection guidance information, an ejection request for the target expression element is sent to the server 200; based on the ejection request, the server 200 determines the ejection resource file for the target expression element to be ejected, and returns the determined ejection resource file to the terminal of the current object and the conversation object. After receiving the ejection resource file, the terminal renders the ejection resource file and displays the rendered ejection animation for the target expression element to be ejected in the conversation interface.
[0062] See also Figure 2 , Figure 2 This is a structural diagram of an electronic device 500 provided in an embodiment of the present application. In practical applications, the electronic device 500 may be Figure 1 The terminal or server 200 in the embodiment of the present invention is an electronic device. Figure 1Taking the terminal shown as an example, an electronic device that implements the session-based information display method of an embodiment of the present application is described. Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not shown in FIG. Figure 2 Various buses are labeled as bus system 540 .
[0063] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0064] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0065] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.
[0066] The memory 550 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0067] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
[0068] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0069] A network communication module 552 for reaching other computing devices via one or more (wired or wireless) network interfaces 520 , exemplary network interfaces 520 including Bluetooth, WiFi, and USB;
[0070] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., a display screen, a speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripheral devices and displaying content and information);
[0071] The input processing module 554 is configured to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
[0072] In some embodiments, the session-based information display device provided in the embodiments of the present application can be implemented in software. Figure 2 A session-based information display device 555 stored in a memory 550 is shown, which can be software in the form of programs and plug-ins, including the following software modules: a first presentation module 5551, a second presentation module 5552 and a pop-up display module 5553. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0073] In some embodiments, the session-based information display device provided in the embodiments of the present application can be implemented in hardware. As an example, the session-based information display device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the session-based information display method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0074] In some embodiments, the terminal or server can implement the session-based information display method provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a live broadcast APP or an instant messaging APP; it can also be a small program, that is, a program that can be run only by downloading it into a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0075] Based on the above description of the session-based information display system provided in the embodiment of the present application, the session-based information display method provided in the embodiment of the present application is described below. In actual implementation, the method can be Figure 1 The terminal or server 200 shown is implemented separately, and can also be implemented by Figure 1 The terminal and server 200 shown are implemented in conjunction with each other. Figure 1 and Figure 3 , Figure 3 A flow chart of a session-based information display method provided in an embodiment of the present application, Figure 1 The terminal shown alone implements the session-based information display method provided in the embodiment of the present application for illustration.
[0076] Step 101: The terminal presents at least one expression element in a conversation interface, where the conversation interface is used to implement a conversation with at least one conversation object.
[0077] In actual applications, the terminal is equipped with a client, such as a video playback client, a game client, an instant messaging client, a learning client, etc. When a user opens a client on the terminal to conduct a conversation, a conversation interface for conducting the conversation is presented. This conversation interface can be an interface for conducting a conversation between two conversation partners, or an interface for conducting a conversation between a conversation group consisting of two or more conversation partners. The conversation interface can also present a conversation editing area for editing the conversation, which can be used to edit and send content such as text, voice, images, and emoticons. When a user clicks on an emoticon entry to edit an emoticon element, the terminal responds to the click by presenting multiple emoticon elements to choose from, allowing the user to select any target emoticon element to send or eject.
[0078] In addition, conversation messages can also be presented in the conversation interface. The conversation messages can be messages edited by the conversation object corresponding to the currently logged-in account through the conversation editing area (such as the message editing box), or they can be conversation messages edited by other conversation objects corresponding to accounts other than the currently logged-in account and sent by the server. The types of conversation messages can be text, audio, video, or emoticon elements, etc.
[0079] Step 102: In response to a ejection operation on a target emoticon element among at least one emoticon element, present ejection guidance information corresponding to the target emoticon element.
[0080] In some embodiments, before presenting the ejection guidance information corresponding to the target emoticon element, the terminal may receive a ejection operation in the following manner: receiving a trigger operation for the target emoticon element among at least one emoticon element, and when the trigger operation meets at least one of the following conditions, the trigger operation is used as an ejection operation: the trigger duration reaches the target duration, the trigger displacement reaches the target displacement, and the trigger trajectory is the target trajectory; or, receiving an operation combination for the target emoticon element among at least one emoticon element, the operation combination includes at least two consecutive operations, and when the operation combination is consistent with the target operation combination, the operation combination is used as an ejection operation.
[0081] Here, a trigger operation that can trigger a ejection operation can be preset for the emoticon element. When the trigger operation performed by the user on the emoticon element is consistent with the preset trigger operation that can trigger the ejection operation, the terminal can receive the ejection operation for the corresponding emoticon element, such as when at least one of the following preset trigger operations is performed on the target emoticon element: long press operation (the trigger duration reaches the preset target duration, such as 1 second), drag operation (such as pulling the target emoticon element to a certain position), dragging the target emoticon element along the target trajectory (such as dragging the target emoticon element to draw a circle), the trigger operation is used as a ejection operation; or, when the user performs an operation combination including at least two consecutive operations (such as long pressing the target emoticon element and then dragging the target emoticon element down) on the target emoticon element, which is consistent with the preset target operation combination, the operation combination is used as a ejection operation.
[0082] In some embodiments, before presenting the ejection guidance information corresponding to the target emoticon element, the terminal may also receive a ejection operation in the following manner: in response to a trigger operation on a target emoticon element among at least one emoticon element, presenting a sending mode selection interface for selecting a sending mode for the target emoticon element; wherein the sending mode selection interface includes at least a ejection mode option; in response to a selection operation on the ejection mode option, treating the selection operation as a ejection operation.
[0083] Here, for any emoticon element, multiple sending modes can be preset, such as normal mode, eject mode, etc., wherein the normal mode means simply sending the emoticon element by executing the normal operation corresponding to the send instruction, and the eject mode means ejecting the emoticon element by executing the eject operation corresponding to the eject instruction. Figure 4 , Figure 4 A schematic diagram of receiving the ejection operation provided in an embodiment of the present application. In actual application, when the user triggers (such as double-clicking, sliding, etc.) the target emoticon element 401, the terminal responds to the trigger operation and presents mode options for the user to select the sending mode of the target emoticon element, such as the normal mode option 402 and the ejection mode option 403. When the user selects the ejection mode option 403, the terminal can receive the ejection operation for the target emoticon element.
[0084] In actual applications, mode options may also be presented in the mode selection interface. For example, in response to a trigger operation on a target emoticon element, the terminal may first present the mode selection interface in the form of a pop-up window or in the form of a sub-interface independent of the conversation interface, and present regular mode options and eject mode options in the mode selection interface. In response to a selection operation on the eject mode option, the selection operation is treated as a eject operation. In this way, when the user does not yet understand the sending mode of the emoticon element, multiple sending modes are first presented for the user to choose from. The user selects the corresponding sending mode based on curiosity or actual needs, which is conducive to promoting interactivity with the emoticon element.
[0085] In actual applications, when it is determined based on the user's historical usage data that the user has a full understanding of the emission mode of the emoticon element, the corresponding operation (such as a normal operation or a eject operation) can be directly responded to without presenting the sending mode option. For example, for the target emoticon element, it is assumed that when a click operation is received on the target emoticon element, the corresponding sending instruction can be triggered, and when a long press operation is received on the target emoticon element, the corresponding eject instruction can be triggered. Then, when the user clicks the target emoticon element, the terminal responds to the click operation, receives the sending instruction for the target emoticon element, and responds to the sending instruction to send the target emoticon element in the form of a message bubble, so as to present a conversation message including the target emoticon element in the conversation interface; when the user long presses the target emoticon element, the terminal responds to the long press operation (i.e., the eject operation), receives the eject instruction for the target emoticon element, and responds to the eject instruction to send the target emoticon element in the form of an ejection, so as to display a ejection animation of the target emoticon element being ejected in the conversation interface; in this way, the operation path executed when sending the emoticon element is shortened, and the interaction efficiency is improved.
[0086] It should be noted that the embodiments of this application involve user historical usage data and other related data. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0087] In some embodiments, the ejection guidance information is used to guide the execution of corresponding processing for the ejection operation to trigger the ejection instruction, such as the guidance information for releasing the ejection operation (such as releasing the hand, that is, releasing the ejection operation for the target expression element) to trigger the ejection instruction. The presentation form can be text guidance, logo guidance or auxiliary prop guidance, for example, see Figure 5 , Figure 5 The schematic diagram of presenting ejection guidance information provided in the embodiment of the present application is as follows: (1) a textual guidance such as "pull down to eject" is used as ejection guidance information; (2) an arrow is used as ejection guidance information, wherein the direction of the arrow indicates the ejection direction, and the length of the arrow indicates the corresponding ejection distance; (3) auxiliary props such as a slingshot or a bow and arrow are used as ejection guidance information. The user can perform ejection operations on the expression elements, giving the interaction of the expression elements a game-like gameplay, thereby enhancing the fun of the interaction based on the expression elements.
[0088] In some embodiments, after presenting the ejection guidance information corresponding to the target emoticon element, the terminal can receive the ejection instruction for the target emoticon element in the following manner: in response to the drag operation on the target emoticon element triggered based on the ejection guidance information, display the process of dragging the target emoticon element; in response to the release instruction for the drag operation, receive the ejection instruction for the target emoticon element.
[0089] Here, in actual application, the target expression element can be dragged based on the ejection guidance information, wherein the dragging direction of the dragging operation determines the ejection direction of the target expression element, and the dragging direction and the ejection direction are opposite to each other. The dragging distance of the dragging operation determines the ejection distance of the target expression element, and the ejection distance is positively correlated with the dragging distance, that is, the greater the dragging, the greater the corresponding ejection distance; when the target expression element is dragged to any position and the dragging operation is released, the ejection instruction for the target expression element can be received.
[0090] In some embodiments, before receiving the ejection instruction for the target emoticon element, the terminal may also adjust the ejection direction of the target emoticon element in response to the rotation operation for the target emoticon element; accordingly, the terminal may receive the ejection instruction in the following manner: receiving the ejection instruction to eject in the adjusted ejection direction.
[0091] Here, during the process of dragging the target expression element, or when dragging the target expression element to the target position, the ejection direction of the target expression element is adjusted by rotating the target expression element. For example, see Figure 6 , Figure 6 A schematic diagram of the ejection direction adjustment provided in an embodiment of the present application shows that when the user first starts dragging the target emoticon element, the ejection direction indicated by the target emoticon element is the first direction. In the process of pushing the target emoticon element, the ejection direction indicated by the target emoticon element is adjusted from the first direction to the second direction by rotating the target emoticon element. At this time, if the user lets go to release the drag operation, the ejection direction indicated by the ejection instruction received by the terminal is the second direction.
[0092] In some embodiments, after presenting the ejection guidance information corresponding to the target emoticon element, the terminal may receive the ejection instruction for the target emoticon element in the following manner: when the ejection guidance information is presented in the form of a ejection prop carrying the target emoticon element, the first ejection auxiliary tool of the ejection prop is presented; in response to the drag operation on the ejection prop, the process of dragging the ejection prop and the process of dragging the ejection prop to deform the first ejection auxiliary tool are displayed; in response to the release instruction for the drag operation, the ejection instruction is received; accordingly, the terminal may display the ejection animation of the target emoticon element being ejected in the conversation interface in the following manner: in the conversation interface, an animation of the target emoticon element being ejected under the action of the elastic force generated by the first ejection auxiliary tool restoring its original shape is displayed.
[0093] Here, the ejection guidance information exists in the form of an ejection prop, wherein the ejection prop carries the target expression element, that is, the ejection prop uses the target expression element as a carrier, and the style of the ejection prop is consistent with the style of the target expression element. Before the ejection prop (that is, the target expression element) is ejected, it is necessary to drag the ejection prop to accumulate force. The first ejection auxiliary tool is an elastic tool (such as an elastic rope) that can be deformed under the action of the accumulated force, which is used to assist in triggering the ejection operation of the ejection prop. During the process of dragging the ejection prop, the first ejection auxiliary tool and the ejection prop form an organic whole. As the ejection prop is dragged, the first ejection auxiliary tool undergoes corresponding deformation under the dragging force of the dragging operation, and generates an elastic force for ejecting the ejection prop. When the dragging operation is released, the terminal responds to the release instruction for the dragging operation, receives the ejection instruction for the ejection prop (that is, the target expression element), and displays the ejection animation of the ejection prop (that is, the target expression element) being ejected under the action of the elastic force generated by the first ejection auxiliary tool recovering its original shape due to deformation.
[0094] See also Figure 7 , Figure 7A schematic diagram of ejecting a target emoticon element provided in an embodiment of the present application shows that when a user long-presses a target emoticon element 701, an ejection tool 702 appears at the target location of the conversation interface (e.g., the lower-middle portion of the conversation interface). The design of the ejection tool 702 matches that of the target emoticon element 701. A first ejection assisting tool 703 corresponding to the ejection tool 702 and guidance information 704 for guiding the dragging of the ejection tool are also presented. As the user drags the ejection tool 702 downward according to the guidance information 704, the first ejection assisting tool 703 deforms accordingly. When the user releases the ejection tool 702, an animation of the ejection tool 702 (i.e., the target emoticon element) being ejected is presented due to the elastic force generated by the first assisting tool 703 returning to its original shape after deformation.
[0095] In some embodiments, during the process of dragging the ejection prop, as the position of the ejection prop changes, the display style of the first ejection auxiliary tool is adjusted so that the display style of the first ejection auxiliary tool corresponds to the position of the ejection prop.
[0096] Here, in the process of dragging the ejection prop, the position of the ejection prop changes with the dragging operation, thereby causing the first ejection auxiliary tool to be deformed accordingly, and the display style also changes accordingly, such as Figure 7 In the figure, the lower the dragging position of the ejection prop 702 is, the greater the deformation of the corresponding first ejection auxiliary tool 703 is, the greater the accumulated force generated is, and accordingly, the color gradient of the first ejection auxiliary tool 703 is visually darker.
[0097] In some embodiments, after presenting the ejection guidance information corresponding to the target emoticon element, the terminal may receive the ejection instruction for the target emoticon element in the following manner: when the ejection guidance information is presented in the form of a ejection prop carrying the target emoticon element, in response to a trigger operation on the ejection prop, a second ejection auxiliary tool connected to the ejection prop is presented; in response to a drag operation on the second ejection auxiliary tool, the movement process of the second ejection auxiliary tool is displayed, and the process of the connecting part between the second ejection auxiliary tool and the ejection prop undergoing stretching and deformation as the second ejection auxiliary tool moves is displayed; in response to a release instruction for the drag operation, the ejection instruction is received; accordingly, the terminal may display a ejection animation of the target emoticon element being ejected in the conversation interface in the following manner: in the conversation interface, a ejection animation of the target emoticon element being ejected under the action of the elastic force generated by the stretching deformation of the connecting part is displayed.
[0098] Before the ejection prop (that is, the target expression element) is ejected, when the user triggers the ejection prop, a second ejection auxiliary tool (such as a pull ring) connected to the ejection prop through a connector is presented. When the second ejection auxiliary tool is dragged, the connector undergoes corresponding tensile deformation, and then the corresponding elastic force is generated due to the tensile deformation of the connector. In the process of dragging the second ejection auxiliary tool, the farther the second ejection auxiliary tool is dragged, the greater the deformation of the connector, and the greater the elastic force generated by the tensile deformation of the connector. When the drag operation is released, under the action of the elastic force generated by the tensile deformation of the connector, the ejection prop (that is, the target expression element) is ejected farther.
[0099] See also Figure 8 , Figure 8 A schematic diagram of ejecting a target emoticon element provided in an embodiment of the present application is shown. When a user long-presses a target emoticon element 801, an ejection tool 802 appears at the target location of the conversation interface (e.g., the lower-middle portion of the conversation interface). The design of ejection tool 802 is consistent with that of the target emoticon element 801. A second ejection assisting tool 803 corresponding to ejection tool 802 and a connector 804 for connecting ejection tool 802 and second ejection assisting tool 803 are also presented. As second ejection assisting tool 803 is dragged, the further the connector 804 is dragged, the greater the deformation of connector 804, and the greater the elastic force (or stored force) generated by the stretching of connector 804. When the user releases the drag operation, the ejection tool (i.e., the target emoticon element) is ejected in an animation caused by the elastic force generated by the stretching of connector 804. The ejection tool (i.e., the target emoticon element) is ejected at a greater distance.
[0100] Step 103: In response to the ejection instruction triggered based on the ejection guidance information, a ejection animation of the target emoticon element being ejected is displayed in the conversation interface.
[0101] In some embodiments, the terminal may display a ejection animation of a target emoticon element being ejected in the conversation interface in the following manner: in the conversation interface, display the process of the target emoticon element moving to the edge of the conversation interface and disappearing after being ejected. In actual applications, when the terminal receives an ejection instruction for a target emoticon element, it displays an ejection animation of the target emoticon element being ejected, such as the target emoticon element being ejected from its position in the emoticon panel (initial position), or from the position of the target emoticon element when the ejection instruction is triggered (such as the release position of the drag operation) along the ejection direction indicated by the ejection instruction, toward the edge position in the conversation interface until it ejects out of the conversation interface. The ejection method may be a "rocket"-like ejection, or a step-by-step ejection like a "stair climbing" style, or may be ejected in other ejection forms. This application does not limit the ejection form.
[0102] During the ejection process, if the elastic force applied to the target emoji element is insufficient to eject it from the conversation interface in its original ejection direction, the target emoji element can be shown ejecting in other directions until it leaves the conversation interface. For example, if the target emoji element ejects upward from the bottom of the conversation interface and stops ejecting in the middle before reaching the top edge of the conversation interface, the target emoji element can be shown falling from the middle position until it leaves the conversation interface at the bottom edge. This method dynamically displays the ejection process of the target emoji element in the conversation interface, enriching the display format, increasing the atmosphere of the emoji element, and promoting emotional expression.
[0103] In some embodiments, the terminal can also display a catapult animation of the target emoticon element being ejected in the conversation interface in the following manner: in the conversation interface, display the process of the target emoticon element being ejected and moving along the ejection direction indicated by the ejection instruction; as the target emoticon element moves, control the size of the target emoticon element to gradually change.
[0104] See also Figure 9 , Figure 9 The schematic diagram of the ejection of the target expression element provided in the embodiment of the present application shows that in (1), when the target expression element is ejected from the initial position to the upper edge of the conversation interface until it leaves the conversation interface from the upper edge, the target expression element is controlled to become larger and larger; in (2), when the target expression element is ejected from the middle position to the lower edge of the conversation interface until it leaves the conversation interface from the lower edge, the target expression element is controlled to become smaller and smaller. In this way, the size of the target expression element is changed during the ejection process, which further enriches the expression display style and enhances the interactive fun.
[0105] In some embodiments, the terminal may further display a projection animation of a target emoticon element being ejected in the conversation interface by displaying multiple emoticon copies generated by the ejection of the target emoticon element and displaying the movement of the multiple emoticon copies. In some embodiments, the terminal may further display the movement of the multiple emoticon copies in the conversation interface by displaying the movement of the multiple emoticon copies in the conversation interface, gradually controlling the size of each emoticon copy as the multiple emoticon copies move; or, in the conversation interface, displaying the process of multiple emoticon copies sequentially moving along a target trajectory to form a target pattern.
[0106] Here, in actual application, in response to a launch instruction (a launch instruction) for a target emoticon element, the terminal can control the generation of multiple emoticon copies of the target emoticon element (i.e., generate a string of identical emoticon elements) and display an animation of the multiple emoticon copies being launched, wherein the emoticon copies are copies of the target emoticon element and have the same style as the target emoticon element. During the launch of the multiple emoticon copies, the sizes of the multiple emoticon copies can be controlled to change, and the multiple emoticon copies can be controlled to move in sequence along a target trajectory to form a target pattern. The target trajectory or target pattern can be pre-set or determined based on the conversation relationship between the conversation objects (sender and receiver) in the conversation interface or the conversation date. For example, if the conversation relationship between the conversation objects is a couple or the conversation date is Valentine's Day, the target pattern can be a "heart" pattern.
[0107] See also Figure 10 , Figure 10 The present invention provides a schematic diagram of the ejection of a target expression element. In response to an ejection instruction for a target expression element, the terminal generates multiple expression copies. (1) shows the process in which the multiple expression copies generated are ejected in the ejection direction indicated by the ejection instruction until they leave the conversation interface. During the ejection process, the size of each expression copy can vary. (2) shows the process in which the multiple expression copies generated move in sequence along the target trajectory corresponding to the target pattern. For example, during the movement of the multiple expression copies, each expression copy moves in sequence along the target trajectory of a target pattern such as a heart shape, a V shape, etc. to form a corresponding target pattern. In this way, the expression display style is further enriched, the interactive fun is enhanced, and the user's visual experience is improved.
[0108] In some embodiments, when the target emoticon element is ejected to the end point, the ejection information corresponding to the target emoticon element is displayed in the conversation interface; wherein the ejection information includes at least one of the following information: the ejection height of the target emoticon element and the special effect element corresponding to the ejection height.
[0109] Among them, the ejection height is related to the charging value before the target expression element is ejected. The greater the charging value of the ejection, the higher the target expression element will be ejected. The special effect element corresponding to the ejection height can be set to the corresponding expression form according to the ejection height. For example, when the ejection height is large, a "celebration" type special effect is presented, and when the ejection height is small, a "come on" type special effect is presented. The special effect element can also be set to different expression forms according to the different holiday hotspot requirements corresponding to the ejection operation. During actual implementation, the ejection date corresponding to the ejection operation for the target expression element is determined. When the ejection date is the target date, the special effect element matching the target date is obtained. When the target expression element is ejected to the end point, the ejection information corresponding to the expression element is displayed.
[0110] See also Figure 11 , Figure 11 A schematic diagram of the ejection information display provided in an embodiment of the present application shows a screen of a target expression element 1101 being ejected in a conversation interface. When the target expression element 1101 is ejected to the end point, the ejection height (3 meters) 1102 of the target expression element is displayed, as well as a special effect element 1103 corresponding to the ejection height. The special effect element 1103 can flash in the target area of the conversation interface, or move from the top of the conversation interface to the bottom with the same or different movement trajectories and the same or different movement rates, such as moving from top to bottom in a free-fall manner, to achieve an animation special effect.
[0111] In some embodiments, after displaying the ejection animation of the target emoticon element being ejected in the conversation interface, the target emoticon element is presented in the conversation interface in the form of a conversation message; or, a weak reminder conversation message is used to present text prompt information and a playback entrance corresponding to the ejection animation; wherein the text prompt information is used to prompt that the ejection operation has been performed on the target emoticon element; and the playback entrance is used to re-display the ejection animation of the target emoticon element being ejected when a trigger operation for the playback entrance is received.
[0112] In actual applications, when the target emoticon element moves to the edge of the conversation interface and disappears (i.e., after the ejection is completed), it can be decided whether to display the relevant information of the target emoticon element in the conversation interface according to needs. In some embodiments, the movement process of the target emoticon element being ejected in the conversation interface is completely synchronized between the various conversation objects (i.e., the sender and receiver). For example, when the sender ejects the target emoticon element, if the receiver is also in the conversation interface, the ejection animation of the target emoticon element being ejected is synchronously displayed in the conversation interface on the receiver's side; if the receiver is not in the conversation interface, the ejection animation is not displayed in the conversation interface on the receiver's side. After the ejection is completed, the target emoticon element will not be displayed in the form of a conversation message in the conversation interface; in this way, the real-time nature of the ejection display effect is ensured.
[0113] In other embodiments, see Figure 12 , Figure 12The information display diagram provided in the embodiment of the present application shows that after the ejection is completed, (1) the target expression element 1201 is displayed in the form of a conversation message in the conversation interface. In this way, after the ejection animation is finished, or even if the recipient is not in the conversation interface when the sender ejects the target expression element, the recipient can still see the target expression element sent by the sender when entering the conversation interface later, thus avoiding missing the conversation message; (2) a text prompt information 1202 and a play entrance 1203 corresponding to the ejection animation are presented in the form of a weak reminder conversation message. The user can understand through the text prompt information that the sender has performed an ejection operation on the target expression element. By clicking the play entrance, the ejection animation of the target expression element being ejected can be displayed again in the conversation interface, thus realizing the playback of the ejection animation. In this way, even if the recipient is not in the conversation interface when the sender ejects the target expression element, the recipient can still watch the ejection animation when entering the conversation interface later, thus avoiding missing the wonderful picture, which is more conducive to the effective transmission of emotions between users.
[0114] In some embodiments, while displaying the ejection animation of the target emoticon element being ejected, the terminal may also display the ejection animation of other emoticon elements being ejected in the conversation interface; when the target emoticon element collides with other emoticon elements, the collision effects corresponding to the collision between the target emoticon element and other emoticon elements are displayed.
[0115] Here, other expression elements can be expression elements ejected by any conversation object in the conversation interface. The number of other expression elements can be one or more (two or more). The conversation interface can simultaneously display the ejection animation of the target expression element and other expression elements. When the target expression element collides with other expression elements during the ejection process, the collision effects corresponding to the simulated physical entity collision can be displayed to enrich the display style of the expression elements and improve the interactive fun.
[0116] In some embodiments, the terminal can display the collision effects corresponding to the collision between the target expression element and other expression elements in the following manner: when the target expression element and the other expression element are the same expression element, a synthetic expression element synthesized by the collision of the target expression element and the other expression element is displayed, the synthetic expression element has the same style as the target expression element, and the synthetic expression element is larger than the target expression element; when the target expression element and the other expression element are different expression elements, an animation of the target expression element bouncing away after the collision with the other expression element is displayed, or a composite expression element formed by the collision of the target expression element and the other expression element is displayed, wherein the target expression element and the other expression element are respectively sub-expression elements of the composite expression element.
[0117] See also Figure 13 , Figure 13A schematic diagram of the collision of emoticon elements provided in an embodiment of the present application shows the ejected target emoticon element 1301 and the other emoticon element 1302 in the conversation interface. Both are identical (same style, same size), i.e., both are "stepping down" type emoticon elements. The resulting composite emoji element 1303, created by the collision, is still a "step down" emoji element in style, except that it's larger than the target emoji element 1301 and the other emoji elements 1302. This means the composite emoji element is larger than the single "step down" emoji element before the collision. The resulting trajectory of composite emoji element 1303 in the conversation interface is determined by the velocity and direction of the target emoji element 1301 and the other emoji elements 1302 before the collision. In practice, the size of the composite emoji element can also be related to the number of collided emoji elements. Generally, the larger the composite emoji element, the larger the composite emoji element. The composite emoji element created by the collision of two identical emoji elements is smaller than the composite emoji element created by the collision of three identical emoji elements.
[0118] See also Figure 14 , Figure 14 The schematic diagram of the collision of the emoticon elements provided in the embodiment of the present application shows a target emoticon element 1401 of "smiling face" and another emoticon element 1402 of "crying face" being ejected in the conversation interface. The two are different emoticon elements. When the two collide, (1) shows the picture of the two colliding and bouncing off each other. In actual application, the bounce amplitude after the collision is related to the ejection speed and ejection direction of the two emoticon elements at the time of collision. For example, the greater the ejection speed of the two emoticon elements when the two collide, the greater the corresponding bounce amplitude; (2) shows a composite emoticon element 1403 formed by the collision of the two, wherein the target emoticon element 1401 and other emoticon elements 1402 in the composite emoticon element 1403 are independently displayed side by side.
[0119] In some embodiments, if the number of other expression elements is two or more, the number of expression elements (including the target expression element) displayed simultaneously in the conversation interface is three or more. If all other expression elements collide with the target expression element at the same time, the collision effects corresponding to the simultaneous collision are displayed; if all other expression elements do not collide with the target expression element at the same time, the collision effects corresponding to each collision are displayed; if some expression elements in all other table elements and the target expression element are the same and some are different, if all expression elements collide at the same time, then while displaying the synthesized expression element synthesized by the collision of some of the same expression elements, the screen of some different expression elements being bounced away by the collision can be displayed; if all expression elements do not collide at the same time, the collision animations corresponding to the collision of some expression elements are displayed one by one.
[0120] See also Figure 15 , Figure 15 A schematic diagram of the collision of expression elements provided in an embodiment of the present application simultaneously displays three identical expression elements being ejected in a conversation interface, such as a target expression element 1501, other expression elements 1502, and other expression elements 1503. In (1), if these three identical expression elements collide at the same time, a composite expression element 1504 synthesized by the three simultaneous collisions is displayed; in (2), if the target expression element 1501 and the other expression element 1502 collide first, a composite expression element 1505 synthesized by the collision of the two is displayed; then, if the other expression element 1503 collides with the composite expression element 1505, a composite expression element 1506 (larger than the composite element 1505) synthesized by the collision of the other expression element 1503 and the composite expression element 1505 is displayed, and the movement process of the final composite expression element 1506 in the conversation interface is displayed.
[0121] See also Figure 16 , Figure 16 The schematic diagram of the collision of expression elements provided in the embodiment of the present application shows three ejected expression elements at the same time in the conversation interface, such as the target expression element 1601, other expression elements 1602 and other expression elements 1603, wherein the target expression element 1601 and other expression elements 1602 are the same expression elements, and other expression elements 1603 are expression elements different from the target expression element 1601 and other expression elements 1602. When the three expression elements in (1) collide at the same time, the synthetic expression element synthesized by the collision of the target expression element 1601 and other expression elements 1602 is displayed. (2) If the target expression element 1601 and the other expression element 1603 collide first, the screen of the collision and bounce of the two expression elements 1603 is displayed, and the movement process of each expression element after being bounced is displayed; if the other expression element 1603 collides with the other expression element 1602, the synthesized expression element 1605 synthesized by the collision of the other expression element 1603 and the other expression element 1602 is displayed, and the movement process of the final synthesized synthesized expression element 1605 in the conversation interface is displayed.
[0122] Through the above method, when multiple ejected expression elements are displayed simultaneously in the conversation interface, if multiple ejected expression elements collide, the corresponding collision effects are displayed in combination with physical phenomena, which enriches the display style of the expression elements and improves the interactive fun.
[0123] Below, an exemplary application of the embodiment of the present application in an actual application scenario will be described. The session-based information display method provided by the embodiment of the present application can be applied to an instant messaging application scenario. The user can perform a ejection operation based on a plurality of selectable emoticon elements in the emoticon panel of the conversation interface. As shown in Figure x, when the user long presses the target emoticon element, the terminal responds to the long press operation (i.e., the above-mentioned ejection operation) and controls the target emoticon element to enter the ejection state. The user can adjust the ejection direction and distance by sliding the finger. When the long press operation is released (i.e., let go), the terminal receives the ejection instruction for the target emoticon element, responds to the ejection instruction, ejects the target emoticon element, and displays the ejection animation of the target emoticon element being ejected in the conversation interface, so that the conversation object in the conversation interface can view the process of the target emoticon element being ejected, such as the ejection trajectory of the target emoticon element being ejected; when the ejected target emoticon element is ejected to the end point (i.e., ejected out of the conversation interface), the ejection animation is displayed in the conversation interface.
[0124] In actual applications, after the ejection is completed, it can be decided whether to display the relevant information of the target emoticon element in the conversation interface according to needs. In some embodiments, the movement process of the target emoticon element being ejected in the conversation interface is completely synchronized between the various conversation objects (i.e., the sender and receiver). For example, when the sender ejects the target emoticon element, if the receiver is also in the conversation interface, the ejection animation of the target emoticon element being ejected is synchronously displayed in the conversation interface on the receiver's side; if the receiver is not in the conversation interface, the ejection animation is not displayed in the conversation interface on the receiver's side. After the ejection is completed, the target emoticon element will not be displayed in the form of a conversation message in the conversation interface; in this way, the real-time nature of the ejection display effect is ensured. In other embodiments, after the ejection is completed, the target expression element can be displayed in the form of a conversation message in the conversation interface, or the text prompt information and playback entrance of the corresponding ejection animation can be presented in the form of a weak reminder conversation message. The user can understand through the text prompt information that the sender has performed an ejection operation on the target expression element. By clicking the playback entrance, the ejection animation of the target expression element being ejected can be displayed again in the conversation interface, realizing the playback of the ejection animation. In this way, even if the recipient is not in the conversation interface when the sender ejects the target expression element, he can watch the ejection animation when entering the conversation interface later, so as to avoid missing the wonderful pictures, which is more conducive to the effective transmission of emotions between users.
[0125] In addition, when there are multiple ejected emoticon elements in the conversation interface, if the multiple ejected emoticon elements collide, the terminal will display a collision effect simulating a physical collision in the conversation interface. For example, when the multiple colliding emoticon elements are the same emoticon elements, a synthetic emoticon element synthesized by the collision of multiple identical emoticon elements will be displayed. The synthetic emoticon element has the same style as the emoticon elements before the collision, but the size of the synthetic emoticon element is larger than the size of the emoticon elements before the collision. Figure 13 As shown in the figure, two identical "step down" expression elements collide to form a large "step down" expression element; when the colliding expression elements are different, a picture of multiple different expression elements bouncing off after the collision is displayed, as shown in the figure. Figure 14 As shown, different "smiling" expression elements bounce off each other after colliding with "crying" expression elements; this greatly improves the richness of information display, enhances the fun of interaction, and is conducive to promoting the enthusiasm of interaction based on expression elements, which in turn is conducive to improving user stickiness and retention rate.
[0126] Next, we will explain the technical implementation of the above ejection effect. Figure 17 , Figure 17 A flowchart of a session-based information display method provided in an embodiment of the present application, the method comprising:
[0127] Step 201: The terminal presents at least one emoticon element in the conversation interface.
[0128] Here, when the user conducts a conversation through the client on the terminal, the expression elements can be edited through the expression entrance. For example, in response to a click operation on the expression entrance, the terminal presents multiple expression elements on the expression panel for the user to select any expression element for ejection.
[0129] Step 202: In response to a long press operation on a target emoticon element, control the target emoticon element to be in a ejection state.
[0130] In actual applications, designers can design the trigger logic of each expression element (such as ejection logic, collision logic, etc.) to obtain an ejection logic file, and send the ejection logic file to the terminal through the backend server corresponding to the client. When the user triggers the ejection logic for the target expression element, the terminal controls the target expression element to be in the ejection state based on the ejection logic file, and presents the ejection indication information for the target expression element, wherein the ejection indication information is used to indicate the ejection direction or ejection distance, such as Figure 6 The arrow in the figure indicates the ejection direction, and the length of the arrow indicates the ejection distance. Users can adjust the ejection direction and distance by sliding or rotating the target expression element.
[0131] Step 203: In response to the release instruction for the long press operation, the terminal sends a pop-up request for the target emoticon element to the server.
[0132] The eject request carries the expression identifier of the target expression element and the session identifier, and is used to request the eject resource file corresponding to the eject animation to be displayed when the target expression element is ejected.
[0133] Step 204: The server determines the ejection resource file to which the target expression element is ejected based on the ejection request.
[0134] In actual applications, designers can design templates for the ejection animation effects of each expression element in the expression panel and the animation effects after multiple expression elements collide, obtain ejection resource files, and store the ejection resource files in the background server of the client; when the server receives the ejection request of the target expression element sent by the terminal, it obtains the corresponding ejection resource file based on the expression identifier.
[0135] Step 205: The server returns the determined ejection resource file to the terminal of the session object.
[0136] Here, the server determines each session object in the session interface based on the session identifier, and synchronously sends the ejection resource file to the terminal of each session object, such as by creating a thread to enable the sender and receiver terminals to render synchronously.
[0137] Step 206: The terminal performs screen rendering based on the ejection resource file to obtain an ejection animation, and displays the ejection animation in the conversation interface.
[0138] Here, the terminal renders the screen according to the template in the ejection resource file based on the ejection direction and ejection distance corresponding to the long press operation, obtains the ejection animation for the target expression element being ejected, and displays the rendered ejection animation.
[0139] Step 207: During the ejection of the target emoticon element, the terminal displays an ejection animation of other emoticon elements being ejected in the conversation interface.
[0140] Step 208: When the target expression element collides with other expression elements, a collision effect is displayed.
[0141] Here, when the target expression element collides with other expression elements, the terminal renders the screen according to the collision template in the ejection resource file, obtains the corresponding collision animation or collision effect, and displays the rendered collision animation or collision effect.
[0142] Through the above method, when conducting a conversation based on emoticon elements, the emoticon elements are ejected, and the ejection animation of the emoticon elements is displayed in the conversation interface. Moreover, when multiple ejected emoticon elements are displayed in the conversation interface and multiple emoticon elements collide, corresponding collision effects are displayed. Compared with only presenting a conversation message containing emoticon elements by sending emoticon elements, the richness of information display is greatly improved, the interactive fun is enhanced, and the increasingly diversified display needs of user information interaction are met.
[0143] The following describes an exemplary structure of a software module implemented as a session-based information display device 555 provided in an embodiment of the present application. In some embodiments, the information stored in Figure 2 The software modules in the conversation-based information display device 555 of the memory 550 may include: a first presentation module 5551, used to present at least one expression element in a conversation interface, and the conversation interface is used to realize a conversation with at least one conversation object; a second presentation module 5552, used to respond to a ejection operation on a target expression element in the at least one expression element, and present the ejection guidance information corresponding to the target expression element; and a ejection display module 5553, used to respond to a ejection instruction triggered based on the ejection guidance information, and display a ejection animation of the target expression element being ejected in the conversation interface.
[0144] In some embodiments, before presenting the ejection guidance information corresponding to the target emoticon element, the device also includes: an operation receiving module, used to receive a trigger operation for the target emoticon element among the at least one emoticon element, and when the trigger operation meets at least one of the following conditions, the trigger operation is used as the ejection operation: the trigger duration reaches the target duration, the trigger displacement reaches the target displacement, and the trigger trajectory is the target trajectory; or, an operation combination for the target emoticon element among the at least one emoticon element is received, and the operation combination includes at least two consecutive operations. When the operation combination is consistent with the target operation combination, the operation combination is used as the ejection operation.
[0145] In some embodiments, before presenting the ejection guidance information corresponding to the target emoticon element, the operation receiving module is also used to present a sending mode selection interface for selecting the sending mode of the target emoticon element in response to a trigger operation on the target emoticon element among the at least one emoticon element; wherein the sending mode selection interface includes at least a ejection mode option; in response to a selection operation on the ejection mode option, the selection operation is used as the ejection operation.
[0146] In some embodiments, after presenting the ejection guidance information corresponding to the target emoticon element, the device also includes: an instruction receiving module for displaying the process of dragging the target emoticon element in response to a drag operation on the target emoticon element triggered based on the ejection guidance information; and receiving the ejection instruction in response to a release instruction for the drag operation.
[0147] In some embodiments, before receiving the ejection instruction, the device also includes: a direction adjustment module for adjusting the ejection direction of the target expression element in response to a rotation operation on the target expression element; the instruction receiving module is also used to receive an ejection instruction for ejection in the adjusted ejection direction.
[0148] In some embodiments, the ejection display module is also used to display in the conversation interface the process of the target expression element being ejected, moving to the edge of the conversation interface, and disappearing; the device also includes: a third presentation module, used to present the target expression element in the conversation interface in the form of a conversation message.
[0149] In some embodiments, the ejection display module is also used to display in the conversation interface the process of the target expression element being ejected and moving along the ejection direction indicated by the ejection instruction; and to control the gradual change in the size of the target expression element as the target expression element moves.
[0150] In some embodiments, the ejection display module is further used to display, in the conversation interface, multiple expression copies generated by ejecting the target expression element, and to display the movement process of the multiple expression copies.
[0151] In some embodiments, the ejection display module is also used to display the movement process of the multiple expression copies in the conversation interface, and control the size of each expression copy to gradually change as the multiple expression copies move; or, in the conversation interface, display the process of the multiple expression copies moving along the target trajectory in sequence to form a target pattern.
[0152] In some embodiments, the device also includes: a fourth presentation module, which is used to display the ejection information corresponding to the target expression element in the conversation interface when the target expression element is ejected to the end point; wherein the ejection information includes at least one of the following information: the ejection height of the target expression element and the special effect element corresponding to the ejection height.
[0153] In some embodiments, after displaying the ejection animation of the target emoticon element being ejected in the conversation interface, the device further includes: a fifth presentation module, configured to present text prompt information and a playback entrance corresponding to the ejection animation in the form of a weak reminder conversation message; wherein the text prompt information is configured to prompt that a ejection operation has been performed on the target emoticon element; and the playback entrance is configured to redisplay the ejection animation of the target emoticon element being ejected when a trigger operation is received on the playback entrance.
[0154] In some embodiments, the device also includes: a collision display module, which is used to display the ejection animation of other expression elements being ejected in the conversation interface during the process of displaying the ejection animation of the target expression element being ejected; when the target expression element collides with the other expression element, the collision special effects corresponding to the collision between the target expression element and the other expression element are displayed.
[0155] In some embodiments, the collision display module is also used to display a synthetic expression element synthesized by the collision of the target expression element and the other expression elements when the target expression element and the other expression elements are the same expression element, the synthetic expression element has the same style as the target expression element, and the synthetic expression element is larger than the target expression element; when the target expression element and the other expression elements are different expression elements, display an animation of the target expression element bouncing off after colliding with the other expression elements, or display a composite expression element formed by the collision of the target expression element and the other expression elements, wherein the target expression element and the other expression elements are respectively sub-expression elements of the composite expression element.
[0156] In some embodiments, after presenting the ejection guidance information corresponding to the target expression element, the instruction receiving module is further used to present a first ejection auxiliary tool of the ejection prop when the ejection guidance information is presented in the form of a ejection prop carrying the target expression element; in response to a drag operation on the ejection prop, the process of dragging the ejection prop and the process of dragging the ejection prop to deform the first ejection auxiliary tool are displayed; in response to a release instruction for the drag operation, the ejection instruction is received; the ejection display module is further used to display in the conversation interface an animation of the target expression element being ejected under the action of the elastic force generated by the first ejection auxiliary tool restoring its original shape.
[0157] In some embodiments, the device further includes: a style adjustment module for adjusting the display style of the first ejection auxiliary tool as the position of the ejection prop changes during the process of dragging the ejection prop, so that the display style of the first ejection auxiliary tool corresponds to the position of the ejection prop.
[0158] In some embodiments, after presenting the ejection guidance information corresponding to the target expression element, the instruction receiving module is further used to, when the ejection guidance information is presented in the form of a ejection prop carrying the target expression element, respond to a trigger operation on the ejection prop, present a second ejection auxiliary tool connected to the ejection prop; respond to a drag operation on the second ejection auxiliary tool, display the movement process of the second ejection auxiliary tool, and display the process of the connecting part between the second ejection auxiliary tool and the ejection prop undergoing stretching and deformation as the second ejection auxiliary tool moves; respond to a release instruction for the drag operation, receive the ejection instruction; the ejection display module is further used to display in the conversation interface a ejection animation of the target expression element being ejected under the action of the elastic force generated by the stretching deformation of the connecting part.
[0159] The present 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 session-based information presentation method described above in the present application.
[0160] The embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the session-based information display method provided by the embodiment of the present application, for example, Figure 3 The method shown.
[0161] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0162] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0163] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0164] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0165] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A session-based information display method, characterized in that: The method comprises: Presenting at least one emoticon element in a conversation interface of the sender, wherein the conversation interface is used to implement a conversation with at least one conversation object; In response to a ejection operation on a target emoticon element among the at least one emoticon element, presenting ejection guidance information corresponding to the target emoticon element; In response to a ejection instruction triggered based on the ejection guidance information, displaying an ejection animation of the target emoticon element being ejected in the conversation interface; A text prompt message corresponding to the ejection animation and a playback entry are presented in the conversation interface in the form of a weak reminder conversation message; wherein the text prompt message is used to prompt the sender that the ejection operation has been performed on the target emoticon element; the playback entry is used to redisplay the ejection animation of the target emoticon element in the conversation interface of the recipient when the recipient's terminal receives the recipient's trigger operation on the playback entry; The ejection animation showing the target expression element being ejected includes: Display multiple expression copies generated by the target expression element being ejected, and display the process of the multiple expression copies moving in sequence along the target trajectory to form a target pattern, wherein the target trajectory or the target pattern is determined based on the conversation relationship or conversation date between the sender and the receiver.
2. The method according to claim 1, wherein Before presenting the ejection guidance information corresponding to the target emoticon element, the method further includes: A trigger operation for a target emoticon element in the at least one emoticon element is received, and when the trigger operation satisfies at least one of the following conditions, the trigger operation is used as the eject operation: The trigger duration reaches the target duration, the trigger displacement reaches the target displacement, and the trigger trajectory is the target trajectory; Alternatively, an operation combination for a target expression element in the at least one expression element is received, the operation combination including at least two consecutive operations, and when the operation combination is consistent with the target operation combination, the operation combination is used as the ejection operation.
3. The method according to claim 1, wherein Before presenting the ejection guidance information corresponding to the target emoticon element, the method further includes: In response to a trigger operation on a target emoticon element among the at least one emoticon element, presenting a mode option for selecting a sending mode of the target emoticon element; In response to a selection operation on a eject mode option, the selection operation is used as the eject operation.
4. The method according to claim 1, wherein After presenting the ejection guidance information corresponding to the target emoticon element, the method further includes: In response to a drag operation on the target emoticon element triggered based on the ejection guidance information, displaying a process of dragging the target emoticon element; The eject instruction is received in response to a release instruction for the drag operation.
5. The method according to claim 4, wherein Before receiving the ejection instruction, the method further includes: In response to the rotation operation on the target emoticon element, adjusting the ejection direction of the target emoticon element; The receiving of the ejection instruction includes: An ejection command is received to eject in an adjusted ejection direction.
6. The method according to claim 1, wherein The displaying of the ejection animation of the target emoticon element in the conversation interface includes: In the conversation interface, a process is shown in which the target expression element is ejected, moves to the edge of the conversation interface, and disappears.
7. The method according to claim 1, wherein The displaying of the ejection animation of the target emoticon element in the conversation interface includes: In the conversation interface, displaying a process in which the target emoticon element is ejected and moves along the ejection direction indicated by the ejection instruction; As the target expression element moves, the size of the target expression element is controlled to gradually change.
8. The method according to claim 1, wherein The displaying of the ejection animation of the target emoticon element in the conversation interface includes: In the conversation interface, multiple expression copies generated by the ejection of the target expression element are displayed, and the movement process of the multiple expression copies is displayed. As the multiple expression copies move, the size of each expression copy is controlled to gradually change.
9. The method according to claim 1, wherein The method further comprises: When the target emoticon element is ejected to the end point, the ejection information corresponding to the target emoticon element is displayed in the conversation interface; The ejection information includes at least one of the following information: the ejection height of the target expression element and the special effect element corresponding to the ejection height.
10. The method according to claim 1, wherein After displaying the ejection animation of the target emoticon element in the conversation interface, the method further includes: In the conversation interface, the target expression element is presented in the form of a conversation message.
11. The method according to claim 1, wherein The method further comprises: During the process of displaying the ejection animation of the target emoticon element, displaying the ejection animation of other emoticon elements being ejected in the conversation interface; When the target expression element collides with the other expression elements, a collision effect corresponding to the collision between the target expression element and the other expression elements is displayed.
12. The method according to claim 11, wherein The display of the collision effect corresponding to the collision between the target expression element and the other expression elements includes: When the target expression element and the other expression elements are the same expression element, displaying a composite expression element formed by the collision of the target expression element and the other expression elements, wherein the composite expression element has the same style as the target expression element and is larger than the target expression element; When the target expression element and the other expression elements are different expression elements, an animation of the target expression element bouncing off after colliding with the other expression elements is displayed, or a composite expression element formed by the collision of the target expression element and the other expression elements is displayed, wherein the target expression element and the other expression elements are respectively sub-expression elements of the composite expression element.
13. The method according to claim 1, wherein After presenting the ejection guidance information corresponding to the target emoticon element, the method further includes: When the ejection guidance information is presented in the form of an ejection prop carrying the target expression element, presenting a first ejection auxiliary tool of the ejection prop; In response to a dragging operation on the ejection prop, displaying a process of dragging the ejection prop and a process of causing the first ejection auxiliary tool to deform due to dragging the ejection prop; receiving the ejection instruction in response to a release instruction for the drag operation; The displaying of the ejection animation of the target emoticon element in the conversation interface includes: In the conversation interface, an animation of the target expression element being ejected under the action of the elastic force generated by the first ejection auxiliary tool restoring its original shape is displayed.
14. The method according to claim 13, wherein The method further comprises: During the process of dragging the ejection prop, as the position of the ejection prop changes, the display style of the first ejection auxiliary tool is adjusted so that the display style of the first ejection auxiliary tool corresponds to the position of the ejection prop.
15. The method according to claim 1, wherein After presenting the ejection guidance information corresponding to the target emoticon element, the method further includes: When the ejection guidance information is presented in the form of an ejection prop carrying the target expression element, in response to a triggering operation on the ejection prop, presenting a second ejection auxiliary tool connected to the ejection prop; In response to a drag operation on the second ejection assisting tool, displaying the movement process of the second ejection assisting tool and displaying the process of stretching and deforming the connecting member between the second ejection assisting tool and the ejection prop as the second ejection assisting tool moves; receiving the ejection instruction in response to a release instruction for the drag operation; The displaying of the ejection animation of the target emoticon element in the conversation interface includes: In the conversation interface, a catapult animation is displayed in which the target expression element is ejected under the action of the elastic force generated by the stretching deformation of the connecting member.
16. A conversation-based information display device, characterized in that: The device comprises: A first presentation module, configured to present at least one expression element in a conversation interface, wherein the conversation interface is configured to enable a conversation with at least one conversation partner; A second presentation module is configured to present, in response to a pop-up operation on a target emoticon element among the at least one emoticon element, pop-up guidance information corresponding to the target emoticon element; a ejection display module, configured to display an ejection animation of the target emoticon element being ejected in the conversation interface in response to an ejection instruction triggered based on the ejection guidance information; a fifth presentation module, configured to present, in the conversation interface, a text prompt message corresponding to the ejection animation and a playback entry in the form of a weak reminder conversation message; wherein the text prompt message is configured to prompt the sender that the ejection operation has been performed on the target emoticon element; and the playback entry is configured to redisplay the ejection animation of the target emoticon element being ejected upon receiving a trigger operation on the playback entry from the receiver; Among them, the second presentation module or the fifth presentation module is also used to display multiple expression copies generated by the target expression element being ejected, and to display the process of the multiple expression copies moving along the target trajectory in sequence to form a target pattern. The target trajectory or the target pattern is determined based on the conversation relationship or conversation date between the sender and the receiver.
17. An electronic device, characterized in that: include: a memory for storing executable instructions; The processor is configured to implement the session-based information display method according to any one of claims 1 to 15 when executing the executable instructions stored in the memory.
18. A computer-readable storage medium, characterized in that Executable instructions are stored for implementing the session-based information display method described in any one of claims 1 to 15 when executed by a processor.
19. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the session-based information display method according to any one of claims 1 to 15 is implemented.