Interaction method and device, equipment and storage medium

By establishing a direct connection between the voice assistant and the application, the problem of information leakage when the voice assistant calls other applications is solved, and the target content is displayed locally, ensuring data security and privacy protection.

CN121597430APending Publication Date: 2026-03-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411121832.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, when voice assistants call other applications through third-party plugins, there is a possibility of information leakage, which could lead to data in smart terminals being used for learning and training by large cloud models.

Method used

By establishing a direct connection between the first and second applications, avoiding the use of other plugins, the second application generates the target content and displays it in the interface of the first application, or sends the generated target content to the first application for display, ensuring that data is not leaked.

Benefits of technology

This enables the display of target content locally without cloud-based learning and training, avoiding data leaks and improving the security and privacy protection of user data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121597430A_ABST
    Figure CN121597430A_ABST
Patent Text Reader

Abstract

The invention discloses an interaction method and device, equipment and a storage medium, which are used for avoiding message leakage when a user interacts with an intelligent terminal. A first application program in the intelligent terminal receives target information input by a user; performing intention recognition processing on the target information to obtain a target intention; determining a second application program after the target intention is obtained; the first application program sends the target intention to the second application program, so that the second application program can generate the target content. In the application, the connection between the first application program and the second application program is established, the content in the second application program does not need to be called by adopting other plug-ins, and the second application program displays the target content in the display interface corresponding to the first application program, or the second application program sends the target content to the first application program, so that the content in the second application program is displayed in the display interface corresponding to the first application program. And the data is displayed by the first application program, so that data leakage is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of terminal technology, and in particular to an interaction method, apparatus, device, and storage medium. Background Technology

[0002] With the development of smart terminals, intelligent voice assistants have been widely integrated into smart terminals such as smartphones, tablets, and smart wearable devices. A voice assistant is an intelligent tool driven by artificial intelligence technology that can help users complete various tasks, such as searching for information, providing suggestions, answering questions, and engaging in voice interaction.

[0003] Currently, when voice assistants interact with users, after obtaining voice information, they use third-party plugins to call other applications to enhance natural language interaction capabilities. However, when interacting through this method, the third-party plugins in the smart terminal may upload the called information to the cloud after calling other applications. This could lead to the information of other applications in the smart terminal being used by large models for learning and training, thus posing a possibility of information leakage. Summary of the Invention

[0004] The purpose of this invention is to provide an interactive method, apparatus, device, and storage medium to solve the technical problems in the prior art.

[0005] In a first aspect, embodiments of this application provide an interaction method applied to a first electronic device, the method comprising:

[0006] The first application acquires target information; the first application performs intent recognition processing on the target information to obtain the target intent; the first application determines the second application based on the target intent; the first application sends the target intent to the second application; the target content is displayed on the first interface of the first application; the target content is generated by the second application according to the target intent.

[0007] In this application, a connection is established between the first application and the second application. Instead of using other plugins to call the content in the second application, the second application directly generates the target content and displays it in the corresponding display interface of the first application. Alternatively, the second application sends the generated target content to the first application, which then displays it. This avoids data leakage.

[0008] In some possible embodiments, before the target content is displayed on the first interface of the first application, the method further includes: the second application receiving the target intent; and generating the target content based on the target intent.

[0009] In this application, the target content is generated directly by the second application and then displayed on the corresponding display interface of the first application, or the second application sends the generated target content to the first application, which then displays the target content, thus avoiding data leakage.

[0010] In some possible embodiments, after the first application obtains the target information, the method further includes: the first application determining whether the target information is a preset type of information; if the first application determines that the target information is a preset type of information, then displaying a permission verification prompt on the first interface; if the first application does not receive an authorization operation based on the permission verification window, then displaying a first end prompt on the first interface; the first application performing intent recognition processing on the target information to obtain the target intent, including: if the first application receives an authorization operation based on the permission verification window, then performing intent recognition processing on the target information to obtain the target intent.

[0011] In this application, after obtaining the target information, the first application needs to perform intent recognition on the target information in order to determine the user's intent, i.e., the target intent.

[0012] In some possible embodiments, the first application sends the target intent to the second application, including: the first application determines configuration data based on the target intent; the first application sends the target intent and configuration data to the second application.

[0013] In this application, the first application simultaneously sends configuration data and target intent to the second application, enabling the second application to more accurately determine the target content.

[0014] In some possible embodiments, before the first application sends the target intent to the second application, the method further includes: the first application determining whether a communication connection has been established with the second application; if the first application determines that no communication connection has been established with the second application, then establishing a communication connection with the second application; the first application sending the target intent to the second application includes: if the first application determines that a communication connection has been established with the second application, then sending the target intent to the second application.

[0015] In this application, after the second application is determined, in order to enable the second application to directly render the target content in the first interface corresponding to the first application, it is necessary to establish a communication connection between the first application and the second application.

[0016] In some possible embodiments, the method further includes: a second application receiving a communication connection request sent by a first application; and the second application establishing a communication connection with the first application based on the communication connection request.

[0017] In this application, the second application can establish a communication connection with the first application by sending a communication request, thereby enabling the first application and the second application to communicate directly.

[0018] In some possible embodiments, after establishing a communication connection with the second application, the method further includes: the first application obtaining a key corresponding to the second application based on the communication connection; and sending the target intent to the second application, including: sending the key and the target intent to the second application.

[0019] In this application, in order to further ensure data security, when it is determined that the target information belongs to privacy information (preset type information), user authorization is required, and other steps can only be performed after successful authorization.

[0020] In some possible embodiments, before the second application receives the target intent sent by the first application, the method further includes: the second application receiving the key sent by the first application and performing a verification operation on the key; if the verification fails, generating a second end prompt and displaying the second end prompt on the first interface; the second application receiving the target intent sent by the first application includes: if the verification is successful, receiving the target intent sent by the first application.

[0021] In this application, when key verification fails, the user is notified of the failure through a second end prompt, thus ensuring a good user experience.

[0022] In some possible embodiments, the first application determines the second application based on the target intent, including: if the first application determines multiple applications based on the target intent, then the second application is determined from the multiple applications.

[0023] In this application, when it is determined that there are multiple applications corresponding to the target intent, a second application is determined from the multiple applications in order to ensure the display effect.

[0024] In some possible embodiments, the second application is determined from multiple applications, including: the first application displays multiple applications in a first interface; and the application corresponding to the user's triggering operation is selected as the second application.

[0025] In this application, multiple applications are displayed to the user, who then selects a second application. This ensures the accuracy of the displayed target content and guarantees a positive user experience.

[0026] In some possible embodiments, determining the second application from multiple applications includes: selecting the application with the highest priority as the second application based on the priority of each application; wherein the priority is preset by the user according to their needs.

