Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses the transmission state methods of exhibiting of a kind of cloud document
And device, automatically and to show the transmission state of cloud document intuitively, thus reach to improve user and use
The purpose experienced.Technical scheme is as follows:
First aspect, embodiments provides the transmission state methods of exhibiting of a kind of cloud document, bag
Include:
Receive the document transmission instruction being directed to the first cloud document that user sends;
The document transmission request being directed to described first cloud document is sent to server;
Setting up with described server after cloud document transmission is connected, transmitting described first cloud document;
In transmitting procedure, obtain the transmission state of described first cloud document, and by acquired transmission
State passes through the document label display that described first cloud document is corresponding.
Preferably, the document transmission being directed to the first cloud document that the described user of reception sends instructs, bag
Include: receive the document OPEN being directed to the first cloud document that user sends;
The described document transmission request being directed to described first cloud document to server transmission, including: to
Server transmission is directed to the document of described first cloud document and opens request;
The described first cloud document of described transmission, including: from described server, download described first cloud literary composition
Shelves.
Preferably, described transmission state includes:
Download progress and/or download result.
Preferably, the document transmission being directed to the first cloud document that the described user of reception sends instructs, bag
Include: receive the document storing instruction of the first cloud document being directed to open that user sends;
The described document transmission request being directed to described first cloud document to server transmission, including: to
Server transmission is directed to the document storing request of the described first cloud document opened;
The described first cloud document of described transmission, including: described opened is uploaded to described server
One cloud document.
Preferably, described transmission state includes:
Upload progress and/or upload result.
Preferably, described by acquired transmission state by document mark corresponding to described first cloud document
Sign and show, including:
Acquired transmission state is write in the form of text the document label that described first cloud document is corresponding
In.
Preferably, described textual form includes:
Numerical percentage form or explanatory note form.
Preferably, described by acquired transmission state by document mark corresponding to described first cloud document
Sign and show, including:
According to described transmission state, the current document label that described first cloud document is corresponding is painted again
Make and show;
Wherein, draw the process of document label, including:
Drawing document label, described document label includes the first color as background color and for showing
Second color of transmission state.
Second aspect, embodiments provides the transmission state exhibiting device of a kind of cloud document, bag
Include:
Command reception module, the document transmission being directed to the first cloud document sent for receiving user refers to
Order;
Request sending module, for sending the document transmission being directed to described first cloud document to server
Request;
Document transmission processing module, for setting up after cloud document transmission is connected with described server, biography
Defeated described first cloud document;
Transmission state acquisition module, in transmitting procedure, obtains the transmission of described first cloud document
State;
Transmission state display module, for passing through described first cloud document pair by acquired transmission state
The document label display answered.
Preferably, described command reception module, including:
Document OPEN receives unit, for receiving the literary composition being directed to the first cloud document that user sends
Shelves OPEN;
Described request sending module, including:
Request transmitting unit opened by document, is directed to described first cloud document for sending to server
Request opened by document;
Described document transmission processing module, including:
Profile download unit, for setting up after cloud document transmission is connected, from described with described server
Server is downloaded described first cloud document.
Preferably, described command reception module, including:
Document storing instruction reception unit, for receiving the first cloud being directed to open that user sends
The document storing instruction of document;
Described request sending module, including:
Document storing request transmitting unit, for sending, to server, be directed to open described first
The document storing request of cloud document;
Described document transmission processing module, including:
Document uploading unit, for setting up after cloud document transmission is connected, to described with described server
Server uploads the described first cloud document opened.
Preferably, described transmission state display module, including:
First display unit, for writing described first cloud in the form of text by acquired transmission state
In the document label that document is corresponding.
Preferably, described transmission state display module, including:
Second display unit, for according to described transmission state, to corresponding the working as of described first cloud document
Front document label repaints and shows;
Wherein, draw the process of document label, including:
Drawing document label, described document label includes the first color as background color and for showing
Second color of transmission state.
In this programme, in the transmitting procedure of cloud document, utilize the document label exhibition corresponding to cloud document
Show the transmission state of this cloud document;And owing to document label and cloud document have unique correspondence, and
Transmitting procedure is illustrated in all the time in display interface corresponding during transmission cloud document, therefore, it can reality
Transmission state is shown on now automatic and intuitive ground, thus reaches to improve the purpose of user's experience.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered
Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention,
Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
Have and make the every other embodiment obtained under creative work premise, broadly fall into present invention protection
Scope.
In order to automatically and show the transmission state of cloud document intuitively, thus reach to improve user and use body
The purpose tested, embodiments provides transmission state methods of exhibiting and the device of a kind of cloud document.
The transmission state methods of exhibiting of a kind of cloud document provided the embodiment of the present invention first below enters
Row is introduced.
It should be noted that the transmission state displaying side of a kind of cloud document that the embodiment of the present invention is provided
Method is be applicable to electronic equipment;Wherein, in actual applications, this electronic equipment can be mobile phone, pen
Remember this or panel computer, be certainly not limited thereto.And, it is achieved the transmission state exhibition of this cloud document
The functional software showing method can be the client software being arranged in this electronic equipment, wherein, this visitor
Family end software can show, by document label form, the cloud document opened.
As it is shown in figure 1, the transmission state methods of exhibiting of a kind of cloud document, may include that
S101, electronic equipment receives the document transmission instruction being directed to the first cloud document that user sends;
When user needs the cloud document opening in the server in high in the clouds or the cloud document storing opened is arrived
During the server in high in the clouds, can be sent to electronic equipment by man machine interface and be directed to the first cloud document
Document transmission instructs, and this electronic equipment can receive that user sends is directed to the first cloud document
Document transmission instructs, and then carries out follow-up process.Wherein, the Doctype of this first cloud document can
Think: word document, text document or PDF document etc., be certainly not limited thereto.
It should be noted that the document transmission instruction being directed to this first cloud document can be: be directed to
The document OPEN of the first cloud document, or, it is directed to the document guarantor of the first cloud document opened
Deposit instruction.
S102, sends the document transmission request being directed to this first cloud document to server;
This electronic equipment is receiving the document transmission instruction being directed to the first cloud document that user sends
After, can to server send be directed to this first cloud document document transmission request, and then with this
After server sets up the link of cloud document transmission, perform follow-up document transmission operation.
It will be appreciated by persons skilled in the art that the received document being directed to the first cloud document
When transmission instruction is for " being directed to the document OPEN of the first cloud document ", this is directed to this first cloud
The document transmission request of document is: request opened by the document being directed to this first cloud document;And when being connect
The document transmission being directed to the first cloud document received instructs as " to be directed to the first cloud document opened
Document storing instruction " time, be directed to this first cloud document document transmission request be: be directed to
The document storing request of this first cloud document opened.
It should be noted that in order to improve safety, server is directed to this first cloud literary composition receiving
After the document transmission request of shelves, it is possible to use user name entrained in document transmission request, password etc.
Information carries out Authority Verification, and at Authority Verification by afterwards, initiates to set up document with this electronic equipment
The process of transmissions links, thus this electronic equipment can be set up document transmission with this server and be connected.
S103, is setting up with this server after cloud document transmission is connected, is transmitting this first cloud document;
S104, in transmitting procedure, obtains the transmission state of this first cloud document;
Wherein, set up after cloud document transmission is connected with this server at electronic equipment, can transmit this
One cloud document, and in transmitting procedure, the transmission of this first cloud document periodically or can be obtained in real time
State.Wherein, the mode of the transmission state obtaining this first cloud document can be to use existing mode, example
As: when the first cloud document opened by needs, can according to the size of the first cloud document of server feedback,
And the size of the first cloud document downloaded, determine the transmission state of the first cloud document;And when needing
During by the first cloud document storing of having opened to server, can according to the size of the first cloud document, with
And the size of the first cloud document uploaded, determine the transmission state of the first cloud document.
It should be noted that open request when sending the document being directed to this first cloud document to server
Time, transmit this first cloud document and may include that from this server, download this first cloud document, now,
Acquired transmission state is download progress and/or downloads result;And be directed to when sending to server
This first cloud document opened document storing request time, transmit this first cloud document may include that to
This server uploads this first cloud document opened, now, acquired transmission state on come into
Spend and/or upload result.
Wherein, so-called download progress can be the percentage ratio downloaded, and this download result can be:
In download, download successfully, failed download etc. any one show the information of current download state;And be somebody's turn to do
Upload progress can be the percentage ratio uploaded, and this is uploaded result and can be: upper crossing, upload into
Merit, upload any one information showing currently to upload state such as unsuccessfully.
S105, by acquired transmission state by document label display corresponding to this first cloud document.
Wherein, after getting this transmission state, this electronic equipment can be by acquired transmission state
By the document label display that this first cloud document is corresponding.And due to the corresponding document mark of the first cloud document
Signing, therefore, transmission state and the first cloud document have corresponding relation, and, owing to document label exists
When transmitting procedure is illustrated in transmission cloud document all the time in corresponding display interface so that user without
The manually opened transmission state that can show the first cloud document.
Concrete, by acquired transmission state by document label display corresponding to this first cloud document,
May include that that with writing text form, acquired transmission state is write this first cloud document is corresponding
In document label.Wherein, this word textual form may include that numerical percentage form or word are said
Bright form.Wherein, when transmission state is transmission progress (upload progress or download progress), permissible
The document label of the first cloud document writes such as " 10% ", " 50% ", " 60% ", " 90% ",
Numerical percentages such as " 100% ";Or, when transmission state (uploads result or download for transmission result
Result) time, can write such as in the document label of the first cloud document: " starting to upload " " starts
Download " explanatory note such as " in download " " upper crossing " " downloading successfully " " uploading successfully ".Can manage
Solve, data content shown in the document label that this first cloud document is corresponding also include this
The document title of one cloud document or other marks.
Certainly, by acquired transmission state by document label display corresponding to this first cloud document,
Can also include:
According to this transmission state, the current document label that this first cloud document is corresponding is repainted also
Show;
Wherein, draw the process of document label, may include that
Drawing document label, the document label includes the first color as background color and for showing biography
Second color of defeated state.
For example, can be concrete using document label as the progress passage of progress bar, can be by
The background color of document label is set to the first color, and passes through what shared region in document label can change
Second color represents the transmission state of this first cloud document;Further, the document that this first cloud document is corresponding
Data content shown in label can be document title or other mark of this first cloud document.
Or, the document label with pie chart can be drawn, concrete, can be by the background color of this pie chart
It is set to the first color, and the second color that can be changed by shared sector region shows this first cloud
The transmission state of document;Further, in data shown in the document label that this first cloud document is corresponding
Appearance can be document title or other mark of this first cloud document.
It is emphasized that the above-mentioned given document label display transmission shape by the first cloud document
The mode of state is merely exemplary, should not constitute the restriction to the embodiment of the present invention.
In this programme, in the transmitting procedure of cloud document, utilize the document label exhibition corresponding to cloud document
Show the transmission state of this cloud document;And owing to document label and cloud document have unique correspondence, and
Transmitting procedure is illustrated in all the time in display interface corresponding during transmission cloud document, therefore, it can reality
Transmission state is shown on now automatic and intuitive ground, thus reaches to improve the purpose of user's experience.
Below as a example by opening cloud document in the electronic device, the one that the embodiment of the present invention is provided
The transmission state methods of exhibiting of cloud document is introduced.
It should be noted that the transmission state displaying side of a kind of cloud document that the embodiment of the present invention is provided
Method is be applicable to electronic equipment;Wherein, in actual applications, this electronic equipment can be mobile phone, pen
Remember this or panel computer, be certainly not limited thereto.And, it is achieved the transmission state exhibition of this cloud document
The functional software showing method can be the client software being arranged in this electronic equipment, wherein, this visitor
Family end software can show, by document label form, the cloud document opened.
As in figure 2 it is shown, the transmission state methods of exhibiting of a kind of cloud document, may include that
S201, electronic equipment receives the document OPEN being directed to the first cloud document that user sends;
When user needs the first cloud document opening in the server in high in the clouds, man machine interface can be passed through
Send the document OPEN being directed to the first cloud document to electronic equipment, and this electronic equipment can connect
Receive the document OPEN being directed to the first cloud document that user sends, and then carry out follow-up process.
Wherein, the Doctype of this first cloud document can be: word document, text document or PDF document
Deng, certainly it is not limited thereto.
S202, request opened by the document being directed to this first cloud document to server transmission;
This electronic equipment is receiving the document OPEN being directed to the first cloud document that user sends
After, can send to server and be directed to the document of this first cloud document and open request, and then with this
After server sets up the connection of cloud document transmission, perform follow-up document download operation.
It should be noted that in order to improve safety, server is directed to this first cloud literary composition receiving
After request opened by the document of shelves, it is possible to use document opens in request entrained user name, password etc.
Information carries out Authority Verification, and at Authority Verification by afterwards, initiates to set up document with this electronic equipment
The process of transmissions links, thus this electronic equipment can be set up document transmission with this server and be connected.
S203, is setting up after cloud document transmission is connected with this server, download from this server this
One cloud document;
S204, in downloading process, obtains the download progress of this first cloud document;
Wherein, setting up after cloud document transmission is connected with this server, this electronic equipment is from this server
This first cloud document of middle download, and in downloading process, can periodically or in real time obtain this first cloud
The download progress of document, wherein, so-called download progress can be the percentage ratio downloaded.Further, obtain
The mode of the download progress taking this first cloud document can be to use existing mode.
S205, writes the document that this first cloud document is corresponding in the form of text by acquired download progress
In label.
Wherein, after getting this download progress, this electronic equipment can be by acquired download progress
Write in the document label that this first cloud document is corresponding in the form of text, now, this first cloud document pair
The document label answered will be displayed with download progress and the literary composition of this first cloud document of this first cloud document
Shelves title or other marks, and this download progress changes along with the development of downloading process.Wherein, should
Writing text form may include that numerical percentage form or explanatory note form.
It is understood that due to the first corresponding document label of cloud document, therefore, download progress with
First cloud document has corresponding relation, and, owing to document label is illustrated in downloading process all the time
Download in display interface corresponding during cloud document so that user can show first without manually opened
The download progress of cloud document.
In this programme, in the downloading process of cloud document, by the download progress of cloud document with numeral percentage
Write in the document label that this first cloud document is corresponding than form;And owing to document label has with cloud document
There is unique correspondence, and in downloading process, be illustrated in display circle corresponding when downloading cloud document all the time
In face, it is thereby achieved that automatic and intuitive ground displaying download progress, thus reach to improve user
The purpose of experience.
Below as a example by preserving the cloud document opened, a kind of cloud literary composition that the embodiment of the present invention is provided
The transmission state methods of exhibiting of shelves is introduced.
It should be noted that the transmission state displaying side of a kind of cloud document that the embodiment of the present invention is provided
Method is be applicable to electronic equipment;Wherein, in actual applications, this electronic equipment can be mobile phone, pen
Remember this or panel computer, be certainly not limited thereto.And, it is achieved the transmission state exhibition of this cloud document
The functional software showing method can be the client software being arranged in this electronic equipment, wherein, this visitor
Family end software can show, by document label form, the cloud document opened.
As it is shown on figure 3, the transmission state methods of exhibiting of a kind of cloud document, may include that
S301, electronic equipment receives the document of the first cloud document being directed to open that user sends and protects
Deposit instruction;
When user needs to preserve the first cloud document of having opened, (the first cloud document that will have opened is uploaded
In the server in high in the clouds) time, can be sent to electronic equipment by man machine interface and be directed to the first cloud
The document storing instruction of document, and this electronic equipment can receive that user sends is directed to the first cloud
The document storing instruction of document, and then carry out follow-up process.Wherein, the document of this first cloud document
Type can be: word document, text document or PDF document etc., is certainly not limited thereto.
S302, is directed to the document storing request of this first cloud document opened to server transmission;
This electronic equipment is receiving the document storing instruction being directed to the first cloud document that user sends
After, can to server send be directed to this first cloud document document storing request, and then with this
After server sets up the connection of cloud document transmission, perform follow-up document save operation.
It should be noted that in order to improve safety, server is directed to this first cloud literary composition receiving
After the document storing request of shelves, it is possible to use user name entrained in document storing request, password etc.
Information carries out Authority Verification, and at Authority Verification by afterwards, initiates to set up document with this electronic equipment
The process of transmissions links, thus this electronic equipment can be set up document transmission with this server and be connected.
S303, is setting up with this server after cloud document transmission is connected, is uploading to this server and open
This first cloud document;
S304, in upload procedure, obtains the upload progress of this first cloud document;
Wherein, setting up after cloud document transmission is connected with this server, this electronic equipment is to this server
Upload this first cloud document opened, and in upload procedure, can periodically or obtain in real time should
The upload progress of the first cloud document, wherein, so-called upload progress can be the percentage ratio uploaded.And
And, the mode of the upload progress obtaining this first cloud document can be to use existing mode.
S305, according to this upload progress, to current document label corresponding to this first cloud document again
Draw and show.
Wherein, after getting this upload progress, this electronic equipment can be right according to this upload progress
The current document label that this first cloud document is corresponding repaints and shows, now, and this first cloud literary composition
The document label that shelves are corresponding will demonstrate upload progress by different colours, and be shown by word content
Show document title or other marks of this first cloud document, and this upload progress is along with upload procedure
Develop and change.And due to the corresponding document label of the first cloud document, therefore, upload progress and first
Cloud document has corresponding relation, and, upload owing to document label is illustrated in upload procedure all the time
In display interface corresponding during cloud document so that user can show the first cloud literary composition without manually opened
The upload progress of shelves.
Wherein, draw the process of document label, may include that
Drawing document label, the document label includes the first color as background color and for showing biography
Second color of defeated state.
For example, can be concrete using document label as the progress passage of progress bar, can be by
The background color of document label is set to the first color, and passes through what shared region in document label can change
Second color represents the transmission state of this first cloud document;Further, the document that this first cloud document is corresponding
Data content shown in label can be document title or other mark of this first cloud document.
Or, the document label with pie chart can be drawn, concrete, can be by the background color of this pie chart
It is set to the first color, and the second color that can be changed by shared sector region shows this first cloud
The transmission state of document;Further, in data shown in the document label that this first cloud document is corresponding
Appearance can be document title or other mark of this first cloud document.
It is emphasized that above-mentioned given corresponding to this first cloud document according to this upload progress
Current document label repaints and the mode shown is merely exemplary, should not constitute this
The restriction of inventive embodiments.
In this programme, in the upload procedure of cloud document, according to this upload progress, to this first cloud literary composition
The current document label that shelves are corresponding repaints and shows;And owing to document label has with cloud document
Unique correspondence, and be illustrated in all the time in upload procedure in the display interface uploaded corresponding to cloud document,
It is thereby achieved that automatic and intuitive ground displaying upload progress, thus reach to improve the use of user
The purpose experienced.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides the transmission shape of a kind of cloud document
State exhibiting device, as shown in Figure 4, described device may include that
Command reception module 410, for receiving the document transmission being directed to the first cloud document that user sends
Instruction;
Request sending module 420, passes for sending the document being directed to described first cloud document to server
Defeated request;
Document transmission processing module 430, for setting up after cloud document transmission is connected with described server,
Transmit described first cloud document;
Transmission state acquisition module 440, in transmitting procedure, obtains the biography of described first cloud document
Defeated state;
Transmission state display module 450, for passing through described first cloud document by acquired transmission state
Corresponding document label display.
In this programme, in the transmitting procedure of cloud document, utilize the document label exhibition corresponding to cloud document
Show the transmission state of this cloud document;And owing to document label and cloud document have unique correspondence, and
Transmitting procedure is illustrated in all the time in display interface corresponding during transmission cloud document, therefore, it can reality
Transmission state is shown on now automatic and intuitive ground, thus reaches to improve the purpose of user's experience.
Wherein, described command reception module 410, may include that
Document OPEN receives unit, for receiving the literary composition being directed to the first cloud document that user sends
Shelves OPEN;
Shown request sending module 420, may include that
Request transmitting unit opened by document, is directed to described first cloud document for sending to server
Request opened by document;
Described document transmission processing module 430, may include that
Profile download unit, for setting up after cloud document transmission is connected, from described with described server
Server is downloaded described first cloud document.
Wherein, described command reception module 410, may include that
Document storing instruction reception unit, for receiving the first cloud being directed to open that user sends
The document storing instruction of document;
Described request sending module 420, may include that
Document storing request transmitting unit, for sending, to server, be directed to open described first
The document storing request of cloud document;
Described document transmission processing module 430, may include that
Document uploading unit, for setting up after cloud document transmission is connected, to described with described server
Server uploads the described first cloud document opened.
Wherein, described transmission state display module 450, may include that
First display unit, for writing described first cloud in the form of text by acquired transmission state
In the document label that document is corresponding.
Wherein, described transmission state display module 450, may include that
Second display unit, for according to described transmission state, to corresponding the working as of described first cloud document
Front document label repaints and shows;
Wherein, draw the process of document label, may include that
Drawing document label, described document label includes the first color as background color and for showing
Second color of transmission state.
For system embodiment, owing to it is substantially similar to embodiment of the method, so the ratio described
Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
It should be noted that in this article, the relational terms of such as first and second or the like is only used
By an entity or operation separate with another entity or operating space, and not necessarily require or
Imply relation or the order that there is any this reality between these entities or operation.And, term
" include ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that
Process, method, article or equipment including a series of key elements not only include those key elements, but also
Including other key elements being not expressly set out, or also include for this process, method, article or
The key element that person's equipment is intrinsic.In the case of there is no more restriction, by statement " including ... "
The key element limited, it is not excluded that in including the process of described key element, method, article or equipment also
There is other identical element.
One of ordinary skill in the art will appreciate that realize in said method embodiment all or part of
Step can be by program and completes to instruct relevant hardware, and described program can be stored in meter
In calculation machine read/write memory medium, storage medium designated herein, such as: ROM/RAM, magnetic disc,
CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the protection of the present invention
Scope.All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention,
It is all contained in protection scope of the present invention.