CN103354595A - P2P (Point to Point) network camera system realizing zero configuration for users - Google Patents

P2P (Point to Point) network camera system realizing zero configuration for users Download PDF

Info

Publication number
CN103354595A
CN103354595A CN2013102926630A CN201310292663A CN103354595A CN 103354595 A CN103354595 A CN 103354595A CN 2013102926630 A CN2013102926630 A CN 2013102926630A CN 201310292663 A CN201310292663 A CN 201310292663A CN 103354595 A CN103354595 A CN 103354595A
Authority
CN
China
Prior art keywords
server
user
xmpp
web
camera
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
CN2013102926630A
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.)
Jiangsu Wanlian new trillion Mdt InfoTech Ltd (foreign joint ventures)
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 何建亿
Priority to CN2013102926630A priority Critical patent/CN103354595A/en
Publication of CN103354595A publication Critical patent/CN103354595A/en
Pending legal-status Critical Current

Links

Images

Abstract

A P2P network camera system realizing zero-configuration (plug-and-play) for users comprises an XMPP (Extensible Messaging and Presence Protocol) server, a network camera, a Viewer app (application), a PPRS and P2P data transponder, an MSRS and MJPEG preview data forwarding server, and an MWPS and Web server. The P2P network camera system simplifies system concept and user/equipment operation management ideas, reduces initial waiting time during playing of the Viewer app and the network camera for the users, is not limited by NAT (Network Address Transition) or a firewall, ensures safety of account number authentication, and simplifies operation for watching real-time video of the network camera.

Description

