学校内网信息优化配置
2021-08-19林馨
摘 要:随着互联网的发展,师生们常从网络获取教学相关信息。一种方式是直接访问外部网络获得信息,另一种方式是将信息存储到学校服务器上。访问外部网络会产生通信费,而购买服务器也会产生费用。本文综合考虑两种方式,兼顾成本和师生的需求,得到一个优化的配置方案。
关键词:内网;信息;优化
中图分类号:TP393.18 文献标识码:A DOI:10.3969/j.issn.1003-6970.2021.02.037
本文著录格式:林馨.学校内网信息优化配置[J].软件,2021,42(02):121-122
Information Optimization Scheme for School Intranet
LIN Xin
(Fujian Normal University, Fujian Fuzhou 350017)
【Abstract】:With the development of internet, teachers and students often search teaching and studying information online. One method is to visit outer network to receive information, another is to store frequently searched information on local servers in school. Visiting outer network generates telecommunication fee, while buying servers needs money too. In this article, we will balance between these two methods, considering both costs and requirements of teachers and students to get an optimization scheme.
【Key words】:intranet;information;optimization
0引言
随着互联网的普及,网络上信息的多样化,老师及学生们越来越多地通过网络获取教学信息等数据,从而丰富教学内容,提高教学質量。与此同时,这会产生一定的网络通信费。学校可通过把一些常用数据块下载存储到服务器,从而节省访问外部网络产生的通信费。但购买服务器也需要相当的费用,因此需要权衡二者利弊,给出经济又实用的方案。
1问题
假定已知每个服务器的容量和价格,师生们需要获取的数据块(如课程信息,课件,试题集,讲课视频等),以及从外网获得这些数据块所需的通信费,本文将通过算法确定需要购买的服务器数量,选择一些数据块并合理地存储在服务器上。
2求解
假设每个服务器的容量是V,价格为P,单位容量的价格P0=P/V。总共有n个数据块,且每个数据块不可分割。第j个数据块Bj的数据量为Dj,从外网获得时产生的通信费为Cj,单位数据量所产生的通信费为Aj=Cj/Dj。
求解思路:若单位数据量所产生的通信费大于服务器单位容量的价……
