Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of transmission state methods of exhibiting and device of cloud document, automatically and intuitively to show the transmission state of cloud document, thereby reach the object that improves user's experience.Technical scheme is as follows:
First aspect, the embodiment of the present invention provides a kind of transmission state methods of exhibiting of cloud document, comprising:
Receive the document transmission instruction that is directed to the first cloud document that user sends;
To server, send the document transmission request that is directed to described the first cloud document;
With after described server is set up cloud document transmission and is connected, transmit described the first cloud document;
In transmitting procedure, obtain the transmission state of described the first cloud document, and obtained transmission state is passed through to document label display corresponding to described the first cloud document.
Preferably, the document transmission instruction that is directed to the first cloud document that described reception user sends, comprising: receive the document OPEN that is directed to the first cloud document that user sends;
The described document transmission request that is directed to described the first cloud document to server transmission, comprising: the document that is directed to described the first cloud document to server transmission is opened request;
Described the first cloud document of described transmission, comprising: from described server, download described the first cloud document.
Preferably, described transmission state comprises:
Download progress and/or download result.
Preferably, the document transmission instruction that is directed to the first cloud document that described reception user sends, comprising: receive the document storing instruction that is directed to the first opened cloud document that user sends;
The described document transmission request that is directed to described the first cloud document to server transmission, comprising: to server, send the document storing request that is directed to opened described the first cloud document;
Described the first cloud document of described transmission, comprising: to described server, upload opened described the first cloud document.
Preferably, described transmission state comprises:
Upload progress and/or upload result.
Preferably, described by obtained transmission state by document label display corresponding to described the first cloud document, comprising:
Obtained transmission state is write in the document label that described the first cloud document is corresponding with textual form.
Preferably, described textual form comprises:
Numerical percentage form or explanatory note form.
Preferably, described by obtained transmission state by document label display corresponding to described the first cloud document, comprising:
According to described transmission state, the current document label corresponding to described the first cloud document repaints and shows;
Wherein, draw the process of document label, comprising:
Draw document label, described document label comprises as the first color of background color with for showing the second color of transmission state.
Second aspect, the embodiment of the present invention provides a kind of transmission state exhibiting device of cloud document, comprising:
Command reception module, the document transmission instruction that is directed to the first cloud document of sending for receiving user;
Request sending module, for sending the document transmission request that is directed to described the first cloud document to server;
Document transmission processing module, for after described server is set up cloud document transmission and is connected, transmits described the first cloud document;
Transmission state acquisition module, in transmitting procedure, obtains the transmission state of described the first cloud document;
Transmission state display module, for passing through document label display corresponding to described the first cloud document by obtained transmission state.
Preferably, described command reception module, comprising:
Document OPEN receiving element, the document OPEN that is directed to the first cloud document of sending for receiving user;
Described request sending module, comprising:
Document is opened request transmitting unit, and the document that is directed to described the first cloud document for sending to server is opened request;
Described document transmission processing module, comprising:
Described the first cloud document for after described server is set up cloud document transmission and is connected, is downloaded in profile download unit from described server.
Preferably, described command reception module, comprising:
Document storing command reception unit, the document storing instruction that is directed to the first opened cloud document of sending for receiving user;
Described request sending module, comprising:
Document storing request transmitting unit, for sending the document storing request that is directed to opened described the first cloud document to server;
Described document transmission processing module, comprising:
Document uploading unit, for after described server is set up cloud document transmission and is connected, uploads opened described the first cloud document to described server.
Preferably, described transmission state display module, comprising:
The first display unit, for writing document label corresponding to described the first cloud document by obtained transmission state with textual form.
Preferably, described transmission state display module, comprising:
The second display unit, for the described transmission state of foundation, the current document label corresponding to described the first cloud document repaints and shows;
Wherein, draw the process of document label, comprising:
Draw document label, described document label comprises as the first color of background color with for showing the second color of transmission state.
In this programme, in the transmitting procedure of cloud document, utilize the transmission state of corresponding this cloud document of document label display of cloud document; And because document label and cloud document have unique correspondence, and while being illustrated in all the time transmission cloud document in transmitting procedure in corresponding display interface, therefore, can realize automatic and intuitive and show transmission state, thereby reach the object that improves user's experience.
Embodiment
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In order automatically and intuitively to show the transmission state of cloud document, thereby reach the object that improves user's experience, the embodiment of the present invention provides a kind of transmission state methods of exhibiting and device of cloud document.
The transmission state methods of exhibiting of a kind of cloud the document first embodiment of the present invention being provided is below introduced.
It should be noted that, the transmission state methods of exhibiting of a kind of cloud document that the embodiment of the present invention provides is applicable in electronic equipment; Wherein, in actual applications, this electronic equipment can be mobile phone, notebook or panel computer, is certainly not limited to this.And the functional software of realizing the transmission state methods of exhibiting of this cloud document can be for being arranged on the client software in this electronic equipment, wherein, this client software can be shown opened cloud document by document label form.
As shown in Figure 1, a kind of transmission state methods of exhibiting of cloud document, can comprise:
S101, electronic equipment receives the document transmission instruction that is directed to the first cloud document that user sends;
When user need to open cloud document in the server in high in the clouds or by opened cloud document storing during to the server in high in the clouds, can to electronic equipment, send by man-machine interface the document transmission instruction that is directed to the first cloud document, and this electronic equipment can receive the document transmission instruction that is directed to the first cloud document that user sends, and then carry out follow-up processing.Wherein, the Doctype of this first cloud document can be: word document, text document or PDF document etc., be not limited to this certainly.
It should be noted that, the document transmission instruction that is directed to this first cloud document can be: be directed to the document OPEN of the first cloud document, or, be directed to the document storing instruction of the first opened cloud document.
S102, sends the document transmission request that is directed to this first cloud document to server;
This electronic equipment is after receiving the document transmission instruction that is directed to the first cloud document that user sends, can send the document transmission request that is directed to this first cloud document to server, and then after setting up cloud document transmission and link with this server, carry out follow-up document transmission operation.
It will be understood by those skilled in the art that, when the received document transmission instruction that is directed to the first cloud document is " being directed to the document OPEN of the first cloud document ", this document transmission request that is directed to this first cloud document is: the document that is directed to this first cloud document is opened request; And when the received document transmission instruction that is directed to the first cloud document is " being directed to the document storing instruction of the first opened cloud document ", the document transmission request that is directed to this first cloud document is: be directed to the document storing request of this opened the first cloud document.
It should be noted that, in order to improve security, server is after receiving the document transmission request that is directed to this first cloud document, can utilize the information such as user name entrained in document transmission request, password to carry out Authority Verification, and after Authority Verification passes through, initiate to set up with this electronic equipment the process that document transmission links, thereby this electronic equipment can be connected with this server foundation document transmission.
S103, with after this server is set up cloud document transmission and is connected, transmits this first cloud document;
S104, in transmitting procedure, obtains the transmission state of this first cloud document;
Wherein, after electronic equipment and this server are set up cloud document transmission and be connected, can transmit this first cloud document, and in transmitting procedure, can be periodically or the transmission state of this first cloud document of Real-time Obtaining.Wherein, the mode of obtaining the transmission state of this first cloud document can adopt existing mode, for example: when needs are opened the first cloud document, can be according to the size of the first cloud document of server feedback, and the size of the first cloud document of having downloaded, determine the transmission state of the first cloud document; And when need to be by the first opened cloud document storing when the server, can be according to the size of the first cloud document, and the size of the first cloud document of having uploaded, determine the transmission state of the first cloud document.
It should be noted that, when sending the document be directed to this first cloud document to server and open request, transmitting this first cloud document can comprise: from this server, download this first cloud document, now, the transmission state obtaining is download progress and/or downloads result; And when being directed to the document storing request of this opened the first cloud document to server transmission, transmitting this first cloud document can comprise: to this server, upload this opened the first cloud document, now, the transmission state obtaining is for uploading progress and/or uploading result.
Wherein, so-called download progress can be the number percent of having downloaded, and this download result can be: in download, download successfully, failed download etc. any one show the information of current download state; And this to upload progress can be the number percent of having uploaded, and this is uploaded result and can be: upper crossing, upload successfully, upload unsuccessfully etc. any one and show the current information of uploading state.
S105, passes through document label display corresponding to this first cloud document by obtained transmission state.
Wherein, after getting this transmission state, this electronic equipment can be by obtained transmission state by document label display corresponding to this first cloud document.And due to the corresponding document label of the first cloud document, therefore, transmission state and the first cloud document have corresponding relation, and, while being illustrated in all the time transmission cloud document due to document label in transmitting procedure, in corresponding display interface, make user without the manually opened transmission state that can show the first cloud document.
Concrete, obtained transmission state, by document label display corresponding to this first cloud document, can be comprised: obtained transmission state is write in the document label that this first cloud document is corresponding with writing text form.Wherein, this word textual form can comprise: numerical percentage form or explanatory note form.Wherein, when transmission state is transmission progress (uploading progress or download progress), can in the document label of the first cloud document, write numerical percentages such as " 10% ", " 50% ", " 60% ", " 90% ", " 100% "; Or, when transmission state is during for transmission result (upload result or download result), can in the document label of the first cloud document, write such as " starting to upload " explanatory note such as " start to download " that " in download " " upper crossing " " downloading successfully " " uploaded successfully ".Be understandable that, in document label corresponding to this first cloud document, shown data content also includes document title or other signs of this first cloud document.
Certainly, obtained transmission state, by document label display corresponding to this first cloud document, also can be comprised:
According to this transmission state, the current document label corresponding to this first cloud document repaints and shows;
Wherein, draw the process of document label, can comprise:
Draw document label, the document label comprises as the first color of background color with for showing the second color of transmission state.
For example, progress passage that can be using document label as progress bar, concrete, background color that can document label is set to the first color, and second color that can change by shared region in document label represents the transmission state of this first cloud document; And shown data content can be document title or other sign of this first cloud document in document label corresponding to this first cloud document.
Or, can draw the document label with pie chart, concrete, background color that can this pie chart is set to the first color, and second color that can change by shared sector region shows the transmission state of this first cloud document; And shown data content can be document title or other sign of this first cloud document in document label corresponding to this first cloud document.
It is emphasized that the mode of the above-mentioned given document label display transmission state that passes through the first cloud document, as just example, should not form the restriction to the embodiment of the present invention.
In this programme, in the transmitting procedure of cloud document, utilize the transmission state of corresponding this cloud document of document label display of cloud document; And because document label and cloud document have unique correspondence, and while being illustrated in all the time transmission cloud document in transmitting procedure in corresponding display interface, therefore, can realize automatic and intuitive and show transmission state, thereby reach the object that improves user's experience.
Take below and in electronic equipment, open cloud document as example, the transmission state methods of exhibiting of a kind of cloud document that the embodiment of the present invention is provided is introduced.
It should be noted that, the transmission state methods of exhibiting of a kind of cloud document that the embodiment of the present invention provides is applicable in electronic equipment; Wherein, in actual applications, this electronic equipment can be mobile phone, notebook or panel computer, is certainly not limited to this.And the functional software of realizing the transmission state methods of exhibiting of this cloud document can be for being arranged on the client software in this electronic equipment, wherein, this client software can be shown opened cloud document by document label form.
As shown in Figure 2, a kind of transmission state methods of exhibiting of cloud document, can comprise:
S201, electronic equipment receives the document OPEN that is directed to the first cloud document that user sends;
When user need to open the first cloud document in the server in high in the clouds, can to electronic equipment, send by man-machine interface the document OPEN that is directed to the first cloud document, and this electronic equipment can receive the document OPEN that is directed to the first cloud document that user sends, and then carry out follow-up processing.Wherein, the Doctype of this first cloud document can be: word document, text document or PDF document etc., be not limited to this certainly.
S202, the document that is directed to this first cloud document to server transmission is opened request;
This electronic equipment is after receiving the document OPEN that is directed to the first cloud document that user sends, can send the document be directed to this first cloud document to server and open request, and then with after this server is set up cloud document transmission and is connected, carry out follow-up profile download operation.
It should be noted that, in order to improve security, server is opened after request receiving the document that is directed to this first cloud document, can utilize document to open the information such as user name entrained in request, password and carry out Authority Verification, and after Authority Verification passes through, initiate to set up with this electronic equipment the process that document transmission links, thereby this electronic equipment can be connected with this server foundation document transmission.
S203 with after this server is set up cloud document transmission and is connected, downloads this first cloud document from this server;
S204, in downloading process, obtains the download progress of this first cloud document;
Wherein, with after this server is set up cloud document transmission and is connected, this electronic equipment is downloaded this first cloud document from this server, and in downloading process, can be periodically or the download progress of this first cloud document of Real-time Obtaining, wherein, so-called download progress can be the number percent of having downloaded.And the mode of obtaining the download progress of this first cloud document can adopt existing mode.
S205, writes obtained download progress in the document label that this first cloud document is corresponding with textual form.
Wherein, after getting this download progress, this electronic equipment can write obtained download progress in the document label that this first cloud document is corresponding with textual form, now, in document label corresponding to this first cloud document, will show the download progress of this first cloud document and the document title of this first cloud document or other signs, and this download progress changes along with the development of downloading process.Wherein, this word textual form can comprise: numerical percentage form or explanatory note form.
Be understandable that, due to the corresponding document label of the first cloud document, therefore, download progress and the first cloud document have corresponding relation, and, while being illustrated in all the time download cloud document due to document label in downloading process, in corresponding display interface, make user without the manually opened download progress that can show the first cloud document.
In this programme, in the downloading process of cloud document, the download progress of cloud document is write in the document label that this first cloud document is corresponding with numerical percentage form; And because document label and cloud document have unique correspondence, and in downloading process, be illustrated in all the time while downloading cloud document in corresponding display interface, therefore, can realize automatic and intuitive and show download progress, thereby reach the object that improves user's experience.
Take that to preserve opened cloud document be example below, the transmission state methods of exhibiting of a kind of cloud document that the embodiment of the present invention is provided is introduced.
It should be noted that, the transmission state methods of exhibiting of a kind of cloud document that the embodiment of the present invention provides is applicable in electronic equipment; Wherein, in actual applications, this electronic equipment can be mobile phone, notebook or panel computer, is certainly not limited to this.And the functional software of realizing the transmission state methods of exhibiting of this cloud document can be for being arranged on the client software in this electronic equipment, wherein, this client software can be shown opened cloud document by document label form.
As shown in Figure 3, a kind of transmission state methods of exhibiting of cloud document, can comprise:
S301, electronic equipment receives the document storing instruction that is directed to the first opened cloud document that user sends;
When user need to preserve the first opened cloud document (being about to the first opened cloud document uploads in the server in high in the clouds), can to electronic equipment, send by man-machine interface the document storing instruction that is directed to the first cloud document, and this electronic equipment can receive the document storing instruction that is directed to the first cloud document that user sends, and then carry out follow-up processing.Wherein, the Doctype of this first cloud document can be: word document, text document or PDF document etc., be not limited to this certainly.
S302, sends the document storing request that is directed to this opened the first cloud document to server;
This electronic equipment is after receiving the document storing instruction that is directed to the first cloud document that user sends, can send the document storing request that is directed to this first cloud document to server, and then with after this server is set up cloud document transmission and is connected, carry out follow-up document storing operation.
It should be noted that, in order to improve security, server is after receiving the document storing request that is directed to this first cloud document, can utilize the information such as user name entrained in document storing request, password to carry out Authority Verification, and after Authority Verification passes through, initiate to set up with this electronic equipment the process that document transmission links, thereby this electronic equipment can be connected with this server foundation document transmission.
S303, with after this server is set up cloud document transmission and is connected, uploads this opened the first cloud document to this server;
S304, in upload procedure, obtains the progress of uploading of this first cloud document;
Wherein, with after this server is set up cloud document transmission and is connected, this electronic equipment is uploaded this opened the first cloud document to this server, and in upload procedure, can be periodically or the progress of uploading of this first cloud document of Real-time Obtaining, wherein, to upload progress can be the number percent of having uploaded to what is called.And the mode of obtaining the progress of uploading of this first cloud document can adopt existing mode.
S305, uploads progress according to this, and the current document label corresponding to this first cloud document repaints and show.
Wherein, upload after progress getting this, this electronic equipment can be uploaded progress according to this, the current document label corresponding to this first cloud document repaints and shows, now, the document label that this first cloud document is corresponding will demonstrate the progress of uploading by different colours, and show the document title of this first cloud document or other signs by word content, and this is uploaded progress and changes along with the development of upload procedure.And due to the corresponding document label of the first cloud document, therefore, upload progress and the first cloud document has corresponding relation, and, because document label is illustrated in all the time while uploading cloud document in corresponding display interface in upload procedure, make user without the manually opened progress of uploading that can show the first cloud document.
Wherein, draw the process of document label, can comprise:
Draw document label, the document label comprises as the first color of background color with for showing the second color of transmission state.
For example, progress passage that can be using document label as progress bar, concrete, background color that can document label is set to the first color, and second color that can change by shared region in document label represents the transmission state of this first cloud document; And shown data content can be document title or other sign of this first cloud document in document label corresponding to this first cloud document.
Or, can draw the document label with pie chart, concrete, background color that can this pie chart is set to the first color, and second color that can change by shared sector region shows the transmission state of this first cloud document; And shown data content can be document title or other sign of this first cloud document in document label corresponding to this first cloud document.
It is emphasized that above-mentioned given according to this upload that progress repaints current document label corresponding to this first cloud document and the mode of showing as just example, should not form the restriction to the embodiment of the present invention.
In this programme, in the upload procedure of cloud document, according to this, upload progress, the current document label corresponding to this first cloud document repaints and shows; And because document label and cloud document have unique correspondence, and in upload procedure, be illustrated in all the time and upload in the corresponding display interface of cloud document, therefore, can realize automatic and intuitive and show the progress of uploading, thereby reach the object of the experience that improves user.
Corresponding to said method embodiment, the embodiment of the present invention also provides a kind of transmission state exhibiting device of cloud document, and as shown in Figure 4, described device can comprise:
Command reception module 410, the document transmission instruction that is directed to the first cloud document of sending for receiving user;
Request sending module 420, for sending the document transmission request that is directed to described the first cloud document to server;
Document transmission processing module 430, for after described server is set up cloud document transmission and is connected, transmits described the first cloud document;
Transmission state acquisition module 440, in transmitting procedure, obtains the transmission state of described the first cloud document;
Transmission state display module 450, for passing through document label display corresponding to described the first cloud document by obtained transmission state.
In this programme, in the transmitting procedure of cloud document, utilize the transmission state of corresponding this cloud document of document label display of cloud document; And because document label and cloud document have unique correspondence, and while being illustrated in all the time transmission cloud document in transmitting procedure in corresponding display interface, therefore, can realize automatic and intuitive and show transmission state, thereby reach the object that improves user's experience.
Wherein, described command reception module 410, can comprise:
Document OPEN receiving element, the document OPEN that is directed to the first cloud document of sending for receiving user;
Shown in request sending module 420, can comprise:
Document is opened request transmitting unit, and the document that is directed to described the first cloud document for sending to server is opened request;
Described document transmission processing module 430, can comprise:
Described the first cloud document for after described server is set up cloud document transmission and is connected, is downloaded in profile download unit from described server.
Wherein, described command reception module 410, can comprise:
Document storing command reception unit, the document storing instruction that is directed to the first opened cloud document of sending for receiving user;
Described request sending module 420, can comprise:
Document storing request transmitting unit, for sending the document storing request that is directed to opened described the first cloud document to server;
Described document transmission processing module 430, can comprise:
Document uploading unit, for after described server is set up cloud document transmission and is connected, uploads opened described the first cloud document to described server.
Wherein, described transmission state display module 450, can comprise:
The first display unit, for writing document label corresponding to described the first cloud document by obtained transmission state with textual form.
Wherein, described transmission state display module 450, can comprise:
The second display unit, for the described transmission state of foundation, the current document label corresponding to described the first cloud document repaints and shows;
Wherein, draw the process of document label, can comprise:
Draw document label, described document label comprises as the first color of background color with for showing the second color of transmission state.
For system embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.