Voice interaction method and device, equipment and storage medium

CN121646759APending Publication Date: 2026-03-10BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202480004198.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-30
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, voice interaction between users and virtual objects is inefficient when obtaining music services, and the interface response is not coordinated, which affects the user experience.

Method used

By acquiring the user's voice content, executing voice response actions based on the target response pattern, and updating the session window in the graphical user interface, collaborative voice and interface response content is provided, including music playback, recommendations, control, and interactive operations.

Benefits of technology

It improves the efficiency and user experience of voice interaction, reduces the interference of lengthy content with the current music, and enhances the convenience and collaboration of users interacting with virtual objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121646759A_ABST
    Figure CN121646759A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a voice interaction method and device, equipment and a storage medium. The method provided by the invention comprises the following steps: acquiring first voice content sent by a user to a virtual object, wherein the virtual object is associated with a music service; based on the first voice content, executing at least one voice response action according to a target response mode, the target response mode being determined based on a music interaction intention corresponding to the first voice content, and the target response mode indicating an action type and / or an execution sequence of the at least one voice response action; and based on the first voice content, triggering to update a session window of the user and the virtual object in the graphical user interface. Therefore, according to the embodiment of the invention, the collaborative voice response content and interface response content can be provided for the user, so that the interaction experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and equipment for voice interaction and storage medium TECHNICAL FIELD

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, device, equipment and computer readable storage medium for voice interaction. BACKGROUND

[0002] With the rapid development of Internet technology, conversational applications, as an application with strong interactivity, have gradually been favored by users. Users can interact with virtual objects through conversational applications to obtain various services, for example, obtain music-related services.

[0003] SUMMARY

[0004] In a first aspect of the present disclosure, a method for processing a request is provided. The method comprises: obtaining first voice content sent by a user to a virtual object, the virtual object being associated with a music service; performing at least one voice response action according to a target response mode based on the first voice content, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating an action type and / or an execution order of the at least one voice response action; and triggering updating of a conversation window of the user and the virtual object in a graphical user interface based on the first voice content.

[0005] In a second aspect of the present disclosure, a device for processing a request is provided. The device comprises: an obtaining module configured to obtain first voice content sent by a user to a virtual object, the virtual object being associated with a music service; an executing module configured to perform at least one voice response action according to a target response mode based on the first voice content, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating an action type and / or an execution order of the at least one voice response action; and a triggering module configured to trigger updating of a conversation window of the user and the virtual object in a graphical user interface based on the first voice content.

[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method of the first aspect.

[0007] In a fourth aspect of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect.

[0008] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product includes computer executable instructions that, when executed by a processor, implement the method of the first aspect.

[0009] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0010] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:

[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0012] FIG. 2 shows a flowchart of an example voice interaction process according to some embodiments of the present disclosure;

[0013] FIG. 3 shows an example response mode according to some embodiments of the present disclosure;

[0014] FIG. 4 shows an example interface according to some embodiments of the present disclosure;

[0015] FIG. 5 shows a block diagram of a processing request device according to some embodiments of the present disclosure; and

[0016] FIG. 6 shows a block diagram of a device capable of implementing embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the scope of use, the scene of use, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

[0018] For example, when responding to the active request of the user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require the acquisition and use of personal information of the user. Thus, the user can voluntarily choose whether to provide personal information to the electronic device, application program, server or storage medium, etc. software or hardware that performs the operation of the technical solutions of the present disclosure according to the prompt information.

[0019] As an optional but non-limiting implementation, in response to receiving the active request of the user, the manner of sending the prompt information to the user may, for example, be a pop-up window manner, in which the prompt information may be presented in the form of text. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0020] It can be understood that the above notification and user authorization obtaining process is only illustrative and does not limit the implementation of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation of the present disclosure.

[0021] It can be understood that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the technical solution should comply with the requirements of the relevant laws and regulations and the relevant provisions.

[0022] The term "in response to" used herein indicates the state in which the corresponding event occurs or the condition is met. It will be understood that the execution time of the subsequent action performed in response to the event or condition is not necessarily strongly associated with the time when the event occurs or the condition is established. For example, in some cases, the subsequent action can be performed immediately when the event occurs or the condition is established; in other cases, the subsequent action can be performed after a period of time after the event occurs or the condition is established.

[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the scope of protection of the present disclosure.

[0024] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. Furthermore, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or in a different section / subsection in any manner.

[0025] In the description of embodiments of the disclosure, the term "includes" and its conjugates are open-ended, meaning "including but not limited to". The term "based on" is intended to mean "based, at least in part, on" which is not to be construed in an exclusive or exhaustive sense. The term "one embodiment" or "an embodiment" is intended to mean "at least one embodiment". The term "some embodiments" is intended to mean "at least some embodiments". Other explicitly and implicitly recited definitions can also be found in the description that follows. The terms "first", "second", etc. can refer to different or the same objects. Other explicit and implicit definitions can also be found in the following description.

[0026] As used herein, a "unit", "operational unit", or "sub-unit" can be composed of any suitable structure of machine learning models or networks. As used herein, a set of elements or similar expressions can include one or more such elements. For example, a "set of convolution units" can include one or more convolution units.

[0027] As briefly mentioned above, conversational applications are gradually favored by users as an application with strong interactivity. Users can interact with virtual objects through conversational applications to obtain various services, for example, obtain music-related services. Users expect to be able to obtain music services more conveniently.

[0028] To this end, embodiments of the disclosure propose a method of voice interaction. According to various embodiments of the disclosure, first voice content sent by a user to a virtual object is obtained, the virtual object being associated with a music service; based on the first voice content, at least one voice response action is performed according to a target response mode, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating an action type and / or an execution order of the at least one voice response action; and based on the first voice content, a session window of the user and the virtual object in a graphical user interface is updated.

[0029] Thus, embodiments of the disclosure can provide users with collaborative voice response content and interface response content, thereby improving the user's interactive experience.

[0030] Example embodiments of the disclosure are described below with reference to the accompanying drawings.

[0031] Example environment

[0032] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the disclosure can be implemented. In this example environment 100, an application 120 is installed in an electronic device 110. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices. The application 120 can be any appropriate application that supports interaction with virtual objects.

[0033] In the environment 100 of FIG. 1, the electronic device 110 can present an interface 150 of the application 120 if the application 120 is active. The interface 150 can include various interfaces that the application 120 can provide, such as an interface for a conversation with a virtual object.

[0034] In some embodiments, the electronic device 110 can also be connected to the audio device 160 through wired or wireless means. The audio device 160 can be used, for example, to capture audio content of the user 140 and / or to provide audio content 170 to the user 140. As an example, the audio device 160 can include a sound system, earphones, etc.

[0035] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of a service (e.g., a music service) of the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media player, a

[0036] It should be appreciated that the structure and functionality of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.

[0037] Some example embodiments of the present disclosure will be hereinafter described with continued reference to the drawings.

[0038] Example process of voice interaction

[0039] FIG. 2 illustrates a flowchart of an example voice interaction process 200 according to some embodiments of the present disclosure. The process 200 can be implemented at the electronic device 110 and / or the audio device 160. The method 200 is described below by way of example with the electronic device 110.

[0040] At block 210, the electronic device 110 obtains first voice content sent by a user to a virtual object, the virtual object being associated with a music service.

[0041] In some embodiments, the virtual object can be a virtual processing entity created based on the configuration information, which can be implemented based on a machine learning model, for example. In some scenarios, the virtual object can also be referred to as a virtual entity, examples of which can include a bot, an agent, etc.

[0042] In some embodiments, the virtual object can be configured to be associated with a music service. As an example, the virtual object can be associated with music knowledge information, for example, and can invoke a music service interface to provide a music service.

[0043] In some embodiments, the electronic device 110 can obtain first voice content collected by the audio device 160. Alternatively, the electronic device 110 can also obtain the first voice content by utilizing an integrated audio collection device, for example.

[0044] At block 220, the electronic device 110 performs at least one voice response action according to a target response mode based on the first voice content, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating an action type and / or an execution order of the at least one voice response action.

[0045] In some embodiments, the electronic device 110 can determine the music interaction intent corresponding to the first voice content from a set of preset interaction intents by utilizing a target model associated with the virtual object.

[0046] As an example, the virtual object can be constructed based on a language model, for example. Further, such first voice content or corresponding text content can be provided to the language model to determine the music interaction intent of the user.

[0047] As shown in FIG. 3, the set of preset interaction intents can include a music playing intent 305 including a specified music entity, a music playing intent 310 not including a specified music entity, a music recommendation intent 315, a music control intent 320, and a music interaction intent 325, etc.

[0048] In some embodiments, different music interaction intents can correspond to different voice response modes, and the electronic device 110 and / or the audio device 160 can perform different voice response actions.

[0049] In some embodiments, the voice response action can include a plurality of preset types of actions. As shown in FIG. 3, the voice response action can include a first action 330 for providing preset second voice content, for example. Additionally, the voice response action can also include a second action for providing third voice content generated based on the first voice content.

[0050] Additionally, the voice response actions can further include a third action for playing first music content determined based on the first voice content. Additionally, the voice response actions can further include a fourth action for controlling a music playing process associated with the virtual object. Additionally, the voice response actions can further include a fifth action for performing an interactive operation on second music content provided in relation to the virtual object.

[0051] The following will describe specific voice response actions in connection with different intents.

[0052] As an example, the first voice content can include, for example, "play a song XXX of XX". Accordingly, the virtual object can determine that the music interaction intent corresponding to the first voice content is a music playing intent 305 containing a specified music entity. Such a music entity can include, for example, but is not limited to, a singer, a song, an album, a playlist, etc.

[0053] Accordingly, as shown in FIG. 3, the electronic device 110 can perform the first action 330 and the third action 340 as voice response actions for the first voice content.

[0054] Specifically, the electronic device 110 can perform the first action 330 at a loading stage to provide preset second voice content. For example, before the language model successfully invokes a music service interface to play the song, the audio device 160 can provide preset voice content to the user to indicate that the request is being processed.

[0055] Further, the electronic device 110 can perform the third action 340 to play first music content determined based on the first voice content, for example, "song XXX".

[0056] As another example, the first voice content can include, for example, "play me a song suitable for exercise". Accordingly, the virtual object can determine that the music interaction intent corresponding to the first voice content is a music playing intent 310 not containing a music entity.

[0057] Accordingly, as shown in FIG. 3, the electronic device 110 can perform the first action 330, the second action 335, and the third action 340 as voice response actions for the first voice content.

[0058] Specifically, the electronic device 110 can perform the first action 330 at a loading stage to provide preset second voice content. For example, before the language model successfully invokes a music service interface to obtain a recommended song, the audio device 160 can provide preset voice content to the user to indicate that the request is being processed.

[0059] Further, the electronic device 110 can perform a second action 335 to provide third speech content generated based on the first speech content. For example, the third speech content is to describe the first music content to be played.

[0060] Further, the electronic device 110 can perform a third action 340 to play the first music content determined based on the first speech content, e.g., at least one song determined by the virtual object.

[0061] As yet another example, the first speech content may, for example, include “recommend a few artists similar to artist A?”. Accordingly, the virtual object can determine that the music interaction intent corresponding to the first speech content is the music recommendation intent 315.

[0062] Accordingly, as shown in FIG. 3, the electronic device 110 can perform the first action 330 and the second action 335 as speech response actions for the first speech content.

[0063] In particular, the electronic device 110 can perform the first action 330 at a loading stage to provide preset second speech content. For example, before the language model successfully invokes the music service interface to obtain the recommended songs, the audio device 160 can provide the preset speech content to the user to indicate that the request is being processed.

[0064] Further, the electronic device 110 can perform a second action 335 to provide third speech content generated based on the first speech content. As an example, the third speech content is to describe at least one item of music content determined by the virtual object, e.g., the third music content can describe one or more songs recommended and the reasons for recommending the songs.

[0065] In some embodiments, when the number of recommended music content is greater than a threshold, the third speech content may, for example, only describe part of the music content, and the description of other music content can be provided in a graphical user interface.

[0066] Additionally, the electronic device 110 may, for example, also send a voice reminder message to the user whether to play, and in response to receiving a user indication to play, play based on the recommended at least one item of music content.

[0067] As yet another example, the first speech content may, for example, include “help me cut a song”. Accordingly, the virtual object can determine that the music interaction intent corresponding to the first speech content is the music control intent 320.

[0068] Accordingly, the electronic device 110 can perform a fourth action 345 to control a music playing process associated with the virtual object based on the first voice content. As an example, such control instructions can also include, for example, playing, pausing, stopping, adjusting volume, fast forwarding, rewinding, previous song, next song, etc.

[0069] As yet another example, the first voice content can include, for example, "save this song for later". Accordingly, the virtual object can determine that the music interaction intent corresponding to the first voice content is the music interaction intent 325.

[0070] Accordingly, the electronic device 110 can perform a fifth action 359 to trigger an interaction operation on the second music content provided by the virtual object, the interaction operation being determined based on the first voice content. For example, the virtual object can invoke a music service interface to save the song being played based on the received first voice content.

[0071] In some embodiments, the electronic device 110 can also provide prompt voice content to indicate that the interaction operation is performed. Such voice content can include, for example, voice broadcast content or system prompt tone, etc.

[0072] Based on the above described processes, embodiments of the present disclosure can provide different types of voice response modes for different music interaction intents, thereby improving the efficiency of voice interaction and the experience of voice interaction.

[0073] In some embodiments, in the above voice interaction process, a time length of the provided third voice content is less than a first threshold; or a length of text content corresponding to the third voice content is less than a second threshold.

[0074] For example, when instructing the language model to generate content such as description information / recommendation reasons about the song, the language model can be required to generate content less than a predetermined number of words. In this way, embodiments of the present disclosure can avoid such content being too lengthy, thereby affecting the efficiency of voice interaction.

[0075] In some embodiments, during the execution of the first action 330 or the second action 335, if existing music content is being played, the electronic device 110 can reduce the volume of the existing music content.

[0076] For example, the electronic device 110 and / or the audio device 160 can utilize different audio channels to provide the music content and the second voice content and / or the third voice content triggered based on the first voice content.

[0077] In this way, embodiments of the present disclosure can reduce the interference on the music content currently played by the user.

[0078] With continued reference to FIG. 2, at block 230, the electronic device 110 triggers, based on the first speech content, updating a conversation window of the user with the virtual object in the graphical user interface.

[0079] As an example, the electronic device 110 can provide, in the conversation window, a first interface element generated based on the first speech content. Alternatively or additionally, the electronic device 110 can update, in the conversation window, a second interface element already provided based on the first speech content.

[0080] Taking FIG. 4 as an example, FIG. 4 illustrates an example interface 400 according to some embodiments of the present disclosure. As shown in FIG. 4, the interface 400 can include a conversation window of the user with the virtual object 405. In some embodiments, the electronic device 110 can display a new interface element, e.g., a first message 410, based on the first speech content of the user.

[0081] Additionally, the electronic device 110 can also present a second message 425 for describing the song recommended by the virtual object. The second message 425 may, for example, correspond to the third speech content discussed above, or the second message 425 can describe more songs.

[0082] Additionally, the electronic device 110 may, for example, also provide a music interaction component 430 in the conversation window to support that the user can also control the music playing process through the graphical user interface.

[0083] As an example, the electronic device 110 may, for example, also update the display style, display state, etc. of the music interaction component 430 based on additional speech messages of the user.

[0084] Based on the above process, embodiments of the present disclosure can provide the user with collaborative speech response content and interface response content, thereby improving the user's interaction experience.

[0085] Example apparatuses and devices

[0086] FIG. 5 illustrates a block diagram of a processing request apparatus according to some embodiments of the present disclosure. The apparatus 500 can be implemented as or included in the electronic device 110 and / or the audio device 160. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.

[0087] As shown in FIG. 5, the apparatus 500 includes an obtaining module 510 configured to obtain first voice content sent by a user to a virtual object, the virtual object being associated with a music service; an executing module 520 configured to perform at least one voice response action according to a target response mode based on the first voice content, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating an action type and / or an execution order of the at least one voice response action; and a triggering module 530 configured to trigger updating of a conversation window of the user with the virtual object in a graphical user interface based on the first voice content.

[0088] In some embodiments, the apparatus 500 further includes an intent determining module configured to determine, from a group of preset interaction intents, a music interaction intent corresponding to the first voice content by using a target model associated with the virtual object.

[0089] In some embodiments, the at least one response action includes at least one of: a first action for providing preset second voice content; a second action for providing third voice content generated based on the first voice content; a third action for playing first music content determined based on the first voice content; a fourth action for controlling a music playing process associated with the virtual object; and a fifth action for performing an interactive operation on second music content provided by the virtual object.

[0090] In some embodiments, the music interaction intent is a music playing intent containing a specified music entity, and the executing module 520 is further configured to: in the loading stage, perform the first action to provide preset second voice content; and perform the third action to play first music content determined based on the first voice content.

[0091] In some embodiments, the music interaction intent is a music playing intent not containing a music entity, and the executing module 520 is further configured to: in the loading stage, perform the first action to provide preset second voice content; perform the second action for providing third voice content generated based on the first voice content, the third voice content being used to describe the first music content to be played; and perform the third action to play the first music content determined based on the first voice content.

[0092] In some embodiments, the music interaction intent is a music recommendation intent, and the executing module 520 is further configured to: in the loading stage, perform the first action to provide preset second voice content; and perform the second action for providing third voice content generated based on the first voice content, the third voice content being used to describe at least one music content determined by the virtual object.

[0093] In some embodiments, the apparatus 500 further includes an inquiry module configured to: send a prompt message to the user for whether to play; and in response to receiving a play instruction, play the music content based on the at least one music content.

[0094] In some embodiments, the music interaction intent is a music control intent, and the execution module 520 is further configured to: perform a fourth action to control a music playing process associated with the virtual object based on the first voice content.

[0095] In some embodiments, the music interaction intent is a music interaction intent, and the execution module 520 is further configured to: perform a fifth action to trigger an interaction operation on the second music content provided by the virtual object, the interaction operation being determined based on the first voice content.

[0096] In some embodiments, the execution module 520 is further configured to: provide prompt voice content to indicate that the interaction operation is completed.

[0097] In some embodiments, a time length of the third voice content is less than a first threshold; and / or a length of text content corresponding to the third voice content is less than a second threshold.

[0098] In some embodiments, the apparatus 500 further includes a volume control module configured to: in the process of performing the first action or the second action, in response to existing music content being played, reduce the volume of the existing music content.

[0099] In some embodiments, the trigger module 530 is further configured to: in the conversation window, provide a first interface element generated based on the first voice content; and / or in the conversation window, update a second interface element that has been provided based on the first voice content.

[0100] In some embodiments, the graphical user interface is associated with an electronic device, and the first voice content is collected by an audio device connected to the electronic device.

[0101] FIG. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as any limitation to the functionality and scope of the embodiments described herein. The electronic device 600 illustrated in FIG. 6 can be used to implement the electronic device 110 and / or the audio device 160 of FIG. 1.

[0102] As shown in FIG. 6, electronic device 600 is in the form of a general-purpose electronic device. Components of electronic device 600 can include, but are not limited to, one or more processors or processing units 610, memory 620, storage 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit(s) 610 can be actual or virtual processors and capable of executing various processing in accordance with programs stored in memory 620. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing power of electronic device 600.

[0103] Electronic device 600 typically includes a plurality of computer storage media. Such media can be removable and / or non-removable, and can include volatile and / or nonvolatile media. Memory 620 can be volatile (such as, for example, registers, cache, random access memory (RAM)), non-volatile (such as, for example, read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage 630 can be removable or non-removable and can include machine-readable media, such as, for example, flash drives, disks, or any other media capable of storing information and / or data (e.g., training data for training) and accessible by electronic device 600.

[0104] Electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, a disk drive or other computer-readable media drive can be provided for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "hard drive"), and a disk drive or other computer-readable media drive can be provided for reading from or writing to a removable, non-volatile optical disk (such as a CD-ROM or other optical medium). In these instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. Memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.

[0105] Communication unit(s) 640 enable communication with other electronic devices via communication media. Additionally, functionality of components of electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines capable of communication through a communication connection. Accordingly, electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in a distributed environment.

[0106] The input device 650 can be one or more input devices such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc., one or more devices that enable a user to interact with the electronic device 600, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 600 to communicate with one or more other electronic devices, as desired, via the communication unit 640. Such communication can be carried out via an input / output (I / O) interface (not shown).

[0107] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.

[0108] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0109] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0110] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0111] The computer program product of the present disclosure can be a computer program product, which is a machine-readable medium (media) having instances of the software embodied thereon, such as computer software, firmware, wireless application protocol (WAP), middleware or microcode. For example, a computer program product can be a floppy disk, a CD-ROM, a DVD, a Blu-ray Disc™, a flash drive, a memory stick, a magnetic tape, or a hard disk drive. The computer program product can also be an article of manufacture that comprises a computer readable medium. The medium can comprise a hard disk drive, a memory, or a floppy diskette, which can be accessed using a drive unit. Additionally, the medium can comprise a storage device that can store program codes. The storage device can include, but is not limited to, devices needing a platter and a read / write head, optical disk drives such as CD-ROM, DVD, Blu-ray Disc™ drives, memory devices such as flash drives, memory sticks, or any device that stores digital information. Additionally, the medium can include a single storage device or a plurality of storage devices.

[0112] The foregoing description of implementations has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the various implementations to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the various implementations be limited not by this detailed description, but rather by the claims appended hereto.

Claims

1. A method of voice interaction, comprising: obtaining first voice content sent by a user to a virtual object, the virtual object being associated with a music service; performing at least one voice response action according to a target response mode based on the first voice content, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating an action type and / or an execution order of the at least one voice response action; and updating a session window of the user and the virtual object in a graphical user interface based on the first voice content. 2.The method of claim 1, further comprising: determining the music interaction intent corresponding to the first voice content from a set of preset interaction intents by using a target model associated with the virtual object. 3.The method of claim 1, wherein the at least one response action comprises at least one of: a first action for providing preset second voice content; a second action for providing third voice content generated based on the first voice content; a third action for playing first music content determined based on the first voice content; a fourth action for controlling a music playing process associated with the virtual object; a fifth action for performing an interactive operation on second music content provided by the virtual object. 4.The method of claim 3, wherein the music interaction intent is a music playing intent containing a specified music entity, and performing at least one voice response action according to a target response mode comprises: in a loading stage, performing the first action to provide preset second voice content; and performing the third action to play the first music content determined based on the first voice content. 5.The method of claim 3, wherein the music interaction intent is a music playing intent not containing a music entity, and performing at least one voice response action according to a target response mode comprises: in a loading stage, performing the first action to provide preset second voice content; performing the second action for providing third voice content generated based on the first voice content, the third voice content being used to describe the first music content to be played; and performing the third action to play the first music content determined based on the first voice content. 6.The method of claim 3, wherein the music interaction intent is a music recommendation intent, and performing at least one voice response action according to a target response mode comprises: in a loading stage, performing the first action to provide preset second voice content; and performing the second action for providing third voice content generated based on the first voice content, the third voice content being used to describe at least one music content determined by the virtual object. 7.The method of claim 6, further comprising: sending a reminder message to the user whether to play or not; and in response to receiving a play instruction, playing the at least one music content based on the at least one music content. ​ ​ ​ ​ 8.The method of claim 3, wherein the music interaction intent is a music control intent, and performing at least one voice response action according to a target response mode comprises: performing the fourth action to control a music playing process associated with the virtual object based on the first voice content. 9.The method of claim 3, wherein the music interaction intent is a music interaction intent, and performing at least one voice response action according to a target response mode comprises: performing the fifth action to trigger the interaction operation on the second music content provided by the virtual object, the interaction operation being determined based on the first voice content. 10.The method of claim 9, wherein performing at least one voice response action according to a target response mode further comprises: providing prompt voice content to indicate that the interaction operation is completed. 11.The method of claim 3, wherein: a time length of the third voice content is less than a first threshold; and / or a length of text content corresponding to the third voice content is less than a second threshold. 12.The method of claim 3, further comprising: in response to existing music content being played during execution of the first action or the second action, reducing a volume of the existing music content. 13.The method of claim 1, wherein triggering updating, based on the first voice content, a session window of the user with the virtual object in a graphical user interface comprises: providing, in the session window, a first interface element generated based on the first voice content; and / or updating, in the session window, a second interface element that has been provided based on the first voice content. 14.The method of claim 1, wherein the graphical user interface is associated with an electronic device, and the first voice content is captured by an audio device connected to the electronic device. 15.An apparatus for voice interaction, comprising: an obtaining module configured to obtain first voice content sent by a user to a virtual object, the virtual object being associated with a music service; an executing module configured to perform, based on the first voice content, at least one voice response action according to a target response mode, the target response mode being determined based on a music interaction intent corresponding to the first voice content, the target response mode indicating a type of action and / or an execution order of the at least one voice response action; and a triggering module configured to trigger, based on the first voice content, updating a session window of the user with the virtual object in a graphical user interface. 16.An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 14. ​ ​ 17. A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method of any one of claims 1 to 14.

18. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions implement the method of any one of claims 1 to 14 when executed by a processor.