Realize the P2P internet protocol camera system of user's zero configuration
Technical field
The invention belongs to based on equipment wired for management field interconnected, Internet of Things, specially refer to a kind of in the Internet(the Internet) net environment realizes that the P2P(of user's zero configuration (plug and play) is point-to-point) internet protocol camera system.
Background technology
Existed at present based on the IP(procotol) the network shooting crane monitoring system by the service of DDNS(DDNS) and residential gateway in UPnP Port mapping(plug and play port mapping) function realizes that each equipment has unique domain name.If the UPnP Port mapping of this moment in the gateway be close or do not have this function at all, then long-range client can not be connected with the web camera P2P that sets up video data in this gateway, thereby cause video data must walk forwarding server, increased the bandwidth demand of transmitting video server.
The network shooting crane monitoring system based on the plug and play of Internet that has existed at present only has a kind of account system (namely equipment account system), and the user can this equipment of remote operation by equipment account login system.Customer-centric and two kinds of account systems centered by equipment can not be provided simultaneously, be that the user can and manage this equipment itself and tabulate with its user account with the login of equipment account, also can oneself create user account and manage a plurality of equipment itself and equipment account.
The network shooting crane monitoring system based on the plug and play of Internet that has existed at present can not be simultaneously video preview (based on the continuous picture compression of MJPEG(), reduce the initial stand-by period of user), the technology of P2P lane negotiation will and foundation, P2P data retransmission integrates, and realizes seamless switching according to the actual state of network and transmission between video preview forwarding channel, P2P passage, P2P data forwarding channel.
The network shooting crane monitoring system based on the plug and play of Internet that has existed at present all is based on the closed system of proprietary protocol, can only support equipment or the user account of private system.And the present invention is based on XMPP(and can expands communication and protection agreement) open system of agreement, equipment and user account can be any instant message system (such as gtalk, facebook etc.) based on the XMPP agreement.
The real-time video client end of playing back based on browser that the network shooting crane monitoring system based on the plug and play of Internet that has existed at present provides all needs to install plug-in unit just can provide account login and telecommunication network video camera real-time video viewing function.And the invention provides the Web client(webpage client of a simple version) and control and real-time video viewing function are provided, do not need to install any plug-in unit.
The network shooting crane monitoring system based on the plug and play of Internet that has existed at present can not provide the uniform client version for all smart mobile phones.Android OS(Android operating system for example) mobile phone need to be installed the application program based on Android OS exploitation, Iphone(i Phone) need again to install for the IOS(Apple Macintosh operating system) application program of exploitation.The cellphone subscriber must install specific application and just can watch, and this is a very large obstacle for consumer especially cellphone subscriber.The invention provides for the specially designed client of mobile phone browser, as long as have browser just can login native system and watch the real-time video picture on the mobile phone, do not need extra set up applications.And webpage client provided by the invention can the various different editions of automatic detection mobile phone browser, thereby provide different code path to realize comprehensive compatibility to different mobile phone browser versions.
Summary of the invention
For achieving the above object, the present invention adopts following technical scheme:
A kind of can be on Internet plug and play, have router and fire compartment wall P2P is that penetrate and video monitoring that have equipment account and user account safety management and control cloud computing system, comprising:
The XMPP server, the customized XMPP server that namely is optimized for connection management and the audiovisual applications of user and equipment is with management that user account, equipment account are provided and the Communications service between them;
Web camera, have the TCP/IP(network protocol stack) web camera of standard, can support simultaneously two-way H264 and MJPEG to gather and encoding function, integrated PPCam(application network video camera) the XMPP client useragent(application network video camera link block of system), P2P transfer of data client, the device clients program of video recording program and MSRS server;
Viewer app operates in the PC(PC), the Pad(panel computer), Smart phone(smart mobile phone) on specific application, the integrated XMPP client of PPCam system, P2P data transmission module, player module;
XMPP client on the Viewer app and the XMPP client on the web camera are passed through the communication of XMPP server, and on this basis by the XML(extend markup language) the privately owned control protocol of form encapsulation;
PPRS, P2P headend in the time can not setting up the P2P passage between web camera and the Viewer app, provide the data retransmission service;
MSRS, MJPEG preview data forwarding server are play for Viewer app or Web client provide the real-time video of MJPEG form;
MWPS, Web server by the binding of backstage and XMPP server, offer the user based on the Viewer app of Web UI, such as services such as account authentication, login, broadcast real-time videos.
Description of drawings
Fig. 1 is system block diagram of the present invention.
Embodiment
The equipment that the present invention need to realize has:
The XMPP server, the customized XMPP server that namely is optimized for connection management and the audiovisual applications of user and equipment is with management that user account, equipment account are provided and the Communications service between them;
Web camera, have the TCP/IP(network protocol stack) web camera of standard, can support simultaneously two-way H264 and MJPEG to gather and encoding function, integrated PPCam(application network video camera) the XMPP client useragent(application network video camera link block of system), P2P transfer of data client, the device clients program of video recording program and MSRS server;
Viewer app operates in the PC(PC), the Pad(panel computer), Smart phone(smart mobile phone) on specific application, the integrated XMPP client of PPCam system, P2P data transmission module, player module;
XMPP client on the Viewer app and the XMPP client on the web camera are passed through the communication of XMPP server, and on this basis by the XML(extend markup language) the privately owned control protocol of form encapsulation;
PPRS, P2P headend in the time can not setting up the P2P passage between web camera and the Viewer app, provide the data retransmission service;
MSRS, MJPEG preview data forwarding server are play for Viewer app or Web client provide the real-time video of MJPEG form;
MWPS, Web server by the binding of backstage and XMPP server, offer the user based on the Viewer app of Web UI, such as services such as account authentication, login, broadcast real-time videos.
With reference to Fig. 1, the continuous picture of MSRS(of the present invention passes through forwarding server) be based on the multi-to-multi MJPEG video preview forwarding server program that http protocol is realized, operate in upper one of Internet and have legal open IP(procotol) on the server of address.Viewer app(user application) or Smart Phone web Viewer app(smart phone user application program) by XMPP signal to web camera request MJPEG preview video data, after web camera receives orders, gather the MJPEG data also by TCP(Internet Transmission control protocol) data are sent to MSRS, if this moment, web camera was set up the MJPEG data transmission link of MSRS, then keep this link.Viewer app obtains the MJPEG data of above-mentioned web camera to MSRS by http protocol simultaneously, and plays the MJPEG preview video by Viewer app built-in MJPEG player or browser itself.When viewer disconnected the preview video circulation road of web camera, MSRS can judge up till now what users web camera also had watching preview video stream.If this moment the user be 0, then MSRS initiatively disconnect and web camera between data link.
MWPS(multipurpose among the present invention can be expanded communication and protection protocol server) be one and have that XMPP binding(can expand communication and the protection agreement connects and binds) the Apache HTTP Server(A Pate hypertext transmission server of function), be Web client(client) Web UI(graphical interfaces is provided) access in XMPP communication binding service.Web browser (web browser) is in the situation that need to install any additional insert like this, just can realize and the operations such as the account login of XMPP server, registration, web camera tabulation and real-time video broadcast.
Viewer app(among the present invention may operate in PC, panel computer, the mobile phone) user account registration, login, equipment control interface etc. are provided.The end user can be at Viewer app by the built-in equipment account login of web camera, this moment, it was except knowing whether online state etc. of this web camera, also can pass through the embedded P2P channel(passage of web camera/Viewer app), the PPRS(continuous videos passes through forwarding server) channel, the modules such as MSRS channel are carried out real-time video and are watched, record a video long-range playback and video recording data download etc., Viewer app also can list the present user list of this web camera (containing the request of sending but undelegated user list) and their state (online or off-line), the user that this equipment account can ratify a motion at this moment and the authorized user of deletion.The end user also can show that friendly user account and interpolation equipment are in this user's buddy list one of Viewer app registration.If the end user knows account and the password of this equipment, authentication can directly add after passing through, otherwise just good friend's request is sent to this equipment (as end user during with the login of equipment account, can receive this notice, and take the action agreeing or refuse).User account can be done video recording download, playing back videos, real-time video broadcast, configuration and control etc. to each web camera of obtaining the authorization.
In the present invention, when Viewer app asks the real time video data of a web camera, Viewer app begins P2P payload channel(information loads passage with web camera by XMPP simultaneously immediately at first to the video preview image of MSRS server request MJPEG) negotiation and foundation.If P2P channel can not set up, then Viewer app and network shooting chance are set up P2P Relay channel(forwarding channel by the PPRS server); In case P2Pchannel or P2P relay channel set up, then the network shooting chance is the H264(Video coding) data send to Viewer app from web camera.When Viewer app receives and first H264 live video stream of successfully decoded, just disconnect the video preview passage with MSRS, realize the video preview of MJPEG and the seamless switching of H264 live video stream, reduced the problem of the waits for too long of introducing because of P2P Path Setup and negotiation.
The present invention realizes based on the XMPP signaling fully, rapid communication between realization Viewer app and web camera and state be new management more, and IM(is in time communicated by letter with improving) in the concept introducing equipment control and P2P video monitoring system of system, between equipment and the equipment, between equipment and the user, can both become the good friend between user and the user, concept with buddy list has substituted original equipment control concept, has simplified the operational administrative theory of system concept and user, equipment.
The present invention is by in conjunction with MJPEG preview forwarding server, STUN(network simple traversal) agreement, the transmission of TURN(forwarded) mode that combines of agreement, UPnP Port mapping agreement, the conjecture of local network intelligence realized that 100% video data between Viewer app and web camera obtains rate, and reduced simultaneously the initial stand-by period of user when playing between Viewer app and the web camera.
The present invention has adopted the XMPP agreement based on the central server model, has guaranteed that the state of web camera always can be monitored and control.No matter be to transmit or MSRS transmits by P2P passage, PPRS between web camera and the Viewer app, state between web camera and the Viewer app and control command are always transmitted by the XMPP server, are not subjected to the NAT(network address translation) with the restriction of fire compartment wall.
The present invention is by MSRS server and MWPS Web server, all browsers are provided without plugin card installation Web (webpage) client (browser that comprises the mobile phone version), both guarantee the fail safe of account authentication, simplified again the operation that the user watches the web camera real-time video.
Although the present invention illustrates with regard to preferred implementation and describes, only it will be understood by those of skill in the art that otherwise exceed claim limited range of the present invention, can carry out variations and modifications to the present invention.

Claims (4)

1. a P2P internet protocol camera system of realizing user's zero configuration is characterized in that, comprises the XMPP server; Web camera; Viewer app; XMPP client on the Viewer app and the XMPP client on the web camera are passed through the communication of XMPP server, and on this basis by the XML(extend markup language) the privately owned control protocol of form encapsulation; PPRS, P2P headend in the time can not setting up the P2P passage between web camera and the Viewer app, provide the data retransmission service; MSRS, MJPEG preview data forwarding server are play for Viewer app or Web client provide the real-time video of MJPEG form; MWPS, Web server by the binding of backstage and XMPP server, offer the user based on the Viewer app of Web UI, such as services such as account authentication, login, broadcast real-time videos.
2. the P2P internet protocol camera system of realization as claimed in claim 1 user zero configuration, it is characterized in that, the customized XMPP server that namely is optimized for connection management and the audiovisual applications of user and equipment of described XMPP server is with management that user account, equipment account are provided and the Communications service between them.
3. the P2P internet protocol camera system of realization as claimed in claim 1 user zero configuration, it is characterized in that, described web camera, have the TCP/IP(network protocol stack) web camera of standard, can support simultaneously two-way H264 and MJPEG to gather and encoding function, integrated PPCam(application network video camera) the XMPP client useragent(application network video camera link block of system), the device clients program of P2P transfer of data client, video recording program and MSRS server.
4. the P2P internet protocol camera system of realization as claimed in claim 1 user zero configuration, it is characterized in that, described Viewer app, operate in the PC(PC), the Pad(panel computer), Smart phone(smart mobile phone) on specific application, integrated the XMPP client of PPCam system, P2P data transmission module, player module.
CN2013102926630A 2013-07-12 2013-07-12 P2P (Point to Point) network camera system realizing zero configuration for users Pending CN103354595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102926630A CN103354595A (en) 2013-07-12 2013-07-12 P2P (Point to Point) network camera system realizing zero configuration for users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102926630A CN103354595A (en) 2013-07-12 2013-07-12 P2P (Point to Point) network camera system realizing zero configuration for users

Publications (1)

Publication Number Publication Date
CN103354595A true CN103354595A (en) 2013-10-16

Family

ID=49310896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102926630A Pending CN103354595A (en) 2013-07-12 2013-07-12 P2P (Point to Point) network camera system realizing zero configuration for users

Country Status (1)

Country Link
CN (1) CN103354595A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607562A (en) * 2013-11-08 2014-02-26 江苏万联新兆信息科技有限公司(外商合资) Intelligent mobile phone video monitoring method based on instant communication system
CN104935816A (en) * 2015-06-09 2015-09-23 广西大学 Method and system for controlling mobile device to photograph
CN104935817A (en) * 2015-06-09 2015-09-23 广西大学 Remote video monitoring method based on XMPP protocol and system
WO2018035678A1 (en) * 2016-08-22 2018-03-01 深圳市福斯康姆智能科技有限公司 Method and system for adding camera
CN110932939A (en) * 2019-12-06 2020-03-27 杭州视洞科技有限公司 Scheme for monitoring APP and IPC network conditions in real time
CN111935459A (en) * 2020-08-25 2020-11-13 睿云联(厦门)网络通讯技术有限公司 Browser-based ladder machine video preview method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055237A (en) * 2008-08-27 2010-03-11 Hitachi Software Eng Co Ltd Im interlocked comment system
CN101888345A (en) * 2009-05-13 2010-11-17 上海即略网络信息科技有限公司 Method for implementing on-line user search through instant messenger
US20110258303A1 (en) * 2010-03-29 2011-10-20 Badri Nath System and method for personal device sharing using social networks
CN102547474A (en) * 2011-11-24 2012-07-04 杭州世导通讯有限公司 System and method for realizing video monitoring by fusion of extended extensible markup language (XML)-based messaging and presence protocol (XMPP) and routing table maintenance protocol (RMTP)
CN103098433A (en) * 2010-04-18 2013-05-08 Voxeo研究有限公司 SERVLET API and method for XMPP protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055237A (en) * 2008-08-27 2010-03-11 Hitachi Software Eng Co Ltd Im interlocked comment system
CN101888345A (en) * 2009-05-13 2010-11-17 上海即略网络信息科技有限公司 Method for implementing on-line user search through instant messenger
US20110258303A1 (en) * 2010-03-29 2011-10-20 Badri Nath System and method for personal device sharing using social networks
CN103098433A (en) * 2010-04-18 2013-05-08 Voxeo研究有限公司 SERVLET API and method for XMPP protocol
CN102547474A (en) * 2011-11-24 2012-07-04 杭州世导通讯有限公司 System and method for realizing video monitoring by fusion of extended extensible markup language (XML)-based messaging and presence protocol (XMPP) and routing table maintenance protocol (RMTP)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607562A (en) * 2013-11-08 2014-02-26 江苏万联新兆信息科技有限公司(外商合资) Intelligent mobile phone video monitoring method based on instant communication system
CN104935816A (en) * 2015-06-09 2015-09-23 广西大学 Method and system for controlling mobile device to photograph
CN104935817A (en) * 2015-06-09 2015-09-23 广西大学 Remote video monitoring method based on XMPP protocol and system
WO2018035678A1 (en) * 2016-08-22 2018-03-01 深圳市福斯康姆智能科技有限公司 Method and system for adding camera
CN110932939A (en) * 2019-12-06 2020-03-27 杭州视洞科技有限公司 Scheme for monitoring APP and IPC network conditions in real time
CN111935459A (en) * 2020-08-25 2020-11-13 睿云联(厦门)网络通讯技术有限公司 Browser-based ladder machine video preview method

Similar Documents

Publication Publication Date Title
CN110912789B (en) Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
CN103354595A (en) P2P (Point to Point) network camera system realizing zero configuration for users
CN102571979B (en) Multi-screen interactive equipment and its binding method
CN103269329B (en) A kind of domestic video monitoring system based on digital TV set-top box and IMS system
CN101753963B (en) Authority control method and system of video monitoring system
CN102064985A (en) Digital and intelligent remote control system and method for household electrical appliances on basis of interactive TV application
CN201781576U (en) Real-time video stream transcoding server and video monitoring system comprising same
CN103019180B (en) Interconnecting and controlling method and system among electronic equipment
CN101710975A (en) Video monitoring system and video monitoring method
EP2237476B1 (en) Upnp device for providing remote access service and method for same
WO2008087374A3 (en) SYSTEM AND METHOD FOR REMOTELY ACCESSING UNIVERSAL PLUG AND PLAY (UPnP) NETWORKS
CN104349208A (en) Message processing method, message processing device, gateway, set-top box and network television system
CN104270604A (en) Method, system and device for obtaining real-time video data of IPC
CN106572382A (en) Multi-screen interaction method and system and extensible messaging and presence protocol (XMPP) system
Xu et al. A Cloud-based monitoring framework for Smart Home
WO2015066972A1 (en) Video call transfer method, terminal and system
CN104243520A (en) Remote monitoring method, device and system
CN102647435B (en) Police network monitoring system
CN103439934A (en) Intelligent electrical appliance control method, server and system
CN202713535U (en) Video and audio monitoring network system
US20110321105A1 (en) System and Method for Alternate Multi-Channel Bi-Directional Data Transmission
CN103581607A (en) Method for transmitting video stream to local endpoint host using remote camera device
CN102404645A (en) Remote intelligent control method
CN201781575U (en) Monitoring device and video monitoring system
CN109100944B (en) IMS-based data acquisition and processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160206

Address after: 212006 Zhenjiang city of Jiangsu province science and technology park by twelve Dingmao Road 99, 41 floor of Building 2

Applicant after: Jiangsu Wanlian new trillion Mdt InfoTech Ltd (foreign joint ventures)

Address before: 212000 Zhenjiang city of Jiangsu province science and technology park area Dingmao twelve Road No. 3 building 808 room Elite Apartments

Applicant before: He Jianyi

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131016