Resource scheduling control method and system for embedded device

By analyzing the resource requirements information of embedded device operating system examples, building a resource scheduling solution and optimizing resource allocation, the problem of embedded device resource allocation in large industrial parks is solved, and efficient data processing and stable production equipment operation is achieved.

CN120123104AActive Publication Date: 2025-06-10GHOSTCLOUD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510603297.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-06-10
Estimated Expiration
2045-05-12

AI Technical Summary

Technical Problem

In large industrial parks, the hardware resource configuration of different devices in the embedded device group is different, which makes it difficult to rationalize the resource allocation of operating system instances and affects data processing efficiency.

Method used

By receiving embedded device program running tasks, analyzing the resource requirements information of operating system instances, building a resource scheduling plan, and executing resource allocation instructions through the virtual machine manager, optimizing the resource allocation of each operating system instance.

Benefits of technology

It realizes intelligent scheduling and control of embedded device resources, improves data processing efficiency, and improves the operation stability and rationality of production equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120123104A_ABST
    Figure CN120123104A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of resource management of embedded devices, and discloses a resource scheduling control method and system for an embedded device, and the method comprises the steps: carrying out the overall analysis of a program operation task of the embedded device, constructing an execution demand of the program operation task of the embedded device, and carrying out the resource scheduling control of the embedded device; by querying a resource information set allocated to each operating system instance in each embedded device, constructing a resource information set occupied by each operating system instance as a constraint condition and resource allocation stability of the operating system instance of each embedded device as an optimization target; therefore, allocation optimization of the resource information set of each operating system instance and the program running task of each embedded device is executed, and finally, allocation is executed on resources of each operating system instance in each embedded device and the program running task of each embedded device by controlling the virtual machine manager. And intelligent resource scheduling control of the embedded equipment and efficient processing of production data are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of embedded device resource management, and particularly to a resource scheduling and control method and system for embedded devices. Background Art

[0002] Embedded systems are widely used in various fields. However, due to the limited resources and high real-time requirements, there are certain challenges in directly running multiple operating system instances on embedded devices. The hardware resources of embedded devices (such as CPU, memory, peripheral interfaces, interrupt controllers, etc.) are limited. When multiple operating system instances (such as real-time operating system RTOS, Linux, etc.) run simultaneously, problems such as CPU resource competition, memory access conflicts, peripheral exclusivity issues, or interrupt handling conflicts may occur, affecting the running stability and quality of embedded devices. The prior art proposes a solution that uses a virtual machine manager to virtualize the hardware resources of embedded devices, which can pre-allocate fixed resources for each operating system instance through static resource allocation to avoid dynamic competition during operation. However, the application of this method still has limitations in some scenarios.

[0003] Specifically, in some large industrial parks, a centralized data processing operation mode may be adopted, that is, when the local processing load of a large amount of operation data in the large industrial park is relatively large, it will be transferred to a group of embedded devices pre-equipped on the edge side for centralized processing. On the one hand, it reduces the data processing load pressure of a single operating device and lowers the operation control cost. On the other hand, the functional modular configuration and layout within the industrial park can improve the convenience and efficiency of park production management. In this scenario, different embedded devices in the embedded device group are configured with different hardware resources, and different operating system instances under each embedded device are allocated different hardware resource requirements. When a large amount of operation data from different operating devices is allocated to different embedded devices, different operating system instances may be required for data processing. Therefore, it is necessary to consider the output time period of the operation data, the operating system instance required when the operation data is processed, and the hardware resources occupied by each operating system instance, which brings great difficulties to the fixed resource allocation of the operating system instances of each embedded device and also poses higher rationality requirements for the allocation of data processing tasks.

[0004] Therefore, how to improve the rationality and scientificity of the hardware resource scheduling and task execution allocation of each operating system instance in different embedded devices under an embedded device group while enhancing the data processing efficiency of production devices within a regional scope is a technical problem that urgently needs to be solved. Summary of the Invention

[0005] The main objective of the present invention is to provide a resource scheduling control method and system for embedded devices, aiming to solve at least one of the above technical problems.

[0006] To achieve the above objective, the present invention provides a resource scheduling control method for embedded devices, and the method includes the following steps: Receive a number of embedded device program running tasks executed in a target running cycle; wherein, each embedded device program running task includes a program running period and a program running type; Utilize the program running type to query the historical program running database, analyze the operating system instance resource requirement information of each embedded device program running task, and construct the execution requirement of the embedded device program running task by using the operating system instance resource requirement information and the program running period; Query the embedded device resource library, extract the operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generate an embedded device resource scheduling plan based on the operating system instance resource allocation information and the execution requirement of the embedded device program running task; Execute the resource scheduling of the embedded device by using the operating system instance resource allocation instruction and the embedded device program running task allocation instruction in the embedded device resource scheduling plan.

[0007] Optionally, the step of receiving a number of embedded device program running tasks executed in a target running cycle specifically includes: Receive each embedded device resource call request, and extract the request user identifier and call requirement description information in the embedded device resource call request; Extract the resource call running program and the resource call period in each call requirement description information, use the type of the resource call running program as the program running type, and use the resource call period as the program running period to construct the embedded device program running task of each embedded device resource call request executed in the target running cycle.

[0008] Optionally, the step of extracting the resource call running program and the resource call period in each call requirement description information specifically includes: Use natural language processing tools to perform word segmentation, part-of-speech analysis, and keyword extraction on each call requirement description information to obtain a number of keywords of each call requirement description information; Call the expression word arrays of the resource call running program and the resource call period, calculate the similarity between each expression word in each expression word array and the keywords, and when there is an expression word with a similarity higher than the preset threshold, output the keyword as the resource call running program or the resource call period.

[0009] Optionally, using the program running type, querying the historical program running database, and analyzing the operating system instance resource requirement information of each embedded device program running task specifically includes: Using the program running type, querying the historical program running database, and extracting the historical program running data corresponding to each program running type; Among them, the historical program running data includes the resource information sets occupied by each embedded device when executing programs of each program running type under different operating system instances; From the historical program running data, match the resource information sets required by each program of each program running type corresponding to each embedded device program running task under different operating system instances, and generate the operating system instance resource requirement information of each embedded device program running task.

[0010] Optionally, the resource information set includes at least one or a combination of more of the CPU time slice ratio, memory occupancy size, peripheral occupancy type, and number of interrupt controllers.

[0011] Optionally, using the operating system instance resource requirement information and the program running period, constructing the execution requirement of the embedded device program running task specifically includes: Extract the resource information sets required by each embedded device program running task in the operating system instance resource requirement information under different operating system instances, and map and store the resource information sets required under different operating system instances according to different program running types; According to the program running period of each embedded device program running task, establish a program execution sequence list according to the program running period, and write each embedded device program running task and the resource information sets required by this embedded device program running task under different operating system instances into the established program execution sequence list to generate the execution requirement of the embedded device program running task.

[0012] Optionally, querying the embedded device resource library, extracting the operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generating an embedded device resource scheduling scheme based on the operating system instance resource allocation information and the execution requirement of the embedded device program running task specifically includes: Query the embedded device resource library; among them, the embedded device resource library records the operating system instance resource allocation information of each embedded device in the previous running cycle; Extract the resource information sets allocated to each operating system instance in the resource allocation information of the operating system instance, and consider the resource information sets allocated to each operating system instance, the resource information sets required for each embedded device program running task, and the program running period. Construct an optimization algorithm model with the resource information sets occupied by each operating system instance as the constraint conditions and the resource allocation stability of the operating system instance of each embedded device as the optimization goal, and optimize and solve the resource scheduling scheme for the embedded device; Among them, the resource scheduling scheme for the embedded device is configured to perform the resource information set allocation for each operating system instance in each minimum scheduling period in the target operating cycle and the allocation of each embedded device program running task to the corresponding embedded device.

[0013] Optionally, considering the resource information sets allocated to each operating system instance, the resource information sets required for each embedded device program running task, and the program running period, constructing an optimization algorithm model with the resource information sets occupied by each operating system instance as the constraint conditions and the resource allocation stability of the operating system instance of each embedded device as the optimization goal, and the steps of optimizing and solving the resource scheduling scheme for the embedded device specifically include: Consider the resource information sets allocated to each operating system instance, the resource information sets required for each embedded device program running task, and the program running period; Taking the resource information sets allocated to each operating system instance in each minimum scheduling period in the target operating cycle to meet the resource information sets required for each embedded device running program running task allocated in this minimum scheduling period as the constraint conditions, and taking the sum of the number of resource allocation adjustments between several adjacent minimum scheduling periods in the target operating cycle of all operating system instances of each embedded device as the minimum as the optimization goal, construct an optimization algorithm model; Use the optimization algorithm model to perform the optimization of the resource information set allocation for each operating system instance in each minimum scheduling period in the target operating cycle and the allocation of each embedded device program running task to the corresponding embedded device, and generate a resource scheduling scheme for the embedded device.

