Processing method, device and equipment

By getting targeted input and targeting content and applications in the voice assistant, the problem of users having to remember explicit instructions is solved, enabling natural application interaction and improved ease of use.

CN118535243APending Publication Date: 2024-08-23LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410613347.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing voice assistants can only call applications through explicit voice instructions, resulting in users having to remember and issue explicit instructions, making the interaction process unnatural.

Method used

By obtaining the target input, determining the target content and target application, and sending the target content to the target application to load it in a running state, application interaction without explicit instructions is achieved.

Benefits of technology

Make the user's interaction with the application natural, and the user can determine the intention and perform the corresponding action through the target input, reducing the operation path and improving the ease of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535243A
    Figure CN118535243A
Patent Text Reader

Abstract

The embodiment of the invention discloses a processing method, device and equipment, and the method comprises the steps: obtaining target input which represents a natural language; obtaining target content and a target application program in response to the target input; the target content serves as content loaded when the target application program is in a running state; and sending the target content to the target application program, so that the target application program is in a running state to load the target content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the field of artificial intelligence, and in particular to a processing method, device and equipment. Background Art

[0002] Currently, the application voice assistant can only call the corresponding application after receiving clear voice commands. For example, the user needs to clearly input "open a certain application" to start the application. However, for the voice assistant, opening is a clear command and the certain application is a clear object. Therefore, the user's manual click on the application is simply changed into a clear voice control command. However, for the user, in order to call the corresponding application, the user must remember and issue a clear voice control command to interact with the application. The interaction with the application achieved through such clear voice commands is less natural for the user. Summary of the invention

[0003] In view of this, the embodiments of the present application at least provide a processing method, device and equipment.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] On the one hand, an embodiment of the present application provides a processing method, which includes: obtaining a target input, wherein the target input represents a natural language; in response to the target input, obtaining a target content and a target application; using the target content as content loaded by the target application in a running state; and sending the target content to the target application so that the target application loads the target content in a running state.

[0006] On the other hand, an embodiment of the present application provides a processing device, which includes: a first acquisition module, used to obtain a target input, wherein the target input represents a natural language; a second acquisition module, used to obtain a target content and a target application in response to the target input; the target content is used as content loaded by the target application when it is in a running state; and a sending module, used to send the target content to the target application so that the target application loads the target content when it is in a running state.

[0007] On the other hand, an embodiment of the present application provides an electronic device, comprising a display screen for displaying target content; at least one processor, the processor being used to obtain target input, the target input representing a natural language; obtaining target content and a target application in response to the target input; the target content being content loaded when the target application is in a running state; and sending the target content to the target application so that the target application loads the target content when it is in a running state.

[0008] On the other hand, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements part or all of the steps in the above method when executed by a processor.

[0009] On the other hand, an embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.

[0010] On the other hand, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, it implements some or all of the steps in the above method.

[0011] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0013] Figure 1 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application;

[0014] Figure 2 A schematic diagram of the interaction between a PPT and an intelligent agent application provided in an embodiment of the present application;

[0015] Figure 3A A schematic diagram of an implementation flow of a PPT and intelligent assistant processing method provided in an embodiment of the present application;

[0016] Figure 3B A schematic diagram of the interaction between PPT and intelligent assistant provided in the embodiment of the present application Figure 1 ;

[0017] Figure 3CA schematic diagram of the interaction between PPT and intelligent assistant provided in the embodiment of the present application Figure 2 ;

[0018] Figure 3D A third schematic diagram of interaction between a PPT and an intelligent assistant provided in an embodiment of the present application;

[0019] Figure 4A A schematic diagram of an implementation flow of a mailbox and intelligent assistant processing method provided in an embodiment of the present application;

[0020] Figure 4B A schematic diagram of the interaction between a mailbox and an intelligent assistant provided in an embodiment of the present application Figure 1 ;

[0021] Figure 4C A schematic diagram of the interaction between a mailbox and an intelligent assistant provided in an embodiment of the present application Figure 2 ;

[0022] Figure 4D Schematic diagram 3 of the interaction between a mailbox and an intelligent assistant provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of the structure of a processing device provided in an embodiment of the present application;

[0024] Figure 6 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0026] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0027] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as the general understanding of those skilled in the art in the field to which the embodiments of the present application belong. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0028] The present application embodiment provides a processing method, which can be executed by an intelligent agent application, such as Figure 1 As shown, the method may include steps S101 to S103:

[0029] Step S101: obtaining a target input, where the target input represents a natural language;

[0030] The target input may include but is not limited to at least one of voice information, text information, image information, etc.

[0031] During implementation, the target input may be obtained in any suitable manner, which is not limited here.

[0032] In some implementations, the target input may be obtained through information input operations performed by the user on the human-computer interaction interface of the agent application, including but not limited to at least one of voice input operations, text input operations, image acquisition operations, and the like.

[0033] In some embodiments, the user triggers an operation in another application by using a function key, so that the selected content in the other application and the application trigger operation instruction are sent to the intelligent agent application through a plug-in built into the application, so that the intelligent agent application obtains the target input. The application trigger operation includes but is not limited to at least one of a start operation, a generation operation, and a search operation. The selected content includes but is not limited to at least one of text content, image content, and voice content. Among them, another application refers to an application other than the intelligent agent application in the device, such as Word, Excel, PowerPoint, etc.

[0034] For example, in the Word application, the user selects content in the document, triggers the start of the intelligent application through the right-click function, sends the selected content to the intelligent application through the relevant plug-in, and uses it as the target input of the intelligent application.

[0035] Alternatively, the user selects content in a document in a Word application and triggers the start of an intelligent application through the right-click function, where the right-click function list includes specific tasks of the triggerable intelligent application. The selected content and the specific task instructions of the triggered intelligent application are sent to the intelligent application through a related plug-in as the target input of the intelligent application.

[0036] Step S102: In response to the target input, determine the target content and the target application; the target content is used as the content loaded by the target application in the running state;

[0037] Here, the target input may include relevant information representing the user's intention, or may not include relevant information representing the user's intention; for example, the user's intention may include, but is not limited to, retrieval of content information, generation of content information, and application information.

[0038] In some embodiments, relevant information that can represent the user's intention can be input through the human-computer interaction interface of the intelligent application, for example, inputting a search for a PPT file named "first content" and inserting the found content into the third page of the PPT file named "second name"; relevant information that does not represent the user's intention can also be input through the human-computer interaction interface of the intelligent application, for example, inputting text information including names, people, time, discussions, etc. in a piece of content.

[0039] In some implementations, relevant information that can represent the user's intention can be obtained by triggering another application, for example, the user right-clicks to trigger a similarity search task after selecting content in a PPT file; relevant information that does not represent the user's intention can also be obtained by triggering another application, for example, the user right-clicks to trigger the start operation of the intelligent agent application after selecting content in a PPT file. It should be noted that for target input triggered by another application, if the user does not indicate the target application, the intelligent agent application can directly use the other application as the target application, or if the user expresses application information through interaction with the intelligent agent application, the intelligent agent application uses the application information expressed by the user as the target application.

[0040] In some embodiments, by using relevant information that can represent the user's intention input through the human-computer interaction interface of the intelligent agent application as the target input, the intention can be extracted directly based on the content in the target input. For example, a PPT file named "first content" is searched for, and the found content is inserted into the third page of the PPT file named "second name", and the target content is: PPT file named "first content", and the target application is: PPT; relevant information that does not represent the user's intention can also be input through the human-computer interaction interface of the intelligent agent application. For example, a piece of text information including name, person, time, discussion and other contents is input. It is necessary to first analyze the input text information to determine that its intention is a meeting notification, so its target content is: meeting invitation content, and the target application is: email, conference software and other programs.

[0041] It should be noted that the target content and target application analyzed based on the target input may be single or multiple, and there is no specific limit on the number.

[0042] In some implementations, the determined target content and target application may be displayed on the human-computer interaction interface of the intelligent agent application, so that the user may perform further screening based on the relevant content displayed on the human-computer interaction interface.

[0043] The above implementation can be achieved by calling the intelligent engine.

[0044] Step S103: sending the target content to the target application so that the target application is in a running state to load the target content.

[0045] In some embodiments, when the target content and target application on the human-computer interface of the intelligent application are single, the intelligent application can automatically call the target application, send the target content to the target application, and then parse and further process the target content through the plug-in of the target application; or corresponding function buttons can be generated on the human-computer interface based on the target content and the target application, and the user triggers the function button to trigger the intelligent application to call the target application, send the target content to the target application, and then parse and further process the target content through the plug-in of the target application.

[0046] In some embodiments, when there are multiple target contents and target applications on the human-computer interface of the intelligent application, the user can select the required target content and target application on the human-computer interface. After the user completes the selection, the selected target application is called to start, and then the selected target content is sent to the selected target application for further processing; or within a preset time period, the first of multiple target contents and the first of multiple target applications on the human-computer interaction interface can be selected by default, and then the first target application is called to start, and the first target content is sent to the target application.

[0047] Here, after receiving the target content, the target application parses the content, wherein the target content can be displayed on the target application or can be used as a task of the target application.

[0048] In some implementations, the target application is in a running state and loads the target content: the target application may display the target content on a display interface of the target application, or the target application may execute related tasks based on the target content.

[0049] For example, when the target content is a picture and the target program is PPT, the picture can be displayed on the page of the PPT file; when the target content is the body of an email and the target application is an email, the target application executes the email creation task and displays the target content as email content in the corresponding module.

[0050] In an embodiment of the present application, target content and target application are obtained through target input, and then the target content is sent to the target application, so that the target application is in a running state to load the target content. This implementation method allows the application to determine the user's intention through target input without obtaining explicit instructions from the user, and perform corresponding actions based on the intention, making the interaction between the user and the application natural.

[0051] In some embodiments, the above step S102 obtains the target content and the target application in response to the target input, and may include steps S111 and S112:

[0052] Step S111: In response to the target input, calling at least one intelligent engine;

[0053] Here, an intelligent engine refers to a software or system that is used to simulate human intelligence, conduct autonomous learning and reasoning, and solve complex problems. The intelligent engine can be a built-in intelligent engine on the local machine or an intelligent engine on the cloud.

[0054] In some embodiments, the intelligent agent application can choose to call the local intelligent engine and / or the cloud intelligent engine. For example, the intelligent agent application can choose to call the local intelligent engine, the intelligent application can choose the cloud intelligent engine, or the intelligent application can choose to call both the local and cloud intelligent engines at the same time.

[0055] Here, when the smart application body is not connected to the network, the local smart engine can be directly called in response to the target input; when the smart application is connected to the network, the user can choose to call the local smart engine or the cloud smart engine through the interactive interface of the smart application body. The corresponding smart engine can be called based on the user's choice, or, if the user does not make a choice, the corresponding smart engine can be started through the default engine type in the smart application. Here, the local smart engine is generally started by default.

[0056] It should be noted that if the local intelligent engine is unable to complete the task of processing the target input alone when connected to the Internet, the cloud-based intelligent engine can be actively called to assist in completing the task.

[0057] Step S112: Obtain target content and target application based on the at least one intelligent engine.

[0058] In some implementations, when the obtained target input already contains the user's intent, an intelligent engine corresponding to the user's intent, such as a large language model engine, can be called to directly execute related tasks corresponding to the user's intent, thereby obtaining the result of the task execution.

[0059] In some embodiments, when the obtained target input does not contain the user's intention, an intelligent engine, such as an intent analysis engine, can be called to first analyze the user's intention, then decompose the user's intention into single or multiple tasks, and call the intelligent engine corresponding to the task to execute the task. After the task is completed, the corresponding task execution result is obtained.

[0060] It should be noted that when the user's intention can characterize the task of the target content but does not reflect the target application to which the target content is ultimately applied, the user can infer the target application to which the target content can be applied based on the target content. For example, if the task of the target content is to generate a meeting invitation, then by calling the intelligent engine, it can be inferred that the persons who need to be notified to attend the meeting can be sent via email or via meeting invitation software. Therefore, the target application can be obtained as email, meeting invitation software and other applications.

[0061] It should be noted that, for a target input triggered by another application, the application that triggers the target input can be directly used as the target application.

[0062] In the embodiment of the present application, the intelligent engine is called through target input, and the user's next action is predicted to obtain the target content and target application. This method better meets the user's needs for application usage.

[0063] In some embodiments, the above step S111, in response to the target input, calls at least one intelligent engine, and may include steps S121 and S122:

[0064] Step S121: calling a first intelligent engine based on the target input;

[0065] Here, the first intelligent engine refers to a correlation engine for analyzing user intentions.

[0066] In some embodiments, when the target input does not contain user intent, the first intelligent engine may be called first to analyze the user intent. The user intent may be an intent about the target content and / or an intent about the target application. The first intelligent engine may be implemented by a word frequency statistics method, a grammatical analysis method, a machine learning method, etc., which is not specifically limited here and is implemented by those skilled in the art according to actual conditions.

[0067] It should be noted that, when the target input does not contain the intent about the target content and / or the intent about the target application, it is necessary to call the first intelligent engine to perform intent analysis on the target input.

[0068] In some implementations, after the first intelligent engine is started, it may first perform grammatical analysis based on the target input to determine the central verb and noun in the target input, and then identify the intent of the target input based on the intent dictionary.

[0069] In some implementations, after the first intelligent engine is started, it may first perform word frequency statistics based on the target input, and then determine the word with the highest frequency as the intention of the target input.

[0070] In some embodiments, after the first intelligent engine is started, it can first perform word segmentation based on the target input, such as using jieba word segmentation, and then vectorize the target input after word segmentation, such as using One-hot encoding, and finally perform logistic regression classification. Finally, the output result after the logistic regression classification is completed is determined as the intention of the target input.

[0071] Step S122: converting the target input representing the natural language into at least one execution task based on the first intelligent engine;

[0072] Among them, the first execution task of the at least one execution task includes calling a second intelligent engine to obtain target content.

[0073] Here, the second intelligent engine refers to a related engine for executing a corresponding task of the target content in the user's intention.

[0074] In some implementations, when obtaining user intent, the user intent needs to be decomposed into corresponding target tasks, and the corresponding intelligent engine is called based on each decomposed target task to obtain target content, wherein the target task may be similarity content retrieval, email generation, etc.

[0075] In some embodiments, when the target task is similarity content retrieval, a second intelligent engine is started to extract a feature vector used to characterize the target task in the target input, and a vector comparison is performed between a vector database in a knowledge base in the intelligent agent application and the feature vector characterizing the target task. Through a vector matching algorithm, file content that meets a similarity threshold is determined as the target content.

[0076] It should be noted that the knowledge base in the agent application may include a keyword vector database corresponding to the relevant knowledge documents. For example, the user may upload the relevant knowledge documents to the knowledge base, and after receiving the uploaded documents, the knowledge base splits the documents to obtain the split documents, and then performs vectorized data processing on the split documents through the encoder, and then clusters the vectorized data using a clustering algorithm to generate multiple clusters, and for each cluster, extract the keywords of all the split modules in the cluster through the second intelligent engine, and then sort the keywords to form a vector database composed of the keyword vector data corresponding to the relevant knowledge documents.

[0077] In some embodiments, a second execution task of the at least one execution task includes invoking a third intelligence engine to obtain a target application.

[0078] Here, the third intelligent engine is a related engine for executing tasks corresponding to the target application in the user's intention.

[0079] In some implementations, when obtaining user intent, the user intent needs to be decomposed into corresponding target tasks, and the corresponding intelligent engine is called based on each decomposed target task to obtain the target content, wherein the target task may also be obtaining a target application, etc.

[0080] In some embodiments, when the target task is to obtain a target application, a third intelligent engine is started to extract a feature vector in the target input used to characterize the target task, and a vector comparison is performed between a vector database in a knowledge base in the intelligent agent application and the feature vector characterizing the target task to determine the target application.

[0081] It should be noted that the knowledge base in the intelligent agent application may include a keyword vector database corresponding to the relevant application. For example, the user may provide the information of the relevant application, where the application information may be the content of the application installed on the computer and the description information of the corresponding application. After receiving the information of the application, the knowledge base splits the information of the application to obtain the split documents, and then performs vectorized data processing on the split application information through the encoder, and then uses the clustering algorithm to cluster the vectorized data to generate multiple clusters. For each cluster, the third intelligent engine extracts the keywords of all the split modules in the cluster, and then organizes the keywords to form a vector database composed of keyword vector data corresponding to the information of the relevant application.

[0082] In some embodiments, when there is a target instruction, the above step S111 calls at least one intelligent engine in response to the target input, and may also include steps S113 to S115:

[0083] Step S113: obtaining a target instruction;

[0084] In some embodiments, the target instruction may be an information input operation of a user in the human-computer interaction interface of an intelligent application, for example, inputting a search for a PPT file named "first content" and inserting the found content into the third page of a PPT file named "first name". The target instruction is: searching for a PPT file named "first content" and inserting the found content into the third page of a PPT file named "first name".

[0085] In some implementations, the target instruction may be triggered by another application to obtain relevant information that may represent the user's intent. For example, after the user selects content in a PPT file, he right-clicks to trigger a similarity search, and the target instruction is to search for similar content.

[0086] Step S114: calling the second intelligent engine based on the target instruction;

[0087] In some embodiments, the second intelligent engine may be directly called based on a target instruction, wherein the target instruction may include a target content acquisition instruction and / or a target application acquisition instruction. The second intelligent engine may be a large language model engine, wherein a large language model (LLM) is a deep learning model trained using a large amount of text data.

[0088] In some implementations, the second intelligent engine corresponding to the target instruction can be directly called through the target instruction to execute the target task corresponding to the target content.

[0089] Step S115: Obtain the target content based on the second intelligent engine and the target input.

[0090] In some embodiments, after starting the second intelligent engine, a feature vector used to characterize the target task is extracted from the target input, and a vector comparison is performed between the vector database in the knowledge base in the intelligent agent application and the feature vector characterizing the target task to determine the target content.

[0091] In some embodiments, the above step S103 sending the target content to the target application may include at least one of step S116 and step S117:

[0092] Step S116: if the target application is in a running state, sending the target content to the target application;

[0093] Here, after the target application and the target content are acquired in step S102, the target content needs to be applied to the target application, so the current running state of the target application needs to be determined.

[0094] In some embodiments, the intelligent application can send a message requesting to be sent to the target application. If the target application does not return a relevant message within a preset time period, it is determined that the target application is not running. If a message agreeing to send is received from the target application, it is determined that the target application is running.

[0095] In some implementations, when it is determined that the target application is in a running state, the target content is sent to the target application, and the target application receives the target content through a plug-in associated with the intelligent agent application.

[0096] Step S117: If the target application is not running, start the target application and send the target content to the target application.

[0097] In some implementations, when it is determined that the target application is not running, the intelligent agent application may send a startup instruction through a corresponding plug-in, and the plug-in determines that the target application is started after receiving the instruction.

[0098] It should be noted that during the implementation process, it is possible that the application cannot be started remotely. This is because the application may contain a lot of user security information. Therefore, in order to ensure the security of user information, it can be set that the application cannot be started remotely.

[0099] In some embodiments, the implementation method for such applications that cannot be remotely started can be that the application information uploaded by the user to the knowledge base includes relevant descriptions of whether remote startup is supported. After the target application is determined, the corresponding information can be obtained to determine whether remote startup is supported. Alternatively, when the intelligent application sends relevant startup instructions to the target application and does not receive a message returned by the target application within a preset time period, it is determined that the target application does not support remote startup.

[0100] In some implementations, when the target application refuses to be remotely started, the target content and the target application may be saved in a related module in the knowledge base, and after the start of the target application is detected, the target content may be sent to the target application.

[0101] In some embodiments, when the target input is content sent by the first application, obtaining the target input in step S101 includes:

[0102] Step S118: obtaining a target input sent by the first application; the target input includes the content selected by the first application;

[0103] Here, the first application refers to an application other than the intelligent agent application, for example, it can be an application such as PPT, mailbox, etc.

[0104] For example, when the first application includes PPT, after the user selects the relevant content of the current page of PPT in the PPT interface, he / she selects "Find similar content" in the right-click function button, triggering the plug-in built into PPT to call the relevant interface to send the selected content to the intelligent application; or when the first application includes a mailbox, the user selects any email in the sent list of the mailbox, selects "Generate meeting invitation" in the right-click function button, triggering the plug-in built into the email to call the relevant interface to send the selected email content information to the intelligent application.

[0105] In the above step S102, based on the content selected by the first application, determining that the target application is the first application and the target content includes:

[0106] Step S119: determining the target application to be the first application and the target task based on the content selected by the first application;

[0107] For example, in the case where the first application includes PPT, the intelligent application receives the content sent by PPT, obtains the keywords in the content, and searches for related content in the local big model of the intelligent application through these keywords. If there is related content, it is returned to the human-computer interaction interface of the intelligent application, and an insert function button is generated at the same time; or, in the case where the first application includes a mailbox, the intelligent application receives the content sent by the mailbox, parses the content sent by the mailbox through the local big model, obtains the recipient information of the email, the subject of the email and summarizes the content of the email, and returns the obtained content to the human-computer interaction interface of the intelligent application, and a meeting invitation function button is generated at the same time.

[0108] The sending of the target content to the target application in step S103 so that the target application is in a running state and loads the target content includes:

[0109] Step S120: in response to a triggering event for the target content, sending the target content to the first application; the first application presents the target content on a display page of the first application.

[0110] Here, the trigger event may be a trigger of a functional operation on the agent application, such as an insert operation or a meeting invitation operation.

[0111] For example, when the triggering event includes an insert operation, the intelligent application processes the insert content selected by the user and sends an insert message to PPT through the message pipeline. The message includes the file path to be inserted and the inserted file page. After the PPT process receives the insert message, it calls the relevant interface of PPT to perform a specific insert operation. When the triggering event includes a meeting invitation operation, the intelligent application calls the email creation interface and processes the generated meeting invitation content, and sends it to the mailbox as a parameter for email creation. After the mailbox receives the creation message, it performs a specific email creation operation.

[0112] The following takes PPT insertion as an example to explain the processing of PPT and agent application in detail. Figure 2 As shown, it includes steps S201 to S207:

[0113] Step S201: Add PPT, where the user adds the PPT file to the agent application through the human-computer interaction interface of the agent application;

[0114] It should be noted that both intelligent agent applications and PPT are application programs at the application layer.

[0115] Step S202: After the PPT file is uploaded, the agent application sends the PPT file to the knowledge base, and vectorizes the uploaded file through the local large model to obtain its vector data information;

[0116] Step S203: The user selects content in the PPT file and right-clicks to trigger similar content search. The plug-in in the PPT sends the selected content to the intelligent agent application through the corresponding interface;

[0117] Step S204: After receiving the content sent by the PPT, the intelligent agent application first parses the content sent by the construction layer, parses the content sent by the intelligent agent application into machine language, and obtains the corresponding execution task. In the process of executing the task, the intelligent engine is called and processed by the large model corresponding to the intelligent engine, and the file content similar to the content selected by the user in the knowledge base is obtained and sent to the framework layer;

[0118] Step S205: the framework layer processes the similar file contents obtained through the large model, and sends the processed similar file contents to the intelligent agent application; the human-computer interaction interface of the intelligent agent application displays the received similar file contents;

[0119] Step S206: the user selects content in the human-computer interaction interface of the agent application and clicks to insert; the agent application obtains the file path and the file content to be inserted, and sends them to the PPT after processing;

[0120] Step S207: After receiving the relevant message, PPT parses it and performs a specific insertion operation.

[0121] The above processing method is explained below in conjunction with a specific embodiment. For ease of understanding, the following takes email and PPT as specific target applications and smart assistant as a specific intelligent application as an example to introduce possible processes applicable to the embodiments of the present application. However, it is worth noting that this specific embodiment is only for the purpose of better illustrating the present application and does not constitute an improper limitation on the present application.

[0122] The interaction between smart application products on the market and other applications remains at the one-way interaction stage. For example, in PPT creation, smart application products can find multiple PPTs with similar content through intelligent search, rather than a specific page of content in the PPT. The intelligent perception is not flexible, and after obtaining the search results, only the results are presented. The user's expected operations cannot be predicted, and the user needs to manually open the document to view it, which has poor usability. In addition, the user's operations between multiple windows are less correlated, and the user needs to interrupt the operations in the current interface to search and open a new window, which has a strong sense of jumping out.

[0123] The present application embodiment provides a two-way interaction between PPT and intelligent assistant, such as Figure 3A As shown, it includes steps S301 to S305:

[0124] Step S301: The user selects content in the PPT;

[0125] Here, when the user is making a PPT, if he needs to search for similar content in related files on the local computer for the content in the current page, he needs to select the content in the current page first.

[0126] Step S302: The user right-clicks and selects to search for similar PPT content;

[0127] Here, after the user selects the similar content that needs to be found in the current interface, right-click and select Smart Assistant, and then further choose to find similar PPT content.

[0128] See also Figure 4BFirst, the user selects the content to search for similarities: the positioning of the smart assistant in the strategic system 31, and then right-clicks to display optional function operations 32, wherein the optional function operations 32 include: smart assistant, open, pin to quick access, pin to "start", compress to ZIP file, copy file address, properties, and further, right-clicks on the optional function operations 32 that appear, and the user selects the smart assistant. The function operations 33 supported by the smart assistant include: text polishing, finding similar PPT content, finding related files, and asking questions. Here, the function operation selected by the user is to find similar PPT content.

[0129] After the user clicks the function button, the plug-in built into PPT will obtain the text content selected by the mouse through the relevant interface, and then send the selected text content to the human-computer interaction interface of the smart assistant through the message pipeline between the smart assistant and PPT.

[0130] Step S303: the intelligent assistant generates corresponding content;

[0131] Here, after right-clicking and selecting to search for similar content PPT in step S302, PPT will package the related content and send it to the smart assistant. After the smart assistant receives the message sent by PPT, it will parse the received message and determine to start the task of searching for similar content.

[0132] In the process of executing the task, the intelligent assistant will obtain the currently selected content, and then analyze the currently selected content through the intent classification model to extract the key information in the currently selected content; then, based on the key information in the selected content, the file content in the knowledge base of the intelligent assistant is searched for similarity; finally, some related content that meets the key information is displayed in the human-computer interaction interface module of the intelligent assistant.

[0133] It should be noted that the files in the knowledge base of the smart assistant are uploaded by users in advance from files on their local computers.

[0134] See also Figure 3C After receiving the message sent by PPT, the intelligent assistant parses the message content, determines the task to be performed, and gives feedback on the interface, such as Figure 3C In the example, the task 34 parsed by the smart assistant is: Find the relevant page "The Positioning of Smart Assistant in the Strategic System". After the smart assistant completes the task, it will display the corresponding task result on the interface, such as Figure 3CIn the example, the smart assistant responds 35 to the above task content: OK, I found the following content for you, and displays the similar content 36 found below the response. At this point, the smart assistant's task has been completed. In addition, while displaying the similar content on the interface, supported operations are also provided on the display interface of each similar content, such as insert operation 37.

[0135] Step S304: The user clicks on the content to insert it into the PPT;

[0136] Here, based on the similar contents acquired in step S303, the user may select one of the similar contents and click the insert operation.

[0137] Step S305: Insert below the current PPT.

[0138] Here, after the user chooses to insert the similar content displayed on the smart assistant display interface, the smart assistant will package the path of the content selected by the user and the page to be inserted into a message and send it to PPT. After PPT receives the message, it will parse the message through the built-in plug-in of PPT and perform the insertion operation.

[0139] It should be noted that the built-in plug-ins in PPT need to be pre-installed in the PPT software.

[0140] See also Figure 3D , the user selects a similar content on the display interface of the smart assistant and clicks Insert. The smart assistant will package the relevant insertion information into a message and send it to PPT. After receiving the message, PPT will parse it and perform the insertion operation. Figure 3D The second page 38 in the PPT list is the inserted similarity content.

[0141] The present application embodiment provides a two-way interaction between a mailbox and an intelligent assistant, such as Figure 4A As shown, it includes steps S401 to S406:

[0142] Step S401: The user selects an email;

[0143] Here, if the user wants to send a meeting invitation based on the content of a previously sent email, he needs to select this email.

[0144] Step S402: The user right-clicks and selects a meeting invitation;

[0145] Here, after selecting the email, the user right-clicks the mouse and selects Smart Assistant-Meeting Invite in the pop-up menu bar.

[0146] See also Figure 4BFirst, the email selected by the user is the second email in the email list, and then right-clicking it will bring up optional function operations 41, where the optional function operations 41 include: smart assistant, copy, quick print, reply, reply all and forward. Further, right-clicking on the optional function operations 41 that appear, the user selects a smart assistant, and the function operations 42 supported by the smart assistant include: adding to a personal knowledge base, email summary, meeting request and asking questions to Lenovo Xiaotian. Here, the operation selected by the user is a meeting invitation.

