Movatterモバイル変換


[0]ホーム

URL:


CN102932243A - Method for implementing webpage-based video chatting - Google Patents

Method for implementing webpage-based video chatting
Download PDF

Info

Publication number
CN102932243A
CN102932243ACN2012104889203ACN201210488920ACN102932243ACN 102932243 ACN102932243 ACN 102932243ACN 2012104889203 ACN2012104889203 ACN 2012104889203ACN 201210488920 ACN201210488920 ACN 201210488920ACN 102932243 ACN102932243 ACN 102932243A
Authority
CN
China
Prior art keywords
user
video
server
browser
chat
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
CN2012104889203A
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.)
HANGZHOU YEYAOMAI ELECTRONIC BUSINESS CO Ltd
Original Assignee
HANGZHOU YEYAOMAI ELECTRONIC BUSINESS 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 HANGZHOU YEYAOMAI ELECTRONIC BUSINESS CO LtdfiledCriticalHANGZHOU YEYAOMAI ELECTRONIC BUSINESS CO Ltd
Priority to CN2012104889203ApriorityCriticalpatent/CN102932243A/en
Publication of CN102932243ApublicationCriticalpatent/CN102932243A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The invention discloses a method for implementing webpage-based video chatting, which comprises a method of implementing webpage-based video chatting between a user and a designated user and a method of implementing webpage-based video chatting between the user and a random user. Compared with the prior art, by adopting the method, specific chatting software does not need to be used, and video chatting can be implemented only through interaction between a browser and a server, consumption of large system resource is not needed, user use efficiency is unaffected, chatting security is ensured, and the use is more convenient; andmoreover, according to the invention, video chatting between the user and the random user is implemented by creating two video queues, which can not be implemented by the existing chatting method, and the enjoyment of user video chatting is enhanced. According to the invention, after video chatting is completed, user video stream information is destroyed, which protects the privacy of the user.

Description

A kind of method that realizes based on the Video chat of webpage
Technical field
The present invention relates to a kind of method of Video chat, relate in particular to a kind of method that realizes based on the Video chat of webpage.
Background technology
Video chat is professional, is the communications field a kind of business newly developed, and it is a kind of business of utilizing communication network to realize two people or the visual chat of many people, and Video chat can be regarded as text chat and the integrated and expansion of voice-enabled chat on video.Therefore, Video chat is a kind of interactively instant messaging in essence.Compare with traditional means of communication, relativity of information is larger, shows abundantlyer, has more affinity and more presses close to human natural communicative mode.
At present, Video chat can carry out on the internet, generally chat by the camera and the special-purpose chat software (such as QQ, the Hi of Baidu, Wang Wang etc.) that are installed on the PC, but this chat all is based on specific chat software and can only be for designated user (such as the good friend, group members etc.), consume more system resource, affect user's service efficiency, the chat fail safe can not guarantee, and not have the at random function of Video chat.
Summary of the invention
The object of the invention is to, a kind of method that realizes based on the Video chat of webpage is provided.The method need not to consume than multi-system resource, does not affect user's service efficiency, guarantees the fail safe of chat, can make the user only just realize Video chat on the Internet by browser, and can realize between the user at random Video chat.
For solving the problems of the technologies described above, technical scheme provided by the invention is as follows: a kind ofly realize the method based on the Video chat of webpage: comprise and realize that user and designated user are based on the method for the Video chat of webpage and realization user and the random user method based on the Video chat of webpage.
In the method for aforesaid realization based on the Video chat of webpage, described realization user and designated user are specially based on the method for the Video chat of webpage:
Described realization user and designated user are specially based on the method for the Video chat of webpage:
A. user's browser starts user's camera and microphone, then sends the request of Video chat to designated user;
B. after the browser of designated user receives the request and agreement of Video chat, start camera and the microphone of designated user, and send agreement information to user's browser, then send a request of issuing video flowing to server by the rtmp agreement;
C. after user's browser receives agreement information, send the request of an issue video flowing to server by the rtmp agreement;
D. after server receives the request of issue video flowing of user and designated user, be that two usefulness generate a unique video flowing indications (Vid) per family, the long-chain that then all forms a server and browser connects;
E. the browser of user's browser and designated user sends to server by connecing the Video stream information that will get access to by camera separately with the long-chain of server separately;
F. user's browser and designated user browser are finished the connection of Video chat by the mutual Video stream information of subscribing to each other of video flowing indications (Vid);
G. after Video chat finishes, the Video stream information that server destruction user and designated user are preserved at server.
In the method for aforesaid realization based on the Video chat of webpage, described realization user and random user are specially based on the method for the Video chat of webpage:
A. need to start with the user's of random user Video chat browser user's camera and microphone, then send the request of an issue video flowing to server by the rtmp agreement;
B. after server receives user's the request of issue video flowing, the long-chain that forms between a server and the user browser connects, then server connects by long-chain and preserves the Video stream information that the user gets access to by camera, and generates the Video stream information that a unique video flowing indications (Vid) identifies this user and this user in server;
C. after the long-chain of server and browser connects above two, server creates two video queue C1 and C2, the video flowing indications with the user of random user Video chat is deposited in the C1 formation, and the C2 formation is deposited and waited for the video flowing indications that participates in the user of random user Video chat;
D. server is chosen two users' video flowing indications Vid1 and Vid2 at random from the C2 formation, then the video flowing indications is turned back to user browser, user browser is subscribed to the other side in the Video stream information that is kept on the server according to the video flowing indications, then the device of being engaged in is put into the C1 formation with Vid1 and Vid2, finishes the connection of Video chat;
E. after Video chat finishes, the Video stream information that server destruction Vid1 and Vid2 representative user preserve at server.
Compared with prior art, the present invention need not to use particular chat software, only can realize Video chat by browser with just exchanging of server, need not to consume than multi-system resource, does not affect user's service efficiency, guarantees the fail safe of chat, uses convenient; And the present invention has realized Video chat between user and the random user by creating two video queue, is that existing chat method is not available, has increased the interest of user video chat.The present invention can destroy user's Video stream information after Video chat finishes, protected user's privacy.
The present invention is further illustrated below in conjunction with embodiment, but not as the foundation to the present invention's restriction.
Embodiment.
A kind ofly realize the method based on the Video chat of webpage: comprise and realize that user and designated user are based on the method for the Video chat of webpage and realization user and the random user method based on the Video chat of webpage.
Realize that user and designated user based on the method for the Video chat of webpage, are specially:
A. user's browser starts user's camera and microphone, then sends the request of Video chat to designated user;
B. after the browser of designated user receives the request and agreement of Video chat, start camera and the microphone of designated user, and send agreement information to user's browser, then send a request of issuing video flowing to server by the rtmp agreement;
C. after user's browser receives agreement information, send the request of an issue video flowing to server by the rtmp agreement;
D. after server receives the request of issue video flowing of user and designated user, be that two usefulness generate a unique video flowing indications per family, the long-chain that then all forms a server and browser connects;
E. the browser of user's browser and designated user sends to server by connecing the Video stream information that will get access to by camera separately with the long-chain of server separately;
F. user's browser and designated user browser are subscribed to each other Video stream information mutually by the video flowing indications, finish the connection of Video chat;
G. after Video chat finishes, the Video stream information that server destruction user and designated user are preserved at server.
Realize that user and random user based on the method for the Video chat of webpage, are specially:
A. need to start with the user's of random user Video chat browser user's camera and microphone, then send the request of an issue video flowing to server by the rtmp agreement;
B. after server receives user's the request of issue video flowing, the long-chain that forms between a server and the user browser connects, then server connects by long-chain and preserves the Video stream information that the user gets access to by camera, and generates the Video stream information that a unique video flowing indications identifies this user and this user in server;
C. after the long-chain of server and browser connects above two, server creates two video queue C1 and C2, the video flowing indications with the user of random user Video chat is deposited in the C1 formation, and the C2 formation is deposited and waited for the video flowing indications that participates in the user of random user Video chat;
D. server is chosen two users' video flowing indications Vid1 and Vid2 at random from the C2 formation, then the video flowing indications is turned back to user browser, user browser is subscribed to the other side in the Video stream information that is kept on the server according to video flowing indications (Vid), then server is put into the C1 formation with Vid1 and Vid2, finishes the connection of Video chat;
E. after Video chat finishes, the Video stream information that server destruction Vid1 and Vid2 representative user preserve at server.
The user uses when of the present invention, connects logon server by browser first, then selects as required to carry out Video chat or carry out Video chat with random user with designated user.
When selecting to carry out Video chat with designated user, browser elder generation's logon server of user also starts user's camera and microphone, then sends the request of Video chat and specifies chat user to server; Server is forwarded to designated user after receiving request, the browser of designated user receive the user Video chat request and agree after, start camera and the microphone of designated user, and send agreement information to server, then send the request of an issue video flowing to server by the rtmp agreement; Server is that two usefulness generate a unique video flowing indications (Vid) per family after receiving the request of issue video flowing of user and designated user, and the long-chain that then all forms a server and browser connects; User's browser and the browser of designated user send to server by connecing the Video stream information that will get access to by camera separately with the long-chain of server separately; User's browser and designated user browser are finished the connection of Video chat by the mutual Video stream information of subscribing to each other of video flowing indications (Vid); After Video chat finishes, the Video stream information that server destruction user and designated user are preserved at server.
When selecting to carry out at random Video chat with the user, need to start camera and microphone with the user's of random user Video chat browser, then send the request of an issue video flowing to server by the rtmp agreement; After server receives user's the request of issue video flowing, the long-chain that forms between a server and the user browser connects, then server connects by long-chain and preserves the Video stream information that the user gets access to by camera, and generates the Video stream information that a unique video flowing indications (Vid) identifies this user in server; After the long-chain of server and browser connects above two, server creates two formation C1 and C2, the video flowing indications (Vid) with the user of random user Video chat is deposited in the C1 formation, and the C2 formation is deposited and waited for the video flowing indications (Vid) that participates in the user of random user Video chat; Server is chosen two users' video flowing indications Vid1 and Vid2 at random from the C2 formation, then the video flowing indications is turned back to user browser, user browser is subscribed to the other side in the Video stream information that is kept on the server according to video flowing indications (Vid), and Vid1 and Vid2 put into the C1 formation, finish the at random coupling of Video chat; After Video chat finishes, the Video stream information that server destruction Vid1 and Vid2 representative user preserve at server, Vid1 and Vid2 turn back to the C2 formation again.
When the present invention used, the Flash plug-in unit that user's browser only need to be installed the basis got final product.

Claims (3)

CN2012104889203A2012-11-262012-11-26Method for implementing webpage-based video chattingPendingCN102932243A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2012104889203ACN102932243A (en)2012-11-262012-11-26Method for implementing webpage-based video chatting

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2012104889203ACN102932243A (en)2012-11-262012-11-26Method for implementing webpage-based video chatting

Publications (1)

Publication NumberPublication Date
CN102932243Atrue CN102932243A (en)2013-02-13

Family

ID=47646950

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2012104889203APendingCN102932243A (en)2012-11-262012-11-26Method for implementing webpage-based video chatting

Country Status (1)

CountryLink
CN (1)CN102932243A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110677610A (en)*2019-10-082020-01-10Oppo广东移动通信有限公司Video stream control method, video stream control device and electronic equipment
CN113067997A (en)*2020-01-022021-07-02北京沃东天骏信息技术有限公司Method and device for real-time video call

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101083758A (en)*2006-05-292007-12-05腾讯科技(深圳)有限公司System and method for building audio/video conversation
US20100083143A1 (en)*2008-06-102010-04-01Joseph BigleyInternet banner system with live interaction
CN101867622A (en)*2010-07-022010-10-20苏州阔地网络科技有限公司Method for realizing p2p video communication on webpage
CN102316143A (en)*2010-09-172012-01-11苏州阔地网络科技有限公司Method for achieving multipath audio/video communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101083758A (en)*2006-05-292007-12-05腾讯科技(深圳)有限公司System and method for building audio/video conversation
US20100083143A1 (en)*2008-06-102010-04-01Joseph BigleyInternet banner system with live interaction
CN101867622A (en)*2010-07-022010-10-20苏州阔地网络科技有限公司Method for realizing p2p video communication on webpage
CN102316143A (en)*2010-09-172012-01-11苏州阔地网络科技有限公司Method for achieving multipath audio/video communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110677610A (en)*2019-10-082020-01-10Oppo广东移动通信有限公司Video stream control method, video stream control device and electronic equipment
CN113067997A (en)*2020-01-022021-07-02北京沃东天骏信息技术有限公司Method and device for real-time video call

Similar Documents

PublicationPublication DateTitle
WO2011090815A3 (en)Communication sessions among devices and interfaces with mixed capabilities
MX2013006010A (en)Method for controlling sharing of participant identity in a group communication session.
WO2015073385A3 (en)Enhanced collaboration services
WO2014043274A3 (en)Systems and methods for generating electronic meeting invitations in video communications and other services
CN102932243A (en)Method for implementing webpage-based video chatting
CN103095841A (en)Communication system and communication method based on network video
GemmillViDe. Net: Middleware for Scalable Video Services for Research and Higher Education
Desiato et al.Sharing networking resources to create a pervasive infrastructure
Pham et al.Social-media and Cyber Security Awareness Program: Is Security Communication A Social Activity
CuelloPlanet formation and disc dynamics: outreach through immersive graffiti, AI-generated images, and comic strips
Scheuer et al.How do we perceive green spaces? Trait-based citizen science to support the monitoring and management of nature-based solutions
Cedazo et al.Starcounters-A Citizen Science Project for registering the meteor showers
Preet Dhaliwal et al.Fairness and Diversity in the Recommendation and Ranking of Participatory Media Content
CN202798977U (en)Visual cooperative office system
UrbaniJamming of particles and machine learning models
KavehPresident's Message: March Madness—The Good Kind
Zeng et al.Lunar Circular Structure Classification from Chang'e 2 High Resolution Lunar Images with Convolutional Neural Network
Pietsch et al.H-alpha detection of seven recent optical novae in M 31
KolenbergAn Update on the Status of RR Lyrae Research-Report of the RRL2015 Meeting (October, Hungary)
CrandallStudent Travel Grants for the Second International Workshop on The Bright and Dark Side of Computer Vision: Challenges and Opportunities for Privacy and Security
RicklesBehind the Scenes at Chapel Hill
Yuan et al.Discovery of a supernova ROTSE3 J231226+ 135449
LeursInstant Messengers, IRC, ICQ
TW201042559A (en)Method for matching supply and demand of human resource on internet with instant interaction
DenningI'm not a Warmist! Transcending ideological barriers in climate communication

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Application publication date:20130213


[8]ページ先頭

©2009-2025 Movatter.jp