CN101150540A - A method for continuous file transfer at interruption point in instant communication tool - Google Patents

A method for continuous file transfer at interruption point in instant communication tool Download PDF

Info

Publication number
CN101150540A
CN101150540A CNA2007101769069A CN200710176906A CN101150540A CN 101150540 A CN101150540 A CN 101150540A CN A2007101769069 A CNA2007101769069 A CN A2007101769069A CN 200710176906 A CN200710176906 A CN 200710176906A CN 101150540 A CN101150540 A CN 101150540A
Authority
CN
China
Prior art keywords
file
client
server
documents
transmission
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
CNA2007101769069A
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.)
Yiqitong It Tech Co Ltd Beijing
Original Assignee
Yiqitong It Tech Co Ltd Beijing
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 Yiqitong It Tech Co Ltd Beijing filed Critical Yiqitong It Tech Co Ltd Beijing
Priority to CNA2007101769069A priority Critical patent/CN101150540A/en
Publication of CN101150540A publication Critical patent/CN101150540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for transmitting documents by breakpoint transmission with an instant communications tool, which includes the following steps: when a client terminal receives documents, a server is connected, an instruction for receiving documents is sent to the server, and the client terminal then creates a new task of document transmission; after the instruction for receiving documents is received by the server, the data of the documents are sent to the client terminal which stores the data of the task on a regular basis; if the client terminal fails to complete the receiving of the documents, the client terminal then transmits the task information to the server requesting for receiving the remaining document data, the server then continues to transmit the remaining document data after receiving the request when a user receives documents the next time; if the client terminal completes the receiving of the documents, the client terminal then notifies the user that the receiving is completed, and the task of document transmission is deleted. The time for repeated transmission is saved in transmitting documents by breakpoint transmission, and the pressure on network is alleviated, thus improving efficiency of transmission and strengthening the ability to withstand risks. Therefore, the method is suitable for the instant communications software applied in ever-changing network environment with frequent on-and-off-line of users.

Description

A kind of method of in JICQ, using breakpoint transmission to carry out file transfer
Technical field:
The present invention relates to computer software, network communication field, instant messaging especially particularly relates to and a kind ofly uses breakpoint transmission to carry out the method for file transfer in JICQ.
Background technology:
Instant messaging (Instant messaging is called for short IM) has become the important means that the user communicates by network, and a lot of JICQs are arranged at present, QQ as company of Tengxun, the MSN of Microsoft also has some enterprise immediate communications, as RTX, Sametime etc.
The instant messaging product is used by increasing people, file transfer then is very important in an instant messaging function, present immediate communication tool, during transfer files, if interrupt, the transmission primaries again that then can only start anew can't continue the remaining file data of transmission in last time on the uncompleted basis.As: when the user receives the file of a 10M, when receiving 9M, because network interrupts, after client was logined again, when the user received file once more, the file of this 10M needed to restart transmission again.
Summary of the invention:
The present invention provides a kind of and has used breakpoint transmission to carry out the method for file transfer in JICQ for addressing the above problem weak point.
In order to address the above problem, the invention provides following technical scheme: a kind of method of using breakpoint transmission to carry out file transfer in JICQ comprises the steps:
When a. client received, the Connection Service device sent the file command that receives to server, client new files transformation task;
B. after server is received file command, send file data to client, client scheduled store task data;
If c. client is not finished reception, when then next user continued to receive, client sent to server to mission bit stream, and request receives remaining file data, after server is received, continued to send remaining file data;
If d. client is finished reception, then client notifies the user to finish reception, and the deleted file transformation task.
Described step also comprises
2.1 server finishes receiving the file data that the sender sends;
2.2 the server notification client has the fileinfo of not accepting.
The fileinfo to be received that described file command comprises is that server sends to client by notification message.
Described task data comprises file unique identification, sender, transmitting time, recipient, filename, file size, file modification time, file verification value, the byte number that has received, last time of reception.
Described file unique identification is that server generates and sends to client.
Advantage of the present invention:
When the user uses the instant communication client transmission or receives file, client and server can be preserved transmission progress, if imperfect tense end in transmission, no matter be that accidental interruption or user suspend, then the user can continue the remaining file data of transmission next time on original basis.Transfer files uses breakpoint transmission to save the time that repeats to transmit, and has alleviated the pressure of network, thereby has improved the efficient of transmission, and the ability to ward off risks is strong simultaneously, is well suited in the software big in this change of network environment of instant messaging, that user's going on line or off line is frequent.
For example the user receives the file of a 10M, and when receiving 9M, network interrupts, if every biographys 1M needs 20 seconds, does not support the time that breakpoint transmission needs: 200 seconds of the 180 seconds+transmission afterwards that begins to transmit.Under the situation that repeatedly transmission is interrupted, the transmission time that needs is longer.And the time of utilizing this method to realize that breakpoint transmission needs is about 200 seconds, no matter interrupt several times.
Description of drawings:
Fig. 1 receives document flowchart for client of the present invention.
Embodiment:
As shown in Figure 1, a kind of method of using breakpoint transmission to carry out file transfer in JICQ comprises the steps,
S1. server finishes receiving the file data that the sender sends.Server is finished and is received the back storage file, prepares beginning then and transmits to recipient's client.
S2. the server notification client has the fileinfo of not accepting.
When S3. client receives, the Connection Service device, the file command that sends reception is to server, and the fileinfo to be received that this document order comprises is that server sends to client by notification message, client new files transformation task.
S4. after server is received file command, send file data to client, client in the process that receives file, scheduled store file task data, as: 5 seconds are once;
The content of task data comprises:
File unique identification, sender, transmitting time, recipient, filename, file size, file modification time, file verification value, the byte number that has received, last time of reception.
Wherein the file unique identification is that server generates and sends to client, the file of unique identification transmission.
The file verification value is that file content is carried out the value of digest calculations by the technology of MD5 or SHA1 and so on, and in theory, as long as file content changes, then the value of Ji Suaning will change, so client is used for the file that receives is carried out verification.
The byte number that has received is the byte number that client storage has received, and guarantees that the byte of transmission is not accurately transmitted.
Original position when the byte number that has received is used for writing down next client and continues to receive.Suppose that this document is 100 bytes, if client interrupt when receiving 80 bytes, when then next client receives since the 81st byte.
If S5. client is not finished reception, when then next user continued to receive, client sent to server to mission bit stream, and request receives remaining file data, and server receives that follow-up supervention send remaining number of files.
If S6. client is finished reception, then client notifies the user to finish reception, and the deleted file transformation task.

