WO2023103390A1 - Task processing method, task processing apparatus, electronic device and storage medium - Google Patents

Task processing method, task processing apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2023103390A1
WO2023103390A1 PCT/CN2022/106978 CN2022106978W WO2023103390A1 WO 2023103390 A1 WO2023103390 A1 WO 2023103390A1 CN 2022106978 W CN2022106978 W CN 2022106978W WO 2023103390 A1 WO2023103390 A1 WO 2023103390A1
Authority
WO
WIPO (PCT)
Prior art keywords
artificial intelligence
task
intelligence task
information
target
Prior art date
Application number
PCT/CN2022/106978
Other languages
French (fr)
Chinese (zh)
Inventor
褚振方
钱正宇
施恩
胡鸣人
袁正雄
李金麒
黄悦
罗阳
王国彬
Original Assignee
北京百度网讯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京百度网讯科技有限公司 filed Critical 北京百度网讯科技有限公司
Publication of WO2023103390A1 publication Critical patent/WO2023103390A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Definitions

  • the present disclosure relates to the technical field of artificial intelligence, in particular to cloud computing, computer vision and deep learning technologies. Specifically, it relates to a task processing method, a task processing device, electronic equipment, and a storage medium.
  • a complex scenario may refer to a scenario that requires the cooperation of at least one artificial intelligence task to achieve its business requirements.
  • the disclosure provides a task processing method, a task processing device, electronic equipment, and a storage medium.
  • a task processing method including: determining device scheduling information, wherein the device scheduling information includes available resource information of end-side devices and resource consumption information of at least one artificial intelligence task; according to the above Device scheduling information, determining from the server and the above-mentioned end-side devices the respective target devices for performing the above-mentioned at least one artificial intelligence task; and, controlling the respective target devices corresponding to the above-mentioned at least one artificial intelligence task, based on The artificial intelligence models and task data corresponding to the respective tasks execute at least one of the aforementioned artificial intelligence tasks.
  • a task processing apparatus including: a first determining module, configured to determine equipment scheduling information, wherein the equipment scheduling information includes available resource information of end-side equipment and at least one artificial intelligence task Respective resource consumption information; a second determining module, configured to determine from the server and the above-mentioned end-side device according to the above-mentioned device scheduling information, the respective target devices for executing the above-mentioned at least one artificial intelligence task; and, an execution module, for controlling The target devices corresponding to the at least one artificial intelligence task respectively execute the at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  • an electronic device including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor , the above-mentioned instructions are executed by the above-mentioned at least one processor, so that the above-mentioned at least one processor can execute the above-mentioned method.
  • a non-transitory computer-readable storage medium storing computer instructions, wherein the above-mentioned computer instructions are used to cause the above-mentioned computer to execute the above-mentioned method.
  • a computer program product including a computer program, which implements the above method when executed by a processor.
  • FIG. 1 schematically shows an exemplary system architecture to which a task processing method and device can be applied according to an embodiment of the present disclosure
  • FIG. 2 schematically shows a flowchart of a task processing method according to an embodiment of the present disclosure
  • Fig. 3 schematically shows an example schematic diagram of a task processing system according to an embodiment of the present disclosure
  • Fig. 4 schematically shows a block diagram of a task processing device according to an embodiment of the present disclosure.
  • Fig. 5 schematically shows a block diagram of an electronic device suitable for implementing a task processing method according to an embodiment of the present disclosure.
  • At least one artificial intelligence task to realize the business requirements of complex scenarios requires the combination of hardware devices. It can be realized by means of end-cloud collaboration. That is, part of the artificial intelligence task in at least one artificial intelligence task is performed by the device, and another part of the artificial intelligence task is performed by the server.
  • the resource information of different end-side devices is quite different. For example, for end-side devices with low computing power, it will be difficult to complete pre-assigned artificial intelligence tasks. For end-side devices with strong computing power, resources will be wasted.
  • an embodiment of the present disclosure proposes a task processing solution. That is, determine the available resource information of the end-side device and the respective resource consumption information of at least one artificial intelligence task, and determine the device scheduling information according to the available resource information and the respective resource consumption information of the at least one artificial intelligence task. According to the device scheduling information, the respective target devices for executing at least one artificial intelligence task are determined from the server and the end-side device. Control the target devices corresponding to at least one artificial intelligence task, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  • the target equipment for executing each artificial intelligence task is reasonably configured to realize the full use of end-side equipment and AI tasks on the basis of ensuring the completion of artificial intelligence tasks.
  • the resources of the server improve the resource utilization of the equipment. In addition, the robustness and adaptability of task processing operations are also improved.
  • Fig. 1 schematically shows an exemplary system architecture to which a task processing method and apparatus can be applied according to an embodiment of the present disclosure.
  • FIG. 1 is only an example of the system architecture to which the embodiments of the present disclosure can be applied, so as to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other device, system, environment or scenario.
  • a system architecture 100 may include a server 101 , an end-side device 102 and a network 103 .
  • the network 103 is used to provide a communication link medium between the server 101 and the end-side device 102 .
  • Network 104 may include various connection types, such as wired and/or wireless communication links, and the like.
  • the user can use the end-side device 102 to interact with the control device 101 and the server 101 through the network 103 to receive or send messages and the like.
  • Various communication client applications can be installed on the end-side device 102, such as knowledge reading applications, web browser applications, search applications, instant messaging tools, email clients and/or social platform software, etc. (just for example).
  • the end-side device 102 may be various electronic devices that have a display screen and support web browsing, including but not limited to smartphones, tablet computers, laptop computers, and desktop computers.
  • the end-side device 102 determines device scheduling information.
  • the device scheduling information includes available resource information of the end-side device 102 and respective resource consumption information of at least one artificial intelligence task.
  • the respective target devices for executing at least one artificial intelligence task are determined from the server 101 and the end-side device 102 .
  • Each target device is controlled to execute at least one artificial intelligence task using at least one artificial intelligence model corresponding to the target device and task data respectively corresponding to at least one artificial intelligence task.
  • the server 103 may be various types of servers that provide various services.
  • the server 103 can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical hosts and VPS services (Virtual Private Server, VPS). The management is difficult and the business scalability is weak.
  • the server 103 can also be a server of a distributed system, or a server combined with a block chain.
  • FIG. 1 the numbers of servers, end-side devices, and networks in FIG. 1 are only illustrative. According to implementation requirements, there can be any number of servers, end-side devices and networks.
  • Fig. 2 schematically shows a flowchart of a task processing method according to an embodiment of the present disclosure.
  • the method 200 includes operations S210-S230.
  • the device scheduling information includes available resource information of the end-side device and respective resource consumption information of at least one artificial intelligence task.
  • the respective target devices for executing at least one artificial intelligence task are determined from the server and the end-side device.
  • the target devices respectively corresponding to the at least one artificial intelligence task are controlled, and the at least one artificial intelligence task is executed based on the artificial intelligence model and the task data respectively corresponding to the at least one artificial intelligence task.
  • the device scheduling information may be used as a basis for determining a target device for performing an artificial intelligence task.
  • the device scheduling information may include available resource information and at least one resource consumption information.
  • the available resource information may refer to resource information that the terminal-side device can currently provide.
  • Resource consumption information may refer to resource information that needs to be consumed to perform an artificial intelligence task.
  • Resource information may include computing resource information and storage resource information.
  • the resource consumption information may be determined according to the computing resource information and storage resource information required to be consumed by the artificial intelligence model corresponding to the artificial intelligence task and the task data.
  • the computing resource information and storage resource information that the artificial intelligence model and task data need to consume can be determined according to the size of the model structure of the artificial intelligence model and the data volume of the task data.
  • the available resource information may include respective available resource information of at least one resource item.
  • the resource consumption information may include respective resource consumption information of at least one resource item.
  • the resource item may include at least one of the following: a resource item related to a CPU (Central Processing Unit, central processing unit), a resource item related to a GPU (Graphics Processing Unit, graphics processing unit), and a resource item related to memory.
  • the resource item related to the CPU may include at least one of the following: main frequency of the CPU, turbo frequency of the CPU, number of cores of the CPU, number of threads of the CPU, multi-level cache of the CPU, and thermal design power consumption of the CPU.
  • the resource item related to the GPU may include at least one of the following: a core of the GPU, a frequency of the GPU, and a capacity of the GPU.
  • the memory-related resource item may include at least one of the following: memory size and memory frequency.
  • At least one artificial intelligence task may be multiple artificial intelligence tasks in complex scenarios. There may be an association between multiple artificial intelligence tasks.
  • the artificial intelligence task may include at least one of the following: an image processing task, a text processing task, and an audio processing task.
  • the image processing task may include at least one of the following: an image recognition task, an object detection task, an image classification task, an image segmentation task, an image retrieval task, and the like.
  • the text processing task may include at least one of the following: named entity recognition task, entity relationship extraction task, and translation translation task.
  • the audio processing task may include at least one of the following: an audio recognition task, an audio classification task, and the like.
  • Complex scenarios can refer to scenarios that require the cooperation of multiple artificial intelligence tasks to achieve their business requirements. For example, complex scenes may include long shelf item layer recognition scenes or emergency rescue robot work scenes, etc.
  • the business requirements of the long shelf item layer recognition scenario may include local image, global image, local image recognition, global image recognition, shelf level recognition and item level recognition.
  • a partial image may refer to an image corresponding to a partial shelf.
  • the global image may be obtained by splicing multiple partial images.
  • multiple artificial intelligence tasks corresponding to the scene of recognizing the number of layers of long-shelf items may include image recognition tasks and object detection tasks.
  • the image recognition task and the target detection task are artificial intelligence tasks with a relationship, that is, the image recognition task is performed first, and then it is determined whether to perform the target detection task according to the recognition result of the image recognition task. For example, the image recognition task is to identify whether there is an item "toothbrush" on the shelf. If the image recognition result shows that there is an item "toothbrush", perform the target detection task to determine the position of the item "toothbrush”.
  • target devices for executing all artificial intelligence tasks can be determined from the server and the end-side device according to the device scheduling information.
  • the total resource consumption information is obtained according to the respective resource consumption information of at least one artificial intelligence task.
  • respective target devices for performing at least one artificial intelligence task are determined.
  • the target device can be controlled to execute the artificial intelligence using the artificial intelligence model and task data corresponding to the artificial intelligence task. Task.
  • the target device for executing each artificial intelligence task is rationally configured, so that on the basis of ensuring that the artificial intelligence task can be completed, Make full use of the resources of end-side devices and servers, and improve the resource utilization of devices.
  • the robustness and adaptability of task processing operations are also improved.
  • operation S220 may include the following operations.
  • total resource consumption information is obtained.
  • the end-side device is determined as a respective target device for executing at least one artificial intelligence task.
  • the respective target devices for executing at least one artificial intelligence task are determined from the server and the end-side device.
  • the sum of at least one resource consumption information can be determined to obtain the total resource consumption information. That is, for each resource item in at least one resource item, the resource consumption information corresponding to the resource item in all the resource consumption information is summed to obtain a summation result corresponding to the resource item. In this way, summation results corresponding to all resource items can be obtained. According to summation results corresponding to all resource items, total resource consumption information is obtained.
  • the available resource information corresponding to the resource item may be determined whether the available resource information corresponding to the resource item satisfies the resource consumption information.
  • the available resource information corresponding to all resource items can satisfy the resource consumption information
  • the target resource item may refer to a resource item whose available resource information can satisfy the total resource consumption information.
  • the number threshold can be configured according to actual business requirements, and is not limited here.
  • the non-target resource item may refer to any resource item in at least one resource item except the target resource item.
  • the resource items can be divided into main resource items and non-main resource items according to the importance of the resource items.
  • the importance of resource items can be determined according to the degree of influence of resource items on the execution of artificial intelligence tasks by end-side devices.
  • the main resource item may include at least one of the following: CPU main frequency, memory size, and memory frequency.
  • the end-side device may be determined as a target device for performing all artificial intelligence tasks. If it is determined that the available resource information cannot satisfy the total resource consumption information, then according to the equipment scheduling information, the target device corresponding to some of the artificial intelligence tasks in at least one artificial intelligence task can be determined as the server, and the target device corresponding to other artificial intelligence tasks can be determined as the server.
  • the device is determined as an end-side device, so that the end-side device and the server cooperate to complete all artificial intelligence tasks.
  • determining the respective target devices for executing at least one artificial intelligence task from the server and the end-side device according to the device scheduling information may include the following operations.
  • the target artificial intelligence task is an artificial intelligence task that the end-side device can perform.
  • the end-side device is determined as the target device for performing the target artificial intelligence task.
  • a server is determined as a target device for performing a first other artificial intelligence task.
  • the first other artificial intelligence task is an artificial intelligence task other than the target artificial intelligence task in at least one artificial intelligence task.
  • a target artificial intelligence task may be determined from at least one artificial intelligence task according to available resource information and respective resource consumption information of at least one artificial intelligence task. Determine the target device corresponding to the target artificial intelligence task as the end-side device. A target device corresponding to the first other artificial intelligence task is determined as a server. The first other artificial intelligence task may be any artificial intelligence task in at least one artificial intelligence task except the target artificial intelligence task.
  • the device scheduling information may further include demand priority information of at least one artificial intelligence task.
  • determining a target artificial intelligence task according to device scheduling information may include the following operations.
  • the first candidate artificial intelligence task is determined according to the demand priority information of at least one artificial intelligence task.
  • the second candidate artificial intelligence task is determined according to the available resource information of the terminal device and the resource consumption information of the first candidate artificial intelligence task. In a case where it is determined that the available resource information of the device is consistent with the resource consumption information of the second candidate artificial intelligence task, the second candidate artificial intelligence task is determined as the target artificial intelligence task. In a case where it is determined that the available resource information of the end-side device is greater than the resource consumption information of the second candidate artificial intelligence task, a third candidate artificial intelligence task is determined.
  • the third candidate artificial intelligence task is an artificial intelligence task other than the first candidate artificial intelligence task in at least one artificial intelligence task.
  • a target artificial intelligence task is determined according to the second candidate artificial intelligence task and the third candidate artificial intelligence task.
  • the requirement priority information may represent the priority of the business requirement.
  • the requirement priority information may be determined according to the urgency of the business requirement. If the urgency of the artificial intelligence task is higher, the priority of the business requirement represented by the requirement priority information is higher.
  • the urgency can be determined according to at least one of the number of times the AI task is utilized within a predetermined time period and the number of times the AI task is invoked by other AI tasks within the predetermined time period.
  • the first candidate artificial intelligence task may refer to an artificial intelligence task whose requirement priority information satisfies a predetermined priority condition.
  • at least one artificial intelligence task may be sorted according to the priority of business requirements represented by the demand priority information to obtain a ranking result, and the first candidate artificial intelligence task may be determined from the at least one artificial intelligence task according to the ranking result.
  • the sorting can be sorted according to the priority of the business needs from high to low or according to the priority of the business needs from low to high.
  • the second candidate artificial intelligence task that the end-side device can execute can be determined according to the available resource information of the end-side device and the resource consumption information of the first candidate artificial intelligence task. Task. That is, to achieve the purpose of performing artificial intelligence tasks with higher priority in business requirements by end-side devices, and improve task execution efficiency.
  • the second candidate artificial intelligence task may be determined as the target artificial intelligence task.
  • the end-side device can perform other artificial intelligence tasks in addition to the second candidate artificial intelligence task.
  • Other artificial intelligence tasks may be third candidate artificial intelligence tasks.
  • the second candidate artificial intelligence task and the third candidate artificial intelligence task may be determined as target artificial intelligence tasks.
  • operation S230 may include the following operations.
  • the association relationship may include having an association relationship and not having an association relationship.
  • a task execution sequence of at least one artificial intelligence task may be determined according to the relationship between at least one artificial intelligence task. Then, according to the task execution sequence, control the target device corresponding to at least one artificial intelligence task, and execute the artificial intelligence task corresponding to the target device.
  • the order of task execution may include parallel execution and serial execution. If there is no correlation between the artificial intelligence task and other artificial intelligence tasks, the artificial intelligence task can be executed in parallel with other artificial intelligence tasks. If there is an association relationship between the artificial intelligence task and other artificial intelligence tasks, each artificial intelligence task can be executed sequentially according to the task execution sequence determined by the association relationship.
  • the above task processing method may further include the following operations.
  • Respective execution priority information of at least one artificial intelligence task is determined.
  • determining the task execution order according to the association relationship may include the following operations.
  • the execution priority information may represent the priority of executing the artificial intelligence task.
  • the execution priority information of each artificial intelligence task in at least one artificial intelligence task may be determined according to business requirements. Then, the task execution sequence is determined according to the association relationship and at least one piece of execution priority information.
  • the artificial intelligence task can be executed first.
  • controlling the target device corresponding to at least one artificial intelligence task, and executing at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task may include the following operations.
  • each target device for executing at least one artificial intelligence task includes a cloud server
  • a task execution request is sent to the server, so that the server executes the artificial intelligence task corresponding to the server in response to receiving the task execution request.
  • the task execution request includes task information
  • the task information includes an artificial intelligence task identifier and task data corresponding to the artificial intelligence task identifier
  • the artificial intelligence task identifier is used to determine an artificial intelligence model corresponding to the artificial intelligence task identifier.
  • a task execution request may refer to a request for requesting a server to execute an artificial intelligence task. If it is determined that the target device for performing the artificial intelligence task includes a server, a task execution request may be generated. The task execution request is sent to the server, so that the server parses the task execution request in response to receiving the task execution request, and obtains task data including the artificial intelligence task identifier and corresponding to the artificial intelligence task identifier. The server determines the artificial intelligence model corresponding to the artificial intelligence task identifier according to the artificial intelligence task identifier. The server can execute the artificial intelligence task corresponding to the artificial intelligence task identifier based on the artificial intelligence model and task data corresponding to the artificial intelligence model identifier.
  • the task information included in the task execution request is obtained through encryption.
  • an encryption algorithm may be used to encrypt task information to obtain encrypted task information.
  • the encryption algorithm may include a symmetric encryption algorithm.
  • the security of data and computing logic is effectively guaranteed by encrypting the information exchanged between the terminal and the cloud.
  • the above task processing method may further include the following operations.
  • each first log information includes an execution result obtained by the terminal-side device executing an artificial intelligence task corresponding to the terminal-side device
  • each second log information includes an execution result obtained by the server executing the artificial intelligence task corresponding to the server.
  • the log information may include information related to performing an artificial intelligence task.
  • Log information may include execution results.
  • Log information may also include intermediate processing parameters and error messages.
  • the end-side device may obtain After the execution result, first log information including the execution result is generated. Then, the first log information is sent to the server, so that the server can receive at least one piece of first log information from the end-side device. If it is determined that the target device for executing the artificial intelligence task is a server, the server generates second log information including the execution result after executing the artificial intelligence task and obtaining an execution result. Thus, the server can obtain at least one piece of first log information and at least one piece of second log information. At least one piece of first log information and at least one piece of second log information may be aggregated to obtain aggregated information.
  • the server aggregates at least one first log information and at least one second log information to obtain the aggregated information, so that the complete process can be obtained based on the aggregated information later, which facilitates troubleshooting and facilitates developers for debugging and optimization.
  • each first log information is obtained through encryption processing.
  • the above task processing method may further include the following operations.
  • the processing results are analyzed to obtain extended results related to the processing results.
  • the execution results respectively corresponding to at least one artificial intelligence task include execution results processed by the server.
  • the server can send the execution result obtained by the server to execute the artificial intelligence task to the end-side device.
  • the execution results described here may be obtained through encryption.
  • the end-side device may process execution results corresponding to at least one artificial intelligence task to obtain a processing result.
  • execution results corresponding to at least one artificial intelligence task may be aggregated to obtain a processing result.
  • the processing result is analyzed to obtain the extended result related to the processing result.
  • the extended result may be obtained by inferring the processing result.
  • At least one artificial intelligence task includes an image recognition task and an object detection task.
  • the target device performs the image recognition task and the target detection task and the processing result is "there is smoke outside classroom A, and there is someone in classroom A”.
  • the extended result obtained is "There may be a fire in classroom A, and it is necessary to call the fire alarm and emergency numbers for help.”
  • the above task processing method may further include the following operations.
  • a target AI task is an AI task that demonstrates that the level satisfies a predetermined condition.
  • the display level may refer to a level of display execution results. The higher the display level, the sooner it can be displayed after the execution result is obtained. If the execution results of the target artificial intelligence task are obtained, the execution results of the target artificial intelligence task may be displayed when all or none of the execution results of other artificial intelligence tasks in at least one artificial intelligence task have been obtained.
  • the above task processing method may further include the following operations.
  • task data corresponding to an artificial intelligence task can be obtained through a data interface.
  • End-side devices can provide data interfaces to users through SDK (Software Development Kit, SDK, software tool development kit) or HTTP (HyperText Transfer Protocol, hypertext transfer protocol).
  • the server can provide the interface of relevant functions to the end-side device through HTTP or RPC (Remote Procedure Call Protocol, remote procedure call protocol), so that the end-side device can encapsulate the interface.
  • Fig. 3 schematically shows an example diagram of a task processing system according to an embodiment of the present disclosure.
  • the end-side device 300 - 1 includes a data interface unit 301 , an end-side device performance evaluation unit 302 , a device scheduling unit 303 , a data security unit 306 and an application log return unit 312 .
  • the server 300 - 2 includes a data security unit 306 and an application log aggregation unit 311 .
  • the at least one artificial intelligence task includes artificial intelligence task 304 , artificial intelligence task 305 , artificial intelligence task 307 , artificial intelligence task 308 , artificial intelligence task 309 , and artificial intelligence task 310 .
  • the end-side device 300-1 obtains the tasks corresponding to the artificial intelligence task 304, the artificial intelligence task 305, the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310 through the data interface provided by the data interface unit 301. data.
  • the device-side device performance evaluation unit 302 determines available resource information of the device-side device 300-1.
  • the device scheduling unit 303 determines the total resource consumption information according to the respective resource consumption information of the AI task 304 , the AI task 305 , the AI task 307 , the AI task 308 , the AI task 309 and the AI task 310 .
  • the device scheduling unit 303 determines that the available resource information of the device-side device 300-1 does not satisfy the total resource consumption information. According to the resource consumption information and demand priority information of the artificial intelligence task 304, the artificial intelligence task 305, the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310, it is determined to be used to execute the artificial intelligence task 304 and
  • the target device of the artificial intelligence task 305 is the end-side device 300-1. It is determined that the target device for executing the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309, and the artificial intelligence task 310 is the server 300-2.
  • the artificial intelligence task 304 and the artificial intelligence task 305 are executed serially, that is, the artificial intelligence task 304 is executed first, and then the artificial intelligence task 305 is executed.
  • the artificial intelligence task 307 , the artificial intelligence task 308 , the artificial intelligence task 309 and the artificial intelligence task 310 are executed in parallel and are all executed in parallel with the artificial intelligence task 304 and the artificial intelligence task 305 .
  • the end-side device 300-1 generates a task execution request, and the task execution request includes task information, and the task information includes the AI task identification and business information corresponding to the AI task 307, AI task 308, AI task 309, and AI task 310 respectively. data.
  • the data security unit 306 of the end-side device 300-1 encrypts the task information.
  • the end-side device 300-1 sends the task execution request to the server 300-2.
  • the data security unit 306 of the server 300-2 decrypts the task information to obtain the AI task identification and business data corresponding to the AI task 307, AI task 308, AI task 309 and AI task 310 respectively.
  • the server 300-2 determines the AI model according to the ID of the AI task. Based on the artificial intelligence models and business data corresponding to the artificial intelligence task 307, artificial intelligence task 308, artificial intelligence task 309 and artificial intelligence task 310, respectively execute the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task
  • the task 310 is to obtain execution results corresponding to the artificial intelligence task 307 , the artificial intelligence task 308 , the artificial intelligence task 309 and the artificial intelligence task 310 .
  • the end-side device 300 - 1 first executes the artificial intelligence task 304 based on the artificial intelligence model and business data corresponding to the artificial intelligence task 304 , and obtains an execution result corresponding to the artificial intelligence task 304 . Then, according to the execution result corresponding to the artificial intelligence task 304, it is determined that the artificial intelligence task 305 needs to be executed. Then, based on the artificial intelligence model and business data corresponding to the artificial intelligence task 305, the artificial intelligence task 305 is executed, and an execution result corresponding to the artificial intelligence task 305 is obtained.
  • the server 300-2 sends the execution results corresponding to the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310 to the end-side device 300-1 through the data security unit 306.
  • the end-side device 300-1 sends the first log information respectively corresponding to the artificial intelligence task 304 and the artificial intelligence task 305 to the server 300-2 through the application log return unit 312 and the data security unit 306.
  • the application log aggregation unit 311 of the server 300-2 is based on the second log information corresponding to the AI task 307, the AI task 308, the AI task 309, and the AI task 310 and the AI task 304 and the AI task 305 respectively.
  • the aggregated information is generated corresponding to the first log information.
  • the device scheduling unit 303 of the end-side device 300-1 processes the execution results corresponding to the artificial intelligence task 304, the artificial intelligence task 305, the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310, Get the processing result.
  • the processing results are analyzed to obtain extended results related to the processing results.
  • Fig. 4 schematically shows a block diagram of a task processing device according to an embodiment of the present disclosure.
  • the task processing apparatus 400 may include a first determination module 410 , a second determination module 420 and an execution module 430 .
  • the first determining module 410 is configured to determine device scheduling information.
  • the device scheduling information includes available resource information of end-side devices and resource consumption information of at least one artificial intelligence task;
  • the second determination module 420 is configured to determine the respective target devices for executing at least one artificial intelligence task from the server and the end-side device according to the device scheduling information.
  • the execution module is used to control the target device corresponding to at least one artificial intelligence task, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  • the second determining module may include a first obtaining submodule, a first determining submodule, and a second determining submodule.
  • the first obtaining submodule is configured to obtain total resource consumption information according to at least one piece of resource consumption information.
  • the first determination sub-module is configured to determine the end-side device as a respective target device for executing at least one artificial intelligence task when it is determined that the available resource information satisfies the total resource consumption information.
  • the second determining submodule is used to determine the respective target devices for executing at least one artificial intelligence task from the server and the end-side device according to the device scheduling information when it is determined that the available resource information does not satisfy the total resource consumption information.
  • the second determination module may include a third determination submodule, a fourth determination submodule, and a fifth determination submodule.
  • the third determination sub-module is configured to determine the target artificial intelligence task according to the device scheduling information, wherein the target artificial intelligence task is an artificial intelligence task that can be performed by the terminal device.
  • the fourth determining submodule is used to determine the end-side device as the target device for performing the target artificial intelligence task.
  • the fifth determination sub-module is used to determine the server as the target device for performing the first other artificial intelligence task, wherein the first other artificial intelligence task is an artificial intelligence task other than the target artificial intelligence task in at least one artificial intelligence task .
  • the device scheduling information further includes demand priority information of at least one artificial intelligence task.
  • the third determination submodule may include a first determination unit, a second determination unit, a third determination unit, a fourth determination unit, and a fifth determination unit.
  • the first determining unit is configured to determine a first candidate artificial intelligence task according to the demand priority information of at least one artificial intelligence task.
  • the second determining unit is configured to determine a second candidate artificial intelligence task according to available resource information of the device on the device and resource consumption information of the first candidate artificial intelligence task.
  • the third determining unit is configured to determine the second candidate artificial intelligence task as the target artificial intelligence task when it is determined that the available resource information of the device is consistent with the resource consumption information of the second candidate artificial intelligence task.
  • the fourth determining unit is configured to determine a third candidate artificial intelligence task when it is determined that the available resource information of the end-side device is greater than the resource consumption information of the second candidate artificial intelligence task, wherein the third candidate artificial intelligence task is at least one Artificial intelligence tasks other than the first candidate artificial intelligence task in the artificial intelligence task.
  • the fifth determination unit is configured to determine the target artificial intelligence task according to the second candidate artificial intelligence task and the third candidate artificial intelligence task.
  • the executing module may include a sixth determining submodule, a seventh determining submodule, and an executing submodule.
  • the sixth determining submodule is used to determine the relationship between at least one artificial intelligence task.
  • the seventh determination sub-module is used to determine the task execution sequence according to the association relationship.
  • the execution sub-module is used to control the target device corresponding to at least one artificial intelligence task according to the order of task execution, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  • the task processing apparatus 400 may further include a third determining module.
  • the third determination module is used to determine the respective execution priority information of at least one artificial intelligence task.
  • the seventh determining submodule may include a sixth determining unit.
  • the sixth determination unit is configured to determine the task execution order according to the association relationship and at least one piece of execution priority information.
  • the executing module may include an eighth determining submodule.
  • the eighth determination submodule is used to send a task execution request to the server when it is determined that the respective target devices for executing at least one artificial intelligence task include a cloud server, so that the server executes the task corresponding to the server in response to receiving the task execution request.
  • artificial intelligence tasks The task execution request includes task information, and the task information includes an artificial intelligence task identifier and task data corresponding to the artificial intelligence task identifier, and the artificial intelligence task identifier is used to determine an artificial intelligence model corresponding to the artificial intelligence task identifier.
  • the task information included in the task execution request is obtained through encryption.
  • the task processing apparatus 400 may further include a fourth determining module.
  • the fourth determination module is configured to send at least one first log information to the server when it is determined that the respective target devices for performing at least one artificial intelligence task also include end-side devices, so that the server can compare the at least one first log information and At least one piece of second log information is aggregated to obtain aggregated information.
  • Each first log information includes an execution result obtained by the terminal-side device executing an artificial intelligence task corresponding to the terminal-side device
  • each second log information includes an execution result obtained by the server executing the artificial intelligence task corresponding to the server.
  • the task processing apparatus 400 may further include a processing module and an analysis module.
  • the processing module is configured to process the execution results corresponding to at least one artificial intelligence task to obtain the processing results.
  • the analysis module is used to analyze the processing results and obtain extended results related to the processing results.
  • the task processing apparatus 400 may further include a presentation module.
  • the display module is configured to display the execution result of the target artificial intelligence task when it is determined that the execution result of the target artificial intelligence task is obtained, wherein the target artificial intelligence task is an artificial intelligence task whose display level satisfies a predetermined condition.
  • the task processing apparatus 400 may further include a calling module and an obtaining module.
  • the calling module is used to call the data interface.
  • An acquisition module configured to acquire task data corresponding to at least one artificial intelligence task by using a data interface.
  • the user's authorization or consent is obtained.
  • the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
  • an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by at least one processor, and the instructions are processed by at least one The processor is executed, so that at least one processor can perform the method as described above.
  • non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method as described above.
  • a computer program product includes a computer program, and the computer program implements the method as described above when executed by a processor.
  • Fig. 5 schematically shows a block diagram of an electronic device suitable for implementing a task processing method according to an embodiment of the present disclosure.
  • Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • an electronic device 500 includes a computing unit 501, which can perform calculations according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. Various appropriate actions and processes are performed. In the RAM 503, various programs and data necessary for the operation of the electronic device 500 can also be stored.
  • the computing unit 501, ROM 502, and RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also connected to the bus 504 .
  • the I/O interface 505 includes: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 509 allows the electronic device 500 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 501 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 501 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc.
  • the computing unit 501 executes various methods and processes described above, such as task processing methods.
  • the task processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 508 .
  • part or all of the computer program can be loaded and/or installed on the electronic device 500 via the ROM 502 and/or the communication unit 509.
  • the computer program When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the task processing method described above can be performed.
  • the computing unit 501 may be configured to execute the task processing method in any other suitable manner (for example, by means of firmware).
  • Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), complex programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOC system of systems
  • CPLD complex programmable logic device
  • computer hardware firmware, software, and/or combinations thereof.
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer.
  • a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or a trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
  • steps may be reordered, added or deleted using the various forms of flow shown above.
  • each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to the technical field of artificial intelligence, and in particular relate to cloud computing, computer vision and deep learning technologies. Provided are a task processing method, a task processing apparatus, an electronic device and a storage medium. A specific implementation solution comprises: determining device scheduling information, wherein the device scheduling information comprises available resource information of an end-side device and respective resource consumption information of at least one artificial intelligence task; according to the device scheduling information, determining from a server and the end-side device a respective target device for executing the at least one artificial intelligence task; and controlling the target device respectively corresponding to the at least one artificial intelligence task to execute the at least one artificial intelligence task on the basis of an artificial intelligence model and task data which respectively correspond to the at least one artificial intelligence task.

