Judgment method and device for hierarchical calculation of large model, and electronic equipment

By quantitatively scoring and weighting summation of multiple factors of large model computing tasks, and adjusting weights in combination with meta-learning or reinforcement learning, the problem of ignoring task parameters in the existing technology is solved, and more accurate task evaluation and hierarchical calculations are achieved. Strategies to improve the accuracy and efficiency of task processing.

CN118819785APending Publication Date: 2024-10-22QINGDAO HAIER TECH +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410942919.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

When determining whether a task requires hierarchical computing, the existing technology ignores other parameters related to the task, resulting in the inability to accurately evaluate whether the task requires hierarchical computing.

Method used

A weighted summation is performed by quantitatively scoring the task factors of the multi-layer sub-model computing tasks of the large model, including task complexity, device computing power, data transmission requirements, real-time performance, concurrent processing requirements, network stability and task urgency. , determine the total score of the task, and decide whether to assign the task to different home appliance computing devices based on the total score. Optionally, use meta-learning models or reinforcement learning algorithms to adjust the weight assignment strategy to optimize scoring.

Benefits of technology

It implements more accurate task assessment and hierarchical strategies to ensure that computing tasks are allocated to appropriate devices, improving the accuracy and efficiency of task processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819785A_ABST
    Figure CN118819785A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, and discloses a judgment method for hierarchical calculation of a large model, and the method comprises the steps: carrying out the quantitative scoring of a task factor of a calculation task of a multi-layer sub-model of the large model; wherein the task factors comprise multiple of a task complexity parameter, an equipment computing power parameter, a data transmission demand parameter, a real-time demand parameter, a concurrent processing demand parameter, a network stability parameter and a task emergency degree parameter; performing weighted summation on the scores of the plurality of task factors to obtain a task total score; and under the condition that the total task score exceeds a set threshold value, the calculation tasks are allocated to different household appliance calculation devices, so that large-model hierarchical calculation is realized. According to the method, the task factors are quantitatively scored, and the calculated total score is compared with the set threshold value, so that different hierarchical strategies can be obtained according to the calculation tasks, and the calculation tasks are distributed to different household appliance calculation devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a determination method and device, and an electronic device for large-model hierarchical calculation. Background Art

[0002] At present, with the continuous development of the Internet of Things and artificial intelligence technologies, more and more smart devices are being used in home environments, and the tasks that smart devices need to perform are becoming more and more complex. How to process and optimize tasks is a key issue at present. In particular, when tasks are difficult to perform on the same device, tasks need to be layered and assigned to different devices. Therefore, tasks need to be evaluated to determine whether they need to be layered.

[0003] In order to determine whether a task needs to be layered, the related art discloses a scheduling algorithm that makes a judgment based on experience or the characteristics of a specific device. The computing power of the device and the complexity of the task may be considered, and the data transmission path may be optimized based on data transmission requirements and network stability.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] Although the related technology can make judgments based on the complexity of the task, it ignores other parameters related to the task, resulting in an inability to accurately evaluate whether the task requires hierarchical calculation.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method and device for determining hierarchical computing of a large model, and an electronic device, which can more accurately determine whether a task requires hierarchical computing.

[0009] In some embodiments, the determination method for hierarchical calculation of large models includes: quantitatively scoring task factors of computing tasks of multi-layer sub-models of the large model; wherein the task factors include multiple parameters of task complexity parameters, equipment computing power parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters; weighted summing the scores of multiple task factors to obtain a total task score; when the total task score exceeds a set threshold, allocating the computing tasks to different household appliance computing devices to achieve hierarchical calculation of large models.

[0010] Optionally, a weighted sum is taken for the scoring results of multiple task factors to obtain a total task score, including: inputting multiple task factors of the calculation task into a meta-learning model to obtain a weight allocation strategy for the multiple task factors; or, based on the historical weight data of the multiple task factors, obtaining a weight redistribution strategy for the weights of the multiple task factors through a reinforcement learning algorithm; assigning a corresponding weight to each task factor according to the weight allocation strategy; and performing a weighted summation of the scores according to the weight of each task factor to obtain a total task score.

[0011] Optionally, the meta-learning model is obtained in the following manner: feature data is extracted from historical weight data of multiple task factors; the feature data is input into a meta-learning basic model so that the meta-learning basic model learns a weight allocation strategy to obtain a meta-learning model.

[0012] Optionally, the task complexity parameter is quantitatively scored in the following manner: one or more of the amount of computation, the size of the data, or the number of steps is selected as an evaluation factor; a corresponding weight is assigned to each evaluation factor; and the task complexity parameter is calculated according to the following formula:

[0013] C=w1×C1+w2×C2+w3×C3

[0014] Among them, C is the task complexity parameter, C1 is the computational effort, C2 is the data size, C3 is the number of steps, and w1, w2, and w3 are weight coefficients.

[0015] Optionally, the device computing capability parameter is quantitatively scored in the following manner: one or more of processor speed, memory size, storage space, or network bandwidth are selected as evaluation factors; a corresponding weight is assigned to each evaluation factor; and the device computing capability parameter is calculated according to the following formula:

[0016] D=v1×D1+v2×D2+v3×D3+v4×D4

[0017] Among them, D is the device computing capability parameter, D1 is the processor speed, D2 is the memory size, D3 is the storage space, D4 ​​is the network bandwidth, and v1, v2, v3 and v4 are weight coefficients.

[0018] Optionally, the set threshold is obtained as follows: historical task data is obtained; wherein the historical task data includes historical scores of task factors and historical weights of task factors; weighted sum of the historical scores of task factors and the historical weights of task factors is taken to obtain the historical task scores, and the historical task scores are used as the set threshold.

[0019] Optionally, the computing tasks are allocated to different home appliance computing devices, including: determining a target home appliance computing device among the home appliance computing devices based on real-time requirement parameters and task urgency parameters of the target computing task in the computing tasks; and allocating the target computing task to the target home appliance computing device.

[0020] Optionally, a target home appliance computing device in the home appliance computing devices is determined based on the real-time requirement parameters and task urgency parameters of the target computing task in the computing task, including: determining a first home appliance computing device in the home appliance computing devices that meets the target computing capacity condition; wherein the target computing capacity condition corresponds to the real-time requirement parameters and task urgency parameters of the target computing task; determining a second home appliance computing device in the first home appliance computing device that has the smallest number of rotation calculations; and using the second home appliance computing device as the target home appliance computing device.

[0021] In some embodiments, the determination device for hierarchical calculation of a large model includes: a scoring module, configured to quantitatively score task factors of computing tasks of multi-layer sub-models of the large model; wherein the task factors include multiple parameters of task complexity parameters, equipment computing power parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters; a weighted summation module, configured to perform weighted summation on the scores of multiple task factors to obtain a total task score; a determination module, configured to allocate computing tasks to different household appliance computing devices when the total task score exceeds a set threshold, so as to realize hierarchical calculation of a large model.

[0022] In some embodiments, the determination device for large model hierarchical calculation includes a memory and a processor, the memory stores a computer program, and the processor is configured to execute the above-mentioned determination method for large model hierarchical calculation through the computer program.

[0023] In some embodiments, the electronic device is characterized in that it includes: an electronic device body; and the above-mentioned determination device for large model hierarchical calculation is installed on the electronic device body.

[0024] The determination method, device, and electronic device for large model hierarchical calculation provided by the embodiments of the present disclosure can achieve the following technical effects:

[0025] In the disclosed embodiment, the task factors are quantitatively scored, and the calculated total score is compared with the set threshold, so that different hierarchical strategies can be obtained according to the computing tasks, and the computing tasks can be allocated to different household computing devices. In addition, the disclosed embodiment can score multiple task factors, so that the obtained task total score can integrate the information of multiple task factors, thereby making the evaluation of the task more accurate.

[0026] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0028] Figure 1 It is a hardware environment diagram of a determination method for large model hierarchical computing provided by an embodiment of the present disclosure;

[0029] Figure 2 is a schematic diagram of a determination method for large model hierarchical calculation provided by an embodiment of the present disclosure;

[0030] Figure 3 is a schematic diagram of another determination method for large model hierarchical calculation provided by an embodiment of the present disclosure;

[0031] Figure 4 is a schematic diagram of another determination method for large model hierarchical calculation provided by an embodiment of the present disclosure;

[0032] Figure 5 is a schematic diagram of another determination method for large model hierarchical calculation provided by an embodiment of the present disclosure;

[0033] Figure 6 is a schematic diagram of a determination device for large model hierarchical calculation provided by an embodiment of the present disclosure;

[0034] Figure 7 It is a schematic diagram of another determination device for large model hierarchical calculation provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0036] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0037] Unless otherwise stated, the term "plurality" means two or more.

[0038] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0039] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0040] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0041] At present, with the continuous development of the Internet of Things and artificial intelligence technologies, more and more smart devices are being used in home environments, and the tasks that smart devices need to perform are becoming more and more complex. How to process and optimize tasks is a key issue at present. In particular, when tasks are difficult to perform on the same device, tasks need to be layered and assigned to different devices. Therefore, tasks need to be evaluated to determine whether they need to be layered.

[0042] According to one aspect of an embodiment of the present application, a determination method for large model hierarchical calculation is provided. The determination method for large model hierarchical calculation is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned determination method for large model hierarchical calculation can be applied to Figure 1In the hardware environment shown in FIG. 1 , a home computing device 102 and a server 104 are formed. Figure 1 As shown, the server 104 is connected to the home appliance computing device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0043] The above network may include but is not limited to at least one of the following: wired network, wireless network. The above wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the above wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The home appliance computing device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, a smart projection equipment, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air equipment, a smart kitchen and bathroom equipment, a smart bathroom equipment, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification equipment, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0044] Combination Figure 2 As shown, the embodiment of the present disclosure provides a determination method for large model hierarchical calculation, including:

[0045] S01, the server quantitatively scores the task factors of the computing tasks of the multi-layer sub-models of the large model, wherein the task factors include multiple parameters of task complexity parameters, equipment computing capacity parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters.

[0046] S02, the server performs a weighted summation on the scores of multiple task factors to obtain a total task score.

[0047] S03, when the total score of the task exceeds the set threshold, the server allocates the computing task to different home appliance computing devices to realize large-model hierarchical computing.

[0048] By using the determination method for hierarchical calculation of a large model provided by the embodiment of the present disclosure, the task factors are quantitatively scored, and the calculated total score is compared with the set threshold value, so that different hierarchical strategies can be obtained according to the calculation task, and the calculation task can be assigned to different household computing devices. In addition, the embodiment of the present disclosure can score multiple task factors, so that the obtained total task score can integrate the information of multiple task factors, thereby making the evaluation of the task more accurate.

[0049] In the disclosed embodiment, the task complexity parameter may be evaluated based on the amount of computation required for the task, the size of input and output data, or the number of steps required to execute the task.

[0050] The device computing capability parameters represent the device's processor speed, memory, storage space and other hardware indicators.

[0051] The data transmission requirement parameter characterizes the amount of data that needs to be sent or received for a task. Data transmission requirement is an important indicator to measure the demand for network resources for a task. Refer to the amount of data that needs to be sent or received to perform a task. The amount of data may be affected by many factors such as the type of data, the size of the data, and the way the task is performed. Specifically, in the case of small data volume, such as text messages, emails, small files, etc., the data transmission requirement parameter is scored from 1 to 3 points. In the case of moderate data volume, such as large documents, pictures, audio files, etc., the data transmission requirement parameter is scored from 4 to 7 points. In the case of large data volume, such as high-definition video streaming, large-scale data sets, etc., the data transmission requirement parameter is scored from 8 to 10 points.

[0052] The real-time requirement parameter characterizes the tolerance of the task to delay. For example, real-time video streaming requires low delay, while batch data processing tasks may be more tolerant to delay. Specifically, for batch processing tasks running in the background or tasks that are not time-critical, such as large-scale data analysis and report generation, the real-time requirement parameter is scored from 1 to 3 points. For tasks that need to be completed within a reasonable time but do not require an immediate response, such as web page loading and file uploading, the real-time requirement parameter is scored from 4 to 7 points. For tasks that require an instant response, such as online games, real-time audio and video calls, the real-time requirement parameter is scored from 8 to 10 points.

[0053] The concurrent processing requirement parameter characterizes whether the task supports parallel execution and the degree of parallelism. Specifically, for tasks that cannot or do not need to be executed in parallel, such as scripts or single-threaded tasks that are executed sequentially, the concurrent processing requirement parameter is scored from 1 to 3 points. Some tasks that can be executed in parallel may require a certain number of resources for parallel processing, but the degree of parallelism is limited. The concurrent processing requirement parameter is scored from 4 to 7 points. For highly parallel tasks, such as big data analysis and image processing, effective parallel processing can be performed on a large number of computing resources, and the concurrent processing requirement parameter is scored from 8 to 10 points.

[0054] The network stability parameter is comprehensively evaluated by multiple factors such as connection continuity, packet loss rate, jitter and delay. Specifically, if the network connection is often disconnected, the packet loss rate is high, or the delay and jitter are serious, the network stability parameter is scored from 1 to 3 points. If the network connection is relatively stable, but disconnections occur occasionally, and the packet loss rate, delay and jitter are within an acceptable range, the network stability parameter is scored from 4 to 7 points. If the network connection is very stable, there are almost no disconnections, and the packet loss rate, delay and jitter are very low, the network stability parameter is scored from 8 to 10 points.

[0055] The task urgency parameter characterizes the importance of the task and the time required for completion. Specifically, if the task importance is low or the time requirement is loose, the score of the task urgency parameter is 1 to 3. If the task importance is medium or there is a certain time limit for completion, the score of the task urgency parameter is 4 to 7. If the task importance is high or needs to be completed in a very short time, the score of the task urgency parameter is 8 to 10.

[0056] In actual applications, the server obtains multiple task factors, including task complexity parameter C, device computing power parameter D, data transmission requirement parameter T, real-time requirement parameter R, concurrent processing requirement parameter P, network stability parameter N, and task urgency parameter U. The weight coefficients of each task factor are wC, wD, wT, wR, wP, wN, and wU, respectively. When calculating the total score of a task, multiple task factors can be randomly selected. For example, the task complexity parameter C, the device computing power parameter D, the data transmission requirement parameter T, and the real-time requirement parameter R can be selected for calculation. In this way, the total score of the task can be calculated according to the following formula:

[0057] A=wC×C+wD×D+wT×T+wR×R

[0058] Among them, A is the total score of the task, C is the task complexity parameter, D is the device computing capability parameter, T is the data transmission requirement parameter, R is the real-time requirement parameter, and wC, wD, wT and wR are weight coefficients.

[0059] Furthermore, the real-time requirement parameter R, concurrent processing requirement parameter P, network stability parameter N and task urgency parameter U may also be selected for calculation. Thus, the total score of the task may be calculated according to the following formula:

[0060] A=wC×C+wR×R+wP×P+wN×N+wU×U

[0061] Among them, A is the total score of the task, C is the task complexity parameter, R is the real-time requirement parameter, P is the concurrent processing requirement parameter, N is the network stability parameter, U is the task urgency parameter, and wC, wR, wP, wN and wU are weight coefficients.

[0062] Optionally, weighted summing of the scoring results of multiple task factors is performed to obtain a total score of the task, including: inputting multiple task factors of the calculation task into a meta-learning model to obtain a weight allocation strategy for the multiple task factors. According to the weight allocation strategy, a corresponding weight is assigned to each task factor. According to the weight of each task factor, weighted summing of the scores is performed to obtain a total score of the task.

[0063] Combination Figure 3 As shown, the embodiment of the present disclosure provides another determination method for large model hierarchical calculation, including:

[0064] S11, the server quantitatively scores the task factors of the computing tasks of the multi-layer sub-models of the large model, wherein the task factors include multiple parameters of task complexity parameters, equipment computing capacity parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters.

[0065] S12, the server inputs multiple task factors of the computing task into the meta-learning model to obtain a weight allocation strategy for the multiple task factors.

[0066] S13, the server assigns a corresponding weight to each task factor according to the weight allocation strategy.

[0067] S14, the server performs weighted summation of the scores according to the weight of each task factor to obtain the total score of the task.

[0068] S15, when the total score of the task exceeds the set threshold, the server distributes the computing task to different home appliance computing devices to achieve large-model hierarchical computing.

[0069] In the disclosed embodiment, the dynamic adjustment of weights can be achieved using a meta-learning method. When using the meta-learning method, some historical data is collected in advance, and a meta-learning model is trained to learn the optimal weight allocation strategy. Meta-learning is usually used to learn how to learn. It can extract common information from multiple related tasks to accelerate the learning process of new tasks. In specific applications, the meta-learning model is input according to the real-time status of the task and the device, and the weight allocation result of its output is obtained.

[0070] According to the weight allocation strategy obtained by meta-learning, a corresponding weight is assigned to each task factor. The weight reflects the importance of different task factors to the final task score. For each task, the score is weighted and summed according to the weight of each task factor. In this way, the impact of different task factors on the overall performance of the task can be comprehensively considered. The result of the weighted sum is the total score of the task, which can more comprehensively reflect the comprehensive performance of the task, thereby improving the accuracy and reliability of the score.

[0071] Optionally, weighted summing of the scoring results of multiple task factors is performed to obtain a total task score, including: obtaining a redistribution strategy of the weights of multiple task factors through a reinforcement learning algorithm based on historical weight data of the multiple task factors. According to the weight distribution strategy, a corresponding weight is assigned to each task factor. According to the weight of each task factor, weighted summing of the scores is performed to obtain a total task score.

[0072] Combination Figure 4 As shown, the embodiment of the present disclosure provides another determination method for large model hierarchical calculation, including:

[0073] S21, the server quantitatively scores the task factors of the computing tasks of the multi-layer sub-models of the large model, wherein the task factors include multiple parameters of task complexity parameters, equipment computing capacity parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters, and task urgency parameters.

[0074] S22, the server obtains a redistribution strategy of the weights of multiple task factors through a reinforcement learning algorithm according to the historical weight data of the multiple task factors.

[0075] S23, the server assigns a corresponding weight to each task factor according to the weight allocation strategy.

[0076] S24, the server performs weighted summation of the scores according to the weight of each task factor to obtain the total score of the task.

[0077] S25, when the total score of the task exceeds the set threshold, the server distributes the computing task to different home appliance computing devices to achieve large-model hierarchical computing.

[0078] In the disclosed embodiment, a reinforcement learning strategy can be used for weight adjustment. The system provides feedback based on the results of each task scheduling (e.g., task completion time, resource consumption, etc.), and then automatically adjusts the weights through the reinforcement learning algorithm to optimize future task processing performance. Reinforcement learning learns how to make optimal decisions through interaction with the environment. The reinforcement learning algorithm learns how to adjust the weights of different task factors based on historical weight data to maximize the reward function (e.g., the accuracy of the total task score).

[0079] According to the weight allocation strategy of the reinforcement learning algorithm, a corresponding weight is assigned to each task factor. The weight reflects the importance of different task factors to the final task score. For each task, the score is weighted and summed according to the weight of each task factor. In this way, the impact of different task factors on the overall performance of the task can be comprehensively considered. The result of the weighted sum is the total score of the task, which can more comprehensively reflect the comprehensive performance of the task, thereby improving the accuracy and reliability of the score.

[0080] Optionally, the meta-learning model is obtained in the following manner: extracting feature data from historical weight data of multiple task factors, inputting the feature data into a meta-learning basic model, so that the meta-learning basic model learns a weight allocation strategy, and obtaining a meta-learning model.

[0081] A meta-learning model is a machine learning model that can learn how to learn. The basic principle is to extract general learning rules and strategies by learning on multiple tasks so that it can quickly adapt and learn when faced with new tasks. The model usually contains two key components: a meta-learner and a task learner. The task of the meta-learner is to learn general learning rules and strategies, while the task learner focuses on learning specific tasks. The main goal of the meta-learning model is to enable the model to solve some new learning tasks with only a small number of samples. For example, in tasks such as image classification and speech recognition, traditional machine learning methods require a large amount of labeled or speech data for training, while meta-learning technology can use a small amount of data for training, and then transfer the learned knowledge to new tasks, thereby greatly reducing training time and data requirements and improving the completion of tasks. Common meta-learning methods include MAML (Model-Agnostic Meta-Learning), which has the advantages of rapid adaptation to new tasks and model independence.

[0082] In the disclosed embodiment, feature data can be obtained by calculating the mean, median, standard deviation and other statistics of historical weight data to reflect the distribution of weights. The meta-learning basic model includes a model based on a neural network, a decision tree or an integration method. The meta-learning basic model is a meta-learning framework that requires multiple iterations and adjustments, including adjusting feature extraction methods, optimizing model structures and parameters, etc., to obtain better meta-learning model performance.

[0083] Optionally, the task complexity parameter is quantitatively scored as follows: one or more of the amount of computation, data size, or number of steps is selected as an evaluation factor. Each evaluation factor is assigned a corresponding weight. The task complexity parameter is calculated according to the following formula:

[0084] C=w1×C1+w2×C2+w3×C3

[0085] Among them, C is the task complexity parameter, C1 is the computational effort, C2 is the data size, C3 is the number of steps, and w1, w2, and w3 are weight coefficients.

[0086] In the disclosed embodiments, the amount of computation required for a task may affect its complexity. For example, solving big data problems or high-performance computing problems requires a large amount of computing resources. The amount of computation can be measured by the time complexity and space complexity of the algorithm, such as O(n^2) or O(2^n) usually means higher complexity. The data scale of the input and output of the task is also an important consideration. If a task needs to process a large amount of input data, or needs to generate a large amount of output data, the complexity of the task may be very high. The data scale can be measured in units such as bytes, kilobytes, and megabytes. The more steps there are to perform a task, the higher the complexity of the task may be. For example, a task involving multiple stages of calculation, analysis, and optimization is usually more complex than a task that only contains a single calculation step. The number of steps can be clearly expressed using a task flow chart or pseudocode.

[0087] Optionally, the device computing capability parameter is quantitatively scored as follows: one or more of processor speed, memory size, storage space, or network bandwidth is selected as an evaluation factor. Each evaluation factor is assigned a corresponding weight. The device computing capability parameter is calculated according to the following formula:

[0088] D=v1×D1+v2×D2+v3×D3+v4×D4

[0089] Among them, D is the device computing capability parameter, D1 is the processor speed, D2 is the memory size, D3 is the storage space, D4 ​​is the network bandwidth, and v1, v2, v3 and v4 are weight coefficients.

