Information display method and apparatus, electronic device, and storage medium
By displaying event message elements within the instant messaging application's conversation interface, dynamically showing the duration countdown and event information, the convenience issue for users recording specific events is resolved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-09-10
- Publication Date
- 2026-03-19
AI Technical Summary
In instant messaging applications, the user experience is poor when users record specific events, as it requires manual operation and is not convenient enough.
By displaying event message elements within the session interface, the countdown from the current moment to the first moment and the corresponding event information are dynamically displayed. Event message elements are automatically created based on user operations and synchronized to other terminal devices.
It improves the user experience in instant messaging applications by automatically creating and synchronizing event message elements, reducing manual operations and enhancing the convenience of information recording.
Smart Images

Figure CN2025120348_19032026_PF_FP_ABST
Abstract
Description
Information display method and device, electronic equipment and storage medium
[0001] Cross-reference to Related Applications
[0002] This application claims the benefit of Chinese Patent Application No. 202411266321.6, filed September 10, 2024. The entire teachings of the above application are incorporated herein by reference. TECHNICAL FIELD
[0003] Embodiments of the present disclosure relate to the field of instant messaging technology, and in particular, to an information display method and device, electronic equipment and storage medium. BACKGROUND
[0004] Currently, communication and chat between users are often realized through various types of application programs (APPs) with instant messaging functions. For example, users communicate with each other through text, voice, images, video, and audio and video calls through such application programs.
[0005] In related technologies, when a user communicates through an instant messaging application program, the user's recording of a specific event has poor user experience. SUMMARY
[0006] Embodiments of the present disclosure provide an information display method and device, electronic equipment and storage medium.
[0007] In a first aspect, embodiments of the present disclosure provide an information display method, comprising:
[0008] displaying a conversation interface; in response to a first user operation on the conversation interface, displaying an event message element in the conversation interface, wherein a duration countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation.
[0009] In a second aspect, embodiments of the present disclosure provide an information display device, comprising:
[0010] a processing unit configured to display a conversation interface; and a generating unit configured to, in response to a first user operation on the conversation interface, display an event message element in the conversation interface, wherein a duration countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation.
[0011] In a third aspect, the embodiments of the present disclosure provide an electronic device, comprising a processor and a memory.
[0012] The memory stores computer-executable instructions.
[0013] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the information display method according to the first aspect and various possible designs of the first aspect.
[0014] In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium, which stores computer-executable instructions. When a processor executes the computer-executable instructions, the information display method according to the first aspect and various possible designs of the first aspect is implemented.
[0015] In a fifth aspect, the embodiments of the present disclosure provide a computer program product, which comprises a computer program. When a processor executes the computer program, the information display method according to the first aspect and various possible designs of the first aspect is implemented. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor.
[0017] FIG. 1 is a diagram of an application scenario of an information display method according to an embodiment of the present disclosure;
[0018] FIG. 2 is a flowchart of an information display method according to an embodiment of the present disclosure;
[0019] FIG. 3 is a diagram of a specific implementation process of step S102 in the embodiment shown in FIG. 2;
[0020] FIG. 4 is a diagram of a process of displaying an event message element in a conversation interface according to an embodiment of the present disclosure;
[0021] FIG. 5 is a diagram of a correspondence between an event message element and a mapping component according to an embodiment of the present disclosure;
[0022] FIG. 6 is a flowchart of a process of a terminal device responding to a second user operation according to an embodiment of the present disclosure;
[0023] FIG. 7 is a diagram of a display interface of a terminal device responding to a second user operation according to an embodiment of the present disclosure;
[0024] FIG. 8 is a flowchart illustrating a process of a terminal device responding to a third user operation according to an embodiment of the present disclosure;
[0025] FIG. 9 is a diagram illustrating a display interface of a terminal device responding to a third user operation according to an embodiment of the present disclosure;
[0026] FIG. 10 is a flowchart illustrating a process of an information display method according to an embodiment of the present disclosure;
[0027] FIG. 11 is a diagram illustrating a process of creating an event message element based on a user-selected sentence content according to an embodiment of the present disclosure;
[0028] FIG. 12 is a diagram illustrating a detailed process of step S203 of the embodiment of FIG. 10 according to an embodiment of the present disclosure;
[0029] FIG. 13 is a diagram illustrating a process of creating an event message element based on a trigger keyword according to an embodiment of the present disclosure;
[0030] FIG. 14 is a diagram illustrating a display of a user click interaction record according to an embodiment of the present disclosure;
[0031] FIG. 15 is a diagram illustrating a process of generating a virtual video according to an embodiment of the present disclosure;
[0032] FIG. 16 is a block diagram illustrating a structure of an information display apparatus according to an embodiment of the present disclosure;
[0033] FIG. 17 is a diagram illustrating a structure of an electronic device according to an embodiment of the present disclosure;
[0034] FIG. 18 is a diagram illustrating a hardware structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the following will be combined with the accompanying drawings for the embodiments of the present disclosure to clearly and completely describe the technical solutions of the embodiments of the present disclosure. Obviously, the described embodiments are some but not all of the embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.
[0036] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the use range, the use scenario, and the like should be informed to the user and the authorization of the user should be obtained through a proper way according to relevant laws and regulations.
[0037] For example, in response to receiving an active request of a user, a prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed by the user will need to acquire and use personal information of the user. Thus, the user can autonomously select whether to provide the personal information to the software or hardware, such as an electronic device, an application program, a server or a storage medium, etc. performing the operation of the technical solution of the present disclosure according to the prompt information.
[0038] As an optional but non-limiting implementation, in response to receiving an active request of a user, the manner of sending a prompt information to the user may, for example, be a pop-up window manner, in which the prompt information can be presented in a text manner. In addition, the pop-up window can also carry a selection control for the user to select "agree" or "disagree" to provide the personal information to the electronic device.
[0039] It can be understood that the above notification and acquisition of user authorization process is only illustrative and does not limit the implementation of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0040] The application scenarios of the embodiments of the present disclosure are explained as follows:
[0041] FIG. 1 is an application scenario diagram of an information display method provided by an embodiment of the present disclosure. The information display method provided by the embodiment of the present disclosure can be applied to an application program (APP, Application) having an instant messaging function, such as an information communication application program, a data sharing application program, etc. More specifically, it can be applied to an application scenario in which a user communicates based on the above-mentioned application program having an instant messaging function. The execution subject of the present embodiment can be a terminal device running the above-mentioned application program having an instant messaging function, or a server deploying a server corresponding to the above-mentioned application program, or other electronic devices having similar functions.
[0042] In some embodiments, the terminal device or the server can implement the information display method provided in the embodiments of the present application by running various computer-executable instructions or computer programs. For example, the computer-executable instructions can be program-level commands, machine instructions, or software instructions. The computer program can be a native program in the operating system or a software module; it can be a native application program, i.e., a program that needs to be installed in the operating system to run, or it can be a small program embedded in any APP, i.e., a program running based on a browser environment. In summary, the above computer-executable instructions can be any form of instructions, and the above computer programs can be any form of application programs, modules, or plug-ins, and the specific implementation form can be configured as needed. Further, in some embodiments, the server can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud storage, cloud communication, cloud database, cloud computing, cloud function, network service, middleware service, domain name service, security service, content delivery network (CDN), and big data and artificial intelligence platform, etc. Basic cloud computing services, wherein the cloud service can be an interactive processing service for terminal devices to call.
[0043] Referring to FIG. 1, in the case of a terminal device as an execution subject, an application program (hereinafter referred to as an application program) with instant messaging function is running in the terminal device. User user_A can communicate with another user user_B using the application program, and then in the process of communication between user user_A and user user_B, user user_A and / or user user_B record the corresponding specific event according to personal needs, for example, the user user_A shown in the figure communicates with the user user_B through the application program chat_1 installed in the terminal device dev_A, wherein the user user_B receives the communication information info_0 sent by the user user_A through the application program chat_1 installed in the terminal device dev_B. The server is used to implement the transmission of communication information info_0 between terminal device dev_A and terminal device dev_B, and through the method provided in the embodiment, for example, based on the user operation of the user user_B, the corresponding specific event information is created and sent to the terminal device dev_B, so as to display the event message element corresponding to the specific event information on the display interface of the terminal device dev_B.
[0044] In the related art, for example, in the application scenario shown in FIG. 1, when the user user_A and the user user_B communicate through an application program, there is corresponding communication information info_0, and then, for example, the user user_B needs to record a specific event according to the communication information info_0, and then the user user_B needs to open an application program with saved text information and / or image information on the terminal device dev_B, and then the specific event information of the specific event can be input and recorded. Therefore, since the recording of the specific event by the user is usually completed manually, there is a problem of poor user experience in the scheme.
[0045] The embodiments of the present disclosure provide an information display method to solve the above problems.
[0046] Referring to FIG. 2, FIG. 2 is a flowchart of an information display method provided by the embodiments of the present disclosure. The method of the present embodiment can be applied in a server, a terminal device or other electronic device, and the information display method comprises the following steps:
[0047] Step S101: displaying a session interface.
[0048] For example, based on the user clicking the icon of the application program on the terminal device, the display interface of the terminal device displays the running interface of the application program, and then based on the user clicking the related component, for example, the "message" component, in the running interface, the display interface of the terminal device displays the message interface of the application program, and then based on the user clicking the corresponding "contact" component in the message interface to determine the target contact person, the display interface of the terminal device displays the session interface of the user and the target contact person, that is, the terminal device creates the session interface.
[0049] Step S102: in response to a first user operation on the session interface, displaying an event message element in the session interface, wherein a time length countdown from the current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation.
[0050] Referring to the application scenario diagram shown in FIG. 1, the client on the terminal device side is taken as the execution subject to introduce the information display method provided in the present embodiment, and for example, the terminal device runs the client of the application program. The server and the terminal device are based on the server-client communication, and the information synchronization between multiple clients is realized, specifically, the client displays the event message element corresponding to the event message element information in the session interface of the client of the application program based on the user operation, and at the same time, the event message element related information can be transmitted to the server to realize the synchronization between multiple clients. Wherein, the event message element information corresponds to the specific event information in the scenario shown in FIG. 1.
[0051] Exemplarily, the application program provides the user with the function of triggering the creation of an event message element by a specific keyword. Specifically, the client of the application program is provided with a specific keyword detection function, and when the user inputs a statement containing the specific keyword in the conversation interface, i.e., a first user operation, the client determines the statement as a creation event instruction, and the terminal device triggers the creation event instruction to generate corresponding event message element information, and then sends the event message element information to other terminal devices corresponding to the conversation, and the other terminal devices create an event message element in the conversation interface according to the event message element information, wherein the event message element dynamically displays a time length countdown from the current time to the first time, and the event information corresponding to the first time, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation. In another possible implementation, the first user operation can be an input operation on the conversation interface, such as inputting text, voice, etc., or a selection operation or a display operation on the conversation interface, so that the conversation interface can display the event message element. The terminal device displays the event message element created by other users in the conversation interface in response to the first user operation.
[0052] Specifically, for example, the specific keyword is "event reminder", the user inputs the statement content "his birthday is June 8, create an event reminder of a birthday countdown", and the client of the application program detects that the content input by the user contains the specific keyword, and then determines the corresponding creation event instruction, the content of the creation event instruction is, for example, "according to the statement content "his birthday is June 8, create an event reminder of a birthday countdown", generate corresponding event message element information", and then the terminal device calls the language model based on the creation event instruction to process the creation event instruction to generate event message element information. The terminal device can obtain and update the current time according to the event message element information, calculate and display the time length countdown from the current time to the first time "June 8", render and display the event content "birthday" (for example, render the font, font size, and color of "birthday"), and render and display the message element background of the event message element (the background contains icon elements of birthday blessings); and when the terminal device receives the event message element information, the terminal device creates a corresponding event message element based on the event message element information, and displays the event message element in the conversation interface, wherein the event message element is composed of dynamically updated text content "12 days and 11 hours to his birthday", icon element "party popper", icon element "ribbon", and icon element "cake", the color of the text content is red, and the above text content and icon elements are rendered and generated by the terminal device according to the event message element information.
[0053] In another possible implementation, the first user operation includes a first sub-operation and a second sub-operation, and FIG. 3 is a schematic diagram of a specific implementation process of step S102 in the embodiment shown in FIG. 2. As shown in FIG. 3, the specific implementation process of step S102 includes the following steps.
[0054] Step S1021, in response to the first sub-operation for the session interface, a setting page of the session interface is displayed, and the setting page contains a function item for creating an event message element.
[0055] Step S1022, in response to the second sub-operation for the function item, the first time and the event information are generated.
[0056] Step S1023, based on the first time and the event information, the event message element is created in the session interface.
[0057] In a possible implementation, FIG. 4 is a schematic diagram of a process of creating an event message element in a session interface according to an embodiment of the present disclosure. As shown in FIG. 4, the first sub-operation is that a user user_0 clicks a "setting" icon in the session interface, and the session interface further displays a name "user_G" of a target contact chatting with the user user_0, a session interface of the user user_0 and the target contact user_G, and an input box of chat information, for example, the user user_0 sends text content "good morning" to the target contact user_G. Then, in response to the first sub-operation, the terminal device displays a setting interface of the session interface, wherein the setting page contains a function item for creating an event message element, for example, the function item includes a first function item for determining a "first time" and a second function item for inputting "event information". Then, the second sub-operation is that the user inputs the corresponding first time and event information according to the function item displayed by the setting interface, and then clicks a "confirm" button to upload the input first time and event information, for example, the user clicks an area corresponding to "input event" displayed by the second function item to input the "event information", and clicks an area corresponding to "select time" displayed by the first function item to select the "first time", for example, the event information input by the user is "time of next meeting", and the first time selected by the user is "August 31, 2024". Then, in response to the second sub-operation, the terminal device generates the first time and the event information. Then, based on the first time and the event information, the terminal device acquires a current time by communicating with a server, and displays the event message element in the session interface, for example, the current time is "August 28, 2024", and the created event message element displays the following content "3 days to next meeting". Further, the terminal device updates a time length countdown displayed by the event message element in real time by communicating with the server.
[0058] Further, the terminal device generates event synchronization information according to the first time and the event information, the event synchronization information is used to indicate the communication relationship between the user and the target contact, and event content displayed by the event message element. Then, the terminal device sends the event synchronization information to the terminal device of the target contact. Then, the terminal device of the target contact creates a second event message element according to the event synchronization information, and the second event message element is displayed in a conversation interface on the terminal device of the target contact. The second event message element synchronously displays "3 days to the next meeting".
[0059] It can be understood that FIG. 4 is only a schematic process of creating an event message element. The user can not only select the date shown in FIG. 4, but also further select a specific time, which can be specific to hours, minutes and seconds. The process of selecting a specific time is not shown here.
[0060] In the step of the embodiment, the terminal device automatically generates a corresponding event message element based on the first sub-operation and the second sub-operation of the user, and can further be synchronized to the device of the target contact in communication with the user, thereby improving the user experience of the user when using the instant messaging application.
[0061] Further, the mapping component of the event message element is displayed in a target area of the conversation interface. The target area can be the top or bottom of the conversation interface. The mapping component is used to display at least one of the following: event information, a duration countdown, and user identifiers of at least two target users in the conversation interface. Specifically, when the event message element generated by the terminal device is displayed in the conversation interface, the display area occupied by the event message element in the entire display interface is affected by the amount of content displayed, i.e., the more content, the larger the display area occupied, and the less content, the smaller the display area occupied. Further, the terminal device displays the mapping component of the event message element in the target area of the conversation interface, where the mapping component displays at least one of the following: event information, a duration countdown, and user identifiers of at least two target users in the conversation interface. FIG. 5 shows a correspondence between an event message element and a mapping component according to an embodiment of the present disclosure. As shown in FIG. 5, based on the conversation interface between user user_0 and target contact user_G shown in FIG. 4, if the content displayed by the event message element is “3 days, 12 hours, and 48 minutes to the next meeting with him”, and the mapping component displays event information, a duration countdown, and user identifiers of at least two target users in the conversation interface, the content displayed by the mapping component is “3 days, 12 hours, and 48 minutes to the next meeting”, user identifiers, and target contact identifiers. Further, the display content of the mapping component is determined according to the size of the display area of the terminal device. For example, the display area of the terminal device allows the mapping component to display 15 characters. When the actual display content is 10 characters, the mapping component statically displays the 10 characters. When the actual display content is 20 characters, the mapping component dynamically scrolls to display the 20 characters.
[0062] Further, after the mapping component of the event message element is displayed on the top, the terminal device can further display target records related to the first event in response to a second user operation of the user. Referring to FIG. 6, which shows a flowchart of the terminal device responding to a second user operation according to an embodiment of the present disclosure, the specific steps of the terminal device responding to the second user operation include the following:
[0063] In step S1031, conversation information generated in the conversation interface after the event message element is created is obtained, and target records are generated according to the conversation information. The conversation information includes first text information and / or first media information, and the target records are conversation information related to the first event.
[0064] In step S1032, the target records are displayed in response to the second user operation on the mapping component.
[0065] Exemplarily, after the event message element is created, the terminal device determines the corresponding keyword according to the first event, and then generates the corresponding target record by obtaining the conversation information generated in the session interface after the event message element is created, and processing the conversation information based on the keyword corresponding to the first event, wherein the conversation information includes first text information and / or first media information. Specifically, for example, FIG. 7 is a display schematic diagram of a display interface of the terminal device responding to a second user operation provided by an embodiment of the present disclosure, as shown in FIG. 7, on the basis of the session interface of the user user_0 and the target contact user_G shown in FIG. 4, and on the basis of the mapping component shown in FIG. 5, the first event is “the date of the next meeting is August 31, 2024”, the conversation information generated in the session interface after the event message element is created is “good morning”, “good morning”, “go to eat hot pot next time”, “picture A (this picture is used to indicate the scenery, or the person, or the posture of taking pictures in the place to be checked in in the next sentence)”, “go to this place to check in next time”, “no problem”, “picture B (this picture is used to indicate the person's dressing in the next sentence)”, “am I good-looking today in this suit?”; and then, the terminal device processes the above-mentioned conversation information based on the keyword “next meeting” corresponding to the first event, and obtains the corresponding target record, which is “go to eat hot pot next time”, “picture A”, “go to this place to check in next time”; and then, the terminal device displays the target record in response to the second user operation of the user for the mapping component, that is, the display interface of the terminal device jumps from displaying the “session interface” to displaying the “target record”. The second user operation includes a click operation, a long press operation, a sliding operation (left sliding, right sliding, up sliding, and down sliding operation). The conversation information related to the first event is obtained, and the corresponding target record is generated, so as to facilitate the user to view, and the use experience of the user is improved.
[0066] Further, after the mapping component displaying the event message element on top, the terminal device can further display the image record related to the first event in response to the third user operation of the user, as shown in FIG. 8, which is a flowchart schematic diagram of the terminal device responding to the third user operation provided by an embodiment of the present disclosure. The specific steps of the terminal device responding to the third user operation include:
[0067] Step S103A: displaying a record detail page in response to the third user operation for the mapping component.
[0068] Step S103B: generating an image record in the record detail page, the image record including time information and second text information and / or second media information corresponding to the time information.
[0069] Exemplarily, in response to a third user operation on the mapping component by the user, the display interface of the terminal device jumps from displaying the "session interface" to displaying a "record detail page". In the interface of the record detail page, the application provides an input component for the user to input second text information and / or second media information. In turn, the terminal device can generate an image record containing time information based on the second text information and / or the second media information input by the user, wherein the time information includes the current time and / or a countdown of the time length from the current time to the first time.
[0070] FIG. 9 is a display schematic diagram of a display interface of the terminal device in response to a third user operation according to an embodiment of the present disclosure. As shown in FIG. 9, based on the session interface of the user user_0 and the target contact user_G shown in FIG. 4, and based on the mapping component shown in FIG. 5, the first event is "the date of the next meeting is August 31, 2024". In response to a third user operation on the mapping component by the user, the display interface of the terminal device jumps from displaying the "session interface" to displaying a "record detail page". The record detail page displays "3 days 12 hours 48 minutes left until the next meeting", "record this moment", a corresponding input text box, "take a photo to record", a corresponding "camera icon" functional component, a "return" functional component, a "refresh" functional component, and a "save" functional component. In turn, the terminal device can record the text input by the user, i.e., the second text information, in response to the user clicking the input text box, inputting the text "happy", and clicking the "save" functional component. The terminal device can also record the photo or video taken by the user, i.e., the second media information, in response to the user clicking the "camera icon" functional component to take a photo or record a video, and clicking the "save" functional component. The user can input only the second text information, only the second media information, or both the second text information and the second media information asynchronously, so as to generate and display an image record by the terminal device. The image record generated and displayed by the terminal device includes the time information, the second text information corresponding to the time information, and / or the second media information corresponding to the time information.
[0071] In this embodiment, a session interface is created; in response to a first user operation on the session interface, an event message element is displayed in the session interface, wherein a duration countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation. The user performs the first user operation on the session interface displayed by the terminal device according to the first event, and the terminal device determines the corresponding first time and event information in response to the first user operation. Then, the terminal device obtains the current time and dynamically refreshes the duration countdown based on the current time and the first time. Then, the terminal device generates the corresponding event message element according to the duration countdown and the event information corresponding to the first time, so as to prompt the user about the first event and the remaining duration of the current time from the first event, thereby solving the problem of poor user experience when the user uses the instant messaging application.
[0072] Referring to FIG. 10, FIG. 10 is a flowchart of a method for displaying information according to an embodiment of the present disclosure. In this embodiment, step S102 in the embodiment shown in FIG. 2 is further refined. The method for displaying information includes the following steps.
[0073] Step S201: creating a session interface.
[0074] Step S202: generating target conversation information in the session interface in response to a first user operation on the session interface.
[0075] Step S203: displaying an event message element in the session interface according to the target conversation information, wherein a duration countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation.
[0076] Exemplarily, the first user operation is used to instruct the user to select at least one piece of sentence content in the conversation interface, and in response to the first user operation of the user, the terminal device creates an event message element by using the client of the application program with the selected sentence content of the user, and displays the event message element in the conversation interface after the event message element is created. Specifically, for example, FIG. 11 is a process schematic diagram of creating an event message element based on the selected sentence content of the user provided by an embodiment of the present disclosure. As shown in FIG. 11, the conversation interface displays the name of the target contact chatting with the user user_0, that is, “user_G”, the conversation interface of the user user_0 and the target contact user_G, that is, “Let's meet on August 31, 2024; That's great, no problem; Do you remember to buy a ticket? Hmmm”, the input box of the chat information, and the current time (date) is “August 28, 2024”. In the conversation interface, the user selects the following sentence content: “Let's meet on August 31, 2024; That's great, no problem”, and clicks the “create countdown” function component. Then, the terminal device triggers the user request of “create countdown”, and processes the above-mentioned sentence content and the user request of “create countdown” by calling the language model, generates and synchronizes the target conversation information “There are still 3 days left before the next meeting” to the server, so as to realize the effect that the terminal device displays “There are still 3 days left before the next meeting” in the conversation interface. Further, the terminal devices on both sides generate the event message element that is refreshed in real time to realize dynamic display according to the target conversation information “There are still 3 days left before the next meeting”.
[0077] Further, in another possible implementation, the target conversation information contains a trigger keyword. FIG. 12 is a schematic diagram of the specific implementation steps of step S203 in the embodiment shown in FIG. 10. As shown in FIG. 12, the specific implementation steps of step S203 include:
[0078] Step S2031: After detecting the trigger keyword in the conversation interface, the historical conversation information located before the target conversation information in the conversation interface is obtained.
[0079] Step S2032: The first time and / or event information are generated according to the conversation semantics of the historical conversation information.
[0080] Step S2033: The event message element is displayed in the conversation interface according to the first time and the event information.
[0081] Exemplarily, the application program is configured with a language model, a client of the application program is provided with a keyword detection function, a first user operation is used to indicate a statement content input by a user in a conversation interface, i.e., dialogue information; then, when the statement content input by the user in the conversation interface contains a preset keyword, the client determines the statement containing the preset keyword as target dialogue information, i.e., the target dialogue information contains a trigger keyword; further, after detecting the trigger keyword in the conversation interface, the client acquires historical dialogue information before the target dialogue information in the conversation interface, wherein the acquired historical dialogue information can be dialogue information in a preset time period before a corresponding time of the target dialogue information, or dialogue information of a preset data volume before the target dialogue information; then, the terminal device calls the language model through the client of the application program to process the historical dialogue information, obtains dialogue semantics of the historical dialogue information authorized and determined by the user, and further generates first time and / or event information based on the dialogue semantics of the historical dialogue information; then, after the terminal device acquires the first time and / or event information output by the language model, the event message element can be displayed in the conversation interface according to the first time and event information.
[0082] In a possible implementation, FIG. 13 is a process schematic diagram of creating an event message element based on a trigger keyword according to an embodiment of the present disclosure. As shown in FIG. 13, the current time (date) is “August 28, 2024”, the “settings” icon is displayed on the conversation interface, and the following dialogue information is further displayed on the conversation interface: “AA, good morning, the weather is really good today; hmm; BB, let’s meet on August 31, 2024; that’s great, no problem; then do you remember to buy a ticket; hmm”. After the user (BB) inputs the above statement content and the target contact (AA) inputs the statement content “generate event reminder”, the user (BB) inputs the statement content “generate event reminder” and clicks the “send” button, where “event reminder” is a trigger keyword. Then, the client determines the statement content “generate event reminder” as the target dialogue information based on the trigger keyword, and displays the prompt message “event reminder is being generated” on the display interface of the terminal device device_B. Meanwhile, the user (BB) can continue to communicate with the target contact (AA) through the conversation interface, or perform other operations using the application program, or perform other operations using other application programs on the terminal device device_B. In the background process of the terminal device device_B, the client obtains the historical dialogue information before the target dialogue information in the conversation interface. Then, the terminal device device_B processes the historical dialogue information by calling the language model of the client of the application program, obtains the dialogue semantics of the historical dialogue information, for example, the dialogue semantics is “AA and BB agree to meet on August 31, 2024”. Further, the client generates the corresponding first time “August 31, 2024” and event information “AA and BB meet countdown” based on the dialogue semantics. Then, the terminal device device_B displays the event message element in the conversation interface after generating the first time “August 31, 2024” and the event information “AA and BB meet”. Further, the content displayed by the event message element created by the terminal device device_B of the user (BB) is “3 days to next meeting with AA”, and the content displayed by the event message element created by the terminal device device_R of the target contact (AA) is “3 days to next meeting with BB”. The present disclosure is only an example, and the present disclosure does not specifically limit the terminal device creating the event message element. It can be created and displayed only by the terminal device of the user, or only by the terminal device of the target contact communicating with the user, or created and displayed synchronously by the terminal devices of the user and the target contact.
[0083] In the step of the embodiment, the corresponding target conversation information is determined by detecting the trigger keyword (keyword), and the historical conversation information before the target conversation information is automatically captured. Further, the historical conversation information is subjected to semantic analysis by a language model. On the basis of the semantic analysis, the first time and / or event information are further determined. Then, the terminal device automatically creates an event message element in response to the user operation, thereby realizing the function of prompting the user of the first event and the remaining time length of the current time from the first event, and solving the problem of poor user experience when the user uses the instant messaging application.
[0084] Further, in response to the end of the time length countdown corresponding to the event message element, the client of the application installed in the terminal device performs at least one of the following: displaying prompt information and / or image special effects in the conversation interface; pushing the prompt information to the client corresponding to the target user located in the conversation interface; canceling the top display of the mapping component of the event message element in the target area (such as the top area or the bottom area) of the conversation interface; wherein the target user located in the conversation interface corresponds to the target contact in the above embodiment. Specifically, for example, after the end of the time length countdown corresponding to the event message element, prompt information and / or image special effects are displayed in the conversation interface to prompt the user that the current time is the first time corresponding to the event message element, thereby reminding the user of the first event corresponding to the first time; the prompt information is pushed to the client corresponding to the target user located in the conversation interface to automatically synchronize the current time to the first time corresponding to the event message element to the target user, thereby reminding the target user of the first event corresponding to the first time; the top display of the mapping component of the event message element in the top area of the conversation interface is canceled, and after the end of the time length countdown corresponding to the event message element, the reminder function of the event message element is disabled, and the mapping component of the disabled event message element is still displayed on the top of the conversation interface, which reduces the content amount of the displayed content of the conversation interface, and thus the top display of the mapping component of the event message element is canceled after the end of the time length countdown corresponding to the event message element.
[0085] Further, in response to the end of the time length countdown corresponding to the event message element, the information display method further includes:
[0086] Step S204: obtaining interaction data corresponding to the event message element, the interaction data representing conversation information generated in a time period between the second time and the first time in the conversation interface, the second time being the creation time of the event message element.
[0087] Step S205: generating an interaction record of the event message element based on the interaction data, the interaction record including the conversation content and conversation time of each target user in the conversation interface between the second time and the first time.
[0088] Exemplarily, in response to the end of the time length countdown corresponding to the event message element, the terminal device determines, according to the creation time of the event message element, a start time of acquiring the interaction data corresponding to the event message element, i.e., the second time, and further determines, based on the second time and the first time, a time range of acquiring the interaction data, and further combines the full amount of conversation information between the user and the target contact person, to obtain the interaction data corresponding to the event message element, i.e., the interaction data corresponds to the conversation information generated in the time period between the second time and the first time, wherein exemplarily, the conversation information can be stored in the terminal device; further, the terminal device generates the interaction record of the event message element based on the conversation content and the conversation time of each target user corresponding to the interaction data, i.e., the terminal device arranges the corresponding conversation content according to the conversation time of each target user, and slices and groups the arranged conversation content based on a preset time interval, to obtain the conversation content with a time sequence parent-child relationship, and further generate the corresponding interaction record; FIG. 14 is a display schematic diagram of a user clicking an interaction record provided by an embodiment of the present disclosure, as shown in FIG. 14, the time sequence parent-child relationship of the conversation content is Month-Week-Day, the interaction record includes a first-level interaction record, a second-level interaction record, and a third-level interaction record, the first-level interaction record corresponds to display of Month and data data_1 of the corresponding time interval, the second-level interaction record corresponds to display of Week and data of the corresponding time interval, i.e., Week_1 corresponds to data data_1_1, Week_2 corresponds to data data_1_2, and Week_3 corresponds to data data_1_3, for the data data_1_1 corresponding to Week_1, the third-level interaction record corresponds to display of Day in Week_1 and data of the corresponding time interval, i.e., Day_1 corresponds to data data_1_1_1, Day_2 corresponds to data data_1_1_2, and Day_3 corresponds to data data_1_1_3, further, based on the user clicking the function component corresponding to the data data_1_1_1, the specific conversation content in the time interval of Day_1 can be displayed.
[0089] In the step of the embodiment, the user is provided with the conversation content in a specified time range, and when the user reviews the conversation content, the user can click the identifier corresponding to the interaction record to quickly and accurately review the related information; further, the conversation content is divided according to the conversation time to obtain the conversation content with a time sequence parent-child relationship, so that the user can review the corresponding conversation content by selecting a time point, thereby improving the user experience.
[0090] Further, after obtaining the interaction record of the event message element, the interaction record is input into the pre-trained content generation model to generate a corresponding virtual video, wherein the virtual video comprises at least two video frames, the playback time stamp of the video frame is determined based on the conversation time in the interaction record, and the image content of the video frame is generated based on the conversation content in the interaction record. For example, after the terminal device generates the interaction record of the event message element, the terminal device sends the interaction record to the pre-trained content generation model to process the interaction record, and a corresponding virtual video is generated. Specifically, for example, referring to FIG. 15, which is a process schematic diagram of generating a virtual video provided by an embodiment of the present disclosure, the interaction record comprises text information, media information and corresponding conversation time, wherein the media information comprises picture information, video information and audio information. Then, after the interaction record is input into the pre-trained content generation model, the text encoder in the content generation model encodes the text information to generate a text feature sequence, the visual encoder in the content generation model encodes the picture information and / or the video information to generate an image feature sequence, and the audio encoder in the content generation model encodes the audio information to generate an audio feature sequence. Then, the video generation model in the content generation model generates at least two video frames according to at least one of the text feature sequence, the image feature sequence and the audio feature sequence, and further matches the video frames with corresponding playback time stamps according to the conversation time corresponding to the text feature sequence, the conversation time corresponding to the image feature sequence and the conversation time corresponding to the audio feature sequence, so as to realize the playback of the virtual video composed of at least two video frames according to the playback time stamps. Then, the content generation model sends the virtual video to the client for the user to view.
[0091] In the step of the embodiment, the pre-trained content generation model is called to process the interaction record, and a virtual video with time sequence characteristics is generated, wherein the playback time stamp corresponding to the time sequence characteristics is determined based on the conversation time in the interaction record, the static conversation content is converted into a dynamic virtual video, and the user experience of the user using the instant messaging application is improved.
[0092] In the embodiment, the implementation manner of step S201 is the same as that of step S101 in the embodiment shown in FIG. 2 of the present disclosure, and will not be described here.
[0093] Corresponding to the information display method of the above embodiment, FIG. 16 is a structural block diagram of an information display device provided by an embodiment of the present disclosure. The method introduced in the above embodiment can be executed by the information display device, which can be realized by software and / or hardware, and the device can be integrated in an electronic device with certain data processing function. The electronic device can include but is not limited to a mobile terminal with large data processing capacity, and a desktop computer, a supercomputer and other fixed terminals with large data processing capacity.
[0094] For the convenience of description, only parts related to the embodiments of the present disclosure are shown. Referring to FIG. 16, the information display device 3 includes:
[0095] The processing unit 31 is configured to create a conversation interface.
[0096] The generating unit 32 is configured to display an event message element in the conversation interface in response to a first user operation on the conversation interface, wherein a time length countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information is used to indicate a first event, and the first time and the event information are determined based on the first user operation.
[0097] According to one or more embodiments of the present disclosure, when the generating unit 32 displays the event message element in the conversation interface in response to the first user operation on the conversation interface, it is specifically configured to: generate target conversation information in the conversation interface in response to the first user operation on the conversation interface; and display the event message element in the conversation interface according to the target conversation information.
[0098] According to one or more embodiments of the present disclosure, the target conversation information contains a trigger keyword; when the generating unit 32 displays the event message element in the conversation interface according to the target conversation information, it is specifically configured to: after detecting the trigger keyword in the conversation interface, obtain historical conversation information located before the target conversation information in the conversation interface; generate the first time and / or the event information according to the conversation semantics of the historical conversation information; and display the event message element in the conversation interface according to the first time and the event information.
[0099] According to one or more embodiments of the present disclosure, the first user operation includes a first sub-operation and a second sub-operation; when the generating unit 32 creates the event message element in the conversation interface in response to the first user operation on the conversation interface, it is specifically configured to: display a setting page of the conversation interface in response to the first sub-operation on the conversation interface, the setting page contains a function item for creating the event message element; generate the first time and the event information in response to the second sub-operation on the function item; and display the event message element in the conversation interface based on the first time and the event information.
[0100] According to one or more embodiments of the present disclosure, the information display apparatus 32 is further configured to: display, in a top area of the session interface, a mapping component of the event message element, wherein the mapping component is configured to display at least one of: event information, a time length countdown, and user identifiers of at least two target users in the session interface.
[0101] According to one or more embodiments of the present disclosure, the information display apparatus 32 is further configured to: obtain conversation information generated in the session interface after the event message element is created, and generate a target record according to the conversation information, wherein the conversation information includes first text information and / or first media information, and the target record is the conversation information related to the first event; and display the target record in response to a second user operation on the mapping component.
[0102] According to one or more embodiments of the present disclosure, the information display apparatus 32 is further configured to: display a record detail page in response to a third user operation on the mapping component; and generate an image record in the record detail page, wherein the image record includes time information and second text information and / or second media information corresponding to the time information.
[0103] According to one or more embodiments of the present disclosure, the information display apparatus 32 is further configured to: in response to the time length countdown corresponding to the event message element ending, perform at least one of: displaying prompt information and / or image special effects in the session interface; pushing the prompt information to a client corresponding to a target user located in the session interface; and canceling the top display of the mapping component of the event message element in the top area of the session interface.
[0104] According to one or more embodiments of the present disclosure, the information display apparatus 32 is further configured to: in response to the time length countdown corresponding to the event message element ending, obtain interaction data corresponding to the event message element, wherein the interaction data represents conversation information generated in a time period between a second time and a first time in the session interface, and the second time is the creation time of the event message element; and generate an interaction record of the event message element based on the interaction data, wherein the interaction record includes conversation content and conversation time of each target user in the session interface between the second time and the first time.
[0105] According to one or more embodiments of the present disclosure, the information display apparatus 32 is further configured to: input the interaction record into a pre-trained content generation model to generate a corresponding virtual video, wherein the virtual video includes at least two video frames, a playback timestamp of each video frame is determined based on the conversation time in the interaction record, and image content of each video frame is generated based on the conversation content in the interaction record.
[0106] The processing module 31 and the generation module 32 are connected. The information display apparatus 3 provided in the embodiment can execute the technical solutions of the above-mentioned method embodiments, and the implementation principles and technical effects are similar. Herein, the present embodiment will not be described again.
[0107] FIG. 17 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 17, the electronic device 4 includes:
[0108] a processor 41, and a memory 42 connected to the processor 41 in communication;
[0109] The memory 42 stores computer-executable instructions.
[0110] The processor 41 executes the computer-executable instructions stored in the memory 42 to implement the information display method in the embodiments shown in FIGS. 2-15.
[0111] Optionally, the processor 41 and the memory 42 are connected through a bus 43.
[0112] The related descriptions can be understood in correspondence with the related descriptions and effects of the steps in the embodiments corresponding to FIGS. 2-15, and will not be described in detail here.
[0113] An embodiment of the present disclosure provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the information display method provided by any one of the embodiments corresponding to FIGS. 2-15 of the present disclosure.
[0114] An embodiment of the present disclosure provides a computer program product, and the computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the information display method provided by any one of the embodiments corresponding to FIGS. 2-15 of the present disclosure.
[0115] In order to implement the above-mentioned embodiments, an embodiment of the present disclosure further provides an electronic device.
[0116] Referring to FIG. 18, FIG. 18 is a hardware structural schematic diagram of an electronic device according to an embodiment of the present disclosure, which shows a structural schematic diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure. The electronic device 900 can be a terminal device or a server. The terminal device can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a Portable Android Device (PAD), a Portable Media Player (PMP), a vehicle terminal (for example, a vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in FIG. 18 is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
[0117] As shown in FIG. 18, the electronic device 900 can include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901 that can perform various appropriate actions and processes according to programs stored in a Read Only Memory (ROM) 902 or loaded into a Random Access Memory (RAM) 903 from a storage device 908. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An Input / Output (I / O) interface 905 is also connected to the bus 904.
[0118] In general, the following devices can be connected to the I / O interface 905: input devices 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication devices 909 can allow the electronic device 900 to communicate with other devices wirelessly or wired to exchange data. Although FIG. 18 shows the electronic device 900 with various devices, it should be understood that all of the illustrated devices are not required to be implemented or possessed. More or less devices can be alternatively implemented or possessed.
[0119] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 909, or installed from the storage devices 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-described functions defined in the methods of the embodiments of the present disclosure are performed.
[0120] It should be noted that the computer-readable medium in the above disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present disclosure, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or apparatus. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to a wire, a cable, an RF (radio frequency) or the like, or any suitable combination of the above.
[0121] The computer-readable medium described above can be contained in the electronic device described above; or can exist separately and not be assembled into the electronic device.
[0122] The computer-readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
[0123] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0124] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or in the reverse order, depending on the functionality involved. It is also noted that each block in the block diagrams and / or flow diagrams and combinations of blocks in the block diagrams and / or flow diagrams can be implemented by special-purpose hardware-based systems that perform the specified functions or operations, or combinations of special-purpose hardware and computer instructions.
[0125] The units or modules described in the embodiments of the present disclosure can be implemented by software, or by hardware. In some cases, the name of the unit or module does not constitute a limitation on the unit itself.
[0126] The functions described in the foregoing description can be implemented in part or in whole by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0127] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0128] In a first aspect, according to one or more embodiments of the present disclosure, an information display method is provided, comprising:
[0129] displaying a session interface; in response to a first user operation on the session interface, displaying an event message element in the session interface, wherein a time length countdown from a current time to a first time is dynamically displayed in the event message element, and event information corresponding to the first time is displayed in the event message element, the event information being used to indicate a first event, the first time and the event information being determined based on the first user operation.
[0130] According to one or more embodiments of the present disclosure, the displaying the event message element in the session interface in response to the first user operation on the session interface comprises: generating target conversation information in the session interface in response to the first user operation on the session interface; and displaying the event message element in the session interface according to the target conversation information.
[0131] According to one or more embodiments of the present disclosure, the target conversation information contains a trigger keyword; and the displaying the event message element in the session interface according to the target conversation information comprises: after detecting the trigger keyword in the session interface, obtaining historical conversation information in the session interface before the target conversation information; generating the first time and / or the event information according to a conversation semantic of the historical conversation information; and displaying the event message element in the session interface according to the first time and the event information.
[0132] According to one or more embodiments of the present disclosure, the first user operation includes a first sub-operation and a second sub-operation, and the creating, in the session interface, an event message element in response to the first user operation for the session interface includes: displaying, in response to the first sub-operation for the session interface, a setting page of the session interface, the setting page containing a function item for creating the event message element; generating, in response to a second sub-operation for the function item, the first time and the event information; and creating, based on the first time and the event information, the event message element in the session interface.
[0133] According to one or more embodiments of the present disclosure, the method further includes: displaying, in a top area of the session interface, a mapping component of the event message element, wherein the mapping component is configured to display at least one of the event information, the time duration countdown, and user identifiers of at least two target users in the session interface.
[0134] According to one or more embodiments of the present disclosure, the method further includes: obtaining conversation information generated in the session interface after the event message element is created, and generating a target record based on the conversation information, wherein the conversation information includes first text information and / or first media information, and the target record is conversation information related to the first event; and displaying, in response to a second user operation for the mapping component, the target record.
[0135] According to one or more embodiments of the present disclosure, the method further includes: displaying, in response to a third user operation for the mapping component, a record detail page; and generating, in the record detail page, an image record including time information and second text information and / or second media information corresponding to the time information.
[0136] According to one or more embodiments of the present disclosure, the method further includes: in response to the time duration countdown corresponding to the event message element ending, performing at least one of the following: displaying prompt information and / or image special effects in the session interface; pushing prompt information to a client corresponding to a target user located in the session interface; and canceling the top display of the mapping component of the event message element in the top area of the session interface.
[0137] According to one or more embodiments of the present disclosure, the method further comprises: in response to the time length countdown corresponding to the event message element ending, obtaining interaction data corresponding to the event message element, the interaction data representing conversation information generated in a time period between a second time and the first time within the conversation interface, the second time being a creation time of the event message element; based on the interaction data, generating an interaction record of the event message element, the interaction record including conversation content and conversation time of each target user in the conversation interface between the second time and the first time.
[0138] According to one or more embodiments of the present disclosure, the method further comprises: inputting the interaction record into a pre-trained content generation model to generate a corresponding virtual video, wherein the virtual video includes at least two video frames, the playback time stamp of the video frame being determined based on the conversation time in the interaction record, and the image content of the video frame being generated based on the conversation content in the interaction record.
[0139] In a second aspect, according to one or more embodiments of the present disclosure, an information display device is provided, comprising:
[0140] a processing unit configured to display a conversation interface;
[0141] a generation unit configured to, in response to a first user operation on the conversation interface, display an event message element in the conversation interface, wherein a time length countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information being used to indicate a first event, and the first time and the event information being determined based on the first user operation.
[0142] According to one or more embodiments of the present disclosure, the generation unit, when displaying the event message element in the conversation interface in response to the first user operation on the conversation interface, is specifically configured to: in response to the first user operation on the conversation interface, generate target conversation information in the conversation interface; and display the event message element in the conversation interface according to the target conversation information.
[0143] According to one or more embodiments of the present disclosure, the target conversation information includes a trigger keyword; and the generation unit, when displaying the event message element in the conversation interface according to the target conversation information, is specifically configured to: after detecting the trigger keyword in the conversation interface, obtain historical conversation information in the conversation interface before the target conversation information; generate the first time and / or the event information according to the conversation semantics of the historical conversation information; and display the event message element in the conversation interface according to the first time and the event information.
[0144] According to one or more embodiments of the present disclosure, the first user operation includes a first sub-operation and a second sub-operation, and the generating unit is specifically configured to: in response to the first user operation on the session interface, when creating an event message element in the session interface, display a setting page of the session interface, the setting page containing a function item for creating the event message element, in response to the first sub-operation on the session interface; in response to a second sub-operation on the function item, generate the first time and the event information; and based on the first time and the event information, create the event message element in the session interface.
[0145] According to one or more embodiments of the present disclosure, the information display device is further configured to: display a mapping component of the event message element on a top area of the session interface, wherein the mapping component is configured to display at least one of the following: the event information, the time length countdown, and user identifiers of at least two target users in the session interface.
[0146] According to one or more embodiments of the present disclosure, the information display device is further configured to: obtain conversation information generated in the session interface after the creation of the event message element, and generate a target record according to the conversation information, wherein the conversation information includes first text information and / or first media information, and the target record is conversation information related to the first event; and in response to a second user operation on the mapping component, display the target record.
[0147] According to one or more embodiments of the present disclosure, the information display device is further configured to: in response to a third user operation on the mapping component, display a record detail page; and generate an image record in the record detail page, the image record including time information and second text information and / or second media information corresponding to the time information.
[0148] According to one or more embodiments of the present disclosure, the information display device is further configured to: in response to the end of the time length countdown corresponding to the event message element, perform at least one of the following: display prompt information and / or image special effects in the session interface; push prompt information to a client corresponding to a target user located in the session interface; and cancel the top display of the mapping component of the event message element in the top area of the session interface.
[0149] According to one or more embodiments of the present disclosure, the information display apparatus is further configured to: in response to the time length corresponding to the event message element ending, acquire interaction data corresponding to the event message element, the interaction data representing conversation information generated in a time period between a second time and the first time within the conversation interface, the second time being a creation time of the event message element; based on the interaction data, generate an interaction record of the event message element, the interaction record including conversation content and conversation time of each target user within the conversation interface between the second time and the first time.
[0150] According to one or more embodiments of the present disclosure, the information display apparatus is further configured to: input the interaction record into a pre-trained content generation model to generate a corresponding virtual video, wherein the virtual video includes at least two video frames, a playback timestamp of the video frame being determined based on the conversation time in the interaction record, and image content of the video frame being generated based on the conversation content in the interaction record.
[0151] In a third aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one processor and a memory;
[0152] The memory stores computer-executable instructions;
[0153] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the information display method as described in the above first aspect and various possible designs of the first aspect.
[0154] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, and the computer-readable storage medium stores computer-executable instructions, when a processor executes the computer-executable instructions, the information display method as described in the above first aspect and various possible designs of the first aspect is implemented.
[0155] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program, when a processor executes the computer program, the information display method as described in the above first aspect and various possible designs of the first aspect is implemented.
[0156] The above description merely illustrates the preferred embodiments of the disclosure and a principle for applying the technologies. It is understood by those skilled in the art that the disclosed scope of the disclosure is not limited to the technical solutions formed by the specific combinations of the technical features described above, and should also cover other technical solutions formed by the combinations of the technical features described above or their equivalent features without departing from the disclosed concept. For example, the technical solutions formed by the mutual replacement of the above-described features and the technical features with similar functions disclosed in the disclosure (but not limited to) can be formed.
[0157] Further, although operations are depicted in a particular, sequential order, this should not be understood as requiring or implying that the operations are performed in the order illustrated or sequentially. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, although specific implementation details are contained in the above discussion, these should not be construed as limiting the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.
[0158] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. An information display method, wherein, The method comprises: displaying a conversation interface; in response to a first user operation on the conversation interface, displaying an event message element in the conversation interface, wherein a duration countdown from a current time to a first time is dynamically displayed in the event message element, and event information corresponding to the first time is displayed in the event message element, the event information being used to indicate a first event, the first time and the event information being determined based on the first user operation.
2. The method of claim 1, wherein, The method of displaying the event message element in the conversation interface in response to the first user operation on the conversation interface comprises: in response to the first user operation on the conversation interface, generating target dialogue information in the conversation interface; creating an event message element in the conversation interface according to the target dialogue information.
3. The method of claim 2, wherein, The target dialogue information contains a trigger keyword; The method of creating the event message element in the conversation interface according to the target dialogue information comprises: after detecting the trigger keyword in the conversation interface, obtaining historical dialogue information located before the target dialogue information in the conversation interface; generating the first time and / or the event information according to the dialogue semantics of the historical dialogue information; creating the event message element in the conversation interface according to the first time and the event information.
4. The method of claim 1, wherein, The first user operation comprises a first sub-operation and a second sub-operation, and the method of creating the event message element in the conversation interface in response to the first user operation on the conversation interface comprises: in response to the first sub-operation on the conversation interface, displaying a setting page of the conversation interface, the setting page containing a function item for creating the event message element; in response to the second sub-operation on the function item, generating the first time and the event information; creating the event message element in the conversation interface based on the first time and the event information.
5. The method of claim 1, wherein, The method further comprises: displaying a mapping component of the event message element in a target area of the conversation interface, wherein the mapping component is used to display at least one of the following: the event information, the duration countdown, and user identifiers of at least two target users in the conversation interface.
6. The method of claim 5, wherein, The method further comprises: obtaining dialogue information generated in the conversation interface after the creation of the event message element, and generating a target record according to the dialogue information, wherein the dialogue information contains first text information and / or first media information, and the target record is dialogue information related to the first event; in response to a second user operation on the mapping component, displaying the target record.
7. The method of claim 5, wherein, The method further comprises: in response to a third user operation on the mapping component, displaying a record detail page; generating an image record in the record detail page, the image record comprising time information and second text information and / or second media information corresponding to the time information.
8. The method of claim 1, wherein, The method further comprises: in response to the end of the duration countdown corresponding to the event message element, performing at least one of the following: displaying prompt information and / or image special effects in the conversation interface; push a prompt information to a client corresponding to a target user located in the session interface; cancel the top display of the pinned display component of the event message element in the top area of the session interface.
9. The method of claim 1, wherein, The method further comprises: in response to the time length countdown corresponding to the event message element ending, obtaining interaction data corresponding to the event message element, the interaction data representing conversation information generated in a time period between a second time and the first time, the second time being a creation time of the event message element; based on the interaction data, generating an interaction record of the event message element, the interaction record including conversation content and conversation time of each target user in the session interface between the second time and the first time.
10. The method of claim 9, wherein, The method further comprises: based on the interaction record, generating a corresponding virtual video, wherein the virtual video includes at least two video frames, the playback time stamp of the video frame being determined based on the conversation time in the interaction record, and the image content of the video frame being generated based on the conversation content in the interaction record.
11. An information display device, wherein, comprise: a processing unit configured to create a session interface; a generating unit configured to, in response to a first user operation on the session interface, display an event message element in the session interface, wherein a time length countdown from a current time to a first time and event information corresponding to the first time are dynamically displayed in the event message element, the event information being used to indicate a first event, the first time and the event information being determined based on the first user operation.
12. An electronic device, comprising: comprise: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the processor executes the information display method according to any one of claims 1 to 10.
13. A computer readable storage medium, wherein, The computer readable storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the information display method according to any one of claims 1 to 10 is realized.
14. A computer program product comprising a computer program, wherein, The computer program is executed by the processor to realize the information display method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Information processing method and device, electronic equipment and storage medium
CN115426330A
Interaction method and device, equipment and storage medium
CN116775344A
Interaction method and device, equipment and storage medium
CN117891547A
Event message and data record associated display method and device and storage medium
CN118132800A
Message processing method, device, electronic device and storage medium
US20230333729A1