[0027] In this application, users can set priorities for applications of the same type, and then determine the second application based on the user-set priorities, thus ensuring a good user experience.

[0028] In some possible embodiments, determining the second application from a plurality of applications includes: determining an application associated with the first electronic device from the plurality of applications; and designating the application associated with the first electronic device as the second application.

[0029] In this application, the application associated with the first electronic device is used as the second application, which further ensures the security of the data.

[0030] In some possible embodiments, displaying target content on a first interface of a first application includes: the first application receiving target content sent by a second application; and the first application displaying the target content on the first interface.

[0031] In some possible embodiments, the first application displays target content on the first interface, including: the first application displays the application identifier corresponding to the second application and the target content on the first interface.

[0032] In this application, by displaying the application identifier of the second application, users can intuitively understand which application generated the target content currently displayed on the first interface.

[0033] In some possible embodiments, after generating the target content based on the target intent, the method further includes: the second application sending the target content to the first application; or, the second application displaying the target content in the first interface.

[0034] Since users have already verified the security of applications when installing them on their smart devices, the second application can render the data within the interface corresponding to the first application, thus preventing data leakage.

[0035] In some possible embodiments, the second application displays the target content on the first interface, including: the second application displays the application identifier of the second application and the target content on the first interface.

[0036] In this application, by displaying the application identifier of the second application, users can intuitively understand which application generated the target content currently displayed on the first interface.

[0037] In some possible embodiments, if the first application sends the target intent to multiple second applications, the target content is displayed on the first interface of the first application, including: determining the target content display sequence based on the priority of each second application; and each second application sequentially displaying the corresponding target content on the first interface according to the target content display sequence.

[0038] In this application, target content corresponding to multiple second applications can be displayed simultaneously, and the display effect is guaranteed by setting priorities.

[0039] In some possible embodiments, the method further includes: in response to a triggering operation on the target content in the first interface, the second application enters the display interface corresponding to the target content in the second application.

[0040] In some possible embodiments, the method further includes: a first application deleting the target content from the first interface in response to a deletion operation on the target content in the first interface.

[0041] In some possible embodiments, the first application obtains target information by: taking the content entered by the user in the first interface corresponding to the first application as the target information obtained by the first application; or, receiving information sent by the second electronic device and taking the information sent by the second electronic device as the target information.

[0042] Secondly, embodiments of this application also provide an interactive device applied to a first electronic device, the device comprising:

[0043] The information acquisition module is used by the first application to acquire target information;

[0044] The intent recognition module is used by the first application to perform intent recognition processing on the target information to obtain the target intent;

[0045] A program determination module is used by the first application to determine the second application based on the target intent;

[0046] The intent sending module is used by the first application to send a target intent to the second application.

[0047] The content display module is used to display the target content on the first interface of the first application; the target content is generated by the second application according to the target intent.

[0048] In some possible embodiments, the content display module is also used for the second application to receive the target intent and generate target content based on the target intent.

[0049] In some possible embodiments, the information acquisition module is further configured to: determine whether the target information is a preset type of information; if the first application determines that the target information is a preset type of information, then display a permission verification prompt on the first interface; if the first application does not receive an authorization operation based on the permission verification window, then display a first end prompt on the first interface.

[0050] The intent recognition module is specifically used to: if the first application receives an authorization operation based on the permission verification window, perform intent recognition processing on the target information to obtain the target intent.

[0051] In some possible embodiments, the intent sending module is specifically used for: a first application determining configuration data based on a target intent; and the first application sending the target intent and configuration data to a second application.

[0052] In some possible embodiments, the program determination module is further configured to: determine whether a communication connection has been established with the second application; if the first application determines that a communication connection has not been established with the second application, then establish a communication connection with the second application;

[0053] The intent sending module is specifically used to: if the first application determines that a communication connection has been established with the second application, then send the target intent to the second application.

[0054] In some possible embodiments, the intent sending module is further configured to: receive a communication connection request sent by the first application; and establish a communication connection between the second application and the first application based on the communication connection request.

[0055] In some possible embodiments, the program determination module is further configured to: the first application obtains the key corresponding to the second application based on the communication connection;

[0056] The intent sending module is specifically used to send the key and the target intent to a second application.

[0057] In some possible embodiments, the program determination module is further configured to: receive the key sent by the first application and perform a verification operation on the key; if the verification fails, generate a second end prompt and display the second end prompt on the first interface;

[0058] The intent sending module is specifically used to: receive the target intent sent by the first application if the verification is successful.

[0059] In some possible embodiments, the program determining module is specifically configured to: if the first application determines multiple applications based on the target intent, then determine the second application from the multiple applications.

[0060] In some possible embodiments, the program determination module is specifically used for: displaying multiple applications in a first interface; and, based on a user's trigger operation, identifying the application corresponding to the trigger operation as a second application.

[0061] In some possible embodiments, the program determining module is specifically used to: select the application with the highest priority as the second application based on the priority corresponding to each application; wherein the priority is preset by the user according to the requirements.

[0062] In some possible embodiments, the program determination module is specifically configured to: determine, among multiple applications, an application associated with the first electronic device; and designate the application associated with the first electronic device as a second application.

[0063] In some possible embodiments, the content display module is specifically used for: a first application receiving target content sent by a second application; and the first application displaying the target content on a first interface.

[0064] In some possible embodiments, the content display module is specifically used for: the first application to display the application identifier and target content corresponding to the second application in the first interface.

[0065] In some possible embodiments, the content display module is further configured to: send the target content to the first application; or, display the target content in the first interface.

[0066] In some possible embodiments, the content display module is specifically used for: the second application displaying the application identifier and target content of the second application on the first interface.

[0067] In some possible embodiments, the content display module is specifically used to: determine a target content display sequence based on the priority of each second application; and each second application sequentially displays the corresponding target content in the first interface according to the target content display sequence.

[0068] In some possible embodiments, the intent sending module is further configured to: in response to a triggering operation on the target content in the first interface, the second application enters the display interface corresponding to the target content in the second application.

[0069] In some possible embodiments, the intent sending module is further configured to: delete the target content from the first interface in response to a deletion operation on the target content in the first interface.

[0070] In some possible embodiments, the information acquisition module is specifically used to: take the content entered by the user in the first interface corresponding to the first application as the target information acquired by the first application; or, receive information sent by the second electronic device and take the information sent by the second electronic device as the target information.

[0071] Thirdly, another embodiment of this application also provides an electronic device, including at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any of the methods provided in the first aspect embodiment of this application.

[0072] Fourthly, another embodiment of this application provides a computer-readable storage medium storing a computer program for causing a computer to perform any of the methods provided in the first aspect of this application.

[0073] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0074] Figure 1A A flowchart illustrating the interaction process of a voice assistant in the related technologies provided in this application embodiment;

[0075] Figure 1B This is a schematic diagram of the overall process of an interaction method provided in an embodiment of this application;

[0076] Figure 1C Another schematic diagram illustrating the overall flow of an interaction method provided in an embodiment of this application;

[0077] Figure 2 A schematic diagram illustrating a user inputting target information via voice on a first interface, as provided in an embodiment of this application;

[0078] Figure 3 A schematic diagram illustrating a user inputting target information via text on a first interface, as provided in an embodiment of this application;

[0079] Figure 4A A schematic diagram illustrating the correspondence between the target intent and the application of an interaction method provided in this application embodiment;

[0080] Figure 4BAnother schematic diagram illustrating the correspondence between the target intent and the application of an interaction method provided in this application embodiment;

[0081] Figure 4C A schematic diagram illustrating an interactive method provided in this application for displaying an application in a first interface;

[0082] Figure 4D This is a schematic diagram of configuration data corresponding to the target intent of an interaction method provided in an embodiment of this application;

[0083] Figure 4E This is a schematic diagram illustrating an interaction method provided in this application, in which target content corresponding to two second applications is displayed on a first interface;

[0084] Figure 5 A schematic diagram of the target content displayed in a first interface according to an embodiment of this application;

[0085] Figure 6 A schematic diagram illustrating an interactive method provided in this application, where a user-selected target content is used to enter a display interface corresponding to that target content.

[0086] Figure 7A A schematic diagram of a confirmation prompt box corresponding to a deletion operation in an interactive method provided in an embodiment of this application;

[0087] Figure 7B A schematic diagram of a delete button corresponding to a delete operation in an interactive method provided in an embodiment of this application;

[0088] Figure 7C A schematic diagram illustrating the deletion of an intermediate card using an interactive method provided in this application embodiment;

[0089] Figure 8 A schematic diagram illustrating the process of establishing a communication connection between a first application and a second application in an interaction method provided in this application embodiment;

[0090] Figure 9A A flowchart illustrating the process of determining whether target information is preset type information in an interaction method provided in an embodiment of this application;

[0091] Figure 9B A flowchart illustrating the process of determining whether information of a preset type has been authorized by the user in an interaction method provided in this application embodiment;

[0092] Figure 10 A schematic diagram illustrating the permission verification prompt of an interaction method provided in an embodiment of this application;

[0093] Figure 11A schematic diagram of the authorization interface for an interactive method provided in an embodiment of this application;

[0094] Figure 12 This is a schematic diagram of the first end prompt of an interaction method provided in an embodiment of this application;

[0095] Figure 13A This is a schematic diagram of a second end prompt for an interaction method provided in an embodiment of this application;

[0096] Figure 13B A schematic diagram of a refresh button for an interactive method provided in an embodiment of this application;

[0097] Figure 13C A re-entry prompt is provided for an interactive method according to an embodiment of this application.

[0098] Figure 14 A schematic diagram of the system framework of an interaction method provided in an embodiment of this application;

[0099] Figure 15 A schematic diagram of an apparatus for an interaction method provided in an embodiment of this application;

[0100] Figure 16 This is a schematic diagram of an electronic device for an interaction method provided in an embodiment of this application. Detailed Implementation

[0101] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0102] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0103] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0104] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0105] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0106] With the development of smart terminals, intelligent voice assistants have been widely integrated into smart terminals such as smartphones, tablets, and smart wearable devices. A voice assistant is an intelligent tool driven by artificial intelligence technology that can help users complete various tasks, such as searching for information, providing suggestions, answering questions, and conducting voice interactions.

[0107] like Figure 1A As shown, when a voice assistant interacts with a user, it first obtains the user's input information, then performs intent recognition processing on the target information to obtain the target intent, and sends the obtained target intent to a third-party plugin. The third-party plugin then sends the target intent to the application. After the application generates target content, it sends the target content to the third-party plugin, which then sends the target content to the voice assistant for display. During this process, the third-party plugin receives the target content sent by the application. The third-party plugin may upload the obtained target content to the cloud, where a large model will then learn and train based on the content sent by the third-party plugin. Therefore, this method carries the potential for information leakage.

[0108] To address the aforementioned problems, embodiments of this application provide an interactive method, apparatus, device, and storage medium to solve these problems. The inventive concept of this application can be summarized as follows: A first application in a smart terminal receives target information input by a user, which can be text or voice information; then, the target information undergoes intent recognition processing to obtain the user's intent, i.e., the target intent; after obtaining the target intent, a second application can be determined; to prevent information leakage in the second application, the first application in this application can establish a communication connection with the second application, and then the first application sends the target intent and configuration data associated with the target intent to the second application, so that the second application can generate target content; after generating the target content, the target content can be displayed on a first interface corresponding to the first application. The first application in this application can be... Figure 1A The voice assistant in the middle, the second application can be Figure 1A Applications within.

[0109] In this application, a connection is established between the first application and the second application. Instead of using other plugins to call the content in the second application, the second application generates the target content and then displays the target in the corresponding display interface of the first application. Alternatively, the second application sends the generated target content to the first application, which then displays the target content. This avoids data leakage.

[0110] For ease of understanding, the following detailed description of an interactive method provided by an embodiment of this application, in conjunction with the accompanying drawings, is provided:

[0111] like Figure 1B The diagram shown is a flowchart of an interaction method according to an embodiment of this application, including a first application and a second application, wherein:

[0112] In step 101: The first application obtains the target information.

[0113] In this application, the first application can receive text or voice input from the user and use the received text or voice as the acquired target information. That is, in this application, the user can trigger the application via voice. Figure 1B The process shown in Figure 1 can also be triggered by entering text in the display interface corresponding to the first application.

[0114] In some possible embodiments, the target information may also be an image or link entered by the user, or information sent to the first application by other devices. This application does not limit the method of entering the target information in the first application, nor does it limit the type of the target information.

[0115] To make it easier to understand, the following explanation uses a voice assistant as the first application:

[0116] For example: Figure 2 As shown, on the first interface corresponding to the voice assistant, the user can input "I want to lose weight to 65 kg, please create a weight loss plan" by voice. At this time, the voice assistant will use the obtained "I want to lose weight to 65 kg, please create a weight loss plan" as the target information.

[0117] Or, such as Figure 3 As shown, when a user enters "I want to lose weight to 65 kg, please create a weight loss plan" in the first interface corresponding to the voice assistant, the voice assistant will use the obtained "I want to lose weight to 65 kg, please create a weight loss plan" as the target information.

[0118] It should be noted that this application provides two triggers. Figure 1B The methods shown are merely two embodiments and are not intended to trigger... Figure 1B The method described in the process is limited, but other methods that can wake up the first application are also applicable to this application.

[0119] In step 102: The first application performs intent recognition processing on the target information to obtain the target intent.

[0120] In this application, after obtaining the target information, the first application can use a pre-trained intent recognition model to recognize the intent of the target information, that is, the obtained target information is used as the input of the intent recognition model, and the output of the intent recognition model is the target intent.

[0121] It should be noted that this application does not limit the method of intent recognition, and the method using the intent recognition model given above is only one embodiment.

[0122] For example, when a user enters "I want to lose weight to 65 kg, please create a weight loss plan" in the first interface corresponding to the voice assistant, the voice assistant will use "I want to lose weight to 65 kg, please create a weight loss plan" as the target information. After the voice assistant performs intent recognition processing on the target information, the target intent obtained is "weight loss" and "create a weight loss plan".

[0123] This application does not limit the number of identified target intentions. The two target intentions shown above are only one embodiment and are not intended to limit the number of intentions.

[0124] In step 103: the first application determines the second application based on the target intent.

[0125] In this application, to prevent information leakage, after determining the user's target intent, instead of using a plugin to call and display the corresponding target content, a second application needs to be determined. Therefore, after obtaining the target intent, it is necessary to determine the corresponding second application.

[0126] In some possible embodiments, the correspondence between target intents and applications is pre-set in this application. Therefore, after obtaining the target intent, the target intent can be matched in the correspondence between the target intents and applications to obtain the second application.

[0127] For example: the correspondence between target intent and application, such as Figure 4A As shown, the target intention is determined to be "weight loss" and "developing a fat loss plan", based on Figure 4A The correspondence between the target intent and the application shown can be used to determine that the second application is "Sports and Health".

[0128] It should be noted that in this application Figure 4AThe number of intents in each row of the intent column is shown as two only for illustrative purposes and is not intended to limit the number of intents. Furthermore, in order to ensure the accuracy of the determined second application, each target intent can only match a unique application in the correspondence, but one application can be associated with multiple target intents.

[0129] In some other possible embodiments, there may be multiple applications corresponding to the same set of target intents in the pre-set correspondence between target intents and applications. In this case, multiple applications can be identified based on the target intents and the correspondence. Therefore, it is necessary to identify a second application from among the multiple applications. Specifically, the second application can be identified through any of the following methods:

[0130] For example, this can be implemented as follows: multiple applications are displayed in a first interface; based on the user's trigger operation, the application corresponding to the trigger operation is designated as a second application.

[0131] For example: the pre-defined mapping between target intents and applications, such as... Figure 4B As shown, the target intention is determined to be "weight loss" and "developing a fat loss plan", based on Figure 4B The mapping between target intents and applications shown can be used to obtain applications such as "Sports and Health" or "XX Sports". Figure 4C As shown, the first interface displays "Which application would you like to use to provide you with a plan?" to inform the user that they need to select a second application from the applications. If the user selects "Sports Health", then "Sports Health" will be used as the second application.

[0132] For example, determining the second application can also be implemented as follows: based on the priority of each application; wherein the priority is preset by the user according to the needs; the application with the highest priority is selected as the second application.

[0133] For example: the pre-defined mapping between target intents and applications, such as... Figure 4B As shown, the target intention is determined to be "weight loss" and "developing a fat loss plan", based on Figure 4B The correspondence between the target intent and the application shown can be obtained by finding that the application is "Sports Health" and "XX Sports". The user has set the priority of "Sports Health" to 1 and the priority of "XX Sports" to 2. Therefore, "Sports Health" has the highest priority and will be used as the second application.

[0134] For example, determining the second application can also be implemented by: identifying an application associated with the first electronic device from among multiple applications; and designating the application associated with the first electronic device as the second application. The application associated with the first electronic device is an application included with the system when the system is installed on the first electronic device.

[0135] For example: the pre-defined mapping between target intents and applications, such as... Figure 4B As shown, the target intention is determined to be "weight loss" and "developing a fat loss plan", based on Figure 4B The correspondence between the target intent and the application shown can be obtained by identifying the application as "Sports Health" or "XX Sports". If "Sports Health" is determined to be the application associated with the first electronic device, then "Sports Health" will be used as the second application.

[0136] Of course, it is known that multiple applications determined based on the pre-set correspondence between target intent and application can also be used as second applications.

[0137] For example: the pre-defined mapping between target intents and applications, such as... Figure 4B As shown, the target intention is determined to be "weight loss" and "developing a fat loss plan", based on Figure 4B The correspondence between the target intent and the application shown can be obtained by identifying the application as "Sports Health" and "XX Sports", with both "Sports Health" and "XX Sports" being designated as the second application.

[0138] In step 104: The first application sends the target intent to the second application.

[0139] In this application, to ensure that the second application can accurately generate the target content, the first application sends configuration data corresponding to the target intent to the second application simultaneously, so that the second application can accurately generate the target content. In this embodiment, the configuration data is used to participate in the process of generating the target content together with the target intent.

[0140] In this embodiment, the configuration data includes at least one or a combination of the following: gender, age, current weight, target weight, and needs. The configuration data can be sent synchronously from the first application to the second application when sending the target intent. The second application generates target content based on the received target intent and configuration data. The first application can also call the program interface of the second application to obtain data from the second application to improve the configuration data, and then send the improved configuration data and target intent to the second application simultaneously. The application generates target content based on the received improved configuration data and target intent.

[0141] For example: Figure 4D As shown, if the target intent is determined to be "weight loss" and "creating a weight loss plan," and the configuration data includes "gender, age, current weight, target weight, and needs," then when the first application sends "weight loss" and "creating a weight loss plan" to the second application, it also needs to send "gender, age, current weight, target weight, and needs" to the second application. The second application then refines the configuration data based on the received target intent, obtaining "gender: male, age: XX, current weight: 70 kg, target weight: 65 kg, needs: specified plan," and then generates the target content based on the refined configuration data and the target intent.

[0142] Alternatively, for example: If the target intent is determined to be "weight loss" or "creating a weight loss plan," and the configuration data includes "gender, age, current weight, target weight, and needs," the first application calls the program interface of the second application to refine the configuration data, resulting in "gender: male, age: XX, current weight: 70 kg, target weight: 65 kg, needs: specified plan." Then, the first application sends the "weight loss" or "creating a weight loss plan" and "gender: male, age: XX, current weight: 70 kg, target weight: 65 kg, needs: specified plan" data to the second application. The second application then generates the target content based on the refined configuration data and the target intent.

[0143] It's important to know that the correspondence between the target intent and the configuration data is pre-set and stored in the memory. Therefore, after obtaining the target intent, the configuration data can be obtained by directly matching it in the memory.

[0144] In step 105: The second application receives the target intent sent by the first application.

[0145] After receiving the target intent, the second application can generate the target content according to the configuration data in the communication protocol and the target intent; if the first application sends the configuration data at the same time as sending the target intent, then in this step, the second application needs to receive the configuration data sent by the first application at the same time as receiving the target intent.

[0146] In step 106: The second application generates target content based on the target intent and the acquired configuration data.

[0147] For example: When a user inputs "I want to lose weight to 65 kg, please create a weight loss plan," the voice assistant uses this input as the target information. After processing the target information, the voice assistant's target intent is "weight loss" and "create a weight loss plan." The second application, based on "weight loss," "create a weight loss plan," and the configured data "Gender: Male; Age: XX; Current weight: 70 kg; Target weight: 65 kg; Need: Specify plan," generates the following target content: "About Plan 1 - Your goal today is to burn 500 kcal. The following exercise plan is provided: 1. 20 minutes of outdoor exercise, such as running or badminton, burning 200 kcal; 2. Aerobic class: burning 300 kcal, which can be done through the following link in Sports Health." "Lower limb basic training level 2, sweat-inducing level 3." "About Plan 2 - Your goal today is a maximum intake of 1600 kcal. The following dietary recipes are recommended for you: You can view and create more healthy dietary recipes in Sports Health."

[0148] In step 107: The second application displays the target content on the first interface.

[0149] In this embodiment of the application, the target content may include clickable controls, which may include buttons, icons, links, etc. If a user clicks on a clickable control in the target content, the user can be redirected to the content display interface corresponding to that control, so that the user can understand the content in detail.

[0150] In some possible embodiments, if multiple second applications exist, when displaying the target content on the first interface, it is necessary to determine the display order of the multiple second applications and then display them sequentially. Specifically, this can be implemented as follows: determining the target content display sequence based on the priority of each second application; each second application sequentially displays the corresponding target content on the first interface according to the target content display sequence. The application priority can be preset by the user.

[0151] For example: the pre-defined mapping between target intents and applications, such as... Figure 4B As shown, the target intention is determined to be "weight loss" and "developing a fat loss plan", based on Figure 4B The mapping between the target intent and the application shows that the applications are "Health and Fitness" and "XX Exercise". Both "Health and Fitness" and "XX Exercise" are designated as secondary applications. The user has pre-set the priority of "Health and Fitness" to be 1 and the priority of "XX Exercise" to be 2. Therefore, as follows... Figure 4E As shown, "Sports and Health" first displays the target content on the first screen, and then "XX Sports" displays the target content on the first screen.

[0152] Since users have already verified the security of applications when installing them on their smart devices, the second application can render the identified target content within the interface corresponding to the first application, thus preventing data leakage.

[0153] exist Figure 1B Based on this, embodiments of this application also provide an interaction method, such as Figure 1C As shown, where:

[0154] In step 111: The first application obtains the target information.

[0155] The specific implementation method of this step is the same as that of step 101, and will not be repeated here.

[0156] In step 112: The first application performs intent recognition processing on the target information to obtain the target intent.

[0157] The specific implementation method of this step is the same as that of step 102, and will not be repeated here.

[0158] In step 113: the first application determines the second application based on the target intent.

[0159] The specific implementation method of this step is the same as that of step 103, and will not be repeated here.

[0160] In step 114: The first application sends the target intent to the second application.

[0161] The specific implementation method of this step is the same as that of step 104, and will not be repeated here.

[0162] In step 115: The second application receives the target intent sent by the first application.

[0163] The specific implementation method of this step is the same as that of step 105, and will not be repeated here.

[0164] In step 116: The second application generates target content based on the target intent and the acquired configuration data.

[0165] The specific implementation method of this step is the same as that of step 106, and will not be repeated here.

[0166] In step 117: the second application sends the target content to the first application.

[0167] In step 118: The first application displays the target content on the first interface.

[0168] In this application, the second application may also send the generated target content to the first application, which will then render it in the first interface.

[0169] In this application, to ensure the display effect when rendering the target content, a card size can be preset so that the second application can generate the target content according to the preset card size. After generating the target content, the second application can send the target content to the underlying rendering module in the smart terminal system. Before that, the first application has sent its corresponding first interface to the underlying rendering module, so the underlying rendering module can render the target content in the first interface.

[0170] Secondly, the first application can generate the card size based on the size of the blank area in the current first interface. At the same time as sending the target intent to the second application, the card size is also sent to the second application. After generating the target content, the second application renders it in the first interface using the underlying rendering module.

[0171] In some possible implementations, to facilitate a more intuitive understanding of the displayed target content for users, a combination of text and images can be used to present the target content. For example: The target content is: "About Plan 1 - Your goal for today is to burn 500 kcal. The following exercise plan is provided for you: 1. 20 minutes of outdoor exercise, such as running or badminton, burning 200 kcal; 2. Aerobic class: burning 300 kcal, which can be trained through the following link in Sports Health." "Lower Limb Basic Training Level 2, Heat-Up Level 3" "About Plan 2 - Your goal for today is to consume a maximum of 1600 kcal. The following diet plan is recommended for you: You can view and create more healthy diet plans in Sports Health."

[0172] In some possible embodiments, such as Figure 5 As shown, in order to help users understand which application provides the currently displayed target content, the application identifier of the second application can also be displayed when displaying the target content.

[0173] In some possible embodiments, the user can interact with the target content displayed in the first interface by the second application. That is, after the target content is displayed in the first interface, if the first application detects the user's triggering operation based on the target content, it can determine which application's target content triggered the user's triggering operation, take the determined application as the target application, and then jump to the display interface corresponding to the target content of the target application.

[0174] Due to the limited space on the first interface, the target content displayed by the second application on the first interface is concise and intuitive. If the user triggers an action on the target content, it means that the user wants to see detailed content related to the target content. Therefore, the second application needs to determine the display interface corresponding to the target content based on the target content. Optionally, the display interface includes not only the target content but also related content associated with the target content.

[0175] For example: Figure 6 As shown, when a user clicks on the target content displayed on the first interface and determines that the application corresponding to the target content is Health and Fitness, the user enters the display interface of the target content in Health and Fitness, which includes the target content and related content.

[0176] It should be noted that this application does not limit the specific implementation method of the triggering operation. For example, it can be a single click on the target content, a double click on the target content, a triple click on the target content, or a swipe up on the target content.

[0177] In some possible embodiments, to further protect user privacy, after browsing the displayed target content on the first interface, the user can also trigger a deletion operation on the target content. If the first application detects that the user has triggered a deletion operation, it will delete the target content corresponding to the deletion operation from the first interface.

[0178] In this application, if the first application detects that the user has triggered a deletion operation, it first determines the target card that the user wants to delete based on the triggering location of the deletion operation on the smart terminal, and then deletes the target card from the first interface.

