CN100558086C - Method and system for transmitting, receiving and transmitting off-line files - Google Patents

Method and system for transmitting, receiving and transmitting off-line files Download PDF

Info

Publication number
CN100558086C
CN100558086C CNB2007100746854A CN200710074685A CN100558086C CN 100558086 C CN100558086 C CN 100558086C CN B2007100746854 A CNB2007100746854 A CN B2007100746854A CN 200710074685 A CN200710074685 A CN 200710074685A CN 100558086 C CN100558086 C CN 100558086C
Authority
CN
China
Prior art keywords
offline
mail
file
client
command
Prior art date
Application number
CNB2007100746854A
Other languages
Chinese (zh)
Other versions
CN101075986A (en
Inventor
林晓君
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CNB2007100746854A priority Critical patent/CN100558086C/en
Publication of CN101075986A publication Critical patent/CN101075986A/en
Application granted granted Critical
Publication of CN100558086C publication Critical patent/CN100558086C/en

Links

Abstract

本发明实施例适用于即时通信,公开了一种离线文件的发送、接收、传输方法及系统,该离线文件的发送方法包括以下步骤:A1、发送客户端发送请求文件传输的命令到处理服务器;A2、所述处理服务器查询接收客户端的当前状态,若确定所述接收客户端的当前状态为离线状态,则执行步骤A3;A3、所述发送客户端发送邮件发送命令到第一邮件服务器,所述第一邮件服务器解析所述邮件发送命令,并从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件。 Embodiments of the present invention is applicable to IM, discloses an offline file transmission, reception, transmission method and system, the off-line file transmission method comprises the steps of: A1, sending client sends a file transfer request command to the processing server; A2, the current state of query processing server receiving client, determine the current state of the receiver if the client is offline, the step A3; A3, the sending client transmits the message transmission command to the first mail server, the first mail server parses the message transmission command, and acquires the file from the offline sending client, mail attachment files stored offline. 本发明实施例能使接收客户端的当前状态为离线状态时也能透明传输离线文件。 Example enable current state of the receiving client is offline Offline files can be transparent transmission of the present invention.

Description

一种离线文件的发送、接收、传输方法及系统 An offline file transmission, reception, transmission method and system

技术领域 FIELD

本发明涉及即时通信领域,尤其涉及一种应用于即时通信的离线文件的发送、接收、传输方法及系统。 The present invention relates to instant messaging, and in particular, to a transmission in an instant communication offline file reception, transmission method and system.

背景技术 Background technique

即时通信(Instant Messaging, IM)系统发展到今天,已经为大多数人接受。 IM (Instant Messaging, IM) system to today, has been accepted by most people. 不仅在休闲娱乐中,而且在工作中也被广泛使用。 Not only in the leisure and entertainment, and is also widely used in the work. 现有技术中,所有的即时通信系统都提供了在线消息传输、离线消息传输、在线文件传输等基本信息传输户的使用。 In the prior art, all of the instant messaging system provides the user with basic information transmission line messaging, offline messaging, file transfer line. 虽然现有技术的部分即时通信系统也提供了离线文件传输功能,然而由于离线文件传输的复杂性,各种即时通信系统的实现方案都略有不同,效果也未能尽如人意。 Although part of the instant messaging system of the prior art also provides off-line file transfer capabilities, but because of the complexity of the offline file transfer, implementation of various instant messaging systems are slightly different, the effect is not be for everyone.

一种现有技术的即时通信系统的离线文件的传输方法是:通信双方的即时通信帐号均绑定一个已开通激活的邮箱帐号,发送离线文件时切换到浏览器的邮箱发送界面,然后通过该已开通激活的邮箱来传输。 Off-line file transfer communication system according to an instant prior art are: IM account communicating parties are activated to bind a mail account has been opened, the interface switch to transmit the browser email sending file offline, then the It has opened the mailbox activated to transmit. 例如用户A给用户B发送文件时,服务器判断用户B的状态,如果用户B的状态为隐身或者在线,则按照在线方式进行文件传输,如果用户B的状态为离线,则提示用户A是否选择以邮件方式进行传输,如果用户A选择以邮件方式发送文件,则切换到浏览器的邮箱发送界面,通过用户A所绑定的已开通激活的邮箱帐号把需发送的文件作为附件发送到用户B所绑定的已开通激活的邮箱中;当用户B上线后,用户B对应的客户端接收到服务器新邮件通知消息,告知用户A发送了某个文件附件到用户B所绑定的已开通激活的邮箱中,用户B就可以点击切换到浏览器的邮箱接收界面进行邮件的查询和文件附件的下载。 For example, when a user A to user B transmits a file, the server determines the status of user B, if the state of the user B is invisible or on-line, the file transfer according to the online mode, if the state of the user B is offline, the user is prompted A is selected mail transmission, if the user a selects the document sent by mail, E-mail transmission screen is switched to the browser, user a document bound activated mail account has been opened to be transmitted to the user B is transmitted as an attachment binding of activated mailbox has opened; the user when the line B, the user B corresponding to the server client receives a new mail notification message, informing the user a sends user B a file attachment has opened bound activated E-mail, the user can click to download B queries and file attachments to switch to the mailbox to receive mail interface of the browser.

6 6

然而,现有技术的即时通信系统的离线文件的传输方法必须保证用户A和用户B的即时通信帐号均绑定了一个已开通激活的邮箱帐号,并且整个文件发送的过程是不透明的,即,首先要在用户A的即时通信客户端获取文件,然后切换到一个新的邮箱发送界面,新的邮箱发送界面是一个浏览器界面,与即时通信客户端存在较大的差异,因此用户感比较差;另外,由于现有技术的即时通信系统的离线文件的传输方法只是简单的把两个不同的系统堆砌在一起,用户A的即时通信客户端不能获取文件传输成功与否的信息,只能通过在邮件系统中来判断邮件发送的成功与否。 However, off-line file transfer instant messaging system must ensure that the prior art user A and user B's IM account are activated to bind a mail account has been opened, and the process of transmitting the entire file is opaque, i.e., for the first instant messaging client a user files, and then switch to a new interface to send email, send new mail interface is a browser interface, there is a big difference with the instant messaging client, so users feel poor ; Further, since the off-line file transfer instant messaging system of the prior art simply put together a pile of two different systems, instant messaging client of the user a can not obtain information about the success of the file transfer, only through in the mail system to send messages to judge the success or not.

发明内容 SUMMARY

本发明实施例所要解决的技术问题在于提供一种透明传输的离线文件的发送、接收、传输方法及系统。 Problem to be solved by embodiments of the present invention to provide a document transmitting offline transparent transmission, reception, transmission method and system.

为解决上述技术问题,本发明实施例提供一种即时通信的离线文件的发送方法,其包括以下步骤:Al、发送客户端发送请求文件传输的命令到处理服务器;A2、所述处理服务器查询接收客户端的当前状态,若确定所述接收客户端的当前状态为离线状态,则执行步骤A3; To solve the above problems, embodiments of the present invention provides a method of transmitting a document offline instant messaging, comprising the steps of: Al, sending client sends a file transfer request command to the processing server; A2, the processing server receiving the query the current state of the client, determining if the current state of the receiving client is offline, the step A3;

A3、所述发送客户端发送邮件发送命令到第一邮件服务器,所述第一邮件服务器解析所述邮件发送命令,并从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件。 A3, transmits the transmission command to the first mail server, the first mail server parses the message transmission command, and acquires the file from the offline sending client, mail attachment files stored offline message sent by the client.

本发明实施例还提供一种即时通信的离线文件的接收方法,其包括以下步骤:Bl、接收客户端登录时,查询处理服务器的离线操作信息表,获取离线操作信息;B2、若有离线文件信息,则所述接收客户端发送邮件接收命令到第二邮件服务器; Receiving the file off-line embodiment of the present invention further provides an instant communication, comprising the steps of: Bl, upon receiving the client logs off the operation information table query processing server acquires information off-line operation; B2, if the file offline information, the message sent by a client receiving a second command to the mail server;

B3、所述第二邮件服务器解析命令,读取离线文件; B4、所述接收客户端下载离线文件。 B3, the second mail server to parse the command, reads the offline files; B4, the receiving client to download the file offline.

本发明实施例还提供一种即时通信的离线文件的传输方法,其包括以下步骤:Cl、发送客户端发送请求文件传输的命令到处理服务器;C2、所述处理服务器查询接收客户端的当前状态,若确定所述接收客户端的当前状态为离线状态,则执行步骤C3; Embodiments of the invention further provides a method for transmitting files offline instant messaging, comprising the steps of: Cl, sending client sends a file transfer request command to the processing server; C2, the query processing server receives the current state of the client, determining if a current state of the receiving client is offline, step a C3;

C3、所述发送客户端发送邮件发送命令到第一邮件服务器,所述第一邮件服务器解析所述邮件发送命令,并从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件;C4、接收客户端登录时,查询处理服务器的离线搡作信息表,获取离线操作信息;C5、若有离线文件信息,则所述接收客户端发送邮件接收命令到第二邮件服务器;C6、所述第二邮件服务器解析命令,读取离线文件; C7、所述接收客户端下载离线文件。 C3, the sending client transmits the message transmission command to the first mail server, the first mail server parses the message transmission command, and get off from the sending client file, stored in the form of off-line mail attachment file; C4, upon receiving the client logs off for shoving query processing server information table, the operation information acquiring off-line; C5, if the offline file information, the message sent by a client receiving a second command to the mail server; C6, the said second mail server to parse the command, reads the offline files; C7, the receiving client to download the file offline.

本发明实施例还提供一种即时通信的离线文件的发送系统,其包括: 发送客户端,用于发送请求文件传输的命令到处理服务器,还用于发送邮件发送命令到第一邮件服务器;处理服务器,用于查询和确定接收客户端的当前状态;第一邮件服务器,用于解析所述邮件发送命令,并从发送客户端获取离线文件,以邮件附件的形式存储离线文件。 Embodiment of the present invention further provides a transmission system offline files instant communication, comprising: sending a client request for a file transfer command sent to the processing server is further configured to send a first message to send commands to the mail server; Processing server for receiving queries and to determine a current state of the client; a first mail server, configured to parse the message transmission command, and acquires the file from the sending client is offline, the message stored in the form of off-line file attachments.

本发明实施例还提供一种即时通信的离线文件的接收系统,其包括: 处理服务器,用于查询离线操作信息表,获取离线操作信息; 接收客户端,用于发送邮件接收命令到第二邮件服务器;还用于下载离线文件;8 Embodiments of the invention further provides off-line file system receives an instant communication, comprising: a processing server, a query for offline information table, the operation information acquiring off-line; receiving client, for sending mail to a second mail reception command server; also used to download files offline; 8

第一邮件服务器,用于存储离线文件;第二邮件服务器,用亍解析所述邮件接收命令,并读取离线文件。 First mail server, for storing an offline file; second mail server, mail reception by the command parsing the right foot, and reads the file offline.

本发明实施例还提供一种即时通信的离线文件的传输系统,其包括:发送客户端,用于发送请求文件传输的命令到处理服务器,还用于发送邮件发送命令到第一邮件服务器;处理服务器,用于查询和确定接收客户端的当前状态;还用于查询离线操作信息表,获取离线操作信息;第一邮件服务器,用于解析所述邮件发送命令,并从发送客户端获取离线文件,以邮件附件的形式存储离线文件;接收客户端,用于发送邮件接收命令到第二邮件服务器;还用于下载离线文件;第二邮件服务器,用于解析所述邮件接收命令,并读取离线文件。 Embodiment of the present invention further provides a file transfer system offline instant communication, comprising: sending a client request for a file transfer command sent to the processing server is further configured to send a first message to send commands to the mail server; Processing server for receiving queries and to determine a current state of the client; offline further configured to query information table, the operation information acquiring off; a first mail server, configured to parse the message transmission command, and acquires the file from the sending client is offline, offline files stored in the form of e-mail attachments; receiving client, receiving a command for sending messages to the second mail server; further configured to download an offline file; second mail server, configured to parse the received command message, and read off file. 由于本发明实施例当接收客户端的当前状态为离线状态时,发送客户端发送邮件发送命令到第一邮件服务器,第一邮件服务器从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件,因此不需要切换到浏览器的邮件界面,即能透明传输离线文件;另外,接收客户端获取离线文件也是透明的;本发明实施例用户感4交好。 Since the embodiment of the present invention when the client receives the present state is offline, sending client sends a command to send the message the first mail server, the mail server acquires the first file from the offline sending client, e-mail attachments stored in the form of offline file, there is no need to switch to a browser interface message, i.e. offline files transmitted transparently; Further, the client receives the document is acquired offline transparent; Example 4 of the present invention the user friendly terms embodiment feeling. 附图说明图l是本发明实施例提供的离线文件的发送方法流程图; 图2是本发明实施例提供的离线文件的接收方法流程图; 图3是本发明实施例提供的离线文件的发送系统结构示意图; 图4是本发明实施例提供的离线文件的接收系统结构示意图; 图5是本发明实施例提供的离线文件的传输系统结构示意图。 BRIEF DESCRIPTION OF DRAWINGS Figure l is a flowchart illustrating an offline file transmission method according to an embodiment of the present invention; FIG. 2 is a method of receiving an offline file according to an embodiment of the present invention, a flow chart; Figure 3 is an offline file transmission according to an embodiment of the present invention a schematic view of a system configuration; FIG. 4 is a schematic diagram of a reception system offline files according to an embodiment of the present invention; FIG. 5 is a schematic system configuration of an offline file transmission according to an embodiment of the present invention. 具体实施方式为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 DETAILED DESCRIPTION To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅 It should be understood that the specific embodiments described herein are only

仅用以解释本发明,并不用于限定本发明。 Only to explain the present invention and are not intended to limit the present invention.

请参阅图1,为本发明实施例应用于即时通信的离线文件的发送方法流程图(假设用户A为发送方,用户B为接收方),具体包括以下步骤:Al、发送客户端发送请求文件传输的命令到处理服务器,具体包括以下步骤:用户A在聊天窗口的操作界面中希望发送某个文件给用户B,则发送客户端组合本地IP地址,Port端口,用户B即时通信帐号标识以及请求文件传输的命令到处理服务器中;A2、处理服务器查询接收客户端的当前状态,具体包括以下步骤:处理服务器接收到发送客户端发送的请求文件传输的命令后,进行解密以及解析处理;获取到用户B即时通信帐号标识,并利用用户B即时通信帐号标识查询状态服务器的状态MAP关系表,获取4妄收客户端的当前状态;A3、处理服务器确定接iR^户端的当前状态,若接收客户端的当前状态为隐身状态或在线状态,则执行步骤A Please refer to FIG. 1, the present embodiment is applied to the transmission flowchart of a method of instant messaging offline files embodiment (assuming that the user A is the sender, the recipient user B) to the invention, comprises the steps of: Al, sending client sends a request file transmitting a command to the processing server, includes the following steps: a user wants to send a file to the user B, the composition of the sending client a local IP address in the user interface chat window, port port, user instant messaging account identifier and B request file transfer command to the processing server; A2, processing server receiving a query the current state of the client, comprises the steps of: processing server receiving the command request for file transfer transmission sent by the client, decrypting and parsing; acquired user B instant messaging account identification, using the user B IM account identification query the status of the server state MAP table, acquires the current state of the receiving client 4 jump; A3, processing server determines access iR ^ current state of the client, if the receiving client's current or invisible state is the online state, step A 4;若接收客户端的当前状态为离线状态, 则执行步骤A5; 4; if the current state of the receiving client is offline, execute step A5;

A4、处理服务器通过建立与接收客户端的TCP连接实现在线文件传输,具体包括以下步骤:1) 处理服务器查询登录服务器,获取接收客户端登录的动态IP地址以及端口Port号,组合用户A即时通信帐号标识到数据包中下发通知数据包给接收客户端;2) 接收客户端接收到处理服务器的通知消息后,利用协议处理模块,解析出协议类型为请求接收文件协议命令,则利用聊天窗口管理模块,显示是否接收文件的操作界面给用户B查看;3) 如果用户B拒绝接收文件,则发送对应的拒绝接收文件命令到处理服务器,处理服务器根据用户A的登录IP地址以及端口下发用户B拒绝接收文件命令; A4, processing server by establishing and receiver client TCP connection for online file transfer, includes the following steps: 1) Processing Server query login server to obtain a dynamic IP address of the receiving client login and port Port number, combination of the user A instant messaging account identifying the packet issued a notice packet to the receiving client; 2) after receiving a receiving notification message processing server, using the protocol processing module parses the file request receiving protocol type protocol command, then use the chat window manager module to display whether to receive the file interface to user B view; 3) If user B refuse to receive the file, sending reject file corresponding command to the processing server, the processing server based on the login IP address of the user a and the port issued user B reject command file;

4) 如果用户B同意接收文件,则利用本地存储;f莫块查询发送客户端对应的等待连接的TCP套接字端口,与发送客户端进行主动连接;5) 建立与发送客户端的传输通道,进行后续的文件传输处理工作,直到文件数据流传输完毕,发送客户端与接收客户端关闭TCP套接字端口;A5、发送客户端发送邮件发送命令,例如SMTP (Simple Mail Transfer Protocol,简单邮件发送协议)协议命令,到第一邮件服务器,例如SMTP邮件服务器,SMTP邮件服务器解析SMTP协议命令,并从发送客户端获取离线文件,把离线文件作为邮件附件存储到SMTP邮件服务器或其他存储服务器中, 具体包括以下步骤:1)发送客户端利用用户B的即时通信帐号获取所绑定的邮箱帐号;2 )根据用户B的邮箱帐号解析获取对应该邮箱服务商的SMTP地址;3 )发送客户端根据该邮箱服务商的SMTP地址发送SMTP协议命令到SMTP 邮 4) If the user agrees to receive a file B, the use of local storage; F Mo TCP socket port transmitting the block query corresponding to the client for connections, actively connected to the sending client; 5) with the sending client to establish a transmission channel, subsequent file transfer processing until the file transfer is complete the data stream, the sending client and the receiving client closes the TCP socket port; A5, the sending client transmits the message transmission command, for example, SMTP (simple Mail transfer Protocol, simple Mail transmission protocol) command, to the first mail server, such as SMTP mail server, SMTP protocol SMTP mail server parses the command, and acquires the file from the sending client is offline, the offline storage file as an email attachment to the SMTP mail server or other storage server, It includes the following steps: 1) sending the client using the IM user B's account acquisition bound mail account; 2) should be resolved to obtain the mail service provider's SMTP address of user B according to the email account; 3) according to the sending client the mail service provider's SMTP address to send commands to the SMTP protocol SMTP mail 件服务器;4) SMTP邮件服务器解析命令,从发送客户端获取离线文件,把离线文件作为邮件附件存储到SMTP邮件服务器或其他服务器的邮件目录下,该邮件目录可以通过扩展SMTP/POP ( Post O伍ce Protocol,电子邮局传输协议)协议命令来存储和读取邮件,提供标准的邮件SMTP/POP服务,该邮件目录不需要开通激活邮箱帐号也能存储和读取邮件;扩展SMTP/POP协议增加了用于分配和管理绑定即时通信帐号的临时文件存储目录的标识,该标识可以是ID、字符串等;5) SMTP邮件服务器向发送客户端返回发送成功与否的信息;因此发送客户端能获得发送成功与否的信息,用户感较好;6) 发送客户端发送处理结果信息到处理服务器的离线操作信息表。 Member server;. 4) SMTP mail server to parse the command, obtaining an offline file from the sending client, the offline file is stored as an email attachment to the SMTP mail server or mail directory other servers, the e-mail directory can be extended SMTP / POP (Post O Wu ce protocol, electronic post office transfer protocol) protocol commands to store and read e-mail, standard mail SMTP / POP service, which does not need to open mail directory mail account can be activated to store and retrieve messages; extended SMTP / POP protocols increase the allocation and management of bindings for identifying IM account of the temporary files are stored, the identification ID may be, strings, etc.; 5) SMTP mail server sends the client returns success information transmitted; thus sending client transmission success information can be obtained, the good sense of the user; 6) the sending client transmits the processing result information to the server off-line operation of the process information table. 当然,步骤5)也可在步骤6)之后。 Of course, Step 5) in Step 6 may be) after.

请参阅图2,为本发明实施例应用于即时通信的离线文件的接收流程图(假设用户A为发送方,用户B为接收方),具体包括以下步骤:ii Referring to FIG 2, a flowchart of the present embodiment applied receives the file offline instant messaging embodiment (assuming that the user A is the sender, the recipient user B) to the invention, comprises the steps of: ii

Bl、接收客户端登录时,查询处理服务器的离线操作信息表,获取离线操作信息;B2、若有离线文件信息,则接收客户端发送邮件接收命令,例如POP协议命令,到第二邮件服务器,例如POP邮件服务器;B3、 POP邮件服务器解析命令,从SMTP邮件服务器或其他存储服务器中读取离线文件,并删除SMTP邮件服务器中的文件;B4、接收客户端提醒用户B下载离线文件;B5、接收客户端下载离线文件。 BL, upon receiving the client logs off the operation information table query processing server acquires information off-line operation; B2, if the offline file information, the message sent by a client receives a command, such as POP protocol commands to the second mail server, For example POP mail server; B3, POP mail server to parse the command to read offline files from the SMTP mail server or other storage server, and delete files SMTP mail servers; B4, alert the user B receives the client to download offline files; B5, receiving client to download offline files.

当然,步骤B4可以省略。 Of course, Step B4 can be omitted.

