Comment interaction method and device, electronic equipment and storage medium
By displaying comment prompt information and controls on the media content playback interface, users are allowed to view and reply to comments directly in the interface, which solves the problem of inconvenient comment interaction in the existing technology and improves comment interaction efficiency and user experience.
Patent Information
- Application Number
- CN202410870494.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-29
AI Technical Summary
In the existing technology, the comment interaction function is inconvenient in the media content playback interface, and it is difficult for users to view and reply to comments in the interface, resulting in low comment interaction efficiency.
Display comment prompt information and controls on the media content playback interface, allowing users to trigger reply comments directly in the interface, and display the original comment to facilitate replying. Through the design of the comment prompt area and input area, the original form of the comment and the simultaneous display of the reply are realized and entry.
It significantly shortens the comment interaction path, reduces user memory costs, improves user experience and willingness to reply to comments, and promotes comment interaction efficiency.
Smart Images

Figure CN118869646A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a comment interaction method, device, electronic device and storage medium. Background Art
[0002] Applications in related technologies can improve the dissemination rate of media content and promote information exchange between users by supporting comment interaction on media content, thereby achieving a dual effect of improving user experience and media content dissemination rate. However, the comment interaction function provided by applications in related technologies is not yet perfect, and the convenience of comment exchange needs to be improved. Summary of the invention
[0003] In order to solve at least one of the technical problems, the present disclosure provides a comment interaction method, device, electronic device and storage medium. The technical solution of the present disclosure is as follows: According to a first aspect of an embodiment of the present disclosure, a comment interaction method is provided, comprising: Displaying prompt information and a comment control on a media content playback interface corresponding to a first user account, the prompt information being used to indicate a historical interaction behavior of a second user account with respect to the first user account, and the comment control being used to trigger a reply to a first comment, the first comment being a comment posted by the second user account, corresponding to the media content in the media content playback interface, and having an interactive relationship with the first user account; When the comment control is triggered, displaying a comment prompt area on the media content playback interface, wherein the comment prompt area is used to display the first comment; A second comment is published and displayed, where the second comment is a reply comment corresponding to the first comment.
[0004] In an exemplary embodiment, the method further comprises: When the comment control is triggered, a comment display area and a comment input area are displayed on the media content playback interface, the comment display area is used to display the second comment, and the comment input area includes at least one control for entering the second comment.
[0005] In an exemplary embodiment, the comment prompt area is located in the comment display area, and the method further includes: The first comment and the second user account are displayed in the comment display area.
[0006] In an exemplary embodiment, the method comprises: When the number of display lines of the first comment reaches a preset number of lines, the first comment is omitted from display in the comment prompt area.
[0007] In an exemplary embodiment, the method comprises: In the case where the first comment includes a preset display element, displaying the preset display element in the comment prompt area; or, In the case where the first comment includes a preset display element, displaying a character identifier corresponding to the preset display element in the comment prompt area; The preset display elements include one or more display elements corresponding to different modes.
[0008] In an exemplary embodiment, the method further comprises: In the case where preset information exists in the comment display area and the second comment is not empty, canceling the preset information from being displayed in the comment display area and displaying the second comment in the comment display area; The preset information includes at least one of the following: the second user account and the first comment.
[0009] In an exemplary embodiment, the comment input area includes a first control, and the first control is used to add account interaction information to the second comment. The method further includes: When the first control is triggered, a user account selection area is displayed on the media content playback interface, where the user account selection area is used to display at least one user account; When a trigger operation is received for any of the user accounts, the user account corresponding to the trigger operation and the corresponding interaction identifier are displayed in the comment display area; The comment prompt area is located outside the comment display area, and the user account selection area covers the comment prompt area.
[0010] In an exemplary embodiment, the method comprises: In the case where the user account corresponding to the trigger operation and the interaction identifier are displayed in the comment display area, canceling the display of the comment prompt area and the user account selection area; or, When all user accounts in the comment display area are deleted, the display of the user account selection area and the comment prompt area is canceled.
[0011] In an exemplary embodiment, the comment prompt area is located outside the comment display area, the comment input area includes a second control, and the second control is used to add a preset display element to the second comment. The method further includes: When the second control is triggered, a preset display element interaction area is displayed on the media content playback interface; In response to a trigger operation on the preset display interaction area, displaying a preset display element corresponding to the trigger operation in the comment prompt area; The preset display element includes at least one of the following: an expression icon, a preset image, a dynamic image, and a target image, wherein the target image is an image generated based on a preset material.
[0012] In an exemplary embodiment, displaying the preset display element corresponding to the trigger operation in the comment prompt area further includes: In the case that the first comment exists in the comment prompt area, the first comment is stopped from being displayed in the comment prompt area, and the preset display element is displayed in the comment prompt area.
[0013] In an exemplary embodiment, the method further comprises: When all preset display elements in the comment prompt area are deleted, the comment prompt area is undisplayed in the media content playback interface.
[0014] In an exemplary embodiment, the preset display element is a target image, and the preset display element interaction area includes an image style selection area and a material selection area, the image style selection area is used to display at least one image style, and the material selection area is used to display at least one image material; The displaying of a preset display element interaction area on the media content playback interface when the second control is triggered includes: When the second control is triggered, displaying the image style selection area; In case of receiving a selection operation for any of the image styles, determining a target style by the selected image style and displaying the material selection area; In response to the triggering operation on the preset display interaction area, displaying the preset display element corresponding to the triggering operation in the comment prompt area includes: When a selection operation is received for any of the image materials, the selected image material is determined as the preset material, and the preset display element is displayed in the comment prompt area. The preset display element is a target image with the target style generated based on the preset material.
[0015] In an exemplary embodiment, the comment prompt area has a transparent background or a single color background.
[0016] In an exemplary implementation, the comment prompt area is located above the comment display area.
[0017] According to a second aspect of an embodiment of the present disclosure, a comment interaction device is provided, the device comprising: The target display module is configured to display prompt information and a comment control on a media content playback interface corresponding to a first user account, wherein the prompt information is used to indicate a historical interaction behavior of a second user account with the first user account, and the comment control is used to trigger a reply to a first comment, wherein the first comment is a comment posted by the second user account, corresponding to the media content in the media content playback interface, and having an interactive relationship with the first user account; The comment reply module is configured to execute, when the comment control is triggered, displaying a comment prompt area on the media content playback interface, wherein the comment prompt area is used to display the first comment; and publishing and displaying a second comment, wherein the second comment is a reply comment corresponding to the first comment.
[0018] In an exemplary embodiment, the comment reply module is configured to execute: When the comment control is triggered, a comment display area and a comment input area are displayed on the media content playback interface, the comment display area is used to display the second comment, and the comment input area includes at least one control for entering the second comment.
[0019] In an exemplary embodiment, the comment prompt area is located in the comment display area, and the method further includes: The first comment and the second user account are displayed in the comment display area.
[0020] In an exemplary embodiment, the comment reply module is configured to execute: When the number of display lines of the first comment reaches a preset number of lines, the first comment is omitted from display in the comment prompt area.
[0021] In an exemplary embodiment, the comment reply module is configured to execute: In the case where the first comment includes a preset display element, displaying the preset display element in the comment prompt area; or, In the case where the first comment includes a preset display element, displaying a character identifier corresponding to the preset display element in the comment prompt area; The preset display element includes at least one of the following: an expression icon, a preset image, a dynamic image, and a target image, wherein the target image is an image generated based on a preset material.
[0022] In an exemplary embodiment, the comment reply module is configured to execute: In the case where preset information exists in the comment display area and the second comment is not empty, canceling the preset information from being displayed in the comment display area and displaying the second comment in the comment display area; The preset information includes at least one of the following: the second user account and the first comment.
[0023] In an exemplary embodiment, the comment input area includes a first control, and the first control is used to add account interaction information in the second comment. The comment reply module is configured to execute: When the first control is triggered, a user account selection area is displayed on the media content playback interface, where the user account selection area is used to display at least one user account; When a trigger operation is received for any of the user accounts, the user account corresponding to the trigger operation and the corresponding interaction identifier are displayed in the comment display area; The comment prompt area is located outside the comment display area, and the user account selection area covers the comment prompt area.
[0024] In an exemplary embodiment, the comment reply module is configured to execute: In the case where the user account corresponding to the trigger operation and the interaction identifier are displayed in the comment display area, canceling the display of the comment prompt area and the user account selection area; or, When all user accounts in the comment display area are deleted, the display of the user account selection area and the comment prompt area is canceled.
[0025] In an exemplary embodiment, the comment prompt area is located outside the comment display area, the comment input area includes a second control, and the second control is used to add a preset display element to the second comment. The comment reply module is configured to execute: When the second control is triggered, a preset display element interaction area is displayed on the media content playback interface; In response to a trigger operation on the preset display interaction area, displaying a preset display element corresponding to the trigger operation in the comment prompt area; The preset display elements include one or more display elements corresponding to different modes.
[0026] In an exemplary embodiment, the comment reply module is configured to execute: In the case that the first comment exists in the comment prompt area, the first comment is stopped from being displayed in the comment prompt area, and the preset display element is displayed in the comment prompt area.
[0027] In an exemplary embodiment, the comment reply module is configured to execute: When all preset display elements in the comment prompt area are deleted, the comment prompt area is undisplayed in the media content playback interface.
[0028] In an exemplary embodiment, the preset display element is a target image, and the preset display element interaction area includes an image style selection area and a material selection area, the image style selection area is used to display at least one image style, and the material selection area is used to display at least one image material; In an exemplary embodiment, the comment reply module is configured to execute: When the second control is triggered, displaying the image style selection area; In case of receiving a selection operation for any of the image styles, determining a target style by the selected image style and displaying the material selection area; When a selection operation is received for any of the image materials, the selected image material is determined as the preset material, and the preset display element is displayed in the comment prompt area. The preset display element is a target image with the target style generated based on the preset material.
[0029] In an exemplary embodiment, the comment prompt area has a transparent background or a single color background.
[0030] In an exemplary implementation, the comment prompt area is located above the comment display area.
[0031] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods in the first aspect of the embodiment of the present disclosure.
[0032] According to a fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the methods in the first aspect of the embodiment of the present disclosure.
[0033] According to the fifth aspect of an embodiment of the present disclosure, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a computer device reading and executing the computer program from the readable storage medium, so that the computer device performs any one of the methods in the first aspect of the embodiment of the present disclosure.
[0034] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: The present disclosure can directly trigger a reply to the first comment in the media content playback interface when a prompt appears in the media content playback interface that there is a first comment to be interacted with. The first comment can be displayed in the media content playback interface when replying, so that the display and reply of the first comment can be completed in the media content playback interface without entering other interfaces. The viewing, commenting and comment interaction of the media content can be completed in the media content playback interface, which significantly shortens the comment interaction path. The first comment can also be seen when replying to the first comment, so that the user can reply by comparing it with the first comment. The user no longer needs to remember the first comment, which reduces the user's memory cost, improves the user experience and the willingness to reply to the first comment, and promotes the comment interaction efficiency.
[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0037] Figure 1 is a schematic diagram of an implementation environment of a comment interaction method according to an exemplary embodiment; Figure 2 is a flow chart of a comment interaction method according to an exemplary embodiment; FIG. 3 is a schematic diagram of a comment interaction interface according to an exemplary embodiment Figure 1 ; FIG. 4 is a schematic diagram of a comment interaction interface according to an exemplary embodiment Figure 2 ; FIG5 is a third schematic diagram of a comment interaction interface according to an exemplary embodiment; FIG6 is a fourth schematic diagram of a comment interaction interface according to an exemplary embodiment; Figure 7 is a schematic diagram of an interaction process according to an exemplary embodiment; FIG8 is a fifth schematic diagram of a comment interaction interface according to an exemplary embodiment; Fig. 9 is a block diagram of a comment interaction device according to an exemplary embodiment; Fig.10 A computer device according to an exemplary embodiment is provided. Figure 1 ; Fig.11 A computer device according to an exemplary embodiment is provided. Figure 2 . DETAILED DESCRIPTION
[0038] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the drawings are used to distinguish similar first objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0040] Before describing the embodiments of the present disclosure in detail, the relevant technical background related to the embodiments of the present disclosure is introduced to facilitate understanding by those skilled in the art in the field of the present disclosure.
[0041] Applications in related technologies can improve the dissemination rate of media content and promote information exchange between users by supporting comment interaction on media content, thereby achieving a dual effect of improving user experience and media content dissemination rate. However, the comment interaction function provided by applications in related technologies is not yet perfect, and the convenience of comment exchange needs to be improved.
[0042] In the related art, a user can watch media content on a media content playback interface. If other users have posted a first comment on the media content and the user is mentioned in the first comment, the user can be prompted on the media content playback interface and supported to post a second comment on the media content playback interface to reply to the first comment. However, when the related art supports posting a second comment in this scenario, the user cannot see the aforementioned first comment, which causes inconvenience in commenting. If the user wants to see the first comment, he needs to enter the comment panel, but this makes the path to reply to the comment longer, reducing the user's communication efficiency. In a specific example, when a user replies to the first comment on the media content playback interface, the original first comment will be blocked by the controls required to reply to the first comment and cannot be displayed, making it difficult for the user to reply while viewing the first comment, and there will be a certain memory cost.
[0043] In view of this, the present disclosure proposes a comment interaction method, device, electronic device and storage medium. The technical purpose of the present disclosure is to explore a new comment interaction path to improve the user experience when the user interacts with the comment in the media content playback interface. Specifically, the interaction path supports the user to see the content of the first comment when replying to the first comment in the media content playback interface, improves the consistency of the second comment used to reply to the first comment with the first comment, and improves the user's operation efficiency.
[0044] It should be emphasized that all information involved in this disclosure is authorized by the user or fully authorized by all parties.
[0045] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a comment interaction method according to an exemplary embodiment. Taking the electronic device implementing the comment interaction method as a terminal as an example, see Figure 1 , the implementation environment specifically includes: a terminal 101 and a server 102.
[0046] The terminal 101 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer and a portable computer. An application supporting comment interaction may be installed and run on the terminal 101, and a user may log in to the application through the terminal 101 to obtain a comment interaction service, which may be a service providing comment interaction for media content. The terminal 101 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by the terminal 101. Those skilled in the art may know that the number of the terminals may be more or less. For example, the number of the terminals may be only a few, or the number of the terminals may be dozens or hundreds, or a greater number. The embodiment of the present disclosure does not limit the number of terminals and the types of devices.
[0047] The server 102 may be at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 102 may be connected to the terminal 101 and other terminals via a wireless network or a wired network. The server 102 may support the comment interaction method disclosed herein and enable the comment interaction method to be implemented in multiple terminals.
[0048] Figure 2 FIG. 1 is a flow chart of a comment interaction method according to an exemplary embodiment. Figure 2 As shown, the method at least includes the following steps S210-S230.
[0049] In step S210, prompt information and comment controls are displayed on the media content playback interface corresponding to the first user account, the prompt information is used to indicate the historical interaction behavior of the second user account with the first user account, and the comment control is used to trigger a reply to a first comment, which is a comment posted by the second user account, corresponding to the media content in the media content playback interface, and having an interactive relationship with the first user account.
[0050] The present disclosure does not limit the media form of the media content. For example, the media content may be in text form, video form, audio form, short video form, picture form, animated picture form, etc., and the present disclosure does not limit the specific content of the media content.
[0051] The present disclosure does not limit the specific form of the media content playback interface, which may be an immersive information flow interface or a waterfall flow interface.
[0052] The first user account may be any user account, and the media content playback interface corresponding to the first user account may play various media contents, and control the played media contents in response to the user triggering the media content playback interface. When the media content playback interface corresponding to the first user account is playing a certain media content, if there are other user accounts other than the first user account that have posted comments on the media content, and the first user account is mentioned in the comments, then the other user account is the second user account, and the comment is the first comment. Then, when the media content playback interface corresponding to the first user account is playing the media content, a prompt message and a comment control may be displayed at the same time, wherein the prompt message is used to prompt the existence of such a second user account, and the comment control is used to support directly triggering a reply to the first comment on the media content playback interface.
[0053] In step S220, when the comment control is triggered, a comment prompt area is displayed on the media content playback interface, and the comment prompt area is used to display the first comment.
[0054] The present disclosure can directly trigger a reply to the first comment in the media content playback interface when a prompt appears in the media content playback interface that there is a first comment to be interacted with. The first comment can be displayed in the media content playback interface when replying, so that the display and reply of the first comment can be completed in the media content playback interface without entering other interfaces. The viewing, commenting and comment interaction of the media content can be completed in the media content playback interface, which significantly shortens the comment interaction path. The first comment can also be seen when replying to the first comment, so that the user can reply by comparing it with the first comment. The user no longer needs to remember the first comment, which reduces the user's memory cost, improves the user experience and the willingness to reply to the first comment, and promotes the comment interaction efficiency.
[0055] In step S230, a second comment is published and displayed, where the second comment is a reply comment corresponding to the first comment. In an exemplary embodiment, when the comment control is triggered, a comment display area and a comment input area are displayed on the media content playback interface, the comment display area is used to display the second comment, and the comment input area includes at least one control for entering the second comment.
[0056] The second comment is a reply comment to the first comment. By displaying the comment display area, comment input area and the aforementioned comment prompt area on the media content playback interface, it is achieved that while supporting media content playback on the media content playback interface, it supports the display of original comments and the display and entry of reply comments, so as to achieve the purpose of supporting quick replies to the first comment on the media content playback interface.
[0057] The present disclosure does not limit the relative positional relationship between the comment display area, the comment input area, and the aforementioned comment prompt area. In one embodiment, the comment prompt area can be separated from the comment display area, can have a transparent background or a single color background, and the comment prompt area can be located above the comment display area. By flexibly designing the relative positional relationship between the comment prompt area and the comment display area and the background color of the comment prompt area, the purpose of improving the display effect of the first comment in the comment prompt area can be achieved, so that the original comment is eye-catching and does not block the reply comment (second comment), while also not affecting the editing and entry of the reply comment.
[0058] In another embodiment, the comment prompt area is located in the comment display area, and the method further includes: displaying the first comment and the second user account in the comment display area. In this embodiment, the comment prompt area is located in the comment display area, which saves display space and is more conducive to the display of media content and reply comments.
[0059] FIG. 3 is a schematic diagram of a comment interaction interface according to an exemplary embodiment Figure 1 . The comment interaction interface shown in FIG3 (1) includes a media content playback interface 310, a prompt message 320, and a comment control 330. When the prompt message 320 indicates that the first user account of the media content playback interface 310 is referenced by the second user account A, the user corresponding to the first user account can reply to the second user account A in the media content playback interface 310 by triggering the comment control 330. FIG3 (2) shows a schematic diagram of the comment control 330 being triggered. When replying, a comment prompt area 340, a comment display area 350, and a comment input area 360 can be displayed. The comment prompt area 340 can be located outside the comment display area 350. For example, the comment prompt area 340 can be located above the comment display area 350. It can be a white background with the first comment displayed in black, or it can be without a white background panel and directly display the first comment in white in the mask area. When no reply comment is entered, the comment display area 350 can display the second user account in dark text, and delete the dark text when entering. FIG3 (3) shows another schematic diagram of the case where the comment control 330 is triggered. The comment prompt area 340 may be located inside the comment display area 350. When no reply comment is entered, the comment display area 350 may display the second user account and the first comment in dark text, and delete the dark text when entering a reply comment.
[0060] In an exemplary embodiment, the method includes: when the number of displayed lines of the first comment reaches a preset number of lines, omitting the display of the first comment in the comment prompt area. The present disclosure does not limit the preset number of lines, and can be configured according to actual conditions, and does not constitute an implementation obstacle. Please refer to Figure 3 (2). When the number of displayed lines of the first comment reaches the preset number of lines, the part that cannot be displayed is directly replaced by an ellipsis, so that the main content of the first comment can be displayed to meet the user's needs of replying while reading the original comment, while avoiding the original comment occupying too much space and affecting the display of other information.
[0061] In one embodiment, the method includes: when the first comment includes a preset display element, displaying the preset display element in the comment prompt area; or, when the first comment includes a preset display element, displaying a character identifier corresponding to the preset display element in the comment prompt area; wherein the preset display element may include one or more of the display elements corresponding to different modes, such as an emoticon, a preset image, a gif, and a target image, and the target image is an image generated based on a preset material. The present disclosure does not limit the content of the character identifier, which can correspond to the preset display element one-to-one. For example, a crying emoticon can be replaced by a corresponding character identifier that uniquely represents the crying emoticon, thereby converting the preset display elements of the multimedia form into a character form for display in the comment prompt area. The present disclosure improves the expressiveness of the first comment in a specific scenario of replying to the first comment in the media content playback interface by supporting a plurality of display elements, provides users with more information about the first comment, and improves the user experience.
[0062] FIG. 4 is a schematic diagram of a comment interaction interface according to an exemplary embodiment Figure 2 The comment prompt area 340 shown in FIG4 (1) can directly display a schematic diagram of a preset display element. The preset display element can be an image, for example, an image representing sleeping. This display method significantly improves the expressiveness of the first comment. The comment prompt area 340 shown in FIG4 (2) can display a character identifier corresponding to the preset display element. This display method can save display space.
[0063] In one embodiment, the method further includes: when there is preset information in the comment display area and the second comment is not empty, the preset information is canceled from being displayed in the comment display area, and the second comment is displayed in the comment display area; wherein the preset information includes at least one of the following: the second user account, the first comment. Please refer to the aforementioned FIG. 3 (3). The present disclosure can support expressing the preset information in the comment display area in a cryptic form, such as the second user account and the first comment. These preset information are canceled from being displayed after the second comment is entered, and the second comment is displayed in the comment display area 350 instead. This design improves the display space reuse rate by reusing the comment display area, saving the space occupied by information display.
[0064] In one embodiment, the comment input area includes a first control, and the first control is used to add account interaction information in the second comment. The method also includes: when the first control is triggered, displaying a user account selection area on the media content playback interface, and the user account selection area is used to display at least one user account; when a trigger operation is received for any of the user accounts, displaying the user account and the corresponding interaction identifier corresponding to the trigger operation in the comment display area. This design can support replying to comments on the media content playback interface, and supports interaction with other user accounts in the reply comments. By supporting the arbitrary selection of user accounts, the convenience of multi-account interaction is improved and the operation path is shortened.
[0065] In one embodiment, the comment prompt area may be located outside the comment display area, and the user account selection area covers the comment prompt area. This design can reuse the display space occupied by the comment prompt area to display the user account selection area, thereby saving display space.
[0066] In one embodiment, the method includes: when the user account corresponding to the trigger operation and the interaction identifier are displayed in the comment display area, canceling the display of the comment prompt area and the user account selection area; or, when all user accounts in the comment display area are deleted, canceling the display of the user account selection area and the comment prompt area. This design can stop displaying the user account selection area and the comment prompt area when certain conditions are met, thereby facilitating the display of other information, so that the information displayed in the media content playback interface is reasonably displayed according to changes in actual conditions.
[0067] FIG5 is a third schematic diagram of a comment interaction interface according to an exemplary embodiment. The first control 510 in FIG5 (1) is located in the comment input area 360. When the first control 510 is triggered, the user account selection area 520 can be displayed in FIG5 (2). The user account selection area 520 covers the comment prompt area 340. By selecting any user account in the user account selection area 520, taking the user selecting user account 2 as an example, the user account and interaction identifier of the referenced interaction can be displayed in the comment display area 350 in FIG5 (3). After the reference interaction of the relevant user account is completed, the display of the user account selection area and the comment prompt area can be cancelled. The user account of the referenced interaction displayed in the comment display area 350 can also be deleted. If these user accounts are deleted, the display of the user account selection area and the comment prompt area can be cancelled in FIG5 (4).
[0068] In one embodiment, the comment prompt area is located outside the comment display area, and the comment input area includes a second control, and the second control is used to add a preset display element in the second comment. The method also includes: when the second control is triggered, displaying a preset display element interaction area in the media content playback interface; in response to a triggering operation on the preset display interaction area, displaying a preset display element corresponding to the triggering operation in the comment prompt area; wherein the preset display element includes at least one of the following: an emoticon, a preset image, a gif, and a target image, and the target image is an image generated based on a preset material. This design can support replying to comments in the media content playback interface, and supports the use of diversified display elements in the replied comments, thereby improving the quality of comments and shortening the operation path.
[0069] In one embodiment, displaying the preset display element corresponding to the trigger operation in the comment prompt area further includes: when the first comment exists in the comment prompt area, stopping displaying the first comment in the comment prompt area and displaying the preset display element in the comment prompt area. This design can reuse the display position occupied by the comment prompt area to display the preset display element, thereby saving display space.
[0070] In one embodiment, the method further includes: upon receiving a deletion instruction for any preset display element in the comment prompt area, canceling the display of the corresponding preset display element in the comment prompt area. This design can reuse the comment prompt area to edit the preset display elements, thereby saving display space and supporting the editing function of the preset display elements.
[0071] In one embodiment, the method further includes: when all preset display elements in the comment prompt area are deleted, canceling the display of the comment prompt area in the media content playback interface. This design can stop displaying the comment prompt area when certain conditions are met, thereby facilitating the display of other information, so that the information displayed in the media content playback interface is reasonably displayed according to the changes in the actual situation.
[0072] FIG6 is a fourth schematic diagram of a comment interaction interface according to an exemplary embodiment. The second control 610 in FIG6 (1) is located in the comment input area 360. When the second control 610 is triggered, the preset display element interaction area 620 can be displayed in FIG6 (2). The preset display element interaction area 620 supports the selection of various preset display elements, including but not limited to emoticons, preset images, animated images, and target images. The target image is an image generated based on a preset material. Taking the selected preset display element as image P as an example, the selected preset display element can be displayed in the comment prompt area 340 in FIG6 (3). The reuse of the comment prompt area 340 allows the preset display element to cover the first comment, thereby achieving the technical purpose of canceling the display of the first comment. In addition, each preset display element can be deleted in the comment prompt area 340. If all are deleted, the comment prompt area 340 can be canceled as shown in FIG6 (4).
[0073] In one embodiment, the preset display element is a target image, and the preset display element interaction area includes an image style selection area and a material selection area, the image style selection area is used to display at least one image style, and the material selection area is used to display at least one image material; Figure 7 The interactive process diagram according to an exemplary embodiment is shown. When the second control is triggered, the preset display element interactive area is displayed on the media content playback interface, including: In step 710, when the second control is triggered, the image style selection area is displayed; In step 720, when a selection operation for any of the image styles is received, a target style is determined based on the selected image style, and the material selection area is displayed; In response to the triggering operation on the preset display interaction area, displaying the preset display element corresponding to the triggering operation in the comment prompt area includes: In step 730, when a selection operation is received for any of the image materials, the selected image material is determined as the preset material, and the preset display element is displayed in the comment prompt area. The preset display element is a target image with the target style generated based on the preset material.
[0074] This design can support replying to comments on the media content playback interface, and supports the use of creatively generated images as display elements in the replied comments, thereby improving the quality of comments and shortening the operation path.
[0075] FIG8 is a fifth schematic diagram of a comment interaction interface according to an exemplary embodiment. The second control 810 in FIG8 (1) is located in the comment input area 360. The second control 810 can support the use of a target image generated based on a preset material in replying to a comment. When the second control 810 is triggered, an image style selection area 820 can be displayed in FIG8 (2). The image style selection area 820 supports the selection of various image styles. After the target style is selected, a material selection area 830 can be displayed in FIG8 (3). The material selection area 830 supports the selection of image materials. After the preset material is selected, taking the image G generated based on the preset material and the target style as an example, the target image generated based on the preset material using the target style can be displayed in the comment prompt area 340 in FIG8 (4), thereby reusing the comment prompt area 340. Each preset display element of the comment prompt area 340 can be deleted in the comment prompt area 340. If all are deleted, the comment prompt area 340 can be undisplayed as shown in FIG8 (5).
[0076] Fig. 9 This is a block diagram of a comment interaction device according to an exemplary embodiment. The device includes: The target display module 910 is configured to display prompt information and a comment control on a media content playback interface corresponding to a first user account, wherein the prompt information is used to indicate a historical interaction behavior of a second user account with the first user account, and the comment control is used to trigger a reply to a first comment, wherein the first comment is a comment posted by the second user account, corresponding to the media content in the media content playback interface, and having an interactive relationship with the first user account; The comment reply module 920 is configured to execute, when the comment control is triggered, displaying a comment prompt area on the media content playback interface, wherein the comment prompt area is used to display the first comment; and publishing and displaying a second comment, wherein the second comment is a reply comment corresponding to the first comment.
[0077] In an exemplary embodiment, the comment reply module 920 is configured to execute: When the comment control is triggered, a comment display area and a comment input area are displayed on the media content playback interface, the comment display area is used to display the second comment, and the comment input area includes at least one control for entering the second comment.
[0078] In an exemplary embodiment, the comment prompt area is located in the comment display area, and the method further includes: The first comment and the second user account are displayed in the comment display area.
[0079] In an exemplary embodiment, the comment reply module 920 is configured to execute: When the number of display lines of the first comment reaches a preset number of lines, the first comment is omitted from display in the comment prompt area.
[0080] In an exemplary embodiment, the comment reply module 920 is configured to execute: In the case where the first comment includes a preset display element, displaying the preset display element in the comment prompt area; or, In the case where the first comment includes a preset display element, displaying a character identifier corresponding to the preset display element in the comment prompt area; The preset display elements include one or more display elements corresponding to different modes.
[0081] In an exemplary embodiment, the comment reply module 920 is configured to execute: In the case where preset information exists in the comment display area and the second comment is not empty, canceling the preset information from being displayed in the comment display area and displaying the second comment in the comment display area; The preset information includes at least one of the following: the second user account and the first comment.
[0082] In an exemplary embodiment, the comment input area includes a first control, and the first control is used to add account interaction information in the second comment. The comment reply module 920 is configured to execute: When the first control is triggered, a user account selection area is displayed on the media content playback interface, where the user account selection area is used to display at least one user account; When a trigger operation is received for any of the user accounts, the user account corresponding to the trigger operation and the corresponding interaction identifier are displayed in the comment display area.
[0083] In an exemplary embodiment, the comment prompt area is located outside the comment display area, and the user account selection area covers the comment prompt area.
[0084] In an exemplary embodiment, the comment reply module 920 is configured to execute: In the case where the user account corresponding to the trigger operation and the interaction identifier are displayed in the comment display area, canceling the display of the comment prompt area and the user account selection area; or, When all user accounts in the comment display area are deleted, the display of the user account selection area and the comment prompt area is canceled.
[0085] In an exemplary embodiment, the comment prompt area is located outside the comment display area, the comment input area includes a second control, and the second control is used to add a preset display element to the second comment. The comment reply module 920 is configured to execute: When the second control is triggered, a preset display element interaction area is displayed on the media content playback interface; In response to a trigger operation on the preset display interaction area, displaying a preset display element corresponding to the trigger operation in the comment prompt area; The preset display element includes at least one of the following: an expression icon, a preset image, a dynamic image, and a target image, wherein the target image is an image generated based on a preset material.
[0086] In an exemplary embodiment, the comment reply module 920 is configured to execute: In the case that the first comment exists in the comment prompt area, the first comment is stopped from being displayed in the comment prompt area, and the preset display element is displayed in the comment prompt area.
[0087] In an exemplary embodiment, the comment reply module 920 is configured to execute: When a deletion instruction for any preset display element in the comment prompt area is received, the display of the corresponding preset display element in the comment prompt area is cancelled.
[0088] In an exemplary embodiment, the comment reply module 920 is configured to execute: When all preset display elements in the comment prompt area are deleted, the comment prompt area is undisplayed in the media content playback interface.
[0089] In an exemplary embodiment, the preset display element is a target image, and the preset display element interaction area includes an image style selection area and a material selection area, the image style selection area is used to display at least one image style, and the material selection area is used to display at least one image material; In an exemplary embodiment, the comment reply module 920 is configured to execute: When the second control is triggered, displaying the image style selection area; In case of receiving a selection operation for any of the image styles, determining a target style by the selected image style and displaying the material selection area; When a selection operation is received for any of the image materials, the selected image material is determined as the preset material, and the preset display element is displayed in the comment prompt area. The preset display element is a target image with the target style generated based on the preset material.
[0090] In an exemplary embodiment, the comment prompt area has a transparent background or a single color background.
[0091] In an exemplary implementation, the comment prompt area is located above the comment display area.
[0092] Regarding the device in the embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the relevant method, and will not be elaborated here.
[0093] Please refer to Fig.10 , which shows a structural frame of a computer device provided by an exemplary embodiment of the present disclosure Figure 1 The computer device may be a terminal. The computer device is used to implement the comment interaction method provided in the embodiment. Specifically: Typically, the computer device 100 includes a processor 101 and a memory 102 .
[0094] The processor 101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In an exemplary embodiment, the processor 101 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In an exemplary embodiment, the processor 101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0095] The memory 102 may include one or more computer-readable storage media, which may be non-transitory. The memory 102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In an exemplary embodiment, the non-transitory computer-readable storage medium in the memory 102 is used to store at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is configured to be executed by one or more processors to implement the comment interaction method.
[0096] In an exemplary embodiment, the computer device 100 may further optionally include: a peripheral device interface 103 and at least one peripheral device. The processor 101, the memory 102 and the peripheral device interface 103 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 104, a touch display screen 105, a camera control 106, an audio circuit 107, a positioning control 108 and a power supply 109.
[0097] Those skilled in the art will understand that Fig.10The structure shown in the figure does not constitute a limitation on the computer device 1000, and may include more or less controls than those shown in the figure, or combine some controls, or adopt a different control arrangement.
[0098] Please refer to Fig.11 , which shows a structural frame of a computer device provided by another exemplary embodiment of the present disclosure Figure 2 The computer device may be a server for executing the comment interaction method. Specifically: The computer device 1100 includes a central processing unit (CPU) 1111, a system memory 1104 including a random access memory (RAM) 1102 and a read only memory (ROM) 1103, and a system bus 1105 connecting the system memory 1104 and the central processing unit 1111. The computer device 1100 also includes a basic input / output system (I / O (Input / Output) system) 1106 for facilitating information transmission between various components in the computer, and a mass storage device 1107 for storing an operating system 1113, application programs 1114, and other program modules 1111.
[0099] The basic input / output system 1106 includes a display 1108 for displaying information and an input device 1109 such as a mouse and a keyboard for user inputting information. The display 1108 and the input device 1109 are connected to the central processing unit 1111 through an input / output controller 1110 connected to the system bus 1105. The basic input / output system 1106 may also include an input / output controller 1110 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1110 also provides output to a display screen, a printer, or other types of output devices.
[0100] The mass storage device 1107 is connected to the central processing unit 1111 through a mass storage controller (not shown) connected to the system bus 1105. The mass storage device 1107 and its associated computer readable medium provide non-volatile storage for the computer device 1100. That is, the mass storage device 1107 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
[0101] Without loss of generality, computer-readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the aforementioned types. The system memory 1104 and the mass storage device 1107 may be collectively referred to as memory.
[0102] According to various embodiments of the present disclosure, the computer device 1100 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 1100 can be connected to the network 1112 through the network interface unit 1111 connected to the system bus 1105, or the network interface unit 1111 can be used to connect to other types of networks or remote computer systems (not shown).
[0103] The memory further includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the comment interaction method.
[0104] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and when the at least one instruction, the at least one program, the code set or the instruction set is executed by a processor, the comment interaction method is implemented.
[0105] Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives) or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0106] In an exemplary embodiment, a computer-readable storage medium including a program code is also provided, such as a memory including the program code, and the program code can be executed by a processor to complete the comment interaction method. Optionally, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact-disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0107] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the comment interaction method is implemented.
[0108] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0109] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A comment interaction method, characterized in that: The method comprises: Displaying prompt information and a comment control on a media content playback interface corresponding to a first user account, the prompt information being used to indicate a historical interaction behavior of a second user account with respect to the first user account, and the comment control being used to trigger a reply to a first comment, the first comment being a comment posted by the second user account, corresponding to the media content in the media content playback interface, and having an interactive relationship with the first user account; When the comment control is triggered, displaying a comment prompt area on the media content playback interface, wherein the comment prompt area is used to display the first comment; A second comment is published and displayed, where the second comment is a reply comment corresponding to the first comment.
2. The comment interaction method according to claim 1, characterized in that: The method further comprises: When the comment control is triggered, a comment display area and a comment input area are displayed on the media content playback interface, the comment display area is used to display the second comment, and the comment input area includes at least one control for entering the second comment.
3. The comment interaction method according to claim 2, characterized in that: The comment prompt area is located in the comment display area, and the method further includes: The first comment and the second user account are displayed in the comment display area.
4. The comment interaction method according to any one of claims 1 to 3, characterized in that: The method comprises: In the case where the first comment includes a preset display element, displaying the preset display element in the comment prompt area; or, In the case where the first comment includes a preset display element, displaying a character identifier corresponding to the preset display element in the comment prompt area; The preset display elements include one or more display elements corresponding to different modes.
5. The comment interaction method according to claim 2, characterized in that: The method further comprises: In the case where preset information exists in the comment display area and the second comment is not empty, canceling the preset information from being displayed in the comment display area and displaying the second comment in the comment display area; The preset information includes at least one of the following: the second user account and the first comment.
6. The comment interaction method according to claim 2, characterized in that: The comment input area includes a first control, and the first control is used to add account interaction information to the second comment. The method further includes: When the first control is triggered, a user account selection area is displayed on the media content playback interface, where the user account selection area is used to display at least one user account; When a trigger operation is received for any of the user accounts, the user account corresponding to the trigger operation and the corresponding interaction identifier are displayed in the comment display area; The comment prompt area is located outside the comment display area, and the user account selection area covers the comment prompt area.
7. The comment interaction method according to claim 6, characterized in that: The method comprises: In the case where the user account corresponding to the trigger operation and the interaction identifier are displayed in the comment display area, canceling the display of the comment prompt area and the user account selection area; or, When all user accounts in the comment display area are deleted, the display of the user account selection area and the comment prompt area is canceled.
8. The comment interaction method according to claim 2, characterized in that: The comment prompt area is located outside the comment display area, the comment input area includes a second control, and the second control is used to add a preset display element to the second comment. The method also includes: When the second control is triggered, a preset display element interaction area is displayed on the media content playback interface; In response to a trigger operation on the preset display interaction area, displaying a preset display element corresponding to the trigger operation in the comment prompt area; The preset display element includes at least one of the following: an expression icon, a preset image, a dynamic image, and a target image, wherein the target image is an image generated based on a preset material.
9. The comment interaction method according to claim 8, characterized in that: The displaying of the preset display element corresponding to the trigger operation in the comment prompt area also includes: In the case that the first comment exists in the comment prompt area, the first comment is stopped from being displayed in the comment prompt area, and the preset display element is displayed in the comment prompt area.
10. The comment interaction method according to claim 8 or 9, characterized in that: The method further comprises: When all preset display elements in the comment prompt area are deleted, the comment prompt area is undisplayed in the media content playback interface.
11. The comment interaction method according to claim 8, characterized in that: The preset display element is a target image, and the preset display element interaction area includes an image style selection area and a material selection area, the image style selection area is used to display at least one image style, and the material selection area is used to display at least one image material; The displaying of a preset display element interaction area on the media content playback interface when the second control is triggered includes: When the second control is triggered, displaying the image style selection area; In case of receiving a selection operation for any of the image styles, determining a target style by the selected image style and displaying the material selection area; In response to the triggering operation on the preset display interaction area, displaying the preset display element corresponding to the triggering operation in the comment prompt area includes: When a selection operation is received for any of the image materials, the selected image material is determined as the preset material, and the preset display element is displayed in the comment prompt area. The preset display element is a target image with the target style generated based on the preset material.
12. A comment interaction device, characterized in that: The device comprises: The target display module is configured to display prompt information and a comment control on a media content playback interface corresponding to a first user account, wherein the prompt information is used to indicate a historical interaction behavior of a second user account with the first user account, and the comment control is used to trigger a reply to a first comment, wherein the first comment is a comment posted by the second user account, corresponding to the media content in the media content playback interface, and having an interactive relationship with the first user account; The comment reply module is configured to execute, when the comment control is triggered, displaying a comment prompt area on the media content playback interface, wherein the comment prompt area is used to display the first comment; and publishing and displaying a second comment, wherein the second comment is a reply comment corresponding to the first comment.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the comment interaction method as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the comment interaction method as described in any one of claims 1 to 11.
15. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device executes the comment interaction method according to any one of claims 1 to 11.
