计算机科学 ›› 2011, Vol. 38 ›› Issue (Z10): 376-379.

• 无线网络与通信技术 • 上一篇    下一篇

一种基于UMTS核心网的定时器实现方案

郜林,王荃   

  1. (天津财经大学理工学院电子信息科学系 天津 300222)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Timer Realization Based on UMTS Core Network

GAO Lin , WANG Quan   

  • Online:2018-11-16 Published:2018-11-16

摘要: 针对UMTS核心网呼叫连接协议的实现,提出了一种软件定时器的实现方案。该方案以WinCE实时嵌入式系统作为开发环境,采用单链表队列和相对时间项方式的定时器数据结构,基于时间相对算法建立了定时器单一线程和插入、删除程序,以实现协议所规定的多定时器逻辑功能。在嵌入式系统编程过程中,运用互斥量机制完成定时器线程与插入、删除程序的通信同步;运用堆管理机制完成系统内存的动态分配与释放。对该方案的主要技术和实现结构作了论述,并给出了关键代码;还对UMTS协议结构和WinCE相关机制作了分析。实验表明,该设计方案具有编程效率高、实时性能好和系统开销小的特点,适合基于嵌入式系统的通信协议定时器编程。

关键词: 定时器,链表队列,相对时间,核心网,WinCE

Abstract: To implement the call connection protocol of UMTS core network, a timer design was proposed by the way of software, developed and researched in the environment of WinCE real-time embedded system. Based on relative time algorithm proposed, the timer program, which data structure is constructed by single linked list and relative time item,creates a single time thread and insertion/deletion functions to realize the multiple-timer logic regulated by UMTS protocol. In the embedded system programming, we applied mutex method to implement the synchronization in communicalion between the timer thread and insertion/deletion functions, and adopted heap management method to realize the dynamic allocation and release of memory. The paper discussed the technique and the structure of the plan with key code and analysed the relative WinCE mechanisms and UMTS protocols. Experiments prove that the design, which has the qualities of low hardware occupation and high program efficiency, with good real time ability, is suitable for timer programming in communication protocols based on embedded system.

Key words: Timer,Link queue,Relative time,Core network,WinCE

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!