畢業(yè)論文外文翻譯_第1頁
畢業(yè)論文外文翻譯_第2頁
畢業(yè)論文外文翻譯_第3頁
畢業(yè)論文外文翻譯_第4頁
畢業(yè)論文外文翻譯_第5頁
已閱讀5頁,還剩11頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

西南交通大學(xué)本科畢業(yè)設(shè)計(jì)(英文翻譯)光電所圖書借閱管理系統(tǒng)年級:二〇〇七級學(xué)號:20074165姓名:王瑞華專業(yè):電子科學(xué)與技術(shù)指導(dǎo)老師:周偉二〇一一年六月西南交通大學(xué)本科畢業(yè)設(shè)計(jì)(英文翻譯)第頁DatabaseManagementSystemsAdatabase(sometimesspelleddatabase)isalsocalledanelectronicdatabase,referringtoanycollectionofdata,orinformation,thatisspeciallyorganizedforrapidsearchandretrievalbyacomputer.Databasesarestructuredtofacilitatethestorage,retrieval,modification,anddeletionofdatainconjunctionwithvariousdata-processingoperations.Databasescanbestoredonmagneticdiskortape,opticaldisk,orsomeothersecondarystoragedevice.Adatabaseconsistsofafileorasetoffiles.Theinformationinthesefilesmaybebrokendownintorecords,eachofwhichconsistsofoneormorefields.Fieldsarethebasicunitsofdatastorage,andeachfieldtypicallycontainsinformationpertainingtooneaspectorattributeoftheentitydescribedbythedatabase.Usingkeywordsandvarioussortingcommands,userscanrapidlysearch,rearrange,group,andselectthefieldsinmanyrecordstoretrieveorcreatereportsonparticularaggregateofdata.Complexdatarelationshipsandlinkagesmaybefoundinallbutthesimplestdatabases.Thesystemsoftwarepackagethathandlesthedifficulttasksassociatedwithcreating,accessing,andmaintainingdatabaserecordsiscalledadatabasemanagementsystem(DBMS).TheprogramsinaDBMSpackageestablishaninterfacebetweenthedatabaseitselfandtheusersofthedatabase..(Theseusersmaybeapplicationsprogrammers,managersandotherswithinformationneeds,andvariousOSprograms.)ADBMScanorganize,process,andpresentselecteddataelementsformthedatabase.Thiscapabilityenablesdecisionmakerstosearch,probe,andquerydatabasecontentsinordertoextractanswerstononrecurringandunplannedquestionsthataren’tavailableinregularreports.Thesequestionsmightinitiallybevagueand/orpoorlydefined,butpeoplecan“browse”throughthedatabaseuntiltheyhavetheneededinformation.Inshort,theDBMSwill“manage”thestoreddataitemsandassembletheneededitemsfromthecommondatabaseinresponsetothequeriesofthosewhoaren’tprogrammers.Adatabasemanagementsystem(DBMS)iscomposedofthreemajorparts:(1)astoragesubsystemthatstoresandretrievesdatainfiles;(2)amodelingandmanipulationsubsystemthatprovidesthemeanswithwhichtoorganizethedataandtoadd,delete,maintain,andupdatethedata;(3)andaninterfacebetweentheDBMSanditsusers.Severalmajortrendsareemergingthatenhancethevalueandusefulnessofdatabasemanagementsystems;Managers:whorequiremoreup-to-datainformationtomakeeffectivedecisionCustomers:whodemandincreasinglysophisticatedinformationservicesandmorecurrentinformationaboutthestatusoftheirorders,invoices,andaccounts.Users:whofindthattheycandevelopcustomapplicationswithdatabasesystemsinafractionofthetimeittakestousetraditionalprogramminglanguages.Organizations:thatdiscoverinformationhasastrategicvalue;theyutilizetheirdatabasesystemstogainanedgeovertheircompetitors.TheDatabaseModelAdatamodeldescribesawaytostructureandmanipulatethedatainadatabase.Thestructuralpartofthemodelspecifieshowdatashouldberepresented(suchastree,tables,andsoon).Themanipulativepartofthemodelspecifiestheoperationwithwhichtoadd,delete,display,maintain,print,search,select,sortandupdatethedata.HierarchicalModelThefirstdatabasemanagementsystemsusedahierarchicalmodel-thatis-theyarrangedrecordsintoatreestructure.Somerecordsarerootrecordsandallothershaveuniqueparentrecords.Thestructureofthetreeisdesignedtoreflecttheorderinwhichthedatawillbeusedthatis,therecordattherootofatreewillbeaccessedfirst,thenrecordsonelevelbelowtheroot,andsoon.Thehierarchicalmodelwasdevelopedbecausehierarchicalrelationshipsarecommonlyfoundinbusinessapplications.Asyouhaveknown,anorganizationcharoftendescribesahierarchicalrelationship:topmanagementisatthehighestlevel,middlemanagementatlowerlevels,andoperationalemployeesatthelowestlevels.Notethatwithinastricthierarchy,eachlevelofmanagementmayhavemanyemployeesorlevelsofemployeesbeneathit,buteachemployeehasonlyonemanager.Hierarchicaldataarecharacterizedbythisone-to-manyrelationshipamongdata.Inthehierarchicalapproach,eachrelationshipmustbeexplicitlydefinedwhenthedatabaseiscreated.Eachrecordinahierarchicaldatabasecancontainonlyonekeyfieldandonlyonerelationshipisallowedbetweenanytwofields.Thiscancreateaproblembecausedatadonotalwaysconformtosuchastricthierarchy.RelationalModelAmajorbreakthroughindatabaseresearchoccurredin1970whenE.F.Coddproposedafundamentallydifferentapproachtodatabasemanagementcalledrelationalmodel,whichusesatableasitsdatastructure.Therelationaldatabaseisthemostwidelyuseddatabasestructure.Dataisorganizedintorelatedtables.Eachtableismadeupofrowscalledandcolumnscalledfields.Eachrecordcontainsfieldsofdataaboutsomespecificitem.Forexample,inatablecontaininginformationonemployees,arecordwouldcontainfieldsofdatasuchasaperson’slastname,firstname,andstreetaddress.Structuredquerylanguage(SQL)isaquerylanguageformanipulatingdatainarelationaldatabase.Itisnonproceduralordeclarative,inwhichtheuserneedonlyspecifyanEnglish-likedescriptionthatspecifiestheoperationandthedescribedrecordorcombinationofrecords.Aqueryoptimizertranslatesthedescriptionintoaproceduretoperformthedatabasemanipulation.NetworkModelThenetworkmodelcreatesrelationshipsamongdatathroughalinked-liststructureinwhichsubordinaterecordscanbelinkedtomorethanoneparentrecord.Thisapproachcombinesrecordswithlinks,whicharecalledpointers.Thepointersareaddressesthatindicatethelocationofarecord.Withthenetworkapproach,asubordinaterecordcanbelinkedtoakeyrecordandatthesametimeitselfbeakeyrecordlinkedtoothersetsofsubordinaterecords.Thenetworkmodehistoricallyhashadaperformanceadvantageoverotherdatabasemodels.Today,suchperformancecharacteristicsareonlyimportantinhigh-volume,high-speedtransactionprocessingsuchasautomatictellermachinenetworksorairlinereservationsystem.Bothhierarchicalandnetworkdatabasesareapplicationspecific.Ifanewapplicationisdeveloped,maintainingtheconsistencyofdatabasesindifferentapplicationscanbeverydifficult.Forexample,supposeanewpensionapplicationisdeveloped.Thedataarethesame,butanewdatabasemustbecreated.ObjectModelThenewestapproachtodatabasemanagementusesanobjectmodel,inwhichrecordsarerepresentedbyentitiescalledobjectsthatcanbothstoredataandprovidemethodsorprocedurestoperformspecifictasks.Thequerylanguageusedfortheobjectmodelisthesameobject-orientedprogramminglanguageusedtodevelopthedatabaseapplication.Thiscancreateproblemsbecausethereisnosimple,uniformquerylanguagesuchasSQL.Theobjectmodelisrelativelynew,andonlyafewexamplesofobject-orienteddatabaseexist.Ithasattractedattentionbecausedeveloperswhochooseanobject-orientedprogramminglanguagewantadatabasebasedonanobject-orientedmodel.DistributedDatabaseSimilarly,adistributeddatabaseisoneinwhichdifferentpartsofthedatabaseresideonphysicallyseparatedcomputers.Onegoalofdistributeddatabasesistheaccessofinformationwithoutregardtowherethedatamightbestored.Keepinginmindthatoncetheusersandtheirdataareseparated,thecommunicationandnetworkingconceptscomeintoplay.Distributeddatabasesrequiresoftwarethatresidespartiallyinthelargercomputer.Thissoftwarebridgesthegapbetweenpersonalandlargecomputersandresolvestheproblemsofincompatibledataformats.Ideally,itwouldmakethemainframedatabasesappeartobelargelibrariesofinformation,withmostoftheprocessingaccomplishedonthepersonalcomputer.Adrawbacktosomedistributedsystemsisthattheyareoftenbasedonwhatiscalledamainframe-entiremodel,inwhichthelargerhostcomputerisseenasthemasterandtheterminalorpersonalcomputerisseenasaslave.Therearesomeadvantagestothisapproach.Withdatabasesundercentralizedcontrol,manyoftheproblemsofdataintegritythatwementionedearlieraresolved.Buttoday’spersonalcomputers,departmentalcomputers,anddistributedprocessingrequirecomputersandtheirapplicationstocommunicatewitheachotheronamoreequalorpeer-to-peerbasis.Inadatabase,theclient/servermodelprovidestheframeworkfordistributingdatabases.Onewaytotakeadvantageofmanyconnectedcomputersrunningdatabaseapplicationsistodistributetheapplicationintocooperatingpartsthatareindependentofoneanther.Aclientisanenduserorcomputerprogramthatrequestsresourcesacrossanetwork.Aserverisacomputerrunningsoftwarethatfulfillsthoserequestsacrossanetwork.Whentheresourcesaredatainadatabase,theclient/servermodelprovidestheframeworkfordistributingdatabase.Afileserveissoftwarethatprovidesaccesstofilesacrossanetwork.Adedicatedfileserverisasinglecomputerdedicatedtobeingafileserver.Thisisuseful,forexample,ifthefilesarelargeandrequirefastaccess.Insuchcases,aminicomputerormainframewouldbeusedasafileserver.Adistributedfileserverspreadsthefilesaroundonindividualcomputersinsteadofplacingthemononededicatedcomputer.Advantagesofthelatterserverincludetheabilitytostoreandretrievefilesonothercomputersandtheeliminationofduplicatefilesoneachcomputer.Amajordisadvantage,however,isthatindividualread/writerequestsarebeingmovedacrossthenetworkandproblemscanarisewhenupdatingfiles.Supposeauserrequestsarecordfromafileandchangesitwhileanotheruserrequeststhesamerecordandchangesittoo.Thesolutiontothisproblemscalledrecordlocking,whichmeansthatthefirstrequestmakesothersrequestswaituntilthefirstrequestissatisfied.Otherusersmaybeabletoreadtherecord,buttheywillnotbeabletochangeit.Adatabaseserverissoftwarethatservicesrequeststoadatabaseacrossanetwork.Forexample,supposeausertypesinaqueryfordataonhisorherpersonalcomputer.Iftheapplicationisdesignedwiththeclient/servermodelinmind,thequerylanguagepartonthepersonalcomputersimplesendsthequeryacrossthenetworktothedatabaseserverandrequeststobenotifiedwhenthedataarefound.Examplesofdistributeddatabasesystemscanbefoundintheengineeringworld.Sun’sNetworkFilingSystem(NFS),forexample,isusedincomputer-aidedengineeringapplicationstodistributedataamongtheharddisksinanetworkofSunworkstation.Distributingdatabasesisanevolutionarystepbecauseitislogicalthatdatashouldexistatthelocationwheretheyarebeingused.Departmentalcomputerswithinalargecorporation,forexample,shouldhavedataresidelocally,yetthosedatashouldbeaccessiblebyauthorizedcorporatemanagementwhentheywanttoconsolidatedepartmentaldata.DBMSsoftwarewillprotectthesecurityandintegrityofthedatabase,andthedistributeddatabasewillappeartoitsusersasnodifferentfromthenon-distributeddatabase.Inthisinformationage,thedataserverhasbecometheheartofacompany.Thisonepieceofsoftwarecontrolstherhythmofmostorganizationsandisusedtopumpinformationlifebloodthroughthearteriesofthenetwork.Becauseofthecriticalnatureofthisapplication,thedataserverisalsotheoneofthemostpopulartargetsforhackers.Ifahackerownsthisapplication,hecancausethecompany's"heart"tosufferafatalarrest.Ironically,althoughmostusersarenowawareofhackers,theystilldonotrealizehowsusceptibletheirdatabaseserversaretohackattacks.Thus,thisarticlepresentsadescriptionoftheprimarymethodsofattackingdatabaseservers(alsoknownasSQLservers)andshowsyouhowtoprotectyourselffromtheseattacks.Youshouldnotethisinformationisnotnew.ManytechnicalwhitepapersgointogreatdetailabouthowtoperformSQLattacks,andnumerousvulnerabilitieshavebeenpostedtosecurityliststhatdescribeexactlyhowcertaindatabaseapplicationscanbeexploited.Thisarticlewaswrittenforthecuriousnon-SQLexpertswhodonotcaretoknowthedetails,andasareviewtothosewhodouseSQLregularly.WhatIsaSQLServer?Adatabaseapplicationisaprogramthatprovidesclientswithaccesstodata.Therearemanyvariationsofthistypeofapplication,rangingfromtheexpensiveenterprise-levelMicrosoftSQLServertothefreeandopensourcemySQL.Regardlessoftheflavor,mostdatabaseserverapplicationshaveseveralthingsincommon.First,databaseapplicationsusethesamegeneralprogramminglanguageknownasSQL,orStructuredQueryLanguage.Thislanguage,alsoknownasafourth-levellanguageduetoitssimplisticsyntax,isatthecoreofhowaclientcommunicatesitsrequeststotheserver.UsingSQLinitssimplestform,aprogrammercanselect,add,update,anddeleteinformationinadatabase.However,SQLcanalsobeusedtocreateanddesignentiredatabases,performvariousfunctionsonthereturnedinformation,andevenexecuteotherprograms.ToillustratehowSQLcanbeused,thefollowingisanexampleofasimplestandardSQLqueryandamorepowerfulSQLquery:Simple:"Select*fromdbFurniture.tblChair"ThisreturnsallinformationinthetabletblChairfromthedatabasedbFurniture.Complex:"EXECmaster..xp_cmdshell'dirc:\'"ThisshortSQLcommandreturnstotheclientthelistoffilesandfoldersunderthec:\directoryoftheSQLserver.NotethatthisexampleusesanextendedstoredprocedurethatisexclusivetoMSSQLServer.Thesecondfunctionthatdatabaseserverapplicationsshareisthattheyallrequiresomeformofauthenticatedconnectionbetweenclientandhost.AlthoughtheSQLlanguageisfairlyeasytouse,atleastinitsbasicform,anyclientthatwantstoperformqueriesmustfirstprovidesomeformofcredentialsthatwillauthorizetheclient;theclientalsomustdefinetheformatoftherequestandresponse.Thisconnectionisdefinedbyseveralattributes,dependingontherelativelocationoftheclientandwhatoperatingsystemsareinuse.WecouldspendawholearticlediscussingvarioustechnologiessuchasDSNconnections,DSN-lessconnections,RDO,ADO,andmore,butthesesubjectsareoutsidethescopeofthisarticle.Ifyouwanttolearnmoreaboutthem,alittleGoogle'ingwillprovideyouwithmorethanenoughinformation.However,thefollowingisalistofthemorecommonitemsincludedinaconnectionrequest.DatabasesourceRequesttypeDatabaseUserIDPasswordBeforeanyconnectioncanbemade,theclientmustdefinewhattypeofdatabaseserveritisconnectingto.Thisishandledbyasoftwarecomponentthatprovidestheclientwiththeinstructionsneededtocreatetherequestinthecorrectformat.Inadditiontothetypeofdatabase,therequesttypecanbeusedtofurtherdefinehowtheclient'srequestwillbehandledbytheserver.Nextcomesthedatabasenameandfinallytheauthenticationinformation.Alltheconnectioninformationisimportant,butbyfartheweakestlinkistheauthenticationinformation—orlackthereof.Inaproperlymanagedserver,eachdatabasehasitsownuserswithspecificallydesignatedpermissionsthatcontrolwhattypeofactivitytheycanperform.Forexample,auseraccountwouldbesetupasreadonlyforapplicationsthatneedtoonlyaccessinformation.Anotheraccountshouldbeusedforinsertsorupdates,andmaybeevenathirdaccountwouldbeusedfordeletes.Thistypeofaccountcontrolensuresthatanycompromisedaccountislimitedinfunctionality.Unfortunately,manydatabaseprogramsaresetupwithnulloreasypasswords,whichleadstosuccessfulhackattacks.

數(shù)據(jù)庫管理系統(tǒng)介紹數(shù)據(jù)庫(database,有時拼作database)又稱為電子數(shù)據(jù)庫,是專門組織起來的一組數(shù)據(jù)或信息,其目的是為了便于計(jì)算機(jī)快速查詢及檢索。數(shù)據(jù)庫的結(jié)構(gòu)是專門設(shè)計(jì)的,在各種數(shù)據(jù)處理操作命令的支持下,可以簡化數(shù)據(jù)的存儲,檢索,修改和刪除。數(shù)據(jù)庫可以存儲在磁盤,磁帶,光盤或其他輔助存儲設(shè)備上。數(shù)據(jù)庫由一個或一套文件組成,其中的信息可以分解為記錄,每一記錄又包含一個或多個字段(或稱為域)。字段是數(shù)據(jù)存取的基本單位。數(shù)據(jù)庫用于描述實(shí)體,其中的一個字段通常表示與實(shí)體的某一屬性相關(guān)的信息。通過關(guān)鍵字以及各種分類(排序)命令,用戶可以對多條記錄的字段進(jìn)行查詢,重新整理,分組或選擇,以實(shí)體對某一類數(shù)據(jù)的檢索,也可以生成報(bào)表。所有數(shù)據(jù)庫(最簡單的除外)中都有復(fù)雜的數(shù)據(jù)關(guān)系及其鏈接。處理與創(chuàng)建,訪問以及維護(hù)數(shù)據(jù)庫記錄有關(guān)的復(fù)雜任務(wù)的系統(tǒng)軟件包叫做數(shù)據(jù)庫管理系統(tǒng)(DBMS)。DBMS軟件包中的程序在數(shù)據(jù)庫與其用戶間建立接口。(這些用戶可以是應(yīng)用程序員,管理員及其他需要信息的人員和各種操作系統(tǒng)程序)。DBMS可組織,處理和表示從數(shù)據(jù)庫中選出的數(shù)據(jù)元。該功能使決策者能搜索,探查和查詢數(shù)據(jù)庫的內(nèi)容,從而對在正規(guī)報(bào)告中沒有的,不再出現(xiàn)的且無法預(yù)料的問題做出回答。這些問題最初可能是模糊的并且(或者)是定義不恰當(dāng)?shù)?,但是人們可以瀏覽數(shù)據(jù)庫直到獲得所需的信息。簡言之,DBMS將“管理”存儲的數(shù)據(jù)項(xiàng),并從公共數(shù)據(jù)庫中匯集所需的數(shù)據(jù)項(xiàng)以回答非程序員的詢問。DBMS由3個主要部分組成:(1)存儲子系統(tǒng),用來存儲和檢索文件中的數(shù)據(jù);(2)建模和操作子系統(tǒng),提供組織數(shù)據(jù)以及添加,刪除,維護(hù),更新數(shù)據(jù)的方法;(3)用戶和DBMS之間的接口。在提高數(shù)據(jù)庫管理系統(tǒng)的價(jià)值和有效性方面正在展現(xiàn)以下一些重要發(fā)展趨勢;1.管理人員需要最新的信息以做出有效的決策。2.客戶需要越來越復(fù)雜的信息服務(wù)以及更多的有關(guān)其訂單,發(fā)票和賬號的當(dāng)前信息。3.用戶發(fā)現(xiàn)他們可以使用傳統(tǒng)的程序設(shè)計(jì)語言,在很短的一段時間內(nèi)用數(shù)據(jù)庫系統(tǒng)開發(fā)客戶應(yīng)用程序。4.商業(yè)公司發(fā)現(xiàn)了信息的戰(zhàn)略價(jià)值,他們利用數(shù)據(jù)庫系統(tǒng)領(lǐng)先于競爭對手。數(shù)據(jù)庫模型數(shù)據(jù)庫模型描述了在數(shù)據(jù)庫中結(jié)構(gòu)化和操縱數(shù)據(jù)的方法,模型的結(jié)構(gòu)部分規(guī)定了數(shù)據(jù)如何被描述(例如樹,表等):模型的操縱部分規(guī)定了數(shù)據(jù)添加,刪除,顯示,維護(hù),打印,查找,選擇,排序和更新等操作。分層模型第一個數(shù)據(jù)庫管理系統(tǒng)使用的是分層模型,也就是說,將數(shù)據(jù)記錄排列成樹形結(jié)構(gòu)。一些記錄時根目錄,在其他所有記錄都有獨(dú)立的父記錄。樹形結(jié)構(gòu)的設(shè)計(jì)反映了數(shù)據(jù)被使用的順序,也就是首先訪問處于樹根位置的記錄,接下來是跟下面的記錄,等等。分層模型的開發(fā)是因?yàn)榉謱雨P(guān)系在商業(yè)應(yīng)用中普遍存在,眾所周知,一個組織結(jié)構(gòu)圖表就描述了一種分層關(guān)系:高層管理人員在最高層,中層管理人員在較低的層次,負(fù)責(zé)具體事務(wù)的雇員在最底層。值得注意的是,在一個嚴(yán)格的分層結(jié)構(gòu)體系中,在每個管理層下可能有多個雇員或多個層次的雇員,但每個雇員只有一個管理者。分層結(jié)構(gòu)數(shù)據(jù)的典型特征是數(shù)據(jù)之間的一對多關(guān)系。在分層方法中,當(dāng)數(shù)據(jù)庫建立時,每一關(guān)系即被明確地定義。在分層數(shù)據(jù)庫中的每一記錄只能包含一個關(guān)鍵字段,任意兩個字段之間只能有一種關(guān)系。由于數(shù)據(jù)并不總是遵循這種嚴(yán)格的分層關(guān)系,所以這樣可能會出現(xiàn)一些問題。關(guān)系模型在1970年,數(shù)據(jù)庫研究取得了重大突破。E.F.Codd提出了一種截然不同的數(shù)據(jù)庫管理方法,使用表作為數(shù)據(jù)結(jié)構(gòu),稱之為關(guān)系模型.關(guān)系數(shù)據(jù)庫是使用最廣的數(shù)據(jù)結(jié)構(gòu),數(shù)據(jù)被組織成關(guān)系表,每個表由稱作記錄的行和稱作字段的列組成。每個記錄包含了專用項(xiàng)目的字段值。例如,在一個包含雇員信息的表中,一個記錄包含了像一個人姓名和地址這樣的字段的值。結(jié)構(gòu)化查詢語言(SQL)是一種在關(guān)系型數(shù)據(jù)庫中用于處理數(shù)據(jù)的查詢語言。它是非過程化語言或者說是描述性的,用戶只須指定一種類似于英語的描述,用來確定操作,記錄或描述記錄組合。查詢優(yōu)化器將這種描述翻譯為過程執(zhí)行數(shù)據(jù)庫操作。網(wǎng)狀模型網(wǎng)狀模型在數(shù)據(jù)之間通過鏈接表結(jié)構(gòu)創(chuàng)建關(guān)系,子記錄可以鏈接到多個父記錄。這種將記錄和鏈接捆綁到一起的方法叫做指針,他是指向一個記錄存儲位置的存儲地址。使用網(wǎng)狀方法,一個子記錄可以鏈接到一個關(guān)鍵記錄,同時,它本身也可以作為一個關(guān)鍵記錄。鏈接到其他一系列子記錄。在早期,網(wǎng)狀模型比其他模型更有性能優(yōu)勢;但是在今天,這種優(yōu)勢的特點(diǎn)只有在自動柜員機(jī)網(wǎng)絡(luò),航空預(yù)定系統(tǒng)等大容量和高速處理過程中才是最重要的。分層和網(wǎng)狀數(shù)據(jù)庫都是專用程序,如果開發(fā)一個新的應(yīng)用程序,那么在不同的應(yīng)用程序中保持?jǐn)?shù)據(jù)庫的一致性是非常困難的。例如開發(fā)一個退休金程序,需要訪問雇員數(shù)據(jù),這一數(shù)據(jù)同時也被工資單程序訪問。雖然數(shù)據(jù)是相同的,但是也必須建立新的數(shù)據(jù)庫。對象模型最新的數(shù)據(jù)庫管理方法是使用對象模型,記錄由被稱作對象的實(shí)體來描述,可以在對象中存儲數(shù)據(jù),同時提供方法或程序執(zhí)行特定的任務(wù)。對象模型使用的查詢語言與開發(fā)數(shù)據(jù)庫程序所使用的面向?qū)ο蟮某绦蛟O(shè)計(jì)語言是相同的,因?yàn)闆]有像SQL這樣簡單統(tǒng)一的查詢語言,所以會產(chǎn)生一些問題。對象模型相對較新,僅有少數(shù)幾個面向?qū)ο蟮臄?shù)據(jù)庫實(shí)例。它引起了人們的關(guān)注,因?yàn)檫x擇面向?qū)ο蟪绦蛟O(shè)計(jì)語言的開發(fā)人員希望有一個基于在對象模型基礎(chǔ)上的數(shù)據(jù)庫。分布式數(shù)據(jù)庫類似的,分布式數(shù)據(jù)庫指的是數(shù)據(jù)庫的各個部分分別存儲在物理上相互分開的計(jì)算機(jī)上。分布式數(shù)據(jù)庫的一個目的是訪問數(shù)據(jù)信息時不必考慮其他位置。注意,一旦用戶和數(shù)據(jù)分開,通信和網(wǎng)絡(luò)則開始扮演重要角色。分布式數(shù)據(jù)庫需要部分常駐于大型主機(jī)上的軟件,這些軟件在大型機(jī)和個人計(jì)算機(jī)之間建立橋梁,并解決數(shù)據(jù)格式不兼容的問題。在理想情況下,大型主機(jī)上的數(shù)據(jù)庫看起來像是一個大的信息倉庫,而大部分處理則在個人計(jì)算機(jī)上完成。分布式數(shù)據(jù)庫系統(tǒng)的一個缺點(diǎn)是它們常以主機(jī)中心模型為基礎(chǔ),在這種模型中,大型主機(jī)看起來好像是雇主,而終端和個人計(jì)算機(jī)看起來好像是奴隸。但是這種方法也有許多優(yōu)點(diǎn):由于數(shù)據(jù)庫的集中控制,前面提到的數(shù)據(jù)完整性和安全性的問題就迎刃而解了。當(dāng)今的個人計(jì)算機(jī),部門級計(jì)算機(jī)和分布式處理都需要計(jì)算機(jī)之間以及應(yīng)用程序之間在相等或?qū)Φ鹊幕A(chǔ)上相互通信,在數(shù)據(jù)庫中客戶機(jī)/服務(wù)器模型為分布式數(shù)據(jù)庫提供了框架結(jié)構(gòu)。利用相互連接的計(jì)算機(jī)上運(yùn)行的數(shù)據(jù)庫應(yīng)用程序的一種方法是將程序分解為相互獨(dú)立的部分??蛻舳耸且粋€最終用戶或通過網(wǎng)絡(luò)申請資源的計(jì)算機(jī)程序,服務(wù)器是一個運(yùn)行著的計(jì)算機(jī)軟件,存儲著那些通過網(wǎng)絡(luò)傳輸?shù)纳暾?。?dāng)申請的資源是數(shù)據(jù)庫中的數(shù)據(jù)時,客戶機(jī)/服務(wù)器模型則為分布式數(shù)據(jù)庫提供了框架結(jié)構(gòu)。文件服務(wù)器指的是一個通過網(wǎng)絡(luò)提供文件訪問的軟件,專門的文件服務(wù)器是一臺被指定為文件服務(wù)器的計(jì)算機(jī)。這是非常有用的,例如,如果文件比較大而且需要快速訪問,在這種情況下,一臺微型計(jì)算機(jī)或大型主機(jī)將被用作文件服務(wù)器。分布式文件服務(wù)器將文件分散到不同的計(jì)算機(jī)上,而不是將它們集中存放到專門的文件服務(wù)器上。后一種文件服務(wù)器的優(yōu)點(diǎn)包括在其他計(jì)算機(jī)上存儲和檢索文件的能力,并可以在每一臺計(jì)算機(jī)上消除重復(fù)文件。然而,一個重要的缺點(diǎn)是每個讀寫請求需要在網(wǎng)絡(luò)上傳播,在刷新文件時可能出現(xiàn)問題。假設(shè)一個用戶申請文件中的一個數(shù)據(jù)并修改它,同時另外一個用戶也申請這個數(shù)據(jù)并修改它,解決這種問題的方法叫做數(shù)據(jù)鎖定,即第一個申請使其他申請?zhí)幱诘却隣顟B(tài),直到完成第一個申請,其他用戶可以讀取這個數(shù)據(jù),但不能修改。數(shù)據(jù)庫服務(wù)器是一個通過網(wǎng)絡(luò)為數(shù)據(jù)庫申請?zhí)峁┓?wù)的軟件,例如,假設(shè)某個用戶在他的個人計(jì)算機(jī)上輸入了一個數(shù)據(jù)查詢命令,如果應(yīng)用程序按照客戶機(jī)/服務(wù)器模型設(shè)計(jì),那么這個人計(jì)算機(jī)上的查詢語言通過網(wǎng)絡(luò)傳送數(shù)據(jù)庫服務(wù)器上,當(dāng)發(fā)現(xiàn)數(shù)據(jù)時發(fā)出通知。在工程界也有許多分布式數(shù)據(jù)庫的例子,如SUN公司的網(wǎng)絡(luò)文件系統(tǒng)(NFS)被應(yīng)用到計(jì)算機(jī)輔助工程應(yīng)用程序中,將數(shù)據(jù)分散到由SUN工作站組成的網(wǎng)絡(luò)上的不同硬盤之間。分布式數(shù)據(jù)庫是革命性的進(jìn)步,因?yàn)榘褦?shù)據(jù)存放在被使用位置上是很合乎常理的。例如一個大公司不同部門之間的計(jì)算機(jī),應(yīng)該將數(shù)據(jù)存儲在本地,然而,當(dāng)被授權(quán)的管理人員需要整理部門數(shù)據(jù)時,數(shù)據(jù)應(yīng)該能夠被訪問。數(shù)據(jù)庫信息系統(tǒng)軟件將保護(hù)數(shù)據(jù)庫的安全性和完整性,對用戶而言,分布式數(shù)據(jù)庫和非分布式數(shù)據(jù)庫看起來沒有什么差別。在這個信息時代,數(shù)據(jù)管理服務(wù)器已經(jīng)成為公司的核心。這一個軟件的模塊控制整個組織的順利運(yùn)行就如同人身體動脈使得鮮血在身體中流通順暢。因?yàn)檫@個所以就要把好身份申請這一關(guān),數(shù)據(jù)管理服務(wù)器也是黑客最為關(guān)心的目標(biāo)之一。如果一旦自己的身份驗(yàn)證被黑客攻克,他將能引起公司的"心臟"遭受致命的破壞。雖然大多數(shù)的使用者現(xiàn)在知道黑客,但是他們?nèi)匀徊涣私馑麄兊臄?shù)據(jù)庫伺候器是多么的易受影響黑客的攻擊。因此,這篇文章介紹是如何攻擊數(shù)據(jù)庫伺候器(比如SQL伺候器)和講述你在受攻擊時該如何保護(hù)你自己的數(shù)據(jù)。我們應(yīng)該注意信息不斷更新。許多技術(shù)上的空白導(dǎo)致了SQL在運(yùn)行時很多細(xì)節(jié)被攻擊的事,而且很多的易受攻擊的地方被寄到完全地描述數(shù)據(jù)庫申請能是多么的某開發(fā)的安全目錄。這個文章對那些好奇的非SQL專家是書面的不關(guān)心知道細(xì)節(jié),而且如檢討到那些做的人有規(guī)則地使用SQL。一個SQL伺候器是做什么的?一個數(shù)據(jù)庫身份驗(yàn)證是一個提供給有權(quán)限客戶訪問數(shù)據(jù)通道。申請的類型有許多變化,從大企業(yè)的微軟SQL伺候器到自由的和開放來源mySQL排列。不管是什么,大多數(shù)的數(shù)據(jù)庫伺候器申請都有共同的一些功能。首先,數(shù)據(jù)庫申請使用都使用相同的SQL的語言,或結(jié)構(gòu)查詢語言。這些語言,也屬于第四代語言,由于它單純化的語法,是在一位客戶如何向伺候器傳達(dá)它的請求核心。使用它最簡單的形式語言SQL,一個程序師能選擇,增加,更新,而且在一個數(shù)據(jù)庫中能劃分各種數(shù)據(jù)。然而,SQL也能用來產(chǎn)生并且設(shè)計(jì)整個的數(shù)據(jù)庫,運(yùn)行被送回的數(shù)據(jù)上的各種不同的功能,甚至運(yùn)行其他的程序。為了要舉例說明SQL如何使用,下列各項(xiàng)是簡單標(biāo)準(zhǔn)SQL的一個例子疑問和一個比較復(fù)雜的SQL疑問:簡單的:"挑選出來的*從dbFurniture.tblChair"這在來自數(shù)據(jù)庫dbFurniture的數(shù)據(jù)庫tblChair中返還的所有數(shù)據(jù)。復(fù)雜:"管理人員征服。xp_cmdshell'dirc。:\'"這個短SQL指令回到客戶文件和文件夾的目錄在SQL伺候器的c:\directory之下,注意這個例子使用一個廣大的儲存對MSSQL伺候器是獨(dú)家的程序。第二個功能數(shù)據(jù)庫伺候器申請部份是他們?nèi)啃枰恍┬问降尿?yàn)證進(jìn)行建立客戶和主機(jī)之間的連接。雖然SQL語言基本語法形式使用中很容易。他只要建立一些基礎(chǔ)的形式就行了,想要運(yùn)行任何客戶的疑問一定要首先提供一些形式,這將會授權(quán)與客戶的國書;客戶也要有一定的定義請求和回應(yīng)的格式。這個連接被一些屬性定義,仰賴客戶的相關(guān)位置和什么操作系統(tǒng)是在使用中,我們可以花費(fèi)整個文章討論例如DSN連接,較少的DSN-連接,RDO,費(fèi)力和更多的各種不同的技術(shù),但是這些主題超過了這個文章的范圍。如果你想要學(xué)習(xí)更多有關(guān)他們,一些Google'ing將會提供更充足的數(shù)據(jù)給你。然而,下列各項(xiàng)是被包含在關(guān)系中一些連接請求的一連串的比較通常的項(xiàng)目。數(shù)據(jù)庫來源請求類型數(shù)據(jù)庫使用者身份證密碼任何的連接在連接之前,客戶要連接到什么類型的伺候器。這被一個提供被需要在正確的格式中產(chǎn)生請求的指令給客戶的軟件成份處理。除了數(shù)據(jù)庫的類型,請求類型能用來比較進(jìn)一步定義客戶的請求將會如何被伺候器處理。下一個來數(shù)據(jù)庫名字和最后證明數(shù)據(jù)。所有的連接信息都很重要,但是顯然最弱的聯(lián)編是關(guān)于證明數(shù)據(jù)或缺乏。在適當(dāng)?shù)靥幚砹怂藕蚱?。每個數(shù)據(jù)庫明確地用有它的自己使用者指定了控制他們能運(yùn)行什么類型的活動許可。舉例來說,一個使用者帳戶會是建立如申請所只有讀哪一對唯一的通路數(shù)據(jù)需要。另外的一個帳戶應(yīng)該作為插入物或更新,而且也許甚至一個第三帳戶會是使用過的因?yàn)閯澇?。帳戶控制的這個類型確定那個任何的被妥協(xié)處理的帳戶在功能性中被限制。不幸地,許多數(shù)據(jù)庫計(jì)畫是建立由于無效力的或容易的密碼,導(dǎo)致成功的攻擊?;贑8051F單片機(jī)直流電動機(jī)反饋控制系統(tǒng)的設(shè)計(jì)與研究基于單片機(jī)的嵌入式Web服務(wù)器的研究MOTOROLA單片機(jī)MC68HC(8)05PV8/A內(nèi)嵌EEPROM的工藝和制程方法及對良率的影響研究基于模糊控制的電阻釬焊單片機(jī)溫度控制系統(tǒng)的研制基于MCS-51系列單片機(jī)的通用控制模塊的研究基于單片機(jī)實(shí)現(xiàn)的供暖系統(tǒng)最佳啟停自校正(STR)調(diào)節(jié)器單片機(jī)控制的二級倒立擺系統(tǒng)的研究基于增強(qiáng)型51系列單片機(jī)的TCP/IP協(xié)議棧的實(shí)現(xiàn)基于單片機(jī)的蓄電池自動監(jiān)測系統(tǒng)基于32位嵌入式單片機(jī)系統(tǒng)的圖像采集與處理技術(shù)的研究基于單片機(jī)的作物營養(yǎng)診斷專家系統(tǒng)的研究基于單片機(jī)的交流伺服電機(jī)運(yùn)動控制系統(tǒng)研究與開發(fā)基于單片機(jī)的泵管內(nèi)壁硬度測試儀的研制基于單片機(jī)的自動找平控制系統(tǒng)研究基于C8051F040單片機(jī)的嵌入式系統(tǒng)開發(fā)基于單片機(jī)的液壓動力系統(tǒng)狀態(tài)監(jiān)測儀開發(fā)模糊Smith智能控制方法的研究及其單片機(jī)實(shí)現(xiàn)一種基于單片機(jī)的軸快流CO〈,2〉激光器的手持控制面板的研制基于雙單片機(jī)沖床數(shù)控系統(tǒng)的研究基于CYGNAL單片機(jī)的在線間歇式濁度儀的研制基于單片機(jī)的噴油泵試驗(yàn)臺控制器的研制基于單片機(jī)的軟起動器的研究和設(shè)計(jì)基于單片機(jī)控制的高速快走絲電火花線切割機(jī)床短循環(huán)走絲方式研究基于單片機(jī)的機(jī)電產(chǎn)品控制系統(tǒng)開發(fā)基于PIC單片機(jī)的智能手機(jī)充電器基于單片機(jī)的實(shí)時內(nèi)核設(shè)計(jì)及其應(yīng)用研究基于單片機(jī)的遠(yuǎn)程抄表系統(tǒng)的設(shè)計(jì)與研究基于單片機(jī)的煙氣二氧化硫濃度檢測儀的研制基于微型光譜儀的單片機(jī)系統(tǒng)單片機(jī)系統(tǒng)軟件構(gòu)件開發(fā)的技術(shù)研究基于單片機(jī)的液體點(diǎn)滴速度自動檢測儀的研制基于單片機(jī)系統(tǒng)的多功能溫度測量儀的研制基于PIC單片機(jī)的電能采集終端的設(shè)計(jì)和應(yīng)用基于單片機(jī)的光纖光柵解調(diào)儀的研制氣壓式線性摩擦焊機(jī)單片機(jī)控制系統(tǒng)的研制基于單片機(jī)的數(shù)字磁通門傳感器基于單片機(jī)的旋轉(zhuǎn)變壓器-數(shù)字轉(zhuǎn)換器的研究基于單片機(jī)的光纖Bragg光柵解調(diào)系統(tǒng)的研究單片機(jī)控制的便攜式多功能乳腺治療儀的研制基于C8051F020單片機(jī)的多生理信號檢測儀基于單片機(jī)的電機(jī)運(yùn)動控制系統(tǒng)設(shè)計(jì)Pico專用單片機(jī)核的可測性設(shè)計(jì)研究基于MCS-51單片機(jī)的熱量計(jì)基于雙單片機(jī)的智能遙測微型氣象站MCS-51單片機(jī)構(gòu)建機(jī)器人的實(shí)踐研究基于單片機(jī)的輪軌力檢測基于單片機(jī)的GPS定位儀的研究與實(shí)現(xiàn)基于單片機(jī)的電液伺服控制系統(tǒng)用于單片機(jī)系統(tǒng)的MMC卡文件系統(tǒng)研制基于單片機(jī)的時控和計(jì)數(shù)系統(tǒng)性能優(yōu)化的研究基于單片機(jī)和CPLD的粗光柵位移測量系統(tǒng)研究單片機(jī)控制的后備式方波UPS提升高職學(xué)生單片機(jī)應(yīng)用能力的探究基于單片機(jī)控制的自動低頻減載裝置研究基于單片機(jī)控制的水下焊接電源的研究基于單片機(jī)的多通道數(shù)據(jù)采集系統(tǒng)基于uPSD3234單片機(jī)的氚表面污染測量儀的研制基于單片機(jī)的紅外測油儀的研究96系列單片機(jī)仿真器研究與設(shè)計(jì)基于單片機(jī)的單晶金剛石刀具刃磨設(shè)備的數(shù)控改造基于單片機(jī)的溫度智能控制系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)基于MSP430單片機(jī)的電梯門機(jī)控制器的研制基于單片機(jī)的氣體測漏儀的研究基于三菱M16C/6N系列單片機(jī)的CAN/USB協(xié)議轉(zhuǎn)換器基于單片機(jī)和DSP的變壓器油色譜在線監(jiān)測技術(shù)研究基于單片機(jī)的膛壁溫度報(bào)警系統(tǒng)設(shè)計(jì)基于AVR單片機(jī)的低壓無功補(bǔ)償控制器的設(shè)計(jì)基于單片機(jī)船舶電力推進(jìn)電機(jī)監(jiān)測系統(tǒng)基于單片機(jī)網(wǎng)絡(luò)的振動信號的采集系統(tǒng)基于單片機(jī)的大容量數(shù)據(jù)存儲技術(shù)的應(yīng)用研究基于單片機(jī)的疊圖機(jī)研究與教學(xué)方法實(shí)踐基于單片機(jī)嵌入式Web服務(wù)器技術(shù)的研究及實(shí)現(xiàn)基于AT89S52單片機(jī)的通用數(shù)據(jù)采集系統(tǒng)

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論