CN102368743A - File transmission method based on community platform and instant communication server - Google Patents

File transmission method based on community platform and instant communication server Download PDF

Info

Publication number
CN102368743A
CN102368743A CN2011100889229A CN201110088922A CN102368743A CN 102368743 A CN102368743 A CN 102368743A CN 2011100889229 A CN2011100889229 A CN 2011100889229A CN 201110088922 A CN201110088922 A CN 201110088922A CN 102368743 A CN102368743 A CN 102368743A
Authority
CN
China
Prior art keywords
instant communication
communication server
file
compressed file
instant
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.)
Pending
Application number
CN2011100889229A
Other languages
Chinese (zh)
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011100889229A priority Critical patent/CN102368743A/en
Publication of CN102368743A publication Critical patent/CN102368743A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a file transmission method based on a community platform and an instant communication server. The method comprises the following steps that: according to registration information, a source user logs in to a community interaction platform, invokes an application program code, introduces registration information and requests an instant communication server; the instant communication server returns instant communication correlated data and resources to a webpage as well as the webpage parses the obtained instant communication correlated data and resources so as to generate an instant communication tool; the source user sends a to-be-processed file to the instant communication server by the instant communication tool. batch processing is carried out on the to-be-processed file by the instant communication server to obtain a compression file; after the instant communication server completes the batch processing, at least two object users are notified synchronously by the instant communication tool; the instant communication server transmits the compression file to one of the at least two object users according to a preset transmission strategy; and according to the transmission strategy, an object user that is to receive the compression file receives the compression file from the object user that has received the compression file.

Description

A kind of document transmission method and instant communication server based on community platform
Technical field
The present invention relates to network field, relate in particular to a kind of document transmission method and instant communication server based on community platform.
Background technology
Progressively development along with social network; The mode that people carry out information interchange is also varied, for example: and the immediate communication tool that downloads and installs, like MSN; QQ; POPO has received 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 let the interchange cost between people and the people reduce greatly, and improve efficient.In the process that people exchange each other, 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 unified the download with file, and the part instrument can't realize transmitting to 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 the terminal has the authority of download, the information of asking file in download is 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 said address that receives is sent to the 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 accomplishes packing process, wastes targeted customer's time easily.
Summary of the invention
The present invention provides a kind of document transmission method and instant communication server based on community platform to address the above problem.
The present invention provides a kind of document transmission method based on community platform.Document transmission method based on 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 through immediate communication tool.The pending file of instant communication server batch process is to obtain compressed file.Instant communication server passes through at least two targeted customers of immediate communication tool synchronization notice after accomplishing batch process.Instant communication server is according to preset transmission policy transmission compressed file one of them at least two targeted customers.Wait that the targeted customer who receives compressed file receives compressed file according to the transmission policy that obtains from the targeted customer who receives compressed file.
The present invention provides a kind of instant communication server, comprises generation module, memory module, batch process module and transport 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 through 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.Memory module connects generation module, is used to store the pending file that source user sends through immediate communication tool.The batch process module connects memory module, is used for the pending file of batch process to obtain compressed file and at least two targeted customers of synchronization notice after accomplishing batch process.Transport module connects the batch process module, and transport module is according to transmission policy transmission compressed file one of them at least two targeted customers.
Compared to prior art; According to document transmission method and the instant communication server based on community platform provided by the present invention; Because instant communication server is accomplished pending files in batches and is handled the back through immediate communication tool synchronization notice targeted customer; Therefore, the targeted customer need not ceaselessly to inquire whether server end accomplishes 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 repeated squeeze operation, thereby made things convenient for operation when targeted customer's number when being a plurality of.In addition, wait that the targeted customer who receives compressed file can receive compressed file from the targeted customer who receives compressed file according to transmission policy, thereby accelerate the transmission speed of compressed file.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Shown in Figure 1 is according to the flow chart based on the document transmission method of community platform shown in the preferred embodiment of the present invention;
Shown in Figure 2 is sketch map according to the instant communication server shown in the preferred embodiment of the present invention.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
Shown in Figure 1 is according to the flow chart based on the document transmission method of community platform shown in the preferred embodiment of the present invention.Shown in Figure 2 is sketch map 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 document transmission method based on community platform that preferred embodiment of the present invention provides comprises step S100~S108.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, API) 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, crowd'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 through immediate communication tool.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 at least two targeted customers of immediate communication tool synchronization notice after accomplishing batch process.Particularly, after pending files in batches compression was accomplished, instant communication server was accomplished and can be downloaded through 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 accomplished, thereby has saved targeted customer's time.In addition, targeted customer's number is at least two, for example can be three.Yet the present invention does not do any qualification to this.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 server.
Then, when the targeted customer receives after instant communication server accomplishes the notice of batch process, the targeted customer can select whether to agree to receive compressed file.In step S104, instant communication server judges whether the targeted customer's who agrees the reception compressed file number is 1.If only have a targeted customer to agree to receive compressed file, then instant communication server transmission compressed file so far agrees to receive the targeted customer (like step S105) of compressed file.
In addition, in step S106, instant communication server judges that whether the targeted customer's who agrees the reception compressed file number is greater than 1.If agree that the targeted customer's of reception compressed file number is two or more, then instant communication server is according to preset transmission policy transmission compressed file one of them (shown in step S107) to two or more targeted customers.Then, in step S108, wait that the targeted customer who receives compressed file receives compressed file according to transmission policy from the targeted customer who receives compressed file.In other words, after instant communication server transferred to a targeted customer with compressed file, other targeted customers all obtained compressed file from the targeted customer who receives compressed file.
In present embodiment, transmission policy comprises but is not limited to: transmission speed, transmission path.For example, when transmission policy is transmission speed, wait that the targeted customer who receives compressed file receives compressed file from the targeted customer that transmission speed has received compressed file faster.When transmission policy is transmission path, wait that the targeted customer who receives compressed file receives compressed file from the short targeted customer who receives compressed file of transmission path.Otherwise, as the same.So, can shorten the transmission time of compressed file between the targeted customer.
In addition, if there is the targeted customer of rejection compressed file, instant communication server in time which targeted customer of notification source user is rejected compressed file.So, the download situation of decompress files of being convenient to source user.The present invention does not do any qualification to this.
As shown in Figure 2, the instant communication server 102 that preferred embodiment of the present invention provides connects source user 101 and targeted customer 103a~103c.In present embodiment, be that example describes with three targeted customer 103a~103c.Yet the present invention is not limited thereto, as long as targeted customer's number is at least two.In addition, instant communication server 102 comprises generation module 1020, receiver module 1021, memory module 1022, batch process module 1023 and transport module 1024.
Particularly, the receiver module 1021 of instant communication server 102 connects generation module 1020 and memory module 1022, and batch process module 1023 connects memory module 1022 and transport module 1024.Wherein, the generation module of 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 through 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 communication tool.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 send through immediate communication tool, and after accomplishing 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.Through immediate communication tool synchronization notice targeted customer 103a~103c, targeted customer 103a~103c selects whether to receive compressed file after batch process module 1023 is accomplished batch process.
For example, if only have a targeted customer (for example, targeted customer 103a) to agree to receive compressed file among three targeted customer 103a~103c, then the transport module 1024 transmission compressed files of instant communication server are to targeted customer 103a.In practical application, instant communication server 102 also can pass through immediate communication tool notification source user 101 targeted customer 103b, and 103c rejects compressed file.
In addition; If three equal selective reception compressed files of targeted customer 103a~103c; Then transport module 1024 according to transmission policy select the transmission compressed file to one of them targeted customer (for example; When the transmission speed between server 102 and the targeted customer 103a was the fastest, targeted customer 103a received compressed file from server 102 earlier).Then, targeted customer's (being targeted customer 103b or targeted customer 103c) meeting of waiting to receive compressed file is according to targeted customer (be targeted customer 103a) the reception compressed file of transmission policy from receiving compressed file.After targeted customer 103b at first received compressed file from targeted customer 103a, targeted customer 103c can be according to transmission policy from targeted customer 103a, and one of them of 103b receives compressed file.Otherwise, as the same.Wherein, transmission policy as stated, so repeat no more in this.
In sum; Document transmission method and instant communication server that above-mentioned preferred embodiment according to the present invention provides based on community platform; Because instant communication server is accomplished pending files in batches and is handled the back through immediate communication tool synchronization notice targeted customer; Therefore, the targeted customer need not ceaselessly to inquire whether server end accomplishes the batch process operation, thereby 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 repeated squeeze operation, thereby be very easy to operation when targeted customer's number when being a plurality of.In addition, wait that the targeted customer who receives compressed file can receive compressed file from the targeted customer who receives compressed file according to transmission policy, thereby accelerated the transmission speed of compressed file.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the document transmission method based on community platform is characterized in that, 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;
Said instant communication server returns instant messaging related data and resource to webpage, and said webpage is resolved said instant messaging related data and the resource that obtains, and generates immediate communication tool;
Said source user sends pending file to said instant communication server through said immediate communication tool;
The said pending file of said instant communication server batch process is to obtain compressed file;
Said instant communication server after accomplishing batch process through at least two targeted customers of said immediate communication tool synchronization notice;
Said instant communication server transmits said compressed file to one of them of said at least two targeted customers according to preset transmission policy; And
Wait that the said targeted customer who receives compressed file receives said compressed file according to the said transmission policy that obtains from the said targeted customer who receives compressed file.
2. the document transmission method based on community platform according to claim 1; It is characterized in that; API code according to embedding on the said webpage imports said log-on message into, the said instant communication server of said API code request; Said instant communication server returns said instant messaging related data and resource to said webpage; Said webpage is according to the rule of the pattern of said community interaction platform, and said data and resource are resolved and shown, generates said immediate communication tool.
3. the document transmission method based on community platform according to claim 1; It is characterized in that; As said at least two targeted customers of said instant communication server synchronization notice; And when said at least two targeted customers all agreed to receive said compressed file, said instant communication server transmitted said compressed file to one of them of said at least two targeted customers according to said transmission policy.
4. the document transmission method based on community platform according to claim 1 is characterized in that, said transmission policy includes but not limited to: transmission speed, transmission path.
5. the document transmission method based on community platform according to claim 1 is characterized in that, said log-on message includes but not limited to: mailbox, password.
6. the document transmission method based on community platform according to claim 1 is characterized in that, said instant messaging related data comprises but is not limited to: user setup data, good friend's data, crowd's data.
7. the document transmission method based on community platform according to claim 1 is characterized in that, said instant messaging related resource includes but not limited to: CSS, script file, picture.
8. the document transmission method based on community platform according to claim 1 is characterized in that, said community interaction platform includes but not limited to: personal portal.
9. an instant communication server is characterized in that, comprising:
Generation module; Be used for returning instant messaging related data and resource to webpage according to the log-on message that imports into; Wherein, Importing into through source user of said log-on message realizes according to log-on message login community interaction platform invokes application code, and said webpage is resolved said instant messaging related data and the resource that obtains, the generation immediate communication tool;
Memory module connects said generation module, is used to store the pending file that said source user sends through said immediate communication tool;
The batch process module connects said memory module, is used for the said pending file of batch process to obtain compressed file and at least two targeted customers of synchronization notice after accomplishing batch process; And
Transport module connects said batch process module, and said transport module transmits said compressed file to one of them of said at least two targeted customers according to transmission policy.
10. instant communication server according to claim 9 is characterized in that, also comprises receiver module, connects said generation module, is used for receiving said pending file from said source user.
CN2011100889229A 2011-04-11 2011-04-11 File transmission method based on community platform and instant communication server Pending CN102368743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100889229A CN102368743A (en) 2011-04-11 2011-04-11 File transmission method based on community platform and instant communication server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100889229A CN102368743A (en) 2011-04-11 2011-04-11 File transmission method based on community platform and instant communication server

