Summary of the invention
The object of the embodiment of the present invention is to provide a kind of document transmission method and system, to realize fast uploading of file.
For achieving the above object, the embodiment of the invention discloses a kind of document transmission method, be applied in user side equipment, described method comprises:
Obtain the first instruction that user sends, described the first instruction comprises: read instruction and/or write command;
Determine the corresponding file of described the first instruction;
Corresponding file is uploaded to the network storage equipment.
Preferably, described in to read instruction be OPEN, described write command is for holding instruction.
Preferably, when described the first instruction is OPEN, corresponding file is uploaded to the step of the network storage equipment, comprising:
Before the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment;
Or, after the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment.
Preferably, in described the first instruction, when holding instruction, corresponding file is uploaded to the step of the network storage equipment, comprising:
Holding instruction and preserve after file described in carrying out, corresponding file is uploaded to the network storage equipment.
Preferably, described in, hold instruction as automatically holding instruction or manually holding instruction.
Preferably, described method also comprises:
Corresponding file is being uploaded to after the network storage equipment, the operation behavior information that described the first instruction is corresponding sends to the described network storage equipment, wherein, described operation behavior information comprises: at least one in the sign of described user side equipment, action type, operating time and file name.
Preferably, described method also comprises:
Obtain the listed files that the described network storage equipment returns and show wherein, in described listed files, there is the described operation behavior information corresponding with file;
Receive the selection instruction of user to file in described listed files, described selection instruction is sent to the described network storage equipment;
Receive the file corresponding with selected instruction that the described network storage equipment returns.
The present invention also provides a kind of document transmission system, is applied in user side equipment, and described system comprises: instruction obtains transmission module on module, file determination module and file,
Described instruction obtains module, first instruction of sending for obtaining user, and described the first instruction comprises: read instruction and/or write command;
Described file determination module, for determining the corresponding file of described the first instruction;
Transmission module on described file, for uploading to the network storage equipment by corresponding file.
Preferably, described in to read instruction be OPEN, described write command is for holding instruction.
Preferably, on described file, transmission module is specifically for when described the first instruction is OPEN, before the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment, or, after the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment.
Preferably, on described file transmission module specifically in described the first instruction when holding instruction, holding instruction and preserve after file described in carrying out, corresponding file is uploaded to the network storage equipment.
Preferably, described in, hold instruction as automatically holding instruction or manually holding instruction.
Preferably, described system also comprises: information sending module, for transmission module on described file, corresponding file is uploaded to after the network storage equipment, the operation behavior information that described the first instruction is corresponding sends to the described network storage equipment, wherein, described operation behavior information comprises: at least one in the sign of described user side equipment, action type, operating time and file name.
Preferably, described system also comprises: file download module,
Described file download module, for obtaining the listed files that the described network storage equipment returns and showing, receive the selection instruction of user to file in described listed files, described selection instruction is sent to the described network storage equipment, receive the file corresponding with selected instruction that the described network storage equipment returns, wherein, in described listed files, there is the described operation behavior information corresponding with file.
The document transmission method that the embodiment of the present invention provides and system, can obtain the instruction that user sends, and the corresponding file of instruction is uploaded to the network storage equipment to store.The present invention can send in the network storage equipment and stores reading file that instruction or write command are corresponding, no longer needs user's manual operation to upload, convenient and swift, also can not interrupt the use of user to file, and user uses impression good.
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.
As shown in Figure 1, the embodiment of the present invention provides a kind of document transmission method, is applied in user side equipment, and the method can comprise:
The first instruction that S100, acquisition user send, described the first instruction comprises: read instruction and/or write command;
Wherein, described in to read instruction be OPEN, described write command is for holding instruction.
Be understandable that, after opening file, the information in file be read, such as the broadcasting of video, the demonstration of document Chinese word etc.Hold instruction and can for example in word file, after input characters, click and preserve in inputted information writing in files, inputted word is write in word file.
Wherein, the first instruction can only comprise reads instruction, such as the broadcasting of video, to not modifying after the word File Open with word etc.Certainly, the first instruction also can only comprise write command, for example input characters preservation in newly-built blank txt file.Certainly, the first instruction also can comprise simultaneously and read instruction and write command, for example, in the word file with word, input new word, and the word of inputting shows simultaneously on screen.
Wherein, described in, holding instruction can be for holding instruction or manually holding instruction automatically.
S200, determine the corresponding file of described the first instruction;
Wherein, corresponding file can be document files, as word file, excel file, PowerPoint PPT file, txt file etc.Certainly, corresponding file can be also audio frequency, video, picture, web page files etc.
S300, corresponding file is uploaded to the network storage equipment.
When described the first instruction is OPEN, step S300 can comprise:
Before the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment;
Or, after the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment.
Be understandable that, the file that user opens may not exist in the network storage equipment, and the file that therefore user can be opened uploads in the network storage equipment, to facilitate user to use.Because the file uploading in the network storage equipment is the copy of the corresponding file of the first instruction, therefore the execution of step S300 can the normal use of interference user to the corresponding file of the first instruction, therefore the step that, corresponding file is uploaded to the network storage equipment was carried out and all can before or after carrying out described OPEN.
In described the first instruction, when holding instruction, step S300 can comprise:
Holding instruction and preserve after file described in carrying out, corresponding file is uploaded to the network storage equipment.
Be understandable that, can after each preservation file, just the file after preserving be uploaded to the network storage equipment.For example: word file is provided with automatically and saves options, every half an hour, automatically preserve once, user, edit in the process of word file, the file of just user being edited every half an hour uploads to the network storage equipment once.Certainly, the method embodiment illustrated in fig. 1 execution that also can circulate, for example when certain File Open, carry out method embodiment illustrated in fig. 1 opened file is uploaded in the network storage equipment, after this document is modified and preserves, again this document is uploaded in the network storage equipment.Like this, when the file of opening in user side equipment changes, the file of storing in the network storage equipment that just can upgrade in time.
It should be noted is that, for example, for the file with same file name (example.doc) repeatedly uploading in the network storage equipment, can use the file of newly uploading to replace the last file of uploading, the file of preserving in the network storage equipment is like this by identical with the file in user side equipment.Certainly, also can in user side equipment, set up a plurality of different files, the file with same file name that different time is uploaded is stored in respectively in different files.Preferably, the file of setting up can be used time information to distinguish, for example name is called the file of storing in 201111111111 file and is the file of uploading for 11 minutes on November 11st, 2011 at 11 o'clock, and 201111111112 be the file of uploading for 12 minutes for 11 o'clock on November 11st, 2011.
Certainly, in the network storage equipment, stored while thering is the file of same file name with the file that will upload, also can carry out uploading in the network storage equipment after rename to the file that will upload.Certainly, rename operation also can be carried out by the network storage equipment.Concrete rename mode has multiple, and such as adding and upload the date etc. at filename rear, the present invention does not limit at this.
Method embodiment illustrated in fig. 1 can be realized by the client of cloud storing software, as Kingsoft cloud client, Kingsoft fast disk client.
The user side equipment of a kind of document transmission method that application the present embodiment provides can obtain the instruction that user sends, and the corresponding file of instruction is uploaded to the network storage equipment to store.The present invention can send in the network storage equipment and stores reading file that instruction or write command are corresponding, no longer needs user's manual operation to upload, convenient and swift, also can not interrupt the use of user to file, and user uses impression good.
As shown in Figure 2, on basis embodiment illustrated in fig. 1, in the another kind of document transmission method providing in the embodiment of the present invention, after step S300, the method can also comprise:
S400, operation behavior information corresponding to described the first instruction is sent to the described network storage equipment, wherein, described operation behavior information comprises: at least one in the sign of described user side equipment, action type, operating time and file name.
Wherein, the sign of user side equipment can be the brand type of user side equipment, and such as millet 3 mobile phones, apple iPad2 etc. can be also network address of device id, user side equipment etc.The sign of user side equipment is sent to after the network storage equipment, the file that the network storage equipment can be uploaded each user side equipment according to document source is distinguished, together, the Divide File that iPad2 uploads together for the Divide File that for example millet 3 mobile phones are uploaded.Certainly, the network storage equipment also can carry out corresponding displaying by each file and document source equipment, so that user learns the source device that comes of each file.
Wherein, action type can be write operation or read operation; Certainly, action type also can or be preserved operation for opening operation.The action type of performed operation is uploaded to after the network storage equipment, when user need to use the history file of storing in the network storage equipment, the operation of before can understanding according to action type corresponding to each history file, this document being carried out.
Wherein, operating time can be carried out the time that the first instruction operates for user side equipment, to upload to the operating time after the network storage equipment, when user need to use the file of storing in the network storage equipment, user can distinguish according to operating time corresponding to each file, facilitated the use of user to file.
By file name, network equipment can be set up listed files, and user also can distinguish each file easily.
As shown in Figure 3, on basis embodiment illustrated in fig. 2, in the another kind of document transmission method providing in the embodiment of the present invention, the method can also comprise:
S500, obtain the listed files that the described network storage equipment returns and show wherein, in described listed files, there is the described operation behavior information corresponding with file;
Concrete, in user side equipment, shown listed files can be as shown in Figure 4:
User is uploaded to this document in the network storage equipment after 2013.11.11 opens file Example1.doc by millet 3.
User is uploaded to this document in the network storage equipment after 2013.11.12 preserves file Example2.doc by iPad2.
User is uploaded to this document in the network storage equipment after 2013.11.13 preserves file Example1.doc by millet 3, owing to having the file of same file name, so the network storage equipment or user side equipment are revised as Example1-20131113.doc by the filename of this document.
Preferably, can also while display file icon in listed files shown in Fig. 4.Certainly, in the filename of each file shown in Fig. 4, the hyperlink that can download corresponding document can be set simultaneously, when user clicks certain filename, just can download the corresponding file of this document name.
Wherein, in listed files, the sequence of file can according to operation behavior information setting, for example, be sorted to the file of uploading according to the sequencing of uplink time.
S600, the selection instruction of reception user to file in described listed files, send to the described network storage equipment by described selection instruction;
S700, receive the file corresponding with selected instruction that the described network storage equipment returns.
Concrete, the file upload procedure in the document transmission method that step S100 provides for the embodiment of the present invention to step S400, the file download process in the document transmission method that step S500 provides for the embodiment of the present invention to step S700.Be understandable that, for a certain user side equipment, this equipment can only perform step S100 to step S400, also only there is file upload function, certainly, this equipment also can only perform step S500 to step S700, also only has file download function.In actual applications, some equipment in a plurality of user side equipments can only have file upload function, and other equipment can only have file download function.For example: user uses millet 3 mobile phones that opened file example1.doc and operation behavior information are uploaded in the network storage equipment, then user uses the listed files that iPad2 browse network memory device returns, and the example1.doc in selective listing downloads.Certainly, preferred, in user side equipment, can both there is file upload function, also there is file download function, also: perform step S100 to step S400, also perform step S500 to step S700.In this case, the execution sequence of step S500 to step S700 and step S100 to step S400 can have multiple, and the present invention does not limit, as step S100 can first carry out to step S400, or step S500 first carries out to step S700, or carry out and all can simultaneously.
It should be noted is that, when user side equipment is opened the file that the described network storage equipment returns, because this document is downloaded from the network storage equipment, therefore can no longer upload in the network storage equipment, when preserving this document, uploads again user side equipment.
Concrete, the file for user all can upload file in different equipment be uploaded to the network storage equipment download, can be used account to bind user identity, and accesses to your password and carry out safety certification.Owing to using account and password to log in, be prior art, therefore repeated no more.
Embodiment illustrated in fig. 3ly can obtain the listed files with operation behavior information that the network storage equipment returns, can make user understand operation behavior information associated with the file, help user to make a choice faster, avoided selecting Problem-Error because user forgets the file that carried out operation behavior information causes.
Embodiment is corresponding with said method, and the present invention also provides a kind of document transmission system, is applied in user side equipment, and as shown in Figure 5, this system can comprise: instruction obtains transmission module 300 on module 100, file determination module 200 and file,
Instruction obtains module 100, first instruction of sending for obtaining user, and described the first instruction comprises: read instruction and/or write command;
Wherein, described in to read instruction be OPEN, described write command is for holding instruction.Hold instruction as automatically holding instruction or manually holding instruction.
File determination module 200, for determining the corresponding file of described the first instruction;
Wherein, corresponding file can be document files, as word file, excel file, PowerPoint PPT file, txt file etc.Certainly, corresponding file can be also audio frequency, video, picture, web page files etc.
On file, transmission module 300, for corresponding file is uploaded to the network storage equipment.
Wherein, on file, transmission module 300 can be specifically for when described the first instruction be OPEN, before the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment, or, when described the first instruction is OPEN, after the described OPEN of execution opens file, corresponding file is uploaded to the network storage equipment.
Certainly, on file transmission module 300 can also specifically in described the first instruction when holding instruction, holding instruction and preserve after file described in carrying out, corresponding file is uploaded to the network storage equipment.
A kind of document transmission system that the present embodiment provides, can obtain the instruction that user sends, and the corresponding file of instruction is uploaded to the network storage equipment to store.The present invention can send in the network storage equipment and stores reading file that instruction or write command are corresponding, no longer needs user's manual operation to upload, convenient and swift, also can not interrupt the use of user to file, and user uses impression good.
As shown in Figure 6, on basis embodiment illustrated in fig. 5, the another kind of document transmission system that the embodiment of the present invention provides, can also comprise: information sending module 400, for transmission module 300 on described file, corresponding file is uploaded to after the network storage equipment, the operation behavior information that described the first instruction is corresponding sends to the described network storage equipment, wherein, described operation behavior information comprises: at least one in the sign of described user side equipment, action type, operating time and file name.
Wherein, the sign of user side equipment can be the brand type of user side equipment, and such as millet 3 mobile phones, iPad2 etc. can be also network address of device id, user side equipment etc.The sign of user side equipment is sent to after the network storage equipment, the file that the network storage equipment can be uploaded each network storage equipment according to document source is distinguished, together, the Divide File that iPad2 uploads together for the Divide File that for example millet 3 mobile phones are uploaded.Certainly, the network storage equipment also can carry out corresponding displaying by each file and document source equipment, so that user learns the source device that comes of each file.
Wherein, action type can be write operation or read operation; Certainly, action type also can or be preserved operation for opening operation.Action type is uploaded to after the network storage equipment, when user need to use the file of storing in the network storage equipment, the operation of before can understanding according to action type corresponding to each file, this document being carried out.
Wherein, operating time can be carried out the time that the first instruction operates for user side equipment, to upload to the operating time after the network storage equipment, when user need to use the file of storing in the network storage equipment, user can distinguish according to operating time corresponding to each file, facilitated the use of user to file.
By file name, network equipment can be set up listed files, and user also can distinguish each file easily.
On basis embodiment illustrated in fig. 6, the another kind of document transmission system that the embodiment of the present invention provides, can also comprise: file download module,
File download module, for obtaining the listed files that the described network storage equipment returns and showing, receive the selection instruction of user to file in described listed files, described selection instruction is sent to the described network storage equipment, receive the file corresponding with selected instruction that the described network storage equipment returns, wherein, in described listed files, there is the described operation behavior information corresponding with file.
It should be noted is that, when user side equipment is opened the file that the described network storage equipment returns, because this document is downloaded from the network storage equipment, therefore can no longer upload in the network storage equipment, when preserving this document, uploads again user side equipment.
This embodiment can obtain the listed files with operation behavior information that the network storage equipment returns, can make user understand operation behavior information associated with the file, help user to make a choice faster, avoided selecting Problem-Error because user forgets the file that carried out operation behavior information causes.
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 operating space, 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.
Each embodiment in this specification all adopts relevant mode to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, 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.
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.