Movatterモバイル変換


[0]ホーム

URL:


CN113847926B - Real-time path planning method based on edge microservice collaboration - Google Patents

Real-time path planning method based on edge microservice collaboration
Download PDF

Info

Publication number
CN113847926B
CN113847926BCN202111098455.8ACN202111098455ACN113847926BCN 113847926 BCN113847926 BCN 113847926BCN 202111098455 ACN202111098455 ACN 202111098455ACN 113847926 BCN113847926 BCN 113847926B
Authority
CN
China
Prior art keywords
edge
service
real
time
micro
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
CN202111098455.8A
Other languages
Chinese (zh)
Other versions
CN113847926A (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.)
Shanghai Dianji University
Original Assignee
Shanghai Dianji University
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 Shanghai Dianji UniversityfiledCriticalShanghai Dianji University
Priority to CN202111098455.8ApriorityCriticalpatent/CN113847926B/en
Publication of CN113847926ApublicationCriticalpatent/CN113847926A/en
Application grantedgrantedCritical
Publication of CN113847926BpublicationCriticalpatent/CN113847926B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a real-time path planning method based on edge micro-service collaboration, which comprises the following steps: s1, dividing edge micro-service nodes of a city area, and coding according to longitude and latitude addresses; s2, judging the real-time path condition according to the pheromone recorded in the edge base station server, and making real-time path planning based on an improved ant colony algorithm, wherein the path planning refers to determining the direction of an area edge service node of the next hop; s3, detecting a regional target when encountering an obstacle, and performing time analysis; s4, finding the path direction of the edge micro server node which makes a decision most quickly through edge micro service time analysis feedback; and carrying out region continuing, returning to the first step of iterative computation, and finally reaching a destination to complete real-time path planning. The method finds the optimal running path of the automatic driving vehicle by using the improved ant colony algorithm under the edge computing environment, so that the running time of the vehicle is reduced and occupied edge computing resources can be reduced to the minimum.

Description

Real-time path planning method based on edge microservice collaboration
Technical Field
The invention relates to the field of edge calculation of smart cities, in particular to a real-time path planning method based on edge micro-service collaboration.
Background
The existing path planning using the ant colony algorithm mostly adopts a centralized processing mode in a remote cloud service center, and an optimal path is determined according to the quantity of vehicle information stored in the cloud data center. Most of the existing research on micro-service dispatch collaboration only involves a relatively fixed wireless network and a situation where service requests are sent to a remote central cloud, with little consideration given to dynamically changing availability resources and service requests to edge computing nodes due to vehicle movement.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention utilizes the combination of ant colony algorithm and Geohash coding method, and designs an optimal path planning method for automatic driving (unmanned vehicles) with minimum transmission and calculation time cost and real-time congestion avoidance according to short-time vehicle information of edge service nodes, and meanwhile, the vehicles complete real-time obstacle avoidance function by means of the rapid calculation capability of the edge micro service nodes, and finally complete automatic driving vehicles to reach destinations through edge micro service cooperation with minimum time cost.
The technical aim of the invention is achieved by the following technical scheme:
in order to achieve the above object, the present invention provides a real-time path planning method based on edge micro-service collaboration, which includes:
s1, dividing edge micro-service nodes of a city area, and coding according to longitude and latitude addresses;
s2, judging the real-time path condition according to the pheromone recorded in the edge base station server, and making real-time path planning based on an improved ant colony algorithm, wherein the path planning refers to determining the direction of an area edge service node of the next hop;
s3, detecting a regional target when encountering an obstacle, and performing time analysis;
s4, finding the path direction of the edge micro server node which makes a decision most quickly through edge micro service time analysis feedback; and carrying out region continuing, returning to the first step of iterative computation, and finally reaching a destination to complete real-time path planning.
The invention further improves that: in the step S1, the edge micro-service nodes are subjected to region coding by using a Geohash coding method, candidate region edge micro-service nodes which are close to a vehicle are selected, longitude and latitude are used for coding, and the same edge micro-service is marked.
The invention further improves that: in step S2, the situation of the pheromone at the moment is analyzed through the vehicle information of the base station micro-service, and the vehicle running direction is obtained primarily according to the situation of the pheromone.
The invention further improves that: and when an obstacle is encountered during running in the step S3, detecting a target object through technologies such as opencv and yolo, uploading information such as an object image and a position to an edge micro server, processing the information by the edge micro server, and feeding back the size, the shape, whether the obstacle is coming or not and the obstacle avoiding direction to the vehicle.
The invention further improves that: and step S4, according to the edge micro-service feedback result calculated by the minimum cost, the direction of the edge micro-service node which firstly carries out feedback is the optimal path direction, and the optimal path with the strongest instantaneity and the minimum short-time vehicle congestion degree is obtained.
The beneficial technical effects of the invention are as follows: the method finds the optimal running path of the automatic driving vehicle by using the improved ant colony algorithm under the edge computing environment, so that the running time of the vehicle is reduced, occupied edge computing resources can be reduced to the minimum, the problem of low instantaneity and high transmission bandwidth consumption caused by the fact that information resources are transmitted to a remote cloud end at present is better solved by the edge micro-service processing method, and the path planning method under the edge computing environment is the minimum in cost.
Drawings
FIG. 1 is a deployed device location diagram;
FIG. 2 is a position diagram of a target vehicle traveling through a path after edge collaboration;
FIG. 3 is a position diagram of the target vehicle after edge collaboration;
FIG. 4 is a position diagram of a target vehicle traveling through a path after edge collaboration;
FIG. 5 is a D4 area roadway detail;
fig. 6 is a path travel diagram after the target vehicle has completely passed through edge cooperation.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
The method realizes automatic driving (unmanned vehicle driving) real-time path planning through micro-service cooperation on the edge nodes. Wherein the micro-service is deployed at the edge base station node for real-time searching and calculating the optimal path. The real-time path planning method based on edge micro-service collaboration comprises the following steps:
s1, dividing edge micro-service nodes of a city area, and coding according to longitude and latitude addresses;
s2, judging the real-time path condition according to the pheromone recorded in the edge base station server, and making real-time path planning based on an improved ant colony algorithm, wherein the path planning refers to determining the direction of an area edge service node of the next hop;
s3, detecting a regional target when encountering an obstacle, and performing time analysis;
s4, finding the path direction of the edge micro server node which makes a decision most quickly through edge micro service time analysis feedback; and carrying out region continuing, returning to the first step of iterative computation, and finally reaching a destination to complete real-time path planning.
Specifically, as shown in fig. 1, in step S1, the edge micro-service nodes are area-coded by using a Geohash coding method, candidate area edge micro-service nodes close to the vehicle are selected, longitude and latitude are used for coding, and the same edge micro-service is marked.
Specifically, as shown in fig. 2, 3 and 4, in step S2, the situation of the pheromone at this time is analyzed by the vehicle information of the base station micro service, and the direction of the vehicle is initially obtained according to the situation of the pheromone.
Specifically, as shown in fig. 5, when an obstacle is encountered during the driving in step S3, the target object is detected by using technologies such as opencv and yolo, information such as an object image and a position is uploaded to the edge micro server, the edge micro server performs information processing, and the size, the shape, whether the obstacle is coming or not, and the obstacle avoidance direction are fed back to the vehicle.
Specifically, as shown in fig. 6, in step S4, according to the edge micro-service feedback result calculated according to the minimum cost, the direction of the edge micro-service node that first makes feedback is the optimal path direction, that is, the optimal path with the strongest real-time performance and the minimum short-time vehicle congestion degree is obtained.
In order to enable the automatic driving vehicle path planning method to have diversity and real-time performance, an edge micro-service cooperation method is used. The technical scheme adopts an ant colony improvement algorithm and a Geohash method, and performs real-time adjustment and data information processing in the vehicle running process. The automatic driving vehicle performs path planning and selection in real time in the moving process, so that the path decision is quicker and more accurate. The Geohash algorithm converts a geoposition code into a short string of letters and numbers. The algorithm principle is to perform halving coding on longitude and latitude respectively, perform continuous coding according to the region to which the longitude and latitude belong, mix two groups of codes to perform Base32 coding, and finally generate the needed Geohash coding. The specific flow is as follows: (1) And respectively encoding the longitude and the latitude to obtain a digital string (2), and recombining longitude codes placed in even number bits and latitude codes placed in odd number bits from the 0 th bit to obtain a new digital string. (3) The regions are encoded in the form of letters plus numbers. When in coding, a symbol (such as an ordinate A, B, C, D, an abscissa 1, 2, 3 and 4) is added in front of the edge node of the same area, and firstly, a path of the edge micro-service cooperation direction with high pheromone is found in the edge node of the same area, because the edge node is not needed to be crossed, a certain delay of the edge node is reduced; if the pheromone of the edge nodes of the same area is low, the edge micro-service node with the nearest distance and high pheromone is found in the cross-coding area. The invention mainly considers the situation that the decision of the vehicle running path in the same area is optimal, when the vehicle needs to run across areas, the path connection is carried out between different areas, and the algorithm is used for carrying out the loop iteration calculation until the vehicle reaches the destination. The following formula (1) is a calculation formula of the ant colony improvement algorithm, in which heuristic information calculation of time cost is added.
Wherein:
τxy (t+1)=(1-p)*τxy (t)+Δτxy (t);
wherein τx,y (t) is the pheromone concentration of the en-route (x, y) node, x is the current edge microservice, y is the next edge microservice, ηxy Heuristic information, which is time, is the inverse of the minimum time. a, beta are respectively τx,y (t),ηxy Weight parameters of (c). A new selection update is then made and the process is repeated until the endpoint. p is the number of pheromone volatilizes.The pheromone increment at the (x, y) node for the kth ant. Q represents the absolute quantity of information released by ants at one time, Lk The total path length of one turn for the kth ant. Δτx,y And (t) represents the pheromone amount of m ants at the node (x, y).
For edge micro-server collaboration transfer time, where w is the micro-server's task, bn Is the bandwidth of the nth micro server. />The method is used for uplink and downlink transmission time of the vehicle and the edge micro-service, wherein S is transmission power of the vehicle, W is channel bandwidth, N is noise power, and T is a task of whole information transmission. />Calculating time for the task of the edge base station micro service node x, wherein R represents the task quantity of the server node, and V is the task processing rate. And taking the maximum value of the earliest completion time of each resource as the time of the current scheduling as the minimum-cost edge computing micro-service cooperation method.
The ant colony algorithm adopted by the invention is to abstract the problem through ants in nature, and the micro-service deployed on the edge node is regarded as an ant colony consisting of ant individuals. The vehicle data information stored on each edge micro server is a pheromone. The vehicle runs in the direction of the edge micro-service with high nearest coded pheromone so as to avoid congestion and obstacle avoidance in real time. The optimal path has the least starting nodes, so that the characteristics of real-time quick response, less resource occupation, less energy consumption, good user experience and the like of the edge micro-service nodes are achieved. The information processed before is processed in a centralized way in a remote cloud, so that the application requirement of the smart city with strong real-time performance at present is difficult to meet, the information uploaded by the vehicle is processed by adopting the edge base station micro-service, feedback is timely made, the time cost is minimum, and therefore, the real-time performance of the path planning of the automatic driving vehicle is high, and meanwhile, the path decision is optimal. Most of the existing research on micro-service dispatch collaboration only involves a relatively fixed wireless network and service requests sent to the remote central cloud, rarely considering dynamically changing availability resources and service requests to edge computing nodes due to vehicle movement. However, the method selects candidate micro-service nodes in a vehicle moving area, then makes a decision while driving, dynamically plans an optimal path with minimum congestion, can perform obstacle avoidance reaction in real time if an emergency such as an obstacle is met, and performs iterative computation through micro-service loops in different areas until the vehicle reaches a final destination.
The method finds the optimal running path of the automatic driving vehicle by using the improved ant colony algorithm under the edge computing environment, so that the running time of the vehicle is reduced, occupied edge computing resources can be reduced to the minimum, the problem of low instantaneity and high transmission bandwidth consumption caused by the fact that information resources are transmitted to a remote cloud end at present is better solved by the edge micro-service processing method, and the path planning method under the edge computing environment is the minimum in cost.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (5)

