CN106294399B - Multiple document uploading method and device - Google Patents
Multiple document uploading method and device Download PDFInfo
- Publication number
- CN106294399B CN106294399B CN201510262646.1A CN201510262646A CN106294399B CN 106294399 B CN106294399 B CN 106294399B CN 201510262646 A CN201510262646 A CN 201510262646A CN 106294399 B CN106294399 B CN 106294399B
- Authority
- CN
- China
- Prior art keywords
- file
- task
- backstage
- upload
- uploads
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses a kind of multiple document uploading method and devices, this method comprises: establishing the first file corresponding with the first file of the first storing path uploads task;After executing the first file upload task, task is corresponding hides to backstage button with the upload of the first file for display;It hides if detecting and being directed to the clicking operation of backstage button, to hiding to background request for server transmission carrying the first file upload task, so that server according to hide to background request create the first file upload task hiding attribute, and send carry hide attribute hide to backstage respond;It receives and hides to the response of backstage, hide the first file upload task to backstage according to the hiding attribute carried into backstage response is hidden;And it establishes the second file corresponding with the second file of the second storing path and uploads task, and execute the second file and upload task.The program saves file uplink time, improves treatment effeciency, and promote user experience.
Description
Technical field
This application involves network technique field more particularly to a kind of multiple document uploading method and devices.
Background technique
With the rapid development of network technology, Internet Service Provider (Internet Service Provider, ISP)
The application service of offer increasingly diversification.For example, the network hard disc (abbreviation Dropbox) increasingly pursued instantly by people, i.e.,
A kind of online storage service that ISP is provided, server can receive the file of client upload, provide a user depositing for file
The file management facilities such as storage, access, backup, shared, it is very convenient to use.
When user is to server up transfer file, it is sometimes desirable to upload the file of multiple and different storing paths.Currently, can only adopt
With the mode of serial upper transmitting file, i.e., the file of a storing path can only be uploaded to completely after server in ability meeting by client
Passing the file of another storing path, it is obvious that this serial file uploads mode time-consuming and grows very much, and treatment effeciency is very low, and
And user experience can be seriously affected.
Summary of the invention
The embodiment of the present application provides a kind of multiple document uploading method and device, to solve time-consuming existing in the prior art
Very long, treatment effeciency is very low, and the problem of can seriously affect user experience.
According to the embodiment of the present application, a kind of multiple document uploading method is provided, comprising:
It establishes the first file corresponding with the first file of the first storing path and uploads task;
After executing the first file upload task, display is corresponding with first file upload task to hide to backstage
Button;
It is hidden for described to the clicking operation of backstage button if detecting, is sent to server and carry first text
Part upload task is hidden to background request, so that the server is hidden according to described to background request creation first text
Part uploads the hiding attribute of task, and sends hiding to backstage for the carrying hiding attribute and respond;
Receive it is described hide to backstage respond after, hide the hiding attribute that carries into backstage response according to described
First file upload task is hidden to backstage;And
It establishes the second file corresponding with the second file of the second storing path and uploads task, and execute second file
Upload task.
Specifically, establishing the first file corresponding with the first file of the first storing path uploads task, specifically include:
After detecting the clicking operation for file upload button, file upload request is sent to server, so that described
Server is returned according to the file upload request carries the file upload response that file uploads dialog box;
After receiving the file upload response, shows that the file uploads the file carried in response and uploads and talk with
Frame;
If by the file upload dialog box obtain user choose the first storing path the first file, establish with
Corresponding first file of first file of the first path uploads task.
Specifically, first file upload is appointed according to the hiding attribute carried into backstage response of hiding
Business is hidden to backstage, is specifically included:
It parses described hide to backstage to respond, obtains the hiding attribute;
First file upload task is added in background task file according to the hiding attribute.
Optionally, further includes:
After detecting the clicking operation for the background task file, shows in the background task file and include
Task;
After detecting the clicking operation for uploading task for first file, show that first file uploads task.
According to the embodiment of the present application, a kind of multiple document uploading method is also provided, comprising:
It receives carrying the first file that client is sent and uploads task and hide to background request, it is described to hide to asking from the background
Client described in Seeking Truth establishes the first file corresponding with the first file of the first storing path and uploads task, executes described first
After file upload task, task is corresponding hides to backstage button with first file upload for display, and detects for institute
It states and sends after hiding to the clicking operation of backstage button;
The hiding attribute that first file uploads task is created according to described hide to background request;
It sends hiding to backstage for the carrying hiding attribute to respond, so that the client is hidden according to described to backstage
The hiding attribute carried in response hides first file upload task to backstage, and, it establishes and is saved with second
Corresponding second file of second file in path uploads task, and executes second file and upload task.
Specifically, creating the hiding attribute that first file uploads task according to described hide to background request, specifically
Include:
Concealing program is called to obtain the corresponding attribute of the first file upload task according to described hide to background request
List;
It calls the concealing program to add in the attribute list and hides attribute.
According to the embodiment of the present application, a kind of multiple document uploading device is also provided, comprising:
Unit is established, uploads task for establishing the first file corresponding with the first file of the first storing path;
First display unit, after executing the first file upload task, display is uploaded with first file appoints
It is engaged in corresponding hide to backstage button;
Transmission unit is sent if hiding for described to the clicking operation of backstage button for detecting to server
Hiding to background request for the first file upload task is carried, so that the server is hidden according to described to background request
It creates first file and uploads the hiding attribute of task, and send hiding to backstage for the carrying hiding attribute and respond;
Hidden unit, for receive it is described hide to backstage respond after, according to it is described hide to backstage response in carry
The hiding attribute by first file upload task hide to backstage;And
Execution unit uploads task for establishing the second file corresponding with the second file of the second storing path, and holds
Row second file uploads task.
Specifically, described establish unit, for establishing the first file corresponding with the first file of the first storing path
Biography task, is specifically used for:
After detecting the clicking operation for file upload button, file upload request is sent to server, so that described
Server is returned according to the file upload request carries the file upload response that file uploads dialog box;
After receiving the file upload response, shows that the file uploads the file carried in response and uploads and talk with
Frame;
If by the file upload dialog box obtain user choose the first storing path the first file, establish with
Corresponding first file of first file of the first path uploads task.
Specifically, the hidden unit, for being incited somebody to action according to the hiding attribute carried into backstage response of hiding
First file uploads task and hides to backstage, is specifically used for:
It parses described hide to backstage to respond, obtains the hiding attribute;
First file upload task is added in background task file according to the hiding attribute.
Optionally, further includes:
Second display unit, after detecting the clicking operation for the background task file, after display is described
Task of including in platform assignment folder;
Third display unit, after detecting the clicking operation for uploading task for first file, described in display
First file uploads task.
According to the embodiment of the present application, a kind of multiple document uploading device is also provided, comprising:
Receiving unit, the first file of carrying for receiving client transmission upload task and hide to background request, institute
State that hide to background request be that the client is established the first file corresponding with the first file of the first storing path and uploaded times
Business, after executing the first file upload task, task is corresponding hides to backstage button for display and first file upload,
And it detects for sending after described hide to the clicking operation of backstage button;
Creating unit, for creating the hiding category that first file uploads task according to described hide to background request
Property;
Transmission unit carries hiding to backstage for the hiding attribute and responds for sending so that the client according to
The hiding attribute carried into backstage response of hiding hides first file upload task to backstage, and,
It establishes the second file corresponding with the second file of the second storing path and uploads task, and execute second file and upload and appoint
Business.
Specifically, the creating unit, for creating the first file upload times according to described hide to background request
The hiding attribute of business, is specifically used for:
Concealing program is called to obtain the corresponding attribute of the first file upload task according to described hide to background request
List;
It calls the concealing program to add in the attribute list and hides attribute.
The embodiment of the present application provides a kind of multiple document uploading method and device, firstly, establishing the with the first storing path
Corresponding first file of one file uploads task;After executing the first file upload task, in display and first file
Biography task is corresponding to be hidden to backstage button;It is hidden for described to the clicking operation of backstage button if detecting, to service
Device transmission carrying the first file upload task is hidden to background request, so that the server is hidden according to described to rear
Platform request creates first file and uploads the hiding attribute of task, and sends hiding to backstage for the carrying hiding attribute and ring
It answers;Receive it is described hide to backstage respond after, according to the hiding attribute that carries hidden into backstage response by institute
The first file upload task is stated to hide to backstage;And establish the second file corresponding with the second file of the second storing path
Upload task, and execute second file and upload task.In the program, the first file pair with the first storing path is being executed
After the first file upload task answered, that is, start after uploading the first file, the first file can be hidden and upload task, then established
The second file corresponding with the second file of the second storing path uploads task, and executes the second file and upload task, that is, starts
Upload the second file.As it can be seen that when needing to upload different the first file and the second file of storing path, without until the first text
Part is uploaded to completely after server uploads the second file again, but uploads the first file and the second file simultaneously, so as to save
File uplink time is saved, improves treatment effeciency, and promote user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is in the embodiment of the present application using client as the flow chart of the multiple document uploading method of executing subject;
Fig. 2 is the flow chart of S11 in the embodiment of the present application;
Fig. 3 is the flow chart of S14 in the embodiment of the present application;
Fig. 4 is another flow chart of S14 in the embodiment of the present application;
Fig. 5 is in the embodiment of the present application using server as the flow chart of the multiple document uploading method of executing subject;
Fig. 6 is the flow chart of S52 in the embodiment of the present application;
Fig. 7 is a kind of flow chart of the multiple document uploading method based on multiple document uploading system in the embodiment of the present application;
Fig. 8 is a kind of structural schematic diagram of multiple document uploading device in the embodiment of the present application;
Fig. 9 is the structural schematic diagram of another multiple document uploading device in the embodiment of the present application;
Figure 10 is a kind of structural schematic diagram of multiple document uploading device in the embodiment of the present application.
Specific embodiment
In order to be clearer and more clear technical problems to be solved in this application, technical solution and beneficial effect, tie below
Drawings and examples are closed, the application is further elaborated.It should be appreciated that specific embodiment described herein is only
To explain the application, it is not used to limit the application.
Existing in the prior art time-consuming very long in order to solve, treatment effeciency is very low, and can seriously affect user's body
The problem of testing, the embodiment of the present application provide a kind of multiple document uploading method, and the executing subject of this method is client, and process is as schemed
Shown in 1, specifically includes the following steps:
S11: it establishes the first file corresponding with the first file of the first storing path and uploads task.
Many files would generally be saved in client, each file has respective storing path, for example, the guarantor of picture A
Deposit path be D disk amusement image picture A, for another example the storing path of work plan B be E disk work document work meter
Draw B.
When user needs some file being uploaded to server, the corresponding storing path of this document is the first preservation road
Diameter, this document are the first file, and client can establish the upload of the first file first against the first file of the first storing path
Task.For example, client needs to establish the first file corresponding with picture A when user needs to upload onto the server picture A
Upload task.
S12: after executing the first file upload task, display is corresponding with the first file upload task to hide to pressing from the background
Button.
The first file of client executing uploads task, that is, starts to upload the first file, according to the relevant technologies, needs to wait the
One file could upload other files after being uploaded to server completely, in the embodiment of the present application, can hide on the first file
Biography task can specifically show and upload that task is corresponding hides to backstage button with the first file, this is hidden to backstage button
Function is to hide the first file upload task to backstage.
S13: it if detecting for hiding to the clicking operation of backstage button, sends and is carried on the first file to server
Biography task is hidden to background request so that server according to hide to background request create the first file upload task hide
Attribute, and send hiding to backstage for the hiding attribute of carrying and respond.
When user, which needs to hide the first file, uploads task, hide corresponding with the first file upload task can be clicked
To backstage button, client, which is detected, to be hidden for this to the clicking operation of backstage button, and can be hidden with request server
One file uploads task, and hiding to background request for carrying the first file upload task can be specifically sent to server, so as to
The hiding attribute for creating the first file upload task is hidden to background request according to this in server, and sends the carrying hiding category
Property hide to backstage respond.
S14: receiving and hide to the response of backstage, literary by first according to the hiding attribute carried into backstage response is hidden
Part uploads task and hides to backstage.
Client can hide attribute according to this and realize and hide the first file upload task to backstage.
S15: it establishes the second file corresponding with the second file of the second storing path and uploads task, and execute the second file
Upload task.
If user also needs to upload the second file of the second storing path, second with the second storing path can establish
Corresponding second file of file uploads task and executes, that is, starts to upload the second file.
In the program, after executing the first file upload task corresponding with the first file of the first storing path, that is, open
Begin after uploading the first file, the first file can be hidden and upload task, then establishes the second file pair with the second storing path
The second file answered uploads task, and executes the second file and upload task, that is, starts to upload the second file.As it can be seen that when needing
When passing different the first file and the second file of storing path, without being uploaded again until the first file is uploaded to completely after server
Second file, but the first file and the second file are uploaded simultaneously, so as to save file uplink time, improve processing effect
Rate, and promote user experience.
It can be using the multifile introduced in S11-S15 when upload storing path different the first file and the second file
Method for uploading, if also needing to upload the third file of third storing path, can hide the second file upload task, establish with
The corresponding third file of third file uploads task, and executes third file and upload task, if there are also other files to need
Pass, the method for upload be all it is identical, both hidden existing file and uploaded task, and uploaded the file for needing to upload, thus
It may be implemented to upload multiple files simultaneously, save file uplink time, improve treatment effeciency, and improve user experience.
The following detailed description of above-mentioned each step.
Specifically, foundation the first file corresponding with the first file of the first storing path in above-mentioned S11 uploads task
Realization process, as shown in Fig. 2, specifically comprising the following steps:
S111: after detecting the clicking operation for file upload button, sending file upload request to server, so that
Server is returned according to file upload request carries the file upload response that file uploads dialog box.
When user needs upper transmitting file, client can show corresponding webpage, and file upload button is shown on the webpage,
User clicks this document upload button, after client detects the clicking operation for this document upload button, sends out to server
File upload request is sent, file is returned to request server and uploads dialog box, this document uploads dialog box and can carry in file
It uploads in response.
S112: after receiving file upload response, display file uploads the file upload dialog box carried in response.
S113: it if uploading the first file that dialog box obtains the first storing path that user chooses by file, establishes
The first file corresponding with the first file of first path uploads task.
After client shows that this document uploads dialog box, user can upload the height in dialog box according to catalogue in file
Rank chooses the file for needing to upload, that is, the first file, all mesh that user accessed during choosing the first file
Record the first storing path of composition, after client gets the first file of first storing path, so that it may establish the first file
Upload task.
When establishing the second file upload task corresponding with the second file of the second storing path in S15, it can also use
The method of S111-S113, which is not described herein again.
Appoint specifically, the basis in above-mentioned S14 hides the hiding attribute carried into backstage response and uploads the first file
Business is hidden to the realization process on backstage, as shown in figure 3, specifically comprising the following steps:
S141: parsing, which is hidden to backstage, to be responded, and obtains hiding attribute.
It is hiding since server carries the hiding attribute that the first file uploads task into backstage response, visitor
Family end needs to parse this first and hides to backstage response, obtains this and hides attribute.
S142: the first file upload task is added in background task file according to hiding attribute.
In this step, client can be hidden according to this attribute by the first file upload task be added to background task text
In part folder, what is saved in the background task file is the task in running background, on the one hand can save current web page in this way
It is clean and tidy, on the other hand execute other operations convenient for user.
Correspondingly, as shown in figure 4, further including following steps on the basis of as shown in Figure 3:
S143: after detecting the clicking operation for background task file, include in display background task file
Task.
Since the task of all running backgrounds is all stored in background task file, when user needs to check that the backstage is appointed
Be engaged in file in Task Progress, or in the background task file task execution delete, pause etc. operation when, need
Check the background task file, user can click the background task file, and client is detected for the background task
After the clicking operation of file, all tasks for including in the background task file are shown.
S144: after detecting the clicking operation for uploading task for the first file, the first file of display uploads task.
If user needs to check that the first file uploads the progress of task, the first file can be clicked and upload task, client
After detecting the clicking operation for uploading task for the first file, display first uploads task, in order to which user checks, or executes
Other operations.
Based on the same inventive concept, the embodiment of the present application also provides a kind of multiple document uploading method, the execution master of this method
Body is server, and process is as shown in figure 5, specifically comprise the following steps:
S51: receiving carrying the first file that client is sent and upload task and hide to background request, hides to asking from the background
Seeking Truth client establishes the first file corresponding with the first file of the first storing path and uploads task, executes the first file and uploads
After task, display uploads that task is corresponding hides to backstage button with the first file, and detects to be directed to and hide to backstage button
Clicking operation after send.
S52: the hiding attribute that the first file uploads task is created according to hiding to background request.
S53: send carry hide attribute hide to backstage respond so that client according to hide to backstage respond in take
The hiding attribute of band hides the first file upload task to backstage, and, establish the second file pair with the second storing path
The second file answered uploads task, and executes the second file and upload task.
In the program, after executing the first file upload task corresponding with the first file of the first storing path, that is, open
Begin after uploading the first file, the first file can be hidden and upload task, then establishes the second file pair with the second storing path
The second file answered uploads task, and executes the second file and upload task, that is, starts to upload the second file.As it can be seen that when needing
When passing different the first file and the second file of storing path, without being uploaded again until the first file is uploaded to completely after server
Second file, but the first file and the second file are uploaded simultaneously, so as to save file uplink time, improve processing effect
Rate, and promote user experience.
Specifically, the basis in above-mentioned S52 is hidden to the hiding attribute of background request creation the first file upload task
Realization process, as shown in fig. 6, specifically comprising the following steps:
S521: concealing program is called to obtain the corresponding attribute column of the first file upload task according to hiding to background request
Table.
Server can call background application to complete, example when creating the hiding attribute of the first file upload task
Such as concealing program.Detailed process is that calling concealing program obtains the first file and uploads the corresponding attribute list of task first
(info.plist), what is saved in the attribute list is each attribute that the first file uploads task.
S522: it calls concealing program to add in attribute list and hides attribute.
Then, it calls the concealing program to add in attribute list and hides attribute, can specifically add in info.plist
Enter:<key>lSUIEIement</key><string>1</string>.So far, the first file of creation may be implemented and upload task
Hiding attribute so that client can hide the first file upload task.
Be illustrated in figure 7 server and client side composition multiple document uploading system, client may include it is multiple, due to
The method that each client carries out multiple document uploading be it is identical, only carried out for including the situation of a client in Fig. 7
Explanation.The multiple document uploading method based on the multiple document uploading system is described in detail below, which can answer
For uploading more than two files, it is illustrated for uploading two different files of storing path below, storing path
Two different files are respectively the first file of the first storing path and the second file of the second storing path.This method is specific
Include the following steps:
S71: after client detects the clicking operation for file upload button, file upload is sent to server and is asked
It asks.
When user needs upper transmitting file, client can show corresponding webpage, and file upload button is shown on the webpage,
User can click this document upload button, after client detects the clicking operation for this document upload button, to service
Device sends file upload request.
S72: server is returned according to file upload request carries the file upload response that file uploads dialog box.
S73: after client receives file upload response, display file uploads the file upload dialogue carried in response
Frame;If uploading the first file that dialog box obtains the first storing path that user chooses, foundation and first path by file
Corresponding first file of the first file upload task;After executing the first file upload task, display is uploaded with the first file appoints
It is engaged in corresponding hide to backstage button.
After client shows that this document uploads dialog box, user can upload the height in dialog box according to catalogue in file
Rank chooses the first file for needing to upload, and all catalogues composition first that user accessed during choosing the first file is protected
Path is deposited, after client gets the first file of first storing path, so that it may establish the first file and upload task.
The first file of client executing uploads task, that is, starts to upload the first file, according to the relevant technologies, needs to wait the
One file could upload other files after being uploaded to server completely, in the embodiment of the present application, can hide on the first file
Biography task can specifically show and upload that task is corresponding hides to backstage button with the first file, this is hidden to backstage button
Function is to hide the first file upload task to backstage.
S74: it if client is detected for hiding to the clicking operation of backstage button, is sent to server and carries first
File upload task is hidden to background request.
When user, which needs to hide the first file, uploads task, hide corresponding with the first file upload task can be clicked
To backstage button, client, which is received, to be hidden for this to the clicking operation of backstage button, and can be hidden with request server
One file uploads task, and hiding to background request for carrying the first file upload task can be specifically sent to server.
S75: server calls concealing program to obtain the first file to upload the corresponding category of task according to hiding to background request
Property list, call concealing program add in attribute list hide attribute, and send carry hide attribute hide to backstage sound
It answers.
Server can call background application to complete, example when creating the hiding attribute of the first file upload task
Such as concealing program.Detailed process is that calling concealing program obtains the first file and uploads the corresponding attribute list of task first
(info.plist), what is saved in the attribute list is each attribute that the first file uploads task.Then, this is called to hide journey
Sequence is added in attribute list hides attribute, can specifically be added in info.plist:<key>lSUIEIement</key><
string>1</string>.So far, the hiding attribute that the first file of creation uploads task may be implemented, so that client can be with
It hides the first file and uploads task.
S76: client, which receives, to be hidden to the response of backstage, and parsing, which is hidden to backstage, to be responded, and obtains hiding attribute;According to
It hides attribute transmitting file task on the first file is added in background task file.
It is hiding since server carries the hiding attribute that the first file uploads task into backstage response, visitor
Family end needs to parse this first and hides to backstage response, obtains this and hides attribute;Then attribute is hidden for the first file according to this
Upload task is added in background task file, and what is saved in the background task file is the task in running background, this
On the one hand sample can save the clean and tidy of current web page, on the other hand execute other operations convenient for user.
S77: if client uploads the first file that dialog box obtains the first storing path that user chooses by file,
It establishes the second file corresponding with the second file of the second storing path and uploads task, and execute the second file and upload task.
If user also needs to upload the second file of the second storing path, second with the second storing path can establish
Corresponding second file of file uploads task and executes, that is, starts to upload the second file.
In the program, when needing to upload different the first file and the second file of storing path, without until the first text
Part is uploaded to completely after server uploads the second file again, but uploads the first file and the second file simultaneously, so as to save
File uplink time is saved, improves treatment effeciency, and promote user experience.
Based on the same inventive concept, the embodiment of the present application also provides a kind of multiple document uploading device, which can be set
In the client, structure is as shown in 8 figures, including establishes unit 81, the first display unit 82, transmission unit 83, hidden unit 84
With execution unit 85, in which:
It is above-mentioned to establish unit 81, appoint for establishing the first file corresponding with the first file of the first storing path and uploading
Business;
Above-mentioned first display unit 82, after executing the first file upload task, display uploads task with the first file
It is corresponding to hide to backstage button;
Above-mentioned transmission unit 83 is sent out if hiding for detecting to be directed to the clicking operation of backstage button to server
Hiding to background request for carrying the first file upload task is sent, so that server is literary to background request creation first according to hiding
Part uploads the hiding attribute of task, and sends hiding to backstage for the hiding attribute of carrying and respond;
Above-mentioned hidden unit 84, for being carried according to hiding into backstage response after receiving and hiding to backstage and respond
Attribute is hidden to hide the first file upload task to backstage;And
Above-mentioned execution unit 85 is appointed for establishing the second file corresponding with the second file of the second storing path and uploading
Business, and execute the second file and upload task.
In the program, after executing the first file upload task corresponding with the first file of the first storing path, that is, open
Begin after uploading the first file, the first file can be hidden and upload task, then establishes the second file pair with the second storing path
The second file answered uploads task, and executes the second file and upload task, that is, starts to upload the second file.As it can be seen that when needing
When passing different the first file and the second file of storing path, without being uploaded again until the first file is uploaded to completely after server
Second file, but the first file and the second file are uploaded simultaneously, so as to save file uplink time, improve processing effect
Rate, and promote user experience.
Specifically, above-mentioned establish unit 81, for establishing the first file corresponding with the first file of the first storing path
Upload task, is specifically used for:
After detecting the clicking operation for file upload button, file upload request is sent to server, so that service
Device is returned according to file upload request carries the file upload response that file uploads dialog box;
After receiving file upload response, display file uploads the file upload dialog box carried in response;
If uploading the first file that dialog box obtains the first storing path that user chooses by file, establish and first
Corresponding first file of first file in path uploads task.
Specifically, above-mentioned hidden unit 84, for literary by first according to the hiding attribute carried into backstage response is hidden
Part uploads task and hides to backstage, is specifically used for:
Parsing, which is hidden to backstage, to be responded, and obtains hiding attribute;
The first file upload task is added in background task file according to hiding attribute.
It is illustrated in figure 9 another multiple document uploading device provided by the embodiments of the present application, basic structure and Fig. 8 are described
Multiple document uploading device it is similar, not table is omitted with the unit of labeled.Further, on multifile as shown in Figure 9
Device is passed, further includes the second display unit 86 and third display unit 87, in which:
Above-mentioned second display unit 86, after detecting the clicking operation for background task file, display backstage
Task of including in assignment folder;
Above-mentioned third display unit 87, for after detecting and being directed to the clicking operation that the first file uploads task, display the
One file uploads task.
Based on the same inventive concept, the embodiment of the present application also provides a kind of multiple document uploading device, which can be set
In the server, structure as illustrated in fig. 10, including receiving unit 101, creating unit 102 and transmission unit 103, in which:
Above-mentioned receiving unit 101, for receive client transmission the first file of carrying upload task hide to backstage
Request, hiding to background request is that client establishes the first file upload times corresponding with the first file of the first storing path
Business, after executing the first file upload task, task is corresponding hides to backstage button with the upload of the first file for display, and detects
For what is sent after hiding to the clicking operation of backstage button;
Above-mentioned creating unit 102, for according to the hiding attribute for hiding to background request the first file of creation the task that uploads;
Above-mentioned transmission unit 103 is responded for sending hiding to backstage for the hiding attribute of carrying, so that client is according to hidden
The hiding attribute carried into backstage response is hidden to hide the first file upload task to backstage, and, it establishes and is saved with second
Corresponding second file of second file in path uploads task, and executes the second file and upload task.
In the program, after executing the first file upload task corresponding with the first file of the first storing path, that is, open
Begin after uploading the first file, the first file can be hidden and upload task, then establishes the second file pair with the second storing path
The second file answered uploads task, and executes the second file and upload task, that is, starts to upload the second file.As it can be seen that when needing
When passing different the first file and the second file of storing path, without being uploaded again until the first file is uploaded to completely after server
Second file, but the first file and the second file are uploaded simultaneously, so as to save file uplink time, improve processing effect
Rate, and promote user experience.
Specifically, above-mentioned creating unit 102, hides to background request for basis and creates the hidden of the first file upload task
Attribute is hidden, is specifically used for:
Concealing program is called to obtain the corresponding attribute list of the first file upload task according to hiding to background request;
It calls concealing program to add in attribute list and hides attribute.
Above description has shown and described preferred embodiment of the present application, but as previously described, it should be understood that the application is not
It is confined to form disclosed herein, should not be regarded as an exclusion of other examples, and can be used for various other combinations, modification
And environment, and can be carried out within that scope of the inventive concept describe herein by the above teachings or related fields of technology or knowledge
Change.And changes and modifications made by those skilled in the art do not depart from spirit and scope, then it all should be in the application institute
In attached scope of protection of the claims.
Claims (12)
1. a kind of multiple document uploading method characterized by comprising
It establishes the first file corresponding with the first file of the first storing path and uploads task;
After executing the first file upload task, display is corresponding with first file upload task to hide to pressing from the background
Button;
It is hidden for described to the clicking operation of backstage button if detecting, sends and carried on first file to server
Biography task is hidden to background request, so that the server creates on first file according to described hide to background request
The hiding attribute of biography task, and send hiding to backstage for the carrying hiding attribute and respond;
Receive it is described hide to backstage respond after, according to the hiding attribute that carries hidden into backstage response by institute
The first file upload task is stated to hide to backstage;And
It establishes the second file corresponding with the second file of the second storing path and uploads task, and execute second file and upload
Task.
2. the method as described in claim 1, which is characterized in that establish and the first file corresponding first of the first storing path
File uploads task, specifically includes:
After detecting the clicking operation for file upload button, file upload request is sent to server, so that the service
Device is returned according to the file upload request carries the file upload response that file uploads dialog box;
After receiving the file upload response, show that the file uploads the file carried in response and uploads dialog box;
If by the file upload dialog box obtain user choose the first storing path the first file, establish with it is described
Corresponding first file of first file of the first storing path uploads task.
3. the method as described in claim 1, which is characterized in that according to it is described hide to backstage response in carry it is described hide
Attribute hides first file upload task to backstage, specifically includes:
It parses described hide to backstage to respond, obtains the hiding attribute;
First file upload task is added in background task file according to the hiding attribute.
4. method as claimed in claim 3, which is characterized in that further include:
After detecting the clicking operation for the background task file, show that include in the background task file appoints
Business;
After detecting the clicking operation for uploading task for first file, show that first file uploads task.
5. a kind of multiple document uploading method characterized by comprising
Hiding to background request for the first file of carrying upload task that client is sent is received, described hide to background request is
The client establishes the first file corresponding with the first file of the first storing path and uploads task, executes first file
After upload task, task is corresponding hides to backstage button with first file upload for display, and detects for described hidden
It is sent after hiding to the clicking operation of backstage button;
The hiding attribute that first file uploads task is created according to described hide to background request;
It sends hiding to backstage for the carrying hiding attribute to respond, so that the client is responded according to described hide to backstage
The hiding attribute of middle carrying hides first file upload task to backstage, and, it establishes and the second storing path
Corresponding second file of the second file upload task, and execute second file and upload task.
6. method as claimed in claim 5, which is characterized in that create first file according to described hide to background request
The hiding attribute of upload task, specifically includes:
Concealing program is called to obtain the corresponding attribute list of the first file upload task according to described hide to background request;
It calls the concealing program to add in the attribute list and hides attribute.
7. a kind of multiple document uploading device characterized by comprising
Unit is established, uploads task for establishing the first file corresponding with the first file of the first storing path;
First display unit, after executing the first file upload task, display uploads task pair with first file
That answers hides to backstage button;
Transmission unit sends to server and carries if hiding for described to the clicking operation of backstage button for detecting
The first file upload task is hidden to background request, so that the server is created according to described hide to background request
First file uploads the hiding attribute of task, and sends hiding to backstage for the carrying hiding attribute and respond;
Hidden unit, for receive it is described hide to backstage respond after, hide the institute that carries into backstage response according to described
Hiding attribute is stated to hide first file upload task to backstage;And
Execution unit uploads task for establishing the second file corresponding with the second file of the second storing path, and executes institute
It states the second file and uploads task.
8. device as claimed in claim 7, which is characterized in that it is described to establish unit, for establishing and the first storing path
Corresponding first file of first file uploads task, is specifically used for:
After detecting the clicking operation for file upload button, file upload request is sent to server, so that the service
Device is returned according to the file upload request carries the file upload response that file uploads dialog box;
After receiving the file upload response, show that the file uploads the file carried in response and uploads dialog box;
If by the file upload dialog box obtain user choose the first storing path the first file, establish with it is described
Corresponding first file of first file of the first storing path uploads task.
9. device as claimed in claim 7, which is characterized in that the hidden unit, for being rung according to described hide to backstage
It answers the hiding attribute of middle carrying to hide first file upload task to backstage, is specifically used for:
It parses described hide to backstage to respond, obtains the hiding attribute;
First file upload task is added in background task file according to the hiding attribute.
10. device as claimed in claim 9, which is characterized in that further include:
Second display unit shows that the backstage is appointed after detecting the clicking operation for the background task file
Task of including in business file;
Third display unit, after detecting the clicking operation for uploading task for first file, display described first
File uploads task.
11. a kind of multiple document uploading device characterized by comprising
Receiving unit, carrying the first file for receiving client transmission uploads task and hides to background request, described hidden
Hiding to background request is that the client establishes the first file upload task corresponding with the first file of the first storing path, is held
After row the first file upload task, task is corresponding hides to backstage button for display and first file upload, and examines
It measures and is sent for after described hide to the clicking operation of backstage button;
Creating unit, for creating the hiding attribute that first file uploads task according to described hide to background request;
Transmission unit is responded for sending hiding to backstage for the carrying hiding attribute, so that the client is according to
The hiding attribute carried into backstage response is hidden to hide first file upload task to backstage, and, it establishes
The second file corresponding with the second file of the second storing path uploads task, and executes second file and upload task.
12. device as claimed in claim 11, which is characterized in that the creating unit, for being hidden according to described to backstage
Request creates the hiding attribute that first file uploads task, is specifically used for:
Concealing program is called to obtain the corresponding attribute list of the first file upload task according to described hide to background request;
It calls the concealing program to add in the attribute list and hides attribute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510262646.1A CN106294399B (en) | 2015-05-21 | 2015-05-21 | Multiple document uploading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510262646.1A CN106294399B (en) | 2015-05-21 | 2015-05-21 | Multiple document uploading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106294399A CN106294399A (en) | 2017-01-04 |
CN106294399B true CN106294399B (en) | 2019-07-16 |
Family
ID=57632767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510262646.1A Active CN106294399B (en) | 2015-05-21 | 2015-05-21 | Multiple document uploading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294399B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920487B (en) * | 2018-05-04 | 2022-04-26 | 天津猎鹰网络技术有限公司 | Data uploading method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1940919A (en) * | 2005-09-27 | 2007-04-04 | 腾讯科技(深圳)有限公司 | Non-standard transmitting assembly and multi-file transmission of non-standard transmitting assembly |
CN102957751A (en) * | 2012-11-27 | 2013-03-06 | 北京金山云科技有限公司 | Document transmission method and device between terminal device and network server and terminal device |
CN103491169A (en) * | 2013-09-24 | 2014-01-01 | 长沙裕邦软件开发有限公司 | Method and system for uploading and downloading files |
CN103888482A (en) * | 2012-12-19 | 2014-06-25 | 北京融兴通达科技有限公司 | Ajax file uploading system and method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9563448B2 (en) * | 2013-03-13 | 2017-02-07 | International Business Machines Corporation | Mobilizing a web application to take advantage of a native device capability |
-
2015
- 2015-05-21 CN CN201510262646.1A patent/CN106294399B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1940919A (en) * | 2005-09-27 | 2007-04-04 | 腾讯科技(深圳)有限公司 | Non-standard transmitting assembly and multi-file transmission of non-standard transmitting assembly |
CN102957751A (en) * | 2012-11-27 | 2013-03-06 | 北京金山云科技有限公司 | Document transmission method and device between terminal device and network server and terminal device |
CN103888482A (en) * | 2012-12-19 | 2014-06-25 | 北京融兴通达科技有限公司 | Ajax file uploading system and method thereof |
CN103491169A (en) * | 2013-09-24 | 2014-01-01 | 长沙裕邦软件开发有限公司 | Method and system for uploading and downloading files |
Also Published As
Publication number | Publication date |
---|---|
CN106294399A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10866978B2 (en) | Techniques to respond to user requests using natural-language machine learning based on branching example conversations | |
CN112313921A (en) | Facilitating conference joining | |
CN103905495B (en) | A kind of synchronous method and background server of application | |
CN105354132B (en) | The dispensing processing method of Mobile solution, tracking launch the method and system of channel | |
TW201737681A (en) | Method and apparatus for implementing instant messaging | |
CN106375458A (en) | Service call system, method and device | |
US20180046707A1 (en) | Providing searching strategy in connection with answering question in message | |
CN108491188A (en) | The exploitative management method and device of voice dialogue product | |
CN108549586B (en) | Information processing method and device | |
CN103685498B (en) | The loading method and browser device of a kind of wallpaper | |
CN114465867B (en) | Maintenance method and device of server, storage medium and processor | |
CN110113298B (en) | Data transmission method, device, signaling server and computer readable medium | |
CN103853651A (en) | Software testing method and device | |
CN106294399B (en) | Multiple document uploading method and device | |
McManus | Security by design: teaching secure software design and development techniques | |
CN105323155A (en) | Method for communication of on-line service system with third party instant messaging system | |
CN112331201A (en) | Voice interaction method and device, storage medium and electronic device | |
CN103425473B (en) | A kind of method and system of open microblogging | |
US8935410B2 (en) | Cobrowsing macros | |
US20130254331A1 (en) | Information processing apparatus, information processing method, program, and information processing system | |
CN104298716A (en) | Web crawler system and web crawler implementation method capable of supporting artificial session grafting | |
Asthana et al. | Maareech: Usability testing tool for voice response system using xml based user models | |
CN104123130A (en) | Information processing method, device and system | |
CN108011775A (en) | Method and apparatus for carrying out network test | |
CN103618793B (en) | Browser Mission Monitor method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |