Comment information publishing method and device, equipment and storage medium

By displaying voice input controls or voice-to-text controls in the comment input area of ​​the multimedia playback page, the problem of users needing to open the comment panel to post comments is solved, enabling fast and convenient comment input and improving human-computer interaction efficiency.

CN120321444BActive Publication Date: 2026-07-14BEIJING DAJIA INTERNET INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Filing Date
2025-04-03
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing technologies, users need to open a comment panel and enter comments when posting comments on a terminal, which is cumbersome and results in low efficiency of human-computer interaction.

Method used

A comment input area is set up on the multimedia playback page. By performing preset operations on the comment input area, a voice input control or a voice-to-text control can be displayed, allowing users to input voice or text comments without opening the comment panel.

Benefits of technology

It simplifies the interaction process of posting comments, improves human-computer interaction efficiency, provides diverse input options to meet the commenting habits of different users, and enhances ease of operation and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321444B_ABST
    Figure CN120321444B_ABST
Patent Text Reader

Abstract

The present disclosure provides a comment information publishing method and device, equipment and storage medium, belonging to the technical field of computer. The method sets a comment input area on a multimedia playing page to facilitate a user to input comment information to be published. When the user performs a preset operation on the comment input area, at least one comment input control of a voice input control or a voice-to-text control can be displayed. This display mode provides the user with diversified input options. That is, the user can wake up the voice input control or the voice-to-text control in the multimedia playing page through the preset operation on the comment input area without opening the comment panel, realizing one frame with two functions (i.e., the comment input frame realizes inputting text through normal operation and inputting voice through preset operation). The scheme is simple and convenient to operate, shortens the interactive link of the process of publishing comment information, and improves the human-computer interaction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for publishing comment information. Background Technology

[0002] With the development of computer technology, users can now view works (videos, images, articles, etc.) of interest through applications installed on their devices. While viewing these works, users can post comments, which can be voice, text, or images. Currently, posting a comment requires opening a comment panel, entering the comment information, and then sending it. However, this method is cumbersome, with a long interaction chain, resulting in low efficiency in human-computer interaction. Summary of the Invention

[0003] This disclosure provides a method, apparatus, device, and storage medium for publishing comment information. Compared to existing methods of publishing comment information, this solution allows users to quickly input voice information and publish comments through controls displayed on a multimedia playback page without opening a comment panel. It is simple and convenient to operate, shortens the interaction chain in the process of publishing comment information, and improves human-computer interaction efficiency.

[0004] According to one aspect of the embodiments of this disclosure, a method for publishing comment information is provided, the method comprising:

[0005] Display a multimedia playback page, which includes a comment input area for entering comments to be posted.

[0006] In response to a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control is displayed.

[0007] In response to a trigger operation on any type of comment input control, comment information in the form corresponding to the comment input control is published.

[0008] According to another aspect of the present disclosure, a comment information publishing device is provided, the device comprising:

[0009] The display unit is configured to display a multimedia playback page, the multimedia playback page including a comment input area for inputting comment information to be published.

[0010] The display unit is further configured to display at least one of a voice input control or a voice-to-text control in response to a preset operation on the comment input area;

[0011] The publishing unit is configured to publish comment information in a form corresponding to any comment input control in response to a trigger operation on any type of comment input control.

[0012] In some embodiments, the display unit is configured to, in response to a preset operation on the comment input area, display the voice input control and the voice-to-text control on the multimedia playback page when the multimedia playback page supports the posting of voice comment information; and display the voice-to-text control on the multimedia playback page when the multimedia playback page does not support the posting of voice comment information.

[0013] In some embodiments, the preset operation is a long press operation or a preset gesture operation.

[0014] In some embodiments, the preset operation is the long press operation;

[0015] The display unit is configured to respond to a long press operation on the comment input area. If the current user is a first type of user, the display unit shows the voice input control in a triggered state and the voice-to-text control in a non-triggered state on the multimedia playback page. The first type of user is a user who prefers to post voice comments. If the current user is a second type of user, the display unit shows the voice input control in a non-triggered state and the voice-to-text control in a triggered state on the multimedia playback page. The second type of user is a user who prefers to post text comments.

[0016] In some embodiments, the display unit is further configured to, in response to the long press operation moving to a position in the first region, set the voice input control to a triggered state and set the voice-to-text control to a non-triggered state, wherein the first region is the trigger region of the voice input control; and in response to the long press operation moving to a position in the second region, set the voice input control to a non-triggered state and set the voice-to-text control to a triggered state, wherein the second region is the trigger region of the voice-to-text control.

[0017] In some embodiments, the preset operation is the preset gesture operation;

[0018] The display unit is configured to respond to a preset gesture operation on the comment input area, and when the preset gesture operation is completed, display at least one of the voice input control and the voice-to-text control at a preset position.

[0019] In some embodiments, the display unit is further configured to display a first prompt message on the multimedia playback page, the first prompt message being used to prompt the triggering of the preset operation; if the preset operation is not detected after the first prompt message has been displayed for a preset duration, the first prompt message is canceled from being displayed.

[0020] In some embodiments, the publishing unit is further configured to cancel publishing voice comment information in response to a first cancel publishing operation based on the voice input control; and to cancel publishing text comment information in response to a second cancel publishing operation based on the voice-to-text control.

[0021] In some embodiments, the publishing unit is further configured to, in response to an up-swipe operation on the speech-to-text control, cancel speech recognition of the input speech signal and display a second prompt message, the second prompt message being used to prompt that the publishing of the text comment information corresponding to the speech signal is canceled after the up-swipe operation ends; and to cancel the publishing of the text comment information in response to the end of the up-swipe operation.

[0022] In some embodiments, the publishing unit is configured to, in response to a trigger operation on the voice input control, display a plurality of tone options, each tone option corresponding to a voice tone; and, in response to a selection operation on any tone option, publish voice comment information having the voice tone corresponding to the tone option.

