CN113259846B - Container control method and program with automatic driving data processing and computing capability - Google Patents

Container control method and program with automatic driving data processing and computing capability Download PDF

Info

Publication number
CN113259846B
CN113259846B CN202110715819.6A CN202110715819A CN113259846B CN 113259846 B CN113259846 B CN 113259846B CN 202110715819 A CN202110715819 A CN 202110715819A CN 113259846 B CN113259846 B CN 113259846B
Authority
CN
China
Prior art keywords
vehicle
container
cloud server
edge cloud
edge
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
CN202110715819.6A
Other languages
Chinese (zh)
Other versions
CN113259846A (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.)
Guoqi Intelligent Control Beijing Technology Co Ltd
Original Assignee
Guoqi Intelligent Control Beijing Technology 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 Guoqi Intelligent Control Beijing Technology Co Ltd filed Critical Guoqi Intelligent Control Beijing Technology Co Ltd
Priority to CN202110715819.6A priority Critical patent/CN113259846B/en
Publication of CN113259846A publication Critical patent/CN113259846A/en
Application granted granted Critical
Publication of CN113259846B publication Critical patent/CN113259846B/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/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • 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]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a container control method and a program with automatic driving data processing and computing capacity, which relate to the automatic driving technology and comprise the steps of sending a first creation instruction to a first edge cloud server when a vehicle is started, wherein the first creation instruction is used for creating a container for the vehicle in the first edge cloud server; acquiring vehicle running data, determining a second edge cloud server according to the running data, and sending a second creation instruction to the second edge cloud server; and continuing to execute the steps of obtaining the vehicle running data and determining a second edge cloud server according to the running data until the vehicle finishes the journey and is in a flameout state. According to the scheme, the second edge cloud server to which the vehicle is to be connected is predicted through analysis of the acquired vehicle data, and the container is created in advance, so that the instantaneity of switching to the second edge cloud server when the vehicle crosses the boundary is guaranteed; therefore, the container of the second edge cloud server continuously receives the request of the vehicle and quickly responds to the data and function request of the vehicle end, and the operation of the automatic driving function calculation is ensured.

Description

