ATC中一种基于OCI的数据库访问接口  被引量:1

A Kind of Database Access Interface Based on OCI in ATC

在线阅读下载全文

作  者:肖启战[1] 胡术[2] 李娜娜[1] 杨红雨[2] 

机构地区:[1]四川大学计算机学院,四川省成都市610065 [2]四川大学图形图像研究所,四川省成都市610064

出  处:《微计算机信息》2009年第12期177-179,共3页Control & Automation

基  金:基金申请人:胡术杨红雨;项目名称:新型管制自动化系统核心技术;基金颁发部门:中华人民共和国科学技术部(2006AA12A104)

摘  要:设计并实现了一种基于OCI的数据库访问接口。接口中为解决空管系统程序访问Oracle数据库服务器时因网线断掉或数据库服务器宕机时程序无法检测的问题,提出了利用多线程技术和UNIX时钟信号两种方式的解决方案,从而解决了数据库连接长时间阻塞问题。详细描述了数据库访问接口的设计和实现。最后通过仿真实验验证了该数据库访问接口较好的应用效果。Design and Implement a kind of database access interface based on OCI. To solve the problem caused by the program can not detect the situation when the net wire is pulled out or the database server is down while the database accessing in processing in ATC system the solution based on multithread and UNIX alarm signal was presented in the interface. By appling this solution, long time blocking of database connection problem was figured out. the design and Implement of Database Access Interface was particular described in this paper. Finally, a set of emulational experimentation was given to test the appliance effect about the database access interface.

关 键 词:空管系统 多线程 长时间阻塞 ORACLE调用接口 

分 类 号:TP302[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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