用于更大数量文件的数据结构

发布于 2024-07-08 05:51:55 字数 1477 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

任谁 2024-07-15 05:51:55

编写一个内容管理程序,您可以在其中加载 mp3,让它将文件移动到其结构中的文件夹中,并将条目写入数据库。

让数据库存储信息,包括物理路径。

在搜索时查询数据库,并让管理程序提供在 Windows 资源管理器中打开路径的选项(或将其链接到音乐播放器)。

Write a content management program into which you can load your mp3s, have it move the file to a folder in its structure, and write an entry to a database.

Have the database store the information, including physical path.

Query against the database when you are searching, and have your management program provide an option to open the path in Windows Explorer (or just link it to your music player).

往事风中埋 2024-07-15 05:51:55

假设您尝试从文件系统而不是通过其他软件访问这些内容,那么最好创建一个可以轻松导航的层次结构。 我会按照您的建议使用缩写。

按第一个字母,然后是第二个字母对它们进行分组,按照您需要的深度进行分组。 您也不必为每个组进行相同数量的级别。 “T”可以进入 5 级,但“Q”只能进入 1 级。

Assuming your trying to access these from the file system and not through some other software, you'd be best served to create a hierarchy that can be easily navigated. I would use the initials as you suggested.

Group them by first letter, then second letter, as deep as you need to get small-ish groups. You don't have to go the same number of levels for each group either. "T" may go 5 levels in, but "Q" only one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文