Search

CN-122019192-A - Method, equipment and medium for hierarchical scheduling of vehicle-computer resources based on edge calculation

CN122019192ACN 122019192 ACN122019192 ACN 122019192ACN-122019192-A

Abstract

The invention discloses a hierarchical scheduling method, equipment and medium of vehicle-computer resources based on edge calculation, which relate to the technical fields of vehicle networking, edge calculation technology and resource management and comprise the steps of collecting basic attribute data and initial resource data, acquiring task attribute information and establishing a local resource layer and an edge cooperative resource pool; the method and the system for scheduling the vehicle resource hierarchical scheduling have the advantages of achieving dynamic adjustment and continuous optimization of the scheduling process, and achieving the advantages of improving the hierarchical scheduling consistency, flexibility and operation stability of the vehicle resource hierarchical scheduling.

Inventors

  • LIU JIE
  • LIU FAGUI
  • LUO YUYE

Assignees

  • 华南理工大学

Dates

Publication Date
20260512
Application Date
20260413

Claims (10)

  1. 1. The vehicle-computer resource hierarchical scheduling method based on edge calculation is characterized by comprising the following steps of: Acquiring basic attribute data and initial resource data, acquiring task attribute information, and establishing a local resource layer and an edge cooperative resource pool; Registering and correlating task attribute information, a local resource layer state and an edge cooperative resource state to generate an initial scheduling information set; Based on the initial scheduling information set, refreshing the local resource layer state and the edge cooperative resource state, acquiring the resource state, and matching task attribute information with the resource state to generate an initial scheduling judgment set; Performing hierarchical division on tasks to be scheduled according to the initial scheduling judgment set, acquiring task hierarchical identifiers, performing double admission judgment on the task hierarchical identifiers, and generating scheduling arrangement; Executing tasks to be scheduled based on scheduling, and performing resource compression and interlayer migration when the resource pressure continuously exceeds a preset resource pressure migration threshold value to generate a scheduling execution state; And releasing the local resource quota and the edge resource quota according to the scheduling execution state to generate hierarchical scheduling update information.
  2. 2. The method for hierarchical scheduling of vehicle-mounted resources based on edge computing as set forth in claim 1, wherein said collecting basic attribute data and initial resource data, obtaining task attribute information, and establishing a local resource layer and an edge cooperative resource pool comprises the following specific steps: Collecting basic attribute data of a task to be scheduled and initial resource data of a local side and an edge side of a vehicle machine, and extracting task attribute information from the basic attribute data; And establishing a local resource layer according to the initial resource data of the local vehicle machine, and establishing an edge cooperative resource pool according to the initial resource data of the edge side.
  3. 3. The hierarchical scheduling method for vehicle-mounted resource based on edge computing according to claim 1, wherein the registering and correlating task attribute information, local resource layer state and edge cooperative resource state generates an initial scheduling information set, and the specific steps are as follows: Registering task attribute information to obtain a task record set, and registering a local resource layer state and an edge cooperative resource state to obtain the local resource layer record set and the edge cooperative resource record set; associating the task record set, the local resource layer record set and the edge collaborative resource record set to obtain a task resource corresponding relation; and merging and sorting task attribute information, a local resource layer state and an edge cooperative resource state based on the task resource corresponding relation to generate an initial scheduling information set.
  4. 4. The hierarchical scheduling method for vehicle-mounted resource based on edge calculation according to claim 1, wherein the step of refreshing the local resource layer state and the edge cooperative resource state based on the initial scheduling information set to obtain the resource state comprises the following specific steps: Extracting a local resource layer identifier and an edge node identifier from the initial scheduling information set to form a refreshing object set, and synchronously refreshing the local resource layer state and the edge cooperative resource state according to the refreshing object set to obtain a refreshing resource record set; according to the refreshing resource record set, carrying out corresponding processing on a local resource layer and an edge node in the same refreshing object set to obtain a resource state corresponding relation; and merging and sorting the local resource layer refreshing record and the edge cooperative resource refreshing record in the refreshing resource record set according to the corresponding relation of the resource states to generate the resource states.
  5. 5. The hierarchical scheduling method for vehicle-mounted resource based on edge calculation according to claim 1, wherein the matching of task attribute information and resource status to generate an initial scheduling decision set comprises the following specific steps: according to the task attribute information and the resource state, constructing candidate matching items among the task to be scheduled, the local resource layer and the edge node, and acquiring a candidate matching item set; constraint screening is carried out on the candidate matching item set, candidate matching items which do not meet the time limit requirement, the resource requirement and the migration limit are removed, and an effective matching item set is obtained; based on the effective matching item set, matching judgment is carried out on the task to be scheduled and the corresponding resource state, and matching item ordering is obtained; And reserving and merging the local resource layer and the edge node corresponding to the task to be scheduled according to the matching item ordering, and generating an initial scheduling judgment set.
  6. 6. The hierarchical scheduling method of vehicle-computer resources based on edge calculation according to claim 1, wherein the steps of performing hierarchical division on tasks to be scheduled according to an initial scheduling determination set, obtaining task hierarchy identifiers, performing dual admission determination on the task hierarchy identifiers, and generating scheduling are as follows: Extracting a local candidate item and an edge candidate item corresponding to each task to be scheduled according to the tasks to be executed corresponding to the initial scheduling judgment set to form a judgment input item set; performing hierarchical division on tasks to be scheduled based on the judging input item set, obtaining task hierarchical identifiers, and respectively executing local layer admission judgment and edge layer admission judgment on the tasks to be scheduled according to the task hierarchical identifiers to obtain local admission marks and edge admission marks; and determining the execution position, the resource allocation and the execution sequence of the task to be scheduled according to the task level identification, the local access mark and the edge access mark, and generating scheduling.
  7. 7. The method for hierarchical scheduling of vehicle-mounted resources based on edge computing according to claim 1, wherein the scheduling-based task is executed, and the resource compression and interlayer migration are performed when the resource pressure continuously exceeds a preset resource pressure migration threshold, so as to generate a scheduling execution state, and the specific steps are as follows: starting task execution to be scheduled according to scheduling, establishing an observation object table, continuously acquiring resource pressure data of a local resource layer and an edge node based on the observation object table, and acquiring a pressure observation item; performing resource pressure migration judgment on the task to be scheduled by using the pressure observation item, acquiring a resource pressure migration value, performing resource compression on a local resource layer when the resource pressure migration value continuously exceeds a preset resource pressure migration threshold, performing interlayer migration on the task to be scheduled which meets migration conditions, and generating a task execution condition; Recording the current execution position, resource quota and state change information of the task according to the task execution condition, and generating a scheduling execution state.
  8. 8. The method for hierarchical scheduling of vehicle-mounted resources based on edge calculation according to claim 1, wherein the steps of releasing local resource quota and edge resource quota according to the scheduling execution state to generate hierarchical scheduling update information are as follows: Extracting task execution state information corresponding to a task to be scheduled according to the scheduling execution state, forming a release object list, releasing corresponding local resource quota and edge resource quota according to the release object list, collecting the released local resource layer state and edge cooperative resource state, and obtaining a released observation item; Based on the observation items after release, updating and judging the resource release condition, the pressure fall-back condition and the execution cost of the task to be scheduled, and obtaining the hierarchical scheduling update quantity; Merging task attribute information through the scheduling execution state and the post-release observation item to generate task image data, and correcting a resource threshold, an admission threshold and a migration limit through the scheduling execution state, the post-release observation item and the hierarchical scheduling update amount to generate scheduling parameter data; and summarizing task level identifiers, edge node identifiers, resource thresholds and migration limits in the task portrait data and the scheduling parameter data to generate hierarchical scheduling update information.
  9. 9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the hierarchical scheduling method for vehicle resources based on edge computation according to any one of claims 1 to 8 when executing the computer program.
  10. 10. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the edge computing based hierarchical scheduling method for vehicle resources of any of claims 1 to 8.

