Comment display method and device, equipment and storage medium
The technical solution enhances the diversity and attractiveness of comment display by generating and displaying a picture set based on the opinion content of target comments, improving user engagement and interaction.
Patent Information
- Application Number
- CN202411068099.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-13
AI Technical Summary
Existing comment display methods in application interfaces are monotonous, leading to reduced user engagement and willingness to comment.
A method to generate and display a picture set corresponding to a target comment in a comment display interface, which includes generating a picture set based on the opinion content of the target comment, which includes at least one picture.
The efficacy of the technical solution is to enhance the diversity and attractiveness of the comment display, thereby increasing user engagement and stimulating user interaction.
Smart Images

Figure CN119127034A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a comment display method and apparatus, device, and storage medium. Background Art
[0002] The comment area on the application interface is an area for users to comment on the currently playing resources (such as articles, videos, pictures, etc.) on the application interface. At the same time, the comment area on the application interface is also an area for communication and interaction between users. That is to say, in addition to posting their own comments on the currently playing resources in the comment area, users can also like, reply or quote other users' comments to create a community atmosphere for discussion and communication.
[0003] In practice, it is found that the way comments are displayed in the comment area is often relatively simple, which makes the comment area less attractive to users and users are less willing to comment. Therefore, how to increase the diversity of comment display methods has become a technical problem that the industry urgently needs to solve. Summary of the invention
[0004] The embodiments of the present application provide a comment display method and apparatus, device, and storage medium, which can increase the diversity of comment display methods.
[0005] A first aspect of an embodiment of the present application provides a comment display method, the method comprising:
[0006] A picture set corresponding to a target comment is displayed in a comment display interface, wherein the picture set is generated based on the opinion content of the target comment, the target comment includes all or part of at least one comment corresponding to a currently played resource, and the picture set includes at least one picture.
[0007] In the above technical solution, the picture set corresponding to the target comment is displayed on the comment display interface, so that the target comment in the comment area can be displayed in the form of a picture set, which improves the diversity of the display methods of the comment.
[0008] In a possible implementation, the pictures in the picture set include an opinion content display area, and the opinion content display area is used to display at least one opinion content of the target comment.
[0009] In the above technical solution, at least one opinion content of the target comment is displayed in the opinion content display area in the picture, which can facilitate users to browse the opinion content intuitively.
[0010] In a possible implementation, the pictures in the picture set further include characters, and each viewpoint content display area corresponds to at least one character image.
[0011] In this technical solution, the opinion content display area and the character image are combined to vividly display the opinion content of the target comment in the form of cartoons.
[0012] In a possible implementation manner, when the pictures in the picture set include a plurality of different viewpoint contents, different viewpoint contents correspond to different character images.
[0013] In this technical solution, different viewpoints in the picture correspond to different character images, which can make the comic content richer and more interesting.
[0014] In a possible implementation, the multiple different viewpoint contents are opposing viewpoint contents, and the expressions and / or actions of the different characters are in a state of confrontation; wherein the opposing viewpoint contents are viewpoint contents with opposite semantics.
[0015] In the present technical solution, when a plurality of different viewpoints are opposing viewpoints, the expressions and / or actions of different characters are in a state of confrontation, which can further enhance the fun of the comics.
[0016] In a possible implementation, before displaying the picture set corresponding to the target comment in the comment display interface, the method further includes:
[0017] Display a resource display interface, where the resource display interface is used to display the currently playing resource;
[0018] Detecting a comment display operation on the resource display interface;
[0019] In the comment display interface, the picture set corresponding to the target comment is displayed, including:
[0020] In response to the comment display operation, a comment display interface is displayed, wherein the comment display interface includes a picture set corresponding to the target comment.
[0021] In this technical solution, the display of the picture set is triggered by the comment display operation, which helps to simplify the user's operation steps.
[0022] In a possible implementation, before displaying the picture set corresponding to the target comment in the comment display interface, the method further includes:
[0023] Detecting the picture set display operation on the comment display interface;
[0024] In the comment display interface, the picture set corresponding to the target comment is displayed, including:
[0025] In response to the picture set display operation, the picture set corresponding to the target comment is displayed in the comment display interface.
[0026] In the above technical solution, the display of the picture set is triggered by the picture set display operation, so that the user can browse the comment area.
[0027] In a possible implementation, the comment display interface further includes a picture set display control, and detecting a picture set display operation on the comment display interface includes:
[0028] In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0029] In response to a touch operation on the picture set display control, the picture set corresponding to the target comment is displayed in the comment display interface.
[0030] In the above technical solution, by adding a picture set display control to the comment display interface, the comment display mode can be quickly switched, which can improve the convenience of operation.
[0031] In a possible implementation, before detecting the picture set display operation on the comment display interface, the method further includes:
[0032] Detecting and responding to a touch operation on any of the target comments, displaying a function control interface in the comment display interface, the function control interface including a picture collection display control;
[0033] The detecting of the picture set display operation on the comment display interface includes:
[0034] Detecting a touch operation on the picture set display control;
[0035] In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0036] In response to a touch operation on the picture set display control, the picture set corresponding to the target comment is displayed in the comment display interface.
[0037] In the above technical solution, the triggering of the functional control interface including the picture collection display control is achieved by touching any comment, which can reduce the number of elements on the interface and make the interface cleaner.
[0038] In a possible implementation, before detecting the picture set display operation on the comment display interface, the method further includes:
[0039] Displaying a picture set generation interface on the comment display interface, the picture set generation interface including at least one editing control for picture set parameters, the picture set parameters including style parameters;
[0040] The detecting of the picture set display operation on the comment display interface includes:
[0041] Detecting a selection operation on a target editing control in the picture collection generation interface;
[0042] In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0043] In response to a selection operation on the target editing control, a picture set corresponding to the target comment is displayed on the comment display interface.
[0044] In the above technical solution, users are supported to independently select style parameters corresponding to a picture set in a picture set generation interface, so that the generated picture set can be more in line with user preferences and more interesting.
[0045] In a possible implementation, displaying the picture collection generation interface on the comment display interface includes:
[0046] In the case where the comment display interface also includes a picture collection display control, detecting and responding to a touch operation on the picture collection display control, and displaying a picture collection generation interface on the comment display interface; or,
[0047] Detect and respond to a touch operation on any of the target comments, display a function control interface on the comment display interface, the function control interface including a picture set display control, detect and respond to a touch operation on the picture set display control, and display a picture set generation interface on the comment display interface.
[0048] In the above technical solution, adding a picture set display control to the comment display interface can realize the quick triggering of the picture set generation interface, which improves the convenience of operation. In addition, the triggering of the function control interface including the picture set display control is realized by touching any comment, which can reduce the number of elements on the interface and make the interface cleaner.
[0049] In a possible implementation, detecting a picture set display operation on a comment display interface includes:
[0050] Detecting a target browsing operation, where the target browsing operation is a browsing operation in which a continuous browsing time of a comment area corresponding to the current playback resource is greater than or equal to a threshold;
[0051] In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0052] In response to the target browsing operation, a picture set corresponding to the target comment is displayed in the comment display interface.
[0053] In the above technical solution, if the user continues to browse the comment area for a long time, the picture set corresponding to the target comment will be automatically displayed without user operation, thereby realizing the intelligent display of the picture set corresponding to the target comment.
[0054] In a possible implementation, detecting a picture set display operation on a comment display interface includes:
[0055] Displaying a comment mode switching interface on the comment display interface, wherein the comment mode switching interface is used to select whether to adopt a picture collection display mode for the target comment;
[0056] Detecting a confirmation operation on the comment mode switching interface;
[0057] In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0058] In response to the confirmation operation, the picture set corresponding to the target comment is displayed in the comment display interface.
[0059] In the above technical solution, the user only needs to input a confirmation operation in the comment mode switching interface to trigger the display of the picture set corresponding to the target comment, which can improve the intelligence level of the electronic device.
[0060] In a possible implementation, in response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0061] In response to the picture set display operation, a target content corresponding to a target comment is obtained, wherein the target content is at least one of the following: the target scene picture, the target character image, and the publishing time sequence of each comment in the target comment; wherein the target character image is determined according to the user information of the user who publishes the target comment and / or the comment information of the target comment, and the target scene picture is determined according to the resource information of the currently playing resource;
[0062] According to the target comment and the target content, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
[0063] In the above technical solution, determining the target character image based on user information and / or comment information, and determining the target scene image based on resource information can make the visual effect of the generated picture set more natural, which is conducive to enhancing the user's immersion when browsing the picture set.
[0064] In a possible implementation manner, the target character image is selected from a plurality of preset character images according to the user information and / or the comment information, or the target character image is generated by inputting the user information and / or the comment information into a preset character image calculation model;
[0065] The target scene picture is selected from a plurality of preset scene pictures according to the resource information, or the target scene picture is generated by inputting the resource information into a preset scene picture calculation model.
[0066] In the above technical solution, when the target character image comes from a preset character image and the target scene image comes from a preset scene image, the acquisition efficiency of the target character image and the target scene image is relatively high, which further improves the display efficiency of the picture set. When the target character image comes from a preset character image calculation model and the target scene image comes from a preset scene image calculation model, it is beneficial to improve the diversity of the target character image and the target scene image.
[0067] In a possible implementation, in response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0068] In response to the picture set display operation, semantic analysis is performed on the target comment to obtain key information of the target comment;
[0069] According to the key information, the target comment and a preset picture set generation model, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
[0070] In the above technical solution, by analyzing the target comments, key information of the target comments is obtained, and then the key information and the target comments are input into a preset picture set generation model, the picture quality of the picture set can be improved.
[0071] In a possible implementation, in response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0072] In response to a selection operation on the target editing control, obtaining a target picture set parameter corresponding to the selection operation;
[0073] According to the target picture set parameters, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
[0074] In the above technical solution, before generating a picture set, a picture set generation interface is first displayed for the user to select target picture set parameters, and then the picture set is generated based on the target picture set parameters, so that a picture set that meets the user's personalized needs can be directly generated.
[0075] In a possible implementation, the at least one comment is at least one sub-comment in the comment area corresponding to the currently played resource that replies to the same main comment.
[0076] In the present technical solution, when the at least one comment is at least one subordinate comment in the comment area that replies to the same main comment, a picture collection for a group of comments may be displayed.
[0077] In a possible implementation, the picture set includes at least two pictures, and the display order of the at least two pictures is determined according to a preset display rule, and the preset display rule is the publishing time of the comments included in the corresponding picture or the priority of each picture. The priority of each picture is determined based on the comment information of the comments included in the corresponding picture, and the comment information includes at least one of the following: the number of likes, the relevance to the main comment, and the tag generated based on semantics.
[0078] In the above technical solution, the display of each picture in the picture set is controlled based on the preset display rules, which can improve the flexibility of the picture set display.
[0079] In a possible implementation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0080] Displaying the current picture of the picture set on the comment display interface;
[0081] Detecting the display duration of the current image;
[0082] When the display time of the current picture is greater than the time threshold, the picture in the picture set that is located after the current picture is displayed in the comment display interface.
[0083] In the above technical solution, by detecting the display time of the picture, the picture can be automatically switched without user intervention, which is beneficial to improving the display efficiency and display fluency of the picture set.
[0084] In a possible implementation, displaying the picture set corresponding to the target comment in the comment display interface includes:
[0085] Displaying the current picture of the picture set in the comment display interface;
[0086] In response to a page turning operation input by the user, the picture in the picture collection that is located before or after the current picture is displayed in the comment display interface, wherein when the picture in the picture collection that is located before the current picture is displayed, the page turning operation is a forward page turning operation, and when the picture in the picture collection that is located after the current picture is displayed, the page turning operation is a backward page turning operation.
[0087] In the above technical solution, the switching of pictures is realized by detecting the page turning operation input by the user, so that the user can turn the page at any time according to his own needs, which is conducive to the user to flexibly control the browsing progress and content to meet the personalized needs of different users. In addition, it can also provide users with a stronger sense of control, participation and immersion.
[0088] In a possible implementation, in the comment display interface, the display area corresponding to the picture set is different from the comment area corresponding to the currently played resource, and displaying the picture set corresponding to the target comment in the comment display interface includes:
[0089] Determining a current comment among the target comments displayed in the comment area;
[0090] Determine a target picture corresponding to the current comment from the picture set;
[0091] The target picture is displayed in a display area corresponding to the picture set.
[0092] In the above technical solution, the user can control the change of the picture in the display area corresponding to the picture set by changing the current comment in the target comment displayed in the comment area, so that the picture displayed on the display area corresponding to the picture set corresponds to the current comment in the target comment displayed in the comment area.
[0093] In a possible implementation, after displaying the picture set corresponding to the target comment in the comment display interface, the method further includes:
[0094] In response to a save operation on the picture set, storing the picture set;
[0095] or,
[0096] In response to a sharing operation on the picture set, the picture set is shared.
[0097] In the above technical solution, convenient saving or sharing can be achieved based on the saving operation or sharing operation.
[0098] A second aspect of an embodiment of the present application provides a comment display device, the device comprising:
[0099] A display unit is used to display a picture set corresponding to a target comment in a comment display interface, wherein the picture set is generated based on the opinion content of the target comment, the target comment includes all or part of at least one comment corresponding to a currently played resource, and the picture set includes at least one picture.
[0100] In a possible implementation, the pictures in the picture set include an opinion content display area, and the opinion content display area is used to display at least one opinion content of the target comment.
[0101] In a possible implementation, the pictures in the picture set further include characters, and each viewpoint content display area corresponds to at least one character image.
[0102] In a possible implementation manner, when the pictures in the picture set include a plurality of different viewpoint contents, different viewpoint contents correspond to different character images.
[0103] In a possible implementation, the multiple different viewpoint contents are opposing viewpoint contents, and the expressions and / or actions of the different characters are in a state of confrontation; wherein the opposing viewpoint contents are viewpoint contents with opposite semantics.
[0104] In a possible implementation, the comment display device may further include a detection unit;
[0105] The display unit is further used to display a resource display interface before displaying the picture set corresponding to the target comment in the comment display interface, wherein the resource display interface is used to display the currently playing resource;
[0106] The detection unit is used to detect the comment display operation on the resource display interface;
[0107] Correspondingly, the display unit may be used to display a picture set corresponding to a target comment in a comment display interface, and the display unit may specifically include: a display unit may be used to display a comment display interface in response to the comment display operation, and the comment display interface may include a picture set corresponding to the target comment.
[0108] In a possible implementation, the comment display device may further include a detection unit, wherein the detection unit is further configured to detect a picture set display operation on the comment display interface before the display unit displays the picture set corresponding to the target comment in the comment display interface;
[0109] Correspondingly, the display unit is used to display the picture set corresponding to the target comment in the comment display interface in a manner that specifically includes: the display unit is used to display the picture set corresponding to the target comment in the comment display interface in response to the picture set display operation.
[0110] In a possible implementation, the comment display interface further includes a picture collection display control, and the detection unit is used to detect the picture collection display operation on the comment display interface. The detection unit is used to detect a touch operation on the picture collection display control;
[0111] The display unit is used to respond to the picture set display operation and display the picture set corresponding to the target comment on the comment display interface. The method may specifically include: the display unit is used to respond to the touch operation of the picture set display control and display the picture set corresponding to the target comment on the comment display interface.
[0112] In a possible implementation, the detection unit is further configured to detect and respond to a touch operation on any of the target comments before detecting a picture collection display operation on the comment display interface, and display a function control interface in the comment display interface, wherein the function control interface includes a picture collection display control;
[0113] The manner in which the detection unit is used to detect the picture set display operation on the comment display interface may specifically include: the detection unit is used to detect a touch operation on the picture set display control;
[0114] The display unit is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit is used to respond to the touch operation of the picture set display control, and display the picture set corresponding to the target comment in the comment display interface.
[0115] In a possible implementation, the detection unit is further configured to display a picture set generation interface on the comment display interface before detecting the picture set display operation on the comment display interface, the picture set generation interface including at least one editing control for picture set parameters, the picture set parameters including style parameters;
[0116] The manner in which the detection unit is used to detect the picture set display operation on the comment display interface may specifically include: the detection unit is used to detect the selection operation of the target editing control in the picture set generation interface;
[0117] The display unit is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit is used to respond to the selection operation of the target editing control, and display the picture set corresponding to the target comment in the comment display interface.
[0118] In a possible implementation, the detection unit is used to display a picture collection generation interface on the comment display interface in a manner that may specifically include: the detection unit is used to, when the comment display interface also includes a picture collection display control, detect and respond to a touch operation on the picture collection display control, and display the picture collection generation interface on the comment display interface; or, is used to detect and respond to a touch operation on any comment among the target comments, display a function control interface on the comment display interface, the function control interface including a picture collection display control, detect and respond to a touch operation on the picture collection display control, and display the picture collection generation interface on the comment display interface.
[0119] In a possible implementation, the detection unit is used to detect the picture set display operation on the comment display interface, which may specifically include: the detection unit is used to detect a target browsing operation, where the target browsing operation is a browsing operation in which the continuous browsing time of the comment area corresponding to the current playback resource is greater than or equal to a threshold;
[0120] The display unit is used to respond to the picture set display operation and display the picture set corresponding to the target comment in the comment display interface. The method may specifically include: the display unit is used to respond to the target browsing operation and display the picture set corresponding to the target comment in the comment display interface.
[0121] In a possible implementation, the detection unit is used to detect the picture set display operation on the comment display interface, which may specifically include: the detection unit is used to display a comment mode switching interface on the comment display interface, the comment mode switching interface is used to select whether to use the picture set display mode for the target comment; and detect a confirmation operation on the comment mode switching interface;
[0122] The display unit is used to respond to the picture set display operation and display the picture set corresponding to the target comment in the comment display interface. The method may specifically include: the display unit is used to respond to the confirmation operation and display the picture set corresponding to the target comment in the comment display interface.
[0123] In a possible implementation, the display unit is used to respond to the picture set display operation, and the manner in which the picture set corresponding to the target comment is displayed in the comment display interface may specifically include: the display unit is used to respond to the picture set display operation to obtain the target content corresponding to the target comment, and the target content is at least one of the following: the target scene picture, the target character image, and the release time sequence of each comment in the target comment; wherein the target character image is determined based on the user information of the user who posted the target comment and / or the comment information of the target comment, and the target scene picture is determined based on the resource information of the currently playing resource; and, based on the target comment and the target content, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
[0124] In one possible implementation, the target character image is selected from a plurality of preset character images based on the user information and / or the comment information, or the target character image is generated by inputting the user information and / or the comment information into a preset character image computing model; the target scene picture is selected from a plurality of preset scene pictures based on the resource information, or the target scene picture is generated by inputting the resource information into a preset scene picture computing model.
[0125] In a possible implementation, the display unit is used to respond to the picture set display operation, and the manner in which the picture set corresponding to the target comment is displayed in the comment display interface may specifically include: the display unit is used to respond to the picture set display operation, perform semantic analysis on the target comment, and obtain key information of the target comment; and, based on the key information, the target comment and a preset picture set generation model, generate and display the picture set corresponding to the target comment in the comment display interface.
[0126] In a possible implementation, the display unit is used to respond to a selection operation on the target editing control, and a method for displaying a picture set corresponding to the target comment in the comment display interface may specifically include: the display unit is used to respond to a selection operation on the target editing control, obtain target picture set parameters corresponding to the selection operation; and, based on the target picture set parameters, generate and display the picture set corresponding to the target comment in the comment display interface.
[0127] In a possible implementation, the at least one comment is at least one sub-comment in the comment area corresponding to the currently played resource that replies to the same main comment.
[0128] In a possible implementation, the picture set includes at least two pictures, and the display order of the at least two pictures is determined according to a preset display rule, and the preset display rule is the publishing time of the comments included in the corresponding picture or the priority of each picture. The priority of each picture is determined based on the comment information of the comments included in the corresponding picture, and the comment information includes at least one of the following: the number of likes, the relevance to the main comment, and a tag generated based on semantics.
[0129] In a possible implementation, the display unit may be used to display the picture set corresponding to the target comment in the comment display interface, specifically including: the display unit is used to display the current picture of the picture set in the comment display interface; and, detect the display time of the current picture; and, when the display time of the current picture is greater than a time threshold, display the picture in the picture set that follows the current picture in the comment display interface.
[0130] In a possible implementation, the display unit is used to display the picture set corresponding to the target comment on the comment display interface, which may specifically include: the display unit is used to display the current picture of the picture set on the comment display interface; and, in response to a page turning operation input by a user, the picture in the picture set that is before or after the current picture is displayed on the comment display interface, wherein when displaying a picture before the current picture in the picture set, the page turning operation is a forward page turning operation, and when displaying a picture after the current picture in the picture set, the page turning operation is a backward page turning operation.
[0131] In a possible implementation, in the comment display interface, the display area corresponding to the picture set is different from the comment area corresponding to the currently playing resource, and the display unit is used to display the picture set corresponding to the target comment in the comment display interface. Specifically, the display unit may include: the display unit is used to determine the current comment among the target comments displayed in the comment area; and, determine the target picture corresponding to the current comment from the picture set; and, display the target picture on the display area corresponding to the picture set.
[0132] In a possible implementation manner, the display unit is further configured to, after displaying the picture set corresponding to the target comment in the comment display interface, respond to a save operation on the picture set and store the picture set;
[0133] or,
[0134] In response to a sharing operation on the picture set, the picture set is shared.
[0135] A third aspect of the embodiments of the present application provides an electronic device, including:
[0136] A memory storing executable program code;
[0137] and a processor coupled to the memory;
[0138] The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method as described in the first aspect.
[0139] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method described in the first aspect of the embodiment of the present application is implemented.
[0140] A fifth aspect of an embodiment of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
[0141] A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
[0142] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0143] A picture set corresponding to a target comment is displayed in a comment display interface. The picture set is generated based on the opinion content of the target comment. The target comment includes all or part of at least one comment corresponding to a currently played resource. The picture set includes at least one picture.
[0144] By implementing this method, the picture set corresponding to the target comment is displayed in the comment display interface, so that the target comment corresponding to the current playback resource can be displayed in the form of a picture set, thereby improving the diversity of the display methods of the comments. BRIEF DESCRIPTION OF THE DRAWINGS
[0145] Figure 1A It is a flowchart of the comment display method disclosed in the embodiment of the present application;
[0146] Figure 1B It is a display diagram of the picture disclosed in the embodiment of the present application;
[0147] Figure 2A It is a display diagram of the display area corresponding to the picture set disclosed in the embodiment of the present application;
[0148] Figure 2BIt is another display diagram of the display area corresponding to the picture set disclosed in the embodiment of the present application;
[0149] Figure 2C It is another display diagram of the display area corresponding to the picture set disclosed in the embodiment of the present application;
[0150] Figure 2D It is another display diagram of the display area corresponding to the picture set disclosed in the embodiment of the present application;
[0151] Figure 2E It is another display diagram of the display area corresponding to the picture set disclosed in the embodiment of the present application;
[0152] Figure 2F This is a schematic diagram of the picture page turning disclosed in the embodiment of the present application;
[0153] Figure 2G It is another schematic diagram of the picture page turning disclosed in the embodiment of the present application;
[0154] Figure 2H It is another schematic diagram of the picture page turning disclosed in the embodiment of the present application;
[0155] Fig.2I It is another schematic diagram of the picture page turning disclosed in the embodiment of the present application;
[0156] Figure 3 It is another flowchart of the comment display method disclosed in the embodiment of the present application;
[0157] Figure 4A It is a display diagram of the function control interface disclosed in the embodiment of the present application;
[0158] Figure 4B It is another display diagram of the function control interface disclosed in the embodiment of the present application;
[0159] Figure 5A It is a display diagram of the picture collection generation interface disclosed in the embodiment of the present application;
[0160] Figure 5B It is another display diagram of the picture collection generation interface disclosed in the embodiment of the present application;
[0161] Figure 6 It is a flow chart of generating a picture set disclosed in an embodiment of the present application;
[0162] Figure 7 is another flow chart of generating a picture set disclosed in an embodiment of the present application;
[0163] Figure 8 It is another flow chart of generating a picture set disclosed in the embodiment of the present application;
[0164] Fig. 9 It is another flowchart of the comment display method disclosed in the embodiment of the present application;
[0165] Fig. 10A It is a display diagram of the picture collection display control disclosed in the embodiment of the present application;
[0166] Fig. 10B It is another display diagram of the picture collection display control disclosed in the embodiment of the present application;
[0167] Fig. 10C It is another display diagram of the picture collection display control disclosed in the embodiment of the present application;
[0168] Fig. 10D It is another display diagram of the picture collection display control disclosed in the embodiment of the present application;
[0169] Fig.11 It is a display diagram of a control for triggering storage of a picture set and a control for triggering sharing of a picture disclosed in an embodiment of the present application;
[0170] Fig.12 It is another flowchart of the comment display method disclosed in the embodiment of the present application;
[0171] Fig.13 It is another flowchart of the comment display method disclosed in the embodiment of the present application;
[0172] Fig.14 It is a display diagram of the comment mode switching interface disclosed in the embodiment of the present application;
[0173] Fig.15 It is another flowchart of the comment display method disclosed in the embodiment of the present application;
[0174] Fig.16 It is a display diagram of the comment selection interface disclosed in the embodiment of the present application;
[0175] Fig.17 It is a structural diagram of the comment display device disclosed in the embodiment of the present application;
[0176] Fig.18 It is a structural diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0177] The embodiments of the present application provide a comment display method and apparatus, device, and storage medium, which can increase the diversity of comment display methods.
[0178] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.
[0179] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0180] "At least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or plural.
[0181] Currently, most applications such as social media applications, short video applications, music applications, and reading and learning applications have comment functions to facilitate users to express their opinions and views. In the comment area of these applications, users can not only post their own comments on the currently playing resources (such as articles, videos, pictures, etc.), but also reply to other users' comments.
[0182] However, in practice, it is found that the comment display method in the comment area of most applications is relatively simple, which makes the comment area less attractive to users and users are less willing to comment. Therefore, how to increase the diversity of comment display methods has become a technical problem that the industry urgently needs to solve.
[0183] To solve the above problems, the technical solution of the present application discloses a comment display method, in which a picture set corresponding to a target comment is displayed in a comment display interface, and the picture set is generated based on the opinion content of the target comment. The target comment includes all or part of at least one comment corresponding to the currently played resource, and the picture set includes at least one picture.
[0184] By implementing this method, the picture set corresponding to the target comment is displayed in the comment display interface, so that the target comment corresponding to the currently played resource can be displayed in the form of a picture set, which improves the diversity of the display methods of the comment, is conducive to improving the attractiveness of the comment area to users, and further helps to stimulate users' willingness to produce comments.
[0185] The executor of the technical solution of the present application may be an electronic device or a module in the electronic device for executing the comment display method disclosed in the embodiment of the present application, and the embodiment of the present application does not limit this.
[0186] It should be noted that the following description is mainly based on electronic devices as the execution subject.
[0187] In the embodiments of the present application, the electronic device may include a general handheld screen electronic device, such as a mobile phone, a smart phone, a portable terminal, a terminal, a personal digital assistant (PDA), a portable multimedia player (Personal Media Player, PMP) device, a laptop computer, a notebook (Note Pad), a wireless broadband (Wireless Broadband, Wibro) terminal, a tablet computer (Personal Computer, PC), a smart PC and a car computer, etc.
[0188] Electronic devices may also include wearable devices. Wearable devices are portable electronic devices that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but can also achieve powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, and alarm function. They can also be connected to mobile phones and various terminals. Wearable devices may include but are not limited to watches supported by the wrist (such as watches, wrists, etc.), shoes supported by the feet (such as shoes, socks, or other products worn on the legs), glasses supported by the head (such as glasses, helmets, headbands, etc.), as well as smart clothing, school bags, crutches, accessories and other non-mainstream product forms.
[0189] The technical solution of the present application is further described below by way of embodiments.
[0190] See also Figure 1A , Figure 1A This is a flowchart of the comment display method disclosed in the embodiment of this application. Figure 1A The comment display method shown may include the following steps:
[0191] 101. The electronic device displays a picture set corresponding to a target comment in a comment display interface, where the picture set is generated based on the opinion content of the target comment, and the target comment includes all or part of at least one comment corresponding to a currently played resource, wherein the picture set includes at least one picture.
[0192] In the embodiment of the present application, the currently playing resource refers to the resource currently being played on the display screen of the electronic device. The currently playing resource may include but is not limited to at least one of the following: video, picture, text, and audio.
[0193] In some embodiments, the currently playing resource may be any playing resource selected by the user from the resource playing selection interface, or may be a playing resource recommended by the application, which is not limited in the embodiments of the present application. The resource playing selection interface includes at least one selection control corresponding to the playing resource, and the user can select the resource currently playing on the display screen of the electronic device by touching any selection control.
[0194] In an embodiment of the present application, the opinion content of the target comment may include the comment content of the target comment, and may also include the summary content obtained after performing voice analysis on the target comment, which is not limited in the embodiment of the present application.
[0195] In the embodiment of the present application, the comment display interface may include a comment area or may not include a comment area, which is not limited in the embodiment of the present application. The comment area of the current playing resource refers to an area where users can comment on the current playing resource and reply to comments posted by other users on the current playing resource.
[0196] In an embodiment of the present application, the pictures in the above picture set may include an opinion content display area, and the opinion content display area is used to display at least one opinion content of the target comment.
[0197] In some embodiments, the pictures in the picture set also include character images, and each viewpoint content display area corresponds to at least one character image.
[0198] It is understandable that any picture in the picture set may include at least one opinion content display area, and one opinion content display area may correspond to one or more of the target comments, and combined with the character image in the picture, form a comic form to display the opinion content of the target comment.
[0199] When a picture includes multiple viewpoint content display areas, each viewpoint content display area corresponds to one of the target comments. Then, the multiple viewpoint content display areas are displayed in the order of the release time of the comments corresponding to each viewpoint content display area, or they can be displayed synchronously.
[0200] In some embodiments, when a new viewpoint content display area is displayed, the previously displayed viewpoint content display area may continue to be displayed or may disappear, which is not limited in the embodiments of the present application.
[0201] In the embodiment of the present application, the display of each viewpoint content display area can be controlled by the electronic device according to preset rules, or can be triggered by the user, which is not limited in the embodiment of the present application.
[0202] The following uses the first viewpoint content display area and the second viewpoint content display area that are adjacent in display order as an example to explain the situation where the display of each viewpoint content display area is controlled by the electronic device according to a preset rule, and the display of each viewpoint content display area is triggered by the user. Among them, the display order of the first viewpoint content display area is before the display order of the second viewpoint content display area.
[0203] In the case where the display of each viewpoint content display area is controlled by the electronic device according to a preset rule, the preset rule may be a preset viewpoint content display area duration threshold. If the electronic device detects that the display duration of the first viewpoint content display area is greater than the viewpoint content display area duration threshold, the second viewpoint content display area is displayed.
[0204] When the display of each viewpoint content display area is triggered by the user, if the electronic device detects a specified operation during the display of the first viewpoint content display area, the second viewpoint content display area is displayed. The specified operation may include but is not limited to: clicking the current picture once, clicking the current picture twice in succession, and the like.
[0205] Combine the following Figure 1B , explain the display of each viewpoint content display area in the picture. Figure 1B As shown, the picture includes three viewpoint content display areas, namely viewpoint content display area 1, viewpoint content display area 2, and viewpoint content display area 3. The display order of these three viewpoint content display areas is viewpoint content display area 1 is displayed first, viewpoint content display area 2 is displayed second, and viewpoint content display area 3 is displayed last.
[0206] In some embodiments, when the pictures in the picture collection include multiple different viewpoint contents, the multiple different viewpoint contents may be opposing viewpoint contents, and the expressions and / or actions of different characters are in a state of combat; wherein the opposing viewpoint contents are viewpoint contents with opposite semantics.
[0207] Exemplarily, the expression in the fighting state may be a quarreling expression, and the action in the fighting state may be a fighting action.
[0208] In the embodiment of the present application, the at least one comment in step 101 may be at least one sub-comment that replies to the same main comment, one main comment, multiple main comments, or others, which is not limited in the embodiment of the present application.
[0209] It should be noted that the following embodiments are mainly introduced by taking the at least one comment in step 101 as at least one sub-comment that replies to the same main comment in the comment area as an example.
[0210] In the embodiment of the present application, the target comment may include but is not limited to any of the following:
[0211] The target comment includes the main comment and all the sub-comments corresponding to the main comment;
[0212] The target comment includes a main comment and some sub-comments corresponding to the main comment;
[0213] The target comment includes all the subordinate comments corresponding to the main comment;
[0214] The target review includes the partial sub-reviews corresponding to the main review.
[0215] In the embodiment of the present application, whether the comment is a main comment or a secondary comment can be determined by whether the comment is posted for the current playback resource. The main comment can be posted directly for the current playback resource, and the secondary comment can be a comment that replies to the main comment. For example, comment account A comments on the published content, and comment account B comments on the comment information of comment account A. At this time, the comment posted by comment account A is the main comment, and the comment posted by comment account B is the secondary comment of the main comment.
[0216] The main comment and the subordinate comment can also be judged by a binary tree formed by the comments. For example, if any comment in the comment area is not a child node of any comment, then this comment is a main comment, and if any comment is a child node of a comment, then this comment is a subordinate comment.
[0217] The main comment and the secondary comment can also be determined by the size of the corresponding user image. For example, if the size of the user image corresponding to any comment in the comment area is greater than a threshold, the comment is a main comment; if the size of the user image corresponding to any comment is less than or equal to the threshold, the comment is a secondary comment. The threshold can be set according to actual usage requirements and is not limited here.
[0218] It is understandable that for each main comment, it may have sub-comments or may not have sub-comments. That is to say, the comment area of the currently playing resource may include one or more main comments corresponding to sub-comments, and the comment area of the currently playing resource may also include a main comment without sub-comments. In the embodiment of the present application, a main comment corresponding to at least one sub-comment is used as an example for explanation.
[0219] In some embodiments, before step 101, the electronic device may further display a resource display interface, where the resource display interface is used to display the currently playing resource and detect a comment display operation on the resource display interface;
[0220] Furthermore, the electronic device displays a picture set corresponding to a target comment in a comment display interface, which may include: the electronic device displays a comment display interface in response to a comment display operation, wherein the comment display interface includes the picture set corresponding to the target comment.
[0221] It can be understood that the comment display operation refers to the operation input by the user on the resource display interface.
[0222] In an embodiment of the present application, the comment display operation can be used to trigger the display of a comment display interface, which can display a picture set corresponding to the target comment, or the comment display interface can display a picture set corresponding to the target comment and a comment area for the currently playing resource.
[0223] In some embodiments, the comment display operation may include but is not limited to any of the following: voice operation, gesture operation, and touch operation of a virtual button for triggering the display of the comment area. Exemplarily, when the comment display operation includes voice operation, the voice operation may be voice input of keywords such as "comment" and "comment area". When the comment display operation is a gesture operation, the gesture operation may be shaking the electronic device, flipping the electronic device, etc. The comment display operations are not exemplified one by one here.
[0224] When the comment display interface displays a picture set and a comment area, the display area corresponding to the picture set may be on the comment area or not on the comment area, which is not limited in the embodiment of the present application.
[0225] The display area of the picture set is on the comment area, that is, the display area of the picture set and the comment area at least partially overlap. In one case, the picture set is displayed over the comment area, and the display area corresponding to the picture set is a floating window on the comment area. In this case, when the picture set is displayed in the display area, the comment area is not operable. In another case, the picture set is displayed in a blank area in the comment area, and the display area corresponding to the picture set is a partial area in the comment area. In this case, when the picture set is displayed in the display area, the comment area is in an operable state.
[0226] The display area of the picture set is not on the comment area, that is, the display area corresponding to the picture set does not overlap with the comment area at all. In this case, the comment area is in an operable state.
[0227] In some embodiments, the comment display interface may be a new interface that is completely different from the resource display interface, that is, the comment display interface does not include a resource display area, and the resource display area is used to display the currently playing resource.
[0228] In some embodiments, the comment display interface may be a new interface generated based on the resource display interface, that is, the comment display interface may include a resource display area.
[0229] For example, regarding the case where the comment display interface is triggered by the comment display operation, please refer to the following Figure 2A-2C .
[0230] Figure 2A The following is a situation where the comment display interface displays a picture collection, such as Figure 2A As shown in the figure on the left, the current interface diagram includes a resource display area 201 and a control 2011 for inputting a comment display operation on the resource display area 201. The electronic device can respond to the touch operation on the control 2011, and the current interface is composed of Figure 2A The left picture becomes Figure 2A The figure on the right, such as Figure 2A As shown in the figure on the right, the resource display area 201 is reduced, and the display area 202 corresponding to the picture set is located below the resource display area 201 .
[0231] Figure 2B The following is a situation where the comment display interface displays a picture collection and a comment area, such as Figure 2B As shown in the figure on the left, the current interface diagram includes a resource display area 201 and a control 2011 for inputting a comment display operation on the resource display area 201. The electronic device can respond to the touch operation on the control 2011, and the current interface is composed of Figure 2B The left picture becomes Figure 2B The figure on the right, such as Figure 2B As shown in the figure on the right, the resource display area 201 is reduced, and the display area 202 and the comment area 203 corresponding to the picture set are located below the resource display area 201. The comment area 203 includes one main comment and three sub-comments corresponding to the main comment.
[0232] Figure 2C The following is a situation where the comment display interface displays a picture collection and a comment area, such as Figure 2CAs shown in the figure on the left, the current interface diagram includes a resource display area 201 and a control 2011 for inputting a comment display operation on the resource display area 201. The electronic device can respond to the touch operation on the control 2011, and the current interface is composed of Figure 2C The left picture becomes Figure 2C The figure on the right, such as Figure 2C As shown in the figure on the right, the resource display area 201 is reduced, and the display area 202 corresponding to the picture set is located on the comment area 203, and the comment area 203 includes 1 main comment and 3 sub-comments corresponding to the main comment.
[0233] In some embodiments, before step 101, the electronic device may also detect a picture set display operation on the comment display interface;
[0234] Furthermore, the electronic device displays the picture set corresponding to the target comment in the comment display interface, which may include: the electronic device displays the picture set corresponding to the target comment in the comment display interface in response to the picture set display operation.
[0235] It is understandable that, before step 101, the comment display interface displays a comment area for the currently playing resource, and the electronic device displays the picture set corresponding to the target comment in the comment display interface in response to the picture set display operation.
[0236] It should be noted that, when the current display content is different, the picture set display operation may correspond to different operations. For example, when the current display content includes a picture set display control for displaying a picture set, the picture set display operation may be a touch operation on the picture set display control. Alternatively, when the current display content does not include a picture set display control, the picture set display operation may be a selection operation for a target comment in the comment area. Of course, when the current display content is other content, the picture set display operation may also be other operations, which are not exemplified here. It can be understood that as long as it is an operation for displaying a picture set corresponding to a target comment, it may be a picture set display operation in an embodiment of the present application.
[0237] It should be noted that the specific contents of the picture set display operation will be described in detail in the following embodiments and will not be repeated here.
[0238] Among them, when the picture set display is triggered by the picture set display operation, the relationship between the display area of the picture set and the comment area of the currently playing resource can be found in the above corresponding introduction, which will not be repeated here.
[0239] For example, regarding the case where the picture set display is triggered by the picture set display operation, see the following Figure 2D-Figure 2E .
[0240] For example, regarding the display area corresponding to the picture set on the comment area, please refer to Figure 2D .like Figure 2D As shown in the figure on the left, the current interface diagram includes a resource display area 201 and a comment area 203; wherein the resource display area 201 is used to display the currently playing resource, and the comment area 203 includes a main comment and 3 sub-comments corresponding to the main comment. Figure 2D The left picture becomes Figure 2D In the right figure, the display area 202 corresponding to the picture set is a floating window located on the comment area 203 , and the display area 202 corresponding to the picture set partially overlaps with the comment area 203 .
[0241] For example, regarding the case where the display area corresponding to the picture set is not in the comment area, see Figure 2E .like Figure 2E The left figure is a schematic diagram of the undisplayed image set. Figure 2D Similar to the left figure, the interface diagram includes a resource display area 201 and a comment area 203. When responding to the picture collection display operation, the current interface is Figure 2E The left picture becomes Figure 2E In the right figure, the comment area 203 is reduced in the display area of the current interface, and the display area 202 corresponding to the picture set is displayed on the right side of the comment area 203.
[0242] In addition, the picture collection in the embodiment of the present application can be automatically generated by the electronic device according to the target comment and saved in the electronic device, so that when a comment display operation or a picture collection display operation is detected, the saved picture collection can be directly displayed. The picture collection can also be generated by the electronic device according to the user's picture collection generation operation. For example, when the electronic device detects the picture collection display operation, it can display the picture collection generation interface and generate the corresponding picture collection according to the user's operation on the picture collection generation interface. It can be understood that in the embodiment of the present application, the source of the picture collection is not limited.
[0243] In the embodiments of the present application, there is no restriction on the display method of the picture set. In some embodiments, when the picture set includes multiple pictures, the picture set can splice the multiple pictures into a long picture for display, or can splice the multiple pictures into a video for display, or can display each picture separately in turn, which are not explained one by one here.
[0244] When the picture set includes multiple pictures, there may be multiple display orders of the multiple pictures in the display area.
[0245] In some embodiments, the display order of each picture in the picture set can be determined according to a preset display rule. The preset display rule can be the release time of the comments included in the corresponding picture or the priority of each picture. It should be noted that the comment included in the picture can be understood as if the content of the picture includes the content of a certain comment, or the content of a certain comment is displayed in the picture, then the comment is
[0246] In the case where the preset display rule is the publishing time of the comments included in the corresponding picture, the earlier the publishing time of the comments included in the picture, the higher the display order of the picture. For example, if each picture corresponds to one comment, the display order of each picture is determined according to the publishing time of each comment. For another example, if each picture corresponds to multiple comments, the display order of each picture can be determined according to the publishing time of the earliest comment published among the multiple comments, or the display order of each picture can be determined according to the publishing time of the latest comment published among the multiple comments.
[0247] In the case where the preset display rule is the priority of each picture, the higher the priority of the picture, the higher the display order of the picture. In an embodiment of the present application, the priority of the picture can be determined based on the comment information of the comment included in the picture. The comment information can include but is not limited to the number of likes, the relevance to the main comment, and the tags generated based on semantics.
[0248] It should be noted that if a picture includes only one comment, the priority of the picture is determined based on the comment information of the comment; if a picture includes multiple comments, the priority of the picture can be determined based on the comment information of one of the multiple comments, such as the first comment determined by the posting time, or the last comment determined by the posting time, or it can be any comment.
[0249] If a picture includes multiple comments, the priority of the picture may be determined based on statistical data of the comment information of the multiple comments.
[0250] In some embodiments, when the comment information is the number of likes, the number of likes may include but is not limited to: the cumulative value of the number of likes of multiple comments, the average value of the number of likes of multiple comments, the maximum value or minimum value of the number of likes of multiple comments, etc. It should be noted that the larger the statistical data of the number of likes of multiple comments included in the picture, the higher the priority corresponding to the picture.
[0251] In some embodiments, when the comment information includes a correlation with the main comment, the correlation can be determined based on the overlap of key information in the comment, and the key information can be a keyword or a key word, etc. For example, taking the key information as a keyword, if the main comment includes 3 keywords, the comment included in the picture includes 2 keywords, and these 2 keywords are the same or similar to 2 of the 3 keywords included in the main comment, then it can be considered that the correlation between the comment included in the picture and the main comment is 2 / 3. Alternatively, a correlation calculation model can be set to determine the correlation between the comment included in the picture and the main comment. Of course, the correlation can also be determined by other methods, which are not limited here.
[0252] If a picture includes multiple comments, the correlation between the comments included in the picture and the main comment may include but is not limited to: the average correlation between the multiple comments included in the picture and the main comment, that is, the average of the correlations between the multiple comments and the main comment; or, the maximum value of the correlation between the multiple comments included in the picture and the main comment; or, the proportion of the multiple comments included in the picture that are strongly correlated with the main comment, where the strong correlation can be a correlation greater than or equal to a correlation threshold, and the correlation threshold can be set according to actual usage requirements and is not limited here. It should be noted that the stronger the correlation between the comments included in the picture and the main comment, the higher the priority of the picture.
[0253] In some embodiments, the label of the comment included in the picture may refer to the emotional label of the picture obtained by analyzing all the comments included in the picture, and the emotional label may be positive, negative or neutral. Different emotional labels correspond to different priorities. For example, the priority of the picture corresponding to the positive label may be set to be the highest, and the priority of the picture corresponding to the negative label may be set to be the lowest. Alternatively, the label may be a role label, and the role label may be a positive label, a negative label or a reconciliation label. The priority of the picture is determined according to different role labels. For example, the higher the priority of the picture corresponding to the positive label, the lower the priority of the picture corresponding to the negative label. Of course, the label may also be other semantic labels, or may be a label preset by the user. The priority of the picture corresponding to each label may also be set according to the actual usage, which will not be explained one by one here.
[0254] If a picture includes multiple comments, the label of the comment included in the picture can be any one of the labels, or a label whose proportion among multiple labels is greater than a preset ratio, and there is no limitation here.
[0255] In an embodiment of the present application, the electronic device sets the display order of each picture in the picture set according to a preset display rule, which can improve the flexibility of the picture set display.
[0256] In some embodiments, the manner in which the pictures included in the picture set are displayed in a preset display order may include but is not limited to the following manners:
[0257] Method 1: The electronic device displays a current picture in a picture set and detects a display time of the current picture; and when the display time of the current picture is greater than a time threshold, displays a picture in the picture set that is subsequent to the current picture;
[0258] It should be noted that the duration threshold may be pre-set, and illustratively, the duration threshold may be 10 seconds (s), 15s or 20s, etc.
[0259] It is understandable that the electronic device can automatically switch pictures by detecting the display duration of the pictures without user intervention, which is beneficial to improving the display efficiency and display fluency of the picture set.
[0260] In addition, when the current picture is the last picture in the picture collection after being sorted according to the aforementioned display order, since there are no other pictures after the picture, the display state of the picture can be maintained after the display time of the current picture exceeds the time threshold. In view of this, when the electronic device displays the picture collection, it can also first determine whether the current picture is the last picture. If it is not the last picture, the picture is switched according to the time threshold; if it is the last picture, the picture is not switched, so that the last picture can be displayed after the last picture is displayed. The current picture refers to any picture in the picture collection except the picture with the last display order.
[0261] Of course, when the electronic device displays a picture set, it is not necessary to determine whether the current picture is the last picture. If the current picture is the last picture, when the display time of the last picture is equal to the time threshold, it can also switch to a preset picture, such as a blank picture. Those skilled in the art can set it according to usage requirements, and it is not limited here.
[0262] In a second method, the electronic device displays the current picture in the picture set, and in response to a page turning operation input by the user, displays a picture in the picture set that is located before or after the current picture.
[0263] Among them, if the page turning operation is a forward page turning operation, the pictures before the current picture in the picture set are displayed; if the page turning operation is a backward page turning operation, the pictures after the current picture in the picture set are displayed.
[0264] In some embodiments, the forward page turning operation may include an operation of sliding an image pointing in a first direction, or a touch is used to trigger an operation of a first page turning control for turning forward. Similarly, the backward page turning operation may include an operation of sliding an image pointing in a second direction, or a touch is used to trigger an operation of a second page turning control for turning backward. The first direction and the second direction are opposite. For example, turning forward may be a leftward movement, and turning backward may be a rightward slide; or turning forward may be an upward slide, and turning backward may be a downward slide.
[0265] In the embodiment of the present application, the electronic device switches pictures by detecting the page turning operation input by the user, so that the user can turn the page at any time according to his / her needs, which is conducive to the user's flexible control of the browsing progress and content to meet the personalized needs of different users. In addition, it can also provide users with a stronger sense of control, participation and immersion.
[0266] For example, the following is combined Figure 2F-2G , explain the page turning of each picture in the picture collection:
[0267] Figure 2F Schematic diagram of an example of turning pages by sliding in a preset direction. Figure 2F The left interface shown includes a resource display area 201, a comment area 203, and a display area 202 corresponding to the picture set. The user slides left in the display area 202 corresponding to the picture set, and the electronic device detects and responds to the left sliding operation, switching the picture displayed in the display area 202 corresponding to the picture set from picture 1 to picture 2, as shown in FIG. Figure 2F As shown in the interface on the right.
[0268] Figure 2G This is a schematic diagram of an example of turning pages using a page turning control. Figure 2G The interface on the left side shown includes a resource display area 201, a comment area 203, and a display area 202 corresponding to the picture set, wherein the display area 202 corresponding to the picture set displays picture 1, a control for triggering a backward page turn, and a control for triggering a forward page turn. The user performs a touch operation on the backward page turn control in the display area 202 corresponding to the picture set, and the electronic device detects and responds to the touch operation, switching the picture displayed in the display area 202 corresponding to the picture set from picture 1 to picture 2, as shown in FIG. Figure 2G As shown in the interface on the right.
[0269] It should be noted that the page turning control can have multiple display forms. Figure 2G In other embodiments, the page turning control may be in the shape of an arrow. For example, turning the page forward may be a left arrow, and turning the page backward may be a right arrow. Figure 2H Of course, the page turning control can also be displayed in other forms, which are not listed here one by one.
[0270] In the aforementioned embodiment, the display area corresponding to the picture set may also be different from the comment area, that is, the display area corresponding to the picture set and the comment area do not overlap at all. In this case, the comment area is in an operable state, for example, the user is still browsing the comments in the comment area.
[0271] In order to facilitate the user to quickly locate the picture that he wants to view in the picture collection, the display of each picture in the picture collection can also be related to the current comment displayed in the comment area. It can be understood that since each picture in the picture collection is determined according to the target comment, in this case, the current comment displayed in the comment area can be at least one of the target comments.
[0272] Specifically, the electronic device may first determine a current comment among target comments displayed in the comment area, determine a target picture corresponding to the current comment from a picture set, and display the target picture on a display area corresponding to the picture set.
[0273] Please refer to Fig.2I , is a schematic diagram of an example of determining the pictures in the picture set to be displayed according to the current comment displayed in the comment area in an embodiment of the present application. As an example, a main comment includes a total of 20 sub-comments, and the picture set corresponding to the 20 sub-comments includes a total of 10 pictures, namely pictures 1 to 10, and each picture corresponds to 2 sub-comments. If sub-comments 7 and 8 are currently displayed in the comment area, the display area corresponding to the picture set displays the pictures corresponding to sub-comments 7 and 8, namely picture 4. Fig.2I If the user operates the comments displayed in the comment area, for example, by sliding down so that comments 7 and 8 are no longer displayed in the comment area, and comments 9 and 10 are displayed in the comment area, the electronic device responds to the downward sliding operation and switches the picture displayed in the display area corresponding to the picture set from picture 4 to picture 5, as shown in FIG. Fig.2I As shown in the interface on the right.
[0274] It can be understood that the user can control the change of the pictures in the display area corresponding to the picture set by changing the current comment in the target comments displayed in the comment area, so that the pictures displayed on the display area corresponding to the picture set correspond to the current comment in the target comments displayed in the comment area.
[0275] In the above example, if the comments displayed in the comment area do not change, the pictures displayed in the display area corresponding to the picture set will not change either; or, if the comments displayed in the comment area do not change, the pictures displayed in the display area corresponding to the picture set can also display the pictures in the picture set in the order of the time threshold, without any limitation here.
[0276] By implementing the above method, the picture set corresponding to the target comment is displayed on the comment display interface, so that the target comment in the comment area can be displayed in the form of a picture set, thereby improving the diversity of the display methods of the comment.
[0277] The above mainly describes the overall display process of each picture in the picture set. From the foregoing content, it can be seen that displaying the picture set corresponding to the comments can be the result of responding to the picture set display operation. Therefore, the comment display method provided in the embodiment of the present application will be described below according to different picture set display operations.
[0278] Please refer to Figure 3 , which is another flowchart of the comment display method provided in the embodiment of the present application, such as Figure 3 As shown, the flow chart includes:
[0279] 301. The electronic device displays a comment display interface, where the comment display interface displays a comment area.
[0280] 302. The electronic device detects and responds to a first touch operation on a comment area, and displays a target interface on a comment display interface.
[0281] and Figure 1A What is different from the illustrated embodiment is that, in the embodiment of the present application, before detecting the picture set display operation, the electronic device may also detect and respond to the first touch operation on the comment area to display the target interface on the comment display interface.
[0282] In the embodiment of the present application, the target interface may include but is not limited to the following situations:
[0283] In the first case, the target interface may include a function control interface, which may include a picture collection display control. Accordingly, the electronic device detects and responds to a first touch operation on the comment area, and displays the target interface on the comment display interface. This may include: the electronic device detects and responds to a touch operation on any slave comment or the main comment, and displays the function control interface on the comment display interface.
[0284] It should be noted that the touch operation on the sub-comments refers to the touch operation on the list where the sub-comments are located. Similarly, the touch operation on the main comments refers to the touch operation on the list where the main comments are located.
[0285] In the implementation of this application, the secondary comment can be any secondary comment, or the first secondary comment, and this embodiment of the application does not limit this.
[0286] Exemplarily, the following is combined with 4A- Figure 4B , explains the display of the function control interface.
[0287] Figure 4A This is a schematic diagram of an example of triggering the function control interface by touching the main comment. Figure 4A The interface shown on the left includes a resource display area 201 and a comment area 203; wherein, the resource display area 201 is used to display the currently playing resource, and the comment area 203 includes 1 main comment and 3 sub-comments corresponding to the main comment. The user touches the list where the main comments are located, and the electronic device responds to the touch operation and displays a function control interface 205 including a picture collection display control 204 on the comment area 203.
[0288] Figure 4B It is a schematic diagram of another example of triggering the function control interface display from the comment through touch. Figure 4B This is a schematic diagram of an example of triggering the function control interface by touching the main comment. Figure 4B The interface shown on the left is similar to Figure 4A Similar to the interface on the left, the user performs a touch operation on the first comment in the list, and the electronic device responds to the touch operation by displaying a function control interface 205 including a picture collection display control 204 on the comment area 203 .
[0289] It should be noted that, when the function control interface is triggered to display by touching the main comment, or, when the function control interface is triggered to display by touching any sub-comment, the target comment may include but is not limited to any of the following: the target comment includes the main comment, and all sub-comments corresponding to the main comment; or, the target comment includes the main comment, and some sub-comments corresponding to the main comment; or, the target comment includes all sub-comments corresponding to the main comment; or, the target comment includes some sub-comments corresponding to the main comment.
[0290] In the case where the function control interface is triggered to display by touching any sub-comment, the target comment may include partial sub-comments corresponding to the main comment, and the partial sub-comments may include the any sub-comment, and the sub-comments before the any sub-comment; or, the any sub-comment, and the sub-comments after the any sub-comment.
[0291] It can be understood that in the embodiment of the present application, the picture collection display control is displayed on the function control interface, and the display of the function control interface requires user touch to trigger from the comment or main comment, which is conducive to reducing the number of elements in the comment area and making the interface of the comment area more concise.
[0292] In a second case, the target interface includes a picture set generation interface, and the picture set generation interface may include at least one editing control for a picture set parameter.
[0293] In the embodiment of the present application, the picture set parameters may include but are not limited to at least one of the following: style parameters and size parameters, etc. The style parameters may be used to characterize the style type of the picture set, and the size parameters may be used to characterize the size of each picture in the picture set.
[0294] It is understood that, when the picture set parameter includes a style parameter, the at least one edit control for the picture set parameter may include a selection control for multiple preset styles. When the picture set parameter includes a size parameter, the at least one edit control for the picture set parameter may include a selection control for multiple sizes.
[0295] In the case where the target interface includes a picture collection generation interface, the electronic device detecting and responding to a first touch operation on a comment area and displaying the target interface on the comment display interface may include:
[0296] In the case where the comment area also includes a picture collection display control, the electronic device detects and responds to a touch operation on the picture collection display control, and displays a picture collection generation interface on the comment display interface;
[0297] or,
[0298] The electronic device detects and responds to a touch operation on any slave comment or main comment, displays a function control interface on the comment display interface, the function control interface including a picture set display control, and detects and responds to a touch operation on the picture set display control, displays a picture set generation interface on the comment display interface.
[0299] For example, the following is combined Figure 5A-Figure 5B , the display of the picture set generation interface is explained.
[0300] Figure 5A This is a schematic diagram of an example of triggering the display of the picture set generation interface by touching the picture set display control. Figure 5A The interface shown on the left side of the diagram includes a resource display area 201 and a comment area 203; wherein the resource display area 201 is used to display the currently played resource, and the comment area 203 includes a main comment, 3 sub-comments corresponding to the main comment, and a picture set display control 204 displayed on the list where the main comment is located. When a touch operation of touching the picture set display control 204 is detected, the following is displayed: Figure 5A The interface shown on the right. Figure 5AThe interface shown on the right side includes a resource display area 201 and a comment area 203; wherein the comment area 203 includes a picture collection generation interface 206.
[0301] Figure 5B This is a schematic diagram of an example of triggering the display of the picture collection generation interface by touching the main review. Figure 5B The interface shown on the left side includes a resource display area 201 and a comment area 203. The comment area 203 includes a main comment 1 and three sub-comments corresponding to the main comment. When a touch operation on the main comment is detected, the following is displayed: Figure 5B The interface shown in the middle. Figure 5B The interface shown in the middle includes a resource display area 201 and a comment area 203, wherein the comment area 203 includes a function control interface 205 displaying a picture collection display control 204. When a touch operation on the picture collection display control 204 is detected, the following is displayed: Figure 5B The interface shown on the right. Figure 5B The interface shown on the right side includes a resource display area 201 and a comment area 203 , wherein the comment area 203 includes a picture collection generation interface 206 .
[0302] It is understandable that in the embodiment of the present application, the user can independently select the style parameters corresponding to the picture set in the picture set generation interface, so that the generated picture set is more in line with the user's preferences and more interesting.
[0303] 303. The electronic device detects a second touch operation on the target interface.
[0304] In the embodiment of the present application, step 303 is a step of detecting the picture set display operation.
[0305] Since the target interface in step 302 is different, the second touch operation in step 303 is also different. Step 303 is described below for different target interfaces.
[0306] If the target interface is the first case in step 302, that is, the target interface is a function control interface including a picture collection display control, step 303 includes: the electronic device detects a touch operation on the picture collection display control.
[0307] If the target interface is the second case in step 302, that is, the target interface is a picture set generation interface, and the picture set generation interface may include at least one editing control for picture set parameters, then step 303 includes: the electronic device detects a selection operation of a target editing control in the picture set generation interface. The target editing control may be any editing control in the picture set generation interface.
[0308] 304. In response to the second touch operation, the electronic device displays a picture set corresponding to the target comment in the comment display interface.
[0309] In the embodiment of the present application, step 304 is to respond to the picture set display operation and display the picture set corresponding to the target comment in the comment display interface.
[0310] In the case where the second touch operation is a touch operation on a picture set display control, step 304 includes: in response to the touch operation on the picture set display control, displaying the picture set corresponding to the target comment in the comment display interface.
[0311] In the case where the second touch operation is a selection operation on the target editing control, step 304 includes: in response to the selection operation on the target editing control, displaying a picture set corresponding to the target comment in the comment display interface.
[0312] When the electronic device detects the second touch operation, the picture set corresponding to the target comment can be displayed in the comment display interface. In an embodiment of the present application, the picture set can be generated in advance before the second touch operation is detected, or it can be generated and displayed in response to the second touch operation. There is no restriction on the timing of generating the picture set. For the convenience of explanation, the following is an example of an electronic device generating a picture set in response to a second touch operation. Of course, since the second touch operation in the embodiment of the present application is a picture set display operation, if the picture set display operation is other operations, the electronic device can also generate a picture set corresponding to other operations, which should not be understood as a restriction on the picture set display operation.
[0313] As can be seen from the above content, no matter when the electronic device generates the picture set, the electronic device will execute the step of generating the picture set. Below, the step of generating the picture set by the electronic device is described.
[0314] For the first case of the aforementioned second touch operation, that is, the second touch operation is a touch operation on the picture set display control, the picture set display control is only a trigger control used to trigger the electronic device to generate a picture set. In other words, the electronic device can achieve the effect of automatically generating a picture set, thereby simplifying user operations and increasing convenience.
[0315] In this case, the method of generating a picture set can be seen below Figure 6-Figure 7 .
[0316] Please refer to Figure 6 , is a flowchart of an example of generating a picture set in an embodiment of the present application, and the flowchart includes:
[0317] 601. In response to a touch operation on a picture collection display control, the electronic device obtains target content corresponding to a target comment, where the target content includes at least one of the following: a target person image, a target scene image, and a release time sequence of each comment in the target comment.
[0318] The target persona may be determined based on user information of a user who posts a target comment and / or comment information of the target comment.
[0319] In the embodiment of the present application, the user information may include but is not limited to at least one of the following: age, gender, occupation, and region.
[0320] In some embodiments, the comment information may include but is not limited to at least one of the following: sentiment tags and behavior tags, etc. Sentiment tags include but are not limited to the following types: positive, negative, and neutral, etc. Behavior tags include but are not limited to the following types: recommendation, criticism, inquiry, and feedback, etc.
[0321] In some embodiments, the target character image may be selected from a plurality of preset character images according to user information and / or comment information. It is understandable that the number of target character images and the number of users corresponding to target comments are the same.
[0322] It is understandable that each preset character image corresponds to preset user information and / or preset comment information. The following takes the first user information and the first comment information as an example to illustrate the selection of the target character image. The first user information refers to the user information of the user corresponding to any comment in the target comment, and the first comment information refers to the comment information of the any comment.
[0323] The process of an electronic device selecting a target character image from multiple preset character images based on first user information can be: the electronic device compares the first user information with the preset user information corresponding to each preset character image, determines the preset user information that matches the first user information, and uses the preset character image corresponding to the preset user information that matches the first user information as the target character image.
[0324] The process of an electronic device selecting a target character image from multiple preset character images based on first comment information can be: the electronic device compares the first comment information with the preset comment information corresponding to each preset character image, determines the preset comment information that matches the first comment information, and uses the preset character image corresponding to the preset comment information that matches the first comment information as the target character image.
[0325] The process of an electronic device selecting a target character image from multiple preset character images based on first user information and first comment information can be: the electronic device compares the first user information and the first comment information with the preset user information and preset comment information corresponding to each preset character image, determines the preset user information that matches both the first user information and the first comment information, and uses the preset character image corresponding to the preset user information that matches both the first user information and the first comment information as the target character image.
[0326] It can be understood that in the embodiment of the present application, the electronic device is pre-set with a plurality of preset character images. The electronic device can select a target character image from the plurality of preset character images based on user information and / or comment information, which is conducive to improving the efficiency of obtaining the target character image and further improving the display efficiency of the picture collection.
[0327] In some embodiments, the target character image may also be generated by inputting user information and / or comment information into a preset character image calculation model. The preset character image calculation model may be a character image calculation model constructed based on a variety of machine algorithms. The multiple machine algorithms may include but are not limited to at least one of the following: a classification algorithm, a clustering algorithm, and a regression algorithm.
[0328] In the embodiment of the present application, the target character image is generated in real time according to the user information, which is conducive to improving the diversity of the target character image. In addition, since the target character image is generated in real time, there is no need for the electronic device to store a preset character image, which is also conducive to alleviating the storage pressure of the electronic device.
[0329] In some embodiments, the target character image can also be manually selected or drawn by the user or obtained by processing a picture uploaded by the user, which is not limited in the embodiments of the present application. Processing the picture uploaded by the user can include but is not limited to at least one of the following operations: adding filters to the picture and adding effects to the picture.
[0330] In an embodiment of the present application, the target scene image may be determined based on resource information of the currently playing resource.
[0331] In the embodiment of the present application, resource information may include but is not limited to a subject tag and / or a domain tag, wherein a domain tag may include one or more subject tags.
[0332] For example, domain tags may include but are not limited to the following types: daily life, entertainment stars, animation games, beauty and fashion, emotional life, etc. Among them, the topic tags included in daily life may include but are not limited to the following types: food, travel, pets, and fitness, etc. The topic tags included in entertainment stars may include but are not limited to the following types: concerts, etc. The topic tags included in animation games may include but are not limited to the following types: two-dimensional, game live broadcast, etc. The topic tags included in beauty and fashion may include but are not limited to the following types: makeup tutorials, fashion wear, etc. The topic tags included in emotional life may include but are not limited to the following types: emotional stories and love experiences, etc.
[0333] In some embodiments, the target scene picture may be selected by the electronic device from a plurality of preset scene pictures according to resource information.
[0334] It can be understood that each preset scene picture corresponds to preset resource information, and the process of the electronic device selecting a target scene picture from multiple preset scene pictures based on the resource information can be: the electronic device compares the resource information with the preset resource information corresponding to each preset scene picture, and determines the preset resource information that matches the resource information, and the preset scene picture corresponding to the preset resource information that matches the resource information as the target scene picture.
[0335] It should be noted that the electronic device is pre-set with multiple preset scene pictures, and the target scene picture can be selected from the multiple preset scene pictures according to the resource information of the currently playing resource, which is conducive to improving the efficiency of obtaining the target scene picture and further improving the display efficiency of the picture set.
[0336] In some embodiments, the target scene image may also be generated by the electronic device inputting resource information into a preset scene image calculation model, wherein the preset scene image calculation model may be a scene image calculation model constructed based on a variety of machine algorithms.
[0337] It should be noted that in the embodiment of the present application, the target scene picture is generated in real time according to the resource information, which is conducive to improving the diversity of the target scene picture. In addition, since the target scene picture is generated in real time, there is no need for the electronic device to store the preset scene picture, therefore, it is also conducive to alleviating the storage pressure of the electronic device.
[0338] In some embodiments, there may be a corresponding relationship between the preset character images and the preset scene images, that is, one preset scene image corresponds to a group of preset character images. Based on this, the electronic device may select a target character image from the preset character images and a target scene image from the preset scene images, and the electronic device may determine the target scene image from the preset scene images, and select the target character image from the preset character images corresponding to the target scene image.
[0339] It should be noted that the selection criteria for the target scene image and the target character image can be found in the above-mentioned related introduction and will not be repeated here.
[0340] It should be noted that, since a preset character image is specially designed for each preset scene image, the scene image and the character image are more compatible, and the viewing angle effect of the obtained picture set is more natural and harmonious.
[0341] 602. The electronic device generates a picture set corresponding to the target comment according to the target comment and the target content corresponding to the target comment.
[0342] It should be noted that in the embodiment of the present application, the release time sequence of the target scene pictures, target character images and each comment in the target comments determines the picture content of each picture in the picture set, and the target comments determine the text content of each picture in the picture set.
[0343] In some embodiments, the style of the picture set generated by the electronic device can be one or more styles, which is not limited in the embodiments of the present application.
[0344] When the electronic device generates a picture set of multiple styles, the electronic device generates a picture set corresponding to the target comment according to the target comment and the target content corresponding to the target comment, which may include:
[0345] The electronic device generates a picture set corresponding to the target comment according to the target comment and the target content corresponding to the target comment, and generates a picture set of multiple styles;
[0346] The electronic device displays the generated picture sets of multiple styles on a preview interface, and determines the picture set of a target style selected by the user on the preview interface.
[0347] It can be understood that the displayed picture set may be a picture set of a target style selected by the user on the preview interface.
[0348] By implementing the method, the electronic device can generate picture sets of various styles for users to choose from, so as to meet the personalized needs of users.
[0349] Please refer to Figure 7 , is a flowchart of another example of generating a picture set in an embodiment of the present application, and the flowchart includes:
[0350] 701. In response to a touch operation on a picture collection display control, the electronic device performs semantic analysis on a target comment to obtain key information of the target comment.
[0351] In some embodiments, the electronic device performing semantic analysis on the target comment may include: the electronic device preprocessing the target comment and performing semantic analysis on the preprocessed target comment. The preprocessing may include but is not limited to at least one of the following: data cleaning, text standardization, and text segmentation.
[0352] In some embodiments, the key information of the target comment may include, but is not limited to, at least one of the following: scene description information, character description information, a label of the target comment, and the like.
[0353] 702. The electronic device generates a model according to the key information, the target comment and the preset picture set, and generates a picture set corresponding to the target comment.
[0354] The picture set generation model in step 702 may include, but is not limited to, any of the following: a generative adversarial network, an autoregressive model, a flow model, a variational autoencoder, and the like.
[0355] The following mainly takes the picture set generation model as a generative adversarial network as an example to illustrate the generation of picture sets corresponding to target comments: the generator in the generative adversarial network generates a picture set based on key information and target comments, and the discriminator in the generative adversarial network performs a qualification check on the generated picture set. When the check fails, the generator regenerates a new picture set based on the key information and target comments, and continues to use the discriminator for verification until the picture set is qualified or the number of iterations reaches a threshold, then the latest picture set is output.
[0356] It should be noted that, for the description of the style of the picture set, please refer to the introduction below the above step 603, which will not be repeated here.
[0357] In addition, it should be noted that Figure 6-Figure 7 The method of generating a picture set shown can also be applied to the case where the display of the picture set is triggered by a comment display operation, and will not be described in detail here.
[0358] For the second case of the aforementioned second touch operation, that is, the second touch operation is a selection operation on the target editing control, the target editing control is used to trigger the generation of a picture set according to the picture set parameters selected by the user. In other words, the electronic device generates a picture set based on the picture set parameters selected by the user, thereby realizing personalized picture set generation.
[0359] In this case, the image set can be generated as follows Figure 8 Please refer to Figure 8 , is a flowchart of another example of generating a picture set in an embodiment of the present application, and the flowchart includes:
[0360] 801. In response to a selection operation on a target editing control, the electronic device obtains target picture set parameters corresponding to the selection operation.
[0361] It should be noted that, for the description of the picture set generation interface, target picture set parameters and target editing controls, please refer to the corresponding related descriptions in the above embodiments, which will not be repeated here.
[0362] 802. The electronic device generates a picture set corresponding to the target comment according to the target picture set parameters.
[0363] The electronic device generates a picture set corresponding to the target comment according to the target picture set parameters, which may include but is not limited to the following methods:
[0364] The electronic device generates a picture set corresponding to the target comment according to the target comment, the target content corresponding to the target comment, and the target picture set parameters.
[0365] It should be noted that for an introduction to the target content in this method, please refer to Figure 6 The relevant introduction in will not be repeated here.
[0366] or,
[0367] The electronic device performs semantic analysis on the target comment, obtains key information of the target comment, and generates a picture set corresponding to the target comment based on the key information, the target comment, the target picture set parameters and the preset picture set generation model.
[0368] It should be noted that for the introduction of key information acquisition methods and image collection generation models, please refer to Figure 7 The relevant introduction in will not be repeated here.
[0369] In the above technical solution, different picture set display operations are used to trigger the electronic device to display the picture set corresponding to the target comment, which can improve the flexibility of the electronic device.
[0370] The above is a description of the comment display method under two different picture set display operations. The following describes the implementation process of the comment display method under another picture set display operation.
[0371] Please refer to Fig. 9 , which is a flowchart of another example of a comment display method provided in an embodiment of the present application, such as Fig. 9 As shown, the flow chart includes:
[0372] 901. The electronic device displays a comment display interface, where the comment display interface displays a comment area and a picture collection display control.
[0373] In the embodiment of the present application, the picture set display control may be displayed on the list where the main comments are located and / or on the list where the secondary comments are located, which is not limited in the embodiment of the present application. It is understandable that the touch operation on the picture set display control may include a touch operation on the picture set display control displayed on the list where the main comments are located, or a touch operation on the picture set display control displayed on the list where the secondary comments are located.
[0374] In some embodiments, the picture collection display control is displayed on the list where the secondary comments are located, including but not limited to: the picture collection display control is displayed on the list where each secondary comment is located; or the picture collection display control is displayed on the list where the first secondary comment of the main comment is located.
[0375] Further, it can be understood that the picture set display control displayed on the list where the slave comments are located may include: a picture set display control displayed on the list where the first slave comment is located, or a picture set display control displayed on the list where any slave comment is located.
[0376] Combine the following Figures 10A-10D , an exemplary introduction to the display of the picture set display control is given.
[0377] For information about the situation where the picture collection display control is only displayed on the list where the main comments are located, please refer to Fig. 10A ,like Fig. 10A The interface diagram shown includes a resource display area 201 and a comment area 203; wherein, the resource display area 201 is used to display the currently playing resources, and the comment area 203 includes 1 main comment, 3 sub-comments corresponding to the main comment, and a picture collection display control 204 displayed on the list where the main comment is located.
[0378] For information about the picture collection display control that is only displayed on the list where each comment is located, see Fig. 10B ,like Fig. 10B The interface diagram shown includes a resource display area 201 and a comment area 203; wherein the resource display area 201 is used to display the currently playing resource, and the comment area 203 includes 1 main comment, 3 sub-comments corresponding to the main comment, a picture set display control 204 displayed on the list where the first sub-comment is located, a picture set display control 204 displayed on the list where the second sub-comment is located, and a picture set display control 204 displayed on the list where the third sub-comment is located.
[0379] For information about how the picture collection display control is displayed on the main comment list and each sub-comment list, see Fig. 10C ,like Fig. 10CThe interface diagram shown includes a resource display area 201 and a comment area 203; wherein the resource display area 201 is used to display the currently playing resource, and the comment area 203 includes 1 main comment, 3 sub-comments corresponding to the main comment, a picture set display control 204 displayed on the list where the main comment is located, a picture set display control 204 displayed on the list where the first sub-comment is located, a picture set display control 204 displayed on the list where the second sub-comment is located, and a picture set display control 204 displayed on the list where the third sub-comment is located.
[0380] For information about the situation where the picture collection display control only displays the first comment in the list, see Fig. 10D ,like Fig. 10D The interface diagram shown includes a resource display area 201 and a comment area 203; wherein, the resource display area 201 is used to display the currently playing resource, and the comment area 203 includes 1 main comment, 3 sub-comments corresponding to the main comment 1, and a picture collection display control 204 displayed on the list where the first sub-comment is located.
[0381] It should be noted that, when the touch operation on the picture set display control includes the touch operation on the picture set display control displayed on the list where the main comments are located, or, when the touch operation on the picture set display control includes the touch operation on the picture set display control displayed on the list where the first subordinate comment is located, the target comment may include but is not limited to any of the following: the target comment includes the main comment, and all subordinate comments corresponding to the main comment; or, the target comment includes the main comment, and some subordinate comments corresponding to the main comment; or, the target comment includes all subordinate comments corresponding to the main comment; or, the target comment includes some subordinate comments corresponding to the main comment.
[0382] In the case where the touch operation on the picture collection display control includes the touch operation on the picture collection display control displayed on the list where any subordinate comment is located, the target comment may include a partial subordinate comment corresponding to the main comment, and the partial subordinate comment may include the any subordinate comment, and the subordinate comments before the any subordinate comment; or, the any subordinate comment, and the subordinate comments after the any subordinate comment.
[0383] It can be understood that in this embodiment, the picture collection display control is displayed in the comment area, and the user can directly see it, which is more guiding for the user.
[0384] 902. The electronic device detects a touch operation on a picture set display control.
[0385] When the user single-clicks or long-presses or performs other operations on the picture collection display control, the electronic device detects the touch operation on the control. The specific form of the touch operation on the picture collection display control is not limited here.
[0386] 903. The electronic device displays the picture set corresponding to the target comment on the comment display interface in response to the touch operation on the picture set display control.
[0387] After the touch operation on the control is detected, the picture set corresponding to the target comment is displayed in response to the touch operation. In the embodiment of the present application, the method of displaying the picture set of the target comment is similar to the corresponding process in step 304, which will not be repeated here.
[0388] 904. The electronic device responds to the save operation on the picture set and stores the picture set.
[0389] In some embodiments, the saving operation may include, but is not limited to: a voice operation, a gesture operation, or a touch operation.
[0390] In the case where the saving operation is a voice operation, the voice operation may include but is not limited to voice input of "save", "save picture album", etc.
[0391] In the case where the saving operation is a gesture operation, the voice operation may include but is not limited to shaking the electronic device forward, shaking the electronic device backward, shaking the electronic device to the left, or shaking the electronic device to the right.
[0392] When the save operation is a touch operation, the electronic device can display a control for triggering the storage of the picture set when detecting that the user inputs a specified touch operation in the display area, and the user can store the picture set by touching the control. The specified touch operation may include but is not limited to operations such as long pressing and clicking twice in a row.
[0393] In some embodiments, the electronic device storing the picture collection may include but is not limited to: the electronic device storing the picture collection in a local storage space of the electronic device, or the electronic device storing the picture collection in the cloud.
[0394] In the embodiment of the present application, the user can save the picture collection in the local space of the electronic device or in the cloud by inputting a save operation for the picture collection so as to appreciate and share it at any time.
[0395] 905. The electronic device responds to the sharing operation on the picture collection and shares the picture collection.
[0396] It should be noted that for instructions on sharing operations, please refer to the above instructions on saving operations, which will not be repeated here.
[0397] In some embodiments, the control for triggering the storage of a picture set and the control for triggering the sharing of a picture can be triggered independently or synchronously, which is not limited in the embodiments of the present application. It is understandable that when the control for triggering the storage of a picture set and the control for triggering the sharing of a picture are triggered independently, the triggering operations corresponding to the two are different, and when the control for triggering the storage of a picture set and the control for triggering the sharing of a picture are triggered synchronously, the triggering operations corresponding to the two are the same.
[0398] For example, when the control for triggering the storage of the picture collection and the control for triggering the sharing of the picture are independently triggered, the user long presses the display area to trigger the display of the control for triggering the storage of the picture collection. The user continuously clicks the display area twice to trigger the display of the control for triggering the sharing of the picture.
[0399] Exemplarily, in the case where the control for triggering storage of a picture collection and the control for triggering sharing of a picture are triggered synchronously, the user long presses the display area to trigger display of the control for triggering storage of the picture collection and to trigger display of the control for triggering sharing of the picture.
[0400] In the embodiment of the present application, for the display of the control for triggering the storage of the picture set and the control for triggering the sharing of the picture, please refer to the following Fig.11 ,like Fig.11 The left interface shown includes a resource display area 201, a comment area 203, a display area 202 corresponding to the picture set, and a picture 1 displayed on the display area 202. When a user touches the display area 202, the following is displayed: Fig.11 The interface shown on the right. Fig.11 The interface on the right side shown includes a resource display area 201, a comment area 203, and a display area 202 corresponding to the picture collection, wherein the display area 202 displays controls for triggering picture collection storage and controls for triggering picture collection sharing.
[0401] In some embodiments, the electronic device sharing picture collection may include but is not limited to any of the following:
[0402] The electronic device shares a picture set to a target object, which may be any object in the application where the current playback resource is located, or may be any object in other applications different from the application where the current playback resource is located, and the embodiment of the present application does not limit this.
[0403] or,
[0404] The electronic device shares the picture collection to the target social platform.
[0405] Among them, the target social platform can be Weibo, WeChat Moments or QQ Space, etc., which is not limited in the embodiments of this application.
[0406] In an embodiment of the present application, a user can share a picture collection to a target object or a target social platform by inputting a sharing operation for the picture collection, thereby realizing convenient and flexible sharing of the picture collection.
[0407] It should be noted that step 904 and step 905 are not necessarily performed, that is, these two steps are optional steps, and one or both of them may be performed. Fig. 9 The two steps are indicated by dotted lines, indicating that the steps are optional.
[0408] It should also be noted that step 904 and step 905 can also be combined with other embodiments in the embodiments of the present application, which are not described one by one here.
[0409] In the above technical solution, by adding a picture collection display control in the comment area, the comment display mode can be quickly switched, which can improve the convenience of operation.
[0410] The following introduces the implementation process of the comment display method under another picture set display operation.
[0411] Please refer to Fig.12 , which is a flowchart of another example of a comment display method provided in an embodiment of the present application, such as Fig.12 As shown, the flow chart includes:
[0412] 1201. The electronic device displays a comment display interface, where the comment display interface displays a comment area.
[0413] Step 1201 is similar to step 301 and will not be described in detail here. It should be noted that in the embodiment of the present application, the comment area may not include any controls.
[0414] 1202. The electronic device detects a target browsing operation, where the target browsing operation is a browsing operation in which a continuous browsing time of a comment area is greater than or equal to a threshold.
[0415] In the embodiment of the present application, the threshold is pre-set on the electronic device. Exemplarily, the threshold may be 1 minute, 2 minutes, etc.
[0416] 1203. In response to the target browsing operation, the electronic device displays a picture set corresponding to the target comment in the comment display interface.
[0417] In an embodiment of the present application, the electronic device may also select a target comment from the comment area of the currently playing resource according to a preset comment selection rule before or after step 1202, and generate a picture set corresponding to the target comment. The preset comment selection rule may be related to at least one of the following: the release time of the comment, the number of likes of the comment, and the label type of the comment content of the comment. The label type includes positive, neutral or negative, etc. The comment selection rule is not limited here.
[0418] In the embodiment of the present application, the manner of displaying the picture set of the target comment is similar to the corresponding process in step 304, and will not be repeated here.
[0419] It can be understood that when the picture display operation includes a target browsing operation, if the user continues to browse the comment area for a long time, the electronic device will automatically display the picture set corresponding to the target comment without the need for user operation, thereby realizing the intelligent display of the picture set corresponding to the target comment.
[0420] The following introduces the implementation process of the comment display method under another picture set display operation.
[0421] Please refer to Fig.13 , which is a flowchart of another example of a comment display method provided in an embodiment of the present application, such as Fig.13 As shown, the flow chart includes:
[0422] 1301. The electronic device displays a comment display interface, where the comment display interface displays a comment area.
[0423] Step 1301 is similar to step 301 and will not be described in detail here. It should be noted that in the embodiment of the present application, the comment area may not include any controls.
[0424] 1302. The electronic device displays a comment mode switching interface on the comment display interface.
[0425] In an embodiment of the present application, the comment mode switching interface may include a control for triggering a display mode using a picture set. Correspondingly, the confirmation operation in the comment mode switching interface refers to a touch operation on the control for triggering a display mode using a picture set.
[0426] In the embodiment of the present application, the electronic device can also select target comments from the comment area of the currently played resource according to the preset comment selection rule before or after displaying the comment mode switching interface, and generate a picture set corresponding to the target comment. For the introduction of the preset comment selection rule, please refer to the above introduction, which will not be repeated here.
[0427] The description of the target comment is similar to the corresponding content in step 102 and will not be repeated here.
[0428] For example, the display diagram of the comment mode switching interface can be seen as follows Fig.14 ,like Fig.14 The interface diagram shown includes a resource display area 201 and a comment area 203 ; wherein the resource display area 201 is used to display the currently playing resource, and the comment area 203 includes a comment mode switching interface 207 .
[0429] It should be noted that the electronic device may automatically display the comment mode switching interface within a period of time after displaying the comment area, or may display the comment mode switching interface after detecting the target browsing operation as in step 1302. The display timing of the comment mode switching interface is not limited here.
[0430] 1303. The electronic device detects a confirmation operation on the comment mode switching interface.
[0431] When the user determines to use the display mode of the picture collection, the user touches the confirmation control, and the electronic device detects the confirmation operation.
[0432] 1304. In response to the confirmation operation, the electronic device displays a picture set corresponding to the target comment on the comment display interface.
[0433] The process of displaying the picture set corresponding to the target comment is similar to the corresponding content in step 304, and will not be repeated here.
[0434] It can be understood that in this manner, the user only needs to input a confirmation operation in the comment mode switching interface to trigger the display of the picture set corresponding to the target comment, which can improve the intelligence level of the electronic device.
[0435] In the above embodiment, the electronic device automatically determines the target comment as an example, for example, the electronic device determines the target comment according to a preset comment selection rule. In order to determine the target comment more flexibly, another implementation process of the comment display method under the picture collection display operation is provided below.
[0436] Please refer to Fig.15 , which is a flowchart of another example of a comment display method provided in an embodiment of the present application, such as Fig.15 As shown, the flow chart includes:
[0437] 1501. The electronic device displays a comment display interface, where the comment display interface displays a comment area.
[0438] 1502. The electronic device detects and responds to a first touch operation on a comment area and displays a target interface.
[0439] 1503. The electronic device detects a second touch operation on the target interface.
[0440] Steps 1501 to 1503 are similar to steps 301 to 303 and will not be described in detail herein.
[0441] 1504. The electronic device displays a comment selection interface on the comment display interface in response to the second touch operation.
[0442] When the electronic device detects the second touch operation, the electronic device displays a comment selection interface, which includes multiple comments to be selected. The multiple comments to be selected may be all the comments included in the comment area, or part of the comments, which is not limited here.
[0443] For example, the comment selection interface is shown as follows: Fig.16 As shown, Fig.16 The current interface shown includes a resource display area 201 and a comment area 203, wherein the comment area 203 includes a comment selection interface 208. There is a selection box in front of each comment in the comment selection interface 208. If the user wants to select a comment, the user can touch the selection box in front of the comment to select the comment.
[0444] 1505. The electronic device detects a confirmation operation on the comment selection interface, and displays a picture set corresponding to the target comment on the comment display interface.
[0445] like Fig.16 The comment selection interface 208 shown also includes a confirmation control. When the user touches the confirmation control in the comment selection interface, the electronic device responds to the confirmation operation and displays the picture set corresponding to the target comment. The target comment is the comment in the selected state in the comment selection interface. The process of displaying the picture set corresponding to the target comment is similar to the corresponding content in step 304, and will not be repeated here.
[0446] In the above technical solution, the electronic device can support users to manually select target comments to obtain target comments that meet user needs. In addition, the manual selection of comments itself can be regarded as a user participation activity. Through the selection of comments, users can participate more deeply in the interaction, which can enhance user stickiness.
[0447] See also Fig.17 , Fig.17 1 is a structural diagram of the comment display device disclosed in the embodiment of the present application. Fig.17 The comment display device shown may include a display unit 1701 and a detection unit 1702; wherein:
[0448] Display unit 1701 is used to display a picture set corresponding to a target comment in a comment display interface, wherein the picture set is generated based on the opinion content of the target comment, wherein the target comment includes all or part of at least one comment corresponding to a currently played resource, and the picture set includes at least one picture.
[0449] In some embodiments, the pictures in the picture set include an opinion content display area, and the opinion content display area is used to display at least one opinion content of the target comment.
[0450] In some embodiments, the pictures in the picture set also include character images, and each viewpoint content display area corresponds to at least one character image.
[0451] In some embodiments, when the pictures in the picture set include a plurality of different viewpoint contents, different viewpoint contents correspond to different character images.
[0452] In some embodiments, the multiple different viewpoint contents are opposing viewpoint contents, and the expressions and / or actions of the different characters are in a state of confrontation; wherein the opposing viewpoint contents are viewpoint contents with opposite semantics.
[0453] In some embodiments, the display unit 1701 is further configured to display a resource display interface before displaying the picture set corresponding to the target comment in the comment display interface, wherein the resource display interface is configured to display the currently playing resource;
[0454] Further, such as Fig.17 The comment display device shown may also include a detection unit 1702, which is used to detect a comment display operation in the resource display interface; correspondingly, the display unit 1701 is used to display a picture set corresponding to a target comment in the comment display interface, which may specifically include: the display unit 1701 is used to display a comment display interface in response to the comment display operation, and the comment display interface includes a picture set corresponding to the target comment.
[0455] In some embodiments, the detection unit 1702 is also used to detect a picture set display operation on the comment display interface before the display unit 1701 displays the picture set corresponding to the target comment in the comment display interface; correspondingly, the display unit 1701 is used to display the picture set corresponding to the target comment in the comment display interface, which may specifically include: the display unit 1701 is used to display the picture set corresponding to the target comment in the comment display interface in response to the picture set display operation.
[0456] In some embodiments, the comment display interface further includes a picture collection display control, and the detection unit 1702 is used to detect the picture collection display operation on the comment display interface. The manner in which the detection unit 1702 is used to detect the touch operation on the picture collection display control may specifically include: the detection unit 1702 is used to detect the touch operation on the picture collection display control;
[0457] The display unit 1701 is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit 1701 is used to respond to the touch operation of the picture set display control, and display the picture set corresponding to the target comment in the comment display interface.
[0458] In some embodiments, the detection unit 1702 is further configured to detect and respond to a touch operation on any of the target comments before detecting a picture collection display operation on the comment display interface, and display a function control interface on the comment display interface, wherein the function control interface includes a picture collection display control;
[0459] The manner in which the detection unit 1702 is used to detect the picture set display operation on the comment display interface may specifically include: the detection unit 1702 is used to detect the touch operation on the picture set display control;
[0460] The display unit 1701 is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit 1701 is used to respond to the touch operation of the picture set display control, and display the picture set corresponding to the target comment in the comment display interface.
[0461] In some embodiments, the detection unit 1702 is further configured to display a picture set generation interface on the comment display interface before detecting a picture set display operation on the comment display interface, the picture set generation interface including at least one editing control for picture set parameters, the picture set parameters including style parameters;
[0462] The manner in which the detection unit 1702 is used to detect the picture set display operation on the comment display interface may specifically include: the detection unit 1702 is used to detect the selection operation of the target editing control in the picture set generation interface;
[0463] The display unit 1701 is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit 1701 is used to respond to the selection operation of the target editing control, and display the picture set corresponding to the target comment in the comment display interface.
[0464] In some embodiments, the method for the detection unit 1702 to display the picture set generation interface on the comment display interface may specifically include:
[0465] A detection unit 1702 is configured to detect and respond to a touch operation on the picture collection display control when the comment display interface further includes a picture collection display control, and to display a picture collection generation interface on the comment display interface;
[0466] or,
[0467] The detection unit 1702 is used to detect and respond to a touch operation on any of the target comments, display a function control interface on the comment display interface, the function control interface includes a picture set display control, detect and respond to a touch operation on the picture set display control, and display a picture set generation interface on the comment display interface.
[0468] In some embodiments, the detection unit 1702 is used to detect the picture set display operation on the comment display interface, which may specifically include: the detection unit 1702 is used to detect a target browsing operation, where the target browsing operation is a browsing operation in which the continuous browsing time of the comment area corresponding to the current playback resource is greater than or equal to a threshold;
[0469] The display unit 1701 is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit 1701 is used to respond to the target browsing operation, and display the picture set corresponding to the target comment in the comment display interface.
[0470] In some embodiments, the detection unit 1702 is used to detect the picture set display operation on the comment display interface, which may specifically include: the detection unit 1702 is used to display a comment mode switching interface on the comment display interface, where the comment mode switching interface is used to select whether to use the picture set display mode for the target comment; and detecting a confirmation operation on the comment mode switching interface;
[0471] The display unit 1701 is used to respond to the picture set display operation and display the picture set corresponding to the target comment in the comment display interface. The method may specifically include: the display unit 1701 is used to respond to the confirmation operation and display the picture set corresponding to the target comment in the comment display interface.
[0472] In some embodiments, the display unit 1701 is used to respond to the picture set display operation, and the method of displaying the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit 1701 is used to respond to the picture set display operation to obtain the target content corresponding to the target comment, and the target content is at least one of the following: the target scene picture, the target character image and the release time sequence of each comment in the target comment; wherein the target character image is determined based on the user information of the user who posted the target comment and / or the comment information of the target comment, and the target scene picture is determined based on the resource information of the currently playing resource; and, based on the target comment and the target content, a picture set corresponding to the target comment is generated and displayed on the comment display interface.
[0473] In some embodiments, the target character image is selected from a plurality of preset character images based on user information and / or comment information, or the target character image is generated by inputting user information and / or comment information into a preset character image calculation model;
[0474] The target scene picture is selected from a plurality of preset scene pictures according to the resource information, or the target scene picture is generated by inputting the resource information into a preset scene picture calculation model.
[0475] In some embodiments, the display unit 1701 is used to respond to the picture set display operation, and the way in which the picture set corresponding to the target comment is displayed on the comment display interface may specifically include: the display unit 1701 is used to respond to the picture set display operation, perform semantic analysis on the target comment, and obtain key information of the target comment; and, based on the key information, the target comment and a preset picture set generation model, generate and display the picture set corresponding to the target comment on the comment display interface.
[0476] In some embodiments, the display unit 1701 is used to respond to a selection operation on the target editing control, and the method of displaying the picture set corresponding to the target comment on the comment display interface may specifically include: the display unit 1701 is used to respond to a selection operation on the target editing control, obtain target picture set parameters corresponding to the selection operation; and generate and display the picture set corresponding to the target comment on the comment display interface based on the target picture set parameters.
[0477] In some embodiments, the at least one comment is at least one sub-comment in the comment area corresponding to the currently played resource that replies to the same main comment.
[0478] In some embodiments, the picture set includes at least two pictures, and the display order of the at least two pictures is determined according to a preset display rule. The preset display rule is the publishing time of the comments included in the corresponding picture or the priority of each picture. The priority of each picture is determined based on the comment information of the comments included in the corresponding picture, and the comment information includes at least one of the following: the number of likes, the relevance to the main comment, and the label generated according to semantics.
[0479] In some embodiments, the method in which the display unit 1701 is used to display the picture set corresponding to the target comment in the comment display interface may specifically include: the display unit 1701 is used to display the current picture of the picture set in the comment display interface; and, detect the display time of the current picture; and, when the display time of the current picture is greater than a time threshold, display the picture in the picture set that follows the current picture in the comment display interface.
[0480] In some embodiments, the display unit 1701 is used to display the picture set corresponding to the target comment in the comment display interface, which may specifically include: the display unit 1701 is used to display the current picture of the picture set in the comment display interface; and, in response to a page turning operation input by the user, the picture in the picture set that is before or after the current picture is displayed in the comment display interface, wherein when displaying the picture before the current picture in the picture set, the page turning operation is a forward page turning operation, and when displaying the picture after the current picture in the picture set, the page turning operation is a backward page turning operation.
[0481] In some embodiments, on the comment display interface, the display area corresponding to the picture set is different from the comment area corresponding to the currently playing resource, and the display unit 1701 is used to display the picture set corresponding to the target comment on the comment display interface. Specifically, the display unit 1701 may include: the display unit 1701 is used to determine the current comment among the target comments displayed in the comment area; and, determine the target picture corresponding to the current comment from the picture set; and, display the target picture on the display area corresponding to the picture set.
[0482] In some embodiments, the display unit 1701 is further used to store the picture set in response to a save operation on the picture set after displaying the picture set corresponding to the target comment on the comment display interface; or to share the picture set in response to a share operation on the picture set.
[0483] See also Fig.18 , Fig.18 FIG. 1 is a structural diagram of an electronic device disclosed in an embodiment of the present application. Fig.18 The electronic device shown may include components such as a processor 1801, a memory 1802, a display unit 1803, an input unit 1804, a sensor 1805, and an audio circuit 1806.
[0484] The processor 1801 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 1802, and calling data stored in the memory 1802, so as to monitor the electronic device as a whole. Optionally, the processor 1801 may include one or more processing units; optionally, the processor 1801 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.
[0485] The memory 1802 can be used to store software programs and modules. The processor 1801 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 1802. The memory 1802 can mainly include a program storage area and a data storage area, wherein the program storage area can store operating devices, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, phone book, etc.), etc. In addition, the memory 1802 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0486] The display unit 1803 can be used to display information input by the user or information provided to the user and various menus of the electronic device. The display unit 1803 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 1801 to determine the type of touch event. Then, the processor 1801 provides a corresponding visual output on the display panel according to the type of touch event. Among them, the touch panel and the display panel are not in contact with each other. Fig.18 The touch panel and the display panel can be used as two independent components to realize the input and output functions of the electronic device, or the touch panel and the display panel can be integrated to realize the input and output functions of the electronic device.
[0487] The input unit 1804 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 1804 may include a touch panel and other input devices. A touch panel, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by a user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel), and drive the corresponding connection device according to a pre-set program. In addition, a variety of types such as resistive, capacitive, infrared, and surface acoustic waves can be used to implement the touch panel. In addition to the touch panel, the input unit 1804 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.
[0488] The electronic device may also include at least one sensor 1805, such as a magnetometer, a gyroscope sensor, a motion sensor, and other sensors. Specifically, the magnetometer is used to determine the orientation of the electronic device, and the gyroscope sensor can be used to determine the motion posture of the electronic device. It can be used for anti-shake shooting, and can also be used for navigation and somatosensory game scenes. As a type of motion sensor, the acceleration sensor can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc.; As for other sensors that can be configured in the electronic device, such as pressure gauges, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0489] The audio circuit 1806 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 1806 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1806 and converted into audio data, and then the audio data is output to the processor 1801 for processing, and then sent to another device through the video circuit, or the audio data is output to the memory 1802 for further processing.
[0490] Although not shown, the electronic device may further include a power supply and a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.
[0491] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0492] In the embodiment of the present application, the processor 1801 also has the following functions:
[0493] A picture set corresponding to a target comment is displayed in a comment display interface, wherein the picture set is generated based on the opinion content of the target comment, the target comment includes all or part of at least one comment corresponding to a currently played resource, and the picture set includes at least one picture.
[0494] In an embodiment of the present application, the pictures in the picture set include an opinion content display area, and the opinion content display area is used to display at least one opinion content of the target comment.
[0495] In an embodiment of the present application, the pictures in the picture set also include characters, and each viewpoint content display area corresponds to at least one character image.
[0496] In an embodiment of the present application, when the pictures in the picture set include a plurality of different viewpoint contents, different viewpoint contents correspond to different character images.
[0497] In an embodiment of the present application, the multiple different viewpoint contents are opposing viewpoint contents, and the expressions and / or actions of the different characters are in a state of confrontation; wherein the opposing viewpoint contents are viewpoint contents with opposite semantics.
[0498] In the embodiment of the present application, the processor 1801 also has the following functions:
[0499] Display a resource display interface, where the resource display interface is used to display the currently playing resource;
[0500] Detecting a comment display operation on the resource display interface;
[0501] In response to the comment display operation, a comment display interface is displayed, wherein the comment display interface includes a picture set corresponding to the target comment.
[0502] In the embodiment of the present application, the processor 1801 also has the following functions:
[0503] Detecting the picture set display operation on the comment display interface;
[0504] In response to the picture set display operation, the picture set corresponding to the target comment is displayed in the comment display interface.
[0505] In the embodiment of the present application, the comment display interface also includes a picture collection display control, and the processor 1801 also has the following functions:
[0506] Detecting touch operations on the picture set display control;
[0507] In response to a touch operation on the picture set display control, the picture set corresponding to the target comment is displayed in the comment display interface.
[0508] In the embodiment of the present application, the processor 1801 also has the following functions:
[0509] Detecting and responding to a touch operation on any of the target comments, displaying a function control interface in the comment display interface, the function control interface including a picture collection display control;
[0510] Detecting touch operations on the picture set display control;
[0511] In response to a touch operation on the picture set display control, the picture set corresponding to the target comment is displayed in the comment display interface.
[0512] In the embodiment of the present application, the processor 1801 also has the following functions:
[0513] Displaying a picture set generation interface on the comment display interface, the picture set generation interface including at least one editing control for picture set parameters, the picture set parameters including style parameters;
[0514] Detect the selection operation of the target edit control in the picture collection generation interface;
[0515] In response to a selection operation on the target editing control, a picture set corresponding to the target comment is displayed in the comment display interface.
[0516] In the embodiment of the present application, the processor 1801 also has the following functions:
[0517] In the case where the comment display interface also includes a picture collection display control, detecting and responding to a touch operation on the picture collection display control, and displaying a picture collection generation interface on the comment display interface; or,
[0518] Detect and respond to a touch operation on any of the target comments, display a function control interface on the comment display interface, the function control interface including a picture set display control, detect and respond to a touch operation on the picture set display control, and display a picture set generation interface on the comment display interface.
[0519] In the embodiment of the present application, the processor 1801 also has the following functions:
[0520] Detecting a target browsing operation, where the target browsing operation is a browsing operation in which a continuous browsing time of a comment area corresponding to the current playback resource is greater than or equal to a threshold;
[0521] In response to the target browsing operation, a picture set corresponding to the target comment is displayed on the comment display interface.
[0522] In the embodiment of the present application, the processor 1801 also has the following functions:
[0523] Displaying a comment mode switching interface on the comment display interface, the comment mode switching interface is used to select whether to use the picture set display mode for the target comment;
[0524] Detect confirmation operation in the comment mode switching interface;
[0525] In response to the confirmation operation, the picture set corresponding to the target comment is displayed on the comment display interface.
[0526] In the embodiment of the present application, the processor 1801 also has the following functions:
[0527] In response to the picture set display operation, a target content corresponding to a target comment is obtained, wherein the target content is at least one of the following: the target scene picture, the target character image, and the publishing time sequence of each comment in the target comment; wherein the target character image is determined according to the user information of the user who publishes the target comment and / or the comment information of the target comment, and the target scene picture is determined according to the resource information of the currently playing resource;
[0528] According to the target comment and the target content, a picture set corresponding to the target comment is generated and displayed on the comment display interface.
[0529] In the embodiment of the present application, the target character image is selected from a plurality of preset character images according to the user information and / or the comment information, or the target character image is generated by inputting the user information and / or the comment information into a preset character image calculation model;
[0530] The target scene picture is selected from a plurality of preset scene pictures according to the resource information, or the target scene picture is generated by inputting the resource information into a preset scene picture calculation model.
[0531] In the embodiment of the present application, the processor 1801 also has the following functions:
[0532] In response to the picture set display operation, semantic analysis is performed on the target comment to obtain key information of the target comment;
[0533] A model is generated according to key information, target comments and a preset picture set, and a picture set corresponding to the target comment is generated and displayed on the comment display interface.
[0534] In the embodiment of the present application, the processor 1801 also has the following functions:
[0535] In response to a selection operation on a target edit control, obtaining target picture set parameters corresponding to the selection operation;
[0536] According to the target picture set parameters, a picture set corresponding to the target comment is generated and displayed on the comment display interface.
[0537] In the embodiments of the present application, in some embodiments, the at least one comment is at least one sub-comment in the comment area corresponding to the current playback resource that replies to the same main comment.
[0538] In an embodiment of the present application, a picture set includes at least two pictures, and the display order of at least two pictures is determined according to a preset display rule. The preset display rule is the publishing time of the comments included in the corresponding picture or the priority of each picture. The priority of each picture is determined based on the comment information of the comments included in the corresponding picture, and the comment information includes at least one of the following: the number of likes, the relevance to the main comment, and the label generated according to semantics.
[0539] In the embodiment of the present application, the processor 1801 also has the following functions:
[0540] Display the current picture in the picture collection on the comment display interface;
[0541] Detect the display duration of the current image;
[0542] When the display time of the current image is greater than the time threshold, the image after the current image in the image set is displayed on the comment display interface.
[0543] In the embodiment of the present application, the processor 1801 also has the following functions:
[0544] Display the current picture in the picture collection on the comment display interface;
[0545] In response to a page turning operation input by the user, pictures before or after the current picture in the picture collection are displayed in the comment display interface, wherein when displaying the picture before the current picture in the picture collection, the page turning operation is a forward page turning operation, and when displaying the picture after the current picture in the picture collection, the page turning operation is a backward page turning operation.
[0546] In the embodiment of the present application, on the comment display interface, the display area corresponding to the picture set is different from the comment area corresponding to the current playing resource, and the processor 1801 further has the following functions:
[0547] Determine the current comment among the target comments displayed in the comment area;
[0548] Determine a target image corresponding to the current comment from the image set;
[0549] Display the target image in the display area corresponding to the image set.
[0550] In the embodiment of the present application, the processor 1801 also has the following functions:
[0551] In response to a save operation on the picture set, the picture set is stored;
[0552] or,
[0553] In response to a share operation on a photo collection, share the photo collection.
[0554] An embodiment of the present application discloses a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the above method executed by the electronic device in the embodiment of the present application is implemented.
[0555] An embodiment of the present application discloses a chip, including a processor and a memory, wherein the memory is used to store code instructions, and the processor is used to run the code instructions to execute the above method executed by the electronic device in the embodiment of the present application.
[0556] The embodiment of the present application discloses a computer program product. When the computer program product is executed on a computer, the computer implements the above method executed by the electronic device in the embodiment of the present application.
[0557] An embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer implements the above method executed by the electronic device in the embodiment of the present application.
[0558] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0559] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0560] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0561] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, an element defined by the sentence "comprises a" does not exclude the existence of other identical elements in the process, method or device including the element.
[0562] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0563] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0564] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0565] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0566] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0567] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0568] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0569] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0570] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A comment display method, characterized in that: include: A picture set corresponding to a target comment is displayed in a comment display interface, wherein the picture set is generated based on the opinion content of the target comment, the target comment includes all or part of at least one comment corresponding to a currently played resource, and the picture set includes at least one picture.
2. The method according to claim 1, characterized in that The pictures in the picture set include an opinion content display area, and the opinion content display area is used to display at least one opinion content of the target comment.
3. The method according to claim 2, characterized in that The pictures in the picture collection also include character images, and each viewpoint content display area corresponds to at least one character image.
4. The method according to claim 3, characterized in that When the pictures in the picture set include a plurality of different viewpoint contents, different viewpoint contents correspond to different character images.
5. The method according to claim 4, characterized in that The multiple different viewpoint contents are opposing viewpoint contents, and the expressions and / or actions of the different characters are in a state of confrontation; wherein the opposing viewpoint contents are viewpoint contents with opposite semantics.
6. The method according to claim 1, characterized in that Before displaying the picture set corresponding to the target comment in the comment display interface, the method further includes: Display a resource display interface, where the resource display interface is used to display the currently playing resource; Detecting a comment display operation on the resource display interface; In the comment display interface, the picture set corresponding to the target comment is displayed, including: In response to the comment display operation, a comment display interface is displayed, wherein the comment display interface includes a picture set corresponding to the target comment.
7. The method according to claim 1, characterized in that Before displaying the picture set corresponding to the target comment in the comment display interface, the method further includes: Detecting the picture set display operation on the comment display interface; In the comment display interface, the picture set corresponding to the target comment is displayed, including: In response to the picture set display operation, the picture set corresponding to the target comment is displayed in the comment display interface.
8. The method according to claim 7, characterized in that The comment display interface further includes a picture set display control, and the detecting of the picture set display operation on the comment display interface includes: Detecting a touch operation on the picture set display control; In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to a touch operation on the picture set display control, the picture set corresponding to the target comment is displayed in the comment display interface.
9. The method according to claim 7, characterized in that: Before the detecting of the picture set display operation on the comment display interface, the method further includes: Detecting and responding to a touch operation on any of the target comments, displaying a function control interface in the comment display interface, the function control interface including a picture collection display control; The detecting of the picture set display operation on the comment display interface includes: Detecting a touch operation on the picture set display control; In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to a touch operation on the picture set display control, the picture set corresponding to the target comment is displayed in the comment display interface.
10. The method according to claim 7, characterized in that Before the detecting of the picture set display operation on the comment display interface, the method further includes: Displaying a picture set generation interface on the comment display interface, the picture set generation interface including at least one editing control for picture set parameters, the picture set parameters including style parameters; The detecting of the picture set display operation on the comment display interface includes: Detecting a selection operation on a target editing control in the picture collection generation interface; In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to a selection operation on the target editing control, a picture set corresponding to the target comment is displayed in the comment display interface.
11. The method according to claim 10, characterized in that The displaying of the picture set generation interface on the comment display interface includes: In the case where the comment display interface also includes a picture collection display control, detecting and responding to a touch operation on the picture collection display control, and displaying a picture collection generation interface on the comment display interface; or, Detect and respond to a touch operation on any of the target comments, display a function control interface on the comment display interface, the function control interface including a picture set display control, detect and respond to a touch operation on the picture set display control, and display a picture set generation interface on the comment display interface.
12. The method according to claim 7, characterized in that The detecting of the picture set display operation on the comment display interface includes: Detecting a target browsing operation, where the target browsing operation is a browsing operation in which a continuous browsing time of a comment area corresponding to the current playback resource is greater than or equal to a threshold; In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to the target browsing operation, a picture set corresponding to the target comment is displayed in the comment display interface.
13. The method according to claim 7, characterized in that The detecting of the picture set display operation on the comment display interface includes: Displaying a comment mode switching interface on the comment display interface, wherein the comment mode switching interface is used to select whether to adopt a picture collection display mode for the target comment; Detecting a confirmation operation on the comment mode switching interface; In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to the confirmation operation, the picture set corresponding to the target comment is displayed in the comment display interface.
14. The method according to any one of claims 8-9 or 12-13, characterized in that: In response to the picture set display operation, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to the picture set display operation, a target content corresponding to a target comment is obtained, wherein the target content is at least one of the following: the target scene picture, the target character image, and the publishing time sequence of each comment in the target comment; wherein the target character image is determined according to the user information of the user who publishes the target comment and / or the comment information of the target comment, and the target scene picture is determined according to the resource information of the currently playing resource; According to the target comment and the target content, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
15. The method according to claim 14, characterized in that The target character image is selected from a plurality of preset character images according to the user information and / or the comment information, or the target character image is generated by inputting the user information and / or the comment information into a preset character image calculation model; The target scene picture is selected from a plurality of preset scene pictures according to the resource information, or the target scene picture is generated by inputting the resource information into a preset scene picture calculation model.
16. The method according to any one of claims 8-9 or 12-13, characterized in that: The step of displaying the picture set corresponding to the target comment in the comment display interface in response to the picture set display operation includes: In response to the picture set display operation, semantic analysis is performed on the target comment to obtain key information of the target comment; According to the key information, the target comment and a preset picture set generation model, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
17. The method according to claim 10 or 11, characterized in that: In response to the selection operation on the target editing control, displaying the picture set corresponding to the target comment in the comment display interface includes: In response to a selection operation on the target editing control, obtaining a target picture set parameter corresponding to the selection operation; According to the target picture set parameters, a picture set corresponding to the target comment is generated and displayed in the comment display interface.
18. The method according to claim 1, characterized in that The at least one comment is at least one sub-comment in the comment area corresponding to the currently played resource that replies to the same main comment.
19. The method according to claim 1, characterized in that The picture set includes at least two pictures, and the display order of the at least two pictures is determined according to a preset display rule. The preset display rule is the release time of the comments included in the corresponding picture or the priority of each picture. The priority of each picture is determined based on the comment information of the comment included in the corresponding picture, and the comment information includes at least one of the following: the number of likes, the relevance to the main comment, and the tag generated according to semantics.
20. The method according to claim 19, characterized in that The step of displaying the picture set corresponding to the target comment in the comment display interface includes: Displaying the current picture of the picture set in the comment display interface; Detecting the display duration of the current image; When the display time of the current picture is greater than the time threshold, the picture in the picture set that is located after the current picture is displayed in the comment display interface.
21. The method according to claim 19, characterized in that The step of displaying the picture set corresponding to the target comment in the comment display interface includes: Displaying the current picture of the picture set in the comment display interface; In response to a page turning operation input by the user, the picture in the picture collection that is located before or after the current picture is displayed in the comment display interface, wherein when the picture in the picture collection that is located before the current picture is displayed, the page turning operation is a forward page turning operation, and when the picture in the picture collection that is located after the current picture is displayed, the page turning operation is a backward page turning operation.
22. The method according to claim 1, characterized in that In the comment display interface, the display area corresponding to the picture set is different from the comment area corresponding to the current playing resource, and the picture set corresponding to the target comment is displayed in the comment display interface, including: Determining a current comment among the target comments displayed in the comment area; Determine a target picture corresponding to the current comment from the picture set; The target picture is displayed in a display area corresponding to the picture set.
23. The method according to any one of claims 1 to 13, characterized in that: After displaying the picture set corresponding to the target comment in the comment display interface, the method further includes: In response to a save operation on the picture set, storing the picture set; or, In response to a sharing operation on the picture set, the picture set is shared.
24. A comment display device, characterized in that: The device comprises: A display unit is used to display a picture set corresponding to a target comment in a comment display interface, wherein the picture set is generated based on the opinion content of the target comment, the target comment includes all or part of at least one comment corresponding to a currently played resource, and the picture set includes at least one picture.
25. An electronic device, characterized in that: include: A memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method according to any one of claims 1 to 23.
26. A computer-readable storage medium having executable program code stored thereon, characterized in that: When the executable program code is executed by a processor, the method according to any one of claims 1 to 23 is implemented.