Container control method and program with automatic driving data processing and computing capability
Technical Field
The present disclosure relates to an automatic driving technique, and more particularly, to a container control method and program having automatic driving data processing and calculation capabilities.
Background
Currently, in order to improve the functionality and safety of automobiles, a number of vehicles are provided with a driving assistance system. Various applications are included in the driver assistance system, enabling the vehicle to formulate a driving strategy based on the functionality of the application.
In the prior art, an application with a high real-time requirement in a driving assistance system is deployed in a vehicle, and particularly can be deployed in vehicle-mounted equipment of the vehicle. For some applications with low real-time performance, the applications can be set at the cloud end, and processing results are sent to the vehicle from the cloud end through interaction between the vehicle and the cloud end.
In the prior art, applications with high real-time performance need to be deployed in a vehicle, so that vehicle-mounted equipment with high computing capacity needs to be deployed in the vehicle, and the vehicle manufacturing cost is further increased. Therefore, on the premise that low-delay and high-reliability communication exists between the vehicle and the edge cloud, for example, 5G communication, how to ensure that when the application is deployed in the cloud in a vehicle cloud digital twin container manner, the container can track rapid and reliable migration and switching of the vehicle between the edge clouds is a technical problem that needs to be solved by technical personnel in the field.
Disclosure of Invention
The disclosure provides a container control method and a container control program with automatic driving data processing and computing capabilities, and aims to solve the problem that in the prior art, when an application is deployed at a cloud end, the real-time performance of the application processing result fed back to a vehicle by the cloud end is slow.
According to a first aspect of the present application, there is provided a method for controlling a container having automated driving data processing and computing capabilities, the method being applied to a central cloud server, comprising: when a vehicle is started, sending a first creation instruction to a first edge cloud server closest to the position of the vehicle, wherein the first creation instruction is used for creating a container for the vehicle in the first edge cloud server, and the container is used for processing data of the vehicle and performing corresponding function calculation based on an application deployed in the container; acquiring running data of the vehicle, determining a second edge cloud server according to the running data, and sending a second creation instruction to the second edge cloud server, wherein the second creation instruction is used for creating a container for the vehicle in the second edge cloud server; and continuing to execute the steps of acquiring the driving data of the vehicle and determining a second edge cloud server according to the driving data until the vehicle finishes the journey and is in a flameout state.
According to a second aspect of the present application, there is provided a method for controlling a container having automated driving data processing and computing capabilities, the method being applied to an edge cloud server, comprising: receiving a creation instruction for creating a container for a vehicle, and creating the container for the vehicle by a container controller according to the creation instruction; receiving an application request sent by the vehicle, and processing the application request by using a container of the vehicle to obtain a processing result; and sending the processing result to the vehicle.
According to a third aspect of the present application, there is provided a method of controlling a container having automated driving data processing and computing capabilities, the method being applied to a vehicle, comprising: respectively sending application requests to a first edge cloud server connected with the vehicle and a second edge cloud server to be connected with the vehicle; the second edge cloud server is determined by a central cloud server; receiving a first processing result sent by a first edge cloud server and a second processing result sent by a second edge cloud server; wherein the first processing result is obtained based on a container of the vehicle in the first edge cloud server, and the second processing result is obtained based on a container of the vehicle in the second edge cloud server; if the container switching condition is determined to be met according to the first processing result and the second processing result, sending the container switching result to a central cloud server; and receiving a container switching instruction sent by the central cloud server, and releasing the connection with the container in the first edge cloud server. According to a fourth aspect of the present application, there is provided a control apparatus for a container having automated driving data processing and computing capabilities, the apparatus being applied to a central cloud server, comprising: a first creation instruction sending unit, configured to send a first creation instruction to a first edge cloud server closest to a location of the vehicle when the vehicle starts, where the first creation instruction is used to create a container for the vehicle in the first edge cloud server, where the container is used to process data of the vehicle based on an application deployed in the first edge cloud server; the second edge cloud server determining unit is used for acquiring the driving data of the vehicle, determining a second edge cloud server according to the driving data, and sending a second creating instruction to the second edge cloud server, wherein the second creating instruction is used for creating a container for the vehicle in the second edge cloud server; the second edge cloud server determining unit is further configured to continue to execute the step of obtaining the driving data of the vehicle and determining the second edge cloud server according to the driving data until the vehicle finishes the trip and is in a flameout state.
According to a fifth aspect of the present application, there is provided a control apparatus of a container having an automatic driving data processing and computing capability, the apparatus being applied to an edge cloud server, comprising: the system comprises a container creation unit, a container controller and a control unit, wherein the container creation unit is used for receiving a creation instruction for creating a container for a vehicle, and the container is created for the vehicle by the container controller according to the creation instruction; the processing unit is used for receiving the application request sent by the vehicle and processing the application request by using a container of the vehicle to obtain a processing result; a feedback unit for sending the processing result to the vehicle.
According to a sixth aspect of the present application, there is provided a control device for a container having automated driving data processing and computing capabilities, the device being applied to a vehicle, comprising: a request sending unit, configured to send application requests to a first edge cloud server connected to the vehicle, and a second edge cloud server to be connected to the vehicle; the second edge cloud server is determined by the central cloud server; the result receiving unit is used for receiving a first processing result sent by the first edge cloud server and a second processing result sent by the second edge cloud server; wherein the first processing result is obtained based on a container of the vehicle in the first edge cloud server, and the second processing result is obtained based on a container of the vehicle in the second edge cloud server; a container switching result sending unit, configured to send a container switching result to a central cloud server if it is determined that a container switching condition is satisfied according to the first processing result and the second processing result; and the instruction receiving unit is used for receiving the container switching instruction sent by the central cloud server and releasing the connection with the container in the first edge cloud server. According to a seventh aspect of the present application, there is provided an electronic device comprising a memory and a processor; wherein the memory is used for storing a computer program; the processor is configured to read the computer program stored in the memory, and execute the control method of the container with the automatic driving data processing and the computing capability according to the computer program in the memory.
According to an eighth aspect of the present application, there is provided a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a method of controlling a container having automated driving data processing and computing capabilities as described in the first, second, and third aspects.
According to a ninth aspect of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method of controlling a container having automated driving data processing and computing capabilities as described in the first, second, third aspects.
According to a tenth aspect of the present application, there is provided a control system for a container for processing autopilot data, comprising a central cloud server, an edge cloud server, a vehicle; the center cloud server is configured to execute the control method of the container with the automatic driving data processing and computing capability according to the first aspect, the edge cloud server is configured to execute the control method of the container with the automatic driving data processing and computing capability according to the second aspect, and the vehicle is configured to execute the control method of the container with the automatic driving data processing and computing capability according to the third aspect.
The present disclosure provides a container control method and device with automatic driving data processing and computing capability, comprising: when a vehicle is started, sending a first creation instruction to a first edge cloud server closest to the position of the vehicle, wherein the first creation instruction is used for creating a container for the vehicle in the first edge cloud server, and the container is used for processing data of the vehicle based on an application deployed in the first edge cloud server; acquiring running data of the vehicle, determining a second edge cloud server according to the running data, and sending a second creation instruction to the second edge cloud server, wherein the second creation instruction is used for creating a container for the vehicle in the second edge cloud server; and continuing to execute the steps of acquiring the driving data of the vehicle and determining a second edge cloud server according to the driving data until the vehicle finishes the journey and is in a flameout state. In the container control method and program with automatic driving data processing and computing capabilities, a second edge cloud server to which a vehicle is to be connected is predicted through analysis of acquired vehicle data, and a container is created in advance, so that instantaneity of switching to the second edge cloud server when the vehicle crosses a boundary is guaranteed; therefore, the container of the second edge cloud server continuously receives the request of the vehicle and quickly responds to the data and function request of the vehicle end, and the operation of the automatic driving function calculation is ensured.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for controlling a container with automated driving data processing and computing capabilities according to a first exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for controlling a container having automated driving data processing and computing capabilities according to a second exemplary embodiment of the present application;
FIG. 3 is a flow chart illustrating a method of controlling a container having automated driving data processing and computing capabilities according to a third exemplary embodiment of the present application;
FIG. 4 is a flow chart illustrating a method of controlling a container with automated driving data processing and computing capabilities according to a fourth exemplary embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a method of controlling a container with automated driving data processing and computing capabilities according to a fifth exemplary embodiment of the present application;
FIG. 6 is a flow chart illustrating a method of controlling a container with automated driving data processing and computing capabilities according to a sixth exemplary embodiment of the present application;
FIG. 7 is a process diagram illustrating a method of controlling a container with automated driving data processing and computing capabilities according to an exemplary embodiment of the present application;
FIG. 8 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a first exemplary embodiment of the present application;
FIG. 9 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a second exemplary embodiment of the present application;
FIG. 10 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a third exemplary embodiment of the present application;
FIG. 11 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a fourth exemplary embodiment of the present application;
FIG. 12 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a fifth exemplary embodiment of the present application;
FIG. 13 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a sixth exemplary embodiment of the present application;
fig. 14 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Currently, in order to improve the functionality and safety of automobiles, a number of vehicles are equipped with a driving assistance system. Various applications are included in the driver assistance system, enabling the vehicle to formulate a driving strategy based on the functionality of the application. The application with high real-time requirement in the driving assistance system is deployed in a vehicle, and particularly can be deployed in vehicle-mounted equipment of the vehicle. For some applications with low real-time performance, the applications can be deployed at the cloud end, and processing results are sent to the vehicle from the cloud end through interaction between the vehicle and the cloud end.
However, when an application with high real-time performance is installed in a vehicle, it is necessary to install an in-vehicle device with high calculation capability in the vehicle, which increases the cost of manufacturing the vehicle. Therefore, on the premise that low-delay and high-reliability communication exists between the vehicle and the edge cloud, for example, 5G communication, how to ensure that when the application is deployed in the cloud in a vehicle cloud digital twin container manner, the container can track rapid and reliable migration and switching of the vehicle between the edge clouds is a technical problem that needs to be solved by technical personnel in the field.
In order to solve the technical problem, in the scheme provided by the application, a second edge cloud server to which a vehicle is to be connected is predicted through analysis of acquired vehicle data, and a container is created in advance, so that the instantaneity of switching to the second edge cloud server when the vehicle crosses a boundary is ensured; therefore, the container of the second edge cloud server continuously receives the request of the vehicle and quickly responds to the data and function request of the vehicle end, and the operation of the automatic driving function calculation is ensured.
Fig. 1 is a flowchart illustrating a control method of a container having automated driving data processing and computing capabilities according to a first exemplary embodiment of the present application. The control method of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to a central cloud server.
The vehicle may transmit the driving data and the vehicle information of the vehicle to the central cloud server. The center cloud server determines the edge cloud server according to the driving data of the vehicle sent by the vehicle, and sends the vehicle information and the related instruction to the edge cloud server. The edge cloud server establishes a communication channel with the vehicle according to the vehicle information sent by the central cloud server, and the edge cloud server creates or releases a container related to the vehicle according to a related instruction sent by the central cloud server.
The relevant information sent by the vehicle to the central cloud server can be transmitted to the base station first, and then the relevant information is forwarded to the central cloud server through the edge cloud server connected with the base station.
The edge cloud server refers to a server in a machine room of a base station, wherein the base station refers to a base station which can meet the requirements of real-time performance, reliability and bandwidth guarantee, such as a 5G base station; the vehicle is an automatic driving vehicle, a vehicle-mounted computer is arranged on the automatic driving vehicle and used for processing application data on the vehicle, and the automatic driving vehicle is a vehicle with an automatic driving function.
The container with automatic driving data processing and computing capability means that the container in the scheme not only has the capability of processing data in the database, but also has the computing capability of processing related applications in the vehicle.
Wherein, the container that indicates in this scheme is car cloud digital twin container.
The Vehicle cloud refers to Vehicle cloud computing, the function of a Vehicle end is operated at the cloud end by the Vehicle cloud computing in a narrow sense, and a main body mainly aims at a single Vehicle and an Intelligent networked Vehicle Operating System (ICVOS); the 'generalized' vehicle cloud computing also comprises various corresponding single-vehicle or multi-vehicle platform frameworks and various scene applications in the cloud. From the perspective of data flow, the real-time data can be seen from a vehicle end to a cloud end, the result of the real-time data is calculated by the cloud end and is sent to the vehicle end in real time, and an automatic driving process of the vehicle end is fused.
The vehicle cloud computing architecture can support networking cloud control application and cloud application. Based on the cooperative work capacity of the vehicle cloud provided by the vehicle cloud computing platform, the cloud application development can support the existing non-real-time cloud application, such as the application supported by the internet cloud control. And meanwhile, wider real-time and weak real-time cloud applications can be supported. The application range of the cloud end and the automatic driving capability of the vehicle end are greatly expanded.
The networking cloud control application is mainly used as vehicle perception data input and control means expansion.
Cloud applications can be divided into three forms: the cloud application in the logic single vehicle corresponds to narrow vehicle cloud computing; the method mainly aims at the cloud application of the single vehicle, opposite to the single vehicle and outside the range of the logical single vehicle, and corresponds to the generalized vehicle cloud computing; and cloud computing corresponding to a broad sense for multi-vehicle, single-vehicle-opposite and out-of-range cloud applications of logical single vehicles.
"twin" is actually expressing several different concepts at present, or is a hierarchical and comprehensive concept, and generally refers to a central cloud digital twin, corresponding to the conventional Internet of Things (IOT), from a real vehicle to a cloud, and mirroring of the real vehicle in the cloud, mainly status data presentation, command issue, and the like. The vehicle cloud digital twin refers to a digital twin technology applied to edge cloud, and refers to a digital twin technology with computing power, a container and supporting ICVOS. It needs to be coordinated with the central cloud IOT digital twins, but is essentially different from the central cloud IOT digital twins. The scheme refers to vehicle cloud digital twins. This is a core feature supported by the basic platform framework of vehicle cloud computing. The real-time performance and the reliability of the base station are key elements meeting the vehicle cloud computing requirements, for example, 5G Ultra-reliable and Low Latency Communications (URLLC) slicing technology can be applied. Migration and switching of the vehicle cloud digital twin container need to be closely matched with an ICVOS application layer switching mechanism and a central cloud system layer mechanism to achieve smooth operation.
As shown in fig. 1, the method for controlling a container with automatic driving data processing and computing capability according to the present embodiment includes:
step 101, when a vehicle is started, sending a first creation instruction to a first edge cloud server closest to the position of the vehicle, wherein the first creation instruction is used for creating a container for the vehicle in the first edge cloud server, and the container is used for processing data of the vehicle and performing corresponding function calculation based on an application deployed in the container.
The method provided by the present application may be executed by an electronic device with computing capability, for example, a computer or other devices. The electronic device is capable of sending and receiving a creation instruction and creating a container based on the creation instruction, the created container being usable to process data of the vehicle. The electronic device may be, for example, a central cloud server, and the central cloud server may be in the form of a cluster server, a distributed server, and the like, which is not limited in particular.
The central cloud server can acquire vehicle information of the vehicle, wherein the vehicle information comprises vehicle basic information and position information. When the vehicle ignition is started, vehicle information is automatically sent to the central cloud server.
When the vehicle is ignited and started, the vehicle-mounted equipment in the vehicle can be electrified and operated, and the vehicle information can be sent to the central cloud server through the vehicle-mounted equipment. After the center cloud server obtains the information of starting the automatic driving vehicle, the center cloud server searches for an edge cloud server closest to the vehicle, namely a first edge cloud server, and sends a first creation instruction to the first edge cloud server, and after the first edge cloud server receives the first creation instruction, a container is created in the first edge cloud server according to the instruction, and the container is used for processing application data of the vehicle.
For example, the vehicle may send a request to a first edge cloud server, which may process the request based on a container created for the vehicle and feed back the processing results to the vehicle.
In practical application, the first edge cloud server may deploy an application of the driving assistance system, such as an application for making a driving strategy, such as an application for identifying an environment around the vehicle, and the like. The container may process the vehicle's request based on these applications and then feed the results back to the vehicle.
Step 102, obtaining driving data of the vehicle, determining a second edge cloud server according to the driving data, and sending a second creating instruction to the second edge cloud server, wherein the second creating instruction is used for creating a container for the vehicle in the second edge cloud server.
The second edge cloud server refers to an edge cloud server of a next base station into which the vehicle is about to enter.
Specifically, in order to ensure that the vehicle and the base station can stably communicate, after the vehicle enters the signal coverage area of the next base station, the vehicle may be in communication connection with the next base station and disconnected from the previous base station under a certain condition. For example, the signal strength of the next base station received by the vehicle is greater than the signal strength of the previous base station.
Further, in order to ensure that the next base station can quickly respond to the request of the vehicle after the vehicle is in communication connection with the next base station, the center cloud server may predict the next base station to which the vehicle is to be connected, and send a second creation instruction to the second edge cloud server in the next base station, so that the edge cloud server of the base station can create a container of the vehicle in advance before the vehicle is connected with the base station, and then the edge cloud server can utilize the created container to quickly respond to the request after receiving the request of the vehicle.
The center cloud server can acquire the driving data of the vehicle, predict the range of the next base station to which the vehicle is about to enter according to the driving data of the vehicle, send a second creation instruction to a second edge cloud server in the next base station, and after receiving the second creation instruction, the second edge cloud server creates a container in the second edge cloud server according to the instruction, wherein the container is used for processing the request of the vehicle based on the application in the second edge cloud server.
Specifically, the central cloud server may obtain information such as a driving direction and a driving track of the vehicle, and estimate a signal coverage of a next base station where the vehicle is to enter through the information.
And continuing to execute the step 102, realizing the movement of the container following the vehicle among the edge clouds like the image, until the vehicle is obtained to end the state that the vehicle is flameout when the vehicle is driven.
Specifically, in the process of one-time running of the vehicle, namely the process from ignition starting to flameout parking, there may be a need for switching the edge cloud server more than once, the central cloud server may obtain the running data of the vehicle all the time, and repeat the above steps of determining the second edge cloud server until the automatically driven vehicle finishes the flameout parking of the trip.
Specifically, for example, the kubernets (K8S) Platform may be applied to implement the present solution, and the K8S Platform is currently the mainstream cloud Platform (PaaS). An Operator architecture mode may be employed, wherein the Operator architecture mode may extend the K8S Application Program Interface (API) to implement a specific Application controller for creating, configuring and managing complex stateful applications, such as databases, caches and monitoring systems. The Operator is built on the Resource and controller concept of K8S, but also contains application specific domain knowledge, and the key is the design of Custom Resource (CRD).
Besides better supporting the running of stateless applications, the K8S supports certain stateful applications through stateful services (stateful set). It does not solve all the problems of stateful applications. The Operator of K8S is an automated software management mechanism responsible for handling the installation and lifecycle management of software deployed on K8S, particularly stateful applications. The Operator may be simple, such as being responsible only for software installation, or complex, such as software updates, full lifecycle management, monitoring alarms, and even auto scaling.
Further, the scheme implementation can adopt a K8S Operator mode to implement lifecycle management of digital twins, such as on 5G edge clouds, and particularly implement a digital twins stateful migration switching logic.
Besides interacting with the K8S through an Operator framework, the vehicle cloud digital twin controller also needs to interact with a central cloud digital twin system through mechanisms such as a Message Queue Telemetry Transport (MQTT) protocol and a websocket protocol, interact with a logic single vehicle through a corresponding communication mechanism, and cooperate with an ICVOS application layer switching mechanism. The application provides a control method of a container with automatic driving data processing and computing capacity, which comprises the following steps: when a vehicle is started, sending a first creation instruction to a first edge cloud server closest to the position of the vehicle, wherein the first creation instruction is used for creating a container for the vehicle in the first edge cloud server, and the container is used for processing data of the vehicle based on an application deployed in the first edge cloud server; acquiring the driving data of the vehicle, determining a second edge cloud server according to the driving data, and sending a second creation instruction to the second edge cloud server, wherein the second creation instruction is used for creating a container for the vehicle in the second edge cloud server; and continuing to execute the steps of acquiring the driving data of the vehicle and determining a second edge cloud server according to the driving data until the vehicle finishes the journey and is in a flameout state. In the method adopted in the application, the second edge cloud server to which the vehicle is to be connected is predicted through analysis of the acquired vehicle data, and a container is created in advance, so that the instantaneity of switching to the second edge cloud server when the vehicle crosses a boundary is ensured; therefore, the container of the second edge cloud server continuously receives the request of the vehicle and quickly responds to the data and function request of the vehicle end, and the operation of the automatic driving function calculation is ensured.
Fig. 2 is a flowchart illustrating a control method of a container having automated driving data processing and computing capabilities according to a second exemplary embodiment of the present application.
The control method of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to a central cloud server.
As shown in fig. 2, the method for controlling a container with automatic driving data processing and computing capability according to the present embodiment includes:
step 201, when a vehicle is started, sending a first creation instruction to a first edge server edge cloud server closest to the position of the vehicle, wherein the first creation instruction is used for creating a container for the vehicle in the first edge server edge cloud server, and the container is used for deploying and setting data of the vehicle processed by an application in the container created in the first edge server and performing corresponding function calculation; the container is used to process the data of the vehicle and perform corresponding functional calculations based on the application deployed therein.
Specifically, the edge cloud server includes a container controller therein. The container controller is used for creating or releasing containers in the edge cloud server.
The container controller in the scheme is a vehicle cloud digital twin container life cycle and a migration controller, wherein the life cycle refers to a journey from ignition starting to flameout stopping of a vehicle, and migration refers to migration and switching of a container of the vehicle in different edge cloud servers in the process of one journey of the vehicle.
Further, when the vehicle is started, the central cloud server may send a first creation instruction to the container controller of the first edge cloud server, and after receiving the first creation instruction sent by the central cloud server, the container controller of the first edge cloud server may create a container of the vehicle.
Step 202, sending information of the vehicle to a container controller of the first edge cloud server, so that the container controller of the first edge cloud server creates a communication channel between the vehicle and a container of the vehicle in the first edge cloud server.
The vehicle information sent by the central cloud server to the container controller of the first edge cloud server may include information such as an IP address and a port of the vehicle.
Specifically, after the container controller in the first edge cloud server receives the information of the vehicle, a communication channel can be created between the vehicle and the container of the vehicle, so that the vehicle and the container of the vehicle can perform information interaction through the communication channel. For example, the vehicle may send data to the container through the established communication channel, and after the container processes the data, the processing result may be fed back to the vehicle through the established communication channel.
Step 203, acquiring the driving direction and position information of the vehicle; and predicting a second edge cloud server to which the vehicle is to be connected according to the driving direction and the position information.
Specifically, the center cloud server acquires the driving direction and the position information of the vehicle transmitted from the vehicle, and estimates the range of the next base station to which the vehicle will enter. The second edge cloud server is the server of the next base station to be connected with the vehicle.
Step 204, sending a second creation instruction to the container controller of the second edge cloud server, so that the container controller of the second edge cloud server creates a container of the vehicle in the second edge cloud server.
Specifically, after the central cloud server determines a second edge cloud server to which the vehicle is to be connected, a second creation instruction may be sent to a container controller of the second edge cloud server, and the container controller creates a container corresponding to the vehicle in the second edge cloud server according to the instruction.
By the implementation, when the vehicle needs to be provided with services based on the application deployed in the second edge cloud server, the second edge cloud server can quickly respond to the request of the vehicle, so that the interaction capacity between the vehicle and the second edge cloud server is improved.
Step 205, sending the information of the vehicle to the container controller of the second edge cloud server, so that the container controller of the second edge cloud server creates a communication channel between the vehicle and the container of the vehicle in the second edge cloud server.
The vehicle information sent by the central cloud server to the container controller of the second edge cloud server includes information such as an IP address and a port of the vehicle.
Specifically, the container controller in the second edge cloud server is used for creating a communication channel between the vehicle and the container of the vehicle, so that information interaction is performed between the vehicle and the corresponding container, the vehicle sends data to the container, and the container processes the data and feeds back a processing result to the vehicle.
And step 206, receiving the container switching result sent by the vehicle, and acquiring the position information of the vehicle.
Specifically, after detecting that the second edge cloud server is ready, the vehicle sends a container switching result to the center cloud server, and the center cloud server can receive the container switching result sent by the vehicle.
The position information of the vehicle is automatically sent to the central cloud server by the vehicle. The central cloud server can acquire vehicle position information transmitted by the vehicle.
And step 207, if the container switching condition is determined to be met according to the container switching result sent by the vehicle and the position information of the vehicle, sending a release instruction for releasing the container to the container controller of the first edge cloud server, so that the container controller of the first edge cloud server releases the container of the vehicle in the first edge cloud server.
Specifically, if the center cloud server receives a container switching result sent by the vehicle and the position of the vehicle passes through the center position where the coverage areas of the front base station and the rear base station overlap, the center cloud server sends a release instruction for releasing the container to the container controller of the first edge cloud server, so that the container controller of the first edge cloud server releases the container of the vehicle in the first edge cloud server.
The central position of the overlapping position of the coverage areas of the front base station and the rear base station is obtained by analyzing the base station information sent by the central cloud server based on the two base stations.
Step 203 continues until the vehicle stalls at the end of the trip.
For example, if the central cloud server predicts that the vehicle will establish a connection with the next second edge cloud server, the next second edge cloud server may be instructed to create a container of the vehicle, and when a container switching condition is satisfied, the central cloud server may instruct the current second edge cloud server to release the container, so as to save the computing resources in the edge cloud servers.
Fig. 3 is a flowchart illustrating a control method of a container having automated driving data processing and computing capabilities according to a third exemplary embodiment of the present application.
The control method of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to an edge cloud server.
As shown in fig. 3, the method for controlling a container with automatic driving data processing and computing capability according to the present embodiment includes:
step 301, receiving a creation instruction for creating a container for a vehicle, and creating the container for the vehicle by the container controller according to the creation instruction.
Specifically, after the ignition of the vehicle is started, the vehicle information is automatically sent to the center cloud server, and the center cloud server searches for a first edge cloud server closest to the vehicle after acquiring the vehicle information and sends a creation instruction to the first edge cloud server.
When the edge cloud server executing the method is the first edge cloud server, the edge cloud server can receive a creating instruction sent by the center cloud server and used for creating a container for the vehicle, and an internal container controller is used for creating the container for the vehicle according to the creating instruction.
Further, after the central cloud server predicts a second edge cloud server to which the vehicle is to be connected according to the acquired driving direction and position information of the vehicle sent by the vehicle, a creation instruction is sent to the second edge cloud server in advance, the second edge cloud server receives the creation instruction for creating a container for the vehicle, and the container controller in the second edge cloud server creates the container for the vehicle according to the creation instruction.
When the edge cloud server executing the method is the second edge cloud server, the container can be created for the vehicle in advance, so that the container of the vehicle can be created in advance before the vehicle is connected with the edge cloud server, and the pre-created container can be used for quickly responding to the request after the edge cloud server receives the application request of the vehicle.
Step 302, receiving an application request sent by a vehicle, and processing the application request by using a container of the vehicle to obtain a processing result.
Specifically, after the container controller in the edge cloud server creates the associated container for the vehicle according to the creation instruction sent by the central cloud server, the container controller receives the vehicle information sent by the central cloud server, and establishes a communication channel for the vehicle and the container of the vehicle according to the vehicle information. The container of the vehicle receives the application request sent by the vehicle and processes the request to obtain a processing result.
Further, when the central cloud server predicts a second edge cloud server to which the vehicle is to be connected according to the acquired driving direction and position information of the vehicle sent by the vehicle, and the switching condition of the edge cloud server is not met. The container of the vehicle in the first edge cloud server and the container of the vehicle in the second edge cloud server both receive the application request sent by the vehicle and process the application request, and a first processing result and a second processing result are correspondingly obtained.
Step 303, the processing result is sent to the vehicle.
Specifically, the container of the vehicle feeds back the obtained processing result to the vehicle through the communication channel.
Further, after the central cloud server predicts a second edge cloud server to which the vehicle is to be connected according to the acquired driving direction and position information of the vehicle sent by the vehicle, and when the edge cloud server switching condition is not yet met, both a first processing result obtained by using a container of the vehicle in the first edge cloud server and a second processing result obtained by using a container of the vehicle in the second edge cloud server are sent to the vehicle. In this case, both the first edge cloud server and the second edge cloud server of the vehicle feed back the processing result to the vehicle.
In the method adopted in the application, the second edge cloud server to which the vehicle is to be connected is predicted through analysis of the acquired vehicle data, and a container is created in advance, so that the instantaneity of switching to the second edge cloud server when the vehicle crosses a boundary is ensured; therefore, the container of the second edge cloud server continuously receives the request of the vehicle and quickly responds to the data and function request of the vehicle end, and the operation of the automatic driving function calculation is ensured.
Fig. 4 is a flowchart illustrating a control method of a container having automated driving data processing and computing capabilities according to a fourth exemplary embodiment of the present application.
The control method of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to an edge cloud server.
As shown in fig. 4, the method for controlling a container with automatic driving data processing and computing capability according to the present embodiment includes:
step 401, receiving a creation instruction for creating a container for a vehicle, and allocating container resources for the vehicle; creating, by the container controller, a container associated with the vehicle using the container resource.
Specifically, the edge cloud server allocates container resources to the vehicle after receiving a creation instruction used by the central cloud server to create a container for the vehicle, and a container controller of the edge cloud server creates a container associated with the vehicle for the vehicle by using the container resources.
And 402, receiving the information of the vehicle sent by the center cloud server, and creating a channel between the vehicle and a container created for the vehicle in the edge cloud server by using the container controller.
Specifically, the container controller of the edge cloud server receives information of the vehicle, including information such as an IP address and a port of the vehicle, sent by the central cloud server, and creates a communication channel between the vehicle and a container associated with the vehicle according to the information, so that the vehicle and the associated container can communicate with each other.
And step 403, receiving the application request sent by the vehicle, and processing the application request by using the container of the vehicle to obtain a processing result.
Step 403 is similar to step 302 in implementation and principle, and is not described again.
Step 404, the processing result is sent to the vehicle.
Step 404 is similar to step 303 in implementation and principle, and is not described again.
Step 405, receiving a releasing instruction for releasing the container of the vehicle, and releasing the container of the vehicle by the container controller according to the releasing instruction.
The container of the vehicle refers to a container associated with the vehicle in the edge cloud server, and the container has corresponding vehicle functions for processing application requests of the vehicle.
Specifically, the container controller of the edge cloud server receives a release instruction sent by the central cloud server for releasing the container of the vehicle, and the container controller releases the container of the vehicle according to the release instruction.
Further, the situation that the container controller of the edge cloud server receives the release instruction includes that in the whole container migration process, one situation is that the vehicle leaves from the coverage of the previous base station to enter the coverage of the next base station along with the driving of the vehicle, the edge cloud server needs to be switched, and the container in the previous edge cloud server is released; another situation is that the vehicle is out of park and the container of the edge cloud server needs to be released.
In actual application, when any one of the conditions is met, the central cloud server can send a container release instruction to the edge cloud server, and then the container in the edge cloud server is released in time, so that the computing resources of the edge cloud server are saved.
Fig. 5 is a flowchart illustrating a control method of a container having automated driving data processing and computing capabilities according to a fifth exemplary embodiment of the present application.
The control method of the container with the automatic driving data processing and calculating capability provided by the embodiment can be applied to vehicles.
As shown in fig. 5, the method for controlling a container with automatic driving data processing and computing capability according to the present embodiment includes:
step 501, respectively sending application requests to a first edge cloud server connected with a vehicle and a second edge cloud server to be connected with the vehicle; the second edge cloud server is determined by the central cloud server.
The first edge cloud server is an edge cloud server which provides the application server for the vehicle at present.
Specifically, after the ignition of the vehicle is started, the vehicle information is automatically sent to the center cloud server, and after the center cloud server obtains the vehicle information, the edge cloud server closest to the vehicle is found and a creation instruction is sent to the edge cloud server. The edge cloud server receives a creation instruction sent by the center cloud server for creating a container for the vehicle, and the container is created for the vehicle by a container controller in the edge cloud server according to the creation instruction. When the vehicle receives the service provided by the edge cloud server, the edge cloud server can be used as a first edge cloud server.
After the container controller in the first edge cloud server creates the associated container for the vehicle according to the creation instruction sent by the central cloud server, the container controller receives vehicle information sent by the central cloud server, and establishes a communication channel for the vehicle and the container of the vehicle according to the vehicle information so as to enable the vehicle and the container of the vehicle to communicate with each other. The vehicle sends an application request to a container of the vehicle in a first edge cloud server connected with the vehicle through a communication channel.
The second edge cloud server refers to an edge cloud server to which the vehicle is to be connected, and the vehicle is to use the application service provided by the second edge cloud server.
Further, after the central cloud server predicts a second edge cloud server to which the vehicle is to be connected according to the acquired driving direction and position information of the vehicle sent by the vehicle, a creation instruction is sent to the second edge cloud server in advance, the second edge cloud server receives the creation instruction for creating a container for the vehicle, and the container controller in the second edge cloud server creates the container for the vehicle according to the creation instruction. After the container controller in the second edge cloud server creates the associated container for the vehicle according to the creation instruction sent by the central cloud server, the container controller receives the vehicle information sent by the central cloud server, and establishes a communication channel for the vehicle and the container of the vehicle according to the vehicle information, so that the vehicle and the container of the vehicle can communicate with each other.
The vehicle sends the application request to the container of the vehicle in the first edge cloud server over a communication channel with the container of the vehicle in the first edge cloud server and sends the application request to the container of the vehicle in the second edge cloud server over a communication channel with the container of the vehicle in the second edge cloud server.
Where the vehicle sends the same application request to both containers.
In one embodiment, assuming that the vehicle is always within the signal coverage range of one base station in one trip from starting to flameout and stopping, the vehicle can use the edge cloud server service of the base station during driving.
Step 502, receiving a first processing result sent by a first edge cloud server and a second processing result sent by a second edge cloud server; wherein the first processing result is obtained based on the container of the vehicle in the first edge cloud server, and the second processing result is obtained based on the container of the vehicle in the second edge cloud server.
Specifically, after two containers associated with the vehicle in the first and second edge cloud servers process the application request sent by the vehicle, a processing result is obtained and fed back to the vehicle.
Further, the vehicle uses the first processing result at this time, and the second processing result is received but not used. The driving strategy may be executed, for example, based on the result of the first processing.
Step 503, if it is determined that the container switching condition is met according to the first processing result and the second processing result, sending a container switching result to the central cloud server.
Further, if the vehicle determines that the first processing result and the second processing result do not satisfy the container switching condition, the vehicle does not send the container switching result to the central cloud server.
Step 504, receiving a container switching instruction sent by the center cloud server, and releasing connection with the container in the first edge cloud server.
Specifically, when the central cloud server judges that the container switching condition is met, a container switching instruction is sent to the vehicle end, and the vehicle receives the container switching instruction sent by the central cloud server and releases connection with a container of the vehicle in the previous edge cloud server, namely the first edge cloud server, according to the instruction.
After the vehicle releases the connection with the container of the vehicle in the first edge cloud server, the communication channel between the vehicle and the container of the vehicle in the first edge cloud server is disconnected, and the vehicle does not send the application request to the container of the vehicle in the first edge cloud server any more.
Further, after the vehicle is disconnected from the container in the first edge cloud server, only the service provided by the second edge cloud server is used until the central cloud server determines the next second edge cloud server, and step 501 is repeated.
In actual application, the vehicle may send the application request to the second edge cloud server only under certain conditions. For example, the central cloud server may instruct the second edge cloud server to create a container for the vehicle and instruct the vehicle to send the application request to the second edge cloud server when the distance between the vehicle and the second edge cloud server is less than a threshold value or is within a service range of the second edge cloud server.
In the method adopted by the application, the second edge cloud server to which the vehicle is to be connected can be predicted through analysis of the acquired vehicle data, and the container is created in advance, so that the instantaneity of switching to the second edge cloud server when the vehicle crosses the boundary is ensured; therefore, the container of the second edge cloud server continuously receives the request of the vehicle and quickly responds to the data and function request of the vehicle end, and the operation of the automatic driving function calculation is ensured.
Fig. 6 is a flowchart illustrating a control method of a container having automated driving data processing and computing capabilities according to a sixth exemplary embodiment of the present application.
The control method of the container with the automatic driving data processing and calculating capability provided by the embodiment can be applied to vehicles.
As shown in fig. 6, the method for controlling a container with automatic driving data processing and computing capability according to the present embodiment includes:
601, respectively sending application requests to a first edge cloud server connected with a vehicle and a second edge cloud server to be connected with the vehicle; the second edge cloud server is determined by the central cloud server.
Step 601 is similar to step 501 in implementation manner and principle, and is not described again.
Step 602, receiving a first processing result sent by a first edge cloud server and a second processing result sent by a second edge cloud server; wherein the first processing result is obtained based on the container of the vehicle in the first edge cloud server, and the second processing result is obtained based on the container of the vehicle in the second edge cloud server.
Step 602 is similar to step 502 in implementation and principle, and is not described again.
Step 603, if the first processing result is consistent with the second processing result, determining that the container switching condition is met, and sending the container switching result to the central cloud server.
Specifically, if the vehicle detects that the second processing result is consistent with the first processing result, it indicates that the processing result of the application request by the second edge cloud server is consistent with the first edge cloud server, and the service provided by the second edge cloud server can be used, so that the vehicle can send the container switching result to the center cloud server.
Further, if the vehicle determines that the first processing result and the second processing result are inconsistent, the vehicle does not send a container switching result to the central cloud server.
Step 604, receiving a container switching instruction sent by the center cloud server, and releasing the connection with the container in the first edge cloud server.
Step 604 is similar to step 504 in implementation and principle, and is not described again.
Step 605, sending an application request to the second edge cloud server, and receiving a processing result fed back by the second edge cloud server.
Specifically, after the connection between the vehicle and the container in the first edge cloud server is released, the service provided by the second edge cloud server starts to be used, the second processing result is received and starts to be used until the central cloud server determines the next second edge cloud server, and step 601 is repeated.
Fig. 7 is a process diagram illustrating a control method for a container with automated driving data processing and computing capabilities according to an exemplary embodiment of the present application.
As shown in fig. 7, the vehicle is ignited from the coverage area of the base station 1, leaves the coverage area of the base station 1 after passing through the transition area between the coverage areas of the base stations 1 and 2, and finally stops in the coverage area of the base station 2, and ends a journey. The base station may be a 5G base station.
The central cloud refers to a central cloud server, and a migration controller is arranged in the central cloud; the edge cloud refers to an edge cloud server, and a container controller and a container are arranged in the edge cloud. During the vehicle traveling, the vehicle may send the vehicle's travel data and vehicle information to a migration controller in the central cloud. The migration controller in the center cloud determines the edge cloud 1 according to the driving data of the vehicle sent by the vehicle, and sends the vehicle information and related instructions to the edge cloud 1. The central management plane in the central cloud mainly serves as platform management and mainly corresponds to multi-vehicle cooperation. The edge cloud 1 creates a container through a container controller in the edge cloud 1 according to vehicle information and a container creation instruction sent by a migration controller in the center cloud, and establishes a communication channel between the container and the vehicle, wherein an edge control surface mainly has a twin life cycle, is supported by cloud cooperative application, mainly corresponds to the container controller in the edge cloud, and is a basic platform framework for vehicle cloud computing. The vehicle sends the application data to be processed to the container through the communication channel, and the result is fed back to the vehicle through the communication channel after the container is processed. The real-time service plane refers to vehicle cloud cooperative work, and for example, may mainly correspond to an ICVOS and an application layer switching mechanism thereof.
The vehicle continues to run, and the migration controller in the center cloud predicts the edge cloud 2 to which the vehicle will be connected according to the acquired running direction and position information of the vehicle. The migration controller in the center cloud sends a create instruction to the controller in the edge cloud 2 to cause the controller in the edge cloud 2 to create a container for the vehicle in the edge cloud 2. The migration controller in the center cloud sends the vehicle information to the container controller in the edge cloud 2, causing the container controller in the edge cloud 2 to create a communication channel between the vehicle and the container of the vehicle in the edge cloud 2. The vehicle sends the application request to containers in the edge cloud 1 and the edge cloud 2 through communication channels in the edge cloud 1 and the edge cloud 2, the containers in the edge cloud 1 and the edge cloud 2 process the application request respectively to obtain processing results, and the processing results are fed back to the vehicle through respective communication channels. The vehicle receives the two processing results, but only uses the result fed back by the container of the edge cloud 1, compares the two processing results, and when the two processing results are consistent, the vehicle sends a container switching result to the migration controller in the center cloud, the migration controller in the center cloud receives the container switching result and detects that the vehicle runs through the center position where the coverage ranges of the base station 1 and the base station 2 are overlapped, the migration controller in the center cloud sends a release instruction to the container controller in the edge cloud 1, and the container controller releases the container of the vehicle in the edge cloud 1 after the edge cloud 1 receives the release instruction. Meanwhile, the migration controller in the center cloud sends a container switching instruction to the vehicle, and the vehicle releases the connection with the container in the edge cloud 1 and starts to use the processing result fed back by the container in the edge cloud 2 after receiving the container switching instruction.
And flameout and parking until the vehicle finishes one stroke. The migration controller in the center cloud receives flameout information of the vehicle, sends a release instruction to the controller in the edge cloud 2, and releases the container of the vehicle in the edge cloud 2 through the controller in the edge cloud 2.
For example, the scheme can be implemented as follows:
wherein, the edge control surface can be an Operator controller interacting with the edge cloud K8S, including:
software Development Kit (SDK) supporting Operator architecture mode based on K8S realizes basic CRD category and example function code; realizing life cycle management functions of a container (POD), a Deployment (Deployment) and a Service (Service) corresponding to the digital twin through a K8S controller mechanism; the switching in the network forwarding plane is realized by updating an Endpoint (Endpoint) object.
The migration of the digital twin on the cloud container level comprises the stages of resource allocation, state replication, network switching, resource release and the like; wherein, the processes of state copy, network switch and the like are matched with the corresponding mechanism of the application layer of the vehicle intelligent network operation system; and the interaction with the system, the edge cloud and the vehicle end can be realized by a Watch mechanism of K8S, message middleware subscription/distribution and the like.
The triggering, the definition, the corresponding decision and other behavior decomposition of the creation of the vehicle journey life cycle object are completed in a system, an edge and a vehicle end in a matching way; migration of a trip across edge clouds within an edge cloud is a special migration within an edge cloud starting from a previous edge cloud and/or the last node connecting to a next edge cloud; migration across edge clouds needs to be cooperatively implemented at the level of the system center cloud.
Two main forms of migration are supported by interaction with a central cloud system mechanism in a central management plane, including:
switching between cross-edge clouds. This is the main scenario for cooperative twin handover migration. The method can also comprise switching among nodes in the edge cloud so as to achieve the purposes of function safety, high reliability and the like. The key is the guarantee of the 5G real-time property. But also with the ICVOS application layer switching mechanism. This is a common mechanism with the corresponding ICVOS functional security, dual-machine cluster (HA), and can be implemented by the enhancement and expansion of the corresponding message bus middleware.
The real-time service plane may interact with an ICVOS application layer mechanism, and includes: taking the nodes of the data distribution service as basic operation granularity; finishing the final switching action at an execution end, namely a message subscription end; performing message synchronization of state information and the like of a transition stage through a main and standby A/B message theme (Topic); the method can be used as an integrated implementation scheme in a proxy node mode, and the implementation of the existing functional nodes can not be changed; the corresponding switching mechanism is encapsulated in the mechanism of a unified pluggable component.
FIG. 8 is a block diagram of a control device for a container with automated driving data processing and computing capabilities according to an exemplary embodiment of the present application.
The control device of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to a central cloud server.
As shown in fig. 8, the present application provides a control apparatus 800 for a container with automated driving data processing and computing capabilities, comprising:
a first creation instruction sending unit 810, configured to send a first creation instruction to a first edge cloud server closest to a location of a vehicle when the vehicle starts, where the first creation instruction is used to create a container for the vehicle in the first edge cloud server, where the container is used to process data of the vehicle based on an application deployed therein and perform corresponding function calculation;
a second edge cloud server determining unit 820, configured to obtain driving data of the vehicle, determine a second edge cloud server according to the driving data, and send a second creation instruction to the second edge cloud server, where the second creation instruction is used to create a container for the vehicle in the second edge cloud server;
the second edge cloud server determining unit 820 is further configured to continue to perform the steps of acquiring the driving data of the vehicle and determining the second edge cloud server according to the driving data until the vehicle finishes the trip, wherein the trip is in a flameout state.
Fig. 9 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a second exemplary embodiment of the present application.
The control device of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to a central cloud server.
As shown in fig. 9, in the control device 900 for a container with automatic driving data processing and computing capability provided by the present application, the first creation instruction sending unit 810 is specifically configured to, when the vehicle starts, send a first creation instruction to the container controller of the first edge cloud server closest to the vehicle position, so that the container controller of the first edge cloud server creates a container of the vehicle in the first edge cloud server, where the container is used for processing data of the vehicle.
The first creation instruction sending unit 810 is further configured to send information of the vehicle to the container controller of the first edge cloud server, so that the container controller of the first edge cloud server creates a channel between the vehicle and the container created for the vehicle in the first edge cloud server.
As shown in fig. 9, in the control apparatus 900 for a container with automatic driving data processing and computing capability applied to a center cloud server provided in the present application, based on the above-described embodiment, the second edge cloud server determination unit 820 includes:
an obtaining module 821, configured to obtain driving direction and position information of a vehicle;
a second edge cloud server determination module 822, configured to predict a second edge cloud server to which the vehicle will be connected according to the driving direction and the position information;
the second creation instruction sending module 823 is configured to send a second creation instruction to the container controller of the second edge cloud server, so that the container controller of the second edge cloud server creates a container of the vehicle in the second edge cloud server.
The second creation instruction sending module 823 is further configured to send information of the vehicle to the container controller of the second edge cloud server, so that the container controller of the second edge cloud server creates a channel between the vehicle and the container created for the vehicle in the second edge cloud server.
As shown in fig. 9, on the basis of the above embodiment, the control apparatus 900 for a container with automatic driving data processing and computing capability applied to a central cloud server provided by the present application further includes a release instruction sending unit 830, configured to:
receiving a container switching result sent by a vehicle, and acquiring position information of the vehicle; and if the container switching condition is determined to be met according to the container switching result sent by the vehicle and the position information of the vehicle, sending a releasing instruction for releasing the container to the container controller of the first edge cloud server, so that the container controller of the first edge cloud server releases the container of the vehicle in the first edge cloud server.
Fig. 10 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a third exemplary embodiment of the present application.
The control device of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to an edge cloud server.
As shown in fig. 10, the present application provides a control apparatus 1000 for a container having automated driving data processing and computing capabilities, comprising:
a container creation unit 1010 for receiving a creation instruction for creating a container for the vehicle, the container being created for the vehicle by the container controller according to the creation instruction;
the processing unit 1020 is configured to receive an application request sent by a vehicle, and process the application request by using a container of the vehicle to obtain a processing result;
and a feedback unit 1030 for transmitting the processing result to the vehicle.
Fig. 11 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a fourth exemplary embodiment of the present application.
The control device of the container with the automatic driving data processing and computing capability provided by the embodiment can be applied to an edge cloud server.
As shown in fig. 11, on the basis of the above-mentioned embodiment, in the control apparatus 1100 for a container with automatic driving data processing and computing capability provided by the present application, the container creation unit 1010 is specifically configured to receive a creation instruction for creating a container for a vehicle, and allocate a container resource to the vehicle; creating, by the container controller, a container associated with the vehicle using the container resource.
The container creation unit 1010 is further configured to receive information of the vehicle sent by the central cloud server, and create a channel between the vehicle and a container created for the vehicle in the edge cloud server by using the container controller.
As shown in fig. 11, in addition to the above embodiments, the control device 1100 for a container with automatic driving data processing and computing capability provided by the present application further includes:
the container releasing module 1040 is configured to receive a release instruction for releasing a container of the vehicle, and release the container of the vehicle according to the release instruction by the container controller.
Fig. 12 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a fifth exemplary embodiment of the present application.
The control device of the container with the automatic driving data processing and calculation capability provided by the embodiment can be applied to vehicles.
As shown in fig. 12, the present application provides a control apparatus 1200 for a container having automated driving data processing and computing capabilities, comprising:
a request sending unit 1210, configured to send application requests to a first edge cloud server connected to a vehicle, that is, a second edge cloud server to be connected to the vehicle, respectively; the second edge cloud server is determined by the central cloud server;
a result receiving unit 1220, configured to receive a first processing result sent by the first edge cloud server and a second processing result sent by the second edge cloud server; wherein the first processing result is obtained based on a container of the vehicle in the first edge cloud server, and the second processing result is obtained based on a container of the vehicle in the second edge cloud server;
a container switching result sending unit 1230, configured to send a container switching result to the central cloud server if it is determined that the container switching condition is met according to the first processing result and the second processing result;
the instruction receiving unit 1240 is configured to receive a container switching instruction sent by the central cloud server, and release a connection with a container in the first edge cloud server.
Fig. 13 is a block diagram of a control device for a container having automated driving data processing and computing capabilities according to a sixth exemplary embodiment of the present application.
The control device of the container with the automatic driving data processing and calculation capability provided by the embodiment can be applied to vehicles.
As shown in fig. 13, in the control apparatus 1300 for a container with automatic driving data processing and computing capability applied to an edge cloud server according to the present application, based on the above-described embodiment, the container switching result transmitting unit 1230 includes:
a container switching result sending module 1231, configured to determine that a container switching condition is met if the first processing result is consistent with the second processing result, and send the container switching result to the central cloud server.
As shown in fig. 13, in the control apparatus 1300 of the container with the automated driving data processing and computing capability provided by the present application, the request sending unit 1210 is further configured to send an application request to the second edge cloud server and receive a processing result fed back by the second edge cloud server in addition to the above-described embodiment.
Fig. 14 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
As shown in fig. 14, the electronic device provided in this embodiment includes a center cloud server, an edge cloud server, and a vehicle, and includes:
a memory 1401;
a processor 1402; and
a computer program;
wherein computer programs are stored in the memory 1401 and configured to be executed by the processor 1402 to implement a control method of a container having automated driving data processing and computing capabilities as any of the above.
The present embodiments also provide a computer-readable storage medium, having stored thereon a computer program,
the computer program is executed by a processor to implement a method of controlling a container having autonomous driving data processing and computing capabilities as any of the above.
The present embodiment also provides a computer program product comprising a computer program which, when executed by a processor, implements any of the above-described methods for controlling a container having autopilot data processing and computing capabilities.
A control system for a container for processing autopilot data, comprising a central cloud server, an edge cloud server, a vehicle; the center cloud server is used for executing any one method of the methods in the figures 1 and 2, the edge cloud server is used for executing any one method of the figures 3 and 4, and the vehicle is used for executing any one method of the figures 5 and 6.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. A method of controlling a container with autonomous driving data processing and computing capabilities, applied to a central cloud server, the method comprising:
when a vehicle is started, sending a first creation instruction to a first edge cloud server closest to the position of the vehicle, wherein the first creation instruction is used for creating a container for the vehicle in the first edge cloud server, and the container is used for processing data of the vehicle and performing corresponding function calculation based on an application deployed in the container;
acquiring running data of the vehicle, determining a second edge cloud server according to the running data, and sending a second creation instruction to the second edge cloud server, wherein the second creation instruction is used for creating a container for the vehicle in the second edge cloud server;
continuing to execute the step of obtaining the driving data of the vehicle and determining a second edge cloud server according to the driving data until the vehicle finishes the journey and is in a flameout state;
after sending the second creation instruction to the second edge cloud server, the method further includes:
receiving a container switching result sent by the vehicle, and acquiring the position information of the vehicle;
and if the container switching condition is determined to be met according to the container switching result sent by the vehicle and the position information of the vehicle, sending a releasing instruction for releasing the container to the first edge cloud server.
2. The method of claim 1, wherein the obtaining travel data for the vehicle, determining a second edge cloud server from the travel data, comprises:
acquiring the driving direction and position information of the vehicle;
and predicting a second edge cloud server to which the vehicle is to be connected according to the driving direction and the position information.
3. The method of claim 1, wherein a container controller is deployed in the edge cloud server;
the sending a first creation instruction to a first edge cloud server closest to the vehicle location includes:
sending the first creation instruction to a container controller of the first edge cloud server to cause the container controller of the first edge cloud server to create a container of the vehicle in the first edge cloud server;
and/or sending a second creation instruction to the second edge cloud server, including:
sending the second creation instruction to a container controller of the second edge cloud server to cause the container controller of the second edge cloud server to create a container of the vehicle in the second edge cloud server;
and/or, the sending, to the first edge cloud server, a release instruction for releasing the container includes:
sending a release instruction for releasing the container to a container controller of the first edge cloud server to cause the container controller of the first edge cloud server to release the container of the vehicle in the first edge cloud server.
4. The method of claim 3, further comprising:
sending information of the vehicle to a container controller of the first edge cloud server to cause the container controller of the first edge cloud server to create a communication channel between the vehicle and a container of the vehicle in the first edge cloud server;
and/or sending the information of the vehicle to a container controller of the second edge cloud server, so that the container controller of the second edge cloud server creates a communication channel between the vehicle and a container of the vehicle in the second edge cloud server.
5. A method of controlling a container having autonomous driving data processing and computing capabilities, applied to an edge cloud server, the method comprising:
receiving a creation instruction for creating a container for a vehicle, and creating the container for the vehicle by a container controller according to the creation instruction;
receiving an application request sent by the vehicle, and processing the application request by using a container of the vehicle to obtain a processing result;
transmitting the processing result to the vehicle;
the method further comprises the following steps:
receiving a release instruction for releasing a container of the vehicle, the container of the vehicle being released by the container controller according to the release instruction;
and after the central cloud server sends a creation instruction for creating a container for the vehicle to another edge cloud server, the release instruction is sent to the edge cloud server when container switching conditions are met according to a container switching result sent by the vehicle and the position information of the vehicle.
6. The method of claim 5, wherein the creating, by a container controller, a container for the vehicle according to the creation instruction comprises:
allocating container resources for the vehicle;
creating, by the container controller, a container associated with the vehicle using the container resource.
7. The method of claim 6, further comprising:
and receiving the information of the vehicle sent by the central cloud server, and creating a channel between the vehicle and a container created for the vehicle in the edge cloud server by using the container controller.
8. A method for controlling a container with autonomous driving data processing and calculation capabilities, applied to a vehicle, comprising:
respectively sending application requests to a first edge cloud server connected with the vehicle and a second edge cloud server to be connected with the vehicle; the second edge cloud server is determined by a central cloud server;
receiving a first processing result sent by a first edge cloud server and a second processing result sent by a second edge cloud server; wherein the first processing result is obtained based on a container of the vehicle in the first edge cloud server, and the second processing result is obtained based on a container of the vehicle in the second edge cloud server;
if the container switching condition is determined to be met according to the first processing result and the second processing result, sending the container switching result to a central cloud server;
and receiving a container switching instruction sent by the central cloud server, and releasing the connection with the container in the first edge cloud server.
9. The method according to claim 8, wherein the determining that the container switching condition is satisfied according to the first processing result and the second processing result comprises:
and if the first processing result is consistent with the second processing result, determining that a container switching condition is met.
10. The method of claim 8, wherein after releasing the connection to the container in the first edge cloud server, further comprising:
and sending an application request to a second edge cloud server, and receiving a processing result fed back by the second edge cloud server.
11. A control device for a container with autonomous driving data processing and computing capabilities, applied to a central cloud server, the device comprising:
the system comprises a first creation instruction sending unit, a first function calculation unit and a second function calculation unit, wherein the first creation instruction sending unit is used for sending a first creation instruction to a first edge cloud server which is closest to the position of the vehicle when the vehicle is started, the first creation instruction is used for creating a container for the vehicle in the first edge cloud server, and the container is used for processing data of the vehicle and performing corresponding function calculation based on an application deployed in the container;
the second edge cloud server determining unit is used for acquiring the driving data of the vehicle, determining a second edge cloud server according to the driving data, and sending a second creating instruction to the second edge cloud server, wherein the second creating instruction is used for creating a container for the vehicle in the second edge cloud server;
the second edge cloud server determining unit is further configured to continue to perform the step of obtaining the driving data of the vehicle and determining a second edge cloud server according to the driving data until the vehicle finishes the trip and is in a flameout state;
the release instruction sending unit is used for receiving a container switching result sent by the vehicle and acquiring the position information of the vehicle;
the release instruction sending unit is further configured to send a release instruction for releasing the container to the first edge cloud server if it is determined that a container switching condition is satisfied according to a container switching result sent by the vehicle and the position information of the vehicle.
12. A control apparatus for a container with autonomous driving data processing and computing capabilities, applied to an edge cloud server, the apparatus comprising:
the system comprises a container creation unit, a container controller and a control unit, wherein the container creation unit is used for receiving a creation instruction for creating a container for a vehicle, and the container is created for the vehicle by the container controller according to the creation instruction;
the processing unit is used for receiving the application request sent by the vehicle and processing the application request by using a container of the vehicle to obtain a processing result;
a feedback unit for sending the processing result to the vehicle;
a container release module for receiving a release instruction for releasing a container of the vehicle, the container of the vehicle being released by the container controller according to the release instruction;
and after the central cloud server sends a creation instruction for creating a container for the vehicle to another edge cloud server, the release instruction is sent to the edge cloud server when container switching conditions are met according to a container switching result sent by the vehicle and the position information of the vehicle.
13. A control device for a container with autonomous driving data processing and calculation capabilities, for application to a vehicle, said device comprising:
a request sending unit, configured to send application requests to a first edge cloud server connected to the vehicle, and a second edge cloud server to be connected to the vehicle; the second edge cloud server is determined by the central cloud server;
the result receiving unit is used for receiving a first processing result sent by the first edge cloud server and a second processing result sent by the second edge cloud server; wherein the first processing result is obtained based on a container of the vehicle in the first edge cloud server, and the second processing result is obtained based on a container of the vehicle in the second edge cloud server;
a container switching result sending unit, configured to send a container switching result to a central cloud server if it is determined that a container switching condition is satisfied according to the first processing result and the second processing result;
and the instruction receiving unit is used for receiving the container switching instruction sent by the central cloud server and releasing the connection with the container in the first edge cloud server.
14. An electronic device comprising a memory and a processor; wherein,
the memory for storing a computer program;
the processor is configured to read the computer program stored in the memory and execute the method of any one of claims 1 to 4, 5 to 7, or 8 to 10 according to the computer program in the memory.
15. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, perform the method of any one of claims 1-4 or 5-7 or 8-10.
16. A control system for a container for processing autopilot data comprising a central cloud server, an edge cloud server, a vehicle; the central cloud server is used for executing the method of any one of the preceding claims 1 to 4, the edge cloud server is used for executing the method of any one of the preceding claims 5 to 7, and the vehicle is used for executing the method of any one of the preceding claims 8 to 10.
CN202110715819.6A 2021-06-28 2021-06-28 Container control method and program with automatic driving data processing and computing capability Active CN113259846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110715819.6A CN113259846B (en) 2021-06-28 2021-06-28 Container control method and program with automatic driving data processing and computing capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110715819.6A CN113259846B (en) 2021-06-28 2021-06-28 Container control method and program with automatic driving data processing and computing capability

Publications (2)

Publication Number Publication Date
CN113259846A CN113259846A (en) 2021-08-13
CN113259846B true CN113259846B (en) 2021-11-02

Family

ID=77189922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110715819.6A Active CN113259846B (en) 2021-06-28 2021-06-28 Container control method and program with automatic driving data processing and computing capability

Country Status (1)

Country Link
CN (1) CN113259846B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626155A (en) * 2021-10-11 2021-11-09 国汽智控(北京)科技有限公司 Control method, equipment and storage medium for computing resources in edge cloud server
CN113992713B (en) * 2021-10-21 2024-02-13 国汽智控(北京)科技有限公司 Vehicle cloud communication method and device, electronic equipment and storage medium
CN114338753A (en) * 2022-03-10 2022-04-12 国汽智控(北京)科技有限公司 Vehicle cloud cooperative computing system, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430266A (en) * 2019-08-06 2019-11-08 腾讯科技(深圳)有限公司 A kind of side cloud synergistic data transmission method, device, equipment and storage medium
CN110460635A (en) * 2019-07-04 2019-11-15 华南理工大学 One kind is towards unpiloted edge discharging method and device
CN110536264A (en) * 2019-08-12 2019-12-03 大连理工大学 A kind of edge calculations method improving 5G car networking telecommunication service quality

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020202126A1 (en) * 2019-04-05 2020-10-08 Mimik Technology Inc. Method and system for distributed edge cloud computing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460635A (en) * 2019-07-04 2019-11-15 华南理工大学 One kind is towards unpiloted edge discharging method and device
CN110430266A (en) * 2019-08-06 2019-11-08 腾讯科技(深圳)有限公司 A kind of side cloud synergistic data transmission method, device, equipment and storage medium
CN110536264A (en) * 2019-08-12 2019-12-03 大连理工大学 A kind of edge calculations method improving 5G car networking telecommunication service quality

