CN112671547B - Resource allocation method, device and system for service slices in vehicle - Google Patents

Resource allocation method, device and system for service slices in vehicle Download PDF

Info

Publication number
CN112671547B
CN112671547B CN201910979542.0A CN201910979542A CN112671547B CN 112671547 B CN112671547 B CN 112671547B CN 201910979542 A CN201910979542 A CN 201910979542A CN 112671547 B CN112671547 B CN 112671547B
Authority
CN
China
Prior art keywords
service
slice
vehicle
resource
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910979542.0A
Other languages
Chinese (zh)
Other versions
CN112671547A (en
Inventor
周铮
雷骜
倪慧
朱方园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910979542.0A priority Critical patent/CN112671547B/en
Priority to PCT/CN2020/120632 priority patent/WO2021073501A1/en
Publication of CN112671547A publication Critical patent/CN112671547A/en
Application granted granted Critical
Publication of CN112671547B publication Critical patent/CN112671547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Abstract

The application discloses a resource allocation method, device and system for service slices in a vehicle. The slice management module acquires at least one piece of second resource configuration information corresponding to at least one module in the in-vehicle system according to first resource configuration information required by a service slice corresponding to in-vehicle service data in the in-vehicle system and sends the second resource configuration information to the at least one module in the in-vehicle system, and each module in the in-vehicle system acquires resources required by service data transmission and processing according to the corresponding second resource configuration information, so that resource configuration and isolation among the in-vehicle service slices can be realized, and different service requirements are met.

Description

Resource allocation method, device and system for service slices in vehicle
Technical Field
The application relates to the field of vehicle networking, in particular to a resource configuration method, device and system for service slices in a vehicle.
Background
The in-vehicle system provides the functions of safety, entertainment, energy conservation and the like for the vehicle. At present, an in-vehicle system bears different service requirements through different bus standards, different Electronic Control Units (ECUs) respectively complete own missions when in work, and exchange data and control commands through different data network protocols. With the rapid development of in-vehicle electronic systems, the number of in-vehicle ECUs, the demand for computing power, and the demand for communication bandwidth have increased substantially. Therefore, future in-vehicle systems will evolve in the following directions: the single ECU can be responsible for multiple requirements, centralization of computing capability and storage resources in the automobile and unification of hardware used by buses in the automobile.
However, although the in-vehicle systems have evolved in the above direction, it is necessary to guarantee the computing resources, storage resources and transmission resources required for the respective in-vehicle services, i.e. to achieve isolation of the above resources on the types of different in-vehicle services.
Existing fifth generation (5) th generation, 5G) the network slicing technique of mobile communication systems is a method for isolating transmission resources. The 5G network slicing technology provides mutually isolated network environments for different application scenarios in a manner of virtual independent logic networks on the same network infrastructure, so that different application scenarios can customize network functions and characteristics according to respective requirements, and quality of service (QoS) requirements of different services can be practically guaranteed. The 5G network slice is to organically combine terminal equipment, access network resources, core network resources, a network operation and management system and the like, and provide complete networks which can be independently operated and maintained and are mutually isolated for different business scenes or service types.
Fig. 1 is a schematic diagram of a conventional 5G network slice, which includes an enhanced mobile broadband (eMBB) slice, an ultra-reliable low-latency communication (URLLC) slice, and a large-scale internet of things (internet of things) slice. Since in the 5G mobile network architecture, the terminal device is a data input end, the application server of the service layer is a data processing end, and both the terminal device and the application server of the service layer are non-operator controlled, the 5G network slice mainly focuses on the slice of network transmission between the terminal and the gateway (as the dashed box in fig. 1), and does not involve the terminal and the service processing capability. The in-vehicle system is a closed and end-to-end complete system, and not only comprises a data input module such as a sensor, but also comprises a data processing module such as an automatic driving platform. Therefore, the in-vehicle system needs to slice not only on the transmission resource but also on the computing resource and the storage resource.
Therefore, the existing 5G slicing technology is not completely fit with the requirements of the in-vehicle system, and an end-to-end resource configuration scheme of the in-vehicle service slices needs to be designed, so that resource configuration and isolation among the in-vehicle service slices are realized, and different service requirements are met.
Disclosure of Invention
The application provides a resource allocation method, device and system for service slices in a vehicle, so that resource allocation and isolation among the service slices in the vehicle are realized, and different service requirements are met.
In a first aspect, a method for resource allocation of an in-vehicle service slice is provided, where the method includes: acquiring capability description information of a service slice, wherein the capability description information of the service slice is used for indicating first resource configuration information required by the service slice corresponding to service data in a vehicle in a system in the vehicle; acquiring at least one piece of second resource configuration information according to the capability description information of the service slice, wherein the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system one to one; the first resource configuration information or the at least one second resource configuration information includes at least one of: calculating resource information, storing resource information, transmitting resource information and type information of the service slice; and sending the at least one second resource configuration information to the corresponding module.
In this aspect, the resource configuration and isolation between the in-vehicle service slices can be realized by acquiring the at least one piece of second resource configuration information corresponding to the at least one module in the in-vehicle system according to the first resource configuration information required by the in-vehicle service slice corresponding to the in-vehicle service data in the in-vehicle system, and different service requirements are met.
In one implementation, at least one module in an in-vehicle system includes: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
In yet another implementation, the type of traffic slice includes at least one of: automatic driving business slices, in-vehicle entertainment slices and vehicle body safety control slices.
In yet another implementation, before obtaining the capability description information of the service slice, the method further includes: acquiring the service attribute of the in-vehicle service data triggered by a user or triggered by an in-vehicle service processing module; acquiring capability description information of a service slice, including: and acquiring the capability description information of the service slice according to the service attribute of the service data in the vehicle.
In the implementation, the capability description information of the service slice can be obtained according to the service attribute of the in-vehicle service data triggered by the user or triggered inside the in-vehicle service processing module, so that different service requirements are met. The service attribute may be a data transmission and processing requirement.
In yet another implementation, the method further comprises: receiving an access request sent by a data acquisition module, wherein the access request comprises an identifier of the data acquisition module and type information of a service slice; and responding to the access request, and acquiring at least one piece of second resource configuration information.
In the implementation, the access control module can receive the access request sent by the data acquisition module and acquire the resource configuration sent by the slice management module; or the slice management module acquires the access request received by the access control module and performs resource allocation on at least one module of the in-vehicle system according to the access request. The access request may comprise the type of the one or more service slices, i.e. the data acquisition module may be a multi-converged data acquisition module. In addition, the access control module can also perform access control on the data acquisition module.
In a second aspect, a method for resource allocation of an in-vehicle service slice is provided, where the method includes: receiving second resource configuration information, wherein the second resource configuration information is one of at least one piece of second resource configuration information, the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system one to one, and the at least one piece of second resource configuration information comprises at least one of the following: calculating resource information, storing resource information, transmitting resource information and type information of the service slice; and acquiring at least one resource required for transmitting or processing the service data in the service slice according to the second resource configuration information, wherein the at least one resource comprises: computing resources, storage resources, transmission resources.
In the aspect, by receiving at least one piece of second resource configuration information corresponding to at least one module in the in-vehicle system and acquiring resources required by service data transmission and processing according to the at least one piece of second resource configuration information, resource configuration and isolation between in-vehicle service slices can be realized, and different service requirements are met.
In one implementation, at least one module in an in-vehicle system includes: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
In yet another implementation, the type of traffic slice includes at least one of: an automatic driving business slice, an in-vehicle entertainment slice and a vehicle body safety control slice.
In yet another implementation, the method further comprises: and sending the service attribute of the in-vehicle service data.
In the implementation, the capability description information of the service slice can be obtained according to the service attribute of the in-vehicle service data triggered inside the in-vehicle service processing module, so that different service requirements are met. The service attribute may be a data transmission and processing requirement.
In another implementation, the obtaining, according to the at least one second resource configuration information, at least one resource required for transmission or processing of service data in a service slice includes: instantiating the computing resources required by the service slice according to the type information of the service slice and the computing resource information corresponding to the in-vehicle service processing module, and/or instantiating the storage resources required by the service slice according to the type information of the service slice and the storage resource information corresponding to the in-vehicle service processing module; and/or acquiring transmission resources required by the service slice according to the type information of the service slice and the transmission resource information corresponding to at least one module.
In the implementation, after at least one module in the in-vehicle system acquires the respective second resource configuration information, the resource corresponding to each module can be acquired according to the second resource configuration information, so that resource configuration and isolation between in-vehicle service slices can be realized, and different service requirements are met.
In a third aspect, an apparatus for configuring resources of an in-vehicle service slice is provided, the apparatus including: the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring capability description information of a service slice, and the capability description information of the service slice is used for indicating first resource configuration information, required by the service slice in an in-vehicle system, corresponding to in-vehicle service data; the second obtaining unit is used for obtaining at least one piece of second resource configuration information according to the capability description information of the service slice, and the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system one to one; the first resource configuration information or the at least one second resource configuration information includes at least one of: calculating resource information, storing resource information, transmitting resource information and type information of the service slice; and a sending unit, configured to send the at least one piece of second resource configuration information to a corresponding module.
In one implementation, at least one module in an in-vehicle system includes: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
In yet another implementation, the type of traffic slice includes at least one of: an automatic driving business slice, an in-vehicle entertainment slice and a vehicle body safety control slice.
In yet another implementation, the apparatus further comprises: the third acquisition unit is used for acquiring the service attribute of the in-vehicle service data triggered by the user or the in-vehicle service processing module; and the first acquisition unit is used for acquiring the capability description information of the service slice according to the service attribute of the service data in the vehicle.
In yet another implementation, the apparatus further comprises: the receiving unit is used for receiving an access request sent by the data acquisition module, wherein the access request comprises the identifier of the data acquisition module and the type information of the service slice; and a second obtaining unit, configured to obtain at least one piece of second resource configuration information in response to the access request.
In a fourth aspect, an apparatus for allocating resources of service slices in a vehicle is provided, the apparatus including: a receiving unit, configured to receive second resource configuration information, where the second resource configuration information is one of at least one piece of second resource configuration information, the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system in a one-to-one manner, and the at least one piece of second resource configuration information includes at least one of the following: calculating resource information, storing resource information, transmitting resource information and type information of the service slice; and an obtaining unit, configured to obtain, according to the second resource configuration information, at least one resource required for transmission or processing of the service data in the service slice, where the at least one resource includes: computing resources, storage resources, transmission resources.
In one implementation, at least one module in an in-vehicle system includes: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
In yet another implementation, the type of traffic slice includes at least one of: an automatic driving business slice, an in-vehicle entertainment slice and a vehicle body safety control slice.
In yet another implementation, the apparatus further comprises: and the sending unit is used for sending the service attribute of the service data in the vehicle.
In yet another implementation, the obtaining unit is configured to instantiate the computing resource required by the service slice according to the type information of the service slice and the computing resource information corresponding to the in-vehicle service processing module, and/or instantiate the storage resource required by the service slice according to the type information of the service slice and the storage resource information corresponding to the in-vehicle service processing module; and/or acquiring transmission resources required by the service slice according to the type information of the service slice and the transmission resource information corresponding to at least one module.
In a fifth aspect, a resource allocation system for service slices in a vehicle is provided, the resource allocation system including the resource allocation device according to the third aspect and the resource allocation device according to the fourth aspect.
In a sixth aspect, there is provided a computer readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform the method of any of the above first aspect or first aspect implementations or second aspect implementations.
In a seventh aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspect or the first aspect described above or of any of the second aspect or the second aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present invention, the drawings required to be used in the embodiments or the background art of the present invention will be described below.
Fig. 1 is a schematic diagram of a conventional 5G network slice;
FIG. 2 is a schematic diagram of an in-vehicle system;
fig. 3 is a schematic structural diagram of a resource allocation system for an in-vehicle service slice according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a resource allocation method for an in-vehicle service slice according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a resource allocation method for an in-vehicle business slice according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of a resource allocation apparatus for an in-vehicle service slice according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a resource allocation apparatus for an in-vehicle service slice according to an embodiment of the present application.
Detailed Description
The embodiments of the present invention will be described below with reference to the drawings.
The present application can be applied to an in-vehicle system as shown in fig. 2, which includes: the system comprises a brake system control unit 1, a vehicle-mounted radar unit 2, a power system control unit 3, a power system vehicle-mounted computer 4, a vehicle-mounted man-machine interaction device 5, a vehicle-mounted inter-system security gateway 6, a chassis state monitoring unit 7, an air bag control unit 8, a vehicle dynamic control unit 9, a vehicle dynamic decision unit 10 and the like.
The in-vehicle system can be divided into the following modules:
a data acquisition module: and is responsible for collecting data, such as various data collected by in-vehicle sensors. In the in-vehicle system, the data acquisition module may be: binocular cameras, three-dimensional laser scanning radars, long/short range radars, piezoelectric sensors, photoelectric sensors, thermoelectric sensors, and the like. For example, the data acquisition module can be the vehicle-mounted radar unit 2, the man-machine interaction device 5 in the vehicle and the chassis state monitoring unit 7 shown in fig. 2.
A data forwarding module: the data router and the central computing unit are used for coordinating data transmission in the vehicle business system and among network domains (a power assembly, a vehicle body, an infotainment system and the like) in each vehicle. As a core electronic control module for vehicle data network management, data can be transmitted between different in-vehicle domain bus systems (such as an engine compartment bus, a body electronic bus, a multimedia optical bus, and a maintenance diagnosis bus). In addition, the safety level of the in-vehicle architecture can be improved by means of the gateway, the encryption and decryption functions of data receiving/transmitting are realized, and smooth, safe and accurate communication among all the vehicle controllers is ensured. In the in-vehicle system, the data forwarding module may be: and an ECU having a data forwarding function, such as a data gateway. For example, the data forwarding module may be the in-vehicle inter-system security gateway 6 shown in fig. 2.
The in-vehicle service processing module: responsible for processing data from different sensors, such as data analysis, information synthesis, etc.; and converting the analysis result into a decision instruction. In the in-vehicle system, the in-vehicle service processing module may be: a central processing unit of an automatic driving system, a central processing unit of an in-vehicle entertainment system, a central processing unit of a vehicle body safety control system and the like. For example, the in-vehicle service processing module may be the powertrain onboard computer 4 shown in FIG. 2.
An execution module: and the system is responsible for executing corresponding actions according to decision instructions of the service processing module in the vehicle. In the in-vehicle system, the execution module may be: the system comprises a driving assistance control unit, a brake, a lane change, an emergency brake, an autonomous cruise module and the like. For example, the execution modules can be a braking system control unit 1, a power system control unit 3, an airbag control unit 8, a vehicle dynamic control unit 9 and a vehicle dynamic decision unit 10 shown in fig. 2.
The embodiment of the application provides a resource allocation method, device and system for service slices in a vehicle. The slice management module acquires at least one piece of second resource configuration information corresponding to at least one module in the in-vehicle system according to first resource configuration information required by a service slice corresponding to in-vehicle service data in the in-vehicle system and sends the second resource configuration information to the at least one module in the in-vehicle system, and each module in the in-vehicle system acquires resources required by service data transmission and processing according to the corresponding second resource configuration information, so that resource configuration and isolation among the in-vehicle service slices can be realized, and different service requirements are met.
The following describes a resource allocation system for an in-vehicle service slice provided in an embodiment of the present application. As shown in fig. 3, the resource allocation system 1000 includes at least one module 11 in an in-vehicle system, where the in-vehicle system includes the at least one module: the system comprises a data acquisition module 111, a data forwarding module 112, an in-vehicle service processing module 113 and an execution module 114. The resource configuration system 1000 may also include an access control module 12 and a slice management module 13. The resource allocation system is used for realizing resource allocation of at least one module in the in-vehicle system. The access control module 12 is configured to control access to the data acquisition module 11, and may also implement authentication and authorization on the data acquisition module 11. The slice management module 13 is configured to determine resources required in a service slice.
The workflow inside the resource allocation system will be described in detail below with reference to the accompanying drawings:
referring to fig. 4, a flow chart of a resource allocation method for an in-vehicle service slice according to an embodiment of the present application is schematically shown, where the method exemplarily includes the following steps:
s101, the slice management module acquires capability description information of the service slice, wherein the capability description information of the service slice is used for indicating first resource configuration information, required by the service slice in the in-vehicle system, corresponding to the in-vehicle service data.
In the embodiment, the in-vehicle network environment isolated from each other is provided for different service application scenes in a manner of virtualizing the independent logic network on a uniform hardware resource, so that the network functions and characteristics of different service application scenes can be customized according to respective requirements, and the service quality requirements of different services can be practically guaranteed. Specifically, the in-vehicle services include the following types of service slices: the system comprises an automatic driving business slice, an in-vehicle entertainment business slice, a vehicle body safety control business slice and the like.
Illustratively, the functions provided by the autopilot service slice, the in-vehicle entertainment service slice, and the body safety control service slice are described separately as follows:
Automatic driving business slicing: the safety level is high, strong software and hardware technical support is needed, and an integrated intelligent network is formed under the mutual cooperation of various sensors (such as a binocular camera and a three-dimensional laser scanning radar). For example: automatic driving functions such as an autonomous cruise system, remote garage parking, safe automatic following of a preceding vehicle under the condition of traffic congestion and the like all belong to the scope of the slice, so that resources occupied by data transmission of the automatic driving business slice need to be guaranteed urgently. It should be noted that the names of the above types of the automatic driving service slices are only examples, and other representations may also be used, such as driving service slices, intelligent driving service slices, and so on.
Slicing the in-vehicle entertainment business: the safety level is low, the entertainment system is mainly used for a driver to enjoy entertainment, functions such as a multimedia system, a radio and the like can be divided into the category of the slices, and data transmission resources required by the in-vehicle entertainment slices can be lower than those of the in-vehicle safety control slices. It should be noted that the names of the in-vehicle entertainment service slices are only examples, and other representations such as entertainment service slices, smart entertainment service slices, and the like can also be used.
Slicing safety control business of the vehicle body: the safety level is middle, the overall comfort and safety of the vehicle are guaranteed, and the vehicle enters a system, enters a trunk, a window or a roof locking system and then enters an illumination control system and can be divided into the slice category. The data transmission resources required for the body safety control slice may be lower than the autopilot service slice. It should be noted that, the names of the foregoing car body safety control service slices are only examples, and other representation manners, such as car body control slices, intelligent car body safety service slices, and the like, may also be used.
It should be noted that the in-vehicle service slices in the present invention include, but are not limited to, the above-mentioned several in-vehicle service slices, and may also be in-vehicle service slices of other names or types.
There are different resource requirements for different types of traffic slices. The capability description information of the service slice can be used for indicating first resource configuration information required by the service slice corresponding to the in-vehicle service data in the in-vehicle system. The first resource configuration information includes at least one of: computing resource information, storing resource information, transmitting resource information, and type information of the service slice. The first resource configuration information may be understood as description information of resources required by the service slice in the in-vehicle system.
The transmission resource included in the first resource configuration information may include corresponding security encryption information required by the service slice in the whole in-vehicle system, a slice transmission identifier, a transmission path corresponding to service data to be transmitted in the service slice, and quality of service (QoS) requirements such as bandwidth, delay, packet loss rate, reliability, and the like required on the transmission path. The computing resource included in the first resource configuration information may include a Central Processing Unit (CPU) resource and the like required by the service slice in the whole in-vehicle system. The storage resource included in the first resource configuration information may include a storage space size required by the service slice in the entire in-vehicle system, and the like.
The slice management module performs resource allocation on at least one module in the in-vehicle system in a unified manner, so that the slice management module acquires capability description information of the service slice. The in-vehicle system comprises at least one of the following modules: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module. For example, in a non-urban area, data acquired by a camera, a sensor and a radar required for automatic driving needs to be expanded and corresponding processing capacity needs to be enhanced so as to adapt to an environment without a vehicle networking, and then the slice management module acquires first resource configuration information required by an automatic driving service slice corresponding to service data in a vehicle system. For another example, when the entertainment service of the application layer program of the human-computer interaction system temporarily calls the data of the vehicle-mounted camera, the slice management module acquires first resource configuration information, required by the in-vehicle entertainment service slice corresponding to the in-vehicle service data, in the in-vehicle system.
The type information of the service slice may be an identifier of the service slice, that is, the identifier of the service slice may be used to identify the type of the service slice. Of course, the type information of the service slice may also be other representation manners, for example, the service type name of the service slice is used to represent the type of the service slice.
Optionally, in some embodiments, before the slice management module obtains the capability description information of the service slice, the data acquisition module sends a service attribute of the in-vehicle service data, and accordingly, the slice management module obtains the service attribute of the in-vehicle service data triggered by the user or triggered by the in-vehicle service processing module; and the slice management module acquires the capability description information of the service slice according to the service attribute of the service data in the vehicle. The service attribute of the in-vehicle service data may be a transmission or processing requirement of the service data.
In specific implementation, the slice management module may obtain the capability description information of the service slice based on external requirements or internal requirements. The external requirements are, for example, business attributes of the in-vehicle business data triggered by the user through the human-computer interaction page. The internal requirements can be triggered by the in-vehicle service processing module according to the service attributes of the in-vehicle service data. The in-vehicle service processing module acquires the service attribute of the externally or internally triggered in-vehicle service data, sends the service attribute of the in-vehicle service data to the data forwarding module, and sends the service attribute of the in-vehicle service data to the slice management module through the data forwarding module and/or the data gateway. And in the process of sending the service attribute of the service data in the vehicle, the type information of the service slice can be carried. And the slice management module acquires the capability description information of the service slice according to the real-time service attribute of the service data in the vehicle.
S102, the slice management module acquires at least one piece of second resource configuration information according to the capability description information of the service slice.
The slice management module divides various resources of the in-vehicle system, and realizes the isolation of resource allocation among a plurality of service slices. And acquiring at least one second resource configuration information corresponding to each service slice according to the capability description information of each service slice, namely according to first resource configuration information, required by the service slice in the in-vehicle system, corresponding to the in-vehicle service data. The at least one second resource configuration information includes at least one of: computing resource information, storing resource information, transmitting resource information, and type information of the service slice. The at least one second resource configuration information corresponds to the type of the service slice, and the at least one second resource configuration information corresponds to at least one module in the in-vehicle system one to one. The second resource configuration information may be understood as a configuration scheme of the slice management module for the resource.
The transmission resource included in the second resource configuration information may include security encryption information corresponding to at least one service slice required by at least one module related to the in-vehicle system service slice, a slice transmission identifier, a transmission path corresponding to service data to be transmitted in the service slice, and service quality requirements such as bandwidth, time delay, packet loss rate, reliability and the like required on the transmission path. The second resource configuration information may include computing resources including central processing unit resources required for the runtime of at least one module involved in the in-vehicle business slice, and so on. The second resource configuration information may include a storage resource including a size of a storage space required by at least one module related to the in-vehicle system service slice, and the like.
When the service data is transmitted in different modules or data gateways in the service slice, a plurality of slice transmission identifiers can be adopted, and the plurality of slice transmission identifiers correspond to the same type of the service slice.
Illustratively, the capability description information of the autopilot slice is used as an example:
in the whole in-vehicle system, the transmission resource included in the first resource configuration information is 10MB of bandwidth, the calculation resource is a CPU calculation resource reserved for 40%, and the storage resource is 8GB of memory space.
The slice management module obtains at least one piece of second resource configuration information according to the capability description information of the service slice, and the method may be:
in block 1, the second resource allocation information includes transmission resources with a bandwidth of 10 MB.
In the module 2, the transmission resource included in the second resource configuration information is 10MB bandwidth, the computing resource is a CPU computing resource reserved for 40%, and the storage resource is 8GB memory space.
The module 1 and the module 2 may be any module in an in-vehicle system corresponding to an automatic driving slice.
And S103a to S103e, the slice management module sends the at least one piece of second resource configuration information to the corresponding module.
Accordingly, each module in the in-vehicle system receives the second resource configuration information. The second resource allocation information is one of the at least one second resource allocation information.
During specific implementation, the slice management module sends the acquired at least one piece of second resource configuration information to a corresponding module in the in-vehicle system. The slice management module sends the second resource configuration information corresponding to the data acquisition module; sending second resource configuration information corresponding to the data forwarding module; sending second resource configuration information corresponding to the in-vehicle service processing module; and sending the second resource configuration information corresponding to the execution module. Optionally, if the in-vehicle system further includes one or more data gateways, second resource configuration information corresponding to the data gateways is sent to the data gateways.
S104, each module in the in-vehicle system acquires at least one resource required by the service data for transmission or processing in the service slice according to the corresponding second resource configuration information, wherein the at least one resource comprises: computing resources, storage resources, transmission resources.
Each module in the in-vehicle system acquires at least one resource required for transmission or processing of the service data in the service slice according to the corresponding second resource configuration information, that is, each module allocates at least one resource included in the second resource configuration information to the service slice. For example, in non-urban areas, the capacity of data collected by a camera, a sensor and a radar required by automatic driving needs to be expanded, and corresponding processing capacity needs to be enhanced, so that the non-vehicle networking environment is adapted. The in-vehicle service processing module reserves 40% of CPU (central processing unit) computing resources of the in-vehicle system for the automatic driving service slice according to the computing resources included in the second resource configuration information; reserving 8GB memory space of the in-vehicle system for the automatic driving business slice according to the storage resources included by the second resource configuration information; and reserving 60% or 50MB of bandwidth for the automatic driving traffic slice to use according to the transmission resource included in the second resource configuration information.
According to the resource allocation method for the service slices in the vehicle, the slice management module acquires at least one piece of second resource allocation information corresponding to at least one module in the vehicle interior system according to first resource allocation information, required by the service slices corresponding to the service data in the vehicle interior system, of the service slices in the vehicle interior system and sends the second resource allocation information to the at least one module in the vehicle interior system, and each module in the vehicle interior system acquires resources required by service data transmission and/or processing according to the corresponding second resource allocation information, so that resource allocation and isolation among the service slices in the vehicle interior can be realized, and different service requirements are met.
Referring to fig. 5, a schematic flowchart of a resource allocation method for a service slice in a vehicle according to another embodiment of the present application is shown, where the method exemplarily includes the following steps:
s201, the slice management module acquires capability description information of the service slice, wherein the capability description information of the service slice is used for indicating first resource configuration information, required by the service slice corresponding to the service data in the vehicle, in the vehicle system.
The specific implementation of this step can refer to step S101 in the embodiment shown in fig. 4.
S202, the data acquisition module sends an access request to the data gateway, wherein the access request comprises the identification of the data acquisition module and the type information of the service slice.
Accordingly, the data gateway receives the access request.
The difference between this embodiment and the foregoing embodiment is that the slice management module is triggered to acquire at least one piece of second resource configuration information of the service slice only when receiving the access request sent by the data acquisition module.
Assuming that the access control module communicates with other modules through the data gateway, the data acquisition module sends an access request to the data gateway, where the access request includes an identifier of the data acquisition module and type information of a service slice.
It will be appreciated that the data collection module may access one or more service slices, and thus, the access request includes an identification of the data collection module and type information for the one or more service slices. Taking the example that the data acquisition module is a sensor (sensor), the data acquisition module is a fused sensor. The merged sensor refers to a sensor that integrates various sensor functions, such as a function of supporting an Advanced Driving Assistance System (ADAS) slice camera overlay supporting a gas concentration sensor.
S202a, optionally, if the in-vehicle system does not include a data gateway, the data acquisition module sends an access request to the access control module, where the access request includes an identifier of the data acquisition module and type information of the service slice.
S203, the data gateway sends an access request to the access control module, wherein the access request comprises the identification of the data acquisition module and the type information of the service slice.
And after acquiring the access request sent by the data acquisition module, the data gateway forwards the access request to the access control module.
S204, the access control module judges whether the data acquisition module is allowed to access the requested network slice.
The access control module can control the access of the data acquisition module. This step is an optional step. Indicated by dashed lines in the figure.
The access control module may store a correspondence between the identifier of the data acquisition module and the accessible network slice, as shown in table 1 below:
TABLE 1
Type of data acquisition Module Type of business slice in vehicle
Sensor ID-1 Slice ID-1
Sensor ID-2 Slice ID-2
In table 1, if the data acquisition module is an in-vehicle function module such as a Sensor, the identifier of the data acquisition module is a Sensor ID. The access control module can judge whether to allow the data acquisition module to access the requested network slice according to the table 1, the identification of the data acquisition module carried in the access request and the type information of the requested access service slice.
S205, when the data acquisition module is allowed to access the requested network slice, the access control module sends a resource configuration acquisition request to the slice management module, wherein the resource configuration acquisition request comprises the identifier of the data acquisition module and the type information of the service slice.
Accordingly, the slice management module receives the resource configuration acquisition request.
In this embodiment, the slice management module performs resource allocation on at least one module in the in-vehicle system in a unified manner, so that when the access control module allows the data acquisition module to access the requested network slice, the access control module sends a resource allocation acquisition request to the slice management module.
S206, the slice management module acquires at least one piece of second resource configuration information according to the capability description information of the service slice, wherein the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system one to one; the second resource configuration information includes at least one of: computing resource information, storing resource information, transmitting resource information, and type information of the service slice.
In this embodiment, the data acquisition module may support multiple types of service slices, so that resource configuration of each module in the in-vehicle system is required to be configured according to different types of service slices, and the description will be given by taking the example in which the data acquisition module supports type 1 of a service slice and type 2 of a service slice. The business slice data of the type 1 is transmitted and/or processed in the in-vehicle system 1, and the business slice data of the type 2 is transmitted and/or processed in the in-vehicle system 2. The in-vehicle system 1 comprises a data acquisition module, a data forwarding module-1, an in-vehicle business processing module-1 and an execution module-1; the in-vehicle system 2 comprises a data acquisition module, a data forwarding module-2, an in-vehicle business processing module-2 and an execution module-2. It is understood that the in-vehicle system 1 and the in-vehicle system 2 may be the same system, but logically isolated; or may be physically isolated multiple systems.
When the data collection module supports the service slice type 1, the second resource configuration of each module in the in-vehicle system may be:
the second resource configuration information 1 'of the data acquisition module includes a type 1 of the service slice, a slice transmission identifier 1' corresponding to the type 1 of the service slice, and a transmission resource 1 'corresponding to the slice transmission identifier 1'. Optionally, the second resource configuration information 1 'may further include a computing resource and a storage resource corresponding to the slice transmission identifier 1'. Specifically, the transmission resource 1' may include security encryption information corresponding to the service slice, a transmission path (for example, a next hop node to which the data is sent: a data forwarding module) corresponding to service data to be transmitted in the service slice, and QoS requirements such as bandwidth, delay, packet loss rate, and reliability required on the transmission path. The computing resources may include CPU resources required by the data acquisition module when running, and the like. The storage resources may include storage space size, etc.
The second resource configuration information 2 'of the data forwarding module-1 may include a type 1 of the service slice, a slice transmission identifier 2' corresponding to the type 1 of the service slice, and a transmission resource 2 'corresponding to the slice transmission identifier 2'. Optionally, the second resource configuration information 2 'may further include a computing resource and a storage resource corresponding to the slice transmission identifier 2'. Specifically, the transmission resource 2' may include security encryption information corresponding to the service slice, a transmission path corresponding to service data to be transmitted in the service slice (for example, a next hop node to which the data is sent: an in-vehicle service processing module), and QoS requirements such as bandwidth, delay, packet loss rate, and reliability required on the transmission path. The computing resources may include CPU resources, etc. required by the data forwarding module-1 when running. The storage resources may include storage space size, etc.
The second resource configuration information 3 'of the in-vehicle service processing module-1 may include a type 1 of the service slice, a slice transmission identifier 3' corresponding to the type 1 of the service slice, a transmission resource 3 'corresponding to the slice transmission identifier 3', a calculation resource 3', and a storage resource 3'; specifically, the transmission resource 3' may include security encryption information corresponding to the service slice, a transmission path (for example, a next hop node to which the data is sent: an execution module) corresponding to service data to be transmitted in the service slice, and QoS requirements such as bandwidth, delay, packet loss rate, reliability, and the like required on the transmission path. The computing resources may include CPU resources required by the in-vehicle transaction processing module-1 when running, and the like. The storage resources may include storage space size, and the like.
The second resource configuration information 4 'of the execution module-1 may include a type 1 of the traffic slice, a slice transmission identification 4' corresponding to the type 1 of the traffic slice, and a transmission resource 4 'corresponding to the slice transmission 4 identification'. Optionally, the second resource configuration information 4 'may further include a computing resource and a storage resource corresponding to the slice transmission 4 identification'. The transmission resource 4' may include security encryption information corresponding to the service slice, a transmission path corresponding to service data to be transmitted in the service slice, and QoS requirements such as bandwidth, delay, packet loss rate, reliability, and the like required on the transmission path. The computing resources may include CPU resources, etc., needed to execute the run of module-1. The storage resources may include storage space size, etc.
When the data collection module supports the service slice type 2, the resource configuration of each module in the in-vehicle system may be:
the second resource configuration information 1 'of the data acquisition module may refer to the foregoing description, and for distinction, the second resource configuration information 1' includes a type 2 of a service slice, a slice transmission identifier 1 "corresponding to the type 2 of the service slice, and a transmission resource 1" corresponding to the slice transmission identifier 1". Optionally, the second resource configuration information 1' may further include a computing resource and a storage resource corresponding to the slice transmission identification 1 ″. It can be understood that the second resource configuration information of the data acquisition module corresponding to the type 1 and the second resource configuration information of the data acquisition module corresponding to the type 2 may be stored in the data acquisition modules in a unified manner or separately.
The second resource configuration information 5 'of the data forwarding module-2 may refer to the foregoing description, and for the sake of distinction, the second resource configuration information 5' includes type 2 of the traffic slice, slice transmission identification 2 corresponding to type 2 of the traffic slice, and transmission resource 2 corresponding to slice transmission identification 2 ″. Optionally, the second resource configuration information 5' may further include a computing resource and a storage resource corresponding to the slice transmission identification 2 ″. The computing resources may include CPU resources, etc., needed by the data forwarding module-2 when running. The storage resources may include storage space size, and the like.
The second resource configuration information 6 'of the in-vehicle service processing module-2 may refer to the foregoing description, and for the sake of distinction, the second resource configuration information 6' includes the type 2 of the service slice, the slice transmission identifier 3 corresponding to the type 2 of the service slice, the transmission resource 3 "corresponding to the slice transmission identifier 3", the calculation resource 3 "and the storage resource 3" required for the operation of the in-vehicle service processing module-2.
The second resource configuration information 7 'of the execution module-2 may refer to the foregoing description, and for the sake of distinction, the second resource configuration information 7' includes a type 2 of a traffic slice, a slice transmission identification 4 "corresponding to the type 2 of the traffic slice, and a transmission resource 4" corresponding to the slice transmission identification 4". Optionally, the second resource configuration information 7' may further include a computing resource and a storage resource corresponding to the slice transmission identification 4 ″. The computing resources may include CPU resources, etc., needed to execute the module-2 runtime. The storage resources may include storage space size, etc.
Optionally, assuming that a module in the in-vehicle system communicates with the access control module through the data gateway, for the type 1 of the service slice, the second resource configuration information 8 'of the data gateway includes the type 1 of the service slice, a slice transmission identifier 5' corresponding to the type 1 of the service slice, and a transmission resource 5 'corresponding to the slice transmission identifier 5'. Optionally, the second resource configuration information 8 'may further include a computing resource and a storage resource corresponding to the slice transmission identifier 5'. And for type 2 of the service slice, the second resource configuration information 8' of the data gateway includes type 2 of the service slice, a slice transmission identifier 5 ″ corresponding to type 2 of the service slice, and a transmission resource 5 ″ corresponding to slice transmission identifier 5 ″. Optionally, the second resource configuration information 8' may further include a computing resource and a storage resource corresponding to the slice transmission identification 5 ″. Specifically, the transmission resource 5' and the transmission resource 5 ″ may include security encryption information corresponding to the service slice, a transmission path (for example, a next hop node to which the data is sent: a data forwarding module) corresponding to service data to be transmitted in the service slice, and QoS requirements such as bandwidth, delay, packet loss rate, reliability, and the like required on the transmission path. The computing resources may include CPU resources, etc., needed by the data gateway to run. The storage resources may include storage space size, etc.
S207, the slice management module sends a resource configuration acquisition response to the access control module, wherein the resource configuration acquisition response comprises the identifier of the data acquisition module, the type information of the service slice and at least one piece of second resource configuration information.
Accordingly, the access control module receives the resource configuration acquisition response.
And after acquiring the at least one piece of second resource configuration information, the slice management module sends a resource configuration acquisition response to the access control module.
S208, the access control module sends an access request response to the data acquisition module through the data gateway, wherein the access request response comprises the identifier of the data acquisition module, the type information of the service slice and the second resource configuration information 1'.
Accordingly, the data acquisition module receives the access request response.
And the access control module sends an access request response to the data acquisition module after receiving the at least one piece of second resource configuration information sent by the slice management module. The access request response includes the identifier of the data acquisition module, the type information of the service slice, and the second resource configuration information 1', and may further include an authorized access indication. The authorized access indication indicates that the data collection module is allowed to access the requested network slice. The second resource allocation information 1' is one of at least one second resource allocation information, and is resource allocation information of the data acquisition module. The second resource configuration information 1' includes transmission resource information. The second resource configuration information 1' may also include computing resources and storage resources.
S209a to S209g access control modules respectively send data forwarding authorization instructions to the data forwarding module-1, the in-vehicle business processing module-1 and the execution module-1 of the in-vehicle system 1, and the data forwarding module-2, the in-vehicle business processing module-2 and the execution module-2 of the in-vehicle system 2, wherein the data forwarding authorization instructions comprise second resource configuration information of the modules.
It is still exemplified that the data acquisition module supports type 1 of service slice and type 2 of service slice. When the data acquisition module supports the service slice type 1, the access control module sends a data forwarding authorization indication to the data forwarding module-1, the in-vehicle service processing-1 and the execution module-1. The data forwarding authorization indication sent to the data forwarding module-1 includes an identifier of the data acquisition module and second resource configuration information 2' of the data forwarding module-1. The data forwarding authorization indication sent to the in-vehicle service processing module-1 includes the identifier of the data acquisition module and the second resource configuration information 3' of the in-vehicle service processing module-1. The data forwarding authorization indication sent to the execution module-1 includes the identifier of the data collection module and the resource configuration information 4' of the execution module-1. Specifically, the second resource configuration information obtained by these modules is as follows:
The second resource configuration information 2 'acquired by the data forwarding module-1 includes a type 1 of the service slice, a slice transmission identifier 2' corresponding to the type 1 of the service slice, and a transmission resource 2 'corresponding to the slice transmission identifier 2'. Optionally, the second resource configuration information 2 'may further include a computing resource and a storage resource corresponding to the slice transmission identifier 2'.
The second resource configuration information 3 'acquired by the in-vehicle service processing module-1 includes the type 1 of the service slice, a slice transmission identifier 3' corresponding to the type 1 of the service slice, a transmission resource 3 'corresponding to the slice transmission identifier 3', a calculation resource 3 'and a storage resource 3'.
The second resource configuration information 4 'acquired by the execution module-1 includes the type 1 of the service slice, a slice transmission identifier 4' corresponding to the type 1 of the service slice, and a transmission resource 4 'corresponding to the slice transmission identifier 4'. Optionally, the second resource configuration information 4 'may further include a computing resource and a storage resource corresponding to the slice transmission identifier 4'.
When the data acquisition module supports the service slice type 2, the access control module sends a data forwarding authorization instruction to the data forwarding module-2, the in-vehicle service processing module-2 and the execution module-2. The data forwarding authorization indication sent to the data forwarding module-2 includes an identifier of the data acquisition module and second resource configuration information 5' of the data forwarding module-2. The data forwarding authorization indication sent to the in-vehicle transaction processing-2 includes the identification of the data acquisition module, the resource configuration information 6' of the in-vehicle transaction processing-2. The data forwarding authorization indication sent to the execution module-2 includes the identification of the data collection module, and the second resource configuration information 7' of the execution module-2.
Specifically, the second resource configuration information obtained by each module is as follows:
the second resource configuration information 5' acquired by the data forwarding module-2 includes the type 2 of the service slice, a slice transmission identifier 2 corresponding to the type 2 of the service slice, and a transmission resource 2 corresponding to the slice transmission identifier 2 ″. Optionally, the second resource configuration information 5' may further include a computing resource and a storage resource corresponding to the slice transmission identification 2 ″.
The second resource configuration information 6' obtained by the in-vehicle service processing-2 includes the type 2 of the service slice, the slice transmission identifier 6 corresponding to the type 2 of the service slice, the transmission resource 6", the calculation resource 6", and the storage resource 6 "corresponding to the slice transmission identifier 6".
The second resource configuration information 7' acquired by the execution module-2 includes the type 2 of the service slice, a slice transmission identifier 7 "corresponding to the type 2 of the service slice, and a transmission resource 7" corresponding to the slice transmission identifier 7". Optionally, the second resource configuration information 7' may further include a computing resource and a storage resource corresponding to the slice transmission identification 7 ″.
Optionally, if the data gateway is deployed in the in-vehicle system, the method further includes: and the access control module sends a data forwarding authorization indication to the data gateway, wherein the data forwarding authorization indication comprises the identifier of the data acquisition module, the slice transmission identifier and second resource configuration information 8' of the data gateway. The second resource configuration information 8 'obtained by the data gateway includes the type 1 of the service slice, the slice transmission identifier 8' corresponding to the type 1 of the service slice, the transmission resource 8 'corresponding to the slice transmission identifier 8', the type 2 of the service slice, the slice transmission identifier 8 ″ corresponding to the type 2 of the service slice, and the transmission resource 8 ″ corresponding to the slice transmission identifier 8 ″.
S210, the in-vehicle service processing module instantiates the computing resources needed by the service slice according to the type information of the service slice and the computing resource information corresponding to the in-vehicle service processing module, and/or instantiates the storage resources needed by the service slice according to the type information of the service slice and the storage resource information corresponding to the in-vehicle service processing module.
The in-vehicle business processing module needs to process data, convert a data processing result into a decision instruction or present the decision instruction to an in-vehicle user through an in-vehicle man-machine interaction page, and store an intermediate result and a final result of the data processing. Thus, the in-vehicle transaction processing module requires computational resources and memory resources.
And the in-vehicle service processing module instantiates the computing resource required by the service slice according to the type information of the accessed service slice and the computing resource information corresponding to the in-vehicle service processing module, wherein the computing resource corresponds to the type of the accessed service slice. Specifically, for example, in non-urban areas, it is necessary to expand the data collected by the cameras, sensors, and radar required for autonomous driving and enhance the corresponding processing capability to adapt to the environment without the internet of vehicles. And reserving 40% of CPU (central processing unit) computing resources of the in-vehicle system for the automatic driving business slice by the in-vehicle business processing module according to the computing resources included in the second resource configuration information.
And the in-vehicle service processing module instantiates the storage resource required by the service slice according to the type information of the accessed service slice and the storage resource information corresponding to the in-vehicle service processing module, wherein the storage resource corresponds to the type of the accessed service slice. Specifically, in the above example, according to the storage resource included in the second resource configuration information, the memory space of 8GB of the in-vehicle system is reserved for the autopilot service slice.
And S211, each module in the in-vehicle system acquires transmission resources required by the service slice according to the type information of the service slice and the transmission resource information corresponding to the module.
Each module in the in-vehicle system needs to transmit the service data to the next module, and transmission resources need to be allocated. The transmission resource includes a transmission path (for example, a next hop node to which the data is sent: a data forwarding module), a bandwidth, a time delay, a packet loss rate, reliability, and the like. And each module in the in-vehicle system acquires transmission resources required by the service slices according to the type information of the service slices and the transmission resource information corresponding to the module. Specifically, the data acquisition module reserves transmission resources required by the service slice according to transmission resource information included in the second resource configuration information 1; the data forwarding module reserves transmission resources required by the service slice according to transmission resource information included in the second resource configuration information 2; the in-vehicle service processing module reserves transmission resources required by the service slice according to the transmission resource information included in the second resource configuration information 3; and the execution module reserves the transmission resource required by the service slice according to the transmission resource information included in the second resource configuration information 4.
Alternatively, the slice management function may be performed by a plurality of independent modules, for example, a slice management module and a slice configuration module. The slice configuration module is used for storing the capability description information of the service slice and indicating other modules to access the service slice. For example, in step S201, after acquiring the capability description information of the service slice, the slice management module may send a capability description storage indication message to the slice configuration module, and the slice configuration module receives and stores the capability description information of the service slice. And then, the slice configuration module acquires at least one piece of second resource configuration information according to the capability description information of the service slice, and sends a resource configuration acquisition response to the access control module and respectively sends the data forwarding authorization indication to other modules in the in-vehicle system.
According to the resource allocation method for the service slices in the vehicle, the slice management module acquires at least one piece of second resource allocation information corresponding to at least one module in the vehicle interior system according to first resource allocation information, required by the service slices corresponding to the service data in the vehicle interior system, of the service slices in the vehicle interior system and sends the second resource allocation information to the at least one module in the vehicle interior system, and each module in the vehicle interior system acquires resources required by service data transmission and processing according to the corresponding second resource allocation information, so that resource allocation and isolation among the service slices in the vehicle interior can be achieved, and different service requirements are met.
While method embodiments of the present application are described above, apparatus embodiments of the present application are described below:
based on the same concept of the foregoing method for allocating resources to the in-vehicle business slices, as shown in fig. 6, an embodiment of the present application further provides a device for allocating resources to the in-vehicle business slices. The resource configuration device 2000 may be the access control module 12 or the slice management module 13 in the resource configuration system shown in fig. 3. The resource allocation apparatus 2000 includes a first obtaining unit 21, a second obtaining unit 22 and a sending unit 23, and may further include a third obtaining unit 24 and a receiving unit 25. Exemplarily, the following steps are carried out:
the first obtaining unit 21 is configured to obtain capability description information of a service slice, where the capability description information of the service slice is used to indicate first resource configuration information, required by the service slice corresponding to the in-vehicle service data in the in-vehicle system;
a second obtaining unit 22, configured to obtain at least one piece of second resource configuration information according to the capability description information of the service slice, where the at least one piece of second resource configuration information corresponds to at least one module in an in-vehicle system one to one; the first resource configuration information or the at least one second resource configuration information includes at least one of: calculating resource information, storing resource information, transmitting resource information and type information of the service slice;
A sending unit 23, configured to send the at least one second resource configuration information to a corresponding module.
In one implementation, at least one module in the in-vehicle system includes: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
In yet another implementation, the type of the traffic slice includes at least one of: automatic driving business slices, in-vehicle entertainment slices and vehicle body safety control slices.
In yet another implementation, the third obtaining unit 24 is configured to obtain a service attribute of the in-vehicle service data triggered by a user or triggered by the in-vehicle service processing module;
the first obtaining unit 21 is configured to obtain capability description information of the service slice according to a service attribute of the in-vehicle service data.
In yet another implementation, the receiving unit 25 is configured to receive an access request sent by the data acquisition module, where the access request includes an identifier of the data acquisition module and type information of the service slice;
the second obtaining unit 22 is configured to obtain the at least one second resource configuration information in response to the access request.
The specific implementation of the above units may refer to the description of the access control module or the slice management module in the resource allocation method shown in fig. 4 or fig. 5.
According to the resource configuration device for the in-vehicle service slices, provided by the embodiment of the application, the at least one piece of second resource configuration information corresponding to the at least one module in the in-vehicle system is obtained according to the first resource configuration information, required by the service slices corresponding to the in-vehicle service data in the in-vehicle system, so that the resource configuration and isolation among the in-vehicle service slices can be realized, and different service requirements are met.
Based on the same concept of the foregoing method for allocating resources to the in-vehicle business slices, as shown in fig. 7, an embodiment of the present application further provides a device for allocating resources to the in-vehicle business slices. The resource allocation apparatus 3000 may be any module in an in-vehicle system in the resource allocation system shown in fig. 3. The resource allocation apparatus 3000 includes a receiving unit 31 and an obtaining unit 32, and may further include a transmitting unit 33. Exemplarily, the following steps are carried out:
a receiving unit 31, configured to receive second resource configuration information, where the second resource configuration information is one of at least one piece of second resource configuration information, the at least one piece of second resource configuration information corresponds to at least one module in an in-vehicle system in a one-to-one manner, and the at least one piece of second resource configuration information includes at least one of the following: calculating resource information, storing resource information, transmitting resource information and type information of the service slice; and an obtaining unit 32, configured to obtain, according to the second resource configuration information, at least one resource that is required for transmission or processing of service data in the service slice, where the at least one resource includes: computing resources, storage resources, transmission resources.
In one implementation, at least one module in the in-vehicle system includes: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
In yet another implementation, the type of the traffic slice includes at least one of: automatic driving business slices, in-vehicle entertainment slices and vehicle body safety control slices.
In yet another implementation, the sending unit 33 is configured to send the service attribute of the in-vehicle service data.
In yet another implementation, the obtaining unit 32 is configured to instantiate the computing resource required by the service slice according to the type information of the service slice and the computing resource information corresponding to the in-vehicle service processing module, and/or instantiate the storage resource required by the service slice according to the type information of the service slice and the storage resource information corresponding to the in-vehicle service processing module; and/or acquiring transmission resources required by the service slice according to the type information of the service slice and the transmission resource information corresponding to the at least one module.
The specific implementation of each unit described above can refer to the description of any module in the in-vehicle system in the resource allocation method shown in fig. 4 or fig. 5.
According to the resource allocation device for the service slices in the vehicle, provided by the embodiment of the application, the resource allocation and isolation among the service slices in the vehicle can be realized by receiving at least one piece of second resource allocation information corresponding to at least one module in the vehicle system and acquiring the resources required by service data transmission and processing according to the at least one piece of second resource allocation information, so that different service requirements are met.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program or instructions are stored, and when the computer program or instructions are executed, the method of the foregoing aspects is implemented.
Embodiments of the present application also provide a computer program product comprising instructions which, when executed on a computer, cause the computer to perform the method according to the above aspects.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the division of the unit is only one logical function division, and other division may be implemented in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. The shown or discussed mutual coupling, direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a read-only memory (ROM), or a Random Access Memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a Digital Versatile Disk (DVD), or a semiconductor medium, such as a Solid State Disk (SSD).

Claims (22)

1. A resource allocation method for in-vehicle service slices, the method comprising:
acquiring capability description information of a service slice, wherein the capability description information of the service slice is used for indicating first resource configuration information required by the service slice corresponding to service data in a vehicle in a system in the vehicle;
acquiring at least one piece of second resource configuration information according to the capability description information of the service slice, wherein the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system one to one; the first resource configuration information or the at least one second resource configuration information includes at least one of: calculating resource information, storing resource information, transmitting resource information and type information of the service slice;
and sending the at least one second resource configuration information to a corresponding module.
2. The method of claim 1, wherein at least one module in the in-vehicle system comprises: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
3. The method of claim 1 or 2, wherein the type of the traffic slice comprises at least one of: automatic driving business slices, in-vehicle entertainment slices and vehicle body safety control slices.
4. The method according to claim 1 or 2, wherein before obtaining capability description information of a service slice, the method further comprises:
acquiring the service attribute of the in-vehicle service data triggered by a user or triggered by the in-vehicle service processing module;
the acquiring capability description information of the service slice includes:
and acquiring the capability description information of the service slice according to the service attribute of the service data in the vehicle.
5. The method of claim 2, further comprising:
receiving an access request sent by the data acquisition module, wherein the access request comprises the identifier of the data acquisition module and the type information of the service slice;
and responding to the access request, and acquiring the at least one second resource configuration information.
6. A resource allocation method for in-vehicle service slices is characterized by comprising the following steps:
receiving second resource configuration information, wherein the second resource configuration information is one of at least one piece of second resource configuration information, the at least one piece of second resource configuration information corresponds to at least one module in an in-vehicle system one to one, and the at least one piece of second resource configuration information includes at least one of the following: calculating resource information, storing resource information, transmitting resource information and type information of the service slice;
According to the second resource configuration information, at least one resource required for transmitting or processing service data in the service slice is obtained, wherein the at least one resource comprises: computing resources, storage resources, transmission resources.
7. The method of claim 6, wherein at least one module in the in-vehicle system comprises: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
8. The method of claim 6 or 7, wherein the type of the traffic slice comprises at least one of: an automatic driving business slice, an in-vehicle entertainment slice and a vehicle body safety control slice.
9. The method according to claim 6 or 7, characterized in that the method further comprises:
and transmitting the service attribute of the service data in the vehicle.
10. The method according to claim 6 or 7, wherein obtaining at least one resource required for transmission or processing of service data in the service slice according to the at least one second resource configuration information comprises:
instantiating the computing resources required by the service slice according to the type information of the service slice and the computing resource information corresponding to the in-vehicle service processing module, and/or instantiating the storage resources required by the service slice according to the type information of the service slice and the storage resource information corresponding to the in-vehicle service processing module; and/or
And acquiring transmission resources required by the service slice according to the type information of the service slice and the transmission resource information corresponding to the at least one module.
11. An in-vehicle service slice resource allocation device, the device comprising:
the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring capability description information of a service slice, and the capability description information of the service slice is used for indicating first resource configuration information, required by the service slice corresponding to service data in the vehicle, in the vehicle interior system;
the second obtaining unit is used for obtaining at least one piece of second resource configuration information according to the capability description information of the service slice, wherein the at least one piece of second resource configuration information corresponds to at least one module in the in-vehicle system one to one; the first resource configuration information or the at least one second resource configuration information includes at least one of: calculating resource information, storing resource information, transmitting resource information and type information of the service slice;
a sending unit, configured to send the at least one second resource configuration information to a corresponding module.
12. The apparatus of claim 11, wherein at least one module in the in-vehicle system comprises: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
13. The apparatus of claim 11 or 12, wherein the type of the traffic slice comprises at least one of: an automatic driving business slice, an in-vehicle entertainment slice and a vehicle body safety control slice.
14. The apparatus of claim 11 or 12, further comprising:
a third obtaining unit, configured to obtain a service attribute of the in-vehicle service data triggered by a user or triggered by the in-vehicle service processing module;
the first obtaining unit is used for obtaining the capability description information of the service slice according to the service attribute of the service data in the vehicle.
15. The apparatus of claim 12, further comprising:
a receiving unit, configured to receive an access request sent by the data acquisition module, where the access request includes an identifier of the data acquisition module and type information of the service slice;
the second obtaining unit is configured to obtain the at least one second resource configuration information in response to the access request.
16. An in-vehicle service slice resource allocation device, the device comprising:
a receiving unit, configured to receive second resource configuration information, where the second resource configuration information is one of at least one piece of second resource configuration information, the at least one piece of second resource configuration information corresponds to at least one module in an in-vehicle system in a one-to-one manner, and the at least one piece of second resource configuration information includes at least one of: calculating resource information, storing resource information, transmitting resource information and type information of the service slice;
An obtaining unit, configured to obtain, according to the second resource configuration information, at least one resource required for transmission or processing of service data in the service slice, where the at least one resource includes: computing resources, storage resources, transmission resources.
17. The apparatus of claim 16, wherein at least one module in the in-vehicle system comprises: the system comprises a data acquisition module, a data forwarding module, an in-vehicle service processing module and an execution module.
18. The apparatus of claim 16 or 17, wherein the type of the traffic slice comprises at least one of: an automatic driving business slice, an in-vehicle entertainment slice and a vehicle body safety control slice.
19. The apparatus of claim 16 or 17, further comprising:
and the sending unit is used for sending the service attribute of the service data in the vehicle.
20. The apparatus according to claim 16 or 17, wherein the obtaining unit is configured to instantiate the computing resource required by the service slice according to the type information of the service slice and the computing resource information corresponding to the in-vehicle service processing module, and/or instantiate the storage resource required by the service slice according to the type information of the service slice and the storage resource information corresponding to the in-vehicle service processing module; and/or
And acquiring transmission resources required by the service slice according to the type information of the service slice and the transmission resource information corresponding to the at least one module.
21. A resource allocation system for in-vehicle service slices, characterized in that the resource allocation system comprises a resource allocation device according to any one of claims 11 to 15 and a resource allocation device according to any one of claims 16 to 20.
22. A resource allocation device for in-vehicle service slices comprises a transceiver, a memory and a processor; the memory stores a computer program, wherein the processor implements the method of any of claims 1-5 or the method of any of claims 6-10 when executing the computer program.
CN201910979542.0A 2019-10-15 2019-10-15 Resource allocation method, device and system for service slices in vehicle Active CN112671547B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910979542.0A CN112671547B (en) 2019-10-15 2019-10-15 Resource allocation method, device and system for service slices in vehicle
PCT/CN2020/120632 WO2021073501A1 (en) 2019-10-15 2020-10-13 Resource configuration method, apparatus, and system for in-vehicle service slices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910979542.0A CN112671547B (en) 2019-10-15 2019-10-15 Resource allocation method, device and system for service slices in vehicle

