WO2009039705A1 - A method and system for realizing file transfer through browser - Google Patents

A method and system for realizing file transfer through browser Download PDF

Info

Publication number
WO2009039705A1
WO2009039705A1 PCT/CN2007/070813 CN2007070813W WO2009039705A1 WO 2009039705 A1 WO2009039705 A1 WO 2009039705A1 CN 2007070813 W CN2007070813 W CN 2007070813W WO 2009039705 A1 WO2009039705 A1 WO 2009039705A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
file transfer
file
server
browser
Prior art date
Application number
PCT/CN2007/070813
Other languages
French (fr)
Chinese (zh)
Inventor
Jianxiang Mo
Original Assignee
Alibaba Group Holding Limited
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 Alibaba Group Holding Limited filed Critical Alibaba Group Holding Limited
Priority to PCT/CN2007/070813 priority Critical patent/WO2009039705A1/en
Publication of WO2009039705A1 publication Critical patent/WO2009039705A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present invention relates to instant messaging technologies, and more particularly to a method and system for implementing file transfer through a browser. Background technique
  • the method of transferring files is generally accomplished by point-to-point communication between the instant messaging client software. If the clients can communicate directly, the IP address and the opened port of the other party are obtained through the instant messaging server, and a TCP (UDP)/IP connection is directly established between the clients for file transfer; however, the instant messaging client software is used. File transfer is easy to cause file leaks, and because of the firewall and other reasons, the client can't communicate directly. It needs to transfer files through other server groups for transmission. Summary of the invention
  • the present invention provides a method and system for implementing file transfer through a browser, which solves the problem that only a specific instant messaging software can be installed before file transfer can be performed.
  • a method for implementing file transfer by a browser includes:
  • the source user requests to transfer a file to the target user, at least one of the source user and the target user is a browser user;
  • the file delivery system includes: At least two user equipments for transmitting and receiving files, at least one of which is a user equipment provided with a browser;
  • system further comprises:
  • An instant messaging status server configured to record status information of a user server and a user where the user equipment is located;
  • the system further includes: an instant communication server, connected to the instant communication user equipment, Interacting with the web server to forward an instant message between the user devices.
  • a distribution server configured to allocate a web server for a user device that sends a login request to the web server, and redirect the login request to the web server.
  • a file transfer server is respectively connected to the user equipment and the web server, and is configured to cooperate with the web server to transfer files.
  • the technical solution provided by the invention can realize the file transfer of the browser user who does not download and install the instant messaging software and the user who installs the instant communication software, and can also realize the file transfer between the browser users who have not downloaded and installed the instant communication software.
  • the file transfer cannot be performed due to the firewall blocking; and as long as the version is updated on the server side, the user opens the browser for file transfer, which is the latest version, so that the user does not need to upgrade the user, and the invention can be implemented simply and quickly.
  • FIG. 1A is a schematic structural diagram of a file transfer system according to an embodiment of the present invention.
  • FIG. 1B is a schematic structural diagram of a system for file transfer between a browser user and an instant communication user according to an embodiment of the present invention
  • FIG. 1C is a schematic structural diagram of a system for transferring a file between browser users according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a browser user transmitting a file to an instant communication user according to an embodiment of the present invention
  • 4 is a flowchart of file transfer between browser users in the same network domain according to an embodiment of the present invention
  • FIG. 5 is a flowchart of canceling file transfer by a user during file transfer in an embodiment of the present invention. detailed description
  • the present invention passes the browser user.
  • the web server is located to establish a file transfer link between users to implement file transfer between users.
  • a file transfer system of this embodiment includes an instant messaging status server 13, a web server 12 and a user server B15 connected to the instant messaging status server 13, User equipment a10 (ie, browser user) connected to the web server 12, user equipment bl4 connected to the user server B15 (which may be a browser user or an instant communication user), and a connection with the web server 12 and the user equipment alo Distribution server 11; wherein
  • the instant messaging status server 13 is configured to record status information of the web server 12 and the user server B15 and the user where the user equipment alO and the user equipment bl4 are located;
  • the web server 12 establishes a file transfer link between the user devices and transmits the file through the web server 12 according to the state information of the server and the user of the user recorded by the instant messaging status server 13;
  • the system also includes a file transfer server coupled to the instant messaging user device and the web server for forwarding files between browser users or between browser users and instant messaging users.
  • the user server may also include an instant messaging server that is connected to the instant messaging user.
  • FIG. 1B a schematic diagram of a system structure for file transfer between a browser user and an instant communication user; in the system, file transmission
  • the server 105 is connected to the web server 102 and the user device B 104 connected to the instant messaging server 103, respectively, and establishes a file transfer link and transfers files through the web server 102, the file transfer server 105, and the user device B 104 connected to the instant messaging server.
  • the system structure for file transfer between browser users is as shown in FIG. 1C (other user equipments and servers are not shown in the figure); in the system, the file transfer server 115 is connected to the web server A 112 and the web server B 113 respectively.
  • the file transfer link is established and the file is transmitted through the web server A 112, the file transfer server 115, and the web server B 113.
  • the user may be directly connected to the web server A 112 and not through the file transfer server 115.
  • the web server B113 performs file transfer.
  • the steps for the browser user to log in to the web server include:
  • the browser user sends a login request to the distribution server; the distribution server allocates a web server to the browser user according to the information carried in the login request, and redirects the login request to the web server; the web server verifies the browser user information, and Allow the user to log in after successful authentication.
  • the server of the source user queries the server information currently logged in by the target user, and forwards the instant message sent by the source user to the query result.
  • the server where the target user is located then the instant message provided by the target user's server to the target user, and the instant message replied by the target user is sent to the server where the source user is located, and the instant message is provided to the source user.
  • the instant messaging server can directly forward the instant message sent by the browser user to the instant communication user; but the web server cannot directly forward the instant message sent by the friend user to the browser user, but needs the browser user to go to the web.
  • the instant message sent by the friend user is retrieved on the server.
  • the browser user sends a message or send a message command to the web server in the Ajax (asynchronous XMLHTTP) mode through the browser.
  • the browser user sends a message retrieval command to the web server every predetermined time.
  • the web server caches the message and waits for the browser. The user takes the instant message. If the browser user has not taken the information for more than the predetermined time, the browsing is considered The user has logged out, the web server clears the cache of the browser user, and notifies the other user that the browser user has logged out.
  • FIG. 2 is a flowchart of a browser user transmitting a file to an instant communication user according to an embodiment of the present invention, and the implementation process thereof is as follows:
  • Step 200 The browser user selects an instant communication user, and clicks to send a file.
  • Step 201 The browser user sends a request to the web server to transfer the file to the instant communication user.
  • Step 202 The web server queries the instant communication status server for the server currently registered by the instant communication user, and queries whether it is online; if the result is yes, step 205 is performed; otherwise, steps 203 to 204 are performed.
  • Step 203 The web server caches the information that the instant communication user is not online, and waits for the browser user to retrieve the information.
  • Step 204 After the browser user obtains the information, cancel the sending of the file.
  • Step 205 The web server requests the file transfer server group to establish a file transfer dialog; the request includes the ID of the other party, and optional information such as the file name and the file size.
  • Step 206 The file transfer server group agrees to establish a dialog and returns information related to the dialog; the returned dialog information includes an IP address and port of the assigned file transfer server, and an acceptable protocol type (TCP or UDP or HTTP, etc.) And a string of unique Session ID and other information.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • HTTP HyperText Transfer Protocol
  • Step 207 The web server establishes a conversation connection with the allocated file transfer server according to the returned dialog information.
  • Step 208 The web server forwards the request information of the transfer file to the instant communication user through the instant messaging server; the request information includes the browser user and the web server information, the file name and size, the address and port of the file transfer server, and the file transfer server. Information such as acceptable protocols.
  • Step 209 After receiving the request of the browser user to transmit the file, the instant communication user determines to allow or refuse to receive the file; if yes, step 211 is performed; otherwise, step 210 is performed.
  • Step 210 The instant messaging user sends the information of the rejected file to the instant messaging server, and the instant messaging server forwards the information to the web server, where the information is cached. Waiting for the browser user to retrieve; jump to step 204.
  • Step 211 The instant messaging user sends a setup session connection request to the file transfer server according to the request information of the transfer file sent by the web server.
  • the file transfer server verifies the instant communication according to the session ID and the instant communication user identifier and the IP address, as described in step 206. Whether the user information is legal, if the verification is passed, establish a conversation connection with the instant communication user.
  • Step 212 The instant messaging user sends the information of the received file to the instant messaging server, and the instant messaging server forwards the information to the web server, which caches the received information and waits for the browser user to retrieve it.
  • Step 213 After the browser user retrieves the information that the instant communication user is allowed to receive the file, the file is transmitted to the web server; the browser user sends the Http command to the web server, and the web server forwards the received part of the data to the file through step 214.
  • the transport server; the web server begins to receive data from the body portion of the http protocol, and uses the method of receiving partial data for processing (eg, in units of 64 Kbytes) instead of receiving all data before processing.
  • Step 215 The file transfer server forwards the received file data to the instant messaging user until the file transfer is completed.
  • FIG. 3 is a flowchart of an instant messaging user transmitting a file to a browser user according to an embodiment of the present invention.
  • the implementation process is as follows:
  • Step 300 The instant messaging user selects the browser user and clicks to send the file.
  • Step 301 The instant communication user sends a request to the instant messaging server to transmit the file to the browser user.
  • Step 302 The instant messaging server queries the server that the browser user is currently logged in through the instant messaging status server, and queries whether it is online. If the result is yes, step 305 is performed; otherwise, steps 303 to 304 are performed.
  • Step 303 The instant messaging server forwards the information that the browser user is not online to the instant communication corpse
  • Step 304 The instant messaging user cancels sending the file.
  • Step 305 The instant messaging user requests to establish a file transfer dialog to the file transfer server group.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • HTTP HyperText Transfer Protocol
  • Step 307 The instant messaging user establishes a conversation connection with the allocated file transmission server according to the returned conversation information.
  • Step 308 The instant messaging server forwards the request information for transmitting the file to the web server.
  • the web server caches the dialog information, and provides information of the file to be transmitted to the browser user.
  • the information of the file to be transmitted includes information such as the user ID, the file name and size, and the URL of the file to be received by the browser user.
  • Step 309 After receiving the request of the instant communication user to transmit the file, the browser user determines to allow or refuse to receive the file; if yes, step 311 is performed; otherwise, step 310 is performed.
  • Step 310 The browser user sends the information of the rejected file to the web server, and the web server forwards the information to the instant messaging server, and forwards the information of the rejected file to the instant communication user; and the process proceeds to step 304.
  • Step 311 The web server sends a setup session connection request to the file transfer server according to the request information of the transfer file sent by the instant messaging server, and the file transfer server verifies the web server related information according to the session ID and the browser user identifier and the information described in step 306. If the verification is passed, a dialog connection is established with the web server.
  • Step 312 The browser user sends an Http get command to the web server, and forwards the information of the allowed file to the instant messaging server, and the instant messaging server forwards the received information to the instant communication user; the browser user and the web server remain persistent. connection.
  • Step 313 The instant messaging user transmits the file to the file transfer server.
  • Step 314 The file transfer server forwards the received file data to the web server.
  • Step 315 The web server directly forwards the received file data to the browser user.
  • the invention can also implement file transfer between the browser user and the browser user.
  • the process of file transfer is the same as the above, and the web server and the file transfer server where the user is located need to establish a file transfer link to implement file transfer. If the two browser users are in the same network domain, the file transfer between users can also be directly performed through the web server where the user is located. As shown in FIG. 4, the process of transferring files between two browser users in the same network domain is as follows:
  • Step 400 The browser user Ua selects the browser user Ub and clicks to send the file.
  • Step 402 The web server A queries the instant messaging status server for the server that the browser user Ub is currently logged in, and queries whether it is online. If the result is yes, step 405 is performed; otherwise, step 403 to step 404 are performed.
  • Step 403 The web server A caches the information that the browser user Ub is not online, and waits for the browser user Ua to retrieve it.
  • Step 404 After the browser user Ua obtains the information, cancel the sending of the file.
  • Step 405 The web server A provides a request for the browser user Ua to transfer the file to the browser user Ub through the web server B.
  • Step 406 After receiving the request for file transfer, the browser user B determines to allow or refuse to receive the file; if yes, step 408 is performed; otherwise, step 407 is performed.
  • Step 407 The browser user Ub sends the information of the rejected file to the web server B, and the web server B forwards the information to the web server A, which caches the received information and waits for the browser user Ua to retrieve it. Go to step 404.
  • Step 408 The browser user B provides the information for allowing the received file to the browser user Ua through the web server B and the web server A.
  • Step 409 The browser user Ua transmits the file to the web server A.
  • Step 410 The web server A transmits the file data sent by the browser user Ua to the web server B.
  • Step 411 The web server B forwards the received file data directly to the browser user Ub.
  • the user cancels the file transfer the user provides the information for canceling the file transfer to the other party, prompting the file transfer to be interrupted.
  • the user connected to the file transfer server or the user server where the user is located disconnects the file transfer session. Connect, and clear the original file transfer dialog, the file transfer is terminated.
  • the process of canceling the file transfer between the browser user and the instant messaging user is the same. The following describes the process of canceling the file transfer by the instant messaging user. As shown in Figure 5, the main implementation process is as follows:
  • the instant messaging user disconnects the conversation with the file transfer server. 502. After receiving the information of disconnecting the conversation, the file transfer server disconnects the conversation with the web server.
  • the web server caches the received information of the disconnected conversation, and waits for the browser user to retrieve it.

Abstract

A method and system for realizing file transfer through browser is disclosed, used to resolve the problem in the current instant messaging technology that the file can be transferred only when particular instant messaging software is installed; in this method, a source user requests to transfer file to a target user, and at least one of the source user and the target user is a browser user; a file transfer link is established between the source user and the target user through the Web server with which the browser user associates; and, the source user transfers file to the target user through the file transfer link. Through the present invention, the file transfer between a browser user and an instant messaging user can be realized, and the file transfer between browser users can also be realized.

Description

一种通过浏览器实现文件传送的方法及系统 技术领域  Method and system for realizing file transfer through browser
本发明涉及即时通信技术, 特别涉及通过浏览器实现文件传送的方法 及系统。 背景技术  The present invention relates to instant messaging technologies, and more particularly to a method and system for implementing file transfer through a browser. Background technique
现有的即时通信一般是通过安装特定的桌面软件来进行的, 如贸易通, QQ, MSN等, 这些软件都需要下载安装而且下载较慢, 一般还需要用户升 级或在后台自动升级软件版本, 用户若不进行升级, 则使用的仍然是旧的 下载安装即时通信客户端软件。 如果只想传送一个很小的文件给好友而需 要下载一个几兆, 甚至是几十兆的客户端软件, 这样的操作很费时也很麻 烦。  Existing instant messaging is generally performed by installing specific desktop software, such as Tradelink, QQ, MSN, etc. These softwares need to be downloaded and installed and downloaded slowly. Generally, users need to upgrade or automatically upgrade the software version in the background. If the user does not upgrade, the old download and install instant messaging client software is still used. If you only want to send a small file to a friend and need to download a few megabytes, or even dozens of megabytes of client software, this operation is time consuming and cumbersome.
现有即时通信中, 传送文件的方式一般都是通过即时通信客户端软件 之间的点对点来完成文件的传送。 若客户端之间可以直接通信, 则通过即 时通信服务器得到对方用户的 IP地址和打开的端口, 用户端之间直接建立 TCP(UDP)/IP连接进行文件传送;但是使用即时通信客户端软件进行文件传 送容易导致文件的泄密, 而且由于防火墙等原因客户端之间就不能直接通 信, 需要通过其他服务器群来中转文件以进行传送。 发明内容  In the existing instant messaging, the method of transferring files is generally accomplished by point-to-point communication between the instant messaging client software. If the clients can communicate directly, the IP address and the opened port of the other party are obtained through the instant messaging server, and a TCP (UDP)/IP connection is directly established between the clients for file transfer; however, the instant messaging client software is used. File transfer is easy to cause file leaks, and because of the firewall and other reasons, the client can't communicate directly. It needs to transfer files through other server groups for transmission. Summary of the invention
本发明提供一种通过浏览器实现文件传送的方法及系统, 用以解决目 前只有安装特定的即时通信软件才能进行文件传送的问题。  The present invention provides a method and system for implementing file transfer through a browser, which solves the problem that only a specific instant messaging software can be installed before file transfer can be performed.
本发明提供的一种通过浏览器实现文件传送的方法, 包括:  A method for implementing file transfer by a browser provided by the present invention includes:
源用户请求向目标用户传送文件, 该源用户和目标用户中至少之一为 浏览器用户;  The source user requests to transfer a file to the target user, at least one of the source user and the target user is a browser user;
通过所述浏览器用户所对应的 Web服务器在所述源用户和目标用户之 间建立文件传输链路; 本发明提供的一种文件传送系统, 包括: 至少两个用户设备, 用于发送和接收文件, 其中至少之一为设置有浏 览器的用户设备; Establishing a file transmission link between the source user and the target user by using a web server corresponding to the browser user. The file delivery system provided by the present invention includes: At least two user equipments for transmitting and receiving files, at least one of which is a user equipment provided with a browser;
至少一个 Web服务器, 与所述至少一个设置有浏览器的用户设备建立 网络连接, 所述 Web服务器根据所述用户设备传送文件的请求在所述至少 两个用户设备之间建立文件传输链路并传输文件。  Establishing, by the at least one web server, a network connection with the at least one browser-equipped user equipment, where the web server establishes a file transmission link between the at least two user equipments according to the request of the user equipment to transmit a file Transfer files.
更适宜地, 所述系统还包括:  More preferably, the system further comprises:
即时通信状态服务器, 用于记录用户设备所在的用户服务器和用户的 状态信息;  An instant messaging status server, configured to record status information of a user server and a user where the user equipment is located;
根据即时通信状态服务器记录的用户所在服务器和用户的状态信息, 若所述用户设备之一为即时通信用户设备, 所述系统还包括: 即时通信服务器, 与所述即时通信用户设备连接, 用于与所述 Web服 务器交互, 以转发所述用户设备之间的即时消息。  According to the state information of the server and the user of the user recorded by the instant messaging status server, if one of the user equipments is an instant communication user equipment, the system further includes: an instant communication server, connected to the instant communication user equipment, Interacting with the web server to forward an instant message between the user devices.
分配服务器, 用于为与 Web服务器连接的发送登录请求的用户设备分 配 Web服务器, 并将所述登录请求重定向到该 Web服务器。  And a distribution server, configured to allocate a web server for a user device that sends a login request to the web server, and redirect the login request to the web server.
文件传输服务器,分别与所述用户设备和 Web服务器连接,用于与 Web 服务器配合传送文件。  A file transfer server is respectively connected to the user equipment and the web server, and is configured to cooperate with the web server to transfer files.
本发明提供的技术方案可以实现未下载安装即时通信软件的浏览器用 户与安装即时通信软件用户的文件传送, 也可以实现未下载安装即时通信 软件的浏览器用户之间的文件传送。 不存在由于防火墙挡住而不能进行文 件传送的情况; 而且只要在服务器端更新版本, 用户打开浏览器进行文件 传送的时候就是最新版本, 从而不需要用户自己升级, 釆用本发明可以简 单快捷地实现文件传送。 附图说明  The technical solution provided by the invention can realize the file transfer of the browser user who does not download and install the instant messaging software and the user who installs the instant communication software, and can also realize the file transfer between the browser users who have not downloaded and installed the instant communication software. There is no case where the file transfer cannot be performed due to the firewall blocking; and as long as the version is updated on the server side, the user opens the browser for file transfer, which is the latest version, so that the user does not need to upgrade the user, and the invention can be implemented simply and quickly. File transfer. DRAWINGS
图 1A为本发明实施例中文件传送系统的结构示意图;  1A is a schematic structural diagram of a file transfer system according to an embodiment of the present invention;
图 1B为本发明实施例中浏览器用户与即时通信用户之间文件传送的系 统结构示意图;  1B is a schematic structural diagram of a system for file transfer between a browser user and an instant communication user according to an embodiment of the present invention;
图 1C为本发明实施例中浏览器用户之间文件传送的系统结构示意图; 图 2为本发明实施例中浏览器用户向即时通信用户传送文件的流程图; 图 3为本发明实施例中即时通信用户向浏览器用户传送文件的流程图; 图 4 为本发明实施例中同一网络域的浏览器用户之间进行文件传送的 流程图; 1C is a schematic structural diagram of a system for transferring a file between browser users according to an embodiment of the present invention; FIG. 2 is a flowchart of a browser user transmitting a file to an instant communication user according to an embodiment of the present invention; a flow chart of a communication user transmitting a file to a browser user; 4 is a flowchart of file transfer between browser users in the same network domain according to an embodiment of the present invention;
图 5为本发明实施例中文件传送过程中用户取消文件传送的流程图。 具体实施方式  FIG. 5 is a flowchart of canceling file transfer by a user during file transfer in an embodiment of the present invention. detailed description
为了使未安装特定即时通信软件的浏览器用户能够与安装即时通信软 件的用户 (下述简称即时通信用户)和未安装即时通信软件的浏览器用户 之间完成文件传送, 本发明通过浏览器用户所在的 Web服务器在用户之间 建立文件传输链路来实现用户之间的文件传送。  In order to enable a browser user who does not have a specific instant messaging software installed to perform file transfer with a user who installs the instant messaging software (hereinafter referred to as an instant messaging user) and a browser user who does not have the instant messaging software installed, the present invention passes the browser user. The web server is located to establish a file transfer link between users to implement file transfer between users.
参阅图 1A所示 (图中未示出其他用户设备和服务器), 本实施例的一 种文件传送系统包括即时通信状态服务器 13、与即时通信状态服务器 13连 接的 Web服务器 12和用户服务器 B15、 与 Web服务器 12连接的用户设备 alO (即浏览器用户)、 与用户服务器 B15连接的用户设备 bl4 (可以是浏览 器用户也可以是即时通信用户;), 以及与 Web服务器 12和用户设备 alO连 接的分配服务器 11 ; 其中,  Referring to FIG. 1A (other user equipments and servers are not shown in the figure), a file transfer system of this embodiment includes an instant messaging status server 13, a web server 12 and a user server B15 connected to the instant messaging status server 13, User equipment a10 (ie, browser user) connected to the web server 12, user equipment bl4 connected to the user server B15 (which may be a browser user or an instant communication user), and a connection with the web server 12 and the user equipment alo Distribution server 11; wherein
即时通信状态服务器 13 , 用于记录用户设备 alO和用户设备 bl4所在 的 Web服务器 12和用户服务器 B15和用户的状态信息;  The instant messaging status server 13 is configured to record status information of the web server 12 and the user server B15 and the user where the user equipment alO and the user equipment bl4 are located;
Web服务器 12,根据即时通信状态服务器 13记录的用户所在服务器和 用户的状态信息,通过该 Web服务器 12在用户设备之间建立文件传输链路 并传输文件;  The web server 12 establishes a file transfer link between the user devices and transmits the file through the web server 12 according to the state information of the server and the user of the user recorded by the instant messaging status server 13;
用户设备 alO和用户设备 bl4, 用于发送和接收文件或即时消息; 分配服务器 11 , 用于为用户设备 alO分配所述 Web服务器 12, 并将所 述登录请求重定向到所述 Web服务器 12。  The user equipment alO and user equipment bl4, for transmitting and receiving files or instant messages; the distribution server 11 for allocating the web server 12 to the user equipment alO, and redirecting the login request to the web server 12.
该系统还包括文件传输服务器, 分别与即时通信用户设备和 Web服务 器连接, 用于在浏览器用户之间或者浏览器用户与即时通信用户之间转发 文件。  The system also includes a file transfer server coupled to the instant messaging user device and the web server for forwarding files between browser users or between browser users and instant messaging users.
在本发明系统中, 用户服务器也可以包括有即时通信服务器, 其连接 即时通信用户。  In the system of the present invention, the user server may also include an instant messaging server that is connected to the instant messaging user.
如图 1B所示 (图中未示出其他用户设备和服务器), 为浏览器用户与 即时通信用户之间进行文件传送的系统结构示意图; 该系统中, 文件传输 服务器 105分别与 Web服务器 102和与即时通信服务器 103连接的用户设 备 B104连接, 通过 Web服务器 102、 文件传输服务器 105和与即时通信服 务器连接的用户设备 B104建立文件传输链路并传输文件。 As shown in FIG. 1B (other user equipments and servers are not shown in the figure), a schematic diagram of a system structure for file transfer between a browser user and an instant communication user; in the system, file transmission The server 105 is connected to the web server 102 and the user device B 104 connected to the instant messaging server 103, respectively, and establishes a file transfer link and transfers files through the web server 102, the file transfer server 105, and the user device B 104 connected to the instant messaging server.
相应的, 浏览器用户之间进行文件传送的系统结构如图 1C所示(图中 未示出其他用户设备和服务器); 该系统中, 文件传输服务器 115 分别与 Web服务器 A112和 Web服务器 B113连接, 通过 Web服务器 A112、 文件 传输服务器 115和 Web服务器 B113建立文件传输链路并传输文件;两浏览 器用户在同一网络域时, 也可以不通过文件传输服务器 115 而直接通过用 户所在 Web服务器 A112和 Web服务器 B113进行文件传送。  Correspondingly, the system structure for file transfer between browser users is as shown in FIG. 1C (other user equipments and servers are not shown in the figure); in the system, the file transfer server 115 is connected to the web server A 112 and the web server B 113 respectively. The file transfer link is established and the file is transmitted through the web server A 112, the file transfer server 115, and the web server B 113. When the two browser users are in the same network domain, the user may be directly connected to the web server A 112 and not through the file transfer server 115. The web server B113 performs file transfer.
浏览器用户登录 Web服务器的步骤包括:  The steps for the browser user to log in to the web server include:
浏览器用户向分配服务器发送登录请求; 分配服务器根据登录请求中 携带的信息为浏览器用户分配 Web服务器, 并将所述登录请求重定向到该 Web服务器; Web服务器验证浏览器用户信息, 并在验证成功后允许该用 户登录。  The browser user sends a login request to the distribution server; the distribution server allocates a web server to the browser user according to the information carried in the login request, and redirects the login request to the web server; the web server verifies the browser user information, and Allow the user to log in after successful authentication.
浏览器用户成功登录到 Web服务器后与即时通信用户或者是浏览器用 户进行即时通信, 首先由源用户所在服务器查询目标用户当前登录的服务 器信息, 并根据查询结果将源用户发送的即时消息转发给目标用户所在服 务器; 然后由目标用户所在服务器向目标用户提供即时消息, 以及将目标 用户回复的即时消息发送到源用户所在服务器, 由其向源用户提供即时消 息。  After the browser user successfully logs in to the web server and performs instant communication with the instant messaging user or the browser user, the server of the source user queries the server information currently logged in by the target user, and forwards the instant message sent by the source user to the query result. The server where the target user is located; then the instant message provided by the target user's server to the target user, and the instant message replied by the target user is sent to the server where the source user is located, and the instant message is provided to the source user.
即时通信过程中, 即时通信服务器可以直接转发浏览器用户发送的即 时消息给即时通信用户; 但 Web服务器不能直接转发其好友用户发送的即 时消息给浏览器用户, 而是需要浏览器用户到所在 Web服务器上取回好友 用户发送的即时消息。  In the instant communication process, the instant messaging server can directly forward the instant message sent by the browser user to the instant communication user; but the web server cannot directly forward the instant message sent by the friend user to the browser user, but needs the browser user to go to the web. The instant message sent by the friend user is retrieved on the server.
浏览器用户通过浏览器以 Ajax (异步 XMLHTTP )方式向 Web服务器 发送取信息或发送信息命令。 浏览器用户每隔预定时间向 Web服务器发送 取信息命令, Web服务器收到即时通信状态服务器的状态改变等信息或收 到对方用户发过来的即时消息后, 先把该消息緩存起来, 等待浏览器用户 取走该即时消息。 若浏览器用户超过预定时间未取走信息, 则认为该浏览 器用户已经注销, Web服务器就把该浏览器用户的緩存清除, 并通知对方 用户该浏览器用户已经注销。 The browser user sends a message or send a message command to the web server in the Ajax (asynchronous XMLHTTP) mode through the browser. The browser user sends a message retrieval command to the web server every predetermined time. After receiving the information such as the status change of the instant communication status server or receiving the instant message sent by the other party, the web server caches the message and waits for the browser. The user takes the instant message. If the browser user has not taken the information for more than the predetermined time, the browsing is considered The user has logged out, the web server clears the cache of the browser user, and notifies the other user that the browser user has logged out.
釆用本发明可以实现浏览器用户与即时通信用户之间的文件传送, 如 图 2所示为本发明实施例中浏览器用户向即时通信用户传送文件的流程图 , 其实现过程如下:  The present invention can realize file transfer between a browser user and an instant communication user. For example, FIG. 2 is a flowchart of a browser user transmitting a file to an instant communication user according to an embodiment of the present invention, and the implementation process thereof is as follows:
步骤 200、 浏览器用户选择即时通信用户, 点击发送文件。  Step 200: The browser user selects an instant communication user, and clicks to send a file.
步骤 201、 浏览器用户向 Web服务器发送向即时通信用户传送文件的 请求。  Step 201: The browser user sends a request to the web server to transfer the file to the instant communication user.
步骤 202、 Web服务器向即时通信状态服务器查询即时通信用户当前登 录的服务器, 并查询其是否在线; 若结果为是, 则执行步骤 205; 否则, 执 行步骤 203至步骤 204。  Step 202: The web server queries the instant communication status server for the server currently registered by the instant communication user, and queries whether it is online; if the result is yes, step 205 is performed; otherwise, steps 203 to 204 are performed.
步骤 203、 Web服务器将即时通信用户不在线的信息緩存, 等待浏览器 用户取回。  Step 203: The web server caches the information that the instant communication user is not online, and waits for the browser user to retrieve the information.
步骤 204、 浏览器用户取到信息后, 取消发送文件。  Step 204: After the browser user obtains the information, cancel the sending of the file.
步骤 205、 Web服务器向文件传输服务器群请求建立一个文件传输对 话; 该请求包含对方用户的 ID, 以及文件名称和文件大小等可选信息。  Step 205: The web server requests the file transfer server group to establish a file transfer dialog; the request includes the ID of the other party, and optional information such as the file name and the file size.
步骤 206、文件传输服务器群同意建立对话,并返回与对话相关的信息; 该返回的对话信息包含分配的文件传输服务器的 IP地址和端口、 可接受的 协议类型(TCP或 UDP或 HTTP等), 以及一串唯一的 Session ID等信息。  Step 206: The file transfer server group agrees to establish a dialog and returns information related to the dialog; the returned dialog information includes an IP address and port of the assigned file transfer server, and an acceptable protocol type (TCP or UDP or HTTP, etc.) And a string of unique Session ID and other information.
步骤 207、 Web服务器根据返回的对话信息与分配的文件传输服务器建 立对话连接。  Step 207: The web server establishes a conversation connection with the allocated file transfer server according to the returned dialog information.
步骤 208、 Web服务器把传送文件的请求信息通过即时通信服务器转发 给即时通信用户; 该请求信息包含浏览器用户和 Web服务器信息、 文件名 称和大小、 文件传输服务器的地址和端口, 以及文件传输服务器可以接受 的协议等信息。  Step 208: The web server forwards the request information of the transfer file to the instant communication user through the instant messaging server; the request information includes the browser user and the web server information, the file name and size, the address and port of the file transfer server, and the file transfer server. Information such as acceptable protocols.
步骤 209、 即时通信用户收到浏览器用户传送文件的请求后, 判断允许 或拒绝接收文件; 如果允许, 则执行步骤 211 ; 否则, 执行步骤 210。  Step 209: After receiving the request of the browser user to transmit the file, the instant communication user determines to allow or refuse to receive the file; if yes, step 211 is performed; otherwise, step 210 is performed.
步骤 210、 即时通信用户将拒绝接收文件的信息发送至即时通信服务 器, 即时通信服务器将该信息转发给 Web服务器, 由其将收到的信息緩存, 等待浏览器用户取回; 跳转到步骤 204。 Step 210: The instant messaging user sends the information of the rejected file to the instant messaging server, and the instant messaging server forwards the information to the web server, where the information is cached. Waiting for the browser user to retrieve; jump to step 204.
步骤 211、 即时通信用户根据 Web服务器发送的传送文件的请求信息 向文件传输服务器发送建立对话连接请求; 文件传输服务器根据步骤 206 所述的 Session ID以及即时通信用户标识和 IP地址等信息验证即时通信用 户信息是否合法, 若验证通过, 则与即时通信用户建立对话连接。  Step 211: The instant messaging user sends a setup session connection request to the file transfer server according to the request information of the transfer file sent by the web server. The file transfer server verifies the instant communication according to the session ID and the instant communication user identifier and the IP address, as described in step 206. Whether the user information is legal, if the verification is passed, establish a conversation connection with the instant communication user.
步骤 212、 即时通信用户将允许接收文件的信息发送至即时通信服务 器, 即时通信服务器将该信息转发给 Web服务器, 由其将收到的信息緩存, 等待浏览器用户取回。  Step 212: The instant messaging user sends the information of the received file to the instant messaging server, and the instant messaging server forwards the information to the web server, which caches the received information and waits for the browser user to retrieve it.
步骤 213、 浏览器用户取回即时通信用户允许接收文件的信息后, 向 Web服务器传送文件; 浏览器用户向 Web服务器发送 Http命令, 可以通过 步骤 214、 Web服务器把接收到的部分数据转发给文件传输服务器; Web服务器开始从 http协议的 body部分接收数据, 釆用接收部分数据进行 处理的方式(如以 64K字节为单位), 而不是接收完所有数据后再处理。  Step 213: After the browser user retrieves the information that the instant communication user is allowed to receive the file, the file is transmitted to the web server; the browser user sends the Http command to the web server, and the web server forwards the received part of the data to the file through step 214. The transport server; the web server begins to receive data from the body portion of the http protocol, and uses the method of receiving partial data for processing (eg, in units of 64 Kbytes) instead of receiving all data before processing.
步骤 215、 文件传输服务器将接收到的文件数据转发给即时通信用户, 直到文件传送完毕。  Step 215: The file transfer server forwards the received file data to the instant messaging user until the file transfer is completed.
请参阅图 3 ,该图为本发明实施例中即时通信用户向浏览器用户传送文 件的流程图, 其实现过程如下:  Please refer to FIG. 3, which is a flowchart of an instant messaging user transmitting a file to a browser user according to an embodiment of the present invention. The implementation process is as follows:
步骤 300、 即时通信用户选择浏览器用户, 点击发送文件。  Step 300: The instant messaging user selects the browser user and clicks to send the file.
步骤 301、即时通信用户向所在即时通信服务器发送向浏览器用户传送 文件的请求。  Step 301: The instant communication user sends a request to the instant messaging server to transmit the file to the browser user.
步骤 302、即时通信服务器通过即时通信状态服务器查询浏览器用户当 前登陆的服务器, 并查询其是否在线; 若结果为是, 则执行步骤 305; 否则, 执行步骤 303至步骤 304。  Step 302: The instant messaging server queries the server that the browser user is currently logged in through the instant messaging status server, and queries whether it is online. If the result is yes, step 305 is performed; otherwise, steps 303 to 304 are performed.
步骤 303、即时通信服务器转发浏览器用户不在线的信息给即时通信用 尸  Step 303: The instant messaging server forwards the information that the browser user is not online to the instant communication corpse
步骤 304、 即时通信用户取消发送文件。  Step 304: The instant messaging user cancels sending the file.
步骤 305、 即时通信用户向文件传输服务器群请求建立文件传输对话。 步骤 306、文件传输服务器群同意建立对话,并返回与对话相关的信息; 该返回的对话信息包含分配的文件传输服务器的 IP地址和端口、 可接受的 协议类型(TCP或 UDP或 HTTP等), 以及一串唯一的 Session ID等信息。 Step 305: The instant messaging user requests to establish a file transfer dialog to the file transfer server group. Step 306: The file transfer server group agrees to establish a dialogue and returns information related to the dialog; The returned dialog information includes the IP address and port of the assigned file transfer server, an acceptable protocol type (TCP or UDP or HTTP, etc.), and a string of unique session IDs.
步骤 307、即时通信用户根据返回的对话信息与分配的文件传输服务器 建立对话连接。  Step 307: The instant messaging user establishes a conversation connection with the allocated file transmission server according to the returned conversation information.
步骤 308、 即时通信服务器将传送文件的请求信息转发给 Web服务器, Step 308: The instant messaging server forwards the request information for transmitting the file to the web server.
Web服务器緩存所述对话信息, 同时把待传送文件的信息提供给浏览器用 户; 所述待传送文件的信息包含对方用户 ID、 文件名称及大小以及浏览器 用户待接收文件的 URL等信息。 The web server caches the dialog information, and provides information of the file to be transmitted to the browser user. The information of the file to be transmitted includes information such as the user ID, the file name and size, and the URL of the file to be received by the browser user.
步骤 309、 浏览器用户收到即时通信用户传送文件的请求后, 判断允许 或拒绝接收文件; 如果允许, 则执行步骤 311 ; 否则, 执行步骤 310。  Step 309: After receiving the request of the instant communication user to transmit the file, the browser user determines to allow or refuse to receive the file; if yes, step 311 is performed; otherwise, step 310 is performed.
步骤 310、浏览器用户将拒绝接收文件的信息发送至 Web服务器, Web 服务器将该信息转发至即时通信服务器, 由其转发拒绝接收文件的信息给 即时通信用户; 跳转到步骤 304。  Step 310: The browser user sends the information of the rejected file to the web server, and the web server forwards the information to the instant messaging server, and forwards the information of the rejected file to the instant communication user; and the process proceeds to step 304.
步骤 311、 Web服务器根据即时通信服务器发送的传送文件的请求信息 向文件传输服务器发送建立对话连接请求, 文件传输服务器根据步骤 306 所述的 Session ID以及浏览器用户标识等信息验证 Web服务器相关信息, 若验证通过, 则与 Web服务器建立对话连接。  Step 311: The web server sends a setup session connection request to the file transfer server according to the request information of the transfer file sent by the instant messaging server, and the file transfer server verifies the web server related information according to the session ID and the browser user identifier and the information described in step 306. If the verification is passed, a dialog connection is established with the web server.
步骤 312、 浏览器用户向 Web服务器发送 Http get命令, 将允许接收文 件的信息转发给即时通信服务器, 由即时通信服务器转发收到的信息给即 时通信用户; 浏览器用户与 Web服务器之间保持持续连接。  Step 312: The browser user sends an Http get command to the web server, and forwards the information of the allowed file to the instant messaging server, and the instant messaging server forwards the received information to the instant communication user; the browser user and the web server remain persistent. connection.
步骤 313、 即时通信用户向文件传输服务器传送文件。  Step 313: The instant messaging user transmits the file to the file transfer server.
步骤 314、 文件传输服务器将接收到的文件数据转发给 Web服务器。 步骤 315、 Web服务器将收到的文件数据直接转发给浏览器用户。  Step 314: The file transfer server forwards the received file data to the web server. Step 315: The web server directly forwards the received file data to the browser user.
本发明还可以实现浏览器用户与浏览器用户之间的文件传送, 其文件 传送的过程与上述同理, 需要用户所在的 Web服务器与文件传输服务器建 立文件传输链路实现文件传送。 如果两浏览器用户在同一网络域, 也可以 直接通过用户所在 Web服务器实现用户之间的文件传送, 如图 4所示, 在 同一网络域的两个浏览器用户传输文件的过程如下:  The invention can also implement file transfer between the browser user and the browser user. The process of file transfer is the same as the above, and the web server and the file transfer server where the user is located need to establish a file transfer link to implement file transfer. If the two browser users are in the same network domain, the file transfer between users can also be directly performed through the web server where the user is located. As shown in FIG. 4, the process of transferring files between two browser users in the same network domain is as follows:
步骤 400、 浏览器用户 Ua选择浏览器用户 Ub, 点击发送文件。 步骤 401、浏览器用户 Ua向 Web服务器 A发送向浏览器用户 Ub传送 文件的请求。 Step 400: The browser user Ua selects the browser user Ub and clicks to send the file. Step 401: The browser user Ua sends a request to the web server A to transfer the file to the browser user Ub.
步骤 402、 Web服务器 A向即时通信状态服务器查询浏览器用户 Ub当 前登录的服务器, 并查询其是否在线; 若结果为是, 则执行步骤 405, 否则, 执行步骤 403至步骤 404。  Step 402: The web server A queries the instant messaging status server for the server that the browser user Ub is currently logged in, and queries whether it is online. If the result is yes, step 405 is performed; otherwise, step 403 to step 404 are performed.
步骤 403、 Web服务器 A将浏览器用户 Ub不在线的信息緩存, 等待浏 览器用户 Ua取回。  Step 403: The web server A caches the information that the browser user Ub is not online, and waits for the browser user Ua to retrieve it.
步骤 404、 浏览器用户 Ua取到信息后, 取消发送文件。  Step 404: After the browser user Ua obtains the information, cancel the sending of the file.
步骤 405、 Web服务器 A将浏览器用户 Ua传送文件的请求通过 Web 服务器 B提供给浏览器用户 Ub。  Step 405: The web server A provides a request for the browser user Ua to transfer the file to the browser user Ub through the web server B.
步骤 406、浏览器用户 B收到文件传送的请求后,判断允许或拒绝接收 文件; 如果允许, 则执行步骤 408; 否则, 执行步骤 407。  Step 406: After receiving the request for file transfer, the browser user B determines to allow or refuse to receive the file; if yes, step 408 is performed; otherwise, step 407 is performed.
步骤 407、浏览器用户 Ub将拒绝接收文件的信息发送至 Web服务器 B, Web服务器 B将该信息转发至 Web服务器 A, 由其将收到的信息緩存, 等 待浏览器用户 Ua取回; 跳转到步骤 404。  Step 407: The browser user Ub sends the information of the rejected file to the web server B, and the web server B forwards the information to the web server A, which caches the received information and waits for the browser user Ua to retrieve it. Go to step 404.
步骤 408、 浏览器用户 B将允许接收文件的信息通过 Web服务器 B和 Web服务器 A提供给浏览器用户 Ua。  Step 408: The browser user B provides the information for allowing the received file to the browser user Ua through the web server B and the web server A.
步骤 409、 浏览器用户 Ua向 Web服务器 A传送文件。  Step 409: The browser user Ua transmits the file to the web server A.
步骤 410、 Web服务器 A将浏览器用户 Ua发送的文件数据传送至 Web 服务器 B。  Step 410: The web server A transmits the file data sent by the browser user Ua to the web server B.
步骤 411、Web服务器 B将收到的文件数据直接转发给浏览器用户 Ub。 文件传送过程中, 若用户取消文件传送, 则用户将取消文件传送的信 息提供给对方用户, 提示文件传送中断, 此时, 与文件传输服务器连接的 用户或用户所在的用户服务器断开文件传输对话连接, 并清除原来建立的 文件传输对话, 文件传送终止。 浏览器用户与即时通信用户取消文件传送 的过程原理相同, 下面以即时通信用户取消文件传送的过程为例进行说明 , 如图 5所示, 其主要实现过程如下:  Step 411: The web server B forwards the received file data directly to the browser user Ub. During the file transfer process, if the user cancels the file transfer, the user provides the information for canceling the file transfer to the other party, prompting the file transfer to be interrupted. At this time, the user connected to the file transfer server or the user server where the user is located disconnects the file transfer session. Connect, and clear the original file transfer dialog, the file transfer is terminated. The process of canceling the file transfer between the browser user and the instant messaging user is the same. The following describes the process of canceling the file transfer by the instant messaging user. As shown in Figure 5, the main implementation process is as follows:
500、 即时通信用户取消文件传送。  500, instant messaging users cancel file transfer.
501、 即时通信用户断开与文件传输服务器的对话连接。 502、文件传输服务器收到断开对话连接的信息后, 断开与 Web服务器 之间的对话连接。 501. The instant messaging user disconnects the conversation with the file transfer server. 502. After receiving the information of disconnecting the conversation, the file transfer server disconnects the conversation with the web server.
503、 Web服务器将收到的断开对话连接的信息緩存, 等待浏览器用户 取回。  503. The web server caches the received information of the disconnected conversation, and waits for the browser user to retrieve it.
504、 浏览器用户取回信息后, 取消文件传送, 文件传送终止。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  504. After the browser user retrieves the information, cancel the file transfer, and the file transfer is terminated. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权 利 要 求 Rights request
1、 一种通过浏览器实现文件传送的方法, 其特征在于, 包括步骤: 源用户请求向目标用户传送文件, 该源用户和目标用户中至少之一为 浏览器用户; A method for implementing file transfer by a browser, comprising the steps of: a source user requesting to transmit a file to a target user, at least one of the source user and the target user being a browser user;
通过所述浏览器用户所对应的 Web服务器在所述源用户和目标用户之 间建立文件传输链路;  Establishing a file transmission link between the source user and the target user by using a web server corresponding to the browser user;
2、如权利要求 1所述的通过浏览器实现文件传送的方法,其特征在于, 所述源用户与目标用户为浏览器用户, 通过源用户所在 Web服务器与目标 用户所在 Web服务器建立文件传输链路; 或者, 通过源用户所在 Web服务 器、 文件传输服务器和目标用户所在 Web服务器建立文件传输链路。 The method for implementing file transfer by a browser according to claim 1, wherein the source user and the target user are browser users, and a file transmission chain is established by the web server where the source user is located and the web server where the target user is located. Or; establish a file transfer link through the web server where the source user is located, the file transfer server, and the web server where the target user is located.
3、如权利要求 1所述的通过浏览器实现文件传送的方法,其特征在于, 所述源用户或目标用户为即时通信用户, 通过即时通信用户、 文件传输服 务器和浏览器用户所在 Web服务器建立文件传输链路。  The method for implementing file transfer by a browser according to claim 1, wherein the source user or the target user is an instant communication user, and is established by an instant communication user, a file transfer server, and a web server where the browser user is located. File transfer link.
4、 如权利要求 1至 3任一项所述的通过浏览器实现文件传送的方法, 其特征在于, 还包括:  The method for implementing file transfer by a browser according to any one of claims 1 to 3, further comprising:
传送文件前, 所述浏览器用户发送登录请求; 根据所述登录请求携带 的信息分配 Web服务器, 并将所述登录请求重定向到该 Web服务器。  Before transmitting the file, the browser user sends a login request; assigns a web server according to the information carried by the login request, and redirects the login request to the web server.
5、 如权利要求 1至 3任一项所述的通过浏览器实现文件传送的方法, 其特征在于, 还包括:  The method for implementing file transfer by a browser according to any one of claims 1 to 3, further comprising:
在建立所述文件传输链路之前, 查询目标用户是否在线;  Query whether the target user is online before establishing the file transmission link;
若在线, 则建立相应的文件传输链路。  If online, the corresponding file transfer link is established.
6、 如权利要求 1至 3任一项所述的通过浏览器实现文件传送的方法, 其特征在于, 还包括:  The method for implementing file transfer by a browser according to any one of claims 1 to 3, further comprising:
在建立所述文件传输链路之后, 所述目标用户接收到所述源用户的文 件传输请求时, 判断是否允许接收所述文件, 若允许, 则建立对话连接, 进行文件传输; 否则, 反馈拒绝接收文件的信息给所述源用户。  After the file transmission link is established, when the target user receives the file transfer request of the source user, it determines whether the file is allowed to be received, and if so, establishes a dialog connection for file transmission; otherwise, the feedback is rejected. Receiving information of the file to the source user.
7、 如权利要求 2或 3所述的通过浏览器实现文件传送的方法, 其特征 在于, 通过文件传输服务器建立文件传输链路包括步骤: 文件传输服务器接收源用户侧发送的建立文件传输对话请求; 根据返回的对话信息在源用户侧与分配的文件传输服务器之间建立文 件传输对话; 7. The method for implementing file transfer by a browser according to claim 2 or 3, wherein the step of establishing a file transfer link by the file transfer server comprises the steps of: The file transfer server receives a setup file transfer dialog request sent by the source user side; and establishes a file transfer dialog between the source user side and the allocated file transfer server according to the returned dialog information;
将携带有文件传输相关信息的传送文件请求发送到目标用户侧; 所述文件传输服务器与所述目标用户侧建立文件传输对话。  Sending a file transfer request carrying file transfer related information to the target user side; the file transfer server establishes a file transfer session with the target user side.
8、如权利要求 7所述的通过浏览器实现文件传送的方法,其特征在于, 所述文件传输对话请求携带有对方用户标识、 文件名称及大小。  8. The method for implementing file transfer by a browser according to claim 7, wherein the file transfer dialog request carries a counterpart user identifier, a file name, and a size.
9、如权利要求 7所述的通过浏览器实现文件传送的方法,其特征在于, 所述对话信息包括文件传输服务器的 IP地址和端口、 可接受的协议类型以 及对话标识。  The method for implementing file transfer by a browser according to claim 7, wherein the dialog information includes an IP address and port of the file transfer server, an acceptable protocol type, and a dialog identifier.
10、 如权利要求 7 所述的通过浏览器实现文件传送的方法, 其特征在 于, 在文件传送过程中, 所述源用户或目标用户取消传送文件时, 释放所 述文件传输链路及相关资源。  The method for implementing file transfer by a browser according to claim 7, wherein in the file transfer process, when the source user or the target user cancels transferring the file, releasing the file transmission link and related resources .
11、 一种文件传送系统, 其特征在于, 包括:  11. A file transfer system, comprising:
至少两个用户设备, 用于发送和接收文件, 其中至少之一为设置有浏 览器的用户设备;  At least two user equipments for transmitting and receiving files, at least one of which is a user equipment provided with a browser;
至少一个 Web服务器, 与所述至少一个设置有浏览器的用户设备建立 网络连接, 所述 Web服务器根据所述用户设备传送文件的请求在所述至少 两个用户设备之间建立文件传输链路并传输文件。  Establishing, by the at least one web server, a network connection with the at least one browser-equipped user equipment, where the web server establishes a file transmission link between the at least two user equipments according to the request of the user equipment to transmit a file Transfer files.
12、 如权利要求 11所述的文件传送系统, 其特征在于, 所述用户设备 之一为即时通信用户设备, 所述系统还包括:  12. The file transfer system of claim 11, wherein one of the user devices is an instant messaging user device, the system further comprising:
即时通信状态服务器, 用于记录用户设备所在的用户服务器和用户的 状态信息;  An instant messaging status server, configured to record status information of a user server and a user where the user equipment is located;
根据即时通信状态服务器记录的用户所在服务器和用户的状态信息。  Status information of the server and user of the user recorded according to the instant messaging status server.
13、 如权利要求 11所述的文件传送系统, 其特征在于, 所述用户设备 之一为即时通信用户设备, 所述系统还包括: The file transfer system according to claim 11, wherein one of the user devices is an instant messaging user device, and the system further includes:
即时通信服务器, 与所述即时通信用户设备连接, 用于与所述 Web服 务器交互, 以转发所述用户设备之间的即时消息。  An instant messaging server is coupled to the instant messaging user device for interacting with the web server to forward an instant message between the user devices.
14、 如权利要求 11、 12或 13所述的文件传送系统, 其特征在于, 还 包括: 14. The document delivery system of claim 11, 12 or 13 further characterized by Includes:
分配服务器, 用于为与 Web服务器连接的发送登录请求的用户设备分 配 Web服务器, 并将所述登录请求重定向到该 Web服务器。  And a distribution server, configured to allocate a web server for a user device that sends a login request to the web server, and redirect the login request to the web server.
15、 如权利要求 11、 12或 13所述的文件传送系统, 其特征在于, 还 包括:  The file transfer system of claim 11, 12 or 13, further comprising:
文件传输服务器,分别与所述用户设备和 Web服务器连接,用于与 Web 服务器配合传送文件。  A file transfer server is respectively connected to the user equipment and the web server, and is configured to cooperate with the web server to transfer files.
16、 如权利要求 15所述的文件传送系统, 其特征在于, 还包括: 分配服务器, 用于为与 Web服务器连接的发送登录请求的用户设备分 配 Web服务器, 并将所述登录请求重定向到该 Web服务器。  The file transfer system according to claim 15, further comprising: a distribution server, configured to allocate a web server to a user device that sends a login request connected to the web server, and redirect the login request to The web server.
PCT/CN2007/070813 2007-09-28 2007-09-28 A method and system for realizing file transfer through browser WO2009039705A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/070813 WO2009039705A1 (en) 2007-09-28 2007-09-28 A method and system for realizing file transfer through browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/070813 WO2009039705A1 (en) 2007-09-28 2007-09-28 A method and system for realizing file transfer through browser

