密级: 保密期限: 火京邦笔大学 工程硕士研究生学位论文 SIY APOSIS NW 电大 题目:应用于电网调度自动化系统的实时数据 库的设计与实现 学 号: 03R0400 姓 名: 於建林 专 亚: 软件工程 导 师: 杨文川 学 院: 软件学院 2005年5月30日
密级: 保密期限: 工程硕士研究生学位论文 珐卿谢 题目:鏖旦王电匦递廑自麴丝丕缠随塞瞳塾塑 虚煎逞盐墨塞理 学 号: 妲瑟受蓬鲤 姓 名: 趋建挂 专 业: 筮缝互猩 导 师: 堑塞脚 学 院: 塑性堂睦 2005年5月30日
独创性(或创新性)声明 本人声明所呈交的论文是本人在导师指导下进行的研究工作及取得的研究成 果。尽我所知,除了文中特别加以标注和致谢中所罗列的内容以外,论文中不包 含其他人已经发表或撰写过的研究成果,也不包含为获得北京邮电大学或其他教 育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的任何 贡献均已在论文中作了明确的说明并表示了谢意。 申请学位论文与资料若有不实之处,本人承担一切相关贵任。 本人签名:於林 日期:2n寸.61 关于论文使用授权的说明 学位论文作者完全了解北京邮电大学有关保留和使用学位论文的规定,即: 研究生在校攻读学位期间论文工作的知识产权单位属北京邮电大学,学校有权保 留并向国家有关部门或机构送交论文的复印件和磁盘,允许学位论文被查阅和借 阅:学校可以公布学位论文的全部或部分内容,可以允许采用影印、缩印或其它 复制手段保存、汇编学位论文。(保密的学位论文在解密后遵守此规定) 保密论文注释:本学位论文属于保密在年解密后适用本授权书, 本人签名於多称阳期256川 导师签名: 日期:2o文人.1川
独创性(或创新牲)声明 本人声明所星交的论文是本人在导p雨指导下进行的研究工作及取得的研究成 果。尽我所知,除了文中特另tlDn以标注和致谢中所罗列的内容以外,论文中不包 含其他入已经发表或撰写遂的研究成采,也不包含为获得jE京邮电大学或其德教 育机构的学位或证书而使用过的材料。与我~同工作的同志对本研究所做的任何 贡献均已在论文中作了明确的说明并表示了谢意。 申请学位论文与资料若有不实之处,本人承担一切相关责任。 本人签名:彪抓嘲2∞i"f 关于论文使用授权的说鼹 学位论文作者完全了解北京邮电大学有关保留秘使用学位论文的规定,即: 研究生在校攻读学位期间论文工作的知识产权单位属北京邮电大学。学校有权保 留并固国家有关部门或飒构送交论文的复El俘和磁盘,允许学位论文被查阅和借 阅;学校可以公布学位论文的全部或部分内容,可以允许采用影印、缩印或其它 复制手段保存、汇绽学彼论文。(保密的学位论文在解密后遵守此蕊定) 臻密论文注释:本学位论文属予保密在+年魍密后适用本授权书。 本人签名:方冬 翩躲伊 蜀麓:2螃。丘,,ff
应用于电网调度自动化系统的实时数据库的设计与实现 应用于电网调度自动化系统的实时数据库的设计与实现 摘要 本文介绍了当前实时数据库的发展的现状和实时数据库包含的主要内容。通 过分析说明了当前一些主流的商用实时数据库应用于电网调度自动化系统中时 存在的一些不足之处。分析了一些目前国内主流的电网调度自动化系统中使用的 实时数据库存在的一些问题,通过分析这些产品的不足和电网调度自动化系统支 撑平台的概念,设计并实现了一套适用于电网调度自动化系统并可以作为电网调 度自动化系统支撑平台的一个重要组成部分的实时数据库管理系统。 本文主要工作: 1.通过分析集中式实时数据库和分布式实时数据库存在的优缺点,提出了 集中式和分布式结构相结合的实时数据库体系结构。这种结构包含了集中式和分 布式实时数据库的优点,避免了它们缺点。集中式实时数据库和分布式实时数据 库是它特殊的两种配置情况。通过对电网调度自动化系统的数据模型的分析和研 究,首次提出了实时库、表集、表、域组、域、子域6层的实时数据库管理模式。 给出了实时数据库管理系统结构的详细设计和实现,并详细阐述了实时数据库管 理系统对共享内存的管理和实时数据在共享内存中的分布。 2.实时数据库中对记录的检索和定位直接影响到实时数据库的性能。通过 分析和研究电网调度自动化系统的数据模型和数据间的关系,提供了3种快速检 索和定位记录的方法。l.通过hash表检索和定位记录,2.通过外键建立Index 直接定位记录。3、通过循环链表定位记录。这三种方式基本上都能做到直接定 位记录,效率非常高。 3.为了便于应用程序的开发,系统提供了4种类型的访问接口。1.通用的 实时数据库访问接口。2.快速实时数据库访问接口。3.SQL语言访问接口。4.面 向对象的实时数据库访问接口。根据不同的应用场合选择合适的接口,能使实时 数据库的性能达到最大化。 该实时数据库系统已基本实现,通过测试,各项性能指标均满足要求。该系 统已经应用于电网调度自动化产品中。 关键词:电网调度自动化系统 实时数据库 表集域组子域 面向对象的数据库访问接口 第1页共64页
应用于电网调度自动化系统的实时数据库的设计与实现 应用于电网调度自动化系统的实时数据库的设计与实现 摘要 本文介绍了当前实时数据库的发展的现状和实时数据库包含的主要内容。通 过分析说明了当前一些主流的商用实时数据库应用于电网调度自动化系统中时 存在的一些不足之处。分析了一些目前国内主流的电网调度自动化系统中使用的 实时数据库存在的一些问题。通过分析这些产品的不足和电网调度自动化系统支 撑平台的概念,设计并实现了一套适用于电网调度自动化系统并可以作为电网调 度自动化系统支撑平台的一个重要组成部分的实时数据库管理系统。 本文主要工作: 1.通过分析集中式实时数据库和分布式实时数据库存在的优缺点,提出了 集中式和分布式结构相结合的实时数据库体系结构。这种结构包含了集中式和分 布式实时数据库的优点,避免了它们缺点。集中式实时数据库和分布式实时数据 库是它特殊的两种配置情况。通过对电网调度自动化系统的数据模型的分析和研 究,首次提出了实时库、表集、表、域组、域、子域6层的实时数据库管理模式。 给出了实时数据库管理系统结构的详细设计和实现,并详细阐述了实时数据库管 理系统对共享内存的管理和实时数据在共享内存中的分布。 2.实时数据库中对记录的检索和定位直接影响到实时数据库的性能。通过 分析和研究电网调度自动化系统的数据模型和数据间的关系,提供了3种快速检 索和定位记录的方法。1.通过hash表检索和定位记录。2.通过外键建立Index 直接定位记录。3、通过循环链表定位记录。这三种方式基本上都能做到直接定 位记录,效率非常高。 3.为了便于应用程序的开发,系统提供了4种类型的访问接口。1.通用的 实时数据库访问接口。2.快速实时数据库访问接口。3.SQL语言访问接口。4.面 向对象的实时数据库访问接口。根据不同的应用场合选择合适的接口,能使实时 数据库的性能达到最大化。 该实时数据库系统己基本实现,通过测试,各项性能指标均满足要求。该系 统已经应用于电网调度自动化产品中。 关键词:电网调度自动化系统 实时数据库 表集 域组 子域 面向对象的数据库访问接口 第1页共64页
应用于电网调度自动化系统的实时数据库的设计与实现 DESIGN AND IMPLEMENT ABOUT REALTIME DATABASE APPLIED IN ELECTRIC POWER NETWORK DISPATCHING AUTOMATION SYSTEM ABSTRACT This paper introduces the development status quo of realtime database and the main content of realtime database included.Explain the shortage of some commercial realtime database applied in electric power network dispatching automation system. Analyze some shortage of the realtime database which used in some mainstream electric power network dispatching automation system.Through analyzing the shortage of these products and the concept of dispatching automation system supportting platform,design and implement a realtime database management system,which can apply in electric power network dispatching automation system. Through studing the data model of electric power network dispatching automation system,first implement six layers realtime database managerment mode.The six layers include database,tableblock,table,fieldgroup,field,subfield.This paper explain the detailed design and implement of this realtime database management system,and explain the share memery management and the distribution of the realtime data in share memery. The performance of realtime database will be influenced by searching record.Trough studing the data model and the data relationship of electric power network dispatching automation system,this realtime database system provide three kinds of ways to searching records.1.Searching records through hash table.2. 第2页共64页
应用于电网调度自动化系统的实时数据库的设计与实现 DESIGNAND IMPLEMENT ABOUT REAI肛ME DA:I!ABASE APPLIED IN ELECTRIC POWER NETWORKDISI嗡TCHING AUTOM娜ON SYSTEM ABSTRACT This paper introduces the development status quo of realtime database and the main content of realtime database included.Explain the shortage of some commercial realtime database applied in electric power network dispatching automation system. Analyze some shortage of the realtime database which used in some mainstream electric power network dispatching automation system.Through analyzing the shortage of these products and the concept of dispatching automation system supportting platform,design and implement a realtime database management system,which can apply in electric power network dispatching automation system. Through studing the data model of electric power network dispatching automation system,f'nst implement six layers realtime database managerment mode.The six layers include database,tableblock,table,fieldgroup,field,subfield.This paper explain the detailed design and implement of this realtime database management system,and explain the share memery management and the distribution of the realtime data in share memery. The performance of realtime database will be influenced by searching record.Trough studing the data model and the data relationship of electric power network dispatching automation system,this realtime database system provide three kinds of ways tO searching records.1.Searching records through hash table.2. 第2页共“页
应用于电网调度自动化系统的实时数据库的设计与实现 Searching records through creating index through foreign key.3.Searching records through creating cycle list.Through these three ways to searching records,the performance is very good. In order to convenience to design application,the system provides four kinds of access interfaces.1.Common realtime database access interface.2.Quick realtime database access interface.3.SQL language access interface.4.Object-oriented realtime database access interface.Selecting right access interface can improve the performance of the realtime database management system KEY WORDS:electric power network dispatching automation system realtime database table set field group subfield object-oriented database access interface 第3页共4页
应用于电网调度自动化系统的实时数据库的设计与实现 Searching records through creating index through foreign key.3.Searching records through creating cycle list.Through these three ways to searching records,the performance is very good. In order to convenience to design application,the system provides four kinds of access interfaces.1.Common realtime database access interface.2.Quick realtime database access interface.3.SQL language access interface.4.Object.oriented realtime database access interface.Selecting right access interface Can improve the performance of the realtime database management system. KEY WORDS:electric power network dispatching automation system realtime database table set field group subfield object-oriented database access interface 第3页共64页