Method and device for determining execution equipment, electronic equipment and storage medium

By reorganizing decision requests for services to be executed in electronic devices to reduce the number of interactions with candidate devices, the problem of low efficiency of electronic devices in determining execution devices is solved, and a more efficient device determination process is achieved.

CN119336395APending Publication Date: 2025-01-21CHENGDU OPPO TELECOMM TECH CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310905555.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In electronic devices, it is less efficient to determine the device that performs services in the environment, especially when multiple services to be executed exist, frequent interactions with candidate devices are required, resulting in reduced efficiency.

Method used

By obtaining the first decision request of the service to be executed and reorganizing it into a decision request with the candidate device as the node, the number of interactions with the candidate device is reduced and efficiency is improved.

Benefits of technology

By reducing the number of interactions with candidate devices, the efficiency of determining the service execution device to be executed is improved, and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336395A_ABST
    Figure CN119336395A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for determining execution equipment, electronic equipment and a storage medium. The method comprises the following steps: acquiring a first decision request corresponding to each to-be-executed service in a plurality of to-be-executed services; the obtained first decision request is recombined, a second decision request corresponding to each candidate device in the first decision request is obtained, and the second decision request comprises service information of at least one to-be-executed service to be evaluated of the candidate device corresponding to the second decision request; sending each second decision request to candidate equipment corresponding to each second decision request; receiving an evaluation result corresponding to each to-be-executed service to be evaluated of each candidate device returned by each candidate device; and based on the evaluation result returned by each candidate device, determining an execution device for executing each to-be-executed service from the candidate devices corresponding to each to-be-executed service. According to the method, the efficiency of determining the execution equipment of the to-be-executed service can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and more specifically, to a method, apparatus, electronic device and storage medium for determining an execution device. Background Art

[0002] With the rapid advancement of science and technology and living standards, electronic devices (such as smartphones, tablets, etc.) have become one of the commonly used electronic products in people's lives. When using electronic devices in practice, there are often other devices that can communicate and connect in the environment where the electronic devices are located. Therefore, the electronic devices can hand over some services that need to be executed (such as cross-end camera services, cross-end audio services, etc.) to other devices in the environment. However, in the related art, the efficiency of electronic devices in determining the devices that execute these services in the environment is low. Summary of the invention

[0003] The present application proposes a method, apparatus, electronic device and storage medium for determining an execution device, which can improve the efficiency of determining an execution device for a service to be executed.

[0004] In a first aspect, an embodiment of the present application provides a method for determining an execution device, which is applied to a decision device, the method comprising: obtaining a first decision request corresponding to each of a plurality of services to be executed, the first decision request being used to request a decision on an execution device for executing the service to be executed, the first decision request comprising service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; reorganizing the obtained first decision request to obtain a second decision request corresponding to each candidate device present in the first decision request, the second decision request comprising service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request; sending each of the second decision requests to the candidate device corresponding to each of the second decision requests; receiving an evaluation result corresponding to each service to be evaluated by each candidate device returned by the candidate device, the evaluation result being used to characterize the suitability of the candidate device for executing the service to be executed; and determining, based on the evaluation result returned by each candidate device, an execution device for executing each service to be executed from the candidate devices corresponding to the service to be executed.

[0005] In a second aspect, an embodiment of the present application provides a method for determining an execution device, which is applied to a candidate device, and the method includes: receiving a second decision request corresponding to the candidate device sent by a decision device, the second decision request including service information of at least one service to be executed to be evaluated by the candidate device, the second decision request being obtained by the decision device after reorganizing the first decision request corresponding to each of a plurality of services to be executed, the first decision request including service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; based on the service information of the service to be executed in the second decision request, evaluating the service to be executed corresponding to the second decision request, and obtaining an evaluation result of each service to be executed corresponding to the second decision request, the evaluation result being used to characterize the suitability of the candidate device for executing the service to be executed; returning the evaluation result of each service to be executed corresponding to the second decision request to the decision device, the decision device being used to determine the execution device corresponding to each of the plurality of services to be executed according to the evaluation result returned by the candidate device and the evaluation results returned by other candidate devices according to the received second decision request.

[0006] In a third aspect, an embodiment of the present application provides an apparatus for determining an execution device, which is applied to a decision-making device, and the apparatus includes: a request acquisition module, a request reorganization module, a request sending module, a result receiving module, and a device determination module, wherein the request acquisition module is used to obtain a first decision request corresponding to each of a plurality of services to be executed, the first decision request is used to request a decision on an execution device for executing the service to be executed, the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; the request reorganization module is used to reorganize the acquired first decision request to obtain the first decision request. A second decision request corresponding to each candidate device present in the request, the second decision request including service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request; the request sending module is used to send each second decision request to the candidate device corresponding to each second decision request; the result receiving module is used to receive the evaluation result corresponding to each service to be executed to be evaluated by each candidate device returned by each candidate device, the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed; the device determination module is used to determine the execution device for executing each service to be executed from the candidate devices corresponding to each service to be executed based on the evaluation result returned by each candidate device.

[0007] In a fourth aspect, an embodiment of the present application provides an apparatus for determining an execution device, which is applied to a candidate device, and the apparatus includes: a request receiving module, a service evaluation module, and a result returning module, wherein the request receiving module is used to receive a second decision request corresponding to the candidate device sent by the decision device, the second decision request includes service information of at least one service to be executed to be evaluated by the candidate device, and the second decision request is obtained by the decision device after reorganizing the first decision request corresponding to each service to be executed in a plurality of services to be executed, the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; the service evaluation module is used to evaluate the service to be executed corresponding to the second decision request based on the service information of the service to be executed in the second decision request, and obtain an evaluation result of each service to be executed corresponding to the second decision request, and the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed; the result returning module is used to return the evaluation result of each service to be executed corresponding to the second decision request to the decision device, and the decision device is used to determine the execution device corresponding to each service to be executed in the plurality of services to be executed according to the evaluation result returned by the candidate device and the evaluation results returned by other candidate devices according to the received second decision request.

[0008] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method for determining an execution device provided in the first aspect above.

[0009] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the method for determining an execution device provided in the first aspect above.

[0010] The solution provided by the present application is as follows: obtaining a first decision request corresponding to each of a plurality of services to be executed, the first decision request being used to request a decision on an execution device for executing the service to be executed, the first decision request including service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; reorganizing the obtained first decision request to obtain a second decision request corresponding to each candidate device present in the first decision request, the second decision request including service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request; sending each second decision request to the candidate device corresponding to each second decision request; receiving an evaluation result corresponding to each service to be executed to be evaluated by each candidate device returned by each candidate device, the evaluation result being used to characterize the suitability of the candidate device for executing the service to be executed; and determining an execution device for executing each service to be executed from the candidate devices corresponding to each service to be executed based on the evaluation result returned by each candidate device. Therefore, when determining the execution devices of multiple services to be executed, the decision requests originally generated by the services to be executed are reorganized into decision requests established by each candidate device, so that when requesting the candidate device to evaluate the service to be executed, the number of interactions with the candidate device can be reduced, thereby improving the efficiency of determining the execution devices of the services to be executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 A schematic diagram of an application environment provided by an embodiment of the present application is shown.

[0013] Figure 2 A flow chart of a method for determining an execution device according to an embodiment of the present application is shown.

[0014] Figure 3 A flow chart of a method for determining an execution device according to another embodiment of the present application is shown.

[0015] Figure 4 A flow chart of a method for determining an execution device according to yet another embodiment of the present application is shown.

[0016] Figure 5 A flow chart of a method for determining an execution device according to yet another embodiment of the present application is shown.

[0017] Figure 6A block diagram of an apparatus for determining an execution device according to an embodiment of the present application is shown.

[0018] Figure 7 A block diagram of an apparatus for determining an execution device according to another embodiment of the present application is shown.

[0019] Figure 8 It is a block diagram of an electronic device for executing a method for determining an execution device according to an embodiment of the present application.

[0020] Fig. 9 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing a method for determining an execution device according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0022] With the advancement of technology, in people's daily life and work, there are usually a large number of devices that can communicate with each other in the environment. When people use electronic devices such as smartphones, they can also hand over some services to be performed by the electronic devices to the devices in the environment. For example, when the electronic device needs to perform camera services and audio playback services, the camera service can be performed by the device with a camera in the environment, and the audio playback service can be performed by the device with an audio playback device in the environment.

[0023] In the related art, since there may be multiple candidate devices in the environment (i.e., devices that can be selected to perform services), the electronic device usually decides on the device used to perform the service, and in the related art, a decision request is generated for the service to be performed, and then according to the decision request corresponding to the service, the relevant information of the service to be performed is sent to the candidate device, and the candidate device evaluates its suitability for performing the service, and then returns it to the electronic device, and the electronic device determines the best device from the candidate devices as the device to perform the service based on the evaluation results returned by each candidate device. However, in some cases, there may be multiple services to be performed at the same time. If there are multiple candidate devices for the services to be performed, and there are the same candidate devices between different services to be performed, then when determining the execution devices of all the services to be performed, it is necessary to make multiple requests to the same candidate device to evaluate different services. In this case, multiple interactions will be performed with the same candidate device, resulting in low efficiency of the electronic device in determining the execution device of the service to be performed, affecting the normal use of the user. Exemplarily, there are currently decision requests for service 1 and service 2, and the candidate devices for service 1 and service 2 both include device node 1 and device node 2. Then, when determining the execution device for service 1, two interactions will be performed with device node 1 and device node 2 respectively according to the decision request of service 1 to obtain the evaluation results of device node 1 and device node 2 for service 1 respectively. When determining the execution device for service 2, two interactions will be performed with device node 1 and device node 2 respectively according to the decision request of service 2 to obtain the evaluation results of device node 1 and device node 2 for service 2 respectively. In this case, multiple interactions will be performed with the same candidate device, which will make the electronic device less efficient in determining the execution device of the service to be executed.

[0024] In response to the above problems, the inventors proposed a method, apparatus, electronic device, and storage medium for determining an execution device provided in the embodiments of the present application. When determining the execution devices of multiple services to be executed, the decision request originally generated by the services to be executed is reorganized into a decision request established by each candidate device, so that when requesting the candidate device to evaluate the services to be executed, the number of interactions with the candidate device can be reduced, thereby improving the efficiency of determining the execution device of the services to be executed. The specific method for determining the execution device is described in detail in the subsequent embodiments.

[0025] The following first introduces the scenarios involved in the embodiments of the present application.

[0026] like Figure 1 As shown, in Figure 1The scenario shown includes a decision device 10 and multiple candidate devices 20, wherein the decision device 10 and the candidate devices 20 can be connected in communication, for example, by Bluetooth, Near Field Communication (NFC), WiFi, ZigBee, etc. The decision device 10 and the candidate devices 20 can be smart phones, tablet computers, smart watches, e-books, smart TVs, smart speakers, smart cameras, etc. When the decision device 10 needs to determine the execution device for the service to be executed, it can send the service information of the service to be executed to the candidate device 20 corresponding to the service to be executed, so as to obtain the evaluation result returned by the candidate device 20, and then determine the execution device for executing the service to be executed according to the evaluation result returned by the candidate device 20.

[0027] The method for determining an execution device provided in an embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0028] See also Figure 2 , Figure 2 The flowchart of the method for determining the execution device provided by an embodiment of the present application is shown. In a specific embodiment, the method for determining the execution device is applied to the above-mentioned decision device. Figure 2 The process shown is described in detail, and the method for determining the execution device may specifically include the following steps:

[0029] Step S110: Obtain a first decision request corresponding to each of a plurality of services to be executed, wherein the first decision request is used to request a decision on an execution device for executing the service to be executed, and the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request.

[0030] In an embodiment of the present application, a service to be executed may refer to a service that needs to be executed but has not been executed in an electronic device, and the above multiple services to be executed may be executed by other devices. When a service to be executed is generated in an electronic device, the software module corresponding to the service to be executed may generate a first decision request corresponding to the service to be executed, and the first decision request includes service information of the service to be executed and device information of candidate devices for executing the service to be executed, so as to request to decide on an execution device for executing the service to be executed from the candidate devices corresponding to the service to be executed, that is, to request the electronic device to determine the execution device for executing the service to be executed. Among them, the device information may be the name, identification, etc. of the device, and the service information may include the hardware modules, computing resources, memory resources, network resources, power consumption, etc. required for the service to be executed.

[0031] In some embodiments, the above services to be executed may include ubiquitous services, applications, applets, quick applications, etc., wherein ubiquitous services refer to services opened based on perceived application scenarios. For example, ubiquitous services are services displayed on electronic devices in the form of card recommendations based on perceived application scenarios, and users can perform corresponding services by clicking on card recommendations; or ubiquitous services are service interfaces that are automatically displayed on electronic devices based on perceived application scenarios, such as displaying screen projection services in the form of pop-up windows for users to project displayed content to large-screen devices without affecting the interface that the user is using; quick applications are installation-free, click-and-use applications. Of course, the specific types of services to be executed may not be limited.

[0032] It is understandable that in some cases, there may be multiple services to be executed in the electronic device at the same time. When a decision is needed on the execution device of each device to be executed, a corresponding decision request (first decision request) is usually generated for each service to be executed. Therefore, in such a case, the electronic device will obtain the first decision request corresponding to each of the multiple services to be executed.

[0033] Step S120: reorganize the first decision request obtained to obtain a second decision request corresponding to each candidate device existing in the first decision request, wherein the second decision request includes service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request.

[0034] Since the first decision request is generated for each service to be executed, and there are usually multiple candidate devices corresponding to the service to be executed, and there are the same candidate devices between different services to be executed, in this case, when the first decision request corresponding to multiple services to be executed is obtained, that is, when there are multiple first decision requests corresponding to the services to be executed at the same time, it is necessary to interact with the corresponding candidate device according to the device information in the first decision request for each first decision request, so as to obtain the evaluation result of the subsequent device for the service to be executed. Therefore, in the process of processing these first decision requests, it is possible to interact with the same candidate device multiple times, which leads to low efficiency when the electronic device determines the execution device of the service to be executed. Therefore, in the embodiment of the present application, when the first decision request corresponding to multiple services to be executed is obtained, the multiple first decision requests can be reorganized to obtain the second decision request for each candidate device existing in the above multiple first decision requests, that is, the second decision request corresponding to each candidate device, and each second decision request includes the service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request. In other words, for each candidate device existing in all the above first decision requests, the service to be executed corresponding to each candidate device is screened out, so as to obtain the second decision request corresponding to each candidate device.

[0035] In some implementations, the above method of obtaining the second decision request can be based on the obtained first decision request, and a balanced binary tree with different candidate devices as nodes is established. Among them, the obtained first decision request can be used to generate a service balanced binary tree according to different services to be executed from small to large, and the node content of the tree is the decision request set for the same service to be executed; then, the service balanced binary tree is traversed to obtain another device balanced binary tree with different candidate devices sorted from small to large, and the nodes of the tree are the reorganized service decision requests of the same candidate device.

[0036] Exemplarily, the decision device currently obtains the first decision request corresponding to ubiquitous service 1, ubiquitous service 2 and ubiquitous service 3, the first decision request corresponding to ubiquitous service 1 includes the device information of candidate device 1, candidate device 2 and candidate device 3, the first decision request corresponding to ubiquitous service 2 includes the device information of candidate device 2, candidate device 3 and candidate device 4, and the first decision request corresponding to ubiquitous service 3 includes the device information of candidate device 1, candidate device 3 and candidate device 4. Then, for the first decision request corresponding to the above ubiquitous service 1, ubiquitous service 2 and ubiquitous service 3, the second decision request corresponding to candidate device 1 includes the service information corresponding to ubiquitous service 1 and ubiquitous service 3, the second decision request corresponding to candidate device 2 includes the service information corresponding to ubiquitous service 1 and ubiquitous service 2, the second decision request corresponding to candidate device 3 includes the service information corresponding to ubiquitous service 1, ubiquitous service 2 and ubiquitous service 3, and the second decision request corresponding to candidate device 4 includes the service information corresponding to ubiquitous service 2 and ubiquitous service 3. In this way, when determining the execution device for the above ubiquitous service 1, ubiquitous service 2 and ubiquitous service 3, after obtaining the above second decision request, it is only necessary to interact with candidate device 1, candidate device 2, candidate device 3 and candidate device 4 once respectively according to the second decision requests corresponding to candidate device 1, candidate device 2, candidate device 3 and candidate device 4, and obtain the evaluation results of candidate device 1, candidate device 2, candidate device 3 and candidate device 4 for the above ubiquitous services.

[0037] Step S130: Send each of the second decision requests to the candidate device corresponding to each of the second decision requests.

