数据库访问的三层结构研究硕士学位论文学士学位论文.doc
《数据库访问的三层结构研究硕士学位论文学士学位论文.doc》由会员分享,可在线阅读,更多相关《数据库访问的三层结构研究硕士学位论文学士学位论文.doc(79页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、分类号 TP311 学校代号 10561 UDC 密级 学 号 200320100905 硕士学位论文数据库访问的三层结构研究 华南理工大学学位论文基于MES的立德粉质量管理信息系统的研究指导老师: 自动化科学与工程学院 申请学位级别:工学硕士专业名称:模式识别与智能系统论文提交日期: 论文答辩日期:学位授予单位和日期: 华南理工大学答辩委员会主席: 论文评阅人: 华南理工大学学位论文原创性声明本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。对本文的研究做出重要贡献的个人和集体
2、,均已在文中以明确方式标明。本人完全意识到本声明的法律后果由本人承担。作者签名: 日期: 年 月 日学位论文版权使用授权书本学位论文作者完全了解学校有关保留、使用学位论文的规定,即:研究生在校攻读学位期间论文工作的知识产权单位属华南理工大学。学校有权保存并向国家有关部门或机构送交论文的复印件和电子版,允许学位论文被查阅(除在保密期内的保密论文外);学校可以公布学位论文的全部或部分内容,可以允许采用影印、缩印或其它复制手段保存、汇编学位论文。本人电子文档的内容和纸质论文的内容相一致。本学位论文属于:保密,在 年解密后适用本授权书。不保密。学位论文全文电子版提交后:同意在校园网上发布,供校内师生和
3、与学校有共享协议的单位浏览。(请在以上相应方框内打“”)本人签名: 日期: 导师签名: 日期: 目录目录摘要IABSTRACTII第一章分析整理表格11.1对公司现用表格存在问题11.2公司的生产背景11.2.1 PTC起动器的简介和生产流程图:11.2.2 保护器的简介和生产流程图:21.3表格分析的过程31.4典型表格的分析及设计41.4.1PTC元件检验记录表41.4.2温调工序生产日报表:61.4.3零件二班成型工序生产日报表71.5本章小结9第二章数据访问的三层结构及相关工具的概述102.1数据访问的三层结构概述102.1.1上层用户端102.1.2中间层数据访问102.1.3底层数
4、据层112.2 Visual Basic 6.0概述及运用112.2.1 Visual Basic的特点112.2.2 Visual Basic的程序调试112.3 Microsoft SQL Server7.0概述及运用132.3.1Microsoft SQL Server的结构原理132.3.2Microsoft SQL Server7.0中常用的两个管理工具:142.4Visual SourceSafe 6.0(VSS)概述152.5本章小结16第三章上层用户端173.1 VB的窗体模块(文件扩展名为.Frm)173.1.1窗体的加载与卸载过程173.1.2Form的程序修改173.2函
5、数MsgBox193.3ActiveX控件203.3.1 ActiveX控件的概述203.3.2几个重要控件的介绍及相关程序修改203.3.3第二类表主要控件及程序修改273.3.4第三类表主要控件及程序修改293.3.5第四类表主要控件及程序修改363.4总结解决技巧373.4.1使用MSDN Library查阅器373.4.2利用原有控件、动态连接373.4.3利用Visual Basic 6.0的程序调试工具373.5本章小结37第四章中间层数据访问384.1下部数据库访问技术384.1.1ODBC数据库访问384.1.2ADO数据访问技术394.1.3动态链接库DLL394.2上部用户
6、端交接424.2.1数据库控件(ADO)424.2.2类模块的数据操作规则:434.3本章小结50第五章 底层数据库515.1数据库的基本概念515.1.1数据库的三个重要术语:515.1.2数据库系统的特征:515.1.3数据模型的概念:515.1.4关系模型的基本概念:525.2数据库管理系统的结构525.3支持自定义业务的统一数据库结构535.3.1统一数据库结构的描述:535.4统一数据库结构的运用步骤:555.4.1取得数据管理对象、指标、指标组ID :555.4.2修改Visual Basic 中对应的管理对象、指标、指标组ID常量:585.4.3通过SQL实现对数据库的操作:59
7、5.5本章小结68第六章 结束语696.1数据访问过程小结696.1.1表格的取数步骤696.1.2表格的保存数据步骤696.2目前工作的总结696.3进一步的工作70卓虹的论文初稿摘要摘要本文所论述的是由华南理工大学、广州静远科技开发有限公司和万宝冷机集团广州电器有限公司合作开发的“生产过程统一信息资源,数据可视化管理系统”项目。在现场调研时,发现整个生产流程都涉及到表格的填写、处理。如:每个工序都要填写相关的日报表以反映当天生产产品的数量;质检部要填写检验记录表以反映以反映产品的及格情况。表格起到了联系各个部门,反映各个部门工作情况的作用。表格的使用是该公司实现生产管理的手段。因此,本文的
8、重点研究的是:如何使用户在网页上以表格的形式实现生产数据的可视化操作(操作包括对生产数据的录入和管理等)。本文通过对公司整个生产过程及现用表格功能的分析,综合整理出四类表格。由于这四类表格所实现的功能有比较大的差别,因此程序需要修改的地方也各有不同。本文将建立在“支持自定义业务的统一数据库平台”上,使用Visual Basic6.0 SQL Sever 7.0 Visual Source Save等工具,对这四类表的制作过程作详细的介绍。把四类表格列为四个模板,在制作具体各个表格的时候,只需要分析其功能属于哪一类,即可以套用相应模板。对于程序,也只需要修改管理对象ID、指标组ID以及用户录入界
9、面即可。并且通过介绍,总结出表格的分析制作的一般规律,对于扩展表格类型,做出更多功能的表格,推广到不同生产领域的数据可视化管理系统有着重要的意义。数据库访问技术同样可应用于把数据实时采集得到的数据存储及显示。制作表格需要解决三方面问题,首先是底层数据库要在少冗余的条件下实现数据共享(使所有用户的数据都包含在数据库中)和数据的统一管理。其次是中间层数据访问要提供快速、有效的接口。最后是上层用户端的界面显示,要满足用户的需求,符合用户的操作习惯。以上问题,本文归纳为数据库访问的三层结构问题。第一章主要以万宝公司的起动器和保护器的生产为例子,介绍如何分析整理表格。第二章总体介绍数据库访问的三层结构,
10、简述相关的工具特点及在这次项目中常用的功能。第三章介绍对于上层用户如何完善整个页面的显示及表格各种功能实现。第四章详细介绍中间层数据访问技术,及相应的修改。第五章介绍底层数据库的基本概念、结构及程序的修改方法。69数据库访问的三层结构ABSTRACTThe project discussed in this paper is sponsored by South China University of Technology , Guangzhou Jingyuan Science and Technology Corporation and Guangzhou Wanbao Factory ,
11、 which is named as “Information resource which unified by the manufacture process , The visual data management system” . After investigated the locale of Guangzhou Wanbao Factory , we found the whole manufacture process referes to filling in and dealing with tables . For instance : Interrelated dail
12、y reports must be filled in by each working produre to reflect the quantity of production in that day ; The examination tables must be filled in by the department of quality examination to reflect the status of the production rate . Tables are used to connect and reflect each working status in diffe
13、rent department . The use of tables is a wonderful instrument of realizing manufacture management in Guangzhou WanBao Factory . Consequently , This paper focuses on how to make the control of the visual production data ( control : including enregister and manage manufacture data ) by relizied the fo
14、rm of tables .After investigated the whole manufacture process of factory , we can analyse and coordinate four types table . From the tables funcion , which is using at the Guangzhou WanBao Factory . Because there are many differences in this four types table , The modification of the procedure will
15、 becoming more , and the many different places must be changed . This paper base in “ Unified database plat form which supports self-defined operationi work-flow “ , use tools of Visual Basic6.0 , SQL Sever 7.0 and Visual Source Save . Than introudce the process of cteation tables in detail . Class
16、into four moulding board . When creating other tables , we may only analyse which moulding board the function of table belongs to , and than apply mechanically the correspondence moulding board . To the program , we may only modify the Manage Class Identity Id , Indices Group IdentityId and user Inp
17、ut Interface . Through the introduction ,summarize the orderliness of analysing and creatin tables , It made an basilic signification of expanding the type of tables , creating multifunctiongal tables , popularize the Visual Data Manage Sustem to different manufacture domain .To creat tables , must
18、solve three problems :First , the bottom layer data base , which has little redundance , realize data share , make the data of all users is contained in database and manage unified data . Second , the connecting layer can provide celerty and effective interface to access data . At last , the superfi
19、cial layer user port must satisfy the needed and the operation habit of all users .This paper reduce above three problems to one problem “ Three Layers Configuration of Accessing Database “ The chapter one introduce the background of the Wanbao Factory , which produces self-starter and protect appar
20、atus , and how to analyer and creat tables . The chapter tow tells of “ Three Layers Configuration of Accessing Database “ collectivity (Inculding the input , operation , management of production data ) , and interrelated tools . The chapter three introduce the running process of Visual Basic and th
21、e program modification of ActiveX . The chapter four details the technique of connecting layer data access and the interrelated modification . The chapter five introduce the basic conception , configuration and program modification method of bottom layer database .分析整理表格第一章 分析整理表格项目的开始应该针对公司的生产情况,从现
22、用的表格入手,然后对其进行优化处理。使表格尽可能提供详细的消息的同时减少数据录入量和用户操作步骤。1.1对公司现用表格存在问题在调研中发现,万宝公司所用的表格繁多,而且存在以下几个方面的问题:1.1.1在某些环节上会出现重复描述的现象。如:质检部对PTC元件外观进行检查后,填写了相应的表格,还必须把数据抄到起动器的检验结果报告中(PTC元件是起动器的主要组成部分)。增加了重复的工作步骤,不但减低了工作效率,还会增加出错的机会。1.1.2对于某些环节没有做出记录。如:零件成型工序生产日报表中,每人每天都要对生产零件数、油检合格数进行统计,但其实受到实际生产流程的影响,每天生产零件和油检零件的型号
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据库 访问 三层 结构 研究 硕士学位 论文 学士学位
限制150内