Session information processing method and apparatus, electronic device, and readable storage medium

By receiving user input to the target recipe interface, matching the database information associated with the target recipe and providing accurate responses, the intelligent question-and-answer assistant solves the problem of low semantic analysis accuracy in the cooking field, and achieving efficient cooking information answers.

WO2024235001A1PCT designated stage expired Publication Date: 2024-11-21GUANGDONG MIDEA KITCHEN APPLIANCES MFG CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/090601
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-15
Filing Date
2024-04-29
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

The intelligent question and answer assistant has a low semantic analysis accuracy in the field of cooking, which leads to the inability to answer user questions accurately and reduces the user's cooking efficiency.

Method used

By receiving user input to the target recipe interface, match the database information associated with the target recipe, provide accurate response information, and use a general database to provide basic answers when the match fails, and update the database information to improve the accuracy of the answer.

Benefits of technology

It improves the correctness of semantic analysis and the accuracy of responses to cooking problems, improves the cooking efficiency of users, and can effectively deal with different answers to different questions in different recipes or cooking scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024090601_21112024_PF_FP_ABST
    Figure CN2024090601_21112024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a session information processing method and apparatus, an electronic device, and a readable storage medium. The session information processing method comprises: receiving a first user input for a target recipe interface; in response to the first input, displaying a target interface, content of the target interface being associated with a target recipe; receiving a second user input for the target interface, the second input being used for inputting target session information; and in response to the second input, outputting target response information, wherein the target response information is determined according to the target session information and a first database, and the first database is associated with the target recipe.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for processing session information, electronic device, and readable storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 15, 2023, with application number "202310540629.4" and application name "Method and device for processing session information, electronic device and readable storage medium" and the Chinese patent application filed with the China Patent Office on May 15, 2023, with application number "202310540555.4" and application name "Method and device for processing session information, electronic device and readable storage medium", the entire contents of which are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of intelligent question-answering technology, and more specifically, to a method and device for processing conversation information, an electronic device, and a readable storage medium. Background Art

[0003] With the development of artificial intelligence (AI) technology, intelligent question-and-answer assistants are becoming increasingly popular, enabling real-time answers to a wide range of user questions. However, in the field of cooking, due to the wide range of questions covered and the varying responses to the same question across different recipes or cooking processes, intelligent question-and-answer assistants have a low accuracy rate in semantically parsing cooking questions. This results in an inability to accurately answer user questions, reducing cooking efficiency.

[0004] Summary of the Invention

[0005] This application aims to solve at least one of the technical problems existing in the prior art or related art.

[0006] To this end, the first aspect of the present application is to propose a method for processing session information.

[0007] A second aspect of the present application is to provide a device for processing session information.

[0008] The third aspect of the present application is to propose another method for processing session information.

[0009] A fourth aspect of the present application is to propose another apparatus for processing session information.

[0010] A fifth aspect of the present application is to provide an electronic device.

[0011] The sixth aspect of the present application is to provide a readable storage medium.

[0012] According to the first aspect of the present application, a method for processing session information is proposed, the method comprising: receiving a first input from a user to a target recipe interface; in response to the first input, displaying a target interface, wherein the interface content of the target interface is associated with the target recipe; receiving a second input from the user to the target interface, wherein the second input is used to input target session information; and in response to the second input, outputting target response information; wherein the target response information is determined based on the target session information and a first database, and the first database is associated with the target recipe.

[0013] In some embodiments, the target response information includes first answer information, and outputting the target response information includes: matching the target session information with a first database to obtain a first matching result; if the first matching result is a successful match, outputting the first answer information; if the first matching result is a failed match, matching the target session information with a second database to obtain a second matching result; and outputting the target response information based on the second matching result; wherein the second database is general data.

[0014] In some embodiments, matching the target session information with the first database to obtain a first matching result includes: determining a target text based on the target session information; matching and comparing the target text with multiple first information in the first database, where the first information is associated with the target recipe; if there is a successful match between the first information and the target text, determining the first matching result as a successful match; if the target text fails to match any of the first information, determining the first matching result as a failed match.

[0015] In some embodiments, the target response information also includes second answer information and setting information. Outputting the target response information according to the second matching result includes: when the second matching result is a successful match, outputting the second answer information; when the second matching result is a failed match, outputting the setting information, and the setting information indicates that there is no answer information in the target session information.

[0016] In some implementations, after outputting the target response information, the method for processing session information further includes: obtaining user feedback information regarding the target response information; and updating database information in the first database according to the feedback information.

[0017] According to a second aspect of the present application, a device for processing session information is proposed, which includes: a receiving unit for receiving a first input from a user to a target recipe interface; a display unit for displaying a target interface in response to the first input, wherein the interface content of the target interface is associated with the target recipe; the receiving unit is also for receiving a second input from the user to the target interface, wherein the second input is used to input target session information; a processing unit is for outputting target response information in response to the second input; wherein the target response information is determined based on the target session information and a first database, and the first database is associated with the target recipe.

[0018] In some embodiments, the target response information includes first answer information, and the processing unit is specifically configured to: match the target session information with the first database to obtain a first matching result; if the first matching result is a successful match, output the first answer information; if the first matching result is a failed match, match the target session information with the second database to obtain a second matching result; and output the target response information based on the second matching result; wherein the second database is a general database.

[0019] In some embodiments, the processing unit is specifically used to: determine the target text based on the target session information; match and compare the target text with multiple first information in the first database, where the first information is associated with the target recipe; if there is a successful match between the first information and the target text, determine the first matching result as a successful match; if the target text fails to match any of the first information, determine the first matching result as a failed match.

[0020] In some embodiments, the target response information also includes second answer information and setting information, and the processing unit is specifically used to: output the second answer information when the second matching result is a successful match; and output the setting information when the second matching result is a failed match, and the setting information indicates that there is no answer information in the target session information.

[0021] In some embodiments, the session information processing device further includes: an acquisition unit configured to acquire user feedback information regarding the target response information; and the processing unit is further configured to update database information of the first database according to the feedback information.

[0022] According to a third aspect of the present application, another method for processing session information is provided, the method comprising: receiving a first input from a user on a first interface, the first interface being an application interface of a first application, the first input being used to input first session information; and displaying target content in response to the first input; wherein the target content is first answer information or a second interface, the first answer information corresponding to the first session information, and the second interface being an application interface of a second application related to the first session information.

[0023] In some implementations, displaying the target content includes: determining a target text based on the first session information; parsing the target text and determining a target intent based on the parsing result; and displaying the target content based on the target intent.

[0024] In some embodiments, displaying target content according to the target intent includes: matching the target intent with a first database, where the first database corresponds to the first application; and displaying the target content according to the matching result.

[0025] In some embodiments, displaying the target content according to the matching result includes: displaying the first answer information when the target intent successfully matches the first database; and displaying the second interface when the target intent fails to match the first database.

[0026] In some embodiments, after displaying the target content, the method for processing session information further includes: displaying the target information on a second interface, the target information being associated with the first session information; and / or displaying second answer information in response to a second input of the user on the second interface, the second input being used to input second session information, the second answer information being determined based on a second database and the second session information, the second database corresponding to the second application.

[0027] According to a fourth aspect of the present application, another apparatus for processing session information is provided, the apparatus comprising: a receiving unit for receiving a first input from a user on a first interface, the first interface being an application interface of a first application, the first input being used to input first session information; and a display unit for displaying target content in response to the first input; wherein the target content is first answer information or a second interface, the first answer information corresponding to the first session information, and the second interface being an application interface of a second application related to the first session information.

[0028] In some embodiments, the session information processing device further includes: a processing unit configured to determine a target text based on the first session information; parse the target text and determine a target intent based on the parsing result; and a display unit configured to display target content based on the target intent.

[0029] In some embodiments, the processing unit is specifically configured to match the target intent with a first database, where the first database corresponds to the first application; and the display unit is specifically configured to display the target content according to the matching result.

[0030] In some embodiments, the display unit is specifically configured to: display the first answer information when the target intention successfully matches the first database; and display the second interface when the target intention fails to match the first database.

[0031] In some embodiments, after displaying the target content, the display unit is further configured to: display target information on a second interface, the target information being associated with the first session information; and / or display second answer information in response to a second input of the user on the second interface, the second input being used to input second session information, the second answer information being determined based on a second database and the second session information, the second database corresponding to the second application.

[0032] According to the fifth aspect of the present application, an electronic device is proposed, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method for processing session information as in any of the technical solutions of the first aspect above are implemented, or when the program or instructions are executed by the processor, the steps of the method for processing session information as in any of the technical solutions of the third aspect above are implemented.

[0033] According to the sixth aspect of the present application, a readable storage medium is proposed, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements the method for processing session information as in any of the technical solutions in the first aspect above, or when the program or instruction is executed by a processor, it implements the method for processing session information as in any of the technical solutions in the third aspect above.

[0034] Additional aspects and advantages of the present application will become apparent in the following description or may be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0036] FIG1 shows a flow chart of a method for processing session information according to an embodiment of the present application;

[0037] FIG2 shows a second flow chart of a method for processing session information according to an embodiment of the present application;

[0038] FIG3 shows a third flow chart of a method for processing session information according to an embodiment of the present application;

[0039] FIG4 shows a fourth flow chart of a method for processing session information according to an embodiment of the present application;

[0040] FIG5 shows a fifth flow chart of a method for processing session information according to an embodiment of the present application;

[0041] FIG6 shows a schematic diagram of a method for processing session information according to an embodiment of the present application;

