CN101098268A - P2P service method for network teaching - Google Patents

P2P service method for network teaching Download PDF

Info

Publication number
CN101098268A
CN101098268A CNA2006100866387A CN200610086638A CN101098268A CN 101098268 A CN101098268 A CN 101098268A CN A2006100866387 A CNA2006100866387 A CN A2006100866387A CN 200610086638 A CN200610086638 A CN 200610086638A CN 101098268 A CN101098268 A CN 101098268A
Authority
CN
China
Prior art keywords
server
client
servicing
web
customer end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2006100866387A
Other languages
Chinese (zh)
Inventor
林能敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNA2006100866387A priority Critical patent/CN101098268A/en
Publication of CN101098268A publication Critical patent/CN101098268A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a P2P service method of network teach for reducing the load on server, which uses P2P technique, mounts P2P software on server and client, and uses an index module of server to build a P2P connection between clients, to realize direct communication between clients. And the method comprises that client computer is started to access the server of a teach website via self user name, the index module of the server is registered with a share document provided by online clients, the client A sends request to the server, to search the document matched with the input mode, the index module searches preset document name in a database, and feedbacks the IP address/port of a client B which provides the document to the client A, the client A builds P2P connection according to the feedback IP address/port of the client B, and inform the client B to send document. The invention can reduce the load of data transmission on server.

Description

The P2P method of servicing of the Web-based instruction
Technical field
The present invention relates to the method for the Web-based instruction, refer to a kind of P2P method of servicing that alleviates the Web-based instruction of server end burden especially.
Background technology
Because computer is highly universal, the user of internet also is significantly growth, it forms the surprising consumption group of another number of members, also thereby cause the various industries huge business opportunity that goes up network mutually and implied simultaneously, except that general so-called e-commerce initiative, the Web-based instruction also is one of positive project that gets involved of relevant dealer, network is for teaching, advantage is a transmission medium fast and easily, as long as there is computer to connect to network, need not gos out and can carry out online teaching, even so, still be difficult to cover up shortcoming and the problem that the existing Web-based instruction exists, common, the restriction of bandwidth is the key that influences transmission speed.
Point-to-point (P2P, Peer to Peer) interconnection technique is being widely used in the download of transfer of data and data on the internet.Networking diagram as shown in Figure 1, in general, client behind logon server, obtain the address information of the side's of being connected client after, just can initiate P2P and connect to the side's of being connected client.P2P is also referred to as the peer layer communication, and it means that all terminals that are connected on the network all can share data, ancillary equipment etc. on a 50-50 basis.
Data downloading process below by BT (BitTorrent) software is realized illustrates that process is set up in the connection of P2P.
BT software is the software of a P2P mode file in download, realized in a client (Peer) in data download, the function of data upload also is provided for other Peer, thereby realizes to transmit oneself data downloaded mutually between each BT client.With PeerA is example, uses BT software when realizing that data are downloaded, and may further comprise the steps:
The BT client of step 201:Peer A is obtained the information of suffix torrent by name in advance from network, this torrent information stores has server (Tracker) address that the BT download service is provided; The BT client of Peer A is according to torrent message reference Tracker then, and the information such as address, download demand of uploading oneself are given Tracker;
Step 202-203:Tracker corresponds to client side list (Peerlist) according to this download content of Peer A request, takes this Peerlist storehouse of certain strategy retrieval then, chooses several Peer information and sends to Peer A; Wherein, the Peer information of choosing comprises provides data Peer that downloads and the Peer that needs data upload;
After step 204~205:Peer A receives, take certain strategy, choose the Peer that can download and directly initiate the Transmission Control Protocol connection request to this Peer, the P2P that is established to this Peer connects, and the beginning data download; On the other hand, choose the Peer that needs data upload, directly initiate the TCP connection request to this Peer, the P2P that is established to this Peer connects, and begins to upload data;
Step 206:PeerA periodically to Tracker report upload, information such as downloading rate, result: to obtain the Peerlist of real-time update.
How combine p2p technology and website teaching problem demanding prompt solution just.
Summary of the invention
The applicant wishes to solve data transfer rate by the p2p technology being introduced the website teaching, and therefore, main purpose of the present invention is at the P2P method of servicing of the Web-based instruction that a kind of burden that alleviates server end is provided.
For reaching aforementioned purpose, the P2P method of servicing of the Web-based instruction provided by the invention utilizes the P2P technology, P2P software is installed on the server and client side, between client, is set up a kind of P2P by the index module on the server and connect, realize the direct communication between the client.
The step of this method comprises:
1) after the client computer start, login the server of teaching website with oneself user name, registering in the index module of this server has the available shared file of on-line client;
2) customer end A is sent application to server, searches the file that is complementary with certain input pattern;
3) the server index module is searched for given filename in database, and will provide the IP address of the customer end B of this document to return to customer end A;
4) customer end A is set up the P2P connection according to the IP address of the customer end B of returning, and the notice customer end B begins to send file;
Described file can be text, audio file or video file.
As a kind of improvement of the present invention, this method also further comprises:
5) after customer end A is downloaded and finished, register resulting shared file to the server index module.
As another improvement of the present invention, after the client start, whether connect specific authentication key on the automatic inspection interface port, then open the webpage of logining of teaching website automatically if any the authentication key, whether whether the data by the server inspection of teaching website authentication key are correct again, grant with decision and login; Described authentication key is connected with user's computer by a certain criteria interface with example, in hardware; Described standard interface refers to USB interface.
As a preferred embodiment of the present invention, described P2P software is BT software.
The invention has the advantages that the present invention adopts the P2P network in the Web-based instruction, this P2P network is convenient to location and swap file (typical image, audio or video) between the large numbers of isolated users that connect by the internet.In these systems, file is stored on the computer of isolated user or peer-to-peer, and by exchanging in the direct connection of downloading and upload between the peer-to-peer, all peer-to-peers in this system are symmetrical via the agreement of HTTP form: they all have not only as client computer but also as the ability of server capability.This symmetry is different from many traditional distributed system architecture with the P2P system, has alleviated the pressure of the transmission data of server end greatly.
Description of drawings
Fig. 1 is the networking diagram of the P2P technology of prior art;
Fig. 2 is the system schematic of the embodiment of the invention;
Fig. 3 is the flow chart of the embodiment of the invention.
The accompanying drawing sign
10, the webserver 20, user's computer 30, authentication key
Embodiment
As shown in Figure 2, the system architecture during for the invention process mainly provides a teaching website by a webserver 10, for the specific quantity student does not pass through user's computer 20, internet (INTERNET) is connected with this webserver 10; Wherein, whether user's computer 20 is got permission to login the teaching website that the webserver 10 provides and is carried out online teaching, all by whether connecting the authentication key 30 that a teaching website dealer provides on the interface port of checking user's computer 20, this authentication key 30 has uniqueness, to guarantee that a key one people uses, in present embodiment, this authentication key 30 is to be connected with user's computer 20 by USB interface.
In the present embodiment,, P2P software at first is installed on the server and client side, in this example, what specifically adopt is BT software.As shown in Figure 3, the step of the P2P method of servicing of the Web-based instruction of the present invention comprises:
1) after the client computer start, login the server of teaching website with oneself user name, registering in the index module of this server has the available shared file of on-line client, comprises text, audio file or video file;
2) customer end A is sent application to server, searches the file that is complementary with certain input pattern;
3) the server index module is searched for given filename in database, and will provide the IP address of the customer end B of this document to return to customer end A;
4) customer end A is set up the P2P connection according to the IP address of the customer end B of returning, and the notice customer end B begins to send file;
5) after customer end A is downloaded and finished, register resulting shared file to the server index module.
The present invention adopts the P2P network in the Web-based instruction, utilize the symmetry of P2P network to alleviate the pressure of the transmission data of server end.By above-mentioned explanation, many feature and advantage of the present invention are obvious, and therefore, cover all these feature and advantage of the present invention that fall in true spirit of the present invention and the scope by additional claim intention.In addition, owing to can easily carry out multiple modification and change for those of ordinary skill in the art, therefore, all suitable modifications and equivalent can not resort to and fall within the scope of the present invention.

Claims (8)

1, a kind of P2P method of servicing of the Web-based instruction, it is characterized in that this method is utilized the P2P technology, P2P software is installed on the server and client side, between client, set up a kind of P2P by the index module on the server and connect, realize the direct communication between the client.
2, the P2P method of servicing of the Web-based instruction according to claim 1 is characterized in that, the step of this method comprises:
After the client computer start, login the server of teaching website with oneself user name, registering in the index module of this server has the available shared file of on-line client;
Customer end A is sent application to server, searches the file that is complementary with certain input pattern;
The server index module is searched for given filename in database, and will provide the IP address of the customer end B of this document to return to customer end A;
Customer end A is set up P2P according to the IP address of the customer end B of returning and is connected, and the notice customer end B begins to send file.
3, the P2P method of servicing of the Web-based instruction according to claim 2 is characterized in that, this method also further comprises:
Customer end A is registered resulting shared file to the server index module after downloading and finishing.
4, according to the P2P method of servicing of each described Web-based instruction in the claim 1~3, it is characterized in that, after the client start, whether connect specific authentication key on the automatic inspection interface port, then open the webpage of logining of teaching website automatically if any the authentication key, whether whether the data by the server inspection of teaching website authentication key are correct again, grant with decision and login.
5, the P2P method of servicing of the Web-based instruction according to claim 4 is characterized in that, described authentication key is connected with user's computer by a certain criteria interface with example, in hardware.
6, the P2P method of servicing of the Web-based instruction according to claim 5 is characterized in that, described standard interface refers to USB interface.
According to the P2P method of servicing of the claim 2 or the 3 described Web-based instructions, it is characterized in that 7, described file can be text, audio file or video file.
According to the P2P method of servicing of each described Web-based instruction in the claim 1~3, it is characterized in that 8, described P2P software is BT software.
CNA2006100866387A 2006-06-26 2006-06-26 P2P service method for network teaching Pending CN101098268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100866387A CN101098268A (en) 2006-06-26 2006-06-26 P2P service method for network teaching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100866387A CN101098268A (en) 2006-06-26 2006-06-26 P2P service method for network teaching

Publications (1)

Publication Number Publication Date
CN101098268A true CN101098268A (en) 2008-01-02

Family

ID=39011802

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006100866387A Pending CN101098268A (en) 2006-06-26 2006-06-26 P2P service method for network teaching

Country Status (1)

Country Link
CN (1) CN101098268A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877722A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Electronic program guide (EPG) system and file downloading method
CN102685152A (en) * 2011-03-06 2012-09-19 厦门网尚信息技术有限公司 P2P (peer-to-peer)-based network teaching mass platform and implementation method thereof
CN103974136A (en) * 2013-02-04 2014-08-06 周成 Method for WEB server and browser to collaboratively manage far-end video server
CN104980814A (en) * 2014-04-03 2015-10-14 南京汇智明华信息科技有限公司 Player engine suitable for high definition distortionless videos
CN109040258A (en) * 2018-08-09 2018-12-18 中国联合网络通信集团有限公司 A kind of data processing method and device based on privately owned seed file

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877722A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Electronic program guide (EPG) system and file downloading method
WO2011160549A1 (en) * 2010-06-22 2011-12-29 中兴通讯股份有限公司 Electronic program guide system and file downloading method
CN102685152A (en) * 2011-03-06 2012-09-19 厦门网尚信息技术有限公司 P2P (peer-to-peer)-based network teaching mass platform and implementation method thereof
CN103974136A (en) * 2013-02-04 2014-08-06 周成 Method for WEB server and browser to collaboratively manage far-end video server
CN103974136B (en) * 2013-02-04 2017-06-06 周成 The method of WEB server and browser coordinated management far-end video server
CN104980814A (en) * 2014-04-03 2015-10-14 南京汇智明华信息科技有限公司 Player engine suitable for high definition distortionless videos
CN109040258A (en) * 2018-08-09 2018-12-18 中国联合网络通信集团有限公司 A kind of data processing method and device based on privately owned seed file

Similar Documents

Publication Publication Date Title
US11716435B2 (en) System and method for selectively sending, delivery and receiving of faxes
JP4975831B2 (en) Remote data access technology for portable devices
CN101542461B (en) Virtual peer for a content sharing system
US8631091B2 (en) Content distribution network using a web browser and locally stored content to directly exchange content between users
US8280985B2 (en) Serving content from an off-line peer server in a photosharing peer-to-peer network in response to a guest request
US20070016680A1 (en) Method and system for proxy-based file sharing
CN100407627C (en) Method and system for realizing end-to-end data sharing
US20140280859A1 (en) Sharing control system and method for network resources download information
CN101355591A (en) P2P network and scheduling method thereof
CN101635737A (en) Downloading method, system, P2P server and client
CN1622549A (en) Method and apparatus for sharing applications using p2p protocol
CN101039309A (en) Link sharing service apparatus and communication method thereof
CN101098268A (en) P2P service method for network teaching
US8583793B2 (en) System and method for providing a hypertext transfer protocol service multiplexer
US20140143339A1 (en) Method, apparatus, and system for resource sharing
US7882095B2 (en) Resource locators for widely distributed systems
KR100823730B1 (en) Method and apparatus for providing streaming service based on P2P, and streaming service system using the same
CN105553978A (en) Belt conveyor visualization auxiliary maintenance system and interaction process of streaming media
CN101039250A (en) Image sharing system and method
CN1433545A (en) Method and apparatus for anonymous subiject-based addressing
KR101857020B1 (en) Apparatas and method for managing service of providing server in a terminal
EP2309390B1 (en) Data distribution system
EP2351254B1 (en) Method and apparatus for receiving data by using peer-to-peer portal server
EP2634998A1 (en) Method and system for downloading real-time streaming media in peer-to-peer network
US8301781B1 (en) Methods and systems for browser file transfer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Wang Yuzhu

Document name: Notification of Publication of the Application for Invention

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Wang Yuzhu

Document name: Notification before expiration of term

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Wang Yuzhu

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20080102