Background technology
Progressively development along with social network, the mode that people carry out information interchange is also varied, for example: the immediate communication tool that downloads and installs, as MSN, QQ, POPO has been subjected to everybody liking deeply, and it provides new approach for people's communication, information interchange, is another the important information interchange mode except mobile phone, fixed line, Email.By these instruments, the user can realize single or many people video, can hold the network teleconference, can carry out network remote education, can also allow the interchange cost between people and the people reduce greatly, and improve efficient.In the process that people exchange mutually, the transmission of file is more and more frequent, and the amount of transmission is also increasing.Therefore, use a kind of transmission means fast and efficiently to seem particularly important.Yet there is obvious defects in traditional transmission means, and for example, the part instrument need be installed client just can carry out file transfer, and the part instrument can not merge file unified the download, and the part instrument can't realize transmitting at different user the function of different files.
For example, application number is that 200810117459.4 Chinese invention patent discloses a kind of file download service method and system.Above-mentioned file download service method may further comprise the steps.The downloading request message that file download service device receiving terminal sends.Wherein, downloading request message comprises the information of end message and request file in download.When terminal has the authority of download, will ask the information of file in download to be sent to the file packing apparatus.The file packing apparatus will be asked the downloaded files packing according to the information of request file in download, and the file address after the packing is sent to the file download service device.File after the file download service device will be packed according to the described address that receives is sent to terminal.
Yet, there is following shortcoming in existing file transfer means: 1, existing file transfer means need be installed client software and just can be carried out file transfer, some indescribable software can be by the terminal that is installed in oneself unawares, thereby influences the fail safe of computer; 2, existing webpage only has that file is uploaded, download function, lacks compression function, if quantity of documents is bigger, then needs the user repeatedly to click page request and downloads, thereby cause many unnecessary operations; 3, when source user need send to a plurality of targeted customer with file, need repeat to select file waiting for transmission, and carry out repeatedly squeeze operation, be not easy to operation; 4, the targeted customer need inquire ceaselessly that whether server end finishes packing process, wastes targeted customer's time easily.
Summary of the invention
The invention provides a kind of synchronization notice method of community platform and instant communication server to address the above problem.
The invention provides a kind of synchronization notice method of community platform.The synchronization notice method of community platform may further comprise the steps.Source user is according to log-on message login community interaction platform, and the invokes application code imports log-on message into and asks instant communication server.Instant communication server returns instant messaging related data and resource to webpage, and webpage is resolved instant messaging related data and the resource that obtains, and generates immediate communication tool.Source user sends pending file to instant communication server according to default priority by immediate communication tool.The pending file of instant communication server batch process is to obtain compressed file.Instant communication server passes through immediate communication tool synchronization notice targeted customer after finishing batch process.Wherein, the number of source user is at least two.
The present invention also provides a kind of instant communication server, comprises generation module, memory module and batch process module.Generation module is used for returning instant messaging related data and resource to webpage according to the log-on message that imports into.Wherein, importing into by source user of log-on message realizes according to log-on message login community interaction platform invokes application code, and webpage is resolved instant messaging related data and the resource that obtains, the generation immediate communication tool.The batch process module connects generation module, and the pending file that batch process module batch process source user sends by immediate communication tool to be obtaining compressed file, and after finishing batch process by immediate communication tool synchronization notice targeted customer.Memory module connects the batch process module, and memory module is stored pending file and compressed file.
Compared to prior art, synchronization notice method and instant communication server according to community platform provided by the present invention, because instant communication server is finished pending files in batches and is handled the back by immediate communication tool synchronization notice targeted customer, therefore, the targeted customer need not ceaselessly to inquire whether server end finishes the batch process operation, has saved targeted customer's time better.In addition,, in operating process, need not to repeat to select file waiting for transmission, avoid simultaneously carrying out repeatedly identical squeeze operation, thereby made things convenient for operation when targeted customer's number when being a plurality of.In addition, the present invention has realized need not to download any software, can realize instant messaging, has improved the fail safe and the convenience of network communication.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Figure 1 shows that flow chart according to the synchronization notice method of the community platform shown in the preferred embodiment of the present invention.Figure 2 shows that schematic diagram according to the instant communication server shown in the preferred embodiment of the present invention.Please in the lump with reference to figure 1 and Fig. 2.
As shown in Figure 1, the synchronization notice method of the community platform that provides of preferred embodiment of the present invention comprises step S100~S106.In step S100, source user lands community's interaction platform, generates immediate communication tool automatically.Particularly, source user is logined according to the log-on message at community's interaction platform.Wherein, community's interaction platform includes but not limited to: personal portal; Log-on message includes but not limited to: mailbox, password.
For example, source user is logined according to mailbox, password at personal portal.Simultaneously, according to the API that embeds on the webpage (Application Programming Interface, application programming interface) code, import mailbox, the encrypted message of source user into.API code request instant communication server, instant communication server returns instant messaging related data (user setup data, good friend's data, group's data etc.) and resource (comprising CSS, script file, picture etc.) to webpage, webpage is according to the rule of the pattern (skin) of door, data and resource are resolved and shown, generate immediate communication tool.Wherein, immediate communication tool is based on that webpage generates, and need not to download any client software, thereby avoids some indescribable software by the terminal that is installed in oneself unawares, with the fail safe of assurance computer.
In step S101, source user sends pending file to instant communication server according to default priority by immediate communication tool.Wherein, priority is default by the keeper.The number of source user is at least two.Yet the present invention does not do any qualification to this.
In step S102, the pending file of instant communication server batch process is to obtain compressed file.In step S103, instant communication server passes through immediate communication tool synchronization notice targeted customer after finishing batch process.Particularly, after pending files in batches compression was finished, instant communication server was finished and can be downloaded by immediate communication tool synchronization notice targeted customer batch process.So, the targeted customer need not ceaselessly to inquire whether the instant communication server batch process is finished, thereby has saved targeted customer's time.In addition, the file batch process in the present embodiment is realized by instant communication server.Yet the present invention is not limited thereto.In other embodiment, also can realize by other data processing servers.
In present embodiment, when the targeted customer receives after instant communication server finishes the notice of batch process, the targeted customer selects whether to receive compressed file (as step S104).If the targeted customer agrees to receive compressed file, then instant communication server is sent to targeted customer (as step S105) by immediate communication tool with the address of compressed file, thereby the prompting targeted customer downloads.Instant communication server also can pass through immediate communication tool notification source ownership goal user's download situation simultaneously.If the targeted customer rejects compressed file, then instant communication server is rejected compressed file (as step S106) by immediate communication tool notification source ownership goal user.Particularly, when instant communication server synchronization notice targeted customer, the immediate communication tool on targeted customer's page can be jumped out the dialog box that whether receives compressed file.If targeted customer's selective reception, then immediate communication tool is jumped out the address that prompting frame shows compressed file again; If the targeted customer selects refusal, then the immediate communication tool on the source user page is jumped out prompting frame notification source ownership goal user and is rejected compressed file.
As shown in Figure 2, the instant communication server 102connection management persons 100, source user 101a~101b and the targeted customer 103a~103c that provide of preferred embodiment of the present invention.In this, be that example describes with two source user 101a~101b and three targeted customer 103a~103c.Yet the present invention is not limited thereto, and is at least two as long as guarantee the number of source user.For example,keeper 100 to set in advance the priority of source user 101a~101b be that the priority of source user 101a is higher than source user 101b.In other words, as source user 101a, when 101b all need upload pending file, source user 101a enjoyed the right of preferentially uploading.Specifically be that example describes with the Web conference.In the Web conference process, ifsource user 101a, 101b all needs transfer files to targeted customer 103a~103c,keeper 100 can be by immediate communication tool in the mode of prompting frame in source user 101a, the progress of uploading of uploading order and respective sources user of the pending file of page prompts of 101b.In view of the above, each source user can in time be uploaded corresponding pending file according tokeeper 100 notice.
In addition, the instant communication server 102 that provides of preferred embodiment of the present invention comprisesgeneration module 1020,receiver module 1021, memory module 1022, batch process module 1023,sending module 1024 and removing module 1025.Particularly, thereceiver module 1021 of instant communication server 102 connectsgeneration module 1020 and memory module 1022 batch process modules 1023 connect memory module 1022 andsending module 1024, and removing module 1025 connects memory module 1022.Wherein, thegeneration module 1020 of instant communication server 102 is used for returning instant messaging related data and resource to webpage according to the log-on message that imports into.Wherein, importing into by source user 101 of log-on message realizes according to log-on message login community interaction platform invokes application code, and webpage is resolved instant messaging related data and the resource that obtains, the generation immediate communicationtool.Receiver module 1021 is used for receiving pending file from source user 101.The pending file that batch process module 1023 batch process source users 101 send by immediate communication tool, and after finishing batch process, pass through immediate communication tool synchronization notice targeted customer 103a~103c.Memory module 1022 is used to store pending file that is received from source user 101 and the compressed file that obtains through batch process module 1023 batch process.After finishing batch process, batch process module 1023 passes through immediate communication tool synchronization notice targeted customer 103a~103c, and after targeted customer 103a~103c determined to receive compressed file, sendingmodule 1024 was sent to targeted customer 103a~103c with the address of compressed file.Removing module 1025 is the deletion compressed file after targeted customer 103a~103c receives compressed file or when targeted customer 103a~103c does not receive compressed file above the ticket reserving time.
In sum, the synchronization notice method and the instant communication server of the community platform that preferred embodiment according to the present invention provides, because instant communication server is finished pending files in batches and is handled the back by immediate communication tool synchronization notice targeted customer, therefore, the targeted customer need not ceaselessly to inquire whether server end finishes the batch process operation, has saved targeted customer's time better.In addition,, in operating process, need not to repeat to select file waiting for transmission, avoid simultaneously carrying out repeatedly identical squeeze operation, be very easy to operation when targeted customer's number when being a plurality of.In addition, the present invention has realized need not to download any software, can realize instant messaging, has improved the fail safe and the convenience of network communication.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.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.