CN102455899A - Multi-file concurrent uploading method - Google Patents
Multi-file concurrent uploading method Download PDFInfo
- Publication number
- CN102455899A CN102455899A CN2010105239985A CN201010523998A CN102455899A CN 102455899 A CN102455899 A CN 102455899A CN 2010105239985 A CN2010105239985 A CN 2010105239985A CN 201010523998 A CN201010523998 A CN 201010523998A CN 102455899 A CN102455899 A CN 102455899A
- Authority
- CN
- China
- Prior art keywords
- file
- uploading
- upload
- concurrent
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention relates to a multi-file concurrent uploading method. Multiple threads are established by a concurrent uploading module, a request for uploading files is made by single threads to a server, and the file uploading operation is finished. The system comprises the concurrent uploading module, a client software terminal system and a database, wherein the concurrent uploading module is used for opening multiple threads and sending a file uploading request to the server, the client software terminal system is used for interacting with a client, and the database is used by users for storing all kinds of data. The invention solves the defect of low efficiency of multi-file uploading in the prior art.
Description
Technical field
The present invention relates to a kind of method of multiple document uploading, the concurrent method of uploading of especially a kind of multifile.The invention belongs to communication technical field.
Background technology
At present the transmission batch documents is a thing very consuming time in wide area network, and batch documents transfer efficiency when transmitting is lower, mainly be since transfer files upload stand-by period and manually-operated occupied file transfer consuming time in sizable ratio.
Mainly contain two kinds in the existing file transfer technology and handle the method that a plurality of files are uploaded: a kind of is the method that a plurality of files are uploaded respectively, and this method is to realize through the method for simply repeatedly calling single file transfer function.A kind of in addition multiple document uploading method is that the packing of multifile disk is uploaded, and this method is meant that in disk, being packaged into an APMB package to a plurality of files to be uploaded uploads.
Yet; Whenever upload a file through existing file transfer technology; All need send a file upload request order; Promptly need once artificial the participation, thus when the number of upload file huge and each file hour, the time that manually-operated consumed will be far longer than the time that file transfer itself is consumed.On the other hand; Client is when the file of uploading; All be to treat that with all upload file sorts according to the principle of first in first out, once only upload a file, other file all gets into formation and waits for; When the disposable quantity of documents of uploading is more, wait for that the time of upload file will be far longer than the time that file transfer itself is consumed.
The problem that the present invention will solve provides the concurrent method of uploading of a kind of multifile; Create a plurality of threads through concurrent transmitting assembly; Utilize single thread to propose the request of upload file to server; Because the operation between the single thread independently, overcome the inefficient defective of multiple document uploading in the prior art.Obviously, existing document file management system can not satisfy gerentocratic demand.
Summary of the invention
The objective of the invention is to: the deficiency to above prior art exists provides a kind of multifile the concurrent method of uploading, to overcome the inefficient defective of multiple document uploading in the prior art.In order to reach above purpose, the present invention contains following assembly:
Client operating software---be used for carrying out mutual software terminal system with client;
Database---be used to deposit the various data that the user will store.
More than two assemblies form by following each widget:
Client operating software is made up of following assembly:
Client end interface---be used for carrying out the mutual of document upload operation with the user;
MDAC---in order to the data of storing in the accessing database;
Concurrent transmitting assembly---in order to open a plurality of threads, send the request of upload file to server.Concurrent assembly is made up of following method:
SelectFiles function---the file that need upload in order to selection;
The Create function---in order to create single thread;
The Request function---in order to send the request of upload file to server;
The Destroy function---in order to destroy single thread;
The Upload function---in order to upload file.
Database consists of the following components:
The basic document of user information table---recording user.
The user uses step to be:
Step 1: use client operating software, system manager's Accreditation System user comprises address name, user name, and password or the like, client operating software will be called MDAC user basic information will be saved in the user information table of database.
Step 2: use client operating software; Call the SelectFiles function of concurrent transmitting assembly, the file that selection need be uploaded is created a plurality of system variables simultaneously respectively; Physical address with filesselected is kept in the variable respectively, and writes down total number of disposable upload file.
Step 3: use client operating software; When the user sends upload request, obtain the total number of disposable upload file of record before, call the Create function of concurrent transmitting assembly; Single thread is created in circulation, and the number of times that circulation is created is identical with the total number of disposable upload file.When creating single thread, call the Request function, send the request of upload file to server.
Step 4: use client operating software, when server is received upload request, and when making the response that receives file, call the Upload function of concurrent transmitting assembly, to the server upload file.And behind the upload file EO, call the Destroy function, destroy current thread.
So, through the present invention, what the user can reduce transfer files uploads stand-by period and handling time, thereby better realizes the high-efficiency management of document.
Embodiment
Embodiment one
Use Microsoft VisualStudio.Net developing instrument exploitation client operating software, use database management tools SqlServer2000 special-purpose on the market to set up the needed database of system, concrete mode is:
Client operating software---be used for carrying out mutual software terminal system with client;
Database---be used to deposit the various data that the user will store.
More than two assemblies form by following each widget:
Client operating software is made up of following assembly:
Client end interface---be used for carrying out the mutual of document upload operation with the user;
MDAC---in order to the data of storing in the accessing database;
Concurrent transmitting assembly---in order to open a plurality of threads, send the request of upload file to server.Concurrent assembly is made up of following method:
SelectFiles function---the file that need upload in order to selection;
The Create function---in order to create single thread;
The Request function---in order to send the request of upload file to server;
The Destroy function---in order to destroy single thread;
The Upload function---in order to upload file.
Database consists of the following components:
The basic document of user information table---recording user.
The user uses step to be:
Step 1: use client operating software, system manager's Accreditation System user comprises address name, user name, and password or the like, client operating software will be called MDAC user basic information will be saved in the user information table of database.
Step 2: use client operating software; Call the SelectFiles function of concurrent transmitting assembly, the file that selection need be uploaded is created a plurality of system variables simultaneously respectively; Physical address with filesselected is kept in the variable respectively, and writes down total number of disposable upload file.
Step 3: use client operating software; When the user sends upload request, obtain the total number of disposable upload file of record before, call the Create function of concurrent transmitting assembly; Single thread is created in circulation, and the number of times that circulation is created is identical with the total number of disposable upload file.When creating single thread, call the Request function, send the request of upload file to server.
Step 4: use client operating software, when server is received upload request, and when making the response that receives file, call the Upload function of concurrent transmitting assembly, to the server upload file.And behind the upload file EO, call the Destroy function, destroy current thread.
Except that the foregoing description, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.
Claims (3)
1. the concurrent method of uploading of multifile is characterized in that and can create a plurality of threads through concurrent transmitting assembly, utilizes single thread to propose the request of upload file to server, and accomplishes the file upload operation.
2. according to the concurrent method of uploading of the said a kind of multifile of claim 1, it is characterized in that: contain concurrent transmitting assembly, in order to opening a plurality of threads, and send the request of upload file to server.
3. according to the concurrent method of uploading of the said a kind of multifile of claim 1, it is characterized in that: also contain MDAC, in order to the data of storing in the accessing database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105239985A CN102455899A (en) | 2010-10-29 | 2010-10-29 | Multi-file concurrent uploading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105239985A CN102455899A (en) | 2010-10-29 | 2010-10-29 | Multi-file concurrent uploading method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102455899A true CN102455899A (en) | 2012-05-16 |
Family
ID=46039119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105239985A Pending CN102455899A (en) | 2010-10-29 | 2010-10-29 | Multi-file concurrent uploading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102455899A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014029354A1 (en) * | 2012-08-24 | 2014-02-27 | 腾讯科技(深圳)有限公司 | Image uploading method, system and client |
CN105978996A (en) * | 2016-06-24 | 2016-09-28 | 深圳艾派网络科技股份有限公司 | File transmission method between contact persons based on address book |
CN103841196B (en) * | 2014-03-07 | 2017-05-17 | 长沙裕邦软件开发有限公司 | File uploading system and method based on multithreading |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1425990A (en) * | 2001-12-13 | 2003-06-25 | 杨磊 | File cocurrent downloading technology for Internet multiple servers |
CN101656751A (en) * | 2008-08-18 | 2010-02-24 | 北京数码大方科技有限公司 | Method and system for accelerating file uploading and downloading |
US20100251240A1 (en) * | 2009-03-25 | 2010-09-30 | Microsoft Corporation | Adaptable management in sync engines |
-
2010
- 2010-10-29 CN CN2010105239985A patent/CN102455899A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1425990A (en) * | 2001-12-13 | 2003-06-25 | 杨磊 | File cocurrent downloading technology for Internet multiple servers |
CN101656751A (en) * | 2008-08-18 | 2010-02-24 | 北京数码大方科技有限公司 | Method and system for accelerating file uploading and downloading |
US20100251240A1 (en) * | 2009-03-25 | 2010-09-30 | Microsoft Corporation | Adaptable management in sync engines |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014029354A1 (en) * | 2012-08-24 | 2014-02-27 | 腾讯科技(深圳)有限公司 | Image uploading method, system and client |
CN103841196B (en) * | 2014-03-07 | 2017-05-17 | 长沙裕邦软件开发有限公司 | File uploading system and method based on multithreading |
CN105978996A (en) * | 2016-06-24 | 2016-09-28 | 深圳艾派网络科技股份有限公司 | File transmission method between contact persons based on address book |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968498B (en) | Data processing method and device | |
CN102375837B (en) | Data acquiring system and method | |
CN105025053A (en) | Distributed file upload method based on cloud storage technology and system | |
CN101796514B (en) | Method for managing object-based storage system | |
CN103279351B (en) | A kind of method of task scheduling and device | |
CN101237331B (en) | CDR file generation method, transmission method, system and device | |
CN104050248A (en) | File storage system and storage method | |
CN104202424B (en) | A kind of method using software architecture to expand buffer memory | |
CN103888547A (en) | Bill processing method and server | |
CN105138281B (en) | A kind of sharing method and device of physical disk | |
CN102420863B (en) | Rapid file distribution system, method thereof and apparatus thereof | |
KR20170107886A (en) | Multi-stream ssd qos management | |
CN103617255A (en) | Service data exchange synchronizing system and method used for electric information system | |
KR20100072992A (en) | Distributed network storage system and method for the same | |
CN105408871A (en) | Method and apparatus for providing redundant data access | |
CN104615684A (en) | Mass data communication concurrent processing method and system | |
CN104144202A (en) | Hadoop distributed file system access method, system and device | |
CN106960011A (en) | Metadata of distributed type file system management system and method | |
CN101599978B (en) | Method and equipment for allocating resources | |
CN102455899A (en) | Multi-file concurrent uploading method | |
CN102402544A (en) | Attachment sharing method and device as well as business system | |
CN102457554A (en) | File download method based on simultaneous multi-threading execution technology | |
CN101588389B (en) | Method for selecting storage apparatus, application server and storage apparatus | |
CN104038314A (en) | Novel safety-monitoring networking real-time dynamic data transmission system and method | |
CN105335441B (en) | Distributed file system based on local area network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120516 |