CN114745699B - Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium - Google Patents

Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium Download PDF

Info

Publication number
CN114745699B
CN114745699B CN202210661399.2A CN202210661399A CN114745699B CN 114745699 B CN114745699 B CN 114745699B CN 202210661399 A CN202210661399 A CN 202210661399A CN 114745699 B CN114745699 B CN 114745699B
Authority
CN
China
Prior art keywords
communication
service data
vehicles
vehicle
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210661399.2A
Other languages
Chinese (zh)
Other versions
CN114745699A (en
Inventor
戚建淮
周杰
杜玲禧
宋晶
张莉
刁润
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Ether Node Technology Co ltd
Original Assignee
Chengdu Ether Node Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Ether Node Technology Co ltd filed Critical Chengdu Ether Node Technology Co ltd
Priority to CN202210661399.2A priority Critical patent/CN114745699B/en
Publication of CN114745699A publication Critical patent/CN114745699A/en
Application granted granted Critical
Publication of CN114745699B publication Critical patent/CN114745699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/46Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for vehicle-to-vehicle communication [V2V]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a vehicle-to-vehicle communication mode selection method, a system and a storage medium based on a neural network, wherein the method comprises the following steps: acquiring the positions and speeds of the two vehicles, and calculating the actual distance between the two vehicles; determining the waiting communication time length and the communication maintaining time length of the two vehicles based on the speed of the two vehicles, the actual distance and the communication distance threshold; acquiring the transmission completion time length of the transmission service data packet; comparing the waiting communication time length, the communication maintaining time length and the transmission completing time length, and selecting a communication mode of two vehicles among direct communication, relay communication and direct communication of the two vehicles after the actual distance of the two vehicles reaches a communication distance threshold according to a comparison result; taking the positions and the speeds of two vehicles in historical data, the service data types of service data packets, the service data quantity, the service data size and the service data transmission rate as input, taking a corresponding two-vehicle communication mode as output, and carrying out neural network training to obtain a vehicle-vehicle communication mode selection model; a vehicle-to-vehicle communication mode is subsequently determined based on the selection model.

Description

Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium
Technical Field
The invention relates to the field of vehicle-to-vehicle communication, in particular to a vehicle-to-vehicle communication mode selection method, a system and a storage medium based on a neural network.
Background
A Communication Based Train operation Control (CBTC) System is widely used in the world, and has a main function of transmitting information between a Train and the ground through wireless Communication, and after Train data is collected and processed by the ground, the data is distributed to each Train. However, the train-ground-train communication involves too many subsystems and interfaces, so that the equipment structure is complex and the information transmission has large delay, which affects the efficiency and safety of train operation. In order to improve Train operation efficiency and safety, Train-to-Train communication (T2T) technology has been developed and applied to Train operation control systems, which perform direct Train-to-Train communication to reduce the circulation of data in trackside equipment. Despite the many advantages of direct vehicle-to-vehicle communication, trackside equipment in the system is still necessary. Under the condition that vehicle-to-vehicle direct communication and vehicle-ground-vehicle communication coexist, how to select a proper communication mode according to different train running conditions is very important for reducing the time delay of data transmission and ensuring the integrity of the data transmission.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides a method, a system and a storage medium for selecting a vehicle-to-vehicle communication mode based on a neural network.
In a first aspect, the present invention provides a vehicle-to-vehicle communication mode selection method based on a neural network, the method comprising the steps of:
s1, acquiring the position and speed of two vehicles running in the same direction
Figure 197446DEST_PATH_IMAGE001
And
Figure 113318DEST_PATH_IMAGE002
calculating the actual distance between two vehicles
Figure 598657DEST_PATH_IMAGE003
S2, determining the communication waiting time when the actual distance of the two vehicles reaches the communication distance threshold based on the speed, the actual distance and the communication distance threshold L of the two vehicles
Figure 893372DEST_PATH_IMAGE004
And communication maintenance duration
Figure 320811DEST_PATH_IMAGE005
S3, obtaining the transmission completion time length needed by the service data packet to be transmitted
Figure 209133DEST_PATH_IMAGE006
S4, comparing the communication maintaining time of the two vehicles with the transmission completing time required by the service data packet, if yes
Figure 622797DEST_PATH_IMAGE007
Then the two vehicles relay communication, if
Figure 887863DEST_PATH_IMAGE008
Go to S5;
s5, comparing the waiting communication time of the two vehicles with the transmission completion time required by the service data packet, if yes
Figure 236936DEST_PATH_IMAGE009
If the actual distance between the two vehicles reaches the communication distance threshold, the two vehicles directly communicate; if it is used
Figure 471608DEST_PATH_IMAGE010
If yes, the two vehicles carry out relay communication;
s6, taking the positions and speeds of two vehicles in the vehicle-vehicle communication historical data, the service data types, the service data quantity, the service data size and the service data transmission rate of the service data packets as input, and taking the corresponding two-vehicle communication mode determined based on the steps S1 to S5 as output to carry out neural network training to obtain a vehicle-vehicle communication mode selection model;
and S7, determining a vehicle-to-vehicle communication mode based on the selection model in the subsequent train operation.
Preferably, the method for determining the waiting communication duration and the communication maintaining duration in step S2 includes:
comparing the speeds of the two vehicles, and comparing the actual distance between the two vehicles with the communication distance threshold;
when the rear vehicle speed is higher than the front vehicle speed, if
Figure 548017DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure 692691DEST_PATH_IMAGE012
Duration of communication maintenance
Figure 71720DEST_PATH_IMAGE013
(ii) a If it is not
Figure 918322DEST_PATH_IMAGE014
If the two vehicles wait for the communication time
Figure 673788DEST_PATH_IMAGE015
Duration of communication maintenance
Figure 672968DEST_PATH_IMAGE016
When the rear vehicle speed is equal to the front vehicle speed, if
Figure 613111DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure 822376DEST_PATH_IMAGE012
Duration of communication maintenance
Figure 991320DEST_PATH_IMAGE017
(ii) a If it is not
Figure 97204DEST_PATH_IMAGE014
If the two vehicles wait for the communication time
Figure 349193DEST_PATH_IMAGE018
Duration of communication maintenance
Figure 655541DEST_PATH_IMAGE019
When the rear vehicle speed is lower than the front vehicle speed, if
Figure 752810DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure 710271DEST_PATH_IMAGE012
Duration of communication maintenance
Figure 742949DEST_PATH_IMAGE020
(ii) a If it is not
Figure 926805DEST_PATH_IMAGE014
If so, the waiting time of the two vehicles
Figure 686820DEST_PATH_IMAGE018
Duration of communication maintenance
Figure 374153DEST_PATH_IMAGE019
Preferably, the transmission completion duration in step S3 includes a data transmission duration
Figure 843312DEST_PATH_IMAGE021
And establishing a communication delay
Figure 107940DEST_PATH_IMAGE022
Preferably, the data transmission duration is determined based on the service data type, the service data quantity, the service data size and the service data transmission rate of the service data packet, and the service data transmission rate is related to the service data type.
Preferably, the data transmission duration
Figure 78170DEST_PATH_IMAGE023
Wherein
Figure 495376DEST_PATH_IMAGE024
Represents the service data type of the service data packet, j belongs to (1, 2.... multidata., M), M represents the number of the service data types,
Figure 994490DEST_PATH_IMAGE025
indicating the corresponding service data type
Figure 14923DEST_PATH_IMAGE024
The traffic data transmission rate, N denotes the traffic data amount of the traffic data packet,
Figure 867473DEST_PATH_IMAGE026
indicating the size of the ith service data in the service data packet.
In a second aspect, the present invention provides a vehicle-to-vehicle communication mode selection system, the system comprising:
the historical parameter module is used for acquiring the positions and the speeds of two vehicles running in the same direction in the vehicle-vehicle communication historical data, the service data type of a service data packet, the quantity of service data, the size of the service data and the transmission rate of the service data; the method comprises the steps of obtaining a communication distance threshold and establishing communication time delay;
the calculation module is used for calculating the communication waiting time and the communication maintaining time when the actual distance between the two vehicles reaches the communication distance threshold based on the positions and the speeds of the two vehicles in historical data and the communication distance threshold, and is used for calculating the transmission completing time required by the service data packet to be transmitted based on the service data type, the service data quantity, the service data size, the service data transmission rate and the communication time delay; a communication mode for determining the two vehicles based on the waiting communication time length, the communication maintaining time length and the transmission completion time length;
the neural network module is used for taking the positions and the speeds of two vehicles in the vehicle-vehicle communication historical data, the service data types of the service data packets, the service data quantity, the service data size and the service data transmission rate as inputs, taking the corresponding two-vehicle communication mode calculated by the calculation module as an output, and performing neural network training to obtain a vehicle-vehicle communication mode selection model;
the real-time parameter module is used for acquiring the positions and the speeds of two vehicles running in the same direction, the service data type of a service data packet, the service data quantity, the service data size and the service data transmission rate, and is used for acquiring a communication distance threshold and establishing communication time delay;
and the selection module is used for determining whether the communication behaviors of the two vehicles are direct communication, relay communication or waiting direct communication through a selection model established by the neural network module based on the positions and the speeds of the two vehicles running in the same direction, the service data type of a service data packet, the service data quantity, the service data size and the service data transmission rate.
In a third aspect, the present invention provides a storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are loaded and executed by a processor, the method for selecting a vehicle-to-vehicle communication mode based on a neural network is implemented.
In conclusion, the invention has the following beneficial effects: calculating the transmission completion time length required for completing transmission of the service data packet under the comprehensive optimal conditions of the transmission rate, the channel bandwidth occupation and the power consumption of the communication equipment according to the service data type, the service data quantity, the service data size and the service data transmission rate of the service data packet; calculating the waiting communication time length and the communication maintaining time length of the train workshop according to the position and the speed of the train; selecting a proper communication mode between two vehicles running in the same direction by comparing the transmission completion time length determined by the service data packet information, the communication waiting time length determined by the train position and speed information and the communication maintaining time length; and neural network training is carried out on the basis of the service data packet information, the train position and speed information and the corresponding train-to-vehicle communication mode to construct a selection model of the train-to-vehicle communication mode, so that the communication mode can be determined rapidly in the following process, and the method is favorable for reasonably reducing the time delay of various data transmission under different driving conditions of the train and ensuring the integrity of the data transmission.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of steps S1-S5 according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a neural network training model according to an embodiment of the present invention.
Detailed Description
In order to make the purpose, technical solution and advantages disclosed in the embodiments of the present invention more clearly understood, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and do not delimit the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. Examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
A large amount of data of a train is transmitted in sequence by being divided into a plurality of data packets, one data packet can be regarded as the minimum data amount to be transmitted by the train, and retransmission is carried out by taking a single data packet with a problem as a unit when the data transmission is in a problem. Except for the outbound condition and the inbound condition, the running condition of the trains at the rest time can be regarded as the constant-speed running in a district, and for two trains running in the same direction, the time capable of directly communicating between the trains is determined by the train distance and the running condition of the trains. If the direct communication time of two trains is not enough to complete the transmission of a single data packet of data to be transmitted, the selection of vehicle-to-vehicle direct communication can cause the transmission of the data packet to fail, and the delay of retransmission through other modes such as vehicle-to-ground-vehicle communication can adversely affect the train operation efficiency and safety. Therefore, under the condition that the direct communication between the train and the ground-train relay communication coexist, the train operation efficiency and the train operation safety can be effectively improved by selecting a proper communication mode according to different train running conditions.
Therefore, the embodiment of the application provides a neural network-based vehicle-to-vehicle communication mode selection method suitable for the same-direction driving condition, and the method comprises the following steps:
as shown in FIG. 1, in step S1, the positions of the two vehicles traveling in the same direction are acquired,
Figure 794978DEST_PATH_IMAGE001
And
Figure 589627DEST_PATH_IMAGE002
calculating the actual distance between two vehicles
Figure 845159DEST_PATH_IMAGE003
In some embodiments of the present application, the two train positions are represented by coordinates
Figure 626033DEST_PATH_IMAGE027
And
Figure 267099DEST_PATH_IMAGE028
the front-rear relation of the two vehicles and the actual distance between the two vehicles can be clearly shown by the coordinates of the two vehicles
Figure 373595DEST_PATH_IMAGE029
Step S2, determining the communication waiting time when the actual distance of the two vehicles reaches the communication distance threshold based on the speed, the actual distance and the communication distance threshold L of the two vehicles
Figure 850844DEST_PATH_IMAGE004
And communication maintenance duration
Figure 825622DEST_PATH_IMAGE005
In some embodiments of the present application, the method for determining the waiting communication duration and the communication maintaining duration in step S2 includes:
comparing the speeds of the two vehicles, and comparing the actual distance between the two vehicles with the communication distance threshold;
when the rear vehicle speed is higher than the front vehicle speed, if
Figure 196561DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure 83745DEST_PATH_IMAGE012
Duration of communication maintenance
Figure 172924DEST_PATH_IMAGE013
(ii) a If it is used
Figure 688744DEST_PATH_IMAGE014
If so, the waiting time of the two vehicles
Figure 55134DEST_PATH_IMAGE015
Duration of communication maintenance
Figure 237854DEST_PATH_IMAGE016
When the rear vehicle speed is equal to the front vehicle speed, if
Figure 204542DEST_PATH_IMAGE011
Then twoVehicle waiting communication duration
Figure 130909DEST_PATH_IMAGE012
Duration of communication maintenance
Figure 351806DEST_PATH_IMAGE017
(ii) a If it is not
Figure 95640DEST_PATH_IMAGE014
If so, the waiting time of the two vehicles
Figure 893832DEST_PATH_IMAGE018
Duration of communication maintenance
Figure 499257DEST_PATH_IMAGE019
When the rear vehicle speed is less than the front vehicle speed, if
Figure 89507DEST_PATH_IMAGE011
If the two vehicles wait for the communication time
Figure 879608DEST_PATH_IMAGE012
Duration of communication maintenance
Figure 774883DEST_PATH_IMAGE020
(ii) a If it is not
Figure 574212DEST_PATH_IMAGE014
If so, the waiting time of the two vehicles
Figure 768038DEST_PATH_IMAGE018
Duration of communication maintenance
Figure 604407DEST_PATH_IMAGE019
Step S3, obtaining the transmission completion time length required by the service data packet to be transmitted
Figure 377191DEST_PATH_IMAGE006
In this applicationIn some embodiments, the transmission completion duration in step S3 includes a data transmission duration
Figure 573686DEST_PATH_IMAGE021
And establishing a communication delay
Figure 748315DEST_PATH_IMAGE022
Is represented as
Figure 21165DEST_PATH_IMAGE030
The transmission rate affects the occupation of the channel bandwidth of the device, the power consumption and the like, and for data of types such as text, numerical values and the like, if the highest transmission rate is adopted for transmission, the sacrifice of the occupation of the channel bandwidth of the device and the power consumption is larger compared with the weak reduction of the transmission time, while for data of types such as video, pictures and the like, the sacrifice of the occupation of the channel bandwidth of the device and the power consumption for obviously shortening the transmission time is acceptable if the highest transmission rate is adopted for transmission. When different types of service data are transmitted, different transmission rates are adopted, so that the transmission rate, the occupation of the channel bandwidth of the equipment and the power consumption can be comprehensively optimal. Therefore, in some embodiments of the present application, the data transmission duration is determined based on the service data type of the service data packet, the amount of the service data, the size of the service data, and a service data transmission rate of a preset limit, where the service data transmission rate is related to the service data type.
In some embodiments of the present application, the data transmission duration
Figure 140299DEST_PATH_IMAGE023
Wherein
Figure 15851DEST_PATH_IMAGE024
Represents the service data type of the service data packet, j belongs to (1, 2.... multidata., M), M represents the number of the service data types,
Figure 185933DEST_PATH_IMAGE025
indicating the corresponding service data type
Figure 613372DEST_PATH_IMAGE024
The traffic data transmission rate, N denotes the traffic data amount of the traffic data packet,
Figure 360748DEST_PATH_IMAGE026
indicating the size of the ith service data in the service data packet.
Step S4, comparing the communication maintaining time of the two vehicles with the transmission completing time required by the service data packet, if yes
Figure 649778DEST_PATH_IMAGE007
And if the direct communication time of the two vehicles is not enough to finish the transmission of the service data packet, the two vehicles adopt relay communication, namely, the two vehicles communicate through ground trackside equipment, so as to avoid the transmission failure and then the relay retransmission to cause larger time delay. If it is used
Figure 798999DEST_PATH_IMAGE008
Then, the process goes to step S5.
Step S5, comparing the waiting communication time of the two vehicles with the transmission completion time required by the service data packet, if yes
Figure 134690DEST_PATH_IMAGE009
After the actual distance between the two vehicles reaches the communication distance threshold, the two vehicles directly communicate; if it is used
Figure 244729DEST_PATH_IMAGE010
And the two vehicles relay communication.
When in use
Figure 727663DEST_PATH_IMAGE008
If the train and the train are in direct communication, the time for receiving the service data packet of the train is the sum of the communication waiting time and the transmission finishing time, namely
Figure 590445DEST_PATH_IMAGE031
If the communication is relayed, the time when the receiving train receives the service data packet is one train relaying the service data packetThe time of transmission to the ground, the redistribution of the transmission to another train, can be seen approximately as twice the time of completion of the transmission, i.e. the transmission is completed
Figure 375999DEST_PATH_IMAGE032
. When the temperature is higher than the set temperature
Figure 832388DEST_PATH_IMAGE033
I.e. by
Figure 978067DEST_PATH_IMAGE009
And the train-to-train direct communication is compared with the ground relay communication, and the receiving train receives the service data packet faster or at the same time, so that the two trains are in direct communication after the actual distance of the two trains reaches the communication distance threshold. When in
Figure 836302DEST_PATH_IMAGE034
I.e. by
Figure 792757DEST_PATH_IMAGE010
Ground relay communication is compared with vehicle-to-vehicle direct communication, and a receiving train receives a service data packet faster, so that two vehicles are selected to communicate through ground relay at the moment.
S6, taking the positions and speeds of two vehicles in the vehicle-vehicle communication historical data, the service data types, the service data quantity, the service data size and the service data transmission rate of the service data packets as input, and taking the corresponding two-vehicle communication mode determined based on the steps S1 to S5 as output to carry out neural network training to obtain a vehicle-vehicle communication mode selection model;
and S7, determining a vehicle-to-vehicle communication mode based on the selection model in the subsequent train operation.
In some embodiments of the present application, as shown in fig. 2, the neural network training model includes an input layer, a first hidden layer, a second hidden layer, a third hidden layer, and an output layer, where the input layer and the first hidden layer each include a driving parameter module and a data parameter module, the driving parameter module of the input layer sets 2 nodes, and the driving parameter module of the input layer sets 4 nodes corresponding to the position and speed of two vehicles, and the data parameter module of the input layer sets 4 nodes corresponding to the type of service data, the amount of service data, the size of service data, and the transmission rate of service data of the input service data packet. The first hidden layer driving parameter module and the data parameter module are respectively provided with a plurality of nodes, two modules in the embodiment are respectively provided with 30 nodes, the second hidden layer is provided with 2 nodes and respectively corresponds to the output of the first hidden layer driving parameter module and the data parameter module, the third hidden layer is used as a fusion layer of the driving parameter module and the data parameter module to be provided with a plurality of nodes, the embodiment is provided with 25 nodes, the output layer is provided with 1 node, and the communication mode of two vehicles is output.
According to the method and the device, the transmission completion time required for completing transmission of the service data packet is calculated under the comprehensive optimal conditions of the transmission rate, the channel bandwidth occupation of the communication equipment and the power consumption through the service data type, the service data quantity, the service data size and the service data transmission rate of the service data packet; calculating the waiting communication time length and the communication maintaining time length of the train workshop according to the position and the speed of the train; selecting a proper communication mode between two vehicles running in the same direction by comparing the transmission completion time length determined by the service data packet information, the communication waiting time length determined by the train position and speed information and the communication maintaining time length; and neural network training is carried out on the basis of the service data packet information, the train position and speed information and the corresponding train-to-vehicle communication mode to construct a selection model of the train-to-vehicle communication mode, so that the communication mode can be determined rapidly in the following process, and the method is favorable for reasonably reducing the time delay of various data transmission under different driving conditions of the train and ensuring the integrity of the data transmission.
The embodiment of the present application further provides a car-to-car communication mode selection system, the system includes:
the historical parameter module is used for acquiring the positions and the speeds of two vehicles running in the same direction in the vehicle-vehicle communication historical data, the service data type of a service data packet, the quantity of service data, the size of the service data and the transmission rate of the service data; the method comprises the steps of obtaining a communication distance threshold and establishing communication time delay;
the calculation module is used for calculating the communication waiting time and the communication maintaining time when the actual distance between the two vehicles reaches the communication distance threshold based on the positions and the speeds of the two vehicles in historical data and the communication distance threshold, and is used for calculating the transmission completing time required by the service data packet to be transmitted based on the service data type, the service data quantity, the service data size, the service data transmission rate and the communication time delay; a communication mode for determining the two vehicles based on the waiting communication time length, the communication maintaining time length and the transmission completion time length;
the neural network module is used for taking the positions and the speeds of two vehicles in the vehicle-vehicle communication historical data, the service data types of the service data packets, the service data quantity, the service data size and the service data transmission rate as inputs, taking the corresponding two-vehicle communication mode calculated by the calculation module as an output, and performing neural network training to obtain a vehicle-vehicle communication mode selection model;
the real-time parameter module is used for acquiring the positions and the speeds of two vehicles running in the same direction, the service data type of a service data packet, the service data quantity, the service data size and the service data transmission rate, and is used for acquiring a communication distance threshold and establishing communication time delay;
and the selection module is used for determining whether the communication behaviors of the two vehicles are direct communication, relay communication or waiting direct communication through a selection model established by the neural network module based on the positions and the speeds of the two vehicles running in the same direction, the service data type of a service data packet, the service data quantity, the service data size and the service data transmission rate.
The specific method for calculating the waiting communication duration, the communication maintaining duration and the transmission completion duration and determining the two-vehicle communication behavior is described in detail in the foregoing method embodiments, and is not described herein again.
The embodiment of the application also provides an electronic device which comprises a memory and a processor, wherein the memory and the processor can be connected through a bus or in other ways. The memory can be used for storing software programs, computer programs and modules, such as the programs/modules corresponding to the vehicle-to-vehicle communication mode selection method based on the neural network; the processor realizes the vehicle-to-vehicle communication mode selection method based on the neural network by executing the computer program and the module in the memory.
The embodiment of the application also provides a storage medium, wherein the storage medium stores computer executable instructions, and the computer executable instructions are loaded and executed by the processor to realize the vehicle-to-vehicle communication mode selection method based on the neural network. The storage medium may be one or a combination of more of a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, and the like.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. While certain embodiments of the present disclosure have been described above, other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware. The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. A vehicle-to-vehicle communication mode selection method based on a neural network is characterized by comprising the following steps:
s1, acquiring the position and speed of two vehicles running in the same direction
Figure DEST_PATH_IMAGE001
And
Figure DEST_PATH_IMAGE002
calculating the actual distance between two vehicles
Figure DEST_PATH_IMAGE003
S2, determining the communication waiting time when the actual distance of the two vehicles reaches the communication distance threshold based on the speed, the actual distance and the communication distance threshold L of the two vehicles
Figure DEST_PATH_IMAGE004
And communication maintenance duration
Figure DEST_PATH_IMAGE005
S3, obtaining the transmission completion time length needed by the service data packet to be transmitted
Figure DEST_PATH_IMAGE006
S4, comparing the communication maintaining time of the two vehicles with the transmission completing time required by the service data packet, if yes
Figure DEST_PATH_IMAGE007
Then the two vehicles relay the communication, if
Figure DEST_PATH_IMAGE008
Go to S5;
s5, comparing the waiting communication time of the two vehicles with the transmission completion time required by the service data packet, if yes
Figure DEST_PATH_IMAGE009
If the actual distance between the two vehicles reaches the communication distance threshold, the two vehicles directly communicate; if it is not
Figure DEST_PATH_IMAGE010
Then two vehicles are relayedCommunication;
s6, taking the positions and speeds of two vehicles in the vehicle-vehicle communication historical data, the service data types of the service data packets, the service data quantity, the service data size and the service data transmission rate as inputs, and taking the corresponding two-vehicle communication modes determined based on the steps S1 to S5 as outputs to carry out neural network training to obtain a vehicle-vehicle communication mode selection model;
and S7, determining a vehicle-to-vehicle communication mode based on the selection model in the subsequent train operation.
2. The neural network-based vehicle-to-vehicle communication mode selection method as claimed in claim 1, wherein the determination method of the waiting communication duration and the communication maintaining duration in step S2 comprises:
comparing the speeds of the two vehicles, and comparing the actual distance between the two vehicles with the communication distance threshold;
when the rear vehicle speed is higher than the front vehicle speed, if
Figure DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure DEST_PATH_IMAGE012
Duration of communication maintenance
Figure DEST_PATH_IMAGE013
(ii) a If it is not
Figure DEST_PATH_IMAGE014
If so, the waiting time of the two vehicles
Figure DEST_PATH_IMAGE015
Duration of communication maintenance
Figure DEST_PATH_IMAGE016
When the rear vehicle speed is equal to the front vehicle speed, if
Figure 83828DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure 532127DEST_PATH_IMAGE012
Duration of communication maintenance
Figure DEST_PATH_IMAGE017
(ii) a If it is used
Figure 374181DEST_PATH_IMAGE014
If the two vehicles wait for the communication time
Figure DEST_PATH_IMAGE018
Duration of communication maintenance
Figure DEST_PATH_IMAGE019
When the rear vehicle speed is lower than the front vehicle speed, if
Figure 628445DEST_PATH_IMAGE011
If so, the waiting time of the two vehicles
Figure 973976DEST_PATH_IMAGE012
Duration of communication maintenance
Figure DEST_PATH_IMAGE020
(ii) a If it is not
Figure 858755DEST_PATH_IMAGE014
If so, the waiting time of the two vehicles
Figure 656947DEST_PATH_IMAGE018
Duration of communication maintenance
Figure 387005DEST_PATH_IMAGE019
3. The neural-network-based vehicle-to-vehicle communication mode selecting method according to claim 1 or 2, wherein the completion duration of the transmission in step S3 includes a data transmission duration
Figure DEST_PATH_IMAGE021
And establishing a communication delay
Figure DEST_PATH_IMAGE022
4. The method of claim 3, wherein the data transmission duration is determined based on the service data type, the service data amount, the service data size and the service data transmission rate of the service data packet, and the service data transmission rate is related to the service data type.
5. The method of claim 4, wherein the data transmission duration is longer than the data transmission duration
Figure DEST_PATH_IMAGE023
Wherein
Figure DEST_PATH_IMAGE024
Represents the service data type of the service data packet, j belongs to (1, 2.... multidata., M), M represents the number of the service data types,
Figure DEST_PATH_IMAGE025
indicating the corresponding service data type
Figure 245764DEST_PATH_IMAGE024
The traffic data transmission rate, N denotes the traffic data amount of the traffic data packet,
Figure DEST_PATH_IMAGE026
representing service data packetsThe size of the ith service data.
6. A neural network-based vehicle-to-vehicle communication mode selection system, the system comprising:
the historical parameter module is used for acquiring the positions and the speeds of two vehicles running in the same direction in the vehicle-vehicle communication historical data, the service data type of a service data packet, the quantity of service data, the size of the service data and the transmission rate of the service data; the method comprises the steps of obtaining a communication distance threshold and establishing communication time delay;
the calculation module is used for calculating the communication waiting time and the communication maintaining time when the actual distance between the two vehicles reaches the communication distance threshold based on the positions and the speeds of the two vehicles in the historical data and the communication distance threshold, and calculating the transmission completion time required by the service data packet to be transmitted based on the service data type, the service data quantity, the service data size, the service data transmission rate and the communication time delay; the method comprises the steps that the communication mode of two vehicles is judged based on communication waiting duration, communication maintaining duration and transmission completion duration, the communication maintaining duration and the transmission completion duration are firstly compared, if the communication maintaining duration is smaller than the transmission completion duration, the two vehicles carry out relay communication, if the communication maintaining duration is not smaller than the transmission completion duration, the communication waiting duration and the transmission completion duration are further compared, if the communication waiting duration is larger than the transmission completion duration, the two vehicles carry out relay communication, and if the communication waiting duration is not larger than the transmission completion duration, the two vehicles directly communicate after reaching a communication distance threshold;
the neural network module is used for inputting the positions and the speeds of the two vehicles in the vehicle-vehicle communication historical data, the service data types of the service data packets, the service data quantity, the service data size and the service data transmission rate, taking the corresponding two-vehicle communication mode calculated by the calculation module as output, and performing neural network training to obtain a selection model of the vehicle-vehicle communication mode;
the real-time parameter module is used for acquiring the positions and the speeds of two vehicles running in the same direction, the service data type of a service data packet, the service data quantity, the service data size and the service data transmission rate, and is used for acquiring a communication distance threshold and establishing communication time delay;
and the selection module is used for determining whether the communication behaviors of the two vehicles are direct communication, relay communication or waiting direct communication through a selection model established by the neural network module based on the positions and the speeds of the two vehicles running in the same direction, the service data type of a service data packet, the service data quantity, the service data size and the service data transmission rate.
7. A storage medium having stored thereon computer-executable instructions that, when loaded and executed by a processor, implement a neural network-based vehicle-to-vehicle communication mode selection method as defined in any one of claims 1 to 5.
CN202210661399.2A 2022-06-13 2022-06-13 Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium Active CN114745699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210661399.2A CN114745699B (en) 2022-06-13 2022-06-13 Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210661399.2A CN114745699B (en) 2022-06-13 2022-06-13 Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium

Publications (2)

Publication Number Publication Date
CN114745699A CN114745699A (en) 2022-07-12
CN114745699B true CN114745699B (en) 2022-09-02

Family

ID=82286827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210661399.2A Active CN114745699B (en) 2022-06-13 2022-06-13 Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium

Country Status (1)

Country Link
CN (1) CN114745699B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442849B (en) * 2022-11-09 2023-03-24 成都市以太节点科技有限公司 Differentiated communication method and device for railway vehicle-mounted millimeter wave terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1486931A2 (en) * 2003-06-12 2004-12-15 Navecom Communication of alert messages between vehicles on a road and a traffic information network
CN104580295A (en) * 2013-10-17 2015-04-29 宁波视竣信息科技有限公司 Intelligent broadband communication method and system used for high-speed train in moving state
EP3040250A1 (en) * 2013-08-26 2016-07-06 Jian Liu Railway train with length exceeding that of platform and configuration system therefor
CN107801157A (en) * 2017-09-28 2018-03-13 深圳大学 Data transmission method, user terminal, vehicle and system based on V2X
WO2022012166A1 (en) * 2020-07-14 2022-01-20 北京交通大学 Safe train tracking and protection method and apparatus based on relative speed

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8428798B2 (en) * 2010-01-08 2013-04-23 Wabtec Holding Corp. Short headway communications based train control system
US9718487B2 (en) * 2014-02-18 2017-08-01 Nabil N. Ghaly Method and apparatus for a train control system
CN110719570B (en) * 2019-09-09 2021-08-20 华为技术有限公司 Transmission method and communication device for map sensitive information
CN114670904B (en) * 2022-04-29 2023-07-28 西门子交通技术(北京)有限公司 Train communication system, method, electronic device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1486931A2 (en) * 2003-06-12 2004-12-15 Navecom Communication of alert messages between vehicles on a road and a traffic information network
EP3040250A1 (en) * 2013-08-26 2016-07-06 Jian Liu Railway train with length exceeding that of platform and configuration system therefor
CN104580295A (en) * 2013-10-17 2015-04-29 宁波视竣信息科技有限公司 Intelligent broadband communication method and system used for high-speed train in moving state
CN107801157A (en) * 2017-09-28 2018-03-13 深圳大学 Data transmission method, user terminal, vehicle and system based on V2X
WO2022012166A1 (en) * 2020-07-14 2022-01-20 北京交通大学 Safe train tracking and protection method and apparatus based on relative speed

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Virtual Coupling Approach Based on Event-triggering Control for CBTC Systems under Jamming Attacks;Shuomei Ma;《2020 IEEE 92nd Vehicular Technology Conference (VTC2020-Fall)》;20210215;全文 *
基于5G 与V2X 的智能有轨电车无线通信系统设计及性能测试;李永波;《铁道通信信号第57卷第10期》;20211017;全文 *

Also Published As

Publication number Publication date
CN114745699A (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US11480971B2 (en) Systems and methods for generating instructions for navigating intersections with autonomous vehicles
CN103491617A (en) Apparatus and method for controlling power for v2x communication
CN114745699B (en) Vehicle-to-vehicle communication mode selection method and system based on neural network and storage medium
CN113645273B (en) Internet of vehicles task unloading method based on service priority
CN107196771A (en) Vehicle netbios synchronization dormancy method, system and gateway controller
CN116405904A (en) TACS network resource allocation method based on deep reinforcement learning
CN111245743A (en) Information processing method, storage medium, gateway and automobile
CN113099418A (en) Optimization method of block chain task for data transmission of Internet of vehicles
Kazmi et al. A novel deep reinforcement learning-based approach for task-offloading in vehicular networks
CN114995990A (en) Method and device for unloading computing tasks, electronic equipment and computer storage medium
CN113709249A (en) Safe balanced unloading method and system for driving assisting service
CN115208892B (en) Vehicle-road collaborative online task scheduling method and system based on dynamic resource demand
CN116437319A (en) Method for constructing differentiated access ICT fusion information transmission platform
CN116367190A (en) Digital twin function virtualization method for 6G mobile network
CN112906745B (en) Integrity intelligent network training method based on edge cooperation
CN113207085B (en) MEC (Meter coordinated Circuit) assisted speed self-adaptive access method for fleet network
Wu et al. Potential game based task offloading in the high-speed railway with reinforcement learning
CN114979145A (en) Content distribution method integrating sensing, communication and caching in Internet of vehicles
CN111615082B (en) Cooperative execution method for heterogeneous automatic driving vehicle formation calculation tasks
CN111538583B (en) Low-delay collaborative task processing method and device for Internet of vehicles in mobile environment
Boubakri et al. A new architecture of autonomous vehicles: redundant architecture to improve operational safety
CN111866810A (en) Internet of vehicles frequency spectrum allocation method and equipment
CN114138466A (en) Task cooperative processing method and device for intelligent highway and storage medium
WO2022105374A1 (en) Information processing method, method for generating and training module, electronic device, and medium
CN117891613A (en) Computing unloading and resource allocation method and system based on Internet of vehicles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant