大文件分块上传和下载软件的设计与实现术

  • 格式:pdf
  • 大小:221.95 KB
  • 文档页数:3

De s i g n a n d i mp l e me n t a t i o n o f b l o c k u p l o a d a n d d o wn l o a d l a r g e il f e s
Z o u Hc mi n,Hua n g Ha i y u

Co mp u t er Te c h n ol og y an d I t s Ap pl i c a t i on s
大文件分块上传和 下载软件 的设计 与实现
邹 鹤 敏 ,黄 海 于
( 西 南 交通 大 学 信 息 科 学 与技 术 学 院,四川 成 都 6 1 0 0 3 1 )
摘 要 :针 对 大 文 件 在 网 络 存 储 过 程 中 可 能 存 在 的 上 传 和 下 载 失 败 问 题 ,提 出 了 一 种 利 用 数 据 库

进 行 分 块存 储 和 管理 较 大文 件 的 方 法 。 将 一 个较 大的 文 件 分 割 成 多块 , 分 别 对 分 割 后 的 每 一 块 进 行 上
Ab s t r a c t :T o s o l v e t h e f a i l u r e p r o b l e m o f t h e n e t w o r k s t o r a g e p r o c e s s w h i l e u p l o a d i n g a n d d o wn l o a d i n g l a r g e i f l e s ,t h i s p a p e r p u t s f o r w a r d a me t h o d t o s t o r e a n d ma n a g e l a r g e il f e s i n b l o c k s b y d a t a b a s e .S p l i t a l a r g e i f l e i n t o s o me b l o c k s a n d t h e n u p l o a d o r d o wn l o a d t h e m s e p a r a t e l y ,t h a t c a n a v o i d t h e i n l f u e n c e o f t h e n e t w o r k f a c t o r s o n d i r e c t l y u p l o a d i n g a n d d o wn l o a d i n g l a r g e i f l e s . T e s t s s h o w t h a t ,t h e me t h o d p r o p o s e d i n t h e p a p e r c a n e f f e c t i v e l y a v o i d t h e f a i l u r e s t h a t ma y e x i s t i n t h e i f l e u p l o a d i n g a n d d o wn — l o a d i n g p r o c e s s ,a n d i mp r o v e t h e e ic f i e n c y o f u p l o a d i n g a n d d o wn l o a d i n g l a r g e i f l e s .
效率。
关 键 词 :文 件 存 储 ;o r a c l e数 据 库 ;文 件 上 传 ;文 件 下 载 ;文 件 分 块 ;分 块 合 并
中 图 分 类 号 :T P 3 9 2 文 献 标 识 码 :A 文 章 编 号 :0 2 5 8 — 7 9 9 8 ( 2 0 1 3 ) 0 8 — 0 1 3 7 — 0 3
( S c h o o l o f I n f o r ma t i o n S c i e n c e a n d T e c h n o l o g y ,S o u t h w e s t J i a o t o n g U n i v e r s i t y ,C h e n g d u 6 1 0 0 3 1 ,C h i n a )
传或下载 , 从 而 避 免 了网络 因素 对 直接 上传 和 下载 较 大 文件 所产 生 的影 响 。测 试 表 明 , 通过 所提 出的
分 块 与合 并 方 法 , 可 以 有 效 地 避 免 文 件 上 传 和 下 载 过 程 中 可 能 出现 的 失 败 问题 , 提 高 了上 传 和 下 载 的
在 日常 生 活 中 ,人 们 一 直 都 在 和 数 据 信 息 打 交 道 。 数据 信 息组织 和保 存 的方式 很多 , 最 常 用 的 方 式 就 是 把 数 据信 息保存 在某 种文 件 中 , 然 后将 文件 上传 到 F T P服
务 器l 1 I 。但是 当用户 要对 文 件进 行操 作 时 , 查 找 文 件 会
Ke y wor d s:f i l e s t o r a g e ;o r a c l e d a t a b a s e;u p l o a d i f l e s ;d o wn l o a d i f l e s ;s p l i t i f l e s i n t o b l o c k s ;me r g e b l c o k s