Description

任务处理方法、任务处理装置、电子设备以及存储介质Task processing method, task processing device, electronic device, and storage medium
本申请要求于2021年12月7日递交的中国专利申请No.202111487774.8的优先权,其内容一并在此作为参考。This application claims the priority of Chinese Patent Application No. 202111487774.8 submitted on December 7, 2021, the contents of which are hereby incorporated by reference.
技术领域technical field
本公开涉及人工智能技术领域,尤其涉及云计算、计算机视觉和深度学习技术。具体地,涉及一种任务处理方法、任务处理装置、电子设备以及存储介质。The present disclosure relates to the technical field of artificial intelligence, in particular to cloud computing, computer vision and deep learning technologies. Specifically, it relates to a task processing method, a task processing device, electronic equipment, and a storage medium.
背景技术Background technique
随着人工智能技术的不断发展,实现了在越来越多的领域的应用落地。复杂场景对人工智能技术提出了挑战。复杂场景可以指需要通过至少一个人工智能任务配合来实现其业务需求的场景。With the continuous development of artificial intelligence technology, it has been applied in more and more fields. Complex scenes pose challenges to artificial intelligence technology. A complex scenario may refer to a scenario that requires the cooperation of at least one artificial intelligence task to achieve its business requirements.
发明内容Contents of the invention
本公开提供了一种任务处理方法、任务处理装置、电子设备以及存储介质。The disclosure provides a task processing method, a task processing device, electronic equipment, and a storage medium.
根据本公开的一方面,提供了一种任务处理方法,包括:确定设备调度信息,其中,上述设备调度信息包括端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息;根据上述设备调度信息,从服务器和上述端侧设备中确定用于执行上述至少一个人工智能任务各自的目标设备;以及,控制与上述至少一个人工智能任务各自对应的目标设备,基于与上述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行上述至少一个人工智能任务。According to an aspect of the present disclosure, a task processing method is provided, including: determining device scheduling information, wherein the device scheduling information includes available resource information of end-side devices and resource consumption information of at least one artificial intelligence task; according to the above Device scheduling information, determining from the server and the above-mentioned end-side devices the respective target devices for performing the above-mentioned at least one artificial intelligence task; and, controlling the respective target devices corresponding to the above-mentioned at least one artificial intelligence task, based on The artificial intelligence models and task data corresponding to the respective tasks execute at least one of the aforementioned artificial intelligence tasks.
根据本公开的另一方面,提供了一种任务处理装置,包括:第一确定模块,用于确定设备调度信息,其中,上述设备调度信息包括端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息;第二确定模块,用于根据上述设备调度信息,从服务器和上述端侧设备中确定用于执行上述至少一个人工智能任务各自的目标设备;以及,执行模块,用于控 制与上述至少一个人工智能任务各自对应的目标设备,基于与上述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行上述至少一个人工智能任务。According to another aspect of the present disclosure, a task processing apparatus is provided, including: a first determining module, configured to determine equipment scheduling information, wherein the equipment scheduling information includes available resource information of end-side equipment and at least one artificial intelligence task Respective resource consumption information; a second determining module, configured to determine from the server and the above-mentioned end-side device according to the above-mentioned device scheduling information, the respective target devices for executing the above-mentioned at least one artificial intelligence task; and, an execution module, for controlling The target devices corresponding to the at least one artificial intelligence task respectively execute the at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
根据本公开的另一方面,提供了一种电子设备,包括:至少一个处理器;以及与上述至少一个处理器通信连接的存储器;其中,上述存储器存储有可被上述至少一个处理器执行的指令,上述指令被上述至少一个处理器执行,以使上述至少一个处理器能够执行如上所述的方法。According to another aspect of the present disclosure, an electronic device is provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor , the above-mentioned instructions are executed by the above-mentioned at least one processor, so that the above-mentioned at least one processor can execute the above-mentioned method.
根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,上述计算机指令用于使上述计算机执行如上所述的方法。According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the above-mentioned computer instructions are used to cause the above-mentioned computer to execute the above-mentioned method.
根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序,上述计算机程序在被处理器执行时实现如上所述的方法。According to another aspect of the present disclosure, there is provided a computer program product, including a computer program, which implements the above method when executed by a processor.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used to better understand the present solution, and do not constitute a limitation to the present disclosure. in:
图1示意性示出了根据本公开实施例的可以应用任务处理方法及装置的示例性系统架构;FIG. 1 schematically shows an exemplary system architecture to which a task processing method and device can be applied according to an embodiment of the present disclosure;
图2示意性示出了根据本公开实施例的任务处理方法的流程图;FIG. 2 schematically shows a flowchart of a task processing method according to an embodiment of the present disclosure;
图3示意性示出了根据本公开实施例的任务处理系统的示例示意性图;Fig. 3 schematically shows an example schematic diagram of a task processing system according to an embodiment of the present disclosure;
图4示意性示出了根据本公开实施例的任务处理装置的框图;以及Fig. 4 schematically shows a block diagram of a task processing device according to an embodiment of the present disclosure; and
图5示意性示出了根据本公开实施例的适于实现任务处理方法的电子设备的框图。Fig. 5 schematically shows a block diagram of an electronic device suitable for implementing a task processing method according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和 修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
利用至少一个人工智能任务的配合来实现复杂场景的业务需求,需要结合硬件设备。可以利用端云协同的方式来实现。即,至少一个人工智能任务中的部分人工智能任务由端侧设备来执行,另一部分人工智能任务由服务器来执行。不同端侧设备的资源信息存在较大差异。例如,针对算力能力较低的端侧设备,将难以完成预先分配好的人工智能任务。针对算力能力较强的端侧设备,将会造成资源浪费。Using the cooperation of at least one artificial intelligence task to realize the business requirements of complex scenarios requires the combination of hardware devices. It can be realized by means of end-cloud collaboration. That is, part of the artificial intelligence task in at least one artificial intelligence task is performed by the device, and another part of the artificial intelligence task is performed by the server. The resource information of different end-side devices is quite different. For example, for end-side devices with low computing power, it will be difficult to complete pre-assigned artificial intelligence tasks. For end-side devices with strong computing power, resources will be wasted.
为此,本公开实施例提出了一种任务处理方案。即,确定端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息,根据可用资源信息和至少一个人工智能任务各自的资源消耗信息,确定设备调度信息。根据设备调度信息,从服务器和端侧设备中确定用于执行至少一个人工智能任务各自的目标设备。控制与至少一个人工智能任务各自对应的目标设备,基于与至少一个人工智能任务各自对应的人工智能模型和任务数据,执行至少一个人工智能任务。To this end, an embodiment of the present disclosure proposes a task processing solution. That is, determine the available resource information of the end-side device and the respective resource consumption information of at least one artificial intelligence task, and determine the device scheduling information according to the available resource information and the respective resource consumption information of the at least one artificial intelligence task. According to the device scheduling information, the respective target devices for executing at least one artificial intelligence task are determined from the server and the end-side device. Control the target devices corresponding to at least one artificial intelligence task, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
上述基于端侧设备的资源信息和每个人工智能任务的资源消耗信息来合理配置执行每个人工智能任务的目标设备,实现了在保证人工智能任务能够完成的基础上,充分利用端侧设备和服务器的资源,提高了设备的资源利用率。此外,也提高了任务处理操作的鲁棒性和适配性。Based on the resource information of the end-side equipment and the resource consumption information of each artificial intelligence task, the target equipment for executing each artificial intelligence task is reasonably configured to realize the full use of end-side equipment and AI tasks on the basis of ensuring the completion of artificial intelligence tasks. The resources of the server improve the resource utilization of the equipment. In addition, the robustness and adaptability of task processing operations are also improved.
图1示意性示出了根据本公开实施例的可以应用任务处理方法及装置的示例性系统架构。Fig. 1 schematically shows an exemplary system architecture to which a task processing method and apparatus can be applied according to an embodiment of the present disclosure.
需要注意的是,图1所示仅为可以应用本公开实施例的系统架构的示例,以帮助本领域技术人员理解本公开的技术内容,但并不意味着本公开实施例不可以用于其他设备、系统、环境或场景。It should be noted that, what is shown in FIG. 1 is only an example of the system architecture to which the embodiments of the present disclosure can be applied, so as to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other device, system, environment or scenario.
如图1所示,根据该实施例的系统架构100可以包括服务器101、端侧设备102和网络103。网络103用以在服务器101和端侧设备102之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线和/或无线通信链路等。As shown in FIG. 1 , a system architecture 100 according to this embodiment may include a server 101 , an end-side device 102 and a network 103 . The network 103 is used to provide a communication link medium between the server 101 and the end-side device 102 . Network 104 may include various connection types, such as wired and/or wireless communication links, and the like.
用户可以使用端侧设备102通过网络103与控制设备101和服务器101交互,以接收或发送消息等。端侧设备102上可以安装有各种通讯客 户端应用,例如知识阅读类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端和/或社交平台软件等(仅为示例)。The user can use the end-side device 102 to interact with the control device 101 and the server 101 through the network 103 to receive or send messages and the like. Various communication client applications can be installed on the end-side device 102, such as knowledge reading applications, web browser applications, search applications, instant messaging tools, email clients and/or social platform software, etc. (just for example).
端侧设备102可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等。The end-side device 102 may be various electronic devices that have a display screen and support web browsing, including but not limited to smartphones, tablet computers, laptop computers, and desktop computers.
例如,端侧设备102确定设备调度信息。设备调度信息包括端侧设备102的可用资源信息和至少一个人工智能任务各自的资源消耗信息。根据设备调度信息,从服务器101和端侧设备102中确定用于执行至少一个人工智能任务各自的目标设备。控制每个目标设备利用与目标设备对应的至少一个人工智能模型和与至少一个人工智能任务各自对应的任务数据执行至少一个人工智能任务。For example, the end-side device 102 determines device scheduling information. The device scheduling information includes available resource information of the end-side device 102 and respective resource consumption information of at least one artificial intelligence task. According to the device scheduling information, the respective target devices for executing at least one artificial intelligence task are determined from the server 101 and the end-side device 102 . Each target device is controlled to execute at least one artificial intelligence task using at least one artificial intelligence model corresponding to the target device and task data respectively corresponding to at least one artificial intelligence task.
服务器103可以是提供各种服务的各种类型的服务器。例如,服务器103可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务(Virtual Private Server,VPS)中,存在的管理难度大,业务扩展性弱的缺陷。服务器103也可以为分布式系统的服务器,或者是结合了区块链的服务器。The server 103 may be various types of servers that provide various services. For example, the server 103 can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical hosts and VPS services (Virtual Private Server, VPS). The management is difficult and the business scalability is weak. The server 103 can also be a server of a distributed system, or a server combined with a block chain.
应该理解,图1中的服务器、端侧设备和网络的数目仅仅是示意性的。根据实现需要,可以具有任意数目的服务器、端侧设备和网络。It should be understood that the numbers of servers, end-side devices, and networks in FIG. 1 are only illustrative. According to implementation requirements, there can be any number of servers, end-side devices and networks.
图2示意性示出了根据本公开实施例的任务处理方法的流程图。Fig. 2 schematically shows a flowchart of a task processing method according to an embodiment of the present disclosure.
如图2所示,该方法200包括操作S210~S230。As shown in FIG. 2, the method 200 includes operations S210-S230.
在操作S210,确定设备调度信息。设备调度信息包括端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息。In operation S210, device scheduling information is determined. The device scheduling information includes available resource information of the end-side device and respective resource consumption information of at least one artificial intelligence task.
在操作S220,根据设备调度信息,从服务器和端侧设备中确定用于执行至少一个人工智能任务各自的目标设备。In operation S220, according to the device scheduling information, the respective target devices for executing at least one artificial intelligence task are determined from the server and the end-side device.
在操作S230,控制与至少一个人工智能任务各自对应的目标设备,基于与至少一个人工智能任务各自对应的人工智能模型和任务数据,执行至少一个人工智能任务。In operation S230, the target devices respectively corresponding to the at least one artificial intelligence task are controlled, and the at least one artificial intelligence task is executed based on the artificial intelligence model and the task data respectively corresponding to the at least one artificial intelligence task.
根据本公开的实施例,设备调度信息可以用于确定执行人工智能任务的目标设备的依据。设备调度信息可以包括可用资源信息和至少一个资源消耗信息。可用资源信息可以指端侧设备当前能够提供的资源信息。资源消耗信息可以指执行人工智能任务需要消耗的资源信息。资源信息可以包 括计算资源信息和存储资源信息。例如,资源消耗信息可以根据与人工智能任务对应的人工智能模型和任务数据需要消耗的计算资源信息和存储资源信息来确定。人工智能模型和任务数据需要消耗的计算资源信息和存储资源信息可以根据人工智能模型的模型结构的大小和任务数据的数据量大小确定。According to an embodiment of the present disclosure, the device scheduling information may be used as a basis for determining a target device for performing an artificial intelligence task. The device scheduling information may include available resource information and at least one resource consumption information. The available resource information may refer to resource information that the terminal-side device can currently provide. Resource consumption information may refer to resource information that needs to be consumed to perform an artificial intelligence task. Resource information may include computing resource information and storage resource information. For example, the resource consumption information may be determined according to the computing resource information and storage resource information required to be consumed by the artificial intelligence model corresponding to the artificial intelligence task and the task data. The computing resource information and storage resource information that the artificial intelligence model and task data need to consume can be determined according to the size of the model structure of the artificial intelligence model and the data volume of the task data.
根据本公开的实施例,可用资源信息可以包括至少一个资源项各自的可用资源信息。资源消耗信息可以包括至少一个资源项各自的资源消耗信息。资源项可以包括以下至少一项:与CPU(Central Processing Unit,中央处理器)相关的资源项、与GPU(Graphics Processing Unit,图形处理器)相关的资源项和与内存相关的资源项。与CPU相关的资源项可以包括以下至少一项:CPU的主频、CPU的睿频、CPU的核心数、CPU的线程数、CPU的多级缓存和CPU的热设计功耗。与GPU相关的资源项可以包括以下至少一项:GPU的核心、GPU的频率和GPU容量。与内存相关的资源项可以包括以下至少一项:内存的大小和内存的频率。According to an embodiment of the present disclosure, the available resource information may include respective available resource information of at least one resource item. The resource consumption information may include respective resource consumption information of at least one resource item. The resource item may include at least one of the following: a resource item related to a CPU (Central Processing Unit, central processing unit), a resource item related to a GPU (Graphics Processing Unit, graphics processing unit), and a resource item related to memory. The resource item related to the CPU may include at least one of the following: main frequency of the CPU, turbo frequency of the CPU, number of cores of the CPU, number of threads of the CPU, multi-level cache of the CPU, and thermal design power consumption of the CPU. The resource item related to the GPU may include at least one of the following: a core of the GPU, a frequency of the GPU, and a capacity of the GPU. The memory-related resource item may include at least one of the following: memory size and memory frequency.
根据本公开的实施例,至少一个人工智能任务可以是复杂场景下的多个人工智能任务。多个人工智能任务之间可以具有关联关系。人工智能任务可以包括以下至少一项:图像处理任务、文本处理任务和音频处理任务。图像处理任务可以包括以下至少一项:图像识别任务、目标检测任务、图像分类任务、图像分割任务和图像检索任务等。文本处理任务可以包括以下至少一项:命名实体识别任务、实体关系抽取任务和译文翻译任务等。音频处理任务可以包括以下至少一项:音频识别任务和音频分类任务等。复杂场景可以指需要通过多个人工智能任务配合来实现其业务需求的场景。例如,复杂场景可以包括长货架物品层数识别场景或应急救援机器人工作场景等。According to an embodiment of the present disclosure, at least one artificial intelligence task may be multiple artificial intelligence tasks in complex scenarios. There may be an association between multiple artificial intelligence tasks. The artificial intelligence task may include at least one of the following: an image processing task, a text processing task, and an audio processing task. The image processing task may include at least one of the following: an image recognition task, an object detection task, an image classification task, an image segmentation task, an image retrieval task, and the like. The text processing task may include at least one of the following: named entity recognition task, entity relationship extraction task, and translation translation task. The audio processing task may include at least one of the following: an audio recognition task, an audio classification task, and the like. Complex scenarios can refer to scenarios that require the cooperation of multiple artificial intelligence tasks to achieve their business requirements. For example, complex scenes may include long shelf item layer recognition scenes or emergency rescue robot work scenes, etc.
例如,以长货架物品层数识别场景为例,长货架物品层数识别场景的业务需求可以包括局部图像、全局图像、局部图像识别、全局图像识别、货架层次识别和物品所在层次识别。局部图像可以指与局部货架对应的图像。全局图像可以是将多个局部图像进行拼接得到的。相应的,与长货架物品层数识别场景对应的多个人工智能任务可以包括图像识别任务和目标检测任务。图像识别任务和目标检测任务是具有关联关系的人工智能任 务,即,先执行图像识别任务,再根据图像识别任务的识别结果确定是否执行目标检测任务。例如,图像识别任务是识别货架上是否存在物品“牙刷”,在图像识别结果为存在物品“牙刷”的情况下,执行目标检测任务,确定物品“牙刷”的位置。For example, taking the long shelf item layer recognition scenario as an example, the business requirements of the long shelf item layer recognition scenario may include local image, global image, local image recognition, global image recognition, shelf level recognition and item level recognition. A partial image may refer to an image corresponding to a partial shelf. The global image may be obtained by splicing multiple partial images. Correspondingly, multiple artificial intelligence tasks corresponding to the scene of recognizing the number of layers of long-shelf items may include image recognition tasks and object detection tasks. The image recognition task and the target detection task are artificial intelligence tasks with a relationship, that is, the image recognition task is performed first, and then it is determined whether to perform the target detection task according to the recognition result of the image recognition task. For example, the image recognition task is to identify whether there is an item "toothbrush" on the shelf. If the image recognition result shows that there is an item "toothbrush", perform the target detection task to determine the position of the item "toothbrush".
根据本公开的实施例,在获得设备调度信息之后,可以根据设备调度信息,从服务器和端侧设备中确定用于执行全部人工智能任务各自的目标设备。例如,根据至少一个人工智能任务各自的资源消耗信息,得到总资源消耗信息。根据可用资源信息和总资源消耗信息,确定用于执行至少一个人工智能任务各自的目标设备。According to an embodiment of the present disclosure, after the device scheduling information is obtained, target devices for executing all artificial intelligence tasks can be determined from the server and the end-side device according to the device scheduling information. For example, the total resource consumption information is obtained according to the respective resource consumption information of at least one artificial intelligence task. According to the available resource information and the total resource consumption information, respective target devices for performing at least one artificial intelligence task are determined.
根据本公开的实施例,针对每个人工智能任务,在确定用于执行该人工智能任务的目标设备之后,可以控制目标设备利用与该人工智能任务对应的人工智能模型和任务数据执行该人工智能任务。According to an embodiment of the present disclosure, for each artificial intelligence task, after determining the target device for executing the artificial intelligence task, the target device can be controlled to execute the artificial intelligence using the artificial intelligence model and task data corresponding to the artificial intelligence task. Task.
根据本公开的实施例,基于端侧设备的资源信息和每个人工智能任务的资源消耗信息来合理配置执行每个人工智能任务的目标设备,实现了在保证人工智能任务能够完成的基础上,充分利用端侧设备和服务器的资源,提高了设备的资源利用率。此外,也提高了任务处理操作的鲁棒性和适配性。According to the embodiments of the present disclosure, based on the resource information of the end-side device and the resource consumption information of each artificial intelligence task, the target device for executing each artificial intelligence task is rationally configured, so that on the basis of ensuring that the artificial intelligence task can be completed, Make full use of the resources of end-side devices and servers, and improve the resource utilization of devices. In addition, the robustness and adaptability of task processing operations are also improved.
根据本公开的实施例,操作S220可以包括如下操作。According to an embodiment of the present disclosure, operation S220 may include the following operations.
根据至少一个资源消耗信息,得到总资源消耗信息。在确定可用资源信息满足总资源消耗信息的情况下,将端侧设备确定为用于执行至少一个人工智能任务各自的目标设备。在确定可用资源信息不满足总资源消耗信息的情况下,根据设备调度信息,从服务器和端侧设备中确定用于执行至少一个人工智能任务各自的目标设备。According to at least one piece of resource consumption information, total resource consumption information is obtained. In a case where it is determined that the available resource information satisfies the total resource consumption information, the end-side device is determined as a respective target device for executing at least one artificial intelligence task. In a case where it is determined that the available resource information does not meet the total resource consumption information, according to the device scheduling information, the respective target devices for executing at least one artificial intelligence task are determined from the server and the end-side device.
根据本公开的实施例,可以确定至少一个资源消耗信息之和,得到总资源消耗信息。即,针对至少一个资源项中的每个资源项,将全部资源消耗信息中与该资源项对应的资源消耗信息进行求和,得到与该资源项对应的求和结果。由此可以得到与全部资源项各自对应的求和结果。根据与全部资源项各自对应的求和结果,得到总资源消耗信息。According to an embodiment of the present disclosure, the sum of at least one resource consumption information can be determined to obtain the total resource consumption information. That is, for each resource item in at least one resource item, the resource consumption information corresponding to the resource item in all the resource consumption information is summed to obtain a summation result corresponding to the resource item. In this way, summation results corresponding to all resource items can be obtained. According to summation results corresponding to all resource items, total resource consumption information is obtained.
根据本公开的实施例,在获得总资源消耗信息之后,可以针对至少一个资源项中的每个资源项,确定与该资源项对应的可用资源信息是否满足 资源消耗信息。According to an embodiment of the present disclosure, after obtaining the total resource consumption information, for each resource item in at least one resource item, it may be determined whether the available resource information corresponding to the resource item satisfies the resource consumption information.
例如,如果确定全部资源项各自对应的可用资源信息均可以满足资源消耗信息,则可以确定可用资源信息能够满足总资源消耗信息。如果确定部分资源项或全部资源项各自对应的可用资源信息不能够满足资源消耗信息,则可以确定可用资源信息不能够满足总资源消耗信息。For example, if it is determined that the available resource information corresponding to all resource items can satisfy the resource consumption information, it can be determined that the available resource information can satisfy the total resource consumption information. If it is determined that the available resource information corresponding to some or all resource items cannot satisfy the resource consumption information, it may be determined that the available resource information cannot satisfy the total resource consumption information.
例如,如果确定目标资源项的数目大于或等于数目阈值,则可以确定可用资源信息能够满足总资源消耗信息。如果确定目标资源项的数目小于数目阈值,则可以确定可用资源信息不能够满足总资源消耗信息。目标资源项可以指可用资源信息能够满足总资源消耗信息的资源项。数目阈值可以根据实际业务需求进行配置,在此不作限定。For example, if it is determined that the number of target resource items is greater than or equal to the number threshold, it may be determined that the available resource information can satisfy the total resource consumption information. If it is determined that the number of target resource items is less than the number threshold, it may be determined that the available resource information cannot satisfy the total resource consumption information. The target resource item may refer to a resource item whose available resource information can satisfy the total resource consumption information. The number threshold can be configured according to actual business requirements, and is not limited here.
例如,如果确定目标资源项的数目小于数目阈值且非目标资源项是非主要资源项,则可以确定可用资源信息能够满足总资源消耗信息。非目标资源项可以指至少一个资源项中除目标资源项以外的任意一个资源项。可以根据资源项的重要程度,将资源项划分为主要资源项和非主要资源项。资源项的重要程度可以根据资源项对端侧设备执行人工智能任务的影响程度确定。例如,主要资源项可以包括以下至少一项:CPU的主频、内存的大小和内存的频率。For example, if it is determined that the number of target resource items is less than the number threshold and the non-target resource items are non-main resource items, it may be determined that the available resource information can satisfy the total resource consumption information. The non-target resource item may refer to any resource item in at least one resource item except the target resource item. The resource items can be divided into main resource items and non-main resource items according to the importance of the resource items. The importance of resource items can be determined according to the degree of influence of resource items on the execution of artificial intelligence tasks by end-side devices. For example, the main resource item may include at least one of the following: CPU main frequency, memory size, and memory frequency.
根据本公开的实施例,如果确定可用资源信息能够满足总资源消耗信息,则可以将端侧设备确定为用于执行全部人工智能任务的目标设备。如果确定可用资源信息不能够满足总资源消耗信息,则可以根据设备调度信息,将与至少一个人工智能任务中的部分人工智能任务对应的目标设备确定为服务器,将与其他人工智能任务对应的目标设备确定为端侧设备,以便端侧设备和服务器共同配合来完成全部人工智能任务。According to an embodiment of the present disclosure, if it is determined that the available resource information can satisfy the total resource consumption information, then the end-side device may be determined as a target device for performing all artificial intelligence tasks. If it is determined that the available resource information cannot satisfy the total resource consumption information, then according to the equipment scheduling information, the target device corresponding to some of the artificial intelligence tasks in at least one artificial intelligence task can be determined as the server, and the target device corresponding to other artificial intelligence tasks can be determined as the server. The device is determined as an end-side device, so that the end-side device and the server cooperate to complete all artificial intelligence tasks.
根据本公开的实施例,根据设备调度信息,从服务器和端侧设备中确定用于执行至少一个人工智能任务各自的目标设备,可以包括如下操作。According to an embodiment of the present disclosure, determining the respective target devices for executing at least one artificial intelligence task from the server and the end-side device according to the device scheduling information may include the following operations.
根据设备调度信息,确定目标人工智能任务。目标人工智能任务是端侧设备能够执行的人工智能任务。将端侧设备确定为用于执行目标人工智能任务的目标设备。将服务器确定为用于执行第一其他人工智能任务的目标设备。第一其他人工智能任务是至少一个人工智能任务中除目标人工智能任务以外的人工智能任务。Determine the target artificial intelligence task according to the equipment scheduling information. The target artificial intelligence task is an artificial intelligence task that the end-side device can perform. The end-side device is determined as the target device for performing the target artificial intelligence task. A server is determined as a target device for performing a first other artificial intelligence task. The first other artificial intelligence task is an artificial intelligence task other than the target artificial intelligence task in at least one artificial intelligence task.
根据本公开的实施例,可以根据可用资源信息和至少一个人工智能任务各自的资源消耗信息,从至少一个人工智能任务中确定目标人工智能任务。将与目标人工智能任务对应的目标设备确定为端侧设备。将与第一其他人工智能任务对应的目标设备确定为服务器。第一其他人工智能任务可以是至少一个人工智能任务中除目标人工智能任务以外的任意一个人工智能任务。According to an embodiment of the present disclosure, a target artificial intelligence task may be determined from at least one artificial intelligence task according to available resource information and respective resource consumption information of at least one artificial intelligence task. Determine the target device corresponding to the target artificial intelligence task as the end-side device. A target device corresponding to the first other artificial intelligence task is determined as a server. The first other artificial intelligence task may be any artificial intelligence task in at least one artificial intelligence task except the target artificial intelligence task.
根据本公开的实施例,设备调度信息还可以包括至少一个人工智能任务各自的需求优先级信息。According to an embodiment of the present disclosure, the device scheduling information may further include demand priority information of at least one artificial intelligence task.
根据本公开的实施例,根据设备调度信息,确定目标人工智能任务,可以包括如下操作。According to an embodiment of the present disclosure, determining a target artificial intelligence task according to device scheduling information may include the following operations.
根据至少一个人工智能任务各自的需求优先级信息,确定第一候选人工智能任务。根据端侧设备的可用资源信息和第一候选人工智能任务的资源消耗信息,确定第二候选人工智能任务。在确定端侧设备的可用资源信息与第二候选人工智能任务的资源消耗信息一致的情况下,将第二候选人工智能任务确定为目标人工智能任务。在确定端侧设备的可用资源信息大于第二候选人工智能任务的资源消耗信息的情况下,确定第三候选人工智能任务。第三候选人工智能任务是至少一个人工智能任务中除第一候选人工智能任务以外的人工智能任务。根据第二候选人工智能任务和第三候选人工智能任务,确定目标人工智能任务。The first candidate artificial intelligence task is determined according to the demand priority information of at least one artificial intelligence task. The second candidate artificial intelligence task is determined according to the available resource information of the terminal device and the resource consumption information of the first candidate artificial intelligence task. In a case where it is determined that the available resource information of the device is consistent with the resource consumption information of the second candidate artificial intelligence task, the second candidate artificial intelligence task is determined as the target artificial intelligence task. In a case where it is determined that the available resource information of the end-side device is greater than the resource consumption information of the second candidate artificial intelligence task, a third candidate artificial intelligence task is determined. The third candidate artificial intelligence task is an artificial intelligence task other than the first candidate artificial intelligence task in at least one artificial intelligence task. A target artificial intelligence task is determined according to the second candidate artificial intelligence task and the third candidate artificial intelligence task.
根据本公开的实施例,需求优先级信息可以表征业务需求的优先级。需求优先级信息可以根据业务需求的紧急程度来确定。如果人工智能任务的紧急程度越高,则需求优先级信息所表征的业务需求的优先级越高。紧急程度可以根据人工智能任务在预定时间段内被利用的次数和人工智能任务在预定时间段内被其他人工智能任务调用的次数中的至少一项确定。According to an embodiment of the present disclosure, the requirement priority information may represent the priority of the business requirement. The requirement priority information may be determined according to the urgency of the business requirement. If the urgency of the artificial intelligence task is higher, the priority of the business requirement represented by the requirement priority information is higher. The urgency can be determined according to at least one of the number of times the AI task is utilized within a predetermined time period and the number of times the AI task is invoked by other AI tasks within the predetermined time period.
根据本公开的实施例,第一候选人工智能任务可以指需求优先级信息满足预定优先级条件的人工智能任务。例如,可以根据需求优先级信息所表征的业务需求的优先级,对至少一个人工智能任务进行排序,得到排序结果,根据排序结果,从至少一个人工智能任务中确定第一候选人工智能任务。排序可以按照业务需求的优先级由高到低的顺序排序或按照业务需求的优先级由低到高的顺序排序。According to an embodiment of the present disclosure, the first candidate artificial intelligence task may refer to an artificial intelligence task whose requirement priority information satisfies a predetermined priority condition. For example, at least one artificial intelligence task may be sorted according to the priority of business requirements represented by the demand priority information to obtain a ranking result, and the first candidate artificial intelligence task may be determined from the at least one artificial intelligence task according to the ranking result. The sorting can be sorted according to the priority of the business needs from high to low or according to the priority of the business needs from low to high.
根据本公开的实施例,在确定第一候选人工智能任务之后,可以根据端侧设备的可用资源信息和第一候选人工智能任务的资源消耗信息,确定端侧设备能够执行的第二候选人工智能任务。即,实现业务需求的优先级较高的人工智能任务由端侧设备执行的目的,提高任务执行效率。According to an embodiment of the present disclosure, after the first candidate artificial intelligence task is determined, the second candidate artificial intelligence task that the end-side device can execute can be determined according to the available resource information of the end-side device and the resource consumption information of the first candidate artificial intelligence task. Task. That is, to achieve the purpose of performing artificial intelligence tasks with higher priority in business requirements by end-side devices, and improve task execution efficiency.
根据本公开的实施例,如果确定端侧设备的可用资源信息与第二候选人工智能任务的资源消耗信息一致,则可以说明端侧设备不能够再执行其他人工智能任务。在此情况下,可以将第二候选人工智能任务确定为目标人工智能任务。According to an embodiment of the present disclosure, if it is determined that the available resource information of the device-side device is consistent with the resource consumption information of the second candidate artificial intelligence task, it may indicate that the device-side device cannot perform other artificial intelligence tasks. In this case, the second candidate artificial intelligence task may be determined as the target artificial intelligence task.
根据本公开的实施例,如果确定端侧设备的可用资源信息大于第二候选人工智能任务的资源消耗信息,则可以说明端侧设备除了可以执行第二候选人工智能任务以外,还可以执行其他人工智能任务。其他人工智能任务可以是第三候选人工智能任务。可以将第二候选人工智能任务和第三候选人工智能任务确定为目标人工智能任务。According to an embodiment of the present disclosure, if it is determined that the available resource information of the end-side device is greater than the resource consumption information of the second candidate artificial intelligence task, it can be explained that the end-side device can perform other artificial intelligence tasks in addition to the second candidate artificial intelligence task. Smart tasks. Other artificial intelligence tasks may be third candidate artificial intelligence tasks. The second candidate artificial intelligence task and the third candidate artificial intelligence task may be determined as target artificial intelligence tasks.
根据本公开的实施例,操作S230可以包括如下操作。According to an embodiment of the present disclosure, operation S230 may include the following operations.
确定至少一个人工智能任务彼此之间的关联关系。根据关联关系,确定任务执行顺序。根据任务执行顺序,控制与至少一个人工智能任务各自对应的目标设备,基于与至少一个人工智能任务各自对应的人工智能模型和任务数据,执行至少一个人工智能任务。Determine the correlation between at least one artificial intelligence task. Determine the task execution sequence according to the association relationship. According to the task execution order, control the target device corresponding to at least one artificial intelligence task, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
根据本公开的实施例,关联关系可以包括具有关联关系和不具有关联关系。可以根据至少一个人工智能任务彼此之间的关联关系,确定至少一个人工智能任务的任务执行顺序。再根据任务执行顺序,控制与至少一个人工智能任务各自对应的目标设备,执行与目标设备对应的人工智能任务。According to an embodiment of the present disclosure, the association relationship may include having an association relationship and not having an association relationship. A task execution sequence of at least one artificial intelligence task may be determined according to the relationship between at least one artificial intelligence task. Then, according to the task execution sequence, control the target device corresponding to at least one artificial intelligence task, and execute the artificial intelligence task corresponding to the target device.
根据本公开的实施例,任务执行顺序可以包括并行执行和串行执行。如果人工智能任务与其他人工智能任务之间不具有关联关系,则人工智能任务可以与其他人工智能任务并行执行。如果人工智能任务与其他人工智能任务之间具有关联关系,则可以按照关联关系确定的任务执行顺序依次执行各个人工智能任务。According to an embodiment of the present disclosure, the order of task execution may include parallel execution and serial execution. If there is no correlation between the artificial intelligence task and other artificial intelligence tasks, the artificial intelligence task can be executed in parallel with other artificial intelligence tasks. If there is an association relationship between the artificial intelligence task and other artificial intelligence tasks, each artificial intelligence task can be executed sequentially according to the task execution sequence determined by the association relationship.
根据本公开的实施例,上述任务处理方法还可以包括如下操作。According to an embodiment of the present disclosure, the above task processing method may further include the following operations.
确定至少一个人工智能任务各自的执行优先级信息。Respective execution priority information of at least one artificial intelligence task is determined.
根据本公开的实施例,根据关联关系,确定任务执行顺序,可以包括 如下操作。According to an embodiment of the present disclosure, determining the task execution order according to the association relationship may include the following operations.
根据关联关系和至少一个执行优先级信息,确定任务执行顺序。Determine the task execution order according to the association relationship and at least one piece of execution priority information.
根据本公开的实施例,执行优先级信息可以表征执行人工智能任务的优先级。可以根据业务需求,确定至少一个人工智能任务中的每个人工智能任务的执行优先级信息。再根据关联关系和至少一个执行优先级信息,确定任务执行顺序。According to an embodiment of the present disclosure, the execution priority information may represent the priority of executing the artificial intelligence task. The execution priority information of each artificial intelligence task in at least one artificial intelligence task may be determined according to business requirements. Then, the task execution sequence is determined according to the association relationship and at least one piece of execution priority information.
例如,针对某个人工智能任务,在满足关联关系的情况下,如果根据该人工智能任务的执行优先级信息确定该人工智能任务的优先级最高,则可以最先执行该人工智能任务。For example, for an artificial intelligence task, if the association relationship is satisfied, if it is determined that the artificial intelligence task has the highest priority according to the execution priority information of the artificial intelligence task, the artificial intelligence task can be executed first.
根据本公开的实施例,控制与至少一个人工智能任务各自对应的目标设备,基于与至少一个人工智能任务各自对应的人工智能模型和任务数据,执行至少一个人工智能任务,可以包括如下操作。According to an embodiment of the present disclosure, controlling the target device corresponding to at least one artificial intelligence task, and executing at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task may include the following operations.
在确定用于执行至少一个人工智能任务各自的目标设备包括云服务器的情况下,向服务器发送任务执行请求,以便服务器响应于接收到任务执行请求,执行与服务器对应的人工智能任务。任务执行请求包括任务信息,任务信息包括人工智能任务标识和与人工智能任务标识对应的任务数据,人工智能任务标识用于确定与人工智能任务标识对应的人工智能模型。When it is determined that each target device for executing at least one artificial intelligence task includes a cloud server, a task execution request is sent to the server, so that the server executes the artificial intelligence task corresponding to the server in response to receiving the task execution request. The task execution request includes task information, and the task information includes an artificial intelligence task identifier and task data corresponding to the artificial intelligence task identifier, and the artificial intelligence task identifier is used to determine an artificial intelligence model corresponding to the artificial intelligence task identifier.
根据本公开的实施例,任务执行请求可以指用于请求服务器执行人工智能任务的请求。如果确定用于执行人工智能任务的目标设备包括服务器,则可以生成任务执行请求。将任务执行请求发送给服务器,以便服务器响应于接收到任务执行请求,对任务执行请求进行解析,得到包括人工智能任务标识和与人工智能任务标识对应的任务数据。服务器根据人工智能任务标识确定与人工智能任务标识对应的人工智能模型。服务器可以基于与人工智能模型标识对应的人工智能模型和任务数据,执行与人工智能任务标识对应的人工智能任务。According to an embodiment of the present disclosure, a task execution request may refer to a request for requesting a server to execute an artificial intelligence task. If it is determined that the target device for performing the artificial intelligence task includes a server, a task execution request may be generated. The task execution request is sent to the server, so that the server parses the task execution request in response to receiving the task execution request, and obtains task data including the artificial intelligence task identifier and corresponding to the artificial intelligence task identifier. The server determines the artificial intelligence model corresponding to the artificial intelligence task identifier according to the artificial intelligence task identifier. The server can execute the artificial intelligence task corresponding to the artificial intelligence task identifier based on the artificial intelligence model and task data corresponding to the artificial intelligence model identifier.
根据本公开的实施例,任务执行请求包括的任务信息是经过加密处理得到的。According to an embodiment of the present disclosure, the task information included in the task execution request is obtained through encryption.
根据本公开的实施例,可以利用加密算法对任务信息进行加密,得到加密任务信息。加密算法可以包括对称加密算法。According to an embodiment of the present disclosure, an encryption algorithm may be used to encrypt task information to obtain encrypted task information. The encryption algorithm may include a symmetric encryption algorithm.
根据本公开的实施例,通过对端云交互的信息进行加密,有效保证数 据和计算逻辑的安全性。According to the embodiments of the present disclosure, the security of data and computing logic is effectively guaranteed by encrypting the information exchanged between the terminal and the cloud.
根据本公开的实施例,上述任务处理方法还可以包括如下操作。According to an embodiment of the present disclosure, the above task processing method may further include the following operations.
在确定用于执行至少一个人工智能任务各自的目标设备还包括端侧设备的情况下,向服务器发送至少一个第一日志信息,以便服务器对至少一个第一日志信息和至少一个第二日志信息进行聚合,得到聚合信息。每个第一日志信息包括端侧设备执行与端侧设备对应的人工智能任务得到的执行结果,每个第二日志信息包括服务器执行与服务器对应的人工智能任务得到的执行结果。In the case where it is determined that the respective target devices for performing at least one artificial intelligence task also include end-side devices, sending at least one first log information to the server, so that the server performs at least one first log information and at least one second log information Aggregate to get aggregated information. Each first log information includes an execution result obtained by the terminal-side device executing an artificial intelligence task corresponding to the terminal-side device, and each second log information includes an execution result obtained by the server executing the artificial intelligence task corresponding to the server.
根据本公开的实施例,日志信息可以包括与执行人工智能任务相关的信息。日志信息可以包括执行结果。日志信息还可以包括中间处理参数和错误信息。According to an embodiment of the present disclosure, the log information may include information related to performing an artificial intelligence task. Log information may include execution results. Log information may also include intermediate processing parameters and error messages.
根据本公开的实施例,针对至少一个人工智能任务中的每个人工智能任务,如果确定用于执行该人工智能任务的目标设备是端侧设备,则端侧设备可以在执行该人工智能任务得到执行结果之后,生成包括执行结果的第一日志信息。再将第一日志信息发送给服务器,由此服务器可以接收到来自端侧设备的至少一个第一日志信息。如果确定用于执行该人工智能任务的目标设备是以便服务器,则服务器在执行该人工智能任务得到执行结果之后,生成包括执行结果的第二日志信息。由此,服务器可以获得至少一个第一日志信息和至少一个第二日志信息。可以对至少一个第一日志信息和至少一个第二日志信息进行聚合,得到聚合信息。According to an embodiment of the present disclosure, for each artificial intelligence task in at least one artificial intelligence task, if it is determined that the target device for executing the artificial intelligence task is an end-side device, the end-side device may obtain After the execution result, first log information including the execution result is generated. Then, the first log information is sent to the server, so that the server can receive at least one piece of first log information from the end-side device. If it is determined that the target device for executing the artificial intelligence task is a server, the server generates second log information including the execution result after executing the artificial intelligence task and obtaining an execution result. Thus, the server can obtain at least one piece of first log information and at least one piece of second log information. At least one piece of first log information and at least one piece of second log information may be aggregated to obtain aggregated information.
根据本公开的实施例,通过服务器对至少一个第一日志信息和至少一个第二日志信息进行聚合,得到聚合信息,以便后续可以根据聚合信息获得完整流程,为问题排查提供便利,也便于开发者进行调试和优化。According to an embodiment of the present disclosure, the server aggregates at least one first log information and at least one second log information to obtain the aggregated information, so that the complete process can be obtained based on the aggregated information later, which facilitates troubleshooting and facilitates developers for debugging and optimization.
根据本公开的实施例,每个第一日志信息是经过加密处理得到的。According to an embodiment of the present disclosure, each first log information is obtained through encryption processing.
根据本公开的实施例,上述任务处理方法还可以包括如下操作。According to an embodiment of the present disclosure, the above task processing method may further include the following operations.
对与至少一个人工智能任务各自对应的执行结果进行处理,得到处理结果。对处理结果进行分析,得到与处理结果相关的扩展结果。Processing the execution results respectively corresponding to at least one artificial intelligence task to obtain the processing results. The processing results are analyzed to obtain extended results related to the processing results.
根据本公开的实施例,如果目标设备包括服务器,则与至少一个人工智能任务各自对应的执行结果包括利用服务器处理得到的执行结果。服务器可以将服务器执行人工智能任务得到的执行结果发送给端侧设备。这里 所述的执行结果可以是经过加密处理得到的。According to an embodiment of the present disclosure, if the target device includes a server, the execution results respectively corresponding to at least one artificial intelligence task include execution results processed by the server. The server can send the execution result obtained by the server to execute the artificial intelligence task to the end-side device. The execution results described here may be obtained through encryption.
根据本公开的实施例,端侧设备可以对至少一个人工智能任务各自对应的执行结果进行处理,得到处理结果。例如,可以对至少一个人工智能任务各自对应的执行结果进行聚合,得到处理结果。再对处理结果进行分析,得到与处理结果相关的扩展结果。扩展结果可以是对处理结果进行推理得到的。According to an embodiment of the present disclosure, the end-side device may process execution results corresponding to at least one artificial intelligence task to obtain a processing result. For example, execution results corresponding to at least one artificial intelligence task may be aggregated to obtain a processing result. Then the processing result is analyzed to obtain the extended result related to the processing result. The extended result may be obtained by inferring the processing result.
例如,至少一个人工智能任务包括图像识别任务和目标检测任务。目标设备执行图像识别任务和目标检测任务得到的处理结果是“教室A的外部冒烟,并且有人位于教室A”。对处理结果进行分析,得到的扩展结果是“教室A可能发生了火灾,需拨打火警电话和急救电话寻求帮助”。For example, at least one artificial intelligence task includes an image recognition task and an object detection task. The target device performs the image recognition task and the target detection task and the processing result is "there is smoke outside classroom A, and there is someone in classroom A". After analyzing the processing results, the extended result obtained is "There may be a fire in classroom A, and it is necessary to call the fire alarm and emergency numbers for help."
根据本公开的实施例,上述任务处理方法还可以包括如下操作。According to an embodiment of the present disclosure, the above task processing method may further include the following operations.
在确定获得目标人工智能任务的执行结果的情况下,展示目标人工智能任务的执行结果。目标人工智能任务是展示等级满足预定条件的人工智能任务。In the case that the execution result of the target artificial intelligence task is determined to be obtained, the execution result of the target artificial intelligence task is displayed. A target AI task is an AI task that demonstrates that the level satisfies a predetermined condition.
根据本公开的实施例,展示等级可以指展示执行结果的等级。展示等级越高,可以在获得执行结果之后越先展示。如果获得目标人工智能任务的执行结果,则可以在至少一个人工智能任务中的其他人工智能任务的执行结果还未全部获得或全部未获得的情况下,展示目标人工智能任务的执行结果。According to an embodiment of the present disclosure, the display level may refer to a level of display execution results. The higher the display level, the sooner it can be displayed after the execution result is obtained. If the execution results of the target artificial intelligence task are obtained, the execution results of the target artificial intelligence task may be displayed when all or none of the execution results of other artificial intelligence tasks in at least one artificial intelligence task have been obtained.
根据本公开的实施例,上述任务处理方法还可以包括如下操作。According to an embodiment of the present disclosure, the above task processing method may further include the following operations.
调用数据接口。利用数据接口获取与至少一个人工智能任务各自对应的任务数据。Call the data interface. Using the data interface to acquire task data corresponding to at least one artificial intelligence task.
根据本公开的实施例,可以通过数据接口来获得与人工智能任务对应的任务数据。端侧设备可以通过SDK(Software Development Kit,SDK,软件工具开发包)或HTTP(HyperText Transfer Protocol,超文本传输协议)等形式将数据接口提供给用户。服务器可以通过HTTP或RPC(Remote Procedure Call Protocol,远程过程调用协议)等形式将相关功能的接口提供给端侧设备,以便端侧设备进行接口封装。According to an embodiment of the present disclosure, task data corresponding to an artificial intelligence task can be obtained through a data interface. End-side devices can provide data interfaces to users through SDK (Software Development Kit, SDK, software tool development kit) or HTTP (HyperText Transfer Protocol, hypertext transfer protocol). The server can provide the interface of relevant functions to the end-side device through HTTP or RPC (Remote Procedure Call Protocol, remote procedure call protocol), so that the end-side device can encapsulate the interface.
下面参考图3,结合具体实施例对根据本公开实施例所述的方法做进一步说明。Referring to FIG. 3 , the method according to the embodiments of the present disclosure will be further described in conjunction with specific embodiments.
图3示意性示出了根据本公开实施例的任务处理系统的示例示意图。Fig. 3 schematically shows an example diagram of a task processing system according to an embodiment of the present disclosure.
如图3所示,在300中,端侧设备300-1包括数据接口单元301、端侧设备性能评估单元302、设备调度单元303、数据安全单元306和应用日志回传单元312。服务器300-2包括数据安全单元306和应用日志聚合单元311。至少一个人工智能任务包括人工智能任务304、人工智能任务305、人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310。As shown in FIG. 3 , in 300 , the end-side device 300 - 1 includes a data interface unit 301 , an end-side device performance evaluation unit 302 , a device scheduling unit 303 , a data security unit 306 and an application log return unit 312 . The server 300 - 2 includes a data security unit 306 and an application log aggregation unit 311 . The at least one artificial intelligence task includes artificial intelligence task 304 , artificial intelligence task 305 , artificial intelligence task 307 , artificial intelligence task 308 , artificial intelligence task 309 , and artificial intelligence task 310 .
端侧设备300-1通过数据接口单元301提供的数据接口获取与人工智能任务304、人工智能任务305、人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的任务数据。The end-side device 300-1 obtains the tasks corresponding to the artificial intelligence task 304, the artificial intelligence task 305, the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310 through the data interface provided by the data interface unit 301. data.
端侧设备性能评估单元302确定端侧设备300-1的可用资源信息。The device-side device performance evaluation unit 302 determines available resource information of the device-side device 300-1.
设备调度单元303根据人工智能任务304、人工智能任务305、人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自的资源消耗信息,确定总资源消耗信息。The device scheduling unit 303 determines the total resource consumption information according to the respective resource consumption information of the AI task 304 , the AI task 305 , the AI task 307 , the AI task 308 , the AI task 309 and the AI task 310 .
设备调度单元303确定端侧设备300-1的可用资源信息不满足总资源消耗信息。根据人工智能任务304、人工智能任务305、人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自的资源消耗信息和需求优先级信息,确定用于执行人工智能任务304和人工智能任务305的目标设备是端侧设备300-1。确定用于执行人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310的目标设备是服务器300-2。确定人工智能任务304和人工智能任务305串行执行,即先执行人工智能任务304,再执行人工智能任务305。人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310并行执行并且均与人工智能任务304和人工智能任务305并行执行。The device scheduling unit 303 determines that the available resource information of the device-side device 300-1 does not satisfy the total resource consumption information. According to the resource consumption information and demand priority information of the artificial intelligence task 304, the artificial intelligence task 305, the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310, it is determined to be used to execute the artificial intelligence task 304 and The target device of the artificial intelligence task 305 is the end-side device 300-1. It is determined that the target device for executing the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309, and the artificial intelligence task 310 is the server 300-2. It is determined that the artificial intelligence task 304 and the artificial intelligence task 305 are executed serially, that is, the artificial intelligence task 304 is executed first, and then the artificial intelligence task 305 is executed. The artificial intelligence task 307 , the artificial intelligence task 308 , the artificial intelligence task 309 and the artificial intelligence task 310 are executed in parallel and are all executed in parallel with the artificial intelligence task 304 and the artificial intelligence task 305 .
端侧设备300-1生成任务执行请求,任务执行请求包括任务信息,任务信息包括与人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的人工智能任务标识和业务数据。端侧设备300-1的数据安全单元306对任务信息进行加密。端侧设备300-1将任务执行请求发送给服务器300-2。The end-side device 300-1 generates a task execution request, and the task execution request includes task information, and the task information includes the AI task identification and business information corresponding to the AI task 307, AI task 308, AI task 309, and AI task 310 respectively. data. The data security unit 306 of the end-side device 300-1 encrypts the task information. The end-side device 300-1 sends the task execution request to the server 300-2.
服务器300-2的数据安全单元306对任务信息进行解密,得到与人工 智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的人工智能任务标识和业务数据。服务器300-2根据人工智能任务标识确定人工智能模型。基于与人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的人工智能模型和业务数据,分别执行人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310,得到与人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的执行结果。The data security unit 306 of the server 300-2 decrypts the task information to obtain the AI task identification and business data corresponding to the AI task 307, AI task 308, AI task 309 and AI task 310 respectively. The server 300-2 determines the AI model according to the ID of the AI task. Based on the artificial intelligence models and business data corresponding to the artificial intelligence task 307, artificial intelligence task 308, artificial intelligence task 309 and artificial intelligence task 310, respectively execute the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task The task 310 is to obtain execution results corresponding to the artificial intelligence task 307 , the artificial intelligence task 308 , the artificial intelligence task 309 and the artificial intelligence task 310 .
端侧设备300-1先基于与人工智能任务304对应的人工智能模型和业务数据,执行人工智能任务304,得到与人工智能任务304对应的执行结果。然后根据与人工智能任务304对应的执行结果确定人工智能任务305需要被执行。再基于与人工智能任务305对应的人工智能模型和业务数据,执行人工智能任务305,得到与人工智能任务305对应的执行结果。服务器300-2通过数据安全单元306将与人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的执行结果发送给端侧设备300-1。The end-side device 300 - 1 first executes the artificial intelligence task 304 based on the artificial intelligence model and business data corresponding to the artificial intelligence task 304 , and obtains an execution result corresponding to the artificial intelligence task 304 . Then, according to the execution result corresponding to the artificial intelligence task 304, it is determined that the artificial intelligence task 305 needs to be executed. Then, based on the artificial intelligence model and business data corresponding to the artificial intelligence task 305, the artificial intelligence task 305 is executed, and an execution result corresponding to the artificial intelligence task 305 is obtained. The server 300-2 sends the execution results corresponding to the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310 to the end-side device 300-1 through the data security unit 306.
端侧设备300-1通过应用日志回传单元312和数据安全单元306将与人工智能任务304和人工智能任务305各自对应的第一日志信息发送给服务器300-2。服务器300-2的应用日志聚合单元311根据与人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的第二日志信息和与人工智能任务304和人工智能任务305各自对应的第一日志信息,生成聚合信息。The end-side device 300-1 sends the first log information respectively corresponding to the artificial intelligence task 304 and the artificial intelligence task 305 to the server 300-2 through the application log return unit 312 and the data security unit 306. The application log aggregation unit 311 of the server 300-2 is based on the second log information corresponding to the AI task 307, the AI task 308, the AI task 309, and the AI task 310 and the AI task 304 and the AI task 305 respectively. The aggregated information is generated corresponding to the first log information.
端侧设备300-1的设备调度单元303对与人工智能任务304、人工智能任务305、人工智能任务307、人工智能任务308、人工智能任务309和人工智能任务310各自对应的执行结果进行处理,得到处理结果。对处理结果进行分析,得到与处理结果相关的扩展结果。The device scheduling unit 303 of the end-side device 300-1 processes the execution results corresponding to the artificial intelligence task 304, the artificial intelligence task 305, the artificial intelligence task 307, the artificial intelligence task 308, the artificial intelligence task 309 and the artificial intelligence task 310, Get the processing result. The processing results are analyzed to obtain extended results related to the processing results.
以上仅是示例性实施例,但不限于此,还可以包括本领域已知的其他任务处理方法,只要能够在保证人工智能任务能够完成的基础上,充分利用端侧设备和服务器的资源,提高了设备的资源利用率。此外,也提高了任务处理操作的鲁棒性和适配性即可。The above are only exemplary embodiments, but are not limited thereto, and may also include other task processing methods known in the art, as long as the resources of end-side devices and servers can be fully utilized on the basis of ensuring that artificial intelligence tasks can be completed, and the equipment resource utilization. In addition, the robustness and adaptability of task processing operations can also be improved.
图4示意性示出了根据本公开实施例的任务处理装置的框图。Fig. 4 schematically shows a block diagram of a task processing device according to an embodiment of the present disclosure.
如图4所示,上述任务处理装置400可以包括第一确定模块410、第二确定模块420和执行模块430。As shown in FIG. 4 , the task processing apparatus 400 may include a first determination module 410 , a second determination module 420 and an execution module 430 .
第一确定模块410,用于确定设备调度信息。设备调度信息包括端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息;The first determining module 410 is configured to determine device scheduling information. The device scheduling information includes available resource information of end-side devices and resource consumption information of at least one artificial intelligence task;
第二确定模块420,用于根据设备调度信息,从服务器和端侧设备中确定用于执行至少一个人工智能任务各自的目标设备。The second determination module 420 is configured to determine the respective target devices for executing at least one artificial intelligence task from the server and the end-side device according to the device scheduling information.
执行模块,用于控制与至少一个人工智能任务各自对应的目标设备,基于与至少一个人工智能任务各自对应的人工智能模型和任务数据,执行至少一个人工智能任务。The execution module is used to control the target device corresponding to at least one artificial intelligence task, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
根据本公开的实施例,第二确定模块可以包括第一获得子模块、第一确定子模块和第二确定子模块。According to an embodiment of the present disclosure, the second determining module may include a first obtaining submodule, a first determining submodule, and a second determining submodule.
第一获得子模块,用于根据至少一个资源消耗信息,得到总资源消耗信息。The first obtaining submodule is configured to obtain total resource consumption information according to at least one piece of resource consumption information.
第一确定子模块,用于在确定可用资源信息满足总资源消耗信息的情况下,将端侧设备确定为用于执行至少一个人工智能任务各自的目标设备。The first determination sub-module is configured to determine the end-side device as a respective target device for executing at least one artificial intelligence task when it is determined that the available resource information satisfies the total resource consumption information.
第二确定子模块,用于在确定可用资源信息不满足总资源消耗信息的情况下,根据设备调度信息,从服务器和端侧设备中确定用于执行至少一个人工智能任务各自的目标设备。The second determining submodule is used to determine the respective target devices for executing at least one artificial intelligence task from the server and the end-side device according to the device scheduling information when it is determined that the available resource information does not satisfy the total resource consumption information.
根据本公开的实施例,第二确定模块可以包括第三确定子模块、第四确定子模块和第五确定子模块。According to an embodiment of the present disclosure, the second determination module may include a third determination submodule, a fourth determination submodule, and a fifth determination submodule.
第三确定子模块,用于根据设备调度信息,确定目标人工智能任务,其中,目标人工智能任务是端侧设备能够执行的人工智能任务。The third determination sub-module is configured to determine the target artificial intelligence task according to the device scheduling information, wherein the target artificial intelligence task is an artificial intelligence task that can be performed by the terminal device.
第四确定子模块,用于将端侧设备确定为用于执行目标人工智能任务的目标设备。The fourth determining submodule is used to determine the end-side device as the target device for performing the target artificial intelligence task.
第五确定子模块,用于将服务器确定为用于执行第一其他人工智能任务的目标设备,其中,第一其他人工智能任务是至少一个人工智能任务中除目标人工智能任务以外的人工智能任务。The fifth determination sub-module is used to determine the server as the target device for performing the first other artificial intelligence task, wherein the first other artificial intelligence task is an artificial intelligence task other than the target artificial intelligence task in at least one artificial intelligence task .
根据本公开的实施例,设备调度信息还包括至少一个人工智能任务各自的需求优先级信息。According to an embodiment of the present disclosure, the device scheduling information further includes demand priority information of at least one artificial intelligence task.
根据本公开的实施例,第三确定子模块可以包括第一确定单元、第二 确定单元、第三确定单元、第四确定单元和第五确定单元。According to an embodiment of the present disclosure, the third determination submodule may include a first determination unit, a second determination unit, a third determination unit, a fourth determination unit, and a fifth determination unit.
第一确定单元,用于根据至少一个人工智能任务各自的需求优先级信息,确定第一候选人工智能任务。The first determining unit is configured to determine a first candidate artificial intelligence task according to the demand priority information of at least one artificial intelligence task.
第二确定单元,用于根据端侧设备的可用资源信息和第一候选人工智能任务的资源消耗信息,确定第二候选人工智能任务。The second determining unit is configured to determine a second candidate artificial intelligence task according to available resource information of the device on the device and resource consumption information of the first candidate artificial intelligence task.
第三确定单元,用于在确定端侧设备的可用资源信息与第二候选人工智能任务的资源消耗信息一致的情况下,将第二候选人工智能任务确定为目标人工智能任务。The third determining unit is configured to determine the second candidate artificial intelligence task as the target artificial intelligence task when it is determined that the available resource information of the device is consistent with the resource consumption information of the second candidate artificial intelligence task.
第四确定单元,用于在确定端侧设备的可用资源信息大于第二候选人工智能任务的资源消耗信息的情况下,确定第三候选人工智能任务,其中,第三候选人工智能任务是至少一个人工智能任务中除第一候选人工智能任务以外的人工智能任务。The fourth determining unit is configured to determine a third candidate artificial intelligence task when it is determined that the available resource information of the end-side device is greater than the resource consumption information of the second candidate artificial intelligence task, wherein the third candidate artificial intelligence task is at least one Artificial intelligence tasks other than the first candidate artificial intelligence task in the artificial intelligence task.
第五确定单元,用于根据第二候选人工智能任务和第三候选人工智能任务,确定目标人工智能任务。The fifth determination unit is configured to determine the target artificial intelligence task according to the second candidate artificial intelligence task and the third candidate artificial intelligence task.
根据本公开的实施例,执行模块可以包括第六确定子模块、第七确定子模块和执行子模块。According to an embodiment of the present disclosure, the executing module may include a sixth determining submodule, a seventh determining submodule, and an executing submodule.
第六确定子模块,用于确定至少一个人工智能任务彼此之间的关联关系。The sixth determining submodule is used to determine the relationship between at least one artificial intelligence task.
第七确定子模块,用于根据关联关系,确定任务执行顺序。The seventh determination sub-module is used to determine the task execution sequence according to the association relationship.
执行子模块,用于根据任务执行顺序,控制与至少一个人工智能任务各自对应的目标设备,基于与至少一个人工智能任务各自对应的人工智能模型和任务数据,执行至少一个人工智能任务。The execution sub-module is used to control the target device corresponding to at least one artificial intelligence task according to the order of task execution, and execute at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
根据本公开的实施例,上述任务处理装置400还可以包括第三确定模块。According to an embodiment of the present disclosure, the task processing apparatus 400 may further include a third determining module.
第三确定模块,用于确定至少一个人工智能任务各自的执行优先级信息。The third determination module is used to determine the respective execution priority information of at least one artificial intelligence task.
根据本公开的实施例,第七确定子模块可以包括第六确定单元。According to an embodiment of the present disclosure, the seventh determining submodule may include a sixth determining unit.
第六确定单元,用于根据关联关系和至少一个执行优先级信息,确定任务执行顺序。The sixth determination unit is configured to determine the task execution order according to the association relationship and at least one piece of execution priority information.
根据本公开的实施例,执行模块可以包括第八确定子模块。According to an embodiment of the present disclosure, the executing module may include an eighth determining submodule.
第八确定子模块,用于在确定用于执行至少一个人工智能任务各自的目标设备包括云服务器的情况下,向服务器发送任务执行请求,以便服务器响应于接收到任务执行请求,执行与服务器对应的人工智能任务。任务执行请求包括任务信息,任务信息包括人工智能任务标识和与人工智能任务标识对应的任务数据,人工智能任务标识用于确定与人工智能任务标识对应的人工智能模型。The eighth determination submodule is used to send a task execution request to the server when it is determined that the respective target devices for executing at least one artificial intelligence task include a cloud server, so that the server executes the task corresponding to the server in response to receiving the task execution request. artificial intelligence tasks. The task execution request includes task information, and the task information includes an artificial intelligence task identifier and task data corresponding to the artificial intelligence task identifier, and the artificial intelligence task identifier is used to determine an artificial intelligence model corresponding to the artificial intelligence task identifier.
根据本公开的实施例,任务执行请求包括的任务信息是经过加密处理得到的。According to an embodiment of the present disclosure, the task information included in the task execution request is obtained through encryption.
根据本公开的实施例,上述任务处理装置400还可以包括第四确定模块。According to an embodiment of the present disclosure, the task processing apparatus 400 may further include a fourth determining module.
第四确定模块,用于在确定用于执行至少一个人工智能任务各自的目标设备还包括端侧设备的情况下,向服务器发送至少一个第一日志信息,以便服务器对至少一个第一日志信息和至少一个第二日志信息进行聚合,得到聚合信息。每个第一日志信息包括端侧设备执行与端侧设备对应的人工智能任务得到的执行结果,每个第二日志信息包括服务器执行与服务器对应的人工智能任务得到的执行结果。The fourth determination module is configured to send at least one first log information to the server when it is determined that the respective target devices for performing at least one artificial intelligence task also include end-side devices, so that the server can compare the at least one first log information and At least one piece of second log information is aggregated to obtain aggregated information. Each first log information includes an execution result obtained by the terminal-side device executing an artificial intelligence task corresponding to the terminal-side device, and each second log information includes an execution result obtained by the server executing the artificial intelligence task corresponding to the server.
根据本公开的实施例,上述任务处理装置400还可以包括处理模块和分析模块。According to an embodiment of the present disclosure, the task processing apparatus 400 may further include a processing module and an analysis module.
处理模块,用于对与至少一个人工智能任务各自对应的执行结果进行处理,得到处理结果。The processing module is configured to process the execution results corresponding to at least one artificial intelligence task to obtain the processing results.
分析模块,用于对处理结果进行分析,得到与处理结果相关的扩展结果。The analysis module is used to analyze the processing results and obtain extended results related to the processing results.
根据本公开的实施例,上述任务处理装置400还可以包括展示模块。According to an embodiment of the present disclosure, the task processing apparatus 400 may further include a presentation module.
展示模块,用于在确定获得目标人工智能任务的执行结果的情况下,展示目标人工智能任务的执行结果,其中,目标人工智能任务是展示等级满足预定条件的人工智能任务。The display module is configured to display the execution result of the target artificial intelligence task when it is determined that the execution result of the target artificial intelligence task is obtained, wherein the target artificial intelligence task is an artificial intelligence task whose display level satisfies a predetermined condition.
根据本公开的实施例,上述任务处理装置400还可以包括调用模块和获取模块。According to an embodiment of the present disclosure, the task processing apparatus 400 may further include a calling module and an obtaining module.
调用模块,用于调用数据接口。The calling module is used to call the data interface.
获取模块,用于利用数据接口获取与至少一个人工智能任务各自对应 的任务数据。An acquisition module, configured to acquire task data corresponding to at least one artificial intelligence task by using a data interface.
在本公开的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供、公开和应用等处理,均符合相关法律法规的规定,采取了必要保密措施,且不违背公序良俗。In the technical solution of this disclosure, the collection, storage, use, processing, transmission, provision, disclosure, and application of the user's personal information involved are all in compliance with relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate the Public order and good customs.
在本公开的技术方案中,在获取或采集用户个人信息之前,均获取了用户的授权或同意。In the technical solution of the present disclosure, before acquiring or collecting the user's personal information, the user's authorization or consent is obtained.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
根据本公开的实施例,一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如上所述的方法。According to an embodiment of the present disclosure, an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by at least one processor, and the instructions are processed by at least one The processor is executed, so that at least one processor can perform the method as described above.
根据本公开的实施例,一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机执行如上所述的方法。According to an embodiment of the present disclosure, there is a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method as described above.
根据本公开的实施例,一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现如上所述的方法。According to an embodiment of the present disclosure, a computer program product includes a computer program, and the computer program implements the method as described above when executed by a processor.
图5示意性示出了根据本公开实施例的适于实现任务处理方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Fig. 5 schematically shows a block diagram of an electronic device suitable for implementing a task processing method according to an embodiment of the present disclosure. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图5所示,电子设备500包括计算单元501,其可以根据存储在只读存储器(ROM)502中的计算机程序或者从存储单元508加载到随机访问存储器(RAM)503中的计算机程序,来执行各种适当的动作和处理。在RAM 503中,还可存储电子设备500操作所需的各种程序和数据。计算单元501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5 , an electronic device 500 includes a computing unit 501, which can perform calculations according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. Various appropriate actions and processes are performed. In the RAM 503, various programs and data necessary for the operation of the electronic device 500 can also be stored. The computing unit 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to the bus 504 .
电子设备500中的多个部件连接至I/O接口505,包括:输入单元506, 例如键盘、鼠标等;输出单元507,例如各种类型的显示器、扬声器等;存储单元508,例如磁盘、光盘等;以及通信单元509,例如网卡、调制解调器、无线通信收发机等。通信单元509允许电子设备500通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the electronic device 500 are connected to the I/O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 509 allows the electronic device 500 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
计算单元501可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元501的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元501执行上文所描述的各个方法和处理,例如任务处理方法。例如,在一些实施例中,任务处理方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元508。在一些实施例中,计算机程序的部分或者全部可以经由ROM 502和/或通信单元509而被载入和/或安装到电子设备500上。当计算机程序加载到RAM 503并由计算单元501执行时,可以执行上文描述的任务处理方法的一个或多个步骤。备选地,在其他实施例中,计算单元501可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行任务处理方法。The computing unit 501 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 501 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 executes various methods and processes described above, such as task processing methods. For example, in some embodiments, the task processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 508 . In some embodiments, part or all of the computer program can be loaded and/or installed on the electronic device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the task processing method described above can be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the task processing method in any other suitable manner (for example, by means of firmware).
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、复杂可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), complex programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控 制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此 并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以是分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The specific implementation manners described above do not limit the protection scope of the present disclosure. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.

Claims (20)

  1. 一种任务处理方法,包括:A task processing method, comprising:
    确定设备调度信息,其中,所述设备调度信息包括端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息;determining device scheduling information, wherein the device scheduling information includes available resource information of end-side devices and resource consumption information of at least one artificial intelligence task;
    根据所述设备调度信息,从服务器和所述端侧设备中确定用于执行所述至少一个人工智能任务各自的目标设备;以及According to the device scheduling information, determine the respective target devices for executing the at least one artificial intelligence task from the server and the end-side device; and
    控制与所述至少一个人工智能任务各自对应的目标设备,基于与所述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行所述至少一个人工智能任务。Controlling target devices corresponding to the at least one artificial intelligence task, and executing the at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  2. 根据权利要求1所述的方法,其中,所述根据所述设备调度信息,从服务器和所述端侧设备中确定用于执行所述至少一个人工智能任务各自的目标设备,包括:The method according to claim 1, wherein, according to the device scheduling information, determining from the server and the end-side device the respective target devices for executing the at least one artificial intelligence task comprises:
    根据至少一个所述资源消耗信息,得到总资源消耗信息;Obtaining total resource consumption information according to at least one piece of resource consumption information;
    在确定所述可用资源信息满足所述总资源消耗信息的情况下,将所述端侧设备确定为用于执行所述至少一个人工智能任务各自的目标设备;以及When it is determined that the available resource information satisfies the total resource consumption information, determine the end-side device as a respective target device for executing the at least one artificial intelligence task; and
    在确定所述可用资源信息不满足所述总资源消耗信息的情况下,根据所述设备调度信息,从所述服务器和所述端侧设备中确定用于执行所述至少一个人工智能任务各自的目标设备。When it is determined that the available resource information does not satisfy the total resource consumption information, according to the device scheduling information, determine from the server and the end-side device the respective resources for executing the at least one artificial intelligence task target device.
  3. 根据权利要求2所述的方法,其中,所述根据所述设备调度信息,从所述服务器和所述端侧设备中确定用于执行所述至少一个人工智能任务各自的目标设备,包括:The method according to claim 2, wherein, according to the device scheduling information, determining from the server and the end-side device the respective target devices for executing the at least one artificial intelligence task comprises:
    根据所述设备调度信息,确定目标人工智能任务,其中,所述目标人工智能任务是所述端侧设备能够执行的人工智能任务;Determine a target artificial intelligence task according to the device scheduling information, where the target artificial intelligence task is an artificial intelligence task that can be performed by the device on the device side;
    将所述端侧设备确定为用于执行所述目标人工智能任务的目标设备;以及determining the end-side device as a target device for performing the target artificial intelligence task; and
    将所述服务器确定为用于执行第一其他人工智能任务的目标设备,其中,所述第一其他人工智能任务是所述至少一个人工智能任务中除所述目标人工智能任务以外的人工智能任务。determining the server as a target device for executing a first other artificial intelligence task, wherein the first other artificial intelligence task is an artificial intelligence task in the at least one artificial intelligence task other than the target artificial intelligence task .
  4. 根据权利要求3所述的方法,其中,所述设备调度信息还包括所述至少一个人工智能任务各自的需求优先级信息;The method according to claim 3, wherein the equipment scheduling information further includes demand priority information of the at least one artificial intelligence task;
    其中,所述根据所述设备调度信息,确定目标人工智能任务,包括:Wherein, the determining the target artificial intelligence task according to the device scheduling information includes:
    根据所述至少一个人工智能任务各自的需求优先级信息,确定第一候选人工智能任务;determining a first candidate artificial intelligence task according to respective demand priority information of the at least one artificial intelligence task;
    根据所述端侧设备的可用资源信息和所述第一候选人工智能任务的资源消耗信息,确定所述第二候选人工智能任务;determining the second candidate artificial intelligence task according to the available resource information of the terminal-side device and the resource consumption information of the first candidate artificial intelligence task;
    在确定所述端侧设备的可用资源信息与所述第二候选人工智能任务的资源消耗信息一致的情况下,将所述第二候选人工智能任务确定为所述目标人工智能任务;When it is determined that the available resource information of the device is consistent with the resource consumption information of the second candidate artificial intelligence task, determining the second candidate artificial intelligence task as the target artificial intelligence task;
    在确定所述端侧设备的可用资源信息大于所述第二候选人工智能任务的资源消耗信息的情况下,确定第三候选人工智能任务,其中,所述第三候选人工智能任务是所述至少一个人工智能任务中除所述第一候选人工智能任务以外的人工智能任务;以及When it is determined that the available resource information of the end-side device is greater than the resource consumption information of the second candidate artificial intelligence task, determine a third candidate artificial intelligence task, wherein the third candidate artificial intelligence task is the at least AI tasks in an AI task other than the first candidate AI task; and
    根据所述第二候选人工智能任务和所述第三候选人工智能任务,确定所述目标人工智能任务。The target artificial intelligence task is determined according to the second candidate artificial intelligence task and the third candidate artificial intelligence task.
  5. 根据权利要求1~4中任一项所述的方法,其中,所述控制与所述至少一个人工智能任务各自对应的目标设备,基于与所述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行所述至少一个人工智能任务,包括:The method according to any one of claims 1 to 4, wherein the controlling the target device corresponding to the at least one artificial intelligence task is based on the artificial intelligence model and the artificial intelligence model corresponding to the at least one artificial intelligence task Task data for performing said at least one artificial intelligence task, comprising:
    确定所述至少一个人工智能任务彼此之间的关联关系;determining the relationship between the at least one artificial intelligence task;
    根据所述关联关系,确定任务执行顺序;以及Determining a task execution sequence according to the association relationship; and
    根据所述任务执行顺序,控制与所述至少一个人工智能任务各自对应的目标设备,基于与所述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行所述至少一个人工智能任务。According to the task execution order, control the target devices corresponding to the at least one artificial intelligence task, and execute the at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  6. 根据权利要求5所述的方法,还包括:The method according to claim 5, further comprising:
    确定所述至少一个人工智能任务各自的执行优先级信息;determining respective execution priority information of the at least one artificial intelligence task;
    其中,所述根据所述关联关系,确定任务执行顺序,包括:Wherein, the determining the order of task execution according to the association relationship includes:
    根据所述关联关系和至少一个所述执行优先级信息,确定所 述任务执行顺序。The task execution order is determined according to the association relationship and at least one piece of the execution priority information.
  7. 根据权利要求2所述的方法,其中,所述控制与所述至少一个人工智能任务各自对应的目标设备,基于与所述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行所述至少一个人工智能任务,包括:The method according to claim 2, wherein said controlling the target device respectively corresponding to said at least one artificial intelligence task executes said At least one artificial intelligence task, including:
    在确定用于执行所述至少一个人工智能任务各自的目标设备包括所述云服务器的情况下,向所述服务器发送任务执行请求,以便所述服务器响应于接收到所述任务执行请求,执行与所述服务器对应的人工智能任务,In the case where it is determined that the respective target devices for executing the at least one artificial intelligence task include the cloud server, sending a task execution request to the server, so that the server executes and executes in response to receiving the task execution request. The artificial intelligence task corresponding to the server,
    其中,所述任务执行请求包括任务信息,所述任务信息包括人工智能任务标识和与所述人工智能任务标识对应的任务数据,所述人工智能任务标识用于确定与所述人工智能任务标识对应的人工智能模型。Wherein, the task execution request includes task information, and the task information includes an artificial intelligence task identifier and task data corresponding to the artificial intelligence task identifier, and the artificial intelligence task identifier is used to determine artificial intelligence model.
  8. 根据权利要求7所述的方法,其中,所述任务执行请求包括的任务信息是经过加密处理得到的。The method according to claim 7, wherein the task information included in the task execution request is obtained through encryption.
  9. 根据权利要求7或8所述的方法,还包括:The method according to claim 7 or 8, further comprising:
    在确定用于执行所述至少一个人工智能任务各自的目标设备还包括所述端侧设备的情况下,向所述服务器发送至少一个第一日志信息,以便所述服务器对所述至少一个第一日志信息和至少一个第二日志信息进行聚合,得到聚合信息,When it is determined that the respective target devices for executing the at least one artificial intelligence task also include the end-side device, send at least one first log information to the server, so that the server can perform the at least one first log information Aggregating log information and at least one second log information to obtain aggregated information,
    其中,每个所述第一日志信息包括所述端侧设备执行与所述端侧设备对应的人工智能任务得到的执行结果,每个所述第二日志信息包括所述服务器执行与所述服务器对应的人工智能任务得到的执行结果。Wherein, each of the first log information includes the execution result obtained by the end-side device executing the artificial intelligence task corresponding to the end-side device, and each of the second log information includes the server execution and the server The execution result obtained by the corresponding artificial intelligence task.
  10. 根据权利要求1~9中任一项所述的方法,还包括:The method according to any one of claims 1 to 9, further comprising:
    对与所述至少一个人工智能任务各自对应的执行结果进行处理,得到处理结果;以及Processing the execution results corresponding to the at least one artificial intelligence task to obtain a processing result; and
    对所述处理结果进行分析,得到与所述处理结果相关的扩展结果。The processing result is analyzed to obtain an extended result related to the processing result.
  11. 根据权利要求1~10中任一项所述的方法,还包括:The method according to any one of claims 1-10, further comprising:
    在确定获得目标人工智能任务的执行结果的情况下,展示所述目标人工智能任务的执行结果,其中,所述目标人工智能任务是展示等级满足预定条件的人工智能任务。If it is determined that the execution result of the target artificial intelligence task is obtained, the execution result of the target artificial intelligence task is displayed, wherein the target artificial intelligence task is an artificial intelligence task whose presentation level satisfies a predetermined condition.
  12. 根据权利要求1~11中任一项所述的方法,还包括:The method according to any one of claims 1-11, further comprising:
    调用数据接口;以及call the data interface; and
    利用所述数据接口获取与所述至少一个人工智能任务各自对应的任务数据。Using the data interface to acquire task data corresponding to the at least one artificial intelligence task.
  13. 一种任务处理装置,包括:A task processing device, comprising:
    第一确定模块,用于确定设备调度信息,其中,所述设备调度信息包括端侧设备的可用资源信息和至少一个人工智能任务各自的资源消耗信息;A first determining module, configured to determine device scheduling information, wherein the device scheduling information includes available resource information of end-side devices and resource consumption information of at least one artificial intelligence task;
    第二确定模块,用于根据所述设备调度信息,从服务器和所述端侧设备中确定用于执行所述至少一个人工智能任务各自的目标设备;以及A second determining module, configured to determine from the server and the end-side device the respective target devices for executing the at least one artificial intelligence task according to the device scheduling information; and
    执行模块,用于控制与所述至少一个人工智能任务各自对应的目标设备,基于与所述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行所述至少一个人工智能任务。An execution module, configured to control target devices corresponding to the at least one artificial intelligence task, and execute the at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task.
  14. 根据权利要求13所述的装置,其中,所述第二确定模块,包括:The device according to claim 13, wherein the second determining module comprises:
    第一获得子模块,用于根据至少一个所述资源消耗信息,得到总资源消耗信息;A first obtaining submodule, configured to obtain total resource consumption information according to at least one piece of resource consumption information;
    第一确定子模块,用于在确定所述可用资源信息满足所述总资源消耗信息的情况下,将所述端侧设备确定为用于执行所述至少一个人工智能任务各自的目标设备;以及A first determining submodule, configured to determine the end-side device as a respective target device for executing the at least one artificial intelligence task when it is determined that the available resource information satisfies the total resource consumption information; and
    第二确定子模块,用于在确定所述可用资源信息不满足所述总资源消耗信息的情况下,根据所述设备调度信息,从所述服务器和所述端侧设备中确定用于执行所述至少一个人工智能任务各自的目标设备。The second determining submodule is configured to determine, from the server and the end-side device, the resource used to execute the Respective target devices for at least one artificial intelligence task.
  15. 根据权利要求14所述的装置,其中,所述第二确定模块,包括:The device according to claim 14, wherein the second determining module comprises:
    第三确定子模块,用于根据所述设备调度信息,确定目标人工智能任务,其中,所述目标人工智能任务是所述端侧设备能够执行的人工智能任务;The third determination sub-module is configured to determine a target artificial intelligence task according to the device scheduling information, wherein the target artificial intelligence task is an artificial intelligence task that can be executed by the terminal-side device;
    第四确定子模块,用于将所述端侧设备确定为用于执行所述目标人工智能任务的目标设备;以及A fourth determining submodule, configured to determine the end-side device as a target device for performing the target artificial intelligence task; and
    第五确定子模块,用于将所述服务器确定为用于执行第一其他人工智能任务的目标设备,其中,所述第一其他人工智能任务是所述至少一个人工智能任务中除所述目标人工智能任务以外的人工智能任务。A fifth determining submodule, configured to determine the server as a target device for executing a first other artificial intelligence task, wherein the first other artificial intelligence task is the at least one artificial intelligence task other than the target device AI tasks other than AI tasks.
  16. 根据权利要求15所述的装置,其中,所述设备调度信息还包括所述至少一个人工智能任务各自的需求优先级信息;The apparatus according to claim 15, wherein the equipment scheduling information further includes demand priority information of each of the at least one artificial intelligence task;
    其中,所述第三确定子模块,包括:Wherein, the third determining submodule includes:
    第一确定单元,用于根据所述至少一个人工智能任务各自的需求优先级信息,确定第一候选人工智能任务;A first determination unit, configured to determine a first candidate artificial intelligence task according to the respective demand priority information of the at least one artificial intelligence task;
    第二确定单元,用于根据所述端侧设备的可用资源信息和所述第一候选人工智能任务的资源消耗信息,确定所述第二候选人工智能任务;The second determining unit is configured to determine the second candidate artificial intelligence task according to the available resource information of the device on the terminal side and the resource consumption information of the first candidate artificial intelligence task;
    第三确定单元,用于在确定所述端侧设备的可用资源信息与所述第二候选人工智能任务的资源消耗信息一致的情况下,将所述第二候选人工智能任务确定为所述目标人工智能任务;A third determining unit, configured to determine the second candidate artificial intelligence task as the target when it is determined that the available resource information of the device is consistent with the resource consumption information of the second candidate artificial intelligence task artificial intelligence tasks;
    第四确定单元,用于在确定所述端侧设备的可用资源信息大于所述第二候选人工智能任务的资源消耗信息的情况下,确定第三候选人工智能任务,其中,所述第三候选人工智能任务是所述至少一个人工智能任务中除所述第一候选人工智能任务以外的人工智能任务;以及A fourth determining unit, configured to determine a third candidate artificial intelligence task when it is determined that the available resource information of the device is greater than the resource consumption information of the second candidate artificial intelligence task, wherein the third candidate The artificial intelligence task is an artificial intelligence task of the at least one artificial intelligence task other than the first candidate artificial intelligence task; and
    第五确定单元,用于根据所述第二候选人工智能任务和所述第三候选人工智能任务,确定所述目标人工智能任务。A fifth determining unit, configured to determine the target artificial intelligence task according to the second candidate artificial intelligence task and the third candidate artificial intelligence task.
  17. 根据权利要求13~16中任一项所述的装置,其中,所述执行模块,包括:The device according to any one of claims 13-16, wherein the execution module includes:
    第六确定子模块,用于确定所述至少一个人工智能任务彼此 之间的关联关系;The sixth determination submodule is used to determine the relationship between the at least one artificial intelligence task;
    第七确定子模块,用于根据所述关联关系,确定任务执行顺序;以及The seventh determining submodule is used to determine the order of task execution according to the association relationship; and
    执行子模块,用于根据所述任务执行顺序,控制与所述至少一个人工智能任务各自对应的目标设备,基于与所述至少一个人工智能任务各自对应的人工智能模型和任务数据,执行所述至少一个人工智能任务。The execution submodule is configured to control the target devices corresponding to the at least one artificial intelligence task according to the task execution order, and execute the said at least one artificial intelligence task based on the artificial intelligence model and task data corresponding to the at least one artificial intelligence task respectively. At least one AI task.
  18. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1~12中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any one of claims 1-12. Methods.
  19. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1~12中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of claims 1-12.
  20. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1~12中任一项所述的方法。A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-12.
PCT/CN2022/106978 2021-12-07 2022-07-21 Task processing method, task processing apparatus, electronic device and storage medium WO2023103390A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111487774.8A CN114201278B (en) 2021-12-07 2021-12-07 Task processing method, task processing device, electronic equipment and storage medium
CN202111487774.8 2021-12-07

Publications (1)

Publication Number Publication Date
WO2023103390A1 true WO2023103390A1 (en) 2023-06-15

Family

ID=80651081

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106978 WO2023103390A1 (en) 2021-12-07 2022-07-21 Task processing method, task processing apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN114201278B (en)
WO (1) WO2023103390A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739440A (en) * 2023-08-16 2023-09-12 亚信科技(中国)有限公司 Method and device for evaluating intelligent network, electronic equipment and storage medium
CN117217165A (en) * 2023-11-08 2023-12-12 芯砺智能科技(江苏)有限公司 Execution method, device and equipment for chip design front-end quality behavior

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201278B (en) * 2021-12-07 2023-12-15 北京百度网讯科技有限公司 Task processing method, task processing device, electronic equipment and storage medium
CN115495223A (en) * 2022-11-18 2022-12-20 安徽华云安科技有限公司 Task safety scheduling method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160034306A1 (en) * 2014-07-31 2016-02-04 Istreamplanet Co. Method and system for a graph based video streaming platform
CN111258744A (en) * 2018-11-30 2020-06-09 中兴通讯股份有限公司 Task processing method based on heterogeneous computation and software and hardware framework system
CN112988345A (en) * 2021-02-09 2021-06-18 江南大学 Dependency task unloading method and device based on mobile edge calculation
CN113114758A (en) * 2021-04-09 2021-07-13 北京邮电大学 Method and device for scheduling tasks for server-free edge computing
CN114201278A (en) * 2021-12-07 2022-03-18 北京百度网讯科技有限公司 Task processing method, task processing device, electronic device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6938980B2 (en) * 2017-03-14 2021-09-22 富士フイルムビジネスイノベーション株式会社 Information processing equipment, information processing methods and programs
CN112328378B (en) * 2020-11-05 2023-03-24 南京星环智能科技有限公司 Task scheduling method, computer device and storage medium
CN112905350A (en) * 2021-03-22 2021-06-04 北京市商汤科技开发有限公司 Task scheduling method and device, electronic equipment and storage medium
CN113051054B (en) * 2021-03-24 2023-09-08 博瀚智能(深圳)有限公司 Method, apparatus and computer readable storage medium for scheduling artificial intelligence platform resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160034306A1 (en) * 2014-07-31 2016-02-04 Istreamplanet Co. Method and system for a graph based video streaming platform
CN111258744A (en) * 2018-11-30 2020-06-09 中兴通讯股份有限公司 Task processing method based on heterogeneous computation and software and hardware framework system
CN112988345A (en) * 2021-02-09 2021-06-18 江南大学 Dependency task unloading method and device based on mobile edge calculation
CN113114758A (en) * 2021-04-09 2021-07-13 北京邮电大学 Method and device for scheduling tasks for server-free edge computing
CN114201278A (en) * 2021-12-07 2022-03-18 北京百度网讯科技有限公司 Task processing method, task processing device, electronic device, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739440A (en) * 2023-08-16 2023-09-12 亚信科技(中国)有限公司 Method and device for evaluating intelligent network, electronic equipment and storage medium
CN116739440B (en) * 2023-08-16 2023-11-17 亚信科技(中国)有限公司 Method and device for evaluating intelligent network, electronic equipment and storage medium
CN117217165A (en) * 2023-11-08 2023-12-12 芯砺智能科技(江苏)有限公司 Execution method, device and equipment for chip design front-end quality behavior
CN117217165B (en) * 2023-11-08 2024-01-30 芯砺智能科技(江苏)有限公司 Execution method, device and equipment for chip design front-end quality behavior

Also Published As

Publication number Publication date
CN114201278A (en) 2022-03-18
CN114201278B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
WO2023103390A1 (en) Task processing method, task processing apparatus, electronic device and storage medium
US10275448B2 (en) Automatic question generation and answering based on monitored messaging sessions
US10872070B2 (en) Distributed data processing
JP2019536185A (en) System and method for monitoring and analyzing computer and network activity
US20150281035A1 (en) Monitoring of Node.JS Applications
US9832259B2 (en) Method and apparatus for cell configuration
US20230222356A1 (en) Federated learning
WO2023142451A1 (en) Workflow generation methods and apparatuses, and electronic device
WO2019019356A1 (en) Application program test method and apparatus, computer device and storage medium
US10437440B2 (en) Analytic data export tool
KR20220091441A (en) Data synchronization method and device, electronic device, storage media, and computer program
US20200089539A1 (en) Optimization of memory usage by integration flows
US20220198640A1 (en) Systems and methods for visual anomaly detection in a multi-display system
US11023479B2 (en) Managing asynchronous analytics operation based on communication exchange
CN113360672B (en) Method, apparatus, device, medium and product for generating knowledge graph
US11539915B2 (en) Transmission confirmation in a remote conference
CN114897067A (en) Federal learning-based decision model training method and device and federal learning system
CN114756301A (en) Log processing method, device and system
WO2023155378A1 (en) Method and apparatus for monitoring model
US11849006B2 (en) Method for reporting asynchronous data, electronic device and storage medium
US20150222505A1 (en) Business transaction resource usage tracking
US20180308036A1 (en) Mitigating absence of skill input during collaboration session
US11522880B2 (en) Analytics engine for data exploration and analytics
EP4142258A1 (en) Edge computing network, data transmission method and apparatus, device and storage medium
US11240118B2 (en) Network mixing patterns

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22902825

Country of ref document: EP

Kind code of ref document: A1