基于Reactor模型的列车车载安全计算机网络通信系统优化研究  

Study on Optimizing Network Communication System for Trainborne Vital Computer Based on Reactor Model

在线阅读下载全文

作  者:魏洋 彭宇飞 蒋文燕 WEI Yang;PENG Yufei;JIANG Wenyan

机构地区:[1]卡斯柯信号有限公司,成都610036

出  处:《铁道通信信号》2024年第8期1-8,共8页Railway Signalling & Communication

基  金:卡斯柯信号有限公司课题(RA_98121036)。

摘  要:为满足列车网络数据传输的高实时性要求,探讨从车载安全计算机网络通信系统软件层面对数据传输的实时性进行优化。基于Reactor模型,利用操作系统的I/O多路复用机制,将车载安全计算机网络通信系统中的I/O事件、定时事件、信号事件的调用接口进行融合统一,简化应用层调用的复杂度;使用带有优先级的事件队列存储已激活事件,根据已激活事件的优先级动态调整线程池中工作线程的优先级,利用强实时操作系统的任务优先级抢占调度策略保证高优先级事件被优先执行;设计一种线程池水位动态扩容机制,保证高优先级事件始终被优先处理,避免出现事件优先级反转;设计一种线程池水位动态减少机制,高效管理线程池容量,避免出现线程池容量偏大浪费系统资源,或线程池容量偏小导致增加重复创建线程开销。To meet the high real-time requirements of data transmission in train network communication,the optimization of real-time performance of data transmission is discussed from the perspective of software for the trainborne vital computer network communication system.Based on the Reactor model and utilizing the I/O multiplexing mechanism of the operating system,the invocation interfaces of I/O events,timer events,and signal events in the trainborne vital computer network communication system are integrated and unified to reduce the complexity of application layer invocation.An event queue with priorities is used to store activated events,and a thread pool is employed to concurrently process activated events.The thread pool dynamically adjusts the priority of working threads based on the priority of activated events,fully utilizing the preemptive scheduling strategy of a real-time operating system to ensure that high-priority events are executed first.A dynamic thread pool expansion mechanism is designed to ensure that high-priority events are always processed firstly,avoiding event priority inversion.Additionally,a dynamic thread pool reduction mechanism is proposed for efficient management of thread pool capacity,preventing system resources wastage due to an oversized thread pool or increased overhead from repeatedly creating threads caused by an undersized thread pool capacity.

关 键 词:Reactor模型 车载安全计算机 网络通信系统 I/O多路复用 线程池 事件优先级 时间敏感网络 

分 类 号:U270.382[机械工程—车辆工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象