[0147] Step S403: the intelligent assistant generates invitation content;

[0148] Here, after right-clicking and selecting Smart Assistant-Meeting Invitation in step S402, the mailbox will package the relevant content and send it to the smart assistant. After receiving the message sent by the mailbox, the smart assistant will parse the received message and determine to start the task of executing the meeting invitation.

[0149] During the task execution process, the intelligent assistant will obtain the currently selected content, and then parse the currently selected content through the intelligent engine, extract the recipient information and email subject in the currently selected email, and summarize the content of the email; then, based on the extracted recipient information, email subject, and email content summary, a meeting invitation email is generated through the meeting invitation email template, and the email content is displayed on the display module of the intelligent assistant.

[0150] See also Figure 4C After receiving the message sent by the mailbox, the intelligent assistant will parse the message content to determine the task to be performed, and after completing the task, the corresponding task result will be displayed on the interface, such as Figure 4C In the task of meeting invitation, the smart assistant replies 43: OK, the email summary has been generated for you, and the generated meeting invitation content 44 is displayed below the reply. At this point, the smart assistant's task has been completed. In addition, while displaying the email content on the interface, the interface for creating the email is also obtained and packaged and displayed below. See Figure 4C Create an invitation email in 45.

[0151] Step S404: The user clicks to create an invitation email;

[0152] Here, based on the conference invitation email generated in step S403 and the link for creating the invitation email, the user can click the link for creating the invitation email.

[0153] Step S405: Generate invitation content in the email;

[0154] Here, after the user clicks the link to create an invitation email displayed on the smart assistant display interface, the interface for creating an email is called. The smart assistant will package the generated invitation email and the email recipient information into a message and send it to the mailbox. After the mailbox receives the message, it will parse the message through the built-in plug-in of the mailbox and fill in the email-related parameters carried in the message back to the corresponding module of the email.

[0155] It should be noted that the built-in plug-ins in the mailbox need to be installed in the mailbox in advance.

[0156] See also Figure 4D , the user clicks the Create Invitation Email link on the smart assistant display interface, the smart assistant will call the create email interface, and use the invitation email and email recipient information as relevant parameters of the create email interface, thereby realizing the creation of the meeting invitation email, see Figure 4D The content 46 on the left is a conference invitation email created based on the content generated in step S403.

[0157] Step S406: The user sends an email.

[0158] Here, the user can check or supplement the missing information based on the generated email content. After confirming that the email content is correct, the user clicks the send button to send the meeting invitation email to the relevant personnel.

[0159] According to the above implementation process, a processing method in the embodiment of the present application can obtain the following beneficial effects based on the embodiment of the present application:

[0160] 1. Direct access to operations between different applications: Users can directly access the next operation function of the current result in a certain application, avoiding multiple switching between different applications for the same task and reducing the operation path to one-click completion;

[0161] 2. Advance prediction: Predict the user's next action in advance and provide smarter solutions, such as directly inserting similar PPT content into the current document and automatically filling the generated content into the email with one click.

[0162] Based on the foregoing embodiments, an embodiment of the present application provides a processing device, which includes the modules included and the units included in the modules, and can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0163] Figure 5 A schematic diagram of the structure of a processing device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the processing device 500 includes:

[0164] A first obtaining module 501 is used to obtain a target input, where the target input represents a natural language;

[0165] The second obtaining module 502 is used to obtain target content and target application in response to the target input; the target content is the content loaded by the target application in the running state;

[0166] The sending module 503 is used to send the target content to the target application so that the target application is in a running state and loads the target content.

[0167] In some embodiments, the second obtaining module includes:

[0168] A first calling unit, configured to call at least one intelligent engine in response to the target input;

[0169] The first obtaining unit is used to obtain target content and target application based on the at least one intelligent engine.

[0170] In some embodiments, the first calling unit includes:

[0171] A first calling subunit, configured to call a first intelligent engine based on the target input;

[0172] a conversion subunit, configured to convert the target input representing the natural language into at least one execution task based on the first intelligent engine;

[0173] Among them, the first execution task of the at least one execution task includes calling a second intelligent engine to obtain target content.

[0174] In some embodiments, the second obtaining module includes:

[0175] A second obtaining unit, used for obtaining a target instruction;

[0176] The first calling unit includes:

[0177] A second calling subunit, configured to call the second intelligent engine based on the target instruction;

[0178] An obtaining subunit is used to obtain the target content based on the second intelligent engine and the target input.

[0179] In some embodiments, the sending module includes at least one of the following:

[0180] A first sending unit, configured to send the target content to the target application if the target application is in a running state;

[0181] The activation unit is used to activate the target application and send the target content to the target application if the target application is not running.

[0182] In some embodiments, the first obtaining module includes:

[0183] A third obtaining unit is used to obtain a target input sent by the first application; the target input includes the content selected by the first application;

[0184] The second acquisition module comprises:

[0185] A determination unit, configured to determine, based on the content selected by the first application, that the target application is a first application and target content;

[0186] The sending module comprises:

[0187] The second sending unit is configured to send the target content to the first application in response to a triggering event for the target content; and the first application presents the target content on a display page of the first application.

[0188] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0189] It should be noted that in the embodiment of the present application, if the above-mentioned data processing method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.

[0190] An embodiment of the present application provides an electronic device, including a display screen and at least one processor. Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the electronic device 601 includes:

[0191] Display screen 601, used to display target content;

[0192] At least one processor 602 is used to obtain a target input, wherein the target input represents a natural language; obtain a target content and a target application in response to the target input; use the target content as content loaded by the target application in a running state; and send the target content to the target application so that the target application loads the target content in a running state.

[0193] The electronic device comprises at least one memory for storing a plurality of applications including at least the target application, and at least one or more intelligent engines including a large language model;

[0194] An embodiment of the present application provides an electronic device, comprising: at least one memory for storing multiple applications including at least the target application, and at least one or more intelligent engines including a large language model; at least one processor for running the multiple applications and the one or more intelligent engines; wherein the multiple applications are located in an application layer, the one or more intelligent engines are located in an intelligent engine layer, and there is a framework layer between the application layer and the intelligent engine layer, and the framework layer is used to perform one of the following: calling at least one intelligent engine; obtaining target content and target application based on the at least one intelligent engine and providing them to the application layer; or; calling a first intelligent engine; converting the target input representing natural language into at least one execution task based on the first intelligent engine; at least executing a first execution task among the at least one execution task, and the first execution task includes calling a second intelligent engine to obtain target content and provide it to the application layer.

[0195] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.

[0196] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.

[0197] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.

[0198] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.

[0199] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.

[0200] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0201] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0202] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0203] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0204] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0205] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0206] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A processing method, the method comprising: Obtaining a target input, wherein the target input represents a natural language; In response to the target input, obtaining target content and target application; The target content is content loaded as the target application in a running state; The target content is sent to the target application so that the target application is in a running state to load the target content.

2. The method according to claim 1, wherein in response to the target input, obtaining target content and target application comprises: In response to the target input, invoking at least one intelligent engine; Target content and a target application are obtained based on the at least one intelligent engine.

3. The method according to claim 2, wherein in response to the target input, calling at least one intelligent engine comprises: Invoking a first intelligent engine based on the target input; Converting the target input representing the natural language into at least one execution task based on the first intelligent engine; Among them, the first execution task of the at least one execution task includes calling a second intelligent engine to obtain target content. 4 . The method according to claim 3 , wherein the second execution task in the at least one execution task comprises calling a third intelligence engine to obtain a target application.

5. The method according to claim 2, further comprising: Get target instructions; In response to the target input, calling at least one intelligent engine comprises: calling the second intelligent engine based on the target instruction; The target content is obtained based on the second intelligent engine and the target input.

6. The method according to any one of claims 1 to 5, wherein sending the target content to the target application comprises at least one of the following: If the target application is in a running state, sending the target content to the target application; If the target application is not running, the target application is started and the target content is sent to the target application.

7. The method according to any one of claims 1 to 5, wherein obtaining the target input comprises: Get the target input sent by the first application; The target input includes content selected by the first application; The step of obtaining target content and target application in response to the target input includes: Based on the content selected by the first application, determining that the target application is the first application and the target content; The sending the target content to the target application so that the target application is in a running state and loads the target content includes: In response to a trigger event for the target content, the target content is sent to the first application; and the first application presents the target content on a display page of the first application.

8. A processing device, comprising: A first acquisition module is used to obtain a target input, where the target input represents a natural language; A second obtaining module, configured to obtain target content and target application in response to the target input; The target content is content loaded as the target application in a running state; The sending module is used to send the target content to the target application so that the target application is in a running state and loads the target content.

9. An electronic device, comprising: A display screen, used to display target content; at least one processor, the processor being configured to obtain a target input, the target input representing a natural language; In response to the target input, a target content and a target application are obtained; the target content is loaded as content when the target application is in a running state; The target content is sent to the target application so that the target application is in a running state to load the target content.

10. The electronic device according to claim 9, comprising: at least one memory for storing a plurality of applications including at least the target application, and at least one or more intelligent engines including a large language model; The at least one processor is configured to run the plurality of applications and the one or more intelligent engines; The multiple applications are located in the application layer, the one or more intelligent engines are located in the intelligent engine layer, and there is a framework layer between the application layer and the intelligent engine layer, and the framework layer is used to perform one of the following: Invoke at least one intelligent engine; obtain target content and target application based on the at least one intelligent engine and provide them to the application layer; or; Invoking a first intelligent engine; converting the target input representing the natural language into at least one execution task based on the first intelligent engine; At least a first execution task among the at least one execution task is executed, wherein the first execution task includes calling a second intelligent engine to obtain target content and provide it to the application layer.