A method for transmitting urban rail vehicle services based on node cost and service priority
By adopting an urban rail vehicle service transmission method based on node cost and business priority in urban rail transit, the problem of information transmission failure caused by interference at the central node is solved, low-latency, highly reliable vehicle-to-ground communication is achieved, and the cost is reduced Operation and maintenance costs meet the needs of the next generation urban rail communication network.
Patent Information
- Application Number
- CN202211070934.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the central node of the existing urban rail transit wireless communication network is interfered with or damaged, the train-to-ground information transmission fails, endangering the safety of train operation, and the maintenance cost is high. It cannot meet the high latency, reliability and requirements of the next generation urban rail communication network. Low energy consumption requirements.
Adopting an urban rail vehicle service transmission method based on node cost and business priority, cluster head nodes are selected from the urban rail vehicle ad hoc network through a cluster head election algorithm, and low-latency queuing strategies are implemented to optimize transmission based on business priority to ensure Strict latency requirements for security services, sub-security services and non-security services.
It achieves low-latency and highly reliable communication between trains and ground during train operation, improves train operation safety and efficiency, simplifies the communication network architecture, reduces operation and maintenance costs, and meets the needs of the next generation urban rail communication network.
Smart Images

Figure CN115696263B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of urban rail transit wireless communication, and in particular to an urban rail transit vehicle-mounted service transmission method based on node cost and service priority. Background Art
[0002] With the continuous improvement of my country's urbanization process, the number and density of urban population are increasing, and traffic pressure is also increasing. Traditional road transportation can no longer meet the transportation needs brought about by urbanization. Urban rail transit has become an important means to solve the serious traffic congestion problem in my country, especially in large and medium-sized cities, due to its safety, environmental protection, high speed and large capacity. With the deep integration of new information technologies such as cloud computing, big data, the Internet of Things and blockchain with urban rail transit services, the urban rail transit system will achieve large-scale, all-round and efficient operation control and management, enabling it to further develop in the direction of coordination, networking and intelligence.
[0003] The traditional urban rail transit wireless network is a network with fixed infrastructure. This network transmits information through a central node. The central nodes are interconnected by cables or optical fibers. Each terminal communicates directly with the central node. This network structure relies on base stations for communication. When the base station is interfered with or damaged, it will affect the communication of the network. At present, the Train Autonomous Circumambulate System (TACS) based on vehicle-to-vehicle communication has become an important development direction for the next generation of urban rail transit. Different from the traditional vehicle control method based on ground equipment, TACS is based on intelligent on-board controllers, which will realize autonomous and safe operation control of trains, further improve operational efficiency and reliability, and also put forward high real-time, high bandwidth, and high reliability communication requirements for wireless communication networks such as vehicles and ground. The on-board equipment in TACS occupies a very important position. It carries a variety of communication data services, such as train operation, safety monitoring, train maintenance, etc. These real-time operation control information needs to be transmitted to other trains and trackside systems in a timely manner to meet the monitoring and control of the real-time status of rail trains by the road network. Therefore, how to ensure the communication needs of on-board business equipment is particularly important.
[0004] In recent years, self-organizing networks have developed rapidly as a new type of network communication technology. It is a decentralized network that has been widely used in the fields of vehicle networking, satellite communications, etc. One typical application scenario is the Starlink project. Self-organizing networks support dynamic addition and deletion of devices, have disaster recovery and self-healing functions, and support adaptive selection of the optimal communication path. These functions meet the needs of the next generation of urban rail wireless communication networks. Therefore, self-organizing networks can be used to overcome the problems of traditional urban rail communication systems. In addition, due to the decentralized characteristics of self-organizing networks, they can well support network dynamic clustering management, thereby improving the robustness and scalability of the network.
[0005] At present, the clustering strategies based on train onboard ad hoc networks in the existing technology include: aiming at the shortcomings of the classic clustering protocol LEACH (Low Energy Adaptive Clustering Hierarchy), improvements have been made in the cluster head election stage and the data transmission stage to reduce its latency and energy consumption; there is also a solution that proposes a non-uniform clustering algorithm based on dual cluster heads in the wireless sensor network (WSN), which effectively prolongs the network survival time and improves the network "hot spot" problem through the division of labor and cooperation between the main and secondary cluster heads. There is also a solution that proposes a distributed clustering routing mechanism based on the characteristics of dynamic topology changes in the vehicular ad-hoc network (VANET), which achieves the effect of improving message transmission efficiency and reducing latency; there is also a solution that proposes a clustering method based on cluster stability in the vehicle network scenario, which can overcome the topological changes caused by vehicle movement and make clustering more stable; Luo et al. take the location information of the vehicle into consideration and divide the geographical location into grids for clustering. Most of the above studies are based on fixed WSN networks or VANET networks between mobile vehicles, but there are few studies in the field of urban rail. There is also a scheme based on the WSN network to propose a clustering algorithm for maximizing the survival time of the high-speed railway network, but it mainly focuses on the energy consumption of the network, but not the communication delay and reliability of the network; there is also a scheme that proposes a chain clustering algorithm based on the WSN network in the urban rail scenario, but it is only used for monitoring key equipment in the car, and is not used to improve the communication effect of on-board services; there is also a scheme that tests multiple clustering networking schemes in subway cars to find the scheme with the highest communication reliability, but it does not conduct research on delay.
[0006] The disadvantages of the clustering strategy based on the train-mounted self-organizing network of the above-mentioned prior art include: the current rail transit wireless communication network is a network with a fixed central node, and each terminal device communicates directly with the central node. Typical applications include WLAN, LTE-M, etc. Under this network architecture, the central node is the hub of the vehicle-ground wireless communication network. The communication between the trackside equipment and the train must be forwarded through the central node, and the adjacent central nodes exchange data through the core network. Therefore, when the central node is interfered with or damaged, the information transmission between the vehicle and the ground will not be able to proceed normally, which will cause problems such as emergency braking, delays, and suspension of train operations, endangering the safety of train operation and failing to meet the needs of the next generation of urban rail communication networks. In addition, the existence of the central node will also increase the deployment and maintenance costs of the trackside equipment and the core network. Summary of the invention
[0007] The present invention provides an urban rail vehicle-mounted service transmission method based on node cost and service priority to ensure low-delay and high-reliability communication between the vehicle and the ground during train operation.
[0008] In order to achieve the above object, the present invention adopts the following technical scheme.
[0009] A method for transmitting urban rail vehicle-mounted services based on node cost and service priority, comprising:
[0010] The urban rail vehicle services are prioritized according to the requirements for latency, and the cluster head node is selected from each cluster in the urban rail vehicle ad hoc network according to the cluster head election algorithm based on the cost function;
[0011] The cluster head node distinguishes the priorities of the services arriving at the cluster head, and optimizes the transmission of services of different priorities according to a low-delay queuing strategy based on the service priority.
[0012] Preferably, the prioritizing of urban rail vehicle-borne services according to latency requirements includes: classifying urban rail vehicle-borne service nodes into three categories from high to low according to the service requirements for latency and reliability: strictly safety services, sub-safety services, and non-safety services.
[0013] Preferably, the step of selecting a cluster head node from each cluster in the urban rail vehicle-mounted ad hoc network according to a cluster head election algorithm based on a cost function includes:
[0014] The distance factors of the cluster member node to the convergence node of the train carriage and the distance to the center node of the cluster are combined according to a certain cost factor, and the cost value of each cluster member node is calculated. The node with the minimum cost value becomes the cluster head.
[0015] The calculation method of the cost value C(i) of the cluster member node is as follows:
[0016]
[0017]
[0018]
[0019]
[0020] Where (x i ,y i ,z i ) represents the coordinates of the ith business node, (x s ,y s ,z s ) represents the coordinates of the sink node, C(i) is the cost value, dis(i) is the distance from the ith service node to the sink node, cen(i) is the degree of aggregation between the ith service node and other nodes in the cluster, and both dis(i) and cen(i) are as small as possible, k1 and k2 are weight factors, and k1+k2=1loss_rate represents the packet loss rate, which refers to the ratio of the number of packets arriving at the cluster head in a period when the current cluster head node serves as the cluster head to the total number of packets sent, c threshold Represents the set packet loss rate threshold;
[0021] After the network runs for a period T, determine whether the current loss_rate is lower than c threshold , if loss_rate≤c threshold , then continue to keep the current cluster head as the cluster head for the next round; if loss_rate ≥ c threshold , then the current cluster head is restored to a normal node and marked as an unselectable node, and then the cluster head is re-elected from all the remaining nodes except this node.
[0022] Preferably, the cluster head node distinguishes the priorities of services arriving at the cluster head, and optimizes the transmission of services of different priorities according to a low-delay queuing strategy based on service priority, including:
[0023] In the low-latency queuing strategy based on service priority, the vehicle services are arranged in descending order of service priority: strictly safety services, sub-safety services, and non-safety services. When a service of a certain priority reaches the receiving router, it will wait for the currently being processed service and the service with a higher priority than itself to be completed before it can be served.
[0024] Define the basic parameters of the queuing system:
[0025] 1) Arrival rate λ: refers to the average number of data packets arriving at the queuing system per unit time;
[0026] 2) Service rate μ: refers to the number of data packets that a router can process per unit time, then the queue intensity ρ = λ / μ, let L Q is the average queue length; W Q is the average queuing time; W S is the total average waiting time in the queue; W B is the average time required to serve a data packet, satisfying W B =1 / μ; R is the average remaining service time of the data packet being served when the current data packet arrives, satisfying R=W B / 2, we get the following relationship:
[0027]
[0028]
[0029]
[0030] When considering service priority, the average queuing time W of service with priority i is Q (i) It consists of three parts:
[0031] 1) The remaining service time of the business being served upon arrival;
[0032] 2) The waiting time of services with higher priority than itself in the queue;
[0033] 3) The waiting time of new services with higher priority than the service itself during the waiting process;
[0034] W S The calculation formula of (i) is as follows:
[0035]
[0036] When priority scheduling is used, the end-to-end delay of the service with priority i is:
[0037] T avg =W S (i) in +nW S (i) out +t trans (i) (9)
[0038] Where W S (i) in is the intra-cluster queuing delay, calculated using formula (7); W S (i) out is the out-of-cluster queuing delay, calculated by equation (8); n is the number of hops from the cluster head to the terminal; t trans (i) is the total propagation delay.
[0039] It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the present invention utilizes the method of dividing service priorities and clustering self-organizing networks, which can, on the one hand, ensure low-latency and high-reliability communication between the train and the ground during train operation, improve the running safety and operation efficiency of the train, and meet the requirements of the next generation of urban rail communication networks; on the other hand, without the need for ground infrastructure, the communication networking architecture can be simplified and the operation and maintenance costs can be reduced.
[0040] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0042] Figure 1 A schematic diagram of an in-car network architecture provided by an embodiment of the present invention;
[0043] Figure 2 A vehicle-ground network architecture provided by an embodiment of the present invention;
[0044] Figure 3 A clustering process of service nodes and cluster head nodes is provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0046] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.
[0047] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.
[0048] To facilitate understanding of the embodiments of the present invention, several specific embodiments will be further explained below with reference to the accompanying drawings, and each embodiment does not constitute a limitation on the embodiments of the present invention.
[0049] As a decentralized network, the ad hoc network supports direct communication between vehicles and ground, and between trackside equipment and trackside equipment, greatly reducing the delay required for forwarding through the central node. In addition, due to the streamlining of trackside infrastructure, such as LTE (LongTerm Evolution) base stations, the equipment deployment and maintenance costs of the communication network have also been reduced. In addition, the nodes in the ad hoc network have the same status, and different nodes can assist each other in completing data transmission, which makes the network more resistant to destruction.
[0050] The network architecture of self-organizing networks can be roughly divided into two categories: flat networks and hierarchical networks. The hierarchical network structure is also called a clustered structure, which consists of multiple clusters, each of which contains a cluster head node and multiple cluster member nodes. In this topology, the entire network is divided into two levels. The collection of cluster head nodes constitutes the upper network, and the cluster member nodes belonging to each cluster constitute the lower network. The upper network is responsible for managing the nodes of the lower network and forwarding the data of the lower network. The hierarchical management makes the network manageable, robust and reliable. Therefore, the clustered self-organizing network can be selected as the communication network for urban rail transit.
[0051] In the method proposed by the present invention, each train compartment is a self-organizing network, and the devices in the network include: service nodes, cluster head nodes, aggregation nodes and wireless terminals. Figure 1 As shown in Figure 2, the train and trackside network topology is as follows: Figure 2 The functions and working modes of each device are as follows:
[0052] (1) Business Node
[0053] The service node carries different services for vehicle-to-vehicle and vehicle-to-ground communications. Generally, it can be divided into safety services and non-safety services, among which safety services have higher requirements for latency, while non-safety services have lower requirements for latency. The present invention divides the vehicle-mounted service nodes into three categories according to the service requirements for latency and reliability from high to low: strict safety services, sub-safety services, and non-safety services, as shown in Table 1. In order to facilitate the management of various types of service nodes, all service nodes in the same car are divided into three clusters according to the service type, namely: strict safety services, sub-safety services, and non-safety services.
[0054] Table 1: Business type classification
[0055]
[0056] (2) Cluster head node
[0057] The cluster head node is responsible for the service data fusion forwarding of the service nodes in the cluster and the management of cluster members, and selects the cluster head node from each cluster through the cluster head election algorithm. The algorithm for cluster head election of the present invention is an algorithm based on the cost function, which comprehensively considers the factors affecting the delay and packet loss rate, so that the node that becomes the cluster head can more effectively reduce the end-to-end delay compared with other nodes, while ensuring the stability of the packet loss rate. In addition, the present invention also sets a low-delay queuing strategy based on service priority for the cluster head node, which distinguishes the service priority arriving at the cluster head, so that high-priority services are sent first, which can effectively reduce the delay of high-priority services.
[0058] (3) Aggregation Node
[0059] The aggregation node is located at the top center of each car. It is the superior node of the cluster head node. Its main function is to receive data from the cluster head and the aggregation nodes of other cars, and forward the data to the wireless terminal after fusion. In addition, the aggregation node is also responsible for issuing the schedule within the cluster and between clusters in the car. Each node works in TDMA (Time Division Multiple Access) mode according to the schedule to avoid resource collision and network congestion. The aggregation node also implements a low-latency queuing strategy based on service priority for services of different priorities.
[0060] (4) Wireless Terminal
[0061] The wireless terminals are located at the front and rear of the train, and are used to aggregate the service data sent from the train and forward the service data to the trackside system. When the convergence node in the train needs to send data to the trackside system, it will first determine the distance between itself and the wireless terminals at the front and rear of the train, and select the nearest wireless terminal for data transmission, thereby achieving the effect of reducing propagation delay and transmission diversity. The wireless terminal, cluster head node and convergence node implement the same transmission strategy for services of different priorities.
[0062] The specific principle of the clustering algorithm designed by the present invention is introduced below. The algorithm includes two parts, namely, a cluster head election algorithm based on cost function and a low-delay queuing strategy based on service priority.
[0063] (1) Cluster head election algorithm based on cost function: This algorithm comprehensively considers two factors: distance and packet loss rate. The distance is divided into two types: one is the distance from the cluster member node to the aggregation node of the current car, and the other is the distance from the cluster member node to the central node of the cluster. The packet loss rate refers to the average packet loss rate from the cluster member nodes in the cluster to the cluster head within the period T when the current cluster head node serves as the cluster head. The two distance factors are combined according to a certain cost factor to calculate the cost value of each cluster member node. The node with the minimum cost value becomes the cluster head. Every fixed period T, the current cluster head is dynamically adjusted according to the packet loss rate factor. The specific calculation method is shown in the following formula:
[0064]
[0065]
[0066]
[0067]
[0068] Where (x i ,y i ,z i ) represents the coordinates of the ith business node, (x s ,y s ,z s ) represents the coordinates of the sink node. C(i) is the cost value, dis(i) is the distance from the ith service node to the sink node, cen(i) is the degree of aggregation between the ith service node and other nodes in the cluster, and both dis(i) and cen(i) are as small as possible, k1 and k2 are weight factors, and k1+k2=1 is satisfied. loss_rate represents the packet loss rate, which is calculated by the ratio of the number of packets arriving at the cluster head in a cycle to the total number of packets sent, c thresholdRepresents the set packet loss rate threshold. After the network runs for a cycle, it is determined whether the current loss_rate is lower than c threshold , if loss_rate≤c threshold , then continue to keep the current cluster head as the cluster head for the next round; if loss_rate ≥ c threshold , then the current cluster head is restored to a normal node and marked as an unselectable node. Then the cluster head is re-elected from all the remaining nodes except this node, so as to ensure the communication reliability requirements of the urban rail vehicle communication service.
[0069] (2) Low-latency queuing strategy based on service priority: The end-to-end delay of the urban rail vehicle communication network is an important indicator for evaluating the performance of urban rail communication. It is mainly divided into transmission delay, propagation delay, queuing delay and processing delay. The transmission delay and processing delay are related to the channel capacity and the processing power of the router, and the propagation delay is related to the end-to-end distance. In addition to being affected by the channel capacity and the processing power of the router, the queuing delay is also affected by factors such as the degree of network congestion. When there are many types of services and large traffic in the network, the queuing delay will greatly affect the communication performance of delay-sensitive services. Therefore, it is necessary to study corresponding queuing strategies based on the delay requirements of different services.
[0070] Assuming that the length of each service data packet is the same and the router processing capacity is the same, the present invention uses the M / G / 1 model to propose a low-latency queuing strategy based on service priority. In this queuing strategy, vehicle services are divided into: strictly safe services, sub-safe services and non-safe services. The more sensitive to delay, the higher the priority of the service. When a service of a certain priority reaches the receiving router, it will wait for the service currently being processed and the service with a higher priority than itself to be completed, and then immediately obtain the service. This is a non-preemptive queuing strategy.
[0071] First, the basic parameters of the queuing system are defined:
[0072] 1) Arrival rate λ: refers to the average number of data packets arriving at the queuing system per unit time;
[0073] 2) Service rate μ: refers to the number of data packets that a router can process per unit time, then the queue intensity ρ = λ / μ. In addition, let L Q is the average queue length; W Q is the average queuing time; W S is the total average waiting time in the queue; W B is the average time required to serve a data packet, satisfying W B =1 / μ; R is the average remaining service time of the data packet being served when the current data packet arrives, satisfying R=W B / 2. Then the Pollaczek-Khintchine formula and Little's theorem give the following relationship:
[0074]
[0075]
[0076]
[0077] When considering service priority, the average queuing time W of service with priority i is Q (i) It consists of three parts:
[0078] 1) The remaining service time of the business being served upon arrival;
[0079] 2) The waiting time of services with higher priority than itself in the queue;
[0080] 3) The waiting time of new services with higher priority than itself during the waiting process. S (i) Satisfy:
[0081]
[0082] Therefore, when priority scheduling is used, the end-to-end delay of the service with priority i is:
[0083] T avg =W S (i) in +nW S (i) out +t trans (i) (9)
[0084] Where W S (i) in is the queuing delay within the cluster. Since this algorithm is clustered by service type, there is no priority division within the cluster. Therefore, W S (i) in It can be calculated by formula (7); W S (i) out is the out-of-cluster queuing delay, calculated by equation (8); n is the number of hops from the cluster head to the terminal; t trans (i) is the total propagation delay.
[0085] The following provides a method for implementing a clustering method for urban rail onboard ad hoc networks based on node cost and service priority. Figure 3 As shown in FIG. 1 , the specific workflow of the service node and the cluster head node, which occupy an important position in the cluster routing method based on the urban rail vehicle service priority, includes the following steps:
[0086] Step 1: Initialization phase: Initialize the network and set a timer and clear it. At this time, all service nodes do not belong to any cluster.
[0087] Step 2: Flooding stage: All service nodes in the network broadcast data packets by flooding, which contain their own service type, geographical location, IP address and other information, until each service node knows the information of all other nodes;
[0088] Step 3: Clustering stage: The service node forms a cluster with nodes of the same service type according to its own service type, calculates its own cost value according to formula (1), and broadcasts it in the cluster;
[0089] Step 4: Cluster head election phase: Each node in the cluster determines its own cost value and the cost value received from other nodes. If its own cost value is the smallest, it broadcasts the information that it has been elected as the cluster head within and between clusters, and sends the schedule of the cluster. The nodes in the cluster work in TDMA mode according to the schedule;
[0090] Step 5: Network working phase: The service node and cluster head start working according to the schedule, sending the service data in the order of service node-cluster head-aggregation node-wireless terminal-trackside system, and starting the timer at the same time. In this process, the cluster head, aggregation node and wireless terminal all forward according to the service priority;
[0091] Step 6: When the timer reaches the preset time, execute backward from the cluster head election phase.
[0092] In summary, the embodiment of the present invention adopts a cluster networking method. The aggregation node is responsible for managing each cluster head, and the cluster head is responsible for managing the nodes in the cluster. The nodes in the cluster only need to maintain the routing table between themselves and other nodes in the cluster, and do not need to know the node information of other clusters, which greatly reduces the network overhead. In addition, when a lower-level node joins or exits, only the corresponding upper-level node needs to update the routing table and perform cluster maintenance. It has the advantages of convenient management and strong scalability, which is very important for the on-board urban rail network with frequent passengers entering and leaving.
[0093] The embodiment of the present invention adopts a cost function to elect cluster heads. The cost function comprehensively considers the distance and packet loss rate to measure the ability of each node to become a cluster head, uses the distance factor to constrain the delay requirement, and uses the packet loss rate factor to constrain the reliability requirement. In addition, the network re-elects the cluster head every certain period of operation, and can replace the cluster head that does not meet the communication requirements in time, ensuring the safe and efficient transmission of business data.
[0094] The embodiment of the present invention adopts a queue optimization method based on service priority. The present invention divides the vehicle-mounted services into three categories according to service requirements, and through the design of the queue delay algorithm, the high-priority service is always sent earlier than the low-priority service, effectively ensuring the delay requirement of the high-priority service.
[0095] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0096] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.
[0097] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0098] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for transmitting urban rail vehicle-mounted services based on node cost and service priority, characterized in that: include: The urban rail vehicle services are prioritized according to the requirements for latency, and the cluster head node is selected from each cluster in the urban rail vehicle ad hoc network according to the cluster head election algorithm based on the cost function; The cluster head node distinguishes the priorities of services arriving at the cluster head, and optimizes the transmission of services of different priorities according to a low-delay queuing strategy based on service priority; The method of selecting a cluster head node from each cluster in the urban rail vehicle-mounted ad hoc network according to the cluster head election algorithm based on the cost function includes: The distance factors of the cluster member node to the convergence node of the train carriage and the distance to the center node of the cluster are combined according to a certain cost factor, and the cost value of each cluster member node is calculated. The node with the minimum cost value becomes the cluster head. The calculation method of the cost value C(i) of the cluster member node is as follows: Where (x i ,y i ,z i ) represents the coordinates of the ith business node, (x s ,y s ,z s ) represents the coordinates of the sink node, C(i) is the cost value, dis(i) is the distance from the ith service node to the sink node, cen(i) is the degree of aggregation between the ith service node and other nodes in the cluster, and both dis(i) and cen(i) are as small as possible, k1 and k2 are weight factors, and k1+k2=1 is satisfied, loss_rate represents the packet loss rate, which refers to the ratio of the number of packets arriving at the cluster head in a period when the current cluster head node serves as the cluster head to the total number of packets sent, c threshold Represents the set packet loss rate threshold; After the network runs for a period T, determine whether the current loss_rate is lower than c threshold , if loss_rate≤c threshold , then continue to keep the current cluster head as the cluster head for the next round; if loss_rate>c threshold , then restore the current cluster head to a normal node and mark it as an unselectable node, and then re-elect the cluster head from all the remaining nodes except this node; The cluster head node distinguishes the priorities of the services arriving at the cluster head, and optimizes the transmission of services of different priorities according to a low-delay queuing strategy based on service priorities, including: In the low-latency queuing strategy based on service priority, the vehicle services are arranged in descending order of service priority: strictly safety services, sub-safety services, and non-safety services. When a service of a certain priority reaches the receiving router, it will wait for the currently being processed service and the service with a higher priority than itself to be completed before it can be served. Define the basic parameters of the queuing system: 1) Arrival rate λ: refers to the average number of data packets arriving at the queuing system per unit time; 2) Service rate μ: refers to the number of data packets that a router can process per unit time, then the queue intensity ρ = λ / μ, let L Q is the average queue length; W Q is the average queuing time; W S is the total average waiting time in the queue; W B is the average time required to serve a data packet, satisfying W B =1 / μ; R is the average remaining service time of the data packet being served when the current data packet arrives, satisfying R=W B / 2, we get the following relationship: When considering service priority, the average queuing time W of service with priority i is Q (i) It consists of three parts: 1) The remaining service time of the business being served upon arrival; 2) The waiting time of services with higher priority than itself in the queue; 3) The waiting time of new services with higher priority than the service itself during the waiting process; W S The calculation formula of (i) is as follows: When priority scheduling is used, the end-to-end delay of the service with priority i is: T avg =In S (and) in +nW S (and) out +t trans (and) (9) Where W S (i) in is the intra-cluster queuing delay, calculated using formula (7); W S (i) out is the out-of-cluster queuing delay, calculated by equation (8); n is the number of hops from the cluster head to the terminal; t trans (i) is the total propagation delay.
2. The method according to claim 1, characterized in that The prioritization of urban rail vehicle-borne services according to the requirements for delay includes: classifying urban rail vehicle-borne service nodes into three categories from high to low according to the service requirements for delay and reliability: strictly safety services, sub-safety services and non-safety services.
Citation Information
Patent Citations
Vehicle road information interaction method, device and system
WO2016127895A1
Fuzzy c-means-based adaptive energy consumption optimization vehicle clustering method
WO2021237996A1
