A vehicle and resource scheduling method thereof

By introducing a network controller into intelligent driving vehicles, generating configuration files based on global network topology and communication resources, and negotiating service quality, the problem of distributed resource allocation being difficult to ensure global business flow service quality is solved, and efficient service quality assurance and Resource utilization.

CN115190179BActive Publication Date: 2024-10-29YINWANG INTELLIGENT TECHNOLOGIES CO LTD

Patent Information

Application Number
CN202110359885.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-02
Publication Date
2024-10-29
Estimated Expiration
2041-04-02

AI Technical Summary

Technical Problem

Existing technology In intelligent driving and Internet of Vehicles environments, distributed resource allocation is difficult to guarantee the service quality of global business flows. Especially in the case of large traffic, high concurrency and higher real-time requirements, it is difficult for traditional architecture to achieve global service quality. Assure.

Method used

The network controller is introduced as a unified node, and based on the global network topology information and communication resources, a configuration file is generated to implement the resource allocation strategy, the negotiation mechanism determines the service quality, optimizes the vehicle resource scheduling, and ensures the satisfaction of service quality and the rationality of resource allocation.

Benefits of technology

Through global resource scheduling, service quality assurance in the vehicle's internal and external network topology is achieved, vehicle communication resource allocation is optimized, and service quality and resource utilization efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190179B_ABST
    Figure CN115190179B_ABST
Patent Text Reader

Abstract

The present application provides a vehicle and a resource scheduling method thereof, the vehicle includes a service demander, a service provider and a network controller, the service demander can send a service request message to the service provider, the service provider receives the service request message, and can generate a resource scheduling request message according to the service request message, the service provider sends the resource scheduling request message to the network controller, the network controller determines the service quality for a first service according to the resource scheduling request message, and generates a configuration file according to the global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander. The resource scheduling method provided by the present application realizes the service quality guarantee of the global business flow of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and in particular to a vehicle and a resource scheduling method thereof. Background Art

[0002] The trend of the new four modernizations of automobiles and software defined vehicles (SDV) is driving the continuous evolution of the electronic electrical architecture (EEA) of automobiles. From the traditional distributed electronic electrical architecture, with the improvement of integration, it will gradually transition to the domain controller architecture, and then to the electronic electrical architecture based on central computing. Combined with the need for high integration of the new generation of electronic electrical architecture of automobiles, the application of service-oriented architecture (SOA) will realize the rapid iteration and flexible reorganization of business functions, and can quickly respond to new functional requirements of users based on standardized interfaces. Under this service-oriented architecture, the functions provided by each controller are disassembled according to the service dimension, which can fully realize the resource acquisition of vehicle capabilities. With the rapid development of technologies such as intelligent driving and Internet of Vehicles, the continuous enrichment of automobile functions, and the deployment of SOA architecture in automobiles, more problems will inevitably be brought to the scheduling of vehicle business resources, such as higher requirements for large traffic, high concurrency, real-time and reliability; changeable business models, coexistence of periodic business and non-periodic mutation business; traditional distributed resource allocation is difficult to guarantee the quality of service (QoS) of global business flows.

[0003] Application Contents

[0004] The embodiments of the present application provide a vehicle and resource scheduling method thereof to achieve service quality assurance for the global business flow of the vehicle.

[0005] In a first aspect, the present application provides a vehicle, including a service demander, a service provider and a network controller; the service demander is used to send a service request message to the service provider, and the service request message is used to request the service provider to subscribe to a first service or call the first service; the service provider is used to: receive the service request message; generate a resource scheduling request message according to the service request message, and the resource scheduling request message is used to indicate that the service demander requests the first service from the service provider, and is also used to indicate the requested service quality, and the requested service quality is the service quality requested by the service provider to the network controller for the first service; and send the resource scheduling request message to the network controller; wherein the service provider is used to provide in-vehicle services, or an agent The invention relates to an off-vehicle service, or a service that is used to provide both an in-vehicle service and an off-vehicle service as an agent; the network controller is used to: receive the resource scheduling request message; determine the service quality for the first service according to the resource scheduling request message; generate a configuration file according to the global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, wherein the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander; and send the configuration file to at least some of the multiple electronic control units, wherein the at least some of the electronic control units are electronic control units used to enable the service provider to provide the first service to the service demander.

[0006] The vehicle in the embodiment of the present application performs resource scheduling of the global network topology by adding a new network controller as a unified node to obtain the globally optimal data transmission efficiency, thereby solving the problem in the related art that the service quality cannot be globally guaranteed due to the local resource scheduling of each electronic control unit.

[0007] In one possible implementation, the network controller is used to generate a configuration file based on global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, including the network controller being used to: determine the communication path between the service demander and the service provider based on the global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service; wherein at least part of the electronic control units are located on the communication path; and generate a configuration file based on the communication path and the service quality for the first service.

[0008] In one possible implementation, the quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

[0009] The vehicle in the embodiment of the present application determines the service quality of the first service through negotiation between the network controller and the service provider. On the one hand, the negotiation mechanism allows the business resources of the entire vehicle to be more reasonably scheduled to achieve the purpose of satisfying the service quality of the first service as much as possible. On the other hand, it optimizes the rationality of the global communication resource allocation of the entire vehicle, making the global resource allocation more flexible.

[0010] In another possible implementation, the network controller is used to determine the service quality for the first service based on the resource scheduling request message, including the network controller being used to: determine that the requested service quality cannot be met; send a negotiation request message to the service provider, the negotiation request message being used to indicate the service quality recommended by the network controller to the service provider; receive a negotiation response message from the service provider, the negotiation response message being used to indicate that the service provider accepts the recommended service quality; and determine that the recommended service quality is the service quality for the first service.

[0011] In another possible implementation, the service provider is used to proxy for off-vehicle services, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with services outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for off-vehicle communication.

[0012] The vehicle in the embodiment of the present application optimizes the mapping relationship between service providers and service demanders in the entire in-vehicle and out-vehicle network topology through a cross-platform service quality assurance mechanism based on the joint in-vehicle and out-vehicle network topology control, so as to perform end-to-end resource scheduling based on global network information, thereby further ensuring the service quality of the first service.

[0013] In another possible implementation, before receiving the service request message, the service provider is further configured to: broadcast services that the service provider can provide to the multiple electronic control units.

[0014] In one example, the service request message includes identification information of the first service, and the service provider is further configured to determine the requested quality of service according to the identification information and a preset quality of service configuration rule.

[0015] In another possible implementation, the network controller, the service provider, and the service demander are electronic control units in the vehicle.

[0016] In a second aspect, the present application provides a resource scheduling method, which is applied to a network controller in a vehicle, the method comprising: the network controller receives a resource scheduling request message from a service provider in the vehicle, the resource scheduling request message is used to indicate that the service demander in the vehicle requests a first service from the service provider, and is also used to indicate the requested service quality, the requested service quality is the service quality of the first service requested by the service provider to the network controller; wherein the service provider is used to provide in-vehicle services, or to act as an agent for out-of-vehicle services, or to provide both in-vehicle services and out-of-vehicle services; the network controller determines the service quality for the first service according to the resource scheduling request message; the network controller generates a configuration file according to global network topology information indicating the connection relationship between electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander; the network controller sends the configuration file to at least one electronic control unit in the vehicle, and the at least one electronic control unit is an electronic control unit used to enable the service provider to provide the first service to the service demander.

[0017] The resource scheduling method of the embodiment of the present application uses the network controller as a unified node to perform resource scheduling of the global network topology to obtain the global optimal data transmission efficiency, thereby solving the problem in the related art that the service quality cannot be globally guaranteed due to the local resource scheduling of each electronic control unit.

[0018] In another possible implementation, the network controller generates a configuration file based on the global network topology information indicating the connection relationship between the electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, including: the network controller determines the communication path between the service demander and the service provider based on the global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service; wherein at least part of the electronic control units are located on the communication path; and generates the configuration file based on the communication path and the service quality for the first service.

[0019] In another possible implementation, the quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

[0020] The resource scheduling method of the embodiment of the present application determines the service quality of the first service through negotiation between the network controller and the service provider. On the one hand, the negotiation mechanism allows the business resources of the entire vehicle to be more reasonably scheduled to achieve the purpose of satisfying the service quality of the first service as much as possible. On the other hand, it optimizes the rationality of the global communication resource allocation of the entire vehicle, making the global resource allocation more flexible.

[0021] In another possible implementation, the network controller determines the quality of service for the first service based on the resource scheduling request message, including: the network controller determines that the requested quality of service cannot be met; the network controller sends a negotiation request message to the service provider, the negotiation request message is used to indicate the quality of service recommended by the network controller to the service provider; the network controller receives a negotiation response message from the service provider, the negotiation response message is used to indicate that the service provider accepts the recommended quality of service; the network controller determines that the recommended quality of service is the quality of service for the first service.

[0022] In another possible implementation, the service provider is an electronic control unit used to proxy off-vehicle services, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with services outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for off-vehicle communication.

[0023] The resource scheduling method of the embodiment of the present application optimizes the mapping relationship between service providers and service demanders in the entire in-vehicle and out-vehicle network topology through a cross-platform service quality assurance mechanism based on the in-vehicle and out-vehicle joint network topology control, so as to perform end-to-end resource scheduling based on global network information, thereby further ensuring the service quality of the first service.

[0024] In another possible implementation, the network controller, the service provider, and the service demander are electronic control units in the vehicle.

[0025] In a third aspect, the present application also provides a network controller for a vehicle, comprising: a communication module, used to receive a resource scheduling request message from a service provider in the vehicle, the resource scheduling request message is used to indicate that the service demander in the vehicle requests a first service from the service provider, and is also used to indicate the requested service quality, the requested service quality is the service quality requested by the service provider to the network controller for the first service; a service quality determination module, used to determine the service quality for the first service according to the resource scheduling request message; a configuration file generation module, used to generate a configuration file according to global network topology information indicating the connection relationship between electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander; the communication module is also used to send the configuration file to at least one electronic control unit in the vehicle, and the at least one electronic control unit is an electronic control unit used to enable the service provider to provide the first service to the service demander.

[0026] In one possible implementation, the configuration file generation module is used to generate a configuration file based on global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, including the configuration file generation module being used to: determine the communication path between the service demander and the service provider based on the global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service; wherein at least part of the electronic control units are located on the communication path; and generate a configuration file based on the communication path and the service quality for the first service.

[0027] In another possible implementation, the quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

[0028] In another possible implementation, the service quality determination module is further used to determine that the requested service quality cannot be met; the communication module is further used to send a negotiation request message to the service provider, and to receive a negotiation response message from the service provider, wherein the negotiation request message is used to indicate the service quality recommended by the network controller to the service provider, and the negotiation response message is used to indicate that the service provider accepts the recommended service quality; the service quality determination module is further used to determine that the recommended service quality is the service quality for the first service.

[0029] In another possible implementation, the service provider is an electronic control unit used to proxy off-vehicle services, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with services outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for off-vehicle communication.

[0030] In another possible implementation, the network controller, the service provider, and the service demander are electronic control units in the vehicle.

[0031] In a fourth aspect, the present application further provides a network controller for a vehicle, comprising a memory and a processor, wherein the memory stores computer program instructions, and the processor executes the computer program instructions to implement the method described in the second aspect.

[0032] In a fifth aspect, the present application further provides a computer-readable storage medium, comprising computer instructions, which, when executed by a processor, enables the method described in the second aspect to be implemented.

[0033] In a sixth aspect, the present application further provides a computer program product, which, when executed on a processor, enables the method described in the second aspect to be implemented.

[0034] In a seventh aspect, the present application further provides a chip, comprising a memory and a processor, wherein the memory stores computer program instructions, and the processor executes the computer program instructions to implement the method described in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic diagram of the architecture of SOA in the related technology;

[0036] Figure 2 A schematic diagram of the architecture of an SOA provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of the architecture of an SOA provided in an embodiment of the present application;

[0038] Figure 4 A flowchart of a resource scheduling method provided in an embodiment of the present application;

[0039] Figure 5 It is a global network topology diagram of the whole vehicle ECU;

[0040] Figure 6 An architecture diagram based on a QoS negotiation mechanism provided for an embodiment of the present application;

[0041] Figure 7A flowchart of another resource scheduling method provided for this application;

[0042] Figure 8 An architecture diagram based on a cross-platform service QoS guarantee mechanism provided in an embodiment of the present application;

[0043] Fig. 9 A schematic diagram of the structure of a network controller applied to a vehicle provided in an embodiment of the application;

[0044] Fig.10 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments.

[0046] Figure 1 FIG. 1 is a schematic diagram of the SOA architecture in the related art. The EE architecture of the vehicle in the related art adopts Figure 1 As shown in the SOA, Figure 1 As shown in the figure, the SOA includes the application layer, middleware and hardware layer. The service calling process is as follows: based on the communication protocol of the middleware (such as Ethernet SOME / IP protocol), the service provider publishes the available services, and then the service demander who needs the service subscribes / calls the service. Finally, the business flow is generated, and each ECU performs distributed communication resource scheduling, caching and transmission based on its own situation. In this architecture, each ECU guarantees the QoS of the service through local communication resource scheduling, which is a QoS guarantee mechanism for distributed resource allocation.

[0047] The QoS guarantee mechanism of distributed resource allocation can only guarantee the QoS of local business flows. When large traffic, multiple services, high concurrency, and real-time and reliability requirements are gradually increasing, this distributed resource allocation is difficult to guarantee the QoS of global services.

[0048] In order to solve the above problems, the embodiment of the present application proposes a resource scheduling method, in which a network control layer is added between the hardware layer and the middleware layer in the SOA-based platform architecture (see Figure 2 ), the network control layer generates a scheduling strategy based on the global network topology information and the allocated communication resources to ensure the QoS of the global service flow.

[0049] Figure 3 The following is a schematic diagram of the architecture of a SOA provided in an embodiment of the present application. The SOA includes an application layer, an in-vehicle OS layer, a network control layer, and a hardware layer. The network control layer can be understood as a unified service control plane, through which the service management and control of the entire network is performed.

[0050] The network control layer can be implemented as a network controller deployed in a certain ECU of the vehicle, which is responsible for the calculation, decision-making and configuration of the global network resources of the whole vehicle's electronic and electrical architecture. The network controller includes at least the following modules: a communication module, a service quality determination module and a configuration file generation module. Among them, the communication module is used to receive a resource scheduling request message from a service provider in the vehicle, and the resource scheduling request message is used to indicate that the service demander in the vehicle requests a service from the service provider, and is also used to indicate the requested service quality, which is the service quality requested by the service provider to the network controller for the service. The service quality determination module is used to determine the service quality for the service according to the resource scheduling request message. The configuration file generation module is used to generate a configuration file according to the global network topology information indicating the connection relationship between the electronic control units (ECUs) in the vehicle, the allocated communication resources and the service quality for the service, and the configuration file is used to indicate the resource allocation strategy, and the resource allocation strategy is used to realize the service provider to provide services to the service demander. The communication module is also used to send a configuration file to at least one ECU in the vehicle, and at least one ECU is an ECU used to realize the service provider to provide services to the service demander.

[0051] The ECU that receives the configuration file performs routing forwarding and scheduling of business resources according to the configuration file to enable the service provider to provide services to the service demander.

[0052] Service providers, service demanders, and network controllers can be implemented by ECUs in the vehicle, such as MDC (Mobile Data Center), CDC (Continuous Damping Control), TBOX (Telematics Box), VCU (Vehicle Control Unit), etc. ECUs deployed in the vehicle. The service provider is the ECU that provides services, and the service demander is the ECU that requires services. For the convenience of description below, the service provider is called the server ECU, and the service demander is called the client ECU.

[0053] Figure 4 A flowchart of a resource scheduling method provided in an embodiment of the present application. The method can be applied to Figure 3 The architecture shown in Figure 4 As shown, the method at least includes steps S401-S404.

[0054] In step S401, the server ECU sends a resource scheduling request message of the service to the network controller.

[0055] It can be understood that the services mentioned in this embodiment refer to the abstraction of various functions of the vehicle based on the SOA architecture, such as window control service, seat control service, central control screen service, advanced driving assistant system (ADAS) service, braking service, etc.

[0056] In the embodiment of the present application, the server ECU is an ECU that can provide services. The network controller can implement Figure 3 The network control layer in the vehicle is deployed in an ECU in the vehicle and is responsible for the calculation, decision-making and configuration of the global network resources of the vehicle's electronic and electrical architecture.

[0057] The resource scheduling request message of the service is determined based on the subscription request message / call request message sent by the client ECU to the server ECU. For example, the server ECU of the vehicle broadcasts the service information it can provide, and the client ECU that needs the service sends a subscription request message to the server ECU to subscribe to the service. Alternatively, the server ECU of the vehicle broadcasts the service information it can provide, and the client ECU that needs to use the service initiates a request to call the service to the server ECU to call the service.

[0058] The service information that the server ECU can provide includes the identification information of the server ECU (such as the IP address or MAC address of the server ECU, which can uniquely identify the server ECU) and the identification information of the service. The subscription request / call request information sent by the client to the server ECU includes the identification information of the client ECU (such as the IP address or MAC address of the client ECU, which can uniquely identify the server ECU). Therefore, the resource scheduling request message of the service includes at least the matching information of the server ECU and the client ECU and the identification information of the service.

[0059] The server-side ECU sends a resource scheduling request message of the service to the network controller so that the network controller allocates communication resources for the service in a global dimension.