[0179] For example: Figure 7A As shown, users can long-press on the target content to trigger a deletion operation. A confirmation prompt will then appear; if the user clicks "confirm," the target content will be deleted from the first screen. Alternatively, as shown... Figure 7B As shown, users can long-press on the target content to trigger the deletion operation. At this time, a delete button will appear in the upper right corner of the target content. Users can click the delete button to delete the target content from the first screen.

[0180] What we can know is that, in addition to adopting Figure 7A , Figure 7B In addition to deleting the target content using the method shown, the target content can also be deleted from the first interface by swiping left, swiping right, or other methods. This application does not limit the specific implementation method for deleting target content from the first interface.

[0181] In this application, to ensure aesthetic appeal, the layout of other cards on the interface needs to be adjusted after the user deletes the card corresponding to the target content. For example, if the user deletes the last card on the interface... Figure 7A The cards shown can be directly deleted by the user; if Figure 7C As shown, the user deleted the middle card. At this point, the card below the deleted card needs to be moved up to avoid a blank area in the middle and ensure the display effect.

[0182] What needs to be known is that Figure 7A and Figure 7B These are embodiments of the two deletion methods given in this application, and are not intended to limit the specific implementation method of the deletion operation.

[0183] In some possible embodiments, in order to ensure that the first application and the second application can interact, it is necessary to implement the following steps before performing step 104 or step 114 (i.e., before the first application sends the target intent to the second application): Figure 8 The steps shown are as follows:

[0184] In step 801: the first application determines whether a communication connection has been established with the second application; if it is determined that no communication connection has been established, proceed to step 802.

[0185] It's important to know that if a communication connection has been established, the currently executing step can be determined and execution can continue. For example: after executing step 101, the following step was executed... Figure 8 If step 801 is shown and it is confirmed that a communication connection has been established, then proceed directly to step 102; if step 112 is executed and then... Figure 8 If step 801 is shown and it is determined that a communication connection has been established, then proceed directly to step 113.

[0186] In step 802: The first application sends a communication connection request to the second application.

[0187] In this application, after the second application is determined, in order to enable the second application to directly render the target content in the first interface corresponding to the first application, it is necessary to establish a communication connection between the first application and the second application.

[0188] In step 803: the second application receives a communication connection request sent by the first application and establishes a communication connection with the first application based on the communication connection request.

[0189] In this application, after the second application establishes a communication connection with the first application, the second application can interact with the first application. This application does not limit the specific method by which the first application and the second application establish a communication connection.

[0190] What needs to be known is that Figure 8 The steps shown can be performed before the first application sends the target intent to the second application. This application provides for implementation. Figure 8 The timing and implementation of the steps shown Figure 1B Other steps (steps 101-103) Figure 1C The timing of the other steps (steps 111-113) is not limited, provided that the first application and the second application have not established a communication connection. Figure 1B , Figure 1C Other steps and Figure 8 The execution order of the steps shown can be: Step 801 - Step 802 - Step 803 - Step 101 / 111 - Step 102 / 112 - Step 103 / 113 - Step 104 / 114, or Step 101 / 111 - Step 801 - Step 802 - Step 803 - Step 102 / 112 - Step 103 / 113 - Step 104 / 114, or Step 101 / 111 - Step 102 / 112 - Step 801 - Step 802 - Step 803 - Step 103 / 113 - Step 104 / 114, or Step 101 / 111 - Step 102 / 112 - Step 103 / 113 - Step 801 - Step 802 - Step 803 - Step 104 / 114. When the first application and the second application have established a communication connection, Figure 1B , Figure 1C Other steps and Figure 8 The execution order of the steps shown can be: step 801-step 101 / 111-step 102 / 112-step 103 / 113-step 104 / 114, or step 101 / 111-step 801-step 102 / 112-step 103 / 113-step 104 / 114, or step 101 / 111-step 102 / 112-step 801-step 103 / 113-step 104 / 114, or step 101 / 111-step 102 / 112-step 103 / 113-step 801-step 104 / 114.

[0191] In other possible embodiments, to further prevent the leakage of user privacy data, therefore, in implementation Figure 1B Step 101 or Figure 1C After step 111 (i.e., after the first application obtains the target information), the following can be implemented: Figure 9A The steps shown are as follows:

[0192] In step 901: Determine whether the target information is a preset type of information; if yes, proceed to step 902; otherwise, proceed to step 102 or step 112.

[0193] In this application, to further ensure data security, user authorization is required when the target information is determined to belong to a preset type of information. Execution can only proceed after successful authorization. Figure 1B , Figure 1C Other steps in the process. For example, preset type information may include: privacy information, sleep information, exercise information, personal body parameters, etc.

[0194] In step 902: Generate a permission verification prompt and display the permission verification prompt on the first interface.

[0195] For example, if a user voice-inputs "Tell me your sleep duration last night" on the first interface of the first application, the first application will use this "Tell me your sleep duration last night" as the target information. If the target information is determined to be sleep information, and the sleep information belongs to a preset type, then the application will generate a message like this on the first interface. Figure 10 The permission verification prompt shown.

[0196] In some possible embodiments, the user implements Figure 1B or Figure 1C Prior to the steps shown, some data may have already been authorized, therefore... Figure 9B As shown, after implementing step 901, if it is determined that the target information is information of a preset type, step 911 is also required: determine whether the information of the preset type has been authorized by the user. If it has been authorized by the user, proceed to step 102 or step 112. If it has not been authorized by the user, proceed to step 902.

[0197] In step 903: Determine whether an authorization operation has been received; if received, proceed to step 102 or step 112; otherwise, proceed to step 904.

[0198] For example: users in Figure 10 Clicking the "Click to Authorize" link in the permission verification prompt will take you to the authorization page, as shown below. Figure 11 The authorization interface shown will proceed to step 904 if the user clicks "No". If the user clicks "No" on the authorization interface, the process will continue to step 904. Figure 11 If you click "Yes" on the interface shown, you will proceed to step 102 or 112.

[0199] In step 904: Generate the first end prompt and display the first end prompt on the first interface.

[0200] In this application, if the user clicks on such Figure 10 If the permission verification prompt shown appears, then proceed as follows: Figure 11 The authorization interface shown in Figure 1 allows users to continue with other steps if they grant authorization; otherwise, the first interface will display the following: Figure 12 The first ending prompt is shown below. For example, the permission verification prompt includes: a prompt to inform the user that permission verification is required, "I am not authorized to display content related to sports and health," and a link to the authorization interface, "Click to Authorize"; the authorization interface includes: a pop-up prompting the user to choose whether to authorize, "Do you allow the voice assistant to display content related to sports and health?", and buttons for the user to choose, "Yes" and "No"; the first ending prompt includes: a prompt informing the user that authorization has been denied, "You have denied the voice assistant from displaying content related to sports and health."

