Task processing method and device, electronic equipment and storage medium

By acquiring available resources in the terminal device and distributing task subtasks, the problem of inefficient processing of complex models is solved, and resource sharing and user experience are improved.

CN119862023APending Publication Date: 2025-04-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311370130.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

When existing terminal devices use complex models to process data, they are less efficient, resulting in slow user operation response and affecting user experience.

Method used

Resource sharing is achieved by obtaining available resources for pending tasks and determining execution policies based on available resources, pending tasks are distributed as subtasks and processed by the device itself and/or other devices.

Benefits of technology

It improves the efficiency of task processing and the resource utilization rate of equipment, reduces the computing load of single equipment to handle tasks, improves the response speed to user operations, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119862023A_ABST
    Figure CN119862023A_ABST
Patent Text Reader

Abstract

The invention relates to a task processing method and device, electronic equipment and a storage medium, and the method comprises the steps that available resources of a to-be-processed task are obtained, and the to-be-processed task is a task of the equipment; in response to the to-be-processed task, processing the to-be-processed task by using the available resources; the device can be connected with at least one other device; the available resources are provided by the device and / or the at least one other device. According to the method, the task of the equipment is allocated to available resources provided by the equipment and / or at least one piece of other equipment for processing, so that the other equipment provides the available resources for the equipment initiating the processing of the task to be processed, or the equipment initiating the processing of the task to be processed expropriates the available resources from the other equipment. Or, available resource sharing among different devices is realized, so that the processing efficiency of the to-be-processed task can be improved, and the resource utilization rate of other devices can also be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of terminal devices, and in particular to a task processing method, device, electronic device and storage medium. Background Art

[0002] In recent years, the functions of terminal devices have become increasingly rich, and their performance has gradually improved. These added functions and improved performance rely on the efficient and accurate data processing capabilities of terminal devices, such as image processing capabilities, audio processing capabilities, etc. In order to obtain better performance, current terminal devices often rely on complex models to process data; however, in related technologies, terminal devices are inefficient when using complex models to process data, resulting in slow response to user operations, affecting the user experience. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a task processing method, device, electronic device and storage medium to solve the defects in the related art.

[0004] According to one aspect of an embodiment of the present disclosure, a task processing method is provided, the method comprising:

[0005] Obtaining available resources for a task to be processed, where the task to be processed is a task of a device;

[0006] In response to the task to be processed, using the available resources to process the task to be processed;

[0007] The device is capable of connecting to at least one other device;

[0008] The available resources are provided by the device and / or the at least one other device.

[0009] In one embodiment of the present disclosure, the method further includes: determining an execution strategy according to the available resources.

[0010] In one embodiment of the present disclosure, the execution strategy includes: distributing the task to be processed into at least one subtask, where the subtask is at least a part of the task to be processed.

[0011] In one embodiment of the present disclosure, the processing of the to-be-processed task includes: the at least one subtask is processed by the device and / or the at least one other device.

[0012] In one embodiment of the present disclosure, the processing of the to-be-processed task includes: the to-be-processed task is processed by the device and / or the at least one other device.

[0013] In one embodiment of the present disclosure, distributing the to-be-processed task into at least one subtask includes: determining the at least one subtask according to the available resources.

[0014] In one embodiment of the present disclosure, determining the at least one subtask according to the available resources includes:

[0015] The to-be-processed task is determined as the at least one subtask according to the capability of the available resources, wherein the capability of the available resources includes the resource provision capability of the device that meets the resource availability state or the resource provision capability of the at least one other device.

[0016] In one embodiment of the present disclosure, the processing of the to-be-processed task includes:

[0017] According to the capabilities of available resources, the at least one subtask is distributed to the device and / or the at least one other device so that the device and / or the at least one other device processes the at least one subtask; the capabilities of the available resources include the resource provision capabilities of the device or the resource provision capabilities of the at least one other device that conform to the resource availability status.

[0018] In one embodiment of the present disclosure, the method further includes:

[0019] The available resource information of the device and / or the at least one other device is received, wherein the available resource information includes the resource provision capability of the device.

[0020] In one embodiment of the present disclosure, the method further includes:

[0021] A request for available resources is sent to the at least one other device.

[0022] In one embodiment of the present disclosure, the using the available resources to process the to-be-processed tasks includes:

[0023] Using the available resources, connecting with the at least one other device, so that the at least one other device processes the task to be processed; or

[0024] Using the available resources, connecting with the at least one other device, so that the device and the at least one other device process the task to be processed; or

[0025] The task to be processed is executed using the device in the available resources.

[0026] In one embodiment of the present disclosure, the method further includes:

[0027] In response to a notification from the at least one other device, establishing a connection with the at least one other device; and / or

[0028] A request message is received from the at least one other device, and communication with the at least one other device is established; the notification or the request message is used to indicate that the at least one other device has the ability to at least partially process the task to be processed.

[0029] In one embodiment of the present disclosure, the method further includes:

[0030] responding to a request for available resources from at least one other device;

[0031] The available resource information of the device is acquired, and the available resource information is returned to the at least one other device, where the available resource information includes the resource provision capability of the device.

[0032] In one embodiment of the present disclosure, the method further includes:

[0033] Providing available resource information of the device and / or the at least one other device; the available resource information includes resource provision capability of the device or the at least one other device.

[0034] In one embodiment of the present disclosure, the method further comprises providing the available resource information under at least one of the following conditions:

[0035] In response to initiating a new device notification;

[0036] In response to the time length since the last time available resource information was provided being a preset time length;

[0037] In response to detecting that the available resource information exceeds a preset range.

[0038] In one embodiment of the present disclosure, the method further includes:

[0039] receiving a task processing request sent by at least one other device;

[0040] Execute the task sent by the other device.

[0041] In one embodiment of the present disclosure, the priority of the at least one other device is not higher than the priority of the device.

[0042] In one embodiment of the present disclosure, the method further includes:

[0043] Prioritize devices based on how often they are used and / or when they are used.

[0044] In one embodiment of the present disclosure, the available resources include capabilities of the available resources, and the capabilities of the available resources include resource provision capabilities of the device or at least one other device that meets the resource availability state, and the resource provision capabilities include at least one of the computing power, processor capability and storage capacity that can be provided.

[0045] According to another aspect of an embodiment of the present disclosure, a task processing method is provided, the method comprising:

[0046] responding to a request for available resources from at least one other device;

[0047] Determine available resource information, and send the available resource information to the at least one other device; the available resource information includes a resource provision capability that conforms to a resource availability status.

[0048] In one embodiment of the present disclosure, the method further includes:

[0049] receiving at least a portion of the pending tasks;

[0050] Execute at least part of the tasks to be processed.

[0051] In one embodiment of the present disclosure, the method further includes:

[0052] The available resource information is provided; the available resource information includes resource provision capabilities that are consistent with resource availability status.

[0053] In one embodiment of the present disclosure, the method further comprises providing the available resource information under at least one of the following conditions:

[0054] In response to initiating a new device notification;

[0055] In response to the time length since the last time available resource information was provided being a preset time length;

[0056] In response to detecting that the available resource information exceeds a preset range.

[0057] In one embodiment of the present disclosure, the available resource information includes at least one of the following:

[0058] Can provide computing power;

[0059] Processor power;

[0060] Storage capacity.

[0061] In one embodiment of the present disclosure, the at least part of the received tasks to be processed comes from at least one other device with a higher priority.

[0062] In one embodiment of the present disclosure, the method further includes:

[0063] Send all or part of the at least part of the tasks to be processed to a third device.

[0064] According to another aspect of an embodiment of the present disclosure, a task processing method is provided, the method comprising:

[0065] Acquire information of available devices capable of processing a task to be processed, wherein the task to be processed is a task of a current device, and the available devices are capable of communicating with the current device;

[0066] Select at least one of the available devices to execute at least part of the tasks to be processed;

[0067] Obtain processing results of at least part of the tasks to be processed of the available device.

[0068] In one embodiment of the present disclosure, the information of the available devices includes at least one of the following:

[0069] the name of the available device;

[0070] Processing priorities of at least some of the tasks to be processed;

[0071] A processing capability for processing at least part of the tasks to be processed.

[0072] In one embodiment of the present disclosure, the capability of processing pending tasks includes at least one of the following:

[0073] Can provide computing power;

[0074] Processor power;

[0075] Storage capacity.

[0076] In one embodiment of the present disclosure, the method further includes:

[0077] The processing results are integrated into the processing result output of the task to be processed.

[0078] In one embodiment of the present disclosure, the available device is within the communication coverage of the current device.

[0079] In one embodiment of the present disclosure, selecting at least one of the available devices to execute at least part of the tasks to be processed includes:

[0080] At least one of the available devices is selected according to the available computing power that can be provided by the available devices to execute at least part of the tasks to be processed.

[0081] In one embodiment of the present disclosure, the information of available devices is transmitted via broadcast or on-demand mode.

[0082] According to another aspect of an embodiment of the present disclosure, a task processing method is provided, the method comprising:

[0083] Sending information of an available device capable of processing a task to be processed, wherein the task to be processed is a task of another device, and the available device can communicate with the another device;

[0084] In response to at least part of the tasks to be processed sent by the other device, executing at least part of the tasks to be processed;

[0085] Sending the processing result of at least part of the tasks to be processed.

[0086] In one embodiment of the present disclosure, the information of available devices is transmitted via broadcast or on-demand mode.

[0087] In one embodiment of the present disclosure, the information of the available devices includes at least one of the following:

[0088] the name of the available device;

[0089] Processing priorities of at least some of the tasks to be processed;

[0090] A processing capability for processing at least part of the tasks to be processed.

[0091] In one embodiment of the present disclosure, the capability of processing pending tasks includes at least one of the following:

[0092] Can provide computing power;

[0093] Processor power;

[0094] Storage capacity.

[0095] In one embodiment of the present disclosure, the method further includes:

[0096] The processing results are integrated into the processing result output of the task to be processed.

[0097] In one embodiment of the present disclosure, the available device is within the communication coverage of the other device.

[0098] In one embodiment of the present disclosure, in response to at least part of the tasks to be processed sent by the other device, executing at least part of the tasks to be processed includes:

[0099] At least part of the tasks to be processed are executed according to the computing power available from the available devices.

[0100] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:

[0101] An acquisition module, used for acquiring available resources of a task to be processed, where the task to be processed is a task of a device;

[0102] A processing module, configured to process the task to be processed using the available resources in response to the task to be processed;

[0103] The device is capable of connecting to at least one other device;

[0104] The available resources are provided by the device and / or the at least one other device.

[0105] In one embodiment of the present disclosure, the electronic device further includes an execution module, configured to determine an execution strategy according to the available resources.

[0106] In one embodiment of the present disclosure, the execution strategy includes: distributing the task to be processed into at least one subtask, where the subtask is at least a part of the task to be processed.

[0107] In one embodiment of the present disclosure, when the processing module is used to process the task to be processed, the at least one subtask is processed by the device and / or the at least one other device.

[0108] In one embodiment of the present disclosure, when the processing module is used to process the task to be processed, the task to be processed is processed by the device and / or the at least one other device.

[0109] In one embodiment of the present disclosure, when the execution module is used to distribute the to-be-processed task into at least one subtask, it is used to: determine the at least one subtask according to the available resources.

[0110] In one embodiment of the present disclosure, when the execution module is used to determine the at least one subtask according to the available resources, it is used to:

[0111] The to-be-processed task is determined as the at least one subtask according to the capability of the available resources, wherein the capability of the available resources includes the resource provision capability of the device that meets the resource availability state or the resource provision capability of the at least one other device.

[0112] In one embodiment of the present disclosure, when the processing module is used to process the task to be processed, it is used to:

[0113] According to the capabilities of available resources, the at least one subtask is distributed to the device and / or the at least one other device so that the device and / or the at least one other device processes the at least one subtask; the capabilities of the available resources include the resource provision capabilities of the device or the resource provision capabilities of the at least one other device that conform to the resource availability status.

[0114] In one embodiment of the present disclosure, the electronic device further includes an information receiving module, which is used to:

[0115] The available resource information of the device and / or the at least one other device is received, wherein the available resource information includes the resource provision capability of the device.

[0116] In one embodiment of the present disclosure, the electronic device further includes a request sending module, which is used to:

[0117] A request for available resources is sent to the at least one other device.

[0118] In one embodiment of the present disclosure, when the processing module is used to process the to-be-processed task using the available resources, it is used to:

[0119] Using the available resources, connecting with the at least one other device, so that the at least one other device processes the task to be processed; or

[0120] Using the available resources, connecting with the at least one other device, so that the device and the at least one other device process the task to be processed; or

[0121] The task to be processed is executed using the device in the available resources.

[0122] In one embodiment of the present disclosure, the electronic device further includes a communication module, which is used to:

[0123] In response to a notification from the at least one other device, establishing a connection with the at least one other device; and / or

[0124] A request message is received from the at least one other device, and communication with the at least one other device is established; the notification or the request message is used to indicate that the at least one other device has the ability to at least partially process the task to be processed.

[0125] In one embodiment of the present disclosure, the electronic device further includes an information sending module, which is used to:

[0126] responding to a request for available resources from at least one other device;

[0127] The available resource information of the device is acquired, and the available resource information is returned to the at least one other device, where the available resource information includes the resource provision capability of the device.

[0128] In one embodiment of the present disclosure, the electronic device further includes an information providing module, which is used to:

[0129] The available resource information of the device and / or the at least one other device is provided, wherein the available resource information includes resource provision capability of the device or the at least one other device.

[0130] In one embodiment of the present disclosure, the information providing module is used to provide the available resource information under at least one of the following conditions:

[0131] In response to initiating a new device notification;

[0132] In response to the time length since the last time available resource information was provided being a preset time length;

[0133] In response to detecting that the available resource information exceeds a preset range.

[0134] In one embodiment of the present disclosure, the electronic device further includes a task receiving module, which is used to:

[0135] receiving a task processing request sent by at least one other device;

[0136] Execute the task sent by the other device.

[0137] In one embodiment of the present disclosure, the priority of the at least one other device is not higher than the priority of the device.

[0138] In one embodiment of the present disclosure, the electronic device further includes a priority module, configured to:

[0139] Prioritize devices based on how often they are used and / or when they are used.

[0140] In one embodiment of the present disclosure, the available resources include capabilities of the available resources, and the capabilities of the available resources include resource provision capabilities of the device or at least one other device that meets the resource availability state, and the resource provision capabilities include at least one of the computing power, processor capability and storage capacity that can be provided.

[0141] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:

[0142] A response module, configured to respond to a request for available resources from at least one other device;

[0143] The information sending module is used to determine available resource information and send the available resource information to the at least one other device; the available resource information includes resource provision capabilities that meet the resource availability status.

[0144] In one embodiment of the present disclosure, the electronic device further includes a receiving module, which is used to:

[0145] receiving at least a portion of the pending tasks;

[0146] Execute at least part of the tasks to be processed.

[0147] In one embodiment of the present disclosure, the electronic device further includes an information providing module, which is used to:

[0148] The available resource information is provided, wherein the available resource information includes a resource provision capability that conforms to a resource availability status.

[0149] In one embodiment of the present disclosure, the information providing module is used to provide the available resource information under at least one of the following conditions:

[0150] In response to initiating a new device notification;

[0151] In response to the time length since the last time available resource information was provided being a preset time length;

[0152] In response to detecting that the available resource information exceeds a preset range.

[0153] In one embodiment of the present disclosure, the available resource information includes at least one of the following:

[0154] Can provide computing power;

[0155] Processor power;

[0156] Storage capacity.

[0157] In one embodiment of the present disclosure, the at least part of the received tasks to be processed comes from at least one other device with a higher priority.

[0158] In one embodiment of the present disclosure, the electronic device further includes a task sending module, which is used to:

[0159] Send all or part of the at least part of the tasks to be processed to a third device.

[0160] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:

[0161] An available device information acquisition module is used to acquire information about available devices capable of processing a task to be processed, wherein the task to be processed is a task of a current device and the available devices are capable of communicating with the current device;

[0162] A processing module, configured to select at least one of the available devices to execute at least part of the tasks to be processed;

[0163] The result acquisition module is used to acquire the processing result of at least part of the tasks to be processed of the available device.

[0164] In one embodiment of the present disclosure, the information of the available devices includes at least one of the following:

[0165] the name of the available device;

[0166] Processing priorities of at least some of the tasks to be processed;

[0167] A processing capability for processing at least part of the tasks to be processed.

[0168] In one embodiment of the present disclosure, the capability of processing pending tasks includes at least one of the following:

[0169] Can provide computing power;

[0170] Processor power;

[0171] Storage capacity.

[0172] In one embodiment of the present disclosure, the electronic device further includes a result integration module, which is used to:

[0173] The processing results are integrated into the processing result output of the task to be processed.

[0174] In one embodiment of the present disclosure, the available device is within the communication coverage of the current device.

[0175] In one embodiment of the present disclosure, the processing module is used to:

[0176] At least one of the available devices is selected according to the available computing power that can be provided by the available devices to execute at least part of the tasks to be processed.

[0177] In one embodiment of the present disclosure, the information of available devices is transmitted via broadcast or on-demand mode.

[0178] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:

[0179] An available device information sending module, used to send information of available devices capable of processing a pending task, wherein the pending task is a task of another device, and the available device can communicate with the another device;

[0180] a processing module, configured to execute at least part of the tasks to be processed in response to at least part of the tasks to be processed sent by the other device;

[0181] The result sending module is used to send the processing result of at least part of the tasks to be processed.

[0182] In one embodiment of the present disclosure, the information of available devices is transmitted via broadcast or on-demand mode.

[0183] In one embodiment of the present disclosure, the information of the available devices includes at least one of the following:

[0184] the name of the available device;

[0185] Processing priorities of at least some of the tasks to be processed;

[0186] A processing capability for processing at least part of the tasks to be processed.

[0187] In one embodiment of the present disclosure, the capability of processing pending tasks includes at least one of the following:

[0188] Can provide computing power;

[0189] Processor power;

[0190] Storage capacity.

[0191] In one embodiment of the present disclosure, the electronic device further includes a result integration module, which is used to:

[0192] The processing results are integrated into the processing result output of the task to be processed.

[0193] In one embodiment of the present disclosure, the available device is within the communication coverage of the other device.

[0194] In one embodiment of the present disclosure, the processing module is used to:

[0195] At least part of the tasks to be processed are executed according to the computing power available from the available devices.

[0196] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the first aspects when executing the computer instructions.

[0197] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the second aspects when executing the computer instructions.

[0198] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the third aspects when executing the computer instructions.

[0199] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the fourth aspects when executing the computer instructions.

[0200] According to another aspect of an embodiment of the present disclosure, a data processing system is provided, the data processing system comprising at least one electronic device as provided in the fifth aspect, the sixth aspect, the seventh aspect, the eighth aspect, the electronic device as described in the ninth aspect, the electronic device as described in the tenth aspect, the electronic device as described in the eleventh aspect, or the electronic device as described in the twelfth aspect.

[0201] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect, the second aspect, the third aspect or the fourth aspect is implemented.

[0202] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0203] The task processing method provided by the embodiment of the present disclosure can obtain available resources for the task to be processed, and in response to the task to be processed, use the available resources to process the task to be processed. Since the task to be processed is a task of the device, and the device can be connected to at least one other device, and the available resources are provided by the device and / or at least one other device, the method allocates the task of the device to the available resources provided by the device itself and / or at least one other device for processing, thereby enabling other devices to provide available resources to the device that initiates the processing of the task to be processed, or the device that initiates the processing of the task to be processed requisitions available resources from other devices to process the task to be processed, or enabling the sharing of available resources between different devices. This can not only improve the processing efficiency of the task to be processed, but also improve the resource utilization of other devices, and reduce and simplify the computing load of a single device in processing the task to be processed, and ultimately improve the response speed of the device to user operations and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0204] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0205] Figure 1 is a flowchart of a task processing method for a device to process a task to be processed, shown in an exemplary embodiment of the present disclosure;

[0206] Figure 2 is a flowchart of a task processing method in which a device participates in processing a task to be processed, shown in an exemplary embodiment of the present disclosure;

[0207] Figure 3 is a flowchart of a task processing method applied to the current device shown in an exemplary embodiment of the present disclosure;

[0208] Figure 4 is a flowchart of a task processing method applied to an available device shown in an exemplary embodiment of the present disclosure;

[0209] Figure 5 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure;

[0210] Figure 6 is a block diagram of an electronic device according to another exemplary embodiment of the present disclosure;

[0211] Figure 7 is a block diagram of an electronic device according to another exemplary embodiment of the present disclosure;

[0212] Figure 8 is a block diagram of an electronic device according to another exemplary embodiment of the present disclosure;

[0213] Fig. 9It is a structural block diagram of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0214] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0215] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0216] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0217] In recent years, the functions of terminal devices have become increasingly rich, and their performance has gradually improved. These added functions and improved performance rely on the efficient and accurate data processing capabilities of terminal devices, such as image processing capabilities, audio processing capabilities, etc. In order to obtain better performance, current terminal devices often rely on complex models to process data; however, in related technologies, terminal devices are inefficient when using complex models to process data, resulting in slow response to user operations, affecting the user experience.

[0218] Based on this, in the first aspect, at least one embodiment of the present disclosure provides a task processing method, which can be applied to any device, the device can be connected and communicated with at least one other device, the device and / or at least one other device can provide available resources, and the available resources can be understood as devices that can provide task processing capabilities, that is, they can provide themselves as resources, and the resources can be used for task processing, computing power contribution, etc. Figuratively speaking, the device and other devices connected and communicating with it can be regarded as a terminal system based on their connection relationship.

[0219] The device can communicate with at least one other device through wireless networks, Bluetooth and other communication methods. These devices can be multiple personal terminal devices, or multiple terminal devices in a family, or multiple terminal devices in a certain network environment, or multiple terminal devices that can suggest communication connections under certain conditions, etc.; terminal devices can be multiple types of devices that are the same or different, such as smart phones, smart TVs, tablets, PCs, smart speakers, car terminals, home robots, AR / VR / MR glasses, smart glasses, wearable devices, home appliances, car devices, travel equipment (such as cars / scooters, etc.), etc.

[0220] Exemplarily, the method can treat the task of any device as a task to be processed, and use the available resources provided by the device and / or at least one other device connected thereto to process the task to be processed, thereby realizing resource sharing among devices to improve the efficiency of task processing and the resource utilization of the device. In particular, when the available resources provided by at least one other device connected thereto participate in processing the task, that is, when at least one other device connected thereto processes part or all of the task, the above effect can be more obviously reflected.

[0221] Taking the scenario of generating images as an example, if the task to be processed is to generate an image that requires high computing power, the device that initiates the processing of the task to be processed can call other devices that have a communication connection with it to jointly complete the generation of the image in parallel, thereby improving generation efficiency and improving user experience.

[0222] Taking the in-vehicle scenario as an example, the task to be processed by the voice assistant of the in-vehicle terminal is to use the voice assistant to recognize a piece of audio, but the model of the voice assistant is large, so the processing task can call other devices (such as mobile phones, etc.) that have a communication connection relationship with the in-vehicle terminal to participate in the recognition, thereby improving the efficiency of voice recognition.

[0223] Next, the specific contents of the method are introduced from the side of the device that initiates processing of the task to be processed (for example, the device where the task to be processed is located) and the side of the device that provides available resources.

[0224] Please refer to the attached Figure 1 , which shows the process of the method on the device side that initiates processing of the task to be processed, including steps S101 to S103.

[0225] In step S101, available resources of a task to be processed are obtained, where the task to be processed is a task of a device.

[0226] Among them, the available resources are provided by the device (i.e., the device that initiates the processing of the task to be processed) and / or at least one other device connected thereto. The available resources provided by any device can be the device itself, and the available resources provided by the device can be measured or characterized by resource provision capabilities. For example, resource provision capabilities can include at least one of the available computing power, processor capabilities, and storage capacity. The device can determine the available computing power in the resource provision capability in combination with the main frequency of the processor chip, the number of cores of the processor, the memory capacity, the read and write speed of the storage device, the bus bandwidth, the graphics card performance, the hard disk type and interface, the number and type of external devices, program optimization and compiler selection, operating system and software settings, etc. In other words, in addition to the device itself, the available resources can also include the capabilities of available resources, and the capabilities of the available resources are the resource provision capabilities of the device that meets the resource available state and / or the resource provision capabilities of the at least one other device; for example, meeting the resource available state can be that the resource provision capability is not less than a preset threshold value. For example, if the resource provision capability of a certain device is not less than a preset threshold value, then the device meets the resource available state, and if the resource provision capability of a certain device is less than the preset threshold value, then the terminal device does not meet the resource available state. Therefore, the available resources acquired in this step may include the device itself and multiple devices in at least one other device, and the capabilities of the available resources may include the resource provision capabilities of some or all of the multiple devices.

[0227] Among the devices initiating the processing of the task to be processed and other devices, each device can obtain its own resource provision capability as available resource information, and actively or passively provide the available resource information to other devices other than itself. Next, the following four optional examples are used as examples to introduce the way of providing available resource information between devices.

[0228] In optional example 1, at least one other device proactively sends its available resource information to the device that initiates processing of the task to be processed, and the device that initiates processing of the task to be processed can obtain the available resource information of the device and / or the at least one other device.

[0229] In optional example 2, at least one other device passively sends its available resource information to the device that initiates the processing of the pending task. That is, the device that initiates the processing of the pending task can send an available resource request to the at least one other device, and after receiving the available resource request, the at least one other device can send its available resource information to the device that initiates the processing of the pending task, and then the device that initiates the processing of the pending task can receive the available resource information of the device and / or the at least one other device.

[0230] Optional example 3, the device that initiates the processing of the task to be processed passively provides available resource information to other devices. That is, the device that initiates the processing of the task to be processed responds to the available resource request of at least one other device, obtains the available resource information of the device, and returns the available resource information to the at least one other device. It can be understood that the device that initiates the processing of the task to be processed can not only receive the available resource information provided by other devices, but also provide its own available resource information to other devices at least according to this example. Because the device that initiates the processing of the task to be processed can also act as a resource capability provider when other devices share tasks, that is, other devices of the device that initiates other tasks.

[0231] Optional Example 4: If the device that initiates the processing of the pending task receives the available resource information of the at least one other device, the available resource information of the device and / or the at least one other device can be provided actively or passively. In other words, the device that initiates the processing of the pending task can serve as a device that aggregates the available resource information, and provides the aggregated available resource information of each device to other devices, so as to avoid repeated transmission of available resource information between other devices and reduce the waste of data transmission resources.

[0232] In each of the above optional examples, whether it is the device that initiates processing of the task to be processed or the at least one other device, when it actively provides the available resource information, the available resource information may be provided under at least one of the following conditions:

[0233] In response to initiating a new device notification, that is, when the device providing available resource information connects to a new device, the device can provide available resource information to the new device, such as its own available resource information, or the available resource information of itself and other devices. It should be understood that the new device can also return its own available resource information due to this condition. In other words, when two devices establish a new connection, they will provide each other with available resource information due to this condition. The available resource information provided can be its own available resource information, or the available resource information of itself and other devices.

[0234] In response to the time length since the last time available resource information was provided being a preset time length, that is, the device providing the available resource information provides the available resource information to other devices at a preset time length period, for example, the device providing the available resource information sends the available resource information to other devices at a preset time length period, or updates its cached available resource information at a preset time length period, thereby enabling other devices to obtain the available resource information.

[0235] In response to detecting that the available resource information exceeds a preset range, wherein the preset range may be an absolute range or a relative range, and exceeding the preset range may be greater than the upper limit of the range, or less than the lower limit of the range. Taking the available computing power in the available resource information as an example, if the preset range of the available computing power is [X, Y], then when the available computing power of the device providing the available resource information is less than X (or less than X and the difference with X is greater than n), it is determined that the available resource information exceeds the preset range, and the available resource information is provided to other devices at this time; or, when the available computing power of the device providing the available resource information is greater than Y (or greater than Y and the difference with Y is greater than n), it is determined that the available resource information exceeds the preset range, and the available resource information is provided to other devices at this time; the above X, Y, and n are all values ​​of the available computing power, and are all greater than 0.

[0236] The above four optional examples introduce various ways of providing available resource information between the device to be processed and at least one other device connected thereto (i.e., at least one of all the devices in the terminal system mentioned above). In practical applications, there may be various optional example variations based on the above invention concept, which are not described one by one. Based on the sharing and synchronization of available resource information between these devices, the available resources of the task to be processed can be obtained in this step. It can be understood that the device that initiates the processing of the task to be processed in this step obtains the available resources of the task to be processed, aiming to requisition the computing power and other resources provided by other devices to realize multi-device processing of the task to be processed, so as to improve its processing efficiency.

[0237] The device that initiates the processing of the pending task can determine whether the pending task requires multi-device processing based on at least one of the following conditions:

[0238] The first condition: the task to be processed is established. That is, if a data processing task to be executed is established in the device to which the task to be processed belongs, the task can be used as the task to be processed and this step can be executed to obtain the available resource information of itself and / or the at least one other device that has been received in advance.

[0239] The second condition: the task level of the task to be processed is greater than the preset level. That is, when the task level of a data processing task in the device is high, it can be treated as a task to be processed and this step can be performed to obtain the available resource information of itself and / or the at least one other device that has been received in advance. For example, the task level can be related to the task type or the algorithm, source data, etc. involved in the task.

[0240] The third condition: the computing power required for the task to be processed is greater than the first computing power threshold. That is, when the computing power required for a data processing task is large (for example, the algorithm of the task is a relatively complex data processing model, and the memory requirement for running the model is large), it can be treated as a task to be processed and this step can be executed to obtain the available resource information of itself and / or the at least one other device that has been received in advance.

[0241] The fourth condition: the computing power available for the device that initiates the processing of the task to be processed is less than the second threshold. That is, when the computing power available for the device that initiates the processing of the task to be processed is small, this step can be performed as a task to be processed when there is a data processing task, so as to obtain the available resource information of itself and / or the at least one other device that it has received in advance.

[0242] The fifth condition: the computing power available for the device that initiates the processing of the task to be processed is less than the computing power required for the task to be processed. That is, when the computing power available for a device is less than the computing power required for its data processing task, this step can be performed to obtain the available resource information of itself and / or the at least one other device that it has received in advance.

[0243] The sixth condition: the power of the device that initiates the processing of the pending task is less than a certain threshold. That is, when the power of the device that initiates the processing of the pending task is low, this step can be performed as a pending task when there is a data processing task to obtain the available resource information of itself and / or the at least one other device that it has received in advance.

[0244] By setting the above conditions, the device can be selective when executing tasks, that is, when the task is simple and the device is in good condition, the task is executed independently, and when the task is complex and the device is in poor condition, part or all of the task is shared by others, thereby improving the efficiency of task execution and avoiding large waste caused by redundant communication. It can be understood that in actual applications, there can be many variations of the conditions set according to the above inventive concept, which will not be described one by one.

[0245] In step S102, in response to the task to be processed, the task to be processed is processed using the available resources.

[0246] In a possible embodiment, the processing of the pending task includes: the pending task is processed by the device and / or the at least one other device. That is, the pending task is assigned to at least one device including or not including the device for processing, for example, the pending task is assigned to the device itself for processing, the pending task is assigned to at least one other device for processing, or the pending task is assigned to the device itself and at least one other device for processing. It is understood that when multiple devices process the pending tasks, they can process them in parallel or in series, etc.

[0247] In another possible embodiment, the method may further include: determining an execution strategy based on the available resources, wherein the execution strategy is used to characterize the processing method of the task. For example, the execution strategy may include: distributing the task to be processed into at least one subtask, wherein the subtask is at least a part of the task to be processed; based on the execution strategy, the processing of the task to be processed may include: the at least one subtask is processed by the device and / or the at least one other device. That is, the device that initiates the processing of the task to be processed splits the task to be processed into at least one subtask, and distributes these subtasks to at least one device that includes itself or does not include itself for processing.

[0248] For example, the task to be processed has an algorithm and source data, and the source data is processed by the algorithm, which is the task content represented by the task to be processed. The algorithm of the task to be processed can be a data processing model (such as a machine learning model such as a deep learning model), and the source data of the task to be processed can be image data, audio data, etc. In this step, the task to be processed can be converted into a form, and the result of the form conversion can be used as the only subtask; or in this step, the algorithm and / or source data of the task to be processed can be split to obtain multiple subtasks, that is, the algorithm of the subtask is a local algorithm in the algorithm of the target task, and / or the source data of the data processing subtask is part of the source data of the target task.

[0249] Next, the following two optional examples are taken as examples to introduce the details of subtask distribution in this embodiment in detail. In practical applications, there can be many optional examples based on the above invention concept, and only the following two examples are taken as examples here, and other examples are not described one by one.

[0250] Optional example 1, distributing the task to be processed into at least one subtask, includes: determining the at least one subtask based on the available resources; that is, this embodiment can split the task to be processed according to the available resources provided by the device and the at least one other device to obtain at least one subtask, for example, split the task to be processed according to the number of devices providing available resources to obtain subtasks of matching quantity.

[0251] Since the device that initiates processing of the task to be processed obtains available resources in step S101, it can also obtain the capabilities of the available resources (i.e., the resource provision capabilities of the device that meets the resource availability status or the resource provision capabilities of at least one other device), therefore, further, the task to be processed can be determined as the at least one subtask based on the capabilities of the available resources.

[0252] For example, when the resource provision capability of the device includes the ability to provide computing power, this example can split the task to be processed into at least one subtask based on the number of devices in the available resources (i.e., the device that initiates the processing of the task to be processed and the at least one other device) that can provide computing power not less than the computing power threshold. The computing power threshold is used to measure whether the device can process at least one subtask; the computing power threshold can be set in advance, or adaptively set according to the task to be processed before splitting the subtasks. For example, if the number of devices in the available resources that can provide computing power not less than the computing power threshold is N, the task to be processed can be split into N subtasks whose required computing power is less than the computing power threshold; of course, if the maximum number of divisible subtasks of the task to be processed is less than N, the task to be processed can be split according to the maximum number of divisible subtasks of the task to be processed.

