发明名称 Method and a Device thereof for Monitoring the File Uploading via an Instrument
摘要 The invention discloses a method and a device thereof for monitoring the file uploading via an instrument; the method comprises: selecting a file; acquiring file information, setting the maximum value of a panel and displaying the metadata of the file; judging whether the file size is smaller than a first preset value, if so, uploading the file to a server, updating the instrument progress; otherwise, judging whether the file size is larger than the first preset value and smaller than a second preset value, if so, compressing and uploading the file, updating the instrument progress; otherwise, segmenting the file for the multithreaded uploading, updating the instrument progress of various file segments, thus completing file uploading. The invention has the following beneficial effects: the file information is displayed in a user-friendly way, the interaction interface is excellent enough and experience of the user is enhanced.
申请公布号 US2016173566(A1) 申请公布日期 2016.06.16
申请号 US201514729021 申请日期 2015.06.02
申请人 Xinyu Xingbang Information Industry Co., Ltd 发明人 Yao Xiaohong;Zhou Zhihong
分类号 H04L29/08 主分类号 H04L29/08
代理机构 代理人
主权项 1. A method for monitoring the file uploading via an instrument, wherein, the instrument comprises a setting area for setting parameters, an instrument panel area for displaying the file uploading progress, a file uploading success status area for displaying the file uploading status and a file information area for displaying the file information; the method comprises the following steps: A) Selecting a file to be uploaded by the user; B) Acquiring the information of the file via an instrument, setting the maximum value of the panel according to the file size, and simultaneously displaying the metadata of the file; C) Judging whether the file size is smaller than a first preset value, if so, executing step D), otherwise, executing step E); D) Directly uploading the file to the server from the user terminal and monitoring the bytes transmitted by the file to update the progress displayed in the instrument panel area; returning the uploading success information after the server receiving the file, and executing step H); E) Judging whether the file size is larger than the first preset value and smaller than a second preset value, if so, executing step F), otherwise, executing step G); F) Compressing and uploading the file by the user terminal, and monitoring the bytes transmitted by the compressed file to update the progress displayed in the instrument panel area; decompressing the compressed file after the server receiving the file, and returning the uploading success information, and executing step H); G) Segmenting the file for the multithreaded uploading, and updating the progress of various file segments displayed in the instrument panel area according to the bytes transmitted by various file segments; returning the uploading success information to the user terminal after the server receiving the file, and executing step H); H) Updating the status information in the file updating success status area by the user terminal, thus completing the file uploading.
地址 Xinyu CN