[0201] For example, if a user inputs "Tell me your sleep duration last night" via voice on the first interface of the first application, the first application will use this "Tell me your sleep duration last night" as the target information. If the target information is determined to be sleep information, belongs to a preset type, and the user has authorized the use of sleep information, then the target intent and corresponding configuration data are determined. This determined target intent and configured data are then sent to the second application, which generates and displays the target content based on the received configuration data and target intent.

[0202] It should be noted that this application Figure 10 , Figure 11 , Figure 12 The examples provided are merely one instance of the permission verification prompt, authorization interface, and first end prompt, and are not intended to limit the specific display method.

[0203] In some possible embodiments, to protect user privacy data, after the first application establishes a communication connection with the second application, the first application can also obtain the key corresponding to the second application. Then, when sending the target intent and configuration data to the second application, the first application sends the key along with it. Upon receiving the key, the second application first needs to verify it. If the verification is successful, it receives the target intent and configuration data sent by the first application and continues to execute subsequent steps. If the verification fails, a second end prompt is generated and displayed on the first interface. For example, the second end prompt can be as follows: Figure 13AAs shown, this includes: a message to inform the user of access failure: "This access failed, please try again."

[0204] For example: Application A establishes a communication connection with Application A and obtains the key corresponding to Application A as AAXXX. However, due to network latency or packet loss, the voice assistant sends the key AXXX instead of the correct key to Application A. Application A determines that the key is incorrect, thus verification fails, generating a second termination prompt, and so on. Figure 13A As shown in the first interface.

[0205] In this situation, to ensure a good user experience, it is possible to do so as follows: Figure 13B As shown, a refresh button is displayed simultaneously with the second end prompt. If the user clicks the refresh button, the first application will again perform the operation of establishing a communication connection with the second application. For example, step 801 will be executed again.

[0206] In other possible embodiments, such as Figure 13C As shown, while displaying the second end prompt, a re-entry prompt can also be displayed, so that the user can re-enter the target information in the first interface after seeing the re-entry prompt.

[0207] Based on the same inventive concept, the system framework of an interaction method provided in the embodiments of this application will be described below, such as... Figure 14 As shown, where:

[0208] The smart terminal includes: a first application 1401, an intent data framework 1402, a second application 1403, a secure data area 1404, and a security negotiation module 1405; wherein:

[0209] The first application 1401 is used to acquire target information and perform intent recognition processing on the target information to obtain the target intent; determine the configuration data corresponding to the target intent based on the intent data framework 1402; and determine the second application 1403 based on the target intent.

[0210] Intent data frame 1402 is used to store configuration data corresponding to the target intent;

[0211] The second application 1403 is used to obtain relevant data from the secure data area 1404 based on the target intent and configuration data and generate target content;

[0212] Security data area 1404 is used to store security data corresponding to the second application;

[0213] The security negotiation module 1405 is used to establish a communication connection between the first application 1401 and the second application 1402.

[0214] Based on the same inventive concept, after introducing an interaction method provided by an embodiment of this application, as follows: Figure 15 As shown, the following describes an interactive device 1500 when the executing entity is a first application in a smart terminal. The device includes:

[0215] Information acquisition module 15001 is used by the first application to acquire target information;

[0216] The intent recognition module 15002 is used by the first application to perform intent recognition processing on the target information to obtain the target intent;

[0217] Program determination module 15003 is used by the first application to determine the second application based on the target intent;

[0218] The intent sending module 15004 is used for the first application to send the target intent to the second application;

[0219] The content display module 15005 is used to display target content on the first interface of the first application; the target content is generated by the second application according to the target intent.

[0220] In some possible embodiments, the content display module 15005 is also used for the second application to receive the target intent and generate target content based on the target intent.

[0221] In some possible embodiments, the information acquisition module 15001 is further configured to: determine whether the target information is a preset type of information; if the first application determines that the target information is a preset type of information, display a permission verification prompt on the first interface; if the first application does not receive an authorization operation based on the permission verification window, display a first end prompt on the first interface.

[0222] The intent recognition module 15002 is specifically used to: if the first application receives an authorization operation based on the permission verification window, perform intent recognition processing on the target information to obtain the target intent.

[0223] In some possible embodiments, the intent sending module 15004 is specifically used for: the first application determining configuration data based on the target intent; and the first application sending the target intent and configuration data to the second application.

[0224] In some possible embodiments, the program determination module 15003 is further configured to: determine whether a communication connection has been established with the second application; if the first application determines that a communication connection has not been established with the second application, then establish a communication connection with the second application;

[0225] The intent sending module 15004 is specifically used to: if the first application determines that a communication connection has been established with the second application, send the target intent to the second application.

[0226] In some possible embodiments, the intent sending module 15004 is further configured to: receive a communication connection request sent by the first application; and establish a communication connection between the second application and the first application based on the communication connection request.

[0227] In some possible embodiments, the program determination module 15003 is further configured to: the first application obtains the key corresponding to the second application based on the communication connection;

[0228] The intent sending module 15004 is specifically used to send the key and the target intent to the second application.

[0229] In some possible embodiments, the program determination module 15003 is further configured to: receive the key sent by the first application and perform a verification operation on the key; if the verification fails, generate a second end prompt and display the second end prompt on the first interface;

[0230] The intent sending module 15004 is specifically used to: receive the target intent sent by the first application if the verification is successful.

[0231] In some possible embodiments, the program determination module 15003 is specifically used to: if the first application determines multiple applications based on the target intent, then determine the second application from the multiple applications.

[0232] In some possible embodiments, the program determination module 15003 is specifically used for: displaying multiple applications in a first interface; and, based on a user's trigger operation, designating the application corresponding to the trigger operation as a second application.

[0233] In some possible embodiments, the program determination module 15003 is specifically used to: select the application with the highest priority as the second application based on the priority corresponding to each application; wherein the priority is preset by the user according to the requirements.

[0234] In some possible embodiments, the program determination module 15003 is specifically used to: determine the application associated with the first electronic device from among multiple applications; and designate the application associated with the first electronic device as a second application.

[0235] In some possible embodiments, the content display module 15005 is specifically used for: the first application receiving target content sent by the second application; and the first application displaying the target content on a first interface.

[0236] In some possible embodiments, the content display module 15005 is specifically used for: the first application to display the application identifier and target content corresponding to the second application in the first interface.

[0237] In some possible embodiments, the content display module 15005 is further configured to: send the target content to the first application; or, display the target content in the first interface.

[0238] In some possible embodiments, the content display module 15005 is specifically used for: the second application to display the application identifier and target content of the second application on the first interface.