请参阅图3,为本发明实施例应用于即时通信的离线文件的发送系统包括: 发送客户端,用于发送请求文件传输的命令到处理服务器,还用于发送邮件发送命令,例如SMTP ( Simple Mail Transfer Protocol,简单邮件发送协议)协议命令,到第一邮件服务器,例如SMTP邮件服务器; 处理服务器,用于查询和确定接jjt^户端的当前状态; 第一邮件服务器,用于解析SMTP协议命令,并从发送客户端获取离线文件,把离线文件作为邮件附件存储到SMTP邮件服务器中。 Please refer to FIG. 3, the instant embodiment is applied to an offline file transmission communication system comprising the present invention: sending client sends a request for a file transfer command to the processing server is further configured to send a message transmission command, for example, SMTP (Simple Mail Transfer protocol, simple Mail transmission protocol) protocol commands to the first mail server, such as SMTP mail server; processing server, query and determines that the access jjt ^ current state of the client; a first mail server, SMTP protocol commands used to resolve and get offline files sent from the client, the offline file storage to the SMTP mail server as a mail attachment.

本发明实施例应用于即时通信的离线文件的发送系统也可以不将离线文件存储在第一邮件服务器中,而是包括存储服务器,专门用于存储离线文件。 Example offline file transmission system applied to the instant embodiment of the present invention, communication may not be offline files stored in the first mail server, but includes a storage server that is dedicated to storing files offline. 请参阅图4,为本发明实施例应用于即时通信的离线文件的接收系统包括: 处理服务器,用于查询离线操作信息表,获取离线操作信息; 接收客户端,用于发送邮件接收命令,例如POP协议命令,到第二邮件服务器,例如POP邮件服务器;还用于提醒接收方下载离线文件,并下载离线文件;第一邮件服务器,用于存储离线文件;第二邮件服务器,用于解析邮件接收命令,从第一邮件服务器或其他存储服务器中读取离线文件; Please refer to FIG. 4, the present embodiment is applied to an offline file receiving instant messaging system comprising Inventors: processing server, a query for offline information table, the operation information acquiring off-line; receiving client, for sending mail receiving command, e.g. POP protocol commands to the second mail server, such as POP mail server; further configured to alert the recipient offline download files and downloading the files off; a first mail server, for storing an offline file; second mail server, configured to parse the message receiving a command to read the file from the first mail server offline, or other storage servers;

本发明实施例应用于即时通信的离线文件的接收系统也可以不将离线文件存储在第一邮件服务器中,而是包括存储服务器,专门用于存储离线文件。 Example receiving system applicable to the instant messaging offline files embodiment of the present invention may not be offline files stored in the first mail server, but includes a storage server that is dedicated to storing files offline.

请参阅图5,为本发明实施例应用于即时通信的离线文件的传输系统包括:发送客户端,用于发送请求文件传输的命令到处理服务器.,还用于发送邮件发送命令,例如SMTP ( Simple Mail Transfer Protocol,简单邮件发送协议) 协议命令,到第一邮件服务器,例如SMTP邮件服务器;处理服务器,用于查询和确定接收客户端的当前状态;还用于查询离线操作信息表,获取离线操作信息;第一邮件服务器,用于解析SMTP协议命令,并从发送客户端获取离线文件,把离线文件作为邮件附件存储到SMTP邮件服务器中;接收客户端,用于发送邮件接收命令,例如POP协议命令,到第二邮件服务器,例如POP邮件服务器;还用于提醒接收方下载离线文件,并下载离线文件;第二邮件服务器,用于解析邮件接收命令,从第一邮件服务器或其他存储服务器中读取离线文件。 Refer to FIG. 5, the present embodiment is applied to an offline file instant messaging system comprising a transmission to the invention: sending client sends a request for a file transfer command to the processing server is further configured to send a message transmission command, for example, SMTP ( simple Mail Transfer protocol, simple Mail transmission protocol) protocol commands to the first mail server, such as SMTP mail server; processing server to query and determine the current state of the receiving client; offline further configured to query information table acquired offline information; first mail server, SMTP protocol for parsing command, and acquires the file from the sending client is offline, the offline files stored in the mail server as the SMTP mail attachment; receiving client, receiving a command for transmitting the message, the POP protocol e.g. command, to the second mail server, such as POP mail server; further configured to alert the recipient offline download of files and downloading the file offline; second mail server, configured to parse the message reception command, the first mail server from a server or other storage read offline files.

本发明实施例应用于即时通信的离线文件的"f矣收系统也可以不将离线文件存储在第一邮件服务器中,而是包括存储服务器,专门用于存储离线文件。 EXAMPLE applied to offline IM files embodiment of the present invention "f men receiving system may not be offline files stored in the first mail server, but includes a storage server that is dedicated to storing files offline.

本发明实施例的SMTP协议命令也可由ESMTP (Extended SMTP,扩展SMTP协议)协议命令等邮件发送命令代替,当采用ESMTP协议时,第一邮件服务器为支持ESMTP协议的邮件服务器;本发明实施例的POP协议命令也可由DMSP (Distributed mail system protocol,分层式电子邮件系统协议)协议命令和IMAP (Internet Message Access Protocol.,因特网信息访问协议)协议命令等邮件接收命令代替,当采用DMSP协议时,第二邮件服务器为支持DMSP协议的邮件服务器,当采用IMAP协议时,第二邮件服务器为支持IMAP协议的邮件服务器;但从简单性和实用性考虑,优先釆用SMTP和POP协议。 SMTP protocol commands embodiment of the present invention may also be ESMTP (Extended SMTP, extended SMTP protocol) protocol in place of the command mail transmission command and the like, when using ESMTP protocol, the first mail server to the mail server supports the ESMTP protocol; embodiment of the present invention. POP protocol commands may also be DMSP (Distributed mail system protocol, mail system protocol) protocol commands and IMAP (Internet message access protocol., Internet message access protocol) command or the like instead of the mail reception command, when using DMSP protocol, the second mail server is mail server supports DMSP protocol, when using IMAP protocol, the second mail server to support the IMAP mail server; but the simplicity and practicality considerations, the priority preclude the use SMTP and POP protocol.

由于本发明实施例当接收客户端的当前状态为离线状态时,发送客户端发送邮件发送命令到第一邮件服务器,第一邮件服务器从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件,因此不需要切换到浏览器的邮件界面,即能透明传输离线文件;另外,接收客户端获取离线文件也是透明方式获取的。 Since the embodiment of the present invention when the client receives the present state is offline, sending client sends a command to send the message the first mail server, the mail server acquires the first file from the offline sending client, e-mail attachments stored in the form of offline file, there is no need to switch to a browser interface message, i.e. offline files transmitted transparently; Further, the receiving client is acquired offline file acquired in a transparent manner. 本发明实施例的用户感较好。 Sensing a user preferred embodiment of the present invention.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above are only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent replacements and improvements should fall in the protection of the present invention within range.

Claims (12)

1. 一种即时通信的离线文件的发送方法,其特征在于包括以下步骤: Al 、发送客户端发送请求文件传输的命令到处理服务器; A2、所述处理服务器查询接收客户端的当前状态,若确定所述接收客户端的当前状态为离线状态,则执行步骤A3; A3、所述发送客户端发送邮件发送命令到第一邮件服务器,所述第一邮件服务器解析所述邮件发送命令,并从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件。 The method of transmitting a file offline 1. A instant messaging, comprising the steps of: Al, client transmits the file transmission request command transferred to the processing server; A2, query the current state of the processing server receiving client, if it is determined the current state of the receiving client is offline, the step A3; A3, the sending client transmits the message transmission command to the first mail server, the first mail server parses the message transmission command, and from the send offline file client acquisition, in the form of e-mail attachments stored offline files.
2. 如权利要求l所述的离线文件的发送方法,其特征在于,所述步骤A3具体包括以下步骤: A31 、发送客户端利用接收方的即时通信帐号获取所绑定的邮箱帐号; A32、根据接收方的邮箱帐号解析获取对应该邮箱服务商的地址; A33、发送客户端根据该邮箱服务商的地址发送邮件发送命令到第一邮件服务器; A34、第一邮件服务器解析所述邮件发送命令,从发送客户端获取离线文件,以邮件附件的形式存储离线文件到邮件目录下; A35、发送客户端发送处理结果信息到处理服务器的离线操作信息表。 2. The transmission method of offline files according to claim l, wherein said step A3 includes the following steps: A31, sending instant messaging client using the acquired account the recipient bound mail account; A32, analyzing data acquired according to the recipient's address should mail account of the mail service providers; A33, sending client sends a command to the first mail server to send mail the address of the mail service providers; A34, the first mail server parses the message transmission command , acquired from the sending client file offline, an offline file stored in the form of e-mail attachments to the e-mail directory; in A35, the sending client transmits the processing result information to the server off-line operation of the process information table.
3. 如权利要求2所述的离线文件的发送方法,其特征在于,所述步骤A35 之前或之后还包括步骤A36:第一邮件服务器向发送客户端返回获取离线文件成功与否的信息。 Offline file transmission method as claimed in claim 2, wherein, after or before the step A35 further comprises the step A36: first mail server sends back to the client acquires the success information file offline.
4. 如权利要求1所述的离线文件的发送方法,其特征在于,所述邮件发送命令是简单邮件发送协议SMTP命令,所述第一邮件服务器是支持SMTP协议的邮件服务器。 4. The transmission method according to claim 1 file offline, characterized in that the message transmission command is a simple command SMTP mail transmission protocol, said first mail server is mail server supports SMTP protocol.
5. 如权利要求2所述的离线文件的发送方法,其特征在于,所述邮件目录,所述扩展SMTP/POP协议增加了用于分配和管理绑定即时通信帐号的临时文件存储目录的标识。 5. The transmission method of the file offline to claim 2, characterized in that the mail directory, the extended SMTP / POP protocol adds identification temporary file storage directory for allocating and managing instant messaging accounts Binding .
6. 一种即时通信的离线文件的接收方法,其特征在于包括以下步骤: B】、接收客户端登录时,查询处理服务器的离线操作信息表,获取离线操作信息; B2、若有离线文件信息,则所述接收客户端发送邮件接收命令到第二邮件服务器; B3、所述第二邮件服务器解析命令,读取离线文件; B4、所述接收客户端下载离线文件。 6. The method of offline files received an instant communication, characterized by comprising the steps of: B], upon receiving the client logs off the operation information table query processing server acquires information off-line operation; B2, if the file information offline , then the messages sent by a client receiving a second command to the mail server; B3, the second mail server to parse the command, reads the offline files; B4, the receiving client to download the file offline.
7. 如权利要求6所述的离线文件的接收方法,其特征在于,所述邮件接收命令是POP协议命令,所述第二邮件服务器是支持POP协议的邮件服务器。 7. A receiving method according to an offline file claim 6, wherein said command is a POP mail reception protocol command, the second mail server is mail server with POP protocol.
8. 一种即时通信的离线文件的传输方法,其特征在于包括以下步骤: CI、发送客户端发送请求文件传输的命令到处理服务器; C2、所述处理服务器查询接收客户端的当前状态,若确定所述接收客户端的当前状态为离线状态,则执行步骤C3; C3、所述发送客户端发送邮件发送命令到第一邮件服务器,所述第一邮件服务器解析所迷邮件发送命令,并从所述发送客户端获取离线文件,以邮件附件的形式存储离线文件; C4、接收客户端登录时,查询处理服务器的离线操作信息表,获取离线操作信息; C5 、若有离线文件信息,则所述接收客户端发送邮件接收命令到第二邮件服务器; C6、所述第二邮件服务器解析命令,读取离线文件; C7、所述接》)^户端下载离线文件。 Off-line file transfer An instant messaging, comprising the steps of: CI, sending client sends a file transfer request command to the processing server; C2, the query processing server receives the client's current status, if it is determined the current state of the receiving client is offline, the step C3; C3, the sending client transmits the message transmission command to the first mail server, the mail server parses the first fan mail transmission command, and from the sending client file acquired offline, an offline file stored in the form of message attachments; C4, upon receiving the client logs off the operation information table query processing server acquires information off-line operation; C5, if the offline file information, the receiving client sends mail to the second mail server receives a command; C6, the second mail server to parse the command, reads the offline files; C7, then a ") ^ offline file download client.
9. 如权利要求8所述的离线文件的传输方法,其特征在于,所述步骤C3具体包括以下步骤:C31、发送客户端利用接收方的即时通信帐号获取所绑定的邮箱帐号; C33 、发送客户端根据该邮箱服务商的地址发送邮件发送命令到第一邮件服务器; C34、第一邮件服务器解析所述邮件发送命令,从发送客户端获取离线文件, 以邮件附件的形式存储离线文件到邮件目录下; C35、发送客户端发送处理结果信息到处理服务器的离线操作信息表。 9. The transmission method according to claim 8 offline files, wherein said step C3 comprises the steps of: C31, sending instant messaging client using the recipient account acquisition bound mail account; C33, the sending client sends a command to the E-mail address of the mail service provider to the first mail server; C34, the first mail server parses the message transmission command, acquire the file from the sending client is offline, the message is stored as a file attachment to an offline the mail directory; C35, the sending client transmits the processing result information to the server off-line operation of the process information table.
10. 一种即时通信的离线文件的发送系统,其特征在于包括: 发送客户端,用于发送请求文件传输的命令到处理服务器,还用于发送邮件发送命令到第一邮件服务器; 处理服务器,用于查询和确定接收客户端的当前状态; 第一邮件服务器,用于解析所述邮件发送命令,并从发送客户端获取离线文件,以邮件附件的形式存储离线文件。 10. An instant messaging system transmits an offline file, characterized by comprising: a sending client transmitting a request for a file transfer command to the processing server is further configured to send a first message to send commands to the mail server; processing server, and receiving a query for determining a current state of the client; a first mail server, configured to parse the message transmission command, and acquires the file from the sending client is offline, mail attachment files stored offline.
11. 一种即时通信的离线文件的接收系统,其特征在于包括: 处理服务器,用于查询离线操作信息表,获取离线操作信息; 接^^户端,用于发送邮件接收命令到第二邮件服务器;还用于下载离线文件; 第一邮件月l务器,用于存储离线文件; 第二邮件服务器,用于解析所述邮件接收命令,并读取离线文件。 Receiving system 11. A file offline instant messaging, characterized by comprising: a processing server, a query for offline information table, the operation information acquiring off-line; ^^ connected client, for sending mail to a second mail reception command server; further configured to download an offline file; l May first mail service, a file for storing off-line; second mail server, configured to parse the received command message, and reads the file offline.
12. 一种即时通信的离.线文件的传输系统,其特征在于包括: 发送客户端,用于发送请求文件传输的命令到处理服务器,还用于发送邮件发送命令到第一邮件服务器; 处理服务器,用于查询和确定接4t^户端的当前状态;还用于查询离线操作信息表,获取离线操作信息; 第一邮件服务器,用于解析所述邮件发送命令,并/人发送客户端获取离线文件,以邮件附件的形式存^f渚离线文件;接收客户端,用于发送邮件接收命令到第二邮件服务器;还用于下载离线文件; 第二邮件服务器,用于解析所述邮件接收命令,并读取离线文件。 12. An instant messaging from a transmission line of a file system, characterized by comprising: a sending client transmitting a request for a file transfer command to the processing server is further configured to send a first message to send commands to the mail server; Processing server, and determining access to query the current state of the client 4t ^; and further configured to query an offline operation information table, the operation information acquiring off; a first mail server, configured to parse the mail transmission command and / sending client who acquires offline files, stored in a mail attachment file ^ f for offline; receiving client, receiving a command for sending messages to the second mail server; further configured to download an offline file; second mail server, configured to parse the received message command, and read offline files.
CNB2007100746854A 2007-06-01 2007-06-01 Method and system for transmitting, receiving and transmitting off-line files CN100558086C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100746854A CN100558086C (en) 2007-06-01 2007-06-01 Method and system for transmitting, receiving and transmitting off-line files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100746854A CN100558086C (en) 2007-06-01 2007-06-01 Method and system for transmitting, receiving and transmitting off-line files

Publications (2)

Publication Number Publication Date
CN101075986A CN101075986A (en) 2007-11-21
CN100558086C true CN100558086C (en) 2009-11-04

Family

ID=38976812

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100746854A CN100558086C (en) 2007-06-01 2007-06-01 Method and system for transmitting, receiving and transmitting off-line files

Country Status (1)

Country Link
CN (1) CN100558086C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170523B (en) 2007-12-05 2010-09-29 腾讯科技(深圳)有限公司 File transmission system, method and file forward decision server
CN101184055B (en) 2007-12-11 2010-12-22 腾讯科技(深圳)有限公司 Method and device of delivering, receiving, transmitting off-line files
CN101695059B (en) 2009-10-28 2012-07-04 中兴通讯股份有限公司 Method and system for transmitting data of information management system by using emails
CN102413073A (en) * 2011-11-30 2012-04-11 中兴通讯股份有限公司 Method and device for sending instant message
CN103166921B (en) * 2011-12-13 2016-01-20 中国移动通信集团公司 A kind of method to Terminal for service, network side apparatus and terminal
CN103428231B (en) * 2012-05-16 2018-06-01 腾讯科技(深圳)有限公司 Offline download method and system
CN103516747A (en) * 2012-06-25 2014-01-15 北京智慧风云科技有限公司 Method for transmitting data by offline terminal in remote server system
CN103916832B (en) * 2013-01-05 2018-05-01 成都新橙北斗智联有限公司 The method and apparatus of Big Dipper bluetooth users terminal access mobile communications network
CN106027597B (en) * 2013-11-26 2019-07-09 北京奇虎科技有限公司 A kind of method and server of offline file transmission
CN104854825A (en) * 2014-11-21 2015-08-19 深圳市融资城网络服务中心有限公司 Instant communication system and precise reply method for non-login account
CN105099872B (en) * 2015-06-15 2018-10-02 阿里巴巴集团控股有限公司 E-mail processing method, apparatus and system
CN107463657B (en) * 2017-07-28 2018-08-17 腾讯科技(深圳)有限公司 File operation method and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402176A (en) * 2001-08-21 2003-03-12 松下电器产业株式会社 Data allocation method and system
CN1719823A (en) * 2004-07-08 2006-01-11 腾讯科技(深圳)有限公司 Method for directly alternating information with instant communication system on web page
CN1744557A (en) * 2004-08-31 2006-03-08 腾讯科技(深圳)有限公司 Methoe for realizing object sharing in network storage service based on instant communication tool
CN1764165A (en) * 2005-12-05 2006-04-26 邵军利 Mail system capable of bonding mobile terminal tightly and its realizing method
CN1794723A (en) * 2005-10-11 2006-06-28 华为技术有限公司 Processing method of off-line message
CN1801787A (en) * 2004-11-10 2006-07-12 微软公司 Integrated electronic mail and instant messaging application
EP1372316B1 (en) * 2002-06-11 2007-05-02 Siemens Communications, Inc. Methods and apparatus for processing an instant message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402176A (en) * 2001-08-21 2003-03-12 松下电器产业株式会社 Data allocation method and system
EP1372316B1 (en) * 2002-06-11 2007-05-02 Siemens Communications, Inc. Methods and apparatus for processing an instant message
CN1719823A (en) * 2004-07-08 2006-01-11 腾讯科技(深圳)有限公司 Method for directly alternating information with instant communication system on web page
CN1744557A (en) * 2004-08-31 2006-03-08 腾讯科技(深圳)有限公司 Methoe for realizing object sharing in network storage service based on instant communication tool
CN1801787A (en) * 2004-11-10 2006-07-12 微软公司 Integrated electronic mail and instant messaging application
CN1794723A (en) * 2005-10-11 2006-06-28 华为技术有限公司 Processing method of off-line message
CN1764165A (en) * 2005-12-05 2006-04-26 邵军利 Mail system capable of bonding mobile terminal tightly and its realizing method

Also Published As

Publication number Publication date
CN101075986A (en) 2007-11-21

Similar Documents

Publication Publication Date Title
US7406501B2 (en) System and method for instant messaging using an e-mail protocol
US7111044B2 (en) Method and system for displaying group chat sessions on wireless mobile terminals
CN100488177C (en) Method and device for realizing pocket transmission news service
US7487217B2 (en) Network domain reputation-based spam filtering
US7788329B2 (en) Throttling electronic communications from one or more senders
US6427164B1 (en) Systems and methods for automatically forwarding electronic mail when the recipient is otherwise unknown
US7043538B2 (en) Thin instant messaging proxy interface with persistent sessions
US7487214B2 (en) Integrated electronic mail and instant messaging application
US8001181B2 (en) Method, system and apparatus for messaging between wireless mobile terminals and networked computers
US7062538B2 (en) Server that obtains information from multiple sources, filters using client indentities, and dispatches to both hardwired and wireless clients
US7558825B2 (en) Dynamic current device status
US6044395A (en) Method and apparatus for distributing personalized e-mail
US20140214989A1 (en) Rendering destination instant messaging personalization items before communicating with destination
US20030208543A1 (en) Video messaging
US20050091329A1 (en) Messaging system for indicating status of a sender of electronic mail and method and computer program product therefor
US6988129B2 (en) Method for providing address change notification in an electronic message forwarding system
US7023974B1 (en) Compression of electronic communications
EP1058199A2 (en) Internet mail delivery agent with automatic caching of file attachments
US7499976B2 (en) Warning and avoidance of sending email messages to unintended recipients
US8849933B2 (en) E-mail protocol optimized for a mobile environment and gateway using same
US6035327A (en) SMTP extension to preserve per-message and per-recipient properties
US6434601B1 (en) Pre test electronic mail process
CN1166135C (en) Internet E-mail add-on service system
US20030231207A1 (en) Personal e-mail system and method
US7853668B2 (en) Communication threads over different communication mediums

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model