[0060] In step S402, the network controller generates a configuration file based on at least the global network topology information, the allocated communication resources and the quality of service for the service.

[0061] After receiving the resource scheduling request message of the service sent by the server ECU, the network controller determines the communication path between the server ECU and the client ECU based on the global network topology information, the allocated communication resources and the matching information of the server ECU and the client ECU.

[0062] It can be understood that the global network topology information is used to indicate the communication connection relationship between multiple ECUs in a vehicle, and the network controller can obtain it through query. For example, the network controller queries a storage file that stores the global network topology information to obtain the global network topology information, or the global network topology information is stored in a memory in the network controller, and the network controller directly obtains the global network topology information by checking the global network topology information stored in its own memory.

[0063] The target server ECU and the target client ECU can be known from the server ECU and the client ECU in the resource scheduling request message of the service in step S401, and the communication path between the server ECU and the client ECU that meets the requirements is determined in combination with the global network topology and the allocated communication resources.

[0064] For example, Figure 5 Figure 1 shows a global network topology diagram of a vehicle ECU. Figure 5 It can be seen that there are multiple communication paths from the server ECU to the client ECU, for example, Figure 5 Path 1: server ECU-ECU1-client ECU, path 2: server ECU-ECU2-ECU3-ECU4-client ECU, path 3: server ECU-ECU5-ECU6-client ECU and path 4: server ECU-ECU7-ECU8-ECU9-ECU10-client ECU.

[0065] According to the allocated communication resources, the available communication resources / remaining communication resources in each of the above multiple communication paths from the server ECU to the client ECU can be known. For example, according to the allocated communication resources, the available communication resources / remaining communication resource bandwidth in path 1 is 10M, the available communication resources / remaining communication resource bandwidth in path 2 is 50M, the available communication resources / remaining communication resource bandwidth in path 3 is 70M, and the available communication resources / remaining communication resource bandwidth in path 4 is 100M. The communication path with the most available communication resources / remaining communication resources can be used as the communication path between the server ECU and the client ECU. For example, path 4: server ECU-ECU7-ECU8-ECU9-ECU10-client ECU.

[0066] In another example, the communication path between the server ECU and the client ECU may also be determined based on the global network topology information, the allocated communication resources, the matching information between the server ECU and the client ECU, and the QoS of the service.

[0067] After the network controller receives the resource scheduling request message of the service sent by the server ECU, the QoS of the service is determined according to the identification information of the service in the resource scheduling request message of the service. For example, the QoS corresponding to the service is determined according to the identification of the service and a preset service and QoS mapping table; or the QoS of the service is determined according to the identification of the service and a preset mapping rule.

[0068] It can be understood that the QoS of the service may include one or more of bandwidth requirement information, delay requirement information, packet loss rate requirement information, delay jitter requirement information and priority requirement information.

[0069] After determining the QoS of the service, the communication path between the server ECU and the client ECU is determined by combining the global network topology information, the allocated communication resources, and the matching information of the server ECU and the client ECU.

[0070] For example, the allocated communication resources can be used to know the available communication resources / remaining communication resources in each of the multiple communication paths from the server ECU to the client ECU. For example, the allocated communication resources can be used to know that the available communication resources / remaining communication resources bandwidth in path 1 is 10M, the available communication resources / remaining communication resources bandwidth in path 2 is 50M, the available communication resources / remaining communication resources bandwidth in path 3 is 70M, and the available communication resources / remaining communication resources bandwidth in path 4 is 100M. If the QoS required bandwidth of the service is 80M, path 4: server ECU-ECU7-ECU8-ECU9-ECU10-client ECU is determined to be the communication path between the server ECU and the client ECU.

[0071] The network controller generates a configuration file based on at least the communication path information of the server ECU and the client ECU and the QoS information of the service.

[0072] The configuration file is used to indicate the resource allocation strategy used to implement the service provider to provide services to the service demander.

[0073] For example, after determining that the communication path between the server ECU and the client ECU is server ECU-ECU7-ECU8-ECU9-ECU10-client ECU, the resource allocation of the service is determined according to the QoS of the service. For example, if the QoS of the service is bandwidth 80, the communication resource of 100M bandwidth available in the communication path server ECU-ECU7-ECU8-ECU9-ECU10-client ECU is allocated 80M bandwidth to the service, and a configuration file is generated based on at least the communication path and resource allocation of the service, so the resource allocation strategy at least includes the communication path between the server ECU and the client ECU and the communication resources allocated for the service.

[0074] It is understandable that the resource allocation strategy may also include allocation of other communication resources, such as allocation of time, frequency, code and other communication resources.

[0075] In one example, the network controller is provided with an allocated communication resource storage module for storing the allocated communication resources and storing the allocation policy of the service in the allocated communication resources.

[0076] If the available communication resources in the communication path between the server ECU and the client ECU determined in step S402 do not meet the QoS of the service, the resource scheduling request of the service is rejected.

[0077] For example, if the QoS bandwidth of the service is 120M, and the available communication resource bandwidth in the communication path between the server ECU and the client ECU is determined to be 100M, it is obvious that the available communication resources in the communication path between the server ECU and the client ECU do not meet the QoS bandwidth of the service, and the resource scheduling request of the service is rejected, that is, a response message of rejecting the resource scheduling request is sent to the server ECU, and the server ECU rejects the subscription or call of the client ECU.

[0078] In step S403 , the network controller sends the configuration file to a relevant ECU among the plurality of ECUs of the vehicle.

[0079] It is easy to understand that the relevant ECUs here are the ECUs on the communication path between the server ECU and the client ECU. For example, if the communication path between the server ECU and the client ECU is determined to be server ECU-ECU7-ECU8-ECU9-ECU10-client ECU, then the relevant ECUs are server ECU, ECU7, ECU8, ECU9, ECU10 and client ECU.

[0080] In step S404, the relevant ECUs perform routing forwarding and business resource scheduling according to the configuration file to implement service subscription of the client ECU, for example, the server ECU publishes the service to the client ECU periodically or event-based; and implement service calls of the client ECU, for example, the server ECU executes the service in response to the client's call request.

[0081] In the embodiment of the present application, a new network controller is added as a unified node to perform resource scheduling of the global topology to obtain the global optimal data transmission efficiency, thereby solving the problem in the related art that the service quality cannot be globally guaranteed due to the local resource scheduling of each ECU.

[0082] This application also provides another architecture based on QoS negotiation mechanism. Figure 6 As shown in Figure 1, the architecture includes the application layer, vehicle OS layer, network control layer and hardware layer. Figure 3 The difference between the architecture shown is that a service QoS negotiation mechanism is added between the service provider and the network control layer, that is, a service QoS negotiation mechanism is added between the server ECU and the network controller. Through the service QoS negotiation mechanism, more reasonable scheduling of business resources is achieved to achieve the purpose of meeting the service QoS requirements as much as possible.

[0083] Figure 7 A flowchart of another resource scheduling method provided by this application. This method can be applied to Figure 6 The architecture shown in Figure 1 is as follows. Figure 7 As shown, the method at least includes steps S701-S711.

[0084] Steps S701-S705 and Figure 4 The steps S401-S404 in are similar to those in the above, and the details can be found in the description of the above steps S401-S404, which will not be repeated here for the sake of brevity. Figure 7 The resource scheduling method shown is similar to Figure 4 The difference of the resource scheduling method shown is that a QoS requirement negotiation process of the service is added, namely, steps S706-S711. That is, when the feasible scheduling strategy calculated by the network controller cannot meet the QoS of the service, a QoS requirement negotiation mechanism of the service is introduced between the network controller and the server-side ECU. For the specific negotiation process, see the detailed description of steps S706-S711.

[0085] In step S706, the network controller sends a negotiation request message to the server ECU.

[0086] The negotiation request message is used to indicate the QoS that the network controller recommends to the server ECU.

[0087] For example, when the available communication resource bandwidth in the communication path between the server ECU and the client ECU is determined to be 100M, and the QoS required bandwidth of the service is 120M, and the resource allocation strategy at this time does not meet the QoS of the service, the network controller sends a negotiated QoS to the server ECU. For example, the network controller sends the communication path of the service to the server ECU and the bandwidth available for the service in the path is 100M.

[0088] In step S707, the server ECU determines whether it accepts the suggested QoS.

[0089] If yes, then execute step S708, that is, the network controller generates a configuration file according to the communication path between the server ECU and the client ECU and the recommended QoS of the service. For example, the communication path between the server ECU and the client ECU is server ECU-ECU7-ECU8-ECU9-ECU10-client ECU, and the QoS of the service is bandwidth 100M, then the communication resources of 100M bandwidth available in the communication path are allocated to the service, and the allocation strategy of the service at least includes that the communication path of the service is server ECU-ECU7-ECU8-ECU9-ECU10-client ECU, and the communication resources of 100M bandwidth in the path are allocated to the service, then the configuration file is generated at least based on the communication path between the server ECU and the client ECU and the allocation strategy of the service.

[0090] If not, step S711 is executed, and the network controller rejects the resource scheduling request of the service.

[0091] Steps S708-S710 and Figure 4 The steps S402-S404 in are similar to those in the above description. For details, please refer to the description of the above steps S402-S404. For the sake of brevity, they will not be repeated here.

[0092] The embodiment of the present application optimizes the rationality of global communication resource allocation through an architecture based on the QoS negotiation mechanism, makes global resource allocation more flexible, and further improves service quality.

[0093] This application also provides another architecture based on a cross-platform service QoS guarantee mechanism. Figure 8 As shown in Figure 1, the architecture includes the application layer, vehicle OS layer, network control layer and hardware layer. Figure 3 The difference between the architecture shown is that the vehicle's communication network includes an in-vehicle communication network and an out-vehicle communication network, and the vehicle OS layer includes an in-vehicle service provider (ECU that provides in-vehicle services) and an out-vehicle service agent (ECU that provides out-vehicle services). The configuration file generation module in the network control layer is used to manage the scheduling information of in-vehicle and out-vehicle network communication resources to achieve in-vehicle and out-vehicle joint network topology control, maintain the mapping relationship between the server ECU and the client ECU in the entire in-vehicle and out-vehicle network topology, and perform end-to-end resource scheduling based on the global information of the in-vehicle and out-vehicle networks.

[0094] It is easy to understand that the off-vehicle communication network can be, for example, a vehicle-to-everything (V2X) communication network, such as a vehicle-to-vehicle (V2V) communication network, a vehicle-to-infrastructure (V2I) communication network, a vehicle-to-pedestrian (V2P) communication network, a vehicle-to-network (V2N) communication network, etc. The off-vehicle service refers to the function outside the vehicle that can be obtained through the off-vehicle communication network, such as (over the air, OTA) air download service, remote control service, etc.

[0095] based on Figure 8 The resource scheduling method of the architecture shown is similar to Figure 4 and Figure 7 The method shown is similar, except that the server ECU includes an in-vehicle server ECU and an out-vehicle server ECU, and the resource scheduling message of the corresponding service includes the matching information of the in-vehicle server ECU and the client ECU and the identification information of the in-vehicle service, and the matching information of the out-vehicle server ECU and the client ECU and the identification information of the out-vehicle service.

[0096] The communication path information between the server ECU and the client ECU includes the communication path information between the server ECU and the client ECU in the vehicle and the communication path information between the server ECU and the client ECU outside the vehicle.

[0097] The communication path information between the in-vehicle server ECU and the client ECU is determined based on at least the matching information between the in-vehicle server ECU and the client ECU, the global network topology information and the allocated in-vehicle communication resource information. The specific determination method can be found in the above Figure 4 The detailed description of step S402 is not repeated here for the sake of brevity.

[0098] The communication path information between the off-vehicle server ECU and the client ECU is determined based on at least the matching information between the off-vehicle server ECU and the client ECU, the global network topology information and the allocated off-vehicle communication resource information. Figure 4 The communication path determination method in step S402 is similar to that in FIG. 1 , and will not be repeated here for the sake of brevity.

[0099] The QoS of the service includes the QoS of the service inside the vehicle and the QoS of the service outside the vehicle, and the resource allocation strategy of the service correspondingly includes the resource allocation strategy of the service inside the vehicle and the resource allocation strategy of the service outside the vehicle.

[0100] The configuration file for in-car services is provided by Figure 8The configuration file generation module in is determined based on the communication path information between the in-vehicle server ECU and the client ECU and the QoS information of the in-vehicle service. The configuration file of the out-of-vehicle service is determined by Figure 8 The configuration file generation module in is determined based on the communication path information between the off-vehicle server ECU and the client ECU and the QoS information of the off-vehicle service.

[0101] The configuration file generation module in the embodiment of the present application can be physically separated into a configuration file generation module for in-vehicle services and a configuration file generation module for out-vehicle services, or can be integrated on the same hardware, but logically divided into a configuration file generation module for in-vehicle services and a configuration file generation module for out-vehicle services; wherein the configuration file generation module for in-vehicle services is used to determine the configuration file for in-vehicle services based on the communication path information between the in-vehicle server ECU and the client ECU and the QoS information of the in-vehicle services. The configuration file generation module for out-vehicle services is used to determine the configuration file for out-vehicle services based on the communication path information between the out-vehicle server ECU and the client ECU and the QoS information of the out-vehicle services.

[0102] The configuration file generation module of the in-vehicle service generates a first configuration file, and sends the first configuration file to the relevant ECU in the vehicle. The relevant ECU in the vehicle performs routing forwarding and service resource scheduling according to the first configuration file to realize the scheduling execution of the in-vehicle service.

[0103] The configuration file generation module of the off-vehicle service generates a second configuration file, and sends the second configuration file to the off-vehicle related ECU. The off-vehicle related ECU performs routing forwarding and business resource scheduling according to the second configuration file to realize the scheduling execution of the off-vehicle service.

[0104] The embodiment of the present application optimizes the mapping relationship between the server ECU and the client ECU in the entire in-vehicle and out-vehicle network topology through a cross-platform service QoS guarantee mechanism based on the in-vehicle and out-vehicle joint network topology control, so as to perform end-to-end resource scheduling based on global network information, thereby further improving the service quality.

[0105] An embodiment of the present application also provides a network controller applied to a vehicle.

[0106] Fig. 9 This is a schematic diagram of the structure of a network controller applied to a vehicle provided in an embodiment of the present application. Fig. 9 As shown, the network controller 900 at least includes:

[0107] The communication module 910 is used to receive a resource scheduling request message from the service provider in the vehicle, wherein the resource scheduling request message is used to indicate that the service demander in the vehicle requests a first service from the service provider, and is also used to indicate a requested service quality, wherein the requested service quality is a service quality requested by the service provider to the network controller for the first service;

[0108] A quality of service determination module 920, configured to determine a quality of service for the first service according to the resource scheduling request message;

[0109] A configuration file generating module 930, configured to generate a configuration file according to the global network topology information indicating the connection relationship between the electronic control units in the vehicle, the allocated communication resources and the service quality for the first service, wherein the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander;

[0110] The communication module 910 is further used to send the configuration file to at least one electronic control unit in the vehicle, and the at least one electronic control unit is an electronic control unit used to enable the service provider to provide the first service to the service demander.

[0111] In a possible implementation, the configuration file generation module 930 is used to generate a configuration file according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service, including the configuration file generation module 930 being used to:

[0112] A communication path between the service demander and the service provider is determined based on the global network topology information indicating the connection relationship between multiple electronic control units in the vehicle, the allocated communication resources and the service quality for the first service; wherein at least part of the electronic control units are located on the communication path; and a configuration file is generated based on the communication path and the service quality for the first service.

[0113] In another possible implementation, the quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

[0114] In another possible implementation, the service quality determination module 920 is further used to determine that the requested service quality cannot be met;

[0115] The communication module 910 is further configured to send a negotiation request message to the service provider, and to receive a negotiation response message from the service provider, wherein the negotiation request message is used to indicate the quality of service recommended by the network controller to the service provider, and the negotiation response message is used to indicate that the service provider accepts the recommended quality of service;

[0116] The service quality determination module 920 is further used to determine the recommended service quality as the service quality for the first service.

[0117] In another possible implementation, the service provider is an electronic control unit used to proxy off-vehicle services, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with services outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for off-vehicle communication.

[0118] In another possible implementation, the network controller, the service provider, and the service demander are electronic control units in the vehicle.

[0119] The network controller 900 according to the embodiment of the present application may correspond to executing the method described in the embodiment of the present application, and the above and other operations and / or functions of each module in the network controller 900 are respectively to implement Figure 4 and Figure 7 For the sake of brevity, the corresponding processes of each method in are not repeated here.

[0120] An embodiment of the present application also provides a vehicle having an electronic and electrical system composed of multiple electronic control units ECU. The electronic and electrical system can be implemented based on a traditional distributed electronic and electrical architecture, a domain controller architecture, or an electronic and electrical architecture based on central computing.

[0121] It can be understood that the so-called "domain" is that the vehicle electronic system is divided into several functional blocks according to functions, and the system architecture within each functional block is built by the domain controller. The ECUs within each domain are interconnected. For example, CAN or FlexRay communication buses can be used within each domain to achieve interconnection between ECUs within the domain. Communication connections between different domains, for example, Ethernet is used as the backbone network to undertake information exchange tasks and achieve interconnection between different domains.