[0042] FIG7 shows one of the schematic diagrams of the operation interface of the method for processing session information according to an embodiment of the present application;

[0043] FIG8 shows a structural block diagram of a device for processing session information according to an embodiment of the present application;

[0044] FIG9 shows a sixth flow chart of a method for processing session information according to an embodiment of the present application;

[0045] FIG10 shows a seventh flow chart of a method for processing session information according to an embodiment of the present application;

[0046] FIG11 shows an eighth flow chart of a method for processing session information according to an embodiment of the present application;

[0047] FIG12 shows a ninth flow chart of a method for processing session information according to an embodiment of the present application;

[0048] FIG13 shows a tenth flowchart of a method for processing session information according to an embodiment of the present application;

[0049] FIG14 shows a flowchart of the method for processing session information according to an embodiment of the present application;

[0050] FIG15 shows a second schematic diagram of an operation interface of the method for processing session information according to an embodiment of the present application;

[0051] FIG16 shows a second structural block diagram of the apparatus for processing session information according to an embodiment of the present application;

[0052] FIG17 shows a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to more clearly understand the above-mentioned objects, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features therein can be combined with each other in the absence of conflict.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0055] The following, in conjunction with Figures 1 to 17, describes in detail the session information processing method and device, electronic device, and readable storage medium provided in the embodiments of the present application through specific embodiments and their application scenarios.

[0056] In one embodiment of the present application, as shown in FIG1 , the method for processing session information may specifically include the following steps 102 to 108:

[0057] Step 102, receiving a first input from a user on a target recipe interface;

[0058] Step 104: displaying a target interface in response to the first input;

[0059] Step 106, receiving a second input from the user on the target interface;

[0060] Step 108, outputting target response information in response to the second input;

[0061] Among them, the interface content of the target interface is associated with the recipe content of the target recipe, the second input is used to input the target session information, the target response information is determined based on the matching results of the first database and the target session information, and the first database is associated with the recipe content of the target recipe.

[0062] The technical solution for the session information processing method provided in this application can be implemented by an electronic device or a session information processing device, and the implementation can be determined based on actual usage requirements, and is not specifically limited here. To more clearly describe the session information processing method provided in this application, the following description assumes that the implementation of the session information processing method is an electronic device.

[0063] The method for processing session information provided in this application is used to accurately answer cooking questions raised by users, so as to help users cook and improve their cooking efficiency.

[0064] In some implementations, the method for processing session information provided herein may be specifically executed by an electronic device having data analysis and data processing functions.

[0065] In some embodiments, the electronic device may be a smart phone, a smart watch, a tablet computer, a laptop computer or other smart device, which is not specifically limited here.

[0066] In some embodiments, when a user views a target recipe through an electronic device and thus opens a target recipe interface in the electronic device, the electronic device may receive a first input from the user on the target recipe interface. In response to the first input from the user, the electronic device displays a question-and-answer interface, namely the target interface, that has a strong correlation with the target recipe on the display screen of the electronic device. The interface content displayed on the target interface is related to the recipe content of the target recipe. On this basis, the electronic device receives a second input from the user on the target interface, which is the input of the target question, namely the target conversation information, entered by the user in the target interface. Furthermore, in response to the second input, the electronic device answers the target question raised by the user and outputs corresponding target answer information. The target answer information is determined based on the matching result between the first database and the target question input by the user. The database content of the first database is strongly correlated with the recipe content of the target recipe, that is, the first database stores a series of information data associated with the target recipe.

[0067] In this way, based on the user's input into the target recipe interface, a question-and-answer interface that is strongly related to the target recipe is displayed, and then based on the first database that is strongly related to the target recipe, the target question related to the target recipe entered by the user in the question-and-answer interface is answered. In this way, on the one hand, the question-and-answer interface is strongly related to the target recipe, and can semantically parse the user's question based on the recipe content, thereby improving the accuracy of the semantic parsing of the user's question; on the other hand, the user's question is answered based on the first database that is strongly related to the target recipe, that is, based on the target recipe corresponding to the user's question, a targeted response to the user's question is given, achieving detailed processing of the user's question and ensuring a high degree of matching between the response information and the user's question, thereby being able to effectively deal with the problem that different questions have different answers in different recipes or cooking scenarios. Based on this, accurate answers to cooking questions raised by users are achieved, thereby improving the user's cooking efficiency.

[0068] In some embodiments, the first input is a user's touch input to the target recipe interface of the electronic device. The touch input may specifically be a single-click input, a double-click input, a sliding input, an input along a preset trajectory, etc. Those skilled in the art may set the specific form of the first input according to actual conditions, and no specific limitation is made here.

[0069] In some embodiments, the target recipe interface may display a first control that indicates an entry to the target interface. Alternatively, the first input may be a user's touch input to the first control, which is not particularly limited herein.

[0070] In some embodiments, while the electronic device is displaying the question-and-answer interface (i.e., the target interface), the electronic device may specifically jump from the target recipe interface to the target interface, displaying the target interface in full screen. In actual applications, the electronic device may also display a target window suspended within the target recipe interface, and display the target interface within the target window. The specific display method of the target interface can be configured by those skilled in the art based on actual circumstances and is not specifically limited herein.

[0071] In some embodiments, the second input is a user touch input on the target interface. In actual application, the target interface may display an information input control, and the second input may specifically be a user touch input on the information input control. In response to the touch input, the electronic device outputs corresponding target response information based on the first database and the target session information entered by the user.

[0072] In some implementations, the information input control may specifically be a text input control or a voice input control, and the target conversation information may specifically be text conversation information or voice conversation information, which is not specifically limited herein.

[0073] In some embodiments, when the electronic device responds to the target conversation information input by the user and outputs the target response information, if the target conversation information is text conversation information, the electronic device directly compares the text conversation information with a series of information data in the first database and then responds to the user's text conversation information based on the matching results. If the target conversation information is voice conversation information, the electronic device converts the voice conversation information into text information and then responds to the user's voice conversation information based on the matching comparison results of the text information with the first database.

[0074] For example, as shown in FIG7 (a), a target recipe interface 202 is displayed on the display screen of the electronic device, and a first control 204 and a first content 206 are displayed on the target recipe interface 202. Among them, the first content 206 can specifically be a recipe introduction and a recipe picture of the target recipe. The electronic device receives a single-click input of the user on the first control 204. As shown in FIG7 (b), the electronic device jumps to display the target interface 208 in response to the single-click input. The target interface 208 displays an information input control 210 and a second content 212. Among them, the information input control 210 is a text input control or a voice input control, and the second content 212 is strongly related to the recipe content of the target recipe. Furthermore, as shown in (c) of FIG7 , the user may input target conversation information 214 in the target interface 208 through touch input on the information input control 210. The target conversation information 214 is text conversation information or voice conversation information. The electronic device responds to the user's touch input, answers the target conversation information 214 input by the user, and outputs and displays the corresponding target response information 216.

[0075] In some embodiments of the present application, the target response information may specifically include first answer information. On this basis, as shown in FIG2 , step 108 may specifically include the following steps 108a to 108d:

[0076] Step 108a, in response to the second input, matching and comparing the first database with the target session information to obtain a first matching result;

[0077] Step 108b: outputting first answer information based on the first matching result being a successful match;

[0078] Step 108c: based on the first matching result being a match failure, matching and comparing the second database with the target session information to obtain a second matching result;

[0079] Step 108d: outputting target response information according to the second matching result;

[0080] The second database is a general database.

[0081] In this embodiment, when the electronic device answers the user's input target conversation information and outputs the corresponding target answer information, it compares the target conversation information with a first database that is strongly related to the target recipe. If the first database successfully matches the target conversation information, the electronic device outputs the corresponding first answer information based on the matching database content of the first database. If the first database fails to match the target conversation information, the electronic device continues to use the general database, i.e., the second database, to provide a fallback answer to the user's input target question. Specifically, the electronic device compares the second database with the user's input target conversation information and answers the user's question based on the matching result, thereby outputting the corresponding target answer information. In this way, if a matching answer exists in the first database that is strongly related to the target recipe, the user's question is directly answered based on the database content of the first database. If no matching answer exists in the first database, the fallback answer is provided based on the general database. This ensures both the accuracy and efficiency of the answers to the user's questions.

[0082] In some embodiments, the first database stores a series of recipe information data related to the target recipe, and the second database stores a series of general information data in the cooking field.

[0083] In some embodiments, in the process of the electronic device matching the first database with the user's target session information, the electronic device compares and matches the user's target session information with a series of recipe information data stored in the first database to determine whether there is recipe information data corresponding to the target session information in the first database.

[0084] In some embodiments, when the electronic device matches the second database with the user's target session information, the electronic device compares and matches the user's target session information with a series of general information data stored in the second database to determine whether there is general information data corresponding to the target session information in the second database.

[0085] In some embodiments, the second database may be a database pre-stored in a storage area of ​​the electronic device, or a shared database of a third-party software or website, which is not specifically limited herein.

[0086] In some embodiments, the electronic device may establish different matching models for different target recipes, and then use the matching models to match and compare the first database and the target session information input by the user, thereby answering the user's questions. Among them, there is a one-to-one correspondence between the target recipe, the first database, and the matching model. Based on this, the present application achieves targeted responses to the target session information input by the user, achieves detailed processing of user questions, and ensures a high degree of matching between the response information and the user's questions, thereby effectively addressing the problem that different questions have different answers in different recipes or cooking scenarios, and achieves accurate answers to cooking questions raised by users, thereby improving the user's cooking efficiency.

[0087] For example, as shown in FIG6 , in the method for processing conversation information proposed in the embodiment of the present application, there is a one-to-one correspondence between the target recipe, the first database, and the matching model. When a user asks a question about recipe 1, the electronic device matches and compares the question raised by the user with database 1 through model 1; when a user asks a question about recipe 2, the electronic device matches and compares the question raised by the user with database 2 through model 2; when a user asks a question about recipe n, the electronic device matches and compares the question raised by the user with database n through model n. Based on this, the electronic device determines whether the question raised by the user is successfully matched with the corresponding database, that is, the electronic device determines whether there is an answer corresponding to the user's question in the database. If there is an answer corresponding to the user's question in the database, the electronic device directly outputs the corresponding answer information. If there is no answer corresponding to the user's question in the database, the electronic device continues to answer the user's question through the general database based on the fallback algorithm, thereby outputting the corresponding answer information.

[0088] In some embodiments of the present application, as shown in FIG3 , step 108a may specifically include the following steps 108a1 to 108a4:

[0089] Step 108a1, determining the target text according to the target conversation information;

[0090] Step 108a2, matching and comparing the plurality of first information in the first database with the target text;

[0091] Step 108a3: if the first information matches the target text, determine the first matching result as a successful match;

[0092] Step 108a4: if any of the first information fails to match the target text, determining the first matching result as a match failure;

[0093] The first information is associated with the target recipe.

[0094] In this embodiment, a first database stores a series of recipe information data related to a target recipe, namely the aforementioned first information. Based on this, when the electronic device matches the first database with the user's target session information, the electronic device determines the corresponding target text based on the target session information entered by the user and compares the series of recipe information data stored in the first database with the target text. If corresponding recipe information data in the first database matches the target text, the electronic device determines that the match between the first database and the user's target session information is successful. If none of the series of recipe information data stored in the first database matches the target text, the electronic device determines that the match between the first database and the user's target session information is unsuccessful. In this way, the match between the first database and the target session information is determined based on the comparison results of the series of recipe information data stored in the first database with the target text corresponding to the user's target session information, ensuring the accuracy of the first matching result and, therefore, the precision of the response to the user's question.

[0095] In some implementations, the target conversation information may specifically be text conversation information or voice conversation information.

[0096] In some embodiments, in the process of the electronic device determining the target text, when the above-mentioned target conversation information is text conversation information, the electronic device directly determines the text conversation information as the above-mentioned target text; and when the above-mentioned target conversation information is voice conversation information, the electronic device converts the voice conversation information into text to obtain the corresponding target text.

[0097] In some embodiments of the present application, the target response information may further include setting information and second answer information. On this basis, as shown in FIG4 , step 108d may further include the following steps 108d1 and 108d2:

[0098] Step 108d1: outputting second answer information based on the second matching result being a successful match;

[0099] Step 108d2: outputting setting information based on the second matching result being a matching failure;

[0100] The setting information is used to indicate that the target conversation information does not contain answer information.

[0101] In this embodiment, when the electronic device responds to a user's question based on a comparison between the second database and the target conversation information entered by the user, if the second database successfully matches the target conversation information, the electronic device outputs corresponding second answer information based on the database content of the matching second database. If the second database fails to match the target conversation information, indicating that the target question entered by the user has not been successfully answered, the electronic device outputs and displays a setting message indicating that no answer information corresponding to the target question entered by the user, i.e., the target conversation information, exists in the database. In this way, if no matching answer exists in the first database, a fallback answer to the user's question is provided based on the general database, ensuring both the accuracy of the answer and the efficiency of the response.

[0102] In some embodiments, the second database stores a series of general information data in the field of cooking.

[0103] In some embodiments, when the electronic device matches the second database with the user's target conversation information, it compares and matches a series of general information data stored in the second database with the target text. If corresponding general information data in the second database matches the target text, the electronic device determines that the second database and the target conversation information entered by the user are successfully matched, and outputs corresponding second answer information based on the matching general data in the second database. If none of the series of general information data stored in the second database matches the target text, the electronic device determines that the second database and the target conversation information entered by the user have failed to match, i.e., it determines that answer information corresponding to the target question entered by the user does not exist in either the first or second databases, and outputs the set information. In this way, the matching result between the second database and the target conversation information is determined based on the matching and comparison results of the series of general information data stored in the second database with the target text, ensuring the accuracy of the second matching result, thereby improving the accuracy of the response to the user's question.

[0104] In some embodiments of the present application, as shown in FIG5 , after step 108 , the method for processing session information may further include the following steps 110 and 112 :

[0105] Step 110: Obtain user feedback information;

[0106] Step 112: updating the database information of the first database according to the feedback information;

[0107] The feedback information is associated with the target response information.

[0108] In this embodiment, after the electronic device responds to the target question input by the user, i.e., the target conversation information, the user can provide feedback on the target response information output by the electronic device through touch input on the target interface. Based on this, the electronic device receives and responds to the user's touch input on the target interface and, based on the feedback information entered by the user within the target interface, optimizes the database content of the first database, i.e., updates the recipe information stored in the first database. In this way, based on the user's evaluation of the target response information, the database content of the first database is updated and optimized, expanding the data range of the first database and further improving the accuracy of subsequent responses to user questions.

[0109] In some embodiments, after the electronic device responds to the target question input by the user, i.e., the target conversation information, the electronic device may display a second control within the target interface, which is used to evaluate the electronic device's response. Based on this, the electronic device may receive and respond to a third input from the user to the second control, and based on the evaluation information provided by the user to the electronic device, update the database content of the first database to optimize the database content corresponding to the target conversation information in the first database, or add database content associated with the target conversation information to the first database.

[0110] For example, as shown in FIG7(c), after the electronic device responds to the user's touch input, answers the target conversation information 214 input by the user, and outputs and displays the corresponding target response information 216, the electronic device displays a second control 218 on the target interface 208. The user can provide feedback to the electronic device on their evaluation of the target conversation information 214 by touching the second control 218. Based on this, the electronic device receives and responds to the user's touch input on the second control 218, and optimizes and updates the recipe information data in the first database based on the user's evaluation information.

[0111] In one embodiment of the present application, a session information processing device is also proposed. As shown in Figure 8, Figure 8 shows a block diagram of the session information processing device 800 of the embodiment of the present application. Specifically, the session information processing device 800 may include the following receiving unit 802, display unit 804, and processing unit 806:

[0112] A receiving unit 802 is configured to receive a first input from a user on a target recipe interface;

[0113] The display unit 804 is configured to display a target interface in response to the first input;

[0114] The receiving unit 802 is further configured to receive a second input from the user on the target interface;

[0115] The processing unit 806 is configured to output target response information in response to the second input;

[0116] Among them, the interface content of the target interface is associated with the recipe content of the target recipe, the second input is used to input the target session information, the target response information is determined based on the matching results of the first database and the target session information, and the first database is associated with the recipe content of the target recipe.

[0117] The session information processing device 800 provided in the embodiment of the present application is used to accurately answer cooking questions raised by users, so as to help users cook and improve their cooking efficiency.

[0118] In some implementations, the session information processing device 800 provided in this application may be specifically applied to an electronic device having data analysis and data processing functions.

[0119] In some embodiments, the electronic device may be a smart phone, a smart watch, a tablet computer, a laptop computer or other smart device, which is not specifically limited here.

[0120] The session information processing device 800 provided herein includes a receiving unit 802, a display unit 804, and a processing unit 806. When a user views a target recipe on an electronic device and opens a target recipe interface on the electronic device, the receiving unit 802 may receive a first input from the user regarding the target recipe interface. In response to the first input, the display unit 804 displays a question-and-answer interface (i.e., the target interface) that is strongly associated with the target recipe on the display screen of the electronic device. The interface content displayed in the target interface is related to the recipe content of the target recipe. Furthermore, the receiving unit 802 receives a second input from the user regarding the target interface, in which the user enters a target question (i.e., target session information) within the target interface. Furthermore, the processing unit 806, in response to the second input, answers the target question posed by the user and outputs corresponding target answer information. The target answer information is determined based on a match between a first database and the target question entered by the user. The database content of the first database is strongly associated with the recipe content of the target recipe, i.e., the first database stores a series of information data associated with the target recipe.

[0121] In this way, based on the user's input into the target recipe interface, a question-and-answer interface that is strongly related to the target recipe is displayed, and then based on the first database that is strongly related to the target recipe, the target question related to the target recipe entered by the user in the question-and-answer interface is answered. In this way, on the one hand, the question-and-answer interface is strongly related to the target recipe, and can semantically parse the user's question based on the recipe content, thereby improving the accuracy of the semantic parsing of the user's question; on the other hand, the user's question is answered based on the first database that is strongly related to the target recipe, that is, based on the target recipe corresponding to the user's question, a targeted response to the user's question is given, achieving detailed processing of the user's question and ensuring a high degree of matching between the response information and the user's question, thereby being able to effectively deal with the problem that different questions have different answers in different recipes or cooking scenarios. Based on this, accurate answers to cooking questions raised by users are achieved, thereby improving the user's cooking efficiency.

[0122] In some embodiments, the first input is a user's touch input to the target recipe interface of the electronic device. The touch input may specifically be a single-click input, a double-click input, a sliding input, an input along a preset trajectory, etc. Those skilled in the art may set the specific form of the first input according to actual conditions, and no specific limitation is made here.

[0123] In some embodiments, the target recipe interface may display a first control that indicates an entry to the target interface. Alternatively, the first input may be a user's touch input to the first control, which is not particularly limited herein.

[0124] In some embodiments, while display unit 804 is displaying the question-and-answer interface (i.e., the target interface), the display unit 804 may specifically redirect the electronic device display interface from the target recipe interface to the target interface, displaying the target interface in full screen. In actual applications, display unit 804 may also display a target window suspended within the target recipe interface and display the target interface within the target window. The specific display method for the target interface can be configured by those skilled in the art based on actual circumstances and is not specifically limited herein.

[0125] In some embodiments, the second input is a user touch input on the target interface. In actual application, the target interface may display an information input control, and the second input may specifically be a user touch input on the information input control. In response to the touch input, the processing unit 806 outputs corresponding target response information based on the first database and the target session information input by the user.

[0126] In some implementations, the information input control may specifically be a text input control or a voice input control, and the target conversation information may specifically be text conversation information or voice conversation information, which is not specifically limited herein.

[0127] In some embodiments, when the processing unit responds to the target conversation information input by the user and outputs the target response information, if the target conversation information is text conversation information, the processing unit 806 directly compares the text conversation information with a series of information data in the first database and then responds to the user's text conversation information based on the matching results. If the target conversation information is voice conversation information, the processing unit 806 converts the voice conversation information into text information and then responds to the user's voice conversation information based on the matching comparison results of the text information with the first database.

[0128] In some embodiments of the present application, the above-mentioned target response information may specifically include first answer information. On this basis, the processing unit 806 may be specifically configured to: in response to the second input, match and compare the first database with the target session information to obtain a first matching result; based on the first matching result being a successful match, output the first answer information; based on the first matching result being a failed match, match and compare the second database with the target session information to obtain a second matching result; and output the target response information based on the second matching result; wherein the second database is a general database.

[0129] In this embodiment, when processing unit 806 answers the target conversation information entered by the user and outputs the corresponding target answer information, it compares the target conversation information with a first database that is strongly associated with the target recipe. If a match is found between the first database and the target conversation information, processing unit 806 outputs the corresponding first answer information based on the matching database content of the first database. If a match is not found between the first database and the target conversation information, processing unit 806 continues to use the general database, i.e., the second database, to provide a fallback answer to the target question entered by the user. Specifically, processing unit 806 compares the second database with the target conversation information entered by the user and answers the user question based on the matching result, thereby outputting the corresponding target answer information. In this way, if a matching answer exists in the first database that is strongly associated with the target recipe, the user question is directly answered based on the database content of the first database. If a matching answer does not exist in the first database, a fallback answer is provided based on the general database. This ensures both the accuracy and efficiency of answering the user question.

[0130] In some embodiments, the first database stores a series of recipe information data related to the target recipe, and the second database stores a series of general information data in the cooking field.

[0131] In some embodiments, during the process of the processing unit 806 matching the first database with the user's target session information, the processing unit 806 compares and matches the user's target session information with a series of recipe information data stored in the first database to determine whether there is recipe information data corresponding to the target session information in the first database.

[0132] In some implementations, when the processing unit 806 matches the second database with the user's target session information, the processing unit 806 compares and matches the user's target session information with a series of general information data stored in the second database to determine whether there is general information data corresponding to the target session information in the second database.

[0133] In some embodiments, the second database may be a database pre-stored in a storage area of ​​the electronic device, or a shared database of a third-party software or website, which is not specifically limited herein.

[0134] In some embodiments, the electronic device may establish different matching models for different target recipes, and then use the matching models to match and compare the first database and the target session information input by the user, thereby answering the user's questions. Among them, there is a one-to-one correspondence between the target recipe, the first database, and the matching model. Based on this, the present application achieves targeted responses to the target session information input by the user, achieves detailed processing of user questions, and ensures a high degree of matching between the response information and the user's questions, thereby effectively addressing the problem that different questions have different answers in different recipes or cooking scenarios, and achieves accurate answers to cooking questions raised by users, thereby improving the user's cooking efficiency.

[0135] In some embodiments of the present application, the processing unit 806 can be specifically used to: determine the target text based on the target session information; match and compare multiple first information in the first database with the target text; if there is a first information that matches the target text, determine the first matching result as a successful match; if any first information fails to match the target text, determine the first matching result as a failed match; wherein the first information is associated with the target recipe.

[0136] In this embodiment, a first database stores a series of recipe information data related to a target recipe, namely the aforementioned first information. Based on this, when processing unit 806 matches the first database with the user's target session information, processing unit 806 determines the corresponding target text based on the target session information entered by the user and compares the series of recipe information data stored in the first database with the target text. If corresponding recipe information data in the first database matches the target text, processing unit 806 determines that the match between the first database and the user's target session information is successful. If none of the series of recipe information data stored in the first database matches the target text, processing unit 806 determines that the match between the first database and the user's target session information is unsuccessful. In this way, the match between the first database and the target session information is determined based on the comparison results between the series of recipe information data stored in the first database and the target text corresponding to the user's target session information, ensuring the accuracy of the first match result and, therefore, the precision of the response to the user's question.

[0137] In some implementations, the target conversation information may specifically be text conversation information or voice conversation information.

[0138] In some embodiments, when the processing unit 806 determines the target text, if the target conversation information is text conversation information, the processing unit 806 directly determines the text conversation information as the target text; and if the target conversation information is voice conversation information, the processing unit 806 converts the voice conversation information into text to obtain the corresponding target text.

[0139] In some embodiments of the present application, the above-mentioned target response information may further include setting information and second answer information. On this basis, the processing unit 806 can be specifically used to: output the second answer information based on the second matching result being a successful match; output the setting information based on the second matching result being a failed match; wherein the setting information is used to indicate that there is no answer information in the target session information.

[0140] In this embodiment, when processing unit 806 answers a user's question based on the matching comparison results between the second database and the target session information input by the user, if the second database successfully matches the target session information, processing unit 806 outputs corresponding second answer information based on the database content of the matching second database. If the second database fails to match the target session information, indicating that the target question input by the user has not been successfully answered, processing unit 806 outputs setting information indicating that there is no answer information corresponding to the target question input by the user, i.e., the target session information, in the database. In this way, if there is no matching answer in the first database, a fallback answer to the user's question is provided based on the general database, ensuring both the accuracy of the answer to the user's question and the efficiency of the answer to the user's question.

[0141] In some embodiments, the second database stores a series of general information data in the field of cooking.

[0142] In some embodiments, during the process of matching the second database with the user's target conversation information, processing unit 806 compares and matches a series of general information data stored in the second database with the target text. If corresponding general information data in the second database matches the target text, processing unit 806 determines that the second database and the target conversation information entered by the user are successfully matched, and outputs corresponding second answer information based on the matching general information in the second database. If none of the series of general information data stored in the second database matches the target text, processing unit 806 determines that the second database and the target conversation information entered by the user are unmatched, i.e., it determines that answer information corresponding to the target question entered by the user does not exist in either the first or second databases, and outputs the set information. In this way, the matching result between the second database and the target conversation information is determined based on the matching and comparison results of the series of general information data stored in the second database with the target text, ensuring the accuracy of the second matching result, thereby improving the accuracy of the response to the user's question.

[0143] In some embodiments of the present application, as shown in Figure 8, the above-mentioned session information processing device 800 may further include: an acquisition unit 808, used to obtain user feedback information; the processing unit 806 is also used to: update the database information of the first database according to the feedback information; wherein the feedback information is associated with the target response information.

[0144] In this embodiment, the processing device 800 for the above-mentioned conversation information may further specifically include an acquisition unit 808. After the electronic device responds to the target question input by the user, that is, the above-mentioned target conversation information, the user can provide evaluation and feedback on the target response information output by the electronic device through touch input on the above-mentioned target interface. On this basis, the above-mentioned acquisition unit 808 can obtain the feedback information input by the user in the target interface, and the processing unit 806 optimizes the database content of the first database based on the feedback information input by the user, that is, updates the recipe information data stored in the first database. In this way, based on the user's evaluation of the target response information, the database content of the first database is updated and optimized, which improves the data range of the first database, thereby further improving the accuracy of subsequent responses to user questions.

[0145] In some embodiments, after the electronic device responds to the target question input by the user, i.e., the target conversation information, the display unit 804 may display a second control within the target interface, which is used to evaluate the electronic device's response. Based on this, the receiving unit 802 may receive a third input from the user into the second control. In response to this third input, the processing unit 806 may update the database content of the first database based on the evaluation information provided by the user to the electronic device, thereby optimizing the database content corresponding to the target conversation information in the first database or adding database content associated with the target conversation information to the first database.

[0146] In one embodiment of the present application, another method for processing session information is provided. As shown in FIG9 , the method for processing session information may specifically include the following steps 402 and 404:

[0147] Step 402: receiving a first input from a user on a first interface;

[0148] Step 404, displaying target content in response to the first input;

[0149] Among them, the first interface is the application interface of the first application, the first input is used to input the first session information, the target content is the second interface or the first answer information, the first session information corresponds to the first answer information, the second interface is the application interface of the second application, and the second application is associated with the first session information.

[0150] The technical solution for the session information processing method provided in this application can be implemented by an electronic device or a session information processing device, and the implementation can be determined based on actual usage requirements, and is not specifically limited here. To more clearly describe the session information processing method provided in this application, the following description assumes that the implementation of the session information processing method is an electronic device.

[0151] The method for processing session information provided in this application can be specifically executed by an electronic device that has data analysis and data processing functions.

[0152] In actual application, the above-mentioned electronic devices can specifically be smart devices such as smart phones, smart watches, tablet computers and laptops, and are not specifically limited here.

[0153] In some embodiments, in the method for processing session information provided herein, when a user searches for or inquires about information through a first application on an electronic device, thereby opening an application interface (i.e., a first interface) of the first application on the electronic device, the electronic device may receive a first input from the user into the application interface of the first application, wherein the first input is the user entering a question within the application interface, i.e., the first session information. Based on this first input, the electronic device performs intent analysis on the first session information input by the user to determine the user's intent, and then, based on the user's intent, responds to the question and answer information input by the user and displays the target content to the user.

[0154] In some embodiments, the target content may specifically be the first answer information corresponding to the first conversation information, or the application interface (i.e., the second interface) of a second application associated with the first conversation information. Based on this, the electronic device searches and matches the data information stored in the first application based on the user's intent. If data information matching the first conversation information exists in the first application, the electronic device directly outputs the first answer information corresponding to the first conversation information based on the matching data information. If data information matching the first conversation information does not exist in the first application, the electronic device determines the second application associated with the user's intent based on the first conversation information and redirects to display the application interface (i.e., the second interface) of the second application, allowing the user to continue searching for or inquiring about relevant information within the second interface. In this way, when a user searches for or inquires about relevant information through the first application, if the first application can match the corresponding answer, the first application directly responds based on the data information of the first application. If the first application cannot match the corresponding answer, the first application automatically redirects to the application interface of the associated second application for a response. This eliminates the need for the user to open different applications to search for relevant information, reduces the number of steps required for the user to search for or inquire about information, and reduces the time cost required for the user to obtain information, thereby improving the efficiency of the user's search or inquiry process and improving the efficiency of the user's transaction processing.

[0155] In addition, it should be noted that, if the electronic device fails to successfully find the second application associated with the first conversation information, the electronic device directly outputs and displays setting information in the first interface, where the setting information is used to indicate that there is no corresponding answer information for the first conversation information.

[0156] In some embodiments, the first interface may be displayed in full screen on the display interface of the electronic device, or the first interface may be displayed in a floating manner as a window on the display interface of the electronic device.

[0157] In some embodiments, a target identifier may be displayed in the display interface of the electronic device, such as the desktop interface, and the target identifier is used to indicate the entrance to the above-mentioned first interface. On this basis, the electronic device may jump its display interface to the first interface for display in response to the user's touch input to the target identifier, and display the first interface in full screen; or, the electronic device may display a target window in the display interface of the electronic device in response to the user's touch input to the target identifier, and display the above-mentioned first interface in the target window. As for the specific display method of the above-mentioned first interface, those skilled in the art can set it according to actual conditions, and no specific limitation is made here.

[0158] In some embodiments, the first input is a touch input of the user to the first interface, which may specifically be a single-click input, a double-click input, a sliding input, an input along a preset trajectory, etc. Those skilled in the art may set the specific form of the first input according to actual conditions, and no specific restrictions are made here.

[0159] In some embodiments, an information input control may be displayed in the first interface. The above-mentioned first input may specifically be a touch input of the user to the information input control. The electronic device responds to the touch input, answers the question and answer information input by the user, and displays the above-mentioned target content to the user.

[0160] In some implementations, the information input control may be a text input control or a voice input control, and the first conversation information may be text conversation information or voice conversation information, which is not specifically limited herein.

[0161] In some embodiments, when the electronic device searches and matches data information stored in the first application based on first conversation information input by the user, if the first conversation information is text conversation information, the electronic device directly searches and matches the data information stored in the first application based on the text conversation information, and then responds to the text conversation information input by the user based on the matching results. If the first conversation information is voice conversation information, the electronic device converts the voice conversation information into text information, and then responds to the voice conversation information input by the user based on the text information and the matching results of the search and matching of the data information stored in the first application.

[0162] For example, as shown in (a) of FIG15 , a target identifier 304 is displayed within the display interface 302 of the electronic device. The electronic device receives a single-click input from the user on the target identifier 304. As shown in (b) of FIG15 , in response to the single-click input, the electronic device suspends and displays a target window 318 within the display interface 302 and displays a first interface 306 within the target window 318. A first information input control 308 is displayed within the first interface 306. The first information input control 308 is a text input control or a voice input control. Furthermore, as shown in (c) of FIG15 , the user can enter a first question message 310 within the first interface 306 by first inputting into the first information input control 308. The first question message 310 is a text conversation message or a voice conversation message. In response to the user's first input, the electronic device searches and matches the data information stored in the first application based on the first question message 310 entered by the user. If data matching the first question 310 exists in the first application, as shown in FIG15(c), the electronic device directly outputs and displays the first answer 312 corresponding to the first question 310 on the first interface 306 based on the matching data. If data matching the first question 310 does not exist in the first application, as shown in FIG15(d), the electronic device determines the second application associated with the user's intent, namely, APP2, based on the first question 310, and jumps to display the application interface of the second application, namely, the second interface 314.

[0163] In some embodiments of the present application, as shown in FIG10 , step 404 may specifically include the following steps 404a to 404c:

[0164] Step 404a, in response to the first input, determining a target text according to the first conversation information;

[0165] Step 404b, parsing the target text and determining the target intent based on the parsing results;

[0166] Step 404c: display target content according to the target intent.

[0167] In this embodiment, when the electronic device responds to the first conversation information input by the user and displays the target content to the user, the electronic device determines the corresponding target text based on the first conversation information input by the user, performs intent analysis on the target text to determine the user's target intent, and then responds to the question and answer information input by the user based on the user's target intent and displays the target content to the user. In this way, based on the user's question information, the user's intent is determined, and then based on the user's intent, the corresponding target content is displayed to the user. This ensures that the output target content closely matches the user's intent, thereby ensuring the accuracy of the response to the user's question and meeting the user's needs.

[0168] In some implementations, the first conversation information may specifically be text conversation information or voice conversation information.

[0169] In some embodiments, in the process of determining the target text by the electronic device, if the above-mentioned first conversation information is text conversation information, the electronic device directly determines the text conversation information as the above-mentioned target text; if the above-mentioned first conversation information is voice conversation information, the electronic device converts the voice conversation information into text to obtain the corresponding target text.

[0170] In some embodiments, during the process of parsing the target text by the electronic device, the electronic device may specifically perform semantic analysis on the target text to extract at least one keyword information or semantic information from the target text, and then determine the user intention based on the extracted at least one keyword information or semantic information.

[0171] In some embodiments, when an electronic device displays corresponding target content to a user based on user intent, the electronic device searches and matches data information stored in a first application based on the target intent. If data information matching the target intent exists in the first application, the electronic device directly outputs corresponding first answer information based on the matched data information. If data information matching the target intent does not exist in the first application, the electronic device determines a second application associated with the target intent based on the target intent and jumps to display the application interface of the second application, i.e., the aforementioned second interface, so that the user can continue to search for or inquire about relevant information in the second interface.

[0172] In some embodiments of the present application, as shown in FIG11 , step 404c may specifically include the following steps 404c1 and 404c2:

[0173] Step 404c1, matching and comparing the first database and the target intent;

[0174] Step 404c2: display target content according to the matching results;

[0175] The first database corresponds to the first application.

[0176] In this embodiment, when the electronic device responds to a user's question based on the user's intent and displays the target content, after determining the user's target intent based on the first session information input by the user, the electronic device searches and matches the database content of the first database of the first application based on the target intent, and then responds to the user's question based on the matching results, and displays the target content to the user. In this way, responding to the user's question based on the matching results between the user's intent and the first database of the first application ensures that the output target content closely matches the user's intent, thereby ensuring the accuracy of the answer to the user's question and meeting the user's needs.

[0177] In actual application, after the electronic device responds to the first conversation information input by the user through the first database and outputs the corresponding first answer information, the user can provide feedback on the first answer information output by the electronic device through touch input on the first interface. On this basis, the electronic device receives and responds to the user's touch input on the first interface and, based on the feedback information input by the user on the first interface, updates the database content of the first database to optimize the database content corresponding to the first conversation information in the first database, or adds database content associated with the first conversation information to the first database. In this way, based on the user's evaluation of the first answer information, the database content of the first database is updated and optimized, thereby increasing the data range of the first database and further improving the accuracy of subsequent responses to user questions.

[0178] In some embodiments of the present application, as shown in FIG12 , step 404c2 may specifically include the following steps 404c21 and 404c22:

[0179] Step 404c21: Displaying first answer information based on successful matching between the first database and the target intent;

[0180] Step 404c22: Based on the failure of matching the first database with the target intent, the second interface is displayed.

[0181] In this embodiment, when the electronic device answers the user's question based on the matching result of the user's intent and the first database of the first application, if the database content of the first database successfully matches the user's target intent, the electronic device directly outputs the corresponding first answer information based on the matching database content in the first database. In the case where the database content of the first database fails to match the user's target intent, the electronic device will determine the second application associated with the target intent based on the target intent, and jump to display the application interface of the second application, that is, the above-mentioned second interface, so that the user can continue to search or inquire about relevant information in the second interface. In this way, when the user searches for or inquires about relevant information through the first application, if the first application can match the corresponding answer, it will directly reply based on the data information of the first application. If the first application cannot match the corresponding answer, it will automatically jump to the application interface of the associated second application to reply, reducing the steps for the user to search or inquire about information, thereby improving the efficiency of the user in searching or inquiring about information and improving the efficiency of the user in handling transactions.

[0182] In some implementations, the first database stores a plurality of first information, where the plurality of first information is a series of application data information associated with the first application content.

[0183] In some embodiments, when the electronic device matches the first database with the user's target intent, the electronic device compares and matches the multiple first information stored in the first database with the target intent. If there is first information in the first database that matches the target intent, the electronic device determines that the match between the first database and the user's target intent is successful; and if the multiple first information stored in the first database does not match the target intent, the electronic device determines that the match between the first database and the user's target intent fails. In this way, based on the comparison result of a series of application data information stored in the first database and the user's intent, the matching result between the first database and the target intent is determined, which ensures the accuracy of the matching result determination, thereby ensuring the accuracy of the response to the user's question.

[0184] In some embodiments of the present application, as shown in FIG13 , after step 404, the method for processing session information may further include the following step 406:

[0185] Step 406: displaying the target information on the second interface, and / or displaying second answer information in response to a second input of the user on the second interface;

[0186] The target information is associated with the first session information, the second input is used to input the second session information, the second answer information is determined according to the second session information and a second database, and the second database corresponds to the second application.

[0187] In this embodiment, after the electronic device determines the associated second application based on the user's intent and displays the second interface, the electronic device may display the target information associated with the first conversation information in the second interface, so that the user can find the answer information they need by browsing the target information. For example, if the second interface is a recipe search interface, the electronic device may display target information such as recipe recommendation information and recipe screening information in the second interface. Based on this, the user can browse the recommended recipe information in the second interface, and the user can also filter the recipe information in the second interface based on personal preferences, existing ingredients, nutritional and health needs, etc., to find specific recipe content that meets their needs.

[0188] In this embodiment, further, after displaying the above-mentioned second interface, the electronic device may also receive a second input from the user to enter second conversation information in the second interface. In response to the second input from the user, the electronic device searches and matches data information stored in the second database of the second application based on the second conversation information input by the user. If data information matching the second conversation information exists in the second database, the electronic device directly outputs second answer information corresponding to the above-mentioned second conversation information based on the matching data information.

[0189] For example, when the second interface is a home smart device management interface, the user can use the second input of the second interface to inquire about information on device usage tips, device usage and maintenance, device repair and maintenance, and device control, so that the user can better use the smart device. When the second interface is a recipe content interface, the user can use the second input of the second interface to inquire about recipe content-related questions and device voice control-related questions, such as questions about ingredient preparation, cooking tools and equipment usage, operating steps, cooking failure phenomena and reasons, etc., so that the user can better perform cooking work. When the second interface is a nutrition and health interface, the user can use the second input of the second interface to inquire about nutrition and health-related questions, such as ingredients suitable for different groups of people, the nutritional content of ingredients, nutritional rankings, etc.

[0190] In this way, after the electronic device jumps to display the second interface based on the user's first conversation information, the electronic device can display the target information associated with the first conversation information on the second interface, or continue to respond to the second conversation information entered by the user on the second interface. In this way, if the first application cannot find the required information, it automatically jumps to the application interface of the associated second application to continue the relevant question and answer, reducing the steps for the user to search or inquire about information, thereby improving the efficiency of the user's search or inquiry and improving the efficiency of the user's transaction processing.

[0191] In some embodiments, the second conversation information may be text conversation information or voice conversation information. After the electronic device displays the second interface based on the user's first conversation information, the user can continue to search or inquire about relevant information in the second interface by inputting text or voice input on the second interface.

[0192] In some implementations, the second database stores a plurality of second information, where the plurality of second information is a series of application data information associated with the second application content.

[0193] In some embodiments, when the electronic device matches the second database with the second session information input by the user, the electronic device compares and matches multiple pieces of second information stored in the second database with the second session information. If there is second information in the second database that matches the second session information, the electronic device determines that the match between the second database and the second session information is successful and outputs corresponding second answer information based on the matched second information. If none of the multiple pieces of second information in the second database match the second session information, the electronic device continues to search for an associated third application based on the second session information. If the third application is successfully found, the electronic device jumps to the third application's application interface to continue the question-and-answer operation. If the associated third application is not found, the electronic device directly outputs a setting message to inform the user that the answer information did not match the second session information.

[0194] For example, as shown in FIG15(c), a user can enter a second question 320 in the first interface 306 by first inputting into the first information input control 308. The second question 320 is a text or voice conversation message. In response to the user's first input, the electronic device searches and matches data stored in the first application based on the second question 320 entered by the user. If no data matching the second question 320 exists in the first application, as shown in FIG15(d), the electronic device determines the second application associated with the second question 320, jumps to display the application interface of the second application, namely the second interface 314, and displays the target information 316 in the second interface 314. The target information 316 is associated with the second question 320. Furthermore, the second interface 314 also displays a second information input control 322. The second information input control 322 is a text or voice input control. The user can continue to ask questions based on the database content of the second database in the second interface 314 by touching the second information input control 322.

[0195] In one embodiment of the present application, as shown in FIG14 , the method for processing session information may specifically include the following steps 502 to 512:

[0196] Step 502, receiving user input;

[0197] Step 504: Analyze the user's question.

[0198] Step 506, determine whether the user question is successfully matched, if so, execute step 508, if not, execute step 510;

[0199] Step 508, output the answer;

[0200] Step 510, jump to a related application;

[0201] Step 512: Display related pages.

[0202] In some embodiments, in the method for processing session information provided in the embodiments of the present application, the electronic device may receive user input, determine a user question based on the user input, and then perform intent analysis on the user question to determine the user's intent. Based on this, the electronic device then matches the user question with database information based on the user's intent. Furthermore, if the user question successfully matches the database information, the electronic device directly outputs answer information corresponding to the user question based on the matching database information. If the user question fails to match the database information, the electronic device determines the application associated with the user question based on the user's intent. Furthermore, the electronic device jumps to the application interface and displays the application page associated with the user question in the application, so that the user can continue to perform question and answer operations by inputting into the application interface of the application. In this way, when a user searches for or inquires about relevant information through an application, if the application can match the corresponding answer, it directly responds based on the data information of the application. If the application cannot match the corresponding answer, it automatically jumps to the application interface of another application associated with the user's question to respond, reducing the number of steps for the user to search or inquire about information, thereby improving the efficiency of the user's search or inquiry of information and improving the efficiency of the user's transaction processing.

[0203] In one embodiment of the present application, another apparatus for processing session information is also proposed. As shown in FIG16 , FIG16 shows a block diagram of the apparatus 600 for processing session information according to an embodiment of the present application. Specifically, the apparatus 600 for processing session information may include the following receiving unit 602 and display unit 604:

[0204] The receiving unit 602 is configured to receive a first input from a user on the first interface;

[0205] A display unit 604 is configured to display target content in response to the first input;

[0206] Among them, the first interface is the application interface of the first application, the first input is used to input the first session information, the target content is the second interface or the first answer information, the first session information corresponds to the first answer information, the second interface is the application interface of the second application, and the second application is associated with the first session information.

[0207] The session information processing device 600 provided in the embodiment of the present application can be specifically applied to an electronic device having data analysis and data processing functions.

[0208] In actual application, the above-mentioned electronic devices can specifically be smart devices such as smart phones, smart watches, tablet computers and laptops, and are not specifically limited here.

[0209] In some embodiments, the session information processing device 600 provided herein includes a receiving unit 602 and a display unit 604. When a user searches for or inquires about information through a first application on an electronic device, thereby opening an application interface (i.e., a first interface) of the first application on the electronic device, the receiving unit 602 may receive a first input from the user on the application interface of the first application, where the first input is a question entered by the user within the application interface, i.e., the first session information. Based on this, the display unit 604 responds to the question and answer information entered by the user and displays target content to the user.

[0210] In some embodiments, the target content may specifically be the first answer information corresponding to the first session information, or the target content may be the application interface of the second application associated with the first session information, i.e., the second interface. In some embodiments, the electronic device performs intent analysis on the first session information input by the user to determine the user's intent, and then searches and matches the data information stored in the first application based on the user's intent. If there is data information matching the first session information in the first application, the electronic device directly outputs the first answer information corresponding to the first session information based on the matching data information. If there is no data information matching the first session information in the first application, the electronic device determines the second application associated with the user's intent based on the first session information, and jumps to the application interface of the second application, i.e., the second interface, so that the user can continue to search or inquire about relevant information in the second interface. In this way, when the user searches for or inquires about relevant information through the first application, if the first application can match the corresponding answer, it will reply directly based on the data information of the first application. If the first application cannot match the corresponding answer, it will automatically jump to the application interface of the associated second application to reply. The user does not need to open different applications to find relevant information, which reduces the steps for the user to search or inquire about information and reduces the time cost required for the user to obtain information, thereby improving the efficiency of the user in searching or inquiring about information and improving the efficiency of the user in handling transactions.

[0211] In addition, it should be noted that, when the electronic device fails to successfully find the second application associated with the first session information, the electronic device directly outputs setting information in the first interface, where the setting information is used to indicate that there is no corresponding answer information for the first session information.

[0212] In some embodiments, the first interface may be displayed in full screen on the display interface of the electronic device, or the first interface may be displayed in a floating manner as a window on the display interface of the electronic device.

[0213] In some embodiments, a target identifier may be displayed in the display interface of the electronic device, such as a desktop interface, and the target identifier is used to indicate the entrance to the above-mentioned first interface. On this basis, the display unit 604 can jump the display interface of the electronic device to the first interface for display in response to the user's touch input to the target identifier, and display the first interface in full screen; or, the display unit 604 responds to the user's touch input to the target identifier, and suspends a target window in the display interface of the electronic device, and displays the above-mentioned first interface in the target window. For the specific display method of the above-mentioned first interface, those skilled in the art can set it according to actual conditions, and no specific limitation is made here.

