Summary of the invention
Main purpose of the present invention is to provide a kind of sharing files method, to ensure that the file of on-line storage is propagated fast, accurately, safely and shares between multiple specific user.
In addition, a kind of file sharing system is also provided, to ensure that the file of on-line storage is propagated fast, accurately, safely and shares between multiple specific user.
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 receive 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 the input data received contain target terminal sends data, send according to the information that contains data to send sharing files solicited message from file to be shared to target terminal; E, detecting the return information of receiving target terminal; F, according to receive return information, share file to be shared.
Further, described return information is email address information or appointed information.
Further, described step F comprises: whether the return information that F1, analysis receive is email address information; F2, send sharing data when the return information received is email address information to mailbox corresponding to email address information; Whether F3, the return information that analysis receives when the return information received is not email address information are appointed information; F4, the file that authorized user process is to be shared when the return information received is appointed information.
Further, described sharing data is the download link address of file to be shared or file to be shared, and described step F 2 comprises: analyze file to be shared and whether be greater than default threshold values; When the file shared is greater than default threshold values, the download link address of file to be shared is being sent to mailbox corresponding to email address information; When being less than or equal to default threshold values wait the file shared, file to be shared is sent to mailbox corresponding to email address information.
Further, described step F 4 comprises: the authority of the user of evaluating objects terminal; When the user of target terminal has the authority processed wait the file shared, the user accepting target terminal processes file to be shared; Do not have the user of target terminal and process in time sharing the authority of file, the user authorizing target terminal processes the authority of file to be shared.
A kind of file sharing system, this system comprises: data reception module, for the logging request of response terminal to set up communication linkage with terminal, detect and receive the input data of self terminal, analyzing the input data that the receive information whether containing target terminal and send data; Share request module, when the information for containing target terminal in the input data received sends data, send the sharing files solicited message of file to be shared according to the information transmission data contained to target terminal, detect and the return information of receiving target terminal; And share respond module, for according to the return information received, share file to be shared.
Further, described return information is email address information or appointed information.
Further, share described in respond module for: analyze receive return information whether be email address information; Sharing data is sent to mailbox corresponding to email address information when the return information received is email address information; Analyze whether the return information received is appointed information when the return information received is not email address information; The file that authorized user process is to be shared when the return information received is appointed information.
Further, described sharing data is the download link address of file to be shared or file to be shared, described in share respond module for: analyze file to be shared and whether be greater than default threshold values; When the file shared is greater than default threshold values, the download link address of file to be shared is being sent to mailbox corresponding to email address information; When being less than or equal to default threshold values wait the file shared, file to be shared is sent to mailbox corresponding to email address information.
Further, respond module is shared described in for the authority of the user of evaluating objects terminal; When the user of target terminal has the authority processed wait the file shared, the user accepting target terminal processes file to be shared; Do not have the user of target terminal and process in time sharing the authority of file, the user authorizing target terminal processes the authority of file to be shared.
Compare prior art, the present invention ensure that response and the control of sharing files by setting up sharing files request mechanism and acknowledgement mechanism at server and terminal room, ensure that the file between particular terminal is propagated fast, accurately, safely and shares, make sharing no longer by the restriction of sharing approach of file.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, the running environment figure of the server preferred embodiment of sharing files is realized for the present invention.This server 1 passes through in network 2 and at least one terminal 3(figure for 3) communicate to connect.In the present embodiment, this server 1 also stores end 4 communication linkage with at least one, stores end 4 and stores the file needing to be shared; In other embodiments of the invention, file to be shared described in is stored in server 1.This server 1 for realizing sharing of file to be shared between specific terminal 3.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 (PersonalDigitalAssistant, PDA) or other any suitable data processing equipments.
As shown in Figure 2, be the hardware structure figure of server preferred embodiment in Fig. 1.This server 1 comprises file sharing system 11, processing unit 10 and memory cell 13.
This memory cell 13, for storing the service data of file to be shared, this file sharing system 11 and this file sharing system 11.
This processing unit 10, for calling and performing this file sharing system 11, to realize sharing of file to be shared between specific terminal 3.
As shown in Figure 3, be the functional block diagram of Fig. 2 file share system preferred embodiment.This file sharing system 11 comprises data reception module 110, shares request module 111 and share respond module 112.
This data reception module 110, for the logging request of response terminal 3 to set up communication linkage with terminal 3, detects and receives the input data of self terminal 3, and analyzes the input data that the receive information whether containing target terminal 3 and send data.In the present embodiment, described information transmission data contain phone number or email address; In other embodiments of the invention, described information sends data and the information containing other any suitable target terminals 3 can also send identification data.
This shares request module 111, when the information for containing target terminal 3 in the input data received sends data, sends the sharing files solicited message of file to be shared according to the information transmission data contained to target terminal 3.In the present embodiment, this is shared request module 111, according to the phone number that contains or email address in the input data received, sharing files solicited message is sent to target terminal 3.The form of described sharing files solicited message, such as, can be: your good friend * * * * shares * * * * file to you, acceptance, please directly replys the email address or * * * * that receive file.
This shares request module 111, also for detecting and the return information of receiving target terminal 3.In the present embodiment, described return information is email address information or appointed information (such as, appointed information " 115 ").In other embodiments of the invention, described return information can also be other any suitable information.
This shares respond module 112, for according to the return information received, shares file to be shared.In the present embodiment, this share respond module 112 for: analyze receive return information whether be email address information, sharing data is sent to mailbox corresponding to email address information when the return information received is email address information, analyze whether the return information received is appointed information when the return information received is not email address information, and the file that authorized user process is to be shared when the return information received is appointed information.
Further, described sharing data is the download link address of file to be shared or file to be shared, and this is shared respond module 112 and sends sharing data in accordance with the following steps to mailbox corresponding to email address information: analyze file to be shared and whether be greater than default threshold values; When the file shared is greater than default threshold values, the download link address of file to be shared is being sent to mailbox corresponding to email address information; When being less than or equal to default threshold values wait the file shared, file to be shared is sent to mailbox corresponding to email address information.
Further, this shares respond module 112 file that authorized user process is to be shared in accordance with the following steps: the authority of the user of evaluating objects terminal 3; When the user of target terminal 3 has the authority processed wait the file shared, the user accepting target terminal 3 processes file to be shared, or do not have the user of target terminal 3 and process in time sharing the authority of file, the user authorizing target terminal 3 processes the authority of file to be shared.Described process comprises to be browsed, downloads and/or editor etc.
Further, this shares the authority of respond module 112 user of evaluating objects terminal 3 in accordance with the following steps: user's logon information of receiving target terminal 3; When receiving logon information, whether the user according to the logon information evaluating objects terminal 3 received has the authority processing file to be shared; Automatically logon information processes file to be shared authority with the user authorizing target terminal 3 is registered when not receiving logon information, or, do not have the user of target terminal 3 and process the authority that the user automatically authorizing target terminal 3 in time sharing the authority of file processes file to be shared.Described logon information comprises account and password.
As shown in Figure 4, be the concrete implementing procedure figure of sharing files method of the present invention preferred embodiment.
It is emphasized that: flow chart shown in Fig. 4 is only a preferred embodiment, those skilled in the art is when knowing, any embodiment built around inventive concept should not depart from the scope contained 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 analyzing the input data that the receive information whether containing target terminal 3 and send data; When the information that the input data received contain target terminal 3 sends data, send the sharing files solicited message of file to be shared to target terminal 3 according to the information transmission data contained; Detect and the return information of receiving target terminal 3; According to the return information received, share file to be shared.
Below progressively realize sharing file to be shared between specific terminal 3 in conjunction with the present embodiment.
Step S10, the logging request of this data reception module 110 response terminal 3 is to set up communication linkage with terminal 3.
Step S11, this data reception module 110 is detected and is received the input data of self terminal 3.
Step S12, the information whether the input data that the analysis of this data reception module 110 receives contain target terminal 3 sends data.In the present embodiment, described information transmission data contain phone number or email address; In other embodiments of the invention, described information sends data and the information containing other any suitable target terminals 3 can also send identification data.
When the information that the input data received contain target terminal 3 sends data, proceed to and perform following step S13, or, when the information that the input data received do not contain target terminal 3 sends data, proceed to and perform above-mentioned steps S11.
Step S13, this shares request module 111 sends file to be shared to target terminal 3 sharing files solicited message according to the information transmission data contained.In the present embodiment, described sharing files solicited message comprises phone number or email address.
Step S15, this is shared request module 111 and detects and the return information of receiving target terminal 3.In the present embodiment, described return information is email address information or appointed information (such as, appointed information " 115 ").In other embodiments of the invention, described return information can also be other any suitable information.
Step S16, whether this return information sharing respond module 112 analysis reception is email address information.
When the return information received is email address information, proceeds to and perform following step S19, or, when the return information received is not email address information, proceeds to and perform following step S17.
Step S19, this is shared respond module 112 and analyzes file to be shared and whether be greater than default threshold values.
When whether being greater than default threshold values wait the file shared, proceeding to and performing following step S20, or, when whether being less than or equal to default threshold values wait the file shared, proceeding to and performing following step S21.
Step S20, this download link address of sharing respond module 112 file to be shared is sent to mailbox corresponding to email address information.
Step S21, this is shared respond module 112 and file to be shared is sent to mailbox corresponding to email address information.
Step S17, whether this return information sharing respond module 112 analysis reception is appointed information.
When the return information received is appointed information, proceeds to and perform following step S18, or when the return information received is not appointed information, flow process terminates.
Step S18, this user sharing respond module 112 authorized user process file authorizing target terminal 3 to be shared processes file to be shared.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.