Request processing method and device, equipment and storage medium

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

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In a conversational scenario provided by a computer, the user cannot effectively retrieve and play permission-controlled music or video content, which affects the user experience.

Method used

By obtaining messages entered in the user's session with the virtual object, query parameters are determined, and audio-visual content with a high degree of matching with the target music content based on these parameters, thereby generating a response and providing a playback portal.

Benefits of technology

It realizes the use of audio-visual content that matches related music content, enriches service content, improves user experience, and solves the problem that content cannot be played under permission control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121646773A_ABST
    Figure CN121646773A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a request processing method and device, equipment and a storage medium. In the request processing method, an input message received in a session between a user and a virtual object is acquired, and the virtual object is associated with a music service; determining at least one query parameter based on the input message; determining at least one audiovisual content based on the at least one query parameter, the matching degree of the audio content of the at least one audiovisual content and the target music content being greater than a threshold, and the target music content being determined based on the at least one query parameter; and generating a first response to the input message based at least on the at least one item of audiovisual content. According to the embodiment of the invention, the music service can be provided for the user, and the audio-visual content (such as video works, image-text works and the like) matched with the related music content can be provided for the user, so that the provided content is enriched, and the service quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and storage medium for processing requests Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for processing requests. Background Art

[0002] With the development of computer technology, users can now access the music or video they are searching for by entering text in a conversational environment. However, when the content retrieved is permission-controlled, problems such as playback failure and playback errors often occur, greatly affecting the user experience.

[0003] Summary of the Invention

[0004] In a first aspect of the present disclosure, a method for processing a request is provided. The method includes: obtaining an input message received during a conversation between a user and a virtual object, the virtual object being associated with a music service; determining at least one query parameter based on the input message; determining at least one item of audiovisual content based on the at least one query parameter, wherein a degree of matching between audio content of the at least one item of audiovisual content and target music content is greater than a threshold, the target music content being determined based on the at least one query parameter; and generating a first response to the input message based at least on the at least one item of audiovisual content.

[0005] In a second aspect of the present disclosure, a request processing apparatus is provided. The apparatus includes: a message acquisition module configured to acquire an input message received during a conversation between a user and a virtual object, the virtual object being associated with a music service; a first determination module configured to determine at least one query parameter based on the input message; a second determination module configured to determine at least one item of audiovisual content based on the at least one query parameter, the at least one item of audiovisual content having an audio content that matches target music content to a degree greater than a threshold, the target music content being determined based on the at least one query parameter; and a response generation module configured to generate a first response to the input message based at least on the at least one item of audiovisual content.

[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes 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, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0008] It should be understood that the content described in this summary 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 easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0011] FIG2 shows a flowchart of a method for processing a request according to some embodiments of the present disclosure;

[0012] 3A and 3B illustrate example interfaces according to some embodiments of the present disclosure;

[0013] FIG4 shows a flowchart of a method for processing a request according to some embodiments of the present disclosure;

[0014] FIG5 shows a block diagram of an apparatus for processing a request according to some embodiments of the present disclosure; and

[0015] FIG6 shows a block diagram of a device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION

[0016] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0017] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0018] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, for example, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0019] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0020] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.

[0021] As used herein, the term "in response to" refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of executing a subsequent action executed in response to the event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is satisfied. For example, in some cases, a subsequent action may be executed immediately upon the occurrence of the event or the satisfaction of the condition; in other cases, the subsequent action may be executed some time after the occurrence of the event or the satisfaction of the condition.

[0022] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0023] 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 may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.

[0024] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0025] As used herein, a "unit," "operating unit," or "subunit" may consist of any suitably structured machine learning model or network. As used herein, a group of elements or similar expressions may include one or more such elements. For example, a "group of convolutional units" may include one or more convolutional units.

[0026] As briefly mentioned above, users can retrieve the music or video they're searching for by entering text in a computer-provided conversational environment. During a conversation with a virtual object, users can enter messages to retrieve the audiovisual content they're searching for. As a result, people expect more comprehensive and accurate search feedback, as well as richer and more diverse content.