Publications (1)

Publication Number Publication Date
WO2009039705A1 true WO2009039705A1 (en) 2009-04-02

Family

ID=40510736

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070813 WO2009039705A1 (en) 2007-09-28 2007-09-28 A method and system for realizing file transfer through browser

Country Status (1)

Country Link
WO (1) WO2009039705A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001039007A1 (en) * 1999-11-26 2001-05-31 Impact Online Co., Ltd. Integrated browser and server system
US6785708B1 (en) * 1996-10-30 2004-08-31 Avaya Inc. Method and apparatus for synchronizing browse and chat functions on a computer network
CN1592204A (en) * 2004-06-15 2005-03-09 深圳市沃通通信服务有限公司 Method for realizing instantaneous communication based on internet address technique and its commercial field application
CN2930125Y (en) * 2006-07-05 2007-08-01 阿里巴巴公司 File transfer system
CN101102287A (en) * 2006-07-03 2008-01-09 阿里巴巴公司 A method and system for transferring files via browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785708B1 (en) * 1996-10-30 2004-08-31 Avaya Inc. Method and apparatus for synchronizing browse and chat functions on a computer network
WO2001039007A1 (en) * 1999-11-26 2001-05-31 Impact Online Co., Ltd. Integrated browser and server system
CN1592204A (en) * 2004-06-15 2005-03-09 深圳市沃通通信服务有限公司 Method for realizing instantaneous communication based on internet address technique and its commercial field application
CN101102287A (en) * 2006-07-03 2008-01-09 阿里巴巴公司 A method and system for transferring files via browser
CN2930125Y (en) * 2006-07-05 2007-08-01 阿里巴巴公司 File transfer system

Similar Documents

Publication Publication Date Title
US7055036B2 (en) System and method to verify trusted status of peer in a peer-to-peer network environment
US9503529B2 (en) System and method to transport HTTP over XMPP
US20080256224A1 (en) Data communication system and session management server
CN101102287A (en) A method and system for transferring files via browser
JP2006302153A (en) Load balancing server
US8175091B2 (en) Communication system
JP5180048B2 (en) Service providing system, service providing method, and service providing program
WO2008119273A1 (en) Method for releasing and downloading file, management server, terminal and system
CN109548022B (en) Method for mobile terminal user to remotely access local network
JP4950096B2 (en) Service providing system, service providing method, and service providing program
JP2008219723A (en) Sip service system, apparatus, method and program used therefor
WO2009039705A1 (en) A method and system for realizing file transfer through browser
US10581979B2 (en) Information transmission method and apparatus
JP2007208542A (en) Device, method and program for transferring call control signal
US20080028044A1 (en) System and method for file transfer
CN2930125Y (en) File transfer system
JP4001047B2 (en) Relay device
JP5428878B2 (en) Communication path configuration system, system control method, and system control program
KR101813276B1 (en) System and method for file transfer in universal plug and play telephony service
US7904506B2 (en) Context information management system
KR20030089364A (en) Method and system of access gateway for integrating wireless internet service on mobile network
KR100479262B1 (en) System of call control of converged LAN
JP2017212572A (en) Remote access service system, information processing device, gateway device, and program
Munagala Ubiquitous Application Data Collection in a Disconnected Distributed System
KR100592881B1 (en) Method and device for providing multimedia messaging service using parlay x gateway system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07817004

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07817004

Country of ref document: EP

Kind code of ref document: A1