检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:魏洋 彭宇飞 蒋文燕 WEI Yang;PENG Yufei;JIANG Wenyan
出 处:《铁道通信信号》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.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.147