[0214] In some embodiments, the first input is a touch input of the user to the first interface, which may specifically be a single-click input, a double-click input, a sliding input, an input along a preset trajectory, etc. Those skilled in the art may set the specific form of the first input according to actual conditions, and no specific restrictions are made here.

[0215] In some embodiments, an information input control may be displayed in the first interface. The above-mentioned first input may specifically be a touch input of the user to the information input control. The display unit 604 responds to the touch input, answers the question and answer information input by the user, and displays the above-mentioned target content to the user.

[0216] In some implementations, the information input control may be a text input control or a voice input control, and the first conversation information may be text conversation information or voice conversation information, which is not specifically limited herein.

[0217] In some embodiments, when the electronic device searches and matches data information stored in the first application based on first conversation information input by the user, if the first conversation information is text conversation information, the electronic device directly searches and matches the data information stored in the first application based on the text conversation information, and then responds to the text conversation information input by the user based on the matching results. If the first conversation information is voice conversation information, the electronic device converts the voice conversation information into text information, and then responds to the voice conversation information input by the user based on the text information and the matching results of the search and matching of the data information stored in the first application.

[0218] In some embodiments of the present application, as shown in FIG16 , the session information processing device 600 further includes a processing unit 606 , which is configured to: determine a target text based on the first session information in response to a first input; parse the target text and determine a target intent based on the parsing result; and the display unit 604 is specifically configured to: display target content based on the target intent.

[0219] In this embodiment, the session information processing device 600 further includes a processing unit 606. During the process of the electronic device responding to the first session information input by the user and displaying the target content to the user, the processing unit 606 determines the corresponding target text based on the first session information input by the user, performs intent analysis on the target text to determine the user's target intent, and then responds to the question and answer information input by the user based on the user's target intent, and displays the target content to the user via the display unit 604. In this manner, the user's intent is determined based on the question information input by the user, and then, based on the user's intent, the corresponding target content is displayed to the user. This ensures that the output target content closely matches the user's intent, thereby ensuring the accuracy of the response to the user's question and meeting the user's needs.

[0220] In some implementations, the first conversation information may specifically be text conversation information or voice conversation information.

[0221] In some embodiments, when the processing unit 606 determines the target text, if the first conversation information is text conversation information, the processing unit 606 directly determines the text conversation information as the target text; and if the first conversation information is voice conversation information, the processing unit 606 converts the voice conversation information into text to obtain the corresponding target text.

[0222] In some embodiments, during the process of the processing unit 606 parsing the target text, the processing unit 606 may specifically perform semantic analysis on the target text to extract at least one keyword information or semantic information from the target text, and then determine the user intention based on the extracted at least one keyword information or semantic information.

[0223] In some embodiments, when the electronic device displays the corresponding target content to the user based on the user's intent, the processing unit 606 searches and matches the data information stored in the first application based on the target intent. If there is data information matching the target intent in the first application, the processing unit 606 directly outputs the corresponding first answer information based on the matched data information. If there is no data information matching the target intent in the first application, the processing unit 606 determines a second application associated with the target intent based on the target intent, and displays the application interface of the second application, i.e., the above-mentioned second interface, through the display unit 604, so that the user can continue to search or inquire about relevant information in the second interface.

[0224] In some embodiments of the present application, the processing unit 606 is specifically used to: match and compare the first database and the target intent; the display unit 604 is specifically used to: display the target content according to the matching result; wherein the first database corresponds to the first application.

[0225] In this embodiment, during the process of processing unit 606 answering the user's question based on the user's intent, after processing unit 606 determines the user's target intent based on the first session information input by the user, processing unit 606 searches and matches the database content of the first database of the first application based on the target intent, and then answers the user's question based on the matching results, and displays the target content to the user via display unit 604. In this way, the user's question is answered based on the matching results between the user's intent and the first database of the first application, ensuring that the output target content closely matches the user's intent, thereby ensuring the accuracy of the answer to the user's question and meeting the user's needs.

[0226] In actual application, after processing unit 606 responds to the first conversation information input by the user through the first database and outputs the corresponding first answer information, the user can provide feedback on the first answer information output by the electronic device through touch input on the first interface. Based on this, processing unit 606 updates the database content of the first database based on the feedback information input by the user on the first interface, thereby optimizing the database content corresponding to the first conversation information in the first database or adding database content associated with the first conversation information to the first database. In this way, based on the user's evaluation of the first answer information, the database content of the first database is updated and optimized, thereby increasing the data range of the first database and further improving the accuracy of subsequent responses to user questions.

[0227] In some embodiments of the present application, the display unit 604 is specifically used to: display the first answer information based on a successful match between the first database and the target intent; and display the second interface based on a failure to match between the first database and the target intent.

[0228] In this embodiment, when the processing unit 606 answers the user's question based on the matching result between the user's intent and the first database of the first application, if the database content of the first database successfully matches the user's target intent, the processing unit 606 directly outputs the corresponding first answer information based on the matching database content in the first database. In the case where the database content of the first database fails to match the user's target intent, the processing unit 606 will determine the second application associated with the target intent based on the target intent, and display the application interface of the second application, i.e., the above-mentioned second interface, through the display unit 604, so that the user can continue to search or inquire about relevant information in the second interface. In this way, when the user searches for or inquires about relevant information through the first application, if the first application can match the corresponding answer, it will directly reply based on the data information of the first application. If the first application cannot match the corresponding answer, it will automatically jump to the application interface of the associated second application to reply, reducing the steps for the user to search or inquire about information, thereby improving the efficiency of the user in searching or inquiring about information and improving the efficiency of the user in handling transactions.

[0229] In some implementations, the first database stores a plurality of first information, where the plurality of first information is a series of application data information associated with the first application content.

[0230] In some embodiments, when the processing unit 606 matches the first database with the user's target intent, the processing unit 606 compares and matches the multiple first information stored in the first database with the target intent. If there is first information in the first database that matches the target intent, the processing unit 606 determines that the match between the first database and the user's target intent is successful; if none of the multiple first information stored in the first database matches the target intent, the processing unit 606 determines that the match between the first database and the user's target intent fails. In this way, based on the comparison results of a series of application data information stored in the first database and the user's intent, the matching result between the first database and the target intent is determined, thereby ensuring the accuracy of the matching result determination, thereby ensuring the accuracy of the response to the user's question.

[0231] In some embodiments of the present application, the display unit 604 is further used to: display target information on the second interface; and / or display second answer information in response to a second input of the user on the second interface; wherein the target information is associated with the first session information, the second input is used to input the second session information, and the second answer information is determined based on the second session information and a second database, and the second database corresponds to the second application.

[0232] In this embodiment, after display unit 604 displays the second interface, it may also display target information associated with the first conversation information within the second interface, allowing the user to browse the target information and find the answer they need. For example, if the second interface is a recipe search interface, display unit 604 may display target information such as recipe recommendation information and recipe screening information within the second interface. Based on this, the user can browse recommended recipe information within the second interface and filter the recipe information within the second interface based on personal preferences, available ingredients, nutritional and health requirements, and other criteria to find specific recipe content that meets their needs.

[0233] In this embodiment, after displaying the second interface, the receiving unit 602 may further receive a second input from the user, which is second session information, in the second interface. In response to the second input, the processing unit 606 searches and matches data information stored in the second database of the second application based on the second session information input by the user. If data information matching the second session information exists in the second database, the processing unit 606 directly outputs second answer information corresponding to the second session information based on the matching data information.

[0234] For example, when the second interface is a home smart device management interface, the user can use the second input of the second interface to inquire about information on device usage tips, device usage and maintenance, device repair and maintenance, and device control, so that the user can better use the smart device. When the second interface is a recipe content interface, the user can use the second input of the second interface to inquire about recipe content-related questions and device voice control-related questions, such as questions about ingredient preparation, cooking tools and equipment usage, operating steps, cooking failure phenomena and reasons, etc., so that the user can better perform cooking work. When the second interface is a nutrition and health interface, the user can use the second input of the second interface to inquire about nutrition and health-related questions, such as ingredients suitable for different groups of people, the nutritional content of ingredients, nutritional rankings, etc.

[0235] In this way, after the electronic device jumps to display the second interface based on the user's first conversation information, the electronic device can display the target information associated with the first conversation information on the second interface, or continue to respond to the second conversation information entered by the user on the second interface. In this way, if the first application cannot find the required information, it automatically jumps to the application interface of the associated second application to continue the relevant question and answer, reducing the steps for the user to search or inquire about information, thereby improving the efficiency of the user's search or inquiry and improving the efficiency of the user's transaction processing.

[0236] In some embodiments, the second conversation information may be text conversation information or voice conversation information. After the electronic device displays the second interface based on the user's first conversation information, the user can continue to search or inquire about relevant information in the second interface by inputting text or voice input on the second interface.

[0237] In some implementations, the second database stores a plurality of second information, where the plurality of second information is a series of application data information associated with the second application content.

[0238] In some embodiments, when processing unit 606 matches the second database with the second session information input by the user, processing unit 606 compares and matches multiple pieces of second information stored in the second database with the second session information. If there is second information in the second database that matches the second session information, processing unit 606 determines that the second database and the second session information are successfully matched and outputs corresponding second answer information based on the matched second information. If none of the multiple pieces of second information in the second database match the second session information, processing unit 606 continues to search for a third application associated with the second session information. If the third application is successfully found, processing unit 606 jumps to the third application's application interface to continue the question-and-answer operation. If no associated third application is found, processing unit 606 directly outputs a setting message to inform the user that no answer information matching the second session information was found.

[0239] In one embodiment of the present application, an electronic device is also provided. As shown in FIG17 , FIG17 shows a block diagram of the structure of an electronic device 900 provided in an embodiment of the present application. The electronic device 900 includes:

[0240] Memory 902 , where programs or instructions are stored;

[0241] The processor 904 implements the steps of the method for processing session information in any of the above embodiments when executing the above program or instruction.

[0242] The electronic device 900 provided in this embodiment includes a memory 902 and a processor 904. When the program or instructions in the memory 902 are executed by the processor 904, the steps of the method for processing session information in any of the above embodiments are implemented. Therefore, the electronic device 900 has all the beneficial effects of the method for processing session information in any of the above embodiments, which will not be further described here.

[0243] In some embodiments, the memory 902 and the processor 904 may be connected via a bus or other means. The processor 904 may include one or more processing units, and the processor 904 may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other chips.

[0244] In actual application, the electronic device 900 may be a smart phone, a smart watch, a tablet computer, a laptop computer or other smart device with data analysis capabilities, and no specific limitation is imposed here.

[0245] In one embodiment of the present application, a readable storage medium is further provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method for processing session information in any of the above embodiments are implemented.

[0246] The readable storage medium provided in the embodiments of the present application, when executed by a processor, stores a program or instruction that implements the steps of the method for processing session information in any of the above-described embodiments. Therefore, the readable storage medium has all the beneficial effects of the method for processing session information in any of the above-described embodiments, and no further description is given here.

[0247] In some embodiments, the readable storage medium may include any medium capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor memory devices, read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), flash memory, erasable ROM (EROM), magnetic tape, floppy disk, optical disc, hard disk, optical fiber, radio frequency (RF) link, optical data storage device, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0248] In this specification, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance, unless otherwise expressly specified or limited. Terms such as "connect," "install," and "fix" should be interpreted broadly. For example, "connect" can refer to a fixed connection, a detachable connection, or an integral connection; it can refer to a direct connection or an indirect connection through an intermediary. Those skilled in the art will understand the specific meanings of these terms in this application based on specific circumstances.

[0249] Throughout this specification, terms such as "one embodiment," "some embodiments," and "specific embodiments" mean that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0250] In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but it must be based on the fact that ordinary technicians in this field can implement it. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0251] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A method for processing session information, wherein: The method for processing session information includes: receiving a first input from a user on a target recipe interface; In response to the first input, displaying a target interface, wherein interface content of the target interface is associated with a target recipe; receiving a second input from a user on the target interface, where the second input is used to input target session information; In response to the second input, outputting target response information; The target response information is determined based on the target session information and a first database, and the first database is associated with the target recipe.

2. The method for processing session information according to claim 1, wherein: The target response information includes first answer information, and the output target response information includes: Matching the target session information with the first database to obtain a first matching result; When the first matching result is a successful match, outputting the first answer information; When the first matching result is a matching failure, matching the target session information with a second database to obtain a second matching result; Outputting the target response information according to the second matching result; Wherein, the second database is a general database.

3. The method for processing session information according to claim 2, wherein: The step of matching the target session information with the first database to obtain a first matching result includes: Determining a target text according to the target conversation information; matching and comparing the target text with a plurality of first information in the first database, wherein the first information is associated with the target recipe; In the case where the first information successfully matches the target text, determining the first matching result as a successful match; In the case where the target text fails to match any of the first information, the first matching result is determined to be a matching failure.

4. The method for processing session information according to claim 2 or 3, wherein: The target response information further includes second answer information and setting information, and the outputting the target response information according to the second matching result includes: If the second matching result is a successful match, outputting the second answer information; When the second matching result is a matching failure, the setting information is output, wherein the setting information indicates that the target conversation information does not have answer information.

5. The method for processing session information according to any one of claims 1 to 4, wherein: After outputting the target response information, the method for processing the session information further includes: Obtaining user feedback information regarding the target response information; The database information of the first database is updated according to the feedback information.

6. A session information processing device, wherein: The session information processing device comprises: A receiving unit, configured to receive a first input from a user on a target recipe interface; A display unit, configured to display a target interface in response to the first input, wherein the interface content of the target interface is associated with a target recipe; The receiving unit is further configured to receive a second input from a user on the target interface, wherein the second input is used to input a target Session information; a processing unit, configured to output target response information in response to the second input; The target response information is determined based on the target session information and a first database, and the first database is associated with the target recipe.

7. The apparatus for processing session information according to claim 6, wherein: The target response information includes first answer information, and the processing unit is specifically used for: Matching the target session information with the first database to obtain a first matching result; When the first matching result is a successful match, outputting the first answer information; When the first matching result is a matching failure, matching the target session information with a second database to obtain a second matching result; Outputting the target response information according to the second matching result; Wherein, the second database is a general database.

8. The session information processing device according to claim 7, wherein: The processing unit is specifically used for: Determining a target text according to the target conversation information; matching and comparing the target text with a plurality of first information in the first database, wherein the first information is associated with the target recipe; In the case where the first information successfully matches the target text, determining the first matching result as a successful match; In the case where the target text fails to match any of the first information, the first matching result is determined to be a matching failure.

9. The session information processing device according to claim 7 or 8, wherein: The target response information also includes second answer information and setting information, and the processing unit is specifically used to: If the second matching result is a successful match, outputting the second answer information; When the second matching result is a matching failure, the setting information is output, wherein the setting information indicates that the target conversation information does not have answer information.

10. The apparatus for processing session information according to any one of claims 6 to 9, wherein: The session information processing device further includes: An acquisition unit, used for acquiring feedback information of the user with respect to the target response information; The processing unit is also used for: The database information of the first database is updated according to the feedback information.

11. A method for processing session information, wherein: The method for processing session information includes: receiving a first input from a user on a first interface, where the first interface is an application interface of a first application, and the first input is used to input first session information; In response to the first input, displaying target content; The target content is first answer information or a second interface, the first answer information corresponds to the first session information, and the second interface is an application interface of a second application related to the first session information.

12. The method for processing session information according to claim 11, wherein: The display target content includes: determining a target text according to the first conversation information; Parsing the target text and determining the target intent according to the parsing result; The target content is displayed according to the target intent.

13. The method for processing session information according to claim 12, wherein: The displaying the target content according to the target intent includes: matching the target intent with a first database, the first database corresponding to the first application; The target content is displayed according to the matching results.

14. The method for processing session information according to claim 13, wherein: The displaying of the target content according to the matching result includes: In the case where the target intention successfully matches the first database, displaying the first answer information; When the target intention fails to match the first database, the second interface is displayed.

15. The method for processing session information according to any one of claims 11 to 14, wherein: After displaying the target content, the method for processing session information further includes: Displaying target information on the second interface, the target information being associated with the first session information; and / or In response to a second input of the user to the second interface, second answer information is displayed, the second input is used to input second session information, the second answer information is determined according to a second database and the second session information, and the second database corresponds to the second application.

16. A device for processing session information, wherein: The session information processing device comprises: a receiving unit, configured to receive a first input from a user on a first interface, where the first interface is an application interface of a first application, and the first input is used to input first session information; A display unit, configured to display target content in response to the first input; The target content is first answer information or a second interface, the first answer information corresponds to the first session information, and the second interface is an application interface of a second application related to the first session information.

17. The apparatus for processing session information according to claim 16, wherein: The session information processing device further includes: a processing unit, configured to determine a target text according to the first conversation information; Parsing the target text and determining the target intent according to the parsing result; The display unit is specifically used for: The target content is displayed according to the target intent.

18. The apparatus for processing session information according to claim 17, wherein: The processing unit is specifically used for: matching the target intent with a first database, the first database corresponding to the first application; The display unit is specifically used for: The target content is displayed according to the matching results.

19. The apparatus for processing session information according to claim 18, wherein: The display unit is specifically used for: In the case where the target intention successfully matches the first database, displaying the first answer information; When the target intention fails to match the first database, the second interface is displayed.

20. The apparatus for processing session information according to any one of claims 16 to 19, wherein: After displaying the target content, the display unit is further used for: Displaying target information on the second interface, the target information being associated with the first session information; and / or In response to a second input of the user to the second interface, second answer information is displayed, the second input is used to input second session information, the second answer information is determined according to a second database and the second session information, and the second database corresponds to the second application.

21. An electronic device, wherein: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing session information as described in any one of claims 1 to 5 are implemented, or when the program or instruction is executed by the processor, the steps of the method for processing session information as described in any one of claims 11 to 15 are implemented.

22. A readable storage medium, wherein: The readable storage medium stores a program or instruction, which, when executed by a processor, implements the steps of the method for processing session information as described in any one of claims 1 to 5, or, when executed by a processor, implements the steps of the method for processing session information as described in any one of claims 11 to 15.

Citation Information

Patent Citations

  • Application recommendation

    CN109313638A

  • Voice interaction method and device and equipment

    CN113990305A

  • Knowledge recommendation method and device, electronic equipment and storage medium

    CN116049379A

  • Session information processing method and device, electronic equipment and readable storage medium

    CN116561280A

  • Session information processing method and device, electronic equipment and readable storage medium

    CN116628154A