CN104750372A - File sharing method and device - Google Patents

File sharing method and device Download PDF

Info

Publication number
CN104750372A
CN104750372A CN201310726433.0A CN201310726433A CN104750372A CN 104750372 A CN104750372 A CN 104750372A CN 201310726433 A CN201310726433 A CN 201310726433A CN 104750372 A CN104750372 A CN 104750372A
Authority
CN
China
Prior art keywords
file
shared
page
information
packets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310726433.0A
Other languages
Chinese (zh)
Other versions
CN104750372B (en
Inventor
周振涛
简旭颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310726433.0A priority Critical patent/CN104750372B/en
Publication of CN104750372A publication Critical patent/CN104750372A/en
Application granted granted Critical
Publication of CN104750372B publication Critical patent/CN104750372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a file sharing method and device. The method comprises the following steps: determining target electronic equipment information, a first sharing setting parameter and parameter information of a shared file; generating a first sharing information packet according to the first sharing setting parameter and the parameter information of the shared file; and transmitting the first sharing information packet to target electronic equipment indicated by the target electronic equipment information in order that the target electronic equipment generates a first page displaying the shared file according to the first sharing information packet, and displaying the first page on a display screen. According to the embodiment of the invention, the implementation time of file sharing can be shortened, and the file sharing efficiency is increased.

Description

A kind of file sharing method and device
Technical field
The present invention relates to the communications field, particularly relate to a kind of file sharing method and device.
Background technology
Along with the development of electronic equipment, the file-sharing transmission between electronic equipment is more and more frequent.File-sharing mode good alternately can help people to complete the transmission of file between each electronic equipment efficiently.
The mode realizing file-sharing is at present comparatively flexible, and common a kind of sharing mode carries out file-sharing by LAN (Local Area Network) in office scene and home cell.The process of the file-sharing in LAN (Local Area Network) mainly comprises: user's electronic equipment is in a local network specified the file that needs are shared, specified file the object shared, complete shared setting; On another one electronic equipment, user opens network neighbor, find electronic equipment or the Shared Folders at shared file place, open electronic equipment or Shared Folders finds shared file, the file shared is checked, copies, the file operation such as editor.
For example, see Fig. 1, suppose that the file A of computing machine X is shared to user's second by LAN (Local Area Network) by user's first, then: user's first needs in computing machine X, find the required file A shared, required shared file A is arranged to shared model, selects computing machine Y file A being shared to user's second; User's first the association attributes of computing machine X as IP address, computer name etc. inform user's second; User's second opens the Internet protocol (IP of network neighbor or input computing machine X, Internet Protocol) address finds computing machine X, then the file A that user's first is shared is found, file A is checked, copies, the file operation such as editor, realize the file-sharing between user's first and user's second.
As can be seen from Figure 1, when carrying out file-sharing, operation steps is many, and shared procedure is complicated, and the time realizing file-sharing is long, and efficiency is poor.
Summary of the invention
Provide a kind of file sharing method and device in the embodiment of the present invention, that can shorten file-sharing realizes the time, improves file-sharing efficiency.
First aspect, provides a kind of file sharing method, comprising:
Determine that target electronic device information, first shares the parameter information of parameters and shared file;
Generate first according to the described first parameter information sharing parameters and described shared file and share packets of information;
Packets be shared to the target electronic device of described target electronic device information instruction by described first, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.
In conjunction with first aspect, in the first possible implementation of first aspect, share packets by described first to after described target electronic device, the method also comprises:
The file operation requests that receiving target electronic equipment sends; Described file operation requests indicates generation by target electronic device according to the parameter information of at least one shared file described and file operation;
File processing corresponding to described file operation instruction is carried out at least one shared file described in described shared file.
In conjunction with first aspect, and/or the first possible implementation of first aspect, in the implementation that first aspect the second is possible, share packets by described first to after described target electronic device, the method also comprises:
Sharing packets by described first in the default very first time after described target electronic device, if do not receive the file operation requests of described target electronic device transmission, again share packets to described target electronic device by described first.
In conjunction with first aspect, in the third possible implementation of first aspect, generate the first shared packets of information according to the described first parameter information sharing parameters and described shared file and specifically comprise:
The parameter information sharing parameters and described shared file according to described shared file, described first generates the first shared packets of information
In conjunction with the third possible implementation of first aspect, in first aspect the 4th kind of possible implementation, share packets by described first to after described target electronic device, the method also comprises:
Sharing packets by described first to presetting in the second time after described target electronic device, if do not receive the operation acknowledgement information of described target electronic device transmission, again share packets to described target electronic device by described first; Described operation acknowledgement information is sent after carrying out file operation to described shared file by target electronic device.
In conjunction with first aspect, and/or the first possible implementation of first aspect, and/or the implementation that first aspect the second is possible, and/or the third possible implementation of first aspect, and/or first aspect the 4th kind of possible implementation, in first aspect the 5th kind of possible implementation, described shared file comprises empty folder; Share packets by described first to after described target electronic device, the method also comprises:
The second shared packets of information that receiving target electronic equipment sends, described second shares packets of information comprises: the parameter information and second being added at least one file in the empty folder of described first page displaying shares parameters;
Share parameters according to the parameter information and described second of at least one file described and generate second page showing at least one file described;
Described second page is presented on display screen.
In conjunction with first aspect the 5th kind of possible implementation, in first aspect the 6th kind of possible implementation, in the described second shared packets of information, also comprise at least one file described; After the second shared packets of information that receiving target electronic equipment sends, the method comprises:
At least one file described is stored in described empty folder.
In conjunction with first aspect the 5th kind of possible implementation, and/or first aspect the 6th kind of possible implementation, in first aspect the 7th kind of possible implementation, described second page is realized by pop-up box or dialog box.
In conjunction with first aspect the 5th kind of possible implementation, and/or first aspect the 6th kind of possible implementation, in conjunction with first aspect the 7th kind of possible implementation, in first aspect the 8th kind of possible implementation, described second page is presented on display screen and comprises:
Directly described second page is presented on display screen; Or,
The prompting icon of described second page is set in taskbar; When receiving the assigned operation of user to described prompting icon, described second page is presented on display screen.
Second aspect, provides a kind of file sharing method, comprising:
The first shared packets of information that reception source electronic equipment sends; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
The first page of showing described shared file is generated according to the parameter information that described first shares parameters and described shared file;
By described first page display on a display screen, so that user carries out file operation to the described shared file of showing in first page.
In conjunction with second aspect, in the first possible implementation of second aspect, after described first page display on a display screen, the method also comprises:
Obtain user to indicate the file operation of at least one shared file in first page;
According to parameter information and the described file operation instruction spanned file operation requests of at least one shared file described;
Described file operation requests is sent to source electronic equipment, so that source electronic equipment carries out file processing corresponding to file operation instruction at least one shared file described in shared file.
In conjunction with second aspect, in the implementation that second aspect the second is possible, also comprise in the described first shared packets of information: described shared file; After described first page display on a display screen, the method also comprises:
Store the described shared file in the first shared packets of information;
Obtain user to indicate the file operation of at least one shared file in first page;
File operation indicated by described file operation instruction is carried out at least one shared file described in the shared file stored.
In conjunction with second aspect, and/or the first possible implementation of second aspect, and/or the implementation that second aspect the second is possible, in the third possible implementation of second aspect, described shared file comprises empty folder; After described first page display on a display screen, the method also comprises:
The parameter information and second obtaining at least one file in the described empty folder being added to the displaying of described first page shares parameters;
Share parameters according to the parameter information and second of at least one file described and generate the second shared packets of information;
Share packets by described second to source electronic equipment, so that described source electronic equipment shares packets of information according to described second generate second page showing at least one file described, and described second page is presented on display screen.
In conjunction with second aspect, and/or the first possible implementation of second aspect, and/or the implementation that second aspect the second is possible, and/or the third possible implementation of second aspect, in second aspect the 4th kind of possible implementation, described first page is realized by pop-up box or dialog box.
In conjunction with second aspect, and/or the first possible implementation of second aspect, and/or the implementation that second aspect the second is possible, and/or the third possible implementation of second aspect, and/or second aspect the 4th kind of possible implementation, in second aspect the 5th kind of possible implementation, described first page display is comprised on a display screen:
Directly by described first page display on a display screen; Or,
The prompting icon of described first page is set in taskbar; When receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
The third aspect, provides a kind of file sharing device, comprising:
First determining unit, for determining that target electronic device information, first shares the parameter information of parameters and shared file;
First bag generation unit, for determining according to the first determining unit described first parameter information sharing parameters and described shared file generates first and shares packets of information;
First transmitting element, for being generated by described first bag generation unit described first shares packets to the target electronic device of described target electronic device information instruction, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.
In conjunction with the third aspect, in the first possible implementation of the third aspect, this device also comprises:
First receiving element, for the file operation requests that receiving target electronic equipment sends; Described file operation requests comprises: the information of at least one shared file and file operation instruction in shared file;
Processing unit, for carrying out file processing corresponding to described file operation instruction at least one shared file described in described shared file.
In conjunction with the third aspect, and/or the first possible implementation of the third aspect, in the implementation that third aspect the second is possible, the first transmitting element also for:
In the default very first time after giving described target electronic device by the described first shared packets, if described first receiving element does not receive the described file operation requests that described target electronic device sends, again share packets to described target electronic device by described first.
In conjunction with the third aspect, in the third possible implementation of the third aspect, described first bag generation unit specifically for: the parameter information sharing parameters and described shared file according to described shared file, described first generates first and shares packets of information.
In conjunction with the third possible implementation of the third aspect, in the third aspect the 4th kind of possible implementation, the first transmitting element also for:
Sharing packets by described first to presetting in the second time after described target electronic device, if do not receive the operation acknowledgement information of described target electronic device transmission, again share packets to described target electronic device by described first; Described operation acknowledgement information sends after target electronic device carries out file operation to described shared file.
In conjunction with the third aspect, and/or the first possible implementation of the third aspect, and/or the implementation that third aspect the second is possible, and/or the third possible implementation of the third aspect, and/or the third aspect the 4th kind of possible implementation, in the third aspect the 5th kind of possible implementation, described shared file comprises empty folder, and this device also comprises:
Second receiving element, for the second shared packets of information that receiving target electronic equipment sends, described second shares packets of information comprises: the parameter information and second being added at least one file in the empty folder of described first page displaying shares parameters;
First page generation unit, the parameter information and described second at least one file described in receiving according to the second receiving element is shared parameters and is generated second page showing at least one file described;
First display unit, is presented at display screen for described second page generated by first page generation unit.
In conjunction with the third aspect the 5th kind of possible implementation, in the third aspect the 6th kind of possible implementation, also comprise at least one file described in the described second shared packets of information that described second receiving element receives, this device comprises:
First storage unit, is stored in described empty folder at least one file described in being received by the second receiving element.
In conjunction with the third aspect the 5th kind of possible implementation, and/or the third aspect the 6th kind of possible implementation, in the third aspect the 7th kind of possible implementation, described second page is realized by pop-up box or dialog box.
In conjunction with the third aspect the 5th kind of possible implementation, and/or the third aspect the 6th kind of possible implementation, in conjunction with the third aspect the 7th kind of possible implementation, in the third aspect the 8th kind of possible implementation, the first display unit specifically for:
Directly described second page is presented on display screen; Or,
The prompting icon of described second page is set in taskbar; When receiving the assigned operation of user to described prompting icon, described second page is presented on display screen.
Fourth aspect, provides a kind of file sharing device, comprising:
3rd receiving element, send for receiving source electronic equipment first shares packets of information; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
Second page generating unit, for receiving according to the 3rd receiving element described first parameter information sharing parameters and described shared file generates the first page of showing described shared file;
Second display unit, shows on a display screen, so that user carries out file operation to the described shared file of showing in first page for the described first page generated by the second page generating unit.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, this device also comprises:
First acquiring unit, for obtaining the file operation instruction of at least one shared file in first page that user shows the second display unit;
Request generation unit, for parameter information and the described file operation instruction spanned file operation requests of at least one shared file according to the first acquiring unit acquisition;
Second transmitting element, sends to source electronic equipment for the described file operation requests generated by request unit, so that source electronic equipment carries out file processing corresponding to file operation instruction at least one shared file described in shared file.
In conjunction with fourth aspect, in the implementation that fourth aspect the second is possible, also comprise in the described first shared packets of information: described shared file; This device also comprises:
Second storage unit, for storing the described shared file in the first shared packets of information;
Operation acquiring unit, indicates the file operation of at least one shared file in first page for obtaining user;
Operational processes unit, for carrying out the file operation indicated by described file operation instruction at least one shared file described in the shared file stored.
In conjunction with fourth aspect, and/or the first possible implementation of fourth aspect, and/or the implementation that fourth aspect the second is possible, in the third possible implementation of fourth aspect, described shared file comprises empty folder, and this device also comprises:
Second acquisition unit, shares parameters for the parameter information and second obtaining at least one file in the described empty folder of the described first page displaying being added to described second display unit display;
Second bag generation unit, the parameter information and second at least one file according to second acquisition unit acquisition is shared parameters and is generated the second shared packets of information;
3rd transmitting element, for sharing packets to source electronic equipment by described second, so that described source electronic equipment shares packets of information according to described second generate second page showing at least one file described, and is presented on display screen by described second page.
In conjunction with fourth aspect, and/or the first possible implementation of fourth aspect, and/or the implementation that fourth aspect the second is possible, and/or the third possible implementation of fourth aspect, in fourth aspect the 4th kind of possible implementation, described first page is realized by pop-up box or dialog box.
In conjunction with fourth aspect, and/or the first possible implementation of fourth aspect, and/or the implementation that fourth aspect the second is possible, and/or the third possible implementation of fourth aspect, and/or fourth aspect the 4th kind of possible implementation, in fourth aspect the 5th kind of possible implementation, the second display unit specifically for:
Directly by described first page display on a display screen; Or,
The prompting icon of described first page is set in taskbar; When receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
In the present embodiment, determine that target electronic device information, first shares the parameter information of parameters and shared file; Generate first according to the described first parameter information sharing parameters and described shared file and share packets of information; Packets be shared to the target electronic device of described target electronic device information instruction by described first, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.Thus, after user has carried out file-sharing on the electronic equipment of source, source electronic equipment sends first to target electronic device and shares packets of information, target electronic device shows first page directly to user after receiving the described first shared packets of information, use the user of target electronic device to get the time delay of shared file relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is prior art file sharing method process flow diagram;
Fig. 2 is file sharing method first embodiment schematic diagram of the present invention;
Fig. 3 is file sharing method second embodiment schematic diagram of the present invention;
Fig. 4 is file sharing method of the present invention 3rd embodiment schematic diagram;
Fig. 4 A is shared file exhibition method of the present invention citing one;
Fig. 4 B is shared file exhibition method of the present invention citing two;
Fig. 4 C is page display method of the present invention citing one;
Fig. 4 D is page display method of the present invention citing two;
Fig. 5 is file sharing method of the present invention 4th embodiment schematic diagram;
Fig. 6 is file sharing device first embodiment schematic diagram of the present invention;
Fig. 7 is file sharing device second embodiment schematic diagram of the present invention;
Fig. 8 is source of the present invention electronic devices structure schematic diagram;
Fig. 9 is target electronic device structural representation of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, carry out clear, complete description to the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Wherein, method described in the embodiment of the present invention and device go between any two electronic equipments that can intercom mutually, concrete, two electronic equipments can be communicated by any communication modes such as LAN (Local Area Network), internet, bluetooths, do not limit here.Here, the electronic equipment first carrying out file-sharing is called source electronic equipment, the electronic equipment of the file-sharing target as source electronic equipment is called target electronic device.
See Fig. 2, be file sharing method first embodiment schematic diagram of the present invention, the method comprises:
Step 201: source electronic equipment determination target electronic device information, first shares the parameter information of parameters and shared file;
Step 202: source electronic equipment generates first according to the parameter information that described first shares parameters and described shared file and shares packets of information;
Step 203: source electronic equipment shares packets to the target electronic device of described target electronic device information instruction by described first, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.
In the present embodiment, after user has carried out file-sharing on the electronic equipment of source, source electronic equipment sends first to target electronic device and shares packets of information, target electronic device shows first page directly to user after receiving the described first shared packets of information, use the user of target electronic device to get the time delay of shared file relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
See Fig. 3, be file sharing method second embodiment schematic diagram of the present invention, the method comprises:
Step 301: target electronic device receives the first shared packets of information that source electronic equipment sends; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
Step 302: target electronic device generates the first page of showing described shared file according to the parameter information that described first shares parameters and described shared file;
Step 303: described first page shows on a display screen, so that user carries out file operation to the described shared file of showing in first page by target electronic device.
In the present embodiment, after target electronic device receives the described first shared packets of information, share packets of information according to described first and generate the first page of showing described shared file, and show on a display screen, thus the time delay that the user of use target electronic device gets shared file is relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
See Fig. 4, be file sharing method of the present invention 3rd embodiment schematic diagram, the method comprises:
Step 401: source electronic equipment obtains the sharing operation of user for file, determines the parameter information of shared file, target electronic device information and the first shared parameters.
Wherein, user the mode such as can to share by filesselected and then right button filesselected and carry out sharing operation to file, here do not limit, as long as the file that source electronic equipment can be indicated to need to share and the source electronic equipment of instruction start to carry out file-sharing.
Wherein, the parameter information of shared file can comprise: file name, file size, file layout, file are shared the relevant information of time, file set up time etc. shared file self; In actual applications, the parameter information of the described shared file in the embodiment of the present invention can comprise all or part of parameter of above-mentioned citing, such as, only comprise file name, or comprises file name and file size, or comprise above-mentioned all parameters etc., do not limit here.
Described target electronic device information can comprise: the IP address of target electronic device, the title etc. of target electronic device.General, target electronic device information can only include described IP address or title, as long as uniquely can indicate target electronic device.
First shares parameters can comprise: the reading attributes of shared file, can the restricted information to file operation in sharing such as edit properties, the exhibition method information etc. of shared file in target electronic device; User can also be comprised to shared file other attribute informations self-defining etc., not limit here.In actual applications, described first in the embodiment of the present invention shares all or part of parameter that parameters can comprise above-mentioned citing, does not limit here.
Step 402: source electronic equipment is shared parameters according to the parameter information of described shared file and first and generated the first shared packets of information, shares packets to the target electronic device of described target electronic device information instruction by described first.
In actual applications, what can preset the first shared packets of information realizes structure, and such as first shares each field included by packets of information; The described first shared packets of information is generated by the parameter information of described shared file and the first shared parameters being arranged in corresponding field.
Wherein, how source electronic equipment shares packets to target electronic device by first, does not limit here.Such as, suppose that source electronic equipment and target electronic device pass through local area network communication, and being provided with the webserver between the two, then the described first shared packets of information can be sent to the webserver by source electronic equipment, then is forwarded to target electronic device by the webserver.
Step 403: target electronic device receives described first and shares packets of information, according to comprising the parameter information and described first of described shared file share parameters and generate and show the first page of described shared file.
Wherein, when generating first page, described first shares parameters determines the performance constraint of each shared file of showing in first page, the way of realization etc. of first page, such as,
Suppose that described first shares parameters and comprise: in sharing during restricted information to file operation, this restricted information can as the performance constraint of each shared file of showing in first page, such as, suppose that the first shared parameters comprises: file this restricted information read-only, in the first page so generated, the operating right of each shared file is read-only, other operations such as user cannot copy shared file, editor;
Suppose that the described first shared parameters comprises: the exhibition method information of shared file in target electronic device, this exhibition method information decides the way of realization of first page.Such as, the exhibition method information of shared file in target electronic device can comprise: the exhibition method information of first page or shared file exhibition method information in first page etc.Such as,
Suppose that the exhibition method information of first page is: show in the mode of dialog box, the first page so generated can be dialog box;
Suppose that the exhibition method information of first page is: show in the mode of pop-up box, the first page so generated can be pop-up box;
Suppose that the exhibition method information of shared file in first page is: shared file is shown in first page in the mode of icon, so will comprise in the first page generated: the icon of each shared file, the picture of described icon corresponding to file type and file name are formed; As shown in Figure 4 A, the file type of two shared files is all word document, and file name is respectively file 1 and file 2;
Suppose that the exhibition method information of shared file in first page is: shared file is shown in first page in the mode of details, so will comprise in the first page generated: the details of each shared file of displaying, described details can comprise: the picture corresponding to file type and various parameter information are as file name, file size, amendment date etc.; Such as shown in Fig. 4 B, the file type of first shared file in first page is word document, and file name HP122441.121225. tells somebody what one's real intentions are book .C2A.doc, and the amendment date is 17:46 on September 29th, 2013, and file size is 451KB.
In addition, when generating first page, for each shared file of showing in first page, the parameter information of this shared file can provide specifying information for the displaying of this shared file; Such as, as shown in Figure 4 A, the icon of first shared file of displaying, it is that the picture corresponding to the file type of this shared file (word document) is formed with the file name (file 1) of this shared file; Or, as shown in Figure 4 B, the file type of first shared file is word document, during first shared file of showing, include the picture corresponding to file type (word document) of this file, file name (HP122441.121225. tell somebody what one's real intentions are book .C2A.doc), amendment date (17:46 on September 29th, 2013), file size (451KB); Etc..
Above content is only example, in actual applications, specifically how to share the present invention of parameters generation first page according to the parameter information and described first of described shared file and does not limit.
In a kind of possible implementation, if sent other shared packets of information about shared file to target electronic device before the electronic equipment of source, target electronic device has generated the page that is shown the shared file of source electronic equipment, the shared file then can directly will shown in this step is added on this page generated, as described first page, thus show that source electronic equipment shares to all shared files of target electronic device on one page.
Step 404: target electronic device by described first page display on a display screen.
In actual applications, described first page directly can be shown the top at all interfaces on a display screen by target electronic device; Or, the prompting icon of described first page is set in taskbar, when receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
Described assigned operation can be mouse-click, double-click etc., does not limit here.
Wherein, when target electronic device is directly by the top at described first page display all interfaces on a display screen, described first page can by shown in automatic spring frame such as Fig. 4 C, shown in TIPS pop-up box such as Fig. 4 D or the realization such as dialog box.
When target electronic device arranges the prompting icon of described first page in taskbar, first page can pass through the realization such as TIPS pop-up box or dialog box.
Step 405: target electronic device receives user and indicates the file operation of at least one shared file of showing in first page.
Described file operation can comprise: File Open, save File As, the various possible operation to file such as file erase, file copy, do not limit here.
Wherein, user can choose at least one shared file in the shared file of showing in first page, selects concrete file operation thus complete described file operation instruction by right button.
Step 406: described file operation requests, according to the parameter information of at least one shared file described and described file operation instruction spanned file operation requests, is sent to source electronic equipment by target electronic device.
Described file operation requests is used for the file processing that request source electronic equipment carries out corresponding to file operation instruction at least one shared file described.
Wherein, specifically how spanned file operation requests does not limit here, how to send to source electronic equipment not limit here described file operation requests.
Step 407: source electronic equipment receives described file operation requests, carries out file processing corresponding to described file operation instruction at least one shared file described in the shared file of electronic equipment this locality, source.
The instruction etc. of the instruction that such as described file operation is designated as File Open or the instruction saved File As or file copy, then the file processing that file operation instruction is corresponding can be: at least one shared file described is sent to target electronic device;
Such as described file operation is designated as the instruction of file erase, then the file processing that file operation instruction is corresponding can be: delete at least one shared file described.
In addition, if described shared file comprises empty folder, then the embodiment of the present invention can also comprise the following steps:
Step 408: the parameter information and second that target electronic device obtains at least one file in the described empty folder being added to the displaying of described first page shares parameters; Share parameters according to the parameter information and second of at least one file described and generate the second shared packets of information.
Wherein, at least one file described can be in target electronic device, that user wishes to be shared to source electronic equipment file; The parameter information, second of at least one file described shares parameters, the realization of the second shared packets of information can share with reference to the parameter information of aforementioned shared file, first explanation that parameters and first shares packets of information, repeats no more here.
Step 409: the second shared packets of information that source electronic equipment receiving target electronic equipment sends; Share parameters according to the parameter information and described second of at least one file described and generate second page showing at least one file described; Described second page is presented on display screen.
Wherein, the realization of this step and afterwards user can refer step 403 ~ steps 407 to the realization of the file operation of at least one file shown in second page, repeat no more here.
Wherein, the restriction of execution sequence is not had between step 405 ~ step 407 and step 408 ~ step 409.
In the present embodiment, in step 402, source electronic equipment shares packets to after the target electronic device of described target electronic device information instruction by described first, a timer can be started, if source electronic equipment does not receive described file operation requests or described second when timer default very first time time-out share packets of information, can share packets of information by described first resends to described target electronic device, when breaking down to prevent the communication line between source electronic equipment and target electronic device, first shares packets of information can not be successfully transmitted to target electronic device.
In the present embodiment, after user has carried out file-sharing on the electronic equipment of source, source electronic equipment sends first to target electronic device and shares packets of information, target electronic device shows first page directly to user after receiving the described first shared packets of information, use the user of target electronic device to get the time delay of shared file relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further;
And, add the file in target electronic device in the empty folder that user can directly share at source electronic equipment, this file is shared to source electronic equipment, thus further simplify the step of file-sharing, decrease the time delay of shared file, improve file-sharing efficiency.
See Fig. 5, be file sharing method of the present invention 4th embodiment schematic diagram, the method comprises:
Step 501 is identical with step 401, does not repeat here;
Step 502: source electronic equipment is shared parameters according to the parameter information of described shared file, shared file and first and generated the first shared packets of information, shares packets to the target electronic device of described target electronic device information instruction by described first.
This step and the difference of step 402 are only also to comprise in the first shared packets of information: shared file.
Step 503 ~ step 505 is similar to step 403 ~ step 405, and difference is only: also comprise in step 503: the described shared file that the first shared packets of information comprises is stored in this locality by target electronic device.
Step 506: target electronic device obtains user and indicates the file operation of at least one shared file in first page, carries out the file operation indicated by described file operation instruction at least one shared file described in the shared file stored.
How target electronic device obtains described file operation and indicates the related description that please refer in step 406, does not repeat here.
Wherein, in the present embodiment, shared file is directly shared packets to target electronic device by first by source electronic equipment, described shared file is stored in this locality by target electronic device, therefore, in this step, target electronic device directly carries out file operation according to described file operation instruction to the shared file that this locality stores.
In addition, if described shared file comprises empty folder, then the embodiment of the present invention can also comprise the following steps:
Step 507: the parameter information and second that target electronic device obtains at least one file in the described empty folder being added to the displaying of described first page shares parameters; Share parameters according to the parameter information and second of at least one file described, at least one file described and generate the second shared packets of information.
Wherein, at least one file described can be in target electronic device, that user wishes to be shared to source electronic equipment file; The parameter information, second of at least one file described shares parameters, the realization of the second shared packets of information can share with reference to the parameter information of aforementioned shared file, first explanation that parameters, first shares packets of information, repeats no more here.
Step 508: the second shared packets of information that source electronic equipment receiving target electronic equipment sends, at least one file described is stored in described empty folder, share parameters according to the parameter information and described second of at least one file described and generate second page showing at least one file described, described second page is presented on display screen.
Wherein, the realization of this step and afterwards user can refer step 503 ~ steps 506 to the realization of the file operation of at least one file described in showing in second page, repeat no more here.
In the present embodiment, after target electronic device carries out file operation to described shared file, target electronic device can to source electronic equipment transmit operation confirmation; Described operation acknowledgement information can only send after target electronic device carries out file operation first to the first shared file shared in packets of information, all sends after also can carrying out file operation to the first shared file shared in packets of information at every turn.Then, in step 502, source electronic equipment shares packets to after the target electronic device of described target electronic device information instruction by described first, a timer can be started, if source electronic equipment does not receive described file operation requests or described second when the second time time-out that timer is preset share packets of information, can share packets of information by described first resends to described target electronic device, when breaking down to prevent the communication line between source electronic equipment and target electronic device, first shares packets of information can not be successfully transmitted to target electronic device.
In the present embodiment, after user has carried out file-sharing on the electronic equipment of source, source electronic equipment sends first to target electronic device and shares packets of information, target electronic device shows first page directly to user after receiving the described first shared packets of information, use the user of target electronic device to get the time delay of shared file relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further;
And, add the file in target electronic device in the empty folder that user can directly share at source electronic equipment, this file is shared to source electronic equipment, thus further simplify the step of file-sharing, decrease the time delay of shared file, improve file-sharing efficiency.
The above-mentioned embodiment of the present invention completes file-sharing by the mode showing the page showing shared file on a display screen, reduces the operation complexity of user when file-sharing, decreases the operation steps of user when shared file, promotes Consumer's Experience; Support to present while shared file under multiple different file, reduce the operation that user searches shared file; Simple to operate, reduce the learning cost of file-sharing;
In addition, the embodiment of the present invention effectively can realize the shared fast and file transfer of the file between enterprises and enterprise, and support that the unification of multiple shared file is checked and operates, enterprise carries out work efficiency during file-sharing transmission simultaneously; For family lan user, complexity is searched when reducing user's shared file, user is without the need to inquiring about IP or the user name of the other side, also shared file position is searched without the need to opening network neighbor, simple to operate, especially share principle for local area network and understand less user, can complete checking of shared file without the need to carrying out extra study, practicality is high.
Corresponding with said method, the embodiment of the present invention also provides a kind of file sharing device, and see Fig. 6, this device 600 comprises:
First determining unit 610, for determining that target electronic device information, first shares the parameter information of parameters and shared file;
First bag generation unit 620, for determining according to the first determining unit 610 described first parameter information sharing parameters and described shared file generates first and shares packets of information;
First transmitting element 630, for being generated by described first bag generation unit 620 described first shares packets to the target electronic device of described target electronic device information instruction, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.
Alternatively, this device can also comprise:
First receiving element, for the file operation requests that receiving target electronic equipment sends; Described file operation requests comprises: the information of at least one shared file and file operation instruction in shared file;
Processing unit, for carrying out file processing corresponding to described file operation instruction at least one shared file described in described shared file.
Alternatively, the first transmitting element 630 can also be used for:
In the default very first time after giving described target electronic device by the described first shared packets, if described first receiving element does not receive the described file operation requests that described target electronic device sends, again share packets to described target electronic device by described first.
Alternatively, described first bag generation unit 620 also generates the described first shared packet according to described shared file.
Alternatively, the first transmitting element 630 can also be used for:
Sharing packets by described first to presetting in the second time after described target electronic device, if do not receive the operation acknowledgement information of described target electronic device transmission, again share packets to described target electronic device by described first; Described operation acknowledgement information is sent after carrying out file operation to described shared file by target electronic device.
Alternatively, described shared file comprises empty folder, and this device can also comprise:
Second receiving element, for the second shared packets of information that receiving target electronic equipment sends, described second shares packets of information comprises: the parameter information and second being added at least one file in the empty folder of described first page displaying shares parameters;
First page generation unit, the parameter information and described second at least one file described in receiving according to the second receiving element is shared parameters and is generated second page showing at least one file described;
First display unit, is presented at display screen for described second page generated by first page generation unit.
Alternatively, can also comprise at least one file described in the described second shared packets of information that described second receiving element receives, this device can comprise:
First storage unit, is stored in described empty folder at least one file described in being received by the second receiving element.
Alternatively, described second page can be realized by pop-up box or dialog box.
Alternatively, the first display unit specifically may be used for:
Directly described second page is presented on display screen; Or,
The prompting icon of described second page is set in taskbar; When receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
In the present embodiment, after target electronic device receives the described first shared packets of information, share packets of information according to described first and generate the first page of showing described shared file, and show on a display screen, thus the time delay that the user of use target electronic device gets shared file is relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
See Fig. 7, be file sharing device second embodiment schematic diagram of the present invention, this device 700 comprises:
3rd receiving element 710, send for receiving source electronic equipment first shares packets of information; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
Second page generating unit 720, for receiving according to the 3rd receiving element 710 described first parameter information sharing parameters and described shared file generates the first page of showing described shared file;
Second display unit 730, shows on a display screen, so that user carries out file operation to the described shared file of showing in first page for the described first page generated by the second page generating unit 720.
Alternatively, this device can also comprise:
First acquiring unit, for obtaining the file operation instruction of at least one shared file in first page that user shows the second display unit;
Request generation unit, for parameter information and the described file operation instruction spanned file operation requests of at least one shared file according to the first acquiring unit acquisition;
Second transmitting element, sends to source electronic equipment for the described file operation requests generated by request unit, so that source electronic equipment carries out file processing corresponding to file operation instruction at least one shared file described in shared file.
Alternatively, described first shares in packets of information and can also comprise: described shared file; This device can also comprise:
Second storage unit, for storing the described shared file in the first shared packets of information;
Operation acquiring unit, indicates the file operation of at least one shared file in first page for obtaining user;
Operational processes unit, for carrying out the file operation indicated by described file operation instruction at least one shared file described in the shared file stored.
Alternatively, can comprise empty folder in described shared file, this device can also comprise:
Second acquisition unit, shares parameters for the parameter information and second obtaining at least one file in the described empty folder of the described first page displaying being added to described second display unit display;
Second bag generation unit, the parameter information and second at least one file according to second acquisition unit acquisition is shared parameters and is generated the second shared packets of information;
3rd transmitting element, for sharing packets to source electronic equipment by described second, so that described source electronic equipment shares packets of information according to described second generate second page showing at least one file described, and is presented on display screen by described second page.
Alternatively, described first page can be realized by pop-up box or dialog box.
Alternatively, the second display unit specifically may be used for:
Directly by described first page display on a display screen; Or,
The prompting icon of described first page is set in taskbar; When receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
In the present embodiment, after target electronic device receives the described first shared packets of information, share packets of information according to described first and generate the first page of showing described shared file, and show on a display screen, thus the time delay that the user of use target electronic device gets shared file is relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
See Fig. 8, be embodiment of the present invention source electronic devices structure schematic diagram, this source electronic equipment 800 comprises: processor 810, storer 820, transceiver 830, bus 840 and display screen 850;
Processor 810, storer 820, transceiver 830, display screen 850 are interconnected by bus 840; Bus 840 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 8, but not representing the bus only having a bus or a type.
Storer 820, for depositing program, can also be used for storing described shared file.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Storer 820 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory.
Display screen 850 is input interface between electronic equipment and user and output interface, and by visual output display to user, visual output can comprise figure, text, icon, video etc.
Described processor 810 performs described program code, for determining that target electronic device information, first shares the parameter information of parameters and shared file; Generate first according to the described first parameter information sharing parameters and described shared file and share packets of information;
Transceiver 830 for connecting other equipment, and communicates with other equipment.Transceiver 830 for: generated by processor 810 described first shares packets to the target electronic device of described target electronic device information instruction, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and described first page is presented on display screen 850.
Alternatively, transceiver 830 can also be used for: the file operation requests that receiving target electronic equipment sends; Described file operation requests comprises: the information of at least one shared file and file operation instruction in shared file;
Processor 810 can also be used for: described in the information instruction of at least one shared file described in receiving transceiver 830, at least one shared file carries out file processing corresponding to described file operation instruction.
Alternatively, transceiver 830 can also be used for: in the default very first time after giving described target electronic device by the described first shared packets, if do not receive the described file operation requests that described target electronic device sends, again share packets to described target electronic device by described first.
Alternatively, processor 810 also generates according to described shared file when generating described first and sharing packets of information.
Alternatively, transceiver 830 can also be used for: in default second time after giving described target electronic device by the described first shared packets, if do not receive the operation acknowledgement information that described target electronic device sends, again share packets to described target electronic device by described first; Described operation acknowledgement information sends after target electronic device carries out file operation to described shared file.
Alternatively, described shared file comprises empty folder, transceiver 830 can also be used for: the second shared packets of information that receiving target electronic equipment sends, and described second shares packets of information comprises: the parameter information and second being added at least one file in the empty folder of described first page displaying shares parameters;
Processor 810 can also be used for: the parameter information of at least one file described in receiving according to transceiver 830 and described second is shared parameters and generated second page showing at least one file described; Described second page is presented on display screen 850.
Alternatively, can also comprise at least one file described in the described second shared packets of information, processor 810 can also be used for: be stored in by least one file described in the described empty folder stored in storer 820.
Alternatively, described second page can be realized by pop-up box or dialog box.
Alternatively, processor 810 specifically may be used for: be directly presented on display screen 850 by described second page; Or, the prompting icon of described second page is set in taskbar; When receiving the assigned operation of user to described prompting icon, described second page is presented on display screen 850.
In the present embodiment, after user has carried out file-sharing on the electronic equipment of source, source electronic equipment sends first to target electronic device and shares packets of information, target electronic device shows first page directly to user after receiving the described first shared packets of information, use the user of target electronic device to get the time delay of shared file relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
See Fig. 9, be embodiment of the present invention target electronic device structural representation, this target electronic device 900 comprises: processor 910, storer 920, transceiver 930, bus 940 and display screen 950;
Processor 910, storer 920, transceiver 930, display screen 950 are interconnected by bus 940; Bus 940 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 9, but not representing the bus only having a bus or a type.
Storer 920, for depositing program, can also be used for storing described shared file.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Storer 920 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory.
Display screen 950 is input interface between electronic equipment and user and output interface, and by visual output display to user, visual output can comprise figure, text, icon, video etc.
Transceiver 930 for connecting other equipment, and communicates with other equipment.Transceiver 930 for: receive that source electronic equipment sends first shares packets of information; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
Described processor 910 performs described program code, generates the first page of showing described shared file for the parameter information sharing parameters and described shared file according to described first; Described first page is presented on display screen 850, so that user carries out file operation to the described shared file of showing in first page.
Alternatively, processor 910 can also be used for: obtain user and indicate the file operation of at least one shared file in first page; According to parameter information and the described file operation instruction spanned file operation requests of at least one shared file described;
Transceiver 930 can also be used for: the described file operation requests generated by processor 910 sends to source electronic equipment, so that source electronic equipment carries out file processing corresponding to file operation instruction at least one shared file described in shared file.
Alternatively, described first shares in packets of information and can also comprise: described shared file; Processor 910 can also be used for: the first described shared file shared in packets of information is stored to storer 920; Obtain user to indicate the file operation of at least one shared file in first page; File operation indicated by described file operation instruction is carried out at least one shared file described in the shared file stored.
Alternatively, can comprise empty folder in described shared file, processor 910 can also be used for: the parameter information and second obtaining at least one file in the described empty folder being added to the displaying of described first page shares parameters; Share parameters according to the parameter information and second of at least one file described and generate the second shared packets of information;
Transceiver 930 can also be used for: generated by processor 910 described second shares packets to source electronic equipment, so that described source electronic equipment shares packets of information according to described second generate second page showing at least one file described, and is presented on display screen by described second page.
Alternatively, described first page is realized by pop-up box or dialog box.
Alternatively, processor 910 specifically may be used for: be directly presented on display screen 950 by described first page; Or, the prompting icon of described first page is set in taskbar; When receiving the assigned operation of user to described prompting icon, described first page is presented on display screen 950.
In the present embodiment, after target electronic device receives the described first shared packets of information, share packets of information according to described first and generate the first page of showing described shared file, and show on a display screen, thus the time delay that the user of use target electronic device gets shared file is relatively less, sharing efficiency is high; And user can check shared file by first page on a display screen without the need to any selection operation, and the time delay of file-sharing reduces further, and file-sharing efficiency improves further.
Those skilled in the art can be well understood to the mode that technology in the embodiment of the present invention can add required general hardware platform by software and realize.Based on such understanding, technical scheme in the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (30)

1. a file sharing method, is characterized in that, comprising:
Determine that target electronic device information, first shares the parameter information of parameters and shared file;
Generate first according to the described first parameter information sharing parameters and described shared file and share packets of information;
Packets be shared to the target electronic device of described target electronic device information instruction by described first, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.
2. method according to claim 1, is characterized in that, share packets by described first to after described target electronic device, the method also comprises:
The file operation requests that receiving target electronic equipment sends; Described file operation requests indicates generation by target electronic device according to the parameter information of at least one shared file described and file operation;
File processing corresponding to described file operation instruction is carried out at least one shared file described in described shared file.
3. method according to claim 1 and 2, is characterized in that, share packets by described first to after described target electronic device, the method also comprises:
Sharing packets by described first in the default very first time after described target electronic device, if do not receive the file operation requests of described target electronic device transmission, again share packets to described target electronic device by described first.
4. method according to claim 1, is characterized in that, generates the first shared packets of information specifically comprise according to the described first parameter information sharing parameters and described shared file:
The parameter information sharing parameters and described shared file according to described shared file, described first generates the first shared packets of information.
5. method according to claim 4, is characterized in that, share packets by described first to after described target electronic device, the method also comprises:
Sharing packets by described first to presetting in the second time after described target electronic device, if do not receive the operation acknowledgement information of described target electronic device transmission, again share packets to described target electronic device by described first; Described operation acknowledgement information is sent after carrying out file operation to described shared file by target electronic device.
6. the method according to any one of claim 1 to 5, is characterized in that, described shared file comprises empty folder; Share packets by described first to after described target electronic device, the method also comprises:
The second shared packets of information that receiving target electronic equipment sends, described second shares packets of information comprises: the parameter information and second being added at least one file in the empty folder of described first page displaying shares parameters;
Share parameters according to the parameter information and described second of at least one file described and generate second page showing at least one file described;
Described second page is presented on display screen.
7. method according to claim 6, is characterized in that, also comprises at least one file described in the described second shared packets of information; After the second shared packets of information that receiving target electronic equipment sends, the method comprises:
At least one file described is stored in described empty folder.
8. the method according to claim 6 or 7, is characterized in that, described second page is realized by pop-up box or dialog box.
9. the method according to any one of claim 6 to 8, is characterized in that, is presented on display screen by described second page and comprises:
Directly described second page is presented on display screen; Or,
The prompting icon of described second page is set in taskbar; When receiving the assigned operation of user to described prompting icon, described second page is presented on display screen.
10. a file sharing method, is characterized in that, comprising:
The first shared packets of information that reception source electronic equipment sends; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
The first page of showing described shared file is generated according to the parameter information that described first shares parameters and described shared file;
By described first page display on a display screen, so that user carries out file operation to the described shared file of showing in first page.
11. methods according to claim 10, is characterized in that, after described first page display on a display screen, the method also comprises:
Obtain user to indicate the file operation of at least one shared file in first page;
According to parameter information and the described file operation instruction spanned file operation requests of at least one shared file described;
Described file operation requests is sent to source electronic equipment, so that source electronic equipment carries out file processing corresponding to file operation instruction at least one shared file described in shared file.
12. methods according to claim 10, is characterized in that, also comprise: described shared file in the described first shared packets of information; After described first page display on a display screen, the method also comprises:
Store the described shared file in the first shared packets of information;
Obtain user to indicate the file operation of at least one shared file in first page;
File operation indicated by described file operation instruction is carried out at least one shared file described in the shared file stored.
13., according to claim 10 to the method described in 12 any one, is characterized in that, described shared file comprises empty folder; After described first page display on a display screen, the method also comprises:
The parameter information and second obtaining at least one file in the described empty folder being added to the displaying of described first page shares parameters;
Share parameters according to the parameter information and second of at least one file described and generate the second shared packets of information;
Share packets by described second to source electronic equipment, so that described source electronic equipment shares packets of information according to described second generate second page showing at least one file described, and described second page is presented on display screen.
14., according to claim 10 to the method described in 13 any one, is characterized in that, described first page is realized by pop-up box or dialog box.
15., according to claim 10 to the method described in 14 any one, is characterized in that, described first page display are comprised on a display screen:
Directly by described first page display on a display screen; Or,
The prompting icon of described first page is set in taskbar; When receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
16. 1 kinds of file sharing devices, is characterized in that, comprising:
First determining unit, for determining that target electronic device information, first shares the parameter information of parameters and shared file;
First bag generation unit, for determining according to the first determining unit described first parameter information sharing parameters and described shared file generates first and shares packets of information;
First transmitting element, for being generated by described first bag generation unit described first shares packets to the target electronic device of described target electronic device information instruction, so that described target electronic device shares packets of information according to described first generate the first page of showing described shared file, and by described first page display on a display screen.
17. devices according to claim 16, is characterized in that, this device also comprises:
First receiving element, for the file operation requests that receiving target electronic equipment sends; Described file operation requests comprises: the information of at least one shared file and file operation instruction in shared file;
Processing unit, for carrying out file processing corresponding to described file operation instruction at least one shared file described in described shared file.
18. devices according to claim 16 or 17, is characterized in that, the first transmitting element also for:
In the default very first time after giving described target electronic device by the described first shared packets, if described first receiving element does not receive the described file operation requests that described target electronic device sends, again share packets to described target electronic device by described first.
19. devices according to claim 16, is characterized in that, described first bag generation unit specifically for:
The parameter information sharing parameters and described shared file according to described shared file, described first generates the first shared packets of information.
20. devices according to claim 19, is characterized in that, the first transmitting element also for:
Sharing packets by described first to presetting in the second time after described target electronic device, if do not receive the operation acknowledgement information of described target electronic device transmission, again share packets to described target electronic device by described first; Described operation acknowledgement information sends after target electronic device carries out file operation to described shared file.
21., according to claim 16 to the device described in 20 any one, is characterized in that, described shared file comprises empty folder, and this device also comprises:
Second receiving element, for the second shared packets of information that receiving target electronic equipment sends, described second shares packets of information comprises: the parameter information and second being added at least one file in the empty folder of described first page displaying shares parameters;
First page generation unit, the parameter information and described second at least one file described in receiving according to the second receiving element is shared parameters and is generated second page showing at least one file described;
First display unit, is presented at display screen for described second page generated by first page generation unit.
22. devices according to claim 21, is characterized in that, also comprise at least one file described in the described second shared packets of information that described second receiving element receives, this device comprises:
First storage unit, is stored in described empty folder at least one file described in being received by the second receiving element.
23. devices according to claim 21 or 22, is characterized in that, described second page is realized by pop-up box or dialog box.
24. devices according to any one of claim 21 to 23, is characterized in that, the first display unit specifically for:
Directly described second page is presented on display screen; Or,
The prompting icon of described second page is set in taskbar; When receiving the assigned operation of user to described prompting icon, described second page is presented on display screen.
25. 1 kinds of file sharing devices, is characterized in that, comprising:
3rd receiving element, send for receiving source electronic equipment first shares packets of information; Described first shares packets of information comprises: the parameter information of the first shared parameters and shared file;
Second page generating unit, for receiving according to the 3rd receiving element described first parameter information sharing parameters and described shared file generates the first page of showing described shared file;
Second display unit, shows on a display screen, so that user carries out file operation to the described shared file of showing in first page for the described first page generated by the second page generating unit.
26. devices according to claim 25, is characterized in that, this device also comprises:
First acquiring unit, for obtaining the file operation instruction of at least one shared file in first page that user shows the second display unit;
Request generation unit, for parameter information and the described file operation instruction spanned file operation requests of at least one shared file according to the first acquiring unit acquisition;
Second transmitting element, sends to source electronic equipment for the described file operation requests generated by request unit, so that source electronic equipment carries out file processing corresponding to file operation instruction at least one shared file described in shared file.
27. devices according to claim 25, is characterized in that, also comprise: described shared file in the described first shared packets of information; This device also comprises:
Second storage unit, for storing the described shared file in the first shared packets of information;
Operation acquiring unit, indicates the file operation of at least one shared file in first page for obtaining user;
Operational processes unit, for carrying out the file operation indicated by described file operation instruction at least one shared file described in the shared file stored.
28. devices according to any one of claim 25 to 27, it is characterized in that, described shared file comprises empty folder, and this device also comprises:
Second acquisition unit, shares parameters for the parameter information and second obtaining at least one file in the described empty folder of the described first page displaying being added to described second display unit display;
Second bag generation unit, the parameter information and second at least one file according to second acquisition unit acquisition is shared parameters and is generated the second shared packets of information;
3rd transmitting element, for sharing packets to source electronic equipment by described second, so that described source electronic equipment shares packets of information according to described second generate second page showing at least one file described, and is presented on display screen by described second page.
29. devices according to any one of claim 25 to 28, is characterized in that, described first page is realized by pop-up box or dialog box.
30. devices according to any one of claim 25 to 29, is characterized in that, the second display unit specifically for:
Directly by described first page display on a display screen; Or,
The prompting icon of described first page is set in taskbar; When receiving the assigned operation of user to described prompting icon, by described first page display on a display screen.
CN201310726433.0A 2013-12-25 2013-12-25 A kind of file sharing method and device Active CN104750372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310726433.0A CN104750372B (en) 2013-12-25 2013-12-25 A kind of file sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310726433.0A CN104750372B (en) 2013-12-25 2013-12-25 A kind of file sharing method and device

Publications (2)

Publication Number Publication Date
CN104750372A true CN104750372A (en) 2015-07-01
CN104750372B CN104750372B (en) 2019-02-01

Family

ID=53590153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310726433.0A Active CN104750372B (en) 2013-12-25 2013-12-25 A kind of file sharing method and device

Country Status (1)

Country Link
CN (1) CN104750372B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306527A (en) * 2015-09-14 2016-02-03 联想(北京)有限公司 Data sharing method and device
CN107092634A (en) * 2017-02-13 2017-08-25 口碑控股有限公司 The implementation method and device of page preview
CN110601960A (en) * 2019-09-09 2019-12-20 珠海格力电器股份有限公司 Selective report sharing method, server, terminal and system
CN111339451A (en) * 2020-02-14 2020-06-26 支付宝(杭州)信息技术有限公司 Method, apparatus and machine-readable storage medium for information processing
CN111767498A (en) * 2019-11-15 2020-10-13 北京沃东天骏信息技术有限公司 Method and device for realizing file information sharing
WO2021227646A1 (en) * 2020-05-15 2021-11-18 华为技术有限公司 File sharing method and terminal device
CN113836105A (en) * 2021-09-27 2021-12-24 深圳市绿联科技股份有限公司 File sharing method, file display device and storage medium
CN114237464A (en) * 2021-11-11 2022-03-25 荣耀终端有限公司 Data sharing method and electronic equipment
CN114465972A (en) * 2021-06-11 2022-05-10 北京字跳网络技术有限公司 Method, device and equipment for transmitting folder and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002133392A (en) * 2000-10-24 2002-05-10 Matsushita Electric Works Ltd Parameter setting method for image processing system and image processing system
CN101287189A (en) * 2007-04-09 2008-10-15 中国移动通信集团公司 Displaying method of terminal, server and terminal
WO2009008382A1 (en) * 2007-07-12 2009-01-15 Nec Corporation Electronic apparatus, information output method and program
CN101754433A (en) * 2009-12-24 2010-06-23 深圳市同洲电子股份有限公司 Method for displaying file content in mobile terminal and mobile terminal
CN102075544A (en) * 2011-02-18 2011-05-25 博视联(苏州)信息科技有限公司 Encryption system, encryption method and decryption method for local area network shared file
CN103092544A (en) * 2011-10-27 2013-05-08 汉王科技股份有限公司 Method and system for sharing electronic files among electronic devices
CN103125107A (en) * 2012-06-13 2013-05-29 华为终端有限公司 Method, user equipment, server, and device for sharing information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002133392A (en) * 2000-10-24 2002-05-10 Matsushita Electric Works Ltd Parameter setting method for image processing system and image processing system
CN101287189A (en) * 2007-04-09 2008-10-15 中国移动通信集团公司 Displaying method of terminal, server and terminal
WO2009008382A1 (en) * 2007-07-12 2009-01-15 Nec Corporation Electronic apparatus, information output method and program
CN101754433A (en) * 2009-12-24 2010-06-23 深圳市同洲电子股份有限公司 Method for displaying file content in mobile terminal and mobile terminal
CN102075544A (en) * 2011-02-18 2011-05-25 博视联(苏州)信息科技有限公司 Encryption system, encryption method and decryption method for local area network shared file
CN103092544A (en) * 2011-10-27 2013-05-08 汉王科技股份有限公司 Method and system for sharing electronic files among electronic devices
CN103125107A (en) * 2012-06-13 2013-05-29 华为终端有限公司 Method, user equipment, server, and device for sharing information

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306527A (en) * 2015-09-14 2016-02-03 联想(北京)有限公司 Data sharing method and device
CN107092634A (en) * 2017-02-13 2017-08-25 口碑控股有限公司 The implementation method and device of page preview
CN110601960A (en) * 2019-09-09 2019-12-20 珠海格力电器股份有限公司 Selective report sharing method, server, terminal and system
CN110601960B (en) * 2019-09-09 2020-08-21 珠海格力电器股份有限公司 Selective report sharing method, server, terminal and system
CN111767498A (en) * 2019-11-15 2020-10-13 北京沃东天骏信息技术有限公司 Method and device for realizing file information sharing
CN111339451B (en) * 2020-02-14 2023-04-18 支付宝(杭州)信息技术有限公司 Method, apparatus and machine-readable storage medium for information processing
CN111339451A (en) * 2020-02-14 2020-06-26 支付宝(杭州)信息技术有限公司 Method, apparatus and machine-readable storage medium for information processing
WO2021227646A1 (en) * 2020-05-15 2021-11-18 华为技术有限公司 File sharing method and terminal device
CN114465972A (en) * 2021-06-11 2022-05-10 北京字跳网络技术有限公司 Method, device and equipment for transmitting folder and computer readable storage medium
CN114465972B (en) * 2021-06-11 2023-11-21 北京字跳网络技术有限公司 Method, apparatus, device and computer readable storage medium for folder transmission
CN113836105A (en) * 2021-09-27 2021-12-24 深圳市绿联科技股份有限公司 File sharing method, file display device and storage medium
CN114237464A (en) * 2021-11-11 2022-03-25 荣耀终端有限公司 Data sharing method and electronic equipment
CN114237464B (en) * 2021-11-11 2022-11-04 荣耀终端有限公司 Data sharing method and electronic equipment

Also Published As

Publication number Publication date
CN104750372B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN104750372A (en) File sharing method and device
JP6081924B2 (en) Technology for electronic collection of information.
JP5948353B2 (en) Method and system for file folder transmission in instant messaging
US8019817B2 (en) Collaboration support system and control method thereof
CN102916984B (en) The method and system that a kind of picture editor's action is shared
US20170134495A1 (en) Method and apparatus for sharing collaboratively edited document
US20160277460A1 (en) Method and apparatus for initiating network conference
CN103227836B (en) Offline download method and off-line download server
KR101662024B1 (en) Method and device for tagging chatting message
CN104321760A (en) Method and system for publication and sharing of files via the internet
KR20150032152A (en) Method and apparatus for performing edit operations between electronic devices
US8665477B2 (en) Print system, printing apparatus, and computer program product
EP2990947A1 (en) Method and apparatus for backing up data and electronic device
KR101701110B1 (en) Method and apparatus for sharing common editing documents
JP6231981B2 (en) Techniques for generating custom objects that represent content files
CN105554290A (en) Wallpaper sharing method and device
CN103425397A (en) Method and device for setting shortcut
CN105786399A (en) Data transfer method, device and system
CN103763610A (en) Redirection method and device for remote desktop
JP2006260197A (en) Electronic file storage system
WO2018149288A1 (en) Office document sending method, terminal and system
CN102752401B (en) Content acquisition method and device
CN102571622B (en) A kind of implementation method, Apparatus and system of entrusting communication
CN104516774A (en) Operation method of remote application, terminal and server
CN111001157B (en) Method and device for generating reference information, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant