Multi-agent cooperative interaction method and device
By setting the operation area and the agent area in the display interface, users can operate and edit content in multiple agent windows, solving the cumbersome operation problems caused by users' frequent switching of agents and improving user experience and efficiency.
Patent Information
- Application Number
- CN202411218299.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-31
- Publication Date
- 2024-11-22
AI Technical Summary
In desktop applications, users need to frequently switch different agents to complete subtasks, resulting in cumbersome operations and poor user experience.
By deploying the operation area and the agent area in the display interface, users can perform content operations and editing in the display windows of multiple agents, avoiding switching windows between different agents.
Reduces the complexity of user operations, improves user experience, and improves the efficiency of multi-task operations.
Smart Images

Figure CN119002771A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for collaborative interaction of multiple intelligent agents. Background Art
[0002] In desktop applications, users usually need to switch between different agents to complete different subtasks, such as document editing, data analysis, marketing plan generation, etc., in order to achieve the main task. Therefore, there are cases where the operation is cumbersome, resulting in a poor user experience. Summary of the invention
[0003] In view of this, the present application provides a multi-agent collaborative interaction method and device as follows:
[0004] A multi-agent collaborative interaction method, comprising:
[0005] Obtaining first operations respectively for the first content and at least one second content;
[0006] Wherein, the first content is the content of the first window, the at least one second content is the content of at least one second window, the first window and the second window are respectively presented in corresponding intelligent agent areas in the display interface, and the display interface also includes an operation area; the first window is a display window of the first intelligent agent, and the second window is a display window of the second intelligent agent; the intelligent agent is used to provide corresponding intelligent services;
[0007] In response to the first operation, the first content and the second content are output to the operation area, and the content displayed in the operation area can be edited.
[0008] The above method, preferably, further comprises:
[0009] Obtaining a second operation for third content in the operation area;
[0010] In response to the second operation, providing the third content to a third agent to obtain fourth content output by the third agent according to the third content; the third agent is an agent corresponding to the second operation in the agent area;
[0011] The third content is replaced by the fourth content.
[0012] In the above method, preferably, the second operation is: an operation of selecting the third content, and an operation of determining the third agent through an option menu corresponding to the third content;
[0013] Alternatively, the second operation is: an operation of dragging the third content to a display window of the third agent.
[0014] Preferably, the method above, outputting the first content and the second content to the operation area, includes:
[0015] Replace the content output in the operation area with the first content and the second content;
[0016] or,
[0017] The first content and the second content are inserted into target locations in the content output in the operation area.
[0018] In the above method, preferably, the content output in the operation area is output in accordance with the output mode corresponding to the editing template;
[0019] Wherein, the method further comprises:
[0020] Obtaining a switching operation for a target template in a template area, wherein the template area presents at least one editing template, and the editing template is obtained by a fourth agent according to content output by the operation area;
[0021] In response to the switching operation, the operation area is controlled to output corresponding content according to the output mode corresponding to the target template.
[0022] In the above method, preferably, the display window of the agent in the agent area is presented according to the relative position information presented most recently; the relative position information represents the relative position relationship between the display window of the agent and the operation area;
[0023] Wherein, the method further comprises:
[0024] When the position of the display window of the agent relative to the operation area changes, the relative position information corresponding to the display window of the agent is updated.
[0025] In the above method, preferably, the display interface further includes a menu area, and the menu area is used to output at least one menu option;
[0026] The agent area is presented in the display interface when the agent option in the menu option is triggered, and at least a display window of a target agent is presented in the agent area.
[0027] The above method, preferably, further comprises:
[0028] Obtaining a trigger operation for switching controls in the first window;
[0029] In response to the trigger operation, a switching list is output, wherein the switching list includes at least one to-be-selected identifier, and the to-be-selected identifier is used to uniquely identify the corresponding intelligent agent;
[0030] When one of the candidate identifications is selected, the display window of the agent corresponding to the selected candidate identification replaces the first window;
[0031] In the case that a plurality of the to-be-selected identifiers are selected, the display windows of the agents corresponding to the selected to-be-selected identifiers are presented in the agent area.
[0032] The above method, preferably, further comprises:
[0033] Obtaining a drag operation on the first window;
[0034] In response to the dragging operation, the first window is output to a position corresponding to the dragging operation.
[0035] A multi-agent collaborative interaction device, comprising:
[0036] An operation obtaining unit, configured to obtain first operations respectively for the first content and at least one second content;
[0037] Wherein, the first content is the content of the first window, the at least one second content is the content of at least one second window, the first window and the second window are respectively presented in corresponding intelligent agent areas in the display interface, and the display interface also includes an operation area; the first window is a display window of the first intelligent agent, and the second window is a display window of the second intelligent agent; the intelligent agent is used to provide corresponding intelligent services;
[0038] The content output unit is used to output the first content and the second content to the operation area in response to the first operation, and the content displayed in the operation area can be edited.
[0039] It can be seen from the above technical scheme that in a collaborative interaction method and device for multiple agents disclosed in the present application, an operation area and an agent area are deployed in the display interface. The operation area is used to present content, and the agent area is used to present display windows of multiple agents. Each display window presents corresponding content. Based on this, the user can input the corresponding content in the display window of each agent, so that the content can be output to the operation area, and the user can edit the content in the operation area. It can be seen that in the present application, the display windows of multiple agents are presented through the agent area, and the user does not need to switch windows between different agents, and can perform content operations in the display windows of multiple agents, thereby reducing the complexity of user operations and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 A flowchart of a multi-agent collaborative interaction method provided in an embodiment of the present application;
[0042] Figure 2 This is an example diagram showing a display window of multiple agents and interacting with an operation area in an embodiment of the present application;
[0043] Figure 3 A partial flow chart of a multi-agent collaborative interaction method provided in an embodiment of the present application;
[0044] Figure 4 , Figure 5 , Figure 6 and Figure 7 They are respectively example diagrams of multiple agents interacting with an operation area in the embodiments of the present application;
[0045] Figure 8 Another partial flow chart of a multi-agent collaborative interaction method provided in an embodiment of the present application;
[0046] Fig. 9 , Fig.10 , Fig.11 and Fig.12 They are respectively another example diagram of multiple agents interacting with the operation area in the embodiments of the present application;
[0047] Fig.13Another partial flow chart of a multi-agent collaborative interaction method provided in an embodiment of the present application;
[0048] Fig.14 , Fig.15 , Fig.16 , Fig.17 , Fig.18 , Fig.19 and Fig. 20 They are respectively example diagrams of switching agents in the embodiments of the present application;
[0049] Fig.21 Another partial flow chart of a multi-agent collaborative interaction method provided in an embodiment of the present application;
[0050] Fig. 22 This is an example diagram of a display window for dragging an intelligent agent in an embodiment of the present application;
[0051] Fig.23 A schematic diagram of the structure of a multi-agent collaborative interaction device provided in an embodiment of the present application;
[0052] Fig.24 Another structural schematic diagram of a multi-agent collaborative interaction device provided in an embodiment of the present application;
[0053] Fig.25 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0054] Fig.26 , Fig. 27 , Fig.28 and Fig.29 They are respectively schematic diagrams of the interaction between the workbench and the display window of the intelligent body when the present application is applied to a notebook. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0056] refer to Figure 1 As shown, it is a flowchart of a method for implementing a collaborative interaction of multiple agents provided in an embodiment of the present application, and the method can be applied to electronic devices equipped with multiple agents, such as mobile phones, tablet computers, notebooks, etc. The technical solution in this embodiment is mainly used to improve the user experience of the agent.
[0057] Specifically, the method in this embodiment may include the following steps:
[0058] Step 101: Obtain first operations respectively for a first content and at least one second content.
[0059] Among them, the first content is the content in the first window, the at least one second content is the content in at least one second window, the first window and the second window are respectively presented in the corresponding intelligent entity areas in the display interface, and the display interface also includes an operation area; the first window is the display window of the first intelligent entity, and the second window is the display window of the second intelligent entity; the intelligent entity is used to provide corresponding intelligent services.
[0060] For example, Figure 2 As shown in , in this embodiment, a display interface is presented on an electronic device, and the display interface includes at least an intelligent body area and an operation area. A first window and at least one second window are presented in the intelligent body area. The first window is a display window of a first intelligent body, and a first content is presented in the first window. The first intelligent body is used to provide a first intelligent service, such as an intelligent service for image generation; the second window is a display window of a second intelligent body, and a second content is presented in the second window. The second intelligent body is used to provide a second intelligent service, such as an intelligent service for fault diagnosis or file retrieval. There may be at least partial overlap or no overlap between the operation area and the display window of the intelligent body. The display area of the operation area may be larger than the window area of the display window of any intelligent body. The user can operate the content in the operation area.
[0061] Specifically, the first operation may be an operation of selecting the first content and the second content, or the first operation may be an operation of dragging the first content and the second content to the operation area, etc. The first operation is used to output the first content and the second content to the operation area.
[0062] Step 102: In response to a first operation, the first content and the second content are output to an operation area, and the content displayed in the operation area can be edited.
[0063] For example, Figure 2 As shown in , after the first content "image A" and the second content "text B" are output to the operation area, the user can edit the image A and the text B. For example, the user can embed the text B into the image A; for another example, the user can modify the text B to the text C; for another example, the user can change the color of a local area in the image A, and so on.
[0064] It can be seen from the above technical scheme that in a collaborative interaction method of multiple agents provided in an embodiment of the present application, an operation area and an agent area are deployed in a display interface, the operation area is used to present content, and the agent area is used to present display windows of multiple agents, each display window presenting corresponding content, based on which, the user can input operations on the corresponding content in the display window of each agent, so that these contents can be output to the operation area, and thus the user can edit these contents in the operation area. It can be seen that in the present application, the display windows of multiple agents are presented through the agent area, and the user does not need to switch windows between different agents, and can perform content operations in the display windows of multiple agents, thereby reducing the complexity of user operations and improving the user experience.
[0065] In one implementation, the method in this embodiment may also include the following processing: Figure 3 As shown in:
[0066] Step 301: Obtain a second operation for a third content in an operation area.
[0067] The third content is at least part of the content in the operation area, and the third content may be the same as or different from the first content and the second content in the previous text. The second operation is used to provide the third content to the third agent. For example, the user changes the color of image A in the operation area to obtain image D. If the user wants to put image D in the third agent, the user can select image D and select the menu option "Add to Agent 1" corresponding to image D, or the user can drag image D to the display window of agent 1.
[0068] Step 302: In response to the second operation, the third content is provided to the third agent to obtain the fourth content output by the third agent according to the third content.
[0069] The third agent is an agent corresponding to the second operation in the agent area. The third agent is an agent whose display window is presented in the agent area. The third agent can be the same as or different from the first agent or the second agent. The third agent is used to provide a third intelligent service, such as an intelligent service for image generation.
[0070] Specifically, the second operation may be: an operation of selecting the third content, and an operation of determining the third agent through the option menu corresponding to the third content. The second operation points to the third agent. Based on this, in this embodiment, the third content is provided to the third agent according to the direction of the second operation. Figure 4As shown in , the second operation is: select image D, click the right button of the mouse, and select the menu option of "Add to Agent 1" in the option menu displayed by the right button of the mouse for image D. Based on this, the second operation points to agent 1, based on this, image D is provided to agent 1.
[0071] Alternatively, the second operation may be an operation of dragging the third content to the display window of the third agent, and the second operation points to the third agent. Based on this, in this embodiment, the third content is provided to the third agent according to the direction of the second operation. Figure 5 As shown in , the second operation is: dragging the image D to the display window of the agent 1. Based on this, the second operation points to the agent 1, based on which, the image D is provided to the agent 1.
[0072] It should be noted that the third agent can process the third content through the third intelligent service to obtain the fourth content. For example, agent 1 performs color replacement on image D according to the prompt input by the user, and based on this, changes the red in image D to pink to obtain image E; for another example, agent 1 performs word correction on the characters in image D, and according to the correction result, changes "x" to "y" to obtain image E.
[0073] Step 303: Replace the third content with the fourth content.
[0074] For example, Figure 4 As shown in , the color-changed image E is replaced in the operation area; as shown in Figure 5 As shown in , the image E after character error correction is replaced in the operation area.
[0075] Therefore, in this embodiment, through the interaction with multiple intelligent agents, the content in the operation area can be processed by the intelligent services of each intelligent agent, so that the content in the operation area is more complete, thereby improving the user experience.
[0076] In one implementation, when the first content and the second content are output to the operation area in step 102, the first content and the second content may replace the content output in the operation area.
[0077] The content in the operation area replaced by the first content is related to the first content, and the content in the operation area replaced by the second content is related to the second content.
[0078] For example, Figure 6 As shown in , the first content “image A” replaces the “image A1” in the operation area, and the second content “text B” replaces the “text B1” in the operation area.
[0079] In another implementation, when the first content and the second content are output to the operation area in step 102, the first content and the second content may be inserted into a target position in the content output in the operation area.
[0080] The insertion position of the first content in the operation area is related to the first content, and the insertion position of the second content in the operation area is related to the second content.
[0081] For example, Figure 7 As shown in , the first content "image A" is inserted into the position after the character string "A" in the operation area, and the second content "text B" is inserted into the position after the image including the character "B1" in the operation area.
[0082] In one implementation, the content output in the operation area is output according to the output mode corresponding to the editing template. Different editing templates have different corresponding output modes. The output mode here may include: content output layout, content font type, content color, etc. or one or more modes.
[0083] Based on this, the method in this embodiment may also include the following processing, such as Figure 8 As shown in:
[0084] Step 801: Obtain a switching operation for a target template in a template area.
[0085] The template area presents at least one editing template, which is obtained by the fourth agent according to the content output by the operation area.
[0086] In one implementation, the switching operation may be generated based on a selection operation of the user on the template area.
[0087] For example, Fig. 9 As shown in , a template area is divided below the operation area. The fourth agent analyzes the content output by the operation area to obtain an editing template that can match the content output by the operation area. Any two editing templates have different content output methods, such as different font types, different font colors, and different content output layouts. The user can select the desired editing template in the template area, that is, the target template, based on which the present embodiment can obtain a switching operation for the target template.
[0088] It should be noted that the fourth agent can be the source agent of the content output in the operation area, such as the first agent or the second agent; or the fourth agent can be an agent for providing editing template generation services. In this case, the fourth agent is different from the first agent and the second agent, and can be run in the background, or its display window can be presented in the agent area. The fourth agent can determine the applicable editing template according to the content output in the operation area.
[0089] Step 802: In response to the switching operation, the control operation area outputs corresponding content according to the output mode corresponding to the target template.
[0090] For example, Fig. 9 As shown in , the target template selected by the user and the editing template before switching have different content output layouts. Therefore, after receiving the switching operation, the content output in the operation area is rearranged. For example, image A above text B is placed behind text B. In this way, the content output in the operation area is output according to the output method corresponding to the target template.
[0091] Based on this, if the user continues to switch to other editing templates, a new target template can be selected again in the template area to meet the user's usage needs.
[0092] In one implementation, the display window of the agent in the agent area is presented according to the relative position information presented most recently, and the relative position information represents the relative position relationship between the display window of the agent and the operation area.
[0093] For example, Fig.10 As shown in , the display window of agent 1 was last presented above the operation area, and the display window of agent 2 was last presented on the right side of the operation area. Based on this, when the display windows of each agent are output on the display interface this time, the display window of agent 1 is still presented above the operation area, and the display window of agent 2 is presented on the right side of the operation area according to the relative position information above and on the right side.
[0094] Based on the above scheme, in this embodiment, it is also possible to monitor whether the position of the display window of the intelligent body relative to the operation area has changed. In the case where the position of the display window of the intelligent body relative to the operation area has changed, the relative position information corresponding to the display window of the intelligent body is updated. In this way, the position of the display window of the intelligent body relative to the operation area when it was last presented in the intelligent body area can be recorded through the relative position information. In this way, when the display window of the intelligent body is output again after closing the display window of the intelligent body, the display position of the display window of the intelligent body relative to the operation area in the intelligent body area can be controlled according to the recorded relative position information.
[0095] For example, Fig.11 As shown in , the display window of agent 1 is dragged from the top to the right side, while the display window of agent 2 is dragged from the right side to the left side. Based on this, the relative position information corresponding to agent 1 is updated, and the relative position information represents that the display window of agent 1 is on the right side relative to the operation area. In addition, the relative position information corresponding to agent 2 is updated, and the relative position information represents that the display window of agent 2 is on the left side relative to the operation area.
[0096] In one implementation, the display interface further includes: a menu area, the menu area is used to output at least one menu option, each menu option corresponds to a function, and an agent option is used to trigger the agent area to be presented on the display interface.
[0097] Based on this, when the agent option in the menu option is triggered, the agent area is presented on the display interface, and, when the agent option in the menu option is triggered, the target agent is activated, and accordingly, at least the display window of the target agent is presented in the agent area.
[0098] The target agent may be an agent that is activated by default when the agent area is initially presented in the electronic device, such as an agent that provides text and image services.
[0099] For example, Fig.12 As shown in the figure, the menu area is presented on the left side of the operation area. After the user selects the agent option in the menu options, the agent area is presented on the right side of the operation area. The agent area has a display window of the target agent such as agent 1.
[0100] In one implementation, the method in this embodiment may also include the following processing: Fig.13 As shown in:
[0101] Step 1301: Obtain a trigger operation for switching controls in the first window.
[0102] There is a switch control in the display window of each agent in the agent area, and the switch control is used to replace the display window of the agent to which the switch control belongs with the display window of the new agent, or the switch control is used to present the display window of the new agent to the agent area. The user clicks the switch control in the display window, and a trigger operation can be obtained on the electronic device.
[0103] Specifically, there may be one or more switching controls.
[0104] For example, Fig.14As shown in , there is a switch control in the display window of agent 1, and the switch control includes: a cross expansion control, a first control, and a second control. The first control is a control corresponding to a single agent, and the second control is a control corresponding to multiple agents. The first control is used to replace the display window of agent 1 with the display window of a new agent, and the second control is used to present the display windows of one or more new agents to the agent area. After clicking the cross expansion control, the user can select the expanded first control or the second control, based on which, a trigger operation can be obtained on the electronic device.
[0105] For example, Fig.15 As shown in , there is a switch control in the display window of the intelligent agent 1, and the user can select the switch control, based on which, a trigger operation can be obtained on the electronic device.
[0106] Step 1302: In response to a trigger operation, output a switching list.
[0107] The switching list includes at least one to-be-selected identifier, which is used to uniquely represent the corresponding intelligent agent, such as the name or function type of the intelligent agent.
[0108] For example, Fig.16 As shown in , when there are multiple switching controls, if the user selects the first control, the switching list corresponding to the first control is output, and the user can select the to-be-selected identifier corresponding to agent 3 in the switching list corresponding to the first control; if the user selects the second control, the switching list corresponding to the second control is output, and the user can select the to-be-selected identifier corresponding to agent 3 and the to-be-selected identifier corresponding to agent 4 in the switching list corresponding to the second control.
[0109] For example, Fig.17 As shown in , when there is only one toggle control, if the user selects the toggle control, a toggle list is output, and the user only selects a to-be-selected identifier that is different from agent 1 on the toggle list, or the user selects multiple to-be-selected identifiers on the toggle list (which may include the to-be-selected identifier of agent 1 or not include the to-be-selected identifier of agent 1).
[0110] Step 1303: Determine whether the selected candidate identifier is one or more. If one candidate identifier is selected, execute step 1304. If multiple candidate identifiers are still selected, execute step 1305.
[0111] Step 1304: Replace the first window with the display window of the agent corresponding to the selected candidate identifier.
[0112] Step 1305: presenting the display window of the agent corresponding to the selected candidate identifier in the agent area.
[0113] For example, Fig.18 As shown in , if only the to-be-selected identifier corresponding to agent 3 is selected, then the display window of agent 3 will replace the first window, i.e., the display window of agent 1.
[0114] For example, Fig.19 As shown in , if the to-be-selected identification corresponding to agent 3 and the to-be-selected identification corresponding to agent 4 are selected, then the display window of agent 3 and the display window of agent 4 are presented in the agent area.
[0115] For example, Fig. 20 As shown in , if the to-be-selected identifier corresponding to agent 3 and the to-be-selected identifier corresponding to agent 1 are selected, since the display window of agent 1 has been presented in the agent area, the display window of agent 3 will be presented in the agent area.
[0116] In one implementation, this embodiment may also include the following processing: Fig.21 As shown in:
[0117] Step 2101: Obtain a drag operation for the first window.
[0118] For example, Fig. 22 As shown in , the user drags the display window of agent 1 from the right side to the top of the operation area, thereby obtaining a drag operation for the display window of agent 1.
[0119] Step 2102: In response to the drag operation, output the first window to a position corresponding to the drag operation.
[0120] For example, Fig. 22 As shown in , the display window of agent 1 is presented above the operation area.
[0121] refer to Fig.23 , is a schematic diagram of the structure of a multi-agent collaborative interaction device provided in an embodiment of the present application, and the device may include the following units:
[0122] An operation obtaining unit 2301 is used to obtain first operations respectively for the first content and at least one second content;
[0123] Wherein, the first content is the content of the first window, the at least one second content is the content of at least one second window, the first window and the second window are respectively presented in corresponding intelligent agent areas in the display interface, and the display interface also includes an operation area; the first window is a display window of the first intelligent agent, and the second window is a display window of the second intelligent agent; the intelligent agent is used to provide corresponding intelligent services;
[0124] The content output unit 2302 is used to output the first content and the second content to the operation area in response to the first operation, and the content displayed in the operation area can be edited.
[0125] It can be seen from the above technical scheme that in a multi-agent collaborative interaction device provided by an embodiment of the present application, an operation area and an agent area are deployed in the display interface, the operation area is used to present content, and the agent area is used to present display windows of multiple agents, each display window presenting corresponding content, based on which, the user can input operations on the corresponding content in the display window of each agent, so that these contents can be output to the operation area, and thus the user can edit these contents in the operation area. It can be seen that in the present application, the display windows of multiple agents are presented through the agent area, and the user does not need to switch windows between different agents, and can perform content operations in the display windows of multiple agents, thereby reducing the complexity of user operations and improving the user experience.
[0126] In one implementation, the operation obtaining unit 2301 is further used to: obtain a second operation for the third content in the operation area;
[0127] The content output unit 2302 is also used to provide the third content to the third agent in response to the second operation to obtain the fourth content output by the third agent based on the third content; the third agent is the agent corresponding to the second operation in the agent area; and the fourth content replaces the third content.
[0128] The second operation is: selecting the third content and determining the third entity through the option menu corresponding to the third content; or the second operation is: dragging the third content to the display window of the third entity.
[0129] In one implementation, when the content output unit 2302 outputs the first content and the second content to the operation area, it is specifically used to: replace the content output in the operation area with the first content and the second content; or insert the first content and the second content into the target position of the content output in the operation area.
[0130] In one implementation, the content output in the operation area is output in an output mode corresponding to the editing template;
[0131] The operation obtaining unit 2301 is further used to: obtain a switching operation for a target template in a template area, wherein the template area presents at least one editing template, and the editing template is obtained by the fourth agent according to the content output by the operation area;
[0132] The content output unit 2302 is further configured to, in response to the switching operation, control the operation area to output corresponding content in an output manner corresponding to the target template.
[0133] In one implementation, the display window of the agent in the agent area is presented according to the relative position information presented most recently; the relative position information represents the relative position relationship between the display window of the agent and the operation area;
[0134] The device in this embodiment may also include the following units: Fig.24 As shown in:
[0135] The information updating unit 2303 is used to update the relative position information corresponding to the display window of the agent when the position of the display window of the agent relative to the operation area changes.
[0136] In one implementation, the display interface also includes a menu area, which is used to output at least one menu option; wherein the agent area is presented on the display interface when the agent option in the menu option is triggered, and the agent area at least presents a display window of the target agent.
[0137] In one implementation, the operation obtaining unit 2301 is further used to: obtain a triggering operation for switching controls in the first window;
[0138] The content output unit 2302 is also used to: in response to the trigger operation, output a switching list, the switching list containing at least one to-be-selected identifier, the to-be-selected identifier being used to uniquely represent the corresponding intelligent entity; when one of the to-be-selected identifiers is selected, the display window of the intelligent entity corresponding to the selected to-be-selected identifier replaces the first window; when multiple to-be-selected identifiers are selected, the display window of the intelligent entity corresponding to the selected to-be-selected identifier is presented in the intelligent entity area.
[0139] In one implementation, the operation obtaining unit 2301 is further used to obtain a drag operation for the first window; and the content output unit 2302 is further used to output the first window to a position corresponding to the drag operation in response to the drag operation.
[0140] It should be noted that the specific implementation method of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0141] refer to Fig.25 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, wherein a plurality of intelligent agents are installed on the electronic device, and the intelligent agents are used to provide corresponding intelligent services; the electronic device may include the following structure:
[0142] Memory 2501, used to store computer programs and data generated by the operation of the computer programs;
[0143] Processor 2502 is used to execute a computer program to achieve: obtaining a first operation for a first content and at least one second content respectively; wherein the first content is the content in a first window, and the at least one second content is the content in at least one second window, and the first window and the second window are respectively presented in corresponding intelligent entity areas in a display interface, and the display interface also includes an operation area; the first window is a display window of a first intelligent entity, and the second window is a display window of a second intelligent entity; in response to the first operation, the first content and the second content are output to the operation area, and the content displayed in the operation area can be edited.
[0144] It can be seen from the above technical solution that in an electronic device provided by an embodiment of the present application, an operation area and an intelligent body area are deployed in the display interface, the operation area is used to present content, and the intelligent body area is used to present display windows of multiple intelligent bodies, each display window presents corresponding content, based on this, the user can input operations on the corresponding content in the display window of each intelligent body, so that these contents can be output to the operation area, so that the user can edit these contents in the operation area. It can be seen that in the present application, the display windows of multiple intelligent bodies are presented through the intelligent body area, and the user does not need to switch windows between different intelligent bodies, and can perform content operations in the display windows of multiple intelligent bodies, thereby reducing the complexity of user operations and improving the user experience.
[0145] Taking the electronic device as a notebook as an example, the technical solution of the present application is described below:
[0146] In desktop applications on laptops, users usually need to switch between different agents, such as document editing, data analysis, and marketing plan generation. This multitasking operation is cumbersome and requires jumping out of the current application. The input information cannot be retained and viewed in the same window, resulting in poor user experience and low work efficiency. In addition, traditional single intelligent assistants often cannot meet the diverse needs of users in complex scenarios.
[0147] In view of this, this application proposes an interactive solution for multi-agent window collaborative work, through a main workspace (also called a workbench, i.e., the operation area in the previous text) and multiple agent windows (i.e., the display window in the previous text), collaborative work is achieved around the main workspace. This application can provide diversified intelligent assistant support in multiple scenarios (such as marketing, project management, data analysis, etc.) to collaboratively complete tasks.
[0148] For example, Fig.26 As shown in , the desktop application is divided into three window screens, which are divided into: ① menu window screen, namely the menu area, ② workbench window screen, namely the operation area, and ③ multiple intelligent body window screens, namely the intelligent body area.
[0149] The specific interaction steps and examples are as follows:
[0150] (1) Fig. 27 As shown, by clicking on a switch control of an agent in an agent window screen in ③, a pop-up window of the agent list (i.e., the switch list mentioned above) is presented. At this time, the user can click on the agent and agent opening method (such as single agent or multiple agents) that the user wants to select. If the current screen, i.e., a single agent (i.e., the first control mentioned above) is selected, the agent is directly switched on the current screen, i.e., the display window of the current agent is replaced; if multiple screens, i.e., multiple agents (i.e., the second space mentioned above) are selected, the corresponding agent is presented and opened in a new window.
[0151] (2) Fig.28 As shown in the figure, after selecting multiple screens in step (1), the selected agent will be opened in a new window. Click the Insert button in the agent window screen to insert the corresponding content into the workbench; after selecting the content with the mouse on the workbench, you can also directly polish, translate, simplify, etc. in the agent window.
[0152] (3) Fig.29 As shown, up to 4 intelligent body windows can be displayed to assist the workbench window screen. When the 4 intelligent body windows are fully displayed, the menu window screen automatically shrinks to the workbench window screen, that is, the hidden menu window screen. The intelligent body windows can be dragged to change positions according to user usage habits and arranged up, down, left, and right around the tool area. A locking function is provided to record user usage habits, and the display will be based on the user's last record when it is opened next time.
[0153] It can be seen that the technical solution of this application has the following advantages:
[0154] 1. Multiple agents work together to provide all-round support and meet the diverse needs of users.
[0155] 2. Reduce switching between intelligent agent windows to improve operational efficiency and user experience.
[0156] 3. The intelligent agent can automatically adjust according to the scenario and provide targeted assistance.
[0157] 4. Simple operation reduces the user's learning cost.
[0158] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0159] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0160] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0161] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A multi-agent collaborative interaction method, comprising: Obtaining first operations respectively for the first content and at least one second content; Wherein, the first content is the content of the first window, the at least one second content is the content of at least one second window, the first window and the second window are respectively presented in corresponding intelligent agent areas in the display interface, and the display interface also includes an operation area; the first window is a display window of the first intelligent agent, and the second window is a display window of the second intelligent agent; the intelligent agent is used to provide corresponding intelligent services; In response to the first operation, the first content and the second content are output to the operation area, and the content displayed in the operation area can be edited.
2. The method according to claim 1, further comprising: Obtaining a second operation for third content in the operation area; In response to the second operation, providing the third content to a third agent to obtain fourth content output by the third agent according to the third content; the third agent is an agent corresponding to the second operation in the agent area; The third content is replaced by the fourth content.
3. The method according to claim 2, wherein the second operation is: an operation of selecting the third content, and an operation of determining the third agent through an option menu corresponding to the third content; Alternatively, the second operation is: an operation of dragging the third content to a display window of the third agent.
4. The method according to claim 1, outputting the first content and the second content to the operation area comprises: Replace the content output in the operation area with the first content and the second content; or, The first content and the second content are inserted into target locations in the content output in the operation area.
5. The method according to claim 1, wherein the content output in the operation area is output in an output mode corresponding to the editing template; in, The method further comprises: Obtaining a switching operation for a target template in a template area, wherein the template area presents at least one editing template, and the editing template is obtained by a fourth agent according to content output by the operation area; In response to the switching operation, the operation area is controlled to output corresponding content according to the output mode corresponding to the target template.
6. The method according to claim 1, wherein the display window of the agent in the agent area is presented according to the relative position information presented most recently; the relative position information represents the relative position relationship between the display window of the agent and the operation area; in, The method further comprises: When the position of the display window of the agent relative to the operation area changes, the relative position information corresponding to the display window of the agent is updated.
7. The method according to claim 1, wherein the display interface further comprises a menu area, wherein the menu area is used to output at least one menu option; in, The agent area is presented in the display interface when the agent option in the menu option is triggered, and at least a display window of a target agent is presented in the agent area.
8. The method according to claim 1, further comprising: Obtaining a trigger operation for switching controls in the first window; In response to the trigger operation, a switching list is output, wherein the switching list includes at least one to-be-selected identifier, and the to-be-selected identifier is used to uniquely identify the corresponding intelligent agent; When one of the candidate identifications is selected, the display window of the agent corresponding to the selected candidate identification replaces the first window; In the case that a plurality of the to-be-selected identifiers are selected, the display windows of the agents corresponding to the selected to-be-selected identifiers are presented in the agent area.
9. The method according to claim 1, further comprising: Obtaining a drag operation on the first window; In response to the dragging operation, the first window is output to a position corresponding to the dragging operation.
10. A multi-agent collaborative interaction device, comprising: An operation obtaining unit, configured to obtain first operations respectively for the first content and at least one second content; Wherein, the first content is the content of the first window, the at least one second content is the content of at least one second window, the first window and the second window are respectively presented in corresponding intelligent agent areas in the display interface, and the display interface also includes an operation area; the first window is a display window of the first intelligent agent, and the second window is a display window of the second intelligent agent; the intelligent agent is used to provide corresponding intelligent services; The content output unit is used to output the first content and the second content to the operation area in response to the first operation, and the content displayed in the operation area can be edited.
Citation Information
Cited By
Window control method and device
CN121187471A