[0014] Optionally, use the operating system instance resource allocation instruction and the embedded device program running task allocation instruction in the resource scheduling scheme for the embedded device to perform the resource scheduling steps for the embedded device, specifically including: Use the operating system instance resource allocation instruction in the resource scheduling scheme for the embedded device to drive the virtual machine manager on the embedded device to perform the allocation of the resource information sets for each operating system instance in each minimum scheduling period in the target operating cycle; Using the embedded device program running task allocation instruction in the embedded device resource scheduling scheme, control each received embedded device program running task to run during the corresponding program running period on the allocated embedded device.

[0015] In addition, to achieve the above object, the present invention also provides a resource scheduling control system for an embedded device, including: A receiving module, configured to receive a plurality of embedded device program running tasks executed in a target running cycle; wherein each embedded device program running task includes a program running period and a program running type; An analysis module, configured to use the program running type to query a historical program running database, analyze the operating system instance resource requirement information of each embedded device program running task, and construct an embedded device program running task execution requirement by using the operating system instance resource requirement information and the program running period; An extraction module, configured to query an embedded device resource library, extract the operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generate an embedded device resource scheduling scheme based on the operating system instance resource allocation information and the embedded device program running task execution requirement; An execution module, configured to use the operating system instance resource allocation instruction and the embedded device program running task allocation instruction in the embedded device resource scheduling scheme to perform resource scheduling of the embedded device.

[0016] The beneficial effects of the present invention are as follows: A resource scheduling control method and system for an embedded device are proposed. By comprehensively analyzing the embedded device program running tasks, an embedded device program running task execution requirement is constructed. Then, by querying the resource information set allocated to each operating system instance in each embedded device, an optimization target is constructed with the resource information set occupied by each operating system instance as a constraint condition and the resource allocation stability of the operating system instance of each embedded device as an optimization target. Based on this, the allocation optimization of the resource information set of each operating system instance and each embedded device program running task is performed. Finally, by controlling the virtual machine manager to allocate the resources of each operating system instance in each embedded device and each embedded device program running task, the intelligent scheduling control of the resources of the embedded device and the efficient processing of production data are realized. Description of the Drawings

[0017] Figure 1 It is a flowchart of the resource scheduling control method for the embedded device of the present invention; Figure 2 It is a structural diagram of the resource scheduling control system for the embedded device of the present invention. Detailed Embodiments

[0018] In order to make the objectives, technical solutions and advantages of the present invention more clear and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0019] An embodiment of the present invention provides a resource scheduling control method for an embedded device. Refer to Figure 1 , Figure 1 which is a schematic flowchart of an embodiment of the resource scheduling control method for an embedded device according to the present invention.

[0020] In this embodiment, a resource scheduling control method for an embedded device includes the following steps: S100: Receive a plurality of embedded device program running tasks executed in a target operation cycle; wherein each embedded device program running task includes a program running period and a program running type; S200: Use the program running type to query the historical program running database, analyze the operating system instance resource requirement information of each embedded device program running task, and use the operating system instance resource requirement information and the program running period to construct the execution requirements of the embedded device program running task; S300: Query the embedded device resource library, extract the operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generate an embedded device resource scheduling plan based on the operating system instance resource allocation information and the execution requirements of the embedded device program running task; S400: Use the operating system instance resource allocation instruction and the embedded device program running task allocation instruction in the embedded device resource scheduling plan to perform resource scheduling of the embedded device.

[0021] It should be noted that in some large industrial parks, a centralized data processing operation mode may be adopted, that is, when the local processing load of a large amount of operation data in the large industrial park is relatively large, it will be transferred to the embedded device group pre-equipped on the edge side for centralized processing. On the one hand, it reduces the data processing load pressure of a single operating device and the operation control cost. On the other hand, the functional modular configuration and layout in the industrial park can improve the convenience and efficiency of park production management. In this scenario, different embedded devices in the embedded device group are configured with different hardware resources, and different operating system instances under each embedded device are assigned different hardware resource requirements. When a large amount of operation data of different operating devices is assigned to different embedded devices, different operating system instances may be required for data processing. Therefore, it is necessary to consider the output period of the operation data, the operating system instance required when the operation data is processed, and the hardware resources occupied by each operating system instance, which brings great difficulties to the fixed resource allocation of the operating system instances of each embedded device and also puts forward higher rationality requirements for the allocation of data processing tasks.

[0022] To solve the above problems, in this embodiment, through an overall analysis of the embedded device program operation tasks, the execution requirements of the embedded device program operation tasks are constructed. Then, by querying the resource information sets allocated to each operating system instance in each embedded device, a resource information set occupied by each operating system instance is used as a constraint condition and the resource allocation stability of the operating system instances of each embedded device is used as an optimization target, so as to execute the allocation optimization of the resource information set of each operating system instance and the embedded device program operation tasks. Finally, through the control of the virtual machine manager, the resources of each operating system instance in each embedded device and each embedded device program operation task are allocated, realizing the intelligent scheduling control of the resources of the embedded device and the efficient processing of production data.

[0023] In a preferred embodiment, the steps of receiving a number of embedded device program operation tasks executed in a target operation cycle specifically include: S110: Receive each embedded device resource call request, and extract the request user identification and call requirement description information in the embedded device resource call request; S120: Extract the resource call running program and the resource call period in each call requirement description information, use the type of the resource call running program as the program running type, and use the resource call period as the program running period to construct the embedded device program operation tasks of each embedded device resource call request executed in the target operation cycle.

[0024] Furthermore, the steps of extracting the resource call running program and the resource call period in each call requirement description information specifically include: S121: Use natural language processing tools to perform word segmentation, part-of-speech analysis, and keyword extraction on each call requirement description information, and obtain several keywords for each call requirement description information; S122: Invoke the resource call running program and the expression word array of the resource call time period, calculate the similarity between each expression word in each expression word array and the keyword. When there is an expression word with a similarity higher than the preset threshold, use this keyword as the resource call running program or the resource call time period for output.

[0025] In this embodiment, first, by receiving each embedded device resource call request, according to the call requirement description information in the request, use natural language processing tools to perform keyword extraction and similarity calculation, analyze the resource call running program and the resource call time period, and thus construct the embedded device program running tasks for each embedded device resource call request executed in the target running cycle.

[0026] In a preferred embodiment, the step of using the program running type to query the historical program running database and analyze the operating system instance resource requirement information of each embedded device program running task specifically includes: S210: Use the program running type to query the historical program running database and extract the historical program running data corresponding to each program running type; Among them, the historical program running data includes the resource information sets occupied by each embedded device under different operating system instances when executing programs of each program running type; S220: From the historical program running data, match the resource information sets required by each program running type of each embedded device program running task under different operating system instances, and generate the operating system instance resource requirement information of each embedded device program running task.

[0027] In practical applications, the resource information set includes at least one or a combination of multiple ones of the CPU time slice ratio, memory occupancy size, peripheral occupancy type, and the number of interrupt controllers.

[0028] On this basis, the step of constructing the execution requirements of the embedded device program running task by using the operating system instance resource requirement information and the program running time period specifically includes: S230: Extract the resource information sets required by each embedded device program running task in the operating system instance resource requirement information under different operating system instances, and perform mapped storage on the resource information sets required under different operating system instances according to different program running types; S240: According to the program running time periods of each embedded device program running task, establish a program execution order list based on the program running time periods, and write each embedded device program running task and the resource information set required by this embedded device program running task under different operating system instances into the established program execution order list to generate the execution requirements of the embedded device program running task.

[0029] In this embodiment, according to the program running types obtained in the previous steps, by querying the historical program running database, several groups of historical program running data of the same program running type are obtained. After that, the resource information set required by each program of each program running type corresponding to each embedded device program running task in several groups of historical program running data under different operating system instances is extracted (the average occupancy of resource information under multiple program runs can be considered). Finally, the resource requirement information of the operating system instance for each embedded device program running task is generated. In this way, the execution requirements of the embedded device program running task can be constructed by using the resource requirement information of the operating system instance and the program running time period.