Claims (5)

1. one kind is used breakpoint transmission to carry out the method for file transfer in JICQ,
It is characterized in that: comprise the steps,
When a. client received, the Connection Service device sent the file command that receives to server, client new files transformation task;
B. after server is received file command, send file data to client, client scheduled store task data;
If c. client is not finished reception, when then next user continued to receive, client sent to server to mission bit stream, and request receives remaining file data, after server is received, continued to send remaining file data;
If d. client is finished reception, then client notifies the user to finish reception, and the deleted file transformation task.
2. a kind of method of using breakpoint transmission to carry out file transfer in JICQ according to claim 1, it is characterized in that: described step also comprises
2.1 server finishes receiving the file data that the sender sends;
2.2 the server notification client has the fileinfo of not accepting.
3. a kind of method of using breakpoint transmission to carry out file transfer in JICQ according to claim 1, it is characterized in that: the fileinfo to be received that described file command comprises is that server sends to client by notification message.
4. a kind of method of using breakpoint transmission to carry out file transfer in JICQ according to claim 1 is characterized in that: described task data comprises file unique identification, sender, transmitting time, recipient, filename, file size, file modification time, file verification value, the byte number that has received, last time of reception.
5. a kind of method of using breakpoint transmission to carry out file transfer in JICQ according to claim 4, it is characterized in that: described file unique identification is that server generates and sends to client.
CNA2007101769069A 2007-11-07 2007-11-07 A method for continuous file transfer at interruption point in instant communication tool Pending CN101150540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101769069A CN101150540A (en) 2007-11-07 2007-11-07 A method for continuous file transfer at interruption point in instant communication tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101769069A CN101150540A (en) 2007-11-07 2007-11-07 A method for continuous file transfer at interruption point in instant communication tool

Publications (1)

Publication Number Publication Date
CN101150540A true CN101150540A (en) 2008-03-26

Family

ID=39250888

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101769069A Pending CN101150540A (en) 2007-11-07 2007-11-07 A method for continuous file transfer at interruption point in instant communication tool

Country Status (1)

Country Link
CN (1) CN101150540A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158847A (en) * 2010-12-01 2011-08-17 北京迅捷英翔网络科技有限公司 Communication method and system between mobilephone and server
CN101534483B (en) * 2009-03-20 2012-09-05 中兴通讯股份有限公司 Method and system for realizing breakpoint transmission of multimedia message
CN102739357A (en) * 2012-05-30 2012-10-17 深圳市通盛网络技术有限公司 Data error-free transmission processing method
CN103581242A (en) * 2012-07-27 2014-02-12 腾讯科技(深圳)有限公司 Method, client-side equipment, server and system for uploading files
CN103684712A (en) * 2012-09-14 2014-03-26 百度在线网络技术(北京)有限公司 Method, device and network disc for quickly resuming file transmission
CN105357302A (en) * 2015-11-12 2016-02-24 成都科来软件有限公司 Method and device for breakpoint transmission of network data packages
CN103092794B (en) * 2011-11-04 2016-03-30 联想(北京)有限公司 Transmission method and electronic equipment
US10015119B2 (en) 2012-02-24 2018-07-03 Tencent Technology (Shenzhen) Company Limited Method and system for file transfer, instant messaging terminal, and computer storage medium
CN111629036A (en) * 2020-05-13 2020-09-04 贵州国卫信安科技有限公司 Infrared transmission file method supporting breakpoint continuous transmission

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534483B (en) * 2009-03-20 2012-09-05 中兴通讯股份有限公司 Method and system for realizing breakpoint transmission of multimedia message
CN102158847A (en) * 2010-12-01 2011-08-17 北京迅捷英翔网络科技有限公司 Communication method and system between mobilephone and server
CN103092794B (en) * 2011-11-04 2016-03-30 联想(北京)有限公司 Transmission method and electronic equipment
US10015119B2 (en) 2012-02-24 2018-07-03 Tencent Technology (Shenzhen) Company Limited Method and system for file transfer, instant messaging terminal, and computer storage medium
CN102739357A (en) * 2012-05-30 2012-10-17 深圳市通盛网络技术有限公司 Data error-free transmission processing method
CN102739357B (en) * 2012-05-30 2015-09-23 深圳市通盛网络技术有限公司 data error-free transmission processing method
CN103581242A (en) * 2012-07-27 2014-02-12 腾讯科技(深圳)有限公司 Method, client-side equipment, server and system for uploading files
CN103581242B (en) * 2012-07-27 2018-06-15 腾讯科技(深圳)有限公司 Method, client device, server and the system of upper transmitting file
CN103684712A (en) * 2012-09-14 2014-03-26 百度在线网络技术(北京)有限公司 Method, device and network disc for quickly resuming file transmission
CN105357302A (en) * 2015-11-12 2016-02-24 成都科来软件有限公司 Method and device for breakpoint transmission of network data packages
CN105357302B (en) * 2015-11-12 2019-01-11 成都科来软件有限公司 A kind of network packet breaker point continuous transmission method and device
CN111629036A (en) * 2020-05-13 2020-09-04 贵州国卫信安科技有限公司 Infrared transmission file method supporting breakpoint continuous transmission

Similar Documents

Publication Publication Date Title
CN101150540A (en) A method for continuous file transfer at interruption point in instant communication tool
JP5792850B2 (en) File folder transmission over the network
US7039394B2 (en) Communication system and method for compressing information sent by a communication device to a target portable communication device
CN101184055B (en) Method and device of delivering, receiving, transmitting off-line files
CN101217295B (en) File transmitting method, receiving method and device based on Bluetooth technique
CN102752283B (en) Method and system for transmitting files with large data sizes
JP2008524879A (en) File transmission method, system, virtual printer apparatus and restoration apparatus in network
WO2016058305A1 (en) Method, apparatus and terminal of information back-up and computer storage medium
CN101106543A (en) A method for processing offline data in instant communication tool
JP5287172B2 (en) Information processing apparatus, image processing apparatus, print control method, and print control program
CN101557415A (en) Method supporting web page switching for uploading a plurality of documents to web browser
CN103516788A (en) Data pushing method and Flash client terminal and server thereof
CN101094196A (en) Method and system for transferring files
JP5961471B2 (en) Output comparison method in multiple information systems
CN102456005A (en) High-data-volume file processing method and system
CN101883345B (en) Method and device for processing AT command
CN103092932A (en) Distributed document transcoding system
CN105471718A (en) Realization method of full duplex message queue
CN101431480A (en) Method for transmitting files in instant communication tool
CN101471927B (en) Method and device for processing document transmission and document transmission system
CN102255895A (en) Method and system for data communication between client and server
CN101577683A (en) E-mail transmission system, transmission device and correlative transmission method
CN110716524A (en) WEB-based ESOP system
US20060031345A1 (en) Mail system for transmitting instant message and method of the same
CN103312463A (en) Method for mobile phone to send large data in WAP mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080326