Summary of the invention
Main purpose of the present invention provides a kind of sharing files method, propagates fast, accurately, safely between a plurality of specific users and shares with the file that guarantees on-line storage.
In addition, also provide a kind of file sharing system, between a plurality of specific users, propagate fast, accurately, safely and share with the file that guarantees on-line storage.
A kind of sharing files method, the method comprising the steps of: the logging request of A, response terminal is to set up communication linkage with terminal; B, detecting and reception come the input data of self terminal; The information whether the input data that C, analysis receive contain target terminal sends data; D, when the information that contains target terminal in the input data that receive sends data, send data send sharing files solicited message from file to be shared to target terminal according to the information that contains; The return information of E, detecting and receiving target terminal; F, according to the return information that receives, share file to be shared.
Further, described return information is email address information or appointed information.
Further, described step F comprises: F1, the return information that analyze to receive be email address information whether; F2, when being email address information, the return information that receives sends sharing data to mailbox corresponding to email address information; F3, when not being email address information, the return information that receives analyzes whether appointed information of the return information that receives; F4, authorized user is processed file to be shared when the return information that receives is appointment information.
Further, described sharing data is the download link address of file or file to be shared to be shared, and described step F 2 comprises: whether analyze file to be shared greater than default threshold values; Download link address that will file be shared during greater than default threshold values at file to be shared sends to mailbox corresponding to email address information; During less than or equal to default threshold values, file to be shared is sent to mailbox corresponding to email address information at file to be shared.
Further, described step F 4 comprises: the user's of evaluating objects terminal authority; When the user of target terminal had the authority of processing file to be shared, the user who accepts target terminal processed file to be shared; When the user of target terminal did not have the authority of processing file to be shared, the user who authorizes target terminal processed the authority of file to be shared.
A kind of file sharing system, this system comprises: data reception module, be used for the logging request of response terminal to set up communication linkage with terminal, detecting and reception come the input data of self terminal, and the information whether the input data that analysis receives contain target terminal sends data; Share request module, be used for when the information that the input data that receive contain target terminal sends data, send data according to the information that contains and send the sharing files solicited message of file to be shared, the return information of detecting and receiving target terminal to target terminal; And share respond module, be used for sharing file to be shared according to the return information that receives.
Further, described return information is email address information or appointed information.
Further, the described respond module of sharing is used for: the return information that analyze to receive is email address information whether; When being email address information, the return information that receives sends sharing data to mailbox corresponding to email address information; When not being email address information, the return information that receives analyzes whether appointed information of the return information that receives; Authorized user is processed file to be shared when the return information that receives is appointment information.
Further, described sharing data is the download link address of file or file to be shared to be shared, and the described respond module of sharing is used for: whether analyze file to be shared greater than default threshold values; Download link address that will file be shared during greater than default threshold values at file to be shared sends to mailbox corresponding to email address information; During less than or equal to default threshold values, file to be shared is sent to mailbox corresponding to email address information at file to be shared.
Further, the described respond module of sharing is used for: the user's of evaluating objects terminal authority; When the user of target terminal had the authority of processing file to be shared, the user who accepts target terminal processed file to be shared; When the user of target terminal did not have the authority of processing file to be shared, the user who authorizes target terminal processed the authority of file to be shared.
Compare prior art, the present invention is by setting up response and the control that sharing files request mechanism and acknowledgement mechanism have guaranteed sharing files at server and terminal room, guaranteed that file between particular terminal propagates fast, accurately, safely and share, made the restriction of no longer being shared approach of sharing of file.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, realize the running environment figure of the server preferred embodiment of sharing files for the present invention.This server 1 by among network 2 and at least one terminal 3(figure take 3 as example) communication connection.In the present embodiment, this server 1 is also held 4 communication linkages with at least one storage, the file that 4 storages of storage end remain to be shared; In other embodiments of the invention, file described to be shared is stored in the server 1.This server 1 is used for realizing sharing of file to be shared in specific 3 at terminal.Described network 2 can be the Internet, mobile radio communication or other any suitable communication networks.Described terminal 3 can be mobile phone, computer, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or other any suitable data processing equipments.
As shown in Figure 2, be the hardware structure figure of server preferred embodiment among Fig. 1.This server 1 comprises file sharing system 11, processing unit 10 and memory cell 13.
This memory cell 13 is used for the service data of storing file to be shared, this document share system 11 and this document share system 11.
This processing unit 10 is used for calling and carrying out this document share system 11, to realize sharing of file to be shared in specific 3 at terminal.
As shown in Figure 3, be the functional block diagram of Fig. 2 File share system preferred embodiment.This document share system 11 comprises data reception module 110, shares request module 111 and shares respond module 112.
This data reception module 110 is used for the logging request of response terminal 3 to set up communication linkage with terminal 3, detects and receive the input data of self terminal 3, and analyzes the information transmission data whether the input data that receive contain target terminal 3.In the present embodiment, described information transmission data contain phone number or email address; In other embodiments of the invention, described information sends the information transmission identification data that data can also contain other any suitable target terminals 3.
This shares request module 111, is used for sending data send sharing files solicited message from file to be shared to target terminal 3 according to the information that contains when the input data that receive contain the information transmission data of target terminal 3.In the present embodiment, this is shared request module 111 and according to the phone number or the email address that contain in the input data that receive the sharing files solicited message is sent to target terminal 3.The form of described sharing files solicited message for example can be for: your good friend * * * * shares * * * * file to you, and the email address or the * * * * that receive file are please directly replied in acceptance.
This shares request module 111, also is used for the return information of detecting and receiving target terminal 3.In the present embodiment, described return information is email address information or appointed information (for example, appointed information " 115 ").In other embodiments of the invention, described return information can also be other any suitable information.
This shares respond module 112, is used for sharing file to be shared according to the return information that receives.In the present embodiment, this is shared respond module 112 and is used for: the return information that analyze to receive is email address information whether, when being email address information, the return information that receives sends sharing data to mailbox corresponding to email address information, when the return information that receives is not email address information, analyze whether appointed information of the return information that receives, and authorized user is processed file to be shared when the return information that receives is appointment information.
Further, described sharing data is the download link address of file or file to be shared to be shared, and this is shared respond module 112 and sends in accordance with the following steps sharing data to mailbox corresponding to email address information: whether analyze file to be shared greater than default threshold values; Download link address that will file be shared during greater than default threshold values at file to be shared sends to mailbox corresponding to email address information; During less than or equal to default threshold values, file to be shared is sent to mailbox corresponding to email address information at file to be shared.
Further, this share respond module 112 in accordance with the following steps authorized user process file to be shared: the user's of evaluating objects terminal 3 authority; When the user of target terminal 3 has the authority of processing file to be shared, the user who accepts target terminal 3 processes file to be shared, perhaps, when the user of target terminal 3 did not have the authority of processing file to be shared, the user who authorizes target terminal 3 processed the authority of file to be shared.Described processing comprises browses, downloads and/or editor etc.
Further, this shares the in accordance with the following steps user's of evaluating objects terminal 3 authority of respond module 112: user's logon information of receiving target terminal 3; When receiving logon information, whether has the authority of processing file to be shared according to the user of the logon information evaluating objects terminal 3 that receives; The auto registration logon information is not processed the authority of file to be shared with the user who authorizes target terminal 3 when receiving logon information, perhaps, the user who automatically authorizes target terminal 3 when the user of target terminal 3 does not have the authority of processing file to be shared processes the authority of file to be shared.Described logon information comprises account and password.
As shown in Figure 4, be the implementation flow chart of sharing files method of the present invention preferred embodiment.
It is emphasized that: flow chart shown in Figure 4 only is a preferred embodiment, and those skilled in the art is when knowing, any embodiment that makes up around inventive concept should not break away from the scope that contains in following technical scheme:
The logging request of response terminal 3 is to set up communication linkage with terminal 3; Detect and receive the input data of self terminal 3, and analyze the information transmission data whether the input data that receive contain target terminal 3; When the input data that receive contain the information transmission data of target terminal 3, send data send sharing files solicited message from file to be shared to target terminal 3 according to the information that contains; The return information of detecting and receiving target terminal 3; According to the return information that receives, share file to be shared.
Below be progressively to be implemented in 3 at specific terminal in conjunction with present embodiment to share file to be shared.
Step S10, the logging request of these data reception module 110 response terminals 3 is to set up communication linkage with terminal 3.
Step S11, these data reception module 110 detectings and reception come the input data of self terminal 3.
Whether the input data that receive of analyzing step S12, this data reception module 110 contain the information transmission data of target terminal 3.In the present embodiment, described information transmission data contain phone number or email address; In other embodiments of the invention, described information sends the information transmission identification data that data can also contain other any suitable target terminals 3.
When the input data that receive contain the information transmission data of target terminal 3, change over to and carry out following step S13, perhaps, when the input data that receive do not contain the information transmission data of target terminal 3, change over to and carry out above-mentioned steps S11.
Step S13, this is shared request module 111 and sends data send sharing files solicited message from file to be shared to target terminal 3 according to the information that contains.In the present embodiment, described sharing files solicited message comprises phone number or email address.
Step S15, this shares the return information of request module 111 detectings and receiving target terminal 3.In the present embodiment, described return information is email address information or appointed information (for example, appointed information " 115 ").In other embodiments of the invention, described return information can also be other any suitable information.
Step S16, this shares whether email address information of return information that respond module 112 analysis receives.
When the return information that receives is email address information, change over to and carry out following step S19, perhaps, when the return information that receives is not email address information, changes over to and carry out following step S17.
Step S19, this is shared respond module 112 and whether analyzes file to be shared greater than default threshold values.
, change over to and carry out following step S20 whether during greater than default threshold values at file to be shared, perhaps,, change over to and carry out following step S21 whether during less than or equal to default threshold values at file to be shared.
Step S20, this download link address of sharing respond module 112 files to be shared sends to mailbox corresponding to email address information.
Step S21, this is shared the file that respond module 112 will be to be shared and sends to mailbox corresponding to email address information.
Step S17, this shares whether appointed information of return information that respond module 112 analysis receives.
When the return information that receives is appointment information, change over to and carry out following step S18, perhaps, when the return information that receives was not appointment information, flow process finished.
Step S18, this is shared respond module 112 authorized users and processes the user of file authorizing target terminal 3 to be shared and process file to be shared.
Below only be the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.