CN202111098455.8A2021-09-182021-09-18Real-time path planning method based on edge microservice collaborationActiveCN113847926B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111098455.8ACN113847926B (en)2021-09-182021-09-18Real-time path planning method based on edge microservice collaboration

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111098455.8ACN113847926B (en)2021-09-182021-09-18Real-time path planning method based on edge microservice collaboration

Publications (2)

Publication NumberPublication Date
CN113847926A CN113847926A (en)2021-12-28
CN113847926Btrue CN113847926B (en)2024-01-19

Family

ID=78974643

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111098455.8AActiveCN113847926B (en)2021-09-182021-09-18Real-time path planning method based on edge microservice collaboration

Country Status (1)

CountryLink
CN (1)CN113847926B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116678432B (en)*2023-08-042023-10-24江西师范大学Vehicle real-time path planning method based on edge service

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111289007A (en)*2020-03-232020-06-16南京理工大学Parking AGV path planning method based on improved ant colony algorithm
DE102018009904A1 (en)*2018-12-202020-06-25Volkswagen Aktiengesellschaft Procedure for navigating a vehicle
CN111552313A (en)*2020-04-292020-08-18南京理工大学 Multi-UAV Path Planning Method Based on Dynamic Task Arrival of Edge Computing
CN111694636A (en)*2020-05-112020-09-22国网江苏省电力有限公司南京供电分公司Electric power Internet of things container migration method oriented to edge network load balancing
CN113391647A (en)*2021-07-202021-09-14中国人民解放军国防科技大学Multi-unmanned aerial vehicle edge computing service deployment and scheduling method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
DE102018009904A1 (en)*2018-12-202020-06-25Volkswagen Aktiengesellschaft Procedure for navigating a vehicle
CN111289007A (en)*2020-03-232020-06-16南京理工大学Parking AGV path planning method based on improved ant colony algorithm
CN111552313A (en)*2020-04-292020-08-18南京理工大学 Multi-UAV Path Planning Method Based on Dynamic Task Arrival of Edge Computing
CN111694636A (en)*2020-05-112020-09-22国网江苏省电力有限公司南京供电分公司Electric power Internet of things container migration method oriented to edge network load balancing
CN113391647A (en)*2021-07-202021-09-14中国人民解放军国防科技大学Multi-unmanned aerial vehicle edge computing service deployment and scheduling method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于蚁群算法的移动机器人路径规划;张晓玲;罗印升;张宝峰;王亚春;;激光杂志(第11期);全文*
基于边缘计算的工业应用:自动导引小车控制系统;陈友东;胡嘉航;;计算机集成制造系统(第12期);全文*

Also Published As

Publication numberPublication date
CN113847926A (en)2021-12-28

Similar Documents

PublicationPublication DateTitle
US12369186B2 (en)Communication and computation aware distributed machine learning for vehicular networks
Nguyen et al.DRL‐based intelligent resource allocation for diverse QoS in 5G and toward 6G vehicular networks: a comprehensive survey
Sliwa et al.Machine learning based context-predictive car-to-cloud communication using multi-layer connectivity maps for upcoming 5G networks
Islam et al.Dynamic positioning of UAVs to improve network coverage in VANETs
Shelly et al.Link residual lifetime-based next hop selection scheme for vehicular ad hoc networks
CN109005524B (en)Internet of vehicles RSU switching method based on throughput comparison
Sakib et al.A deep learning method for predictive channel assignment in beyond 5G networks
CN111935303A (en)Task unloading method based on intention perception in air-ground integrated Internet of vehicles
CN113847926B (en)Real-time path planning method based on edge microservice collaboration
Schäufele et al.Terminal-side data rate prediction for high-mobility users
Hu et al.Distributed trajectory design for cooperative internet of UAVs using deep reinforcement learning
CN111491312A (en)Method and equipment for predicting, allocating, acquiring and training neural network of wireless resources
Pervej et al.Mobility, communication and computation aware federated learning for internet of vehicles
Zhang et al.Adaptive 3D routing protocol for flying ad hoc networks based on prediction-driven Q-learning
Tian et al.Trad: Traffic adaptive data dissemination protocol for both urban and highway vanets
Liu et al.An adaptive multimedia signal transmission strategy in cloud-assisted vehicular networks
Wu et al.UAV-assisted real-time video transmission for vehicles: A soft actor–critic DRL approach
Abdel-Aziz et al.V2V cooperative sensing using reinforcement learning with action branching
Singh et al.CLGR: Connectivity and link quality aware geographical routing using AHP-TOPSIS for FANETs
Hameed et al.An improved iBAT-COOP protocol for cooperative diversity in FANETs
CN118870436A (en) A cost optimization method for aerial mobile edge computing network based on deep reinforcement learning
Jiang et al.Learning on the fly: An RNN-based online throughput prediction framework for UAV communications
Zhao et al.Satellite-assisted 6G wide-area edge intelligence: dynamics-aware task offloading and resource allocation for remote IoT services
Nikolovski et al.Delay Tolerant and Predictive Data Dissemination Protocol (DTP-DDP) for urban and highway vehicular ad hoc networks (VANETs)
Chen et al.Radio resource selection in C-V2X mode 4: A multiagent deep reinforcement learning approach

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp