WO2011032393A1 - 一种利用点对点技术实现文件共享的系统及方法 - Google Patents

一种利用点对点技术实现文件共享的系统及方法 Download PDF

Info

Publication number
WO2011032393A1
WO2011032393A1 PCT/CN2010/073026 CN2010073026W WO2011032393A1 WO 2011032393 A1 WO2011032393 A1 WO 2011032393A1 CN 2010073026 W CN2010073026 W CN 2010073026W WO 2011032393 A1 WO2011032393 A1 WO 2011032393A1
Authority
WO
WIPO (PCT)
Prior art keywords
svr
user
information
file
web
Prior art date
Application number
PCT/CN2010/073026
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2011032393A1 publication Critical patent/WO2011032393A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1834Distributed file systems implemented based on peer-to-peer networks, e.g. gnutella
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1091Interfacing with client-server systems or between P2P systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the invention relates to a file sharing technology in a communication network, in particular to a point-to-point utilization
  • WEB World Wide Web
  • the publisher In the multimedia conference system, people often need to share some files.
  • the publisher In the current sharing mode, the publisher generally uploads the files to be shared directly to the server, and then notifies other conference members of the link to download the shared files. Other conference members are on the WEB. Click on the link to download directly on the page. This download is downloaded directly from the server.
  • the method of downloading shared files is simple, but there are many defects: First, the centralized distribution method will occupy a large amount of bandwidth of the server and greatly increase the pressure on the server;
  • the server itself is responsible for a large number of conference service functions, and the response speed to shared files must be very slow, which results in the speed of downloading files by other conference members in most cases.
  • the main object of the present invention is to provide a system and method for realizing file sharing by using P2P technology, which can realize file security, fast sharing and downloading among conference members of a multimedia conference, and alleviate the pressure on the server.
  • the present invention provides a system for implementing file sharing by using a peer-to-peer P2P technology, including a WEB Svr, a peer-to-peer server, a P2P Svr, and more than one client;
  • the client is configured to request the pre-stored P2P Svr information from the WEB Svr, and request the P2P Svr to publish the shared file or download the file;
  • WEB Svr which is used to provide P2P Svr information to the client, and verify the authentication information sent by the P2P Svr;
  • the P2P Svr is used to verify the information sent by the client. After the verification is passed, the user is allowed to publish the shared file or download the file.
  • the user terminal further includes a WEB conference control module and a P2P client; wherein, the WEB conference control module is configured to request P2P Svr information from the WEB Svr and send the information to the P2P client; and the P2P client is configured to receive
  • the P2P Svr information sends a request for publishing a shared file or a file download request to the P2P Svr, and issues a shared file or a file download after the request is verified; and is also used to send the received P2P Svr return information to the WEB conference control.
  • the module is displayed.
  • the P2P Svr information sent by the WEB Svr to the user end is accompanied by a temporary password; the P2P client requests the P2P Svr to perform file sharing or file downloading with related information including a temporary password, verification information, and confidentiality of the shared file.
  • Key KEY wherein the verification information includes conference information of the current multimedia conference and identity information of the client.
  • the P2P Svr is configured to receive a request for file sharing sent by the P2P Svr, and verify the temporary password. After the verification is passed, the verification information is sent to the WEB Svr to receive the WEB. After the message sent by the Svr is verified, the message for allowing the shared file is returned to the P2P client; or the request for file download sent by the P2P Svr is received, and the temporary password is verified. After the verification is passed, the verification information is sent to the WEB Svr.
  • the WEB Svr After receiving the verification message sent by the WEB Svr, the KEY of the shared file is verified, and after the verification is passed, the message allowing the download is returned to the P2P client; the WEB Svr is used to verify the verification information sent by the received P2P Svr. After the verification is passed, the P2P Svr is replied to the message that the verification is passed.
  • the P2P client is configured to download a file from any one or more P2P clients that have been downloaded or are being downloaded.
  • the WEB Svr and the P2P Svr are implemented independently or by the same server.
  • the present invention also provides a method for implementing file sharing by using a P2P technology, including: when a first user wants to publish a shared file, the user of the first user requests the pre-stored P2P Svr information from the WEB Svr, and the WEB Svr verifies the first user. After the verification is passed, the user of the first user requests the P2P Svr to post the shared file and carry the relevant information according to the P2P Svr information returned by the WEB Svr, and the P2P Svr verifies the related information; after the verification is passed, the first user The client notifies the user of the second user of the KEY of the shared file and issues the shared file;
  • the user of the second user When the second user wants to download the file, the user of the second user requests the pre-stored P2P Svr information from the WEB Svr, and the WEB Svr verifies the verification information of the second user. After the verification is passed, the user end of the second user returns according to the WEB Svr.
  • the P2P Svr information requests the P2P Svr to download the file and carries the related information, and the P2P Svr verifies the related information. After the verification is passed, the user of the second user starts to download the file.
  • the temporary password is attached to the P2P Svr information returned by the WEB Svr to the user of the first user or the user of the second user.
  • the P2P Svr verifies the related information as follows: The P2P Svr first verifies the temporary password of the first user, and after the verification is passed, the P2P Svr The authentication information sent by the user end of the first user is verified by the WEB Svr. After the verification is passed, the user of the first user is allowed to publish the shared file, and the conference identifier and the shared file publisher of the multimedia conference in which the first user participates are recorded. And the KEY of the shared file;
  • the P2P Svr verifies the related information as: P2P Svr first authenticates the temporary password of the second user, and after the verification is passed, the P2P Svr sends the second user to the user end through the WEB Svr. The verification information is verified. After the verification is passed, the KEY of the shared file is further verified, and the message allowing the download is returned after the verification is passed.
  • the user end of the second user starts to download the file as: downloading the file from any one or more users who have already downloaded or are downloading.
  • the WEB server in the multimedia conference system only needs to be simply verified, and the file sharing and downloading operations are performed between the conference members participating in the multimedia conference, so that even when the server is busy , it will not affect the use of meeting members; Moreover, the shared and downloaded files need to be verified by the server, thus ensuring the security of the file.
  • FIG. 1 is a schematic diagram of an implementation system for implementing file sharing by using P2P technology according to the present invention
  • FIG. 2 is a schematic flowchart of a method for implementing file sharing by using P2P technology. detailed description
  • the basic idea of the present invention is: In the multimedia conference, the P2P technology is used, and the conference members who need to share files or download files are first verified by the server, and after the verification is passed, the files can be directly shared or downloaded between the conference members.
  • the server includes a WEB server and a P2P server; the conference member is a user participating in the multimedia conference.
  • the system for implementing file sharing by using the P2P technology in the present invention is composed of a WEB server (Svr, Server) 13, a P2P Svrl4, and more than one user terminal; further, the user terminal is controlled by the WEB conference control module 11 and the P2P client.
  • the terminal 12 is composed; here, the P2P Svr 14 and the WEB Svr 13 may be implemented independently or by the same server.
  • the client is configured to request the pre-stored P2P Svr 14 information from the WEB Svr 13 and request the P2P Svr 14 to publish the shared file or download the file.
  • the WEB Svr 13 receives the request of the P2P Svr message from the UE, and returns the P2P Svrl4 information to the UE to provide verification for the verification information of the user sent by the P2P Svr 14.
  • the P2P Svr 14 receives the request for the user to publish the shared file, and verifies the related information sent by the client; receives the request of the user to download the file, and verifies the related information sent by the client; where the user sends the
  • the related information includes a temporary password, a key (KEY) of the shared file, and verification information, wherein the verification information is verified by the WEB Svr.
  • the WEB conference control module 11 is configured to request information of the P2P Svr 14 from the WEB Svr 13;
  • the P2P client 12 is configured to send a request for publishing a shared file or a downloaded file to the P2P Svrl4, and issue a shared file or download the file after the request is verified; and is also used to pass the received P2P Svr 14 information through the WEB conference control module. 11 is displayed to the meeting members.
  • the two client terminals the client A and the client B, are used as an example.
  • Client B wants to download the file.
  • the WEB conference control module 11 of the client A requests the pre-stored P2P Svr 14 information from the WEB Svr 13 , and the request carries the verification information.
  • the verification information includes conference information, identity information of the client A, and the like.
  • the WEB Svr 13 After verifying the authentication information of the client A, the WEB Svr 13 returns the P2P Svr 14 information carrying the temporary password to the WEB conference control module 11 of the client A.
  • the WEB conference control module 11 transmits the received P2P Svr information to the client A.
  • the P2P client 12 and the P2P client 12 request the P2P Svr 14 to issue a shared file according to the received P2P Svr information, and carry the related information, and the P2P Svr 14 verifies that the temporary password is correct.
  • the P2P client 12 returns the verification to the P2P client 12. Failed message;
  • P2P Svr 14 verifies that the authentication information of client A is correct through WEB Svr 13. If the WEB Svr 13 returns the verification failure, the P2P Svr 14 rejects the request of the client A to issue the shared file, and the process ends.
  • the P2P Svr 14 agrees that the client A requests to share the file, and records the publisher of the shared file, the KEY of the shared file, and the conference identifier of the multimedia conference in which the client A participates.
  • the P2P client 12 publishes the shared file.
  • the WEB conference control module 11 of the client A After receiving the result of successfully publishing the shared file request, the WEB conference control module 11 of the client A notifies the other client of the KEY of the shared file to be advertised by the client A.
  • the WEB conference control module 11 of the client B requests the pre-stored P2P Svr 14 information from the WEB Svr 13, and the request carries its own verification information. After verifying the authentication information of the client B, the WEB Svr 13 returns the P2P Svr information carrying the temporary password to the WEB conference control module 11 of the client B.
  • the WEB conference control module 11 of the client B transmits the P2P Svr information to its own P2P client 12, and the P2P client 12 of the client B submits a download request to the P2P Svr 14 according to the received P2P Svr information, and the request carries relevant information.
  • P2P Svr 14 verifies that the temporary password is correct. If the password is incorrect, return the verification failure message to the client B, and reject the client B to download the file. When the password is correct, P2P Svr 14 Verify the license information of the client B through the WEB Svr 13 . If the verification fails, ⁇ 2 ⁇ Svr 14 returns the information of the P2P client 12 failing to the client B, and rejects the download of the file by the client B. On the other hand, if the verification succeeds, the P2P Svr 14 verifies the KEY of the shared file. If the KEY verification of the shared file fails, the P2P Svr 14 returns the information for rejecting the download to the client B.
  • the user B is allowed to download.
  • Client B starts to download the shared file to the local.
  • the shared file can be downloaded from any one or more users that have started downloading or downloading.
  • WEB Svr l3 notifies P2P Svr 14 that a multimedia conference has ended, and P2P Svr 14 cleans up the shared file information of the multimedia conference.
  • the temporary password can be set to a valid time limit as needed. For example, if the conference member does not log in to the P2P Svr within 5 seconds, the password will be invalid, and the P2P Svr information must be obtained again from the WEB Svr. For security reasons, the generation of temporary passwords can be generated according to any known method.
  • the KEY of the shared file, the conference member can be obtained by means of the encryption key, but it is not limited to this method. As long as the meeting member who needs to download must have this KEY, the purpose of the verification can be passed.
  • the user of the first user when the first user requests to share the file, the user of the first user sends a request for publishing the shared file to the server and sends the self information to the server for verification. After the verification is passed, the user of the second user is notified; the second user When requesting to download a file, the user of the second user sends a download file request to the server, and sends the self information to the server for verification. After the verification is passed, the user of the first user and the user of the second user can perform the file. Sharing. Specifically, the method for implementing file sharing by using the P2P technology in the present invention is as shown in FIG. 2, and includes the following steps:
  • Step 201 When the first user needs to perform file sharing, the user of the first user requests the information of the P2P Svr from the WEB Svr, and the request carries its own verification information, and the verification information of the self is verified.
  • the information includes meeting information, identity information of the first user, and the like.
  • Step 202 After verifying the first user according to the verification information, the WEB Svr returns the P2P Svr information carrying the temporary password to the user end of the first user, and the user of the first user requests the P2P Svr to publish the shared file, and the request is accompanied by the relevant Information, the related information includes a KEY of the shared file to be published, a temporary password, and its own verification information;
  • the P2P Svr verifies that the temporary password is correct. If the temporary password is incorrect, go to step 203. If the temporary password is correct, the P2P Svr will verify the verification information on the WEB Svr. If the verification information is incorrect, go to step 203. Otherwise, Go to step 204.
  • Step 203 If the verification fails, the user is denied the request to publish the shared file, and the current processing flow ends.
  • Step 204 The P2P Svr allows the first user to publish the shared file, returns a message for allowing the shared file to the user of the first user, and records the publisher of the shared file, the conference identifier of the current multimedia conference, and the KEY of the shared file.
  • the client issues a shared file and sends the KEY of the shared file to the user of the second user;
  • the user of the second user When any second user needs to download a file, the user of the second user requests the information of the P2P Svr from the WEB Svr, and the request carries its own verification information.
  • Step 205 After verifying the user end of the second user according to the verification information, the WEB Svr returns the information of the P2P Svr with the temporary password to the user end of the second user, and the user of the second user requests the P2P Svr to download the file, requesting Carry relevant information;
  • the P2P Svr verifies the temporary password sent by the user of the second user. If the temporary password is incorrect, step 206 is performed. If the temporary password is correct, the P2P Svr verifies that the verification information sent by the user of the second user is correct through the WEB Svr. If the verification information is incorrect, step 206 is performed; if the verification information is correct, the P2P Svr verifies the sending by the user of the second user. If the KEY of the shared file is incorrect, go to step 206; otherwise, go to step 207.
  • Step 206 If the verification fails, the request for downloading the file by the user of the second user is rejected, and the current processing flow ends.
  • Step 207 The P2P Svr agrees to the request of the second user to download the file, returns a message allowing the download to the user of the second user, and the second user starts downloading the file according to the information of the file to be downloaded recorded by the P2P Svr.
  • Step 208 After the multimedia conference ends, the WEB Svr notifies the P2P Svr multimedia conference that the P2P Svr clears the shared file information of the multimedia conference.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种利用点对点技术实现文件共享的系统,包括万维网服务器、点对点服务器以及一个以上用户端;其中,用户端,用于向万维网服务器请求其预存的点对点服务器的信息,并向点对点服务器请求发布共享文件或进行文件下载;万维网服务器,用于将点对点服务器信息提供给用户端,并对点对点服务器发来的验证信息进行验证;点对点服务器,用于对用户端发送的信息进行验证,验证通过后,允许用户端发布共享文件或进行文件下载。本发明还同时公开了一种利用点对点技术实现文件共享的方法,采用本发明能在多媒体会议的会议成员之间实现文件安全、快速地共享与下载,减轻服务器的压力。