[0253] For another example, when the resource provision capability of the device includes providing at least one of computing power, power and temperature, this example can split the task to be processed into at least one subtask based on the number of devices in the available resources that meet at least one of the following conditions: the computing power that can be provided is not less than a computing power threshold; the power amount is not less than a power threshold; the temperature is not greater than a temperature threshold.

[0254] This example can measure whether a device is suitable for processing at least one subtask from at least one dimension of computing power, power, and temperature, so that a device that meets the conditions will not affect the processing of the subtask due to defects in any dimension.

[0255] Optional example 2, the processing of the task to be processed may include: distributing the at least one subtask to the device and / or the at least one other device based on the capabilities of the available resources, so that the device and / or the at least one other device processes the at least one subtask; the capabilities of the available resources include the resource provision capabilities of the device that are consistent with the resource availability status or the resource provision capabilities of the at least one other device.

[0256] Among them, the at least one subtask described in this example can be obtained by splitting the task to be processed in the manner of the above optional examples 1 or 2, or by splitting the task to be processed in the following manner: splitting the task to be processed into at least one subtask according to the situation of the task to be processed and at least one of the following principles: the execution efficiency of the task to be processed is the highest; and / or the subtask in the task to be processed is an execution unit that cannot be split, etc. Consider the situation of the task itself. In practical applications, the above three methods can also be combined, and the above solutions can be comprehensively considered and applied according to actual needs and certain priority rules.

[0257] When splitting the task to be processed based on the principle of highest execution efficiency of the target task, at least one parallel part of the task to be processed can be respectively determined as at least one subtask, wherein any two parallel parts of the task to be processed are independent of each other; for example, different units in the data processing model are responsible for performing feature processing of image data in different dimensions, then these different units can be split into independent parallel parts to form multiple subtasks.

[0258] When splitting the task to be processed based on the principle that the subtasks in the task to be processed are non-dividable execution units, the task to be processed can be split into the most detailed parts until each subtask obtained by the split cannot be further split.

[0259] In this example, based on the available resource capabilities, the at least one subtask is matched with the available resources (devices that meet the resource available state), so that each of the at least one subtask is matched with a device that meets the resource available state. Next, two specific matching methods are introduced, but it can be understood that the following matching method introduction is not a limitation on the matching method.

[0260] The first matching method: determine each subtask in the at least one subtask in order from large to small in terms of the required resources; and after each subtask is determined, match the device with the largest resource provision capability (and not matched by any subtask) among the available resources (devices that meet the resource available status) with the subtask, wherein the resource provision capability of the device with the largest resource provision capability among the available resources is not less than the resources required for the subtask.

[0261] The matching principle of this method is: the greater the resources required by the subtask, the greater the resource provision capability of the device matched to it. This method can match each subtask to a device that meets its required resources, avoiding the situation where a device with large resource provision capability is matched by a subtask with smaller resource requirements, which results in the subtask with larger resource requirements not being matched to a device that meets the required resources.

[0262] The second matching method: using a greedy matching algorithm to match the at least one subtask with the available resources, wherein the greedy matching algorithm is based on at least one of the following principles: the number of subtasks that are not matched to devices is the smallest; the resource provision capability of at least one device that matches the at least one subtask is the largest; the resource remaining amount of the device with the smallest resource remaining amount among at least one terminal device that matches the at least one subtask is the largest, wherein the resource remaining amount includes the difference between the resource provision capability and the required resources of the matched subtask.

[0263] Among them, the greedy matching algorithm is a simple and commonly used matching algorithm for solving the maximum matching problem in combinatorial optimization problems. It is usually used to process the matching between two sets, in which each element can only be matched with one element in the other set. The basic idea of ​​the greedy matching algorithm is to select an element from one set and match it with an element in the other set, and then continue to select the next unmatched element to match until no more matching can be performed. The strategy for selecting matching is to meet at least one preset principle as much as possible, that is, the above-mentioned multiple principles in this embodiment.

[0264] It is understandable that at least one of the above principles may be preset with a priority order. That is, in the greedy matching process, all the above principles are met first, and when all the above principles cannot be met, the principles with lower priorities are abandoned one by one.

[0265] The two matching methods provided in this example can match at least one subtask obtained by splitting the task to be processed with available resources (devices that meet the resource availability status), thereby preparing for subtask allocation in advance.

[0266] The greedy algorithm is only an example of a specific algorithm. Other algorithms in related technologies can also be selected based on the principles in the above matching process to achieve matching between subtasks and devices.

[0267] Based on the contents introduced in the above two embodiments, such as the splitting of the tasks to be processed and the matching with the available resources introduced in optional examples 1 and 2, the processing of the tasks to be processed using the available resources in this step may include:

[0268] Using the available resources, connecting with the at least one other device, so that the at least one other device processes the task to be processed. For example, when the device that initiates the processing of the task to be processed matches a device for each subtask, each subtask is matched to one of the at least one other devices. In this step, each subtask can be sent to the device that matches it, so that the device that receives the subtask processes the received subtask.

[0269] Or, use the available resources to connect with the at least one other device so that the device and the at least one other device process the task to be processed. For example, when the device that initiates the task to be processed matches a device for each subtask, it matches the device that initiates the task to be processed and also matches a device in the at least one other device. In this step, each subtask can be sent to the device that matches it so that the device that receives the subtask processes the received subtask.

[0270] Or, use the device in the available resources to execute the task to be processed. For example, when the device that initiates the processing of the task to be processed matches the device for each subtask, all subtasks are matched with the device that initiates the processing of the task to be processed. In this step, the device that initiates the processing of the task to be processed leaves all subtasks to itself for processing. It can be understood that although this method is for the device that initiates the processing of the task to be processed to process all subtasks itself, the device processes the task to be processed only after splitting the task to be processed and matching the split subtasks with the available resources based on the capabilities of the available resources, which is different from the related art.

[0271] When the device that initiates processing of the task to be processed executes this step, a device in the at least one other device may receive a task processing request sent by the device that initiates processing of the task to be processed, and execute the subtask sent by the device that initiates processing of the task to be processed.

[0272] The task processing method provided by the embodiment of the present disclosure can obtain available resources for the task to be processed, and in response to the task to be processed, use the available resources to process the task to be processed. Since the task to be processed is a task of the device, and the device can be connected to at least one other device, and the available resources are provided by the device and / or at least one other device, the method allocates the task of the device to the available resources provided by the device itself and / or at least one other device for processing, thereby enabling other devices to provide available resources to the device that initiates the processing of the task to be processed, or the device that initiates the processing of the task to be processed requisitions available resources from other devices, or enabling the sharing of available resources between different devices. This can not only improve the processing efficiency of the task to be processed, but also improve the resource utilization of other devices, and reduce and simplify the computing load of a single device in processing the task to be processed, and ultimately improve the response speed of the device to user operations and improve the user experience.

[0273] In some embodiments of the present disclosure, a connection may be established between the device that initiates processing of the task to be processed and the at least one other device in either of the following two optional manners.

[0274] Option 1: The device that initiates processing of the task to be processed actively establishes a communication connection with the at least one other device.

[0275] The device that initiates processing of the task to be processed may send a request message to the at least one other device, where the request message is used to indicate that the device that initiates processing of the task to be processed has the capability of at least partially processing the task to be processed.

