A QoS-aware 5G intelligent pedestrian navigation method
Through the dynamic ACO-A* algorithm based on the state table, the pedestrian navigation system in the 5G cellular network is optimized, which solves the problem of unmet user QoS requirements and achieves efficient route planning and network quality improvement in the 5G network.
Patent Information
- Application Number
- CN202210481751.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-05
AI Technical Summary
The pedestrian navigation system in the existing 5G cellular network fails to effectively consider the QoS requirements of users, resulting in the received signal of the 5G base station on some road sections failing to meet the user's service quality requirement threshold.
The dynamic ACO-A* algorithm based on the state table is used to optimize route planning to meet the user's QoS needs by constructing an abstract city topology map, population spatial distribution and cellular network model, combined with the ant colony algorithm and A* search algorithm, and utilizes traceability Data structure implements dynamic shortest path solution.
It realizes route planning that meets user QoS requirements in the 5G network, improves the network quality and time efficiency of the navigation system, and solves the problems of low efficiency and local optimal solutions of traditional algorithms when dealing with dynamic path planning.
Smart Images

Figure CN114969216B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of wireless network navigation, and in particular relates to a QoS-aware 5G intelligent pedestrian navigation method. Background Art
[0002] Route planning has become a basic service for pedestrian map navigation. Currently, many commercial map applications aim to find the shortest or fastest route for pedestrians from their starting point to their destination. For example, Google Maps and Baidu Maps can provide short-term traffic forecasts and help users such as pedestrians, riders, and drivers find the shortest or fastest path to their destination. However, these commercial systems only consider distance and time factors, but lack attention to the special needs of user groups. Recently, multi-factor pedestrian route navigation has been proposed to meet other needs of users. Related literature shows that route planning should also consider other factors such as: ① health (mostly physical health); ② avoidance of air or noise pollution; ③ sense of safety; ④ experience along the way. Multi-factor pedestrian route navigation aims to adapt to the various needs of pedestrians in modern society and balance other expectations of users when determining the optimal path. At present, more and more research interests have been attracted to the development of multi-factor pedestrian route navigation.
[0003] However, these multi-factor route planning methods rarely consider the quality of service (QoS) in wireless cellular networks, especially in 5G cellular networks. With millimeter wave and massive MIMO technologies, 5G networks have begun to enable high-speed innovative applications such as virtual reality, 3D video, interactive games, and 4K / 8K online video transmission. Therefore, in 5G networks, most pedestrians have the habit of downloading large files, participating in online meetings, or watching high-definition videos on the sidewalk. However, the shortest or fastest path generated by existing solutions cannot guarantee that the received signal of the 5G base station on each road segment is always above the user's QoS requirement threshold. Therefore, it is necessary to propose an effective solution to implement a route planning method that meets user QoS requirements under 5G mobile networks.
[0004] In pedestrian navigation, the criteria for selecting a route and the algorithm for solving it are two key factors that determine the route planning method. In terms of criterion selection, for route navigation that considers multiple factors, the criteria are no longer limited to traditional travel expenses such as time and distance, but also include other attributes that may affect the user experience.
[0005] As for the choice of computational algorithms, the prototype of the pedestrian navigation problem is the shortest path planning based on a graph. Therefore, the navigation problem can be solved according to the corresponding shortest path solving algorithm. Therefore, the QoS-aware pedestrian navigation problem with time-varying network quality characteristics can be solved by a dynamic shortest path algorithm. There has been a lot of research in the field of the shortest path problem. The existing solving algorithms are mainly divided into two categories, namely deterministic algorithms and non-deterministic algorithms. With Dijkstra algorithm as a representative, many studies on deterministic algorithms are based on this classic shortest path algorithm; A* search algorithm and mixed integer linear programming are also important representatives of deterministic algorithms. These algorithms have been proven to obtain optimal solutions, but their time overhead is too expensive when facing a large problem space. Non-deterministic algorithms mainly refer to intelligent algorithms, such as ant colony algorithm (ACO), genetic algorithm (GA), predator-prey algorithm, etc. Non-deterministic algorithms are frequently used due to their excellent performance in dealing with NP-complete problems, which often have many constraints and optimization objectives. However, despite the high performance in time efficiency, the uncertainty and randomness of the solution are still the great defects of non-deterministic algorithms.
[0006] The above research work provides a rich foundation for the shortest path solving algorithm. For solving the dynamic shortest path problem, deterministic algorithms are still feasible. For example, dynamic processing can be achieved by optimizing the data structure of the Dijkstra algorithm. At the same time, many methods have been proposed to improve the performance of these dynamic navigation algorithms. For example, using boundary values to reduce the search space, using hybrid methods to combine the advantages of various calculation algorithms, etc.
[0007] The present invention applies a traceable data structure to adapt to dynamic QoS changes. At the same time, a state table and an algorithm called dynamic ACO-A* are innovatively introduced. The algorithm uses an A* algorithm based on a traceable priority queue to calculate the dynamic shortest path, and uses the ant colony algorithm (ACO) to obtain a reference value. As an intelligent algorithm, ACO can effectively solve NP-hard combinatorial optimization problems and tends to obtain locally feasible solutions. Therefore, this feature is used to obtain a locally optimal feasible solution, and it is defined as a reference value that reduces the search space and improves the solution efficiency, so as to optimize the dynamic A* search algorithm. Summary of the invention
[0008] In order to explore a new solution for QoS-aware 5G intelligent pedestrian navigation, this paper proposes a method of dynamic ACO-A* algorithm based on state table. This method constructs a graph structure based on state table, uses ACO to solve path reference value, combines dynamic ACO-A* algorithm to solve the shortest path that meets user QoS and performance evaluation. The technical solution is as follows:
[0009] Step 1: Complete the system model construction plan by establishing an abstract city topology map, population spatial distribution settings, cellular network model, and signal propagation model. Based on the system model, establish a state transfer matrix by calculating the coverage probability and data transmission rate, and implement the state table construction plan in combination with the state table construction algorithm;
[0010] Step 2: Use ACO to solve the technical solution of path reference value;
[0011] Step 3: Based on the dynamically designed A* algorithm, a dynamic shortest path solution is obtained by using a dynamic ACO-A* algorithm;
[0012] Preferably, the step 1 of establishing an abstract city topology map is as follows:
[0013] In order to abstract the street structure into a graph, it is necessary to consider the topological structure of the street and analyze its geometric characteristics. The urban street layout is modeled as a connected undirected graph G(V, E, F), where V is the vertex set, is the edge set; specifically, for each vertex v in V i ∈V represents a road intersection or the end point of a road; in addition, the connected vertex v in E i and v j The edge ij =(v i , v j )∈E represents a road segment that can pass between two vertices; the function F:V μ E→Gemometrics records the geometric information of the graph G; specifically, it maps a vertex and an edge to the point position of the corresponding road intersection and the polyline representing the corresponding road segment respectively;
[0014] The population spatial distribution is set as follows in step 1:
[0015] Since the research is about the application scenario in urban areas, it is assumed here that users are distributed according to the Homogeneous Poisson Point Process (HPPP) with a density of λ; therefore, the probability that k users are in the same area S can be calculated as:
[0016]
[0017] Meanwhile, in the relevant research on navigation systems, the HPPP assumption is more common;
[0018] The cellular network model is constructed as follows in step 1:
[0019] According to the actual 5G application scenarios, the network is considered to be a standalone (SA) architecture; BS is used here to represent a base station. It is assumed that the user is covered by only one base station at any time, and there will be no disconnection when switching from one base station to another;
[0020] A cellular network can be modeled as Figure 2 The adjacent hexagonal regular grid structure shown in the figure has a coverage area of a regular hexagon with a radius of R. Note that in practice, due to effects such as attenuation, the transmission range is not deterministic; therefore, the assumption of a hexagonal grid can simplify the problem, but it may not always hold true in actual problem deployment; at the same time, it is assumed that the base stations are evenly distributed next to the streets to ensure that all streets can be fully covered by the signal;
[0021] The signal propagation model constructed in step 1 is:
[0022] Assume that each base station is equipped with three directional antennas, 120 degrees corresponding to three adjacent areas; when sharing the same spectrum, the base station allocates resources to users within its coverage area according to time division multiple access (TDMA); the power law path loss and Rayleigh fading model are used for the wireless channel from the base station to the user; here the received signal power is represented as P t ·h·r - α , where P t is the transmission power of the base station, r is the distance from the base station to the user, α>2 is the path loss index, and h is the fading coefficient following an exponential distribution with a mean of 1 / μ; in addition, h~exp(μ) is used to represent the fading coefficient; the signal to interference plus noise ratio SINR at the user can be obtained by:
[0023]
[0024] Where N0 is the noise floor of the additive white Gaussian noise (AWGN) channel and I is the interference measured at the user;
[0025] The network quality of users can be evaluated by data rate, because each user is covered by a specific base station at a certain location; in the system set by this model, the data rate will be affected by SINR, which is used as a threshold to affect the number of users that meet the requirements covered by the same base station; therefore, the data rate of each user can be calculated as follows:
[0026]
[0027] The throughput of each base station is defined as Q BS , n represents the number of users that meet the requirements and share the same base station at the same time;
[0028] The coverage probability calculated in step 1 is:
[0029] In practice, there is more than one base station on some road sections. Transmission from a base station to a user is successful only when the user is within the transmission range of the base station. Therefore, based on the free space model and the Friis transmission equation, the base station coverage radius R can be calculated:
[0030]
[0031] Among them G t is the transmitting antenna gain, G r is the receiving antenna gain, P t is the transmitting antenna power, P r is the received power, and the working wavelength is λ;
[0032] Each base station is located at the center of the hexagonal coverage area, and users are distributed at a density of λ. r The uniform Poisson point process is distributed in the area, and the distribution of the distance r from the base station to any user in the coverage area is expressed by F R(r) express;
[0033] There are two geometric cases for the coverage boundary of the base station and the circle with radius r; Determine the probability density function of r:
[0034]
[0035] Here, we use (0, 0) to represent the coordinates of the target base station, and (rcos(θ), rsin(θ)) to represent the user, r is the distance from the base station to the user, and θ is the angle between the X-axis and the line connecting the origin and the user; according to the directional antenna model, the interference comes from the directional transmission of 18 base stations (to simplify the analysis, ignore the back radiation), and its coordinates are expressed as (I xi I yi ), i = 1...18; and the coordinates of the six base stations located at the six vertices of the corresponding hexagon are expressed as (P xj , P yj ), j = 1...6; Assuming that the co-channel interference measured at the user comes from the same base station, the interference can be calculated as follows:
[0036]
[0037] For the th For users in the (1≤j≤6) area, the SINR can be obtained as follows:
[0038]
[0039] Combined with the above formula, the user's coverage probability is expressed by assuming h~exp(μ), where D is the user's standard requirement; the probability P of meeting SINR in a base station coverage area can be obtained c as follows:
[0040]
[0041] The data transfer rate calculated in step 1 is:
[0042] P cover Represents the probability that the network status of the entire road section meets the QoS requirements. Assume that m is the road e ij The number of base stations next to it; then:
[0043]
[0044] Among them, E ij Is walking on the road ij The expected value of the number of users whose SINR requirements are met, P BS (k) is the probability that k users are within the coverage of m base stations; it is assumed that the average daily flow of mobile users n0 can be obtained through daily observation data and experience; according to the uniform Poisson point process distribution, it can be obtained:
[0045]
[0046] Where |S| is the coverage area of a single base station;
[0047] By E ij The number of users whose SINR values can meet the QoS requirements can be estimated; thus, the number of users located on section e is obtained. ij The kth ... th Number of users (base stations):
[0048]
[0049] kth th The data rate of the base station can be calculated as:
[0050]
[0051] Therefore, the road ij QoS requirements can only be met if:
[0052] Dr k ≥QoS, k=1...m
[0053] Use min(Dr k ) indicates road e ijThe minimum value of Drk in the road is used to limit the QoS of the entire road section, which can be defined as road e ij The corresponding road status;
[0054] The transfer matrix constructed in step 1 is:
[0055] The road state changes regularly over time. These mutually convertible road states are divided into k types, namely {S (1) , S (2) , ..., S (q) ...., S (k)}(incremented by the value of Dr); Based on the Markov prediction model, the transfer matrix can be created as;
[0056]
[0057] From state S (i) The sum of the total probabilities to all other states is always equal to 1, that is, ∑ jp(i,j) =1; Assume that road e ij The state is S (q) And it has changed t times, then a new probability matrix can be constructed as follows:
[0058]
[0059] Therefore, through Get from the current state S (q) The probability of changing to other states; Since different users have different application requirements, different QoS levels need to be defined to meet these requirements; then the QoS requirement of a user is defined as Q i , Q i ∈{S (1) , S (2) , ..., S (q) , ..., S (k)}; Two probability values can be calculated, and for:
[0060]
[0061]
[0062] in is the probability of the road state being lower than the minimum QoS requirement after t changes, Indicates the opposite meaning; if the transformation matrix is a constant, when t is large enough, will converge to a stable probability matrix;
[0063]
[0064] According to the above Markov prediction model system, it can handle the dynamically changing road state. According to the road state of the road section, e can be obtained by the following formula: ij The cost w of ∈E ij :
[0065]
[0066] where e ij .dist indicates road e ij Length; s ij (t ij ) indicates the corresponding road segment e ij In t ij Road conditions during the time period:
[0067]
[0068] Where [t i , t j ] indicates that from vertex v i To the vertex v j time period; when s ij A value of 1 indicates that the road status under the current conditions meets the QoS requirements, while a value of 0 indicates that it does not;
[0069] The state table establishment algorithm described in step 1 is:
[0070] The state table establishment algorithm realizes the conversion of the original road topology geometry G(V, E, F) into G(V, E, F, S) containing road state change information; the state table S is composed of the initial matrix and the number of transitions T; the value of T is related to the length of the planned path from the starting point to the destination; in actual operation, there are often multiple paths that can be used to reach the destination from the same location; T can be approximated by the maximum number of state changes, and the maximum number of state changes can be approximated by the maximum path length l from the starting point to the destination. max To solve:
[0071]
[0072] where v u is the user's speed, and δt is the time interval between state changes; therefore, the algorithm process for constructing the state table is as follows:
[0073] Transfer matrix calculation; Based on the Markov prediction model, the state of each e∈E in G(V, E, F) is repeatedly calculated within the entire number of transitions T;
[0074] Determine the road status; calculate and solve and And compare the two probabilities to determine whether the state meets the QoS requirements;
[0075] Simplify the calculation; set a variable flag as a judgment A sign of whether the solution has converged to reduce unnecessary calculations and improve solution efficiency;
[0076] After the state table construction algorithm, the topological structure graph G(V, E, F) can be transformed into a graph structure G(V, E, F, S) containing state change information to perform related operations of subsequent solutions;
[0077] Preferably, the step 2 is specifically as follows:
[0078] Through the system model construction scheme, a structural graph G (V, E, F, S) containing topological information and state information can be obtained; and this scheme aims to use the ACO part of the dynamic ACO-A* algorithm based on the state table; the route planning problem in the present invention is a typical NP-complete problem; and the ant colony algorithm (ACO) is an efficient and intelligent algorithm for solving NP-hard problems; intuitively, we can use ACO to obtain a set of feasible solutions (using {L r}) to search from the source vertex V s To the destination vertex V d The path where V s and V d All belong to G(V, E, F, S); the best solution can be regarded as a feasible solution to the local optimum; the advantage of ACO is that it can find feasible solutions and maintain a high degree of diversity; however, the disadvantage of ACO is that it tends to fall into a local optimum solution; therefore, the solutions generated by ACO It can only be used as a reference value to reduce the search space and speed up the solution process to optimize the time efficiency of the solution that produces the global optimal value;
[0079] In the problem studied by this invention, ACO is used to obtain The value of is different from the traditional arrival path planning problem; because the state table S of G(V, E, F, S) changes dynamically over time; using the original unimproved ACO to solve this problem will face the following two "blockage and 'dead end'" problems:
[0080] Therefore, in order to deal with the above two problems, it is necessary to optimize and improve the ACO algorithm to obtain an intelligent ACO algorithm:
[0081] Initialize parameters; before starting route planning, set the pheromone level of each road section to τ0 and place m ants at the starting vertex;
[0082] Select a path; Based on previous traditional ACO algorithm research, at the vertex v i The ants choose the path ij The probability is:
[0083]
[0084] in, It is ant k who chooses path e ij The probability of ij When the ant passes by ij , and α and β are the coefficients representing the influence of hormone and distance respectively; according to the shortest path goal, η is defined ij =1 / e ij .dist;
[0085] In order to achieve optimization to adapt to the current research problem, N i Set to except s ij (t)=0 and vertex v i A connected set of vertices to solve the blocking problem;
[0086] In addition, if ant k encounters a dead end, it will stand on the current path and warn other ants, reducing the probability of other ants visiting this node to solve this problem;
[0087] Pheromone update; update includes both increase and decrease; for decrease, after choosing a path, pheromone will be percentage evaporates, thereby reducing
[0088]
[0089] As for the increase, if an ant (assuming it is ant F) reaches the destination, the entire path pheromone will be updated in the following way:
[0090]
[0091] Where Q is a constant representing the reward pheromone to reach the destination, and LF is the path length of ant F. Using this method, the results will converge faster;
[0092] After the cycle is completed, the shortest path is set as the reference value obtained by the final solution of the intelligent ACO algorithm based on the state table
[0093] Preferably, the step 3 is as follows:
[0094] Step 3.1: Implement the dynamic design of the A* algorithm by implementing the backtrackable data structure and executing the backtracking operation
[0095] The traditional A* search algorithm is implemented by introducing a heuristic function in the Dijkstra algorithm to improve the efficiency of path planning; we assume that in the graph G(V, E), the path planning is from the starting vertex V s To the destination vertex V d ; There is a key data structure in the entire solution process, the priority queue Q; for each v∈GV:
[0096] v.sp=v.dist+cost(v)
[0097] v.sp expresses the priority of each vertex; v.sp represents the priority of each vertex from V s To V d The estimate of the shortest path through v, v.dist is calculated from V s The shortest path to v, cost(v) is the estimated cost from v to V d The heuristic function of the minimum cost; usually, the vertex with smaller v.sp in Q will be given priority; therefore, the search process is directly destination-oriented; in order to achieve the optimal solution, the design of the heuristic function cost(v) is very important; in the town block scene studied by the present invention, the Manhattan distance or the Euclidean distance has a higher performance and can be used as the heuristic function cost(v); relying on the reasonably designed cost(v), the optimal value of the dynamic shortest path obtained by the solution can be guaranteed;
[0098] Similar to the important role of the priority queue in the A* algorithm, the priority queue Q can be traced back. R It is the key guarantee to obtain the dynamic shortest path; Q R The implementation combines two data structures, namely the priority queue Q and the binary search tree T; in addition to using the priority of each vertex, Q R It is also necessary to store previous operations to achieve backtracking; priority is implemented by the priority queue Q; and the storage of related operations, that is, the storage of vertices in the shortest path tree, is implemented by the binary search tree T; in order to better adapt to the scenario of the problem, the entries in Q and T are designed as follows:
[0099] Entries N in Q Q It is expressed as:
[0100] N Q (v,{v p , dist, sp})
[0101] where v, v p Represent the corresponding vertex and its predecessor respectively; dist and sp correspond to v.dist and v.sp in the basic A* algorithm;
[0102] Entries N in TT It is expressed as:
[0103] N T (v,{v p , dist, sp, t})
[0104] where v, v p Represents the corresponding vertex of the edge inserted into the shortest path tree and its predecessor t is the time of adding v; dist is V s The shortest distance to v at t, sp represents V at time t s To V d Through the edge (v p , v) The estimated length of the path; Here we consider using a binary balanced tree, such as a red-black tree, to implement T, record the operation sequence, and thus ensure the efficient execution of the operation;
[0105] According to the previous design, there are two data structures Q and T, and their specific usage and meaning are as follows; priority queue Q: accessible vertex set; binary search tree T: vertices deleted from Q, which are added to the shortest path tree; the relevant operation principles of backtracking are described as follows:
[0106] Determine the impact of dynamic changes: depends on the edge that changes uv That is, the edge (u, v), the influence can be divided into three categories:
[0107] No effect: When v is neither in Q nor in T, no action is required;
[0108] Direct update: When v is in Q, directly adjust its value. No matter whether the weight of the (u, v) edge increases or decreases, only NQ(v).dist and NQ(v).sp are directly updated.
[0109] Backtracking of a specific vertex: When v is in T, the impact depends on the change in the weight of the (u, v) edge; when the weight increases, no operation is required because it does not contribute to the shortest path. However, when the weight decreases, the successor node is called v, and its predecessor node is called v. p , then we need to trace back to N that satisfies the following conditions T (v):
[0110]
[0111] Keep backtracking the current successor and its predecessor until the above equation is not satisfied; the influence of the weight change will continue to be transmitted from the successor to the predecessor, passing the influence layer by layer along the structure of graph G and updating the information of graph G to obtain the current path information;
[0112] Backtracking of affected nodes: Since node v has been backtracked from the shortest path tree T to the queue Q, some of v’s outgoing edges may need to be relaxed and the value of dist updated, which is the same as the regular relaxation in the A* algorithm; therefore, Q R The minimum sp value will be added from Q to T regularly and continuously to expand the shortest path tree, and the reachable vertices will be pushed into Q. Once a dynamic change occurs, Q R The relevant changes will be adapted according to the above-mentioned principles of determining dynamic changes;
[0113] Step 3.2: Dynamic ACO-A* algorithm obtains the path;
[0114] According to the design idea in step 3.1, the dynamic A* algorithm can be implemented by designing a backtrackable data structure and following its backtracking execution steps; and in order to improve the performance of the dynamic A* algorithm in terms of time performance, the L generated by ACO r can be used as a reference value to reduce its search space and optimize the time efficiency of dynamic A*; the dynamic ACO-A* algorithm is based on the traditional A* search algorithm and will fall back to the static A* algorithm in extreme cases, such as for all corresponding to e ij ∈E, whose w ij It always remains unchanged; and it can adapt to changes when changes occur, solving this dynamic pathfinding problem; therefore, the dynamic ACO-A* algorithm process can be obtained as follows:
[0115] Initialization: Initialize the value of the heuristic function cost(v) for v∈V, and initialize the value of the heuristic function cost(v) for the source point V s The reachable vertex set sets its dist and sp values;
[0116] Create the shortest circuit: From V s to v, Q R Continue to return the entry with the smallest sp value from Q to ensure that the pathfinding process is goal-oriented; at the same time, Q R Using ACO To reduce unnecessary calculations and improve operating efficiency;
[0117] Trigger dynamic changes: When graph G changes at the current time, dynamic processing will be triggered; ij The mathematical expression of the change in time t can be expressed by the XOR operation as:
[0118]
[0119] Among them, T c and Tt_δt represent the current time and the previous time; then, the three effects brought by the dynamic changes are processed;
[0120] Three impacts: Based on the content of the A* dynamic design details section, the impacts of the changes include: no effect, direct update, and specific vertex backtracking; for the details of the specific vertex backtracking operation, in addition to the content described in the design details section, it is also necessary to clear the vertices that meet the conditions in T from T to ensure that there is no conflict in Q and T and they are consistent;
[0121] By executing the algorithm in this way, we can finally obtain the shortest route planning that can meet the user QoS calculated by the dynamic ACO-A* algorithm.
[0122] The advantage of the present invention is that it solves the problem that the user QoS requirements in traditional pedestrian path navigation cannot be met, so that users can reach the destination from the starting point in the current 5G cellular network with a shorter path and can use mobile electronic devices with higher network quality. In addition, the present invention also innovatively sets the reference value through the ACO algorithm from the perspective of time cost, and effectively improves the solution efficiency of the dynamic shortest path algorithm in combination with the reference value. BRIEF DESCRIPTION OF THE DRAWINGS
[0123] Figure 1 : A system architecture diagram for implementing the navigation method of the present invention;
[0124] Figure 2 : A schematic diagram of the 5G mobile cellular network studied in the present invention;
[0125] Figure 3 : Two geometric situations when the user is within the coverage of the base station;
[0126] Figure 4 : Two kinds of dilemmas that users may encounter on a dynamic graph: blockage and dead end; DETAILED DESCRIPTION
[0127] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the conflict avoidance method of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0128] The following will be combined Figures 1 to 4 The specific implementation of the present invention is a QoS-aware 5G intelligent pedestrian navigation method. The overall method architecture process is as follows: Figure 1 The details are as follows:
[0129] Step 1: Complete the system model construction plan by establishing an abstract city topology map, population spatial distribution settings, cellular network model, and signal propagation model. Based on the system model, establish a state transfer matrix by calculating the coverage probability and data transmission rate, and implement the state table construction plan in combination with the state table construction algorithm;
[0130] The abstract city topology map is established as follows in step 1:
[0131] In order to abstract the street structure into a graph, it is necessary to consider the topological structure of the street and analyze its geometric characteristics; the urban street layout is modeled as a connected undirected graph G(V, E, F), where V is the vertex set, is the edge set; specifically, for each vertex v in V i ∈V represents a road intersection or the end point of a road; in addition, the connected vertex v in E i and v j The edge ij =(v i , v j )∈E represents a road segment that can pass between two vertices; the function F:V ∪ E→Gemometrics records the geometric information of the graph G; specifically, it maps a vertex and an edge to the point position of the corresponding road intersection and the polyline representing the corresponding road segment respectively;
[0132] The population spatial distribution is set as follows in step 1:
[0133] Since the research is about the application scenario in urban areas, it is assumed here that users are distributed according to the Homogeneous Poisson Point Process (HPPP) with a density of λ; therefore, the probability that k users are in the same area S can be calculated as:
[0134]
[0135] Meanwhile, in the relevant research on navigation systems, the HPPP assumption is more common;
[0136] The cellular network model is constructed as follows in step 1:
[0137] According to the actual 5G application scenarios, the network is considered to be a standalone (SA) architecture; BS is used here to represent a base station; it is assumed that the user is covered by only one base station at any time, and there will be no disconnection when switching from one base station to another;
[0138] A cellular network can be modeled as Figure 2 The adjacent hexagonal regular grid structure shown in the figure has a coverage area of a regular hexagon with a radius of R. Note that in practice, due to effects such as attenuation, the transmission range is not deterministic; therefore, the assumption of a hexagonal grid can simplify the problem, but it may not always hold true in actual problem deployment; at the same time, it is assumed that the base stations are evenly distributed next to the streets to ensure that all streets can be fully covered by the signal;
[0139] The signal propagation model constructed in step 1 is:
[0140] Assume that each base station is equipped with three directional antennas, 120 degrees corresponding to three adjacent areas; when sharing the same spectrum, the base station allocates resources to users within its coverage area according to time division multiple access (TDMA); the power law path loss and Rayleigh fading model are used for the wireless channel from the base station to the user; here the received signal power is represented as P t ·h·r - α , where P t is the transmission power of the base station, r is the distance from the base station to the user, α>2 is the path loss index, and h is the fading coefficient following an exponential distribution with a mean of 1 / μ; in addition, h~exp(μ) is used to represent the fading coefficient; the signal to interference plus noise ratio SINR at the user can be obtained by:
[0141]
[0142] Where N0 is the noise floor of the additive white Gaussian noise (AWGN) channel and I is the interference measured at the user;
[0143] The network quality of users can be evaluated by data rate, because each user is covered by a specific base station at a certain location; in the system set by this model, the data rate will be affected by SINR, which is used as a threshold to affect the number of users that meet the requirements covered by the same base station; therefore, the data rate of each user can be calculated as follows:
[0144]
[0145] The throughput of each base station is defined as Q BS , n represents the number of users that meet the requirements and share the same base station at the same time;
[0146] The coverage probability calculated in step 1 is:
[0147] In practice, there is more than one base station on some road sections. Transmission from a base station to a user is successful only when the user is within the transmission range of the base station. Therefore, based on the free space model and the Friis transmission equation, the base station coverage radius R can be calculated:
[0148]
[0149] Among them G t is the transmitting antenna gain, G r is the receiving antenna gain, P t is the transmitting antenna power, P r is the received power, and the working wavelength is λ;
[0150] Each base station is located at the center of the hexagonal coverage area, and users are distributed at a density of λ. r The uniform Poisson point process is distributed in the area, and the distribution of the distance r from the base station to any user in the coverage area is expressed by F R(r) express;
[0151] The coverage boundary of the base station and the circle with radius r are as follows Figure 3 The two geometric cases shown; can be Determine the probability density function of r:
[0152]
[0153] Here, we use (0, 0) to represent the coordinates of the target base station, and (rcos(θ), rsin(θ)) to represent the user, r is the distance from the base station to the user, and θ is the angle between the X-axis and the line connecting the origin and the user; according to the directional antenna model, the interference comes from the directional transmission of 18 base stations (to simplify the analysis, ignore the back radiation), and its coordinates are expressed as (I xi I yi ), i = 1...18; and the coordinates of the six base stations located at the six vertices of the corresponding hexagon are expressed as (P xj , P yj ), j = 1...6; Assuming that the co-channel interference measured at the user comes from the same base station, the interference can be calculated as follows:
[0154]
[0155] For the th For users in the (1≤j≤6) area, the SINR can be obtained as follows:
[0156]
[0157] Combined with the above formula, the user's coverage probability is expressed by assuming h~exp(μ), where D is the user's standard requirement; the probability P of meeting SINR in a base station coverage area can be obtained c as follows:
[0158]
[0159] The data transmission rate calculated in step 1 is:
[0160] P cover Represents the probability that the network status of the entire road section meets the QoS requirements. Assume that m is the road e ij The number of base stations next to it; then:
[0161]
[0162] Among them, Eij Is walking on the road ij The expected value of the number of users whose SINR requirements are met, P BS (k) is the probability that k users are within the coverage of m base stations; it is assumed that the average daily flow of mobile users n0 can be obtained through daily observation data and experience; according to the uniform Poisson point process distribution, it can be obtained:
[0163]
[0164] Where |S| is the coverage area of a single base station;
[0165] By E ij The number of users whose SINR values can meet the QoS requirements can be estimated; thus, the number of users located on section e is obtained. ij The kth ... th Number of users (base stations):
[0166]
[0167] kth th The data rate of the base station can be calculated as:
[0168]
[0169] Therefore, the road ij QoS requirements can only be met if:
[0170] Dr k ≥QoS, k=1...m
[0171] Use min(Dr k ) indicates road e ij Dr. k The minimum value of the road segment is used to limit the QoS of the entire road segment, which can be defined as the road e ij The corresponding road status;
[0172] The transfer matrix constructed in step 1 is:
[0173] The road state changes regularly over time. These mutually convertible road states are divided into k types, namely {S (1) , S (2) , ..., S (q) ...., S (k)}(incremented by the value of Dr); Based on the Markov prediction model, the transfer matrix can be created as;
[0174]
[0175] From state S(i) The sum of the total probabilities to all other states is always equal to 1, that is, ∑ jp(i,j) =1; Assume that road e ij The state is S (q) And it has changed t times, then a new probability matrix can be constructed as follows:
[0176]
[0177] Therefore, through Get from the current state S (q) The probability of changing to other states; Since different users have different application requirements, different QoS levels need to be defined to meet these requirements; then the QoS requirement of a user is defined as Q i , Q i ∈{S (1) , S (2) , ..., S (q) , ..., S (k)}; Two probability values can be calculated, and for:
[0178]
[0179]
[0180] in is the probability of the path state being lower than the minimum QoS requirement after t changes, Indicates the opposite meaning; if the transformation matrix is a constant, when t is large enough, will converge to a stable probability matrix;
[0181]
[0182] According to the above Markov prediction model system, it can handle the dynamically changing road state. According to the road state of the road section, e can be obtained by the following formula: ij The cost w of ∈E ij :
[0183]
[0184] where e ij .dist indicates road e ij Length; s ij (t ij ) indicates the corresponding road segment e ij In t ij Road conditions during the time period:
[0185]
[0186] Where [t i , t j ] indicates that from vertex v i To the vertex v j time period; when s ij A value of 1 indicates that the road status under the current conditions meets the QoS requirements, while a value of 0 indicates that it does not;
[0187] The state table establishment algorithm described in step 1 is:
[0188] The state table establishment algorithm realizes the conversion of the original road topology geometry G(V, E, F) into G(V, E, F, S) containing road state change information; the state table S is composed of the initial matrix and the number of transitions T; the value of T is related to the length of the planned path from the starting point to the destination; in actual operation, there are often multiple paths that can be used to reach the destination from the same location; T can be approximated by the maximum number of state changes, and the maximum number of state changes can be approximated by the maximum path length l from the starting point to the destination. max To solve:
[0189]
[0190] where v u is the user's speed, and δt is the time interval between state changes; therefore, the algorithm process for constructing the state table is as follows:
[0191] Transfer matrix calculation; Based on the Markov prediction model, the state of each e∈E in G(V, E, F) is repeatedly calculated within the entire number of transitions T;
[0192] Determine the road status; calculate and solve and And compare the two probabilities to determine whether the state meets the QoS requirements;
[0193] Simplify the calculation; set a variable flag as a judgment A sign of whether the solution has converged to reduce unnecessary calculations and improve solution efficiency;
[0194] After the state table construction algorithm, the topological structure graph G(V, E, F) can be transformed into a graph structure G(V, E, F, S) containing state change information to perform related operations of subsequent solutions;
[0195] Step 2: Using ACO to solve the path reference value technical solution;
[0196] The step 2 is specifically as follows:
[0197] Through the system model construction scheme, a structural graph G (V, E, F, S) containing topological information and state information can be obtained; and this scheme aims to use the ACO part of the dynamic ACO-A* algorithm based on the state table; the route planning problem in the present invention is a typical NP-complete problem; and the ant colony algorithm (ACO) is an efficient and intelligent algorithm for solving NP-hard problems; intuitively, we can use ACO to obtain a set of feasible solutions (using {L r}) to search from the source vertex V s To the destination vertex V d The path where V s and V d All belong to G(V, E, F, S); the best solution can be regarded as a feasible solution to the local optimum; the advantage of ACO is that it can find feasible solutions and maintain a high degree of diversity; however, the disadvantage of ACO is that it tends to fall into a local optimum solution; therefore, the solutions generated by ACO It can only be used as a reference value to reduce the search space and speed up the solution process to optimize the time efficiency of the solution that produces the global optimal value;
[0198] In the problem studied by this invention, ACO is used to obtain The value of is different from the traditional arrival path planning problem; because the state table S of G(V, E, F, S) changes dynamically over time; using the original unimproved ACO to solve this problem will face the following Figure 4 Two "blockage and dead end" problems:
[0199] Therefore, in order to deal with the above two problems, it is necessary to optimize and improve the ACO algorithm to obtain an intelligent ACO algorithm:
[0200] Initialize parameters; before starting route planning, set the pheromone level of each road section to τ0 and place m ants at the starting vertex;
[0201] Select a path; Based on previous traditional ACO algorithm research, at the vertex v i The ants choose the path ij The probability is:
[0202]
[0203] in, It is ant k who chooses path e ij The probability of ij When the ant passes by ij , and α and β are the coefficients representing the influence of hormone and distance respectively; according to the shortest path goal, η is defined ij =1 / e ij.dist;
[0204] In order to achieve optimization to adapt to the current research problem, N i Set to except s ij (t)=0 and vertex v i A connected set of vertices to solve the blocking problem;
[0205] In addition, if ant k encounters a dead end, it will stand on the current path and warn other ants, reducing the probability of other ants visiting this node to solve this problem;
[0206] Pheromone update; update includes both increase and decrease; for decrease, after choosing a path, pheromone will be percentage evaporates, thereby reducing
[0207]
[0208] As for the increase, if an ant (assuming it is ant F) reaches the destination, the entire path pheromone will be updated in the following way:
[0209]
[0210] Where Q is a constant representing the reward pheromone to reach the destination, and LF is the path length of ant F. Using this method, the results will converge faster;
[0211] After the cycle is completed, the shortest path is set as the reference value obtained by the final solution of the intelligent ACO algorithm based on the state table
[0212] Step 3: Based on the dynamically designed A* algorithm, a dynamic shortest path solution is obtained by using a dynamic ACO-A* algorithm;
[0213] Step 3.1: Implement the dynamic design of the A* algorithm by implementing the backtrackable data structure and executing the backtracking operation
[0214] The traditional A* search algorithm is implemented by introducing a heuristic function in the Dijkstra algorithm to improve the efficiency of path planning; we assume that in the graph G(V, E), the path planning is from the starting vertex V s To the destination vertex V d ; There is a key data structure in the entire solution process, the priority queue Q; for each v∈GV:
[0215] V.sp=v.dist+cost(v)
[0216] v.sp expresses the priority of each vertex; v.sp represents the priority of each vertex from V s To V d The estimate of the shortest path through v, v.dist is calculated from V s The shortest path to v, cost(v) is the estimated cost from v to V d The heuristic function of the minimum cost; usually, the vertex with smaller v.sp in Q will be given priority; therefore, the search process is directly destination-oriented; in order to achieve the optimal solution, the design of the heuristic function cost(v) is very important; in the town block scene studied by the present invention, the Manhattan distance or the Euclidean distance has a higher performance and can be used as the heuristic function cost(v); relying on the reasonably designed cost(v), the optimal value of the dynamic shortest path obtained by the solution can be guaranteed;
[0217] Similar to the important role of the priority queue in the A* algorithm, the priority queue Q can be traced back. R It is the key guarantee to obtain the dynamic shortest path; Q R The implementation combines two data structures, namely the priority queue Q and the binary search tree T; in addition to using the priority of each vertex, Q R It is also necessary to store previous operations to achieve backtracking; priority is implemented by the priority queue Q; and the storage of related operations, that is, the storage of vertices in the shortest path tree, is implemented by the binary search tree T; in order to better adapt to the scenario of the problem, the entries in Q and T are designed as follows:
[0218] Entries N in Q Q It is expressed as:
[0219] N Q (v,{v p , dist, sp})
[0220] where v, v p Represent the corresponding vertex and its predecessor respectively; dist and sp correspond to v.dist and v.sp in the basic A* algorithm;
[0221] Entries N in T T It is expressed as:
[0222] N T (v,{v p , dist, sp, t})
[0223] where v, v p Represents the corresponding vertex of the edge inserted into the shortest path tree and its predecessor t is the time of adding v; dist is V s The shortest distance to v at i, sp represents V at time t s To V dThrough the edge (v p , v) The estimated length of the path; Here we consider using a binary balanced tree, such as a red-black tree, to implement T, record the operation sequence, and thus ensure the efficient execution of the operation;
[0224] According to the previous design, there are two data structures Q and T, and their specific usage and meaning are as follows; priority queue Q: accessible vertex set; binary search tree T: vertices deleted from Q, which are added to the shortest path tree; the relevant operation principles of backtracking are described as follows:
[0225] Determine the impact of dynamic changes: depends on the edge that changes uv That is, the edge (u, v), the influence can be divided into three categories:
[0226] No effect: When v is neither in Q nor in T, no action is required;
[0227] Direct update: When v is in Q, directly adjust its value. No matter whether the weight of the (u, v) edge increases or decreases, only N is updated directly. Q (v).dist and N Q (v).sp;
[0228] Backtracking of a specific vertex: When v is in T, the impact depends on the change in the weight of the (u, v) edge; when the weight increases, no operation is required because it does not contribute to the shortest path. However, when the weight decreases, the successor node is called v, and its predecessor node is called v. p , then we need to trace back to N that satisfies the following conditions T (v):
[0229]
[0230] Keep backtracking the current successor and its predecessor until the above equation is not satisfied; the influence of the weight change will continue to be transmitted from the successor to the predecessor, passing the influence layer by layer along the structure of graph G and updating the information of graph G to obtain the current path information;
[0231] Backtracking of affected nodes: Since node v has been backtracked from the shortest path tree T to the queue Q, some of v’s outgoing edges may need to be relaxed and the value of dist updated, which is the same as the regular relaxation in the A* algorithm; therefore, Q R The minimum sp value will be added from Q to T regularly and continuously to expand the shortest path tree, and the reachable vertices will be pushed into Q. Once a dynamic change occurs, Q R The relevant changes will be adapted according to the above-mentioned principles of determining dynamic changes;
[0232] Step 3.2: Dynamic ACO-A* algorithm obtains the path;
[0233] According to the design idea in step 3.1, the dynamic A* algorithm can be implemented by designing a backtrackable data structure and following its backtracking execution steps; and in order to improve the performance of the dynamic A* algorithm in terms of time performance, the L generated by ACO r can be used as a reference value to reduce its search space and optimize the time efficiency of dynamic A*; the dynamic ACO-A* algorithm is based on the traditional A* search algorithm and will fall back to the static A* algorithm in extreme cases, such as for all corresponding to e ij ∈E, whose w ij It always remains unchanged; and it can adapt to changes when changes occur, solving this dynamic pathfinding problem; therefore, the dynamic ACO-A* algorithm process can be obtained as follows:
[0234] Initialization: Initialize the value of the heuristic function cost(u) for v∈V, and initialize the value of the heuristic function cost(u) for the source point V s The reachable vertex set sets its dist and sp values;
[0235] Create the shortest circuit: From V s to v, Q R Continue to return the entry with the smallest sp value from Q to ensure that the pathfinding process is goal-oriented; at the same time, Q R Using ACO To reduce unnecessary calculations and improve operating efficiency;
[0236] Trigger dynamic changes: When graph G changes at the current time, dynamic processing will be triggered; ij The mathematical expression of the change in time t can be expressed by the XOR operation as:
[0237]
[0238] Among them, T c and Tt_δt represent the current time and the previous time; then, the three effects brought by the dynamic changes are processed;
[0239] Three impacts: Based on the content of the A* dynamic design details section, the impacts of the changes include: no effect, direct update, and specific vertex backtracking; for the details of the specific vertex backtracking operation, in addition to the content described in the design details section, it is also necessary to clear the vertices that meet the conditions in T from T to ensure that there is no conflict in Q and T and they are consistent;
[0240] By executing the algorithm in this way, we can finally obtain the shortest route planning that can meet the user QoS calculated by the dynamic ACO-A* algorithm.
[0241] It should be understood that parts not elaborated in detail in this specification belong to the prior art.
[0242] It should be understood that the above description of the embodiments is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested by the present invention shall be based on the attached claims.
Claims
1. A QoS-aware 5G intelligent pedestrian navigation method, characterized in that: The following steps are involved: Step 1: Complete the system model construction plan by establishing an abstract city topology map, population spatial distribution settings, cellular network model, and signal propagation model. Based on the system model, establish a state transfer matrix by calculating the coverage probability and data transmission rate, and implement the state table construction plan in combination with the state table construction algorithm; Step 2: Use ACO to solve the technical solution of path reference value; Step 3: Based on the dynamically designed A* algorithm, a dynamic shortest path solution is obtained by using a dynamic ACO-A* algorithm; The step 2 is specifically as follows: Through the system model construction scheme, a structural graph G(V, E, F, S) containing topological information and state information can be obtained; and this scheme aims to use the ACO part of the dynamic ACO-A* algorithm based on the state table to obtain a set of feasible solutions using ACO. The solution is represented by {L r } indicates that we search for the source vertex V s To the destination vertex V d The path where V s and V d All belong to G(V, E, F, S); the best solution can be regarded as a feasible solution to the local optimum; the advantage of ACO is that it can find feasible solutions and maintain a high degree of diversity; however, the disadvantage of ACO is that it tends to fall into a local optimum solution; therefore, the solutions generated by ACO It can only be used as a reference value to reduce the search space and speed up the solution process to optimize the time efficiency of the solution that produces the global optimal value; Use ACO to get The value of is different from the traditional arrival path planning problem; because the state table S of G(V, E, F, S) changes dynamically over time; using the original unimproved ACO to solve this problem will face the following two "blockage and 'dead end'" problems: Therefore, in order to deal with the above two problems, it is necessary to optimize and improve the ACO algorithm to obtain an intelligent ACO algorithm: Initialize parameters; before starting route planning, set the pheromone level of each road section to τ0 and place m ants at the starting vertex; Select a path; Based on previous traditional ACO algorithm research, at the vertex v i The ants choose the path ij The probability is: in, It is ant k who chooses path e ij The probability of ij When the ant passes by ij , and α and β are the coefficients representing the influence of hormone and distance respectively; according to the shortest path goal, η is defined ij =1 / e ij.dist ; In order to achieve optimization to adapt to the current research problem, N i Set to except s ij (t)=0 and vertex v i A connected set of vertices to solve the blocking problem; In addition, if ant k encounters a dead end, it will stand on the current path and warn other ants, reducing the probability of other ants visiting this node to solve this problem; Pheromone update; update includes both increase and decrease; for decrease, after choosing a path, pheromone will be percentage evaporates, thereby reducing As for the increase, if there is an ant, assuming that the ant is F, reaching the destination, the entire path pheromone will be updated in the following way: Where Q is a constant representing the reward pheromone to reach the destination, and LF is the path length of ant F. Using this method, the results will converge faster; After the cycle is completed, the shortest path is set as the reference value obtained by the final solution of the intelligent ACO algorithm based on the state table The step 3 is as follows: Step 3.1: Implement the dynamic design of the A* algorithm by implementing the backtrackable data structure and executing the backtracking operation; The traditional A* search algorithm is implemented by introducing a heuristic function in the Dijkstra algorithm to improve the efficiency of path planning; assuming that in the graph G(V, E), the path planning is from the starting vertex V s To the destination vertex V d ; There is a key data structure in the entire solution process, the priority queue Q; for each v∈GV: v.sp=v.dist+cost(v) v.sp expresses the priority of each vertex; v.sp represents the priority of each vertex from V s To V d The estimate of the shortest path through v, v.dist is calculated from V s The shortest path to v, cost(v) is the estimated cost from v to V d The minimum cost heuristic function; usually, vertices with smaller v.sp in Q will be given priority; therefore, the search process is directly destination-oriented; in order to achieve the optimal solution, the design of the heuristic function cost(v) is very important; relying on a reasonably designed cost(v) can ensure the optimal value of the dynamic shortest path obtained by this solution; Similar to the important role of the priority queue in the A* algorithm, the priority queue Q can be traced back. R It is the key guarantee to obtain the dynamic shortest path; Q R The implementation combines two data structures, namely the priority queue Q and the binary search tree T; in addition to using the priority of each vertex, Q R It is also necessary to store previous operations to achieve backtracking; priority is implemented by the priority queue Q; and the storage of related operations, that is, the storage of vertices in the shortest path tree, is implemented by the binary search tree T; in order to better adapt to the scenario of the problem, the entries in Q and T are designed as follows: Entries N in Q Q It is expressed as: N Q (v,{v p ,dist,sp}) where v, v p Represent the corresponding vertex and its predecessor respectively; dist and sp correspond to v.dist and v.sp in the basic A* algorithm; Entries N in T T It is expressed as: N T (v,{v p ,dist,sp,t}) where v, v p Represents the corresponding vertex of the edge inserted into the shortest path tree and its predecessor; t is the time of adding v; dist is V s The shortest distance to v at t, sp represents V at time t s To V d Through the edge (v p , v) The estimated length of the path; Here we consider using a binary balanced tree, and use a red-black tree to implement T, record the operation sequence, and thus ensure the efficient execution of the operation; According to the previous design, there are two data structures Q and T, and their specific usage and meaning are as follows; priority queue Q: accessible vertex set; binary search tree T: vertices deleted from Q, which are added to the shortest path tree; the relevant operation principles of backtracking are described as follows: Determine the impact of dynamic changes: depends on the edge that changes uv That is, the edge (u, v), the influence can be divided into three categories: No effect: When v is neither in Q nor in T, no action is required; Direct update: When v is in Q, directly adjust its value. No matter whether the weight of the (u, v) edge increases or decreases, only N is updated directly. Q (v).dist and N Q (v).sp; Backtracking of a specific vertex: When v is in T, the impact depends on the change in the weight of the (u, v) edge; when the weight increases, no operation is required because it does not contribute to the shortest path; but when the weight decreases, the successor node is called v and its predecessor node is called v p , then we need to trace back to N that satisfies the following conditions T (v): Keep backtracking the current successor and its predecessor until the above equation is not satisfied; the influence of the weight change will continue to be transmitted from the successor to the predecessor, passing the influence layer by layer along the structure of graph G and updating the information of graph G to obtain the current path information; Backtracking of affected nodes: Since node v has been backtracked from the shortest path tree T to the queue Q, some of v’s outgoing edges may need to be relaxed and the value of dist updated, which is the same as the regular relaxation in the A* algorithm; therefore, Q R The minimum sp value will be added from Q to T regularly and continuously to expand the shortest path tree, and the reachable vertices will be pushed into Q. Once a dynamic change occurs, Q R The relevant changes will be adapted according to the above-mentioned principles of determining dynamic changes; Step 3.2: Dynamic ACO-A* algorithm obtains the path; According to the design idea in step 3.1, the dynamic A* algorithm can be implemented by designing a backtrackable data structure and following its backtracking execution steps; and in order to improve the performance of the dynamic A* algorithm in terms of time performance, the L generated by ACO r can be used as a reference value to reduce its search space and optimize the time efficiency of dynamic A*; the dynamic ACO-A* algorithm is based on the traditional A* search algorithm and will fall back to the static A* algorithm in extreme cases. ij ∈E, whose w ij It always remains unchanged; and it can adapt to changes when changes occur, solving this dynamic pathfinding problem; therefore, the dynamic ACO-A* algorithm process can be obtained as follows: Initialization: Initialize the value of the heuristic function cost(v) for v∈V, and initialize the value of the heuristic function cost(v) for the source point V s The reachable vertex set sets its dist and sp values; Establish the shortest path: from Vs to v, Q R Continuously return the entry with the minimum sp value from Q to ensure that the pathfinding process is goal-oriented; at the same time, QR utilizes the To reduce unnecessary calculations and improve operating efficiency; Trigger dynamic changes: When graph G changes at the current time, dynamic processing will be triggered; ij The mathematical expression of the change in time t can be expressed by the XOR operation as: Among them, T c and T t-δt Represents the current time and the previous time; then, it is processed according to the three effects brought about by the dynamic changes; Three impacts: Based on the details of the A* dynamic design, the impacts of the changes include: no effect, direct update, and specific vertex backtracking. For the details of the specific vertex backtracking operation, the vertices that meet the conditions in T need to be cleared from T to ensure that there is no conflict in Q and T and they are consistent. By executing the algorithm in this way, we can finally obtain the shortest route planning that can meet the user QoS calculated by the dynamic ACO-A* algorithm.
2. The QoS-aware 5G intelligent pedestrian navigation method according to claim 1 is characterized in that: The abstract city topology map is established as follows in step 1: In order to abstract the street structure into a graph, it is necessary to consider the topological structure of the street and analyze its geometric characteristics; The urban street layout is modeled as a connected undirected graph G(V, E, F), where V is the set of vertices, is the edge set; specifically, for each vertex v in V i ∈V represents a road intersection or the end point of a road; in addition, the connected vertex v in E i and v j The edge ij =(v i , v j )∈E represents a road segment that can pass between two vertices; the function F:V∪E→Gemometrics records the geometric information of the graph G; specifically, it maps a vertex and an edge to the point position of the corresponding road intersection and the polyline representing the corresponding road segment respectively; The population spatial distribution is set as follows in step 1: Since the research is about the application scenario in urban areas, it is assumed here that users are distributed according to the Homogeneous Poisson Point Process (HPPP) with a density of λ; therefore, the probability that k users are in the same area S can be calculated as: Meanwhile, in the relevant research on navigation systems, the HPPP assumption is more common; The cellular network model is constructed as follows in step 1: According to the actual 5G application scenarios, BS is used here to represent a base station; it is assumed that the user is covered by only one base station at any time, and there will be no disconnection when switching from one base station to another; The cellular network can be modeled as a regular grid structure of adjacent hexagons, and the coverage area is a regular hexagon with a radius of R. Due to the attenuation effect, the transmission range is not deterministic. Therefore, the assumption of a hexagonal grid can simplify the problem, but it may not always hold true in actual problem deployment. At the same time, it is assumed that the base stations are evenly distributed along the streets to ensure that all streets can be fully covered by the signal. The signal propagation model constructed in step 1 is: Assume that each base station is equipped with three directional antennas, with 120 degrees corresponding to three adjacent areas; when sharing the same spectrum, the base station allocates resources to users within its coverage area based on time division multiple access; The power-law path loss and Rayleigh fading model are used for the wireless channel from the base station to the user; the received signal power is represented as P t ·h·r -α , where P t is the transmission power of the base station, r is the distance from the base station to the user, α>2 is the path loss exponent, and h is the fading coefficient following an exponential distribution with a mean of 1 / μ; in addition, h~exp(μ) is used to represent the fading coefficient; the signal to interference plus noise ratio SINR at the user can be obtained by: Where N0 is the noise floor of the additive white Gaussian noise channel, and I is the interference measured at the user; The network quality of users can be evaluated by data rate, because each user is covered by a specific base station at a certain location; in the system set by this model, the data rate will be affected by SINR, which is used as a threshold to affect the number of users that meet the requirements covered by the same base station; therefore, the data rate of each user can be calculated as follows: The throughput of each base station is defined as Q BS , n represents the number of users that meet the requirements and share the same base station at the same time; The coverage probability calculated in step 1 is: In practice, there is more than one base station on some road sections. Transmission from a base station to a user is successful only when the user is within the transmission range of the base station. Therefore, based on the free space model and the Friis transmission equation, the base station coverage radius R can be calculated: Among them G t is the transmitting antenna gain, G r is the receiving antenna gain, P t is the transmitting antenna power, P r is the received power, and the working wavelength is λ; Each base station is located at the center of the hexagonal coverage area, and users are distributed at a density of λ. r The uniform Poisson point process is distributed in the area, and the distribution of the distance r from the base station to any user in the coverage area is expressed by F R(r) express; There are two geometric cases for the coverage boundary of the base station and the circle with radius r; Determine the probability density function of r: Here, (0, 0) represents the coordinates of the target base station, (rcos(θ), rsin(θ)) represents the user, r is the distance from the base station to the user, and θ is the angle between the X-axis and the line connecting the origin and the user; According to the directional antenna model, interference comes from the directional transmission of 18 base stations, and its coordinates are expressed as (I xi , I yi ), i = 1…18; and the coordinates of the six base stations located at the six vertices of the corresponding hexagon are expressed as (P xj , P yj ), j = 1…6; Assuming that the co-channel interference measured at the user comes from the same base station, the interference can be calculated as follows: For the th For users in the (1≤j≤6) area, the SINR can be obtained as follows: Combined with the above formula, the user's coverage probability is expressed by assuming h~exp(μ), where D is the user's standard requirement; the probability P of meeting SINR in a base station coverage area can be obtained c as follows: The data transfer rate calculated in step 1 is: P cover Represents the probability that the network status of the entire road section meets the QoS requirements; assuming that m is the road e ij The number of base stations next to it; then: Among them, E ij Is walking on the road ij The expected value of the number of users whose SINR requirements are met, P BS (k) is the probability that k users are within the coverage of m base stations; it is assumed that the average daily flow of mobile users n0 can be obtained through daily observation data and experience; according to the uniform Poisson point process distribution, it can be obtained: Where |S| is the coverage area of a single base station; By E ij The number of users whose SINR values can meet the QoS requirements can be estimated; thus, the number of users located on section e is obtained. ij The kth ... th Base stations, number of users: kth th The data rate of the base station can be calculated as: Therefore, the road ij QoS requirements can only be met if: Dr k ≥QoS,k=1…m Use min(Dr k ) indicates road e ij Dr. k The minimum value of the road segment is used to limit the QoS of the entire road segment, which can be defined as the road e ij The corresponding road status; The transfer matrix constructed in step 1 is: The road state changes regularly over time. These mutually convertible road states are divided into k types, namely {S (1) , S (2) , ..., S (q) ...., S (k) }, increasing by the value of Dr, based on the Markov prediction model can be created The transfer matrix is; From state S (i) The sum of the total probabilities to all other states is always equal to 1, that is, ∑ j p (i,j) =1; Assume that road e ij The state is S (q) And it has changed t times, then a new probability matrix can be constructed as follows: Therefore, through Get from the current state S ( q) the probability of changing to other states; Since different users have different application requirements, different QoS levels need to be defined to meet these requirements; then the QoS requirement of a user is defined as Q i , Q i ∈{S (1) ,S (2) ,...,S (q) ,...,S (k) }; Two probability values can be calculated, and for: in is the probability of the road state being lower than the minimum QoS requirement after t changes, Indicates the opposite meaning; if the transformation matrix is a constant, when t is large enough, will converge to a stable probability matrix; According to the above Markov prediction model system, it can handle the dynamically changing road state. According to the road state of the road section, e can be obtained by the following formula: ij The cost w of ∈E ij : where e ij .dist indicates road e ij Length; s ij (t ij ) indicates the corresponding road segment e ij In t ij Road conditions during the time period: Where [t i ,t j ] indicates that from vertex v i To the vertex v j time period; when s ij A value of 1 indicates that the road status under the current conditions meets the QoS requirements, while a value of 0 indicates that it does not; The state table establishment algorithm described in step 1 is: The state table establishment algorithm realizes the conversion of the original road topology geometry G(V,E,F) into G(V,E,F,S) containing road state change information; the state table S is composed of the initial matrix and the number of transitions T; the value of T is related to the length of the planned path from the starting point to the destination; in actual operation, there are often multiple paths that can be used to reach the destination from the same location; T can be approximated by the maximum number of state changes; and the maximum number of state changes can be approximated by the maximum path length l from the starting point to the destination max To solve: where v u is the user's speed, and δt is the time interval between state changes; therefore, the algorithm process for constructing the state table is as follows: Transfer matrix calculation; Based on the Markov prediction model, the state of each e∈E in G(V,E,F) is repeatedly calculated within the entire number of transitions T; Determine the road status; calculate and solve and And compare the two probabilities to determine whether the state meets the QoS requirements; Simplify the calculation; set a variable flag as a judgment A sign of whether the solution has converged to reduce unnecessary calculations and improve solution efficiency; After the state table construction algorithm, the topological structure graph G(V, E, F) can be converted into a graph structure G(V, E, F, S) containing state change information for related operations of subsequent solutions.
Citation Information
Patent Citations
Parking system path planning method on the basis of improved ant colony algorithm
CN105589461A
Parking AGV route planning method based on improved ant colony algorithm
WO2021189720A1
