CN-122027597-A - Voice interaction method, device, equipment, medium and product
Abstract
The embodiment of the application discloses a voice interaction method, a device, equipment, a medium and a product, which can be applied to the technical field of data processing. The method comprises the steps of responding to a voice interaction event triggered in an interaction page of a first account, displaying a voice input page, displaying at least one special effect resource package in the voice input page, responding to the voice input event, displaying the recorded first interaction voice, and displaying a first target special effect resource package in the at least one special effect resource package in an associated mode, responding to a voice sending event triggered in the voice input page, displaying the first interaction voice in the interaction page, wherein the first interaction voice is used for displaying a first voice conversion text of the first interaction voice in an associated mode and a first target special effect generated based on the first target special effect resource package when played. By adopting the method and the device, the interactive effect and the display effect of the interactive voice can be improved, and the interactive effect and the display effect of the interactive page can be improved.
Inventors
- HE QINRU
- ZHANG XUAN
- WEN BIN
Assignees
- 小红书科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260209
Claims (20)
- 1. A method of voice interaction, the method comprising: Responding to a voice interaction event triggered in an interaction page of a first account, displaying a voice input page, and displaying at least one special effect resource package in the voice input page, wherein the at least one special effect resource package comprises a special effect resource package configured for the first account and/or a special effect resource package unlocked by interaction of historical interaction voice sent by the first account; responding to a voice input event, displaying the input first interactive voice in the voice input page, and displaying a first target special effect resource package in the at least one special effect resource package in an associated mode; And the first interactive voice is used for displaying a first voice conversion text of the first interactive voice and a first target special effect generated based on the first target special effect resource package in a correlated way when being played.
- 2. The method according to claim 1, wherein the method further comprises: and obtaining the first target special effect based on the voice information of the first interactive voice and the first target special effect resource package.
- 3. The method of claim 2, wherein the voice information of the first interactive voice includes a voice duration and a voice tempo of the first interactive voice; the obtaining the first target special effect based on the voice information of the first interactive voice and the first target special effect resource package includes: Determining a special effect duration according to the voice duration, and determining a special effect rhythm according to the voice rhythm; And generating the first target special effect according to the first target special effect resource package, the special effect duration and the special effect rhythm.
- 4. The method according to claim 1, wherein the method further comprises: and acquiring a text effect from the first target effect resource package, rendering the first voice conversion text of the first interactive voice according to the text effect, and displaying the rendered first voice conversion text.
- 5. The method of claim 1, wherein the at least one special effects resource package comprises a first special effects resource package, the first special effects resource package being any one of the at least one special effects resource package; the method further comprises the steps of: and responding to the triggering operation for the first special effect resource package in the voice input page, and displaying the special effect corresponding to the first special effect resource package.
- 6. The method of claim 5, wherein displaying the special effects corresponding to the first special effects resource package in the voice input page in response to the triggering operation for the first special effects resource package, comprises: responding to triggering operation for the first special effect resource package in the voice input page, and acquiring at least one candidate special effect element corresponding to the first special effect resource package; Determining at least one random special effect element in the at least one candidate special effect element, and determining candidate end point display areas respectively corresponding to the at least one random special effect element, wherein the at least one random special effect element comprises random special effect elements A b , b is a positive integer, and b is less than or equal to the total number of the at least one random special effect element; Determining a random end point display area corresponding to the random special effect element A b in the candidate end point display area corresponding to the random special effect element A b ; generating a random display area corresponding to the random special effect element A b according to the initial display area corresponding to the random special effect element A b and the random end display area; and determining the random special effect element A b displayed in the random display area as a special effect corresponding to the first special effect resource package.
- 7. The method of claim 1, wherein the interactive page comprises at least one of a conversation message page, a content display page for displaying multimedia content, a comment display page; The first interactive voice is a voice conversation message in the conversation message page, and/or the first interactive voice is voice content in the content display page, and/or the first interactive voice is a voice comment in the comment display page.
- 8. The method of claim 7, wherein the interactive page is the conversation message page; the method further comprises the steps of: The method comprises the steps of responding to a second interactive voice sent by a second account in a conversation message page, and updating an unlocking state of a second special effect resource package aiming at a first account from a to-be-unlocked state to an unlocked state, wherein the second interactive voice is used for replying to the first interactive voice, and the second interactive voice is used for displaying a second voice conversion text of the second interactive voice and a second target special effect in a correlated manner when being played; and adding the second special effect resource package in the unlocked state to the at least one special effect resource package.
- 9. The method of claim 7, wherein the interactive page is the content display page and/or the comment display page; the method further comprises the steps of: Updating the unlocking state of the second special effect resource package aiming at the first account from the state to be unlocked to the unlocked state in response to the interaction operation aiming at the first interaction voice, wherein the interaction operation comprises at least one of playing operation, comment operation, forwarding operation, praise operation and collection operation; and adding the second special effect resource package in the unlocked state to the at least one special effect resource package.
- 10. The method according to claim 1, wherein the method further comprises: displaying at least one resource packet to be unlocked in the voice input page; And responding to the triggering operation for the at least one resource package to be unlocked, and displaying unlocking prompt information, wherein the unlocking prompt information is used for indicating the unlocking mode for the at least one resource package to be unlocked.
- 11. The method according to claim 1, wherein the method further comprises: Playing the first interactive voice in the interactive page in response to a triggering operation for the first interactive voice; And displaying the first voice conversion text and the first target special effect when the first interactive voice is played.
- 12. The method according to claim 1, wherein the method further comprises: responding to an expression package selection event triggered in the interaction page, and displaying special effect expression packages corresponding to the at least one special effect resource package respectively; and at a first moment, responding to the sending operation aiming at the first special effect expression package, sending the first special effect expression package to the interactive page, and displaying the special effect corresponding to the first special effect resource package in the interactive page in an associated mode.
- 13. The method according to claim 12, wherein the method further comprises: Displaying a superimposed special effect in response to displaying a second special effect expression package in the interactive page at a second moment later than the first moment, wherein the superimposed special effect is obtained through a special effect corresponding to the first special effect resource package and a special effect corresponding to the second special effect expression package; The second special effect expression package is sent by the first account or by a second account which interacts with the first account through the interaction page.
- 14. A method of voice interaction, the method comprising: Displaying target interactive voice sent by the first account in the interactive page; And responding to the playing operation aiming at the target interactive voice, playing the target interactive voice, and displaying the target voice conversion text of the target interactive voice and the target special effect in a correlated mode, wherein the target special effect is generated based on a first target special effect resource package selected by the first account.
- 15. The method of claim 14, wherein the method further comprises: And obtaining the target special effect based on the voice information of the target interactive voice and the first target special effect resource package.
- 16. The method of claim 15, wherein the speech information of the target interactive speech includes a speech duration and a speech tempo of the target interactive speech; the obtaining the target special effect based on the voice information of the target interactive voice and the first target special effect resource package includes: Determining a special effect duration according to the voice duration, and determining a special effect rhythm according to the voice rhythm; and generating the target special effect according to the first target special effect resource package, the special effect duration and the special effect rhythm.
- 17. The method of claim 14, wherein the method further comprises: and acquiring a text effect from the first target effect resource package, rendering the target voice conversion text of the target interactive voice according to the text effect, and displaying the rendered target voice conversion text.
- 18. The method of claim 14, wherein playing the target interactive voice in response to the play operation for the target interactive voice and associating the target voice conversion text displaying the target interactive voice with the target special effect, comprises: responding to the playing operation aiming at the target interactive voice, and determining the playing times of the target interactive voice; If the playing times are smaller than the times threshold, playing the target interactive voice, and displaying a target voice conversion text and a target special effect of the target interactive voice in a correlated manner; If the playing times are equal to or greater than the times threshold, playing the target interactive voice and displaying a special effect playing entry in an associated mode; And playing the target interactive voice again in response to the triggering operation aiming at the special effect playing entrance, and displaying the target voice conversion text and the target special effect in a correlated mode.
- 19. The method of claim 14, wherein the method further comprises: Updating an unlocking state of a second special effect resource package aiming at a second account from a to-be-unlocked state to an unlocked state in response to an interaction operation aiming at the target interaction voice, wherein the interaction operation comprises at least one of a playing operation, a replying operation, a comment operation, a forwarding operation, a praying operation and a collecting operation; and adding the second special effect resource package in an unlocking state to at least one special effect resource package of the second account, wherein the at least one special effect resource package comprises the special effect resource package configured for the second account and/or the special effect resource package unlocked by interaction of historical interaction voice sent by the second account.
- 20. The method of claim 19, wherein the method further comprises: responding to an expression package selection event triggered in the interaction page, and displaying special effect expression packages corresponding to the at least one special effect resource package respectively; and at a first moment, responding to the sending operation aiming at the first special effect expression package, sending the first special effect expression package to the interactive page, and displaying the special effect corresponding to the first special effect resource package in the interactive page in an associated mode.
Description
Voice interaction method, device, equipment, medium and product Technical Field The present application relates to the field of data processing technologies, and in particular, to a method, apparatus, device, medium, and product for voice interaction. Background With the rapid development of internet technology and diversification of information propagation channels, the interaction demands of users are remarkably improved, and the importance of voice functions as a core interaction carrier for connecting users is increasingly highlighted. In the prior art, the voice function only meets the requirement of dialogue communication among users, or the interaction mode aiming at voice content is only basic interaction operation such as reply, praise and the like, and the interaction mode is single, so that the interaction effect of the interaction voice is influenced. Disclosure of Invention The embodiment of the application provides a voice interaction method, a device, equipment, a medium and a product, which can improve the interaction effect and the display effect of interaction voice and also can improve the interaction effect and the display effect of an interaction page. In one aspect, the embodiment of the application discloses a voice interaction method, which comprises the following steps: Responding to a voice interaction event triggered in an interaction page of a first account, displaying a voice input page, and displaying at least one special effect resource package in the voice input page, wherein the at least one special effect resource package comprises a special effect resource package configured for the first account and/or a special effect resource package unlocked by interaction of historical interaction voice sent by the first account; responding to a voice input event, displaying the input first interactive voice in a voice input page, and displaying a first target special effect resource package in at least one special effect resource package in an associated mode; and the first interactive voice is used for displaying a first voice conversion text of the first interactive voice and a first target special effect generated based on a first target special effect resource package in an associated mode when being played. In one aspect, the embodiment of the application discloses a voice interaction method, which comprises the following steps: Displaying target interactive voice sent by the first account in the interactive page; and responding to the playing operation aiming at the target interactive voice, playing the target interactive voice, and displaying the target voice conversion text of the target interactive voice and the target special effect in a correlated way, wherein the target special effect is generated based on a first target special effect resource package selected by the first account. In one aspect, an embodiment of the present application discloses a voice interaction device, the device includes: the display module is used for responding to a voice interaction event triggered in an interaction page of the first account, displaying a voice input page and displaying at least one special effect resource package in the voice input page, wherein the at least one special effect resource package comprises a special effect resource package configured for the first account and/or a special effect resource package unlocked by interaction of historical interaction voice sent by the first account; the display module is also used for responding to the voice input event, displaying the input first interactive voice in the voice input page and displaying a first target special effect resource package in at least one special effect resource package in an associated mode; The display module is also used for responding to a voice sending event triggered in the voice input page and displaying a first interactive voice in the interactive page, wherein the first interactive voice is used for displaying a first voice conversion text of the first interactive voice and a first target special effect generated based on a first target special effect resource package in an associated mode when being played. In one aspect, an embodiment of the present application discloses a voice interaction device, the device includes: The display module is used for displaying target interactive voice sent by the first account in the interactive page; The playing module is used for responding to the playing operation of the target interactive voice, playing the target interactive voice, and displaying the target voice conversion text of the target interactive voice and the target special effect in a correlated mode, wherein the target special effect is generated based on a first target special effect resource package selected by the first account. An aspect of the embodiment of the present application provides a computer device, including a memory and a processor, where the memory is connected to the processor, and