ip

所属分类:数值算法/人工智能
开发工具:C/C++
文件大小:1KB
下载次数:2
上传日期:2019-06-17 22:11:22
上 传 者啦啦啦123345
说明:  针对海量日志数据,提取出某日访问买票网站次数最多的那个IP(本实验主要是测试学生在数据不能一次载入内存时,如何达到目的)。上面是两个典型的思路,可以作为参考。你也可以使用自己的思路进行问题的解决。 请实现以下功能: 1.编程模拟生成访问日志(想象你是网站管理者,你应该如何记录网站访问日志?日志应该保留哪些关键信息?提示:访问者的IP地址、时间肯定是需要的。同时为了测试“大数据功能”,请确保数据量不能太少,例如,整体数据量不能少于4G)。 2.并实现上述功能(提取访问次数最多的IP)。
(For massive log data, extract the IP that visits the ticket website most frequently on a certain day (this experiment is mainly to test how to achieve the goal when the data can not be loaded into memory at one time). The above are two typical ideas, which can be used as a reference. You can also use your own ideas to solve problems. Please implement the following functions: 1. Programming simulation to generate access logs (Imagine you are a website manager, how should you record the site access logs? What key information should the log retain? Tip: Visitor's IP address and time are definitely needed. At the same time, in order to test the "big data function", make sure that the amount of data can not be too small, for example, the overall amount of data can not be less than 4,000. 2. Implement the above functions (extracting the IP with the most visits).)

文件列表:
ip.cpp (2616, 2019-06-14)

近期下载者

相关文件


收藏者