[0276] The at least one other device can receive the request message and establish a communication connection with the device that initiates processing the task to be processed (automatically or based on the user's input consent to establish a connection), and return a notification to the device that initiates processing the task to be processed, wherein the notification is used to indicate that the at least one other device has the ability to at least partially process the task to be processed.

[0277] The device that initiates processing of the task to be processed may establish a communication connection with the at least one other device in response to a notification from the at least one other device.

[0278] Option 2: The at least one other device actively establishes a communication connection with the device that initiates processing of the task to be processed.

[0279] The at least one other device may send a request message to the device that initiates processing of the task to be processed, where the request message is used to indicate that the at least one other device has the capability of at least partially processing the task to be processed.

[0280] The device that initiates processing of the task to be processed can receive a request message from the at least one other device, and establish a communication connection with the at least one other device (automatically or based on the user's consent to establish a connection), and return a notification to the device that initiates processing of the task to be processed, wherein the notification is used to indicate that the device that initiates processing of the task to be processed has the ability to at least partially process the task to be processed.

[0281] The at least one other device may establish a communication connection with the device that initiates processing of the task to be processed in response to a notification from the device that initiates processing of the task to be processed.

[0282] The above two optional methods introduce the methods for establishing a communication connection between the device that initiates processing of the task to be processed and at least one other device. The terminal system can also be constructed within these devices by configuring the terminal system construction protocol, and all devices in the terminal system establish communication connections between each other. This can simplify the process of establishing communication connections between devices. Next, taking the wireless network communication method as an example, the terminal system construction process is introduced in detail.

[0283] When multiple devices are connected to a wireless network (for example, these devices are pre-configured with the terminal system construction protocol), such as smartphones, smart TVs, tablets, PCs, smart speakers, vehicle-mounted terminals, AR / VR / MR glasses, smart glasses, wearable electronic devices, wearable devices, home appliances, vehicle-mounted devices, travel equipment (such as cars / scooters, etc.), etc., the user can initiate the construction of the terminal system by operating any device, where the device operated by the user can be called an initiating device and the other devices can be called responding devices.

[0284] If a device acts as an initiating device, it may send a system building request to at least one device (eg, other terminal devices accessed by the wireless network) after a user operation.

[0285] If a device is used as a responding device, it can receive a system building request sent by other terminal devices (i.e., initiating devices), prompt the user through a prompt message, and send a response instruction to the other device (i.e., initiating device) based on the operation instruction input by the user. For example, when the user inputs an agree operation, a response instruction for agreeing to join the terminal system is sent, and when the user inputs a reject operation, a response instruction for rejecting to join the terminal system is sent.

[0286] If the terminal device is used as the initiating device, the terminal system can be further constructed based on the response instruction returned by the at least one device. For example, the initiating device and all responding devices that send response instructions agreeing to join the terminal system are constructed into a terminal system through a system construction protocol, and any two terminal devices in the system can communicate.

[0287] It is understandable that the initiating device and the responding device in the system construction phase have equal status after the terminal system is established and are no longer distinguished.

[0288] In some embodiments of the present disclosure, each device in all devices (such as terminal systems) that establish a communication connection has a priority, and the priority is used to characterize the level of sharing authority. A device with a high priority can share subtasks with a device with a low priority to occupy its resources, while a device with a low priority cannot share subtasks with a device with a high priority. For example, among smartphones, smart TVs, tablets, PCs, and smart speakers, smartphones and tablets have the highest priority, followed by PCs, and smart TVs and smart speakers have the lowest priority.

[0289] Based on the above priorities, the provision of available resource information between devices mentioned in step S101 can be directional, that is, each device actively or passively provides available resource information to other devices with a priority level not higher than its own, so that when a certain device is used as a device to initiate processing of tasks to be processed, it can obtain the available resources provided by itself and devices with a priority level not higher than its own, as well as the capabilities of the available resources, so that it can process tasks to be processed on itself and devices with a priority level not higher than its own.

[0290] In other words, the priority of the at least one other device in step S101 is not higher than the priority of the device that initiates the processing of the pending task, so that the pending task can only be shared with devices whose priority is not higher than the device to which it belongs, but cannot be shared with devices whose priority is higher than the device to which it belongs; that is, the pending task can only be shared in the direction of a lower (or equal) priority, but cannot be shared in the direction of a higher priority.

[0291] The priority of each device can be predefined; or the priority of each device can be pre-determined based on the frequency of use and / or the period of use. For example, the higher the frequency of use, the higher the priority, and the lower the frequency of use, the lower the priority. This is because devices with low frequency of use are occupied by tasks of other devices and do not affect their operation. The frequency of use of devices in different time periods is different. For example, the frequency of use of a TV set during working hours is very low, but the frequency of use during non-working hours is higher. Therefore, it is obviously one-sided to determine its priority based on the frequency of use in a certain period of time. Therefore, the priority of the corresponding device in different time periods can be determined based on the frequency of use of each device in different time periods.

[0292] This embodiment can make task sharing directional and selective, avoiding blind sharing of tasks that may affect the performance of important devices and the performance of devices currently being used by users, so that idle or less important devices can provide computing power to devices that are currently being used or are more important, thereby providing users with a better experience.

[0293] In some embodiments of the present disclosure, the device that initiates the processing of the pending task can also be used by other devices to request computing power, that is, it receives a task processing request sent by at least one other device and executes the task sent by the other device. Figure 1 The method shown in the figure is executed by the subject, and other devices can also be used as additional Figure 1 The execution subject of the method shown in the figure uses the device that initiates the processing of the task to be processed; and the device that initiates the processing of the task to be processed often also serves as an auxiliary Figure 1 Task distributors and task receivers in the method shown.

[0294] Please refer to the attached Figure 2 , which shows the process of the method on the device side providing available resources, including step S201 to step S202.

[0295] In step S201, respond to an available resource request from at least one other device.

[0296] The device or other device that initiates processing of the task to be processed may send an available resource request to the at least one other device in order to make the at least one other device provide it with an available resource request, where the available resource request is used to request the recipient to provide available resource information; then, the at least one other device may perform this step, i.e., respond to the available resource request of the at least one other device.

[0297] In step S202, available resource information is determined and sent to the at least one other device, where the available resource information includes a resource provision capability that complies with a resource availability status.

[0298] The at least one other device may provide its own resource provision capability directly as available resource information to the device that initiates processing of the task to be processed; or, the at least one other device may provide its own resource provision capability as available resource information to the device that initiates processing of the task to be processed when it determines that its own resource provision capability meets the resource availability status.

[0299] It is understood that the at least one other device is not limited to the Figure 2 In addition to passively providing the available resource information to the device that initiates the processing of the task to be processed in the manner shown, the available resource information can also be actively provided to the device that initiates the processing of the task to be processed. Exemplarily, when the at least one other device actively provides the available resource information, the available resource information can be provided under at least one of the following conditions:

[0300] In response to initiating a new device notification, that is, when the device providing available resource information connects to a new device, the device can provide available resource information to the new device, such as its own available resource information, or the available resource information of itself and other devices. It should be understood that the new device can also return its own available resource information due to this condition. In other words, when two devices establish a new connection, they will provide each other with available resource information due to this condition. The available resource information provided can be its own available resource information, or the available resource information of itself and other devices.

[0301] In response to the time length since the last time available resource information was provided being a preset time length, that is, the device providing the available resource information provides the available resource information to other devices at a preset time length period, for example, the device providing the available resource information sends the available resource information to other devices at a preset time length period, or updates its cached available resource information at a preset time length period, thereby enabling other devices to obtain the available resource information.

[0302] In response to detecting that the available resource information exceeds a preset range, the preset range may be an absolute range or a relative range (for example, the preset interval length around the available resource information provided last time), and exceeding the preset range may be greater than the upper limit of the range, or less than the lower limit of the range. Taking the available computing power in the available resource information as an example, if the preset range of the available computing power is [X, Y], then when the available computing power of the device providing the available resource information is less than X (or less than X and the difference with X is greater than n), it is determined that the available resource information exceeds the preset range, and the available resource information is provided to other devices at this time; or, when the available computing power of the device providing the available resource information is greater than Y (or greater than Y and the difference with Y is greater than n), it is determined that the available resource information exceeds the preset range, and the available resource information is provided to other devices at this time; the above X, Y, and n are all values ​​of the available computing power, all greater than 0.

[0303] The above-mentioned available resource information includes resource provision capabilities, and the resource provision capabilities may include at least one of the following: available computing power, processor capabilities, and storage capacity.

[0304] More details on providing available resource information between the above devices are provided in the attached Figure 1 The device side that initiates processing of the pending tasks has been introduced and will not be repeated here.

[0305] In some embodiments of the present disclosure, at least part of the tasks to be processed may also be received and at least part of the tasks to be processed may be executed. That is, when the device that initiates the processing of the tasks to be processed distributes the tasks or subtasks to the at least one other device, the at least one other device may receive and process the distributed tasks or subtasks.

[0306] Exemplarily, the received at least part of the tasks to be processed comes from at least one other device with a higher priority.

[0307] Priority is used to characterize the level of sharing authority. A device with a high priority can share subtasks with a device with a low priority to occupy its resources, while a device with a low priority cannot share subtasks with a device with a high priority. For example, among smartphones, smart TVs, tablets, PCs, and smart speakers, smartphones and tablets have the highest priority, followed by PCs, and smart TVs and smart speakers have the lowest priority. The priority setting allows pending tasks to be shared only with devices that are not higher than the priority of the device to which they belong, but not with devices that have a higher priority than the device to which they belong; that is, pending tasks can only be shared in the direction of a lower (or equal) priority, but not in the direction of a higher priority.

[0308] The priority of each device can be predefined; or the priority of each device can be pre-determined based on the frequency of use and / or the period of use. For example, the higher the frequency of use, the higher the priority, and the lower the frequency of use, the lower the priority. This is because devices with low frequency of use are occupied by tasks of other devices and do not affect their operation. The frequency of use of devices in different time periods is different. For example, the frequency of use of a TV set during working hours is very low, but the frequency of use during non-working hours is higher. Therefore, it is obviously one-sided to determine its priority based on the frequency of use in a certain period of time. Therefore, the priority of the corresponding device in different time periods can be determined based on the frequency of use of each device in different time periods.

[0309] This example can make task sharing directional and selective, avoiding blind sharing of tasks that may affect the performance of important devices and the performance of devices currently being used by users, so that idle or less important devices can provide computing power to currently used or more important devices, thereby providing users with a better experience.

[0310] As another example, the at least one other device may also send all or part of the at least part of the tasks to be processed to a third device. The third device refers to the device to which the tasks to be processed belong, as well as devices other than the device that executes the method. This example can process at least part of the tasks to be processed by itself or continue to distribute them to other devices when receiving them, thereby realizing the relay of task distribution and avoiding the failure of task processing or low efficiency caused by the inability of the device that receives the distributed tasks to process the tasks. Figuratively speaking, the tasks to be processed are split into at least one subtask by device A, and one of the subtasks is distributed to device B for processing. Device B can transfer all or part of the subtask to device C for processing, and so on, so as to realize multi-level relay processing of tasks.

[0311] Based on this, in the second aspect, at least one embodiment of the present disclosure provides a task processing method, which is applied to multiple interconnected devices, such as multiple devices in the same communication environment. The pending tasks of the current device with pending tasks can be distributed to the above-mentioned multiple devices for processing (wherein the devices other than the current device in the multiple devices can be called available devices), thereby improving task processing efficiency and equipment utilization.

[0312] Next, the specific contents of this method are introduced in detail from the current device side and the available device side respectively.

[0313] Please refer to the attached Figure 3 , which shows the process of the method on the current device side, including steps S301 to S303.

[0314] In step S301, information of available devices capable of processing a task to be processed is obtained, the task to be processed is a task of a current device, and the available devices are capable of communicating with the current device.

[0315] Among them, the current device is the device that executes the method. The available devices are within the communication coverage of the current device and can communicate with each other; for example, the current device and the available devices can be devices in the same WiFi environment. For example, in a certain WiFi environment, there are smart phones, smart TVs, tablets, PCs, smart speakers, vehicle terminals, home robots, AR / VR / MR glasses, smart glasses, wearable electronic devices, wearable devices, home appliances, vehicle-mounted devices, travel equipment (such as cars / scooters, etc.) and other devices, among which the smart phone can be the current device in the method, and the other devices are the available devices in the method (it can be understood that the selection of the current device and the available device is not a restriction on the execution subject of the method, and other devices can also be used as the current device to execute the method when there are tasks to be processed).

[0316] The information of the available device may include at least one of the following: the name of the available device, the priority of processing at least part of the tasks to be processed, and the processing capability of processing at least part of the tasks to be processed.

[0317] The names of the available devices are inherent names such as smart phones, smart TVs, tablets, PCs, smart speakers, vehicle-mounted terminals, home robots, AR / VR / MR glasses, smart glasses, wearable electronic devices, wearable devices, home appliances, vehicle-mounted devices, travel equipment (such as cars / scooters, etc.), or user-defined names such as A, B, C...etc.

[0318] The priority of processing at least part of the tasks to be processed is used to characterize the level of sharing authority. A device with a high priority can share subtasks with a device with a low priority to occupy its resources, while a device with a low priority cannot share subtasks with a device with a high priority. For example, among smartphones, smart TVs, tablets, PCs, and smart speakers, smartphones and tablets have the highest priority, followed by PCs, and smart TVs and smart speakers have the lowest priority. Priority makes task sharing directional and selective, avoiding the performance of important devices being affected by blindly sharing tasks, as well as the performance of devices currently being used by users, so that idle or less important devices can provide computing power to devices that are currently being used or are more important, thereby providing users with a better experience.

[0319] It should be noted that the priority of each device can be pre-defined; or the priority of each device can be pre-determined based on the frequency of use and / or the period of use. For example, the higher the frequency of use, the higher the priority, and the lower the frequency of use, the lower the priority. This is because devices with low frequency of use are occupied by tasks of other devices and do not affect their operation. The frequency of use of devices in different time periods is different. For example, the frequency of use of a TV set during working hours is very low, while the frequency of use during non-working hours is higher. Therefore, it is obviously one-sided to determine its priority based on the frequency of use in a certain period of time. Therefore, the priority of the corresponding device in different time periods can be determined based on the frequency of use of each device in different time periods.

[0320] The processing capability of processing at least part of the tasks to be processed includes at least one of the following: computing power, processor capability, storage capacity, temperature, and power. The device can provide computing power by combining the main frequency of the processor chip, the number of processor cores, memory capacity, the read and write speed of the storage device, bus bandwidth, graphics card performance, hard disk type and interface, the number and type of external devices, program optimization and compiler selection, operating system and software settings, etc.

[0321] Exemplarily, the information of the available devices is transmitted by broadcast or on-demand mode. For example, all devices within the communication coverage of the current device transmit their information of the available devices by broadcast or on-demand mode.

[0322] In step S302, at least one of the available devices is selected to execute at least part of the task to be processed.

[0323] Exemplarily, at least one of the available devices is selected to execute at least part of the tasks to be processed based on the computing power that can be provided by the available devices. In this example, at least one of the available devices that can provide the highest computing power can be selected from all the available devices to execute at least part of the tasks to be processed. For example, if at least part of the tasks to be processed include N subtasks, and the number of all available devices connected to the current device is M, M>N, then the M available devices can be sorted in descending order of the computing power that can be provided, and the first N available devices can be selected to execute the N subtasks one by one.

[0324] Exemplarily, at least one of the available devices is selected to perform at least part of the tasks to be processed based on the available computing power, temperature, and power of the available devices. In this example, available devices that can provide computing power not less than a computing power threshold, power not less than a power threshold, and temperature not greater than a temperature threshold can be first selected from all available devices as candidate devices, and then at least one available device that can provide the highest computing power is selected from all candidate devices to perform at least part of the tasks to be processed.

[0325] In step S303, the processing results of at least part of the to-be-processed tasks of the available devices are obtained.

[0326] Exemplarily, the processing results are integrated into the processing result output of the task to be processed.

[0327] When the current device processes part of the tasks to be processed and the available device processes part of the tasks to be processed, the processing results of each part of the tasks to be processed can be acquired and integrated to output the processing results of the tasks to be processed.

[0328] In the case where all the tasks to be processed are processed by available devices, if they are processed by one available device, the task processing result of the available device is directly obtained as the processing result output of the task to be processed; if they are processed by multiple available devices, the processing results of each part of the tasks to be processed are obtained and integrated to integrate the processing results into the processing result output of the task to be processed.

[0329] For example, different units in the data processing model are responsible for performing feature processing of different dimensions on image data. These different units can be split into independent parallel parts to form multiple data processing subtasks. The data processing results of these data processing subtasks are the feature processing results of one dimension of the image data. This step can integrate the feature processing results of these dimensions to obtain the target processing results of the image data, such as image recognition results.

[0330] The task processing method provided by the present disclosure distributes part or all of the pending tasks originally belonging to the current device to at least one available device for auxiliary processing, thereby improving the processing efficiency of the pending tasks and the resource utilization of the available devices, reducing the computing load of the current device, improving the response speed of the current device to user operations, and improving the user experience.

[0331] Please refer to the attached Figure 4 , which shows the process of the method on the current device side, including steps S401 to S403.

[0332] In step S401, information of an available device capable of processing a task to be processed is sent, wherein the task to be processed is a task of another device, and the available device can communicate with the other device.

[0333] The available device is located in the other device (i.e. Figure 3 The communication coverage of the current device in the method) can communicate with each other; for example, the above-mentioned another device and the available device can be devices in the same WiFi environment. For example, in a certain WiFi environment, there are smart phones, smart TVs, tablets, PCs, smart speakers, car terminals, home robots, AR / VR / MR glasses, smart glasses, wearable electronic devices, wearable devices, home appliances, car devices, travel equipment (such as cars / scooters, etc.), etc., among which the smart phone can be another device in the method, and the other devices are available devices in the method (it can be understood that the selection of another device and available devices is not a limitation on the execution subject of the method, and other devices can also be used as another device when there are tasks to be processed).

[0334] The information of the available device may include at least one of the following: the name of the available device, the priority of processing at least part of the tasks to be processed, and the processing capability of processing at least part of the tasks to be processed.

[0335] The names of the available devices are inherent names such as smart phones, smart TVs, tablets, PCs, smart speakers, vehicle-mounted terminals, home robots, AR / VR / MR glasses, smart glasses, wearable electronic devices, wearable devices, home appliances, vehicle-mounted devices, travel equipment (such as cars / scooters, etc.), or user-defined names such as A, B, C...etc.

[0336] The priority of processing at least part of the tasks to be processed is used to characterize the level of sharing authority. A device with a high priority can share subtasks with a device with a low priority to occupy its resources, while a device with a low priority cannot share subtasks with a device with a high priority. For example, among smartphones, smart TVs, tablets, PCs, and smart speakers, smartphones and tablets have the highest priority, followed by PCs, and smart TVs and smart speakers have the lowest priority. Priority makes task sharing directional and selective, avoiding the performance of important devices being affected by blindly sharing tasks, as well as the performance of devices currently being used by users, so that idle or less important devices can provide computing power to devices that are currently being used or are more important, thereby providing users with a better experience.

[0337] It should be noted that the priority of each device can be pre-defined; or the priority of each device can be pre-determined based on the frequency of use and / or the period of use. For example, the higher the frequency of use, the higher the priority, and the lower the frequency of use, the lower the priority. This is because devices with low frequency of use are occupied by tasks of other devices and do not affect their operation. The frequency of use of devices in different time periods is different. For example, the frequency of use of a TV set during working hours is very low, while the frequency of use during non-working hours is higher. Therefore, it is obviously one-sided to determine its priority based on the frequency of use in a certain period of time. Therefore, the priority of the corresponding device in different time periods can be determined based on the frequency of use of each device in different time periods.

[0338] The processing capability of processing at least part of the tasks to be processed includes at least one of the following: computing power, processor capability, storage capacity, temperature, and power. The device can provide computing power by combining the main frequency of the processor chip, the number of processor cores, memory capacity, the read and write speed of the storage device, bus bandwidth, graphics card performance, hard disk type and interface, the number and type of external devices, program optimization and compiler selection, operating system and software settings, etc.

[0339] Exemplarily, the information of the available devices is transmitted by broadcast or on-demand mode, that is, the available devices can respond to the above-mentioned another device (attached Figure 3 The current device in the table) or actively sends the information of available devices to the above-mentioned other device through broadcast or on-demand mode. Among them, the available device can also determine whether it has the ability to process the pending task before sending the information of available devices, for example, by judging by the dimensions such as the computing power, processor capability, storage capacity, etc. that can be provided (for example, if the computing power provided is greater than a certain threshold, it is determined that it has the ability to process the pending task, etc.), and send the information of available devices to the above-mentioned other device when it has the ability to process the pending task.

[0340] In step S402, in response to at least part of the tasks to be processed sent by the other device, at least part of the tasks to be processed are executed.

[0341] Exemplarily, at least part of the tasks to be processed are executed based on the computing power available from the available devices.

[0342] The above-mentioned another device can select at least one of the available devices that can provide the highest computing power from all the available devices to execute at least part of the tasks to be processed, and the available device that executes the method is one of the at least one available device that can provide the highest computing power. For example, if at least part of the tasks to be processed include N subtasks, and the number of all available devices connected to the above-mentioned another device is M, M>N, then the M available devices can be sorted in descending order of the computing power that can be provided, and the first N available devices are selected to execute the N subtasks one by one.

[0343] Alternatively, the other device selects at least one of the available devices to perform at least part of the tasks to be processed based on the available computing power, temperature, and power of the available devices. For example, available devices that can provide computing power not less than a computing power threshold, power not less than a power threshold, and temperature not greater than a temperature threshold can be selected from all available devices as candidate devices, and then at least one available device that can provide the highest computing power can be selected from all candidate devices to perform at least part of the tasks to be processed.

[0344] In step S403, the processing result of at least part of the task to be processed is sent (to the above-mentioned other device).

[0345] Exemplarily, the another device may integrate the processing result into a processing result output of the task to be processed.

[0346] For example, when the other device processes part of the task to be processed and the available device processes part of the task to be processed, the processing results of each part of the task to be processed can be obtained and integrated to output the processing results of the task to be processed.

[0347] In the case where all the tasks to be processed are processed by available devices, if they are processed by one available device, the task processing result of the available device is directly obtained as the processing result output of the task to be processed; if they are processed by multiple available devices, the processing results of each part of the tasks to be processed are obtained and integrated to integrate the processing results into the processing result output of the task to be processed.

[0348] For example, different units in the data processing model are responsible for performing feature processing of different dimensions on image data. These different units can be split into independent parallel parts to form multiple data processing subtasks. The data processing results of these data processing subtasks are the feature processing results of one dimension of the image data. This step can integrate the feature processing results of these dimensions to obtain the target processing results of the image data, such as image recognition results.

[0349] The task processing method provided by the present disclosure distributes part or all of the pending tasks originally belonging to the above-mentioned other device to at least one available device for auxiliary processing, thereby improving the processing efficiency of the pending tasks and the resource utilization of the available devices, reducing the computing load of the above-mentioned other device, improving the response speed of the above-mentioned other device to user operations, and improving the user experience.

[0350] According to another aspect of the present disclosure, an electronic device is provided. Figure 5 , the electronic device comprises:

[0351] An acquisition module 501 is used to acquire available resources of a task to be processed, where the task to be processed is a task of a device;

[0352] A processing module 502 is used for processing the task to be processed using the available resources in response to the task to be processed;

[0353] The device is capable of connecting to at least one other device;

[0354] The available resources are provided by the device and / or the at least one other device.

[0355] In one embodiment of the present disclosure, the electronic device further includes an execution module, configured to determine an execution strategy according to the available resources.

[0356] In one embodiment of the present disclosure, the execution strategy includes: distributing the task to be processed into at least one subtask, where the subtask is at least a part of the task to be processed.

[0357] In one embodiment of the present disclosure, when the processing module is used to process the task to be processed, the at least one subtask is processed by the device and / or the at least one other device.

[0358] In one embodiment of the present disclosure, when the processing module is used to process the task to be processed, the task to be processed is processed by the device and / or the at least one other device.

[0359] In one embodiment of the present disclosure, when the execution module is used to distribute the to-be-processed task into at least one subtask, it is used to: determine the at least one subtask according to the available resources.

[0360] In one embodiment of the present disclosure, when the execution module is used to determine the at least one subtask according to the available resources, it is used to:

[0361] The to-be-processed task is determined as the at least one subtask according to the capability of the available resources, wherein the capability of the available resources includes the resource provision capability of the device that meets the resource availability state or the resource provision capability of the at least one other device.

[0362] In one embodiment of the present disclosure, when the processing module is used to process the task to be processed, it is used to:

[0363] According to the capabilities of available resources, the at least one subtask is distributed to the device and / or the at least one other device so that the device and / or the at least one other device processes the at least one subtask; the capabilities of the available resources include the resource provision capabilities of the device or the resource provision capabilities of the at least one other device that conform to the resource availability status.

[0364] In one embodiment of the present disclosure, the electronic device further includes an information receiving module, which is used to:

[0365] The available resource information of the device and / or the at least one other device is received, wherein the available resource information includes the resource provision capability of the device.

[0366] In one embodiment of the present disclosure, the electronic device further includes a request sending module, which is used to:

[0367] A request for available resources is sent to the at least one other device.

[0368] In one embodiment of the present disclosure, when the processing module is used to process the to-be-processed task using the available resources, it is used to:

[0369] Using the available resources, connecting with the at least one other device, so that the at least one other device processes the task to be processed; or

[0370] Using the available resources, connecting with the at least one other device, so that the device and the at least one other device process the task to be processed; or

[0371] The task to be processed is executed using the device in the available resources.

[0372] In one embodiment of the present disclosure, the electronic device further includes a communication module, which is used to:

[0373] In response to a notification from the at least one other device, establishing a connection with the at least one other device; and / or

[0374] A request message is received from the at least one other device, and communication with the at least one other device is established; the notification or the request message is used to indicate that the at least one other device has the ability to at least partially process the task to be processed.

[0375] In one embodiment of the present disclosure, the electronic device further includes an information sending module, which is used to:

[0376] responding to a request for available resources from at least one other device;

[0377] The available resource information of the device is acquired, and the available resource information is returned to the at least one other device, where the available resource information includes the resource provision capability of the device.

[0378] In one embodiment of the present disclosure, the electronic device further includes an information providing module, which is used to:

[0379] The available resource information of the device and / or the at least one other device is provided, wherein the available resource information includes resource provision capability of the device or the at least one other device.

[0380] In one embodiment of the present disclosure, the information providing module is used to provide the available resource information under at least one of the following conditions:

[0381] In response to initiating a new device notification;

[0382] In response to the time length since the last time available resource information was provided being a preset time length;

[0383] In response to detecting that the available resource information exceeds a preset range.

[0384] In one embodiment of the present disclosure, the electronic device further includes a task receiving module, which is used to:

[0385] receiving a task processing request sent by at least one other device;

[0386] Execute the task sent by the other device.

[0387] In one embodiment of the present disclosure, the priority of the at least one other device is not higher than the priority of the device.

[0388] In one embodiment of the present disclosure, the electronic device further includes a priority module, configured to:

[0389] Prioritize devices based on how often they are used and / or when they are used.

[0390] In one embodiment of the present disclosure, the available resources include capabilities of the available resources, and the capabilities of the available resources include resource provision capabilities of the device or at least one other device that meets the resource availability state, and the resource provision capabilities include at least one of the computing power, processor capability and storage capacity that can be provided.

[0391] According to another aspect of the present disclosure, an electronic device is provided. Figure 6 , the electronic device comprises:

[0392] A response module 601, configured to respond to an available resource request from at least one other device;

[0393] The information sending module 602 is used to determine available resource information and send the available resource information to the at least one other device; the available resource information includes resource provision capabilities that meet the resource availability status.

[0394] In one embodiment of the present disclosure, the electronic device further includes a receiving module, which is used to:

[0395] receiving at least a portion of the pending tasks;

[0396] Execute at least part of the tasks to be processed.

[0397] In one embodiment of the present disclosure, the electronic device further includes an information providing module, which is used to:

[0398] The available resource information is provided, wherein the available resource information includes a resource provision capability that conforms to a resource availability status.

[0399] In one embodiment of the present disclosure, the information providing module is used to provide the available resource information under at least one of the following conditions:

[0400] In response to initiating a new device notification;

[0401] In response to the time length since the last time available resource information was provided being a preset time length;

[0402] In response to detecting that the available resource information exceeds a preset range.

[0403] In one embodiment of the present disclosure, the available resource information includes at least one of the following:

[0404] Can provide computing power;

[0405] Processor power;

[0406] Storage capacity.

[0407] In one embodiment of the present disclosure, the at least part of the received tasks to be processed comes from at least one other device with a higher priority.

[0408] In one embodiment of the present disclosure, the electronic device further includes a task sending module, which is used to:

[0409] Send all or part of the at least part of the tasks to be processed to a third device.

[0410] According to another aspect of the present disclosure, an electronic device is provided. Figure 7 , the electronic device comprises:

[0411] An available device information acquisition module 701 is used to acquire information of available devices capable of processing a task to be processed, wherein the task to be processed is a task of a current device and the available devices are capable of communicating with the current device;

[0412] A processing module 702 is used to select at least one of the available devices to execute at least part of the task to be processed;

[0413] The result acquisition module 703 is used to acquire the processing result of at least part of the to-be-processed tasks of the available device.

[0414] In one embodiment of the present disclosure, the information of the available devices includes at least one of the following:

[0415] the name of the available device;

[0416] Processing priorities of at least some of the tasks to be processed;

[0417] A processing capability for processing at least part of the tasks to be processed.

[0418] In one embodiment of the present disclosure, the capability of processing pending tasks includes at least one of the following:

[0419] Can provide computing power;

[0420] Processor power;

[0421] Storage capacity.

[0422] In one embodiment of the present disclosure, the electronic device further includes a result integration module, which is used to:

[0423] The processing results are integrated into the processing result output of the task to be processed.

[0424] In one embodiment of the present disclosure, the available device is within the communication coverage of the current device.

[0425] In one embodiment of the present disclosure, the processing module is used to:

[0426] At least one of the available devices is selected according to the available computing power that can be provided by the available devices to execute at least part of the tasks to be processed.

[0427] In one embodiment of the present disclosure, the information of available devices is transmitted via broadcast or on-demand mode.

[0428] According to another aspect of the present disclosure, an electronic device is provided. Figure 8 , the electronic device comprises:

[0429] An available device information sending module 801 is used to send information about available devices capable of processing a pending task, where the pending task is a task of another device and the available device can communicate with the another device;

[0430] A processing module 802, configured to execute at least part of the tasks to be processed in response to at least part of the tasks to be processed sent by the other device;

[0431] The result sending module 803 is used to send the processing result of at least part of the tasks to be processed.

[0432] In one embodiment of the present disclosure, the information of available devices is transmitted via broadcast or on-demand mode.

[0433] In one embodiment of the present disclosure, the information of the available devices includes at least one of the following:

[0434] the name of the available device;

[0435] Processing priorities of at least some of the tasks to be processed;

[0436] A processing capability for processing at least part of the tasks to be processed.

[0437] In one embodiment of the present disclosure, the capability of processing pending tasks includes at least one of the following:

[0438] Can provide computing power;

[0439] Processor power;

[0440] Storage capacity.

[0441] In one embodiment of the present disclosure, the electronic device further includes a result integration module, which is used to:

[0442] The processing results are integrated into the processing result output of the task to be processed.

[0443] In one embodiment of the present disclosure, the available device is within the communication coverage of the other device.

[0444] In one embodiment of the present disclosure, the processing module is used to:

[0445] At least part of the tasks to be processed are executed according to the computing power available from the available devices.

[0446] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the first aspects when executing the computer instructions.

[0447] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the second aspects when executing the computer instructions.

[0448] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the third aspects when executing the computer instructions.

[0449] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of the fourth aspects when executing the computer instructions.

[0450] According to another aspect of an embodiment of the present disclosure, a data processing system is provided, the data processing system comprising at least one electronic device as provided in the fifth aspect, the sixth aspect, the seventh aspect, the eighth aspect, the electronic device as described in the ninth aspect, the electronic device as described in the tenth aspect, the electronic device as described in the eleventh aspect, or the electronic device as described in the twelfth aspect.

[0451] Please refer to the attached Fig. 9 , which exemplarily shows a block diagram of the electronic device described in the ninth aspect, the tenth aspect, the eleventh aspect, and the twelfth aspect. For example, the electronic device 900 can be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0452] Please refer to Fig. 9 , the electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .

[0453] The processing component 902 generally controls the overall operation of the electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.

[0454] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0455] The power component 906 provides power to the various components of the electronic device 900. The power component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 900.