Publications (1)

Publication Number Publication Date
CN102368743A true CN102368743A (en) 2012-03-07

Family

ID=45761293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100889229A Pending CN102368743A (en) 2011-04-11 2011-04-11 File transmission method based on community platform and instant communication server

Country Status (1)

Country Link
CN (1) CN102368743A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719823A (en) * 2004-07-08 2006-01-11 腾讯科技(深圳)有限公司 Method for directly alternating information with instant communication system on web page
CN101114979A (en) * 2007-07-23 2008-01-30 中国联合通信有限公司 File transfer system and method of instant message
CN101232501A (en) * 2007-12-10 2008-07-30 腾讯科技(深圳)有限公司 System and method for improving multi-file dispatch
CN101677301A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 Intermediate server for instant messaging and instant messaging realizing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719823A (en) * 2004-07-08 2006-01-11 腾讯科技(深圳)有限公司 Method for directly alternating information with instant communication system on web page
CN101114979A (en) * 2007-07-23 2008-01-30 中国联合通信有限公司 File transfer system and method of instant message
CN101232501A (en) * 2007-12-10 2008-07-30 腾讯科技(深圳)有限公司 System and method for improving multi-file dispatch
CN101677301A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 Intermediate server for instant messaging and instant messaging realizing method thereof

Similar Documents

Publication Publication Date Title
CN103873692B (en) Method, device and system for resource sharing
CN102185789A (en) Method for performing transmission according to priorities in instant messaging and instant messaging server
CN105278972B (en) A kind of system and method for quickly allowing user to become good friend by dynamic installation kit
CN110430292B (en) Method and device for inviting login of network platform, electronic equipment and readable medium
CN102185790A (en) Instant message processing and transmitting method with priority and instant messaging server
CN102271095A (en) Community platform-based batch processing transmission method and instant communication server
CN112929257A (en) Multi-scenario message sending method, device, server and storage medium
CN102137040A (en) Priority level-setting instant communication transmission control method and instant communication server
KR20060118221A (en) System and method for jointing contents using sync server
CN102244618A (en) Batch processing method and instant messaging server based on community platform
CN102244617A (en) Batch processing notification method based on community platform and live communications server
CN102158429A (en) Community platform based group communication method and system
KR20200064524A (en) A device for creating and sharing digital electronic business cards based on social network services/sites
CN102185913A (en) Instant messaging file processing method with priority and instant messaging server
CN102130850B (en) File transmission method for community platform and instant messaging server
CN102137042A (en) Instant messaging processing notification method with priority and instant messaging server
CN102130852A (en) Batch processing and transmitting method for community platform and instant communication server
CN102238101A (en) Community-platform-based file transmission method and instant messaging server
CN102368743A (en) File transmission method based on community platform and instant communication server
CN102238168A (en) Synchronous notification method based on community platform and instant communication server
CN102148772A (en) Synchronous notification method for community platform and instant messaging server
CN102130849B (en) Method for transmitting file of community platform and instant communication server
CN102255940A (en) Priority based file batch processing transmission method and system
CN102255882A (en) Method and system for transmitting batch-processed files
CN102333045A (en) Group information interaction method and system of community network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120307