[0122] The electronic and electrical architecture based on central computing is to separate the corresponding software system from the ECUs scattered in various locations and reintegrate it into the corresponding domain controllers. Each domain controller is communicated with the central controller. For example, the central controller is communicated with other domain controllers through a central gateway and Ethernet.

[0123] When implemented based on traditional distributed electrical and electronic architecture, Fig. 9 The network controller in can be deployed in an ECU in the vehicle to achieve service quality assurance for the global business flow of the vehicle. For specific implementation methods, see Figure 4 and Figure 7 For the sake of brevity, the description in is not repeated here.

[0124] When the vehicle's communication network is implemented as a domain controller architecture, Fig. 9 The network controller in can be deployed in the domain controller to achieve the service quality guarantee of the global business flow of the vehicle. For specific implementation methods, see Figure 4 and Figure 7 For the sake of brevity, the description in is not repeated here.

[0125] When the vehicle's communication network is implemented as an electronic and electrical architecture based on central computing, Fig. 9 The network controller in can be deployed in the central controller to achieve service quality assurance for the global business flow of the vehicle. For specific implementation methods, see Figure 4 and Figure 7 For the sake of brevity, the description in is not repeated here.

[0126] The vehicle includes various electronic devices, such as various sensors. The various sensors include, for example, a camera for capturing images of the vehicle's surroundings and collecting image data, and a radar for acquiring location information, distance information, speed information, etc. of an object (e.g., a vehicle in front, a pedestrian, etc.).

[0127] A vehicle may also include various control systems, such as an engine management system for generating power, a transmission control system for transmitting the power generated by the engine to the wheels, a braking system for slowing down or stopping the vehicle, and a body control system for providing comfort to the driver or ensuring the driver's safety.

[0128] Multiple ECUs are deployed in various electronic devices and various control systems on the vehicle to control the various electronic devices and various control systems to implement various functions of the vehicle and to achieve communication connections between the various electronic devices and various control systems.

[0129] For example, if the server ECU1 is deployed in the radar and the client ECU2 is deployed in the braking system, when the braking system needs to obtain the external environment information of the vehicle, ECU2 sends a subscription / call request to ECU1, and ECU2 sends a resource scheduling request message to the network controller. The network controller generates a resource scheduling strategy in the global dimension and generates a configuration file, which is sent to the relevant ECUs. The relevant ECUs perform routing forwarding and business resource scheduling according to the configuration file to enable ECU1 to provide radar services to ECU2, that is, ECU1 sends the environmental information around the vehicle obtained by the radar to ECU2. The braking system controls the vehicle's driving speed based on the external information of the vehicle obtained by ECU2.

[0130] The embodiment of the present application also provides a chip.

[0131] Fig.10 A schematic diagram of the structure of a chip provided in an embodiment of the present application.

[0132] like Fig.10 As shown, the chip 1000 includes a processor 1001, a memory 1002 and a communication interface 1003. The processor 1001, the memory 1002 and the communication interface 1003 are connected in communication, and communication can also be achieved through other means such as wireless transmission. The communication interface 1003 is used to communicate with other ECUs, such as receiving resource scheduling request messages sent by other ECUs, sending configuration files to related ECUs, etc.; the memory 1002 stores executable program codes, and the processor 1001 can call the program codes stored in the memory 1002 to execute the resource scheduling method in the aforementioned method embodiment.

[0133] It should be understood that in the embodiment of the present application, the processor 1001 may be a central processing unit CPU, and the processor 1001 may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0134] The memory 1002 may include a read-only memory and a random access memory, and provide instructions and data to the processor 1001. The memory 1002 may also include a non-volatile random access memory. For example, the memory 1002 may also store a training data set.

[0135] The memory 1002 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0136] It should be understood that the chip 1000 according to the embodiment of the present application can execute the Figure 4 and Figure 7 For the resource scheduling method shown in the figure, please refer to the above Figure 4 and Figure 7 For the sake of brevity, the specific description is omitted here.

[0137] It can be understood that the resource scheduling method, network controller and chip mentioned above can be applied not only to vehicles but also to other similar embedded systems (for example, industrial control systems, medical systems, critical infrastructure systems, etc.) to ensure the quality of service in the system.

[0138] The present application also provides a computer-readable storage medium, comprising computer instructions, which, when executed by a processor, implement the resource scheduling method described above.

[0139] The present application also provides a computer program product, which implements the resource scheduling method described above when the computer program product is run on a processor.

[0140] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0141] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented by hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0142] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation method of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A vehicle, characterized in that: Includes service demanders, service providers and network controllers; The service demander is used to send a service request message to the service provider, where the service request message is used to request the service provider to subscribe to a first service or call the first service; The service provider is used to: receiving the service request message; Generate a resource scheduling request message according to the service request message, wherein the resource scheduling request message is used to instruct the service demander to request the first service from the service provider, and is also used to indicate the requested service quality, where the requested service quality is the service quality requested by the service provider to the network controller for the first service; as well as Sending the resource scheduling request message to the network controller; The network controller is used to: receiving the resource scheduling request message; determining a quality of service for the first service according to the resource scheduling request message; Generate a configuration file according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service, wherein the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander; as well as The configuration file is sent to at least some of the multiple electronic control units, where the at least some of the electronic control units are electronic control units used to enable the service provider to provide the first service to the service demander.

2. The vehicle according to claim 1, characterized in that The quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

3. The vehicle according to claim 1, characterized in that The network controller is used to determine the quality of service for the first service according to the resource scheduling request message, including: determining that the requested quality of service cannot be met; Sending a negotiation request message to the service provider, wherein the negotiation request message is used to indicate a quality of service recommended by the network controller to the service provider; receiving a negotiation response message from the service provider, the negotiation response message being used to indicate that the service provider accepts the suggested quality of service; and determining the suggested quality of service as the quality of service for the first service.

4. The vehicle according to claim 1, characterized in that The service provider is used to act as an agent for an off-vehicle service, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with the service outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for out-vehicle communication.

