CN106603990A - Real-time video monitoring method and system based on mobile terminal - Google Patents
Real-time video monitoring method and system based on mobile terminal Download PDFInfo
- Publication number
- CN106603990A CN106603990A CN201611256192.8A CN201611256192A CN106603990A CN 106603990 A CN106603990 A CN 106603990A CN 201611256192 A CN201611256192 A CN 201611256192A CN 106603990 A CN106603990 A CN 106603990A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- real
- address
- server
- time
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000005538 encapsulation Methods 0.000 claims description 7
- 230000000977 initiatory effect Effects 0.000 claims description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention discloses a real-time video monitoring method based on mobile terminal. The monitoring terminal reports to a server its address and ports. After the mobile terminal sends to the server a video playing request, the server packages the address and ports it receives as an rtsp playing path and then sends the path to the mobile terminal. The mobile terminal decodes the rtsp playing path and then plays the video in real time. The invention further discloses a real-time video monitoring system based on mobile terminal. With the invention, it is possible to play video pictures in different networks and the success rate for playing is higher than the playing mode of a single public address.
Description
Technical field
The invention belongs to Real-time Monitor Technique field, and in particular to a kind of real-time video monitoring method based on mobile terminal
And its system.
Background technology
With the fast development of the Internet and mobile interchange, the intensification of network demand change and network architecture complexity,
The difficulty also more difficult for playing front end surveillance device is wanted on mobile terminal.How in the case where network is complicated and changeable, into
Work(plays out monitored picture, becomes the bottleneck of current monitor industry.
At present web camera needs on the market see the video camera that front end is seen by mobile phone, need the ip for knowing other side
Address, or perhaps rtsp addresses and it is necessary to which video camera, router are required for opening dhcp functions, if upnp ports are reflected
It is lost lose if, it can be seen that video pictures are hardly possible.
The content of the invention
In view of this, present invention is primarily targeted at provide a kind of real-time video monitoring method based on mobile terminal and
Its system, can fast and accurately play monitored picture.
To reach above-mentioned purpose, the technical scheme is that what is be achieved in that:
The embodiment of the present invention provides a kind of real-time video monitoring method based on mobile terminal, and the method is:The monitoring
Holding to server reports address and port, mobile terminal to server to initiate after video playback request, and the server will be received
To address mobile terminal is sent to into after rtsp broadcast paths with port encapsulation, the mobile terminal is to rtsp broadcast path solutions
Real-time play video after analysis.
In such scheme, the monitoring client to server reports address and port, specially:The monitoring client is to server
Report public network address and public network port, local address and local port and TURN addresses and TURN ports.
In such scheme, the mobile terminal to rtsp broadcast paths parsing after real-time play video, specially:The shifting
Dynamic terminal-pair rtsp broadcast path carries out parsing and obtains upnp broadcast address, local broadcast address and turn broadcast address, while
The priority of three addresses is also obtained, according to the rank of priority three addresses of loop play successively from high to low, until any
One address is played after success, stops loop play address.
In such scheme, after the mobile terminal is to real-time play video after the parsing of rtsp broadcast paths, the method is also
The gerentocratic voice messaging for gathering is sent to into monitoring client by server including the mobile terminal to play, control in real time is realized
System is remotely propagandaed directed to communicate.
In such scheme, after the mobile terminal is to real-time play video after the parsing of rtsp broadcast paths, the method is also
Audio-frequency information including the monitoring client Real-time Collection current environment and mobile terminal is sent to by server, is realized real-time
Monitor monitoring client sound.
The embodiment of the present invention also provides a kind of real-time video monitoring system based on mobile terminal, and the system includes monitoring
End, server, mobile terminal;
The monitoring client, for reporting address and port to server;
The mobile terminal, for initiating video playback request to server;After being additionally operable to parse rtsp broadcast paths
Real-time play video;
The server, for after the video playback request that the mobile terminal is initiated is received, by the ground for receiving
Location and port encapsulation are sent to mobile terminal into after rtsp broadcast paths.
In such scheme, the monitoring client, specifically for reporting public network address and public network port, local address to server
With local port and TURN addresses and TURN ports.
In such scheme, the mobile terminal obtains upnp broadcastings ground specifically for carrying out parsing to rtsp broadcast paths
Location, local broadcast address and turn broadcast address, while also obtain the priority of three addresses, according to the rank of priority from
Three addresses of high to Low loop play successively, until any one address is played after success, stop loop play address.
In such scheme, the mobile terminal is additionally operable to the voice messaging of acquisition management person and is sent to server;
The server, is additionally operable to for the voice messaging to be sent to monitoring client;
The monitoring client, is additionally operable to the voice messaging to receiving and plays out.
In such scheme, the monitoring client, be additionally operable to gather current environment under audio-frequency information and be sent to server;
The server, is additionally operable to for the audio-frequency information to be sent to mobile terminal;
The mobile terminal, is additionally operable to the audio-frequency information to receiving and plays out
Compared with prior art, the embodiment of the present invention provides a kind of real-time video monitoring method based on mobile terminal, institute
State monitoring client reports address and port, mobile terminal to server to initiate after video playback request to server, the server
The address for receiving and port encapsulation are sent to into mobile terminal into after rtsp broadcast paths, the mobile terminal is played to rtsp
Real-time play video after the parsing of path;In such manner, it is possible to play video pictures in the case of heterogeneous networks, success rate is played higher than single
The broadcast mode of one public network address.
Description of the drawings
Fig. 1 provides a kind of flow chart of the real-time video monitoring method based on mobile terminal for the embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention provides a kind of real-time video monitoring method based on mobile terminal, as shown in figure 1, the method is logical
Cross following steps realization:
Step 101:The monitoring client to server reports address and port.
Specifically, the monitoring client to server report public network address and public network port, local address and local port with
And TURN addresses and TURN ports.
The public network address and public network port, the monitoring client opens the mapping of upnp automatic ports, the port, ip after mapping
Address meeting active reporting server, the mobile terminal can play the picture of the monitoring client according to the ip addresses and port.
Whether the local address and local port, the server judges mobile terminal with monitoring client in same network
Under environment, if under same network, playing local address, using local address and port the video camera can be just played
Picture.
The TURN addresses and TURN ports, the monitoring client active and turn server interactions, using turn servers
Transfer play the picture of the monitoring client.
The monitoring client is a video camera.
Step 102:Mobile terminal to server is initiated after video playback request, the server by the address for receiving and
Port encapsulation is sent to mobile terminal into after rtsp broadcast paths.
Step 103:The mobile terminal is to real-time play video after the parsing of rtsp broadcast paths.
Specifically, the mobile terminal carries out parsing to rtsp broadcast paths and obtains upnp broadcast address, local broadcastings ground
Location and turn broadcast address, while also obtaining the priority of three addresses, circulate successively from high to low according to the rank of priority
Three addresses are played, until any one address is played after success, stops loop play address.
Further, the priority of three addresses is according to following rule compositor:
The IP address of the mobile terminal is equal with the IP of monitoring client, and the IP address of the monitoring client and the monitoring
The upnp addresses that end reports are equal, and the server assert that the mobile terminal is in same LAN with monitoring client, at this moment,
Local broadcast address highest priorities, upnp broadcast address are taken second place, and turn broadcast address is minimum.
The IP address of the monitoring client is equal with the upnp addresses that monitoring client is reported, at this moment, upnp broadcast address priority
Highest, local broadcast address are taken second place, turn broadcast address is minimum.
In the case of other turn broadcast address highest priority, upnp broadcast address take second place, local broadcast address it is minimum.
Further, after the mobile terminal is to real-time play video after the parsing of rtsp broadcast paths, the method is also wrapped
Include the mobile terminal and the gerentocratic voice messaging for gathering is sent to by monitoring client broadcasting by server, realize real-time control
Remotely propaganda directed to communicate.
Further, after the mobile terminal is to real-time play video after the parsing of rtsp broadcast paths, the method is also wrapped
Include the audio-frequency information of the monitoring client Real-time Collection current environment and mobile terminal is sent to by server, realize prison in real time
Listen monitoring client sound.
The embodiment of the present invention also provides a kind of real-time video monitoring system based on mobile terminal, and the system includes monitoring
End, server, mobile terminal;
The monitoring client is used to report address and port to server;
The mobile terminal is used to initiate video playback request to server;It is real after being additionally operable to parse rtsp broadcast paths
When play video;
The server is used for after the video playback request that the mobile terminal is initiated is received, by the address for receiving
Mobile terminal is sent to port encapsulation into after rtsp broadcast paths.
The monitoring client specifically for server report public network address and public network port, local address and local port with
And TURN addresses and TURN ports.
The mobile terminal obtains upnp broadcast address, local broadcastings specifically for carrying out parsing to rtsp broadcast paths
Address and turn broadcast address, while also obtaining the priority of three addresses, follow successively from high to low according to the rank of priority
Ring plays three addresses, until any one address is played after success, stops loop play address.
The mobile terminal is additionally operable to the voice messaging of acquisition management person and is sent to server;
The server is additionally operable to for the voice messaging to be sent to monitoring client;
The monitoring client is additionally operable to the voice messaging to receiving and plays out.
The monitoring client is additionally operable to the audio-frequency information gathered under current environment and is sent to server;
The server is additionally operable to for the audio-frequency information to be sent to mobile terminal;
The mobile terminal is additionally operable to the audio-frequency information to receiving and plays out.
The above, only presently preferred embodiments of the present invention is not intended to limit protection scope of the present invention.
Claims (10)
1. a kind of real-time video monitoring method based on mobile terminal, it is characterised in that the method is:The monitoring client is to service
Device reports address and port, and mobile terminal to server is initiated after video playback request, and the server is by the address for receiving
Mobile terminal is sent to into after rtsp broadcast paths with port encapsulation, the mobile terminal is to real-time after the parsing of rtsp broadcast paths
Play video.
2. the real-time video monitoring method based on mobile terminal according to claim 1, it is characterised in that the monitoring client
Address and port are reported to server, specially:The monitoring client to server reports public network address and public network port, locally
Location and local port and TURN addresses and TURN ports.
3. the real-time video monitoring method based on mobile terminal according to claim 1, it is characterised in that it is described it is mobile eventually
Real-time play video after parsing to rtsp broadcast paths is held, specially:The mobile terminal is parsed to rtsp broadcast paths
Upnp broadcast address, local broadcast address and turn broadcast address are obtained, while the priority of three addresses is also obtained, according to
The rank of priority three addresses of loop play successively from high to low, until any one address is played after success, stop circulation
Broadcast address.
4. the real-time video monitoring method based on mobile terminal according to claim 1, it is characterised in that it is described it is mobile eventually
After end is to real-time play video after the parsing of rtsp broadcast paths, the method will also be adopted including the mobile terminal by server
The gerentocratic voice messaging of collection is sent to monitoring client broadcasting, realizes that real-time control is remotely propagandaed directed to communicate.
5. the real-time video monitoring method based on mobile terminal according to claim 1, it is characterised in that it is described it is mobile eventually
After end is to real-time play video after the parsing of rtsp broadcast paths, the method also includes the monitoring client Real-time Collection current environment
Audio-frequency information and mobile terminal is sent to by server, realize monitoring monitoring client sound in real time.
6. a kind of real-time video monitoring system based on mobile terminal, it is characterised in that the system include monitoring client, server,
Mobile terminal;
The monitoring client, for reporting address and port to server;
The mobile terminal, for initiating video playback request to server;After being additionally operable to parse rtsp broadcast paths in real time
Play video;
The server, for after the video playback request that the mobile terminal is initiated is received, by the address for receiving and
Port encapsulation is sent to mobile terminal into after rtsp broadcast paths.
7. the real-time video monitoring system based on mobile terminal according to claim 6, it is characterised in that the monitoring
End, specifically for server report public network address and public network port, local address and local port and TURN addresses and
TURN ports.
8. the real-time video monitoring system based on mobile terminal according to claim 6, it is characterised in that it is described it is mobile eventually
End, specifically for carrying out parsing to rtsp broadcast paths upnp broadcast address, local broadcast address and turn broadcasting ground is obtained
Location, while also obtain the priority of three addresses, according to the rank of priority three addresses of loop play successively from high to low, directly
Play after success to any one address, stop loop play address.
9. the real-time video monitoring system based on mobile terminal according to claim 6, it is characterised in that:It is described mobile whole
End, is additionally operable to the voice messaging of acquisition management person and is sent to server;
The server, is additionally operable to for the voice messaging to be sent to monitoring client;
The monitoring client, is additionally operable to the voice messaging to receiving and plays out.
10. the real-time video monitoring system based on mobile terminal according to claim 6, it is characterised in that:The monitoring
End, be additionally operable to gather current environment under audio-frequency information and be sent to server;
The server, is additionally operable to for the audio-frequency information to be sent to mobile terminal;
The mobile terminal, is additionally operable to the audio-frequency information to receiving and plays out.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611256192.8A CN106603990A (en) | 2016-12-30 | 2016-12-30 | Real-time video monitoring method and system based on mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611256192.8A CN106603990A (en) | 2016-12-30 | 2016-12-30 | Real-time video monitoring method and system based on mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106603990A true CN106603990A (en) | 2017-04-26 |
Family
ID=58582913
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611256192.8A Pending CN106603990A (en) | 2016-12-30 | 2016-12-30 | Real-time video monitoring method and system based on mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106603990A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109121011A (en) * | 2017-06-22 | 2019-01-01 | 格局商学教育科技(深圳)有限公司 | A kind of online class living broadcast interactive system |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101110811A (en) * | 2006-07-18 | 2008-01-23 | 北京华纬讯电信技术有限公司 | Method for controlling media data transmission of video system |
| CN101355574A (en) * | 2008-07-30 | 2009-01-28 | 优视动景(北京)技术服务有限公司 | Method for on-line playing stream media files by a mobile terminal |
| US20090059945A1 (en) * | 2004-01-09 | 2009-03-05 | Panasonic Corporation | Ip device, management server, and network system |
| CN101552804A (en) * | 2008-12-22 | 2009-10-07 | 北京大学深圳研究生院 | Network video distribution system and network video access method thereof |
| CN103873826A (en) * | 2014-03-06 | 2014-06-18 | 浙江宇视科技有限公司 | Media stream sending control method and device |
| CN103888734A (en) * | 2014-03-26 | 2014-06-25 | 浙江宇视科技有限公司 | Method and device for controlling media stream under two layers of private networks |
| CN104683736A (en) * | 2013-11-27 | 2015-06-03 | 中国电信股份有限公司 | Method and system for acquiring network video |
-
2016
- 2016-12-30 CN CN201611256192.8A patent/CN106603990A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090059945A1 (en) * | 2004-01-09 | 2009-03-05 | Panasonic Corporation | Ip device, management server, and network system |
| CN101110811A (en) * | 2006-07-18 | 2008-01-23 | 北京华纬讯电信技术有限公司 | Method for controlling media data transmission of video system |
| CN101355574A (en) * | 2008-07-30 | 2009-01-28 | 优视动景(北京)技术服务有限公司 | Method for on-line playing stream media files by a mobile terminal |
| CN101552804A (en) * | 2008-12-22 | 2009-10-07 | 北京大学深圳研究生院 | Network video distribution system and network video access method thereof |
| CN104683736A (en) * | 2013-11-27 | 2015-06-03 | 中国电信股份有限公司 | Method and system for acquiring network video |
| CN103873826A (en) * | 2014-03-06 | 2014-06-18 | 浙江宇视科技有限公司 | Media stream sending control method and device |
| CN103888734A (en) * | 2014-03-26 | 2014-06-25 | 浙江宇视科技有限公司 | Method and device for controlling media stream under two layers of private networks |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109121011A (en) * | 2017-06-22 | 2019-01-01 | 格局商学教育科技(深圳)有限公司 | A kind of online class living broadcast interactive system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109451264B (en) | Method and system for monitoring equipment conference entry | |
| CN110121059B (en) | Monitoring video processing method, device and storage medium | |
| CN109120946B (en) | Method and device for watching live broadcast | |
| CN109803111B (en) | Method and device for watching video conference after meeting | |
| CN109068186B (en) | Method and device for processing packet loss rate | |
| CN109450911A (en) | A kind of across a network stream medium data transmission system and method | |
| CN101409788B (en) | Control method, system and equipment for cloud mirror for mobile video monitoring | |
| CN110557612B (en) | Control method of monitoring equipment and video networking system | |
| CN103945277B (en) | Realize the mthods, systems and devices that mobile terminal video is shared | |
| CN110769310B (en) | Video processing method and device based on video network | |
| US12262074B2 (en) | Method, device and system for transmitting data stream and computer storage medium | |
| CN109218093B (en) | Method and system for acquiring alarm | |
| CN109194915B (en) | Video data processing method and system | |
| CN110830763A (en) | Monitoring video inspection method and device | |
| CN109660816B (en) | Information processing method and device | |
| CN108965428A (en) | The transmission method of live data, device, electronic equipment, system | |
| CN110099243A (en) | A kind for the treatment of method and apparatus of monitor video | |
| CN109743550B (en) | Method and device for monitoring data flow regulation | |
| CN108574689B (en) | Method and device for video call | |
| WO2019128692A1 (en) | Media processing architecture and method | |
| CN110784452B (en) | Video data pushing method and device | |
| CN102143605B (en) | The method and system that in a kind of WLAN (wireless local area network), the service data of handset tv is shared | |
| CN110022286B (en) | Method and device for requesting multimedia program | |
| CN103716589B (en) | Method and device for reducing NVR live forwarding relay | |
| EP1806870A1 (en) | Method for providing data and data transmission system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| CB03 | Change of inventor or designer information |
Inventor after: He Wenjian Inventor after: Zhu Yaoyu Inventor after: Xu Linnan Inventor after: Xiao Wei Inventor after: Zeng Qiuxiang Inventor before: He Wenjian |
|
| CB03 | Change of inventor or designer information | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170426 |
|
| WD01 | Invention patent application deemed withdrawn after publication |