[0239] In some possible embodiments, the content display module 15005 is specifically used to: determine the target content display sequence based on the priority of each second application; and each second application sequentially displays the corresponding target content in the first interface according to the target content display sequence.

[0240] In some possible embodiments, the intent sending module 15004 is further configured to: in response to a triggering operation on the target content in the first interface, the second application enters the display interface corresponding to the target content in the second application.

[0241] In some possible embodiments, the intent sending module 15004 is further configured to: delete the target content from the first interface in response to a deletion operation on the target content in the first interface.

[0242] In some possible embodiments, the information acquisition module 15001 is specifically used to: take the content entered by the user in the first interface corresponding to the first application as the target information acquired by the first application; or, receive information sent by the second electronic device and take the information sent by the second electronic device as the target information.

[0243] Corresponding to the above embodiments, this application also provides an electronic device. Figure 16 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 1600 may include a processor 1601, a memory 1602, and a communication unit 1603. These components communicate through one or more buses. Those skilled in the art will understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention. It may be a bus topology or a star topology, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0244] The communication unit 1603 is used to establish a communication channel, enabling the electronic device to communicate with other devices. It receives user data from other devices or sends user data to other devices.

[0245] The processor 1601 serves as the control center of the electronic device, connecting various parts of the device via interfaces and lines. It executes software programs and / or modules stored in the memory 1602 and retrieves data stored in the memory to perform various functions and / or process data. The processor can be composed of integrated circuits (ICs), such as a single packaged IC or multiple packaged ICs with the same or different functions connected together. For example, the processor 1601 may consist only of a central processing unit (CPU). In this embodiment, the CPU may have a single processing core or include multiple processing cores.

[0246] The memory 1602 is used to store the execution instructions of the processor 1601. The memory 1602 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0247] When the execution instructions in memory 1602 are executed by processor 1601, the electronic device 1600 is able to perform some or all of the steps in the embodiment shown in FIG1.

[0248] In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program, when executed, may include some or all of the steps of the various embodiments of the interactive method provided by the present invention. The storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0249] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments of the present invention.

[0250] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the device embodiments and terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.

Claims

1. An interaction method, characterized in that, Applied to a first electronic device, the method includes: The first application obtains the target information; The first application performs intent recognition processing on the target information to obtain the target intent; The first application determines the second application based on the target intent; The first application sends the target intent to the second application; The target content is displayed on the first interface of the first application; the target content is generated by the second application according to the target intent.

2. The method according to claim 1, characterized in that, Before displaying the target content on the first interface of the first application, the method further includes: The second application receives the target intent; The target content is generated based on the target intent.

3. The method according to claim 1, characterized in that, After the first application obtains the target information, the method further includes: The first application determines whether the target information is a preset type of information; If the first application determines that the target information is of a preset type, then a permission verification prompt is displayed on the first interface; If the first application does not receive an authorization operation based on the permission verification window, a first end prompt will be displayed on the first interface; The first application performs intent recognition processing on the target information to obtain the target intent, including: If the first application receives an authorization operation based on the permission verification window, it performs intent recognition processing on the target information to obtain the target intent.

4. The method according to claim 1, characterized in that, The first application sends the target intent to the second application, including: The first application determines the configuration data based on the target intent; The first application sends the target intent and the configuration data to the second application.

5. The method according to claim 1, characterized in that, Before the first application sends the target intent to the second application, the method further includes: The first application determines whether a communication connection has been established with the second application; If the first application determines that no communication connection has been established with the second application, then establish a communication connection with the second application; The first application sends the target intent to the second application, including: If the first application determines that a communication connection has been established with the second application, then the target intent is sent to the second application.

6. The method according to claim 5, characterized in that, The method further includes: The second application receives a communication connection request sent by the first application; The second application establishes a communication connection with the first application based on the communication connection request.

7. The method according to claim 5, characterized in that, After establishing a communication connection with the second application, the method further includes: The first application obtains the key corresponding to the second application based on the communication connection; Sending the target intent to the second application includes: Send the key and the target intent to the second application.

8. The method according to claim 7, characterized in that, Before the second application receives the target intent sent by the first application, the method further includes: The second application receives the key sent by the first application and performs a verification operation on the key; If the verification fails, a second end prompt is generated and displayed on the first interface; The second application receives the target intent sent by the first application, including: If the verification is successful, the target intent sent by the first application is received.

9. The method according to claim 1, characterized in that, The first application determines the second application based on the target intent, including: If the first application identifies multiple applications based on the target intent, then the second application is identified from among the multiple applications.

10. The method according to claim 9, characterized in that, The step of determining the second application from the plurality of applications includes: The first application displays the plurality of applications on the first interface; Based on the user's triggering action, the application corresponding to the triggering action is designated as the second application.

11. The method according to claim 9, characterized in that, The step of determining the second application from the plurality of applications includes: Based on the priority of each application, the application with the highest priority is selected as the second application; wherein, the priority is preset by the user according to their needs.

12. The method according to claim 9, characterized in that, The step of determining the second application from the plurality of applications includes: The application associated with the first electronic device is identified from the plurality of applications; The application associated with the first electronic device is used as the second application.

13. The method according to claim 1, characterized in that, Displaying the target content on the first interface of the first application includes: The first application receives the target content sent by the second application; The first application displays the target content on the first interface.

14. The method according to claim 13, characterized in that, The first application displays the target content in the first interface, including: The first application displays the application identifier corresponding to the second application and the target content on the first interface.

15. The method according to claim 2, characterized in that, After generating the target content based on the target intent, the method further includes: The second application sends the target content to the first application; or, The second application displays the target content on the first interface.

16. The method according to claim 15, characterized in that, The second application displays the target content on the first interface, including: The second application displays its application identifier and the target content on the first interface.

17. The method according to claim 1, characterized in that, If the first application sends the target intent to multiple second applications, then displaying the target content on the first interface of the first application includes: The target content display sequence is determined based on the priority of each of the second applications; Each of the second applications displays the corresponding target content in the first interface in sequence according to the target content display sequence.

18. The method according to claim 1, characterized in that, The method further includes: The second application responds to a triggering operation on the target content in the first interface. Enter the display interface corresponding to the target content in the second application.

19. The method according to claim 1, characterized in that, The method further includes: The first application deletes the target content from the first interface in response to a deletion operation on the target content in the first interface.

20. The method according to claim 1, characterized in that, The first application acquires target information, including: The content entered by the user in the first interface corresponding to the first application is used as the target information obtained by the first application; or, information sent by the second electronic device is received and used as the target information.

21. An electronic device, characterized in that, It includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to perform the method of any one of claims 1-20.

22. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1-20.