Information interaction method and related device
By inserting the display elements of the target application into the reply information of the intelligent voice assistant, and taking advantage of the high update frequency of the application, the problem of unintuitive and poor timeliness of the intelligent voice assistant's reply information is solved, and the user experience and security are improved.
Patent Information
- Application Number
- CN202410749794.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-01
AI Technical Summary
When existing intelligent voice assistants respond to users' voice commands, the information display method is not intuitive, making it difficult for users to obtain information quickly, and the database update frequency is low and timeliness is poor, affecting user experience and driving safety.
By inserting the display elements of the target application into the reply information, the database of the application is updated more frequently and the information is displayed in the form of images or symbols to support interactive operations and simplify the process of users obtaining information.
It improves the intuitiveness and timeliness of reply information, shortens user operation links, improves user experience and driving safety, and solves the problems of unintuitive information display and poor timeliness.
Smart Images

Figure CN118733725A_ABST
Abstract
Description
Technical Field
[0001] The present specification relates to the field of computer technology, specifically, to natural language processing technology under the field of computer technology, and more specifically, to an information interaction method and related devices. Background Art
[0002] With the continuous development of artificial intelligence (AI) technology, the application scenarios of intelligent voice assistants based on artificial intelligence technology and natural language processing (NLP) technology are becoming more and more extensive. Users can use intelligent voice assistants to achieve multiple functions such as software application control, information query, interactive chat, etc. It is necessary to optimize the interaction between users and intelligent voice assistants and improve the user experience when using intelligent voice assistants. Summary of the invention
[0003] The embodiments of this specification provide an information interaction method and related devices, which achieve the purpose of optimizing the display method of reply information to the user's voice command, improve the display effect of the reply information, and optimize the user experience.
[0004] To achieve the above technical objectives, the embodiments of this specification provide the following technical solutions:
[0005] In a first aspect, an implementation of this specification provides an information interaction method, the information interaction method comprising:
[0006] In response to receiving a voice input from a user, determining a target application, the target application being obtained after analyzing the voice input using a target model;
[0007] The reply information is displayed, where the reply information includes a display element of the target application, and the display element is used to trigger opening of the target application.
[0008] In a second aspect, an embodiment of the present specification provides a vehicle, the vehicle comprising a device equipped with a target model, the device also equipped with an application, wherein:
[0009] The device is configured to determine a target application in response to receiving a user's voice input, wherein the target application is obtained after analyzing the voice input using a target model;
[0010] The reply information is displayed, where the reply information includes a display element of the target application, and the display element is used to trigger opening of the target application.
[0011] In a third aspect, an embodiment of the present specification further provides a computing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the information interaction method as described above when executing the computer program.
[0012] In a fourth aspect, an embodiment of the present specification further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the information interaction method as described above is implemented.
[0013] In a fifth aspect, an embodiment of the present specification provides a computer program product or a computer program, wherein the computer program product includes a computer program, and the computer program is stored in a computer-readable storage medium; the processor of the computer device reads the computer program from the computer-readable storage medium, and the processor implements the steps of the above-mentioned information interaction method when executing the computer program.
[0014] It can be seen from the above technical solution that the embodiment of this specification provides an information interaction method, which realizes the purpose of intuitively displaying the reply information to the voice command by displaying the reply information. At the same time, the reply information includes the display elements of the target application, which further improves the intuitiveness of the display of the reply information, facilitates the user to intuitively obtain relevant information from the reply information, and achieves the purpose of optimizing the display method of the reply information to the user's voice command, improves the display effect of the reply information, and optimizes the user experience. In addition, the information interaction method breaks through the limitation that the database update of the target model is usually slow, and inserts the display elements of the target application in the reply information, which is conducive to ensuring that the reply information displayed to the user has a high timeliness. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0016] Figure 1 A schematic diagram of triggering an intelligent voice assistant in the related art;
[0017] Figure 2 A schematic diagram of the interaction process between a user and an intelligent voice assistant in the related art;
[0018] Figure 3A schematic diagram of an interactive interface between a user and an intelligent voice assistant in a related technology;
[0019] Figure 4 A flowchart of an information interaction method provided for one embodiment of this specification;
[0020] Figure 5 A schematic diagram of a display page for reply information provided in one embodiment of this specification;
[0021] Figure 6 A schematic diagram of a display page for reply information provided in another embodiment of this specification;
[0022] Figure 7 A signaling flow diagram of an information interaction method provided for one embodiment of this specification;
[0023] Figure 8 A schematic diagram of a display page for reply information provided in yet another embodiment of the present specification;
[0024] Fig. 9 A schematic diagram of the structure of a computing device provided for one embodiment of the present specification. DETAILED DESCRIPTION
[0025] Unless otherwise defined, the technical terms or scientific terms used in the embodiments of this specification shall have the common meanings understood by persons with ordinary skills in the field to which this specification belongs. The words "first", "second" and similar words used in the embodiments of this specification do not indicate any order, quantity or importance, but are only used to avoid confusion of constituent elements.
[0026] Unless the context requires otherwise, throughout the specification, "plurality" means "at least two", and "including" is interpreted as an open, inclusive meaning, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "examples", "specific examples" or "some examples" are intended to indicate that a particular feature, structure, material or characteristic associated with the embodiment or example is included in at least one embodiment or example of the specification. The schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0027] The technical solutions in the embodiments of this specification will be described below in conjunction with the drawings in the embodiments of this specification. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0028] Overview
[0029] Intelligent voice assistant has long become one of the essential functions of various computing devices. Figure 1 Taking computing devices such as mobile phones as an example, the intelligent voice assistant is displayed as a "voice assistant" icon in page 101. The user can open the intelligent voice assistant by triggering the icon and enter page 102. The intelligent voice assistant will prompt the user to enter a voice command in a manner such as "Hi, I'm listening", so that the intelligent voice assistant can interact with the user based on the voice command. With the continuous development of artificial intelligence technology, intelligent voice assistants are usually implemented in the form of a neural network model (hereinafter referred to as a target model).
[0030] In addition to Figure 1 In addition to triggering the voice assistant in the manner shown, in some scenarios, the voice assistant can run in the background. For example, in a vehicle, the voice assistant can run together with the vehicle's power-on operation. During the operation, the voice assistant starts to interact with the user after detecting that the user has issued a specific voice command (such as "Hi Simo" or "Hello, Simo", etc.). For example, in a smart home scenario, the voice assistant can run together with the power-on of the smart terminal. Similar to the vehicle scenario, the voice assistant starts to interact with the user after detecting that the user has issued a specific voice command.
[0031] In the related art, when a user issues a voice command such as an information query, the voice assistant usually responds to the voice command in the form of voice or text. Figure 2 In the scenario shown, the user issues a voice command: "What's the weather like today?" The voice assistant replies by voice: "City A, Chang'an District, sunny today, temperature: 15-26℃, air quality index: 26, air quality: excellent." This reply method requires the user to concentrate more on listening to the reply of the target model. There may be situations where the user does not hear the reply clearly and needs the voice assistant to repeat it again. For example Figure 2 In the video, after the voice assistant responded to the weather conditions for the first time, the user issued a voice command that required the voice assistant to respond again: "I didn't hear it clearly, say it again." The voice assistant responded to the voice command and responded to the relevant weather conditions for the second time.
[0032] However, in some scenarios, users may not be able to pay too much attention to obtaining the voice assistant's reply information. For example, in a driving scenario, users may need to focus their auditory and visual attention on obtaining information such as road conditions, and may not be able to quickly obtain the desired information from the large amount of displayed reply information. For example, when a user is driving, the user needs to focus their main attention on obtaining road condition information. If the voice assistant interacts with the user in large sections of plain text, the user may need to divert more attention to view the large sections of reply information displayed on the screen and obtain key information from them, which may pose a certain risk to the user's safe driving. Suppose a user wants to listen to music while driving, but does not have a target song to play. The user can get some recommended songs through interaction with the voice assistant, such as Figure 3 As shown, the user can issue a voice command: "Hi simo, what good songs are there recently" to wake up the voice assistant and request the voice assistant to reply. The voice assistant generates and displays the reply information in response to the command. The user needs to find the target song he wants to listen to from the large text information displayed. In this process, the user inevitably needs to keep his eyes on the screen for a long time to find the key information he wants, which may make it difficult for the user to capture sudden changes in road conditions in time, which has a negative impact on the user's driving safety. In addition, long plain text replies are not conducive to users intuitively obtaining relevant information, which has a negative impact on the user's interactive experience with the voice assistant.
[0033] In addition, it can be noted that, at present, the database update time of the target model based on each voice assistant is relatively lagging, such as Figure 3 As shown, the knowledge cutoff date of the target model is April 2023, so it cannot recommend the latest music information in 2024. The songs provided in the reply information it gives are all songs released before April 2023, and the timeliness of the reply content is poor.
[0034] In order to solve this problem, the inventor discovered through research that it is possible to open up a communication channel between the target model and the application installed on the computing device, so that the displayed reply information for the user's voice input includes the display element of the target application, and the display element may include a displayable element obtained by the application, and the display element supports human-computer interaction, for example, the display element may be an image that supports interaction, etc. In this way, on the one hand, by displaying the reply result in an intuitive manner, the intuitiveness of the display of the reply information is improved, and it is convenient for the user to intuitively obtain relevant information from the reply information, thereby achieving the purpose of optimizing the display method of the reply information for the user's voice input, improving the display effect of the reply information, and optimizing the user experience. On the other hand, the display element can open the corresponding application in response to the user's human-computer interaction operation, shortening the operation link and improving the user experience.
[0035] In addition, by inserting the display elements of the target application in the reply information, we can take advantage of the high frequency of application database updates and the good timeliness of the content (display elements) in the database to ensure that the reply information displayed to the user has good timeliness, breaking through the limitations of the low frequency of database updates and poor update timeliness of the target model.
[0036] Based on the above concept, an information interaction method is provided in the embodiment of the present specification. The information interaction method provided in the embodiment of the present specification will be exemplarily described below in conjunction with the accompanying drawings.
[0037] Exemplary Methods
[0038] To be applied to Figure 4 Taking the device in as an example, some implementation methods of this specification exemplarily illustrate the information interaction method, and the information interaction method includes:
[0039] S401: In response to receiving a voice input from a user, determining a target application, wherein the target application is obtained by analyzing the voice input using a target model.
[0040] An application may refer to various types of applications installed in a computing device, including but not limited to music applications, short video applications, video playback applications, audio sharing applications, navigation applications, browser applications, etc. The application may be an application pre-installed on the computing device when it leaves the factory, or it may be an application that the user searches for and installs after the computing device leaves the factory. This manual does not limit this and it depends on the actual situation.
[0041] In some embodiments, the target model can be installed in the cloud, and the local computing device can establish a communication connection with the target model in the cloud. After receiving the user's voice input, the local computing device can send the voice input to the target model in the cloud, and the target model analyzes the voice input to obtain the target application and returns it to the local. In other embodiments, the target model can also be installed locally, in which case the local target model can directly analyze and process the user's voice input to obtain the target application; in other embodiments, the target model can also be partially deployed in the cloud and partially deployed locally. This specification does not limit this, and it depends on the actual situation.
[0042] The target application corresponding to the voice input may refer to the application associated with the voice input. This association may be a direct association, which means that the voice input includes an action for the target application. For example, when the voice input includes: "Open music platform X", the application associated with the voice input is: Music Platform X. This association may also be an indirect association, which means that the voice input includes information for the target content in the target application. For example, when the voice input includes: "I want to listen to music", the application associated with the voice input is: Music Platform X. This association may also be a weak association, which means that the voice input does not directly include an action for the target application or information for the target content in the target application. The association information can only be obtained by analyzing the user's purpose, user intention, etc. For example, when the voice input includes: "I am in a bad mood", the purpose of the user making the voice input may be to relieve the mood by listening to music and / or watching videos, etc., and the applications weakly associated with the voice input may include: Music Platform X, Video Platform Y, etc.
[0043] S402: Display reply information, where the reply information includes a display element of the target application, and the display element is used to trigger opening of the target application.
[0044] A display element may refer to relevant information of a target application displayed in the form of non-text elements such as images and symbols, and the relevant information includes but is not limited to information about the target application itself and information related to the content within the target application. For example, the display element may be in the form of a card, and the card may include an image, such as a song cover, album cover, video cover, default picture, etc. The card may also include text information, and the text information is used to describe the image, for example, the text information may be a song name, album name, video name, game name, etc. The display element supports interaction and can be triggered to open the target application, and the triggering method includes but is not limited to touch triggering, voice triggering, etc. In this way, inserting a display element in a reply message can make the information related to the display element in the reply message more intuitive, so that the user can obtain relevant information more intuitively through the display element.
[0045] The display element may be an element returned by the target application. In this way, the application's database update frequency is relatively high (taking the music application as an example, in order to ensure that newly released songs can be included in the database of the music application in a timely manner, the database update frequency of music data is usually high), to make up for the disadvantage that the target model's database update date is relatively delayed (due to the complex structure of the target model, the update of its knowledge and information needs to be achieved through retraining and other methods, resulting in a high cost of database update, so it is impossible to achieve a high update frequency. As of May 2024, the database of a well-known large language model is up to April 2023, and the lag is more obvious), to ensure the timeliness of the reply information. That is, in some embodiments, in order to ensure the timeliness of the relevant information in the reply information, the display element may include the display element obtained by the application based on the content tag. In this way, the application's database update frequency is high and the content (display element) in the database has good timeliness, which can make use of the advantages of the high frequency of database updates of the application and the good timeliness of the content (display element) in the database, to ensure that the reply information displayed to the user has good timeliness, breaking through the limitation of the low frequency of database updates and poor update timeliness of the target model.
[0046] In some implementations, the determining the target application includes: determining a target application corresponding to the voice input and a target content of the target application;
[0047] The reply information includes a plurality of display elements of the target application, wherein the display elements are used to trigger opening of the target application and playing of the target content, and the target contents corresponding to the plurality of display elements are different.
[0048] In this embodiment, the target application may include a multimedia playback application (eg, an audio player, a video player, etc.), and the target content of the target application may include at least one of a specific video and a specific audio.
[0049] In some implementations, when the target model analyzes the voice input, it can also obtain a content tag that represents the user's intention to send the voice input. The application platform installed in the device or in the cloud can determine the target application based on the content tag, and obtain the corresponding display element from the target application based on the content tag (for example, the content tag can be sent to the target application so that the target application obtains the corresponding display element based on the content tag). For example, refer to Figure 5 , Figure 5A schematic diagram of a page displaying a reply message is shown. The reply message to the voice command "Hi Simo, what are some good songs recently?" contains: "image display elements". These display elements can be used to display information associated with content tags in the reply message in a non-textual manner such as images. The content tags can represent the user's intention to issue a voice input, that is, the content tags can be used to determine the display elements. For example, in Figure 5 In the page shown, the content tag obtained by analyzing the user's voice command is: "I want to listen to the latest good songs", then the display element obtained based on the content tag can be associated with the content tag as a reply result of the content tag.
[0050] That is, in this embodiment, the display element obtained by the target application based on the content tag may include at least one image, and the display element is used to display the response result to the content tag in an image manner. In other words, the display element obtained by the target application based on the content tag is used to display the response result associated with the target application to the voice input in a non-textual manner such as an image. In other words, the display element obtained by the target application based on the content tag is used to represent the response result associated with the target application after the database update date of the target model.
[0051] For example, Figure 5 In the example, the three display elements in the form of images obtained based on the content tags respectively represent the popular and widely welcomed songs that have recently emerged on the music platform X. In addition, in some embodiments, the display elements obtained by the target application based on the content tags may each correspond to an introduction text corresponding to the display element, and the introduction text and the display element together constitute structured data inserted into the reply message.
[0052] In addition to the display element, the reply information corresponding to the content tag may also include a text introduction frame generated by the target model. The text introduction frame may be called text reply information, and the text reply information is used to introduce the display element.
[0053] refer to Figure 6 , Figure 6Another schematic diagram of a page showing reply information is shown, in which the voice input from the user includes: "Hi Simo, I heard that the scenery in City B is very beautiful", and the target model responds to the voice input and generates a reply content including: "City B, located in the northeast region, is a prefecture-level city in Province Y, with multiple 5A-level scenic spots. The following are several popular scenic spots", a text introduction information, a display element obtained by the target application (such as M Map) based on the content tag, and an introduction text corresponding to the display element; wherein the three image-based display elements obtained by the target application (such as M Map) based on the content tag are used to display scenic spot A, scenic spot B, and scenic spot C respectively; the introduction text corresponding to the image-based display elements are used to introduce the names of scenic spots A, scenic spot B, and scenic spot C and the areas where they are located (information such as being located in District C of City B, located in District D of City B, etc.). Voice input can refer to words, phrases, and sentences composed based on natural language. Content tags may refer to tags obtained based on speech input analysis. For example, when the speech input includes the sentence "I am in a bad mood", the content tags corresponding to the speech input may include: "I want to listen to music" or "I want to watch funny videos / movies", etc. When the speech input includes the sentence "I heard that the scenery in City B is very beautiful", the content tags corresponding to the speech input may include: "Recommend navigation routes from the current location to City B", "Recommend travel guide for City B", "Recommend special snacks in City B", etc. Content tags may be obtained by the target model based on speech input analysis, or may be obtained through database query or other methods. This specification does not limit this, and it depends on the actual situation. For example, in order to enable the target model to better understand the speech input, in an optional implementation, the target model includes template data, and the template data includes the correspondence between content tags and speech input;
[0054] The target application is determined using a content tag that matches the voice input.
[0055] In this embodiment, the Prompt training method can be used to guide the target model to recognize specific content tags. Specifically, a series of template data can be pre-designed, and these template data can serve as a framework for the target model to understand content tags. The template data can be a correspondence between a fill-in-the-blank sentence (such as "Please help me [action]") and a content tag, or a correspondence between a more specific guiding sentence (such as "Show [data type] information") and a content tag. This specification does not limit the specific format of the template data, which depends on the actual situation.
[0056] After the template data is designed and stored, when it is necessary to determine the content label corresponding to the voice input, the content label corresponding to the voice input can be quickly and accurately obtained by traversing the template data using the voice input, thereby ensuring the accuracy of determining the content label and improving the efficiency of determining the content label. In some embodiments, the content label includes at least one of a user emotion, a geographic location, a control object, and a multimedia content identifier.
[0057] In order to facilitate the user to trigger the target content in the reply message, in some embodiments, the information interaction method further includes:
[0058] In response to a triggering operation on the display element, executing an operation corresponding to the triggered display element;
[0059] The operation includes a target action and / or an action set, wherein the target action includes playing content corresponding to the triggered display element based on the application, or navigating according to a navigation route corresponding to the triggered display element, turning on fragrance, turning on ambient lighting, and turning on air conditioning based on the application, and the action set includes a set of multiple target actions.
[0060] In this embodiment, in addition to supporting the triggering of a single action (target action), it also supports the triggering of multiple continuous / coordinated actions (action sets), enriching the user's triggerable operation types and helping to optimize the user experience.
[0061] The content corresponding to the display element includes but is not limited to audio data, video data, and games. The trigger operation includes but is not limited to at least one of a voice trigger operation, a touch trigger operation, and the like. Figure 5 and Figure 6 After displaying the reply message, the user can perform trigger operations on the display elements based on the various display elements in the reply message, so that the target model performs the operation corresponding to the triggered display element, which improves the user's convenience in triggering the target content in the reply message and is conducive to improving the convenience of interaction between the user and the target model.
[0062] In some implementations, a feasible process for generating reply information is provided. Specifically, referring to Figure 7 , the information interaction method includes:
[0063] In response to voice input, parsing the voice input to obtain the content tag;
[0064] generating a text reply message based on the content tag, and sending the content tag to at least one of the target applications, wherein the content tag is used to instruct the target application to return the display element;
[0065] The reply information is generated based on the text reply information and the display element.
[0066] In this embodiment, the user makes a voice input, and the target model parses the voice input to obtain a content tag. After obtaining the content tag, the target model can generate a text reply message based on the content tag, select a target application to be sent based on the content tag, and send the content tag to these target applications to be sent.
[0067] After receiving the content tag, the target application obtains the display element based on the content tag and returns it to the target model. The target model generates the final reply information based on the text reply information and the display element and displays it to the user.
[0068] In the above process, after the target model parses and obtains the content tag, it can send the content tag to at least one target application to obtain at least one image or other display element related to the content tag from the target application. After the target model obtains at least one image or other display element returned by the target application, it can decide which display elements to put into the reply information to display to the user. On the basis of achieving the purpose of intuitively displaying the reply results in a combination of pictures and texts, it also takes advantage of the higher frequency of database updates of the target application, so that the timeliness of the display elements is better.
[0069] In an optional embodiment, as described above, the target model may be set in the cloud;
[0070] In response to receiving the user's voice input, determining the target application comprises:
[0071] Sending input information to the cloud and receiving feedback information from the cloud, the feedback information including the target application and content tags, the target application and the content tags being obtained by processing the voice input using the target model, the input information including the voice input and vehicle status, and the content tags being used to determine the display element;
[0072] The target application and the content tag are determined from the feedback information.
[0073] In this embodiment, the target model is set in the cloud, which can reduce the hardware resource requirements for the local computing device.
[0074] In another optional embodiment, the target model is disposed in a vehicle;
[0075] In response to receiving the user's voice input, determining the target application comprises:
[0076] In response to receiving a user's voice input, the input information is input into the target model so that the input information is processed using the target model to determine a content tag corresponding to the voice input and a target application corresponding to the input information, wherein the input information includes the voice input and a vehicle status, and the content tag is used to determine the display element.
[0077] In this embodiment, the target model is set locally in the vehicle, and there is no need to transmit voice input and information fed back by the target model between the local and cloud, which is beneficial to optimizing communication delays and improving response rates.
[0078] In order to make the number and order of display elements in the reply information more reasonable, avoid the problem of lengthy or complicated reply information caused by listing a large number of display elements, and avoid the problem of unimportant or relatively less relevant display elements being arranged in the front, in some embodiments, the display reply information includes:
[0079] Based on the content tag, generate text reply information;
[0080] Based on the decision information, the display elements returned by the application platform are screened; the decision information is used to represent at least one of the user's historical use information of the application program and the user's preference information; the application platform is used to receive the content tag and return the display element based on the content tag;
[0081] Based on the text reply information and the filtered display elements, the reply information is generated and displayed.
[0082] In this embodiment, after the target model obtains the display elements returned by the target application, it can process these display elements based on the decision information to determine at least one of the number and order of the display elements. In this way, it can avoid the problem of a large number of display elements being listed in the reply information when the number of display elements returned by the target application is large, resulting in lengthy or complicated reply information, and it can also avoid the problem of unimportant or relatively less relevant display elements being arranged in the front.
[0083] In order to increase the probability that the reply information contains information that hits the user's true intention, in some implementations, if the matching degrees between the user input and multiple content tags are relatively high (for example, the matching degrees between the user input and multiple content tags are greater than a preset value), the multiple content tags matching the user input can be sent to target applications corresponding to the multiple content tags, respectively, instructing these target applications to obtain content tags based on the received content tags and return them to the target model. For example, assuming that the user input includes: "I am in a bad mood", the target model determines that the content tag is "I want to listen to sad songs" or "I want to watch funny videos / movies" based on the user input. The target model can send the content tag "I want to listen to sad songs" to the target application A of the song type, and send the content tag "I want to watch funny videos / movies" to the target application B of the video type. The target application A returns the posters or album covers of songs 1 to 5 as display elements to the target model based on the content tag "I want to listen to sad songs"; the target application B returns the promotional posters of movies / short videos 1 to 5 and other related display elements to the target model based on the content tag "I want to watch funny videos / movies". The target model sorts the display elements according to the decision information based on the ten returned display elements, and inserts the top three or top five display elements into the target position of the text reply information to obtain the reply information. In an optional implementation, the screening of the display elements returned by the application platform based on the decision information includes:
[0084] Determine at least one of the number of display elements and the order of display elements of the elements to be inserted based on at least one of the trigger information and the collection information of the display elements;
[0085] The trigger information includes at least one of the number of times each display element is triggered by the user and the trigger ratio, wherein the trigger ratio includes the ratio of the number of times each display element is triggered by the user to the number of times the display element appears in the reply information; the collection information is used to indicate whether the display element is collected by the user;
[0086] The element to be inserted is inserted into the target position of the text reply information to obtain the reply information.
[0087] In this embodiment, since the trigger information of the display element includes at least one of the number of times the display element is triggered by the user and the triggering ratio, it can, to a certain extent, represent the user's interest in the target content corresponding to each display element or the degree of relevance between the target content corresponding to each display element and the content label. Therefore, the display elements in the reply information determined based on the above method can be more in line with the user's preferences, or can be more in line with the user's true intentions.
[0088] In some embodiments, the information interaction method further includes:
[0089] In response to an element switching instruction, updated reply information is displayed, and the updated reply information includes display elements of other target applications; the reply information and the target applications included in the updated reply information are both obtained after the target model analyzes the voice input.
[0090] The element switching instruction includes but is not limited to a voice instruction (the voice instruction may be, for example, an instruction output by the user containing information such as "change a batch" or the like), a touch instruction, etc. When the user outputs the element switching instruction, the execution display update reply information may be responded to, that is, the display elements of the displayed target application are replaced, so as to meet the user's need to switch to the next batch of display elements of the target application when the user does not find the desired content in the display elements of the target application in the reply information.
[0091] In an optional implementation, the target model analyzes the voice input once to obtain multiple target applications, which can be sorted according to rules such as user preferences, and then the first N target applications are placed in the reply message for display according to the number of target applications that can be displayed in the display area, and the N+1 to N+M target applications are placed in the updated reply message. After receiving an element switching instruction, the display elements of the N+1 to N+M target applications are displayed, and N and M can be the same or different.
[0092] The target position of the text reply message may refer to a position reserved for the element to be inserted. In some embodiments, the text reply message may include a universal text template corresponding to the content tag, that is, for a certain type of content tag, the universal text template may be used as the text reply message. In the universal text template, a target position may be reserved for the element to be inserted. For example, Figure 8 , for the content tag: "I want to listen to sad love songs", the corresponding general text template can include: "When you are in a bad mood, sad love songs can sometimes become an outlet for your emotions, helping you to vent and heal. Here are some recommended sad love songs, I hope they can accompany you through this time: [target position], everyone's emotions are unique, I hope you can find a song that can really touch your heart. At the same time, I also hope that you can get out of your low mood as soon as possible and embrace a better future."
[0093] In this way, since the general text template can adapt to at least one type of content tag, it is helpful to improve the generation speed of text reply information.
[0094] In addition to assigning corresponding general text templates to each content tag as text reply information as described above, text reply information of different styles can also be generated according to user preferences. For example, in one embodiment, generating text reply information based on the content tag includes:
[0095] The text reply information is generated based on the content tag and the user portrait, where the user portrait is used to describe the user's style preference for the text reply information.
[0096] In this embodiment, when generating text reply information, the user portrait used to describe the user's style preference for the text reply information is also considered. In this way, text reply information of different styles (such as serious style, lively style, etc.) can be generated based on the user portrait, which is conducive to making the generated text reply information more in line with user preferences and improving satisfaction with the reply information.
[0097] In order to standardize the communication between the target model and the target application and improve the scalability of the communication between the target model and the target application, in one embodiment, an application interface is established between the target model and the target application;
[0098] The target model may send the content tag to the target application through the application interface.
[0099] In this embodiment, an application interface of a unified format is established between the target model and each application, so that the target model can call various types of data in the application by sending requests to the application interface, so that the format of the request sent by the target model to the application interface is unified, which is conducive to the standardization of communication between the target model and the application. In addition, when a user installs a new application in a computing device, a new and secure application interface between the application and the target model can also be established during the installation process, so that the communication between the target model and the application can be expanded. The application interface includes but is not limited to an API (Application Programming Interface) interface.
[0100] In order to explore the potential intentions of users and target models during the chatting process, in one embodiment of the present specification, the content tag includes chatting information, the chatting information has no clear content tag, and the content tag is used to represent the opening intention directed to the target application.
[0101] That is, in this embodiment, the content tags corresponding to the chat information can be obtained by analyzing the chat information, so as to achieve the purpose of discovering the potential intentions of the user and the target model in the chat process. Non-chat information refers to information that clearly indicates the opening of a target application, such as: "Open A music platform", "Play "Song 1", "I want to listen to "Song 2", etc. Chat information can include various types of information such as the user's mood and address that do not directly point to opening a specific target application, such as: "I am a little happy today", "I heard that the food in N restaurant is delicious", etc.
[0102] In one embodiment, still referring to Figure 5 The display interface includes a target area, and the target area is used to display the text corresponding to the user's voice input and the reply information presented in the form of a dialogue.
[0103] In this embodiment, the display interface provided by the device can display the text and the reply information corresponding to the user's voice input in the form of a dialogue in the target area. In this way, the user can trace back the previous voice inputs and reply information based on the content displayed in the target area, and also feedback the reply information in a variety of forms (text, image, voice), which helps the user to learn about the relevant reply information in a timely manner.
[0104] Accordingly, when the device equipped with the target model is installed in a vehicle, in order to make the reply information more relevant to the application scenario, in one embodiment, the target application is obtained by analyzing the input information using the target model;
[0105] The input information includes the voice input and the vehicle status.
[0106] In this embodiment, the target application is determined based on voice input and vehicle status, so that the target application determined by this method can be closer to the vehicle application scenario. At the same time, the determined target application corresponds to the vehicle status, which can meet the user's needs for using the target application in different vehicle states.
[0107] When the vehicle state is different, the target application obtained after the target model analyzes the input information is at least partially different. For example, in one embodiment, the vehicle state includes but is not limited to the gear state, vehicle speed, throttle opening and other states. When the vehicle state is different, the determined target application may be different. For example, when the vehicle is parked as determined by the gear state, the user's voice input is: "a bit boring", the target application may include: game applications, video applications and audio applications. When the vehicle is in a driving state as determined by the gear state, the user's voice input is: "a bit boring", because the user's game operation or video viewing operation during driving will greatly affect driving safety, at this time, the target application may include: audio application.
[0108] Exemplary Related Devices
[0109] In one embodiment of the present specification, a vehicle is further provided, the vehicle comprising a computing device, the computing device carrying an application, wherein:
[0110] The computing device is configured to determine a target application in response to receiving a user's voice input, the target application being obtained after analyzing the voice input using a target model;
[0111] The reply information is displayed, where the reply information includes a display element of the target application, and the display element is used to trigger opening of the target application.
[0112] The device equipped with the target model includes but is not limited to at least one of the vehicle's central control screen, entertainment screen, etc. For the relevant definition of the target model, please refer to the relevant description above.
[0113] In an exemplary embodiment of the present specification, an information interaction device is further provided, the information interaction device comprising:
[0114] A determination module, configured to determine a target application in response to receiving a voice input from a user, wherein the target application is obtained by analyzing the voice input using a target model;
[0115] The display module is used to display the reply information, wherein the reply information includes a display element of the target application, and the display element is used to trigger the opening of the target application.
[0116] For the specific definition of the information interaction device, please refer to the definition of the information interaction method above, which will not be repeated here. Each module in the above-mentioned information interaction device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0117] Exemplary Computing Devices
[0118] Another embodiment of this specification also provides a computing device, see Fig. 9 As shown, an exemplary embodiment of the present specification also provides a computing device, including: a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the information interaction method according to various embodiments of the present specification described in the above embodiments of the present specification are executed.
[0119] The internal structure of the computing device can be as follows Fig. 9 As shown, the computing device includes a processor, a memory, a network interface and an input device connected through a system bus. Among them, the processor of the computing device is used to provide computing and control capabilities. The memory of the computing device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computing device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps of the information interaction method according to various embodiments of the present specification described in the above embodiments of the present specification are performed.
[0120] The processor may include a main processor and may also include a baseband chip, a modem, etc.
[0121] The memory stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes computer operation instructions. More specifically, the memory may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0122] The processor may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0123] The input device may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0124] Output devices may include means that allow information to be output to a user, such as display screens, printers, speakers, etc.
[0125] The communication interface may include using any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0126] The processor executes the program stored in the memory and calls other devices, which can be used to implement each step of any information interaction method provided in the above embodiments of this specification.
[0127] The computing device may also include a display component and a voice component. The display component may be a liquid crystal display or an electronic ink display. The input device of the computing device may be a touch layer covered on the display component, or a button, trackball or touchpad provided on the housing of the computing device, or an external keyboard, touchpad or mouse.
[0128] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of this specification, and does not constitute a limitation on the computing device to which the scheme of this specification is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0129] Exemplary computer program products and storage media
[0130] In addition to the above-mentioned methods and devices, the information interaction method provided in the embodiments of this specification may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the information interaction method according to various embodiments of this specification described in the above "Exemplary Method" section of this specification.
[0131] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0132] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present specification, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0133] In addition, an embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the information interaction method according to various embodiments of the present specification described in the above "Exemplary Method" section of the present specification.
[0134] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this specification can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0135] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0136] The above-mentioned embodiments only express several implementation methods of this specification, and the descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the solutions provided by the embodiments of this specification. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of this specification, which all belong to the protection scope of this specification. Therefore, the protection scope of the patent of this specification shall be based on the attached claims.
Claims
1. An information interaction method, It is characterized in that The information interaction method comprises: In response to receiving a voice input from a user, determining a target application, the target application being obtained after analyzing the voice input using a target model; The reply information is displayed, where the reply information includes a display element of the target application, and the display element is used to trigger opening of the target application.
2. The method according to claim 1, It is characterized in that The determining of the target application includes: determining a target application corresponding to the voice input and a target content of the target application; The reply information includes a plurality of display elements of the target application, wherein the display elements are used to trigger opening of the target application and playing of the target content, and the target contents corresponding to the plurality of display elements are different.
3. The method according to claim 1, It is characterized in that The display interface includes a target area, and the target area is used to display the text corresponding to the user's voice input and the reply information presented in the form of a dialogue.
4. The method according to claim 1, It is characterized in that The target model is set in the cloud; In response to receiving the user's voice input, determining the target application comprises: Sending input information to the cloud and receiving feedback information from the cloud, the feedback information including the target application and content tags, the target application and the content tags being obtained by processing the voice input using the target model, the input information including the voice input and vehicle status, and the content tags being used to determine the display element; The target application and the content tag are determined from the feedback information.
5. The method according to claim 1, It is characterized in that The target model is arranged in the vehicle; In response to receiving the user's voice input, determining the target application comprises: In response to receiving a user's voice input, the input information is input into the target model so that the input information is processed using the target model to determine a content tag corresponding to the voice input and a target application corresponding to the input information, wherein the input information includes the voice input and a vehicle status, and the content tag is used to determine the display element.
6. The method according to any one of claims 1 to 5, It is characterized in that Also includes: In response to a triggering operation on the display element, executing an operation corresponding to the triggered display element; The operation includes a target action, and / or an action set; Among them, the target action includes: playing the content corresponding to the triggered display element based on the application, or navigating according to the navigation route corresponding to the triggered display element, turning on the fragrance, turning on the ambient light and turning on the air conditioner based on the application, and the action set includes a set of multiple target actions.
7. The method according to claim 1, It is characterized in that The target model includes template data, and the template data includes a correspondence between content tags and speech inputs; The target application is determined using a content tag that matches the voice input.
8. The method according to any one of claims 4, 5 or 7, It is characterized in that The displayed reply information includes: Based on the content tag, generate text reply information; Based on the decision information, the display elements returned by the application platform are screened; the decision information is used to represent at least one of the user's historical use information of the application program and the user's preference information; the application platform is used to receive the content tag and return the display element based on the content tag; Based on the text reply information and the filtered display elements, the reply information is generated and displayed.
9. The method according to claim 8, It is characterized in that The filtering of the display elements returned by the application platform based on the decision information includes: Determine at least one of the number of display elements and the order of display elements of the elements to be inserted based on at least one of the trigger information and the collection information of the display elements; The trigger information includes at least one of the number of times each display element is triggered by the user and the trigger ratio, wherein the trigger ratio includes the ratio of the number of times each display element is triggered by the user to the number of times the display element appears in the reply information; the collection information is used to indicate whether the display element is collected by the user; The element to be inserted is inserted into the target position of the text reply information to obtain the reply information.
10. The method according to claim 8, It is characterized in that The generating text reply information based on the content tag includes: The text reply information is generated based on the content tag and the user portrait, where the user portrait is used to describe the user's style preference for the text reply information.
11. The method according to any one of claims 1 to 5, It is characterized in that The target application is obtained by analyzing the input information using the target model; The input information includes the voice input and the vehicle status.
12. The method according to any one of claims 1 to 5, It is characterized in that Also includes: In response to the element switching instruction, display update reply information, wherein the update reply information includes display elements of other target applications; The target application included in the reply information and the update reply information is obtained after the target model analyzes the voice input.
13. A vehicle, It is characterized in that The vehicle includes a computing device, the computing device is equipped with an application, wherein: The computing device is configured to determine a target application in response to receiving a user's voice input, the target application being obtained after analyzing the voice input using a target model; The reply information is displayed, where the reply information includes a display element of the target application, and the display element is used to trigger opening of the target application.
14. A computing device, It is characterized in that The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the information interaction method according to any one of claims 1 to 12 when executing the computer program.
15. A computer program product, It is characterized in that include: A computer program, wherein when the computer program is executed by a processor, the information interaction method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Smart card determination method and device, storage medium and electronic device
CN114327349A
Multi-mode reply generation method and device, electronic equipment and storage medium
CN116401349A
Voice interaction method, electronic equipment and voice assistant development platform
CN117334183A
Interface jumping method and device, equipment and storage medium
CN117369683A
Cited By
Information acquisition method and apparatus, electronic device, storage medium, and program product
WO2026175353A1