Description

一种利用点对点技术实现文件共享的系统及方法 技术领域
本发明涉及通信网络中的文件共享技术, 特别是指一种利用点对点
( P2P, peer-to-peer )技术实现文件共享的系统及方法。 背景技术
随着 Java及其他万维网 ( WEB , World Wide Web )应用技术的发展, 基于 WEB技术所开发的业务也越来越多, 涉及的范围也越来越广, 其中就 有多媒体会议系统。
在多媒体会议系统中, 人们经常需要共享一些文件, 现在的共享方式 中一般都是发布者将需共享的文件直接上传到服务器, 然后将下载共享文 件的链接通知其他会议成员,其他会议成员在 WEB页面上直接点击链接下 载, 这种下载是从服务器上直接下载。
目前下载共享文件的方式虽然实现简单, 但是存在着很多缺陷: 一、 釆用集中分发的方式, 会大量占用服务器的带宽, 大大增加服务 器的压力;
二、 服务器本身负担了大量的会议服务功能, 对于共享文件的响应速 度必然很慢, 这就导致在多数情况下, 其他会议成员下载文件的速度比较 ¼;
三、 服务器繁忙的时候, 其他会议成员无法即时下载文件, 会直接影 响多媒体会议的效果;
四、 当多媒体会议中出现大量的文件共享时, 则有可能占用完服务器 的全部带宽, 导致服务器无法进行正常的会议服务, 以至于整个多媒体会 议系统无法为用户提供多媒体会议服务。 发明内容
有鉴于此, 本发明的主要目的在于提供一种利用 P2P技术实现文件共 享的系统及方法, 能在多媒体会议的会议成员之间实现文件安全、 快速地 共享与下载, 减轻服务器的压力。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明提供了一种利用点对点 P2P技术实现文件共享的系统, 包括万 维网服务器 WEB Svr, 点对点服务器 P2P Svr以及一个以上用户端;
用户端, 用于向 WEB Svr请求其预存的 P2P Svr信息, 并向 P2P Svr 请求发布共享文件或进行文件下载;
WEB Svr, 用于将 P2P Svr信息提供给用户端, 并对 P2P Svr发来的验 证信息进行验证;
P2P Svr, 用于对用户端发送的信息进行验证, 验证通过后, 允许用户 端发布共享文件或进行文件下载。
上述方案中,所述用户端进一步包括 WEB会议控制模块和 P2P客户端; 其中, WEB会议控制模块,用于向 WEB Svr请求 P2P Svr信息并发送给 P2P 客户端; P2P客户端, 用于根据接收的 P2P Svr信息向 P2P Svr发送发布共 享文件的请求或进行文件下载的请求, 并在请求通过验证后发布共享文件 或进行文件下载; 还用于将接收到的 P2P Svr返回信息发送给 WEB会议控 制模块显示。
上述方案中, 所述 WEB Svr发送给用户端的 P2P Svr信息附带有临时 密码;所述 P2P客户端向 P2P Svr请求进行文件共享或文件下载时附带相关 信息包括临时密码、 验证信息、 共享文件的密钥 KEY ; 其中, 所述验证信 息包括当前多媒体会议的会议信息、 用户端的身份信息。
上述方案中, P2P Svr, 用于接收 P2P Svr发送的进行文件共享的请求, 对临时密码进行验证,验证通过后,将验证信息发送给 WEB Svr,接收 WEB Svr发送的验证通过的消息后, 向 P2P客户端返回允许共享文件的消息; 或 者接收 P2P Svr发送的进行文件下载的请求, 对临时密码进行验证, 验证通 过后, 将验证信息发送给 WEB Svr, 接收 WEB Svr发送的验证通过的消息 后, 对共享文件的 KEY进行验证, 验证通过后, 向 P2P客户端返回允许下 载的消息; WEB Svr, 用于对接收的 P2P Svr发送的验证信息进行验证, 验 证通过后, 向 P2P Svr回复验证通过的消息。
上述方案中, 所述 P2P客户端, 用于从任意一个或多个已经或正在下 载的 P2P客户端处下载文件。
上述方案中, 所述 WEB Svr与所述 P2P Svr分别独立实现, 或由同一 台服务器实现。
本发明还提供了一种利用 P2P技术实现文件共享的方法, 包括: 第一用户要发布共享文件时, 第一用户的用户端向 WEB Svr请求其预 存的 P2P Svr信息, WEB Svr验证第一用户的验证信息, 验证通过后, 第一 用户的用户端根据 WEB Svr返回的 P2P Svr信息向 P2P Svr请求发布共享文 件并携带相关信息, P2P Svr对相关信息进行验证; 验证通过后, 第一用户 的用户端将共享文件的 KEY通知第二用户的用户端并发布共享文件;
第二用户要下载文件时, 第二用户的用户端向 WEB Svr请求其预存的 P2P Svr信息, WEB Svr验证第二用户的验证信息, 验证通过后, 第二用户 的用户端根据 WEB Svr返回的 P2P Svr信息向 P2P Svr请求下载文件并携带 相关信息, P2P Svr对相关信息进行验证, 验证通过后, 第二用户的用户端 开始下载文件。
上述方案中, 所述 WEB Svr返回给第一用户的用户端或第二用户的用 户端的 P2P Svr信息中附带有临时密码。
上述方案中, 第一用户要发布共享文件时, 所述 P2P Svr对相关信息进 行验证为: P2P Svr先对第一用户的临时密码进行验证,验证通过后, P2P Svr 通过 WEB Svr对第一用户的用户端发送的验证信息进行验证,验证通过后 , 允许第一用户的用户端发布共享文件, 并记录第一用户所参与的多媒体会 议的会议标识、 共享文件发布者及共享文件的 KEY;
第二用户要下载文件时,所述 P2P Svr对相关信息进行验证为: P2P Svr 先对第二用户的临时密码进行验证, 验证通过后, P2P Svr通过 WEB Svr 对第二用户的用户端发送的验证信息进行验证, 验证通过后, 再继续验证 共享文件的 KEY, 验证通过后返回允许下载的消息。
上述方案中, 所述第二用户的用户端开始下载文件为: 从任意一个或 多个已经下载完毕、 或正在下载的用户处进行文件下载。
由此可见, 相比于现有技术而言, 本发明所提供的利用 P2P技术实现 文件共享的系统及方法, 具有以下显著效果:
一、 由于釆用 P2P文件共享的方式, 直接在参与多媒体会议的会议成 员之间传送文件, 不占用服务器的带宽, 大大减轻了服务器的压力, 即使 文件较大, 也不会影响共享的效果;
二、 釆用 P2P文件共享的方式, 可以实现多点下载, 使一个会议成员 能从其他多个会议成员处共享或下载所需文件, 如此, 大大提高了文件共 享的速度;
三、釆用 P2P文件共享的方式, 多媒体会议系统中的 WEB服务器只需 要做简单的验证, 文件共享与下载的操作都是在参与多媒体会议的会议成 员之间进行, 这样, 即使服务器繁忙的时候, 也不会影响到会议成员的使 用; 而且, 共享与下载的文件都需要通过服务器的验证, 从而保障了文件 的安全。 附图说明
图 1为本发明利用 P2P技术实现文件共享的实现系统示意图; 图 2为本发明利用 P2P技术实现文件共享的实现方法流程示意图。 具体实施方式
本发明的基本思想是: 在多媒体会议中利用 P2P技术, 需共享文件或 下载文件的会议成员先由服务器进行验证, 验证通过后, 即可在会议成员 之间直接进行文件的共享或下载。
这里, 所述服务器包括 WEB服务器、 P2P服务器; 所述会议成员即为 参与多媒体会议的用户。
下面结合附图和具体实施方式对本发明进一步详细说明。
如图 1所示,本发明中利用 P2P技术实现文件共享的系统由 WEB服务 器(Svr, Server ) 13、 P2P Svrl4、 一个以上用户端组成; 进一步的, 用户 端由 WEB会议控制模块 11以及 P2P客户端 12组成;这里 ,所述 P2P Svr 14 与 WEB Svr 13可以分别独立实现, 也可以由同一台服务器实现。 其中, 用户端, 用于向 WEB Svr 13请求其预存的 P2P Svr 14信息, 并向 P2P Svr 14请求发布共享文件或进行文件下载。
WEB Svr 13 , 接收用户端请求 P2P Svr信息的请求, 向用户端返回 P2P Svrl4信息, 为 P2P Svr 14发来的用户的验证信息提供验证。
P2P Svr 14, 接收用户端发布共享文件的请求, 并对用户端发送的相关 信息进行验证; 接收用户端下载文件的请求, 并对用户端发送的相关信息 进行验证; 这里, 所述用户端发送的相关信息包括临时密码、 共享文件的 密钥 (KEY ) 以及验证信息, 其中验证信息通过 WEB Svr进行验证。
WEB会议控制模块 11 , 用于向 WEB Svr 13请求 P2P Svr 14的信息;
P2P客户端 12,用于向 P2P Svrl4发送发布共享文件或下载文件的请求, 并在请求通过验证后发布共享文件或进行文件下载;还用于将接收到的 P2P Svr 14信息通过 WEB会议控制模块 11显示给会议成员。
下面通过具体实施例来说明各部分的作用, 本实施例中, 以包含两个 用户端——用户端 A和用户端 B为例, 其中, 用户端 A要发布共享文件, 用户端 B要下载文件。
参照图 1所示结构, 多媒体会议过程中, 用户端 A要发布共享文件时, 用户端 A的 WEB会议控制模块 11向 WEB Svr 13请求其预存的 P2P Svr 14 的信息, 请求中携带有验证信息, 所述验证信息包括会议信息、 用户端 A 的身份信息等。 WEB Svr 13验证用户端 A的验证信息后, 向用户端 A的 WEB会议控制模块 11返回携带临时密码的 P2P Svr 14信息; WEB会议控 制模块 11将收到的 P2P Svr信息传送给用户端 A的 P2P客户端 12, P2P客 户端 12根据接收的 P2P Svr信息向 P2P Svr 14请求发布共享文件, 并携带 相关信息, P2P Svr 14验证临时密码是否正确, 密码不正确时, 向 P2P客户 端 12返回验证失败的信息; 密码正确时, P2P Svr 14通过 WEB Svr 13验证 用户端 A的验证信息是否正确。如果 WEB Svr 13返回验证不通过, P2P Svr 14拒绝用户端 A发布共享文件的请求, 流程结束。 反之, 如果验证通过, P2P Svr 14同意用户端 A发布共享文件的请求, 并记录此共享文件的发布 者、共享文件的 KEY以及用户端 A所参与的多媒体会议的会议标识等信息, 用户端 A的 P2P客户端 12发布共享文件。用户端 A的 WEB会议控制模块 11收到发布共享文件请求成功的结果后, 将用户端 A所要发布的共享文件 的 KEY通知其他用户端。
多媒体会议过程中, 用户端 B要下载文件时, 用户端 B的 WEB会议 控制模块 11向 WEB Svr 13请求其预存的 P2P Svr 14的信息, 请求中携带 自身的验证信息。 WEB Svr 13验证用户端 B的验证信息后, 向用户端 B的 WEB会议控制模块 11返回携带临时密码的 P2P Svr信息。用户端 B的 WEB 会议控制模块 11将 P2P Svr信息传送给自身的 P2P客户端 12,用户端 B的 P2P客户端 12根据接收的 P2P Svr信息向 P2P Svr 14提出下载请求, 请求 中携带相关信息。 P2P Svr 14验证临时密码是否正确, 密码不正确时, 向用 户端 B返回验证失败的信息,拒绝用户端 B下载文件,密码正确时, P2P Svr 14通过 WEB Svr 13验证用户端 B的险证信息,如果验证不通过, Ρ2Ρ Svr 14 返回给用户端 B的 P2P客户端 12险证失败的信息, 拒绝用户端 B下载文 件。 反之, 如果验证通过, P2P Svr 14验证共享文件的 KEY, 若共享文件 的 KEY验证失败, P2P Svr 14返回拒绝下载的信息给用户端 B, 若 KEY信 息验证通过,允许用户端 B进行下载。用户端 B开始下载共享文件到本地, 根据 P2P Svr 14的下载记录, 此共享文件可以从任意一个或者多个已经开 始下载或下载完毕的用户端处下载。 多媒体会议结束后, WEB Svr l3通知 P2P Svr 14某个多媒体会议已经结束, P2P Svr 14清理此多媒体会议的共享 文件信息。
本发明中, 所述临时密码可以根据需要设定有效时限, 比如 5秒, 5秒 内如果会议成员没有登录 P2P Svr, 那么密码将无效, 必须重新向 WEB Svr 获取 P2P Svr的信息。 出于安全考虑, 临时密码的生成可以根据任意已知的 方法产生。
共享文件的 KEY, 会议成员可以通过加密密钥的方式得出, 但不限于 这种方式, 只要达到需要下载的会议成员必须要有这个 KEY才可以通过验 证的目的即可。
基于以上系统, 第一用户请求共享文件时, 第一用户的用户端向服务 器发送发布共享文件请求并将自身信息发送给服务器进行验证, 验证通过 后, 通知第二用户的用户端; 第二用户请求下载文件时, 第二用户的用户 端向服务器发送下载文件请求, 并将自身信息发送给服务器进行验证, 验 证通过后, 第一用户的用户端与第二用户的用户端之间可以进行文件的共 享。 具体的, 本发明利用 P2P技术实现文件共享的方法如图 2所示, 包括 以下步骤:
步骤 201 , 第一用户需要进行文件共享时, 第一用户的用户端向 WEB Svr请求 P2P Svr的信息, 请求中携带自身的验证信息, 所述自身的验证信 息包括会议信息、 第一用户的身份信息等。
步骤 202 , WEB Svr根据验证信息对第一用户进行验证后, 将 P2P Svr 信息携带临时密码返回给第一用户的用户端, 第一用户的用户端向 P2P Svr 请求发布共享文件, 请求中附带相关信息, 所述相关信息包括要发布的共 享文件的 KEY、 临时密码、 自身的验证信息等;
P2P Svr验证临时密码是否正确, 如果临时密码不正确, 则执行步骤 203; 如果临时密码正确, 则 P2P Svr到 WEB Svr上对验证信息进行验证, 如果验证信息不正确, 则执行步骤 203 ; 反之, 执行步骤 204。
步骤 203 , 验证不通过, 拒绝用户发布共享文件的请求, 当前处理流程 结束。
步骤 204, P2P Svr允许第一用户发布共享文件, 向第一用户的用户端 返回允许共享文件的消息, 并记录共享文件发布者、 当前多媒体会议的会 议标识、 共享文件的 KEY, 第一用户的用户端发布共享文件并将共享文件 的 KEY发给第二用户的用户端;
当任意一个第二用户需要下载文件时, 第二用户的用户端向 WEB Svr 请求 P2P Svr的信息, 请求中携带自身的验证信息。
这里, 第二用户可以有多个, 只要是参与当前多媒体会议的会议成员 均可。
步骤 205 , WEB Svr根据验证信息对第二用户的用户端进行验证后,将 P2P Svr的信息附带临时密码返回给第二用户的用户端, 第二用户的用户端 向 P2P Svr请求下载文件, 请求中携带相关信息;
P2P Svr验证第二用户的用户端发送的临时密码, 如果临时密码不正 确 , 则执行步骤 206; 如果临时密码正确 , 则 P2P Svr通过 WEB Svr验证第 二用户的用户端发送的验证信息是否正确, 如果验证信息不正确, 则执行 步骤 206; 如果验证信息正确, 则 P2P Svr验证第二用户的用户端发送的 共享文件的 KEY, 如果共享文件的 KEY不正确, 执行步骤 206; 反之, 执 行步骤 207。
步骤 206, 验证不通过, 拒绝第二用户的用户端下载文件的请求, 当前 处理流程结束。
步骤 207, P2P Svr同意第二用户的用户端下载文件的请求, 向第二用 户的用户端返回允许下载的消息,第二用户根据 P2P Svr记录的所要下载的 文件的信息开始下载文件;
这里, 可以到任意一个或多个已经下载完成或正在下载的、 具有所需 共享文件的用户端处去下载, 以达到快速下载的目的。
步骤 208 , 多媒体会议结束后, WEB Svr通知 P2P Svr多媒体会议已结 束, P2P Svr清理此多媒体会议的共享文件信息。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种利用点对点 P2P技术实现文件共享的系统, 其特征在于, 该系 统包括万维网服务器 WEB Svr, 点对点服务器 P2P Svr以及一个以上用户 端;
用户端, 用于向 WEB Svr请求其预存的 P2P Svr信息, 并向 P2P Svr 请求发布共享文件或进行文件下载;
WEB Svr, 用于将 P2P Svr信息提供给用户端, 并对 P2P Svr发来的验 证信息进行验证;
P2P Svr, 用于对用户端发送的信息进行验证, 验证通过后, 允许用户 端发布共享文件或进行文件下载。
2、 根据权利要求 1所述的系统, 其特征在于, 所述用户端进一步包括 WEB会议控制模块和 P2P客户端; 其中,
WEB会议控制模块, 用于向 WEB Svr请求 P2P Svr信息并发送给 P2P 客户端;
P2P客户端, 用于根据接收的 P2P Svr信息向 P2P Svr发送发布共享文 件的请求或进行文件下载的请求, 并在请求通过验证后发布共享文件或进 行文件下载; 还用于将接收到的 P2P Svr返回信息发送给 WEB会议控制模 块显示。
3、根据权利要求 2所述的系统, 其特征在于, 所述 WEB Svr发送给用 户端的 P2P Svr信息附带有临时密码;
所述 P2P客户端向 P2P Svr请求进行文件共享或文件下载时附带相关信 息包括临时密码、 验证信息、 共享文件的密钥 KEY; 其中, 所述验证信息 包括当前多媒体会议的会议信息、 用户端的身份信息。
4、 根据权利要求 3所述的系统, 其特征在于,
P2P Svr, 用于接收 P2P Svr发送的进行文件共享的请求, 对临时密码 进行验证, 验证通过后, 将验证信息发送给 WEB Svr, 接收 WEB Svr发送 的验证通过的消息后, 向 P2P客户端返回允许共享文件的消息;
或者接收 P2P Svr发送的进行文件下载的请求, 对临时密码进行验证, 验证通过后, 将验证信息发送给 WEB Svr, 接收 WEB Svr发送的验证通过 的消息后, 对共享文件的 KEY进行险证, 3全证通过后, 向 P2P客户端返回 允许下载的消息;
WEB Svr, 用于对接收的 P2P Svr发送的验证信息进行验证, 验证通过 后, 向 P2P Svr回复险证通过的消息。
5、 根据权利要求 4所述的系统, 其特征在于,
所述 P2P客户端, 用于从任意一个或多个已经或正在下载的 P2P客户 端处下载文件。
6、 根据权利要求 1所述的系统, 其特征在于, 所述 WEB Svr与所述 P2P Svr分别独立实现, 或由同一台服务器实现。
7、一种利用 P2P技术实现文件共享的方法,其特征在于,该方法包括: 第一用户要发布共享文件时, 第一用户的用户端向 WEB Svr请求其预 存的 P2P Svr信息, WEB Svr验证第一用户的验证信息, 验证通过后, 第一 用户的用户端根据 WEB Svr返回的 P2P Svr信息向 P2P Svr请求发布共享文 件并携带相关信息, P2P Svr对相关信息进行验证; 验证通过后, 第一用户 的用户端将共享文件的 KEY通知第二用户的用户端并发布共享文件;
第二用户要下载文件时, 第二用户的用户端向 WEB Svr请求其预存的 P2P Svr信息, WEB Svr验证第二用户的验证信息, 验证通过后, 第二用户 的用户端根据 WEB Svr返回的 P2P Svr信息向 P2P Svr请求下载文件并携带 相关信息, P2P Svr对相关信息进行验证, 验证通过后, 第二用户的用户端 开始下载文件。
8、根据权利要求 7所述的方法, 其特征在于, 所述 WEB Svr返回给第 一用户的用户端或第二用户的用户端的 P2P Svr信息中附带有临时密码。
9、 根据权利要求 8所述的方法, 其特征在于, 第一用户要发布共享文 件时, 所述 P2P Svr对相关信息进行验证为: P2P Svr先对第一用户的临时 密码进行验证,验证通过后, P2P Svr通过 WEB Svr对第一用户的用户端发 送的验证信息进行验证, 验证通过后, 允许第一用户的用户端发布共享文 件, 并记录第一用户所参与的多媒体会议的会议标识、 共享文件发布者及 共享文件的 KEY;
第二用户要下载文件时,所述 P2P Svr对相关信息进行验证为: P2P Svr 先对第二用户的临时密码进行验证, 验证通过后, P2P Svr通过 WEB Svr 对第二用户的用户端发送的验证信息进行验证, 验证通过后, 再继续验证 共享文件的 KEY, 验证通过后返回允许下载的消息。
10、 根据权利要求 7所述的方法, 其特征在于, 所述第二用户的用户 端开始下载文件为: 从任意一个或多个已经下载完毕、 或正在下载的用户 处进行文件下载。
PCT/CN2010/073026 2009-09-21 2010-05-20 一种利用点对点技术实现文件共享的系统及方法 WO2011032393A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910093431.6 2009-09-21
CN2009100934316A CN101662496B (zh) 2009-09-21 2009-09-21 一种利用点对点技术实现文件共享的系统及方法

Publications (1)

Publication Number Publication Date
WO2011032393A1 true WO2011032393A1 (zh) 2011-03-24

Family

ID=41790281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073026 WO2011032393A1 (zh) 2009-09-21 2010-05-20 一种利用点对点技术实现文件共享的系统及方法

Country Status (2)

Country Link
CN (1) CN101662496B (zh)
WO (1) WO2011032393A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561000A (zh) * 2013-10-18 2014-02-05 北京奇虎科技有限公司 一种进行多媒体数据认证的方法、装置和浏览器
US9753888B2 (en) 2012-09-13 2017-09-05 Ricoh Company, Ltd. Information processing device and conference system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662496B (zh) * 2009-09-21 2013-04-03 中兴通讯股份有限公司 一种利用点对点技术实现文件共享的系统及方法
CN102378046A (zh) * 2010-08-13 2012-03-14 国基电子(上海)有限公司 服务器及利用其实现机顶盒影音节目共享的方法
CN102487390B (zh) * 2010-12-01 2015-05-20 中国电信股份有限公司 基于p2p技术实现大容量媒体流直播的系统及方法
CN102739701B (zh) * 2011-04-06 2016-05-25 中国电信股份有限公司 媒体流访问控制方法与对等流媒体系统
CN102957729B (zh) * 2011-08-26 2015-11-25 中国移动通信集团公司 一种多媒体会议音视频传输方法及设备
CN103559221B (zh) * 2013-10-18 2017-08-25 北京奇虎科技有限公司 一种进行多媒体数据处理的方法、装置和浏览器
CN111506551B (zh) * 2020-04-02 2024-04-02 深圳创维数字技术有限公司 一种会议文件的提取方法、系统和计算机设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713177A (zh) * 2004-06-24 2005-12-28 株式会社日立制作所 文件共享系统和客户端装置
US20060064383A1 (en) * 2004-09-20 2006-03-23 Aaron Marking Media on demand via peering
CN101068245A (zh) * 2007-03-30 2007-11-07 腾讯科技(深圳)有限公司 共享文件的发布、下载方法及文件共享可控系统
CN101132272A (zh) * 2006-08-23 2008-02-27 中国科学院计算技术研究所 一种同时支持分布式加密文件下载和使用的系统
CN101662496A (zh) * 2009-09-21 2010-03-03 中兴通讯股份有限公司 一种利用点对点技术实现文件共享的系统及方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769881B2 (en) * 2003-01-24 2010-08-03 Hitachi, Ltd. Method and apparatus for peer-to peer access

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713177A (zh) * 2004-06-24 2005-12-28 株式会社日立制作所 文件共享系统和客户端装置
US20060064383A1 (en) * 2004-09-20 2006-03-23 Aaron Marking Media on demand via peering
CN101132272A (zh) * 2006-08-23 2008-02-27 中国科学院计算技术研究所 一种同时支持分布式加密文件下载和使用的系统
CN101068245A (zh) * 2007-03-30 2007-11-07 腾讯科技(深圳)有限公司 共享文件的发布、下载方法及文件共享可控系统
CN101662496A (zh) * 2009-09-21 2010-03-03 中兴通讯股份有限公司 一种利用点对点技术实现文件共享的系统及方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9753888B2 (en) 2012-09-13 2017-09-05 Ricoh Company, Ltd. Information processing device and conference system
CN103561000A (zh) * 2013-10-18 2014-02-05 北京奇虎科技有限公司 一种进行多媒体数据认证的方法、装置和浏览器
CN103561000B (zh) * 2013-10-18 2016-09-28 北京奇虎科技有限公司 一种进行多媒体数据认证的方法、装置和浏览器

Also Published As

Publication number Publication date
CN101662496B (zh) 2013-04-03
CN101662496A (zh) 2010-03-03

Similar Documents

Publication Publication Date Title
WO2011032393A1 (zh) 一种利用点对点技术实现文件共享的系统及方法
CN110581854B (zh) 基于区块链的智能终端安全通信方法
US10027670B2 (en) Distributed authentication
TW202038221A (zh) 使用可信執行環境檢索區塊鏈網路的公開資料
US20090158394A1 (en) Super peer based peer-to-peer network system and peer authentication method thereof
US20080022104A1 (en) Method and system for managing network
JP5575922B2 (ja) マルチメディア通信システムにおけるセキュリティ保護された通信のための階層鍵管理
US20160373431A1 (en) Method to enroll a certificate to a device using scep and respective management application
JP2009508261A (ja) リモートリソースとの安全な対話型接続の生成
WO2008119273A1 (fr) Procédé pour libérer et télécharger un fichier, serveur de gestion, terminal et système
TW200810460A (en) Authentication of a principal in a federation
WO2010108354A1 (zh) 安全的web service访问方法和系统
JP2007293760A (ja) 個別認証を用いたシングルサインオン連携方法およびシステム
JP2009086802A (ja) 認証仲介方法およびシステム
JP2013517688A5 (zh)
TW200818834A (en) Secured communication channel between it administrators using network management software as the basis to manage networks
WO2011098660A9 (en) Method and apparatus for redirecting data traffic
JP2020177537A (ja) 認証認可サーバー、クライアント、サービス提供システム、アクセス管理方法とプログラム
US8650392B2 (en) Ticket authorization
TWI585699B (zh) 建立通訊事件
US20240064143A1 (en) Methods, mediums, and systems for verifying devices in an encrypted messaging system
JP2007115023A (ja) 情報共有システム、情報共有方法および情報共有プログラム
US11658955B1 (en) Methods, mediums, and systems for verifying devices in an encrypted messaging system
WO2022265945A1 (en) Methods, mediums, and systems for verifying devices in an encrypted messaging system
US20060031418A1 (en) Authenticating client-to-client communication

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: 10816597

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: 10816597

Country of ref document: EP

Kind code of ref document: A1