5. The vehicle according to claim 1, characterized in that Before receiving the service request message, the service provider is further configured to: The services that the service provider can provide are broadcasted to the plurality of electronic control units.

6. The vehicle according to claim 1, characterized in that The service request message includes identification information of the first service, and the service provider is further configured to determine the requested quality of service according to the identification information and a preset quality of service configuration rule.

7. The vehicle according to claim 1, characterized in that The network controller, the service provider and the service demander are electronic control units in the vehicle.

8. The vehicle according to any one of claims 1 to 7, characterized in that: The network controller is used to generate a configuration file according to global network topology information indicating a connection relationship between a plurality of electronic control units in the vehicle, allocated communication resources, and the quality of service for the first service, including: Determining a communication path between the service demander and the service provider according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service; wherein at least part of the electronic control units are located on the communication path; A configuration file is generated based on the communication path and the quality of service for the first service.

9. A resource scheduling method, characterized in that: Applied to a network controller in a vehicle, the method comprises: The network controller receives a resource scheduling request message from the service provider in the vehicle, wherein the resource scheduling request message is used to indicate that the service demander in the vehicle requests a first service from the service provider, and is also used to indicate a requested service quality, wherein the requested service quality is a service quality requested by the service provider to the network controller for the first service; The network controller determines a quality of service for the first service according to the resource scheduling request message; The network controller generates a configuration file according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service, wherein the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander; The network controller sends the configuration file to at least some of the electronic control units in the vehicle, where the at least some of the electronic control units are electronic control units used to enable the service provider to provide the first service to the service demander.

10. The method according to claim 9, characterized in that The quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

11. The method according to claim 9, characterized in that The network controller determines the quality of service for the first service according to the resource scheduling request message, including: The network controller determines that the requested quality of service cannot be met; The network controller sends a negotiation request message to the service provider, where the negotiation request message is used to indicate the quality of service recommended by the network controller to the service provider; The network controller receives a negotiation response message from the service provider, the negotiation response message being used to indicate that the service provider accepts the suggested quality of service; The network controller determines the recommended quality of service as the quality of service for the first service.

12. The method according to claim 9, characterized in that The service provider is an electronic control unit used to act as an agent for off-vehicle services, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with services outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for off-vehicle communication.

13. The method according to claim 9, characterized in that The network controller, the service provider and the service demander are electronic control units in the vehicle.

14. The method according to any one of claims 9 to 13, characterized in that: The network controller generates a configuration file according to global network topology information indicating connection relationships between a plurality of electronic control units in the vehicle, allocated communication resources, and the quality of service for the first service, including: The network controller determines a communication path between the service demander and the service provider according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service; wherein at least part of the electronic control units are located on the communication path; A configuration file is generated based on the communication path and the quality of service for the first service.

15. A network controller applied to a vehicle, characterized in that: include: a communication module, configured to receive a resource scheduling request message from a service provider in the vehicle, wherein the resource scheduling request message is used to instruct the service demander in the vehicle to request a first service from the service provider, and is also used to indicate a requested service quality, wherein the requested service quality is a service quality requested by the service provider to the network controller for the first service; A service quality determination module, configured to determine the service quality for the first service according to the resource scheduling request message; a configuration file generating module, configured to generate a configuration file according to global network topology information indicating connection relationships between a plurality of electronic control units in the vehicle, allocated communication resources, and the quality of service for the first service, wherein the configuration file is used to indicate a resource allocation strategy, and the resource allocation strategy is used to enable the service provider to provide the first service to the service demander; The communication module is further used to send the configuration file to at least some of the electronic control units in the vehicle, and the at least some of the electronic control units are electronic control units used to enable the service provider to provide the first service to the service demander.

16. The network controller according to claim 15, characterized in that: The quality of service for the first service is determined through a negotiation process between the network controller and the service provider.

17. The network controller according to claim 15, characterized in that: The service quality determination module is further used to determine that the requested service quality cannot be met; The communication module is further used to send a negotiation request message to the service provider, and to receive a negotiation response message from the service provider, wherein the negotiation request message is used to indicate the quality of service recommended by the network controller to the service provider, and the negotiation response message is used to indicate that the service provider accepts the recommended quality of service; The service quality determination module is further used to determine the recommended service quality as the service quality for the first service.

18. The network controller according to claim 15, characterized in that: The service provider is an electronic control unit used to act as an agent for off-vehicle services, the first service is the off-vehicle service, the off-vehicle service is used to provide the vehicle with services outside the vehicle, and the allocated communication resources include resources for in-vehicle communication and resources for off-vehicle communication.

19. The network controller according to claim 15, characterized in that: The network controller, the service provider and the service demander are electronic control units in the vehicle.

20. The network controller according to any one of claims 15 to 19, characterized in that: The configuration file generates The module is used to generate a configuration file according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service, including: Determining a communication path between the service demander and the service provider according to the global network topology information indicating the connection relationship between the plurality of electronic control units in the vehicle, the allocated communication resources and the quality of service for the first service; wherein at least part of the electronic control units are located on the communication path; A configuration file is generated based on the communication path and the quality of service for the first service.

21. A network controller applied to a vehicle, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer program instructions, and the processor executes the computer program instructions to implement the method according to any one of claims 9 to 14.

22. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed by a processor, enable the method according to any one of claims 9 to 14 to be implemented.

23. A computer program product, characterized in that When the computer program product runs on a processor, the method according to any one of claims 9 to 14 is implemented.

Citation Information

Patent Citations

  • Method of adopting quality of transmission service in robot operating system

    CN106452841A

  • System and method for the notification of vehicle services

    CN110809015A

  • Internet of Vehicles transmission processing method and device

    CN111405552A

  • Methods, apparatuses and computer programs for a vehicle and for a base station of a mobile communication system

    CN111757299A

  • Method for sending and receiving scheduling requests and communication apparatus

    WO2021023068A1

Cited By

  • Vehicle with a SOME / IP-based service-oriented E / E architecture

    DE102025149854A1