CN118840242A - Multi-mode edge cloud road data collaborative driving decision system and method based on double visual angles - Google Patents
Multi-mode edge cloud road data collaborative driving decision system and method based on double visual angles Download PDFInfo
- Publication number
- CN118840242A CN118840242A CN202411054844.4A CN202411054844A CN118840242A CN 118840242 A CN118840242 A CN 118840242A CN 202411054844 A CN202411054844 A CN 202411054844A CN 118840242 A CN118840242 A CN 118840242A
- Authority
- CN
- China
- Prior art keywords
- bus
- module
- data
- station
- dangerous area
- 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.)
- Granted
Links
- 230000000007 visual effect Effects 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 44
- 238000001514 detection method Methods 0.000 claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims abstract description 14
- 238000005516 engineering process Methods 0.000 claims abstract description 14
- 238000003909 pattern recognition Methods 0.000 claims abstract description 14
- 230000006399 behavior Effects 0.000 claims abstract description 9
- 230000001815 facial effect Effects 0.000 claims abstract description 9
- 238000012731 temporal analysis Methods 0.000 claims abstract description 9
- 238000000700 time series analysis Methods 0.000 claims abstract description 9
- 230000008030 elimination Effects 0.000 claims abstract description 6
- 238000003379 elimination reaction Methods 0.000 claims abstract description 6
- 238000013144 data compression Methods 0.000 claims description 37
- 230000008569 process Effects 0.000 claims description 16
- 230000004913 activation Effects 0.000 claims description 15
- 230000006870 function Effects 0.000 claims description 15
- 230000009977 dual effect Effects 0.000 claims description 14
- 238000013527 convolutional neural network Methods 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 9
- 238000013528 artificial neural network Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000007906 compression Methods 0.000 claims description 6
- 230000006835 compression Effects 0.000 claims description 6
- 230000015654 memory Effects 0.000 claims description 6
- 238000005457 optimization Methods 0.000 claims description 6
- 230000006403 short-term memory Effects 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 6
- 238000007405 data analysis Methods 0.000 claims description 5
- 238000010921 in-depth analysis Methods 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000012821 model calculation Methods 0.000 claims description 3
- 230000001105 regulatory effect Effects 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 238000012549 training Methods 0.000 claims description 3
- 230000010354 integration Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/042—Knowledge-based neural networks; Logical representations of neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/7715—Feature extraction, e.g. by transforming the feature space, e.g. multi-dimensional scaling [MDS]; Mappings, e.g. subspace methods
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Evolutionary Computation (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Operations Research (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- Game Theory and Decision Science (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Educational Administration (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Traffic Control Systems (AREA)
Abstract
本发明公开了一种基于双视角下的多模态边缘云车路数据协同驱动决策系统及方法,包括公交车入站前路边安全示警系统,用于公交车进入站台前对站台路边存在的危险发出安全警示,乘客公交路线预测系统用于对双视角视觉特征检测与上下站行为的乘客进行公交路线预测,本发明中站台边缘计算模块进行快速特征匹配,采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,自动识别乘客的上下车行为,运用时间序列分析算法进行历史数据的模式识别和趋势预测,调度车辆分流乘客,采用数据冗余消除技术优化用户数据的处理,实现数据传输和存储的优化,确保实时与历史数据的有效整合。
The present invention discloses a multimodal edge cloud vehicle-road data collaboratively driven decision-making system and method based on dual-perspective view, including a roadside safety warning system before a bus enters a station, which is used to issue safety warnings for dangers on the roadside of a platform before the bus enters the platform, and a passenger bus route prediction system is used to predict bus routes for passengers with dual-perspective visual feature detection and boarding and alighting behaviors. In the present invention, a platform edge computing module performs fast feature matching, uses a Haar feature classifier to retain facial feature areas, and then uses a fast hash matching algorithm based on PCA algorithm to reduce the dimension of data to achieve real-time user data encoding, automatically identify passengers' boarding and alighting behaviors, use a time series analysis algorithm to perform pattern recognition and trend prediction of historical data, dispatch vehicles to divert passengers, and use data redundancy elimination technology to optimize user data processing, optimize data transmission and storage, and ensure the effective integration of real-time and historical data.
Description
技术领域Technical Field
本发明属于数据处理技术领域,具体涉及一种基于双视角下的多模态边缘云车路数据协同驱动决策系统及方法。The present invention belongs to the field of data processing technology, and specifically relates to a multimodal edge cloud vehicle-road data collaborative driving decision-making system and method based on dual perspectives.
背景技术Background Art
在我国,即使在轨道交通较为发达的大中城市,公交系统仍然是城市客运交通的重要组成部分,也是城市重要的基础设施,其规划与运营的优劣对城市的可持续发展至关重要,智能公交运用GPS/北斗定位技术、3G/4G通信技术、GIS地理信息系统技术,结合公交车辆的运行特点,建设公交智能调度系统,对线路、车辆进行规划调度,实现智能排班、提高公交车辆的利用率,同时通过建设完善的视频监控系统实现对公交车内、站点及站场的监控管理,智能公交是未来公共交通发展的必然模式,对缓减日益严重的交通拥堵问题有着重大的意义。In my country, even in large and medium-sized cities with relatively developed rail transit, the bus system is still an important part of urban passenger transportation and an important urban infrastructure. The quality of its planning and operation is crucial to the sustainable development of the city. Smart bus uses GPS/Beidou positioning technology, 3G/4G communication technology, GIS geographic information system technology, combined with the operating characteristics of buses, to build a bus intelligent dispatching system to plan and dispatch routes and vehicles, realize intelligent scheduling, and improve the utilization rate of buses. At the same time, through the construction of a complete video surveillance system, it can realize the monitoring and management of buses, stations and stations. Smart bus is an inevitable model for the future development of public transportation, which is of great significance to alleviating the increasingly serious traffic congestion problem.
现有公交车对站台采用车头监控摄像供驾驶员参考,不能对站台危险有效分析和规避,进而增加公交车进入站台时的危险发生,且不能对站台乘客的公交路线进行预测,导致公交车数量分配出现不足或过量的问题,影响乘客乘坐公交车的正常秩序,为此我们提出一种基于双视角下的多模态边缘云车路数据协同驱动决策系统及方法。Existing buses use front-mounted surveillance cameras at bus stops for the driver's reference, which cannot effectively analyze and avoid platform hazards, thereby increasing the risk of buses entering the platform. They cannot predict the bus routes of passengers at the platform, resulting in insufficient or excessive bus allocation, affecting the normal order of passengers taking the bus. For this reason, we propose a multimodal edge cloud vehicle-road data collaboratively driven decision-making system and method based on dual perspectives.
发明内容Summary of the invention
本发明的目的在于提供一种基于双视角下的多模态边缘云车路数据协同驱动决策系统及方法,以解决上述背景技术中提出的问题。The purpose of the present invention is to provide a multimodal edge cloud vehicle-road data collaborative driving decision-making system and method based on dual perspectives to solve the problems raised in the above background technology.
为实现上述目的,本发明提供如下技术方案:一种基于双视角下的多模态边缘云车路数据协同驱动决策系统,包括:To achieve the above objectives, the present invention provides the following technical solutions: a multimodal edge cloud vehicle-road data collaborative driving decision system based on dual perspectives, comprising:
公交车入站前路边安全示警系统,所述公交车入站前路边安全示警系统用于公交车进入站台前对站台路边存在的危险发出安全警示;A roadside safety warning system for buses before they enter a station. The roadside safety warning system for buses before they enter a station is used to issue safety warnings for dangers on the roadside of a platform before the bus enters the platform.
乘客公交路线预测系统,所述乘客公交路线预测系统用于对双视角视觉特征检测与上下站行为的乘客进行公交路线预测,实现公交车的合理分配。A passenger bus route prediction system is used to predict bus routes for passengers based on dual-view visual feature detection and boarding and alighting behaviors, so as to achieve reasonable allocation of buses.
优选的,所述公交车入站前路边安全示警系统包括:Preferably, the roadside safety warning system before the bus enters the station includes:
视频采集模块,所述视频采集模块安装在公交车前部和公交站台处,用于采集图像信息;A video acquisition module, which is installed at the front of the bus and at the bus stop and is used to collect image information;
OBU模块,所述OBU模块安装在公交车上;An OBU module, wherein the OBU module is installed on a bus;
RSU模块,所述RSU模块安装在公交站台处,所述OBU模块和所述RSU模块配合使用,用于在公交车进入公交站台区域前100米时触发连接,所述公交车入站前路边安全示警系统触发运行,并向公交车传输图像数据;An RSU module, the RSU module is installed at the bus stop, the OBU module and the RSU module are used together to trigger the connection 100 meters before the bus enters the bus stop area, the roadside safety warning system before the bus enters the station is triggered to run, and image data is transmitted to the bus;
站台边缘计算模块,所述站台边缘计算模块安装在公交站台处,所述站台边缘计算模块用于处理图像数据并传输图像数据;A platform edge computing module, which is installed at the bus station and is used to process and transmit image data;
站台语音提醒模块,所述站台语音提醒模块安装在公交站台处,所述站台语音提醒模块用于向乘客发出安全警示。A platform voice reminder module is installed at a bus stop and is used to issue safety warnings to passengers.
优选的,所述公交车入站前路边安全示警系统还包括危险区域划定模块,所述危险区域划定模块用于根据历史数据和公交站台实时数据对公交站台区域进行危险区域划定;Preferably, the roadside safety warning system before the bus enters the station further includes a dangerous area demarcation module, and the dangerous area demarcation module is used to demarcate the dangerous area of the bus station area according to historical data and real-time data of the bus station;
所述危险区域划定模块在所述OBU模块和所述RSU模块触发连接后进行危险区域划定,所述公交车入站前路边安全示警系统通过接收公交车的站台停车位置、速度、方向和运行路线数据,并通过所述OBU模块和所述RSU模块的连接实时更新公交站台数据。The dangerous area demarcation module demarcates the dangerous area after the OBU module and the RSU module trigger the connection. The roadside safety warning system before the bus enters the station receives the bus station parking position, speed, direction and running route data, and updates the bus station data in real time through the connection between the OBU module and the RSU module.
优选的,所述危险区域划定模块采用动态图卷积网络对公交站台危险区域进行分析划定;Preferably, the dangerous area demarcation module uses a dynamic graph convolutional network to analyze and demarcate dangerous areas of bus stops;
动态图卷积网络的模型计算公式如公式(1)和(2)所示:The model calculation formula of the dynamic graph convolutional network is shown in formulas (1) and (2):
(1); (1);
(2); (2);
其中,Ai(t)表示时间点t时节点i的输出特征,表示危险级别;Among them, A i (t) represents the output feature of node i at time point t, indicating the danger level;
表示时间点t时节点i到j的注意力权重; Represents the attention weight from node i to node j at time point t;
W(t)和b(t)表示可学习的权重和偏置;W(t) and b(t) represent learnable weights and biases;
hj(t)表示节点j 在时间点t 的特征向量;h j (t) represents the feature vector of node j at time point t;
Leaky ReLU为激活函数,表示为Leaky ReLU(x)=max(0.01x,x),当输入值x小于0时,则将其乘以0.01,其余保持不变;Leaky ReLU is the activation function, expressed as Leaky ReLU(x)=max(0.01x,x). When the input value x is less than 0, it is multiplied by 0.01, and the rest remains unchanged;
i代表第i个公交站台;代表第i个公交站台进站的公交车j;i represents the i-th bus stop; represents the bus j entering the i-th bus stop;
exp表示指数函数,定义为exp(x)=ex;exp represents the exponential function, which is defined as exp(x)=e x ;
a表示参数向量,用于学习邻居节点之间的关系;a represents a parameter vector, which is used to learn the relationship between neighbor nodes;
aT表示参数向量a的转置,用于点积计算;a T represents the transpose of the parameter vector a, which is used for dot product calculation;
hk(t)表示节点k在时间点t的特征向量。h k (t) represents the feature vector of node k at time point t.
优选的,所述危险区域划定模块确定危险区域位置信息后,将地理坐标转换为图像坐标在公交站台处的所述视频采集模块拍摄的图像中进行展示,具体过程如下:Preferably, after determining the location information of the dangerous area, the dangerous area demarcation module converts the geographical coordinates into image coordinates and displays them in the image captured by the video acquisition module at the bus stop. The specific process is as follows:
接收危险区域位置信息:接收动态图卷积网络根据历史数据和公交站台实时数据计算得出的包含地理坐标的危险区域位置信息;Receiving dangerous area location information: receiving dangerous area location information including geographic coordinates calculated by the dynamic graph convolutional network based on historical data and real-time data of bus stops;
坐标转换:通过视频采集模块的校准,使用透视变换坐标转换公式,将地理坐标转换为二维图像坐标;Coordinate conversion: through the calibration of the video acquisition module, the perspective transformation coordinate conversion formula is used to convert the geographic coordinates into two-dimensional image coordinates;
方框绘制:根据转换后的图像坐标确定方框的位置和尺寸,根据危险级别动态调整方框的颜色和尺寸,并在实时视频流或静态图像上绘制;Box drawing: Determine the position and size of the box based on the converted image coordinates, dynamically adjust the color and size of the box according to the danger level, and draw it on the real-time video stream or static image;
实时更新和显示:动态调整图像上的方框位置和尺寸以反映最新的危险区域位置信息,并在公交车界面中实时显示更新后的图像。Real-time update and display: Dynamically adjust the position and size of the box on the image to reflect the latest danger zone location information, and display the updated image in real time on the bus interface.
优选的,所述公交车入站前路边安全示警系统还包括行人与车辆碰撞预警模块,所述行人与车辆碰撞预警模块用于自动识别公交站台内的行人和车辆;Preferably, the roadside safety warning system before the bus enters the station also includes a pedestrian and vehicle collision warning module, and the pedestrian and vehicle collision warning module is used to automatically identify pedestrians and vehicles in the bus station;
所述行人与车辆碰撞预警模块在所述OBU模块和所述RSU模块触发连接后,根据所述危险区域划定模块划定的危险区域位置,进行危险区域位置内轨迹预测公交与行人潜在碰撞危险,通过所述站台语音提醒模块进行预警;After the OBU module and the RSU module are triggered to connect, the pedestrian and vehicle collision warning module predicts the potential collision risk between the bus and the pedestrian in the dangerous area according to the dangerous area position demarcated by the dangerous area demarcation module, and issues an early warning through the platform voice reminder module;
所述行人与车辆碰撞预警模块采用改进的序列到序列模型进行碰撞预警:The pedestrian and vehicle collision warning module uses an improved sequence-to-sequence model for collision warning:
改进的序列到序列模型计算公式如公式(3)、(4)和(5)所示:The calculation formula of the improved sequence-to-sequence model is shown in formulas (3), (4) and (5):
(3); (3);
(4); (4);
(5); (5);
其中,表示控制门的输出,调节信息流向;in, Represents the output of the control gate, regulating the flow of information;
表示预测的碰撞风险指标; represents the predicted collision risk index;
表示更新门的线性变换; represents the linear transformation of the update gate;
表示更新门的偏置项; represents the bias term of the update gate;
σ表示sigmoid 激活函数,将输入值映射到(0, 1)之间;σ represents the sigmoid activation function, which maps the input value to between (0, 1);
表示前一个时间点t-1的隐状态,和当前时间点t的输入的拼接向量;包括行人和车辆的位置和速度; represents the hidden state at the previous time point t-1, and the input at the current time point t The concatenation vector of including the position and speed of pedestrians and vehicles;
表示逐元素相乘操作; Represents an element-by-element multiplication operation;
tanh表示双曲正切函数,将输入值映射到 (-1, 1) 之间;tanh represents the hyperbolic tangent function, which maps the input value to (-1, 1);
ct表示当前时间点t的记忆单元状态;c t represents the state of the memory unit at the current time point t;
表示当前时间点t的遗忘门的激活值; Represents the activation value of the forget gate at the current time point t;
表示前一个时间点t-1的记忆单元状态; Represents the state of the memory unit at the previous time point t-1;
表示当前时间点t的输入门的激活值; Represents the activation value of the input gate at the current time point t;
表示当前时间点t的新信息。 Represents the new information at the current time point t.
优选的,所述乘客公交路线预测系统包括:Preferably, the passenger bus route prediction system comprises:
视觉特征检测模块,所述视觉特征检测模块安装在公交站台处和公交车内;A visual feature detection module installed at a bus stop and inside a bus;
站台边缘计算模块,用于分时计算视觉特征,站台边缘计算模块在公交车进入公交站台时进行快速特征匹配,站台边缘计算模块采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,并将其编码为8个字节哈希值T1,用于自动识别乘客的上下车行为:当公交站台处的视觉特征检测模块先检测特征编码,公交车内的视觉特征检测模块检测并匹配一致则为乘客上车状态,匹配完成后清空匹配状态与数据;当公交车内的视觉特征检测模块先检测特征编码,公交站台处的视觉特征检测模块后检测到同样特征编码,并匹配一致则为乘客下车状态,匹配完成后清空匹配状态;并记录乘客乘坐上站地点、下站地点、乘坐所有站点、上站时间、乘坐时长,并将其编码为8个字节哈希值T2;The platform edge computing module is used to calculate visual features in time-sharing. The platform edge computing module performs fast feature matching when the bus enters the bus station. After the platform edge computing module uses the Haar feature classifier to retain the facial feature area, it uses the fast hash matching algorithm based on the PCA algorithm to reduce the dimension of the data and realizes real-time user data encoding, and encodes it into an 8-byte hash value T1 for automatic identification of passengers' boarding and getting on the bus: when the visual feature detection module at the bus station first detects the feature code, and the visual feature detection module in the bus detects and matches the same, it is the passenger's boarding state, and the matching state and data are cleared after the matching is completed; when the visual feature detection module in the bus first detects the feature code, the visual feature detection module at the bus station detects the same feature code and matches the same, it is the passenger's getting off state, and the matching state is cleared after the matching is completed; and the passenger's boarding location, alighting location, all stops, boarding time, and riding duration are recorded, and encoded into an 8-byte hash value T2;
云端系统,云端系统在闲时进行数据分析,云端系统运用时间序列分析算法进行历史数据的模式识别和趋势预测,乘客手机视觉特征、乘坐上站地点、上站时间作为输入,下站地点、乘坐时长作为输出进行训练,预测该乘客下站地点、乘坐所有站点、乘坐时长;将视觉特征与预测结果编码为16字节哈希值存储下发给站台边缘计算模块存储,其中视觉特征为前8个字节T1,后8字节为预测结果T3;The cloud system performs data analysis in its spare time. The cloud system uses a time series analysis algorithm to perform pattern recognition and trend prediction of historical data. The visual features of the passenger's mobile phone, the boarding location, and the boarding time are used as input, and the destination location and ride duration are used as output for training. The system predicts the passenger's destination location, all the stations, and ride duration. The visual features and the prediction results are encoded into a 16-byte hash value and sent to the platform edge computing module for storage, where the visual features are the first 8 bytes T1 and the last 8 bytes are the prediction results T3.
解码哈希值T2得到公交站台乘客下站地点、乘坐所有站点和乘坐时长的预测结果,统计预测结果中的公交站点,当预测某一站点乘客人数超过公交车载量2倍时,提醒运营人员调度车辆分流乘客。Decode the hash value T2 to obtain the predicted results of the passengers' getting off location, all the stops they will take and the duration of the ride. The bus stops in the predicted results are counted. When the predicted number of passengers at a certain stop exceeds twice the bus capacity, the operator is reminded to dispatch vehicles to divert the passengers.
优选的,所述乘客公交路线预测系统还包括与所述站台边缘计算模块和所述云端系统协同处理的数据优化处理模块,所述数据优化处理模块采用数据冗余消除技术以优化用户数据的处理,具体过程如下:Preferably, the passenger bus route prediction system further includes a data optimization processing module that cooperates with the platform edge computing module and the cloud system. The data optimization processing module uses data redundancy elimination technology to optimize the processing of user data. The specific process is as follows:
为每个数据块生成唯一的哈希值,并通过比较哈希值快速识别和消除重复数据块,站台边缘计算模块使用CDC技术处理实时采集的用户数据,进行数据块分割并生成哈希值;当数据块的哈希值与已存在的历史数据块哈希值匹配时,认定为重复数据块而不再上传至云端系统,对于未知的新数据块,则在乘客公交路线预测系统闲时上传至云端系统进行进一步的深度分析和模式识别,实现数据传输和存储的优化。A unique hash value is generated for each data block, and duplicate data blocks are quickly identified and eliminated by comparing hash values. The platform edge computing module uses CDC technology to process user data collected in real time, segment data blocks and generate hash values. When the hash value of a data block matches the hash value of an existing historical data block, it is identified as a duplicate data block and is no longer uploaded to the cloud system. For unknown new data blocks, they are uploaded to the cloud system when the passenger bus route prediction system is idle for further in-depth analysis and pattern recognition, thereby optimizing data transmission and storage.
优选的,所述站台边缘计算模块在所述OBU模块和所述RSU模块触发连接后,所述危险区域划定模块采用动态图卷积网络模型计算对公交站台危险区域进行分析划定的动态数据传输至所述站台边缘计算模块,所述站台边缘计算模块采用基于神经网络的动态数据压缩算法,根据当前连接强度状况实时调整数据压缩率;Preferably, after the OBU module and the RSU module trigger the connection, the dangerous area demarcation module uses a dynamic graph convolutional network model to calculate the dynamic data for analyzing and demarcating the dangerous area of the bus station and transmits it to the platform edge computing module. The platform edge computing module uses a dynamic data compression algorithm based on a neural network to adjust the data compression rate in real time according to the current connection strength status;
所述动态数据压缩算法采用卷积神经网络和长短期记忆网络的组合,以优化压缩任务,卷积神经网络用于提取数据特征,长短期记忆网络用于连接强度条件的变化,并据此调整动态数据压缩率;The dynamic data compression algorithm uses a combination of a convolutional neural network and a long short-term memory network to optimize the compression task. The convolutional neural network is used to extract data features, and the long short-term memory network is used to connect changes in strength conditions and adjust the dynamic data compression rate accordingly.
所述动态数据压缩算法通过计算公式(6)进行动态数据压缩率的动态调整:The dynamic data compression algorithm dynamically adjusts the dynamic data compression rate by calculating formula (6):
(6); (6);
其中,Ct表示在时间点t的数据压缩率;Where C t represents the data compression rate at time point t;
σ表示sigmoid 激活函数,将数据压缩率映射到(0,1)之间;σ represents the sigmoid activation function, which maps the data compression rate to between (0,1);
Wc表示权重矩阵;W c represents the weight matrix;
ht-1表示长短期记忆网络在时间点t-1的隐藏状态;h t-1 represents the hidden state of the LSTM network at time point t-1;
xt表示由卷积神经网络提取的当前网络状态的特征向量; xt represents the feature vector of the current network state extracted by the convolutional neural network;
bc表示偏置项;b c represents the bias term;
该动态数据压缩算法通过学习不同类型数据的重要性和紧急程度,在所述OBU模块和所述RSU模块触发连接时能够优先保证关键数据的传输质量,通过实时监控网络带宽和流量状况,并动态调整压缩率。The dynamic data compression algorithm learns the importance and urgency of different types of data, and can give priority to ensuring the transmission quality of key data when the OBU module and the RSU module trigger the connection, monitor the network bandwidth and traffic status in real time, and dynamically adjust the compression rate.
一种基于双视角下的多模态边缘云车路数据协同驱动决策方法,应用于基于双视角下的多模态边缘云车路数据协同驱动决策系统,包括如下步骤:A multimodal edge cloud vehicle-road data collaborative driving decision method based on dual perspectives is applied to a multimodal edge cloud vehicle-road data collaborative driving decision system based on dual perspectives, comprising the following steps:
A:公交车进入公交站台区域前100米时,公交车上的OBU模块和公交站台处的RSU模块触发连接,公交车入站前路边安全示警系统触发运行,视频采集模块采集图像信息,并将采集的图像信息传输至站台边缘计算模块;A: When the bus enters the bus station area 100 meters before, the OBU module on the bus and the RSU module at the bus station trigger the connection, the roadside safety warning system before the bus enters the station is triggered, the video acquisition module collects image information, and transmits the collected image information to the platform edge computing module;
B:接着危险区域划定模块通过OBU模块和RSU模块的连接实时更新公交站台数据,采用动态图卷积网络对公交站台危险区域进行分析划定,确定危险区域位置信息后,将地理坐标转换为图像坐标在公交站台处的视频采集模块拍摄的图像中进行展示;B: Then the dangerous area delineation module updates the bus stop data in real time through the connection between the OBU module and the RSU module, and uses a dynamic graph convolutional network to analyze and delineate the dangerous area of the bus stop. After determining the location information of the dangerous area, the geographic coordinates are converted into image coordinates and displayed in the image taken by the video acquisition module at the bus stop;
C:站台语音提醒模块在公交车进入公交站台过程中向乘客发出安全警示,并通过行人与车辆碰撞预警模块自动识别公交站台内的行人和车辆,并进行危险区域位置内轨迹预测公交与行人潜在碰撞危险,通过站台语音提醒模块进行预警;C: The platform voice reminder module issues safety warnings to passengers when the bus enters the bus station, and automatically identifies pedestrians and vehicles in the bus station through the pedestrian and vehicle collision warning module, and predicts the potential collision risk between buses and pedestrians in the dangerous area, and issues warnings through the platform voice reminder module;
D:站台边缘计算模块在公交车进入公交站台时进行快速特征匹配,站台边缘计算模块采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,并自动识别乘客的上下车行为,并将其数据存储至云端系统;D: The platform edge computing module performs fast feature matching when the bus enters the bus station. After using the Haar feature classifier to retain the facial feature area, the platform edge computing module uses the fast hash matching algorithm to achieve real-time user data encoding after reducing the dimension of the data based on the PCA algorithm, and automatically identifies the passengers' boarding and alighting behaviors, and stores their data in the cloud system;
E:云端系统运用时间序列分析算法进行历史数据的模式识别和趋势预测,解码哈希值T2得到公交站台乘客下站地点、乘坐所有站点和乘坐时长的预测结果,调度车辆分流乘客,同时站台边缘计算模块采用基于神经网络的动态数据压缩算法,根据当前连接强度状况实时调整数据压缩率,优先保证关键数据的传输质量。E: The cloud system uses a time series analysis algorithm to perform pattern recognition and trend prediction on historical data. It decodes the hash value T2 to obtain the predicted results of the passengers' alighting location, all the stops they will take, and the duration of their ride at the bus stop, and dispatches vehicles to divert passengers. At the same time, the platform edge computing module uses a dynamic data compression algorithm based on a neural network to adjust the data compression rate in real time according to the current connection strength, giving priority to ensuring the transmission quality of key data.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the present invention has the following beneficial effects:
1、本发明中站台边缘计算模块在公交车进入公交站台时进行快速特征匹配,站台边缘计算模块采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,并自动识别乘客的上下车行为,运用时间序列分析算法进行历史数据的模式识别和趋势预测,解码哈希值T2得到公交站台乘客下站地点、乘坐所有站点和乘坐时长的预测结果,调度车辆分流乘客,同时站台边缘计算模块采用基于神经网络的动态数据压缩算法,根据当前连接强度状况实时调整数据压缩率,优先保证关键数据的传输质量,并采用数据冗余消除技术以优化用户数据的处理,便于数据分析和模式识别,从而实现数据传输和存储的优化,加快数据处理速度,并确保实时与历史数据的有效整合;1. In the present invention, the platform edge computing module performs fast feature matching when the bus enters the bus station. After the platform edge computing module uses the Haar feature classifier to retain the facial feature area, it uses the fast hash matching algorithm to realize real-time user data encoding based on the PCA algorithm after reducing the dimension of the data, and automatically identifies the passengers' boarding and alighting behaviors. The time series analysis algorithm is used to perform pattern recognition and trend prediction of historical data, and the hash value T2 is decoded to obtain the predicted results of the passenger's alighting location, all the stops and the riding time at the bus station, and the vehicle is dispatched to divert the passengers. At the same time, the platform edge computing module adopts a dynamic data compression algorithm based on a neural network, adjusts the data compression rate in real time according to the current connection strength status, gives priority to ensuring the transmission quality of key data, and adopts data redundancy elimination technology to optimize the processing of user data, facilitate data analysis and pattern recognition, thereby optimizing data transmission and storage, accelerating data processing speed, and ensuring the effective integration of real-time and historical data;
2、本发明设有危险区域划定模块,根据历史数据和公交站台实时数据对公交站台区域采用动态图卷积网络模型进行危险区域划定,并通过OBU模块和RSU模块的连接实时更新公交站台数据,并将危险划定区域位置信息实时反馈,保证公交车进入公交站台时的安全性,并实时更新危险划定区域位置信息,确保公交车在进站过程中的双视角下的规范性;2. The present invention is provided with a dangerous area demarcation module, which uses a dynamic graph convolutional network model to demarcate the dangerous area of the bus stop area according to historical data and real-time data of the bus stop, and updates the bus stop data in real time through the connection between the OBU module and the RSU module, and feeds back the position information of the dangerous demarcated area in real time to ensure the safety of the bus when entering the bus stop, and updates the position information of the dangerous demarcated area in real time to ensure the standardization of the bus under dual perspectives during the entry process;
3、本发明设有行人与车辆碰撞预警模块,基于双视角状态下,行人与车辆碰撞预警模块采用改进的序列到序列模型自动识别公交站台内的行人和车辆进行碰撞预警,确保危险划定区域位置内的安全。3. The present invention is provided with a pedestrian and vehicle collision warning module. Based on the dual-view state, the pedestrian and vehicle collision warning module adopts an improved sequence-to-sequence model to automatically identify pedestrians and vehicles in the bus stop and issue collision warnings to ensure safety within the dangerous designated area.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明的系统流程示意图;FIG1 is a schematic diagram of a system flow chart of the present invention;
图2为本发明的危险区域划定和行人与车辆碰撞预警流程示意图;FIG2 is a schematic diagram of a dangerous area delineation and pedestrian and vehicle collision warning process according to the present invention;
图3为本发明的乘客数据特征检测流程示意图。FIG. 3 is a schematic diagram of a passenger data feature detection process of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
请参阅图1-图3,本发明提供的基于双视角下的多模态边缘云车路数据协同驱动决策系统,包括:Referring to FIG. 1 to FIG. 3 , the multimodal edge cloud vehicle-road data collaborative driving decision system based on dual-viewing angles provided by the present invention includes:
公交车入站前路边安全示警系统,公交车入站前路边安全示警系统用于公交车进入站台前对站台路边存在的危险发出安全警示;The roadside safety warning system before the bus enters the station is used to issue safety warnings for dangers on the roadside of the platform before the bus enters the platform;
公交车入站前路边安全示警系统包括:The roadside safety warning system before the bus enters the station includes:
视频采集模块,视频采集模块安装在公交车前部和公交站台处,用于采集图像信息;Video acquisition module, which is installed at the front of the bus and at the bus station to collect image information;
OBU模块,OBU模块安装在公交车上;OBU module, the OBU module is installed on the bus;
RSU模块,RSU模块安装在公交站台处,OBU模块和RSU模块配合使用,用于在公交车进入公交站台区域前100米时触发连接,公交车入站前路边安全示警系统触发运行,并向公交车传输图像数据;RSU module: The RSU module is installed at the bus station. The OBU module and the RSU module are used together to trigger the connection 100 meters before the bus enters the bus station area. The roadside safety warning system is triggered before the bus enters the station and transmits image data to the bus.
站台边缘计算模块,站台边缘计算模块安装在公交站台处,站台边缘计算模块用于处理图像数据并传输图像数据;The platform edge computing module is installed at the bus station and is used to process and transmit image data;
站台语音提醒模块,站台语音提醒模块安装在公交站台处,站台语音提醒模块用于向乘客发出安全警示;Platform voice reminder module, which is installed at the bus station and is used to issue safety warnings to passengers;
公交车入站前路边安全示警系统还包括危险区域划定模块,危险区域划定模块用于根据历史数据和公交站台实时数据对公交站台区域进行危险区域划定;The roadside safety warning system before the bus enters the station also includes a dangerous area demarcation module, which is used to demarcate the dangerous area of the bus station area based on historical data and real-time data of the bus station;
危险区域划定模块在OBU模块和RSU模块触发连接后进行危险区域划定,公交车入站前路边安全示警系统通过接收公交车的站台停车位置、速度、方向和运行路线数据,并通过OBU模块和RSU模块的连接实时更新公交站台数据;The dangerous area demarcation module demarcates the dangerous area after the OBU module and the RSU module trigger the connection. The roadside safety warning system before the bus enters the station receives the bus's platform parking position, speed, direction and running route data, and updates the bus platform data in real time through the connection between the OBU module and the RSU module;
危险区域划定模块采用动态图卷积网络对公交站台危险区域进行分析划定;The dangerous area delineation module uses a dynamic graph convolutional network to analyze and delineate dangerous areas at bus stops;
动态图卷积网络的模型计算公式如公式(1)和(2)所示:The model calculation formula of the dynamic graph convolutional network is shown in formulas (1) and (2):
(1); (1);
(2); (2);
其中,Ai(t)表示时间点t时节点i的输出特征,表示危险级别;Among them, A i (t) represents the output feature of node i at time point t, indicating the danger level;
表示时间点t时节点i到j的注意力权重; Represents the attention weight from node i to node j at time point t;
W(t)和b(t)表示可学习的权重和偏置;W(t) and b(t) represent learnable weights and biases;
hj(t)表示节点j 在时间点t 的特征向量;h j (t) represents the feature vector of node j at time point t;
Leaky ReLU为激活函数,表示为Leaky ReLU(x)=max(0.01x,x),当输入值x小于0时,则将其乘以0.01,其余保持不变;Leaky ReLU is the activation function, expressed as Leaky ReLU(x)=max(0.01x,x). When the input value x is less than 0, it is multiplied by 0.01, and the rest remains unchanged;
i代表第i个公交站台;代表第i个公交站台进站的公交车j;i represents the i-th bus stop; represents the bus j entering the i-th bus stop;
exp表示指数函数,定义为exp(x)=ex;exp represents the exponential function, which is defined as exp(x)=e x ;
a表示参数向量,用于学习邻居节点之间的关系;a represents a parameter vector, which is used to learn the relationship between neighbor nodes;
aT表示参数向量a的转置,用于点积计算;a T represents the transpose of the parameter vector a, which is used for dot product calculation;
hk(t)表示节点k在时间点t的特征向量;h k (t) represents the feature vector of node k at time point t;
危险区域划定模块确定危险区域位置信息后,将地理坐标转换为图像坐标在公交站台处的视频采集模块拍摄的图像中进行展示,具体过程如下:After the dangerous area demarcation module determines the location information of the dangerous area, it converts the geographic coordinates into image coordinates and displays them in the image taken by the video acquisition module at the bus stop. The specific process is as follows:
接收危险区域位置信息:接收动态图卷积网络根据历史数据和公交站台实时数据计算得出的包含地理坐标的危险区域位置信息;Receiving dangerous area location information: receiving dangerous area location information including geographic coordinates calculated by the dynamic graph convolutional network based on historical data and real-time data of bus stops;
坐标转换:通过视频采集模块的校准,使用透视变换坐标转换公式,将地理坐标转换为二维图像坐标;Coordinate conversion: through the calibration of the video acquisition module, the perspective transformation coordinate conversion formula is used to convert the geographic coordinates into two-dimensional image coordinates;
方框绘制:根据转换后的图像坐标确定方框的位置和尺寸,根据危险级别动态调整方框的颜色和尺寸,并在实时视频流或静态图像上绘制;Box drawing: Determine the position and size of the box based on the converted image coordinates, dynamically adjust the color and size of the box according to the danger level, and draw it on the real-time video stream or static image;
实时更新和显示:动态调整图像上的方框位置和尺寸以反映最新的危险区域位置信息,并在公交车界面中实时显示更新后的图像;Real-time update and display: Dynamically adjust the position and size of the box on the image to reflect the latest dangerous area location information, and display the updated image in real time on the bus interface;
本发明设有危险区域划定模块,根据历史数据和公交站台实时数据对公交站台区域采用动态图卷积网络模型进行危险区域划定,并通过OBU模块和RSU模块的连接实时更新公交站台数据,并将危险划定区域位置信息实时反馈,保证公交车进入公交站台时的安全性,并实时更新危险划定区域位置信息,确保公交车在进站过程中的双视角下的规范性;The present invention is provided with a dangerous area demarcation module, which uses a dynamic graph convolutional network model to demarcate the dangerous area of the bus stop area according to historical data and real-time data of the bus stop, and updates the bus stop data in real time through the connection of the OBU module and the RSU module, and feeds back the position information of the dangerous area in real time to ensure the safety of the bus when entering the bus stop, and updates the position information of the dangerous area in real time to ensure the standardization of the bus under dual perspectives during the entry process;
公交车入站前路边安全示警系统还包括行人与车辆碰撞预警模块,行人与车辆碰撞预警模块用于自动识别公交站台内的行人和车辆;The roadside safety warning system before the bus enters the station also includes a pedestrian and vehicle collision warning module, which is used to automatically identify pedestrians and vehicles in the bus station;
行人与车辆碰撞预警模块在OBU模块和RSU模块触发连接后,根据危险区域划定模块划定的危险区域位置,进行危险区域位置内轨迹预测公交与行人潜在碰撞危险,通过站台语音提醒模块进行预警;After the OBU module and the RSU module are triggered to connect, the pedestrian and vehicle collision warning module predicts the potential collision risk between the bus and the pedestrian according to the trajectory in the dangerous area defined by the dangerous area demarcation module, and issues an early warning through the platform voice reminder module;
行人与车辆碰撞预警模块采用改进的序列到序列模型进行碰撞预警:The pedestrian and vehicle collision warning module uses an improved sequence-to-sequence model for collision warning:
改进的序列到序列模型计算公式如公式(3)、(4)和(5)所示:The calculation formula of the improved sequence-to-sequence model is shown in formulas (3), (4) and (5):
(3); (3);
(4); (4);
(5); (5);
其中,表示控制门的输出,调节信息流向;in, Represents the output of the control gate, regulating the flow of information;
表示预测的碰撞风险指标; represents the predicted collision risk index;
表示更新门的线性变换; represents the linear transformation of the update gate;
表示更新门的偏置项; represents the bias term of the update gate;
σ表示sigmoid 激活函数,将输入值映射到(0, 1)之间;σ represents the sigmoid activation function, which maps the input value to between (0, 1);
表示前一个时间点t-1的隐状态,和当前时间点t的输入的拼接向量;包括行人和车辆的位置和速度; represents the hidden state at the previous time point t-1, and the input at the current time point t The concatenation vector of including the position and speed of pedestrians and vehicles;
表示逐元素相乘操作; Represents an element-by-element multiplication operation;
tanh表示双曲正切函数,将输入值映射到 (-1, 1) 之间;tanh represents the hyperbolic tangent function, which maps the input value to (-1, 1);
ct表示当前时间点t的记忆单元状态;c t represents the state of the memory unit at the current time point t;
表示当前时间点t的遗忘门的激活值; Represents the activation value of the forget gate at the current time point t;
表示前一个时间点t-1的记忆单元状态; Represents the state of the memory unit at the previous time point t-1;
表示当前时间点t的输入门的激活值; Represents the activation value of the input gate at the current time point t;
表示当前时间点t的新信息; Represents the new information at the current time point t;
本发明设有行人与车辆碰撞预警模块,基于双视角状态下,行人与车辆碰撞预警模块采用改进的序列到序列模型自动识别公交站台内的行人和车辆进行碰撞预警,确保危险划定区域位置内的安全;The present invention is provided with a pedestrian and vehicle collision warning module. Based on the dual-view state, the pedestrian and vehicle collision warning module uses an improved sequence-to-sequence model to automatically identify pedestrians and vehicles in the bus station and issue collision warnings to ensure safety within the dangerous demarcated area.
乘客公交路线预测系统,乘客公交路线预测系统用于对双视角视觉特征检测与上下站行为的乘客进行公交路线预测,实现公交车的合理分配;Passenger bus route prediction system, which is used to predict bus routes for passengers based on dual-view visual feature detection and boarding and alighting behaviors, to achieve reasonable allocation of buses;
乘客公交路线预测系统包括:The passenger bus route prediction system includes:
视觉特征检测模块,视觉特征检测模块安装在公交站台处和公交车内;Visual feature detection module, the visual feature detection module is installed at the bus station and in the bus;
站台边缘计算模块,用于分时计算视觉特征,站台边缘计算模块在公交车进入公交站台时进行快速特征匹配,站台边缘计算模块采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,并将其编码为8个字节哈希值T1,用于自动识别乘客的上下车行为:当公交站台处的视觉特征检测模块先检测特征编码,公交车内的视觉特征检测模块检测并匹配一致则为乘客上车状态,匹配完成后清空匹配状态与数据;当公交车内的视觉特征检测模块先检测特征编码,公交站台处的视觉特征检测模块后检测到同样特征编码,并匹配一致则为乘客下车状态,匹配完成后清空匹配状态;并记录乘客乘坐上站地点、下站地点、乘坐所有站点、上站时间、乘坐时长,并将其编码为8个字节哈希值T2;The platform edge computing module is used to calculate visual features in time-sharing. The platform edge computing module performs fast feature matching when the bus enters the bus station. After the platform edge computing module uses the Haar feature classifier to retain the facial feature area, it uses the fast hash matching algorithm based on the PCA algorithm to reduce the dimension of the data and realizes real-time user data encoding, and encodes it into an 8-byte hash value T1 for automatic identification of passengers' boarding and getting on the bus: when the visual feature detection module at the bus station first detects the feature code, and the visual feature detection module in the bus detects and matches the same, it is the passenger's boarding state, and the matching state and data are cleared after the matching is completed; when the visual feature detection module in the bus first detects the feature code, the visual feature detection module at the bus station detects the same feature code and matches the same, it is the passenger's getting off state, and the matching state is cleared after the matching is completed; and the passenger's boarding location, alighting location, all stops, boarding time, and riding duration are recorded, and encoded into an 8-byte hash value T2;
云端系统,云端系统在闲时进行数据分析,云端系统运用时间序列分析算法进行历史数据的模式识别和趋势预测,乘客手机视觉特征、乘坐上站地点、上站时间作为输入,下站地点、乘坐时长作为输出进行训练,预测该乘客下站地点、乘坐所有站点、乘坐时长;将视觉特征与预测结果编码为16字节哈希值存储下发给站台边缘计算模块存储,其中视觉特征为前8个字节T1,后8字节为预测结果T3;The cloud system performs data analysis in its spare time. The cloud system uses a time series analysis algorithm to perform pattern recognition and trend prediction of historical data. The visual features of the passenger's mobile phone, the boarding location, and the boarding time are used as input, and the destination location and ride duration are used as output for training. The system predicts the passenger's destination location, all the stations, and ride duration. The visual features and the prediction results are encoded into a 16-byte hash value and sent to the platform edge computing module for storage, where the visual features are the first 8 bytes T1 and the last 8 bytes are the prediction results T3.
解码哈希值T2得到公交站台乘客下站地点、乘坐所有站点和乘坐时长的预测结果,统计预测结果中的公交站点,当预测某一站点乘客人数超过公交车载量2倍时,提醒运营人员调度车辆分流乘客;Decode the hash value T2 to get the predicted results of the passenger's getting off location, all the stops and the ride duration at the bus stop. Count the bus stops in the predicted results. When the predicted number of passengers at a certain stop exceeds 2 times the bus capacity, remind the operator to dispatch vehicles to divert passengers.
乘客公交路线预测系统还包括与站台边缘计算模块和云端系统协同处理的数据优化处理模块,数据优化处理模块采用数据冗余消除技术以优化用户数据的处理,具体过程如下:The passenger bus route prediction system also includes a data optimization processing module that collaborates with the platform edge computing module and the cloud system. The data optimization processing module uses data redundancy elimination technology to optimize the processing of user data. The specific process is as follows:
为每个数据块生成唯一的哈希值,并通过比较哈希值快速识别和消除重复数据块,站台边缘计算模块使用CDC技术处理实时采集的用户数据,进行数据块分割并生成哈希值;当数据块的哈希值与已存在的历史数据块哈希值匹配时,认定为重复数据块而不再上传至云端系统,对于未知的新数据块,则在乘客公交路线预测系统闲时上传至云端系统进行进一步的深度分析和模式识别,实现数据传输和存储的优化;Generate a unique hash value for each data block, and quickly identify and eliminate duplicate data blocks by comparing hash values. The platform edge computing module uses CDC technology to process real-time collected user data, segment data blocks and generate hash values. When the hash value of a data block matches the hash value of an existing historical data block, it is identified as a duplicate data block and is no longer uploaded to the cloud system. For unknown new data blocks, they are uploaded to the cloud system during idle time of the passenger bus route prediction system for further in-depth analysis and pattern recognition, thereby optimizing data transmission and storage.
站台边缘计算模块在OBU模块和RSU模块触发连接后,危险区域划定模块采用动态图卷积网络模型计算对公交站台危险区域进行分析划定的动态数据传输至站台边缘计算模块,站台边缘计算模块采用基于神经网络的动态数据压缩算法,根据当前连接强度状况实时调整数据压缩率;After the OBU module and the RSU module trigger the connection, the dangerous area demarcation module uses a dynamic graph convolutional network model to calculate the dynamic data for analyzing and demarcating dangerous areas at bus stops and transmits it to the platform edge computing module. The platform edge computing module uses a dynamic data compression algorithm based on a neural network to adjust the data compression rate in real time according to the current connection strength.
动态数据压缩算法采用卷积神经网络和长短期记忆网络的组合,以优化压缩任务,卷积神经网络用于提取数据特征,长短期记忆网络用于连接强度条件的变化,并据此调整动态数据压缩率;The dynamic data compression algorithm uses a combination of convolutional neural networks and long short-term memory networks to optimize the compression task. The convolutional neural network is used to extract data features, and the long short-term memory network is used to connect changes in strength conditions and adjust the dynamic data compression rate accordingly.
动态数据压缩算法通过计算公式(6)进行动态数据压缩率的动态调整:The dynamic data compression algorithm dynamically adjusts the dynamic data compression rate by calculating formula (6):
(6); (6);
其中,Ct表示在时间点t的数据压缩率;Where C t represents the data compression rate at time point t;
σ表示sigmoid 激活函数,将数据压缩率映射到(0,1)之间;σ represents the sigmoid activation function, which maps the data compression rate to between (0,1);
Wc表示权重矩阵;W c represents the weight matrix;
ht-1表示长短期记忆网络在时间点t-1的隐藏状态;h t-1 represents the hidden state of the LSTM network at time point t-1;
xt表示由卷积神经网络提取的当前网络状态的特征向量; xt represents the feature vector of the current network state extracted by the convolutional neural network;
bc表示偏置项;b c represents the bias term;
该动态数据压缩算法通过学习不同类型数据的重要性和紧急程度,在OBU模块和RSU模块触发连接时能够优先保证关键数据的传输质量,通过实时监控网络带宽和流量状况,并动态调整压缩率;The dynamic data compression algorithm learns the importance and urgency of different types of data, and can prioritize the transmission quality of key data when the OBU module and RSU module trigger the connection. It monitors the network bandwidth and traffic status in real time and dynamically adjusts the compression rate.
本发明中站台边缘计算模块在公交车进入公交站台时进行快速特征匹配,站台边缘计算模块采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,并自动识别乘客的上下车行为,运用时间序列分析算法进行历史数据的模式识别和趋势预测,解码哈希值T2得到公交站台乘客下站地点、乘坐所有站点和乘坐时长的预测结果,调度车辆分流乘客,同时站台边缘计算模块采用基于神经网络的动态数据压缩算法,根据当前连接强度状况实时调整数据压缩率,优先保证关键数据的传输质量,并采用数据冗余消除技术以优化用户数据的处理,便于数据分析和模式识别,从而实现数据传输和存储的优化,加快数据处理速度,并确保实时与历史数据的有效整合。In the present invention, the platform edge computing module performs fast feature matching when the bus enters the bus stop. After the platform edge computing module uses the Haar feature classifier to retain the facial feature area, it uses the fast hash matching algorithm to realize real-time user data encoding after reducing the dimension of the data based on the PCA algorithm, and automatically identifies the passengers' boarding and getting on the bus. The time series analysis algorithm is used to perform pattern recognition and trend prediction of historical data, and the hash value T2 is decoded to obtain the predicted results of the passengers' getting off the bus stop, all the stops they have taken, and the length of time they have been riding. The vehicles are dispatched to divert the passengers. At the same time, the platform edge computing module uses a dynamic data compression algorithm based on a neural network to adjust the data compression rate in real time according to the current connection strength status, give priority to ensuring the transmission quality of key data, and use data redundancy elimination technology to optimize the processing of user data, facilitate data analysis and pattern recognition, thereby optimizing data transmission and storage, accelerating data processing speed, and ensuring the effective integration of real-time and historical data.
本发明提供的基于双视角下的多模态边缘云车路数据协同驱动决策方法,应用于基于双视角下的多模态边缘云车路数据协同驱动决策系统,包括如下步骤:The multimodal edge cloud vehicle-road data collaborative driving decision method based on dual perspectives provided by the present invention is applied to a multimodal edge cloud vehicle-road data collaborative driving decision system based on dual perspectives, and includes the following steps:
A:公交车进入公交站台区域前100米时,公交车上的OBU模块和公交站台处的RSU模块触发连接,公交车入站前路边安全示警系统触发运行,视频采集模块采集图像信息,并将采集的图像信息传输至站台边缘计算模块;A: When the bus enters the bus station area 100 meters before, the OBU module on the bus and the RSU module at the bus station trigger the connection, the roadside safety warning system before the bus enters the station is triggered, the video acquisition module collects image information, and transmits the collected image information to the platform edge computing module;
B:接着危险区域划定模块通过OBU模块和RSU模块的连接实时更新公交站台数据,采用动态图卷积网络对公交站台危险区域进行分析划定,确定危险区域位置信息后,将地理坐标转换为图像坐标在公交站台处的视频采集模块拍摄的图像中进行展示;B: Then the dangerous area delineation module updates the bus stop data in real time through the connection between the OBU module and the RSU module, and uses a dynamic graph convolutional network to analyze and delineate the dangerous area of the bus stop. After determining the location information of the dangerous area, the geographic coordinates are converted into image coordinates and displayed in the image taken by the video acquisition module at the bus stop;
C:且站台语音提醒模块在公交车进入公交站台过程中向乘客发出安全警示,并通过行人与车辆碰撞预警模块自动识别公交站台内的行人和车辆,并进行危险区域位置内轨迹预测公交与行人潜在碰撞危险,通过站台语音提醒模块进行预警;C: The platform voice reminder module issues safety warnings to passengers when the bus enters the bus station, and automatically identifies pedestrians and vehicles in the bus station through the pedestrian and vehicle collision warning module, and predicts the potential collision risk between buses and pedestrians in the dangerous area, and issues warnings through the platform voice reminder module;
D:站台边缘计算模块在公交车进入公交站台时进行快速特征匹配,站台边缘计算模块采用Haar特征分类器保留人脸特征区域后,基于PCA算法降维数据后采用快速哈希匹配算法来实现实时用户数据编码,并自动识别乘客的上下车行为,并将其数据存储至云端系统;D: The platform edge computing module performs fast feature matching when the bus enters the bus station. After using the Haar feature classifier to retain the facial feature area, the platform edge computing module uses the fast hash matching algorithm to achieve real-time user data encoding after reducing the dimension of the data based on the PCA algorithm, and automatically identifies the passengers' boarding and alighting behaviors, and stores their data in the cloud system;
E:云端系统运用时间序列分析算法进行历史数据的模式识别和趋势预测,解码哈希值T2得到公交站台乘客下站地点、乘坐所有站点和乘坐时长的预测结果,调度车辆分流乘客,同时站台边缘计算模块采用基于神经网络的动态数据压缩算法,根据当前连接强度状况实时调整数据压缩率,优先保证关键数据的传输质量。E: The cloud system uses a time series analysis algorithm to perform pattern recognition and trend prediction on historical data. It decodes the hash value T2 to obtain the predicted results of the passengers' alighting location, all the stops they will take, and the duration of their ride at the bus stop, and dispatches vehicles to divert passengers. At the same time, the platform edge computing module uses a dynamic data compression algorithm based on a neural network to adjust the data compression rate in real time according to the current connection strength, giving priority to ensuring the transmission quality of key data.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411054844.4A CN118840242B (en) | 2024-08-02 | 2024-08-02 | Multimodal edge cloud vehicle-road data collaborative driving decision system and method based on dual perspectives |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411054844.4A CN118840242B (en) | 2024-08-02 | 2024-08-02 | Multimodal edge cloud vehicle-road data collaborative driving decision system and method based on dual perspectives |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118840242A true CN118840242A (en) | 2024-10-25 |
CN118840242B CN118840242B (en) | 2025-02-11 |
Family
ID=93140735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411054844.4A Active CN118840242B (en) | 2024-08-02 | 2024-08-02 | Multimodal edge cloud vehicle-road data collaborative driving decision system and method based on dual perspectives |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118840242B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119229660A (en) * | 2024-12-04 | 2024-12-31 | 南京智慧交通信息股份有限公司 | A vehicle-road coordinated dispatching method and system between a bus and a platform |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117196264A (en) * | 2023-11-07 | 2023-12-08 | 深圳市城市交通规划设计研究中心股份有限公司 | Urban rail passenger flow cooperative control method, electronic equipment and storage medium |
CN117749830A (en) * | 2023-12-18 | 2024-03-22 | 南京智慧交通信息股份有限公司 | Vehicle-road cooperative cloud platform system based on edge calculation and method thereof |
-
2024
- 2024-08-02 CN CN202411054844.4A patent/CN118840242B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117196264A (en) * | 2023-11-07 | 2023-12-08 | 深圳市城市交通规划设计研究中心股份有限公司 | Urban rail passenger flow cooperative control method, electronic equipment and storage medium |
CN117749830A (en) * | 2023-12-18 | 2024-03-22 | 南京智慧交通信息股份有限公司 | Vehicle-road cooperative cloud platform system based on edge calculation and method thereof |
Non-Patent Citations (1)
Title |
---|
郭晓晗: ""基于车联网V2I与视频融合的港口集装箱卡车碰撞危险辨识方法研究"", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, no. 4, 15 April 2024 (2024-04-15), pages 034 - 1049 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119229660A (en) * | 2024-12-04 | 2024-12-31 | 南京智慧交通信息股份有限公司 | A vehicle-road coordinated dispatching method and system between a bus and a platform |
Also Published As
Publication number | Publication date |
---|---|
CN118840242B (en) | 2025-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107330547B (en) | Urban public transport dynamic scheduling optimization method and system | |
CN108364494B (en) | Intelligent road traffic management method, system and platform | |
CN106846863B (en) | Accident black spot warning system and method based on augmented reality and cloud intelligent decision | |
CN113194138B (en) | Travel management method and system based on AI deep learning | |
US20200334979A1 (en) | Predictive, integrated and intelligent system for control of times in traffic lights | |
CN114390079A (en) | Smart city public place management method and Internet of things system | |
CN112071061A (en) | Vehicle service system based on cloud computing and data analysis | |
CN106297340A (en) | A kind of driving vehicle pre-warning system for monitoring and method | |
CN107564310A (en) | A kind of bus or train route interacted system and method based on the processing of Traffic Information cloud | |
CN104021605A (en) | Real-time statistics system and method for public transport passenger flow | |
CN111653092A (en) | Bus route is wisdom public transit management monitored control system in coordination | |
CN114693495B (en) | Smart city public traffic management method, Internet of things system, device and medium | |
CN108597222B (en) | A method, device and system for predicting bus arrival time based on vehicle-road coordination | |
CN118840242A (en) | Multi-mode edge cloud road data collaborative driving decision system and method based on double visual angles | |
CN112270834A (en) | Vehicle-road-people running method and system applied to 5G intelligent transportation means | |
CN114446076B (en) | Intelligent scheduling control system based on 5G communication technology | |
CN117371596A (en) | Public transport comprehensive regulation and control system for smart city based on multi-source data | |
CN109035867A (en) | A kind of device that can improve traffic safety and traffic efficiency | |
CN114743401A (en) | A data visualization bus dispatch management platform based on digital transformation of public transport | |
CN118609375B (en) | Intelligent parking management method and system based on Internet of things | |
CN116258290A (en) | Wisdom trip system based on big data | |
CN114882700A (en) | Accurate bus implementation mode based on V2X bus route cooperation | |
CN104183150B (en) | Vehicle-mounted monomer road traffic state discriminating gear and method | |
CN117592788B (en) | A method and device for identifying public transportation operation risks | |
CN114662912A (en) | Intelligent bus operation service platform based on bus digital transformation |
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 |