Processing method and device

By responding to trigger events in the target device group and determining the target electronic device to perform tasks, the task efficiency and quality problems caused by the hardware resources of the user-side device are solved, and the user experience is improved.

CN119182816APending Publication Date: 2024-12-24LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411216429.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

When different user-side devices perform artificial intelligence-generated content tasks, due to differences in hardware resources, the task completion efficiency and quality are different, which affects the user experience.

Method used

By responding to a trigger event in the target device group, sending a target processing task, and determining the target electronic device based on the feedback information to perform the task, establishing a communication connection to obtain processing results, and making full use of device resources.

Benefits of technology

It realizes the effective utilization of equipment resources, improves the efficiency and quality of task completion, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182816A_ABST
    Figure CN119182816A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and device. The method comprises the steps that in response to a target trigger event, a target processing task matched with the target trigger event is sent to a target device group, and the target device group is a group composed of electronic devices in the space where the first electronic device is located; based on feedback information of the electronic devices in the target device group for the target processing task, determining a target electronic device from the target device group to execute the target processing task; and establishing a first communication connection with the target electronic device to obtain a processing result of the target processing task through the first communication connection, the first communication connection being the same as or different from a communication mode of sending the target processing task to a target device group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a processing method and device. Background Art

[0002] Model localization requires that the client device has certain hardware system resources, such as whether it has an independent graphics card, whether the memory or video memory is large enough, whether it has enough storage capacity to store the model weight file, etc. Therefore, different client devices have different capabilities to perform specified tasks using artificial intelligence technology (such as artificial intelligence generated content (AIGC)), which will directly affect the efficiency and quality of task completion, and may lead to poor user experience. Summary of the invention

[0003] The embodiments of the present application provide a processing method and device.

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

[0005] In a first aspect, an embodiment of the present application provides a processing method, which is applied to a first electronic device, and the method includes:

[0006] In response to a target triggering event, sending a target processing task matching the target triggering event to a target device group, where the target device group is a group of electronic devices in a space where the first electronic device is located;

[0007] Based on feedback information of the electronic devices in the target device group for the target processing task, determining a target electronic device from the target device group to perform the target processing task; and

[0008] A first communication connection is established with a target electronic device to obtain a processing result of the target processing task through the first communication connection, wherein the first communication connection is the same as or different from a communication method for sending the target processing task to a target device group.

[0009] In a second aspect, an embodiment of the present application provides a processing device, applied to a first electronic device, the device comprising:

[0010] A response module, configured to respond to a target trigger event and send a target processing task matching the target trigger event to a target device group, where the target device group is a group of electronic devices in the space where the first electronic device is located;

[0011] a determination module, configured to determine a target electronic device from the target device group to perform the target processing task based on feedback information of the electronic devices in the target device group for the target processing task; and

[0012] An establishing module is used to establish a first communication connection with a target electronic device to obtain a processing result of a target processing task through the first communication connection, wherein the first communication connection is the same as or different from a communication method for sending the target processing task to a target device group.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store executable data instructions; when the processor is used to execute the executable data instructions stored in the memory, the processing method of the first aspect is implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processing method of the first aspect is implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the processing method of the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, a brief introduction will be given below to the drawings required for use in the embodiments. Obviously, the drawings described below are 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.

[0017] Figure 1 A flowchart of a processing method provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a flow chart of an execution weight calculation for a target processing task provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of a scenario in which a target processing task is executed between multiple devices provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of a process for executing a target processing task between multiple devices provided in an embodiment of the present application;

[0021] Figure 5 A schematic diagram of a user interaction process for determining a target device to perform a target processing task provided by an embodiment of the present application;

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

[0023] Figure 7A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 the embodiments of the present application.

[0025] It should be noted that, in the description of the embodiments of the present application, the terms "first", "second", etc. are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, in the description of the embodiments of the present application, "and / or" represents at least one of the connected objects, and the character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0026] The processing method and device provided in the embodiments of the present application are exemplarily introduced below in conjunction with the drawings in the embodiments of the present application.

[0027] Figure 1 A flowchart of a processing method provided in an embodiment of the present application is shown, and the processing method is applied to a first electronic device, such as Figure 1 As shown, the method includes:

[0028] S101. In response to a target triggering event, sending a target processing task matching the target triggering event to a target device group, where the target device group is a group of electronic devices in a space where the first electronic device is located.

[0029] It should be noted that the first electronic device may be a communication electronic device, such as a mobile phone, a tablet computer, and a smart watch; the first electronic device may also be an entertainment electronic device, such as a television and a game console; the first electronic device may also be a work and study electronic device, such as a laptop computer and a learning machine; the first electronic device may also be an emerging and special electronic device, such as a smart home device, a virtual reality device, and a wearable device. The embodiment of the present application does not specifically limit the type of the first electronic device.

[0030] In some embodiments, the target trigger event may be generated by one of the following: insufficient system resources of the first electronic device to execute the obtained target processing task, the first electronic device does not have the processing capacity to process the obtained target processing task, the relevant model of the first electronic device used to execute the target processing task is occupied, insufficient power of the first electronic device to execute the obtained target processing task, the first electronic device crashes and is unable to execute the obtained target processing task, the operating mode of the first electronic device is switched and is unable to execute the obtained target processing task, the first electronic device needs to execute a task with a higher priority and is currently unable to execute the obtained target processing task, etc.

[0031] It should be noted that the target device group is a group of electronic devices in the space where the first electronic device is located, and the electronic devices in the space where the first electronic device is located may be electronic devices connected to the same wireless access point (AP) or the same level of AP. For example, a group of devices in a home space, or a group of electronic devices in a company space that share the same AP or the same level of AP, etc.

[0032] It should be noted that the space where the first electronic device is located may be a local area network space or an edge network space where the first electronic device is located.

[0033] It should be noted that the target processing tasks that match the target trigger event may include: generating target text tasks, generating target image tasks, generating target video tasks, summarizing target document tasks, polishing target document tasks, extending target document tasks, beautifying target images tasks and super-resolution reconstruction target images tasks, etc.

[0034] In some implementations, the first electronic device may send a target processing task matching the target trigger event to a target device group via Bluetooth broadcast in response to the target trigger event.

[0035] In some embodiments, the first electronic device may send a target processing task matching the target trigger event to one of the electronic devices in the target device group, and then the receiving electronic device in the target device group broadcasts the target processing task to other electronic devices in the target device group.

[0036] S102: Determine a target electronic device from the target device group to execute the target processing task based on feedback information from the electronic devices in the target device group regarding the target processing task.

[0037] It should be noted that the electronic devices in the target device group may be some of the electronic devices in the target device group, or may be all of the electronic devices in the target device group.

[0038] It should be noted that the feedback information for the target processing task may include weight score information and device information recommended by the target device group, etc.

[0039] In some embodiments, the first electronic device can determine a target electronic device from the target device group to perform the target processing task based on feedback information from the electronic devices in the target device group regarding the target processing task and in combination with information such as user habits or preferences, network environment, historical usage data, and spatial environment.

[0040] It should be noted that the target electronic device determined from the target device group may be one electronic device or multiple electronic devices, which is not specifically limited in the embodiment of the present application.

[0041] S103. Establish a first communication connection with the target electronic device to obtain a processing result of the target processing task through the first communication connection, wherein the first communication connection is the same as or different from a communication method for sending the target processing task to the target device group.

[0042] It should be noted that the first communication connection may be a connection established through Wi-Fi Direct technology.

[0043] In some embodiments, the first electronic device sends a target processing task to one of the electronic devices in the target device group through a target communication method, and the electronic device broadcasts it within the target device group, and then the first electronic device determines the target electronic device from the target device group to perform the target processing task based on the feedback information of the electronic devices in the target device group for the target processing task, and then the first electronic device obtains the processing result of the target processing task through the first communication connection established with the target electronic device, and the target communication method here is the same as or different from the first communication connection. For example, the first electronic device sends the target processing task to an electronic device in the target device group (which may be a device that manages the target device group) through a Wi-Fi direct connection, and the electronic device distributes the received target processing task to each electronic device in the target device group, and then each electronic device in the target device group feeds back feedback information for the target processing task to the first electronic device, and then the first electronic device determines the target electronic device from the target device group to perform the target processing task based on the feedback information, and then the first electronic device obtains the processing result of the target processing task through a Wi-Fi direct connection.

[0044] In some implementations, the first electronic device sends the target processing task to the target device group via a broadcast communication method, and the broadcast communication method is different from the first communication connection.

[0045] It can be understood that the processing method provided in the embodiment of the present application, by responding to the target trigger event, sends the target processing task matching the target trigger event to the target device group, and then determines the target electronic device from the target device group to perform the target processing task based on the feedback information of the electronic device in the target device group for the target processing task, and obtains the processing result of the target processing task through the first communication connection, so as to make full use of the hardware resources of the target electronic device in the target device group that can perform the target processing task to perform the target processing task and obtain the processing result of the target processing task, so as to realize the effective utilization of device processing resources, ensure the completion efficiency and quality of the target processing task, and improve the user experience.

[0046] In some embodiments, in response to a target triggering event, sending a target processing task matching the target triggering event to a target device group includes:

[0047] Obtaining the type and / or source of the target triggering event, and sending the target processing task to the target device group in a corresponding sending manner based on the type and / or source;

[0048] and / or,

[0049] The target trigger event is generated by at least one of the following:

[0050] In response to obtaining a processing task that does not match current system resources, generating the target trigger event;

[0051] After the first electronic device obtains the processing task, in response to determining that the target model for executing the processing task is in an occupied state, generating the target trigger event;

[0052] After the first electronic device obtains the processing task, in response to the first electronic device not having the function and / or service to perform the processing task, generating the target trigger event;

[0053] After the first electronic device obtains the processing task, in response to detecting that the power level of the first electronic device is within a first threshold range, generating the target trigger event;

[0054] After the first electronic device obtains the processing task based on the user operation, in response to a change in the running state, the target trigger event is generated;

[0055] After the first electronic device obtains a processing task based on interaction data between the first electronic device and the second electronic device, the target trigger event is generated in response to executing a task with a higher priority than the processing task.

[0056] In an embodiment of the present application, the first electronic device can first obtain the type and / or source of the target trigger event, and then determine the corresponding sending method based on the type and / or source of the target trigger event, and then send the target processing task to the target device group using the corresponding sending method.

[0057] It should be noted that the type and / or source of the target triggering event may indicate whether the target triggering event is an active triggering event or a passive triggering event.

[0058] In some implementations, if the target trigger event is determined to be an active trigger event based on the type and / or source of the target trigger event, the first electronic device may send the target processing task to the target device group by broadcasting.

[0059] In some embodiments, if the target trigger event is determined to be a passive trigger event based on the type and / or source of the target trigger event, the first electronic device may send a target processing task to one of the electronic devices in the target device group via Wi-Fi direct communication, and then the receiving electronic device in the target device group broadcasts the target processing task to other electronic devices in the target device group.

[0060] In some embodiments, if the first electronic device cannot broadcast directly to the target device group, or the first electronic device cannot establish a communication connection with one of the electronic devices in the target device group, the first electronic device can broadcast or forward the target processing task to the target device group through an intermediate device.

[0061] In some embodiments, the first electronic device may generate a target trigger event in response to obtaining a processing task that does not match the current system resources. For example, after the first electronic device obtains a processing task for generating a target image, it determines through a system resource self-check that the current system resources do not support processing the task, and then the first electronic device may generate a target trigger event for generating the target image.

[0062] In some embodiments, after the first electronic device obtains a processing task, a target trigger event may be generated in response to determining that the target model executing the processing task is in an occupied state. For example, after the first electronic device obtains a processing task to generate a target text, it determines through resource monitoring that the target model executing the target text generation task is executing other text generation tasks, that is, the target model is in an occupied state, then the first electronic device may generate a target trigger event for the generation of the target text.

[0063] In some embodiments, after the first electronic device obtains the processing task, a target trigger event may be generated in response to the first electronic device not having the function and / or service to perform the processing task. For example, after the first electronic device obtains the processing task of summarizing the target document, it is determined by performing a software and hardware compatibility check and a function and service list query that the first electronic device does not have the function and / or service to perform the summary target document. At this time, the first electronic device may generate a target trigger event for summarizing the target document.

[0064] In some embodiments, after the first electronic device obtains the processing task, a target trigger event may be generated in response to detecting that the power of the first electronic device is within the first threshold range. For example, after the first electronic device obtains the processing task of generating a target video, it determines through power detection that the current power of the first electronic device is within the first threshold range, that is, the current power is low and cannot guarantee the completion of the task of generating the target video. At this time, the first electronic device may generate a target trigger event for generating the target video.

[0065] It should be noted that the first threshold range can be adaptively set based on actual applications, and the embodiment of the present application does not specifically limit this. For example, the first threshold range is 0-20%, or 0-30%.

[0066] In some embodiments, after the first electronic device obtains a processing task based on a user operation, a target trigger event can be generated in response to a change in the running state. That is, when the first electronic device obtains a processing task triggered by the input data of the user in a specific operation interface or application window, by monitoring the running state of the first electronic device and identifying the state change information, the state change information includes but is not limited to CPU usage, memory occupancy, network connection status and model occupancy status, and then based on the state change information, it is determined that the running state of the first electronic device has changed, such as a sudden increase in CPU usage, insufficient memory, network connection interruption or sudden occupancy of the model, etc., then the first electronic device can generate a target trigger event. For example, after the first electronic device obtains a processing task of generating a target text input by the user in a specific operation interface, by monitoring the running state change information of the target model that executes the target text generation task, based on the running state change information, it is determined that the running state of the target model suddenly changes from an idle state to an occupied state, then the first electronic device can generate a target trigger event about the generation of the target text.

[0067] In some embodiments, after the first electronic device obtains a processing task based on the interaction data between the first electronic device and the second electronic device, a target trigger event may be generated in response to the execution of a task with a higher priority than the processing task. For example, the second electronic device sends a processing task that cannot be executed to the first electronic device, or the first electronic device and the second electronic device generate a processing task during the interaction process and hand it over to the first electronic device, while the first electronic device is executing a task with a higher priority than the processing task. In this case, the first electronic device may generate a target trigger event.

[0068] It should be noted that the processing tasks obtained by the first electronic device based on the interactive data between the first electronic device and the second electronic device are, for example: processing tasks generated by user A to whom the first electronic device belongs and user B to whom the second electronic device belongs based on the interactive data during a social chat or conference, such as image generation tasks, image processing tasks, article summary generation tasks, and image beautification tasks, etc. For example, user A and user B chat through the WeChat application, QQ application, or Teams application, and during the chat, a task of generating a target image, a task of beautifying a target image, or a task of generating a target article summary, etc., is generated based on the interactive data between the two parties.

[0069] It can be understood that the embodiments of the present application can improve the diversity of sending methods for the first electronic device to send target processing tasks to the target device group by responding to the target trigger event and sending the target processing task to the target device group in a corresponding sending method based on the type and / or source of the target trigger event.

[0070] In some embodiments, sending a target processing task matching the target triggering event to a target device group includes at least one of the following:

[0071] Broadcasting the target processing task to the target device group;

[0072] Sending the target processing task to the third electronic device through a first communication connection with a third electronic device in the target device group or a second communication connection different from the first communication connection, so as to broadcast the target processing task to the target device group by using the third electronic device;

[0073] The target processing task is delivered to the target device group by a fourth electronic device, the fourth electronic device does not belong to the target device group, and the fourth electronic device can deliver the target processing task to the target device group by broadcasting or non-broadcasting.

[0074] In some implementations, the first electronic device may broadcast the target processing task to the target device group by Bluetooth broadcasting. For example, if the target device group includes device A, device B, and device C, the first electronic device may broadcast the target processing task to device A, device B, and device C by Bluetooth broadcasting.

[0075] In some embodiments, the first electronic device may send the target processing task to the third electronic device through a first communication connection with the third electronic device in the target device group; the first electronic device may also send the target processing task to the third electronic device through a second communication connection with the third electronic device in the target device group. The first communication connection is different from the second communication connection. For example, the first communication connection is a Bluetooth connection different from WiFi Direct, and the second communication connection is a wired connection (such as a type-c connection, a thunderbolt connection, and an HDMI connection, etc.) or an RJ45 connection, etc.

[0076] It should be noted that the third electronic device may be any electronic device in the target device group, or may be a management device in the target device group, which is not specifically limited in the embodiment of the present application.

[0077] It should be noted that the third electronic device can broadcast the target processing task to the target device group via Bluetooth broadcasting, or can broadcast the target processing task to the target device group via other broadcasting methods. It only needs to broadcast the target processing task to other electronic devices in the target device group. The embodiment of the present application does not specifically limit the broadcasting method.

[0078] For example, the target device group includes device A, device B and device C, and a first communication connection (such as a Bluetooth connection) is established between the first electronic device and device C. The first electronic device can send the target processing task to device C through the first communication connection, and then device C broadcasts the target processing task to device A and device B via Bluetooth broadcasting.

[0079] For example, the target device group includes device A, device B and device C, and a second communication connection (such as type-c connection, thunderbolt connection and HDMI connection, etc.) is established between the first electronic device and device C. The first electronic device can send the target processing task to device C through the second communication connection, and then device C broadcasts the target processing task to device A and device B through wired broadcasting.

[0080] In some embodiments, the first electronic device can pass the target processing task to the target device group through the fourth electronic device, and the fourth electronic device does not belong to the target device group, and the fourth electronic device can pass the target processing task to the target device group by broadcasting or non-broadcasting. Among them, there is a first communication connection or a third communication connection different from the first communication connection between the fourth electronic device and the first electronic device. For example, a first communication connection (such as a Bluetooth connection) or a third communication connection (such as a type-c connection, a thunderbolt connection, and an HDMI connection, etc.) is established between the first electronic device and device D, and device D does not belong to the target device group, and the target device group includes device A, device B, and device C. If the first electronic device needs to send a target processing task to the target device group, it can first send the target processing task to device D through the first communication connection or the third communication connection, and then device D passes the target processing task to device A, device B, and device C through Bluetooth broadcast or wired connection.

[0081] In some embodiments, the fourth electronic device can transmit the target processing task to the target device group via Bluetooth broadcasting, or can broadcast the target processing task to the target device group via other broadcasting methods. It only needs to broadcast the target processing task to the electronic devices in the target device group. The embodiment of the present application does not specifically limit the broadcasting method.

[0082] In some embodiments, the fourth electronic device can establish a communication connection with the electronic devices in the target device group to transfer the target processing task to each electronic device based on the communication connection between the fourth electronic device and each electronic device in the target device group. For example, device D is the fourth electronic device, and the target device group includes device A, device B, and device C. Device D can establish a communication connection with device A, device B, and device C respectively, and the communication connection can be a wired communication connection or a wireless communication connection; after receiving the target processing task sent by the first electronic device, device D can transfer the target processing task to device A, device B, and device C respectively through the communication connection established with device A, device B, and device C.

[0083] It can be understood that the embodiments of the present application send the target processing task to the target device group through a variety of different sending methods, thereby increasing the diversity of sending methods for the first electronic device to send the target processing task to the target device group.

[0084] In some embodiments, based on feedback information of the electronic devices in the target device group for the target processing task, determining a target electronic device from the target device group to perform the target processing task includes:

[0085] Obtaining execution weights and / or device recommendation information of the electronic devices in the target device group for the target processing task, wherein the execution weights are determined by each electronic device based on its own configuration information and operating status;

[0086] At least one electronic device is determined from the target device group as the target electronic device based on the execution weight and / or the device recommendation information, so as to utilize the target electronic device to execute the target processing task.

[0087] It should be noted that the execution weight of the electronic device for the target processing task may be the feasibility score or weight score of the electronic device being able to perform the target processing task. The same electronic device may have different corresponding execution weights for different processing tasks. For example, the feasibility score or weight score of device A in the target device group for executing the target image generation task is 15, the feasibility score or weight score for executing the target text generation task is 28, and the feasibility score or weight score for executing the target document summary task is 37.

[0088] It should be noted that the device recommendation information may be information of at least one electronic device automatically recommended by the target device group for performing the target processing task. For example, the target device group may feed back the device identification information, device communication information (communication address, pairing information, etc. for establishing a communication connection with the first electronic device), or device configuration information, or device capability information of the electronic device recommended by it for performing the target processing task to the first electronic device, and the first electronic device calculates and sorts each electronic device, and then determines the target electronic device for performing the target processing task.

[0089] For example, the target device group includes device A, device B and device C. After the target device group receives the target processing task sent by the first electronic device, it determines to recommend device B and device C to perform the target processing task based on the configuration information and operating status of device A, device B and device C. The target device group can feed back the device identification information, device communication information, or device configuration information, or device capability information of device B and device C to the first electronic device, and then the first electronic device calculates and sorts based on the obtained information of device B and device C, and determines device C ranked first as the target electronic device to perform the target processing task.

[0090] It should be noted that the self-configuration information of each electronic device includes its own hardware configuration information (such as processor CPU, memory and graphics card, etc.), its own software configuration information (such as software environment configuration, software function configuration, and software performance and resource management configuration, etc.) and model configuration information (such as model parameter configuration and model hardware requirement configuration, etc.), etc., which can characterize the processing capabilities of the electronic device and the functions or services that can be provided, such as models for generating images, applications for generating images, etc.

[0091] It should be noted that the operating status of each electronic device includes the device operating status (such as normal operating status, hot standby status and cold standby status, etc.), the device hardware usage status (such as normal usage status, load status, standby and hibernation status, etc.) and the device model operating status (such as normal operating status, fault or abnormal status, etc.).

[0092] In some embodiments, the first electronic device may sort the electronic devices in the target device group according to the execution weights of the target processing task, and determine the electronic devices with the execution weights in the first sequence as the target electronic devices for executing the target processing task. For example, the target device group includes device A, device B, and device C, wherein the weight score of device A for executing the target processing task is 15, the weight score of device B for executing the target processing task is 38, and the weight score of device C for executing the target processing task is 27. Then the first electronic device sorts the weight scores corresponding to device A, device B, and device C respectively in order from large to small, and determines that device B, which ranks first, is the target electronic device for executing the target processing task.

[0093] In some embodiments, the first electronic device may use the electronic device recommended by the target device group as the target electronic device for performing the target processing task based on the device recommendation information. For example, if the target device group includes device A, device B, and device C, and the target device group recommends device C to the first electronic device for performing the target processing task, the first electronic device may determine that device C is the target electronic device for performing the target processing task.

[0094] In some embodiments, the first electronic device may combine the execution weights of the electronic devices in the target device group for the target processing task with the device recommendation information to determine the target electronic device for executing the target processing task. For example, the first electronic device adjusts the execution weights based on the device recommendation information, and sorts the adjusted execution weights, and then determines the target electronic device for executing the target processing task based on the sorting result of the execution weights.

[0095] For example, the target device group includes device A, device B and device C. After receiving the weight scores of device A, device B and device C for the target processing task (15, 38 and 27 respectively), as well as the device identification information, device communication information, or device configuration information, or device capability information of device C recommended by the target device group, the first electronic device can adjust the weight score of device C to 42 based on the recommended information of device C, and then sort the corresponding weight scores of device A, device B and device C, and then determine device C ranked first as the target electronic device for performing the target processing task.

