CN101872556A - Method for realizing p2p-based remote video education on webpage - Google Patents

Method for realizing p2p-based remote video education on webpage Download PDF

Info

Publication number
CN101872556A
CN101872556A CN 201010223711 CN201010223711A CN101872556A CN 101872556 A CN101872556 A CN 101872556A CN 201010223711 CN201010223711 CN 201010223711 CN 201010223711 A CN201010223711 A CN 201010223711A CN 101872556 A CN101872556 A CN 101872556A
Authority
CN
China
Prior art keywords
video
flash
users
audio
user
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
CN 201010223711
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology Co Ltd
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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN 201010223711 priority Critical patent/CN101872556A/en
Priority to PCT/CN2010/076454 priority patent/WO2012000222A1/en
Publication of CN101872556A publication Critical patent/CN101872556A/en
Priority to CN 201110059920 priority patent/CN102316142B/en
Pending legal-status Critical Current

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method for realizing p2p-based remote video education on a webpage, and belongs to the technical field of networks. The method comprises that: a lecturer and participants open the webpage, and load flash to connect a p2p server; the p2p server allocates a key to all users; the flash sends the key and account number of the users to a session server for storage; the lecturer establishes direct connection with a plurality of users in all the users through the key, and sends audio and video to the users; and the plurality of users send the audio and video to other users in the same mode until all the users receive the audio and video. The method can realize p2p-based remote video education and network video conferences on the webpage, directly establishes connection between the lecturer and the participants, and lightens the bandwidth pressure of the server so as to improve the network communication efficiency and network utilization rate.

Description

The method that realizes on a kind of webpage based on the remote video education of p2p
Technical field
The invention belongs to networking technology area, specifically belong to the method that realizes on a kind of webpage based on the remote video education of p2p.
Background technology
The development of Internet technology can be stayed indoors us and has just been realized instant messaging, with good friend's chat, with affiliate's negotiation or the like.At present, the immediate communication tool that downloads and installs based on needs is as MSN, QQ, POPO has been subjected to everybody liking deeply, and it provides new approach for people's communication, information interchange, is another the important information interchange mode except that mobile phone, fixed line, Email.By these instruments, the user can realize single or many people video, can hold the network teleconference, can carry out network remote education, can also allow the interchange cost between people and the people reduce greatly, and improve efficient.But, use above-mentioned IMU tool user must download and install correspondent customer terminal software, if software has upgrading, each computer all needs upgrade software; And, all data messages (such as chat record etc.) all be retained in the computer terminal, just can't obtain legacy data information in case changed computer, very inconvenience.So people have just had such demand: need not to download and install any software, can realize instant messaging once opening webpage, and all data messages can be safely stored on the webpage.At present, also occurred the communication modes on some webpages on the network, such as message board, forum etc., still, its common deficiency is that instantaneity is too poor, can't realize webpage version audio frequency and video, is difficult to satisfy the instant demand of linking up of people.Even some software has also been realized just can realizing remote video education (as fms or red5) without down loading mounting software on webpage now, but but can not realize point-to-point video communication well, can't utilize user's bandwidth resources, cause very big server and bandwidth pressure for remote video education platform provider, cause operation cost sharply to rise along with the increase of number of users, thereby the operation scale and the scope of business of these softwares have been limited, do not possess the condition of using and promoting on a large scale, to such an extent as to the product and the company of certain market scale do not appear possessing in present webpage version remote video education.The present invention proposes that a kind of what realize is the method for point-to-point remote video education based on p2p on webpage, can realize that client do not download under the situation with high instantaneity, maximally utilise the bandwidth resources that the user leaves unused and carry out the audio-video network meeting, this will greatly make things convenient for the use of Web conference and greatly reduce and dispose the hardware and software cost that remote video education need drop into.
Summary of the invention
Technical matters to be solved by this invention is: the method based on the remote video education of p2p that realizes on a kind of webpage is provided.
In order to solve the problems of the technologies described above, the present invention adopts following technical scheme: the method based on the remote video education of p2p that realizes on a kind of webpage may further comprise the steps:
1) user opens webpage, loads a flash, and flash connects the stratus server, obtains key, and key and user's number of the account is saved in conversation server;
2) all users that participate in imparting knowledge to students are saved in an array variable p;
3) flash on lecturer's browser obtains n in the array variable (n is a variable, and less than array length) individual user a (for convenience, a here is set to this n user's another name);
4) search and obtain the pairing key of a from conversation server, initiate connection request to a of key correspondence by the method for calling flash;
5) after a receives connection requests, notify the flash on lecturer's browser, the flash on lecturer's browser begins to obtain the camera and the microphone of lecturer this locality, and the audio, video data of camera and microphone is sent to a;
6) after a receives audio, video data, audio frequency and video are play in flash, and from array variable p, find out also do not have audio frequency and video n user b (for convenience, the b here is set to not have n user's of audio frequency and video another name), if the number of b is 0, then execution in step 9), otherwise carry out next step;
7) a searches and obtains the pairing key of b from conversation server respectively, initiates connection request by the method for calling flash to the b of key correspondence;
8) after b receives connection request, the flash on the notice a browser, the flash on a browser sends to b with audio, video data, and b receives behind the audio, video data and plays on the flash in the browser of b;
9) if also have the user to confiscate audio, video data among the p, then represent b with a, and continue to obtain and also confiscate n user in the audio, video data (another name is set is b) among user's array variable p, execution in step 7 then), if all users have received audio, video data among the p, then begin remote video education.
Wherein conversation server is meant described in the step 1): be used for preserving the server of the data of user's number of the account and key, described stratus server is meant: flash official provides is used for the p2p communication, distributes key to give the server of flash client.
The present invention compared with prior art has the following advantages:
(1) user need not download any software and just can realize remote video education on webpage, has saved the hardware cost of buying remote video education, has also reduced the software maintenance cost simultaneously, and integral body has reduced the use cost of remote video education;
(2) instantaneity is fine, does not have to lag behind;
(3) cross-platform, may operate on any operating system that can support browser;
(4) owing to adopted the p2p technology, can alleviate server stress and conserve bandwidth greatly, cut operating costs significantly.
Description of drawings
Fig. 1, Fig. 2 are detail flowcharts of the present invention in the Figure of description.
Embodiment
The method based on the remote video education of p2p that realizes on a kind of webpage may further comprise the steps:
1) user opens webpage, loads a flash, and flash connects the stratus server, obtains key, and key and user's number of the account is saved in conversation server;
2) all users that participate in imparting knowledge to students are saved in an array variable p;
3) flash on lecturer's browser obtains n in the array variable (n is a variable, and less than array length) individual user a (for convenience, a here is set to this n user's another name);
4) search and obtain the pairing key of a from conversation server, initiate connection request to a of key correspondence by the method for calling flash;
5) after a receives connection requests, notify the flash on lecturer's browser, the flash on lecturer's browser begins to obtain the camera and the microphone of lecturer this locality, and the audio, video data of camera and microphone is sent to a;
6) after a receives audio, video data, audio frequency and video are play in flash, and from array variable p, find out also do not have audio frequency and video n user b (for convenience, the b here is set to not have n user's of audio frequency and video another name), if the number of b is 0, then execution in step 9), otherwise carry out next step;
7) a searches and obtains the pairing key of b from conversation server respectively, initiates connection request by method and the key that calls flash to the b of key correspondence;
8) after b receives connection request, the flash on the notice a browser, the flash on a browser sends to b with audio, video data, and b receives behind the audio, video data and plays on the flash in the browser of b;
9) if also have the user to confiscate audio, video data among the p, then represent b with a, and continue to obtain and also confiscate n user in the audio, video data (another name is set is b) among user's array variable p, execution in step 7 then), if all users have received audio, video data among the p, then begin remote video education.
Further describe method of the present invention below:
Referring to Fig. 1, Fig. 2 in the Figure of description, wherein shown in Figure 1, be that variate-value n value is 2 situation; Wherein Fig. 2 has described an idiographic flow of realizing according to Fig. 1.The lecturer and the people that listens to the teacher open webpage, load flash, and flash connects the p2p server, and the key of p2p server-assignment communication gives all users, and flash sends to conversation server with key and user's number of the account and preserves this key and user account.The lecturer obtains the key of a plurality of users all users by flash from conversation server, and it is direct-connected to set up p2p, then audio frequency and video is sent these users.These users use the same method audio frequency and video are sent to other a plurality of users that also do not receive audio frequency and video, constantly send to other a plurality of users from a plurality of users, till all users receive audio frequency and video.

Claims (3)

1. the method based on the remote video education of p2p that realizes on the webpage may further comprise the steps:
1) user opens webpage, loads a flash, and flash connects the stratus server, obtains key, and key and user's number of the account is saved in conversation server;
2) all users that participate in imparting knowledge to students are saved in an array variable p;
3) flash on lecturer's browser obtains n in the array variable (n is a variable, and less than array length) individual user a (for convenience, a here is set to this n user's another name);
4) search and obtain the pairing key of a from conversation server, initiate connection request to a of key correspondence by the method for calling flash;
5) after a receives connection requests, notify the flash on lecturer's browser, the flash on lecturer's browser begins to obtain the camera and the microphone of lecturer this locality, and the audio, video data of camera and microphone is sent to a;
6) after a receives audio, video data, audio frequency and video are play in flash, and from array variable p, find out also do not have audio frequency and video n user b (for convenience, the b here is set to not have n user's of audio frequency and video another name), if the number of b is 0, then execution in step 9), otherwise carry out next step;
7) a searches and obtains the pairing key of b from conversation server respectively, initiates connection request by the method for calling flash to the b of key correspondence;
8) after b receives connection request, the flash on the notice a browser, the flash on a browser sends to b with audio, video data, and b receives behind the audio, video data and plays on the flash in the browser of b;
9) if also have the user to confiscate audio, video data among the p, then represent b with a, and continue to obtain and also confiscate n user in the audio, video data (another name is set is b) among user's array variable p, execution in step 7 then), if all users have received audio, video data among the p, then begin remote video education.
2. the method that realizes on a kind of webpage as claimed in claim 1 based on the remote video education of p2p, it is characterized in that: wherein conversation server is meant described in the step 1): the server that is used for preserving the data of user's number of the account and key, described stratus server is meant: flash official provides is used for the p2p communication, distributes key to give the server of flash client.
3. the method that realizes on a kind of webpage as claimed in claim 1 based on the remote video education of p2p, it is characterized in that: the lecturer sends to a plurality of users among all users with audio frequency and video, a plurality of users send to audio frequency and video a plurality of users that also do not receive audio frequency and video again, constantly repeatedly send to other a plurality of users, till all users receive audio frequency and video from a plurality of users.
CN 201010223711 2010-07-02 2010-07-02 Method for realizing p2p-based remote video education on webpage Pending CN101872556A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN 201010223711 CN101872556A (en) 2010-07-02 2010-07-02 Method for realizing p2p-based remote video education on webpage
PCT/CN2010/076454 WO2012000222A1 (en) 2010-07-02 2010-08-30 Method for p2p-based remote video education implemented on webpage
CN 201110059920 CN102316142B (en) 2010-07-02 2011-03-14 Method for realizing p2p-based remote video education

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010223711 CN101872556A (en) 2010-07-02 2010-07-02 Method for realizing p2p-based remote video education on webpage

Publications (1)

Publication Number Publication Date
CN101872556A true CN101872556A (en) 2010-10-27

Family

ID=42997387

Family Applications (2)

Application Number Title Priority Date Filing Date
CN 201010223711 Pending CN101872556A (en) 2010-07-02 2010-07-02 Method for realizing p2p-based remote video education on webpage
CN 201110059920 Expired - Fee Related CN102316142B (en) 2010-07-02 2011-03-14 Method for realizing p2p-based remote video education

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN 201110059920 Expired - Fee Related CN102316142B (en) 2010-07-02 2011-03-14 Method for realizing p2p-based remote video education

Country Status (2)

Country Link
CN (2) CN101872556A (en)
WO (1) WO2012000222A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164041A (en) * 2011-04-26 2011-08-24 苏州阔地网络科技有限公司 Webpage-based netmeeting method and system
CN103905779A (en) * 2012-12-25 2014-07-02 中国电信股份有限公司 Video conference holding method and system and server

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270598A (en) * 2014-09-22 2015-01-07 深圳市邦彦信息技术有限公司 Video session method and system used for pushing video to designated members
CN107318128B (en) * 2017-06-26 2020-05-08 长沙中天电子设计开发有限公司 Wireless communication optimization method, device, storage medium and computer equipment thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100493091C (en) * 2006-03-10 2009-05-27 清华大学 Flow-media direct-broadcasting P2P network method based on conversation initialization protocol
CN101207805A (en) * 2006-12-20 2008-06-25 北京汉辰科技有限公司 Method and system for transmitting flow media by P2P set-top box technique
CN101355468B (en) * 2007-07-23 2011-03-16 中国科学院声学研究所 Method for publishing P2P stream medium information
US8340272B2 (en) * 2008-05-14 2012-12-25 Polycom, Inc. Method and system for initiating a conference based on the proximity of a portable communication device
CN101291241A (en) * 2008-06-23 2008-10-22 北京国际汉语学院 Real-time audio and video meeting implementing method by browser combined with P2P transmission mode
CN101883150A (en) * 2010-07-02 2010-11-10 苏州阔地网络科技有限公司 Method for realizing p2p technique-based network meeting on web page

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164041A (en) * 2011-04-26 2011-08-24 苏州阔地网络科技有限公司 Webpage-based netmeeting method and system
CN103905779A (en) * 2012-12-25 2014-07-02 中国电信股份有限公司 Video conference holding method and system and server
CN103905779B (en) * 2012-12-25 2018-04-03 中国电信股份有限公司 Method, system and server are held in video conference

Also Published As

Publication number Publication date
CN102316142B (en) 2013-08-14
WO2012000222A1 (en) 2012-01-05
CN102316142A (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CN102625080B (en) P2P-based WEB video conference system
CN102316149A (en) P2p (peer-to-peer) video communication method
CN103874019B (en) Voice interactive method and device
CN101883058A (en) General method for realizing group communication on webpage
CN102316049A (en) Method for automatically receiving group message
CN102307105A (en) Method for initiating conference by group
CN102238284A (en) Instant messaging method for mobile phone
CN1976322A (en) Method and system for realizing multimedia immediate communicating and control flow
CN102316142B (en) Method for realizing p2p-based remote video education
CN102315949A (en) Method for realizing p2p technology-based network conference
CN103248615A (en) Implementation method, terminal, server and system of interconnection game
CN103346953A (en) Method, device and system for group communication data interaction
CN103401854A (en) Social network service-based television content sharing method
CN101141717A (en) File download method between multiple handhold equipments based on wireless communication
CN102185701A (en) Method and system for realizing group information interaction
CN101686212A (en) Method enabling interoperable communication between real and virtual communities
US20090074162A1 (en) Method for integrating marketing with a communications system
CN103905483A (en) Audio and video sharing method, equipment and system
CN103347001A (en) Novel serverless mobile terminal conference demonstration method
CN102611697B (en) For noticing the method and apparatus that meeting is attended to change with multilingual
CN102480461A (en) Method and system for realizing long-distance collaboration application
CN102244843B (en) Client setting incoming call looks the method for bell and sharing video frequency
WO2012163224A1 (en) Method and system for switching between instant messaging and web conferencing mode
CN102316143A (en) Method for achieving multipath audio/video communication
CN102316147A (en) Method for viewing audios and videos of other people

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20101027