Model scheduling method, apparatus, device, medium, and program product
By intelligently selecting target model types and instances, collaborative scheduling of large and small models is achieved, solving the problem of the disconnect between model selection and resource scheduling in vehicle-to-everything (V2X) AI models, improving service stability and resource utilization, and meeting the requirements of V2X for strong real-time performance and high reliability.
Patent Information
- Application Number
- CN202611123211.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-27
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies struggle to meet the demands of complex businesses for high generalization capabilities while ensuring low latency and high reliability. The model selection and computing network resource scheduling of vehicle-to-everything (V2X) AI models are disconnected, resulting in poor service stability, low resource utilization, and an inability to adapt to the highly dynamic characteristics of V2X.
By receiving task request information and combining vehicle-related information and model instance status information, the system intelligently selects the target model type and instance, enabling collaborative scheduling of models of different sizes. This adapts to the highly dynamic characteristics of the Internet of Vehicles and solves the problems of disconnect between model capabilities and resource scheduling, poor service stability, and low resource utilization.
It achieves global optimization of model capabilities, service latency, and resource efficiency, meeting the application requirements of the Internet of Vehicles for strong real-time performance and high reliability.
Smart Images

Figure CN123137883A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to a model scheduling method, apparatus, device, medium, and program product. Background Technology
[0002] With the rapid development of vehicle-to-everything (V2X) technology, artificial intelligence models are being used more and more widely in scenarios such as autonomous driving, vehicle-road cooperation, and smart cockpits.
[0003] Currently, connected vehicle AI models are mainly divided into two categories: large models and small models. Small models are deployed on edge nodes such as vehicle-mounted devices and roadside units (RSUs), offering advantages such as low latency and high reliability. Large models are deployed on nodes such as edge clouds and central clouds, offering advantages such as strong inference and high generalization. Specifically, connected vehicle AI models can select between large and small models based on task type or load balancing of computing network resources.
[0004] However, in practical applications, small models are limited by their own performance, have weak generalization capabilities, and are unable to cope with complex in-vehicle business tasks; large models consume a lot of computing power, have high end-to-end latency, and their operating status is easily affected by network fluctuations, resulting in insufficient stability. Therefore, based on the above model scheduling methods, it may be difficult to meet the demand for high generalization capabilities of complex businesses while ensuring low latency and high reliability, thus failing to meet the complex and dynamically changing operational requirements of intelligent connected vehicle services. Summary of the Invention
[0005] This application provides a model scheduling method, apparatus, device, medium, and program product to meet the application requirements of strong real-time performance and high reliability in vehicle networking.
[0006] In a first aspect, embodiments of this application provide a model scheduling method, the method comprising: receiving task request information, the task request information being used to request a vehicle terminal to execute a target task, the task request information including at least one of the following information of the target task: task type, latency requirement, data volume, and security level; determining a target model type based on the task request information and vehicle-related information; the vehicle-related information including real-time vehicle status information, environmental status information, and network status information, the target model type being adapted to the task type of the target task; determining a target model instance from model instances corresponding to the target model type based on the vehicle-related information and model instance status information; the model instance status information including deployment location information and status indicators of N model instances, the status indicators including availability status indicators, load status indicators, and available computing power indicators; and transmitting the task request information to the target model instance to instruct the target model instance to execute the target task.
[0007] The technical solution provided in this application brings at least the following beneficial effects: The model scheduling device can first determine the target model type based on task request information and vehicle-related information; then, by combining vehicle-related information and model instance status information, it can determine the final target model instance to be used from the model instances corresponding to the target model type. This enables intelligent selection of large and small models and collaborative scheduling of computing network resources to adapt to the high dynamic characteristics of vehicle-to-everything (V2X) networks. It solves the technical problems of model capability and resource scheduling being separated, poor service stability, and low resource utilization in related technologies. Ultimately, it can achieve global optimization of model capability, service latency, and resource efficiency, thus meeting the application requirements of V2X networks for strong real-time performance and high reliability.
[0008] One possible implementation is that the real-time vehicle status information includes at least one of the following: vehicle speed, vehicle position, direction of movement, environment in which the vehicle is located, and remaining onboard computing power; the environmental status information includes at least one of the following: roadside unit distribution, edge cloud load, and network coverage; and the network status information includes at least one of the following: link latency, bandwidth, and network jitter.
[0009] Another possible implementation is that the target model type includes a first model type and a second model type; the determination of the target model type based on task request information and vehicle-related information includes: determining the model type adapted to the target task as the first model type when the task request information meets a first condition; or determining the model type adapted to the target task as the second model type when the task request information meets a second condition; wherein the first condition includes at least one of the following: the task type is a real-time control type; the latency requirement is less than a preset threshold; the network jitter parameter of the vehicle terminal is greater than a preset network jitter parameter; the bandwidth of the vehicle terminal is less than a preset bandwidth; the security level is higher than a preset level; the environment in which the vehicle is located meets preset driving environment conditions; the second condition includes at least one of the following: the task type is any one of complex reasoning type, multimodal understanding type, or global decision type; the target task is a non-latency sensitive task, and the network jitter parameter of the vehicle terminal is less than or equal to the preset network jitter parameter, and the bandwidth of the vehicle terminal is greater than or equal to the preset bandwidth.
[0010] Another possible implementation method, which determines the target model type based on task request information and vehicle-related information, includes: when the target task includes multiple sub-tasks, determining the target model type corresponding to each sub-task based on vehicle-related information and information of each sub-task.
[0011] Another possible implementation method, which is to determine the target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information, includes: determining the target model instance from the model instances corresponding to the target model type according to preset resource decision rules based on vehicle-related information and model instance status information.
[0012] Another possible implementation is that the above-mentioned preset resource decision rules include at least one of the following: filtering model instances whose link latency is less than or equal to the latency requirement of the target task; filtering model instances whose load status index is less than a preset load threshold; combining vehicle-related information, including vehicle location and direction of movement, to filter model instances that will not leave their coverage area within a preset time period; and filtering model instances that are compatible with the security level of the target task.
[0013] Another possible implementation, the model scheduling method provided in this application embodiment further includes: real-time monitoring of network status information and model instance status information, and receiving abnormal notification information during the execution of the target task; when the network status information, model instance status information, and abnormal notification information meet preset abnormal conditions, generating a degradation instruction, which is used to instruct the target model instance executing the target task to switch to the smallest model instance with the least link latency and the lowest load status index among N model instances; wherein, the preset abnormal conditions include at least one of the following: vehicle terminal network interruption, target model instance failure, model instance decision error.
[0014] Secondly, embodiments of this application provide a model scheduling apparatus, comprising: a receiving module, a determining module, and a transmitting module; the receiving module is configured to receive task request information, which requests a vehicle terminal to execute a target task; the task request information includes at least one of the following information of the target task: task type, latency requirement, data volume, and security level; the determining module is configured to determine a target model type based on the task request information received by the receiving module and vehicle-related information; the vehicle-related information includes real-time vehicle status information, environmental status information, and network status information, and the target model type is adapted to the task type of the target task; the determining module is further configured to determine a target model instance from model instances corresponding to the target model type based on the vehicle-related information and model instance status information; the model instance status information includes deployment location information and status indicators of N model instances, including availability status indicators, load status indicators, and available computing power indicators; the transmitting module is configured to transmit the task request information to the target model instance to instruct the target model instance to execute the target task.
[0015] One possible implementation is that the real-time vehicle status information includes at least one of the following: vehicle speed, vehicle position, direction of movement, environment in which the vehicle is located, and remaining onboard computing power; the environmental status information includes at least one of the following: roadside unit distribution, edge cloud load, and network coverage; and the network status information includes at least one of the following: link latency, bandwidth, and network jitter.
[0016] Another possible implementation is that the target model type includes a first model type and a second model type; the determining module is specifically used to determine the model type adapted to the target task as the first model type when the task request information meets the first condition; or, when the task request information meets the second condition, determine the model type adapted to the target task as the second model type; wherein the first condition includes at least one of the following: the task type is a real-time control type; the latency requirement is less than a preset threshold; the network jitter parameter of the vehicle terminal is greater than a preset network jitter parameter; the bandwidth of the vehicle terminal is less than a preset bandwidth; the security level is higher than a preset level; the environment in which the vehicle is located meets preset driving environment conditions; the second condition includes at least one of the following: the task type is any one of complex reasoning type, multimodal understanding type, or global decision type; the target task is a non-latency sensitive task, and the network jitter parameter of the vehicle terminal is less than or equal to the preset network jitter parameter, and the bandwidth of the vehicle terminal is greater than or equal to the preset bandwidth.
[0017] Another possible implementation is that the aforementioned determining module is specifically used to determine the target model type corresponding to each subtask based on vehicle-related information and the information of each subtask when the target task includes multiple subtasks.
[0018] Another possible implementation is that the aforementioned determining module is specifically used to determine the target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information, according to preset resource decision rules.
[0019] Another possible implementation is that the above-mentioned preset resource decision rules include at least one of the following: filtering model instances whose link latency is less than or equal to the latency requirement of the target task; filtering model instances whose load status index is less than a preset load threshold; combining vehicle-related information, including vehicle location and direction of movement, to filter model instances that will not leave their coverage area within a preset time period; and filtering model instances that are compatible with the security level of the target task.
[0020] In another possible implementation, the model scheduling device provided in this application embodiment further includes: a generation module; the aforementioned receiving module is further configured to monitor network status information and model instance status information in real time, and receive abnormal notification information during the execution of the target task; the generation module is configured to generate a degradation instruction when the network status information, model instance status information, and abnormal notification information received by the receiving module meet preset abnormal conditions, the degradation instruction being configured to instruct the target model instance executing the target task to be switched to the smallest model instance among N model instances with the smallest link latency and the lowest load status index; wherein, the preset abnormal conditions include at least one of the following: vehicle terminal network interruption, target model instance failure, model instance decision error.
[0021] Thirdly, this application provides an electronic device comprising: a processor and a memory; the memory stores a program or instructions executable on the processor, wherein the program or instructions, when executed by the processor, implement the method of the first aspect described above.
[0022] Fourthly, this application provides a readable storage medium on which a program or instructions are stored, which, when executed by a computer, implement the method of the first aspect described above.
[0023] Fifthly, this application provides a computer program product stored in a storage medium, which, when executed by a computer, implements the method described in the first aspect.
[0024] In a sixth aspect, embodiments of this application provide a chip including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect.
[0025] The beneficial effects of the second to sixth aspects mentioned above are described in the corresponding description of the first aspect and will not be repeated here. Attached Figure Description
[0026] Figure 1 A schematic diagram of a network architecture for an application of a model scheduling method provided in this application embodiment;
[0027] Figure 2 A flowchart illustrating a model scheduling method provided in an embodiment of this application;
[0028] Figure 3 A flowchart illustrating another model scheduling method provided in an embodiment of this application;
[0029] Figure 4 A flowchart illustrating yet another model scheduling method provided in an embodiment of this application;
[0030] Figure 5 A flowchart illustrating yet another model scheduling method provided in an embodiment of this application;
[0031] Figure 6 A flowchart illustrating yet another model scheduling method provided in an embodiment of this application;
[0032] Figure 7 This is a schematic diagram of the structure of a model scheduling system provided in an embodiment of this application;
[0033] Figure 8 This is a schematic diagram of the structure of a model scheduling device provided in an embodiment of this application;
[0034] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0035] The model scheduling method, apparatus, equipment, medium, and program products provided in this application will now be described in detail with reference to the accompanying drawings.
[0036] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0037] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0038] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."
[0039] In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0040] The model scheduling method, apparatus, device, medium, and program product provided in this application embodiment can be applied to scenarios where the vehicle network AI model required for a vehicle terminal to perform a task is determined.
[0041] With the rapid development of vehicle-to-everything (V2X) technology, artificial intelligence (AI) models are increasingly being used in scenarios such as autonomous driving, vehicle-to-infrastructure (V2I) communication, and smart cockpits. Currently, V2X AI models are mainly divided into two categories: large models and small models. Small models are deployed on edge nodes such as in-vehicle terminals and roadside RSUs (Roadside Units), offering advantages such as low latency and high reliability. Large models are deployed on nodes such as edge clouds and central clouds, offering advantages such as strong inference and high generalization. Specifically, V2X AI models can select between large and small models based on task type or load balancing of computing network resources.
[0042] However, in practical applications, small models are limited by their own performance, have weak generalization ability, and are difficult to cope with complex vehicle business tasks; large models consume a lot of computing power, have high end-to-end latency, and their operating status is easily affected by network fluctuations, resulting in insufficient stability.
[0043] The application of AI models in vehicle-to-everything (V2X) technology has significant shortcomings:
[0044] On the one hand, model selection and computing network resource scheduling are disconnected. Either large or small models are selected only based on task type without considering the real-time status of computing network resources and the model deployment location, resulting in excessively high service latency or resource waste; or only load balancing scheduling of computing network resources is performed without adapting to model size and capability differences, which fails to meet the diverse needs of different businesses.
[0045] On the other hand, the relevant technologies are not fully adapted to the high dynamic characteristics of the Internet of Vehicles. Factors such as vehicle mobility, network link fluctuations, and changes in the distribution of roadside equipment can lead to poor continuity of model services and unstable latency, which cannot meet the hard constraints of strong real-time and high reliability of the Internet of Vehicles.
[0046] On the other hand, when multiple instances of the same model are deployed on multiple nodes of the vehicle network, there is a lack of an intelligent selection mechanism based on the real-time status of the computing network, which makes it impossible to achieve the optimal routing of model instances, further reducing the efficiency of model services and user experience.
[0047] Therefore, the scheduling method based on the above model may be difficult to meet the demand for high generalization capability of complex services while ensuring low latency and high reliability, thus making it difficult to meet the operation requirements of complex and dynamically changing intelligent vehicle network services.
[0048] To address the aforementioned technical problems, this application provides a model scheduling method, apparatus, device, medium, and program product. The model scheduling apparatus can first determine the target model type based on task request information and vehicle-related information; then, by combining vehicle-related information and model instance status information, it determines the final target model instance to be used from the model instances corresponding to the target model type. This enables intelligent selection of large and small models and collaborative scheduling of computing network resources to adapt to the highly dynamic characteristics of vehicle-to-everything (V2X) networks. It solves the technical problems of model capability and resource scheduling being disconnected, poor service stability, and low resource utilization in related technologies. Ultimately, it can achieve global optimization of model capability, service latency, and resource efficiency, thus meeting the application requirements of V2X networks for strong real-time performance and high reliability.
[0049] The model scheduling method, apparatus, device, medium, and program product provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0050] Figure 1 This illustration shows a network architecture for an application of a model scheduling method provided in an embodiment of this application. For example... Figure 1 As shown, the network architecture includes a model scheduling device 101 and a terminal device 102. The model scheduling device 101 and the terminal device 102 are interconnected.
[0051] In some embodiments, the model scheduling device 101 may be a server, a computer, or a processor or processing unit within a server or computer. The server may be a single server or a server cluster consisting of multiple servers. It should be noted that the specific device form of the model scheduling device 101 is not limited in the embodiments of this application. Figure 1 The model scheduling device 101 is used as an example of a single server.
[0052] In some embodiments, the terminal device may be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, personal computer (PC), ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc., and the embodiments of this application do not specifically limit it. Figure 1 The example shown is a vehicle-mounted electronic device, with terminal device 102 as an example.
[0053] In some embodiments, when the terminal device 102 needs to execute a target task, the terminal device 102 can send task request information to the model scheduling device 101. This task request information may include at least one of the following information about the target task: task type, latency requirement, data volume, and security level. Then, upon receiving the task request information, the model scheduling device 101 can determine the target model type based on the task request information and vehicle-related information corresponding to the terminal device 102. This vehicle-related information includes real-time vehicle status information, environmental status information, and network status information, and the target model type is compatible with the task type of the target task. Further, the model scheduling device 101 can determine the target model instance from the model instances corresponding to the target model type based on the vehicle-related information and model instance status information. This model instance status information includes the deployment location information and status indicators of N model instances, including availability status indicators, load status indicators, and available computing power indicators. Thus, the model scheduling device 101 can transmit the task request information to the target model instance to instruct the target model instance to execute the target task.
[0054] It should be noted that the network architecture described in the embodiments of this application is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided in the embodiments of this application. As network architectures evolve, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0055] See Figure 2 This is a flowchart illustrating a model scheduling method provided in an embodiment of this application. Figure 2 As shown, the model scheduling method provided in this application embodiment can be implemented by the above-mentioned model scheduling device, specifically including the following steps 201 to 204.
[0056] Step 201: The model scheduling device receives the task request information.
[0057] In some embodiments, the model scheduling device can receive task request information initiated by the vehicle terminal through the data acquisition module.
[0058] In some embodiments, the task request information described above can be used to request the vehicle terminal to perform a target task.
[0059] In some embodiments, the task request information may include at least one of the following information about the target task: task type, latency requirement, data volume, and security level.
[0060] Step 202: The model scheduling device determines the target model type based on the task request information and vehicle-related information.
[0061] In some embodiments, the aforementioned vehicle-related information may include real-time vehicle status information, environmental status information, and network status information.
[0062] In some embodiments, the model scheduling device can collect real-time vehicle status information at a certain frequency using on-board sensors (the collection frequency is determined according to the specific vehicle networking scenario).
[0063] In some embodiments, the real-time vehicle status information may include, but is not limited to, at least one of the following: vehicle speed, vehicle position, direction of movement, environment in which the vehicle is located, and remaining onboard computing power.
[0064] In some embodiments, the environment in which the vehicle is located may include, but is not limited to, any of the following: highway, urban area.
[0065] In some embodiments, the model scheduling device can collect environmental status information at a certain frequency through roadside acquisition devices (the acquisition frequency is determined according to the specific vehicle-to-everything (V2X) scenario).
[0066] In some embodiments, the aforementioned environmental status information may include, but is not limited to, at least one of the following: roadside unit distribution, edge cloud load, and network coverage.
[0067] In some embodiments, the model scheduling device can collect network status information at a certain frequency through the network status monitoring unit (the collection frequency is determined according to the specific vehicle networking scenario).
[0068] In some embodiments, the network status information may include, but is not limited to, at least one of the following: link latency, bandwidth, and network jitter.
[0069] In some embodiments, when the model scheduling device collects the aforementioned vehicle-related information, the model scheduling device can transmit the vehicle-related information to the data acquisition module for storage.
[0070] In some embodiments, the model scheduling device can use the data acquisition module to uniformly organize all the collected data and transmit it in real time to the decision module (business orchestration decision module and / or resource orchestration decision module) to provide complete and real-time data support for subsequent two-level decision-making and ensure the accuracy of the decision.
[0071] In some embodiments, the model scheduling device can receive all data transmitted by the data acquisition module through the business orchestration unit of the decision module in order to extract key decision factors.
[0072] In some embodiments, the aforementioned key decision factors may include, but are not limited to, at least one of the following: task type (covering task functions), latency requirements, network quality, security level, and various environmental conditions.
[0073] In some embodiments, the model scheduling device can determine the target model type based on task request information and vehicle-related information through the service orchestration decision module.
[0074] In some embodiments, the orchestration strategy of the business orchestration decision module can be a preset business decision rule or a customized algorithm.
[0075] In some embodiments, the service orchestration decision module can select appropriate decision rules or pre-built algorithms to make judgments based on input parameters such as task type, latency requirements, network quality, and security level, so as to select the appropriate model type.
[0076] In some embodiments, the target model type described above is adapted to the task type of the target task.
[0077] In some embodiments, the target model type described above may correspond to at least one model instance.
[0078] In some embodiments, the target model type may include a first model type and a second model type. (Combined) Figure 2 ,like Figure 3 As shown, step 202 above can be implemented through step 202a or step 202b below.
[0079] Step 202a: If the task request information meets the first condition, the model scheduling device determines the model type that is compatible with the target task as the first model type.
[0080] In some embodiments, the first model type described above may be a small model type.
[0081] In some embodiments, the first condition may include, but is not limited to, at least one of the following: the task type is real-time control; the latency requirement is less than a preset threshold; the network jitter parameter of the vehicle terminal is greater than a preset network jitter parameter; the bandwidth of the vehicle terminal is less than a preset bandwidth; the security level is higher than a preset level; and the environment in which the vehicle is located meets preset driving environment conditions.
[0082] In some embodiments, the tasks of the above-described real-time control type may include, but are not limited to, at least one of the following: vehicle braking, lane keeping, and close-range collision avoidance.
[0083] In some embodiments, the network jitter parameter of the vehicle terminal being greater than the preset network jitter parameter, and the bandwidth of the vehicle terminal being less than the preset bandwidth, can both be used to indicate poor network quality.
[0084] For example, network jitter > 10ms and bandwidth < 10Mbps.
[0085] In some embodiments, the security level is high when the target task is processed locally in a closed loop, such as when privacy data does not leave the domain.
[0086] In some embodiments, the aforementioned preset driving environment conditions may include, but are not limited to, highways with few vehicles.
[0087] Understandably, if the task request information meets the first condition, the target model type determined by the model scheduling device can be a small model that is adapted to the task type of the target task.
[0088] For example, when the target task is lane keeping, the target model type determined by the model scheduling device can be: a small model with lane keeping function.
[0089] Step 202b: If the task request information meets the second condition, the model scheduling device determines the model type that is compatible with the target task as the second model type.
[0090] In some embodiments, the second model type described above can be a large model type.
[0091] In some embodiments, the second condition may include, but is not limited to, at least one of the following: the task type is any one of complex reasoning, multimodal understanding, or global decision-making; the target task is a non-latency-sensitive task; the network jitter parameter of the vehicle terminal is less than or equal to a preset network jitter parameter; and the bandwidth of the vehicle terminal is greater than or equal to a preset bandwidth.
[0092] In some embodiments, the aforementioned complex reasoning type of task may include, but is not limited to, at least one of the following: driving intent recognition, global path planning, and vehicle anomaly diagnosis.
[0093] In some embodiments, the latency of the non-latency-sensitive task may be greater than a preset latency threshold, such as 20ms.
[0094] In some embodiments, the network jitter parameter of the vehicle terminal being less than or equal to a preset network jitter parameter, and the bandwidth of the vehicle terminal being greater than or equal to a preset bandwidth, can be used to indicate good network quality.
[0095] For example, network jitter ≤10ms and bandwidth ≥10Mbps.
[0096] It is understandable that, if the task request information meets the second condition, the target model type determined by the model scheduling device can be a large model that is compatible with the task type of the target task.
[0097] For example, when the target task is path planning, the target model type determined by the model scheduling device can be: a large model with path planning function.
[0098] In this way, the model scheduling device can select appropriate decision rules or pre-made algorithms to make judgments based on task request information, so as to select the appropriate model type. This ensures that the model type is compatible with business requirements and environmental conditions, balances business capabilities and latency, and enables the model instance finally determined in subsequent steps to meet the application requirements of strong real-time and high reliability of the Internet of Vehicles.
[0099] In some embodiments, combined with Figure 2 ,like Figure 4 As shown, step 202 above can be specifically implemented through step 301 below.
[0100] Step 301: When the target task includes multiple sub-tasks, the module scheduling device determines the target model type corresponding to each sub-task based on vehicle-related information and the information of each sub-task.
[0101] Understandably, the model scheduling device can analyze the task function corresponding to the received task request information, break it down into multiple execution steps (subtasks), and judge each of these multiple execution steps according to preset business decision rules or algorithms, all data transmitted by the data acquisition module, and the specific functions required after the task is broken down, so as to select the appropriate model type.
[0102] In this way, the model scheduling device can select the appropriate model type for different tasks to ensure that the model type is compatible with business requirements and environmental conditions, balance business capabilities and latency, and thus enable the model instance finally determined in subsequent steps to meet the application requirements of strong real-time and high reliability of the Internet of Vehicles.
[0103] In some embodiments, the business orchestration decision module may output a model type selection instruction (explicitly marked "select large model", "select small model", or "select large / small model with function A") and transmit it to the resource orchestration decision module.
[0104] In some embodiments, the business orchestration decision module can accept feedback optimization data to fine-tune the preset rules or algorithms.
[0105] Step 203: The model scheduling device determines the target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information.
[0106] In some embodiments, the model scheduling device can determine the target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information through the resource orchestration decision module.
[0107] Understandably, the resource orchestration decision module can receive model type selection instructions from the business orchestration unit, and at the same time extract real-time status information of computing network resources and vehicle movement trajectories transmitted by the data acquisition module.
[0108] In some embodiments, the model scheduling device can collect model instance status information of each model instance through the model instance status monitoring unit.
[0109] In some embodiments, the above model instance status information may include the deployment location information and status indicators of N model instances.
[0110] In some embodiments, the above status indicators may include availability status indicators, load status indicators, and available computing power indicators.
[0111] It should be noted that the specific indicators and the services they relate to can be determined based on different scenarios in actual applications, and this application does not limit them here.
[0112] In some embodiments, the resource orchestration decision module can filter out all deployment instances of the currently selected model type (target model type).
[0113] For example, if the target model type is a small model type that is compatible with the target task, the resource orchestration decision module can filter out all small model instances that are compatible with the target task on the vehicle-mounted remote communication terminal (i.e., vehicle-mounted T-Box, Telematics BOX), roadside RSU, and mobile edge computing (i.e., edge MEC, Multi-access Edge Computing). All the small model instances obtained by the filtering have the function of performing the task type of the target task.
[0114] In some embodiments, combined with Figure 2 ,like Figure 5 As shown, step 203 above can be implemented through step 203a below.
[0115] Step 203a: Based on vehicle-related information and model instance status information, the model scheduling device determines the target model instance from the model instances corresponding to the target model type according to the preset resource decision rules.
[0116] In some embodiments, the aforementioned preset resource decision rules may include, but are not limited to, at least one of the following:
[0117] Filter model instances whose link latency is less than or equal to the latency requirement of the target task;
[0118] Filter model instances whose load status indicators are less than a preset load threshold;
[0119] By combining vehicle-related information, including vehicle location and direction of movement, model instances that will not leave their coverage area within a preset time period are selected.
[0120] Select model instances that match the security level of the target task.
[0121] In some embodiments, the preset resource decision rules may include preset rule priorities, that is, the model scheduling device needs to select model instances in sequence according to the rule priorities.
[0122] For example, the first priority is: minimum link latency (ensuring low latency), selecting instances whose link latency is ≤ business latency requirements; the second priority is: minimum load (avoiding instance overload), selecting instances with a load <60% from those that meet latency requirements; the third priority is: adapting to vehicle movement trajectory (avoiding frequent switching), selecting instances whose vehicles will not leave their coverage area for a certain period of time based on vehicle location and direction of movement; the fourth priority is: security level adaptation (ensuring security), prioritizing instances with vehicle-mounted or roadside RSU deployments if the business security level is high.
[0123] In this way, the model scheduling device can determine the final target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information. This solves the problem of "which instance to choose after selecting a model," ensuring that instance selection is adapted to the real-time status of computing network resources and vehicle movement characteristics, thus guaranteeing service continuity and reliability. This enables intelligent selection of models of different sizes and collaborative scheduling of computing network resources to adapt to the highly dynamic characteristics of vehicle-to-everything (V2X) networks, solving the technical problems of disconnect between model capabilities and resource scheduling, poor service stability, and low resource utilization in related technologies.
[0124] In some embodiments, the resource orchestration decision module may output instance selection instructions (clearly indicating the deployment location of the selected instance) to be transmitted to the business execution module.
[0125] For example, the above instance selection command can be: "Vehicle T-Box small model instance" or "Edge MEC large model instance".
[0126] In some embodiments, the resource orchestration decision module may accept feedback optimization data to fine-tune preset rules or algorithms.
[0127] Step 204: The model scheduling device transmits the task request information to the target model instance to instruct the target model instance to execute the target task.
[0128] In some embodiments, the model scheduling device can receive instance selection instructions from the resource orchestration unit through the service execution module, so as to route the task request information initiated by the vehicle terminal to the selected target model instance through the vehicle network link, thereby enabling the target model instance to execute the target task.
[0129] In some embodiments, the above-mentioned objective task may include, but is not limited to, at least one of the following: a small model processes lane keeping control commands, and a large model processes global path planning.
[0130] In some embodiments, after the target model instance completes the target task, the target model instance can return the processing result to the business execution module. Simultaneously, the business execution module can collect the execution data of this business operation, and based on the processing result, categorize it into "normal feedback" and "abnormal feedback," and synchronously transmit this data to the feedback optimization module, as well as feed the business processing result back to the vehicle terminal. Specifically:
[0131] (1) Normal feedback (appropriate model / instance selection, normal business execution):
[0132] Core business results: The final output of the model instance after executing the business (fitting the Internet of Vehicles scenario), such as lane keeping control commands (steering angle, vehicle speed adjustment parameters), global path planning results (optimal path coordinates, travel time), and marked with "execution successful";
[0133] Execution performance data: execution latency (total time from request routing to result return), execution success rate (the proportion of business processing results that meet expectations), and resource usage data (computing power and bandwidth used by model instances).
[0134] (2) Anomaly Feedback (Inappropriate Model / Instance Selection, Business Execution Anomaly):
[0135] Abnormal business results: marked as "business processing failed", "result invalid" or "execution not up to standard", such as the small model being unable to output the global path (marked as "insufficient reasoning ability") or the instance latency exceeding the standard (marked as "execution latency 55ms, exceeding the preset threshold of 30ms").
[0136] Anomaly cause identification: clearly points to "inappropriate selection", which is divided into two categories: ① inappropriate model selection (such as "small model has insufficient generalization ability and cannot handle complex inference tasks" or "large model has excessive latency and cannot meet strong real-time requirements"); ② inappropriate instance selection (such as "selected instance link latency is too high" or "selected instance is overloaded" or "selected instance coverage is not suitable and the vehicle leaves the signal area").
[0137] Abnormal related data: actual execution data (actual latency, actual instance load, network jitter) and preset standard data (preset latency threshold, preset load threshold), which facilitates comparison and judgment of the degree of "inappropriateness".
[0138] In some embodiments, the model scheduling device can receive execution data and feedback information through the feedback optimization module, first determine the feedback type (normal feedback / abnormal feedback), and then determine whether the model / instance selection is appropriate.
[0139] In some embodiments, if the feedback is normal (the model / instance selection is appropriate, and the execution data meets the requirements), such as when the execution data judgment criteria are: execution latency ≤ 30ms and success rate ≥ 99%, and resource usage is within the preset range, there is no need to adjust the decision rules. The feedback optimization module can output a "no optimization required" instruction, record the normal execution data for this instance, and continue to collect data for the next round and execute the next round of decisions.
[0140] In some embodiments, if the feedback is an anomaly (inappropriate model / instance selection, execution data not meeting requirements), the feedback optimization module can extract the anomaly cause identifier and actual execution data, compare them with preset standards, confirm the type of inappropriate selection (incorrect model selection / incorrect instance selection), and mark the severity (minor: latency slightly exceeds the standard; severe: business failure). Based on the type of inappropriate selection, a strategy optimization instruction is sent to the decision-making module to adjust the decision rules in real time.
[0141] For example, in the event of an incorrect model selection (such as using a small model to handle complex tasks or a large model to handle highly real-time tasks), the feedback optimization module can generate an instruction to "preferably select the appropriate model type for subsequent similar business operations" and simultaneously adjust the weights of the business orchestration rules (such as increasing the weights of "business complexity" and "latency requirements").
[0142] In the event of an incorrect instance selection (such as excessive latency, overload, or incompatible coverage), the feedback optimization module can generate an instruction to "adjust the selection priority when selecting instances of this model in the future" and perform operations such as increasing the priority of "link latency" and "instance load" and increasing the weight of "vehicle movement trajectory prediction".
[0143] In some embodiments, after the decision module receives the instruction, it can immediately update the business orchestration rules and resource orchestration rules to ensure that the next business request can select the appropriate model and instance.
[0144] In some embodiments, the feedback optimization module can record the anomaly information and adjustment measures, and compare the execution data before and after each subsequent business execution.
[0145] In some embodiments, if the adjusted decision rules meet the preset criteria, the feedback optimization module can fix the adjusted decision rules; if they still do not meet the criteria, the feedback optimization module can repeat this step to continue fine-tuning the weights until the scenario is adapted.
[0146] In this way, the model scheduling device can achieve adaptive optimization of the strategy through the feedback optimization module, so as to quickly adjust the decision rules for the problem of inappropriate model / instance selection, adapt to the high dynamic characteristics of vehicle movement and network fluctuations in the Internet of Vehicles, continuously improve the quality of business execution, and avoid similar errors in the future.
[0147] In some embodiments, if the target business execution is abnormal (the model / instance selection is seriously inappropriate, causing the business to be unable to proceed normally), the business execution module can synchronously send an abnormal notification to the disaster recovery module to trigger the disaster recovery process.
[0148] Understandably, the aforementioned business execution module can complete the actual execution of the business and the transmission of results. At the same time, it can transmit key data on the "reasonableness of model / instance selection" to the feedback optimization module through result feedback, providing support for subsequent optimization and adjustment. Furthermore, it can trigger disaster recovery backup in the event of an anomaly, ensuring business continuity.
[0149] In the model scheduling method provided in this application, the model scheduling device can first determine the target model type based on task request information and vehicle-related information; then, by combining vehicle-related information and model instance status information, it can determine the final target model instance to be used from the model instances corresponding to the target model type. This enables intelligent selection of large and small models and collaborative scheduling of computing network resources to adapt to the high dynamic characteristics of vehicle-to-everything (V2X) networks. It solves the technical problems of model capability and resource scheduling being disconnected, poor service stability, and low resource utilization in related technologies. Ultimately, it can achieve global optimization of model capability, service latency, and resource efficiency, thus meeting the application requirements of V2X networks for strong real-time performance and high reliability.
[0150] In some embodiments, combined with Figure 2 ,like Figure 6 As shown, after step 204 above, the model scheduling method provided in this application embodiment may further include the following steps 401 and 402.
[0151] Step 401: The model scheduling device monitors network status information and model instance status information in real time, and receives abnormal notification information during the execution of the target task.
[0152] In some embodiments, the model scheduling device can monitor the network status and model instance status in real time through the disaster recovery module, and at the same time receive the "business anomaly / selection seriously inappropriate" notification sent by the business execution module.
[0153] Step 402: If the network status information, model instance status information, and anomaly notification information meet the preset anomaly conditions, the model scheduling device generates a downgrade instruction.
[0154] In some embodiments, the aforementioned preset abnormal conditions may include, but are not limited to, at least one of the following: vehicle terminal network interruption, target model instance failure, or model instance decision error.
[0155] For example, the aforementioned preset abnormal conditions may include, but are not limited to, at least one of the following:
[0156] ① Network interruption (e.g., link latency > 100ms or no network connection);
[0157] ② Model instance failure (e.g., load = 100% or no response);
[0158] ③ The model / instance selection is seriously inappropriate, which causes the business to fail to perform normally (such as the wrong model selection and no suitable model, or all instances being overloaded).
[0159] In some embodiments, the aforementioned degradation instruction can be used to instruct the target model instance performing the target task to be switched to the smallest model instance among N model instances, which has the lowest link latency and the lowest load status index.
[0160] For example, the above-mentioned small model instances can preferentially select vehicle-mounted and roadside RSU instances to ensure local closed loop.
[0161] In some embodiments, the disaster recovery module can notify the business execution module to switch the current business request to the selected small model instance and perform the business degradation processing to ensure the normal execution of basic business functions (such as global path planning degradation to guide the basic path).
[0162] In some embodiments, the business execution module can feed back the downgraded execution results and execution data to the feedback optimization module, so that the feedback optimization module can further adjust the decision rules (such as adding small model capability adaptation judgment and adding instance redundancy detection) to avoid the recurrence of the same anomaly.
[0163] In some embodiments, when the network returns to normal, the model instance returns to normal, or the decision rules are adjusted, the disaster recovery module can trigger a recovery command to instruct the service execution module to restore the service execution to the model and instance selected in the original decision.
[0164] In this way, the model scheduling device can use degradation instructions to switch the target model instance that performs the target task to the smallest model instance with the lowest link latency and the lowest load status index among N model instances. This avoids service interruption due to network interruption, instance failure, or seriously inappropriate model / instance selection, thereby improving the reliability and redundancy of the system and ensuring the stable operation of vehicle networking services.
[0165] Figure 7 This is a schematic diagram of the structure of a model scheduling system provided in an embodiment of this application. Figure 7 As shown, the model scheduling system 800 may include: a data acquisition module 801, a service orchestration decision module 802, a resource orchestration decision module 803, a service execution module 804, a feedback optimization module 805, and a disaster recovery module 806.
[0166] The model scheduling method of this application will be described below through specific embodiments.
[0167] S1, Data Acquisition Module 801: Contains 4 acquisition units (vehicle-mounted sensor, roadside acquisition device, network status monitoring unit, and model instance status monitoring unit), which are respectively connected to the vehicle terminal, roadside RSU, edge cloud, regional cloud, and central cloud, for collecting various types of real-time data.
[0168] Specifically, the functions of the data acquisition module 801 may include:
[0169] 1. The vehicle sensor is activated and collects real-time vehicle status information at a certain frequency (the collection frequency is determined according to the specific vehicle networking scenario), including vehicle speed, position, direction of movement, the environment in which the vehicle is located, such as whether it is a highway or a city, and the remaining vehicle computing power, etc. After collection, the data is transmitted to the data acquisition module 801.
[0170] 2. The roadside data acquisition device starts up and collects environmental status information at a certain frequency (the collection frequency is determined according to the specific vehicle networking scenario), including roadside RSU distribution, edge cloud load, network coverage, etc. After collection, it is transmitted to the data acquisition module 801.
[0171] 3. The network status monitoring unit starts and collects network status information at a certain frequency (the collection frequency is determined according to the specific vehicle networking scenario), including link latency, bandwidth, network jitter and other information, and transmits the collected information to the data acquisition module 801.
[0172] 4. The model instance status monitoring unit starts up and collects data indicators such as deployment location, availability status, load status, and available computing power of each model instance. The specific indicators are related to the type of service and need to be determined according to different scenarios. After collection, the data is transmitted to the data acquisition module 801.
[0173] 5. The data acquisition module 801 receives task request information initiated by the vehicle terminal, including data such as task type, latency requirements, data volume, and security level;
[0174] 6. The data acquisition module 801 organizes all the collected data and transmits it to the decision-making module in real time.
[0175] In this way, the data acquisition module 801 can provide complete and real-time data support for subsequent two-level decision-making, ensuring the accuracy of the decision.
[0176] S2, Business Orchestration Decision Module 802: It is bidirectionally connected to the data acquisition module 801, receives the acquired data, outputs model selection instructions based on the acquired data as input according to preset rules or algorithms, and receives feedback optimization data to fine-tune the preset rules or algorithms.
[0177] The business orchestration decision module can receive all data transmitted by the data acquisition module 801 to extract key decision factors, such as task type (covering task functions), latency requirements, network quality, security level, and various environmental conditions.
[0178] Specifically, the functions of the business orchestration decision module 802 may include:
[0179] 1. Pre-configured rules or algorithms: The orchestration strategy of the service orchestration decision module 802 can be a preset service decision rule, or it can be determined by a customized algorithm based on input parameters such as task type, latency requirements, network quality, and security level, selecting a suitable decision rule or pre-configured algorithm to choose the appropriate model type. This patent provides some specific rules for reference, which should include but are not limited to the following rules. The specific values in these rules vary depending on the scenario.
[0180] a. If any of the following conditions are met, select the smaller model:
[0181] (1) The task type is a strong real-time control type (such as vehicle braking, lane keeping, close-range collision avoidance);
[0182] (2) The latency requirement is less than a certain threshold;
[0183] (3) Poor network quality (e.g., network jitter > 10ms or bandwidth < 10Mbps);
[0184] (4) High security level (requires local closed-loop processing, such as privacy data not leaving the domain);
[0185] (5) Good driving environment, such as on a highway with few vehicles;
[0186] b. If any of the following conditions are met, select the larger model:
[0187] (1) The task type is complex reasoning (such as driving intention recognition, global path planning, vehicle anomaly diagnosis, and some scenarios can be preset).
[0188] (2) The task type is either multimodal understanding or global decision-making;
[0189] (3) Non-latency sensitive individuals, such as those with a latency greater than 20ms and good network quality (e.g., network jitter ≤ 10ms and bandwidth ≥ 10Mbps).
[0190] 2. Analyze the task functions, break them down into multiple execution steps, and make judgments based on the preset business decision rules or algorithms, all data transmitted by the data acquisition module 801, and the specific functions required after the task is broken down, and select the appropriate model type.
[0191] 3. The business orchestration decision module outputs a model type selection instruction (clearly marked "select large model", "select small model", or "select large / small model with function A"), which is transmitted to the resource orchestration decision module.
[0192] 4. Accept feedback and optimize data to fine-tune the preset rules or algorithms.
[0193] Understandably, the core of the strategy formulation in the business orchestration decision module 802 is to ensure that the model type is compatible with business needs and environmental conditions, and to balance business capabilities and latency.
[0194] S3, Resource Orchestration Decision Module 803: It is bidirectionally connected to the data acquisition module 801, receives the acquired data, and outputs model instance selection instructions based on the acquired data and the selected model, according to the preset rules or algorithms. It also receives feedback optimization data and optimizes the preset rules or algorithms.
[0195] Specifically, the functions of the resource orchestration decision module 803 may include:
[0196] 1. Receive the model type selection instruction from the service orchestration decision module, and simultaneously extract the real-time status information of computing network resources and vehicle movement trajectory transmitted by the data acquisition module 801.
[0197] 2. Filter out all deployment instances of the currently selected model type (e.g., if small model is selected, filter out all small model instances on vehicle T-Box, roadside RSU, and edge MEC).
[0198] 3. According to preset resource decision rules or customized scheduling algorithms, the instance with the optimal location is selected from the filtered instances. This patent provides some rules, which vary depending on the scenario:
[0199] a. First priority: Minimum link latency (ensure low latency), filter out instances with link latency ≤ service latency requirements;
[0200] b. Second priority: Lowest load condition (avoid instance overload), among instances that meet latency requirements, such as filtering out instances with a load of <60%;
[0201] c. Third priority: Adapt to vehicle movement trajectory (avoid frequent switching), combine vehicle location and movement direction to filter out instances where the vehicle will not leave its coverage area for a certain period of time in the future;
[0202] d. Fourth priority: Security level adaptation (ensure security). If the business security level is high, prioritize instances deployed on the vehicle-mounted terminal and roadside RSU.
[0203] 4. The resource orchestration decision module outputs an instance selection instruction (clearly indicating the deployment location of the selected instance, such as "vehicle-mounted T-Box small model instance" or "edge MEC large model instance"), which is then transmitted to the business execution module 804.
[0204] 5. Provide feedback and optimization data to fine-tune the preset rules or algorithms.
[0205] Understandably, the resource orchestration decision module 803 can solve the problem of "which location instance to select after selecting a model" to ensure that the instance selection is adapted to the real-time status of computing network resources and vehicle movement characteristics, thereby ensuring service continuity and reliability.
[0206] S4, Business Execution Module 804: One end connects to the decision module to receive model selection and instance selection instructions, and the other end connects to each model deployment node (vehicle T-Box, roadside RSU, edge MEC, regional cloud, central cloud), responsible for routing business requests and providing result feedback.
[0207] Feedback can be divided into two categories: "normal feedback" and "abnormal feedback." The core function is to transmit key information regarding "business execution effectiveness" and "the rationality of model / instance selection" to the feedback optimization module 805 and the decision-making module. This optimizes decisions and processes and executes business operations.
[0208] Specifically, the functions of the business execution module 804 may include:
[0209] 1. Receive the instance selection instruction from the resource orchestration decision module and route the service request initiated by the vehicle to the selected model instance through the vehicle network link.
[0210] 2. The selected model instance receives business requests and executes business processing (such as small models processing lane keeping control commands, and large models processing global path planning).
[0211] 3. After the model instance is processed, the processing result is returned to the business execution module 804. At the same time, the business execution module 804 collects the execution data of this business and, based on the processing result, classifies it into two categories: "normal feedback" and "abnormal feedback". The data is then transmitted synchronously to the feedback optimization module 805, and the business processing result is fed back to the vehicle terminal.
[0212] (1) Normal feedback (appropriate model / instance selection, normal business execution):
[0213] Core business results: The final output of the model instance after executing the business (fitting the Internet of Vehicles scenario), such as lane keeping control commands (steering angle, vehicle speed adjustment parameters), global path planning results (optimal path coordinates, travel time), and marked with "execution successful";
[0214] Execution performance data: execution latency (total time from request routing to result return), execution success rate (the proportion of business processing results that meet expectations), and resource usage data (computing power and bandwidth used by model instances).
[0215] (2) Anomaly Feedback (Inappropriate Model / Instance Selection, Business Execution Anomaly):
[0216] Abnormal business results: marked as "business processing failed", "result invalid" or "execution not up to standard", such as the small model being unable to output the global path (marked as "insufficient reasoning ability") or the instance latency exceeding the standard (marked as "execution latency 55ms, exceeding the preset threshold of 30ms").
[0217] Anomaly cause indicators: clearly pointing to "inappropriate selection", divided into two categories:
[0218] ① Inappropriate model selection (e.g., "small models have insufficient generalization ability and cannot handle complex inference tasks" or "large models have excessive latency and cannot meet strong real-time requirements").
[0219] ② Inappropriate instance selection (e.g., "the selected instance has too high link latency", "the selected instance is overloaded", "the selected instance does not cover the correct area, and the vehicle leaves the signal zone").
[0220] Abnormal related data: actual execution data (actual latency, actual instance load, network jitter) and preset standard data (preset latency threshold, preset load threshold), which facilitates comparison and judgment of the degree of "inappropriateness".
[0221] 4. If the business execution is abnormal (the model / instance selection is seriously inappropriate, causing the business to be unable to proceed normally), the business execution module 804 will send an abnormal notification to the disaster recovery module 806 simultaneously, triggering the disaster recovery process.
[0222] Understandably, the business execution module 804 can complete the actual execution of the business and the transmission of results. At the same time, it can transmit key data on the "reasonableness of model / instance selection" to the feedback optimization module 805 through result feedback, providing support for subsequent optimization and adjustment; in case of anomalies, it can simultaneously trigger disaster recovery backup to ensure business continuity.
[0223] S5, Feedback Optimization Module 805
[0224] Specifically, the functions of the feedback optimization module 805 may include:
[0225] 1. Receive execution data and feedback information, first determine the feedback type (normal feedback / abnormal feedback), and then determine whether the model / instance selection is appropriate.
[0226] 2. If the feedback is normal (the model / instance selection is appropriate, and the execution data meets the requirements):
[0227] Execution data judgment criteria: execution latency ≤30ms and success rate ≥99%, resource usage within the preset range;
[0228] Operation: No decision-making rules need to be adjusted. The feedback optimization module 805 outputs the "No optimization required" instruction, records the normal execution data for this time, and returns to S1 above. The data acquisition module 801 then continues to collect data for the next round and executes the next round of decision-making.
[0229] 3. If the feedback is abnormal (inappropriate model / instance selection, execution data does not meet requirements):
[0230] (1) Anomaly identification: Extract the anomaly cause identifier and actual execution data, compare with the preset standard, confirm the inappropriate selection type (model selection error / instance selection error), and mark the severity (minor: latency slightly exceeds the standard; severe: business failure).
[0231] (2) Real-time adjustment: Based on the inappropriate selection of type, send a strategy optimization instruction to the decision module to adjust the decision rules:
[0232] ① Incorrect model selection (e.g., using a small model to handle complex tasks or a large model to handle highly real-time tasks): Instruction "For subsequent similar business, prioritize the appropriate model type", and adjust the weight of business orchestration rules (e.g., increase the weight of "business complexity" and "latency requirements").
[0233] ② Incorrect instance selection (e.g., excessive latency, overload, or incompatible coverage): The instruction "Adjust the selection priority when selecting instances of this model in the future" (e.g., increase the priority of "link latency" and "instance load", and increase the weight of "vehicle movement trajectory prediction").
[0234] (3) After receiving the instruction, the decision module immediately updates the business orchestration rules and resource orchestration rules to ensure that the next business request can select the appropriate model and instance.
[0235] (4) Closed-loop optimization: Record the abnormal information and adjustment measures. After each subsequent business execution, compare the execution data before and after the adjustment. If the adjustment meets the preset standard, fix the adjusted decision rule; if it still does not meet the standard, repeat this step and continue to fine-tune the weight until it is suitable for the scenario.
[0236] 4. After the adjustment is completed, receive execution data and feedback information again to execute the next round of decision-making.
[0237] Understandably, the feedback optimization module 805 can achieve adaptive optimization of the strategy to quickly adjust the decision rules for problems such as inappropriate model / instance selection, adapt to the high dynamic characteristics of vehicle movement and network fluctuations in the Internet of Vehicles, continuously improve the quality of business execution, and avoid similar errors in the future.
[0238] S6, Disaster Recovery Module 806: Monitors network and instance status, and triggers service degradation commands when anomalies occur.
[0239] Specifically, the functions of the disaster recovery module 806 may include:
[0240] 1. Monitor network status and model instance status in real time, and receive "Business anomaly / selection seriously inappropriate" notifications sent by the business execution module 804;
[0241] 2. Triggering conditions:
[0242] ① Network interruption (e.g., link latency > 100ms or no network connection);
[0243] ② Model instance failure (e.g., load = 100% or no response);
[0244] ③ The model / instance selection is seriously inappropriate, causing the business to fail to perform normally (such as the wrong model selection and no suitable model, or all instances being overloaded).
[0245] 3. Disaster recovery: The disaster recovery module 806 triggers a degradation instruction to select the instance with the lowest link latency and lowest load from the currently available small model instances (prioritizing vehicle-mounted and roadside RSU instances to ensure local closed loop).
[0246] 4. The disaster recovery module 806 notifies the business execution module 804 to switch the current business request to the selected small model instance, perform the business degradation processing, and ensure the normal execution of basic business functions (such as global path planning degradation to basic path guidance).
[0247] 5. The business execution module 804 feeds back the downgraded execution results and execution data to the feedback optimization module 805. The feedback optimization module 805 further adjusts the decision rules (such as adding small model capability adaptation judgment and adding instance redundancy detection) to avoid the recurrence of the same anomaly.
[0248] 6. When the network returns to normal, the model instance returns to normal, or the decision rules are adjusted, the disaster recovery module 806 triggers a recovery command, and the service execution module 804 resumes the service execution of the model and instance selected in the original decision.
[0249] Understandably, the disaster recovery module 806 can prevent business interruptions caused by network outages, instance failures, or seriously inappropriate model / instance selection, thereby improving the system's reliability and redundancy capabilities and ensuring the stable operation of vehicle networking services.
[0250] Thus, this application addresses the issues of disconnect between AI model capabilities and computing network resource scheduling, unstable service latency, and the inability to intelligently select multiple model instances in the context of connected vehicles. It designs a two-layer collaborative orchestration scheme of "business orchestration + resource orchestration" for large and small models. The core idea is: first, select an appropriate large or small model based on the connected vehicle business requirements, vehicle status, and network environment; then, combining the real-time status of computing network resources, select the instance with the optimal location from multiple deployment instances of the selected model to execute the business. Simultaneously, an optimization mechanism is used to adapt to the highly dynamic characteristics of connected vehicles, ensuring low-latency and highly reliable business execution.
[0251] Specifically:
[0252] 1. Two-layer collaborative selection of "business orchestration + resource orchestration": First, select large / small models based on business needs, vehicle and network status; then, select the optimal model instance based on resource status and vehicle trajectory to solve the problem of model and resource scheduling being disconnected.
[0253] 2. Anomaly Feedback and Adaptive Optimization: After business execution, feedback is provided on normal / abnormal situations. If the model / instance selection is inappropriate, the cause of the anomaly is identified, and the selection rules are automatically adjusted to adapt to the dynamic changes in the Internet of Vehicles.
[0254] 3. End-to-end closed-loop process: Covering the entire process of "data collection - two-layer decision-making - business execution - feedback optimization - disaster recovery backup", the five major modules work together to achieve automated, low-latency and highly reliable business operation.
[0255] 4. Redundant deployment of large and small models across multiple nodes: Small models are deployed on vehicle-mounted, roadside, and edge MECs, while large models are deployed on edge MECs, regional clouds, and central clouds. Each node has at least one instance to ensure service continuity.
[0256] 5. Select anomaly disaster recovery backup: Real-time monitoring of anomalies. When the model selection is inappropriate or there is a network / instance failure, it automatically switches to the appropriate small model instance to ensure uninterrupted business operations. Recovery is completed after the anomaly is resolved.
[0257] In other words, this application can achieve automated, low-latency, and highly reliable business operation through the entire process of "data collection - two-layer decision-making - business execution - feedback optimization - disaster recovery backup," with each module working together. In case of anomalies, the design selects an anomaly disaster recovery backup, monitors anomalies in real time, and automatically switches to an appropriate small model instance when the model selection is inappropriate or there is a network / instance failure, ensuring uninterrupted business operations and recovery after the anomaly is resolved.
[0258] It should be noted that for a detailed explanation of the steps performed by each module and their beneficial effects, please refer to the description in the above embodiments, which will not be repeated here.
[0259] It should be noted that the above-described method embodiments, or the various possible implementations of the method embodiments, can be executed individually, or, provided there is no conflict, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
[0260] As can be seen, the above mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the embodiments of this application provide corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0261] This application embodiment can divide the model scheduling device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0262] In some embodiments, this application also provides a model scheduling apparatus. The model scheduling apparatus may include one or more functional modules for implementing the model scheduling method of the above method embodiments.
[0263] For example, Figure 8 This is a schematic diagram of a model scheduling device provided in an embodiment of this application. Figure 9 As shown, the model scheduling device 900 includes: a receiving module 901, a determining module 902, and a transmitting module 903;
[0264] The receiving module 901 is used to receive task request information, which is used to request the vehicle terminal to perform a target task. The task request information includes at least one of the following information of the target task: task type, latency requirement, data volume, and security level.
[0265] The aforementioned determining module 902 is used to determine the target model type based on the task request information and vehicle-related information received by the receiving module 901; the vehicle-related information includes real-time vehicle status information, environmental status information and network status information, and the target model type is adapted to the task type of the target task.
[0266] The aforementioned determining module 902 is also used to determine the target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information; the model instance status information includes the deployment location information and status indicators of N model instances, and the status indicators include availability status indicators, load status indicators and available computing power indicators;
[0267] The aforementioned transmission module 903 is used to transmit task request information to the target model instance to instruct the target model instance to execute the target task.
[0268] The model scheduling device provided in this application can first determine the target model type based on task request information and vehicle-related information; then, by combining vehicle-related information and model instance status information, it determines the final target model instance to be used from the model instances corresponding to the target model type. This enables intelligent selection of large and small models and collaborative scheduling of computing network resources to adapt to the high dynamic characteristics of vehicle-to-everything (V2X) networks. It solves the technical problems of model capability and resource scheduling being disconnected, poor service stability, and low resource utilization in related technologies. Ultimately, it can achieve global optimization of model capability, service latency, and resource efficiency, thus meeting the application requirements of V2X networks for strong real-time performance and high reliability.
[0269] In some embodiments, the real-time vehicle status information includes at least one of the following: vehicle speed, vehicle location, direction of movement, environment in which the vehicle is located, and remaining onboard computing power; the environmental status information includes at least one of the following: roadside unit distribution, edge cloud load, and network coverage; the network status information includes at least one of the following: link latency, bandwidth, and network jitter.
[0270] In other embodiments, the target model type includes a first model type and a second model type; the determining module 902 is specifically used to determine the model type adapted to the target task as the first model type when the task request information meets the first condition; or, when the task request information meets the second condition, determine the model type adapted to the target task as the second model type; wherein, the first condition includes at least one of the following: the task type is a real-time control type; the latency requirement is less than a preset threshold; the network jitter parameter of the vehicle terminal is greater than a preset network jitter parameter; the bandwidth of the vehicle terminal is less than a preset bandwidth; the security level is higher than a preset level; the environment in which the vehicle is located meets preset driving environment conditions; the second condition includes at least one of the following: the task type is any one of complex reasoning type, multimodal understanding type, or global decision type; the target task is a non-latency sensitive task, and the network jitter parameter of the vehicle terminal is less than or equal to the preset network jitter parameter, and the bandwidth of the vehicle terminal is greater than or equal to the preset bandwidth.
[0271] In some other embodiments, the determination module 902 is specifically used to determine the target model type corresponding to each subtask based on vehicle-related information and information of each subtask when the target task includes multiple subtasks.
[0272] In some other embodiments, the determination module 902 is specifically used to determine the target model instance from the model instances corresponding to the target model type based on vehicle-related information and model instance status information, according to preset resource decision rules.
[0273] In some other embodiments, the aforementioned preset resource decision rules include at least one of the following: filtering model instances whose link latency is less than or equal to the latency requirement of the target task; filtering model instances whose load status index is less than a preset load threshold; combining vehicle-related information, including vehicle location and direction of movement, to filter model instances whose vehicles will not leave their coverage area within a preset time period; and filtering model instances that are compatible with the security level of the target task.
[0274] In some other embodiments, the model scheduling device 900 provided in this application further includes: a generation module; the receiving module 901 is further configured to monitor network status information and model instance status information in real time, and receive abnormal notification information during the execution of the target task; the generation module is configured to generate a degradation instruction when the network status information, model instance status information and abnormal notification information received by the receiving module 901 meet preset abnormal conditions, the degradation instruction being configured to instruct the target model instance executing the target task to be switched to the smallest model instance with the least link latency and the lowest load status index among N model instances; wherein, the preset abnormal conditions include at least one of the following: vehicle terminal network interruption, target model instance failure, model instance decision error.
[0275] It should be noted that the model scheduling device can implement all the processes implemented in the above method embodiments and achieve the same beneficial effects. To avoid repetition, it will not be described again here.
[0276] In the case where the functions of the integrated modules described above are implemented in hardware, this application provides a possible structural schematic diagram of the electronic device involved in the above embodiments. For example... Figure 9 As shown, the electronic device 90 includes: a processor 92, a communication interface 93, and a bus 94. Optionally, the electronic device 90 may also include a memory 91.
[0277] Processor 92 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 92 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 92 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0278] Communication interface 93 is used to connect with other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0279] The memory 91 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0280] As one possible implementation, the memory 91 can exist independently of the processor 92. The memory 91 can be connected to the processor 92 via a bus 94 and is used to store instructions or program code. When the processor 92 calls and executes the instructions or program code stored in the memory 91, it can implement the model scheduling method provided in the embodiments of this application.
[0281] In another possible implementation, memory 91 can also be integrated with processor 92.
[0282] Bus 94 can be an Extended Industry Standard Architecture (EISA) bus, etc. Bus 94 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0283] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the service calling device can be divided into different functional modules to complete all or part of the functions described above.
[0284] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described model scheduling method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0285] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0286] This application also provides a readable storage medium storing a program or instructions that, when executed by a computer, implement the model scheduling method provided in the above embodiments. It is understood that all or part of the processes in the above method embodiments can be executed by computer instructions instructing related hardware; the readable storage medium can be any of the foregoing embodiments or memory; the readable storage medium can also be an external storage device of the service invocation device, such as a pluggable hard drive, Smart MediaCard (SMC), Secure Digital (SD) card, flash card, etc., equipped on the service invocation device. Further, the readable storage medium can include both internal storage units of the service invocation device and external storage devices. The readable storage medium is used to store the computer program and other programs and data required by the service invocation device. The readable storage medium can also be used to temporarily store data that has been output or will be output.
[0287] This application also provides a computer program product, which is stored in a storage medium and implements the model scheduling method provided in the above embodiments when the computer program product is executed by a computer.
[0288] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0289] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0290] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A model scheduling method, characterized in that, The method includes: Receive task request information, the task request information being used to request the vehicle terminal to execute a target task, the task request information including at least one of the following information of the target task: task type, latency requirement, data volume, and security level; Based on the task request information and vehicle-related information, the target model type is determined; the vehicle-related information includes real-time vehicle status information, environmental status information, and network status information, and the target model type is adapted to the task type of the target task; Based on the vehicle-related information and model instance status information, the target model instance is determined from the model instances corresponding to the target model type; the model instance status information includes the deployment location information and status indicators of N model instances, and the status indicators include availability status indicators, load status indicators and available computing power indicators; The task request information is transmitted to the target model instance to instruct the target model instance to execute the target task.
2. The model scheduling method according to claim 1, characterized in that, The real-time vehicle status information includes at least one of the following: vehicle speed, vehicle position, direction of movement, environment in which the vehicle is located, and remaining onboard computing power; The environmental status information includes at least one of the following: roadside unit distribution, edge cloud load, and network coverage. The network status information includes at least one of the following: link latency, bandwidth, and network jitter.
3. The model scheduling method according to claim 1 or 2, characterized in that, The target model type includes a first model type and a second model type; The step of determining the target model type based on the task request information and vehicle-related information includes: If the task request information meets the first condition, the model type adapted to the target task is determined to be the first model type; or, If the task request information meets the second condition, the model type that is compatible with the target task is determined to be the second model type; The first condition includes at least one of the following: the task type is a real-time control type; the latency requirement is less than a preset threshold; the network jitter parameter of the vehicle terminal is greater than a preset network jitter parameter; the bandwidth of the vehicle terminal is less than a preset bandwidth; the security level is higher than a preset level; and the environment in which the vehicle is located meets preset driving environment conditions. The second condition includes at least one of the following: the task type is any one of complex reasoning, multimodal understanding, or global decision-making; the target task is a non-latency-sensitive task; the network jitter parameter of the vehicle terminal is less than or equal to a preset network jitter parameter; and the bandwidth of the vehicle terminal is greater than or equal to a preset bandwidth.
4. The model scheduling method according to claim 1, characterized in that, The step of determining the target model type based on the task request information and vehicle-related information includes: When the target task includes multiple sub-tasks, the target model type corresponding to each sub-task is determined based on the vehicle-related information and the information of each sub-task.
5. The model scheduling method according to claim 1 or 2, characterized in that, The step of determining the target model instance from the model instances corresponding to the target model type based on the vehicle-related information and model instance status information includes: Based on the vehicle-related information and model instance status information, the target model instance is determined from the model instances corresponding to the target model type according to the preset resource decision rules.
6. The model scheduling method according to claim 5, characterized in that, The preset resource decision rules include at least one of the following: Filter model instances whose link latency is less than or equal to the latency requirement of the target task; Filter model instances whose load status index is less than a preset load threshold; Based on the vehicle-related information, including vehicle location and direction of movement, model instances that will not leave their coverage area within a preset time period are selected. Select model instances that are compatible with the security level of the target task.
7. The model scheduling method according to claim 1, characterized in that, The model scheduling method further includes: The system monitors the network status information and the model instance status information in real time, and receives abnormal notification information during the execution of the target task. If the network status information, the model instance status information, and the anomaly notification information meet the preset anomaly conditions, a degradation instruction is generated. The degradation instruction is used to instruct the target model instance executing the target task to switch to the smallest model instance among the N model instances with the smallest link latency and the lowest load status index. The preset abnormal conditions include at least one of the following: the vehicle terminal network is interrupted, the target model instance malfunctions, or the model instance makes a decision error.
8. A model scheduling device, characterized in that, include: The module consists of a receiving module, a determining module, and a transmitting module. The receiving module is used to receive task request information, which is used to request the vehicle terminal to execute a target task. The task request information includes at least one of the following information of the target task: task type, latency requirement, data volume, and security level. The determining module is used to determine the target model type based on the task request information and vehicle-related information received by the receiving module; the vehicle-related information includes real-time vehicle status information, environmental status information and network status information, and the target model type is adapted to the task type of the target task; The determining module is further configured to determine a target model instance from the model instances corresponding to the target model type based on the vehicle-related information and model instance status information; the model instance status information includes the deployment location information and status indicators of N model instances, and the status indicators include availability status indicators, load status indicators and available computing power indicators; The transmission module is used to transmit the task request information to the target model instance, so as to instruct the target model instance to execute the target task.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing programs or instructions that can run on the processor, the programs or instructions being executed by the processor to implement the model scheduling method as described in any one of claims 1-7.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a computer, implement the model scheduling method as described in any one of claims 1-7.
11. A computer program product, characterized in that, The computer program product is stored in a storage medium, and when executed by a computer, the computer program product implements the model scheduling method as described in any one of claims 1-7.