[0038] In an embodiment of the present application, after obtaining the second decision request corresponding to each of the above candidate devices, each second decision request can be sent to the candidate device corresponding to each second decision request, so as to request the candidate device to evaluate the service to be evaluated according to the service information of the service to be executed in the received second decision request, so as to obtain an evaluation result for characterizing the suitability of the candidate device to execute the service to be executed. For example, when candidate device 1 receives and obtains the second decision request including the service information corresponding to ubiquitous service 1 and ubiquitous service 3, candidate device 1 evaluates ubiquitous service 1 according to the service information of ubiquitous service 1, and obtains an evaluation result for characterizing the suitability of candidate device 1 to execute ubiquitous service 1; candidate device 1 evaluates ubiquitous service 2 according to the service information of ubiquitous service 2, and obtains an evaluation result for characterizing the suitability of candidate device 1 to execute ubiquitous service 2.

[0039] Step S140: receiving an evaluation result corresponding to each service to be executed of each candidate device returned by each candidate device, wherein the evaluation result is used to characterize the suitability of the candidate device for executing the service to be executed.

[0040] In the embodiment of the present application, after each second decision request is sent to the candidate device corresponding to each second decision request, the candidate device evaluates the service to be evaluated according to the service information of the service to be executed in the received second decision request, thereby obtaining an evaluation result for characterizing the suitability of the candidate device to execute the service to be executed. Moreover, after obtaining the evaluation result corresponding to each service to be evaluated, each candidate device returns the evaluation result corresponding to each service to be evaluated by each candidate device to the decision device; correspondingly, the decision device can receive the evaluation result corresponding to each service to be executed returned by each candidate device.

[0041] Optionally, since the decision device interacts with the candidate device only once, and integrates the services to be executed to be evaluated by the decision device into a second decision request and sends it to the candidate device, when the candidate device returns the evaluation result, the evaluation results of all services to be executed evaluated by the candidate device are also returned to the decision device at once, thereby reducing the number of interactions between the decision device and the candidate device when returning the evaluation result.

[0042] In some embodiments, when evaluating the service to be executed, the candidate device may perform a pre-screening, which may include: determining whether the candidate device has the hardware capability to execute the service to be executed. For example, if the service to be executed is a camera service, the candidate device may be based on whether it has hardware with image acquisition capabilities. The pre-screening may also include checking whether the service to be executed can tolerate node stains, checking memory load, disk load, checking whether hard affinity and anti-hard affinity meet the requirements of the service to be executed, etc. After determining that the service to be executed meets the pre-screening conditions, the candidate device may perform resource matching to calculate the fitness of the candidate device to execute the service to be executed (quantifying the fitness of the candidate device to execute the service to be executed as fitness). Specifically, each parameter may be quantified according to the remaining resources, remaining memory, remaining storage capacity of the memory, remaining power, priority affinity, network status and other parameters of the processor of the candidate device, and the quantified values ​​may be weighted to obtain a total score as the above fitness. Of course, the specific way in which the candidate device evaluates the service information of the service to be executed may not be limited.

[0043] Step S150: Based on the evaluation result returned by each candidate device, determine an execution device for executing each service to be executed from the candidate devices corresponding to each service to be executed.

[0044] In the embodiment of the present application, after receiving the evaluation results returned by each candidate device, the decision device can determine the evaluation results corresponding to each service to be executed according to the received evaluation results, and determine the execution device for executing each service to be executed according to the evaluation results corresponding to each service to be executed. Among them, the decision device can determine the candidate device that meets the target condition from the candidate devices corresponding to the service to be executed as the execution device according to the suitability of the candidate device to execute the service to be executed.

[0045] The method for determining the execution device provided in the embodiment of the present application, when determining the execution devices of multiple services to be executed, reorganizes the decision request originally generated by the service to be executed into a decision request established by each candidate device, so that when requesting the candidate device to evaluate the service to be executed, the number of interactions with the candidate device can be reduced, thereby improving the efficiency of determining the execution device of the service to be executed.

[0046] See also Figure 3 , Figure 3 A flow chart of a method for determining an execution device provided by another embodiment of the present application is shown. The method for determining an execution device is applied to the above-mentioned decision-making device. Figure 3 The process shown is described in detail, and the method for determining the execution device may specifically include the following steps:

[0047] Step S210: Obtain a first decision request corresponding to each of a plurality of services to be executed, wherein the first decision request is used to request a decision on an execution device for executing the service to be executed, and the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request.

[0048] In the embodiment of the present application, step S210 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0049] Step S220: Determine the candidate devices existing in the acquired first decision request.

[0050] In an embodiment of the present application, after obtaining the first decision request corresponding to each of the multiple services to be executed, the decision device can determine the candidate device present in the first decision request based on the device information of the candidate device in the obtained first decision request.

[0051] Exemplarily, the decision device currently obtains the first decision request corresponding to ubiquitous service 1, ubiquitous service 2, and ubiquitous service 3. The first decision request corresponding to ubiquitous service 1 includes device information of candidate device 1, candidate device 2, and candidate device 3. The first decision request corresponding to ubiquitous service 2 includes device information of candidate device 2, candidate device 3, and candidate device 4. The first decision request corresponding to ubiquitous service 3 includes device information of candidate device 1, candidate device 3, and candidate device 4. The decision device can determine that the candidate devices present in the above first decision request include: candidate device 1, candidate device 2, candidate device 3, and candidate device 4 according to the device information in the first decision request corresponding to ubiquitous service 1, ubiquitous service 2, and ubiquitous service 3.

[0052] Step S230: for each candidate device among the existing candidate devices, determine the to-be-executed service to be evaluated for each candidate device from the acquired first decision request.

[0053] In the embodiment of the present application, after determining the candidate devices existing in the obtained first decision request, the service to be executed to be evaluated for each candidate device can be determined from the obtained first decision request for each candidate device among the existing candidate devices. The decision device can determine the service to be executed corresponding to each candidate device from the obtained first decision request for each candidate device among the existing candidate devices as the service to be executed to be evaluated for each candidate device.

[0054] Exemplarily, the decision-making device currently obtains the first decision requests corresponding to ubiquitous service 1, ubiquitous service 2, and ubiquitous service 3. The first decision request corresponding to ubiquitous service 1 includes the device information of candidate device 1, candidate device 2, and candidate device 3. The first decision request corresponding to ubiquitous service 2 includes the device information of candidate device 2, candidate device 3, and candidate device 4. The first decision request corresponding to ubiquitous service 3 includes the device information of candidate device 1, candidate device 3, and candidate device 4. The decision-making device can determine the device information existing in the above first decision requests based on the device information in the first decision requests corresponding to ubiquitous service 1, ubiquitous service 2, and ubiquitous service 3. The candidate devices include: candidate device 1, candidate device 2, candidate device 3 and candidate device 4; then for candidate device 1, according to the above first decision request, the ubiquitous service 1 and the ubiquitous service 3 corresponding to candidate device 1 can be determined; for candidate device 2, according to the above first decision request, the ubiquitous service 1 and the ubiquitous service 2 corresponding to candidate device 2 can be determined; for candidate device 3, according to the above first decision request, the ubiquitous service 1, the ubiquitous service 2 and the ubiquitous service 3 corresponding to candidate device 3 can be determined; for candidate device 4, according to the above first decision request, the ubiquitous service 2 and the ubiquitous service 3 corresponding to candidate device 4 can be determined.

[0055] Step S240: generating a second decision request corresponding to each candidate device based on the service information of the service to be executed to be evaluated by each candidate device.

[0056] In an embodiment of the present application, after determining the services to be evaluated and executed for each candidate device for each candidate device, the service information of the services to be evaluated and executed for each candidate device can be obtained based on the service information of the services to be executed in the first decision request obtained above; then, based on the service information of the services to be evaluated and executed for each candidate device, a second decision request corresponding to each candidate device is generated, and the generated second decision request includes the service information of at least one service to be evaluated and executed of the candidate device corresponding to the second decision request.

[0057] Step S250: Send each of the second decision requests to the candidate device corresponding to each of the second decision requests.

[0058] Step S260: receiving the evaluation result corresponding to each service to be executed to be evaluated by each candidate device returned by each candidate device, wherein the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed.

[0059] In the embodiment of the present application, step S250 and step S260 can refer to the contents of other embodiments and will not be repeated here.

[0060] Step S270: Aggregate the evaluation results returned by each candidate device to obtain the evaluation results corresponding to each service to be executed, wherein the evaluation results corresponding to each service to be executed include the evaluation results of each candidate device corresponding to each service to be executed for each service to be executed.

[0061] In the embodiment of the present application, after receiving the evaluation result returned by each candidate device, the decision device can aggregate all the received evaluation results to obtain the evaluation result corresponding to each service to be executed, and the evaluation result corresponding to each service to be executed includes the evaluation result of each candidate device corresponding to each service to be executed for each service to be executed. In other words, the decision device can determine the evaluation result of each service to be executed from the evaluation result returned by each candidate device, thereby obtaining the evaluation result of each candidate device corresponding to each service to be executed for each service to be executed.

[0062] In some implementations, the above method of obtaining the evaluation result corresponding to each service to be executed can be to establish a balanced binary tree with different services to be executed as nodes based on the received evaluation result. According to the received evaluation result, the service balanced binary tree can be traversed from small to large according to different services to be executed, and the evaluation result of the same service to be executed and the device information of the candidate device are stored in the service balanced binary tree, so as to obtain the evaluation result of each service to be executed.

[0063] For example, the id (Identity document) of device 1 is device id1, the id (Identity document) of device 2 is device id2, and the id (Identity document) of device 3 is device id1. document, identity identifier) ​​is device id3, the id of service 1 is service id1, the id of service 2 is service id2, and the id of service 3 is service id3; the evaluation results for services 1, 2, and 3 returned by device 1 received by the decision-making device are: {device id1, List[{service id1, device score}, {service id2, device score}, {service id3, device score}]}; the evaluation results for services 1, 2, and 3 returned by device 2 received by the decision-making device are: {device id2, List[{service id1, device score}, {service id2, device score}, {service id3, device score}]}; the evaluation results for services 1, 2, and 3 returned by device 3 received by the decision-making device are: {device id3, List[{service id1, device score}, {service id2, device score}, {service id3, device score}]}. After the decision-making device aggregates the evaluation results received above, it can obtain the evaluation result corresponding to service 1: {service id1, List[{device id1, device score}, {device id2, device score}, {device id3, device score}]}, the evaluation result corresponding to service 2: {service id2, List[{device id1, device score}, {device id2, device score}, {device id3, device score}]}, the evaluation result corresponding to service 3: {service id3, List[{device id1, device score}, {device id2, device score}, {device id3, device score}]}.

[0064] Step S280: Based on the evaluation result corresponding to each service to be executed, determine an execution device for executing each service to be executed from the candidate devices corresponding to each service to be executed.

[0065] In the embodiment of the present application, step S280 can refer to the contents of other embodiments and will not be repeated here.

[0066] The method for determining the execution device provided in the embodiment of the present application obtains the decision requests established with each candidate device by reorganizing the decision requests originally generated by the service to be executed, and then sends the decision requests corresponding to each candidate device to each candidate device, and then aggregates the evaluation results of each service to be executed according to the evaluation results returned by each candidate device, and determines the execution device of each service to be executed according to the aggregated evaluation results of each service to be executed, so that when determining the execution devices of multiple services to be executed, the number of interactions with the candidate devices can be reduced, thereby improving the efficiency of determining the execution devices of the services to be executed.

