CN102130849B - Method for transmitting file of community platform and instant communication server - Google Patents

Method for transmitting file of community platform and instant communication server Download PDF

Info

Publication number
CN102130849B
CN102130849B CN 201110104635 CN201110104635A CN102130849B CN 102130849 B CN102130849 B CN 102130849B CN 201110104635 CN201110104635 CN 201110104635 CN 201110104635 A CN201110104635 A CN 201110104635A CN 102130849 B CN102130849 B CN 102130849B
Authority
CN
China
Prior art keywords
file
instant communication
communication server
transmission
community platform
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.)
Expired - Fee Related
Application number
CN 201110104635
Other languages
Chinese (zh)
Other versions
CN102130849A (en
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.)
Codyy Education 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 CN 201110104635 priority Critical patent/CN102130849B/en
Publication of CN102130849A publication Critical patent/CN102130849A/en
Application granted granted Critical
Publication of CN102130849B publication Critical patent/CN102130849B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for transmitting a file of a community platform and an instant communication server. The method for transmitting the file of the community platform comprises the following steps that: source users log on a community platform according to registration information, call an application program code, transmit registration information and request for the instant communication server; the instant communication server returns instant communication related data and resources to a webpage, and the webpage resolves the acquired communication related data and resources to generate an instant communication tool; the source users transmit files to be processed to the instant communication server through the instant communication tool according to preset priorities; the instant communication server processes the files to be processed in batch to obtain a compressed file; the instant communication server informs target users synchronously through the instant communication tool after batch processing; and the instant communication server controls the transmission of the compressed files according to a preset transmission strategy, wherein at least two source users exist.

Description

