羅尹奇 湯偉



摘? 要: 突發(fā)公共衛(wèi)生事件導(dǎo)致高校無法正常開展線下教學(xué)活動(dòng),在線課程資源平臺(tái)成為解決該問題的有效途徑。為了在短時(shí)間內(nèi)實(shí)現(xiàn)構(gòu)建在線課程資源平臺(tái),本文提出采用EXCEL作為數(shù)據(jù)存儲(chǔ)對(duì)象,并將其中的數(shù)據(jù)加載進(jìn)內(nèi)存,同時(shí)提供數(shù)據(jù)訪問接口,從而實(shí)現(xiàn)平臺(tái)輕量級(jí)研發(fā)與部署。本文一方面解決了高頻率訪問EXCEL性能低下的問題,另一方面保證了平臺(tái)部署、維護(hù)和升級(jí)的靈活性。
關(guān)鍵詞: EXCEL;哈希表;數(shù)據(jù)緩存;輕量級(jí)研發(fā)
中圖分類號(hào): TP311.5? ? 文獻(xiàn)標(biāo)識(shí)碼: A? ? DOI:10.3969/j.issn.1003-6970.2020.10.053
本文著錄格式:羅尹奇,湯偉. 快速構(gòu)建在線課程資源平臺(tái)研究——以電子科技大學(xué)圖書館在線課程資源為例[J]. 軟件,2020,41(10):204207
【Abstract】: Public health emergencies lead to the failure of normal offline teaching activities in colleges and universities. Online course resource platform has become an effective way to solve the problem. In order to realize the construction of online course resource platform in a short time, this paper proposes to use excel as the data storage object, load the data into the memory, and provide the data access interface, so as to realize the lightweight development and deployment of the platform. On the one hand, this paper solves the problem of low performance of high frequency access to excel, on the other hand, it ensures the flexibility of platform deployment, maintenance and upgradation.
【Key words】: Excel; Hash table; Data cache; Lightweight development
0? 引言
2020年年初的“新冠疫情”對(duì)各行各業(yè)應(yīng)對(duì)重大突發(fā)公共衛(wèi)生事件的能力和管理機(jī)制提出了前所未有的挑戰(zhàn)[1]。高校作為人群聚集和流量密集的公共場(chǎng)所,在疫情的影響下無法正常開展線下教學(xué)活動(dòng)。為響應(yīng)教育部提出的“停課不停教、不停學(xué)”的號(hào)召[5],各地高校陸續(xù)加強(qiáng)了數(shù)字資源和網(wǎng)絡(luò)資源服務(wù)的能力,特別是以在線課程、微信公眾號(hào)、微博、電子圖書等多種形式為載體[2],有力保證了高校的科研教學(xué)活動(dòng)有序開展。
作為保障科研教學(xué)的重要手段之一,在線課程資源平臺(tái)將數(shù)字資源按學(xué)院和課程的實(shí)際需要進(jìn)行篩選和整合,以資源門戶的形式提供給用戶使用。一方面課程所用的教材教參資源是高校數(shù)字資源的一個(gè)子集,通過篩選和整合排除了大部分無關(guān)資源,實(shí)現(xiàn)課程相關(guān)資源的精準(zhǔn)投放;另一方面資源訪問權(quán)限可控,平臺(tái)僅提供資源入口,不改變資源的實(shí)際訪問權(quán)限規(guī)則,盡可能保證校外遠(yuǎn)程訪問安全可靠。……