[0456] The multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0457] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the electronic device 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.

[0458] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0459] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the electronic device 900. For example, the sensor assembly 914 can detect the open / closed state of the electronic device 900, the relative positioning of components, such as the display and keypad of the electronic device 900, and the sensor assembly 914 can also detect the position change of the electronic device 900 or a component of the electronic device 900, the presence or absence of user contact with the electronic device 900, the orientation or acceleration / deceleration of the electronic device 900, and the temperature change of the electronic device 900. The sensor assembly 914 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0460] The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0461] In an exemplary embodiment, the electronic device 900 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the task processing method of the above-mentioned electronic device.

[0462] In an exemplary embodiment, the present disclosure further provides a non-transitory computer-readable storage medium including instructions, such as a memory 904 including instructions, and the instructions can be executed by a processor 920 of an electronic device 900 to complete the task processing method of the electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0463] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0464] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A task processing method, characterized in that: The method comprises: Obtaining available resources for a task to be processed, where the task to be processed is a task of a device; In response to the task to be processed, using the available resources to process the task to be processed; The device is capable of connecting to at least one other device; The available resources are provided by the device and / or the at least one other device.

2. The task processing method according to claim 1, characterized in that: The method further includes determining an execution strategy based on the available resources.

3. The task processing method according to claim 2, characterized in that: The execution strategy includes: distributing the task to be processed into at least one subtask, where the subtask is at least a part of the task to be processed.

4. The task processing method according to claim 3, characterized in that: The processing of the to-be-processed task includes: the at least one subtask is processed by the device and / or the at least one other device.

5. The task processing method according to claim 1, characterized in that: The processing of the to-be-processed task includes: the to-be-processed task is processed by the device and / or the at least one other device.

6. The task processing method according to claim 3, characterized in that: The distributing the to-be-processed task into at least one subtask includes: determining the at least one subtask according to the available resources.

7. The task processing method according to claim 6, characterized in that: The determining the at least one subtask according to the available resources comprises: The to-be-processed task is determined as the at least one subtask according to the capability of the available resources, wherein the capability of the available resources includes the resource provision capability of the device that meets the resource availability state or the resource provision capability of the at least one other device.

8. The task processing method according to claim 3 or 4, characterized in that: The processing of the pending tasks includes: According to the capabilities of available resources, the at least one subtask is distributed to the device and / or the at least one other device so that the device and / or the at least one other device processes the at least one subtask; the capabilities of the available resources include the resource provision capabilities of the device or the resource provision capabilities of the at least one other device that conform to the resource availability status.

9. The task processing method according to claim 1, characterized in that: The method further comprises: The available resource information of the device and / or the at least one other device is received, wherein the available resource information includes resource provision capability of the device.

10. The task processing method according to claim 1, characterized in that: The method further comprises: A request for available resources is sent to the at least one other device.

11. The task processing method according to claim 1, characterized in that: The using the available resources to process the to-be-processed tasks includes: Using the available resources, connecting with the at least one other device, so that the at least one other device processes the task to be processed; or Using the available resources, connecting with the at least one other device, so that the device and the at least one other device process the task to be processed; or The device in the available resources is used to execute the task to be processed.

12. The task processing method according to claim 1, characterized in that: The method further comprises: In response to a notification from the at least one other device, establishing a connection with the at least one other device; and / or A request message is received from the at least one other device, and communication with the at least one other device is established; the notification or the request message is used to indicate that the at least one other device has the ability to at least partially process the task to be processed.

13. The task processing method according to claim 1, characterized in that: The method further comprises: responding to a request for available resources from at least one other device; The available resource information of the device is acquired, and the available resource information is returned to the at least one other device, where the available resource information includes the resource provision capability of the device.

14. The task processing method according to claim 1, characterized in that: The method further comprises: Providing available resource information of the device and / or the at least one other device; the available resource information includes resource provision capability of the device or the at least one other device.

15. The task processing method according to claim 14, characterized in that: The method further comprises providing the available resource information under at least one of the following conditions: In response to initiating a new device notification; In response to the time length since the last time available resource information was provided being a preset time length; In response to detecting that the available resource information exceeds a preset range.

16. The task processing method according to claim 1, characterized in that: The method further comprises: receiving a task processing request sent by at least one other device; Execute the task sent by the other device.

17. The task processing method according to claim 1, characterized in that: The priority of the at least one other device is not higher than the priority of the device.

18. The task processing method according to claim 17, characterized in that: The method further comprises: Prioritize devices based on how often they are used and / or when they are used.

19. The task processing method according to claim 1, characterized in that: The available resources include the capabilities of the available resources, and the capabilities of the available resources include the resource provision capabilities of the device or at least one other device that meets the resource availability status, and the resource provision capabilities include at least one of the computing power, processor capability and storage capacity that can be provided.

20. A task processing method, characterized in that: The method comprises: responding to a request for available resources from at least one other device; Determine available resource information, and send the available resource information to the at least one other device; the available resource information includes a resource provision capability that conforms to a resource availability status.

21. The task processing method according to claim 20, characterized in that: The method further comprises: receiving at least a portion of the pending tasks; Execute at least part of the tasks to be processed.

22. The task processing method according to claim 20, characterized in that: The method further comprises: The available resource information is provided; the available resource information includes resource provision capabilities that are consistent with resource availability status.

23. The task processing method according to claim 22, characterized in that: The method further comprises providing the available resource information under at least one of the following conditions: In response to initiating a new device notification; In response to the time length since the last time available resource information was provided being a preset time length; In response to detecting that the available resource information exceeds a preset range.

24. The task processing method according to claim 20, characterized in that: The available resource information includes at least one of the following: Can provide computing power; Processor power; Storage capacity.

25. The task processing method according to claim 21, characterized in that: The at least part of the received tasks to be processed comes from at least one other device with a higher priority.

26. The task processing method according to claim 21, characterized in that: The method further comprises: Send all or part of the at least part of the tasks to be processed to a third device.

27. A task processing method, characterized in that: The method comprises: Acquire information of available devices capable of processing a task to be processed, wherein the task to be processed is a task of a current device, and the available devices are capable of communicating with the current device; Select at least one of the available devices to execute at least part of the tasks to be processed; Obtain processing results of at least part of the tasks to be processed of the available device.

28. The task processing method according to claim 27, characterized in that: The available device information includes at least one of the following: the name of the available device; Processing priorities of at least some of the tasks to be processed; A processing capability for processing at least part of the tasks to be processed.

29. The task processing method according to claim 27, characterized in that: The ability to process pending tasks includes at least one of the following: Can provide computing power; Processor power; Storage capacity.

30. The task processing method according to claim 27, characterized in that: The method further comprises: The processing results are integrated into the processing result output of the task to be processed.

31. The task processing method according to claim 27, characterized in that: The available device is within the communication coverage of the current device.

32. The task processing method according to claim 27, characterized in that: The selecting at least one of the available devices to execute at least part of the tasks to be processed comprises: At least one of the available devices is selected according to the available computing power that can be provided by the available devices to execute at least part of the tasks to be processed.

33. The task processing method according to claim 27, characterized in that: The information of the available devices is transmitted via broadcast or on-demand mode.

34. A task processing method, characterized in that: The method comprises: Sending information of an available device capable of processing a task to be processed, wherein the task to be processed is a task of another device, and the available device can communicate with the another device; In response to at least part of the tasks to be processed sent by the other device, executing at least part of the tasks to be processed; Sending the processing result of at least part of the tasks to be processed.

35. The task processing method according to claim 34, characterized in that: The information of available devices is transmitted via broadcast or on-demand mode.

36. The task processing method according to claim 34, characterized in that: The available device information includes at least one of the following: the name of the available device; Processing priorities of at least some of the tasks to be processed; A processing capability for processing at least part of the tasks to be processed.

37. The task processing method according to claim 34, characterized in that: The ability to process pending tasks includes at least one of the following: Can provide computing power; Processor power; Storage capacity.

38. The task processing method according to claim 34, characterized in that: The method further comprises: The processing results are integrated into the processing result output of the task to be processed.

39. The task processing method according to claim 34, characterized in that: The available device is within the communication coverage of the another device.

40. The task processing method according to claim 34, characterized in that: The step of executing at least part of the tasks to be processed in response to at least part of the tasks to be processed sent by the other device comprises: At least part of the tasks to be processed are executed according to the computing power available from the available devices.

41. An electronic device, characterized in that: The electronic device comprises: An acquisition module, used for acquiring available resources of a task to be processed, where the task to be processed is a task of a device; A processing module, configured to process the task to be processed using the available resources in response to the task to be processed; The device is capable of connecting to at least one other device; The available resources are provided by the device and / or the at least one other device.

42. The electronic device according to claim 41, characterized in that The electronic device further comprises an execution module, which is used to determine an execution strategy according to the available resources.

43. The electronic device according to claim 42, characterized in that: The execution strategy includes: distributing the task to be processed into at least one subtask, where the subtask is at least a part of the task to be processed.

44. The electronic device according to claim 43, characterized in that When the processing module is used to process the task to be processed, the at least one subtask is processed by the device and / or the at least one other device.

45. The electronic device according to claim 41, characterized in that When the processing module is used to process the task to be processed, the task to be processed is processed by the device and / or the at least one other device.

46. ​​The electronic device according to claim 43, characterized in that When the execution module is used to distribute the to-be-processed task into at least one subtask, it is used to: determine the at least one subtask according to the available resources.

47. The electronic device according to claim 46, characterized in that When the execution module is used to determine the at least one subtask according to the available resources, it is used to: The to-be-processed task is determined as the at least one subtask according to the capability of the available resources, wherein the capability of the available resources includes the resource provision capability of the device that meets the resource availability state or the resource provision capability of the at least one other device.

48. The electronic device according to claim 43 or 44, characterized in that: When the processing module is used to process the task to be processed, it is used to: According to the capabilities of available resources, the at least one subtask is distributed to the device and / or the at least one other device so that the device and / or the at least one other device processes the at least one subtask; the capabilities of the available resources include the resource provision capabilities of the device or the resource provision capabilities of the at least one other device that conform to the resource availability status.

49. The electronic device according to claim 41, characterized in that The electronic device further comprises an information receiving module, which is used for: The available resource information of the device and / or the at least one other device is received, wherein the available resource information includes resource provision capability of the device.

50. The electronic device according to claim 41, characterized in that The electronic device further comprises a request sending module, which is used for: A request for available resources is sent to the at least one other device.

51. The electronic device according to claim 41, characterized in that When the processing module is used to process the to-be-processed task using the available resources, it is used to: Using the available resources, connecting with the at least one other device, so that the at least one other device processes the task to be processed; or Using the available resources, connecting with the at least one other device, so that the device and the at least one other device process the task to be processed; or The device in the available resources is used to execute the task to be processed.

52. The electronic device according to claim 41, characterized in that The electronic device further comprises a communication module, which is used for: In response to a notification from the at least one other device, establishing a connection with the at least one other device; and / or A request message is received from the at least one other device, and communication with the at least one other device is established; the notification or the request message is used to indicate that the at least one other device has the ability to at least partially process the task to be processed.

53. The electronic device according to claim 41, characterized in that The electronic device further comprises an information sending module, which is used for: responding to a request for available resources from at least one other device; The available resource information of the device is acquired, and the available resource information is returned to the at least one other device, where the available resource information includes the resource provision capability of the device.

54. The electronic device according to claim 41, characterized in that The electronic device further comprises an information providing module, which is used for: The available resource information of the device and / or the at least one other device is provided, wherein the available resource information includes resource provision capability of the device or the at least one other device.

55. The electronic device according to claim 54, characterized in that The information providing module is used to provide the available resource information under at least one of the following conditions: In response to initiating a new device notification; In response to the time length since the last time available resource information was provided being a preset time length; In response to detecting that the available resource information exceeds a preset range.

56. The electronic device according to claim 41, characterized in that The electronic device further comprises a task receiving module, which is used for: receiving a task processing request sent by at least one other device; Execute the task sent by the other device.

57. The electronic device according to claim 41, characterized in that The priority of the at least one other device is not higher than the priority of the device.

58. The electronic device according to claim 57, characterized in that The electronic device further comprises a priority module, configured to: Prioritize devices based on how often they are used and / or when they are used.

59. The electronic device according to claim 41, characterized in that The available resources include the capabilities of the available resources, and the capabilities of the available resources include the resource provision capabilities of the device or at least one other device that meets the resource availability status, and the resource provision capabilities include at least one of the computing power, processor capability and storage capacity that can be provided.

60. An electronic device, characterized in that: The electronic device comprises: A response module, configured to respond to a request for available resources from at least one other device; The information sending module is used to determine available resource information and send the available resource information to the at least one other device; the available resource information includes resource provision capabilities that meet the resource availability status.

61. The electronic device according to claim 60, characterized in that The electronic device further comprises a receiving module, which is used for: receiving at least a portion of the pending tasks; Execute at least part of the tasks to be processed.

62. The electronic device according to claim 60, characterized in that The electronic device further comprises an information providing module, which is used for: The available resource information is provided, wherein the available resource information includes a resource provision capability that conforms to a resource availability status.

63. The electronic device according to claim 62, characterized in that: The information providing module is used to provide the available resource information under at least one of the following conditions: In response to initiating a new device notification; In response to the time length since the last time available resource information was provided being a preset time length; In response to detecting that the available resource information exceeds a preset range.

64. The electronic device according to claim 60, characterized in that The available resource information includes at least one of the following: Can provide computing power; Processor power; Storage capacity.

65. The electronic device according to claim 61, characterized in that The at least part of the received tasks to be processed comes from at least one other device with a higher priority.

66. The electronic device according to claim 61, characterized in that The electronic device further comprises a task sending module, which is used for: Send all or part of the at least part of the tasks to be processed to a third device.

67. An electronic device, characterized in that: The electronic device comprises: An available device information acquisition module is used to acquire information about available devices capable of processing a task to be processed, wherein the task to be processed is a task of a current device and the available devices are capable of communicating with the current device; A processing module, configured to select at least one of the available devices to execute at least part of the tasks to be processed; The result acquisition module is used to acquire the processing result of at least part of the tasks to be processed of the available device.

68. The electronic device according to claim 67, characterized in that The available device information includes at least one of the following: the name of the available device; Processing priorities of at least some of the tasks to be processed; A processing capability for processing at least part of the tasks to be processed.

69. The electronic device according to claim 67, characterized in that The ability to process pending tasks includes at least one of the following: Can provide computing power; Processor power; Storage capacity.

70. The electronic device according to claim 67, characterized in that The electronic device further comprises a result integration module, which is used for: The processing results are integrated into the processing result output of the task to be processed.

71. The electronic device according to claim 67, characterized in that The available device is within the communication coverage of the current device.

72. The electronic device according to claim 67, characterized in that The processing module is used for: At least one of the available devices is selected according to the available computing power that can be provided by the available devices to execute at least part of the tasks to be processed.

73. The electronic device according to claim 67, characterized in that The information of available devices is transmitted via broadcast or on-demand mode.

74. An electronic device, characterized in that: The electronic device comprises: An available device information sending module, used to send information of available devices capable of processing a pending task, wherein the pending task is a task of another device, and the available device can communicate with the another device; a processing module, configured to execute at least part of the tasks to be processed in response to at least part of the tasks to be processed sent by the other device; The result sending module is used to send the processing result of at least part of the tasks to be processed.

75. The electronic device according to claim 74, characterized in that The information of available devices is transmitted via broadcast or on-demand mode.

76. The electronic device according to claim 74, characterized in that The available device information includes at least one of the following: the name of the available device; Processing priorities of at least some of the tasks to be processed; A processing capability for processing at least part of the tasks to be processed.

77. The electronic device according to claim 74, characterized in that The ability to process pending tasks includes at least one of the following: Can provide computing power; Processor power; Storage capacity.

78. The electronic device according to claim 74, characterized in that The electronic device further comprises a result integration module, which is used for: The processing results are integrated into the processing result output of the task to be processed.

79. The electronic device according to claim 74, characterized in that The available device is within the communication coverage of the another device.

80. The electronic device according to claim 74, characterized in that The processing module is used for: At least part of the tasks to be processed are executed according to the computing power available from the available devices.

81. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method according to any one of claims 1 to 19 when executing the computer instructions.

82. An electronic device, characterized in that: The electronic device includes a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of claims 20 to 26 when executing the computer instructions.

83. An electronic device, characterized in that: The electronic device includes a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of claims 27 to 33 when executing the computer instructions.

84. An electronic device, characterized in that: The electronic device includes a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the task processing method described in any one of claims 34 to 40 when executing the computer instructions.

85. A data processing system, characterized in that: The data processing system comprises at least one electronic device as described in any one of claims 41-59, 60-66, 67-73, 74-80, an electronic device as described in claim 81, an electronic device as described in claim 82, an electronic device as described in claim 83 or an electronic device as described in claim 84.

86. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 40 is implemented.