Description

Method, equipment and medium for hierarchical scheduling of vehicle-computer resources based on edge calculation Technical Field The invention relates to the technical fields of Internet of vehicles, edge computing technology and resource management, in particular to a hierarchical scheduling method, equipment and medium for vehicle-computer resources based on edge computing. Background With the development of intelligent network-connected automobiles and on-board intelligent terminals, the business borne by an automobile machine system is continuously increased, and besides basic functions such as navigation, audio and video playing and the like, various tasks such as voice interaction, visual recognition, remote diagnosis, on-line service processing and the like are gradually integrated. In order to improve the processing capability of the vehicle-mounted terminal on complex services, a task scheduling technology, a resource management technology and an edge cooperative processing technology for a vehicle-mounted system are formed at present. On one hand, the time delay sensitive task is executed by depending on the local computing resource of the vehicle machine, and on the other hand, the computing nodes at the edge side are combined to share the tasks with larger computing quantity or coprocessability, so that the task bearing capacity and the overall operation efficiency of the vehicle-mounted system can be improved. In the existing vehicle-machine task scheduling mode, vehicle-machine local resource allocation mode and edge cooperative processing mode, priority ranking, static resource allocation or single unloading processing is usually focused more under the concurrent operation scene of multiple types of tasks, and a lifting space is still reserved for linkage utilization among task attribute information, vehicle-machine local resource states and edge cooperative resource states. Especially under the condition that the pressure of the vehicle-mounted resource continuously changes and the task load dynamically fluctuates, the existing related processing mode is generally difficult to consider task level division, differential admission and interlayer migration control, so that the cooperative scheduling fineness between the local resource and the edge resource is insufficient. Disclosure of Invention The present invention has been made in view of the above-described problems occurring in the prior art. Therefore, the invention provides a hierarchical scheduling method for vehicle-computer resources based on edge calculation, which solves the problem that the vehicle-computer tasks are difficult to realize efficient hierarchical scheduling between a local resource layer and edge cooperative resources and the task admission and interlayer migration are difficult to cooperatively control under the condition of resource pressure change. In order to solve the technical problems, the invention provides the following technical scheme: The invention provides a hierarchical scheduling method of vehicle-computer resources based on edge calculation, which comprises the steps of collecting basic attribute data and initial resource data, obtaining task attribute information, establishing a local resource layer and an edge cooperative resource pool, registering and correlating the task attribute information, the local resource layer state and the edge cooperative resource state to generate an initial scheduling information set, refreshing the local resource layer state and the edge cooperative resource state based on the initial scheduling information set, obtaining the resource state, matching the task attribute information with the resource state to generate an initial scheduling judgment set, carrying out hierarchical division on tasks to be scheduled according to the initial scheduling judgment set, obtaining task hierarchical identification, carrying out double admission judgment on the task hierarchical identification to generate scheduling, executing the tasks to be scheduled based on the scheduling, carrying out resource compression and interlayer migration when the resource pressure continuously exceeds a preset resource pressure migration threshold to generate a scheduling execution state, and releasing local resource quota and edge resource quota according to the scheduling execution state to generate hierarchical scheduling update information. As a preferred scheme of the vehicle-computer resource hierarchical scheduling method based on edge calculation, the invention acquires basic attribute data and initial resource data, acquires task attribute information, and establishes a local resource layer and an edge cooperative resource pool, and comprises the following specific steps: Collecting basic attribute data of a task to be scheduled and initial resource data of a local side and an edge side of a vehicle machine, and extracting task attribute information from the basic attribute data; And establis