Web工程中基于不變性的元數(shù)據(jù)發(fā)現(xiàn)與聚類
發(fā)布時(shí)間:2018-12-30 21:37
【摘要】:兒乎所有的Web工程都會(huì)使用到元數(shù)據(jù),它是Web工程中最常用的配置文件。隨著元數(shù)據(jù)規(guī)模的增加,對元數(shù)據(jù)的維護(hù)會(huì)花費(fèi)很多的時(shí)間和精力。而目前的編譯器不能對元數(shù)據(jù)不一致所導(dǎo)致的錯(cuò)誤進(jìn)行提示,也不能羅列出元數(shù)據(jù)和代碼之間隱藏的關(guān)系。 本文研究并提取了Web工程中的元數(shù)據(jù)不變性。通過基于框架的元數(shù)據(jù)不變性發(fā)現(xiàn)和框架無關(guān)的元數(shù)據(jù)不變性發(fā)現(xiàn)這兩種方式來獲取元數(shù)據(jù)不變性,兩種元數(shù)據(jù)不變性的發(fā)現(xiàn)方法能覆蓋到更多類型的元數(shù)據(jù)。本文改進(jìn)了XML的聚類算法并運(yùn)用到實(shí)際的Web工程中,對XML,文件進(jìn)行分類;趯傩缘南嗨贫日{(diào)整和奇異點(diǎn)的排除使聚類結(jié)果更為準(zhǔn)確。元數(shù)據(jù)不變性發(fā)現(xiàn)從縱向上發(fā)現(xiàn)了XML文件和Java文件的不變性,元數(shù)據(jù)聚類程序在橫向上找出了XML,文件之間的聯(lián)系。不變性的建立和元數(shù)據(jù)的分類可以使用戶快速地把握項(xiàng)目的架構(gòu),發(fā)現(xiàn)其中的錯(cuò)誤。當(dāng)用戶重構(gòu)或者增強(qiáng)程序時(shí),元數(shù)據(jù)不變性會(huì)被檢查,如果違反了不變性,則對用戶進(jìn)行提示。本文使用了面向?qū)ο蟮脑O(shè)計(jì)方法,可以方便地對程序進(jìn)行擴(kuò)展。 通過實(shí)驗(yàn),對基于框架的元數(shù)據(jù)不變性發(fā)現(xiàn)和框架無關(guān)的元數(shù)據(jù)不變性發(fā)現(xiàn)進(jìn)行對比,說明了兩者的適用情況:驗(yàn)證了元數(shù)據(jù)不變性發(fā)現(xiàn)的有效性。通過與傳統(tǒng)聚類方法的對比,體現(xiàn)了改進(jìn)后的元數(shù)據(jù)聚類方法的效果:驗(yàn)證了元數(shù)據(jù)聚類可以有效地對Web工程中的元數(shù)據(jù)進(jìn)行分類。
[Abstract]:Almost all Web projects use metadata, which is the most commonly used configuration file in the Web project. With the increase of metadata scale, the maintenance of metadata will take a lot of time and effort. Current compilers cannot prompt errors caused by inconsistent metadata, nor can they list hidden relationships between metadata and code. This paper studies and extracts metadata invariance in Web engineering. Metadata invariance is obtained by frames-based metadata invariance discovery and framework-based metadata invariance discovery. The two metadata invariance discovery methods can cover more types of metadata. This paper improves the clustering algorithm of XML and applies it to the actual Web project to classify the XML, files. The similarity adjustment based on attributes and the elimination of singular points make the clustering results more accurate. Metadata invariance discovery finds the invariance of XML files and Java files vertically, and the metadata clustering program finds out the relationship between XML, files horizontally. The establishment of invariance and the classification of metadata enable users to quickly grasp the structure of the project and find errors in it. Metadata invariance is checked when the user reconstructs or enhances the program, and if the invariance is violated, the user is prompted. In this paper, the object-oriented design method is used to extend the program conveniently. Through experiments, the comparison between frames-based metadata invariance discovery and framework-based metadata invariance discovery is carried out, and the applicability of the two methods is illustrated: the validity of metadata invariance discovery is verified. By comparing with the traditional clustering method, the effect of the improved metadata clustering method is demonstrated. It is verified that the metadata clustering can effectively classify the metadata in Web engineering.
【學(xué)位授予單位】:上海師范大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
本文編號:2396187
[Abstract]:Almost all Web projects use metadata, which is the most commonly used configuration file in the Web project. With the increase of metadata scale, the maintenance of metadata will take a lot of time and effort. Current compilers cannot prompt errors caused by inconsistent metadata, nor can they list hidden relationships between metadata and code. This paper studies and extracts metadata invariance in Web engineering. Metadata invariance is obtained by frames-based metadata invariance discovery and framework-based metadata invariance discovery. The two metadata invariance discovery methods can cover more types of metadata. This paper improves the clustering algorithm of XML and applies it to the actual Web project to classify the XML, files. The similarity adjustment based on attributes and the elimination of singular points make the clustering results more accurate. Metadata invariance discovery finds the invariance of XML files and Java files vertically, and the metadata clustering program finds out the relationship between XML, files horizontally. The establishment of invariance and the classification of metadata enable users to quickly grasp the structure of the project and find errors in it. Metadata invariance is checked when the user reconstructs or enhances the program, and if the invariance is violated, the user is prompted. In this paper, the object-oriented design method is used to extend the program conveniently. Through experiments, the comparison between frames-based metadata invariance discovery and framework-based metadata invariance discovery is carried out, and the applicability of the two methods is illustrated: the validity of metadata invariance discovery is verified. By comparing with the traditional clustering method, the effect of the improved metadata clustering method is demonstrated. It is verified that the metadata clustering can effectively classify the metadata in Web engineering.
【學(xué)位授予單位】:上海師范大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
【參考文獻(xiàn)】
相關(guān)期刊論文 前7條
1 夏小彬;嚴(yán)小衛(wèi);;XML數(shù)據(jù)文檔及其處理技術(shù)探討[J];計(jì)算機(jī)科學(xué);2001年08期
2 趙俊嵐;XML編程中的DOM與SAX技術(shù)[J];計(jì)算機(jī)工程;2004年24期
3 樸勇;田偉;王秀坤;;一種XML文檔結(jié)構(gòu)相似度計(jì)算方法[J];控制與決策;2010年04期
4 劉遠(yuǎn)超;王曉龍;徐志明;關(guān)毅;;文檔聚類綜述[J];中文信息學(xué)報(bào);2006年03期
5 查禮;;基于Hadoop的大數(shù)據(jù)計(jì)算技術(shù)[J];科研信息化技術(shù)與應(yīng)用;2012年06期
6 陳黎飛;姜青山;王聲瑞;;基于層次劃分的最佳聚類數(shù)確定方法[J];軟件學(xué)報(bào);2008年01期
7 劉芳,肖鐵軍;XML應(yīng)用的基石:XML解析技術(shù)[J];計(jì)算機(jī)工程與設(shè)計(jì);2005年10期
,本文編號:2396187
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2396187.html
最近更新
教材專著