[0023] In some embodiments, the publishing unit is configured to, in response to a triggering operation of the speech-to-text control, display the text corresponding to the speech during the input of a speech signal; and, in response to the end of speech input, publish text comment information.

[0024] According to another aspect of the embodiments of this disclosure, an electronic device is provided, the electronic device comprising:

[0025] One or more processors;

[0026] Memory used to store the executable program code of the processor;

[0027] The processor is configured to execute the program code to implement the aforementioned comment information posting method.

[0028] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the above-described comment information publishing method.

[0029] According to another aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the above-described comment information publishing method.

[0030] This disclosure provides a comment information posting scheme. By setting a comment input area on a multimedia playback page, users can conveniently input the comment information to be posted. When a user performs a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control can be displayed. This display method provides users with diversified input options. That is, users do not need to open the comment panel to invoke the voice input control or voice-to-text control on the multimedia playback page through a preset operation on the comment input area, realizing a dual-purpose interface (i.e., the comment input box performs text input through normal operation and voice input through preset operation). This scheme is simple and convenient to operate, shortens the interaction chain of the process of posting comment information, and improves human-computer interaction efficiency.

[0031] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure.

[0032] By setting up a comment input area on the multimedia playback page and displaying comment input controls such as voice input or voice-to-text based on preset operations for that area, users can directly input comments in multiple ways through the comment input box. In other words, they can invoke the voice input control or voice-to-text control through preset operations on the comment input area without opening the comment panel, achieving two uses in one box (i.e., the comment input box performs text input through regular operations and voice input through preset operations). This enables quick input of voice information and posting of comments, making the operation simple and convenient, shortening the interaction chain of posting comments, and improving the efficiency of human-computer interaction. Attached Figure Description

[0033] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0034] Figure 1 This is a schematic diagram illustrating the implementation environment of a comment information publishing method according to an exemplary embodiment.

[0035] Figure 2 This is a flowchart illustrating a method for publishing comment information according to an exemplary embodiment.

[0036] Figure 3 This is a flowchart illustrating another method for publishing comment information according to an exemplary embodiment.

[0037] Figure 4 This is a schematic diagram of a multimedia playback page provided according to an exemplary embodiment.

[0038] Figure 5 This is a schematic diagram of another multimedia playback page according to an exemplary embodiment.

[0039] Figure 6 This is a schematic diagram of another multimedia playback page provided according to an exemplary embodiment.

[0040] Figure 7 This is a schematic diagram of another multimedia playback page provided according to an exemplary embodiment.

[0041] Figure 8 This is a flowchart illustrating a user posting comment information according to an exemplary embodiment.

[0042] Figure 9 This is a block diagram illustrating a comment information publishing device according to an exemplary embodiment.

[0043] Figure 10 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0044] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0045] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0046] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the voice information involved in this disclosure was obtained with full authorization.

[0047] Figure 1 This is a schematic diagram illustrating an implementation environment for a comment information posting method according to an exemplary embodiment. See also... Figure 1The implementation environment specifically includes: terminal 101 and server 102. Terminal 101 can be connected to server 102 via wireless network or wired network.

[0048] Terminal 101 can be at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), and laptop computer. An application can be installed and run on terminal 101 for viewing multimedia resources such as videos and live streams. This application is associated with server 102, which provides background services to terminal 101.

[0049] Terminal 101 can refer to one of a plurality of terminals, and this embodiment uses terminal 101 as an example. Those skilled in the art will know that the number of terminals can be more or less. For example, there can be several terminals, or dozens or hundreds of terminals, or more. This embodiment does not limit the number of terminals or the type of devices.

[0050] Server 102 can be at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Optionally, the number of servers may be more or fewer, and this disclosure does not limit this. Of course, server 102 may also include other functional servers to provide more comprehensive and diversified services. In some embodiments, server 102 undertakes the main computing work, and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work, and terminal 101 undertakes the main computing work; or, server 102 and terminal 101 collaborate on computing using a distributed computing architecture. Server 102 can be connected to terminal 101 and other terminals via a wireless network or a wired network. Optionally, the number of servers may be more or fewer, and this disclosure does not limit this.

[0051] Figure 2 This is a flowchart illustrating a method for publishing comment information according to an exemplary embodiment, such as... Figure 2 As shown, the method is performed by an electronic device and includes the following steps:

[0052] In step S201, a multimedia playback page is displayed. The multimedia playback page includes a comment input area, which is used to input the comment information to be published.

[0053] In this embodiment of the disclosure, users can browse multimedia resources through a multimedia playback page. When a user wants to post a comment on the multimedia resource, they can enter the comment in the comment input area displayed on the multimedia playback page. This comment input area can be used to enter text comments or voice comments.

[0054] In step S202, in response to a preset operation on the comment input area, at least one of the voice input control or the voice-to-text control is displayed.

[0055] In this embodiment, users can input text by clicking the comment input area, or input voice signals by performing preset operations on the comment input area. The voice signals can be published directly as voice comment information, or they can be published as text comment information after being converted from voice to text. Correspondingly, in response to the user's preset operation on the comment input area, at least one of two comment input controls can be displayed: a voice input control, a voice-to-text control, or both.

[0056] In step S203, in response to a trigger operation on any type of comment input control, comment information in the form corresponding to the comment input control is published.

[0057] In this embodiment, a user can input voice information when the voice input control is triggered, and then publish the voice information as a voice comment on the multimedia playback page. Alternatively, the user can input voice information when the voice-to-text control is triggered. The computer device can perform voice recognition on the input voice signal to identify the corresponding text, and then publish the text as a text comment on the multimedia playback page.

[0058] This disclosure provides a comment information posting scheme. By setting a comment input area on a multimedia playback page, users can conveniently input the comment information to be posted. When a user performs a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control can be displayed. This display method provides users with diversified input options. That is, users do not need to open the comment panel to invoke the voice input control or voice-to-text control on the multimedia playback page through a preset operation on the comment input area, realizing a dual-purpose interface (i.e., the comment input box performs text input through normal operation and voice input through preset operation). This scheme is simple and convenient to operate, shortens the interaction chain of the process of posting comment information, and improves human-computer interaction efficiency.

[0059] In some embodiments, in response to a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control is displayed, including:

[0060] In response to the preset operation of the comment input area, if the multimedia playback page supports posting voice comment information, the voice input control and voice-to-text control are displayed on the multimedia playback page;

[0061] If the multimedia playback page does not support posting voice comments, a voice-to-text control will be displayed on the multimedia playback page.

[0062] In this embodiment, the multimedia playback page is adapted to different comment functions in the virtual live streaming room. When voice comments are supported, voice input controls and voice-to-text controls are displayed, making it convenient for users to select voice input and convert to text as needed. When voice comments are not supported, only the voice-to-text control is retained. This not only fits the actual function of the live streaming room, but also provides users with flexible and diverse interactive controls that match the function, thereby improving the user's operational convenience and sense of participation in the virtual live streaming room.

[0063] In some embodiments, the preset operation is a long press operation or a preset gesture operation.

[0064] In this embodiment, long-pressing the comment input area reduces the probability of accidental operations, provides a buffer time for thinking, and enhances the verifiability of the operation. Preset operations for the comment input area increase the fun and personalization of the operation, improve the efficiency of skilled users, and enrich the interaction methods. These two methods optimize the comment input experience on multimedia pages from different perspectives, meet diverse needs, and improve human-computer interaction efficiency.

[0065] In some embodiments, the default operation is a long press operation;

[0066] In response to a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control is displayed, including:

[0067] In response to a long press on the comment input area, if the current user is a type 1 user, the multimedia playback page will display a voice input control in a triggered state and a voice-to-text control in a non-triggered state. Type 1 users are those who prefer to post voice comments.

[0068] If the current user is a second type of user, the multimedia playback page will display an untriggered voice input control and a triggered voice-to-text control. The second type of user is the user who prefers to post text comments.

[0069] In this embodiment, for the first type of user who prefers to post voice comments, a long press displays a triggered voice input control and a non-triggered voice-to-text control, facilitating direct voice input of comments. For the second type of user who prefers text comments, a long press presents a non-triggered voice input control and a triggered voice-to-text control, helping them quickly transcribe voice into text for comments. This approach not only caters to the comment input habits of different users, reducing operation steps and improving input efficiency, but also optimizes the interactive experience of the multimedia playback page, meets diverse user needs, and improves human-computer interaction efficiency.

[0070] In some embodiments, the method further includes:

[0071] In response to the long press operation, the position moves to the position in the first area, the voice input control is set to the triggered state, and the voice-to-text control is set to the untriggered state. The first area is the trigger area of ​​the voice input control.

[0072] In response to the long press operation, the position moves to the second area, the voice input control is set to an untriggered state, and the voice-to-text control is set to a triggered state. The second area is the trigger area for the voice-to-text control.

[0073] In this embodiment of the disclosure, by associating the position of the response long press operation with the trigger state of the voice input control and the voice-to-text control, that is, when the long press position is moved to the first area which is the trigger area of ​​the voice input control, the voice input control is automatically set to the triggered state and the voice-to-text control is set to the untriggered state, and vice versa when it is moved to the second area which is the trigger area of ​​the voice-to-text control, the user's operation intention can be adapted more accurately, the efficiency of switching controls can be improved, the convenience of comment input can be enhanced, and the efficiency of human-computer interaction can be improved.

[0074] In some embodiments, the preset operation is a preset gesture operation;

[0075] Displaying at least one of a voice input control and a voice-to-text control on a multimedia playback page, including:

[0076] In response to a preset gesture operation on the comment input area, once the preset gesture operation is completed, at least one of the voice input control and the voice-to-text control is displayed at a preset position.

[0077] In this embodiment of the disclosure, the user is provided with a novel and convenient way to start the operation by triggering the comment input through a preset gesture operation, which eliminates the dependence on traditional button clicks; and at the key node after the preset gesture operation is completed, voice input or text conversion control is presented as needed at a preset position, which not only fits the operation continuity, allowing the user to choose the preferred comment input form, but also saves operation steps and improves the efficiency of human-computer interaction.

[0078] In some embodiments, the method further includes:

[0079] The first prompt message is displayed on the multimedia playback page. The first prompt message is used to prompt the triggering of the preset operation.

[0080] If the preset operation is not detected after the first prompt message has been displayed for the preset duration, the first prompt message will be canceled.

[0081] In this embodiment, a first prompt message is displayed on the multimedia playback page to guide users on how to enable comment input, thus lowering the barrier to entry. If the first prompt message is not used after a preset duration, it is automatically removed from the display to avoid information redundancy. This ensures that first-time users can easily get started while maintaining a clean page layout and improving human-computer interaction efficiency.

[0082] In some embodiments, the method further includes:

[0083] In response to the first cancel posting action based on the voice input control, the posting of the voice comment information is canceled;

[0084] In response to the second cancel posting action based on the speech-to-text control, the posting of the text comment information is canceled.

[0085] In this embodiment of the disclosure, by setting a first cancel posting operation based on a voice input control and a second cancel posting operation based on a voice-to-text control, users can cancel posting instantly and conveniently while inputting voice or text comments, effectively avoiding problems caused by accidental posting of comments and improving the efficiency of human-computer interaction.

[0086] In some embodiments, in response to a second cancel posting operation based on a speech-to-text control, canceling the posting of a text comment includes:

[0087] In response to a swipe-up operation on the speech-to-text control, the speech recognition of the input speech signal is canceled, and a second prompt message is displayed. The second prompt message is used to indicate that the text comment information corresponding to the speech signal is canceled after the swipe-up operation is completed.

[0088] The text comment will be canceled once the swipe-up action ends.

[0089] In this embodiment of the disclosure, by setting an up-swipe operation and associated prompt information on the speech-to-text control, users are given real-time and intuitive operation feedback, allowing users to easily interrupt the speech recognition process during the process of converting speech into text comments, avoiding unnecessary text generation, and improving the efficiency of human-computer interaction.

[0090] In some embodiments, in response to a triggering operation on any comment input control, comment information in a format corresponding to the comment input control is published, including:

[0091] In response to a trigger operation on the voice input control, multiple tone options are displayed, each tone option corresponding to a different voice tone;

[0092] In response to the selection of any timbre option, publish voice commentary information with the corresponding voice timbre of the timbre option.

[0093] In this embodiment of the disclosure, by providing multiple voice options after the user triggers the voice input control, the user can choose their favorite voice tone to post voice comments, which increases the personalization and fun of voice comments, enriches the diversity of user expression, significantly enhances the user's sense of participation and experience, and improves the efficiency of human-computer interaction.

[0094] In some embodiments, in response to a triggering operation on any comment input control, comment information in a format corresponding to the comment input control is published, including:

[0095] In response to a trigger operation on the speech-to-text control, the text corresponding to the speech is displayed during the input of a speech signal;

[0096] In response to the end of voice input, post a text comment.

[0097] In this embodiment of the disclosure, by displaying the corresponding text in real time when the user triggers the voice-to-text control to input voice, and posting a text comment as soon as the input is finished, the accuracy and convenience of voice-to-text comments are greatly improved, the cost of manual text input for users is reduced, and the efficiency of human-computer interaction is improved.

[0098] The above Figure 2 The diagram shown is a flowchart of a comment information publishing method disclosed herein. The comment information publishing scheme provided herein will be further elaborated below. Figure 3 This is a flowchart illustrating another method for publishing comment information according to an exemplary embodiment, see [link to flowchart]. Figure 3 This method is performed by an electronic device and includes the following steps:

[0099] In step S301, a multimedia playback page is displayed, which shows multimedia resources and a comment input area.

[0100] In this embodiment of the disclosure, the multimedia playback page is a page used to display multimedia resources. Multimedia resources include various forms, commonly including live streams (such as virtual live rooms), videos (such as movies, TV series, short videos, etc.), audio (such as music, audiobooks, radio programs, etc.), and may also include different types of audiovisual materials such as picture albums and animations.

[0101] For example, video resources are played in the video playback area in the middle of the multimedia playback page, while audio resources can be displayed together with corresponding audio visualization elements (such as audio waveforms) and playback control buttons, allowing users to intuitively see or hear the corresponding multimedia resources.

[0102] The comment input area is an interactive component. Users can use this area to express their opinions, feelings, suggestions, etc., regarding the multimedia resource being played. Optionally, the comment input area will have a specific visual presentation on the multimedia playback page, such as a button or input box with the word "Comment". In response to a click on the comment input area, a text input cursor will appear, allowing users to enter text using a virtual or physical keyboard to post text comments. In response to a preset operation on the comment input area, at least one comment input control can be displayed, such as a voice input control or a voice-to-text control, allowing users to input voice and post voice or text comments.

[0103] In some embodiments, the multimedia playback page is the live streaming page of a virtual live streaming room. Some virtual live streaming rooms allow users to post voice comments, while others do not but allow text comments. Accordingly, in response to preset operations on the comment input area, when the multimedia playback page supports posting voice comments, a voice input control and a voice-to-text control are displayed. When the multimedia playback page does not support posting voice comments, a voice-to-text control is displayed. By adapting the multimedia playback page to the different comment functions of the virtual live streaming room, both voice input and voice-to-text controls are displayed when voice comments are supported, allowing users to easily select voice input and convert to text as needed. When voice comments are not supported, only the voice-to-text control is retained. This approach aligns with the actual functions of the live streaming room and provides users with flexible and diverse interactive controls that match the functions, enhancing user convenience and engagement in the virtual live streaming room.

[0104] For example, see Figure 4 As shown, Figure 4 This is a schematic diagram of a multimedia playback page provided according to an exemplary embodiment. Figure 4 As shown in (a), when the multimedia playback page supports posting voice comments, in response to a preset operation on the comment input area, such as a long press, the voice input control 401 and the voice-to-text control 402 are displayed. Figure 4 As shown in (b), when the multimedia playback page does not support posting voice comment information, the voice-to-text control 402 is displayed.

[0105] Optionally, the voice input control and voice-to-text control can also be displayed according to the user's usage habits. Accordingly, if the user's historical behavior determines that they are accustomed to sending voice comments, the voice input control is displayed on the multimedia playback page in response to a preset operation on the comment input area. If the user's historical behavior determines that they are accustomed to sending text comments, the voice-to-text control is displayed on the multimedia playback page in response to a preset operation on the comment input area. By determining user habits based on their historical behavior and selectively displaying voice input or voice-to-text controls on the multimedia playback page, the user interface can dynamically adapt to individual user preferences. This satisfies the convenient input needs of users accustomed to voice communication while also catering to the need of users who prefer text expression to quickly convert voice content, thus improving human-computer interaction efficiency.

[0106] In some embodiments, when a user visits the multimedia playback page for the first time, or when the functions provided by this disclosure are first pushed to the user, a prompt message can be used to guide the user on how to perform a preset operation in the comment input area. Accordingly, a first prompt message is displayed on the multimedia playback page to prompt the user to trigger the preset operation. If no preset operation is detected after the first prompt message has been displayed for a preset duration, the first prompt message is removed from display. That is, a first prompt message is displayed on the multimedia playback page to tell the user how to trigger the preset operation. If the user does not trigger the preset operation after the prompt message has been displayed for a preset duration, the system will remove the prompt message and stop displaying it. It should be noted that the first prompt message can be a flowing light effect or other effect displayed on the comment input area to prompt the user to trigger the preset operation through the comment input area. Alternatively, the first prompt message can also be in the form of a small bubble or bullet screen, using text to prompt the user on how to trigger the preset operation. Alternatively, a flashing exclamation mark icon can be displayed on the multimedia playback page, with text prompts displayed when the mouse hovers over it.

[0107] The following example illustrates how a multimedia playback page supports posting voice comments, with a long-press operation as the default. Depending on the user type, different states of voice input controls and voice-to-text controls are displayed on the multimedia playback page to further shorten the interaction path for posting comments, thereby improving human-computer interaction efficiency.

[0108] In step S302, in response to a long press operation on the comment input area, if the current user is a first-type user, a voice input control in a triggered state and a voice-to-text control in a non-triggered state are displayed on the multimedia playback page.

[0109] In this embodiment, users input text by clicking the comment input area and input voice by long-pressing the comment input area, thereby displaying at least one comment input control. Before displaying the comment input control, the user type can be determined. Illustratively, users are divided into two types: the first type prefers to post voice comments, and the second type prefers to post text comments. Optionally, if the user authorizes the collection of their historical behavior data, the user can be categorized based on the collected historical behavior data to determine the user's type.

[0110] If the current user is a type 1 user, meaning they prefer to post voice comments, the computer device can simultaneously display two comment input controls on the multimedia playback page: a voice input control and a voice-to-text control. Furthermore, since type 1 users like Pinahao post voice comments, the computer device can set the voice input control to a triggered state. That is, when the user long-presses the comment input area, it directly triggers the voice input control, allowing the user to directly input voice information without needing to select the voice input control again, thus shortening the interaction chain. Optionally, the voice input control in the triggered state is highlighted, while the voice-to-text control in the untriggered state is grayed out and unclickable.

[0111] For example, see Figure 5 As shown, Figure 5 This is a schematic diagram of another multimedia playback page according to an exemplary embodiment. In response to a long press on the comment input area, a voice input control and a voice-to-text control are displayed, such as... Figure 5 As shown in (a), a voice input control 501 in a triggered state and a voice-to-text control 502 in a non-triggered state are displayed.

[0112] In some embodiments, users can also change their voice when posting voice comments via a voice input control. Accordingly, in response to triggering the voice input control, multiple voice tone options are displayed, each corresponding to a specific voice tone. In response to selecting any voice tone option, a voice comment with the corresponding voice tone is posted. By providing multiple voice tone options after the user triggers the voice input control, users can choose their preferred voice tone to post voice comments, increasing the personalization and fun of voice comments, enriching the diversity of user expression, significantly enhancing user engagement and experience, and improving human-computer interaction efficiency.

[0113] In step S303, in response to the long press operation moving to the position in the second area, the voice input control is set to an untriggered state, and the voice-to-text control is set to a triggered state.

[0114] In this embodiment, the multimedia playback page includes a first area and a second area. The first area is the trigger area for the voice input control, and the second area is the trigger area for the voice-to-text control. Since the user does not release the pressure after a long press operation—for example, by using a finger (on a touchscreen device) or a mouse pointer (on a computer)—but maintains the long press state, the user can move the location of the long press operation from its original position to the second area, i.e., the trigger area for the voice-to-text control, by moving their finger or mouse pointer.

[0115] When the long-press operation moves to the second area, it indicates that the voice-to-text control has been triggered. That is, the voice input control, which was originally in a triggered state and ready to receive user voice input, changes to an inactive state after the long-press operation moves to the second area. Conversely, the voice-to-text control, previously inactive, is activated and switched to a triggered state after the long-press operation moves to its dedicated trigger area (the second area). At this point, the user can use the voice-to-text function to post text comments.

[0116] For example, see continue. Figure 5 In response to a long press on the comment input area, a voice input control and a voice-to-text control are displayed, such as... Figure 5 As shown in (b), a voice input control 501 in an untriggered state and a voice-to-text control 502 in a triggered state are displayed.

[0117] In step S304, in response to the second cancel posting operation based on the speech-to-text control, the posting of the text comment information is canceled.

[0118] In this embodiment of the disclosure, during the process of triggering the speech-to-text control for voice input and conversion to text, the user can also cancel the posting of text comment information by canceling the posting operation. For ease of explanation, this cancel posting operation is referred to as the second cancel posting operation. Optionally, the second cancel posting operation can be an upward swipe operation on the speech-to-text control, or it can be sliding the position of the long press operation to the cancel control and ending the press, such as releasing the press. This embodiment of the disclosure does not limit this.

[0119] In some embodiments, the second cancel posting operation can cancel speech recognition and not send text comment information, or the second cancel posting operation can cancel sending the recognized text comment information. Correspondingly, in response to a swipe-up operation on the speech-to-text control, speech recognition of the input speech signal is canceled, and a second prompt message is displayed. The second prompt message indicates that the posting of the text comment information corresponding to the speech signal is canceled after the swipe-up operation ends. In response to the end of the swipe-up operation, the posting of the text comment information is canceled. By setting an swipe-up operation and associated prompt message on the speech-to-text control, users are given real-time and intuitive operation feedback, allowing them to easily interrupt the speech recognition process during the conversion of speech to text comment, avoiding unnecessary text generation, and improving human-computer interaction efficiency.

[0120] For example, see Figure 6 As shown, Figure 6 This is a schematic diagram of another multimedia playback page provided according to an exemplary embodiment. For example... Figure 6 As shown, a second prompt message 601 is displayed.

[0121] In step S305, in response to a long press operation on the comment input area, if the current user is a second type of user, the voice input control in an untriggered state and the voice-to-text control in a triggered state are displayed on the multimedia playback page.

[0122] In this embodiment of the disclosure, similar to step S302 above, if the current user is a second type of user, that is, a user who prefers to post text comments, then a voice input control and a voice-to-text control with a different state than the first type of user are displayed.

[0123] Since the current user is a type 2 user, meaning they prefer posting text comments, the voice-to-text control can be set to a triggered state. That is, when the user long-presses the comment input area, the voice-to-text control is directly triggered, allowing the user to directly input voice information. The system then performs real-time speech recognition and displays the resulting text, eliminating the need for the user to select the voice-to-text control again, thus shortening the interaction process. Optionally, the voice-to-text control in the triggered state is highlighted, while the voice input control in the untriggered state is grayed out and unclickable.

[0124] For example, see continue. Figure 5 ,like Figure 5 As shown in (b), a voice input control 501 in an untriggered state and a voice-to-text control 502 in a triggered state are displayed.

[0125] In some embodiments, users can preview the text information obtained from speech recognition in real time. Correspondingly, in response to the triggering operation of the speech-to-text control, the text corresponding to the speech is displayed during the input of the speech signal. In response to the end of speech input, a text comment is published. By displaying the corresponding text in real time when the user triggers the speech-to-text control to input speech, and publishing a text comment immediately upon completion of input, the accuracy and convenience of speech-to-text commenting are greatly improved, reducing the cost of manual text input for users and increasing the efficiency of human-computer interaction.

[0126] Optionally, after the voice input ends, the user can modify the text obtained from voice recognition. After modification, the user can publish the text comment information through the publish operation. Optionally, in response to the end of voice input, a modification prompt message is displayed. This prompt message indicates whether to modify the text information obtained through voice-to-text conversion. If no modification is required, the text is published directly. If modification is required, the modified text is published as a text comment information in response to the publish operation.

[0127] In step S306, in response to the long press operation moving to the position in the first area, the voice input control is set to the triggered state, and the voice-to-text control is set to the untriggered state.

[0128] In this embodiment of the disclosure, similar to step s303 above, the first area is the trigger area of ​​the voice input control. Since the user triggers the voice-to-text control after performing a long press operation and does not release it, but maintains the long press state, the user can move the location of the long press operation from its original position to the first area by moving their finger or mouse pointer, thus reaching the trigger area of ​​the voice input control.

[0129] When the long-press operation moves to the first area, it indicates that the voice input control has been triggered. That is, the voice-to-text control, which was originally capable of receiving user voice input and performing voice recognition and text display, will change its state upon long-pressing into the first area, becoming inactive. Conversely, the previously inactive voice input control is activated after long-pressing into its designated trigger area (the first area). At this point, the user can use the voice input function to post voice comments.

[0130] For example, see Figure 5 As shown in (a), a voice input control 501 in a triggered state and a voice-to-text control 502 in a non-triggered state are displayed.

[0131] In step S307, in response to the first cancel posting operation based on the voice input control, the posting of the voice comment information is canceled.

[0132] In this embodiment of the disclosure, similar to step S304 above, during the process of triggering the voice input control to perform voice input, the user can also cancel the posting of voice comment information by canceling the posting operation. For ease of explanation, this cancel posting operation is referred to as the first cancel posting operation. Optionally, the first cancel posting operation can be an upward swipe operation on the voice input control, or it can be sliding the position of the long press operation to the cancel control and releasing it. This embodiment of the disclosure does not limit this.

[0133] In some embodiments, the above steps are illustrated using a long press operation as an example of a preset operation. Optionally, the preset operation can also be a preset gesture operation. Accordingly, in response to a preset gesture operation on the comment input area, when the preset gesture operation is completed, at least one of the voice input control and the voice-to-text control is displayed at a preset position. The preset gesture operation can be an interactive gesture operation such as single click / double click / swipe up / swipe down / swipe left / swipe right / two-finger zoom / two-finger long press, etc., and this embodiment does not limit this. The preset position can be the end position of the preset gesture operation, or it can be a fixed position preset on the page, and this embodiment does not limit this. It should be noted that this embodiment does not limit the relative position of the voice input control and the voice-to-text control; for example, the voice input control and the voice-to-text control can be arranged horizontally or vertically. By triggering comment input through preset gesture operations, users are provided with a novel and convenient way to start the operation, freeing them from the dependence on traditional button clicks. Furthermore, at key points where the preset gesture operation is completed, voice input or text conversion controls are presented as needed at preset locations. This not only ensures the continuity of the operation and allows users to choose their preferred comment input method, but also saves operation steps and improves the efficiency of human-computer interaction.

[0134] For example, see Figure 7 As shown, Figure 7 This is a schematic diagram of another multimedia playback page provided according to an exemplary embodiment. For example... Figure 7 As shown in (a), the voice input control and the voice-to-text control are arranged horizontally. Figure 7 As shown in (b), the voice input control and the voice-to-text control are arranged vertically.

[0135] It should be noted that, in order to make the comment information publishing scheme provided in this disclosure easier to understand, see [link to relevant documentation]. Figure 8 As shown. Figure 8 This is a flowchart illustrating a user posting comment information according to an exemplary embodiment. For example... Figure 8The process includes the following steps: 801. The user enters the virtual live stream room. 802. The user long-presses the comment input area. 803. Determine if the virtual live stream room supports posting voice comments. If supported, proceed to 804; otherwise, proceed to 805. 804. Determine if the user prefers the voice-to-text function. If preferred, proceed to 805; otherwise, proceed to 806. 806. While the user is holding down the long press, trigger voice input. 807. When the user stops holding down the long press, post a voice comment. 808. When the user swipes up, cancel posting the voice comment. 805. While the user is holding down the long press, trigger voice-to-text. 809. When the user stops holding down the long press, end voice-to-text. 810. Click "Send" to post a text comment. Optionally, if clicking "Send Voice," post a voice comment. 811. When the user swipes up, cancel posting the text comment.

[0136] This disclosure provides a comment information posting scheme. By setting a comment input area on a multimedia playback page, users can conveniently input the comment information to be posted. When a user performs a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control can be displayed. This display method provides users with diversified input options. That is, users do not need to open the comment panel to invoke the voice input control or voice-to-text control on the multimedia playback page through a preset operation on the comment input area, realizing a dual-purpose interface (i.e., the comment input box performs text input through normal operation and voice input through preset operation). This scheme is simple and convenient to operate, shortens the interaction chain of the process of posting comment information, and improves human-computer interaction efficiency.

[0137] Figure 9 This is a block diagram illustrating a comment information publishing device according to an exemplary embodiment. Figure 9 As shown, the device includes a display unit 901 and a publishing unit 902.

[0138] Display unit 901 is configured to display a multimedia playback page, the multimedia playback page including a comment input area for entering comment information to be published;

[0139] The publishing unit 902 is configured to display at least one of a voice input control or a voice-to-text control in response to a preset operation on the comment input area;

[0140] The publishing unit 902 is also configured to publish comment information in a form corresponding to any comment input control in response to a trigger operation on any comment input control.

[0141] In some embodiments, the display unit 901 is configured to, in response to a preset operation on the comment input area, display a voice input control and a voice-to-text control on the multimedia playback page if the multimedia playback page supports the posting of voice comment information; and display a voice-to-text control on the multimedia playback page if the multimedia playback page does not support the posting of voice comment information.

[0142] In some embodiments, the preset operation is a long press operation or a preset gesture operation.

[0143] In some embodiments, the default operation is a long press operation;

[0144] Display unit 901 is configured to respond to a long press operation on the comment input area. If the current user is a first type of user, a voice input control in a triggered state and a voice-to-text control in a non-triggered state are displayed on the multimedia playback page. The first type of user is a user who prefers to post voice comments. If the current user is a second type of user, a voice input control in a non-triggered state and a voice-to-text control in a triggered state are displayed on the multimedia playback page. The second type of user is a user who prefers to post text comments.

[0145] In some embodiments, the display unit 901 is further configured to, in response to the position of the long press operation moving to a position in the first area, set the voice input control to a triggered state and set the voice-to-text control to a non-triggered state, wherein the first area is the trigger area of ​​the voice input control; and in response to the position of the long press operation moving to a position in the second area, set the voice input control to a non-triggered state and set the voice-to-text control to a triggered state, wherein the second area is the trigger area of ​​the voice-to-text control.

[0146] In some embodiments, the preset operation is a preset gesture operation;

[0147] Display unit 901 is configured to respond to a preset gesture operation on the comment input area, and to display at least one of a voice input control and a voice-to-text control at a preset position when the preset gesture operation is completed.

[0148] In some embodiments, the display unit 901 is further configured to display a first prompt message on the multimedia playback page, the first prompt message being used to prompt the triggering of a preset operation; if no preset operation is detected after the first prompt message has been displayed for a preset duration, the display of the first prompt message is canceled.

[0149] In some embodiments, the publishing unit 902 is further configured to cancel the publishing of voice comment information in response to a first cancel publishing operation based on a voice input control; and to cancel the publishing of text comment information in response to a second cancel publishing operation based on a voice-to-text control.

[0150] In some embodiments, the publishing unit 902 is further configured to, in response to a swipe-up operation on the speech-to-text control, cancel speech recognition of the input speech signal and display a second prompt message, the second prompt message being used to prompt that the publishing of the text comment information corresponding to the speech signal is canceled after the swipe-up operation ends; and to cancel the publishing of the text comment information in response to the end of the swipe-up operation.

[0151] In some embodiments, the publishing unit is configured to, in response to a triggering operation of a voice input control, display multiple tone options, each tone option corresponding to a voice tone; and, in response to a selection operation of any tone option, publish voice comment information having the voice tone corresponding to the tone option.

[0152] In some embodiments, the publishing unit is configured to display the text corresponding to the voice during the input of a voice signal in response to a triggering operation of the speech-to-text control; and to publish text comment information in response to the end of voice input.

[0153] This disclosure provides a comment information publishing device. By setting a comment input area on a multimedia playback page, it facilitates users in inputting comments to be published. When a user performs a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control can be displayed. This display method provides users with diverse input options. That is, users do not need to open the comment panel to invoke the voice input control or voice-to-text control on the multimedia playback page through a preset operation on the comment input area, achieving dual functionality within a single box (i.e., the comment input box performs text input through regular operation and voice input through preset operation). This solution is simple and convenient to operate, shortens the interaction chain in the process of publishing comment information, and improves human-computer interaction efficiency.

[0154] It should be noted that the comment information publishing device provided in the above embodiments is only an example of the division of the above functional units. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device can be divided into different functional units to complete all or part of the functions described above. In addition, the comment information publishing device and the comment information publishing method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0155] Regarding the comment information publishing device in the above embodiments, the specific methods by which each module performs its operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0156] In the embodiments of this disclosure, the electronic device can be a terminal or a server. When the electronic device is a terminal, the terminal acts as the execution subject to implement the technical solutions provided in the embodiments of this disclosure; when the electronic device is a server, the server acts as the execution subject to implement the technical solutions provided in the embodiments of this disclosure; or, the technical solutions provided in this disclosure can be implemented through interaction between the terminal and the server. This disclosure does not limit the scope of the embodiments.

[0157] Figure 10 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Typically, the electronic device 1000 includes a processor 1001 and a memory 1002.

[0158] Processor 1001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1001 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1001 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1001 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0159] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 are used to store at least one program code, which is executed by the processor 1001 to implement the comment information publishing method provided in the method embodiments of this disclosure.

[0160] In some embodiments, the electronic device 1000 may optionally include a peripheral device interface 1003 and at least one peripheral device. The processor 1001, memory 1002, and peripheral device interface 1003 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.

[0161] Peripheral device interface 1003 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1001 and memory 1002. In some embodiments, processor 1001, memory 1002 and peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1001, memory 1002 and peripheral device interface 1003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0162] The radio frequency (RF) circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1004 can communicate with other electronic devices via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1004 may also include circuitry related to NFC (Near Field Communication), which is not limited in this disclosure.

[0163] Display screen 1005 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1005 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1001 for processing. In this case, display screen 1005 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1005, which serves as the front panel of electronic device 1000; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of electronic device 1000 or in a folded design; in still other embodiments, display screen 1005 may be a flexible display screen, disposed on a curved or folded surface of electronic device 1000. Furthermore, display screen 1005 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0164] The camera assembly 1006 is used to acquire images or videos. Optionally, the camera assembly 1006 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the electronic device, and the rear-facing camera is located on the back of the electronic device. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0165] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1001 for processing, or input to the radio frequency circuit 1004 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the electronic device 1000. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1007 may also include a headphone jack.

[0166] The power supply 1008 is used to supply power to the various components in the electronic device 1000. The power supply 1008 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0167] Those skilled in the art will understand that Figure 10 The structure shown does not constitute a limitation on the electronic device 1000, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0168] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1002 including instructions, which can be executed by a processor 1001 of an electronic device 1000 to complete the above-described comment information publishing method. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0169] A computer program product includes a computer program that, when executed by a processor, implements the above-described comment information publishing method.

[0170] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0171] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for publishing comment information, characterized in that, The method includes: Display a multimedia playback page, which includes a comment input area for entering comments to be posted. In response to a preset operation on the comment input area, at least one of a voice input control or a voice-to-text control is displayed. The preset operation includes a long press operation or a preset gesture operation, wherein a click operation on the comment input area is used to trigger text input focus. Publish comment information in a format corresponding to the comment input control; The step of displaying at least one comment input control, either a voice input control or a voice-to-text control, in response to a preset operation on the comment input area includes: In response to the long press operation or the preset gesture operation on the comment input area, when the multimedia playback page supports posting voice comment information, if the current user is a first type of user, the multimedia playback page displays the voice input control in a triggered state and the voice-to-text control in a non-triggered state; if the current user is a second type of user, the multimedia playback page displays the voice input control in a non-triggered state and the voice-to-text control in a triggered state. The first type of user is a user who prefers to post voice comment information, and the second type of user is a user who prefers to post text comment information.

2. The comment information publishing method according to claim 1, characterized in that, The method further includes: If the multimedia playback page does not support posting voice comments, the voice-to-text control is displayed on the multimedia playback page.

3. The comment information publishing method according to claim 1, characterized in that, The method further includes: In response to the long press operation moving to the position in the first area, the voice input control is set to the triggered state, and the voice-to-text control is set to the untriggered state, wherein the first area is the trigger area of ​​the voice input control; In response to the long press operation moving to the position in the second area, the voice input control is set to an untriggered state, and the voice-to-text control is set to a triggered state. The second area is the trigger area of ​​the voice-to-text control.

4. The comment information publishing method according to claim 1, characterized in that, The method further includes: A first prompt message is displayed on the multimedia playback page, the first prompt message being used to prompt the triggering of the preset operation; If the preset operation is not detected after the first prompt message has been displayed for a preset period of time, the first prompt message will be removed from display.

5. The comment information publishing method according to any one of claims 1-4, characterized in that, The method further includes: In response to the first cancel posting operation based on the voice input control, the posting of the voice comment information is canceled; In response to the second cancel posting operation based on the speech-to-text control, the posting of the text comment information is canceled.

6. The comment information publishing method according to claim 5, characterized in that, The response to the second cancel posting operation based on the speech-to-text control, canceling the posting of text comment information, includes: In response to the swipe-up operation on the speech-to-text control, the speech recognition of the input speech signal is cancelled, and a second prompt message is displayed. The second prompt message is used to prompt that the posting of the text comment information corresponding to the speech signal is cancelled after the swipe-up operation is completed. In response to the end of the swipe-up operation, the posting of the text comment information is cancelled.

7. The comment information publishing method according to any one of claims 1-4, characterized in that, The posting of comment information in a format corresponding to the comment input control includes: When the voice input control is in the triggered state, multiple tone options are displayed, each tone option corresponding to a voice tone. In response to the selection of any timbre option, a voice comment message with the voice timbre corresponding to the timbre option is published.

8. The comment information publishing method according to any one of claims 1-4, characterized in that, The posting of comment information in a format corresponding to the comment input control includes: When the speech-to-text control is in the triggered state, the text corresponding to the speech is displayed during the input of the speech signal; In response to the end of voice input, post a text comment.

9. A comment information publishing device, characterized in that, The device includes: The display unit is configured to display a multimedia playback page, the multimedia playback page including a comment input area for inputting comment information to be published. The display unit is further configured to display at least one of a voice input control or a voice-to-text control in response to a preset operation on the comment input area. The preset operation includes a long press operation or a preset gesture operation, wherein a click operation on the comment input area is used to trigger text input focus. The publishing unit is configured to publish comment information in a form corresponding to any comment input control in response to a trigger operation on any type of comment input control; The step of displaying at least one comment input control, either a voice input control or a voice-to-text control, in response to a preset operation on the comment input area includes: In response to the long press operation and the preset gesture operation on the comment input area, when the multimedia playback page supports posting voice comment information, if the current user is a first type of user, the multimedia playback page displays the voice input control in a triggered state and the voice-to-text control in a non-triggered state; if the current user is a second type of user, the multimedia playback page displays the voice input control in a non-triggered state and the voice-to-text control in a triggered state. The first type of user is a user who prefers to post voice comment information, and the second type of user is a user who prefers to post text comment information.

10. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the comment information publishing method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the comment information publishing method as described in any one of claims 1 to 8.

12. A computer program product comprising a computer program that, when executed by a processor, implements the comment information posting method as described in any one of claims 1 to 8.