A kind of transmission method of file of community platform and instant communication server
Technical field
The present invention relates to network field, relate in particular to a kind of transmission method and instant communication server of file of community platform.
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 distance education, can also allow the interchange cost between people and people greatly reduce, and improve efficient.In the process that people carry out mutually exchanging, 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 defective in traditional transmission means, and for example, the part instrument need to be installed client just can carry out file transfer, and the part instrument can not be with the unified download of Piece file mergence, and the part instrument can't be realized the function for the different files of different user transmission.
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 comprises the following 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 download file.When terminal has the authority of download, will ask the information of download file to be sent to the file packing apparatus.The file packing apparatus is according to the information of request download file, and the file packing with request is downloaded sends to the file download service device with the file address after packing.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 to be installed client software and just can be carried out file transfer, some indescribable software can be by the terminal that is arranged on unawares oneself, thereby affects the fail safe of computer; 2, existing webpage only has File Upload, download function, lacks compression function, if quantity of documents is larger, needs the user repeatedly to click page request and downloads, thereby cause many unnecessary operations; 3, when source user needs file is sent to a plurality of targeted customer, need to 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 completes packing process, easily wastes targeted customer's time.
Summary of the invention
The invention provides a kind of transmission method of file of community platform and instant communication server to address the above problem.
The invention provides a kind of transmission method of file of community platform.The transmission method of the file of community platform comprises the following steps.Source user is according to log-on message login community platform, and the invokes application code imports log-on message into and asks instant communication server.Instant communication server returns to instant messaging related data and resource to webpage, and webpage is resolved and obtained instant messaging related data and resource, 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 completing batch process.Instant communication server is controlled the transmission of compressed file according to default transmission policy.Wherein, the number of source user is at least two.
The present invention also provides a kind of instant communication server, comprises generation module, batch process module, memory module and transport module.Generation module is for returning to instant messaging related data and resource according to the log-on message that imports into to webpage.Wherein, importing into by source user of log-on message realizes according to log-on message login community platform invoke 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, is used for pending file that the batch process source user sends by immediate communication tool obtaining compressed file, and passes through immediate communication tool synchronization notice targeted customer after completing batch process.Memory module connects the batch process module, is used for storing pending file and compressed file.Transport module connects the batch process module, and transport module is controlled the transmission of compressed file according to transmission policy.
Compared to prior art, transmission method and instant communication server according to the file of community platform provided by the present invention, complete due to instant communication server after the batch process of pending file by immediate communication tool synchronization notice targeted customer, therefore, the targeted customer need not ceaselessly to inquire whether server end completes the batch process operation, has saved better targeted customer's time.In addition,, need not to repeat to select pending file in operating process when being a plurality of when targeted customer's number, avoid simultaneously carrying out repeated squeeze operation, with handled easily.In addition, instant communication server can be controlled according to transmission policy the transmission of compressed file, thereby accelerates the transmission speed of compressed file, saves time.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Figure 1 shows that the flow chart according to the transmission method of the file of the community platform shown in preferred embodiment of the present invention;
Figure 2 shows that the schematic diagram according to the instant communication server shown in preferred embodiment of the present invention.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature in embodiment in the application can make up mutually.
Figure 1 shows that the flow chart according to the transmission method of the file of the community platform shown in preferred embodiment of the present invention.Figure 2 shows that the schematic diagram according to the instant communication server shown in preferred embodiment of the present invention.Please in the lump with reference to figure 1 and Fig. 2.
As shown in Figure 1, the transmission method of the file of the community platform that provides of preferred embodiment of the present invention comprises step S100~S106.In step S100, source user logs in community platform, automatically generates immediate communication tool.Particularly, source user is logined according to the log-on message at community platform.Wherein, community platform comprises: personal portal; Log-on message comprises: mailbox, password.
For example, source user is logined according to mailbox, password at personal portal.Simultaneously, according to API (Application Programming Interface, the application programming interface) code of the instant messaging that embeds on webpage, import mailbox, the encrypted message of source user into.API code request instant communication server, instant communication server returns to 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 webpage and generates, and need not to download any client software, thereby avoids some indescribable software by the terminal that is arranged on unawares oneself, to guarantee the fail safe of 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 restriction 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 completing batch process.Particularly, after the batch compression of pending file was completed, instant communication server was completed 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 completed, thereby has saved targeted customer's time.In addition, targeted customer's number for example can be three.Yet the present invention does not do any restriction to this.In addition, the files in batch processing procedure in the present embodiment is realized by instant communication server.Yet the present invention is not limited thereto.In other embodiment, also can be realized by other data processing server.
Then, after the targeted customer received instant communication server and completes the notice of batch process, the targeted customer can select whether to agree to receive compressed file.In step S104, the targeted customer selects whether to receive compressed file.If the targeted customer agrees to receive compressed file, instant communication server is controlled the transmission (as shown in step S105) of compressed file according to default transmission policy.If the targeted customer rejects compressed file, instant communication server notification source ownership goal user rejects compressed file (as shown in step S106).Particularly, instant communication server first transmits compressed file to one of them targeted customer according to transmission policy.Then, instant communication server control other compressed files to be received according to transmission policy again the targeted customer from server or the targeted customer who has received compressed file receive compressed file.
Wherein, transmission policy comprises: transmission speed, transmission path.When transmission policy is transmission speed, and the transmission speed of instant communication server is when the fastest, and instant communication server transmission compressed file is to the targeted customer of compressed file to be received.When transmission policy is transmission speed, and targeted customer's the transmission speed that has received compressed file is during faster than the transmission speed of instant communication server, and instant communication server is controlled the targeted customer who has received compressed file and transmitted compressed file to the targeted customer of compressed file to be received.When transmission policy is transmission path, and instant communication server to the targeted customer's of compressed file to be received transmission path the most in short-term, the targeted customer of compressed file to be received receives compressed file from instant communication server.When transmission policy is transmission path, and received between the targeted customer of the targeted customer of compressed file and compressed file to be received transmission path the most in short-term, instant communication server is controlled the targeted customer who has received compressed file and is transmitted compressed file to the targeted customer of compressed file to be received.
As shown in Figure 2, the instant communication server 102 connection management persons 100, source user 101a~101b and the targeted customer 103a~103c that provide of preferred embodiment of the present invention.In the present embodiment, describe as an example of two source user 101a~101b and three targeted customer 103a~103c example.Yet the present invention is not limited thereto, as long as guarantee that the number of source user is at least two.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 describe as an example of Web conference example.In the Web conference process, if source 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.Accordingly, each source user can in time be uploaded corresponding pending file according to keeper 100 notice.
In addition, the instant communication server 102 that provides of preferred embodiment of the present invention 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, memory module 1022 and batch process module 1023, and batch process module 1023 connects memory module 1022 and transport module 1024.The generation module 1020 of instant communication server 102 is for returning to instant messaging related data and resource according to the log-on message that imports into to webpage.Wherein, importing into by source user 101 of log-on message realizes according to log-on message login community platform invoke application code, and webpage is resolved instant messaging related data and the resource that obtains, the generation immediate communication tool.Batch process module 1023 is used for pending file that batch process source user 101 sends by immediate communication tool obtaining compressed file, and passes through immediate communication tool synchronization notice targeted customer 103a~103c after completing batch process.Memory module 1022 storing receiveds are from the pending file of source user 101 and the compressed file that obtains through batch process module 1023 batch process.When batch process module 1023 is completed all squeeze operations, transport module 1024 is controlled the transmission of compressed file according to transmission policy.
For example, after batch process module 1023 was completed squeeze operation, instant communication server 102 is completed by immediate communication tool synchronization notice targeted customer 103a~103c squeeze operation can carry out down operation.Then, if three equal selective reception compressed files of targeted customer 103a~103c, instant communication server 102 can be controlled according to transmission policy the transmission of compressed file.
Particularly, when transmission policy was transmission speed, instant communication server 102 first transferred to compressed file a fastest targeted customer of transmission speed (for example, targeted customer 103a).Afterwards, instant communication server 102 judgement instant communication servers 102 and targeted customer 103b, 103c and targeted customer 103a and targeted customer 103b, the speed of transmission speed between 103c.Instant communication server 102 is controlled targeted customer 103b according to the judgement of transmission speed and is received compressed file from instant communication server 102 or targeted customer 103a.Subsequently, instant communication server 102 is controlled targeted customer 103c from instant communication server 102 or targeted customer 103a or targeted customer 103b reception compressed file according to identical judgement again.Similarly, when transmission policy was transmission path, instant communication server 102 was controlled the transmission of compressed file according to the distance judgement of transmission path.Repeat no more in this.
In sum, transmission method and the instant communication server of the file of the community platform that above-mentioned preferred embodiment according to the present invention provides, complete due to instant communication server after the batch process of pending file by immediate communication tool synchronization notice targeted customer, therefore, the targeted customer need not ceaselessly to inquire whether server end completes the batch process operation, has saved better targeted customer's time.In addition, when being a plurality of, need not to repeat to select file waiting for transmission when targeted customer's number in operating process, avoid simultaneously carrying out repeated squeeze operation, be very easy to operation.In addition, instant communication server is controlled the transmission of compressed file according to transmission policy, thereby has accelerated the transmission speed of compressed file, has saved the time.
The above is only 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 modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the transmission method of the file of a community platform, is characterized in that, comprises the following steps:
Source user is according to log-on message login community platform, and the invokes application code imports log-on message into and asks instant communication server;
Described instant communication server returns to instant messaging related data and resource to webpage, and described webpage is resolved described instant messaging related data and the resource that obtains, and generates immediate communication tool;
Described source user sends pending file to described instant communication server according to default priority by described immediate communication tool;
The described pending file of described instant communication server batch process is to obtain compressed file;
Described instant communication server after completing batch process by described immediate communication tool synchronization notice targeted customer; And
Described instant communication server is controlled the transmission of described compressed file according to default transmission policy, wherein, the number of described source user is at least two.
2. the transmission method of the file of community platform according to claim 1, it is characterized in that, according to the application programming interface code that embeds on described webpage, import described log-on message into, the described instant communication server of described application programming interface code request, described instant communication server returns to described instant messaging related data and resource to described webpage, described webpage is according to the rule of the pattern of described community platform, described data and resource are resolved and shown, generate described immediate communication tool.
3. the transmission method of the file of community platform according to claim 1, it is characterized in that, when described instant communication server by the described targeted customer of described immediate communication tool synchronization notice, and when described targeted customer agrees to receive described compressed file, described instant communication server is controlled the transmission of described compressed file according to described transmission policy, as the described targeted customer of described instant communication server synchronization notice, and when described targeted customer rejects described compressed file, described instant communication server notifies the described targeted customer of described source user to reject described compressed file.
4. the transmission method of the file of community platform according to claim 1, is characterized in that, described transmission policy comprises: transmission speed, transmission path.
5. the transmission method of the file of community platform according to claim 1, is characterized in that, described log-on message comprises: mailbox, password.
6. the transmission method of the file of community platform according to claim 1, is characterized in that, described instant messaging related data comprises: user setup data, good friend's data, group's data.
7. the transmission method of the file of community platform according to claim 1, is characterized in that, described instant messaging related resource comprises: CSS, script file, picture.
8. the transmission method of the file of community platform according to claim 1, is characterized in that, described community platform comprises: personal portal.
9. an instant communication server, is characterized in that, comprising:
Generation module, for returning to instant messaging related data and resource according to the log-on message that imports into to webpage, wherein, importing into by source user of described log-on message realizes according to log-on message login community platform invoke application code, and described webpage is resolved described instant messaging related data and the resource that obtains, and generates immediate communication tool;
The batch process module connects described generation module, is used for pending file that the described source user of batch process sends by described immediate communication tool obtaining compressed file, and after completing batch process by described immediate communication tool synchronization notice targeted customer;
Memory module connects described batch process module, is used for storing described pending file and described compressed file; And
Transport module connects described batch process module, and described transport module is controlled the transmission of described compressed file according to transmission policy.
10. instant communication server according to claim 9, is characterized in that, also comprises receiver module, connects described generation module, described batch process module and described memory module, is used for receiving described pending file from described source user.
CN 201110104635 2011-04-26 2011-04-26 Method for transmitting file of community platform and instant communication server Expired - Fee Related CN102130849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110104635 CN102130849B (en) 2011-04-26 2011-04-26 Method for transmitting file of community platform and instant communication server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110104635 CN102130849B (en) 2011-04-26 2011-04-26 Method for transmitting file of community platform and instant communication server

Publications (2)

Publication Number Publication Date
CN102130849A CN102130849A (en) 2011-07-20
CN102130849B true CN102130849B (en) 2013-06-05

Family

ID=44268743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110104635 Expired - Fee Related CN102130849B (en) 2011-04-26 2011-04-26 Method for transmitting file of community platform and instant communication server

Country Status (1)

Country Link
CN (1) CN102130849B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102287A (en) * 2006-07-03 2008-01-09 阿里巴巴公司 A method and system for transferring files via browser
CN101640692A (en) * 2008-07-30 2010-02-03 中国网通集团宽带业务应用国家工程实验室有限公司 Method and system for file download service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102287A (en) * 2006-07-03 2008-01-09 阿里巴巴公司 A method and system for transferring files via browser
CN101640692A (en) * 2008-07-30 2010-02-03 中国网通集团宽带业务应用国家工程实验室有限公司 Method and system for file download service

Also Published As

Publication number Publication date
CN102130849A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
CN102970362A (en) Method and device for sharing cloud data
CN108886472A (en) cross-mode communication
CN102595208A (en) Cloud terminal control networking video image processing streaming media service system and method
CN103338276B (en) A kind of method transmitting data between the network terminal
CN105278972B (en) A kind of system and method for quickly allowing user to become good friend by dynamic installation kit
CN102185789A (en) Method for performing transmission according to priorities in instant messaging and instant messaging server
CN105227430A (en) A kind of social Internet of Things implementation method based on micro-letter platform
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
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
CN102130849B (en) Method for transmitting file of community platform and instant communication server
CN102130852A (en) Batch processing and transmitting method for community platform and instant communication server
CN102158429A (en) Community platform based group communication method and system
CN102130850B (en) File transmission method for community platform and instant messaging server
CN102185913A (en) Instant messaging file processing method with priority and instant messaging server
CN102137046A (en) Priority level-setting instant communication file transmission method and instant communication server
CN102238101A (en) Community-platform-based file transmission method and instant messaging server
CN102148772A (en) Synchronous notification method for community platform and instant messaging server
CN102137042A (en) Instant messaging processing notification method with priority and instant messaging server
CN102130851A (en) Method for controlling batch processing of community platform and instant communication server
CN102255940A (en) Priority based file batch processing transmission method and system
CN102238168A (en) Synchronous notification method based on community platform and instant communication server
CN102333047A (en) Information interaction method and system based on community group

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Suzhou City, Jiangsu province 215121 Fengting Avenue Suzhou Industrial Park No. 666 Weiting Intelligent Industrial Park Building 8

Patentee after: CODYY EDUCATION TECHNOLOGY Co.,Ltd.

Address before: Suzhou City, Jiangsu province 215121 Fengting Avenue Suzhou Industrial Park No. 666 Weiting Intelligent Industrial Park Building 8

Patentee before: SUZHOU CODYY NETWORK SCIENCE & TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130605