Vehicle-end function operation method, device and equipment based on vehicle cloud computing cluster
By creating a twin container on a cloud device and utilizing cloud computing resources to execute vehicle-side functions, the problem of high computational load on the vehicle-side computing platform is solved, enabling stable and smooth operation of autonomous driving functions and improving vehicle safety.
Patent Information
- Application Number
- CN202111166190.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2041-09-30
AI Technical Summary
In existing technologies, the computing load of vehicle-side computing platforms is high, which cannot meet the computing power requirements of autonomous driving functions, resulting in unsmooth operation and affecting the stability and safety of autonomous vehicles.
By using a vehicle-based cloud computing cluster approach, a twin container is created on the cloud device, which utilizes cloud computing resources to execute vehicle-side functions. The computing power is deployed and allocated through mode control components and cluster operation components, thereby reducing the computing load on the vehicle-mounted computing device.
It has achieved stable and smooth operation of vehicle-side functions, reduced the computing load on on-board computing devices, and improved the operational stability and safety of autonomous driving.
Smart Images

Figure CN113867895B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of automatic driving, and particularly relates to a vehicle-end function running method, device and equipment based on a vehicle-cloud computing cluster. BACKGROUND
[0002] With the continuous improvement of vehicle automatic driving technology and level, the computing power requirement of vehicle-end functions on vehicle-end computing platforms is higher and higher, especially for vehicle-end functions of automatic driving control, which need to consume a large amount of computing resources of vehicle-end computing platforms, causing high-load operation of vehicle-end computing platforms.
[0003] In the prior art, in order to improve the ability to process vehicle-end functions, the traditional scheme is to increase SOC units on the side of vehicle-end computing platforms, and the overall computing capacity of the vehicle end is composed of multiple SOC units at the same time to improve the processing capacity of vehicle-end functions.
[0004] However, with the upgrading and continuous enrichment of vehicle-end functions, the traditional technical scheme cannot meet the support for vehicle-end function computing capacity, causing problems such as large computing load of vehicle-end computing platforms, unsmooth running of vehicle-end applications, and the like, affecting the running stability and safety of automatic driving vehicles. SUMMARY
[0005] The present disclosure provides a vehicle-end function running method, device and equipment based on a vehicle-cloud computing cluster to solve the problem of insufficient computing power for processing vehicle-end functions.
[0006] According to a first aspect of an embodiment of the present disclosure, the present disclosure provides a vehicle-end function running method based on a vehicle-cloud computing cluster, applied to a vehicle-mounted computing device, wherein a mode control component, a cluster operation component and a vehicle-cloud collaboration component are running in the vehicle-mounted computing device, the vehicle-mounted computing device is in communication connection with a cloud device, and the method comprises:
[0007] The mode control component acquires a first control instruction, the first control instruction being used to request a vehicle to execute a target vehicle-end function; the mode control component controls the vehicle-cloud collaboration component to create a first twin container in the cloud device based on the first control instruction; and the mode control component controls the cluster operation component to run a main function unit based on the first twin container, the main function unit being used to execute the target vehicle-end function.
[0008] In a possible implementation, the mode control component controls the vehicle-cloud cooperation component to create a first twin container in the cloud device based on the first control instruction, including: the mode control component sends a first creation request to the vehicle-cloud cooperation component according to a target vehicle-end function corresponding to the first control instruction, where the first creation request is used to obtain a computing resource for running the target vehicle-end function; and the vehicle-cloud cooperation component sends a second creation request to the cloud device according to the first creation request, where the second creation request is used to control the cloud device to create a twin container for running the target vehicle-end function.
[0009] In a possible implementation, the method further includes: the vehicle-cloud cooperation component receives a creation success reply returned by the cloud device, where the creation success reply indicates that the cloud device has successfully created the first twin container corresponding to the target vehicle-end function; and the vehicle-cloud cooperation component sends a request result reply to the mode control component according to the creation success reply, where the request result reply includes a container identifier, and the container identifier is used to indicate the first twin container created by the cloud device.
[0010] In a possible implementation, the mode control component controls the cluster operation component to run a main function unit based on the first twin container, including: the mode control component obtains the container identifier according to the creation success reply sent by the vehicle-cloud cooperation component; the mode control component sends a first running request to the cluster operation component, where the first running request includes the container identifier; and the cluster operation component runs the main function unit in the first twin container corresponding to the container identifier in the cloud device according to the first running request.
[0011] In a possible implementation, at least one vehicle-mounted computing node is arranged in the vehicle-mounted computing device, and the method further includes: the mode control component controls the cluster operation component to run a standby function unit based on the vehicle-mounted computing node, where the standby function unit is used to run the target vehicle-end function in a standby state.
[0012] In a possible implementation, the mode control component obtains the first control instruction, including: the mode control component receives first input information, where the first input information includes a user operation instruction and / or running detection information; and the mode control component generates the first control instruction according to the input information.
[0013] In a possible implementation, the method further includes: the mode control component receives second input information, where the second input information includes a user operation instruction and / or running detection information; and the mode control component adjusts the running position of the main function unit according to the second input information.
[0014] In a possible implementation, the mode control component adjusts the running position of the main function unit according to the second input information, including: the mode control component determines a current computing power requirement according to the second input information; the mode control component determines the computing power load of the cloud device through the vehicle-cloud cooperation component; the mode control component generates a second twin container according to the current computing power requirement and the computing power load of the cloud device, and controls the cluster operation component to execute the main function unit of the target vehicle-end function based on the second twin container.
[0015] In a possible implementation, the method further includes: when the mode control component receives third input information, the mode control component controls the cluster operation component to execute the target vehicle-end function through a backup function unit, where the third input information is information representing that the vehicle is in an abnormal running state.
[0016] In a possible implementation, the method further includes: when the target vehicle-end function is executed, the mode control component controls the vehicle-cloud cooperation component to release the first twin container.
[0017] According to a second aspect of the embodiments of the present disclosure, the present disclosure provides a vehicle-end function running device based on a vehicle-cloud computing cluster, applied to a vehicle-mounted computing device, the vehicle-mounted computing device being in communication connection with a cloud device, and the device including a mode control module, a vehicle-cloud cooperation module, and a cluster operation module, where:
[0018] The mode control module is configured to: obtain a first control instruction, the first control instruction being used to request a vehicle to execute a target vehicle-end function; control the vehicle-cloud cooperation module to create a first twin container in the cloud device based on the first control instruction; and control the cluster operation module to run a main function unit based on the first twin container, the main function unit being used to execute the target vehicle-end function.
[0019] In a possible implementation, when the mode control module controls the vehicle-cloud cooperation module to create a first twin container in the cloud device based on the first control instruction, the mode control module is specifically configured to: send a first creation request to the vehicle-cloud cooperation module according to the target vehicle-end function corresponding to the first control instruction, the first creation request being used to obtain a computing resource for running the target vehicle-end function; and the vehicle-cloud cooperation module is specifically configured to: send a second creation request to the cloud device according to the first creation request, the second creation request being used to control the cloud device to create a twin container for running the target vehicle-end function.
[0020] In a possible implementation, the vehicle-cloud cooperation module is further configured to: receive a creation success reply returned by the cloud device, the creation success reply indicating that the cloud device has successfully created the first twin container corresponding to the target vehicle-end function; and send a request result reply to the mode control module according to the creation success reply, the request result reply including a container identifier, and the container identifier being used to indicate the first twin container created by the cloud device.
[0021] In a possible implementation, when the mode control module controls the cluster operation module to run the main function unit based on the first twin container, the mode control module is specifically configured to: obtain the container identifier according to the creation success reply sent by the vehicle-cloud cooperation module; and send a first running request to the cluster operation module, the first running request including the container identifier; and the cluster operation module is specifically configured to: run the main function unit in the first twin container corresponding to the container identifier of the cloud device according to the first running request.
[0022] In a possible implementation, the vehicle-mounted computing device includes at least one vehicle-mounted computing node, and the mode control module is further configured to: control the cluster operation module to run a backup function unit based on the vehicle-mounted computing node, the backup function unit being used to run the target vehicle-end function in a standby state.
[0023] In a possible implementation, when the mode control module obtains the first control instruction, the mode control module is specifically configured to: receive first input information, the first input information including a user operation instruction and / or running detection information; and generate the first control instruction according to the input information.
[0024] In a possible implementation, the mode control module is further configured to: receive second input information, the second input information including a user operation instruction and / or running detection information; and adjust the running position of the main function unit according to the second input information.
[0025] In a possible implementation, when the mode control module adjusts the running position of the main function unit according to the second input information, the mode control module is specifically configured to: determine a current computing power requirement according to the second input information; determine a computing power load of the cloud device through the vehicle-cloud cooperation module; generate a second twin container according to the current computing power requirement and the computing power load of the cloud device, and control the cluster operation module to execute the main function unit of the target vehicle-end function based on the second twin container.
[0026] In a possible implementation, the mode control module is further configured to: when receiving third input information, control the cluster operation module to execute the target vehicle end function by a backup function unit, where the third input information is information indicating that the vehicle is in an abnormal operating state.
[0027] In a possible implementation, when the target vehicle end function is executed, the mode control module is further configured to: control the vehicle-cloud cooperation module to release the first twin container.
[0028] According to a third aspect of the embodiments of the present disclosure, the present disclosure provides an electronic device, comprising: a memory, a processor and a computer program;
[0029] The computer program is stored in the memory and configured to be executed by the processor to implement the vehicle end function running method based on the vehicle-cloud computing cluster according to any one of the first aspect of the embodiments of the present disclosure.
[0030] According to a fourth aspect of the embodiments of the present disclosure, the present disclosure provides a computer readable storage medium, the computer readable storage medium stores computer execution instructions, the computer execution instructions are executed by a processor to implement the vehicle end function running method based on the vehicle-cloud computing cluster according to any one of the first aspect of the embodiments of the present disclosure.
[0031] According to a fifth aspect of the embodiments of the present disclosure, the present disclosure provides a computer program product, comprising a computer program, the computer program is executed by a processor to implement the vehicle end function running method based on the vehicle-cloud computing cluster according to the first aspect and various possible implementations of the first aspect.
[0032] The vehicle end function running method, device and equipment based on the vehicle-cloud computing cluster provided by the present disclosure, through the mode control component, a first control instruction is obtained, the first control instruction is used to request the vehicle to execute a target vehicle end function; the mode control component controls the vehicle-cloud cooperation component to create a first twin container in the cloud device based on the first control instruction; the mode control component controls the cluster operation component to run a main function unit based on the first twin container, and the main function unit is used to execute the target vehicle end function. The computing power deployment and computing power distribution of the vehicle-mounted computing device based on the vehicle-cloud computing cluster are realized, so that the target vehicle end function can run in the cloud device, the computing load of the vehicle-mounted computing device is reduced, and the running fluency and stability of the target vehicle end function are improved. BRIEF DESCRIPTION OF DRAWINGS
[0033] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure together with the specification.
[0034] Figure 1 A schematic diagram of a vehicle-mounted computing device in the prior art is shown in FIG. 1.
[0035] Figure 2 A schematic diagram of a vehicle-cloud computing cluster provided by an embodiment of the present disclosure is shown in FIG. 2.
[0036] Figure 3 A flowchart of a method for running a vehicle-side function based on a vehicle-cloud computing cluster provided by an embodiment of the present disclosure is shown in FIG. 3.
[0037] Figure 4 A flowchart of a method for implementing step S102 in the embodiment shown in FIG. 1 is shown in FIG. 4. Figure 3
[0038] Figure 5 A schematic diagram of a process in which a mode control component creates a first twin in a cloud device through a vehicle-cloud collaboration component provided by an embodiment of the present disclosure is shown in FIG. 5.
[0039] Figure 6 A flowchart of a method for implementing step S103 in the embodiment shown in FIG. 1 is shown in FIG. 6. Figure 3
[0040] A schematic diagram of a process for running a vehicle-side function based on a vehicle-cloud computing cluster provided by an embodiment of the present disclosure is shown in FIG. 7. Figure 7
[0041] A flowchart of a method for running a vehicle-side function based on a vehicle-cloud computing cluster provided by another embodiment of the present disclosure is shown in FIG. 8. Figure 8
[0042] A schematic diagram of another vehicle-cloud computing cluster provided by an embodiment of the present disclosure is shown in FIG. 9. Figure 9
[0043] A flowchart of a method for implementing step S206 in the embodiment shown in FIG. 1 is shown in FIG. 10. Figure 10 Figure 8 A schematic diagram of a device for running a vehicle-side function based on a vehicle-cloud computing cluster provided by an embodiment of the present disclosure is shown in FIG. 11.
[0044] Figure 11 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown in FIG. 12.
[0045] Figure 12 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown in FIG. 12.
[0046] The specific embodiments of the present disclosure have been shown in the above-described drawings, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of the present disclosure in any way, but are intended to illustrate the concept of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0047] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0048] The application scenarios of the embodiments of this disclosure are explained below:
[0049] The vehicle-side function operation method based on a vehicle cloud computing cluster provided in this disclosure can be applied to autonomous driving control scenarios, and more specifically, to autonomous driving control scenarios based on a vehicle cloud computing cluster. To better introduce this application scenario, we first introduce the traditional autonomous driving control scheme based on a vehicle-side computing platform in the prior art. In the prior art, with the continuous improvement of autonomous driving technology and level, the amount of data that needs to be processed during autonomous driving control is increasing, and the timeliness requirements for data processing are also becoming higher. Correspondingly, the computing power requirements for computing devices that process vehicle-side functions involved in autonomous driving control (such as navigation route planning, obstacle avoidance, etc.) are also increasing. To improve the ability to process vehicle-side functions, the traditional solution is to add a SOC unit on one side of the vehicle-side computing platform, and multiple SOC units simultaneously constitute the overall computing power of the vehicle-side to improve the processing capability of vehicle-side functions. Figure 1 This is a schematic diagram of an in-vehicle computing device in the prior art, such as... Figure 1 As shown, the in-vehicle computing device contains several general-purpose computing units (including general-purpose computing boards and SOCs mounted on these boards) and specific computing units (including specific computing boards and SOCs mounted on these boards). These computing units interact with each other via Ethernet, forming a physical cluster. Simultaneously, by logically combining the general-purpose and specific computing units, logical clusters are formed, as shown in the figure, resulting in logical clusters D1 and D2. Different logical clusters handle corresponding vehicle-side applications; for example, logical cluster D1 handles vehicle-side function A, and logical cluster D2 handles vehicle-side function B. This achieves computing power support for different vehicle-side functions.
[0050] However, with the upgrading and enrichment of vehicle-side functions, the traditional technical solution of providing computing power support for vehicle-side applications solely through the vehicle-side computing platform can no longer meet the computing power requirements of vehicle-side functions. This has resulted in problems such as high computing load on the vehicle-side computing platform and unsmooth operation of vehicle-side applications, affecting the operational stability and safety of autonomous vehicles.
[0051] Therefore, in related technologies, a technical concept has been proposed to provide computing power support for vehicle-side applications based on vehicle cloud computing clusters. Figure 2 This is a schematic diagram of a vehicle cloud computing cluster provided in an embodiment of the present disclosure, such as... Figure 2 As shown, in Figure 1 Based on the in-vehicle computing device shown, containers providing computing power are set up through cloud devices, such as MEC (Multi-access Edge Computing) edge cloud, and connected to the in-vehicle computing device via a 5G network. This allows containers within the cloud device to also serve as member nodes of the physical cluster within the in-vehicle computing device, thereby expanding the physical cluster within the in-vehicle computing device and improving the overall computing power level. For example... Figure 2 The logical cluster C1 shown is composed of general-purpose computing unit 1, general-purpose computing unit 2, and container 3 within the in-vehicle computing device. Logical cluster C1 is one implementation of an in-vehicle cloud computing cluster. Through this cluster, cloud devices and in-vehicle computing devices can jointly provide computing power to in-vehicle applications, thereby achieving more flexible and efficient computing power allocation and improving the execution performance of in-vehicle applications during autonomous driving. The in-vehicle function operation method based on the in-vehicle cloud computing cluster provided in this embodiment can be applied to systems based on… Figure 2 The scenario shown is an autonomous driving control system based on a cloud computing cluster.
[0052] However, in the current technology, in the scenario of autonomous driving control based on vehicle cloud computing clusters, how to deploy and allocate computing power for specific vehicle functions to achieve stable operation of vehicle functions is an urgent problem to be solved.
[0053] The technical solutions of this disclosure and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this disclosure will now be described with reference to the accompanying drawings.
[0054] Figure 3 This is a flowchart illustrating a vehicle-side function operation method based on a vehicle cloud computing cluster, provided in one embodiment of this disclosure. The method is applied to an in-vehicle computing device, which includes a mode control component, a cluster operation component, and a vehicle-cloud collaboration component. The in-vehicle computing device communicates with a cloud device. Figure 3 As shown, the vehicle-side function operation method based on the vehicle cloud computing cluster provided in this embodiment includes the following steps:
[0055] Step S101: The mode control component obtains a first control command, which is used to request the vehicle to execute the target vehicle-side function.
[0056] For example, the execution entity of the vehicle-side function operation method based on vehicle cloud computing cluster provided in this disclosure embodiment can be a controller within the vehicle-mounted computing device. The controller includes a processor, and the mode control component, cluster operation component, and vehicle-cloud collaboration component are programs or services that run on the processor through different processes. The mode control component, cluster operation component, and vehicle-cloud collaboration component running within the vehicle-mounted computing device can interact with each other through the controller to achieve data and instruction exchange.
[0057] Further, the first control instruction is an instruction used to request the vehicle to execute a target vehicle-side function. In one possible implementation, the first control instruction may be generated by the controller based on input information and sent to the mode control component. In another possible implementation, the first control instruction is generated by the mode control component receiving user input operation instructions, or it may be generated by the mode control component based on the vehicle's operating status information, thereby enabling the mode control component to obtain the first control instruction. For example, the mode control component obtaining the first control instruction includes: the mode control component receiving first input information, which includes user operation instructions and / or operation detection information; and generating the first control instruction based on the input information. The user operation instruction is an instruction to activate a vehicle-side function, such as activating an autonomous driving function; the operation detection information is information detected by sensors during vehicle operation, such as vehicle speed, the position of vehicles ahead, and the position of obstacles. For example, the target vehicle-side function may be a function involved in the vehicle's autonomous driving control process, such as navigation route planning and vehicle driving control.
[0058] In step S102, the mode control component controls the vehicle-cloud collaboration component to create a first twin container in the cloud device based on the first control command.
[0059] For example, after the mode control component receives the first control command, it sends a request to the vehicle-cloud collaboration component according to the target vehicle-side function corresponding to the first control command. This causes the vehicle-cloud collaboration component to create a first twin container within a cloud device that is communicatively connected to the onboard computing device, thereby providing computing resources for the execution of the target vehicle-side function. Specifically, the vehicle-cloud collaboration component is a program component running within the controller, used to communicate with and collaborate with the cloud device. Through the vehicle-cloud collaboration component, interaction with the management control plane (management control system) of the cloud device can be achieved, enabling management of the cloud device and, consequently, the creation of the first twin container within the cloud device. More specifically, the twin container is a container corresponding to an OS (Autonomous Driving Operating System) twin implemented based on digital twin technology. An OS twin is a virtual mapping of the real vehicle driving operating system; one OS twin can correspond to one or more specific vehicle-side functions, and one OS twin can be composed of multiple twin containers. The specific principles and implementation methods of digital twin technology will not be elaborated upon here.
[0060] For example, the first twin container is a container in the cloud device corresponding to the target vehicle-side function, providing computing resources for executing the target vehicle-side function. The vehicle-cloud collaboration component can create a container on the cloud device side for executing the target vehicle-side function, i.e., the first twin container, by sending a request to the cloud device. Here, the container is equivalent to a virtual machine in cloud computing; the specific meaning and creation process of the container will not be described in detail here.
[0061] In one possible implementation, such as Figure 4 As shown, step S102 includes two specific implementation steps: S1021 and S1022.
[0062] In step S1021, the mode control component sends a first creation request to the vehicle-cloud collaboration component according to the target vehicle-side function corresponding to the first control command. The first creation request is used to obtain computing resources for running the target vehicle-side function.
[0063] In step S1022, the vehicle-cloud collaboration component sends a second creation request to the cloud device according to the first creation request. The second creation request is used to control the cloud device to create a twin container that runs the target vehicle-side functions.
[0064] Figure 5 A schematic diagram illustrating the process by which a mode control component creates a first twin in a cloud device through a vehicle-cloud collaboration component, as provided in this embodiment of the disclosure. Figure 5As shown, after receiving the first control command, the mode control component sends a first creation request to the vehicle-cloud collaboration component. The vehicle-cloud collaboration component, which communicates with the cloud device and performs information collaboration, sends a second creation request to the cloud device via the 5G network after receiving the first creation request. The second creation request includes functional information representing the target vehicle's functions. After receiving the second creation request, the management control plane (including the twin controller and system manager) in the cloud device creates one or more twin containers that match the computing power requirements of the target vehicle's functions on the business plane, i.e., the first twin container, based on the second creation request and the functional information therein.
[0065] In this embodiment, a method for requesting computing resources for target vehicle functions is provided in a vehicle cloud computing cluster scenario. The method involves receiving a first control command through a mode control component, and then communicating with the vehicle cloud collaboration component and sending a request to achieve the goal of creating a first twin container in the cloud device.
[0066] Optionally, after sending the second creation request to the cloud device, this embodiment further includes the following steps:
[0067] The vehicle-cloud collaboration component receives a creation success receipt from the cloud device. This receipt indicates that the cloud device has successfully created the first twin container corresponding to the target vehicle-side function. Based on the creation success receipt, the vehicle-cloud collaboration component sends a request result receipt to the mode control component. This request result receipt includes a container identifier, which indicates the first twin container created by the cloud device.
[0068] For example, after the cloud device successfully creates the first twin container, it returns a creation success receipt to the vehicle-cloud collaboration component to inform it that the first twin container has been successfully created. Simultaneously, the creation success receipt includes the container identifier corresponding to the first twin container. When the vehicle-cloud collaboration component sends a request result receipt to the mode control component, the request result receipt includes the container identifier indicating the first twin container created by the cloud device. This allows the mode control component to identify the first twin container, and in subsequent steps, the mode control component needs to use this container identifier to schedule the main functional unit.
[0069] In step S103, the mode control component controls the cluster operation component to run the main functional unit based on the first twin container. The main functional unit is used to execute the target vehicle-side functions.
[0070] For example, after completing the process of creating the first twin container within the cloud device, the mode control component sends a run request to the cluster operation component, controlling the cluster operation component to perform function scheduling, and scheduling the main functional unit used to execute the target vehicle-side function to run in the first twin container. For example, the functional unit is a program and service that implements the vehicle-side function; running the functional unit requires certain computing resources (i.e., computing power). The computing resources provided by the container enable the execution of the functional unit, and the main functional unit is the functional unit that implements the target vehicle-side function.
[0071] For example, the cluster operation component runs within the controller and is a program component used to communicate with each computing node in the vehicle cloud computing cluster and schedule functional units. The cluster operation component can control the operation of each computing node in the vehicle cloud computing cluster. In this embodiment, the mode control component sends a run request to the cluster operation component, enabling the cluster operation component to control the operation of each computing node. Specifically, on the cloud device side, the corresponding functional unit is started and run as a logical cluster member master node. Optionally, at least one vehicle computing node is provided in the vehicle computing device, and the vehicle computing node waits to run the corresponding functional unit as a logical cluster member slave node. Thus, the purpose of running the main functional unit used to implement the target vehicle-side function on the cloud device is achieved.
[0072] In one possible implementation, such as Figure 6 As shown, step S103 includes three specific implementation steps: S1031, S1032, and S1033.
[0073] In step S1031, the mode control component obtains the container identifier based on the successful creation receipt sent by the vehicle-cloud collaboration component.
[0074] In step S1032, the mode control component sends a first run request to the cluster operation component, the first run request including the container identifier.
[0075] In step S1033, the cluster operation component runs the main functional unit in the first twin container corresponding to the container identifier of the cloud device according to the first run request.
[0076] This implementation provides a method for scheduling functional units within a cloud device. The mode control component obtains the container identifier based on the successful creation receipt sent by the vehicle-cloud collaboration component, and sends a first run request to the cluster operation component based on the container identifier. This enables the cluster operation component to schedule the main functional unit based on the container identifier, achieving stable and fast scheduling of the main functional unit and improving the operational stability and real-time performance of the vehicle-side functions.
[0077] Figure 7 This is a schematic diagram illustrating the process of running vehicle-side functions based on a vehicle cloud computing cluster, as provided in this embodiment of the disclosure. Figure 7 As shown, after receiving user operation instructions or operation detection information, the mode control component sends a first creation request to the vehicle-cloud collaboration component. The vehicle-cloud collaboration component responds to the first creation request and sends a second creation request to the cloud device. The cloud device responds to the second creation request, creates the first twin container, and sends a creation success receipt to the vehicle-cloud collaboration component. After receiving the creation success receipt, the vehicle-cloud collaboration component sends a request result receipt to the mode control component. After receiving the request result receipt, the mode control component sends a first run request containing the container identifier to the cluster operation component. The cluster operation component responds to the first run request, deploys the main functional unit in the first twin container, and enables the first twin container to run the main functional unit, thereby realizing the execution of the target vehicle-side function.
[0078] In this embodiment, a first control command is obtained through a mode control component. This first control command requests the vehicle to execute a target vehicle-side function. Based on the first control command, the mode control component controls the vehicle-cloud collaboration component to create a first twin container within the cloud device. The mode control component then controls the cluster operation component to run the main functional unit based on the first twin container. This main functional unit executes the target vehicle-side function. This achieves the deployment and allocation of computing power for the in-vehicle computing device based on the vehicle-cloud computing cluster, enabling the target vehicle-side function to run on the cloud device. This reduces the computational load on the in-vehicle computing device and improves the smoothness and stability of the target vehicle-side function's operation.
[0079] Figure 8 A flowchart of a vehicle-side function operation method based on a vehicle cloud computing cluster, as provided in another embodiment of this disclosure, is shown below. Figure 8 As shown, the vehicle-side function operation method based on the vehicle cloud computing cluster provided in this embodiment is... Figure 3 Based on the vehicle-side function operation method based on vehicle cloud computing cluster provided in the illustrated embodiment, the step of dynamically deploying and adjusting the main functional unit is added. Therefore, the vehicle-side function operation method based on vehicle cloud computing cluster provided in this embodiment includes the following steps:
[0080] Step S201: The mode control component obtains a first control command, which is used to request the vehicle to execute the target vehicle-side function.
[0081] In step S202, the mode control component, based on the first control command, controls the vehicle-cloud collaboration component to create a first twin container in the cloud device.
[0082] In step S203, the mode control component controls the cluster operation component to run the main functional unit based on the first twin container. The main functional unit is used to execute the target vehicle-side functions.
[0083] In step S204, the mode control component controls the cluster operation component to run the standby functional unit based on the vehicle computing node. The standby functional unit is used to run the target vehicle-side function in a standby state.
[0084] For example, the in-vehicle computing device is equipped with at least one in-vehicle computing node. Figure 9 This is a schematic diagram of another vehicle cloud computing cluster provided in an embodiment of this disclosure, as shown below. Figure 9 As shown, the in-vehicle computing device is equipped with several general-purpose computing nodes, specifically including computing boards and SOCs. The computing nodes in the in-vehicle computing device and the twin containers in the cloud device form an in-vehicle cloud computing cluster. The cluster operation component can schedule the functional units in the in-vehicle cloud computing cluster used to implement vehicle-side functions, thereby adjusting the computing power. Specifically, in this embodiment, after the mode control component controls the cluster operation component to run the main functional unit in the first twin container or simultaneously, the mode control component also controls the cluster operation component to run backup functional units based on the in-vehicle computing nodes in the in-vehicle computing device, thereby generating a backup operation for the target vehicle-side function. When the main functional node running on the cloud device malfunctions and cannot execute the target vehicle-side function, the backup functional unit in standby state will continue to execute the target vehicle-side function, thereby ensuring the stable and safe operation of the target vehicle-side function.
[0085] In step S205, the mode control component receives second input information, which includes user operation instructions and / or operation detection information.
[0086] In step S206, the mode control component adjusts the operating position of the main functional unit according to the second input information.
[0087] For example, after the target vehicle-side function begins execution, this function may be a continuously running function. During this continuous process, when external factors change, such as deteriorating network conditions or the need to synchronously execute new vehicle-side functions, dynamic computing power fluctuation scheduling is required based on the current computing power of the vehicle cloud computing cluster. The second input information is similar to the first input information and can be user operation commands or operation detection information. Based on the second input information, when it is determined that external factors have changed, the mode control component adjusts the running position of the main functional unit, moving it to a more suitable twin container to ensure the stable operation of the target vehicle-side function, or reducing the computing power corresponding to the target vehicle-side function to provide computing power for more important vehicle-side functions.
[0088] Optionally, such as Figure 10 As shown, step S206 includes three specific implementation steps: S2061, S2062, and S2063.
[0089] In step S2061, the mode control component determines the current computing power requirement based on the second input information.
[0090] In step S2062, the mode control component determines the computing load of the cloud device through the vehicle-cloud collaboration component.
[0091] In step S2062, the mode control component generates a second twin container based on the current computing power demand and the computing power load of the cloud device, and controls the cluster operation component to execute the main functional unit of the target vehicle-side function based on the second twin container.
[0092] For example, the second input information can be user operation instructions or operation detection information. Based on the user operation instructions or operation detection information, the corresponding new vehicle-side function that needs to be executed can be determined, thereby determining the change in computing power demand corresponding to the new vehicle-side function. Alternatively, changes in vehicle-side functions due to changes in vehicle operating status can also determine the corresponding change in computing power demand, thereby determining the current required computing power demand, i.e., the current computing power demand, which includes the computing power demand corresponding to each vehicle-side function. Then, through the vehicle-cloud collaboration component, the mode control component determines the current computing power load of the cloud device. Afterward, based on the current computing power demand and the computing power load of the cloud device, the mode control component re-matches the running position of the main functional unit and generates a second twin container in the cloud device. This cloud device can be different from the cloud device where the first twin container was located. Then, through the control cluster operation component, the main functional unit of the target vehicle-side function is executed based on the second twin container, realizing dynamic floating scheduling of computing power for the main functional unit executing the target vehicle-side function.
[0093] Optionally, after step S206, the method further includes:
[0094] In step S207, when the mode control component receives the third input information, the mode control component controls the cluster operation component to execute the target vehicle-side function through the backup functional unit. The third input information is information indicating that the vehicle is in an abnormal operating state.
[0095] For example, during the normal execution of the target vehicle's functions, the main functional unit corresponding to the target vehicle's functions runs on a cloud device, reducing the computational load on the on-board computing unit. When the vehicle is in an abnormal operating state, such as when the vehicle's network connection is abnormal, the mode control component controls the cluster operation component to execute the target vehicle's functions through a backup functional unit, thereby ensuring the uninterrupted execution of the target vehicle's functions and improving the safety of vehicle operation.
[0096] Step S208: After the target vehicle-side function is completed, the mode control component controls the vehicle-cloud collaboration component to release the first twin container.
[0097] For example, after the target vehicle-side function is completed, since the cloud device providing computing resources cannot detect that the vehicle-side function has been released, the mode control component needs to control the vehicle-cloud collaboration component to send a resource release request to the cloud device. The corresponding twin container is destroyed through the control system of the cloud device to release computing resources in a timely manner and improve the utilization efficiency of the cloud device's computing resources.
[0098] In this embodiment, the implementation of steps S201-S203 is the same as that in this disclosure. Figure 3 The implementation methods of steps S101-S103 in the illustrated embodiment are the same, and will not be described in detail here.
[0099] Figure 11 This is a schematic diagram of the structure of a vehicle-side function operation device based on a vehicle cloud computing cluster, provided in one embodiment of this disclosure. It is applied to an in-vehicle computing device, which communicates with a cloud device, such as... Figure 1 As shown, the vehicle-side function operation device 3 based on vehicle cloud computing cluster provided in this embodiment includes: mode control module 31, vehicle-cloud collaboration module 32 and cluster operation module 33.
[0100] The mode control module 31 is used to acquire a first control command, which is used to request the vehicle to execute the target vehicle-side function; based on the first control command, the vehicle-cloud collaboration module 32 is controlled to create a first twin container in the cloud device; the cluster operation module 33 is controlled to run the main functional unit based on the first twin container, which is used to execute the target vehicle-side function.
[0101] In one possible implementation, when the mode control module 31 controls the vehicle-cloud collaboration module to create a first twin container in the cloud device based on the first control command, it is specifically used to: send a first creation request to the vehicle-cloud collaboration module 32 according to the target vehicle-end function corresponding to the first control command, the first creation request being used to obtain computing resources for running the target vehicle-end function; the vehicle-cloud collaboration module 32 is specifically used to: send a second creation request to the cloud device according to the first creation request, the second creation request being used to control the cloud device to create a twin container for running the target vehicle-end function.
[0102] In one possible implementation, the vehicle-cloud collaboration module 32 is further configured to: receive a creation success receipt returned by the cloud device, the creation success receipt indicating that the cloud device has successfully created the first twin container corresponding to the target vehicle-side function; and send a request result receipt to the mode control module 31 based on the creation success receipt, the request result receipt including a container identifier, the container identifier being used to indicate the first twin container created by the cloud device.
[0103] In one possible implementation, when the mode control module 31 controls the cluster operation module 33 to run the main functional unit based on the first twin container, it is specifically used to: obtain the container identifier according to the creation success receipt sent by the vehicle-cloud collaboration module 32; send a first run request to the cluster operation module 33, the first run request including the container identifier; the cluster operation module 33 is specifically used to: run the main functional unit in the first twin container corresponding to the container identifier of the cloud device according to the first run request.
[0104] In one possible implementation, the vehicle-mounted computing device is equipped with at least one vehicle-mounted computing node, and the mode control module 31 is also used to: control the cluster operation module 33 to run a backup functional unit based on the vehicle-mounted computing node, and the backup functional unit is used to run the target vehicle-end function in a standby state.
[0105] In one possible implementation, when the mode control module 31 acquires the first control instruction, it is specifically used to: receive first input information, the first input information including user operation instructions and / or operation detection information; and generate the first control instruction based on the input information.
[0106] In one possible implementation, the mode control module 31 is further configured to: receive second input information, the second input information including user operation instructions and / or operation detection information; and adjust the operating position of the main functional unit according to the second input information.
[0107] In one possible implementation, when the mode control module 31 adjusts the running position of the main functional unit according to the second input information, it is specifically used to: determine the current computing power requirement according to the second input information; determine the computing power load of the cloud device through the vehicle-cloud collaboration module; generate a second twin container according to the current computing power requirement and the computing power load of the cloud device, and control the cluster operation module 33 to execute the main functional unit of the target vehicle-side function based on the second twin container.
[0108] In one possible implementation, the mode control module 31 is also used to: control the cluster operation module 33 to execute the target vehicle-side function through the backup functional unit when receiving the third input information, wherein the third input information is information indicating that the vehicle is in an abnormal operating state.
[0109] In one possible implementation, after the target vehicle-side function is completed, the mode control module 31 is also used to: control the vehicle-cloud collaboration module 32 to release the first twin container.
[0110] For example, the connection method of the mode control module 31, the vehicle-cloud collaboration module 32, and the cluster operation module 33 can be referred to Figure 11 As shown. The vehicle-side function operation device 3 based on the vehicle cloud computing cluster provided in this embodiment can perform the following...Figures 3-10 In any of the illustrated method embodiments, the mode control module 31, vehicle-cloud collaboration module 32, and cluster operation module 33 correspond to the mode control component, vehicle-cloud collaboration component, and cluster operation component, respectively, and are used to implement the functions of the corresponding components. Their implementation principles and technical effects are similar and will not be repeated here.
[0111] Figure 12 A schematic diagram of an electronic device provided in one embodiment of this disclosure, such as... Figure 12 As shown, the electronic device provided in this embodiment includes: a memory 41, a processor 42, and a computer program.
[0112] The computer program is stored in memory 41 and configured to be executed by processor 42 to implement this disclosure. Figures 3-10 The corresponding embodiments provide a vehicle-side function operation method based on a vehicle cloud computing cluster.
[0113] The memory 41 and the processor 42 are connected via a bus 43.
[0114] For relevant instructions, please refer to the corresponding text. Figures 3-10 The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.
[0115] One embodiment of this disclosure provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement this disclosure. Figures 3-10 The corresponding embodiments provide a vehicle-side function operation method based on a vehicle cloud computing cluster.
[0116] The computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0117] One embodiment of this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements this disclosure. Figures 3-10 Figures 3-10 The corresponding embodiments provide a vehicle-side function operation method based on a vehicle cloud computing cluster.
[0118] In the several embodiments provided in this disclosure, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0119] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the applications disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0120] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for operating vehicle-side functions based on a vehicle cloud computing cluster, characterized in that, The method, applied to an in-vehicle computing device, includes a mode control component, a cluster operation component, and a vehicle-cloud collaboration component running within the in-vehicle computing device, and the in-vehicle computing device is communicatively connected to a cloud device. The mode control component receives first input information, which includes user operation instructions and / or operation detection information; based on the first input information, it generates a first control instruction, which requests the vehicle to execute a target vehicle-side function; the user operation instruction is an instruction to start the target vehicle-side function, and the operation detection information is information detected by sensors during vehicle operation; Based on the first control command, the mode control component controls the vehicle-cloud collaboration component to create a first twin container within the cloud device; The mode control component controls the cluster operation component to schedule the main functional unit used to execute the target vehicle-side function to run in the first twin container, so as to run the main functional unit based on the first twin container, and the main functional unit is used to execute the target vehicle-side function.
2. The method according to claim 1, characterized in that, The mode control component, based on the first control command, controls the vehicle-cloud collaboration component to create a first twin container within the cloud device, including: The mode control component sends a first creation request to the vehicle-cloud collaboration component according to the target vehicle-side function corresponding to the first control command. The first creation request is used to obtain computing resources for running the target vehicle-side function. The vehicle-cloud collaboration component sends a second creation request to the cloud device based on the first creation request. The second creation request is used to control the cloud device to create a twin container that runs the target vehicle-side functions.
3. The method according to claim 2, characterized in that, The method further includes: The vehicle-cloud collaboration component receives a creation success receipt returned by the cloud device, which indicates that the cloud device has successfully created the first twin container corresponding to the target vehicle-side function. The vehicle-cloud collaboration component sends a request result receipt to the mode control component based on the creation success receipt. The request result receipt includes a container identifier, which is used to indicate the first twin container created by the cloud device.
4. The method according to claim 3, characterized in that, The mode control component controls the cluster operation component to schedule the main functional unit used to execute the target vehicle-side function to run in the first twin container, so as to run the main functional unit based on the first twin container, including: The mode control component obtains the container identifier based on the creation success receipt sent by the vehicle-cloud collaboration component; The mode control component sends a first run request to the cluster operation component, the first run request including the container identifier; According to the first run request, the cluster operation component schedules the main functional unit used to execute the target vehicle-side function to the first twin container corresponding to the container identifier, so as to run the main functional unit.
5. The method according to claim 1, characterized in that, The on-board computing device is equipped with at least one on-board computing node, and the method further includes: The mode control component controls the cluster operation component to run a backup function unit based on the vehicle computing node. The backup function unit is used to run the target vehicle-side function in a standby state.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: The mode control component receives second input information, which includes user operation instructions and / or operation detection information. The mode control component adjusts the operating position of the main functional unit based on the second input information.
7. The method according to claim 6, characterized in that, The mode control component adjusts the operating position of the main functional unit according to the second input information, including: The mode control component determines the current computing power requirement based on the second input information; The mode control component determines the computing load of the cloud device through the vehicle-cloud collaboration component; The mode control component generates a second twin container based on the current computing power demand and the computing power load of the cloud device, and controls the cluster operation component to execute the main functional unit of the target vehicle-side function based on the second twin container.
8. The method according to any one of claims 1-5, characterized in that, The method further includes: When the mode control component receives the third input information, the mode control component controls the cluster operation component to execute the target vehicle-side function through the backup functional unit, wherein the third input information is information indicating that the vehicle is in an abnormal operating state.
9. The method according to any one of claims 1-5, characterized in that, The method further includes: Once the target vehicle-side function is completed, the mode control component controls the vehicle-cloud collaboration component to release the first twin container.
10. A vehicle-side function operation device based on a vehicle cloud computing cluster, characterized in that, An in-vehicle computing device that communicates with a cloud device is used in this application. The device includes a mode control module, a vehicle-cloud collaboration module, and a cluster operation module, wherein: The mode control module is configured to receive first input information, including user operation instructions and / or operation detection information; generate a first control instruction based on the first input information, the first control instruction being used to request the vehicle to execute a target vehicle-side function; the user operation instruction is an instruction to start the target vehicle-side function, and the operation detection information is information detected by sensors during vehicle operation; based on the first control instruction, control the vehicle-cloud collaboration module to create a first twin container in the cloud device; and control the cluster operation module to schedule the main functional unit used to execute the target vehicle-side function to run in the first twin container, so as to run the main functional unit based on the first twin container, the main functional unit being used to execute the target vehicle-side function.
11. An electronic device, characterized in that, include: Memory, processor, and computer programs; The computer program is stored in the memory and configured to be executed by the processor to implement the vehicle-side function operation method based on the vehicle cloud computing cluster as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the vehicle-side function operation method based on a vehicle cloud computing cluster as described in any one of claims 1 to 9.
13. A computer program product comprising a computer program that, when executed by a processor, implements the vehicle-side function operation method based on a vehicle cloud computing cluster as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Container control method having automatic driving data processing and computing capabilities and program
CN113259846A