[0067] See also Figure 4 , Figure 4 A flow chart of a method for determining an execution device provided by another embodiment of the present application is shown. The method for determining an execution device is applied to the above electronic device. Figure 4 The process shown is described in detail, and the method for determining the execution device may specifically include the following steps:

[0068] Step S310: Obtain a first decision request corresponding to each of a plurality of services to be executed, wherein the first decision request is used to request a decision on an execution device for executing the service to be executed, and the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request.

[0069] Step S320: reorganize the first decision request obtained to obtain a second decision request corresponding to each candidate device in the first decision request, wherein the second decision request includes service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request.

[0070] Step S330: Send each of the second decision requests to the candidate device corresponding to each of the second decision requests.

[0071] Step S340: Receive the evaluation result corresponding to each service to be executed of each candidate device returned by each candidate device, wherein the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed, and the evaluation result includes a first score, which is positively correlated with the suitability.

[0072] In the embodiment of the present application, steps S310 to S340 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0073] Step S350: for each of the services to be executed, from the candidate devices corresponding to each of the services to be executed, a candidate device corresponding to the first score that meets a target score condition is obtained as an execution device for each of the services to be executed.

[0074] In an embodiment of the present application, the evaluation result of the candidate device for the service to be executed may include a first score, and the first score is positively correlated with the suitability of the candidate device to execute the service to be executed, that is, when the candidate device is evaluated for the service to be executed, its suitability for executing the service to be executed will be evaluated and quantified as the first score. When the decision device determines the execution device of each service to be executed based on the received evaluation result, it can determine the candidate device corresponding to the first score that meets the target score condition for each service to be executed based on the first score returned by the subsequent device corresponding to each service to be executed, and use it as the execution device of the service to be executed.

[0075] In some embodiments, the target score condition may include: the first score is greater than the target score. The target score may be determined according to the quantitative standard of the first score. For example, if the numerical range of the first score is 0 to 100, the target score may be 70, 80, 90, etc. For example, for service 1, the first score of candidate device 1 for service 1 is 50, the first score of candidate device 2 for service 1 is 70, and the first score of candidate device 3 for service 1 is 90. If the target score is 85, the first score corresponding to candidate device 3 is greater than 85. Therefore, the first score corresponding to candidate device 3 meets the target score condition, and candidate device 3 can be determined as the execution device of service 1.

[0076] In a possible implementation, when it is determined that there are multiple candidate devices with a first score greater than the target score for a target service (any service to be executed), the priority corresponding to each candidate device in the multiple candidate devices can also be used to determine the candidate device with the highest priority among the multiple candidate devices as the execution device of the target service. The priority of the candidate device can be predetermined, and the priority can be set in advance according to user operations, or can be determined according to the number of historical executions of the candidate device used to execute the service to be executed in the decision-making device, and the priority corresponding to the candidate device is positively correlated with the above historical execution times.

[0077] In some implementations, the target scoring condition may include: the first score is the maximum score. For example, for service 1, the first score of candidate device 1 for service 1 is 50, the first score of candidate device 2 for service 1 is 70, and the first score of candidate device 3 for service 1 is 90, then the first score corresponding to candidate device 3 is the maximum score, and candidate device 3 can be determined as the execution device of service 1.

[0078] It should be noted that the above implementation modes may also be combined with each other. For example, after determining a candidate device whose first score is greater than the target score for any service to be executed, if there are multiple candidate devices whose first score is greater than the target score, then the candidate device with the largest score can be determined from the multiple candidate devices as the execution device of the service to be executed.

[0079] Step S360: Execute each of the services to be executed through the execution device of each of the services to be executed.

[0080] In the embodiment of the present application, after determining the execution device of each service to be executed, each service to be executed can be executed by the execution device of each service to be executed. For example, relevant information for running the service to be executed can be sent to the execution device so that the execution device runs the service to be executed according to the received information.

[0081] The method for determining the execution device provided in the embodiment of the present application, when determining the execution devices of multiple services to be executed, reorganizes the decision request originally generated by the service to be executed into a decision request established by each candidate device, so that when requesting the candidate device to evaluate the service to be executed, the number of interactions with the candidate device can be reduced, thereby improving the efficiency in determining the execution device of the service to be executed; in addition, according to the score in the returned evaluation result, the candidate device whose score meets the target score condition is determined as the execution device of the service to be executed, which can effectively ensure the execution effect of the service to be executed.

[0082] See also Figure 5 , Figure 5 A flow chart of a method for determining an execution device provided by another embodiment of the present application is shown. The method for determining an execution device is applied to the above-mentioned candidate devices. Figure 5 The process shown is described in detail, and the method for determining the execution device may specifically include the following steps:

[0083] Step S410: Receive a second decision request corresponding to the candidate device sent by the decision device, the second decision request including service information of at least one service to be executed to be evaluated by the candidate device, the second decision request is obtained after the decision device reorganizes the first decision request corresponding to each service to be executed in multiple services to be executed, the first decision request including service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request.

[0084] Step S420: Based on the service information of the service to be executed in the second decision request, the service to be executed corresponding to the second decision request is evaluated to obtain an evaluation result of each service to be executed corresponding to the second decision request, and the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed.

[0085] Step S430: Return the evaluation result of each service to be executed corresponding to the second decision request to the decision device, and the decision device is used to determine the execution device corresponding to each service to be executed among the multiple services to be executed based on the evaluation result returned by the candidate device and the evaluation results returned by other candidate devices based on the received second decision request.

[0086] In the embodiment of the present application, the above steps S410 to S430 can refer to the contents of the aforementioned embodiment and will not be repeated here.

[0087] See also Figure 6 , which shows a structural block diagram of an apparatus 500 for determining an execution device provided by an embodiment of the present application. The apparatus 500 for determining an execution device applies the above-mentioned decision device, and the apparatus 500 for determining an execution device includes: a request acquisition module 510, a request reorganization module 520, a request sending module 530, a result receiving module 540 and a device determination module 550. The request acquisition module 510 is used to acquire a first decision request corresponding to each of the multiple services to be executed, the first decision request is used to request a decision on an execution device for executing the service to be executed, and the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; the request reorganization module 520 is used to reorganize the acquired first decision request to obtain a second decision request corresponding to each candidate device existing in the first decision request, the second decision request includes service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request; the request sending module 530 is used to send each of the second decision requests to the candidate device corresponding to each of the second decision requests; the result receiving module 540 is used to receive an evaluation result corresponding to each of the services to be evaluated by each of the candidate devices returned by each of the candidate devices, the evaluation result being used to characterize the suitability of the candidate device for executing the service to be executed; the device determination module 550 is used to determine, from the candidate devices corresponding to each of the services to be executed, an execution device for executing each of the services to be executed based on the evaluation result returned by each of the candidate devices.

[0088] In some embodiments, the request reorganization module 520 can be specifically used to determine the candidate devices existing in the first decision request obtained; for each candidate device among the existing candidate devices, determine the service to be evaluated and executed for each candidate device from the first decision request obtained; based on the service information of the service to be evaluated and executed for each candidate device, generate a second decision request corresponding to each candidate device.

[0089] In some embodiments, the device determination module 550 can be specifically used to aggregate the evaluation results returned by each candidate device to obtain an evaluation result corresponding to each service to be executed, wherein the evaluation result corresponding to each service to be executed includes the evaluation result of each candidate device corresponding to each service to be executed for each service to be executed; based on the evaluation result corresponding to each service to be executed, determine the execution device for executing each service to be executed from the candidate devices corresponding to each service to be executed.

[0090] In a possible implementation, the evaluation result includes a first score, and the first score is positively correlated with the suitability. The device determination module 550 can be specifically configured to obtain, for each service to be executed, from the candidate devices corresponding to each service to be executed, a candidate device corresponding to the first score that meets a target score condition as an execution device for each service to be executed.

[0091] Optionally, the target scoring conditions include:

[0092] The first score is greater than a target score; or

[0093] The first score is the maximum score.

[0094] In some implementations, the apparatus 500 for determining an execution device may further include a service execution module. The service execution module is configured to execute each to-be-executed service through the execution device of each to-be-executed service after determining an execution device for executing each to-be-executed service from the candidate devices corresponding to each to-be-executed service based on the evaluation result returned by each candidate device.

[0095] See also Figure 7, which shows a structural block diagram of an apparatus 600 for determining an execution device provided by another embodiment of the present application. The apparatus 600 for determining an execution device applies the above-mentioned candidate device, and the apparatus 600 for determining an execution device includes: a request receiving module 610, a service evaluation module 620, and a result returning module 630. Among them, the request receiving module 610 is used to receive a second decision request corresponding to the candidate device sent by the decision device, the second decision request includes service information of at least one service to be executed to be evaluated by the candidate device, the second decision request is obtained by the decision device after reorganizing the first decision request corresponding to each service to be executed in multiple services to be executed, the first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; the service evaluation module 620 is used to evaluate the service to be executed corresponding to the second decision request based on the service information of the service to be executed in the second decision request, and obtain an evaluation result of each service to be executed corresponding to the second decision request, and the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed; the result returning module 630 is used to return the evaluation result of each service to be executed corresponding to the second decision request to the decision device, and the decision device is used to determine the execution device corresponding to each service to be executed in the multiple services to be executed according to the evaluation result returned by the candidate device and the evaluation results returned by other candidate devices according to the received second decision request.

[0096] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0097] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0098] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0099] In summary, the solution provided by the present application is to obtain a first decision request corresponding to each of a plurality of services to be executed, the first decision request being used to request a decision on an execution device for executing the service to be executed, the first decision request including service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; the obtained first decision request is reorganized to obtain a second decision request corresponding to each candidate device present in the first decision request, the second decision request including service information of at least one service to be executed to be evaluated by the candidate device corresponding to the second decision request; each second decision request is sent to the candidate device corresponding to each second decision request; an evaluation result corresponding to each service to be evaluated by each candidate device returned by each candidate device is received, the evaluation result being used to characterize the suitability of the candidate device for executing the service to be executed; and an execution device for executing each service to be executed is determined from the candidate devices corresponding to each service to be executed based on the evaluation result returned by each candidate device. Therefore, when determining the execution devices of multiple services to be executed, the decision requests originally generated by the services to be executed are reorganized into decision requests established by each candidate device, so that when requesting the candidate device to evaluate the service to be executed, the number of interactions with the candidate device can be reduced, thereby improving the efficiency of determining the execution devices of the services to be executed.

[0100] Please refer to Figure 8 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be a decision device or a candidate device in the aforementioned embodiment. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more applications are configured to execute the method as described in the aforementioned method embodiment.

[0101] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0102] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.

[0103] Please refer to Fig. 9 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0104] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for determining an execution device, characterized in that: Applied to a decision-making device, the method comprises: Obtaining a first decision request corresponding to each of a plurality of services to be executed, the first decision request being used to request a decision on an execution device for executing the service to be executed, the first decision request including service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; Reorganize the first decision request obtained to obtain a second decision request corresponding to each candidate device in the first decision request, wherein the second decision request includes service information of at least one service to be evaluated and to be executed by the candidate device corresponding to the second decision request; Sending each of the second decision requests to a candidate device corresponding to each of the second decision requests; Receiving an evaluation result corresponding to each service to be executed to be evaluated by each candidate device and returned by each candidate device, wherein the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed; Based on the evaluation result returned by each candidate device, an execution device for executing each service to be executed is determined from the candidate devices corresponding to each service to be executed.

2. The method according to claim 1, characterized in that The step of reorganizing the acquired first decision request to obtain a second decision request corresponding to each candidate device in the first decision request includes: Determining candidate devices present in the obtained first decision request; For each candidate device among the existing candidate devices, determining a service to be evaluated and executed by each candidate device from the acquired first decision request; Based on the service information of the to-be-executed service to be evaluated of each candidate device, a second decision request corresponding to each candidate device is generated.

3. The method according to claim 1, characterized in that: The determining, based on the evaluation result returned by each candidate device, an execution device for executing each to-be-executed service from the candidate devices corresponding to each to-be-executed service comprises: Aggregating the evaluation results returned by each candidate device to obtain an evaluation result corresponding to each service to be executed, wherein the evaluation result corresponding to each service to be executed includes an evaluation result of each candidate device corresponding to each service to be executed for each service to be executed; Based on the evaluation result corresponding to each service to be executed, an execution device for executing each service to be executed is determined from the candidate devices corresponding to each service to be executed.

4. The method according to claim 3, characterized in that The evaluation result includes a first score, the first score is positively correlated with the suitability, and the determining, based on the evaluation result corresponding to each service to be executed, an execution device for executing each service to be executed from candidate devices corresponding to each service to be executed, includes: For each of the services to be executed, a candidate device corresponding to the first score that meets a target score condition is obtained from candidate devices corresponding to each of the services to be executed as an execution device for each of the services to be executed.

5. The method according to claim 4, characterized in that The target scoring conditions include: The first score is greater than a target score; or The first score is the maximum score.

6. The method according to any one of claims 1 to 5, characterized in that: After determining, based on the evaluation result returned by each candidate device, an execution device for executing each to-be-executed service from the candidate devices corresponding to each to-be-executed service, the method further includes: Each of the services to be executed is executed by an execution device of each of the services to be executed.

7. A method for determining an execution device, characterized in that: Applied to a candidate device, the method comprises: receiving a second decision request corresponding to the candidate device sent by a decision device, the second decision request including service information of at least one to-be-executed service to be evaluated by the candidate device, the second decision request being obtained after the decision device reorganizes first decision requests corresponding to each to-be-executed service among a plurality of to-be-executed services, the first decision request including service information of the to-be-executed service corresponding to the first decision request and device information of at least one candidate device for executing the to-be-executed service corresponding to the first decision request; Based on the service information of the to-be-executed service in the second decision request, the to-be-executed service corresponding to the second decision request is evaluated to obtain an evaluation result of each to-be-executed service corresponding to the second decision request, wherein the evaluation result is used to characterize the suitability of the candidate device to execute the to-be-executed service; The evaluation result of each service to be executed corresponding to the second decision request is returned to the decision device, and the decision device is used to determine the execution device corresponding to each service to be executed among the multiple services to be executed based on the evaluation result returned by the candidate device and the evaluation results returned by other candidate devices based on the received second decision request.

8. A device for determining an execution device, characterized in that: Applied to a decision-making device, the device comprises: a request acquisition module, a request reorganization module, a request sending module, a result receiving module and a device determination module, wherein: The request acquisition module is used to acquire a first decision request corresponding to each of the multiple services to be executed, wherein the first decision request is used to request a decision on an execution device for executing the service to be executed. The first decision request includes service information of the service to be executed corresponding to the first decision request and device information of at least one candidate device for executing the service to be executed corresponding to the first decision request; The request reorganization module is used to reorganize the first decision request obtained to obtain a second decision request corresponding to each candidate device in the first decision request, wherein the second decision request includes service information of at least one service to be evaluated and executed by the candidate device corresponding to the second decision request; The request sending module is used to send each of the second decision requests to the candidate device corresponding to each of the second decision requests; The result receiving module is used to receive the evaluation result corresponding to each service to be executed of each candidate device to be evaluated and returned by each candidate device, wherein the evaluation result is used to indicate the suitability of the candidate device to execute the service to be executed; The device determination module is used to determine, based on the evaluation result returned by each candidate device, an execution device for executing each to-be-executed service from the candidate devices corresponding to each to-be-executed service.

9. A device for determining an execution device, characterized in that: Applied to a candidate device, the apparatus comprises: a request receiving module, a service evaluation module and a result returning module, wherein: The request receiving module is used to receive a second decision request corresponding to the candidate device sent by the decision device, the second decision request including service information of at least one to-be-executed service to be evaluated by the candidate device, the second decision request is obtained after the decision device reorganizes the first decision request corresponding to each to-be-executed service among multiple to-be-executed services, the first decision request including service information of the to-be-executed service corresponding to the first decision request and device information of at least one candidate device for executing the to-be-executed service corresponding to the first decision request; The service evaluation module is used to evaluate the service to be executed corresponding to the second decision request based on the service information of the service to be executed in the second decision request, and obtain an evaluation result of each service to be executed corresponding to the second decision request, wherein the evaluation result is used to characterize the suitability of the candidate device to execute the service to be executed; The result returning module is used to return the evaluation result of each service to be executed corresponding to the second decision request to the decision device, and the decision device is used to determine the execution device corresponding to each service to be executed among the multiple services to be executed based on the evaluation result returned by the candidate device and the evaluation results returned by other candidate devices based on the received second decision request.

10. An electronic device, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 7.