[0096] In some embodiments, the first electronic device can determine the target electronic device for performing the target processing task based on the execution weights and device recommendation information of the electronic devices in the target device group for the target processing task, as well as in combination with user habits or preferences, network environment, historical usage data, and spatial environment.

[0097] For example, the target device group includes device A, device B and device C. The first electronic device preliminarily determines that device C can be used as the target electronic device to perform the target processing task based on the weight scores of devices A, B and C for the target processing task (15, 38 and 27 respectively) and the device recommendation information of device C fed back by the target device group. The first electronic device then further determines that device B can be used as the target electronic device to perform the target processing task based on the user's preference for device B.

[0098] It can be understood that the embodiments of the present application can further ensure the completion efficiency and quality of the target processing task and improve the user experience by determining an electronic device from the target device group that is more suitable for executing the target processing task to execute the target processing task based on the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task.

[0099] In some embodiments, obtaining the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task includes at least one of the following:

[0100] Receiving broadcast data sent by electronic devices in the target device group, parsing the broadcast data, and obtaining execution weights and / or device recommendation information of each electronic device for the target processing task;

[0101] Receiving the execution weight and / or device recommendation information of each electronic device for the target processing task fed back by a third electronic device in the target device group, wherein the third device has a first communication connection or a second communication connection different from the first communication connection with the first electronic device;

[0102] After the first electronic device establishes a first communication connection or a second communication connection with a third electronic device in the target device group through the first application, the execution weight and / or device recommendation information of each electronic device in the target device group is displayed on the window interface of the first application;

[0103] In response to the electronic devices in the target device group calculating the execution weight for the target processing task, the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task are displayed on the window interface of the first application of the first electronic device, or, in response to a trigger operation acting on the window interface, the corresponding execution weight and / or device recommendation information is displayed.

[0104] It should be noted that the broadcast data sent by the electronic devices in the target device group may be the execution weight or device recommendation information fed back to the first electronic device via broadcast after each electronic device determines the execution weight based on its own configuration information and operating status.

[0105] In some embodiments, the first electronic device parses the broadcast data including decrypting or decoding the broadcast data to obtain the execution weight of each electronic device and / or the device recommendation information fed back by the target device group, and based on the execution weight of each electronic device and / or the device recommendation information fed back by the target device group, determines at least one electronic device from the target device group as the target electronic device for executing the target processing task. For example, the target device group includes device A, device B, and device C. After the first electronic device receives the broadcast data sent by the target device group, the first electronic device can decrypt or decode the broadcast data to obtain the weight scores corresponding to device A, device B, and device C, respectively, or the device recommendation information fed back by the target device group, and then determines at least one device from device A, device B, and device C as the target electronic device based on the weight scores corresponding to device A, device B, and device C, respectively, and / or the device recommendation information fed back by the target device group.

[0106] In some embodiments, the first electronic device may send a target processing task to a third electronic device in a target device group, then receive the execution weights and / or device recommendation information of each electronic device for the target processing task fed back by the third electronic device, and based on the execution weights of each electronic device and / or the device recommendation information fed back by the target device group, determine at least one electronic device from the target device group as the target electronic device for executing the target processing task. For example, the target device group includes device A, device B, and device C, the first electronic device may send a target processing task to device C, then receive the weight scores of device A, device B, and device C for the target processing task fed back by device C, and then determine at least one device from device A, device B, and device C as the target electronic device based on the weight scores of device A, device B, and device C for the target processing task.

[0107] It should be noted that the first electronic device can establish a first communication connection with a third electronic device in the target device group, or establish a second communication connection different from the first communication connection with the third electronic device. For example, the first communication connection is a Bluetooth connection different from WiFi Direct, and the second communication connection is a wired connection (such as a type-c connection, a thunderbolt connection, and an HDMI connection, etc.) or an RJ45 connection, etc.

[0108] In some embodiments, the first electronic device can establish a first communication connection or a second communication connection with a third electronic device in the target device group through a first application, that is, to implement cross-device interconnection software. For example, the user terminal accesses the intranet device cluster managed by the public network host provided by the first electronic device by logging in to the ID number of the first electronic device, that is, the main control device set in the home can manage AI devices and non-AI devices under the home network, and the user can design a login account to access it; assuming that the user accesses the target AI device through the first electronic device, the first electronic device can establish a Bluetooth connection or a type-c connection with the device C in the target device group through the target AI device.

[0109] In some embodiments, after the first electronic device establishes a first communication connection or a second communication connection with a third electronic device in the target device group through the first application, the execution weight and / or device recommendation information of each electronic device in the target device group can be displayed in the window interface of the first application. It should be noted that the first application provides an interactive window for user input, in which the user can view the device information, input instruction data, task processing process and task processing results of the electronic device. For example, after the first electronic device establishes a Bluetooth connection with device C in the target device group through the target AI device, device C can send the weight scores and / or device recommendation information of devices A, B and C in the target device group for the target processing task to the target AI device through the Bluetooth connection, and then the target AI device can display the weight scores and / or device recommendation information of devices A, B and C in the target device group for the target processing task in its window interface.

[0110] In some embodiments, the first electronic device may calculate the execution weight for the target processing task in response to the electronic devices in the target device group, and display the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task in the window interface of the first application of the first electronic device, or the first electronic device may display the corresponding execution weight and / or device recommendation information in response to the trigger operation acting on the window interface of the first application. For example, after receiving the weight scores and / or device recommendation information of the devices A, B, and C in the target device group for the target processing task, the first electronic device may display the weight scores and / or device recommendation information of the devices A, B, and C for the target processing task in the window interface of application E of the first electronic device in response to the weight scores and / or device recommendation information of the devices A, B, and C for the target processing task, or the first electronic device may display the weight scores and / or device recommendation information of the devices A, B, and C for the target processing task in the window interface of application F in response to the trigger operation acting on the window interface of application F.

[0111] In some embodiments, the window interface of the first application may display thumbnails of icons of various electronic devices, and after determining that the user triggers the corresponding icon, detailed or complete device information may be displayed, including execution weights and / or device recommendation information. For example, the window interface of application E displays thumbnails of icons of device A, device B, and device C in the target device group, and after determining that the user triggers the icon of device C, the window interface of application E may display the weight score and / or device recommendation information of device C for the target processing task.

[0112] It can be understood that the embodiments of the present application obtain the execution weight and / or device recommendation information of each electronic device in the target device group for the target processing task through a variety of different methods, and display the execution weight and / or device recommendation information for user viewing, which can improve the user experience.

[0113] In some embodiments, the process of determining the execution weight for the target processing task by the electronic devices in the target device group based on their own configuration information and operation status includes:

[0114] Each electronic device calculates a first weight value based on its own hardware configuration information;

[0115] Based on the task information of the target processing task and the model configuration information of the electronic device, a second weight value determined based on the running state of the self-configuration component is weighted with the first weight value to obtain the execution weight of each electronic device for the target processing task, and different configuration components correspond to different weight values; or,

[0116] When the electronic device is not configured with a model matching the target processing task, the execution weight of the electronic device is set to 0.

[0117] In an embodiment of the present application, for any electronic device in the target device group, the electronic device can calculate a first weight value based on its own hardware configuration information, and then based on the task information of the target processing task and the model configuration information of the electronic device, weight the second weight value determined based on the operating status of its own configuration components and the first weight value to obtain the execution weight of the electronic device for the target processing task.

[0118] It should be noted that the hardware configuration information of the electronic device itself may include the graphics processing unit (GPU) video memory capacity, physical memory size, whether there is a neural processing unit (NPU) and whether there is an integrated graphics processing unit (iGPU), etc.

[0119] It should be noted that the task information of the target processing task may include task content, task type, task requirements, and expected duration of the task, etc. For example, the style type and processing duration required for generating an image task, generating a text summary task, or generating a video task.

[0120] It should be noted that the model configuration information of the electronic device may include the functional service information that each electronic device can provide, and can also be regarded as the processing capability of each electronic device. For example, if device A has a model for generating images, a model for generating text, and a model for generating videos, then device A can provide corresponding services for generating images, generating text, and generating videos.

[0121] It should be noted that the configuration components of the electronic device may include software or hardware such as a model, a video random access memory (VRAM) and a random access memory (RAM).

[0122] For example, for device A in the target device group, device A can calculate a first weight value based on its own hardware configuration information (including GPU video memory capacity, physical memory size, whether there is an NPU, and whether there is an iGPU). At the same time, device A can determine a second weight value based on the running status of the image generation model used to generate the target image, and then weight the first weight value and the second weight value based on the task information of the target image generation task (including task content, task type, task requirements, and estimated task duration) and the configuration information of the image generation model of device A to obtain the weight score or execution weight of device A for the target image generation task.

[0123] In some embodiments, the corresponding weight values ​​can be pre-configured for the hardware configuration and configuration components of each electronic device. Exemplarily, the weight value configuration is shown in Table 1:

[0124] Table 1

[0125]

[0126] For example, Figure 2 A flowchart of an execution weight calculation for a target processing task provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the process includes:

[0127] S201: Calculate a weight value X based on hardware configuration information of the electronic device.

[0128] In some implementations, the weight value X may be calculated based on the GPU memory capacity, the physical memory size, the presence or absence of an NPU, the presence or absence of an iGPU, and the like.

[0129] S202: Wait for an instruction to execute a target processing task.

[0130] In some implementations, the target electronic device in the target device group may wait for the first electronic device to send an instruction to execute the target processing task, and execute S203 after receiving the instruction.

[0131] S203, determine whether a model matching the target processing task is configured; if yes, execute S204 to S206; if not, execute S207.

[0132] S204: Calculate the weight value a based on the model runtime state.

[0133] S205 . Calculate a weight value b based on the VRAM runtime status.

[0134] S206: Calculate the weight value c based on the RAM runtime status.

[0135] S207, assignment: execution weight = 0.

[0136] S208. Calculation: execution weight = X + a + b + c.

[0137] It should be noted that the weight value X in the embodiment of the present application is equivalent to the first weight value in the aforementioned embodiment, and the weight values ​​a, b and c are equivalent to the second weight values ​​in the aforementioned embodiment.

[0138] It can be understood that the embodiment of the present application weights the first weight value calculated based on the electronic device's own hardware configuration information and the second weight value determined based on the operating status of its own configuration components based on the task information of the target processing task and the model configuration information of the electronic device, to obtain the execution weight of each electronic device for the target processing task. The execution weight calculated in this way can accurately reflect the processing capability of each electronic device for the target processing task.

[0139] In some embodiments, determining at least one electronic device from the target device group as the target electronic device based on the execution weight and / or the device recommendation information includes at least one of the following:

[0140] sorting the obtained execution weights of the electronic devices, and determining the fifth electronic device in the first sequence and / or the sixth electronic device in the second sequence as the target electronic device;

[0141] determining a seventh electronic device in the target device group that matches the device recommendation information as the target electronic device;

[0142] adjusting the ranking of the execution weights of the electronic devices based on the device recommendation information, and determining the eighth electronic device in the first sequence in the adjusted sequence as the target electronic device;

[0143] Determining a target electronic device from the target device group based on network configuration information and / or current network status information of each electronic device and a corresponding execution weight;

[0144] Obtaining user portrait information of a target user, and determining a target electronic device from the target device group based on the user portrait information and the execution weight of each electronic device;

[0145] A selection operation of a target user is obtained, and a ninth electronic device in the target device group that matches the selection operation is determined as the target electronic device.

[0146] In some embodiments, the first electronic device may sort the execution weights of each electronic device in the target device group according to the processing capacity and running state of each electronic device for the target processing task, and determine the fifth electronic device in the first sequence and / or the sixth electronic device in the second sequence as the target electronic device. Among them, the fifth electronic device in the first sequence may be the electronic device ranked first in the first sequence, or the electronic device ranked in the first sequence with a set number of digits; the sixth electronic device in the second sequence may also be the electronic device ranked first in the second sequence, or the electronic device ranked in the second sequence with a set number of digits. For example, the first electronic device sorts the execution weights of device A, device B, and device C in the target device group according to the processing capacity for the target image generation task, obtains the first sequence, and determines the device C ranked first in the first sequence as the target electronic device; for another example, the first electronic device sorts the execution weights of device A, device B, and device C in the target device group according to the running state for the target image generation task, obtains the second sequence, and determines the device B ranked first in the second sequence as the target electronic device.

[0147] It should be noted that the fifth electronic device and / or the sixth electronic device in the embodiments of the present application may be the same as or different from the third electronic device or the fourth electronic device in the aforementioned embodiments.

[0148] In some embodiments, the first electronic device may determine the seventh electronic device in the target device group that matches the device recommendation information as the target electronic device. For example, the first electronic device may determine the device C recommended by the target device group that matches the device identification information, device communication information (communication address, pairing information, etc. for establishing a communication connection with the first electronic device), or device configuration information, or device capability information as the target electronic device.

[0149] In some embodiments, the first electronic device may adjust the ranking of the execution weights of each electronic device based on the device recommendation information, and determine the eighth electronic device in the first sequence in the adjusted sequence as the target electronic device. For example, the first electronic device may increase the weight value of the execution weight of the electronic device that matches the device recommendation information, and then reorder the execution weights, and determine the electronic device that ranks first in the reordered sequence as the target electronic device. For another example, the first electronic device may increase the weight value of the execution weight of device C that matches the device recommendation information from 27 to 42 based on user habits or preferences, and then reorder the execution weights of devices A, B, and C in the target device group, and determine device C that ranks first in the reordered sequence as the target electronic device.

[0150] It should be noted that the eighth electronic device in the first sequence may be one electronic device or multiple electronic devices. For example, the eighth electronic device in the first sequence is the electronic device with the first execution weight, and for another example, the eighth electronic device in the first sequence is the electronic device with the top five execution weights.

[0151] In some embodiments, the first electronic device can determine the target electronic device from the target device group based on the network configuration information and / or current network status information of each electronic device in the target device group, and the corresponding execution weight. Wherein, the network configuration information and / or current network status information include the network bandwidth, network quality and stability of the electronic device, so as to establish a stable and high-quality peer-to-peer (P2P) or Wi-Fi direct connection with the user terminal device (the first electronic device). For example, the first electronic device can adjust the execution weights of device A, device B and device C based on the network configuration information and / or current network status information of device A, device B and device C in the target device group, sort the adjusted execution weights, and then determine the device B ranked first in the sorting sequence as the target electronic device.

[0152] In some embodiments, the first electronic device may obtain user portrait information of the target user, and then determine the target electronic device from the target device group based on the user portrait information and the execution weight of each electronic device in the target device group. The user portrait information may represent the historical usage data of the target user, the habits or preferences of the target user. For example, the first electronic device may obtain the user's habits or preferences based on the user portrait information, and then adjust the execution weights of devices A, B, and C in the target device group based on the user's habits or preferences, and sort the adjusted execution weights, and then determine the device A ranked first in the sorting sequence as the target electronic device.

[0153] It can be understood that the first electronic device can determine the target electronic device from the target device group by combining the user portrait information of the target user, and can obtain the electronic device that meets the user's habits or preferences, so as to use the electronic device that meets the user's habits or preferences to perform the target processing task, thereby improving the user experience.

[0154] In some embodiments, the first electronic device can obtain the selection operation of the target user, and then determine the ninth electronic device in the target device group that matches the selection operation of the target user as the target electronic device. For example, the target user can manually choose to establish a P2P direct connection or a Wi-Fi direct connection with one of the electronic devices through the interactive interface of the first electronic device (such as the application window interface of the first electronic device that displays the execution weights of each electronic device and the recommended device information), so as to use the electronic device to perform the target processing task, and obtain the processing result of the target processing task through the established connection. For another example, the user manually chooses to establish a P2P direct connection or a Wi-Fi direct connection with device C in the target device group through the interactive interface of the first electronic device, then the first electronic device can determine device C in the target device group as the target electronic device, and then instruct device C to perform the target image generation task, and then obtain the image generation result of device C for the target image generation task through the established P2P direct connection or Wi-Fi direct connection.

[0155] It can be understood that the embodiments of the present application determine at least one electronic device from a target device group as a target electronic device for executing a target processing task through a variety of different selection methods, thereby increasing the diversity of target electronic device selection.

[0156] In some embodiments, establishing a first communication connection with the target electronic device includes at least one of the following:

[0157] Obtaining a spatial position relationship with the target electronic device, and establishing a first communication connection with the target electronic device based on the spatial position relationship;

[0158] Obtaining the number of the target electronic devices, and establishing a first communication connection with the target electronic devices based on the number;

[0159] Establishing the first communication connection based on the device network information of the target electronic device;

[0160] The first communication connection is established based on the device identification information of the target electronic device.

[0161] In some embodiments, the first electronic device may obtain a spatial position relationship with the target electronic device, and then establish a first communication connection with the target electronic device based on the spatial position relationship. For example, if the first electronic device and the target electronic device C are located in the same local area network, a Wi-Fi direct connection may be established with the target electronic device C; if the first electronic device and the target electronic device B are not located in the same local area network, a P2P direct connection may be established with the target electronic device B.

[0162] In some embodiments, the first electronic device may obtain the number of target electronic devices, and then establish a first communication connection with the target electronic device based on the number of target electronic devices. For example, if the number of target electronic devices is unique, a Wi-Fi direct connection or a P2P direct connection may be established with the target electronic device; if the number of target electronic devices is not unique, a communication connection such as a User Datagram Protocol (UDP) or P2MP (Point-to-Multipoint) may be established with the target electronic device.

[0163] In some implementations, the first electronic device may establish the first communication connection based on device network information of the target electronic device, wherein the device network information includes a network address, a network port, a network ID / pairing key, and an encryption key.

[0164] In some implementations, the first electronic device may establish the first communication connection based on device identification information of the target electronic device, where the device identification information is a unique name or device ID of the device.

[0165] In some embodiments, if a unique device can be determined based on the device identification information and related information (network environment, address, etc.) stored on the public network host or cross-device interconnection software (first application), a P2P direct connection can be established directly with the unique electronic device based on the device identification information. For example, the user terminal accesses the target AI device in the intranet device cluster managed by the public network host provided by the first electronic device by logging in to the ID number of the first electronic device. If the first electronic device can determine the unique device C in the target device group based on the device identification information and related information stored on the target AI device, the first electronic device can directly establish a P2P direct connection with the device C in the target device group based on the device identification information.

[0166] In some embodiments, the processing method further comprises:

[0167] After establishing the first communication connection, feeding back the device identification information of the target electronic device to a third electronic device in the target device group, so that the third electronic device updates the device information of the electronic devices in the target device group;

[0168] and / or,

[0169] Obtaining the processing result of the target processing task includes at least one of the following:

[0170] Decrypting the processing result fed back by the target electronic device by using the key data exchanged with the target electronic device, and displaying and outputting the decrypted processing result on the window interface of the first application or the current display interface of the first electronic device;

[0171] In the case where the target processing task is not unique, the corresponding non-unique processing results are respectively given to the same input area or different input areas of the first electronic device, and the different input areas belong to or do not belong to the same application;

[0172] The target processing result fed back by the target electronic device is decrypted using the key data exchanged with the target electronic device, and the decrypted processing result is output to an associated device of the first electronic device, where the associated device is a device that has established a third communication connection with the first electronic device.

[0173] It should be noted that after the first electronic device determines the target electronic device, the first electronic device will send information of the determined target electronic device to the signaling server, and the signaling server will send the status of each electronic device in the subnet to the target electronic device.

[0174] In some embodiments, the first electronic device can exchange key data with the target electronic device, and use the key data exchanged with the target electronic device to decrypt the processing results of the target processing task fed back by the target electronic device, and then display the decrypted processing results in the window interface of the first application or the current display interface of the first electronic device.

[0175] It can be understood that in the embodiment of the present application, the first electronic device can display the decrypted processing result on the window interface of the cross-device interconnection software, or directly display it on the current display interface of the user-end device (the first electronic device).

[0176] In some embodiments, when the target processing task is not unique, the first electronic device can give the corresponding non-unique processing results to the same input area or different input areas of the first electronic device, and the different input areas may belong to or not belong to the same application. For example, the target processing task includes a target image generation task and a target text generation task, then the first electronic device can give the processing result for the target image generation task to the first input area of ​​the first electronic device, and give the processing result for the target text generation task to the second input area of ​​the first electronic device, and the first input area and the second input area may belong to the first application of the first electronic device, or the first input area belongs to the first application of the first electronic device, and the second input area belongs to the second application of the first electronic device.

[0177] It is understandable that if the target processing task is not unique, the processing result obtained by the first electronic device is also not unique.

[0178] It should be noted that the input area of ​​the first electronic device may correspond to a session window of a current session application, or may correspond to different session windows or different editing areas of different applications.

[0179] In some embodiments, if the target processing task is not unique, and the non-unique target processing task is generated for the same interactive object, the non-unique processing results can be given to the same input area or different input areas of the same interactive object. For example, the target processing task includes a target image generation task and a target text generation task, and these two tasks are generated by the first electronic device interacting with the same interactive object, that is, electronic device G. After obtaining the processing results for these two tasks, the first electronic device can give both processing results for these two tasks to the first input area of ​​electronic device G, or give the processing result for the target image generation task to the first input area of ​​electronic device G, and give the processing result for the target text generation task to the second input area of ​​electronic device G.

[0180] In some embodiments, the first electronic device can use the key data exchanged with the target electronic device to decrypt the target processing result fed back by the target electronic device, and output the decrypted processing result to an associated device of the first electronic device, wherein the associated device is a device that has established a third communication connection with the first electronic device. For example, the first electronic device can directly output the image obtained after decryption to the projected device connected to the first electronic device, or to an extended screen device or a large screen device of a notebook, etc.

[0181] For example, Figure 3 A schematic diagram of a scenario in which a target processing task is executed between multiple devices provided in an embodiment of the present application, such as Figure 3As shown, the scenario includes four electronic devices, namely Phone 301, PC dGPU 302, PC UMA 303 and Home Server 304. The process of executing the target processing task between these four electronic devices is as follows: Figure 4 As shown, Phone 301 broadcasts the target processing task (e.g., the instruction to generate an image "help me draw a cat") to the PC dGPU 302, PC UMA 303 and Home Server 304 in the local area network via Bluetooth (BLE). After receiving the instruction of the target processing task, PC dGPU 302, PC UMA 303 and Home Server 304 calculate their respective execution weights, and broadcast their respective execution weights to other devices in the local area network via Bluetooth. Each device in the local area network compares the received execution weights and determines the one with the highest weight data, that is, Home Server 304 executes the target processing task. Finally, Home Server 304 can encrypt the generated image and send it to Phone 301 through the created wireless access point.

[0182] It can be understood that in the embodiment of the present application, after the electronic devices in the local area network receive the instructions of the target processing task, they can calculate the execution weight (the greater the execution weight, the greater the chance of executing the target processing task) according to their own capabilities, hardware properties and current runtime status, and then determine the target electronic device that executes the target processing task based on the execution weight of each electronic device, and finally obtain the processing result returned by the target electronic device.

[0183] For example, Figure 5 A schematic diagram of a user interaction process for determining a target device to perform a target processing task provided by an embodiment of the present application, such as Figure 5 As shown, first, the user enters the target processing task information "Help me draw a cat" in the interface of the electronic device Phone1, and then the electronic device Phone1 determines whether it supports the execution of the target processing task, and when it is determined that it does not support the execution of the target processing task, it allows the user to choose whether to find peripheral devices (devices in the local area network) to execute the target processing task. If it is determined that the user clicks the "OK" button, Phone1 waits for the devices in the local area network to calculate the weight data, and then determines based on the weight data that the device PC1 in the local area network can execute the target processing task. If the user confirms that the device PC1 executes the target processing task, Phone1 instructs the device PC1 to start executing the target processing task. After the execution is completed, the device PC1 sends the processing result to Phone1, and finally the interface of the device PC1 returns to its original state.

[0184] It can be understood that the embodiments of the present application can implement the AIGC capability across devices, and can fully utilize the properties of each device in the local area network to provide corresponding AIGC functions, thereby increasing the possibility of any electronic device in the local area network using AIGC.

[0185] The processing device provided in the embodiment of the present application is described below. The processing device described below and the processing method described above can be referenced to each other.

[0186] Figure 6 A schematic diagram of the structure of a processing device provided in an embodiment of the present application, wherein the processing device is applied to a first electronic device, such as Figure 6 As shown, the device includes: a response module 610, a determination module 620 and an establishment module 630; wherein:

[0187] A response module 610 is used to send a target processing task matching the target trigger event to a target device group in response to the target trigger event, where the target device group is a group of electronic devices in the space where the first electronic device is located;

[0188] A determination module 620, configured to determine a target electronic device from the target device group to perform the target processing task based on feedback information of the electronic devices in the target device group for the target processing task;

[0189] Establishing module 630, for establishing a first communication connection with the target electronic device to obtain the processing result of the target processing task through the first communication connection, wherein the first communication connection is the same as or different from the communication method of sending the target processing task to the target device group.

[0190] The processing device provided in the embodiment of the present application responds to a target trigger event, sends a target processing task matching the target trigger event to a target device group, and then determines a target electronic device from the target device group to execute the target processing task based on feedback information from the electronic devices in the target device group regarding the target processing task, and obtains a processing result of the target processing task through a first communication connection, thereby making full use of the hardware resources of the target electronic devices in the target device group that can execute the target processing task to execute the target processing task and obtain the processing result of the target processing task, thereby achieving effective utilization of device processing resources, ensuring completion efficiency and quality of the target processing task, and improving user experience.

[0191] In some embodiments, the response module 610 is further configured to:

[0192] Obtaining the type and / or source of the target triggering event, and sending the target processing task to the target device group in a corresponding sending manner based on the type and / or source;

[0193] and / or,

[0194] The target trigger event is generated by at least one of the following:

[0195] In response to obtaining a processing task that does not match current system resources, generating the target trigger event;

[0196] After the first electronic device obtains the processing task, in response to determining that the target model for executing the processing task is in an occupied state, generating the target trigger event;

[0197] After the first electronic device obtains the processing task, in response to the first electronic device not having the function and / or service to perform the processing task, generating the target trigger event;

[0198] After the first electronic device obtains the processing task, in response to detecting that the power level of the first electronic device is within a first threshold range, generating the target trigger event;

[0199] After the first electronic device obtains the processing task based on the user operation, in response to a change in the running state, the target trigger event is generated;

[0200] After the first electronic device obtains a processing task based on interaction data between the first electronic device and the second electronic device, the target trigger event is generated in response to executing a task with a higher priority than the processing task.

[0201] In some embodiments, the response module 610 is further configured to:

[0202] Broadcasting the target processing task to the target device group;

[0203] Sending the target processing task to the third electronic device through a first communication connection with a third electronic device in the target device group or a second communication connection different from the first communication connection, so as to broadcast the target processing task to the target device group by using the third electronic device;

[0204] The target processing task is delivered to the target device group by a fourth electronic device, the fourth electronic device does not belong to the target device group, and the fourth electronic device can deliver the target processing task to the target device group by broadcasting or non-broadcasting.

[0205] In some embodiments, the determination module 620 is further configured to:

[0206] Obtaining execution weights and / or device recommendation information of the electronic devices in the target device group for the target processing task, wherein the execution weights are determined by each electronic device based on its own configuration information and operating status; and determining at least one electronic device from the target device group as the target electronic device based on the execution weights and / or device recommendation information, so as to utilize the target electronic device to execute the target processing task.

[0207] In some embodiments, the determination module 620 is further configured to:

[0208] Receiving broadcast data sent by electronic devices in the target device group, parsing the broadcast data, and obtaining execution weights and / or device recommendation information of each electronic device for the target processing task;

[0209] Receiving the execution weight and / or device recommendation information of each electronic device for the target processing task fed back by a third electronic device in the target device group, wherein the third device has a first communication connection or a second communication connection different from the first communication connection with the first electronic device;

[0210] After the first electronic device establishes a first communication connection or a second communication connection with a third electronic device in the target device group through the first application, the execution weight and / or device recommendation information of each electronic device in the target device group is displayed on the window interface of the first application;

[0211] In response to the electronic devices in the target device group calculating the execution weight for the target processing task, the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task are displayed on the window interface of the first application of the first electronic device, or, in response to a trigger operation acting on the window interface, the corresponding execution weight and / or device recommendation information is displayed.

[0212] In some embodiments, the process of electronic devices in the target device group determining the execution weight for the target processing task based on their own configuration information and operating status includes: each electronic device calculates a first weight value based on its own hardware configuration information; based on the task information of the target processing task and the model configuration information of the electronic device, a second weight value determined based on the operating status of its own configuration components is weighted with the first weight value to obtain the execution weight of each electronic device for the target processing task, and different configuration components correspond to different weight values; or, when the electronic device is not configured with a model that matches the target processing task, the execution weight of the electronic device is set to 0.

[0213] In some embodiments, the determination module 620 is further configured to:

[0214] sorting the obtained execution weights of the electronic devices, and determining the fifth electronic device in the first sequence and / or the sixth electronic device in the second sequence as the target electronic device;

[0215] determining a seventh electronic device in the target device group that matches the device recommendation information as the target electronic device;

[0216] adjusting the ranking of the execution weights of the electronic devices based on the device recommendation information, and determining the eighth electronic device in the first sequence in the adjusted sequence as the target electronic device;

[0217] Determining a target electronic device from the target device group based on network configuration information and / or current network status information of each electronic device and a corresponding execution weight;

[0218] Obtaining user portrait information of a target user, and determining a target electronic device from the target device group based on the user portrait information and the execution weight of each electronic device;

[0219] A selection operation of a target user is obtained, and a ninth electronic device in the target device group that matches the selection operation is determined as the target electronic device.

[0220] In some embodiments, the establishing module 630 is further used for at least one of the following:

[0221] Obtaining a spatial position relationship with the target electronic device, and establishing a first communication connection with the target electronic device based on the spatial position relationship;

[0222] Obtaining the number of the target electronic devices, and establishing a first communication connection with the target electronic devices based on the number;

[0223] Establishing the first communication connection based on the device network information of the target electronic device;

[0224] The first communication connection is established based on the device identification information of the target electronic device.

[0225] In some embodiments, the establishing module 630 is further used to: after establishing the first communication connection, feed back the device identification information of the target electronic device to a third electronic device in the target device group, so that the third electronic device updates the device information of the electronic devices in the target device group; and / or,

[0226] Obtaining the processing result of the target processing task includes at least one of the following:

[0227] Decrypting the processing result fed back by the target electronic device by using the key data exchanged with the target electronic device, and displaying and outputting the decrypted processing result on the window interface of the first application or the current display interface of the first electronic device;

[0228] In the case where the target processing task is not unique, the corresponding non-unique processing results are respectively given to the same input area or different input areas of the first electronic device, and the different input areas belong to or do not belong to the same application;

[0229] The target processing result fed back by the target electronic device is decrypted using the key data exchanged with the target electronic device, and the decrypted processing result is output to an associated device of the first electronic device, where the associated device is a device that has established a third communication connection with the first electronic device.

[0230] It should be noted here that the above-mentioned processing device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned processing method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0231] Figure 7 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the executable data instructions stored in the memory 730 to execute part or all of the steps in the processing methods provided in the above embodiments.

[0232] In addition, the executable data instructions stored in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0233] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, part or all of the steps in the processing methods provided in the above embodiments are implemented.

[0234] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute some or all of the steps in the processing methods provided in the above embodiments.

[0235] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0236] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0237] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0238] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0239] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0240] The above description is merely an optional embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A processing method, applied to a first electronic device, the method comprising: In response to a target triggering event, sending a target processing task matching the target triggering event to a target device group, wherein the target device group is a group of electronic devices in a space where the first electronic device is located; Based on feedback information of the electronic devices in the target device group for the target processing task, determining a target electronic device from the target device group to perform the target processing task; as well as, A first communication connection is established with the target electronic device to obtain a processing result of the target processing task through the first communication connection, wherein the first communication connection is the same as or different from a communication method for sending the target processing task to the target device group.

2. The method according to claim 1, wherein: In response to a target triggering event, sending a target processing task matching the target triggering event to a target device group includes: Obtaining the type and / or source of the target triggering event, and sending the target processing task to the target device group in a corresponding sending manner based on the type and / or source; and / or, The target trigger event is generated by at least one of the following: In response to obtaining a processing task that does not match current system resources, generating the target trigger event; After the first electronic device obtains the processing task, in response to determining that the target model for executing the processing task is in an occupied state, generating the target trigger event; After the first electronic device obtains the processing task, in response to the first electronic device not having the function and / or service to perform the processing task, generating the target trigger event; After the first electronic device obtains the processing task, in response to detecting that the power level of the first electronic device is within a first threshold range, generating the target trigger event; After the first electronic device obtains the processing task based on the user operation, in response to a change in the running state, the target trigger event is generated; After the first electronic device obtains a processing task based on interaction data between the first electronic device and the second electronic device, the target trigger event is generated in response to executing a task with a higher priority than the processing task.

3. The method according to claim 1 or 2, wherein: Sending a target processing task matching the target triggering event to the target device group includes at least one of the following: Broadcasting the target processing task to the target device group; Sending the target processing task to the third electronic device through a first communication connection with a third electronic device in the target device group or a second communication connection different from the first communication connection, so as to broadcast the target processing task to the target device group by using the third electronic device; The target processing task is delivered to the target device group by a fourth electronic device, the fourth electronic device does not belong to the target device group, and the fourth electronic device can deliver the target processing task to the target device group by broadcasting or non-broadcasting.

4. The method according to claim 1, wherein: Determining a target electronic device from the target device group to perform the target processing task based on feedback information of the electronic devices in the target device group for the target processing task includes: Obtaining execution weights and / or device recommendation information of the electronic devices in the target device group for the target processing task, wherein the execution weights are determined by each electronic device based on its own configuration information and operating status; At least one electronic device is determined from the target device group as the target electronic device based on the execution weight and / or the device recommendation information, so as to utilize the target electronic device to execute the target processing task.

5. The method according to claim 4, wherein: Obtaining the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task includes at least one of the following: Receiving broadcast data sent by electronic devices in the target device group, parsing the broadcast data, and obtaining execution weights and / or device recommendation information of each electronic device for the target processing task; Receiving the execution weight and / or device recommendation information of each electronic device for the target processing task fed back by a third electronic device in the target device group, wherein the third device has a first communication connection or a second communication connection different from the first communication connection with the first electronic device; After the first electronic device establishes a first communication connection or a second communication connection with a third electronic device in the target device group through the first application, the execution weight and / or device recommendation information of each electronic device in the target device group is displayed on the window interface of the first application; In response to the electronic devices in the target device group calculating the execution weight for the target processing task, the execution weight and / or device recommendation information of the electronic devices in the target device group for the target processing task are displayed on the window interface of the first application of the first electronic device, or, in response to a trigger operation acting on the window interface, the corresponding execution weight and / or device recommendation information is displayed.

6. The method according to claim 4 or 5, wherein: The process of determining the execution weight for the target processing task by the electronic devices in the target device group based on their own configuration information and operation status includes: Each electronic device calculates a first weight value based on its own hardware configuration information; Based on the task information of the target processing task and the model configuration information of the electronic device, a second weight value determined based on the running state of the self-configuration component is weighted with the first weight value to obtain the execution weight of each electronic device for the target processing task, and different configuration components correspond to different weight values; or, When the electronic device is not configured with a model matching the target processing task, the execution weight of the electronic device is set to 0.

7. The method according to claim 4, wherein: Determining at least one electronic device from the target device group as the target electronic device based on the execution weight and / or the device recommendation information includes at least one of the following: sorting the obtained execution weights of the electronic devices, and determining the fifth electronic device in the first sequence and / or the sixth electronic device in the second sequence as the target electronic device; determining a seventh electronic device in the target device group that matches the device recommendation information as the target electronic device; adjusting the ranking of the execution weights of the electronic devices based on the device recommendation information, and determining the eighth electronic device in the first sequence in the adjusted sequence as the target electronic device; Determining a target electronic device from the target device group based on network configuration information and / or current network status information of each electronic device and a corresponding execution weight; Obtaining user portrait information of a target user, and determining a target electronic device from the target device group based on the user portrait information and the execution weight of each electronic device; A selection operation of a target user is obtained, and a ninth electronic device in the target device group that matches the selection operation is determined as the target electronic device.

8. The method according to claim 1, wherein: Establishing a first communication connection with the target electronic device includes at least one of the following: Obtaining a spatial position relationship with the target electronic device, and establishing a first communication connection with the target electronic device based on the spatial position relationship; Obtaining the number of the target electronic devices, and establishing a first communication connection with the target electronic devices based on the number; Establishing the first communication connection based on the device network information of the target electronic device; The first communication connection is established based on the device identification information of the target electronic device.

9. The method according to claim 1, further comprising: After establishing the first communication connection, feeding back the device identification information of the target electronic device to a third electronic device in the target device group, so that the third electronic device updates the device information of the electronic devices in the target device group; and / or, Obtaining the processing result of the target processing task includes at least one of the following: Decrypting the processing result fed back by the target electronic device by using the key data exchanged with the target electronic device, and displaying and outputting the decrypted processing result on the window interface of the first application or the current display interface of the first electronic device; In the case where the target processing task is not unique, the corresponding non-unique processing results are respectively given to the same input area or different input areas of the first electronic device, and the different input areas belong to or do not belong to the same application; The target processing result fed back by the target electronic device is decrypted using the key data exchanged with the target electronic device, and the decrypted processing result is output to an associated device of the first electronic device, where the associated device is a device that has established a third communication connection with the first electronic device.

10. A processing device, applied to a first electronic device, comprising: a response module, configured to send, in response to a target triggering event, a target processing task matching the target triggering event to a target device group, wherein the target device group is a group of electronic devices in the space where the first electronic device is located; a determination module, configured to determine a target electronic device from the target device group to perform the target processing task based on feedback information of the electronic devices in the target device group for the target processing task; as well as, An establishing module is used to establish a first communication connection with the target electronic device to obtain a processing result of the target processing task through the first communication connection, wherein the first communication connection is the same as or different from a communication method for sending the target processing task to the target device group.