[0030] In a preferred embodiment, query the embedded device resource library, extract the resource allocation information of the operating system instance of each embedded device recorded in the embedded device resource library, and based on the resource allocation information of the operating system instance and the execution requirements of the embedded device program running task, generate the steps of the embedded device resource scheduling scheme, which specifically include: S310: Query the embedded device resource library; wherein, the embedded device resource library records the resource allocation information of the operating system instance of each embedded device in the previous running cycle; S320: Extract the resource information set allocated to each operating system instance in the resource allocation information of the operating system instance, consider the resource information set allocated to each operating system instance, the resource information set required by each embedded device program running task, and the program running time period, and construct an optimization problem with the resource information set occupied by each operating system instance as the constraint condition and the resource allocation stability of the operating system instance of each embedded device as the optimization objective to optimize and solve the embedded device resource scheduling scheme; Wherein, the embedded device resource scheduling scheme is configured to perform the allocation of the resource information set for each minimum scheduling period of each operating system instance in the target running cycle and the allocation of each embedded device program running task to the corresponding embedded device.

[0031] Further, considering the resource information sets allocated to each operating system instance, the resource information sets required for each embedded device program running task, and the program running period, an optimization solution step for the embedded device resource scheduling scheme is constructed with the resource information sets occupied by each operating system instance as the constraint conditions and the resource allocation stability of the operating system instances of each embedded device as the optimization objective, specifically including: S321: Consider the resource information sets allocated to each operating system instance, the resource information sets required for each embedded device program running task, and the program running period; S322: With the resource information sets allocated to each operating system instance in each minimum scheduling period within the target operating cycle satisfying the resource information sets required for each embedded device running program running task allocated to this minimum scheduling period as the constraint conditions, and with the sum of the resource allocation adjustment times between several adjacent minimum scheduling periods of all operating system instances of each embedded device within the target operating cycle being minimized as the optimization objective, construct an optimization algorithm model; S323: Use the optimization algorithm model to execute the optimization of the resource information set allocation for each operating system instance in each minimum scheduling period within the target operating cycle and the allocation of each embedded device program running task to the corresponding embedded device, and generate an embedded device resource scheduling scheme.

[0032] In this embodiment, through an overall analysis of the embedded device program running tasks executed within the target operating cycle, according to the program running type and the program running period, the execution requirements of the embedded device program running tasks are constructed to represent the resource information sets and the program running period required for each embedded device program running task. After querying the resource information sets allocated to each operating system instance in each embedded device, finally, with the resource information sets occupied by each operating system instance as the constraint conditions and the resource allocation stability of the operating system instances of each embedded device as the optimization objective, the optimization of the resource information set for each operating system instance in each minimum scheduling period within the target operating cycle and the allocation of each embedded device program running task to the corresponding embedded device are executed, and an embedded device resource scheduling scheme is generated. Finally, by controlling the virtual machine manager to perform the resource allocation for each operating system instance in each embedded device and the execution allocation for each embedded device program running task, while improving the rationality and scientificity of the hardware resource scheduling and task execution allocation of each operating system instance in different embedded devices under the embedded device group, the data processing efficiency of the production devices within the regional scope is improved.

[0033] In a preferred embodiment, the resource scheduling steps of the embedded device are executed using the operating system instance resource allocation instruction and the embedded device program running task allocation instruction in the embedded device resource scheduling scheme, specifically including: S410: Drive the virtual machine manager on the embedded device to perform the allocation of the resource information set for each operating system instance in each minimum scheduling period during the target operation cycle by using the operating system instance resource allocation instruction in the embedded device resource scheduling scheme; S420: Control each received embedded device program running task to run during the corresponding program running period on the allocated embedded device by using the embedded device program running task allocation instruction in the embedded device resource scheduling scheme.

[0034] In this embodiment, the finally generated embedded device resource scheduling scheme includes an operating system instance resource allocation instruction for performing the operating system instance resource allocation and an embedded device program running task allocation instruction for performing the embedded device program running task allocation. Finally, the above two instructions can be used to realize the allocation of the resource information set and the program running allocation in each minimum scheduling period during the target operation cycle, and realize the intelligent scheduling control of the resources of the embedded device and the efficient processing of production data.

[0035] Refer to Figure 2 , Figure 2 which is the structural block diagram of the embodiment of the resource scheduling control system for the embedded device of the present invention.

[0036] As Figure 2 shown, the resource scheduling control system for the embedded device proposed in the embodiment of the present invention includes: A receiving module 10, configured to receive a plurality of embedded device program running tasks executed during the target operation cycle; wherein each embedded device program running task includes a program running period and a program running type; An analysis module 20, configured to query the historical program running database by using the program running type, analyze the operating system instance resource requirement information of each embedded device program running task, and construct the execution requirement of the embedded device program running task by using the operating system instance resource requirement information and the program running period; An extraction module 30, configured to query the embedded device resource library, extract the operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generate an embedded device resource scheduling scheme based on the operating system instance resource allocation information and the execution requirement of the embedded device program running task; An execution module 40, configured to perform the resource scheduling of the embedded device by using the operating system instance resource allocation instruction and the embedded device program running task allocation instruction in the embedded device resource scheduling scheme.

[0037] Other embodiments or specific implementation manners of the resource scheduling control system for embedded devices according to the present invention may refer to the above method embodiments, and will not be described herein again.

[0038] It can be understood that in the description of this specification, the description with reference to terms such as "one embodiment", "another embodiment", "other embodiments", or "the first embodiment to the Nth embodiment" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0039] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the phrase "including an..." does not exclude the existence of additional identical elements in the process, method, article or system including the element.

[0040] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.

Claims

1. A resource scheduling control method for embedded devices, characterized in that: The method comprises the following steps: Receiving a plurality of embedded device program running tasks executed in a target running cycle; wherein each embedded device program running task includes a program running time period and a program running type; Using the program running type, querying the historical program running database, analyzing the operating system instance resource requirement information of each embedded device program running task, and using the operating system instance resource requirement information and the program running time period, constructing the embedded device program running task execution requirement; Querying an embedded device resource library, extracting operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generating an embedded device resource scheduling plan based on the operating system instance resource allocation information and the embedded device program running task execution requirements; The resource scheduling of the embedded device is performed by utilizing the operating system instance resource allocation instructions and the embedded device program running task allocation instructions in the embedded device resource scheduling solution.

2. The resource scheduling control method for embedded devices according to claim 1, characterized in that: Receive a number of embedded device program running task steps executed in a target running cycle, specifically including: Receive each embedded device resource call request, and extract the requesting user identifier and call requirement description information in the embedded device resource call request; The resource calling running program and resource calling period in each calling requirement description information are extracted, the type of resource calling running program is used as the program running type, and the resource calling period is used as the program running time period, and an embedded device program running task is constructed for each embedded device resource calling request executed in the target running cycle.

3. The resource scheduling control method for embedded devices according to claim 2, characterized in that: Extract the resource call running program and resource call period steps in each call requirement description information, including: Use natural language processing tools to perform word segmentation, part-of-speech analysis, and keyword extraction on each call requirement description information to obtain several keywords for each call requirement description information; Call the expression word array of the resource call running program and the resource call period, calculate the similarity between each expression word in each expression word array and the keyword, and when there is an expression word with a similarity higher than a preset threshold, output the keyword as the resource call running program or the resource call period.

4. The resource scheduling control method for embedded devices according to claim 1, characterized in that: The steps of using the program running type to query the historical program running database and analyzing the operating system instance resource requirement information of each embedded device program running task specifically include: Using the program running type, querying the historical program running database, and extracting the historical program running data corresponding to each program running type; Wherein, the historical program running data includes resource information sets occupied by each embedded device under different operating system instances when executing programs of each program running type; From the historical program running data, the resource information sets required by each program running type corresponding to each embedded device program running task under different operating system instances are matched to generate operating system instance resource requirement information for each embedded device program running task.

5. The resource scheduling control method for embedded devices according to claim 4, characterized in that: The resource information set includes at least one or more combinations of CPU time slice ratio, memory occupancy size, peripheral occupancy type and interrupt controller quantity.

6. The resource scheduling control method for embedded devices according to claim 4, characterized in that: Using the operating system instance resource requirement information and the program running time period, constructing the embedded device program running task execution requirement steps specifically includes: Extracting resource information sets required by each embedded device program running task under different operating system instances from the operating system instance resource requirement information, and mapping and storing resource information sets required under different operating system instances according to different program running types; According to the program running time period of each embedded device program running task, a program execution order list is established according to the program running time period, each embedded device program running task and the resource information set required by the embedded device program running task under different operating system instances are written into the established program execution order list, and the embedded device program running task execution requirements are generated.

7. The resource scheduling control method for embedded devices according to claim 1, characterized in that: The embedded device resource library is queried to extract the operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and based on the operating system instance resource allocation information and the embedded device program running task execution requirements, an embedded device resource scheduling solution is generated, specifically including: Querying an embedded device resource library; wherein the embedded device resource library records the operating system instance resource allocation information of each embedded device in the previous operation cycle; Extract the resource information set allocated by each operating system instance in the operating system instance resource allocation information, consider the resource information set allocated by each operating system instance and the resource information set and program running time period required by each embedded device program running task, construct a resource information set occupied by each operating system instance as a constraint condition and the resource allocation stability of each embedded device operating system instance as an optimization goal, and optimize and solve the embedded device resource scheduling solution; The embedded device resource scheduling scheme is configured to execute resource information set allocation for each operating system instance in each minimum scheduling period in the target operation cycle and allocation of each embedded device program running task to the corresponding embedded device.

8. The resource scheduling control method for embedded devices according to claim 7, characterized in that: Considering the resource information set allocated by each operating system instance and the resource information set and program running time required by each embedded device program running task, a resource information set occupied by each operating system instance is constructed as a constraint condition and the resource allocation stability of each embedded device operating system instance is taken as the optimization goal. The steps of optimizing and solving the embedded device resource scheduling scheme include: Consider the resource information set allocated by each operating system instance and the resource information set and program running time required by each embedded device program running task; The optimization algorithm model is constructed with the constraint that the resource information set allocated to each operating system instance in each minimum scheduling period in the target operation cycle meets the resource information set required by each embedded device running program running task allocated in the minimum scheduling period, and the optimization goal is to minimize the sum of the resource allocation adjustment times of all operating system instances of each embedded device between several adjacent minimum scheduling periods in the target operation cycle; The optimization algorithm model is used to perform optimization of resource information set allocation for each operating system instance in each minimum scheduling period in the target operation cycle and allocation of each embedded device program running task to the corresponding embedded device, and generate an embedded device resource scheduling plan.

9. The resource scheduling control method for embedded devices according to claim 1, characterized in that: Using the operating system instance resource allocation instructions and the embedded device program running task allocation instructions in the embedded device resource scheduling scheme, the resource scheduling steps of the embedded device are executed, specifically including: Using the operating system instance resource allocation instruction in the embedded device resource scheduling scheme, the virtual machine manager on the embedded device is driven to execute the allocation of resource information sets for each operating system instance in each minimum scheduling period in the target operation cycle; By utilizing the embedded device program running task allocation instruction in the embedded device resource scheduling scheme, each received embedded device program running task is controlled to run in the corresponding program running time period of the allocated embedded device.

10. A resource scheduling control system for embedded devices, characterized in that: include: A receiving module, used for receiving a plurality of embedded device program running tasks executed in a target running cycle; wherein each embedded device program running task includes a program running time period and a program running type; An analysis module is used to query a historical program operation database using the program operation type, analyze the operating system instance resource requirement information of each embedded device program operation task, and construct an embedded device program operation task execution requirement using the operating system instance resource requirement information and the program operation time period; An extraction module is used to query an embedded device resource library, extract operating system instance resource allocation information of each embedded device recorded in the embedded device resource library, and generate an embedded device resource scheduling plan based on the operating system instance resource allocation information and the embedded device program running task execution requirements; The execution module is used to utilize the operating system instance resource allocation instructions and the embedded device program running task allocation instructions in the embedded device resource scheduling solution to execute the resource scheduling of the embedded device.

Citation Information

Patent Citations

  • Server integrated firmware system and task processing method

    CN119045986A

  • Resource scheduling method, model generation method and device

    CN119512720A

  • Resource allocation method and device, computer equipment and computer storage medium

    CN119668872A

  • Method for converting OCI mirror image and embedded mirror image in embedded environment

    CN119917223A