Also Published As

Publication number Publication date
CN113259846A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN113259846B (en) Container control method and program with automatic driving data processing and computing capability
KR101610122B1 (en) Method and system for remotely controlling vehicle telematics device
CN113727378A (en) Method and device for managing continuous online PDU session
CN105554120A (en) Data transmission method and data transmission device for vehicle communication, road side units
CN109743742B (en) Mobility management method and device based on UE behavior prediction in eV2X system
CN109347975B (en) Internet of vehicles low-delay communication method, terminal and system
CN108351215B (en) Method and apparatus for switching roadside navigation units in a navigation system
EP3912408B1 (en) Service information for v2x service coordination in other frequency spectrum
CN112685008B (en) Service failure control method adopting service-oriented architecture based on AUTOSAR
US10596907B2 (en) Dynamic application execution for automobile and cloud hybrid environments
JP2019523605A (en) Network policy update trigger method, management function entity and core network device
CN113661479B (en) Mobile edge computing server, control method and method for processing power state
CN114401270B (en) Application migration method, system, device, electronic equipment and storage medium
JP7124660B2 (en) In-vehicle system
Lu et al. A comparison of end-to-end architectures for connected vehicles
CN114509083A (en) Driving path planning method and device
CN112277848B (en) Vehicle-mounted device control device
CN113254220A (en) Networked automobile load cooperative control method, device, equipment and storage medium
WO2018111171A1 (en) Method for controlling a telematic control unit
CN114143905B (en) Session establishing method, communication system, electronic device and storage medium
CN116527745A (en) Multi-virtual machine communication method of automobile centralized EE architecture
CN115664942A (en) Server disaster tolerance method and system
WO2023062673A1 (en) Management system, management device, and management method
CN116782277B (en) Distributed deployment system for vehicle-mounted C-V2X
CN111432459B (en) Terminal management method and device applied to Internet of things and storage medium

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