Electronic cluster equipment control method, control system and equipment
By classifying and energy -consumption control analysis of electronic cluster equipment, determine the wake -up equipment and control its working time according to historical data, calculate the priority value of the sub -task and distribute the resource, solve the problem of unreasonable resources in the existing technology, realize With reduced energy consumption and optimization of resource utilization efficiency.
Patent Information
- Application Number
- CN202411943321.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-01-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing electronic cluster equipment control methods are difficult to make reasonable resource allocation based on the actual operation of the equipment and task requirements, resulting in unreasonable resource utilization and excessive energy consumption.
By classifying and energy -consumption control analysis of the equipment in the electronic cluster, determine the wake -up equipment and control its working time according to historical data. The priority value of the calculatory submissions and the resource allocation to ensure that the demand for high -priority tasks is guaranteed.
The precise control of equipment awakening duration has been achieved, reducing energy consumption, and optimizing resource utilization efficiency through reasonable resource allocation.
Smart Images

Figure CN119376524A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment, and in particular to an electronic cluster equipment control method, control system and equipment. Background Art
[0002] With the rapid development of electronic technology, electronic cluster equipment has been widely used in many fields, such as smart home, industrial automation, data center, etc.
[0003] The patent with publication number CN115834102A discloses a control method, an electronic device cluster and an electronic device based on an electronic device cluster, wherein the electronic device cluster includes at least two electronic devices with a communication connection established, and the electronic devices are deployed in different geographical areas, wherein the first electronic device in the electronic device cluster can collect user information of the user to be verified, including user identification information and user regional information, and send it to the second electronic device whose deployed area matches the user regional information, and then receive the user verification information obtained according to the user identification information returned by the second electronic device, and finally perform the control operation of the pass according to the user verification information.
[0004] However, the energy consumption problem of some existing electronic cluster equipment is becoming increasingly prominent. On the one hand, some high-performance equipment consumes huge amounts of energy, which increases operating costs and puts pressure on energy supply and environmental protection. In terms of resource allocation and task scheduling, the existing electronic cluster equipment control methods make it difficult to make reasonable resource allocation based on the actual operating conditions of the equipment and task requirements. Summary of the invention
[0005] In view of the deficiencies of the prior art, the present invention provides an electronic cluster device control method, control system and device, which solves the problem of unreasonable resource utilization caused by lack of effective mechanism for comprehensive evaluation and failure to make reasonable resource allocation according to the device's own situation.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: an electronic cluster device control method, the method specifically comprising the following steps: Step 1: Acquire all devices in the electronic cluster, classify the devices according to their compatibility to obtain compatible devices and incompatible devices, and adjust the incompatible devices to obtain the devices to be analyzed; Step 2: Perform energy consumption control analysis on the obtained device to be analyzed, obtain the execution task, determine the corresponding wake-up device based on the execution task, and control the working time of the wake-up device according to historical data to generate control information; Step 3: Analyze the wake-up device according to the obtained control information, analyze the subtasks corresponding to the wake-up device, calculate the corresponding priority value according to the resource consumption of the subtasks, and sort the priority values to generate sorting information; Step 4: Analyze available resources, classify wake-up devices to obtain priority wake-up devices and normal devices, and perform resource allocation analysis based on the resources used by the classified devices to generate a resource allocation signal; Step 5: Analyze the adjusted signal and the allocated signal separately, allocate resources based on the priority value of the wake-up device, and generate resource allocation information.
[0007] As a further solution of the present invention, the specific manner of classifying the devices according to the compatibility of the devices in step 1 is: All electronic devices are obtained and labeled as i, where i=1, 2, ..., j, where j represents the number of electronic devices. The communication protocol corresponding to electronic device i is obtained, and the standard communication protocol is obtained. The communication protocol corresponding to electronic device i is then compared with the standard communication protocol, and electronic devices with the same communication protocol are classified as compatible devices, and electronic devices with different communication protocols are classified as incompatible devices.
[0008] As a further solution of the present invention, the specific method of controlling the energy consumption of the equipment to be analyzed in step 2 is: Obtain all devices to be analyzed, then obtain the execution task, and at the same time obtain the corresponding wake-up device according to the execution task, and determine the corresponding associated device based on the obtained wake-up device; Then, historical data is obtained, and historical records similar to the currently executed task in the historical data are obtained, and the duration of the wake-up device task corresponding to the obtained historical records is obtained, and then the average duration corresponding to all historical records is calculated and recorded as the control standard, and control information is generated at the same time; In this way, the control standards for all wake-up devices are acquired and corresponding control information is generated.
[0009] As a further solution of the present invention, the specific manner of analyzing the awakening device according to the obtained control information in step three is: Get all wake-up devices and label them as n, where n=1, 2, ..., m, where m represents the number of wake-up devices. Then get the subtasks corresponding to the wake-up devices based on the execution tasks, and get the CPU utilization, compatible resources, and sensitivity corresponding to the subtasks for separate analysis. Analyze the CPU utilization, obtain the CPU utilization corresponding to the subtask, and compare the corresponding CPU utilization with the assignment interval, and assign a value to the subtask, denoted as F; Analyze compatible resources to determine whether subtasks have special compatibility requirements, and assign values based on special compatibility requirements, denoted as G; Analyze the sensitivity, obtain the demand response time corresponding to the subtask, calculate the number of times the subtask is used within time t, and calculate the response frequency corresponding to the subtask. Sum the obtained response time and response frequency to get the response resource, and assign a value based on the response resource, recorded as X. Calculate the priority value of the subtask based on the different assignments, and generate sorting information based on the priority value.
[0010] As a further solution of the present invention, the specific manner of generating the sorting information based on the priority values of the different value assignment calculation subtasks obtained in step 4 is: Substitute the PU utilization value F, compatible resource value G, and sensitivity value X obtained from the analysis into the formula The priority value Priority corresponding to the subtask is calculated, where k1, k2 and k3 are adjustment coefficients, and the specific values are set by the operator. w1, w2 and w3 are the powers corresponding to the adjustment coefficients, and the specific values are determined by the operator based on actual experience. At the same time, the calculated priority values Priority are sorted from small to large to generate sorting information.
[0011] As a further solution of the present invention, the specific method of generating the resource allocation signal in step 4 is: Obtain the current available resources and all wake-up devices at the same time, then divide the available resources equally based on the number of wake-up devices to obtain the average resources, and at the same time obtain the historical data corresponding to the wake-up devices, and calculate the corresponding utilization resources of the wake-up devices according to the historical data, and use the calculated utilization resources as the standard value of the wake-up devices, and then compare the standard value of the wake-up devices with the average resources. If the standard value is greater than the average resources, the corresponding wake-up device is classified as a priority wake-up device, otherwise if the standard value is less than the average resources, the corresponding wake-up device is classified as a normal device; Acquire all normal devices, and calculate the corresponding utilization resources of all normal devices as the first allocated resources. Similarly, calculate the corresponding utilization resources of the priority wake-up devices as the second allocated resources, and calculate the sum of the values of the first allocated resources and the second allocated resources as the total allocated resources. Then compare the total allocated resources with the available resources. If the total allocated resources are greater than the available resources, it means that the available resources do not support the simultaneous operation of all wake-up devices, and generate an adjustment signal. Conversely, if the total allocated resources are less than the available resources, it means that the available resources support the simultaneous operation of all wake-up devices, and generate an allocation signal.
[0012] As a further solution of the present invention, the specific manner of separately analyzing the adjusted signal and the distribution signal obtained by analysis in step 5 is: Analyze the adjusted signal obtained by analysis to obtain all priority wake-up devices, sort the priority wake-up devices from large to small according to the priority value, and sort the normal devices from small to large according to the priority value, and then perform resource allocation analysis on the priority wake-up device corresponding to the largest priority value and the normal device with the smallest priority value; If the normal device with the smallest priority value is associated with the priority wake-up device with the largest priority value, resource allocation processing is performed to generate allocation information. Conversely, if the normal device with the smallest priority value is not associated with the priority wake-up device with the largest priority value, the corresponding normal device is closed and adjusted to generate allocation information. The allocation signal is analyzed, and the priority wake-up devices are sorted from large to small according to the priority value, and the normal devices are sorted from small to large according to the priority value, and the priority wake-up devices are adjusted in sequence according to the sorting order and the sorting order of the normal devices to generate allocation information.
[0013] An electronic cluster equipment control system, including a resource information acquisition unit, an equipment analysis and processing unit, a resource allocation analysis unit and an information output unit; Resource information acquisition unit, which always acquires the system's cluster devices and the system's available resources, and transmits both to the device analysis and processing unit; A device analysis and processing unit, which is used to acquire all devices in the electronic cluster, classify the devices according to their compatibility to obtain compatible devices and incompatible devices, adjust the incompatible devices to obtain devices to be analyzed, perform energy consumption control analysis on the obtained devices to be analyzed, acquire the execution tasks, determine the corresponding wake-up devices based on the execution tasks, and control the working time of the wake-up devices according to historical data to generate control information, and transmit the generated control information to the resource allocation analysis unit; a resource allocation analysis unit, which analyzes the wake-up device according to the obtained control information, analyzes the subtasks corresponding to the wake-up device, calculates the corresponding priority values according to the resource consumption of the subtasks, and sorts the priority values to generate sorting information, analyzes the available resources, classifies the wake-up devices to obtain priority wake-up devices and normal devices, and performs resource allocation analysis based on the resources used by the classified devices to generate a resource allocation signal, separately analyzes the adjustment signal and allocation signal obtained by the analysis, and performs resource allocation based on the priority value of the wake-up device to generate resource allocation information, and transmits the generated resource allocation information to the information output unit; An information output unit is used to display the acquired resource allocation information to the corresponding operator of the system.
[0014] An electronic cluster device control device includes one or more processors, a memory, a plurality of application programs, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
[0015] The present invention provides an electronic cluster device control method, control system and device. Compared with the prior art, it has the following beneficial effects: The present invention determines the wake-up device based on the execution task, obtains the task duration of the wake-up device of similar tasks in historical data, calculates the average duration as a control standard to control the working time of the wake-up device, and accurately controls the wake-up duration of the device according to the historical experience data of the task, so as to avoid the device being in an unnecessary wake-up state for a long time, thereby reducing energy consumption; Comprehensively consider factors such as the CPU utilization, compatible resource requirements, and sensitivity of the subtask, assign values and substitute them into a specific formula to calculate the task priority, and then sort the wake-up devices according to the priority. On this basis, the available resources are reasonably allocated in combination with the historical resource utilization of the device, giving priority to ensuring the resource requirements of high-priority tasks, and at the same time making intelligent adjustments to insufficient resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a step method diagram of the present invention; Figure 2 This is a block diagram of the system principle of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] For example, see Figure 1 , the present application provides an electronic cluster device control method, the method specifically comprising the following steps: Step 1: Acquire all devices in the electronic cluster, classify the devices according to their compatibility to obtain compatible devices and incompatible devices, and adjust the incompatible devices to obtain the devices to be analyzed.
[0019] All electronic devices are obtained and labeled as i, and i=1, 2, ..., j, where j represents the number of electronic devices. At the same time, the communication protocol corresponding to electronic device i is obtained, and the standard communication protocol is obtained, and the standard communication protocol here is set by the operator. Then the communication protocol corresponding to electronic device i is compared with the standard communication protocol. Specifically, the communication protocol corresponding to electronic device i is compared with the standard communication protocol. If the communication protocol is the same as the standard communication protocol, the device is classified as a compatible device, and electronic devices with the same communication protocol are classified as compatible devices, and electronic devices with different communication protocols are classified as incompatible devices. The communication protocol here is represented by the corresponding transmission network requirement. For example, in the field of smart homes, some smart lights may use the ZigBee protocol, while some smart sockets may use the Wi-Fi protocol. Similarly, the same processing is performed according to the communication protocol of the electronic device.
[0020] Then, the classified incompatible devices are adjusted using a standard communication protocol, and the adjusted incompatible devices and compatible devices are renamed as devices to be analyzed.
[0021] Step 2: Perform energy consumption control analysis on the obtained device to be analyzed, obtain the execution task, determine the corresponding wake-up device based on the execution task, and control the working time of the wake-up device according to historical data to generate control information.
[0022] Acquire all devices to be analyzed, then acquire execution tasks, where the execution tasks are expressed as the requirements for the device to perform calculations or records, and acquire corresponding wake-up devices according to the execution tasks, where the wake-up devices are expressed as the devices corresponding to the execution tasks, and determine the corresponding associated devices based on the obtained wake-up devices, and the specific determination method is: record the devices that need to be used simultaneously with the wake-up devices as associated devices, and the wake-up devices may correspond to multiple associated devices; Then, historical data is obtained, and historical records similar to the currently executed task are obtained in the historical data. For example, if the currently executed task is to collect temperature through a temperature sensor, the historical data is searched based on the temperature collection task, and the duration of the wake-up device task corresponding to the acquired historical records is obtained. Then, the average duration corresponding to all historical records is calculated and recorded as the control standard, and control information is generated at the same time; Similarly, the control standards of all wake-up devices are acquired and corresponding control information is generated. Specifically, the wake-up devices are woken up or put to sleep accordingly according to the generated control information.
[0023] For example, in an electronic cluster equipment control system of an intelligent greenhouse, there are multiple temperature sensors distributed in different areas for collecting temperature data. In the past week, the temperature collection tasks for different areas have been executed 20 times. The duration of waking up the device for each temperature collection task is different, such as 10 seconds for the first time, 12 seconds for the second time, 8 seconds for the third time, etc. When the temperature collection task is executed again, the system first obtains the historical data of these 20 temperature collection tasks, and then selects records similar to the current temperature collection task (here similarity can be defined as similar collection areas, the same collection frequency, etc.). Assuming there are 10 similar records, the corresponding wake-up durations are 9 seconds, 11 seconds, 10 seconds, 13 seconds, 8 seconds, 10 seconds, 12 seconds, 9 seconds, 11 seconds, and 10 seconds. The average of these 10 duration data is calculated, that is, (9+11+10+13+8+10+12+9+11+10)÷10=10.3 seconds, and this 10.3 seconds is recorded as the control standard.
[0024] Step three: Analyze the wake-up device according to the obtained control information, analyze the subtasks corresponding to the wake-up device, calculate the corresponding priority value according to the resource consumption of the subtasks, and sort the priority values to generate sorting information.
[0025] Obtain all wake-up devices and label them as n, where n=1, 2, ..., m, where m represents the number of wake-up devices. The specific wake-up devices include the corresponding associated devices. Then, based on the execution task, obtain the subtasks corresponding to the wake-up devices, and obtain the CPU utilization, compatible resources, and sensitivity corresponding to the subtasks for separate analysis. Analyze the CPU utilization, obtain the CPU utilization corresponding to the subtask, and compare the corresponding CPU utilization with the assignment interval. The specific setting of the assignment interval is set by the operator, and the subtask is assigned a value F. For example, in a complex scientific computing cluster system, there are subtasks such as data preprocessing, core algorithm calculation, and result verification. The assignment interval of CPU utilization is set as follows: when the CPU utilization is between 0-20%, the assignment is F=1; when the CPU utilization is between 21%-50%, the assignment is F=2; when the CPU utilization is between 51%-80%, the assignment is F=3; when the CPU utilization is between 81%-100%, the assignment is F=4.
[0026] The compatible resources are analyzed to determine whether the subtask has special compatibility requirements. The special compatibility requirements here indicate that the high-performance computing task requires specific GPU acceleration, and a value is assigned based on the special compatibility requirements, denoted as G. Specifically, a subtask with special compatibility requirements is assigned a value of 1, and a subtask without special compatibility requirements is assigned a value of 0.
[0027] Analyze the sensitivity, obtain the demand response time corresponding to the subtask, calculate the number of times the subtask is used within time t, and the value of time t is set by the operator, and calculate the response frequency corresponding to the subtask. Sum the obtained response time and response frequency to get the response resource, and assign a value based on the response resource and record it as X; within a certain hour, the average demand response time of the order receiving subtask is 0.5 seconds, and it is called and executed 500 times, then its response frequency is 500 times / hour, convert the response time 0.5 seconds into hours (0.5 / 3600 hours) and then perform a weighted sum with the response frequency 500 (assuming that the response time weight is 0.6 and the response frequency weight is 0.4) to calculate the response resource value.
[0028] Substitute the PU utilization value F, compatible resource value G, and sensitivity value X obtained from the analysis into the formula The priority value Priority corresponding to the subtask is calculated, where k1, k2 and k3 are adjustment coefficients, and the specific values are set by the operator. w1, w2 and w3 are the powers corresponding to the adjustment coefficients, and the specific values are determined by the operator based on actual experience. At the same time, the calculated priority values Priority are sorted from small to large to generate sorting information.
[0029] Step 4: Analyze available resources, classify wake-up devices to obtain priority wake-up devices and normal devices, and perform resource allocation analysis based on the resources used by the classified devices to generate a resource allocation signal.
[0030] Obtain the current available resources, and the available resources here are represented as the current overall idle resources. At the same time, obtain all wake-up devices, and then divide the available resources equally based on the number of wake-up devices to obtain the average resources. For example, if the number of wake-up devices is four groups, then the available resources are divided equally into four parts accordingly. At the same time, obtain the historical data corresponding to the wake-up devices, and calculate the corresponding utilization resources of the wake-up devices according to the historical data. Here, the utilization resources are the numerical average of all historical data. The calculated utilization resources are used as the standard value of the wake-up device. Then, the standard value of the wake-up device is compared with the average resources. If the standard value is greater than the average resources, the corresponding wake-up device is classified as a priority wake-up device. Conversely, if the standard value is less than the average resources, the corresponding wake-up device is classified as a normal device. Acquire all normal devices, and calculate the corresponding utilization resources of all normal devices as the first allocated resources, and the utilization resources here are calculated based on the standard values of the normal devices themselves. Similarly, calculate the corresponding utilization resources of the priority wake-up devices as the second allocated resources, and calculate the sum of the values of the first allocated resources and the second allocated resources as the total allocated resources. Then compare the total allocated resources with the available resources. If the total allocated resources are greater than the available resources, it means that the available resources do not support the simultaneous operation of all wake-up devices, and generate an adjustment signal. Conversely, if the total allocated resources are less than the available resources, it means that the available resources support the simultaneous operation of all wake-up devices, and generate an allocation signal.
[0031] Step 5: Analyze the adjusted signal and the allocated signal separately, allocate resources based on the priority value of the wake-up device, and generate resource allocation information.
[0032] Analyze the adjusted signal obtained by analysis to obtain all priority wake-up devices, sort the priority wake-up devices from large to small according to the priority value, and sort the normal devices from small to large according to the priority value, and then perform resource allocation analysis on the priority wake-up device corresponding to the largest priority value and the normal device with the smallest priority value. Specifically, the excess equal resources of the normal device with the smallest priority value are allocated to the priority wake-up device; If the normal device with the smallest priority value is associated with the priority wake-up device with the largest priority value, resource allocation processing is performed to generate allocation information. Conversely, if the normal device with the smallest priority value is not associated with the priority wake-up device with the largest priority value, the corresponding normal device is closed and adjusted to generate allocation information. After sorting by priority value, it is found that the image rendering server with the highest priority value has a great demand for GPU resources when processing ultra-high-definition image rendering tasks, while the image storage server with the lowest priority value only occupies a small amount of memory resources and has a large amount of remaining CPU resource share under the current business load. If it is found through analysis that there is a data transmission association between the image storage server and the image rendering server (that is, there is a correlation), the excess CPU resources of the image storage server will be allocated to the image rendering server, and detailed allocation information will be generated, such as "the excess 20% CPU resources of image storage server S1 will be allocated to image rendering server R1 to speed up the processing progress of image rendering task T1". If there is no data interaction or business logic connection between the two, the image storage server S1 will be shut down, and the information "Since the image storage server S1 is not associated with the current priority task and the resources are recyclable, it will be shut down to save system energy consumption and recycle memory resources and CPU resources" will be generated.
[0033] The allocation signal is analyzed, and the priority wake-up devices are sorted from large to small according to the priority value, and the normal devices are sorted from small to large according to the priority value, and the priority wake-up devices are adjusted in sequence according to the sorting order and the sorting order of the normal devices to generate allocation information.
[0034] For example 2, please refer to Figure 2 The present application provides an electronic cluster equipment control system, including: a resource information acquisition unit, an equipment analysis and processing unit, a resource allocation analysis unit and an information output unit, and in combination with the attached Figure 2 It can be known that the above functional units are electrically connected in a unidirectional manner.
[0035] Resource information acquisition unit, which always acquires the system's cluster devices and the system's available resources, and transmits both to the device analysis and processing unit; A device analysis processing unit, which is used to acquire all devices in the electronic cluster, and classify the devices according to their compatibility to obtain compatible devices and incompatible devices, and adjust the incompatible devices to obtain devices to be analyzed, and the specific processing method is the same as the processing process of step one in embodiment one, and perform energy consumption control analysis on the obtained devices to be analyzed, by acquiring the execution task, and determining the corresponding wake-up device based on the execution task, and controlling the working time of the wake-up device according to historical data to generate control information, and transmitting the generated control information to the resource allocation analysis unit, and the specific processing method is the same as the processing process of step two in embodiment one; A resource allocation analysis unit, which analyzes the wake-up device according to the obtained control information, analyzes the subtask corresponding to the wake-up device, calculates the corresponding priority value according to the resource consumption corresponding to the subtask, and sorts the priority value to generate sorting information, and the specific processing method is the same as the processing process of step three in embodiment one, analyzes the available resources, classifies the wake-up devices to obtain priority wake-up devices and normal devices, and performs resource allocation analysis based on the resources used by the classified devices to generate a resource allocation signal, and the specific processing method is the same as the processing process of step four in embodiment one, separately analyzes the adjustment signal and allocation signal obtained by the analysis, and performs resource allocation based on the priority value of the wake-up device to generate resource allocation information, and transmits the generated resource allocation information to the information output unit, and the specific processing method is the same as the processing process of step five in embodiment one; An information output unit is used to display the acquired resource allocation information to the corresponding operator of the system.
[0036] In a third embodiment, the present application provides an electronic cluster device control device, which specifically includes one or more processors, a memory, multiple applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
[0037] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0038] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. An electronic cluster device control method, characterized in that: The method specifically comprises the following steps: Step 1: Acquire all devices in the electronic cluster, classify the devices according to their compatibility to obtain compatible devices and incompatible devices, and adjust the incompatible devices to obtain the devices to be analyzed; Step 2: Perform energy consumption control analysis on the obtained device to be analyzed, obtain the execution task, determine the corresponding wake-up device based on the execution task, control the working time of the wake-up device according to historical data, and generate control information; Step 3: Analyze the wake-up device according to the obtained control information, analyze the subtasks corresponding to the wake-up device, calculate the corresponding priority value according to the resource consumption of the subtasks, and sort the priority values to generate sorting information; Step 4: Analyze available resources, classify wake-up devices to obtain priority wake-up devices and normal devices, and perform resource allocation analysis based on the utilized resources of the classified devices to generate a resource allocation signal; Step 5: Analyze the adjusted signal and the allocated signal separately, allocate resources based on the priority value of the wake-up device, and generate resource allocation information.
2. The electronic cluster device control method according to claim 1, characterized in that: The specific method of classifying the devices according to their compatibility in step 1 is as follows: All electronic devices are obtained and labeled as i, where i=1, 2, ..., j, where j represents the number of electronic devices. The communication protocol corresponding to electronic device i is obtained, and the standard communication protocol is obtained. The communication protocol corresponding to electronic device i is then compared with the standard communication protocol, and electronic devices with the same communication protocol are classified as compatible devices, and electronic devices with different communication protocols are classified as incompatible devices.
3. The electronic cluster device control method according to claim 1, characterized in that: The specific method of controlling the energy consumption of the equipment to be analyzed in step 2 is: Obtain all devices to be analyzed, then obtain the execution task, and at the same time obtain the corresponding wake-up device according to the execution task, and determine the corresponding associated device based on the obtained wake-up device; Then, historical data is obtained, and historical records similar to the currently executed task in the historical data are obtained, and the duration of the wake-up device task corresponding to the obtained historical records is obtained, and then the average duration corresponding to all historical records is calculated and recorded as the control standard, and control information is generated at the same time; In this way, the control standards for all wake-up devices are acquired and corresponding control information is generated.
4. The electronic cluster device control method according to claim 1, characterized in that: The specific method of analyzing the wake-up device according to the obtained control information in step 3 is: Get all wake-up devices and label them as n, where n=1, 2, ..., m, where m represents the number of wake-up devices. Then get the subtasks corresponding to the wake-up devices based on the execution tasks, and get the CPU utilization, compatible resources, and sensitivity corresponding to the subtasks for separate analysis. Analyze the CPU utilization, obtain the CPU utilization corresponding to the subtask, and compare the corresponding CPU utilization with the assignment interval, and assign a value to the subtask, denoted as F; Analyze compatible resources to determine whether subtasks have special compatibility requirements, and assign values based on special compatibility requirements, denoted as G; Analyze the sensitivity, obtain the demand response time corresponding to the subtask, calculate the number of times the subtask is used within time t, and calculate the response frequency corresponding to the subtask. Sum the obtained response time and response frequency to get the response resource, and assign a value based on the response resource, recorded as X. Calculate the priority value of the subtask based on the different assignments, and generate sorting information based on the priority value.
5. The electronic cluster device control method according to claim 4, characterized in that: The specific method of generating the sorting information based on the priority values of the different value assignment calculation subtasks in step 4 is as follows: Substitute the CPU utilization value F, compatible resource value G, and sensitivity value X obtained from the analysis into the formula The priority value Priority corresponding to the subtask is calculated, where k1, k2 and k3 are adjustment coefficients, and the specific values are set by the operator. w1, w2 and w3 are the powers corresponding to the adjustment coefficients, and the specific values are determined by the operator based on actual experience. At the same time, the calculated priority values Priority are sorted from small to large to generate sorting information.
6. The electronic cluster device control method according to claim 1, characterized in that: The specific method of generating the resource allocation signal in step 4 is: Obtain the current available resources and all wake-up devices at the same time, then divide the available resources equally based on the number of wake-up devices to obtain the average resources, and at the same time obtain the historical data corresponding to the wake-up devices, and calculate the corresponding utilization resources of the wake-up devices according to the historical data, and use the calculated utilization resources as the standard value of the wake-up devices, and then compare the standard value of the wake-up devices with the average resources. If the standard value is greater than the average resources, the corresponding wake-up device is classified as a priority wake-up device, otherwise if the standard value is less than the average resources, the corresponding wake-up device is classified as a normal device; Acquire all normal devices, and calculate the corresponding utilization resources of all normal devices as the first allocated resources. Similarly, calculate the corresponding utilization resources of the priority wake-up devices as the second allocated resources, and calculate the sum of the values of the first allocated resources and the second allocated resources as the total allocated resources. Then compare the total allocated resources with the available resources. If the total allocated resources are greater than the available resources, it means that the available resources do not support the simultaneous operation of all wake-up devices, and generate an adjustment signal. Conversely, if the total allocated resources are less than the available resources, it means that the available resources support the simultaneous operation of all wake-up devices, and generate an allocation signal.
7. The electronic cluster device control method according to claim 1, characterized in that: The specific method of separately analyzing the adjustment signal and the distribution signal obtained by analysis in step 5 is: Analyze the adjusted signal obtained by analysis to obtain all priority wake-up devices, sort the priority wake-up devices from large to small according to the priority value, and sort the normal devices from small to large according to the priority value, and then perform resource allocation analysis on the priority wake-up device corresponding to the largest priority value and the normal device with the smallest priority value; If the normal device with the smallest priority value is associated with the priority wake-up device with the largest priority value, resource allocation processing is performed to generate allocation information. Conversely, if the normal device with the smallest priority value is not associated with the priority wake-up device with the largest priority value, the corresponding normal device is closed and adjusted to generate allocation information. The allocation signal is analyzed, and the priority wake-up devices are sorted from large to small according to the priority value, and the normal devices are sorted from small to large according to the priority value, and the priority wake-up devices are adjusted in sequence according to the sorting order and the sorting order of the normal devices to generate allocation information.
8. An electronic cluster device control system, used to execute the electronic cluster device control method according to any one of claims 1 to 7, characterized in that: It includes a resource information collection unit, a device analysis and processing unit, a resource allocation analysis unit and an information output unit; Resource information acquisition unit, which always acquires the system's cluster devices and the system's available resources, and transmits both to the device analysis and processing unit; A device analysis and processing unit, which is used to acquire all devices in the electronic cluster, classify the devices according to their compatibility to obtain compatible devices and incompatible devices, adjust the incompatible devices to obtain devices to be analyzed, perform energy consumption control analysis on the obtained devices to be analyzed, acquire the execution tasks, determine the corresponding wake-up devices based on the execution tasks, and control the working time of the wake-up devices according to historical data to generate control information, and transmit the generated control information to the resource allocation analysis unit; a resource allocation analysis unit, which analyzes the wake-up device according to the obtained control information, analyzes the subtasks corresponding to the wake-up device, calculates the corresponding priority values according to the resource consumption of the subtasks, and sorts the priority values to generate sorting information, analyzes the available resources, classifies the wake-up devices to obtain priority wake-up devices and normal devices, and performs resource allocation analysis based on the resources used by the classified devices to generate a resource allocation signal, separately analyzes the adjustment signal and allocation signal obtained by the analysis, and performs resource allocation based on the priority value of the wake-up device to generate resource allocation information, and transmits the generated resource allocation information to the information output unit; An information output unit is used to display the acquired resource allocation information to the corresponding operator of the system.
9. Electronic cluster equipment control device, characterized in that, The system comprises one or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions to execute the electronic cluster device control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control method based on electronic equipment cluster, electronic equipment cluster and electronic equipment
CN115834102A