Publications (2)

Publication Number Publication Date
CN112671547A CN112671547A (en) 2021-04-16
CN112671547B true CN112671547B (en) 2022-12-27

Family

ID=75399982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910979542.0A Active CN112671547B (en) 2019-10-15 2019-10-15 Resource allocation method, device and system for service slices in vehicle

Country Status (2)

Country Link
CN (1) CN112671547B (en)
WO (1) WO2021073501A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572516A (en) * 2016-09-28 2017-04-19 华为技术有限公司 Network slice selection method, terminal equipment and network equipment
KR20170054287A (en) * 2015-11-06 2017-05-17 한국전자통신연구원 Method and apparatus for configuring radio resource
CN108810903A (en) * 2017-05-04 2018-11-13 ***通信有限公司研究院 A kind of configuration of data transmission and data transmission method and device
CN109218047A (en) * 2017-06-30 2019-01-15 ***通信有限公司研究院 Network sliced sheet processing method and device, communication system and storage medium
JP2019021953A (en) * 2017-07-11 2019-02-07 株式会社Nttドコモ Resource management apparatus in RAN slice and resource management method in RAN slice
CN109392096A (en) * 2017-08-04 2019-02-26 华为技术有限公司 A kind of resource allocation method and device
CN109560948A (en) * 2017-09-25 2019-04-02 华为技术有限公司 A kind of dispositions method and relevant device of network slice

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3439250A4 (en) * 2016-04-01 2019-10-30 Ntt Docomo, Inc. Slice management system and slice management method
US10652813B2 (en) * 2016-04-01 2020-05-12 Ntt Docomo, Inc. Slice management system and slice management method
CN110138575B (en) * 2018-02-02 2021-10-08 中兴通讯股份有限公司 Network slice creating method, system, network device and storage medium
CN109600262B (en) * 2018-12-17 2021-08-10 东南大学 Resource self-configuration and self-optimization method and device in URLLC transmission network slice
CN110198555B (en) * 2019-05-21 2022-09-02 中国联合网络通信集团有限公司 Network slice configuration method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170054287A (en) * 2015-11-06 2017-05-17 한국전자통신연구원 Method and apparatus for configuring radio resource
CN106572516A (en) * 2016-09-28 2017-04-19 华为技术有限公司 Network slice selection method, terminal equipment and network equipment
CN108810903A (en) * 2017-05-04 2018-11-13 ***通信有限公司研究院 A kind of configuration of data transmission and data transmission method and device
CN109218047A (en) * 2017-06-30 2019-01-15 ***通信有限公司研究院 Network sliced sheet processing method and device, communication system and storage medium
JP2019021953A (en) * 2017-07-11 2019-02-07 株式会社Nttドコモ Resource management apparatus in RAN slice and resource management method in RAN slice
CN109392096A (en) * 2017-08-04 2019-02-26 华为技术有限公司 A kind of resource allocation method and device
CN109560948A (en) * 2017-09-25 2019-04-02 华为技术有限公司 A kind of dispositions method and relevant device of network slice

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
5G网络切片对业务场景的支持与发展现状;宋熠等;《软件》;20180815(第08期);第164-169页 *

Also Published As

Publication number Publication date
WO2021073501A1 (en) 2021-04-22
CN112671547A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN112640500B (en) Vehicle upgrading method and device
US10140783B2 (en) Enhanced central gateway for vehicle networking
US11210023B2 (en) Technologies for data management in vehicle-based computing platforms
CN106453465B (en) System and method for interworking between a vehicle controller and an external resource
CN112740642B (en) Communication method and multi-access edge computing server
WO2021098212A1 (en) Software upgrade method, apparatus and system
WO2018196655A1 (en) Public network communication method for on-board electronic processing unit system
EP3547608B1 (en) Control device, computer readable recording medium recording program for control device, and control method
Hbaieb et al. In-car gateway architecture for intra and inter-vehicular networks
CN206734223U (en) Vehicle data processing system
CN112671547B (en) Resource allocation method, device and system for service slices in vehicle
CN113422806A (en) Internet of vehicles data processing method, vehicle-mounted terminal and data storage server
Velusamy et al. Automotive sensor infrastructure-challenges and opportunities
US11171806B1 (en) Dynamic quality of service control for automotive ethernet
CN114501374A (en) Dynamic service deployment method, system, device and storage medium for Internet of vehicles
CN112840610B (en) Resource allocation method, device and system for in-vehicle business slices
US10834550B2 (en) Vehicle feature control
CN110677466A (en) Application program downloading method, device, gateway and storage medium
US20240007416A1 (en) Discovery of remote resource providers for offloading computational processes
CN110417839B (en) Communication method and gateway of train compartment network
US20240007859A1 (en) Detecting spoofed ethernet frames within an autosar communication stack
CN219761329U (en) Vehicle communication system and vehicle
Beena et al. Big Data Management Solutions for IoT: Case Study–Connected Car
WO2024057963A1 (en) Data management device, data management method, data management program, and data management system
CN114301727A (en) Service-oriented network topology system, data transmission method and equipment thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant