Embodiment
Below in conjunction with drawings and Examples the present invention is described in detail.
The embodiment of the invention provides a kind of method of file-sharing, as shown in Figure 1, may further comprise the steps:
Step s110 receives the shared content that the transmit leg user terminal sends from the first second network storage platform editor;
Step s120 sends above-mentioned shared content to second second network storage platform by MMS center with the multimedia message form;
Step s130 sends and shares context notification to recipient's user terminal, and indication recipient user terminal obtains memory contents from second second network storage platform.
Method by adopting the embodiment of the invention to provide can send to the recipient by the multimedia message mode with the file-sharing content in the second network storage platform; Make the recipient can receive the notice of the shared content of transmit leg immediately.
The embodiment of the invention provides a kind of method of file-sharing, mainly be divided into sending to share content flow and receive and share content flow, in addition, first second network storage platform and second second network storage platform can be the consolidated network storage platform, below terse for describing, in the present embodiment, the two is not distinguished, be referred to as second network storage platform.
The flow process of the shared content of transmission may further comprise the steps as shown in Figure 2:
Step s210, user A select to want the tabulation of shared content and shared recipient's user terminal address to prepare to carry out content in second network storage platform to share, and by application MMS content authorization interface, send the authentication code solicited message to message server;
User A enters second network storage platform by online, edits arrangement to sharing content.This second network storage platform can be public second network storage platform, for example net dish of providing of Internet firm etc.
Step s220, message server generates the multimedia message authentication code according to the number information of user A, and this multimedia message authentication code of buffer memory, to the application server authentication user;
The number of user A can be that user's phone number or other can the numbers corresponding with phone number.
Step s230, application server sends to message server to authenticating result, if the user has authority to send, message server (or application server) sends the multimedia message authentication code to second network storage platform; Otherwise carry out miscue.
Step s240, shared content that comprises the multimedia message authentication code that second network storage platform is selected with user A and the tabulation of recipient's user terminal address upload to message server, and message server is shared the content authentication operations according to the multimedia message authentication code that second network storage platform obtains.
Step s250, message server sends to MMS center to shared content packaging in the multimedia message mode to after sharing the success of content authentication.
After step s260, message server received the transmission successful respond message of MMS center, by the fresh content notification interface of application server, the message informing that success is sent was to application server.
This moment, message server can be notified user A mobile phone terminal, carry MMS content ID and multimedia message authentication code in the notification message, by this authentication code, user A transmission next time can not need to apply for once more authentication code in the time of should sharing content, and user A mobile phone terminal is replied notification message;
Message server can send to share and notify the recipient user mobile phone terminal this moment, and indication recipient user prepares to obtain shared content from second network storage platform.
Step s270, application server is replied.
This moment, application server can be notified the pc client of user A, carry MMS content ID and multimedia message authentication code in the notification message, by this authentication code, user A transmission next time can not need to apply for once more authentication code in the time of should sharing content, and the pc client of user A is replied notification message.
As shown in Figure 3, receive the flow process of sharing content for user terminal.
Step s310, after MMS center received multimedia message, the strategy that is provided with according to recipient user carried out the multimedia message route.When recipient user's multimedia message reception strategy received for second network storage platform, the mms notification interface that the message call server provides, notification message server had new multimedia message to need to receive, and carry messageid (multimedia message sign) in the message;
Step s320 after message server obtains mms notification, calls the mms notification interface that second network storage platform provides, and the mms notification that carries messageid is forwarded to second network storage platform;
After step s330, message server receive replying of second network storage platform, return success the response that receives message informing to MMS center;
Step s340, second network storage platform goes MMS center to obtain MMS content according to the messageid that receives in the notice;
Step s350, MMS center receives after multimedia message obtains request, according to the messageid in the request, returns the content of this multimedia message;
Step s360 after second network storage platform successfully receives multimedia message, stores this multimedia message, and whole multimedia message files can be stored with the form of single file;
Step s370, after multimedia message was stored successfully, second network storage platform transmission multimedia message was successfully stored and is notified to message server, and this multimedia message of notification message server is successfully storage, carries the stored information and the multimedia message relevant information of multimedia message in the notice;
After the multimedia message that step s380, message server receive second network storage platform is successfully stored notice,, notice is successfully stored in multimedia message be forwarded to application server by the multimedia message arrival notice interface that application server provides;
After step s390, application server receive that multimedia message is successfully stored notice, whether online according to recipient user, shared notification message is sent to recipient user's pc client or sends to recipient's user mobile phone terminal by message server.
If recipient user is online, then directly send to recipient user's pc client; Otherwise, send to recipient's user mobile phone terminal by message server, notify recipient user to have shared content to arrive immediately.
Method by adopting the embodiment of the invention to provide can make the source variation of file-sharing content, can be from mobile phone terminal, user's desktop terminal, second network storage platform; Share content by the multimedia message send mode and give the good friend, the good friend can be in the second network storage platform of oneself online browse.Transmit leg is avoided MMS content to be sent is done adaptive operation by different mobile phone terminals; The recipient can receive immediately that the good friend shares the notice of content.
The embodiment of the invention provides a kind of device of file-sharing, as shown in Figure 4, comprising:
Share receiving element 410, be used to receive the shared content that the transmit leg user terminal sends from the first second network storage platform editor;
Multimedia message transmitting element 420 is used for sending the shared content of shared receiving element 410 receptions to second second network storage platform by MMS center with the multimedia message form;
Share notification unit 430, be used to send and share context notification to recipient's user terminal, indication recipient user terminal obtains memory contents from second second network storage platform.
The embodiment of the invention provides a kind of device of file-sharing, as shown in Figure 5, comprising:
Request receiving element 510 is used to receive the MMS content authentication code request that first second network storage platform sends;
The user selects to want shared content and shared lists of persons to prepare to carry out content in second network storage platform to share, and by application MMS content authorization interface, sends the authentication code solicited message to message server.
Authentication generation unit 520 is used for generating MMS content authentication code and buffer memory according to above-mentioned request
Authentication performance element 530 is used to ask application server according to the MMS content authentication code transmit leg user terminal to be carried out authentication;
Share transmitting element 540, be used for sending the MMS content authentication code to first second network storage platform, make first second network storage platform send shared content according to MMS content authentication code editor in authentication success back;
Application server sends to message server to authenticating result, if the user has authority to send, message server sends the multimedia message authentication code at once to second network storage platform; Otherwise carry out miscue.
Share receiving element 550, be used to receive the shared content that the transmit leg user terminal sends from the first second network storage platform editor, and this shared content carried out authentication according to the MMS content authentication code;
The content uploading that second network storage platform is selected the user is to message server, and message server is shared the content authentication operations according to the multimedia message authentication code that second network storage platform obtains.
Multimedia message transmitting element 560 is used for sending shared content to second second network storage platform by MMS center with the multimedia message form;
Message server sends to MMS center to shared content packaging in the multimedia message mode to after sharing the success of content authentication.After MMS center received multimedia message, the strategy that is provided with according to the recipient carried out the multimedia message route, sent to share content.
Share notification unit 570, be used to send and share context notification to recipient's user terminal, indication recipient user terminal obtains memory contents from second second network storage platform.
Wherein, the structure of multimedia message transmitting element 560 comprises as shown in Figure 6:
First sends subelement 610, is used for sending shared content to MMS center with the multimedia message form;
First receives subelement 620, is used to receive the multimedia message arrival notice that MMS center sends;
Subelement 630 is obtained in multimedia message, is used for the forwarding MMS arrival notice to second second network storage platform, and second second network storage platform is received according to the multimedia message arrival notice and the storage multimedia message;
Second receives subelement 640, is used to receive the multimedia message that second second network storage platform sends and successfully stores notice.
The structure of shared notification unit 570 comprises as shown in Figure 7:
Second sends subelement 710, is used to send multimedia message and shares context notification to application server;
The 3rd sends subelement 720, is used for sending multimedia message by application server and shares context notification to recipient user's pc client.
By adopting device provided by the invention, can make the source variation of file-sharing content, can be from mobile phone terminal, user's desktop terminal, second network storage platform; Send by the multimedia message mode and to share content to the good friend, the good friend can be in the second network storage platform of oneself online browse.Transmit leg is avoided MMS content to be sent is done adaptive operation by different mobile phone terminals; The recipient can receive in real time that the good friend shares the notice of content.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.