[0090] In the disclosed embodiments, processor speed is a key factor in determining the computing power of the device. It is usually measured in megahertz (MHz) or gigahertz (GHz). In addition, the number of cores of the processor is also important, and multiple cores can provide better parallel processing capabilities. The size of the memory directly affects the device's ability to handle multiple tasks simultaneously. The larger the memory, the more applications and services the device can run simultaneously. The amount of memory is usually measured in gigabytes (GB) or terabytes (TB). Storage space includes the capacity of a hard disk drive (HDD) or a solid-state drive (SSD). The available storage space affects the device's ability to perform data-intensive tasks. The size of the storage space is often expressed in gigabytes (GB) or terabytes (TB). When network bandwidth is used as an evaluation factor, a fast and stable network connection can speed up data transmission, which is very important for computing tasks that rely on the network.

[0091] Optionally, the set threshold is obtained as follows: historical task data is obtained; wherein the historical task data includes historical scores of task factors and historical weights of task factors; weighted sum of the historical scores of task factors and the historical weights of task factors is taken to obtain the historical task scores, and the historical task scores are used as the set threshold.

[0092] In the disclosed embodiment, first, historical task data is collected. The historical task data should include the historical score and corresponding historical weight of each task factor. After collecting the number of historical tasks, the data is preprocessed to ensure the accuracy and consistency of the data. The preprocessing includes cleaning outliers, processing missing values, and standardizing the scoring scale. Using the weighted summation method, the historical score of each task factor is multiplied by the historical weight, and then all products are summed to obtain a comprehensive score for each historical task. Among them, the comprehensive score can comprehensively consider the importance of each factor. Finally, based on the calculated historical task score, a statistical method is used to determine the scoring threshold. You can choose to use the average or median of the historical score or use a more complex algorithm, such as regression analysis, to determine an optimal set threshold.

[0093] In this way, by comprehensively considering multiple task factors of historical tasks, the accuracy of setting thresholds is improved, making the set thresholds closer to the actual task completion situation. In addition, through the feedback mechanism, data can be continuously collected, the set thresholds can be continuously updated, and the prediction accuracy of the set thresholds can be improved, thereby making the allocation of computing tasks more reasonable.

[0094] Optionally, allocating the computing task to different home appliance computing devices includes: determining a target home appliance computing device among the home appliance computing devices according to a real-time requirement parameter and a task urgency parameter of a target computing task in the computing task, and allocating the target computing task to the target home appliance computing device.

[0095] Combination Figure 5 As shown, the embodiment of the present disclosure provides another determination method for large model hierarchical calculation, including:

[0096] S31, the server quantitatively scores the task factors of the computing tasks of the multi-layer sub-models of the large model, wherein the task factors include multiple parameters of task complexity parameters, equipment computing capacity parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters.

[0097] S32, the server performs a weighted summation on the scores of multiple task factors to obtain a total task score.

[0098] S33, when the total score of the task exceeds the set threshold, the server determines the target home appliance computing device in the home appliance computing devices according to the real-time requirement parameters and task urgency parameters of the target computing task in the computing task.

[0099] S34, the server distributes the target computing task to the target home appliance computing device.

[0100] In the embodiment of the present disclosure, when the total score of the task exceeds the set threshold, it indicates that the computing task of the large model needs to be layered. According to the real-time requirement parameters and task urgency parameters of the target computing task in the computing task, a target home appliance computing device capable of layered computing can be selected. The target home appliance computing device matches the real-time requirement parameters and task urgency parameters, and can effectively run the computing tasks of the multi-layer sub-models of the large model.

[0101] Optionally, determining the target home appliance computing device in the home appliance computing device according to the real-time requirement parameter and the task urgency parameter of the target computing task in the computing task includes: determining a first home appliance computing device in the home appliance computing device that meets the target computing capacity condition. The target computing capacity condition corresponds to the real-time requirement parameter and the task urgency parameter of the target computing task. Determining a second home appliance computing device in the first home appliance computing device that has the smallest number of rotation calculations. Using the second home appliance computing device as the target home appliance computing device.

[0102] In the disclosed embodiment, the target computing capacity condition of the computing task can be determined according to the real-time demand parameter and the task urgency parameter. The server can select a first home appliance computing device that meets the target computing capacity condition from the home appliance computing devices. The selected first home appliance computing device can perform hierarchical computing and effectively run the computing tasks of the multi-layer sub-models of the large model. Further, the second home appliance computing device with the smallest number of rotation calculations in the first home appliance computing device is determined. The second home appliance computing device is used as the target home appliance computing device. In this way, the situation where a single home appliance computing device is continuously running can be reduced, the CPU loss caused by device calculation can be reduced, and the device service life of the home appliance computing device can be extended.

[0103] Optionally, determining the first home appliance computing device that meets the target computing capacity condition among the home appliance computing devices includes: determining a first computing state parameter of the home appliance computing device to be selected, wherein the first computing state parameter includes one or more of a computing load parameter, a network delay parameter, and an available computing power parameter of each home appliance computing device. The model layer parameters to be allocated and the first computing state parameter are used as state input values ​​of the deep learning network, and a plurality of action output values ​​output by the deep learning network based on the state input values ​​are obtained. The target home appliance computing device among the home appliance computing devices to be selected is determined according to the action output value, and the target model layer of the large model is allocated to the target home appliance computing device to perform hierarchical calculation of the large model.

[0104] In the disclosed embodiment, the large model is a large deep learning model. By dividing the large deep learning model into independently computable sub-modules, the large model is layered. Each sub-model corresponds to a model layer to be allocated one by one. The parameters of the model layer to be allocated include the number of model layers to be allocated. By calculating the sub-modules through multiple hardware computing devices of the smart home, distributed computing of the large model can be achieved.

[0105] By obtaining the first computing state parameter of the selected home appliance computing device, the current state of the selected home appliance computing device can be evaluated so as to select a suitable target home appliance computing device when making an allocation. The model layer parameters to be allocated and the first computing state parameter are used as the state input values ​​of the deep learning network, and the deep learning network can be used for calculation to obtain an allocation strategy, and the obtained allocation strategy can combine the information of the model layer parameters to be allocated and the first computing state parameter. In this way, the target home appliance computing device that can be determined according to the action output value is more matched with the model layer to be allocated, so that the allocation of computing tasks is more accurate, and the target home appliance computing device effectively runs a large deep learning model.

[0106] Optionally, determining a target home appliance computing device among the selected home appliance computing devices according to the action output value includes: obtaining a target output value corresponding to the action output value. Determining a target action output value having the smallest difference with the target output value among the action output values. Using the selected home appliance computing device corresponding to the target action output value as the target home appliance computing device.

[0107] In the disclosed embodiment, the target output value can represent the best output result of the deep learning network. By comparing the action output value with the target output value, the deviation between the action output value and the best output result can be known. The smaller the difference obtained, the smaller the deviation. By determining the target action output value with the smallest difference from the target output value in the action output value, the target output value closest to the best output result can be selected. In this way, the selected home appliance computing device corresponding to the target action output value can be used as the target home appliance computing device. By performing hierarchical calculation of the large model through the target home appliance computing device, the operation of the large model can be more efficient.

[0108] Optionally, when scheduling the computing tasks of the large model, the state data of the large model computing system is collected. The collected state data of the large model computing system is input into a trained state evaluation model to obtain a state evaluation value of the large model computing system. When the state evaluation value triggers a feedback mechanism of the large model computing system, the state evaluation value is transmitted to the task scheduler so that the task scheduler reschedules the computing tasks of the large model.

[0109] In this way, the state data of the large model computing system can be collected, and the state data can represent the operation status of the large model computing system after the scheduling operation. The collected state data of the large model computing system is input into the trained state evaluation model, and the operation status of the system can be evaluated to obtain the state evaluation value of the large model computing system. The large model computing system is provided with a feedback mechanism. When the state evaluation value triggers the feedback mechanism of the large model computing system, the state evaluation value is transmitted to the task scheduler so that the task scheduler can reschedule the computing tasks of the large model. In this way, the task scheduler can judge whether the scheduling strategy is reasonable according to the state evaluation value, so that the scheduling strategy can be adjusted, and then the computing tasks of the large model can be rescheduled. The optimization of the scheduling strategy is realized, and the problem of poor operation of the large model computing system and low efficiency of hierarchical computing caused by unreasonable scheduling strategies is reduced.

[0110] Optionally, collecting the state data of the large model computing system includes: collecting the state data of the large model computing system through programming technology according to the collection interval. The programming technology includes one or more of system call, inter-process communication and log record. The collected state data is stored in a database.

[0111] In the disclosed embodiment, the large model computing system is set with an interval time for data collection. In the large model computing process, it is necessary to obtain information in real time, but too frequent data collection may affect system performance. Therefore, it is necessary to set a reasonable time interval according to the actual situation and monitoring requirements of the large model computing system. For example, in the process of hierarchical computing, the large model computing system collects data once after each model layer is allocated.

[0112] Furthermore, system information can be read through system calls. Process information can be obtained by using inter-process communication. Business information can be obtained by using the logging function. System information, process information, and business information can represent the current state of the large model computing system, so that the large model computing system can reschedule the computing tasks of the large model according to the current state. The scheduling strategy is optimized, reducing the problem of poor operation of the large model computing system and low efficiency of hierarchical computing due to unreasonable scheduling strategies.

[0113] After the status data is collected, it can be stored in a constructed database to back up the data and prevent data loss, thereby improving the security and availability of the status data.

[0114] Optionally, when the state evaluation value triggers a feedback mechanism of the large model computing system, transmitting the state evaluation value to the task scheduler includes: obtaining a preset threshold in the feedback mechanism of the large model computing system. When the state evaluation value is greater than or equal to the preset threshold, transmitting the state evaluation value to the task scheduler through a message queue.

[0115] In the disclosed embodiments, the message queue is a mode of inter-process communication or inter-thread communication. It can be used as a buffer to store a large number of messages. When the recipient is temporarily unable to process the message, the message can be stored in the queue and wait for the recipient to process it. The message queue is used as a feedback method. Once a new status evaluation result is generated, a message is added to the queue. The task scheduler can monitor this queue and process new messages when they are received.

[0116] Optionally, the determination method for large-model hierarchical computing also includes: when the state evaluation value is less than the abnormal threshold of the large-model computing system, marking the abnormal computing task as a computing task that needs to limit resources, and modifying the authority or priority of the computing task that needs to limit resources. After modifying the authority or priority of the computing task that needs to limit resources, in the event of an abnormality in the computing task, adjusting the parameters of the computing task or restarting the service.

[0117] In the disclosed embodiment, the large model computing system is provided with an abnormal threshold. When the state evaluation value is less than the abnormal threshold of the large model computing system, it indicates that the task is abnormal and needs to be processed. The task scheduler can limit the extent to which abnormal computing tasks use resources and set a new resource usage target. Resource restrictions include methods such as CPU time slices and memory restrictions. Limiting resource usage can prevent abnormal task behavior caused by excessive resource usage. The large model computing system can affect the probability of a task being allocated resources by adjusting its priority in the scheduling queue. If a task exhibits abnormal behavior, its priority can be lowered to prevent excessive resource usage.

[0118] This ensures that when a task behaves abnormally or requires more hardware resources, it will not affect other tasks and the overall system to run stably, thus achieving the goal of optimizing hardware utilization and stability and preventing single point problems from causing a complete crash. At the same time, it also constitutes an exception handling mechanism with strong execution capability, good adaptability, and the ability to quickly and effectively respond to the running state and return it to normal.

[0119] Furthermore, after the server modifies the permissions or priorities of computing tasks that require resource restrictions, if the computing tasks still have abnormalities, the server can find the problem based on error feedback and log information, and restore to normal by updating the code or changing the implementation method. For some tasks that need to run for a long time, a certain timeout value should be given during the setting to prevent dead loops or long-term blocking.

[0120] Optionally, the determination method for large model hierarchical calculation further includes: feeding back task information of abnormal calculation tasks to the state assessment model to update the state assessment model.

[0121] In the disclosed embodiment, the state assessment model can evaluate the operation of the system and obtain the state assessment value of the large model computing system. When a task is abnormal, the state assessment model needs to consider the abnormal computing task when evaluating the state of the system. By feeding back the task information of the abnormal computing task to the state assessment model, the state assessment model can be updated so that the state assessment value output by the state assessment model is more accurate. This achieves the optimization of the scheduling strategy and reduces the problem of poor operation of the large model computing system and low efficiency of hierarchical computing due to unreasonable scheduling strategies.

[0122] Optionally, the determination method for large model hierarchical calculation also includes: based on the collected status data of the large model calculation system, parallel optimization of one or more of the system's central processing unit CPU, graphics processing unit GPU and field programmable gate array FPGA.

[0123] In the disclosed embodiment, parallel optimization is continuously performed during the operation of the entire system. During the design phase, the system needs to consider how to maximize the parallel computing of the hardware devices. For example, when selecting a programming model and parallel algorithm suitable for the device, it is necessary to fully consider the characteristics of the device and the system requirements. During the scheduling phase, it is necessary to decide how to assign and schedule tasks to each hardware device based on the task type and the current system status to achieve the most effective parallel computing. During the execution phase, the parallel computing process is dynamically optimized based on real-time feedback information. For example, if it is detected that the load of a CPU core is too high, some tasks are transferred to other cores, or when it is detected that the GPU is idle, some tasks that can be accelerated by the GPU can be assigned to the idle GPU. During the evaluation phase, the parallel efficiency is further improved by regularly evaluating the system operation and performance data, and adjusting the system configuration, parameters or execution strategy.

[0124] Combination Figure 6 As shown, the embodiment of the present disclosure provides a determination device 200 for hierarchical calculation of a large model, including a scoring module 21, a weighted summation module 22 and a determination module 23. The scoring module 21 is configured to quantitatively score the task factors of the calculation tasks of the multi-layer sub-models of the large model. Among them, the task factors include multiple parameters of task complexity parameters, equipment computing power parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters. The weighted summation module 22 is configured to perform a weighted summation on the scores of multiple task factors to obtain a total task score. The determination module 23 is configured to allocate the calculation tasks to different household appliance computing devices when the total task score exceeds a set threshold to achieve hierarchical calculation of the large model.

[0125] Using the determination device 200 for hierarchical calculation of a large model provided by the embodiment of the present disclosure, the scoring module 21 performs quantitative scoring on the task factors, and compares the calculated total score with the set threshold value, so that the determination module 23 can obtain different hierarchical strategies according to the calculation task and allocate the calculation task to different household computing devices. In addition, the embodiment of the present disclosure can score multiple task factors, so that the obtained task total score can integrate the information of multiple task factors, thereby making the evaluation of the task more accurate.

[0126] Optionally, the weighted summation module 22 inputs multiple task factors of the calculation task into the meta-learning model to obtain a weight allocation strategy for multiple task factors. Or, based on the historical weight data of multiple task factors, a redistribution strategy for the weights of multiple task factors is obtained through a reinforcement learning algorithm. According to the weight allocation strategy, a corresponding weight is assigned to each task factor. According to the weight of each task factor, the scores are weighted and summed to obtain the total score of the task.

[0127] Optionally, the weighted sum module 22 extracts feature data from the historical weight data of multiple task factors, and inputs the feature data into the meta-learning basic model so that the meta-learning basic model learns the weight allocation strategy to obtain the meta-learning model.

[0128] Optionally, the scoring module 21 quantitatively scores the task complexity parameter in the following manner: select one or more of the amount of computation, the size of the data, or the number of steps as evaluation factors. Assign a corresponding weight to each evaluation factor. Calculate the task complexity parameter according to the following formula:

[0129] C=w1×C1+w2×C2+w3×C3

[0130] Among them, C is the task complexity parameter, C1 is the computational effort, C2 is the data size, C3 is the number of steps, and w1, w2, and w3 are weight coefficients.

[0131] Optionally, the scoring module 21 quantitatively scores the device computing capability parameter in the following manner: select one or more of processor speed, memory size, storage space or network bandwidth as evaluation factors. Assign a corresponding weight to each evaluation factor. Calculate the device computing capability parameter according to the following formula:

[0132] D=v1×D1+v2×D2+v3×D3+v4×D4

[0133] Among them, D is the device computing capability parameter, D1 is the processor speed, D2 is the memory size, D3 is the storage space, D4 ​​is the network bandwidth, and v1, v2, v3 and v4 are weight coefficients.

[0134] Optionally, the determination module 23 allocates the computing task to different home appliance computing devices, including: determining a target home appliance computing device among the home appliance computing devices according to a real-time requirement parameter and a task urgency parameter of a target computing task in the computing task, and allocating the target computing task to the target home appliance computing device.

[0135] Optionally, the determination module 23 determines a first home appliance computing device that meets the target computing capacity condition among the home appliance computing devices. The target computing capacity condition corresponds to the real-time requirement parameter and the task urgency parameter of the target computing task. A second home appliance computing device with the smallest number of rotation calculations among the first home appliance computing devices is determined. The second home appliance computing device is used as the target home appliance computing device.

[0136] Combination Figure 7As shown, the embodiment of the present disclosure provides another determination device 70 for large model hierarchical calculation, including a processor (processor) 700 and a memory (memory) 701. Optionally, the device 70 may also include a communication interface (Communication Interface) 702 and a bus 703. Among them, the processor 700, the communication interface 702, and the memory 701 can communicate with each other through the bus 703. The communication interface 702 can be used for information transmission. The processor 700 can call the logic instructions in the memory 701 to execute the determination method for large model hierarchical calculation of the above embodiment.

[0137] In addition, the logic instructions in the memory 101 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0138] The memory 101 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 100 executes the functional application and data processing by running the program instructions / modules stored in the memory 101, that is, the determination method for large model hierarchical calculation in the above embodiment is implemented.

[0139] The memory 101 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. The data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 101 may include a high-speed random access memory and may also include a non-volatile memory.

[0140] The disclosed embodiment provides an electronic device, comprising: a product body, and the above-mentioned determination device 200 for large-model hierarchical calculation. The determination device 200 for large-model hierarchical calculation is installed on the electronic device body. The installation relationship described here is not limited to placement inside the electronic device body, but also includes installation connections with other components of the electronic device, including but not limited to physical connections, electrical connections, or signal transmission connections. It can be understood by those skilled in the art that the determination device 200 for large-model hierarchical calculation can be adapted to a feasible electronic device body, thereby realizing other feasible embodiments.

[0141] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A determination method for large model hierarchical calculation, characterized in that: include: Quantitatively scoring the task factors of the computing tasks of the multi-layer sub-models of the large model; wherein the task factors include multiple parameters of task complexity parameters, equipment computing capacity parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters and task urgency parameters; Perform weighted summation on the scores of multiple task factors to obtain the total score of the task; When the total score of the task exceeds the set threshold, the computing task will be allocated to different home appliance computing devices to achieve hierarchical computing of large models.

2. The determination method according to claim 1, characterized in that: The scoring results of multiple task factors are weighted and summed to obtain the total score of the task, including: Input multiple task factors of the computing task into the meta-learning model to obtain the weight allocation strategy of the multiple task factors; or, based on the historical weight data of the multiple task factors, obtain the weight redistribution strategy of the multiple task factors through the reinforcement learning algorithm; According to the weight allocation strategy, each task factor is assigned a corresponding weight; According to the weight of each task factor, the scores are weighted and summed to obtain the total score of the task.

3. The determination method according to claim 2, characterized in that: The meta-learning model is obtained as follows: Extract feature data from historical weight data of multiple task factors; The feature data is input into the meta-learning base model so that the meta-learning base model learns the weight allocation strategy to obtain the meta-learning model.

4. The determination method according to claim 1, characterized in that: The task complexity parameters were quantitatively scored as follows: Select one or more of the amount of computation, the size of the data, or the number of steps as the evaluation factor; Assign corresponding weights to each evaluation factor; The task complexity parameter is calculated according to the following formula: C=w1×C1+w2×C2+w3×C3 Among them, C is the task complexity parameter, C1 is the computational effort, C2 is the data size, C3 is the number of steps, and w1, w2, and w3 are weight coefficients.

5. The determination method according to claim 1, characterized in that: The device computing capability parameters are quantified and scored as follows: Select one or more of processor speed, memory size, storage space, or network bandwidth as evaluation factors; Assign corresponding weights to each evaluation factor; Calculate the device computing capability parameters according to the following formula: D=v1×D1+v2×D2+v3×D3+v4×D4 Among them, D is the device computing capability parameter, D1 is the processor speed, D2 is the memory size, D3 is the storage space, D4 ​​is the network bandwidth, and v1, v2, v3 and v4 are weight coefficients.

6. The determination method according to claim 1, characterized in that: The threshold value is obtained as follows: Obtaining historical task data; wherein the historical task data includes historical scores of task factors and historical weights of task factors; The historical scores of the task factors and the historical weights of the task factors are weighted and summed to obtain the historical task scores, and the historical task scores are used as the set thresholds.

7. The determination method according to any one of claims 1 to 6, characterized in that: Distribute computing tasks to different home computing devices, including: Determine a target home appliance computing device among the home appliance computing devices according to a real-time requirement parameter and a task urgency parameter of the target computing task in the computing task; Allocate target computing tasks to target home appliance computing devices.

8. The determination method according to claim 7, characterized in that: According to the real-time requirement parameter and the task urgency parameter of the target computing task in the computing task, the target home appliance computing device in the home appliance computing device is determined, including: Determine a first home appliance computing device among the home appliance computing devices that meets a target computing capacity condition, wherein the target computing capacity condition corresponds to a real-time requirement parameter and a task urgency parameter of the target computing task; Determine a second household computing device having the smallest number of round-robin calculations among the first household computing devices; The second home computing device is used as the target home computing device.

9. A determination device for large model hierarchical calculation, characterized in that: include: A scoring module is configured to quantitatively score task factors of computing tasks of multi-layer sub-models of the large model; wherein the task factors include multiple parameters of task complexity parameters, device computing capacity parameters, data transmission requirement parameters, real-time requirement parameters, concurrent processing requirement parameters, network stability parameters, and task urgency parameters; A weighted summation module is configured to perform a weighted summation on the scores of multiple task factors to obtain a total task score; The determination module is configured to distribute the computing tasks to different household computing devices when the total score of the tasks exceeds a set threshold, so as to realize hierarchical computing of a large model.

10. A determination device for large model hierarchical calculation, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the determination method for large model hierarchical calculation according to any one of claims 1 to 8 through the computer program.

11. An electronic device, characterized in that: include: Electronic device body; and, The determination device for large model hierarchical calculation as described in claim 9 or 10 is installed on the electronic device body.