[0027] To this end, embodiments of the present disclosure provide a method for processing a request. According to various embodiments of the present disclosure, an input message received during a conversation between a user and a virtual object is obtained, where the virtual object is associated with a music service; at least one query parameter is determined based on the input message; at least one item of audiovisual content is determined based on the at least one query parameter, where the audio content of the at least one item of audiovisual content matches target music content to a degree greater than a threshold, where the target music content is determined based on the at least one query parameter; and a first response to the input message is generated based at least on the at least one item of audiovisual content.

[0028] In this way, the embodiments of the present disclosure can not only provide music services to users, but also provide users with audio-visual content (such as video works, graphic works, etc.) that matches the relevant music content, thereby enriching the content provided and improving the service quality.

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

[0030] Sample Environment

[0031] FIG1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In this example environment 100, an application 120 is installed on a terminal device 110. A user 140 can interact with the application 120 via the terminal device 110 and / or its attached devices. The application 120 can be any suitable application that supports interaction with virtual objects.

[0032] In the environment 100 of FIG1 , if the application 120 is active, the terminal device 110 may present an interface 150 of the application 120. The interface 150 may include various interfaces that the application 120 may provide, such as a conversation interface with a virtual object.

[0033] In some embodiments, the terminal device 110 communicates with the electronic device 130 to enable the provision of services (e.g., music services) for the application 120. The terminal device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.). The electronic device 130 can be various types of computing systems / electronic devices that can provide computing capabilities, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.

[0034] It should be understood that the structure and function 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.

[0035] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0036] Example process of request processing

[0037] FIG2 shows a flow chart of a method for processing a request according to some embodiments of the present disclosure. The method 200 may be implemented at the electronic device 130. The method 200 is described below with reference to FIG2.

[0038] In block 210, the electronic device 130 obtains the user's request information from the terminal device 110. In some embodiments, the request information may be text information input by the user in a conversation with the virtual object. In other embodiments, the request information may also be voice information.

[0039] In box 220, the electronic device 130 determines the query parameters associated with the request information based on the received request information. In some embodiments, at least one model can be used to process the request information. For example, a first model can be used to determine whether the target intent corresponding to the request information matches a preset intent. The preset intent may include a music playback intent or a playback control intent. If the target intent does not match the preset intent, the request information can be provided to a second model. The scale of the second model is larger than the first model. The model can be used to extract query parameters from the request information. The query parameters may include, for example, a song name, an artist name, an album name, or a combination of the above parameters.

[0040] In some embodiments, in response to failure to parse available entity information from the request information, the second model can return a first text result to the terminal device 110 to indicate that the request information is unavailable, and can continue to inquire whether the user needs to modify the request information. In some embodiments, in response to text errors in the request information (e.g., typos or mismatches between song titles and artist names), the second model can perform error correction and return a second text result to the terminal device 110 to inquire whether the user wants to enter the corrected request information.

[0041] At block 230, electronic device 130 verifies whether the target music content corresponding to the query parameter satisfies the preset constraints. In some embodiments, electronic device 130 may utilize a verification module to determine whether the target music content satisfies the preset constraints based on at least one query parameter. If the target music content does not satisfy the preset constraints, electronic device 130 may determine at least one item of audiovisual content from a target content source based on the at least one query parameter and the target music content.

[0042] In some embodiments, the preset constraints may be associated with the playback rights of the target music content. For example, the preset constraints may include whether the platform has authorization for the target music content, and the target content source may be at least one content source (e.g., a music library, a music platform, etc.) that has playback rights for the target music content. As shown in FIG2 , if there is no playback rights for the target music content, method 200 proceeds from block 230 to block 240.

[0043] In some embodiments, as shown in FIG. 2 , before retrieving the target music content, a verification module may be used to determine whether the matched target music content satisfies preset constraints based on the extracted query parameters.

[0044] At block 240, electronic device 130 identifies at least one item of audiovisual content from the target content source. The degree of match between the audio content of the at least one item of audiovisual content and the target music content is greater than a threshold. In some embodiments, the at least one item of audiovisual content may include at least one of video content and graphic content associated with background music. For example, the at least one item of audiovisual content may include a music video associated with the target music content. In some embodiments, the duration of the at least one item of audiovisual content meets a preset condition, such as being between 2 and 5 minutes. Method 200 then proceeds to block 250.

[0045] At block 250, electronic device 130 generates a first response to the request message based on the at least one item of audiovisual content. In some embodiments, the first response includes a reply message provided in the conversation window of the session, and the reply message includes a playback entry for the at least one item of audiovisual content. The user can use the playback entry to directly play the at least one item of audiovisual content in the conversation window. In some embodiments, the user can also use the playback entry to jump to a page corresponding to the at least one item of audiovisual content to play the at least one item of audiovisual content on that page. In some embodiments, the reply message may also include descriptive text about the at least one item of audiovisual content.

[0046] Figures 3A and 3B illustrate example interfaces according to some embodiments of the present disclosure. As shown in Figure 3A, interface 300 may be provided by, for example, terminal device 110 shown in Figure 1. Interface 300 may be, for example, a conversation interface between a user and a virtual object.

[0047] As shown in FIG3A , interface 300 may display at least one input message 301 from a user in a conversation scenario, at least one reply message 302 associated with input message 301, identification information 303 of a virtual object, and conversation controls 304. A user may input text or voice messages through conversation controls 304. It should be understood that terminal device 110 may also support appropriate user operations other than conversation controls 304 to input text or voice messages. This disclosure is not intended to be limiting.

[0048] In some embodiments, the reply message 302 may include at least one audiovisual content description text 3021 and at least one audiovisual content playback entry 3022. The reply message 302 is generated by the virtual object based on the input message. As shown in Figure 3A, the at least one audiovisual content may be a video. The user can play the video on the current interface by clicking the playback entry 3022. In some embodiments, the user can jump to the video source interface of the video by clicking the playback entry 3022 to play the video. It should be understood that the video can also be played in other appropriate ways, and this disclosure is not limited to this.

[0049] If the target music content satisfies the preset constraints, i.e., if the target music content has playback permission, method 200 proceeds from block 230 to block 260. At block 260, electronic device 130 retrieves the target music content based on at least one query parameter. In some embodiments, electronic device 130 may search for the target music content in a preset music library, which has playback permission for the target music content. Method 200 then proceeds to block 270.

[0050] At block 270 , the electronic device 130 generates a second response to the input message based at least on the target music content. In some embodiments, the second response may include providing a reply message associated with the target music content in the conversation interface.

[0051] As shown in Figure 3B , interface 310 can be provided by, for example, terminal device 110 shown in Figure 1 . Interface 310 can also be a conversation interface between a user and a virtual object. Similar to interface 300 , interface 310 can display at least one input message 311 from the user in the conversation scenario, at least one reply message 312 associated with input message 311, identification information 313 of the virtual object, and conversation controls 314. The functions of input message 311, identification information 313 of the virtual object, and conversation controls 314 are similar to those of the corresponding portions of interface 300 and are therefore not further described.

[0052] 3B , the reply message 312 in the interface 310 may include a playlist 3122 consisting of multiple pieces of music content, and description text 3121 about the multiple pieces of music content. Furthermore, each piece of music content in the playlist 3122 may be triggered by the user to play.

[0053] In some embodiments, in response to the target music content not satisfying the preset constraints, ie, the preset music library does not have the playback authority for the target music content, the method 200 may proceed from block 230 to block 280 .

[0054] At block 280, electronic device 130 obtains a set of candidate music content associated with the target music content. In some embodiments, the set of candidate music content may be music content with a similar musical style to the target music content. Method 200 then proceeds to block 290, where electronic device 130 generates a third response to the input message based on the set of candidate music content. In some embodiments, the third response presents the user with at least one set of candidate music content associated with the request information. The third response is similar in format to the first and second responses described above and will not be further elaborated upon herein.

[0055] In some embodiments, the acquisition and provision of the audiovisual content mentioned above may also be performed if the target music content satisfies preset constraints. Accordingly, upon receiving an input message, the electronic device 110 may provide both the target music content and one or more matching audiovisual content (e.g., video works, graphic works) in the conversation interface as a response to the input message.

[0056] In some embodiments, the electronic device 130 may also execute the acquisition of similar music content and the acquisition of related audio-visual content in parallel. Alternatively, the electronic device 130 may trigger the acquisition and provision of similar music content only when no related audio-visual content is obtained.

[0057] Based on the request message processing mechanism introduced above, the embodiments of the present disclosure can meet the user's listening needs for target music content, and can recommend related audio-visual content to the user as a supplement, thereby improving the user's listening experience.

[0058] Example Process

[0059] FIG4 shows a flow chart of a method for processing a request according to some embodiments of the present disclosure. The method 400 may be implemented in the electronic device 130. The method 400 is described below with reference to FIG4.

[0060] At block 410, electronic device 130 obtains an input message received during a conversation between a user and a virtual object associated with a music service. At block 420, electronic device 130 determines at least one query parameter based on the input message. At block 430, electronic device 130 determines at least one item of audiovisual content based on the at least one query parameter, wherein the audio content of the at least one item of audiovisual content matches target music content greater than a threshold, the target music content being determined based on the at least one query parameter. At block 440, electronic device 130 generates a first response to the input message based at least on the at least one item of audiovisual content.

[0061] In some embodiments, the at least one item of audio-visual content includes at least one of the following: video content; graphic content associated with background music.

[0062] In some embodiments, determining at least one item of audio-visual content based on at least one query parameter includes: determining target music content based on at least one query parameter; and in response to the target music content not satisfying a preset constraint, determining at least one item of audio-visual content from a target content source based on the at least one query parameter and the target music content.

[0063] In some embodiments, the method 400 further includes: in response to the target music content satisfying the preset constraint, generating a second response to the input message based at least on the target music content.

[0064] In some embodiments, the method 400 further includes: before acquiring the target music content, using a verification module to determine whether the target music content satisfies a preset constraint based on at least one query parameter.

[0065] In some embodiments, the method 400 further includes: in response to the target music content not satisfying the preset constraint, obtaining a set of candidate music content associated with the target music content; and generating a third response to the input message based on the set of candidate music content.

[0066] In some embodiments, the first response to the input message includes a reply message provided in a conversation window of the conversation, the reply message including a playback entry for at least one item of audiovisual content.

[0067] In some embodiments, the reply message further includes descriptive text regarding the at least one item of audiovisual content.

[0068] In some embodiments, the duration of at least one item of audiovisual content meets a preset condition.

[0069] Example devices and equipment

[0070] 5 shows a block diagram of an apparatus for processing a request according to some embodiments of the present disclosure. Apparatus 500 may be implemented as or included in electronic device 130. Each module / component in apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0071] As shown in Figure 5, the device 500 includes a message acquisition module 510, which is configured to acquire an input message received in a conversation between a user and a virtual object, where the virtual object is associated with a music service; a first determination module 520, which is configured to determine at least one query parameter based on the input message; a second determination module 530, which is configured to determine at least one item of audio-visual content based on the at least one query parameter, where the degree of matching between the audio content of the at least one item of audio-visual content and the target music content is greater than a threshold, and the target music content is determined based on the at least one query parameter; and a response generation module 540, which is configured to generate a first response to the input message based at least on the at least one item of audio-visual content.

[0072] In some embodiments, the at least one item of audio-visual content includes at least one of the following: video content; graphic content associated with background music.

[0073] In some embodiments, the first determination module 520 includes a third determination module, configured to determine the target music content based on at least one query parameter; and a fourth determination module, configured to determine at least one audio-visual content from the target content source based on at least one query parameter and the target music content in response to the target music content not satisfying the preset constraints.

[0074] In some embodiments, the apparatus 500 further includes a second response generating module configured to generate a second response to the input message based at least on the target music content in response to the target music content satisfying the preset constraint.

[0075] In some embodiments, the apparatus 500 further includes a fifth determination module configured to, before acquiring the target music content, use the verification module to determine whether the target music content satisfies a preset constraint based on at least one query parameter.

[0076] In some embodiments, the device 500 also includes a candidate content acquisition module, which is configured to acquire a set of candidate music content associated with the target music content in response to the target music content not satisfying the preset constraints; and a third response generation module, which is configured to generate a third response to the input message based on the set of candidate music content.

[0077] In some embodiments, the first response to the input message includes a reply message provided in a conversation window of the conversation, the reply message including a playback entry for at least one item of audiovisual content.

[0078] In some embodiments, the reply message further includes descriptive text regarding the at least one item of audiovisual content.

[0079] In some embodiments, the duration of at least one item of audiovisual content meets a preset condition.

[0080] FIG6 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 600 shown in FIG6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 shown in FIG6 can be used to implement the electronic device 130 of FIG1 .

[0081] As shown in FIG6 , electronic device 600 is a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit 610 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 600.

[0082] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data (e.g., training data for training) and can be accessed within the electronic device 600.

[0083] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG6 , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0084] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

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

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

[0087] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0088] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0089] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0090] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0091] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for processing a request, comprising: Receiving an input message received in a session between a user and a virtual object, the virtual object being associated with a music service; Based on the input message, determining at least one query parameter; Based on the at least one query parameter, determining at least one item of audiovisual content, the audio content of the at least one item of audiovisual content matching a target music content greater than a threshold, the target music content being determined based on the at least one query parameter; and A first response to the input message is generated based at least on the at least one item of audiovisual content.

2. The method according to claim 1, wherein the at least one item of audiovisual content comprises at least one of the following: Video content; Graphic content associated with background music.

3. The method of claim 1 , wherein determining at least one audiovisual content based on the at least one query parameter comprises: Determining the target music content based on the at least one query parameter; as well as In response to the target music content not satisfying a preset constraint, the at least one item of audiovisual content is determined from a target content source based on the at least one query parameter and the target music content.

4. The method according to claim 3, further comprising: In response to the target music content satisfying the preset constraint, a second response to the input message is generated based at least on the target music content.

5. The method according to claim 4, further comprising: Before acquiring the target music content, a verification module is used to determine whether the target music content satisfies a preset constraint based on the at least one query parameter.

6. The method according to claim 1, further comprising: In response to the target music content not satisfying the preset constraint, obtaining a set of candidate music contents associated with the content; as well as A third response to the input message is generated based on the set of candidate music content.

7. The method of claim 1, wherein the first response to the input message comprises a reply message provided in a session window of the session, the reply message comprising a playback entry for the at least one audiovisual content.

8. The method according to claim 7, wherein the reply message further comprises a description text about the at least one item of audio-visual content.

9. The method according to claim 1, wherein the time length of the at least one audio-visual content meets a preset condition.

10. An apparatus for processing a request, comprising: a message acquisition module configured to acquire an input message received in a conversation between a user and a virtual object, the virtual object being associated with a music service; A first determination module is configured to determine at least one query parameter based on the input message; A second determination module is configured to determine, based on the at least one query parameter, at least one item of audiovisual content, the degree of matching between the audio content of the at least one item of audiovisual content and the target music content being greater than a threshold, the target music content being determined based on the at least one query parameter; and The response generation module is configured to generate a first response to the input message based at least on the at least one audio-visual content.

11. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.

12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 9.

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