Computing power micro-container management method and device of C-V2X system, storage medium
By adopting a computing power micro-container management method in the C-V2X system, the problem of limited hardware conditions of roadside units is solved, and fast and secure distribution and deployment of computing power resources are achieved, which is suitable for fast-moving vehicle-to-everything (V2X) environments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2026-03-20
AI Technical Summary
In C-V2X systems, the number of roadside units is large and hardware conditions are limited. Existing container technology is not suitable for the rapid/simple distribution of computing resources required by fast-moving vehicles, leading to increased costs and resource waste.
The computing power micro-container management method is adopted to generate corresponding micro-containers based on the computing power service requests of the vehicle-mounted unit, determine the deployment nodes, and provide fast and secure computing power services through scheduling and link establishment by the roadside unit and the computing power service aggregation node.
It enables rapid distribution and simple deployment of computing resources, reduces hardware costs, and improves security and adaptability, making it suitable for fast-moving vehicle-to-everything (V2X) environments.
Smart Images

Figure CN116684853B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of communication, and particularly relates to a computing power micro-container management method and device of a C-V2X system and a storage medium. BACKGROUND
[0002] Vehicle-to-Everything (V2X) has become one of the most potential research hotspots in the current information field. It enables communication between vehicles, vehicles and base stations, and base stations, thereby obtaining real-time traffic conditions, road information, pedestrian information and a series of traffic information, and is widely used in the fields of automatic driving, assisted driving, driving safety, reducing congestion, improving traffic efficiency and providing vehicle entertainment information. On this basis, the Cellular Vehicle-to-Everything (C-V2X) technology is a special wireless communication technology for vehicle networking that can guarantee low latency and high reliability.
[0003] A current trend is to realize the integration of C-V2X and computing power network. The computing power network is a new type of information infrastructure that allocates and flexibly schedules computing resources, storage resources and network resources according to business needs among the cloud, network and edge. The core purpose of the computing power network is to provide computing power services for users. However, its implementation method is different from the traditional method of "cloud computing", but rather "integrates" computing power resources into the communication network to provide computing power services that best meet user needs in a more integrated form. C-V2X provides computing power services to users relying on computing power applications. In the prior art, computing power applications are generally deployed in units of virtual machines or containers.
[0004] However, the number of roadside units (RSUs) in C-V2X is huge, and the hardware conditions are far from those of MEC (Multi-access Edge Computing) of 5G. If virtual machines are still used for deployment in MEC, the cost of RSU will rise sharply; container technology usually packages additional, non-essential content, resulting in a larger image, which is not suitable for the C-V2X system that needs to be quickly / distributed simply and has limited hardware resources. SUMMARY
[0005] The application provides a computing power micro-container management method and device of a C-V2X system and a storage medium to solve the technical problems in the prior art that the number of RSUs is huge and the hardware conditions are limited; the container technology is not suitable for the C-V2X system that needs to be quickly / distributed simply and has limited hardware resources.
[0006] In a first aspect, the application provides a computing power micro-container management method of a C-V2X system, the method being applied to a computing power service aggregation node of the system, and the method comprising:
[0007] receiving a computing power service request forwarded by a roadside unit, the computing power service request being sent by a vehicle-mounted unit to the roadside unit;
[0008] generating a computing power micro-container corresponding to a computing power service type according to the computing power service type pointed by the computing power service request;
[0009] determining a deployment node of the computing power micro-container according to computing power resources required by the computing power service request, the deployment node comprising the computing power service aggregation node and the roadside unit within a coverage area of the computing power service aggregation node;
[0010] scheduling the computing power micro-container to the deployment node for running;
[0011] establishing a first service link between the computing power micro-container in the deployment node and the vehicle-mounted unit.
[0012] In the above-mentioned computing power micro-container management method of a C-V2X system, the generating of the computing power micro-container corresponding to the computing power service type according to the computing power service type pointed by the computing power service request comprises:
[0013] obtaining a computing power micro-container image corresponding to the computing power service type from a computing power image library according to the computing power service type pointed by the computing power service request;
[0014] obtaining initialization parameters of the computing power micro-container;
[0015] generating the computing power micro-container corresponding to the computing power service type according to the computing power micro-container image and the initialization parameters.
[0016] In the above-mentioned computing power micro-container management method of a C-V2X system, the determining of the deployment node of the computing power micro-container according to the computing power resources required by the computing power service request comprises:
[0017] obtaining a preset orchestration and scheduling strategy from an orchestration and scheduling strategy library;
[0018] obtaining load changes of the roadside unit within the coverage area of the computing power service aggregation node after the computing power micro-container is loaded;
[0019] generating the deployment node of the computing power micro-container according to the preset orchestration and scheduling strategy and the load changes of the roadside unit within the coverage area of the computing power service aggregation node.
[0020] In the preferred technical solution of the C-V2X system computing power micro-container management method, after the computing power micro-container is loaded, the load change of the roadside unit in the computing power service aggregation node coverage area includes:
[0021] According to the load of the roadside unit, the remaining computing resources of the roadside unit are calculated;
[0022] According to the computing resources required by the computing power micro-container and the remaining computing resources of the roadside unit, the load change of the roadside unit after the computing power micro-container is loaded is calculated.
[0023] In the preferred technical solution of the C-V2X system computing power micro-container management method, the method further includes:
[0024] If the vehicle-mounted unit disconnects from the first roadside unit and accesses the second roadside unit, it is judged whether the second roadside unit is in the coverage area of the computing power service aggregation node, and the first roadside unit is the roadside unit connected with the vehicle-mounted unit in the first service link;
[0025] If yes, a second service link between the computing power micro-container and the vehicle-mounted unit is established;
[0026] If not, it is judged whether the second roadside unit is in the coverage area of a second computing power service aggregation node:
[0027] If yes, it is judged whether the service delay time length of the third service link is less than or equal to a preset time length after establishing the third service link between the computing power micro-container and the vehicle-mounted unit:
[0028] If yes, a third service link between the computing power micro-container and the vehicle-mounted unit is established;
[0029] If not, a fourth service link between the computing power micro-container and the vehicle-mounted unit is established.
[0030] In the preferred technical solution of the C-V2X system computing power micro-container management method, the establishment of the second service link between the computing power micro-container and the vehicle-mounted unit includes:
[0031] The computing power micro-container establishes a second service link with the vehicle-mounted unit through a roadside unit interconnection link, and the roadside unit interconnection link is a communication link between the first roadside unit and the second roadside unit.
[0032] In the preferred technical solution of the computing power micro-container management method of the C-V2X system, the third service link between the computing power micro-container and the vehicle-mounted unit is established by:
[0033] The computing power micro-container is controlled to establish the third service link through the communication link between the first road side unit and the computing power service aggregation node, the communication link between the computing power service aggregation node and the second computing power service aggregation node, and the communication link between the second computing power service aggregation node and the second road side unit.
[0034] In the preferred technical solution of the computing power micro-container management method of the C-V2X system, the fourth service link between the computing power micro-container and the vehicle-mounted unit is established by:
[0035] The computing power micro-container is dispatched to the second road side unit for operation, and the computing power micro-container is controlled to establish the fourth service link through the communication link between the second computing power service aggregation node and the second road side unit.
[0036] In a second aspect, the present application provides a computing power micro-container management device of a C-V2X system, the device comprising:
[0037] A request receiving module is configured to receive a computing power service request forwarded by a road side unit;
[0038] A micro-container management module is configured to:
[0039] According to the computing power service type pointed to in the computing power service request, a computing power micro-container corresponding to the computing power service type is generated;
[0040] The computing power micro-container is executed to load and run at a deployment node, and a first service link between the computing power micro-container and the vehicle-mounted unit is established;
[0041] A micro-container orchestration and scheduling module is configured to:
[0042] The deployment node of the computing power micro-container is generated, and the deployment node includes a computing power service aggregation node and the road side unit within the coverage range of the computing power service aggregation node;
[0043] The computing power micro-container is dispatched to the deployment node.
[0044] In the preferred technical solution of the computing power micro-container management device of the C-V2X system, the micro-container management module is further configured to:
[0045] The registration and online of the computing power micro-container are executed;
[0046] When the on-board unit accesses the computing power micro-container, the on-board unit accesses the computing power micro-container, performs authentication, monitors the computing power service provided by the computing power micro-container, and sends real-time data of the computing power service to the micro-container scheduling module;
[0047] When the computing power service is over or the on-board unit leaves the coverage range of the road side unit, the computing power micro-container is unloaded.
[0048] According to the computing power service demand, the number of computing power micro-containers is dynamically increased.
[0049] In the preferred technical solution of the computing power micro-container management device of the C-V2X system, the micro-container scheduling module is further used for:
[0050] If the road side unit currently running the computing power micro-container is overloaded or fails, the computing power micro-container is scheduled to other road side units.
[0051] In a third aspect, the present application provides a computing power micro-container management device of a C-V2X system, the device comprising: a road side unit, a road side base station, a processor, a memory,
[0052] The road side base station deploys a computing power service aggregation node.
[0053] The memory is used to store a computer program.
[0054] The processor is used to execute the computer program stored in the memory, and realize the computing power micro-container management method of the C-V2X system as described above.
[0055] In a fourth aspect, the present application provides a readable storage medium, and the readable storage medium stores a computer program; the computer program is used to realize the computing power micro-container management method of the C-V2X system as described above.
[0056] The computing power micro-container management method, device and storage medium of the C-V2X system provided by the present application use micro-containers to provide computing power services in cellular vehicle networking. Because the micro-containers are small in size, they can be quickly and simply distributed, and are more suitable for vehicle networking to realize computing power applications. Because the micro-containers are small in size, the image can be downloaded faster, so it can be distributed to different C-V2X nodes faster. At the same time, the fewer codes / programs in the micro-containers mean that the attack surface is smaller, so the basic OS is safer. BRIEF DESCRIPTION OF DRAWINGS
[0057] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the application.
[0058] Figure 1 is an application scenario provided by an embodiment of the present application;
[0059] Figure 2 is a computing power micro-container management method flowchart of a C-V2X system provided by an embodiment of the present application;
[0060] Figure 3 is a computing power micro-container generation method flowchart of a C-V2X system provided by an embodiment of the present application;
[0061] Figure 4 is a computing power micro-container deployment node determination method flowchart of a C-V2X system provided by an embodiment of the present application;
[0062] Figure 5 is a computing power micro-container management method flowchart of a C-V2X system provided by another embodiment of the present application;
[0063] Figure 6 is a computing power micro-container management device schematic diagram of a C-V2X system provided by an embodiment of the present application;
[0064] Figure 7 is a computing power micro-container management device schematic diagram of a C-V2X system provided by an embodiment of the present application;
[0065] Figure 8 is a C-V2X system architecture schematic diagram provided by an embodiment of the present application.
[0066] Through the above-mentioned drawings, the specific embodiments of the present application have been shown, and more detailed descriptions will be given hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application by any means, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solutions and advantages of the present application more clear, the technical solutions in the present application will be described clearly and completely in the following by combining the drawings in the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative work are within the scope of protection of the present application.
[0068] The terms "first", "second", "third", "fourth" and the like in the description and in the claims of the present application, and above-described drawings, if any, are used as labels to distinguish between similar objects, and should not necessarily be construed as describing a particular sequential or chronological order. It is to be understood that the use of the terms "first", "second", "third", "fourth", etc., if any, are used merely as labels, and are not intended to, nor should they be construed to describe a particular order or sequence, unless otherwise specifically indicated.
[0069] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration, at 5 2 least somebody (or some entity) is or can be considered capable of being in view of relevant circumstances. Any implementation described herein as "exemplary" or "for example" is not necessarily to be construed as preferred or advantageous over other implementations. Rather, use of the words "exemplary" or "for example" is intended to present concepts in a concrete manner.
[0070] One application of cellular vehicle-to-everything (C-V2X) is vehicle-road cooperation.
[0071] Vehicle-road cooperation is to realize dynamic and real-time information interaction between vehicles, roads, and people by using advanced wireless communication and new-generation information technology, and to develop vehicle active safety control and road cooperative management based on full-space dynamic traffic information collection and fusion, so as to fully realize effective cooperation of people, vehicles, and roads, ensure traffic safety, and improve traffic efficiency, thereby forming a safe, efficient, and environmentally friendly intelligent transportation system.
[0072] Roadside unit (RSU) and on-board unit (OBU) are important components of the roadside end of vehicle-road cooperation.
[0073] V2X provides communication services between vehicles and the surrounding environment including vehicles. Among them, the communication between the internal nodes of C-V2X adopts PC5 communication mode, and the communication between C-V2X and 5G network adopts UU communication mode. The on-board unit (OBU) and the roadside unit (RSU) communicate through the PC5 interface, which is called V2I (Vehicle to Infrastructure); the OBU communicates through the PC5 interface, which is called V2V (Vehicle to Vehicle); the OBU and the 5G wireless access network (5G-RAN) communicate through the UU interface, which is called V2N (Vehicle to Network).
[0074] RSU has two communication modes of PC5 and UU2. PC5 is used for business communication of V2X, such as broadcasting V2I and receiving V2V messages. Since RSU has good link connection to the communication network and can realize connection between each other, RSU also serves as a data gateway for other roadside devices, such as traffic lights, local high-precision GPS enhancement devices, radar devices, etc., to realize the computing power service based on these roadside additional devices.
[0075] OBU supports two communication modes of PC5 and UU, where PC5 is used to broadcast V2V heartbeat information and receive V2I messages, and UU enables OBU to access the 5G network through 5G-RAN. Some computing tasks of OBU require the cooperation of other OBUs, such as automatic vehicle platoon service, which requires mutual assistance between vehicles to maintain platoon driving. In addition, the computing tasks of OBU (such as red light recognition) can be implemented based on the hardware and software of the vehicle, or through the computing service of RSU. However, since RSU has more abundant computing resources, it can obtain better results than OBU in a large number of computing services (for example, RSU can connect local street lamp equipment, and red light recognition computing service submitted to RSU can obtain more reliable results).
[0076] The application scenario of the present application will be described below. Figure 1 The application scenario of the present application will be described below.
[0077] Figure 1 The application scenario of the present application will be described below.
[0078] In the prior art, computing services are generally provided by deploying virtual machines or containers.
[0079] The service of each computing resource needs an independent running environment, because the service functions, environment and hardware of different computing resources are different, and the processes of the services will interfere with each other on shared system resources. However, this method is not suitable for RSU deployment with limited hardware conditions. Virtual machine management of computing resources can solve the need to deploy multiple independent environments on a single hardware, but virtual machines have a complete operating system, which occupies additional cpu, memory and storage resources, and when the number of computing services is large, a large amount of hardware resources need to be consumed. In addition, due to the large size of virtual machines (generally GB level), the startup speed is slow, and the cross-platform portability is poor, which is not suitable for the application requirements of C-V2X computing services.
[0080] Container technology can well solve the shortcomings of virtual machines, and does not need to exclusively occupy a complete operating system. The operating system of the same host can run a large number of containers at the same time, saving a large amount of cpu, memory and storage resources. Although containers share the operating system of the host, each container has its own file system, process and network environment. Since the container is only an independent process, and the size is small (100M level), the startup speed is significantly increased, and the containers are also well isolated from each other.
[0081] Compared with virtual machine management, the containerization management of computing power resources still faces the problems of large volume and slow startup speed. Because the container usually packages the application and the dependency of the application into a self-contained image, but since the container is aimed at providing an independent environment for general applications, some parts that the computing power application does not need are packaged, and in most cases, this part is more than the part that the computing power application needs, so the volume of the container is relatively large. For general cloud services that have good hardware environment and focus on stable services, this impact can be ignored, but for the dedicated computing power services in the RSU which has limited hardware environment and mobility and has strict requirements on startup and loading speed, this shortcoming is very prominent.
[0082] The micro-container only contains the OS library, the language dependency required for running the application, and the application itself, and does not need to be packaged, so the volume of the micro-container is significantly reduced (usually tens of times smaller than the container, M level). The micro-container has a small volume, so it can be quickly downloaded from the image library to different machines and quickly loaded. Since only the basic OS and the dedicated application are included, the security and reliability are stronger. Therefore, the micro-containerization management of computing power resource applications is suitable for deploying computing power resource applications in RSUs with limited hardware conditions.
[0083] Therefore, in the face of the technical problems described in the background art, the present application proposes a technical solution of applying a micro-container in C-V2X, the technical concept of which is:
[0084] According to the type of computing power service to which the computing power service request of the on-board unit points, a computing power micro-container corresponding to the type of computing power service is generated, and then according to the computing power resources required by the computing power service request, a deployment node of the computing power micro-container is determined, and finally the computing power micro-container is dispatched to the deployment node for running.
[0085] The technical concept of the present application will be described in detail below in combination with the drawings and specific embodiments.
[0086] Embodiment 1 of the present application provides a computing power micro-container management method of a C-V2X system. Figure 2 is a flow chart of the computing power micro-container management method of the C-V2X system provided by the present application, as Figure 2 shown, the method is applied to a computing power service aggregation node of a C-V2X system, and the method comprises the following steps:
[0087] S201, receiving a computing power service request forwarded by a roadside unit;
[0088] S202, generating a computing power micro-container corresponding to the type of computing power service according to the type of computing power service to which the computing power service request points;
[0089] S203, determining a deployment node of the computing power micro-container according to the computing power resources required by the computing power service request;
[0090] S204, dispatch the computing power micro-container to the deployment node for running;
[0091] S205, establish a first service link between the computing power micro-container in the deployment node and the vehicle-mounted unit.
[0092] In this embodiment, the C-V2X system includes a plurality of roadside units and a computing power service aggregation node. The roadside unit is configured to communicate with the vehicle-mounted units within its coverage range and receive the computing power service request sent by the vehicle-mounted units. The computing power service aggregation node is configured to communicate with a plurality of roadside units within the coverage area.
[0093] The vehicle-mounted unit first needs to establish a connection with a roadside unit to send a computing power service request to the roadside unit.
[0094] After the vehicle-mounted unit sends the computing power service request to the roadside unit, the computing power service aggregation node receives the computing power service request forwarded by the roadside unit, and generates a computing power micro-container corresponding to the computing power service type according to the computing power service type pointed by the computing power service request. The computing power micro-container needs to select a suitable deployment node according to the actual situation. The deployment node includes the computing power service aggregation node and the roadside units within the coverage area of the computing power service aggregation node.
[0095] The running environment of the computing power micro-container can be of two types, namely, the roadside unit and the computing power service aggregation node. The advantage of the roadside unit is that it is close to the vehicle-mounted unit and has small delay, and the disadvantage is that the hardware resources of the roadside unit are limited. When the traffic volume is large, the demand for computing power resources is large, which causes the load of the roadside unit computing power service to be too heavy, reducing the computing power service quality of the entire roadside unit. The advantage of running the computing power micro-container in the computing power service aggregation node is that the hardware condition is less limited. If the vehicle-mounted unit uses a continuous service type computing power service (such as automatic driving), it is not necessary to frequently switch between different roadside units in the same area, but it is far away from the vehicle-mounted unit and has large delay.
[0096] Because of the load of the roadside unit and the vehicle road condition, the deployment node can not be the roadside unit that receives the computing power service request of the vehicle-mounted unit.
[0097] After the computing power micro-container runs in the micro-container running environment of the deployment node, it also needs to establish a first service link with the vehicle-mounted unit that submits the computing power service request. The first service link is a service link established by the computing power micro-container after running in the deployment node with the vehicle-mounted unit that submits the computing power service request, which is used for communicating with the vehicle-mounted unit and providing the computing power service required by the vehicle-mounted unit.
[0098] The embodiment 1 of the present application has the following technical effects:
[0099] In C-V2X, the computing power micro-container is used to provide computing power services. Because the volume of the computing power micro-container is small, the computing power micro-container can be quickly and simply distributed, and is more suitable for providing computing power services in the Internet of Vehicles. At the same time, because the computing power micro-container has less code, the security is higher than that of the container.
[0100] For the method of generating the computing power micro-container corresponding to the computing power service type in S202 of embodiment 1, the embodiment 2 of the present application provides a possible method of generating the computing power micro-container. Figure 3 is the flow chart of the method of generating the computing power micro-container provided by the embodiment of the present application in the C-V2X system, as Figure 3 shown, according to the computing power service type pointed by the computing power service request, the computing power micro-container corresponding to the computing power service type is generated, including:
[0101] S301, according to the computing power service type pointed by the computing power service request, the computing power micro-container image corresponding to the computing power service type is obtained from the computing power image library;
[0102] S302, the initialization parameters of the computing power micro-container are obtained;
[0103] S303, according to the computing power micro-container image and the initialization parameters, the computing power micro-container corresponding to the computing power service type is generated.
[0104] In the embodiment 2, the computing power image library is set in the local server or the cloud server, and the computing power image warehouse can include:
[0105] Computing power application public warehouse: storing the computing power service application image of the basis of the C-V2X system, for example, the basic safety application of V2X;
[0106] Computing power application special warehouse: storing the related basic application service image of the computing power application, for example, license plate recognition, voice recognition;
[0107] Computing power application enterprise warehouse: storing the service image of the computing power application of different enterprises, for example, the automatic driving computing power service application image of a certain automobile manufacturer;
[0108] Computing power application private warehouse: storing the service image of the computing power application for the third party, for example, the third party computing power service image for the automatic following function of the automobile.
[0109] Now the technical key points of the computing power micro-container in embodiment 2 are described.
[0110] The micro-container has various implementation manners, for example, the Docker micro-container based on the trimmed Linux operating system Alpine Linux, the Unikernel running in the trimmed special library operating system (LibraryOS) and directly running on the virtual machine management program hypervisor or hardware.
[0111] The embodiment takes Unikernel as an example to illustrate the computing power service micro-container implementation method of the micro-service architecture.
[0112] libOS is a kind of lightweight operating system used in virtual machine environment, such as MirageOS, RumpKernels, OSv. The driver of the hardware device is abstracted, and the library is provided for different hardware devices. During compilation, the appropriate library is introduced according to the hardware configuration, and the application and the library constitute a closed, fixed-purpose image (i.e. Unikernel) together. The operating system of the virtual machine is not needed, and the Unikernel can be directly run on the virtual machine management program hypervisor or the hardware. The most remarkable feature of Unikernel is small (M level), fast startup (the fastest Unikernel startup only needs 20 milliseconds), which is suitable for the loading and mobility switching of computing power service in the fast moving state of V2X vehicle.
[0113] The micro-container can be directly run on the hypervisor of the RSU because it contains a micro operating system. The micro-container has the advantage of fast startup and loading speed, so it can be dynamically loaded and unloaded according to the request of the access point OBU for computing power resources.
[0114] When the computing power micro-container is initialized, the parameters need to be configured according to the environment. In the embodiment, the local environment parameters, i.e. the initialization parameters in step S302, are obtained by the computing power service aggregation node, and the application configuration and service configuration of the micro-container in different environments are provided in an externalized and dynamic manner.
[0115] How to determine the deployment node of the computing power micro-container, Figure 4 is a method flow chart for determining the deployment node of the computing power micro-container provided by the C-V2X system according to the embodiment of the application, as shown in Figure 4 In the embodiment 3 of the application, a feasible method for determining the deployment node of the computing power micro-container according to the computing power resources required by the computing power service request is proposed, and the method comprises the following steps:
[0116] S401, obtaining a preset orchestration and scheduling strategy from an orchestration and scheduling strategy library;
[0117] S402, calculating the remaining computing resources of the roadside unit in the coverage range of the computing power service aggregation node according to the load of the roadside unit in the coverage range of the computing power service aggregation node;
[0118] S403, according to the computing resources required by the computing power micro container, the remaining computing resources of the roadside unit in the coverage range of the computing power service aggregation node, calculate the load change of the roadside unit in the coverage range of the computing power service aggregation node after the computing power micro container is loaded;
[0119] S404, according to the preset arrangement and scheduling strategy, the load change of the roadside unit in the coverage range of the computing power service aggregation node after the computing power micro container is loaded, generate the deployment node of the computing power micro container.
[0120] In step S401, the micro container arrangement of the computing power service aggregation node needs to download the preset arrangement and scheduling strategy from the arrangement and scheduling strategy library arranged in the local server or cloud server when starting. Since the actual road conditions and traffic flow characteristics of the area where each deployment computing power service aggregation node is located are different in the present application, there are multiple preset arrangement and scheduling strategies for micro containers, such as different arrangement and scheduling strategies for computing power micro containers for urban trunk roads, suburban roads, and highways, to meet the needs of computing power micro container management in different scenarios.
[0121] After the computing power service aggregation node downloads the preset arrangement and scheduling strategy, it also needs to generate a local micro container arrangement and scheduling strategy according to the local configuration parameters. Specifically, the preset arrangement and scheduling strategy is an arrangement and scheduling strategy for a certain road condition, for example, a certain preset arrangement and scheduling strategy is for the road conditions and traffic flow of suburban roads, but suburban roads may have tunnels and sharp turns, so it is necessary to set up corresponding arrangement and scheduling strategies for tunnels and sharp turns based on the preset arrangement and scheduling strategy according to the local configuration parameters to generate the local micro container arrangement and scheduling strategy.
[0122] After generating the local micro container arrangement and scheduling strategy, since the loads of different roadside units are different, in order to ensure that the roadside units will not be overloaded, it is necessary to first calculate the load of the roadside units in the coverage range of the computing power service aggregation node. Specifically, the computing power service aggregation node can calculate the load of the roadside units in its coverage range according to the real-time data of the micro services reported by the roadside units.
[0123] After the computing power service aggregation node obtains the load of the roadside units in its coverage range, it can calculate the remaining computing resources of the roadside units.
[0124] The computing power service aggregation node combines the computing resources required by the computing power micro container, predicts the load change of the roadside units in the coverage range of the computing power service aggregation node after the computing power micro container is loaded, and then arranges the computing power micro container into appropriate deployment nodes according to the local arrangement and scheduling strategy generated by the preset arrangement and scheduling strategy and the load change of the roadside units in the coverage range of the computing power service aggregation node after the computing power micro container is loaded. The deployment nodes can include roadside units and computing power service aggregation nodes in the coverage range of the computing power service aggregation node.
[0125] Since the object of the cellular vehicle networking to provide computing power service is mainly vehicles, the vehicles will move quickly on the road, thus, the case that the vehicle drives out of the coverage range of the road side unit may occur. Therefore, after the computing power micro-container runs in the deployment node and establishes the first service link, the method for providing computing power service after the vehicle moves also needs to be considered. Figure 5 is another flow chart of the computing power micro-container management method of the C-V2X system provided by the present application, as shown in Figure 5 The embodiment 4 of the present application provides a possible method for providing computing power service after the vehicle moves, which comprises the following steps:
[0126] S501, if the vehicle-mounted unit disconnects the connection with the first road side unit and accesses the second road side unit, it is judged whether the second road side unit is in the coverage area of the computing power service aggregation node;
[0127] S502, if yes, a second service link between the computing power micro-container and the vehicle-mounted unit is established;
[0128] S503, if no, it is judged whether the second road side unit is in the coverage area of the second computing power service aggregation node:
[0129] S504, if yes, it is judged whether the service delay time length of the third service link after the third service link between the computing power micro-container and the vehicle-mounted unit is established is less than or equal to the preset time length:
[0130] S505, if yes, the third service link between the computing power micro-container and the vehicle-mounted unit is established;
[0131] S506, if no, the fourth service link between the computing power micro-container and the vehicle-mounted unit is established.
[0132] In this embodiment, the first road side unit is the road side unit that establishes the connection with the vehicle-mounted unit in the first service link. For example, when the deployment node is selected as the computing power service aggregation node, since the vehicle-mounted unit needs to access the computing power service aggregation node through the road side unit, the first road side unit can be any road side unit in the coverage range of the computing power service aggregation node; when the deployment node is a certain road side unit in the coverage range of the computing power service aggregation node, the road side unit is the first road side unit.
[0133] Step S501, if the vehicle-mounted unit disconnects from the road-side unit and accesses a second road-side unit, if the second road-side unit is also in the coverage area of the computing power service aggregation node, since in actual application, the computing power service aggregation node is usually deployed in a certain road area and is responsible for managing the road-side units of this road, therefore, the road-side units in the coverage range of the same computing power service aggregation node are relatively close in geographical distance, which can ensure that the delay of the computing power service is within the allowable range. Therefore, after judging that the second road-side unit is in the coverage area of the computing power service aggregation node, a second service link of the computing power micro-container and the vehicle-mounted unit is established.
[0134] A possible method for establishing a second service link of the computing power micro-container and the vehicle-mounted unit includes:
[0135] The computing power service aggregation node controls the computing power micro-container to establish a second service link with the vehicle-mounted unit through the road-side unit interconnection link, and the road-side unit interconnection link is a communication link between the first road-side unit and the second road-side unit.
[0136] It should be understood that when the second service link is established, the computing power micro-container does not move in the deployment node, and the computing power micro-container communicates with the vehicle-mounted unit accessing the second road-side unit through the communication link between the first road-side unit and the second road-side unit.
[0137] It must be considered that if the vehicle moves at a high speed or the vehicle-mounted unit is at the edge of the coverage range of the computing power service aggregation node when the first service link is established, the vehicle-mounted unit may move to a second computing power service aggregation node. In this application, the computing power service aggregation nodes can communicate, so a possible method for establishing a third service link includes:
[0138] The computing power service aggregation node controls the computing power micro-container to establish a third service link through: a communication link between the first road-side unit and the computing power service aggregation node, a communication link between the computing power service aggregation node and a second computing power service aggregation node, and a communication link between the second computing power service aggregation node and the second road-side unit.
[0139] It should be understood that in the third service link, the computing power micro-container still remains in the deployment node without migration. Since the third service link is longer, it is necessary to judge whether the service delay time length of the third service link is less than or equal to a preset time length. If the delay is too long, it cannot adapt to the demand of the cellular vehicle network to quickly provide computing power service, and a fourth service link needs to be established.
[0140] The purpose of establishing the fourth service link is to reduce the service delay time length, and in a possible method for establishing the fourth service link, the method includes:
[0141] The computing power micro-container is dispatched to a second road side unit to run, and the computing power micro-container establishes a fourth service link through a communication link between the second computing power service aggregation node and the second road side unit.
[0142] In the fourth service link, the computing power service aggregation node dispatches the computing power micro-container to the second road side unit, and establishes a connection with the vehicle-mounted unit in the second road side unit.
[0143] Embodiment 5 of the present application provides a computing power micro-container management device of a C-V2X system, Figure 6 is a schematic diagram of a computing power micro-container management device of a C-V2X system provided by the embodiments of the present application, as Figure 6 shown, the device comprises a request receiving module 601, a micro-container management module 602, and a micro-container orchestration and scheduling module 603.
[0144] The request receiving module 601 is configured to receive a computing power service request forwarded by a road side unit.
[0145] The micro-container management module 602 is configured to:
[0146] According to the computing power service type pointed to in the computing power service request, a computing power micro-container corresponding to the computing power service type is generated;
[0147] The loading and running of the computing power micro-container in a deployment node are performed, and a first service link between the computing power micro-container and a vehicle-mounted unit is established;
[0148] The micro-container orchestration and scheduling module 603 is configured to:
[0149] A deployment node of the computing power micro-container is generated, and the deployment node comprises a computing power service aggregation node and a road side unit within the coverage range of the computing power service aggregation node;
[0150] The computing power micro-container is dispatched to the deployment node.
[0151] In Embodiment 5 of the present application, the micro-container management module 602 is further configured to:
[0152] The registration and online of the computing power micro-container are performed;
[0153] When the vehicle-mounted unit accesses the computing power micro-container, the authentication of the vehicle-mounted unit access is performed;
[0154] The computing power services provided by the computing power micro-container are monitored, and real-time data of the computing power services are sent to the micro-container orchestration and scheduling module;
[0155] When the use of the computing power service ends or the vehicle-mounted unit leaves the coverage range of the road side unit, the computing power micro-container is unloaded;
[0156] The micro-container orchestration and scheduling module 603 is further configured to:
[0157] The roadside unit currently running the computing power micro-container is monitored, and if the roadside unit currently running the computing power micro-container is overloaded or fails, the computing power micro-container is dispatched to other roadside units.
[0158] In this embodiment, the micro-container management module 602 can also have the following functions:
[0159] The micro-container management module 602 can provide the generation, loading, registration, online, authentication, monitoring, unloading, and billing lifecycle management of the computing power micro-container; the micro-container management module 602 uniformly manages the services and metadata provided by all computing power micro-containers, including managing the description, lifecycle, static dependency analysis, health status, traffic management, routing and security policy, and statistical data of the services;
[0160] During the running of the computing power micro-container, the micro-container management module 602 monitors the load and health status of the micro-container and sends the monitoring results to the micro-container orchestration and scheduling module 603. When the computing power service of the vehicle-mounted unit is used up or the vehicle-mounted unit drives out of the coverage range of the roadside unit, the micro-container management module 602 unloads the computing power micro-container to release the occupied resources;
[0161] When the computing power task increases and the number of computing power micro-containers needs to be dynamically increased to increase the processing capacity of the computing power service in a clustered manner, the dynamic DNS service provided by the micro-container management module 602 provides weight routing to achieve intermediate layer load balancing, as well as flexible routing strategies, traffic control, and DNS resolution services in the intranet of the roadside unit. The dynamic DNS service can facilitate the deployment of micro-services based on the DNS protocol to eliminate the risk of coupling between different micro-services.
[0162] In this embodiment, the micro-container orchestration and scheduling module 603 can also have the following functions:
[0163] During the running of the computing power micro-container, the micro-container management module 602 monitors the load and health status of the micro-container and sends the monitoring results to the micro-container orchestration and scheduling module 603. When the computing power service of the vehicle-mounted unit is used up or the vehicle-mounted unit drives out of the coverage range of the roadside unit, the micro-container management module 602 unloads the computing power micro-container to release the occupied resources;
[0164] In this embodiment, the micro-container management module 602 and the micro-container orchestration and scheduling module 603 can be arranged in the computing power service aggregation node.
[0165] In Embodiment 6 of the present application, a computing power micro-container management device 70 of a C-V2X system is also provided, Figure 7 is a schematic diagram of a computing power micro-container management device of a C-V2X system provided by the present application, Figure 7As shown, the device 70 comprises a roadside unit 701, a roadside base station 702, a memory 703, a processor 704, and a bus 705 in communication with the roadside unit 701, the roadside base station 702, the memory 703, and the processor 704.
[0166] The roadside base station 702 deploys a computing power service aggregation node, and the roadside base station 702 also has a computing power application management system. The management system is complex in function and is constantly upgraded, and thus needs an independent operating system. Therefore, the computing power application management is deployed on a virtual machine (VM) of the roadside base station host.
[0167] The memory 703 is configured to store a computer program.
[0168] The processor 704 is configured to execute the computer program stored in the memory 703, and implement the computing power micro-container management method of the C-V2X system as described above.
[0169] The specific implementation process of the processor 704 can refer to the above-mentioned method embodiments, which have similar implementation principles and technical effects, and thus will not be described here again.
[0170] In the above Figure 7 In the embodiment shown, it should be understood that the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0171] The memory can include a random access memory (RAM), and can also include a non-volatile memory (NVM), for example, at least one disk memory.
[0172] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or type of bus.
[0173] In the embodiment 7 of the present application, a computing power service center node can be further provided, which is configured to communicate with the plurality of computing power service aggregation nodes. The computing power service center node can be disposed in a local server or a cloud server.
[0174] Figure 8 is a system architecture schematic diagram provided by the embodiment of the present application, as Figure 8 As shown in the embodiment, the computing power image warehouse and the arrangement and scheduling strategy library can be disposed in the computing power service center node. Specifically, the computing power image warehouse implements:
[0175] The warehouse management, image management permission control and other management functions of the computing power image warehouse, specifically including core functions, registry functions, and copy functions. Among them, the core functions complete the main management functions of the micro-container image warehouse, including: warehouse management, authentication management, authorization management, configuration management, quota management, and signature management;
[0176] In addition, the computing power service center node can also access the 5G network, and use the 5G network to complete the mobile management of the computing power micro-container.
[0177] The embodiment 8 of the present application further provides a readable storage medium, and the readable storage medium stores a computer program. The computer program is used to implement the computing power micro-container management method of the C-V2X system as described above.
[0178] The computer readable storage medium described above, the readable storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0179] An example readable storage medium is coupled to the processor such that the processor can read information from the readable storage medium and can write information to the readable storage medium. Of course, the readable storage medium can also be a part of the processor. The processor and the readable storage medium can be located in an application-specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the device.
[0180] The division of the units is only logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.
[0181] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0182] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.
[0183] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the present application that essentially contributes to the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0184] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware. The foregoing program can be stored in a computer readable storage medium. The program executes to perform the steps of the above-mentioned method embodiments; and the foregoing storage medium includes various storage media that can store program codes, such as ROM, RAM, magnetic disk or optical disk.
[0185] So far, the technical solutions of the present application have been described in combination with the preferred embodiments shown in the drawings, but those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for managing computing power micro-containers in a C-V2X system, characterized in that, The method, applied to the computing power service aggregation node of the system, includes: Receive computing power service requests forwarded by roadside units, the computing power service requests being sent from the vehicle-mounted unit to the roadside units; Based on the computing power service type indicated by the computing power service request, obtain the computing power micro-container image corresponding to the computing power service type from the computing power image library; Obtain the initialization parameters of the computing power micro-container; Based on the computing power micro-container image and the initialization parameters, a computing power micro-container corresponding to the computing power service type is generated; Based on the computing power resources required by the computing power service request, the deployment node of the computing power micro-container is determined, including: Retrieve preset orchestration and scheduling policies from the orchestration and scheduling policy library; generate local orchestration and scheduling policies based on the preset orchestration and scheduling policies; Calculate the remaining computing resources of the roadside unit based on the load of the roadside unit; Based on the computing resources required by the computing power micro-container and the remaining computing resources of the roadside unit, calculate the load change of the roadside unit after the computing power micro-container is loaded; Based on the local orchestration and scheduling strategy and the load changes of the roadside units within the coverage area of the computing power service aggregation node, the deployment node of the computing power micro-container is generated; The deployment node includes the computing power service aggregation node and the roadside unit within the coverage area of the computing power service aggregation node; The computing power micro-container is scheduled to run on the deployment node; Establish a first service link between the computing power micro-container in the deployment node and the vehicle-mounted unit.
2. The method according to claim 1, characterized in that, After establishing the first service link between the computing power micro-container in the deployment node and the vehicle-mounted unit, the method further includes: If the vehicle-mounted unit disconnects from the first roadside unit and connects to the second roadside unit, it is determined whether the second roadside unit is within the coverage area of the computing power service aggregation node. The first roadside unit is the roadside unit that has established a connection with the vehicle-mounted unit in the first service link. If so, then establish a second service link between the computing power micro-container and the vehicle-mounted unit; If not, then determine whether the second roadside unit is within the coverage area of the second computing power service aggregation node: If so, determine whether the service latency of the third service link established between the computing micro-container and the vehicle unit is less than or equal to a preset duration. If so, then establish a third service link between the computing power micro-container and the vehicle unit; If not, then establish a fourth service link between the computing power micro-container and the vehicle-mounted unit.
3. The method according to claim 2, characterized in that, Establishing the second service link between the computing power micro-container and the vehicle-mounted unit includes: The computing power micro-container is controlled to establish a second service link with the vehicle unit through the roadside unit interconnection link, which is a communication link between the first roadside unit and the second roadside unit.
4. The method according to claim 2, characterized in that, The establishment of the third service link between the computing power micro-container and the vehicle-mounted unit includes: The computing power micro-container is controlled to establish the third service link through: the communication link between the first roadside unit and the computing power service aggregation node, the communication link between the computing power service aggregation node and the second computing power service aggregation node, and the communication link between the second computing power service aggregation node and the second roadside unit.
5. The method according to claim 2, characterized in that, The establishment of the fourth service link between the computing power micro-container and the vehicle-mounted unit includes: The computing power micro-container is scheduled to run on the second roadside unit, and the computing power micro-container is controlled to establish the fourth service link through the communication link between the second computing power service aggregation node and the second roadside unit.
6. A computing power micro-container management device for a C-V2X system, characterized in that, The device includes: The request receiving module is used to receive computing power service requests forwarded by the roadside unit, wherein the computing power service requests are sent from the vehicle unit to the roadside unit; The microcontainer management module is used for: Based on the computing power service type pointed to in the computing power service request, generate a computing power micro-container corresponding to the computing power service type; The computing power micro-container is loaded and run on the deployment node, and a first service link is established between the computing power micro-container and the vehicle unit. The micro-container orchestration and scheduling module is used for: Based on the computing power resources required by the computing power service request, the deployment node of the computing power micro-container is generated, and the deployment node includes a computing power service aggregation node and the roadside unit within the coverage area of the computing power service aggregation node; Schedule the computing power micro-container to the deployment node; The micro-container management module is specifically used to: obtain the computing power micro-container image corresponding to the computing power service type from the computing power image library according to the computing power service type pointed to by the computing power service request; Obtain the initialization parameters of the computing power micro-container; Based on the computing power micro-container image and the initialization parameters, a computing power micro-container corresponding to the computing power service type is generated; The micro-container orchestration and scheduling module is specifically used for: obtaining preset orchestration and scheduling strategies from the orchestration and scheduling strategy library; and generating local orchestration and scheduling strategies based on the preset orchestration and scheduling strategies. Calculate the remaining computing resources of the roadside unit based on the load of the roadside unit; Based on the computing resources required by the computing power micro-container and the remaining computing resources of the roadside unit, calculate the load change of the roadside unit after the computing power micro-container is loaded; Based on the local orchestration and scheduling strategy and the load changes of the roadside units within the coverage area of the computing power service aggregation node, the deployment node of the computing power micro-container is generated.
7. The apparatus according to claim 6, characterized in that, The microcontainer management module is also used for: Perform the registration and online deployment of the aforementioned computing power micro-container; When the vehicle-mounted unit accesses the computing micro-container, authentication of the access to the vehicle-mounted unit is performed; Monitor the computing power services provided by the computing power microcontainer and send the real-time data of the computing power services to the microcontainer orchestration and scheduling module; When the computing power service ends or the vehicle-mounted unit leaves the coverage area of the roadside unit, the computing power micro-container is unloaded. The number of computing power micro-containers is dynamically increased based on the computing power service demand.
8. The apparatus according to claim 6, characterized in that, The micro-container orchestration and scheduling module is also used for: The roadside unit currently running the computing power microcontainer is monitored. If the roadside unit currently running the computing power microcontainer is overloaded or malfunctions, the computing power microcontainer is reassigned to another roadside unit.
9. A computing power micro-container management device for a C-V2X system, characterized in that, The device includes: a roadside unit, a roadside base station, a processor, and a memory. The roadside base stations deploy computing power service aggregation nodes; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to implement the computing power micro-container management method of the C-V2X system as described in any one of claims 1 to 5.
10. A readable storage medium, characterized in that, The readable storage medium stores a computer program; the computer program is used to implement the computing power microcontainer management method of the C-V2X system as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method for controlling computing power resources in edge cloud server, equipment, and storage medium
CN113626155A
Mobility management method and device based on computing power service and storage medium
CN116113005A