Multi-device cooperation method and device, electronic device and storage medium

By assigning roles and tasks to multiple devices, the limitations of multi-device collaborative control are solved, enabling collaborative work among multiple devices and multiple intelligent agents, which is particularly suitable for the fields of early childhood education and child companionship.

CN121687031APending Publication Date: 2026-03-17HEFEI IFLYTEK TOYCLOUD TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202511572874.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-30
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In existing technologies, the one-to-one binding of device accounts to devices limits the ability to control multiple devices collaboratively, thus restricting the application of intelligent agents and making it impossible to control multiple devices simultaneously.

Method used

The first electronic device determines the second electronic device required to perform the collaborative task, and assigns roles and division of labor data to it. The second electronic device controls the intelligent agent to perform the collaborative task based on the division of labor data, thereby realizing the joint application of multiple devices and multiple intelligent agents.

Benefits of technology

It enables collaborative work among multiple devices and intelligent agents, lowers the operational threshold, and even young children can quickly get started. It expands the scenarios for multi-device and multi-intelligent agent interaction and is particularly suitable for intelligent early childhood education and child companionship.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121687031A_ABST
    Figure CN121687031A_ABST
Patent Text Reader

Abstract

The invention provides a multi-device cooperation method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to an execution instruction of a cooperation task, determining the number of roles needed for executing the cooperation task, and the labor division data of each role for executing the cooperation task; determining second electronic equipment from the first electronic equipment and associated electronic equipment of the first electronic equipment based on the number of roles; and distributing a role for executing the cooperative task to the second electronic equipment, and sending the work division data of the distributed role to the second electronic equipment, so as to trigger the second electronic equipment to control the agent to execute the cooperative task based on the work division data of the distributed role. According to the method, the device, the electronic equipment and the storage medium provided by the invention, combined application of multiple agents at multiple devices is realized, and a linkage scene of multiple devices and multiple agents is effectively widened. In addition, linkage control of multiple devices and multiple agents can be achieved only through simple operation, and the operation threshold is greatly lowered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of terminal technology, and in particular to a multi-device collaboration method, apparatus, electronic device, and storage medium. Background Technology

[0002] Currently, intelligent agents are widely used in the consumer electronics sector. Users can wake up an intelligent agent and issue voice commands to control related devices, such as playing music or turning smart home devices on and off, thereby simplifying device operation and optimizing user experience.

[0003] Typically, a single device account is only allowed to log in to one device of the same type, thus enabling control of the intelligent agent within that single device. This one-to-one binding of device accounts to devices limits the ability to coordinate control across multiple devices, and consequently restricts the applications of the intelligent agents within those devices. Summary of the Invention

[0004] This invention provides a multi-device collaboration method, apparatus, electronic device, and storage medium to address the limitations of related technologies in the application of intelligent agents in a single device.

[0005] This invention provides a multi-device collaboration method applied to a first electronic device, the method comprising: In response to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task; Based on the number of roles, a second electronic device is determined from the first electronic device and its associated electronic devices; Assign roles to the second electronic device to perform the collaborative task, and send the division of labor data of the assigned roles to the second electronic device to trigger the second electronic device to control the agent to perform the collaborative task based on the division of labor data of the assigned roles.

[0006] According to the multi-device collaboration method provided by the present invention, determining the second electronic device from the first electronic device and its associated electronic devices based on the number of roles includes: Based on the number of roles, and the device information of the first electronic device and the associated electronic device, a second electronic device is determined from the first electronic device and the associated electronic device; The device information includes at least one of the following: device location, communication quality, historical usage information, device performance, and device status.

[0007] According to the multi-device collaboration method provided by the present invention, determining the second electronic device from the first electronic device and the associated electronic device based on the number of roles, the device information of the first electronic device, and the device information of the associated electronic device includes: Based on the device information of the first electronic device and the device information of the associated electronic device, available electronic devices are determined from the first electronic device and the associated electronic devices, and the collaboration priority of the available electronic devices is determined. Based on the number of roles and the collaboration priority of the available electronic devices, a second electronic device is determined from the available electronic devices.

[0008] According to the multi-device collaboration method provided by the present invention, assigning a role to the second electronic device to perform the collaboration task includes: Based on the division of labor data for each role, determine the role relationships and / or interaction needs of each role; Based on the role relationships and / or interaction requirements of each role, and the device location of each second electronic device, a role is assigned to each second electronic device to perform the collaborative task.

[0009] According to the multi-device collaboration method provided by the present invention, the division of labor data includes agent configuration data and agent execution data, wherein the agent configuration data is used to configure the appearance and / or sound of the agent.

[0010] According to the multi-device collaboration method provided by the present invention, when the first electronic device is the second electronic device, it further includes: The intelligent agent executes the collaborative task based on the division of labor data of its assigned role.

[0011] The present invention also provides a multi-device collaboration method applied to a second electronic device, the method comprising: The system receives task allocation data from the first electronic device, which assigns roles to the second electronic device to perform collaborative tasks. The second electronic device is determined by the first electronic device from among the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks. Based on the division of labor data, the control agent executes the collaborative task.

[0012] The present invention also provides a multi-device collaboration device applied to a first electronic device, the device comprising: A response unit is used to respond to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task; A selection unit is used to determine a second electronic device from the first electronic device and its associated electronic devices based on the number of roles. The allocation unit is used to assign roles to the second electronic device to perform the collaborative task, and send the division of labor data of the assigned roles to the second electronic device to trigger the second electronic device to control the agent to perform the collaborative task based on the division of labor data of the assigned roles.

[0013] The present invention also provides a multi-device collaboration device applied to a second electronic device, the device comprising: The receiving unit is configured to receive task allocation data in which the first electronic device assigns roles to the second electronic device to perform collaborative tasks, wherein the second electronic device is determined by the first electronic device from the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks; An execution unit is used to control the intelligent agent to execute the collaborative task based on the division of labor data.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the multi-device collaboration method as described above.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-device collaboration method as described above.

[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the multi-device collaboration method as described above.

[0017] The multi-device collaboration method, apparatus, electronic device, and storage medium provided by this invention can determine the second electronic device required to execute a collaborative task through a first electronic device, and assign roles and task allocation data to the second electronic device. This allows the second electronic device to control the intelligent agent to execute the collaborative task based on the task allocation data, thereby realizing the joint application of multiple intelligent agents across multiple devices and effectively expanding the scenarios for multi-device and multi-intelligent agent linkage. Furthermore, users only need to input the execution command for the collaborative task to achieve collaborative work between multiple devices and multiple intelligent agents. The linkage control of multiple devices and multiple intelligent agents can be achieved through simple operations, greatly reducing the operational threshold. Even young children can quickly learn to use it, making the application of multi-device and multi-intelligent agent linkage in fields such as intelligent early childhood education and child companionship possible. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this invention or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is one of the flowcharts of the multi-device collaboration method provided by the present invention.

[0020] Figure 2 This is the second flowchart of the multi-device collaboration method provided by the present invention.

[0021] Figure 3 This is one of the structural schematic diagrams of the multi-device collaborative device provided by the present invention.

[0022] Figure 4 This is the second structural schematic diagram of the multi-device collaborative device provided by the present invention.

[0023] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] With the development of artificial intelligence technology, intelligent agents, as an important human-computer interaction medium, have been widely used in various electronic devices. An intelligent agent is a proxy capable of perceiving its environment and taking actions to achieve specific goals. It can be software, hardware, or a system, possessing strong autonomy, adaptability, and interactive capabilities. Furthermore, it can perceive changes in the environment, such as through sensor perception or data perception, and use learned knowledge and algorithms to judge and make decisions about these changes, thereby influencing the environment or achieving predetermined goals through the execution of actions.

[0026] Currently, in the field of consumer terminal technology, intelligent agents are widely used as an important form of intelligent interaction. By waking up an intelligent agent, users can directly issue voice commands, which the agent then controls related devices to perform various functions such as playing music and turning smart home devices on and off. This greatly simplifies the device operation process and improves ease of use.

[0027] Under normal circumstances, a device account is only allowed to log in to one device of the same type. For example, a device account typically only supports registering and logging in to one device of the same brand and controlling the smart agent on that device. This one-to-one binding of device accounts to devices means that a device account cannot log in to multiple devices of the same brand at the same time, and therefore cannot control smart agents on multiple devices simultaneously.

[0028] However, when a single device account can log in to multiple devices simultaneously, the ability to coordinate and control multiple devices still needs further development and application. How to achieve collaborative work among multiple devices remains an urgent problem to be solved in this field.

[0029] To address this issue, the present invention provides a multi-device collaboration method. A first electronic device can determine the second electronic device required to perform the collaborative task, and assign roles and task allocation data to the second electronic device. This allows the second electronic device to control the intelligent agent to perform the collaborative task based on the task allocation data, thereby enabling the joint application of multiple intelligent agents across multiple devices and effectively expanding the scenarios for multi-device and multi-intelligent agent collaboration. Furthermore, users only need to input the execution command for the collaborative task to achieve collaborative work between multiple devices and multiple intelligent agents. The collaborative control of multiple devices and multiple intelligent agents can be achieved through simple operations, greatly reducing the operational threshold. Even young children can quickly learn to use it, making multi-device and multi-intelligent agent collaboration possible in fields such as intelligent early childhood education and child companionship.

[0030] Figure 1 This is one of the flowcharts illustrating the multi-device collaboration method provided by the present invention, such as... Figure 1 As shown, the method is applied to a first electronic device. This first electronic device can be a smartphone, tablet, laptop, smart speaker, child companion robot, in-vehicle central control system, smart TV, or other intelligent device with computing power and human-computer interaction capabilities. The method includes: Step 110: In response to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task.

[0031] Here, a collaborative task refers to a holistic task completed by multiple independent electronic devices through cooperation. Typically, during the execution of a collaborative task, each participating electronic device assumes a specific role, achieving efficient task completion through mutual coordination. For example, a collaborative task could be collaborative storytelling of a picture book, where multiple electronic devices each play a role in the story, collectively narrating the story through voice playback and interaction. Another example is a collaborative chorus task, where multiple electronic devices each play different roles in a chorus, achieving a role-playing chorus effect by playing different tracks from a chorus or simulating the voices of different singers.

[0032] The execution command for the collaborative task is issued by the user. The user can issue the execution command for the collaborative task by operating the touch screen or buttons of the first electronic device, or the user can issue the execution command for the collaborative task in the form of voice. This embodiment of the invention does not make specific limitations on this.

[0033] Accordingly, the first electronic device can detect the execution command of the collaborative task issued by the user and respond to the execution command, thereby triggering the execution of the collaborative task involving multiple devices.

[0034] In response to the execution command of the collaborative task, the first electronic device can first determine the number of roles required to execute the collaborative task, as well as the division of labor data for each role in executing the collaborative task.

[0035] The number of roles required to execute a collaborative task can be pre-set, or it can be achieved by splitting the roles required to execute a collaborative task, or by splitting each independent function required to execute a collaborative task.

[0036] Furthermore, the required roles can be determined by breaking down the roles involved in the collaborative task, and thus the required number of roles can be determined. Specifically for the collaborative storytelling task of picture book stories, each story character that appears in the picture book story can be used as the role required to perform the task. For example, in the picture book story "Percy and Pip's Great Monster", there are two characters, Percy and Pip. It can be determined that the number of roles required to perform the collaborative storytelling task of this picture book story is 2, and the required roles are Percy and Pip.

[0037] Alternatively, the required roles can be determined by breaking down each independent function needed to perform the collaborative task, and then determining the number of roles required. Specifically for collaborative storytelling tasks in picture books, each story character appearing in the picture book, as well as the narration and background music required to complete the storytelling, can be regarded as an independent function to be implemented. Thus, each story character, narration, and background music can be regarded as a role required to perform the task. For example, in the picture book "Percy and Pip's Great Monster," there are two story characters, Percy and Pip, and another character is needed to play the background music and narration. Thus, the number of roles required to perform the collaborative storytelling task in this picture book can be determined to be 4, namely Percy, Pip, background music, and narration.

[0038] Furthermore, each role has corresponding task allocation data. Task allocation data refers to the specific content and related information that a role undertakes in a collaborative task. Taking a collaborative storytelling task using picture books as an example, for any given role, the task allocation data can include information such as role identity, content assignment, time nodes, and interaction rules. Role identity describes the role's name or type, and may also include related information such as descriptions of appearance, voice, habits, and personality. Content assignment can be the specific text, lines, audio clips, or other types of data blocks that the role is responsible for. Time nodes can be the timestamps or sequences of the executed content, ensuring consistency with the timing of collaboration with other roles. Interaction rules can be the interaction methods and triggering conditions with other roles. It can be understood that, for each role performing a system task, each role, based on its own task allocation data, can achieve collaboration among multiple roles to complete the collaborative task.

[0039] The division of labor data for each role can be pre-set, or it can be obtained by splitting the task data of collaborative tasks based on the function or responsibility of each role after the role division is completed. This embodiment of the invention does not make specific limitations in this regard.

[0040] Step 120: Based on the number of roles, determine the second electronic device from the first electronic device and its associated electronic devices.

[0041] Specifically, for the first electronic device, there are one or more associated electronic devices. The associated electronic devices here are those that are linked to the first electronic device. Alternatively, it can be understood that the first electronic device and the associated electronic devices form a set of electronic devices, and the electronic devices in this set are interconnected.

[0042] Here, the interconnection between electronic devices can specifically mean that multiple electronic devices are logged into the same account, multiple electronic devices are in the same local area network, multiple electronic devices are in the same communication group, or multiple electronic devices have established an information channel through NFC or QR code scanning. This embodiment of the invention does not specifically limit this.

[0043] It should be noted that the interconnected electronic devices are those that can be used to perform collaborative tasks.

[0044] Therefore, after determining the number of roles required to perform the collaborative task, a certain number of electronic devices can be selected from the set of electronic devices containing the first electronic device and its associated electronic devices as the second electronic devices. That is, a certain number of electronic devices with a total of [number] roles can be selected from the first electronic device and its associated electronic devices as the second electronic devices. Here, the second electronic devices are those that participate in performing the collaborative task, and the number of second electronic devices is consistent with the number of roles required to perform the collaborative task. Each second electronic device assumes one role when performing the collaborative task.

[0045] Furthermore, the determination of the second electronic device may be that the first electronic device provides the user with a set of electronic devices that can be selected as the second electronic device, and the user selects a certain number of electronic devices from the set of electronic devices as the second electronic device; or, the first electronic device may select a certain number of electronic devices from the set of electronic devices as the second electronic device based on preset rules or algorithms. This embodiment of the invention does not specifically limit this.

[0046] It should be noted that the second electronic device thus determined may not include the first electronic device. That is, the first electronic device is only responsible for executing the multi-device collaboration method provided in the embodiments of the present invention to determine the second electronic device and trigger the second electronic device to cooperate in executing the collaboration task, but the first electronic device itself does not participate in the execution of the collaboration task; or, the second electronic device thus determined may include the first electronic device. That is, the first electronic device is not only responsible for executing the multi-device collaboration method provided in the embodiments of the present invention to determine the second electronic device and trigger the second electronic device to cooperate in executing the collaboration task, but the first electronic device also participates in the execution of the collaboration task as a second electronic device. The embodiments of the present invention do not make specific limitations on this.

[0047] Step 130: Assign a role to the second electronic device to perform the collaborative task, and send the division of labor data of the assigned role to the second electronic device to trigger the second electronic device to configure an agent based on the division of labor data of the assigned role, and control the agent to perform the collaborative task.

[0048] Specifically, after identifying the second electronic devices, roles for performing collaborative tasks can be assigned to each of these devices, thus assigning each second electronic device a role. Once the one-to-one correspondence between the second electronic devices and roles is established, the task assignment data for each role can be sent to the corresponding second electronic device. In this way, each second electronic device can obtain the task assignment data for its assigned role.

[0049] Furthermore, the transmission of the division of labor data can trigger the second electronic device to execute collaborative tasks based on the received division of labor data.

[0050] Furthermore, for each second electronic device, an intelligent agent is installed. After receiving the task allocation data, the second electronic device can trigger the intelligent agent to execute the collaborative task based on the task allocation data. For example, the second electronic device can control the intelligent agent to play the role assigned to it and perform the operations of that role in the collaborative task, thereby completing the collaborative task through the cooperation of multiple intelligent agents in the second electronic devices.

[0051] In the method provided in this embodiment of the invention, a second electronic device required to perform a collaborative task can be determined by a first electronic device, and a role and division of labor data for performing the collaborative task can be assigned to the second electronic device. This allows the second electronic device to control the intelligent agent to perform the collaborative task based on the division of labor data, thereby realizing the joint application of multiple intelligent agents across multiple devices and effectively expanding the linkage scenarios of multiple devices and multiple intelligent agents. Furthermore, users only need to input the execution command of the collaborative task to achieve collaborative work among multiple devices and multiple intelligent agents. The linkage control of multiple devices and multiple intelligent agents can be achieved through simple operations, greatly reducing the operational threshold. Even young children can quickly get started, providing possibilities for the application of multi-device, multi-intelligent agent linkage in intelligent early childhood education, child companionship, and other fields.

[0052] Based on the above embodiments, step 120, determining the second electronic device from the first electronic device and its associated electronic devices based on the number of roles, includes: Based on the number of roles, and the device information of the first electronic device and the associated electronic device, a second electronic device is determined from the first electronic device and the associated electronic device; The device information includes at least one of the following: device location, communication quality, historical usage information, device performance, and device status.

[0053] Specifically, when selecting a second electronic device from the first electronic device and its associated electronic devices, the quantity limit for the second electronic device is based on the number of roles. Provided that the quantity limit for the first electronic device and its associated electronic devices is met, the device information of the first electronic device and its associated electronic devices may also be referenced when selecting the second electronic device. For ease of description, the first electronic device and its associated electronic devices will be collectively referred to as electronic devices.

[0054] For any electronic device, the device information may include at least one of the following: device location, communication quality, historical usage information, device performance, and device status.

[0055] The device location can reflect the absolute position of the electronic device, such as GPS (Global Positioning System) coordinates, or the relative position, such as the distance and direction from the first electronic device. When selecting a second electronic device, its location may affect the user's experience of watching multiple second electronic devices complete collaborative tasks. For example, selecting multiple second electronic devices located in a concentrated area may provide a better viewing experience than selecting multiple second electronic devices located in a dispersed area. The device location may also affect communication latency and signal strength. Electronic devices that are physically closer usually have better communication quality and lower latency. For example, in a multi-agent chorus scenario, prioritizing the selection of closer electronic devices can ensure sound synchronization and avoid desynchronization caused by latency.

[0056] Communication quality refers to the network conditions connecting electronic devices, and can be measured by metrics such as Received Signal Strength Indication (RSSI), bandwidth, packet loss rate, and latency. Communication quality determines the stability and real-time performance of interactions between electronic devices and with the cloud. When selecting a second electronic device, prioritize those with high communication quality, strong signals, and ample bandwidth to avoid video or audio stuttering during collaborative tasks.

[0057] Historical usage information includes data on a user's previous use of electronic devices. This could include the frequency with which the device was used in collaborative tasks, its performance rating in those tasks, and the user's overall usage frequency. Historical usage information can reflect a user's preferences when using electronic devices or their historical performance in collaborative tasks. Therefore, when selecting a second electronic device, frequently used and high-performing devices may be prioritized to ensure continuity of the collaborative experience and maintain a satisfactory user experience. For example, if a particular electronic device is frequently used for singing in a chorus, it could be the preferred choice for another chorus performance.

[0058] Device performance can include hardware specifications such as processor performance and memory capacity. When selecting a second electronic device, considering that high-performance devices can handle collaborative tasks more smoothly and support higher-quality audio and video synchronization, higher-performance electronic devices can be prioritized.

[0059] Device status reflects the current operating state of electronic devices, and may include battery level, processor load, and idle status. When selecting a second electronic device, those in good condition and in an idle state will be prioritized to avoid interruptions due to insufficient power or excessive device activity. For example, if an electronic device's battery level is below 20%, it may be automatically excluded from the selection of a second electronic device.

[0060] In the method provided in this embodiment of the invention, the second electronic device is determined by combining the number of roles and the device information of the electronic device, which can ensure the rationality of the determination of the second electronic device and thus ensure the reliability of the collaborative task execution.

[0061] Based on any of the above embodiments, in step 120, determining the second electronic device from the first electronic device and the associated electronic device based on the number of roles, the device information of the first electronic device, and the device information of the associated electronic device includes: Based on the device information of the first electronic device and the device information of the associated electronic device, available electronic devices are determined from the first electronic device and the associated electronic devices, and the collaboration priority of the available electronic devices is determined. Based on the number of roles and the collaboration priority of the available electronic devices, a second electronic device is determined from the available electronic devices.

[0062] Specifically, in determining the second electronic device, the device information of the first electronic device and its associated electronic devices can be used to assess whether each electronic device is suitable for executing the current collaborative task. Thus, usable electronic devices are selected from the first electronic device and its associated electronic devices. Here, usable electronic devices are those capable of executing the current collaborative task, and the number of usable electronic devices is greater than or equal to the number of roles.

[0063] To determine which electronic devices are available, the device information of each electronic device can be referenced. For example, the device location in the device information of each electronic device can be referenced. That is, based on the device location of each electronic device, the distance between each associated electronic device and the first electronic device can be calculated. Under the premise that the first electronic device is assumed to perform this collaborative task, associated electronic devices with a distance less than or equal to a distance threshold can be considered as available electronic devices, while associated electronic devices with a distance greater than the distance threshold can be excluded from the selection range of the second electronic device.

[0064] Furthermore, the collaboration priority of available electronic devices can be determined based on their device information. Here, collaboration priority indicates the priority when using an available electronic device as a second electronic device to perform a collaborative task; the higher the collaboration priority, the more likely the available electronic device is to be selected as the second electronic device.

[0065] To determine the collaboration priority, the device information of available electronic devices can be referenced. For example, the historical usage information of available electronic devices can be referenced. That is, the usage frequency of each available electronic device in the historical usage information can be sorted from high to low, and a higher collaboration priority can be set for available electronic devices that are ranked higher, and a lower collaboration priority can be set for available electronic devices that are ranked lower. Thus, when selecting a second electronic device, available electronic devices with higher usage frequency are given priority as the second electronic device.

[0066] After obtaining the available electronic devices and their collaboration priorities, a second electronic device can be selected from the available electronic devices by combining the number of roles and their collaboration priorities. For example, the available electronic devices can be sorted in descending order of collaboration priority, and the available electronic devices with the highest number of roles in the sorted order can be selected as the second electronic devices, thus obtaining the number of second electronic devices for each role.

[0067] Based on any of the above embodiments, step 130, which involves assigning a role to the second electronic device to perform the collaborative task, includes: Based on the division of labor data for each role, determine the role relationships and / or interaction needs of each role; Based on the role relationships and / or interaction requirements of each role, and the device location of each second electronic device, a role is assigned to each second electronic device to perform the collaborative task.

[0068] Specifically, after obtaining the division of labor data for each role, the role relationships and / or interaction requirements of each role can be determined by combining the division of labor data for each role.

[0069] For an individual character, the role relationship refers to the interconnections and closeness of those relationships with other characters. Role relationships can be obtained based on role division data, specifically by analyzing and summarizing information such as dialogue interactions, time overlap, response order, and shared scenes among different roles. For example, by analyzing the overlap time of content segments, dialogue rounds, or triggering conditions in the role division data of different characters, a relationship network between characters can be constructed.

[0070] The resulting role relationships can be combined with the device locations of the second electronic devices to influence role allocation in collaborative tasks. For example, two roles with close relationships can be assigned to two second electronic devices located close to each other to achieve a more natural interaction, thereby enhancing the overall coordination and immersion of the performance.

[0071] For an individual role, the interaction requirement refers to the specific needs and intensity of that role's interaction and action responses with other roles in a collaborative task. Understandably, the stronger the interaction requirement, the higher the visibility of the role in the collaborative task. Interaction requirements can also be mined from division of labor data, specifically by monitoring the speaking sequence of roles in the division of labor data and extracting rules for interaction and feedback between roles.

[0072] The resulting interaction requirements can be combined with the location of the second electronic device to influence role allocation in collaborative tasks. For example, roles with strong interaction requirements can be assigned to a second electronic device that is closer to the user. This allows the user to more intuitively and easily observe the performance of the second electronic device in playing such a role during collaborative tasks, thereby improving the overall coordination and immersion.

[0073] In addition, role relationships and interaction needs can be combined with the device location of the second electronic device to achieve a role allocation that better fits the needs of collaborative tasks and the layout of the second electronic device.

[0074] In the method provided in the embodiments of the present invention, the role relationships and / or interaction requirements of each role, as well as the device location of each second electronic device, can be combined to assign a suitable role to each second electronic device, thereby ensuring the rationality of the role assignment for each second electronic device and thus ensuring the reliability of the collaborative task execution.

[0075] Based on any of the above embodiments, the division of labor data includes agent configuration data and agent execution data, wherein the agent configuration data is used to configure the appearance and / or sound of the agent.

[0076] Specifically, for a given role, the role's task allocation data can be further refined into agent configuration data and agent execution data. Correspondingly, the second electronic device, based on the assigned role's task allocation data, controls the agent to perform collaborative tasks. This can include the second electronic device configuring the agent based on the assigned role's agent configuration data, and controlling the agent to perform collaborative tasks based on the assigned role's agent execution data.

[0077] The intelligent agent configuration data is used to configure the intelligent agent. Specifically, it can be data describing the character's visual characteristics, such as the character's identity, or data describing the character's appearance in visual, auditory, or other dimensions. It can also be visualized as configuration data for the character's facial features, clothing style, voice timbre, etc. Configuring the intelligent agent based on this configuration data allows the data to be applied to the agent to build, modify, or replace it, thereby completing the image construction or adjustment of the intelligent agent. In essence, after configuration, the intelligent agent can simulate the role assigned to a second electronic device in visual, auditory, and other dimensions.

[0078] Agent execution data is used to control the agent to perform the behaviors assigned to the role in the second electronic device. This data can include information such as content allocation, time points, and interaction rules. Controlling the agent based on this execution data enables it to assume the role assigned to the second electronic device, thereby allowing it to collaborate with other agents in the second electronic device to complete cooperative tasks.

[0079] In the method provided in this embodiment of the invention, the task allocation data is divided into agent configuration data and agent execution data. This allows agents performing collaborative tasks under the control of the task allocation data to simulate their assigned roles, both in terms of external aspects such as visual and auditory perception, and internal aspects such as the execution of actions. This optimizes the immersive experience of multi-device collaboration. Based on any of the above embodiments, when the first electronic device is the second electronic device, the method further includes: The intelligent agent executes the collaborative task based on the division of labor data of its assigned role.

[0080] Specifically, the case where the first electronic device is a second electronic device refers to a situation where the first electronic device is not only responsible for executing the multi-device collaboration method provided in this embodiment of the invention to determine the second electronic device and trigger the second electronic device to cooperate in executing the collaboration task, but also participates in the execution of the collaboration task as a second electronic device. In this case, the first electronic device can be regarded as one of the second electronic devices, and a role for executing the collaboration task can be assigned to the first electronic device, thereby determining the division of labor data for the first electronic device to assign roles to itself.

[0081] Based on this, the agent at the first electronic device can be controlled to perform collaborative tasks based on the division of labor data that assigns roles to itself. For example, based on the division of labor data, the agent can be controlled to play the role assigned to the first electronic device and perform the operation of that role in the collaborative task. Thus, through the cooperation of the first electronic device and the agents at other second electronic devices, the collaborative task can be completed together.

[0082] Based on any of the above embodiments Figure 2 This is the second flowchart illustrating the multi-device collaboration method provided by the present invention, as shown below. Figure 2 As shown, this method is applied to a second electronic device, which can be a smartphone, tablet, laptop, smart speaker, child companion robot, in-vehicle central control system, smart TV, or other intelligent device with computing power and human-computer interaction capabilities. The method includes: Step 210: Receive the division of labor data of the first electronic device assigning roles to the second electronic device to perform collaborative tasks. The second electronic device is determined by the first electronic device from the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks.

[0083] Specifically, a collaborative task refers to a holistic task completed by multiple independent electronic devices through cooperation. Typically, during the execution of a collaborative task, each participating electronic device assumes a specific role, achieving efficient task completion through mutual coordination. For example, a collaborative task could be collaborative storytelling of a picture book, where multiple electronic devices each play a role in the story, collectively narrating the story through voice playback and interaction. Another example is a collaborative chorus task, where multiple electronic devices each play different roles in a chorus, achieving a role-playing chorus effect by playing different tracks from a chorus or simulating the voices of different singers.

[0084] Similar to the second electronic device, the first electronic device can be a smart device with computing power and human-computer interaction capabilities, such as a smartphone, tablet, laptop, smart speaker, child companion robot, in-vehicle central control system, or smart TV. Furthermore, in a multi-device collaboration scenario, unlike the second electronic device, the first electronic device is the initiator of the multi-device collaboration, while the second electronic device is the executor. In some embodiments, the initiator of the multi-device collaboration can also be the executor, meaning that the executors of the multi-device collaboration may include the initiator; in other embodiments, the initiator of the multi-device collaboration is not the executor, meaning that the executors of the multi-device collaboration do not include the initiator.

[0085] The execution command for the collaborative task is issued by the user. The user can issue the execution command for the collaborative task by operating the touch screen or buttons of the first electronic device, or the user can issue the execution command for the collaborative task in the form of voice. This embodiment of the invention does not make specific limitations on this.

[0086] Accordingly, the first electronic device can detect the execution command of the collaborative task issued by the user and respond to the execution command, thereby triggering the execution of the collaborative task involving multiple devices.

[0087] In response to the execution command of the collaborative task, the first electronic device can first determine the number of roles required to execute the collaborative task, as well as the division of labor data for each role in executing the collaborative task.

[0088] The number of roles required to execute a collaborative task can be pre-set, or it can be achieved by splitting the roles required to execute a collaborative task, or by splitting each independent function required to execute a collaborative task.

[0089] Furthermore, the required roles can be determined by breaking down the roles involved in the collaborative task, and thus the required number of roles can be determined. Specifically for the collaborative storytelling task of picture book stories, each story character that appears in the picture book story can be used as the role required to perform the task. For example, in the picture book story "Percy and Pip's Great Monster", there are two characters, Percy and Pip. It can be determined that the number of roles required to perform the collaborative storytelling task of this picture book story is 2, and the required roles are Percy and Pip.

[0090] Alternatively, the required roles can be determined by breaking down each independent function needed to perform the collaborative task, and then determining the number of roles required. Specifically for collaborative storytelling tasks in picture books, each story character appearing in the picture book, as well as the narration and background music required to complete the storytelling, can be regarded as an independent function to be implemented. Thus, each story character, narration, and background music can be regarded as a role required to perform the task. For example, in the picture book "Percy and Pip's Great Monster," there are two story characters, Percy and Pip, and another character is needed to play the background music and narration. Thus, the number of roles required to perform the collaborative storytelling task in this picture book can be determined to be 4, namely Percy, Pip, background music, and narration.

[0091] Furthermore, each role has corresponding task allocation data. Task allocation data refers to the specific content and related information that a role undertakes in a collaborative task. Taking a collaborative storytelling task using picture books as an example, for any given role, the task allocation data can include information such as role identity, content assignment, time nodes, and interaction rules. Role identity describes the role's name or type, and may also include related information such as descriptions of appearance, voice, habits, and personality. Content assignment can be the specific text, lines, audio clips, or other types of data blocks that the role is responsible for. Time nodes can be the timestamps or sequences of the executed content, ensuring consistency with the timing of collaboration with other roles. Interaction rules can be the interaction methods and triggering conditions with other roles. It can be understood that, for each role performing a system task, each role, based on its own task allocation data, can achieve collaboration among multiple roles to complete the collaborative task.

[0092] The division of labor data for each role can be pre-set, or it can be obtained by splitting the task data of collaborative tasks based on the function or responsibility of each role after the role division is completed. This embodiment of the invention does not make specific limitations in this regard.

[0093] For a given first electronic device, there are one or more associated electronic devices. The associated electronic devices here refer to those electronic devices that are linked to the first electronic device. Alternatively, it can be understood that the first electronic device and its associated electronic devices form a set of electronic devices, and the electronic devices within this set are interconnected.

[0094] Here, the interconnection between electronic devices can specifically mean that multiple electronic devices are logged into the same account, multiple electronic devices are in the same local area network, multiple electronic devices are in the same communication group, or multiple electronic devices have established an information channel through NFC or QR code scanning. This embodiment of the invention does not specifically limit this.

[0095] It should be noted that the interconnected electronic devices are those that can be used to perform collaborative tasks.

[0096] Therefore, after determining the number of roles required to perform the collaborative task, the first electronic device can select a certain number of electronic devices from the set of electronic devices including the first electronic device and its associated electronic devices to serve as the second electronic devices. That is, a total of a certain number of electronic devices can be selected from the first electronic device and its associated electronic devices to serve as the second electronic devices. Here, the second electronic devices are those that participate in performing the collaborative task, and the number of second electronic devices is consistent with the number of roles required to perform the collaborative task. Each second electronic device assumes one role when performing the collaborative task.

[0097] Furthermore, the determination of the second electronic device may be that the first electronic device provides the user with a set of electronic devices that can be selected as the second electronic device, and the user selects a certain number of electronic devices from the set of electronic devices as the second electronic device; or, the first electronic device may select a certain number of electronic devices from the set of electronic devices as the second electronic device based on preset rules or algorithms. This embodiment of the invention does not specifically limit this.

[0098] It should be noted that the second electronic device thus determined may not include the first electronic device. That is, the first electronic device is only responsible for executing the multi-device collaboration method provided in the embodiments of the present invention to determine the second electronic device and trigger the second electronic device to cooperate in executing the collaboration task, but the first electronic device itself does not participate in the execution of the collaboration task; or, the second electronic device thus determined may include the first electronic device. That is, the first electronic device is not only responsible for executing the multi-device collaboration method provided in the embodiments of the present invention to determine the second electronic device and trigger the second electronic device to cooperate in executing the collaboration task, but the first electronic device also participates in the execution of the collaboration task as a second electronic device. The embodiments of the present invention do not make specific limitations on this.

[0099] After the second electronic devices are identified, the first electronic device can assign roles for performing collaborative tasks to each of the second electronic devices, thus assigning each second electronic device a role. Once the one-to-one correspondence between the second electronic devices and the roles is established, the task assignment data for each role can be sent to the corresponding second electronic device.

[0100] Accordingly, the second electronic device receives the role assignment data sent by the first electronic device, which is assigned to the second electronic device.

[0101] Step 220: Control the intelligent agent to execute the collaborative task based on the division of labor data.

[0102] Specifically, regarding the second electronic device, an intelligent agent is installed at the second electronic device. After receiving the task allocation data, the second electronic device can trigger the second electronic device to control the intelligent agent to execute collaborative tasks based on the task allocation data. For example, the second electronic device can control the intelligent agent to play the role assigned to the second electronic device and perform the operations of that role in the collaborative task based on the task allocation data. In this way, through the cooperation of multiple intelligent agents at the second electronic devices, the collaborative task is completed together.

[0103] In the method provided in this embodiment of the invention, a second electronic device required to perform a collaborative task can be determined by a first electronic device, and a role and division of labor data for performing the collaborative task can be assigned to the second electronic device. This allows the second electronic device to control the intelligent agent to perform the collaborative task based on the division of labor data, thereby realizing the joint application of multiple intelligent agents across multiple devices and effectively expanding the linkage scenarios of multiple devices and multiple intelligent agents. Furthermore, users only need to input the execution command of the collaborative task to achieve collaborative work among multiple devices and multiple intelligent agents. The linkage control of multiple devices and multiple intelligent agents can be achieved through simple operations, greatly reducing the operational threshold. Even young children can quickly get started, providing possibilities for the application of multi-device, multi-intelligent agent linkage in intelligent early childhood education, child companionship, and other fields.

[0104] Based on any of the above embodiments, the present invention provides a multi-device collaboration method, in which six devices, namely picture book robot a, picture book robot b, picture book robot c, picture book robot d, picture book robot e, and picture book robot f, are logged in by the same account, that is, picture book robots a to f are interconnected.

[0105] In this scenario, a user can send a collaborative task execution command to any one of the six devices, which will then be designated as the first electronic device, and the other five devices as associated electronic devices of the first electronic device.

[0106] Suppose a user sends a collaborative task execution command to picture book robot A, "I want to listen to the picture book 'Percy and Pip the Monster'", thus instructing picture book robot A to receive the collaborative task execution command and respond to the command: The picture book robot A determines that there are two characters, Percy and Pip, in the picture book story "Percy and Pip the Great Monster". That is, it determines that the number of characters required to perform the collaborative storytelling task of this picture book story is 2, and the required characters are Percy and Pip. Based on this, it determines the division of labor data for each character, that is, the data required to play the roles of Percy and Pip respectively.

[0107] Furthermore, picture book robot A can calculate its distances to picture book robots B, C, D, E, and F, and identify those whose distances are less than a distance threshold. Assuming that picture book robots B and C are among those with distances less than the threshold, picture book robot A then obtains the user usage frequency of picture book robots B and C, finding that users use picture book robot C more frequently. Therefore, picture book robot C is selected as the device participating in the collaborative storytelling task. In other words, picture book robots A and C are determined to be two second electronic devices participating in the collaborative storytelling task.

[0108] Subsequently, picture book robot A assigns the character Percy to itself and the character Pip to picture book robot C, sending the role assignment data for Pip to picture book robot C. Thus, picture book robot A controls its own agent A to play Percy based on the role assignment data for Percy, and picture book robot C controls its own agent C to play Pip based on the role assignment data for Pip. In this way, agents A and C cooperate to perform the picture book "Percy and Pip the Great Monster".

[0109] The multi-device collaboration device provided by the present invention is described below. The multi-device collaboration device described below and the multi-device collaboration method described above can be referred to in correspondence.

[0110] Figure 3 This is one of the structural schematic diagrams of the multi-device collaborative device provided by the present invention, such as... Figure 3 As shown, the multi-device collaboration device is applied to a first electronic device, and the multi-device collaboration device includes: The response unit 310 is configured to, in response to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task; Selection unit 320 is used to determine a second electronic device from the first electronic device and the associated electronic devices of the first electronic device based on the number of roles; The allocation unit 330 is used to allocate roles to the second electronic device for performing the collaborative task, and send the division of labor data of the allocated roles to the second electronic device to trigger the second electronic device to control the agent to perform the collaborative task based on the division of labor data of the allocated roles.

[0111] In the device provided in this embodiment of the invention, a second electronic device required to perform a collaborative task can be determined by a first electronic device, and a role and division of labor data for performing the collaborative task can be assigned to the second electronic device. This allows the second electronic device to control the intelligent agent to perform the collaborative task based on the division of labor data, thereby realizing the joint application of multiple intelligent agents across multiple devices and effectively expanding the linkage scenarios of multiple devices and multiple intelligent agents. Furthermore, users only need to input the execution command of the collaborative task to achieve collaborative work among multiple devices and multiple intelligent agents. The linkage control of multiple devices and multiple intelligent agents can be achieved through simple operations, greatly reducing the operational threshold. Even young children can quickly get started, providing possibilities for the application of multi-device, multi-intelligent agent linkage in intelligent early childhood education, child companionship, and other fields.

[0112] Based on the above embodiments, the selection unit is specifically used for: Based on the number of roles, and the device information of the first electronic device and the associated electronic device, a second electronic device is determined from the first electronic device and the associated electronic device; The device information includes at least one of the following: device location, communication quality, historical usage information, device performance, and device status.

[0113] Based on any of the above embodiments, the selection unit is specifically used for: Based on the device information of the first electronic device and the device information of the associated electronic device, available electronic devices are determined from the first electronic device and the associated electronic devices, and the collaboration priority of the available electronic devices is determined. Based on the number of roles and the collaboration priority of the available electronic devices, a second electronic device is determined from the available electronic devices.

[0114] Based on any of the above embodiments, the allocation unit is specifically used for: Based on the division of labor data for each role, determine the role relationships and / or interaction needs of each role; Based on the role relationships and / or interaction requirements of each role, and the device location of each second electronic device, a role is assigned to each second electronic device to perform the collaborative task.

[0115] Based on any of the above embodiments, the division of labor data includes agent configuration data and agent execution data, wherein the agent configuration data is used to configure the appearance and / or sound of the agent.

[0116] Based on any of the above embodiments, when the first electronic device is the second electronic device, the device further includes an execution unit for: The intelligent agent executes the collaborative task based on the division of labor data of its assigned role.

[0117] Figure 4 This is the second structural schematic diagram of the multi-device collaborative device provided by the present invention, as shown below. Figure 4 As shown, the multi-device collaboration device is applied to a second electronic device, and the multi-device collaboration device includes: The receiving unit 410 is used to receive the division of labor data in which the first electronic device assigns roles to the second electronic device to perform collaborative tasks, wherein the second electronic device is determined by the first electronic device from the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks; The execution unit 420 is used to control the intelligent agent to execute the collaborative task based on the division of labor data.

[0118] In the device provided in this embodiment of the invention, a second electronic device required to perform a collaborative task can be determined by a first electronic device, and a role and division of labor data for performing the collaborative task can be assigned to the second electronic device. This allows the second electronic device to control the intelligent agent to perform the collaborative task based on the division of labor data, thereby realizing the joint application of multiple intelligent agents across multiple devices and effectively expanding the linkage scenarios of multiple devices and multiple intelligent agents. Furthermore, users only need to input the execution command of the collaborative task to achieve collaborative work among multiple devices and multiple intelligent agents. The linkage control of multiple devices and multiple intelligent agents can be achieved through simple operations, greatly reducing the operational threshold. Even young children can quickly get started, providing possibilities for the application of multi-device, multi-intelligent agent linkage in intelligent early childhood education, child companionship, and other fields.

[0119] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a multi-device collaboration method. When the electronic device is a first electronic device, the method includes: In response to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task; Based on the number of roles, a second electronic device is determined from the first electronic device and its associated electronic devices; Assign roles to the second electronic device to perform the collaborative task, and send the division of labor data of the assigned roles to the second electronic device to trigger the second electronic device to control the agent to perform the collaborative task based on the division of labor data of the assigned roles.

[0120] When the electronic device is a second electronic device, the method includes: The system receives task allocation data from the first electronic device, which assigns roles to the second electronic device to perform collaborative tasks. The second electronic device is determined by the first electronic device from among the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks. Based on the division of labor data, the control agent executes the collaborative task.

[0121] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to related technologies, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0122] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program that can be stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is able to execute the multi-device collaboration method provided by the above methods, the method comprising: In response to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task; Based on the number of roles, a second electronic device is determined from the first electronic device and its associated electronic devices; Assign roles to the second electronic device to perform the collaborative task, and send the division of labor data of the assigned roles to the second electronic device to trigger the second electronic device to control the agent to perform the collaborative task based on the division of labor data of the assigned roles.

[0123] or; The system receives task allocation data from the first electronic device, which assigns roles to the second electronic device to perform collaborative tasks. The second electronic device is determined by the first electronic device from among the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks. Based on the division of labor data, the control agent executes the collaborative task.

[0124] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the multi-device collaborative method provided by the methods described above, the method comprising: In response to the execution instruction of the collaborative task, determine the number of roles required to execute the collaborative task, and the division of labor data for each role in executing the collaborative task; Based on the number of roles, a second electronic device is determined from the first electronic device and its associated electronic devices; Assign roles to the second electronic device to perform the collaborative task, and send the division of labor data of the assigned roles to the second electronic device to trigger the second electronic device to control the agent to perform the collaborative task based on the division of labor data of the assigned roles.

[0125] or; The system receives task allocation data from the first electronic device, which assigns roles to the second electronic device to perform collaborative tasks. The second electronic device is determined by the first electronic device from among the first electronic device and its associated electronic devices based on the number of roles required to perform the collaborative tasks. Based on the division of labor data, the control agent executes the collaborative task.

[0126] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0127] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of software products. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-device collaboration method, characterized by, The method applied to a first electronic device comprises: In response to an execution instruction of a cooperative task, determining a number of roles required for executing the cooperative task, and division data of each role for executing the cooperative task; Based on the number of roles, determining a second electronic device from the first electronic device and associated electronic devices of the first electronic device; Assigning the second electronic device a role for executing the cooperative task, and sending the division data of the assigned role to the second electronic device to trigger the second electronic device to control an agent to execute the cooperative task based on the division data of the assigned role.

2. The multi-device collaboration method of claim 1, wherein, The determination of the second electronic device based on the number of roles from the first electronic device and the associated electronic devices of the first electronic device comprises: Based on the number of roles, and device information of the first electronic device and device information of the associated electronic devices, determining a second electronic device from the first electronic device and the associated electronic devices; The device information comprises at least one of device location, communication quality, historical use information, device performance, and device status.

3. The multi-device collaboration method of claim 2, wherein, The determination of the second electronic device based on the number of roles, and device information of the first electronic device and device information of the associated electronic devices, from the first electronic device and the associated electronic devices comprises: Based on the device information of the first electronic device and the device information of the associated electronic devices, determining available electronic devices from the first electronic device and the associated electronic devices, and determining cooperative priorities of the available electronic devices; Based on the number of roles, and the cooperative priorities of the available electronic devices, determining a second electronic device from the available electronic devices.

4. The multi-device collaboration method of claim 1, wherein, The assignment of the second electronic device a role for executing the cooperative task comprises: Based on the division data of each role, determining role relationships and / or interaction requirements of each role; Based on the role relationships and / or interaction requirements of each role, and device locations of each second electronic device, assigning each second electronic device a role for executing the cooperative task.

5. The multi-device collaboration method of any of claims 1-4, wherein, The division data comprises agent configuration data and agent execution data, and the agent configuration data is used for configuring appearance and / or sound of the agent.

6. The multi-device collaboration method of any of claims 1-4, wherein, In the case that the first electronic device is the second electronic device, the method further comprises: Controlling an agent to execute the cooperative task based on the division data of the assigned role of the first electronic device.

7. A multi-device collaboration method, characterized by, The method applied to a second electronic device comprises: Receiving division data of a role for executing a cooperative task assigned by a first electronic device to the second electronic device, the second electronic device being determined by the first electronic device based on a number of roles required for executing the cooperative task from the first electronic device and associated electronic devices of the first electronic device; Controlling an agent to execute the cooperative task based on the division data.

8. A multi-device collaboration apparatus, characterized by comprising: The apparatus applied to a first electronic device comprises: A response unit configured to, in response to an execution instruction of a cooperative task, determine a number of roles required for executing the cooperative task, and division data of each role for executing the cooperative task; The selecting unit is configured to determine a second electronic device from the first electronic device and associated electronic devices of the first electronic device based on the number of roles; The assigning unit is configured to assign the second electronic device a role of performing the cooperative task, and send work distribution data of the assigned role to the second electronic device, so as to trigger the second electronic device to control an agent to perform the cooperative task based on the work distribution data of the assigned role.

9. A multi-device collaboration apparatus, characterized by comprising: The device applied to a second electronic device comprises: A receiving unit is configured to receive work distribution data of a role assigned by a first electronic device to the second electronic device for performing a cooperative task, the second electronic device being determined by the first electronic device from the first electronic device and associated electronic devices of the first electronic device based on a number of roles required for performing the cooperative task; An executing unit is configured to control an agent to perform the cooperative task based on the work distribution data.

10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor executes the computer program to implement the multi-device cooperative method of any one of claims 1 to 7. 11.A non-transitory computer-readable storage medium having stored thereon a computer program. The computer program is executed by the processor to implement the multi-device cooperative method of any one of claims 1 to 7.

12. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the multi-device cooperative method of any one of claims 1 to 7.

Citation Information

Cited By

  • Accompanying robot interaction control method and device, electronic equipment and storage medium

    CN122018702A